# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.61 2004/06/10 15:55:11 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.62 2004/06/11 19:06:37 zhen Exp $
+
+ 11 Jun 2004; John Davis <zhen@gentoo.org>
+ livecd/runscript/default-runscript.sh, modules/livecd_stage2_target.py:
+ new key, livecd/fsscript. use this to run commands in the livecdfs before it
+ is made into an iso
10 Jun 2004; John Davis <zhen@gentoo.org>
livecd/runscript-support/kmerge.sh,
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/default-runscript.sh,v 1.12 2004/05/27 16:41:36 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/default-runscript.sh,v 1.13 2004/06/11 19:06:37 zhen Exp $
#return codes to be used by archscript
die() {
cp ${clst_sharedir}/livecd/runscript-support/livecdfs-update.sh ${clst_chroot_path}/tmp
${clst_CHROOT} ${clst_chroot_path} /tmp/livecdfs-update.sh || exit 1
rm -f ${clst_chroot_path}/tmp/livecdfs-update.sh
+
+ # if the user has their own fs update script, execute it
+ if [ -n "${clst_livecd_fsscript}" ]
+ then
+ cp ${clst_livecd_fsscript} ${clst_chroot_path}/tmp/fsscript.sh
+ ${clst_CHROOT} ${clst_chroot_path} /tmp/fsscript.sh || exit 1
+ rm -f ${clst_chroot_path}/tmp/fsscript.sh
+ fi
;;
clean)
# Distributed under the GNU General Public License version 2
# Copyright 2003-2004 Gentoo Technologies, Inc.
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.9 2004/06/10 15:51:07 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage2_target.py,v 1.10 2004/06/11 19:06:37 zhen Exp $
"""
Builder class for a LiveCD stage2 build.
self.valid_values.extend(["livecd/cdtar","livecd/empty","livecd/rm",\
"livecd/unmerge","livecd/iso","livecd/gk_mainargs","livecd/type",\
"livecd/motd","livecd/overlay","livecd/modblacklist","livecd/bootsplash",\
- "livecd/rcadd","livecd/rcdel"])
+ "livecd/rcadd","livecd/rcdel","livecd/fsscript"])
generic_stage_target.__init__(self,spec,addlargs)
file_locate(self.settings, ["livecd/cdtar","livecd/archscript","livecd/runscript"])