make error message more specific when removing immutable flag
authorAndrew Gaffney <agaffney@gentoo.org>
Fri, 12 Oct 2007 00:29:23 +0000 (00:29 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Fri, 12 Oct 2007 00:29:23 +0000 (00:29 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1250 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index 0a3c86fd46f33ef149652a82e1dda404edae754c..375671f3867a7403abd7aa8143390e82aa4fd763 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  12 Oct 2007; Andrew Gaffney <agaffney@gentoo.org>
+  modules/generic_stage_target.py:
+  make error message more specific when removing immutable flag
+
   11 Oct 2007; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
   examples/livecd-stage2_template.spec, modules/generic_stage_target.py:
   Added Andrew Gaffney to maintainer list, fixed a typo, updated copyright
index 31bc512560f9e94b1492b47242e5a63a53290670..4e814fbfc948a74e3d0da99e99cd5b3d7b75f25e 100644 (file)
@@ -1364,7 +1364,7 @@ class generic_stage_target(generic_target):
                                # the proper perms and ownership
                                mystat=os.stat(myemp)
                                if os.uname()[0] == "FreeBSD":
-                                       cmd("chflags -R noschg "+myemp, "Could not remove immutable flag")
+                                       cmd("chflags -R noschg "+myemp, "Could not remove immutable flag for file " + myemp)
                                #cmd("rm -rf "+myemp, "Could not remove existing file: "+myemp,env-self.env)
                                shutil.rmtree(myemp)
                                os.makedirs(myemp,0755)