|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
from cl_builder import cl_builder, __app__, __version__
|
|
|
|
|
from cl_opt import opt
|
|
|
|
|
from cl_share_cmd import share_cmd
|
|
|
|
|
from cl_vars_share import varsShare
|
|
|
|
|
from cl_vars_share import varsShare,clLocale
|
|
|
|
|
from cl_utils import _toUNICODE, getSquashList
|
|
|
|
|
import os
|
|
|
|
|
from os import path
|
|
|
|
@ -64,6 +64,15 @@ CMD_OPTIONS = [{'shortOption':"p",
|
|
|
|
|
{'longOption':'noisohybrid',
|
|
|
|
|
'help':_("create the iso image without isohybrid")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':'lang',
|
|
|
|
|
'shortOption':'l',
|
|
|
|
|
'optVal':"LANG",
|
|
|
|
|
'help':_("language by default")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':'timezone',
|
|
|
|
|
'optVal':"TIMEZONE",
|
|
|
|
|
'help':_("timezone by default")
|
|
|
|
|
},
|
|
|
|
|
{'longOption':"set"},
|
|
|
|
|
{'shortOption':"f",
|
|
|
|
|
'longOption':"force",
|
|
|
|
@ -169,6 +178,8 @@ class image_cmd(share_cmd):
|
|
|
|
|
|
|
|
|
|
if args and args[0] == "squash":
|
|
|
|
|
self.logicObj.clVars.Set('cl_builder_iso_path','/mnt/flash',True)
|
|
|
|
|
self.logicObj.setTimezone(values.timezone)
|
|
|
|
|
self.logicObj.setLang(values.l)
|
|
|
|
|
self.optobj.checkVarSyntax(values)
|
|
|
|
|
return (values, args)
|
|
|
|
|
|
|
|
|
|