config file support (beta)
authorDaniel Robbins <drobbins@gentoo.org>
Thu, 6 Nov 2003 01:49:34 +0000 (01:49 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Thu, 6 Nov 2003 01:49:34 +0000 (01:49 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@47 d1e1f19c-881f-0410-ab34-b69fee027534

modules/catalyst_support.py
modules/targets.py

index c741da9e7002e1509b3ec0d06d9796c01b40e57a..793ab2859830531b6c692c66fe91a30afb79b072 100644 (file)
@@ -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
index d9a67e47b305369bbef550d6af326a318669542e..5e2f06015666df678c9107af27cd731689c3a6eb 100644 (file)
@@ -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.")