From 317bc1dadf3e7a7f70d7c834078ab0e55e962be9 Mon Sep 17 00:00:00 2001 From: Daniel Robbins Date: Thu, 6 Nov 2003 01:49:34 +0000 Subject: [PATCH] config file support (beta) git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@47 d1e1f19c-881f-0410-ab34-b69fee027534 --- modules/catalyst_support.py | 1 + modules/targets.py | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/catalyst_support.py b/modules/catalyst_support.py index c741da9e..793ab285 100644 --- a/modules/catalyst_support.py +++ b/modules/catalyst_support.py @@ -19,6 +19,7 @@ def warn(msg): print "catalyst: "+msg def cmd(mycmd,myexc=""): + print "Running command \""+mycmd+"\"" retval=os.system(mycmd) if retval != 0: raise CatalystError,myexc diff --git a/modules/targets.py b/modules/targets.py index d9a67e47..5e2f0601 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -182,6 +182,7 @@ class generic_stage_target(generic_target): #this next stuff can eventually be integrated into the python and glibc ebuilds themselves (USE="build"): cleanables.extend(["/usr/share/gettext","/usr/lib/python2.2/test","/usr/lib/python2.2/encodings","/usr/lib/python2.2/email","/usr/lib/python2.2/lib-tk","/usr/share/zoneinfo"]) for x in cleanables: + print "Cleaning chroot: "+x+"..." cmd("rm -rf "+destpath+x,"Couldn't clean "+x) cmd(self.settings["storedir"]+"/targets/"+self.settings["target"]+"/"+self.settings["target"]+".sh clean","clean script failed.") -- 2.26.2