From: Daniel Robbins Date: Tue, 20 Jan 2004 20:44:36 +0000 (+0000) Subject: getting clean to work X-Git-Tag: CATALYST_1_0_1~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ee405440ab6d4b9f9343c8303545c9d92f9328eb;p=catalyst.git getting clean to work git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@184 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/modules/targets.py b/modules/targets.py index 964300fe..9a98f835 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -506,12 +506,12 @@ class livecd_stage3_target(generic_stage_target): self.unbind() raise -# def clean(self): -# try: -# cmd("env ARCH_RUNSCRIPT="+self.settings["livecd/archscript"]+" LOOPTYPE="+self.settings["livecd/looptype"]+" /bin/bash "+self.settings["livecd/runscript"]+" clean","clean runscript failed.") -# except: -# self.unbind() -# raise + def clean(self): + try: + cmd("env ARCH_RUNSCRIPT="+self.settings["livecd/archscript"]+" LOOPTYPE="+self.settings["livecd/looptype"]+" /bin/bash "+self.settings["livecd/runscript"]+" clean","clean runscript failed.") + except: + self.unbind() + raise def cdroot_setup(self): if os.path.exists(self.settings["cdroot_path"]):