# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.245 2005/04/28 13:09:13 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.246 2005/04/28 13:46:48 rocket Exp $
+
+ 28 Apr 2005; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py, modules/livecd_stage2_target.py:
+ print warning message about deprecated use of cdfstype
28 Apr 2005; Eric Edgar <rocket@gentoo.org>
targets/support/chroot-functions.sh:
# Copyright 1999-2004 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.42 2005/04/27 21:31:05 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.43 2005/04/28 13:46:48 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
def set_fstype(self):
if self.settings.has_key(self.settings["spec_prefix"]+"/cdfstype"):
- print "\n\n\nWarning!!!"+self.settings["spec_prefix"]+"/cdfstype" + "is deprecated and may be removed."
- print "\tUse "+self.settings["spec_prefix"]+"/fstype" + "instead.\n\n\n"
+ print "\nWarning!!! "
+ print self.settings["spec_prefix"]+"/cdfstype" + " is deprecated and may be removed."
+ print "\tUse "+self.settings["spec_prefix"]+"/fstype" + " instead."
+ print "\tConverting to "+self.settings["spec_prefix"]+"/fstype" + " internally."
+ print "\tContinuing ....\n"
self.settings["fstype"]=self.settings[self.settings["spec_prefix"]+"/cdfstype"]
del self.settings[self.settings["spec_prefix"]+"/cdfstype"]
if not self.settings.has_key("fstype"):
self.settings["fstype"]="normal"
+ for x in self.valid_values:
+ if x == self.settings["spec_prefix"]+"/fstype" or x == self.settings["spec_prefix"]+"/cdfstype":
+ print "\n"+self.settings["spec_prefix"]+"/fstype is being set to the default of \"normal\"\n"
def set_fsops(self):
if self.settings.has_key("fstype"):
# copy over the portage overlays
# Always copy over the overlay incase it has changed
if self.settings.has_key("portage_overlay"):
- print self.settings["portage_overlay"]
if type(self.settings["portage_overlay"])==types.StringType:
self.settings["portage_overlay"]=[self.settings["portage_overlay"]]
# Copyright 1999-2004 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.38 2005/04/27 17:44:58 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.39 2005/04/28 13:46:48 rocket Exp $
"""
Builder class for a LiveCD stage2 build.
class livecd_stage2_target(generic_stage_target):
def __init__(self,spec,addlargs):
- self.required_values=["boot/kernel","livecd/fstype"]
+ self.required_values=["boot/kernel"]
self.valid_values=[]
"livecd/motd","livecd/overlay","livecd/modblacklist","livecd/splash_theme",\
"livecd/rcadd","livecd/rcdel","livecd/fsscript","livecd/xinitrc",\
"livecd/root_overlay","livecd/devmanager","livecd/splash_type",\
- "gamecd/conf","livecd/users","portage_overlay"])
+ "gamecd/conf","livecd/users","portage_overlay","livecd/cdfstype"])
generic_stage_target.__init__(self,spec,addlargs)