|
|
|
@ -26,7 +26,7 @@ from cl_utils import runOsCommand,appendProgramToEnvFile, \
|
|
|
|
|
removeProgramToEnvFile,pathJoin, \
|
|
|
|
|
scanDirectory,process,getTupleVersion, \
|
|
|
|
|
detectDeviceForPartition,listDirectory, \
|
|
|
|
|
cmpVersion,STDOUT
|
|
|
|
|
cmpVersion,STDOUT,getUdevDeviceInfo
|
|
|
|
|
from cl_vars_share import varsShare
|
|
|
|
|
|
|
|
|
|
from cl_kernel_utils import KernelConfig,InitRamFs
|
|
|
|
@ -602,6 +602,9 @@ class convertDictOpt:
|
|
|
|
|
dictOptions.update(optProperties)
|
|
|
|
|
return dictOptions
|
|
|
|
|
optDevice = optProperties["dev"]
|
|
|
|
|
optProperties["dev"] = \
|
|
|
|
|
getUdevDeviceInfo(name=optDevice).get('DEVNAME',optDevice)
|
|
|
|
|
optDevice = optProperties["dev"]
|
|
|
|
|
dataPart = filter(lambda x: x[0]==optDevice, self.varDiskData)
|
|
|
|
|
if not dataPart:
|
|
|
|
|
dataPart = [["",False,"","","",""]]
|
|
|
|
|