From 228fd3ff80e58a7113ccbaf3b25fdf633e45b59b Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Fri, 12 Oct 2007 00:29:23 +0000 Subject: [PATCH] make error message more specific when removing immutable flag git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1250 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 4 ++++ modules/generic_stage_target.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0a3c86fd..375671f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 12 Oct 2007; Andrew Gaffney + modules/generic_stage_target.py: + make error message more specific when removing immutable flag + 11 Oct 2007; Chris Gianelloni catalyst, examples/livecd-stage2_template.spec, modules/generic_stage_target.py: Added Andrew Gaffney to maintainer list, fixed a typo, updated copyright diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 31bc5125..4e814fbf 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -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) -- 2.26.2