Added two patches from Joshua Kinard from bug #138255 to fix livecd/fsops and also...
authorChris Gianelloni <wolf31o2@gentoo.org>
Wed, 28 Jun 2006 12:51:43 +0000 (12:51 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Wed, 28 Jun 2006 12:51:43 +0000 (12:51 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1155 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
catalyst
modules/generic_stage_target.py
modules/livecd_stage2_target.py
targets/support/filesystem-functions.sh

index c9bba925b2fb8b4f2424c0a6ee20ce016915e781..e5c48aedf4175b45c0fd27239bbddddab2a7638f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 # 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:
index 11269a650397cc73ff253ac9cc1e31a3956d8f40..d464c912e9c5359e6aba84409c5825e0d095aa6d 100755 (executable)
--- a/catalyst
+++ b/catalyst
@@ -1,7 +1,7 @@
 #!/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>
@@ -11,7 +11,7 @@ import os,sys,imp,string,getopt
 import pdb
 
 __maintainer__="Chris Gianelloni <wolf31o2@gentoo.org>"
-__version__="2.0_rc48"
+__version__="2.0_rc49"
 
 conf_values={}
 
index 5c6fbd0eda2c762f38dcb380165ee0e4a084bc95..6022b44c0cb36bfa14afd72bd817a4b6a4f025a7 100644 (file)
@@ -1,6 +1,6 @@
 # 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
@@ -345,12 +345,6 @@ class generic_stage_target(generic_target):
        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"]
index a70f650350bfec1f247e05c8b59aaa4047979843..48a40144221ea0d23b5e906aa942d6d0a1a8b6f9 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -23,9 +23,9 @@ class livecd_stage2_target(generic_stage_target):
                        "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"):
index ef1bd675cfe80161d87f91fbd2a1fbe69fae127b..31ad6d35b0e97cfdf3168cde71daa65a60303211 100755 (executable)
@@ -53,7 +53,7 @@ create_noloop() {
 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?"
 }
 
@@ -61,7 +61,7 @@ create_jffs() {
        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"
 }
 
@@ -69,7 +69,7 @@ create_jffs2(){
        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"
 }
 
@@ -77,6 +77,6 @@ create_cramfs(){
        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"
 }