|
|
@ -49,6 +49,14 @@ class image_cmd(share_cmd):
|
|
|
|
# "k", "e","dmraid","c","ebuild",
|
|
|
|
# "k", "e","dmraid","c","ebuild",
|
|
|
|
# "symlink"]
|
|
|
|
# "symlink"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def isScratch(self):
|
|
|
|
|
|
|
|
"""Detect scartch system"""
|
|
|
|
|
|
|
|
if self.logicObj.clVars.Get('os_scratch') == 'on':
|
|
|
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
self.printERROR(_("You should load system in the builder mode."))
|
|
|
|
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
def checkOpts(self, values, args):
|
|
|
|
def checkOpts(self, values, args):
|
|
|
|
"""Check values all specified options."""
|
|
|
|
"""Check values all specified options."""
|
|
|
|
if len(args) > 1:
|
|
|
|
if len(args) > 1:
|
|
|
|