diff options
author | John P. Davis <zhen@gentoo.org> | 2004-06-10 15:51:07 +0000 |
---|---|---|
committer | John P. Davis <zhen@gentoo.org> | 2004-06-10 15:51:07 +0000 |
commit | dfb5caaa3f6fd21b283528b9cff9c78269377556 (patch) | |
tree | 7c67f83b78103b517c0dace881a2676fe4b003cd /modules | |
parent | livecd-stage2 error handling code (diff) | |
download | catalyst-dfb5caaa3f6fd21b283528b9cff9c78269377556.tar.gz catalyst-dfb5caaa3f6fd21b283528b9cff9c78269377556.tar.bz2 catalyst-dfb5caaa3f6fd21b283528b9cff9c78269377556.zip |
updates for livecdrc stuff
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@389 d1e1f19c-881f-0410-ab34-b69fee027534
Diffstat (limited to 'modules')
-rw-r--r-- | modules/livecd_stage2_target.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/livecd_stage2_target.py b/modules/livecd_stage2_target.py index 7f6ff805..27a1009e 100644 --- a/modules/livecd_stage2_target.py +++ b/modules/livecd_stage2_target.py @@ -1,6 +1,6 @@ # Distributed under the GNU General Public License version 2 # Copyright 2003-2004 Gentoo Technologies, Inc. -# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.8 2004/06/08 04:07:34 zhen Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.9 2004/06/10 15:51:07 zhen Exp $ """ Builder class for a LiveCD stage2 build. @@ -29,7 +29,10 @@ class livecd_stage2_target(generic_stage_target): self.valid_values.append("boot/kernel/"+x+"/use") self.valid_values.append("boot/kernel/"+x+"/gk_kernargs") self.valid_values.extend(self.required_values) - self.valid_values.extend(["livecd/cdtar","livecd/empty","livecd/rm","livecd/unmerge","livecd/iso","livecd/gk_mainargs","livecd/type","livecd/motd","livecd/overlay","livecd/modblacklist","livecd/bootsplash"]) + self.valid_values.extend(["livecd/cdtar","livecd/empty","livecd/rm",\ + "livecd/unmerge","livecd/iso","livecd/gk_mainargs","livecd/type",\ + "livecd/motd","livecd/overlay","livecd/modblacklist","livecd/bootsplash",\ + "livecd/rcadd","livecd/rcdel"]) generic_stage_target.__init__(self,spec,addlargs) file_locate(self.settings, ["livecd/cdtar","livecd/archscript","livecd/runscript"]) @@ -170,8 +173,8 @@ class livecd_stage2_target(generic_stage_target): os.putenv(kname+"_kernelopts", "") try: - cmd("/bin/bash "+self.settings["livecd/runscript"]+"kernel "+list_bashify(args)," Runscript kernel build failed") - cmd("/bin/bash "+self.settings["livecd/runscript"]+"bootloader"," Bootloader runscript failed.") + cmd("/bin/bash "+self.settings["livecd/runscript"]+" kernel "+list_bashify(args),"Runscript kernel build failed") + cmd("/bin/bash "+self.settings["livecd/runscript"]+" bootloader","Bootloader runscript failed.") except CatalystError: self.unbind() raise CatalystError,"Runscript aborting due to error." |