# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.461 2005/12/16 19:14:45 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.462 2005/12/16 19:32:31 wolf31o2 Exp $
+
+ 16 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/livecd-stage1/livecd-stage1-chroot.sh,
+ targets/livecd-stage1/livecd-stage1-controller.sh,
+ targets/livecd-stage2/livecd-stage2-controller.sh:
+ Fixed up spacing/coding style on livecd-stage*.
16 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
targets/grp/grp-chroot.sh, targets/grp/grp-controller.sh,
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-controller.sh,v 1.9 2005/09/08 20:59:07 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-controller.sh,v 1.10 2005/12/16 19:32:31 wolf31o2 Exp $
. ${clst_sharedir}/targets/support/functions.sh
echo "${clst_packages}" > \
${clst_chroot_path}/usr/livecd/grppkgs.txt
fi
- exec_in_chroot ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
+ exec_in_chroot \
+ ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
;;
-
clean)
find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
;;
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh,v 1.17 2005/12/08 15:16:48 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh,v 1.18 2005/12/16 19:32:31 wolf31o2 Exp $
+
. ${clst_sharedir}/targets/support/functions.sh
. ${clst_sharedir}/targets/support/filesystem-functions.sh
# if we have our own linuxrc, copy it in
if [ -n "${clst_linuxrc}" ]
then
- cp -a ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
+ cp -pPR ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
fi
exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
delete_from_chroot tmp/linuxrc
;;
preclean)
- # move over the motd (if applicable)
+ # Move over the motd (if applicable)
if [ -n "${clst_livecd_motd}" ]
then
- cp -a ${clst_livecd_motd} ${clst_chroot_path}/etc/motd
+ cp -pPR ${clst_livecd_motd} ${clst_chroot_path}/etc/motd
else
- cp -a ${clst_sharedir}/livecd/files/generic.motd.txt \
+ cp -pPR ${clst_sharedir}/livecd/files/generic.motd.txt \
${clst_sharedir}/livecd/files/universal.motd.txt \
${clst_sharedir}/livecd/files/minimal.motd.txt \
${clst_sharedir}/livecd/files/livecd.motd.txt \
fi
;;
livecd-update)
- # now, finalize and tweak the livecd fs (inside of the chroot)
+ # Now, finalize and tweak the livecd fs (inside of the chroot)
exec_in_chroot ${clst_sharedir}/targets/support/livecdfs-update.sh
- # move over the xinitrc (if applicable)
- # this is moved here, so we can override any default xinitrc
+ # Move over the xinitrc (if applicable)
+ # Tthis is moved here, so we can override any default xinitrc
if [ -n "${clst_livecd_xinitrc}" ]
then
- cp -f ${clst_livecd_xinitrc} ${clst_chroot_path}/etc/X11/xinit/xinitrc
+ cp -f ${clst_livecd_xinitrc} \
+ ${clst_chroot_path}/etc/X11/xinit/xinitrc
fi
;;
rc-update)
fsscript)
exec_in_chroot ${clst_fsscript}
;;
-
clean)
find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
;;
-
bootloader)
shift
# Here is where we poke in our identifier
touch $1/livecd
- # move over the readme (if applicable)
+ # Move over the readme (if applicable)
if [ -n "${clst_livecd_readme}" ]
then
cp -f ${clst_livecd_readme} $1/README.txt
cp -f ${clst_sharedir}/livecd/files/README.txt $1
fi
- # move over Getting_Online.txt for minimal/GameCD
+ # Move over Getting_Online.txt for minimal/GameCD
if [ "${clst_livecd_type}" = "gentoo-gamecd" ] \
|| [ "${clst_livecd_type}" = "gentoo-release-minimal" ] \
|| [ "${clst_livecd_type}" = "gentoo-release-livecd" ]
${clst_sharedir}/targets/support/bootloader-setup.sh $1
;;
-
unmerge)
shift
export clst_packages="$*"
exec_in_chroot ${clst_sharedir}/targets/support/unmerge.sh
;;
-
target_image_setup)
shift
${clst_sharedir}/targets/support/target_image_setup.sh $1
;;
-
iso)
shift
${clst_sharedir}/targets/support/create-iso.sh $1