# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.561 2006/02/08 03:25:24 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.562 2006/02/08 18:59:12 rocket Exp $
+
+ 08 Feb 2006; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py:
+ fix kernelopts and extraversion env variable exports
08 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
targets/support/livecdfs-update.sh:
# 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.125 2006/01/27 22:49:10 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.126 2006/02/08 18:59:12 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
if type(myopts) != types.StringType:
myopts = string.join(myopts)
- os.putenv(kname+"_kernelopts", myopts)
+ self.env[kname+"_kernelopts"]=myopts
else:
- os.putenv(kname+"_kernelopts", "")
+ self.env[kname+"_kernelopts"]=""
if not self.settings.has_key("boot/kernel/"+kname+"/extraversion"):
self.settings["boot/kernel/"+kname+"/extraversion"]=""
- os.putenv("clst_kextraversion", self.settings["boot/kernel/"+kname+"/extraversion"])
+ self.env["clst_kextraversion"]=self.settings["boot/kernel/"+kname+"/extraversion"]
if self.settings.has_key("boot/kernel/"+kname+"/initramfs_overlay"):
if os.path.exists(self.settings["boot/kernel/"+kname+"/initramfs_overlay"]):
print "Copying initramfs_overlay dir " +self.settings["boot/kernel/"+kname+"/initramfs_overlay"]