From dfb5caaa3f6fd21b283528b9cff9c78269377556 Mon Sep 17 00:00:00 2001 From: "John P. Davis" Date: Thu, 10 Jun 2004 15:51:07 +0000 Subject: [PATCH] updates for livecdrc stuff git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@389 d1e1f19c-881f-0410-ab34-b69fee027534 --- modules/livecd_stage2_target.py | 11 +++++++---- 1 file 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." -- 2.26.2