|
|
|
@ -23,7 +23,7 @@ from cl_datavars import glob_attr
|
|
|
|
|
from os import path
|
|
|
|
|
from os import readlink,access,R_OK
|
|
|
|
|
from cl_utils import isMount,typeFile,getTupleVersion,pathJoin,isFstabMount,\
|
|
|
|
|
listDirectory, getAvailableX11Drivers, getUUIDDict, \
|
|
|
|
|
listDirectory, getAvailableVideo, getUUIDDict, \
|
|
|
|
|
isPkgInstalled, process, checkUtils, readLinesFile, \
|
|
|
|
|
lspci, getPartitionSize
|
|
|
|
|
from cl_distr import DistributiveRepository,PartitionDistributive
|
|
|
|
@ -958,7 +958,7 @@ class fillVars(object, glob_attr):
|
|
|
|
|
"""Video driver used by xorg"""
|
|
|
|
|
if self.Get('os_install_root_type') == 'usb-hdd':
|
|
|
|
|
available_drivers = \
|
|
|
|
|
getAvailableX11Drivers(prefix=self.Get('cl_chroot_path'))
|
|
|
|
|
getAvailableVideo(prefix=self.Get('cl_chroot_path'))
|
|
|
|
|
videoVal = self.getValueFromCmdLine("calculate","video")
|
|
|
|
|
videoVal = {'i915':'intel'}.get(videoVal,videoVal)
|
|
|
|
|
if not isPkgInstalled('xorg-server',
|
|
|
|
|