# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.224 2005/04/20 18:34:22 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.225 2005/04/20 19:48:29 wolf31o2 Exp $
+
+ 20 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/livecd-stage1/livecd-stage1-controller.sh,
+ targets/livecd-stage2/livecd-stage2-controller.sh,
+ targets/support/livecdfs-update.sh:
+ Updated all instances of livecd/type: gentoo-release-environmental to
+ gentoo-release-livecd and added generic-livecd.
20 Apr 2005; Chris Gianelloni <wolf31o2@gentoo.org>
examples/fsscript.sh.example, examples/gamecd.conf.example,
# Copyright 1999-2004 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.4 2005/04/11 20:05:40 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage1/livecd-stage1-controller.sh,v 1.5 2005/04/20 19:48:29 wolf31o2 Exp $
. ${clst_sharedir}/targets/support/functions.sh
case $1 in
preclean)
- # move over the motd (if applicable)
- if [ -n "${clst_livecd_motd}" ]
- then
- cp -a ${clst_livecd_motd} ${clst_chroot_path}/etc/motd
- else
- cp -a ${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/environmental.motd.txt \
- ${clst_sharedir}/livecd/files/gamecd.motd.txt \
- ${clst_chroot_path}/etc
- fi
-
- # move over the xinitrc (if applicable)
- if [ -n "${clst_livecd_xinitrc}" ]
- then
- cp -a ${clst_livecd_xinitrc} ${clst_chroot_path}/etc/X11/xinit/xinitrc
- fi
-
- # move over the environment
- cp ${clst_sharedir}/livecd/files/livecd-bash_profile \
- ${clst_chroot_path}/root/.bash_profile
- touch ${clst_chroot_path}/root/.bashrc
- cp ${clst_sharedir}/livecd/files/livecd-local.start \
- ${clst_chroot_path}/etc/conf.d/local.start
- cp ${clst_sharedir}/livecd/files/mkvardb \
- ${clst_chroot_path}/tmp
- mkdir -p /usr/share/faces
- cp ${clst_sharedir}/livecd/files/gentoo.png \
- ${clst_chroot_path}/usr/share/faces
-
- # execute gamecdfs-update.sh if we're a gamecd
- if [ "${clst_livecd_type}" = "gentoo-gamecd" ]
- then
- if [ -n "${clst_gamecd_conf}" ]
- then
- cp ${clst_gamecd_conf} ${clst_chroot_path}/tmp/gamecd.conf
- else
- echo "gamecd/conf is required for a gamecd!"
- exit 1
- fi
- fi
-
- # now, finalize and tweak the livecd fs (inside of the chroot)
- exec_in_chroot ${clst_sharedir}/targets/support/livecdfs-update.sh
+ echo "Cleared out by wolf31o2... this is a placeholder, BIATCH!!!"
;;
rc-update)
# Copyright 1999-2004 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.4 2005/04/11 20:05:40 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh,v 1.5 2005/04/20 19:48:29 wolf31o2 Exp $
. ${clst_sharedir}/targets/support/functions.sh
. ${clst_sharedir}/targets/support/filesystem-functions.sh
cp -a ${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/environmental.motd.txt \
+ ${clst_sharedir}/livecd/files/livecd.motd.txt \
${clst_sharedir}/livecd/files/gamecd.motd.txt \
${clst_chroot_path}/etc
fi
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.7 2005/04/11 20:05:40 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.8 2005/04/20 19:48:29 wolf31o2 Exp $
/usr/sbin/env-update
source /etc/profile
gnap)
echo "gentoo" > /etc/dnsdomainname
echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
- ;;
- *)
+ ;;
+ gentoo-gamecd)
+ echo "gamecd" > /etc/hostname
+ echo "gentoo" > /etc/dnsdomainname
+ echo "127.0.0.1 gamecd.gentoo gamecd localhost" > /etc/hosts
+ ;;
+ gentoo-*)
echo "livecd" > /etc/hostname
echo "gentoo" > /etc/dnsdomainname
echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
cat /etc/generic.motd.txt /etc/minimal.motd.txt > /etc/motd
sed -i 's:^##GREETING:Welcome to the Gentoo Linux Minimal Installation CD!:' /etc/motd
;;
- gentoo-release-environmental )
+ gentoo-release-livecd )
cat /etc/generic.motd.txt /etc/universal.motd.txt \
- /etc/minimal.motd.txt /etc/environmental.motd.txt > /etc/motd
- sed -i 's:^##GREETING:Welcome to the Gentoo Linux LiveCD Environment!:' /etc/motd
+ /etc/minimal.motd.txt /etc/livecd.motd.txt > /etc/motd
+ sed -i 's:^##GREETING:Welcome to the Gentoo Linux LiveCD!:' /etc/motd
;;
gentoo-gamecd )
cat /etc/generic.motd.txt /etc/gamecd.motd.txt > /etc/motd
sed -i 's:^##GREETING:Welcome to the Gentoo Linux ##GAME_NAME GameCD!:' /etc/motd
;;
- * )
- cat /etc/generic.motd.txt /etc/minimal.motd.txt > /etc/motd
- sed -i 's:^##GREETING:Welcome to the Gentoo Linux LiveCD!:' /etc/motd
esac
-rm -f /etc/generic.motd.txt /etc/universal.motd.txt /etc/minimal.motd.txt /etc/environmental.motd.txt /etc/gamecd.motd.txt
+rm -f /etc/generic.motd.txt /etc/universal.motd.txt /etc/minimal.motd.txt /etc/livecd.motd.txt /etc/gamecd.motd.txt
# setup splash/bootsplash (if called for)
if [ "${clst_livecd_splash_type}" == "bootsplash" -a -n "${clst_livecd_splash_theme}" ]
touch /etc/startx
;;
- gentoo-release-environmental )
+ generic-livecd )
touch /etc/startx
;;
esac