|
|
|
@ -121,13 +121,15 @@ class kernel_cmd(share_cmd):
|
|
|
|
|
self.checkIncompatibleParam("initrd")
|
|
|
|
|
if values.symlink:
|
|
|
|
|
self.checkIncompatibleParam("symlink")
|
|
|
|
|
if not values.v:
|
|
|
|
|
if values.k:
|
|
|
|
|
if not self.logicObj._testKernelDirectory(values.k):
|
|
|
|
|
self.optobj.error("%s:'%s'"%
|
|
|
|
|
(_("wrong kernel source directory"),values.k))
|
|
|
|
|
elif not self.logicObj._testFullKernelDirectory(values.k):
|
|
|
|
|
self.optobj.error(("%s:'%s'"%
|
|
|
|
|
(_("in directory of kernel source not enough needed files"),
|
|
|
|
|
(_("in directory of kernel source not "
|
|
|
|
|
"enough needed files"),
|
|
|
|
|
values.k))+"\n"+
|
|
|
|
|
_("Probably calculate-sources was "
|
|
|
|
|
"compiled with USE 'minimal'"))
|
|
|
|
@ -136,8 +138,8 @@ class kernel_cmd(share_cmd):
|
|
|
|
|
else:
|
|
|
|
|
if not self.logicObj._testFullKernelDirectory(
|
|
|
|
|
self.logicObj.clVars.Get('cl_kernel_src_path')):
|
|
|
|
|
self.optobj.error((_("in default directory of kernel source "
|
|
|
|
|
"not enough needed files")+"\n"+
|
|
|
|
|
self.optobj.error((_("in default directory of kernel "
|
|
|
|
|
"source not enough needed files")+"\n"+
|
|
|
|
|
_("Probably calculate-sources was "
|
|
|
|
|
"compiled with USE 'minimal'")))
|
|
|
|
|
if values.c and values.o:
|
|
|
|
|