# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.639 2006/06/28 12:48:22 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.640 2006/06/28 12:51:43 wolf31o2 Exp $
+
+ 28 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
+ modules/generic_stage_target.py, modules/livecd_stage2_target.py,
+ targets/support/filesystem-functions.sh:
+ Added two patches from Joshua Kinard from bug #138255 to fix livecd/fsops
+ and also to remove some redundant values from livecd-stage2's valid_values.
+ This is 2.0_rc49.
28 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> arch/ppc.py,
arch/x86.py:
#!/usr/bin/python -OO
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.156 2006/06/21 22:11:54 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.157 2006/06/28 12:51:43 wolf31o2 Exp $
# Maintained in full by:
# Eric Edgar <rocket@gentoo.org>
import pdb
__maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="2.0_rc48"
+__version__="2.0_rc49"
conf_values={}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.136 2006/06/22 14:54:27 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.137 2006/06/28 12:51:43 wolf31o2 Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
def set_fsops(self):
if self.settings.has_key("fstype"):
self.valid_values.append("fsops")
- if self.settings.has_key(self.settings["spec_prefix"]+"/fs-ops"):
- print "\n\n\nWarning!!!"+self.settings["spec_prefix"]+"/fs-ops" + "is deprecated and may be removed."
- print "\tUse "+self.settings["spec_prefix"]+"/fsops" + "instead.\n\n\n"
- self.settings["fsops"]=self.settings[self.settings["spec_prefix"]+"/fs-ops"]
- del self.settings[self.settings["spec_prefix"]+"/fs-ops"]
-
if self.settings.has_key(self.settings["spec_prefix"]+"/fsops"):
self.settings["fsops"]=self.settings[self.settings["spec_prefix"]+"/fsops"]
del self.settings[self.settings["spec_prefix"]+"/fsops"]
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.60 2006/01/18 13:06:40 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.61 2006/06/28 12:51:43 wolf31o2 Exp $
"""
Builder class for a LiveCD stage2 build.
"livecd/modblacklist","livecd/splash_theme","livecd/splash_type",\
"livecd/rcadd","livecd/rcdel","livecd/fsscript","livecd/xinitrc",\
"livecd/root_overlay","livecd/devmanager","livecd/users",\
- "gamecd/conf","livecd/users","portage_overlay","livecd/cdfstype",\
- "livecd/fstype","livecd/linuxrc","livecd/bootargs","gamecd/conf",\
- "livecd/xdm","livecd/xsession","livecd/volid"])
+ "portage_overlay","livecd/cdfstype","livecd/fstype","livecd/fsops",\
+ "livecd/linuxrc","livecd/bootargs","gamecd/conf","livecd/xdm",\
+ "livecd/xsession","livecd/volid"])
generic_stage_target.__init__(self,spec,addlargs)
if not self.settings.has_key("livecd/type"):
create_squashfs() {
echo "Creating squashfs..."
export loopname="image.squashfs"
- mksquashfs "${clst_destpath}" "$1/${loopname}" ${clst_fs_ops} -noappend \
+ mksquashfs "${clst_destpath}" "$1/${loopname}" ${clst_fsops} -noappend \
|| die "mksquashfs failed, did you emerge squashfs-tools?"
}
echo "Creating jffs..."
export loopname="image.jffs"
# fs_check /usr/sbin/mkfs.jffs jffs sys-fs/mtd
- mkfs.jffs -d ${clst_destpath} -o $1/${loopname} ${clst_fs_ops} \
+ mkfs.jffs -d ${clst_destpath} -o $1/${loopname} ${clst_fsops} \
|| die "Could not create a jffs filesystem"
}
echo "Creating jffs2..."
export loopname="image.jffs"
# fs_check /usr/sbin/mkfs.jffs2 jffs2 sys-fs/mtd
- mkfs.jffs2 --root=${clst_destpath} --output=$1/${loopname} ${clst_fs_ops} \
+ mkfs.jffs2 --root=${clst_destpath} --output=$1/${loopname} ${clst_fsops} \
|| die "Could not create a jffs2 filesystem"
}
echo "Creating cramfs..."
export loopname="image.cramfs"
#fs_check /sbin/mkcramfs cramfs sys-fs/cramfs
- mkcramfs ${clst_fs_ops} ${clst_destpath} $1/${loopname} \
+ mkcramfs ${clst_fsops} ${clst_destpath} $1/${loopname} \
|| die "Could not create a cramfs filesystem"
}