# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 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
+ information, and added a small fix for FreeBSD for bug #169041. This is
+ catalyst 2.0.5_pre4 for testing.
+
11 Oct 2007; Chris Gianelloni <wolf31o2@gentoo.org>
targets/support/chroot-functions.sh:
Adding a slightly modified version of Andrew Gaffney's <agaffney@gentoo.org>
# Maintained in full by:
# Eric Edgar <rocket@gentoo.org>
+# Andrew Gaffney <agaffney@gentoo.org>
# Chris Gianelloni <wolf31o2@gentoo.org>
import os,sys,imp,string,getopt
import pdb
__maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="2.0.5_pre3"
+__version__="2.0.5_pre4"
conf_values={}
def version():
print "Gentoo Catalyst, version "+__version__
- print "Copyright 2003-2006 The Gentoo Foundation"
+ print "Copyright 2003-2007 Gentoo Foundation"
print "Distributed under the GNU General Public License version 2\n"
def parse_config(myconfig):
# squashfs - This gives the best compression, but requires a kernel patch.
# zisofs - This uses in-kernel compression and is supported on all platforms.
# normal - This creates a loop without compression.
-# noloop - This copies the files to the CD directly, withuot using a loopback.
+# noloop - This copies the files to the CD directly, without using a loopback.
# example:
# livecd/fstype: squashfs
livecd/fstype:
# stat the dir, delete the dir, recreate the dir and set
# 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("rm -rf "+myemp, "Could not remove existing file: "+myemp,env-self.env)
shutil.rmtree(myemp)
os.makedirs(myemp,0755)