|
|
@ -27,6 +27,7 @@ from time import sleep
|
|
|
|
from calculate.core.server.func import MethodsInterface
|
|
|
|
from calculate.core.server.func import MethodsInterface
|
|
|
|
from calculate.core.server.admin import Admins
|
|
|
|
from calculate.core.server.admin import Admins
|
|
|
|
from calculate.lib.utils.mount import isMount
|
|
|
|
from calculate.lib.utils.mount import isMount
|
|
|
|
|
|
|
|
from calculate.lib.utils.system import SystemPath
|
|
|
|
from calculate.lib.utils.files import (pathJoin,
|
|
|
|
from calculate.lib.utils.files import (pathJoin,
|
|
|
|
process, listDirectory, writeFile,
|
|
|
|
process, listDirectory, writeFile,
|
|
|
|
checkUtils, readFile, find, copyWithPath,
|
|
|
|
checkUtils, readFile, find, copyWithPath,
|
|
|
@ -500,8 +501,8 @@ class Install(MethodsInterface):
|
|
|
|
Выполнить выбор opengl для текущего видеодрайвера
|
|
|
|
Выполнить выбор opengl для текущего видеодрайвера
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
default_gl = "xorg-x11"
|
|
|
|
default_gl = "xorg-x11"
|
|
|
|
path_gl_modules = path.join(self.clVars.Get('cl_chroot_path'),
|
|
|
|
path_gl_modules = SystemPath(
|
|
|
|
'usr/lib/opengl')
|
|
|
|
self.clVars.Get('cl_chroot_path')).libopengl
|
|
|
|
open_gl_env = path.join(self.clVars.Get('cl_chroot_path'),
|
|
|
|
open_gl_env = path.join(self.clVars.Get('cl_chroot_path'),
|
|
|
|
'etc/env.d/000opengl')
|
|
|
|
'etc/env.d/000opengl')
|
|
|
|
|
|
|
|
|
|
|
|