|
|
|
@ -23,7 +23,7 @@ from os import access, R_OK,W_OK
|
|
|
|
|
from os import path
|
|
|
|
|
from cl_distr import Distributive
|
|
|
|
|
from cl_utils import getTupleVersion,genpassword,pathJoin,_toUNICODE, \
|
|
|
|
|
getFilesCount,getCmdLineParam
|
|
|
|
|
getFilesCount,getCmdLineParam,countFiles
|
|
|
|
|
from operator import itemgetter
|
|
|
|
|
from types import ListType
|
|
|
|
|
from cl_datavars import iniParser
|
|
|
|
@ -276,6 +276,11 @@ class fillVars(object, varsShare):
|
|
|
|
|
self.detectOtherShortname(systemRoot) or \
|
|
|
|
|
"Linux"
|
|
|
|
|
|
|
|
|
|
def get_os_builder_linux_filesnum(self):
|
|
|
|
|
"""Files number in image system"""
|
|
|
|
|
systemRoot = self.Get('cl_builder_path')
|
|
|
|
|
return str(countFiles(systemRoot))
|
|
|
|
|
|
|
|
|
|
def get_os_builder_linux_ver(self):
|
|
|
|
|
"""Build system ver"""
|
|
|
|
|
linuxShortName = self.Get("os_builder_linux_shortname")
|
|
|
|
|