# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.98 2004/10/18 02:55:16 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.99 2004/10/19 03:39:36 zhen Exp $
+
+ 18 Oct 2004; John Davis <zhen@gentoo.org>
+ livecd/runscript/x86-archscript.sh, livecd/runscript-support/kmerge.sh,
+ livecd/runscript-support/livecdfs-update.sh:
+ patch submitted by wolf31o2@gentoo.org to fix the rest of the gensplash woes
17 Oct 2004; John Davis <zhen@gentoo.org>
livecd/runscript-support/livecdfs-update.sh:
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/kmerge.sh,v 1.14 2004/10/18 15:23:14 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/kmerge.sh,v 1.15 2004/10/19 03:39:36 zhen Exp $
die() {
echo "$1"
echo "Unpacking kernel modules from the previous build..."
echo
[ ! -d /lib/modules ] && mkdir /lib/modules
- tar xvjpf /usr/portage/packages/gk_binaries/${clst_fudgeuname}-modules-${clst_version_stamp}.tar.bz2 \
+ tar xjpf /usr/portage/packages/gk_binaries/${clst_fudgeuname}-modules-${clst_version_stamp}.tar.bz2 \
-C / || die "Could not unpack kernel modules"
else
build_kernel ${clst_fudgeuname}
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/livecdfs-update.sh,v 1.15 2004/10/18 02:55:16 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/livecdfs-update.sh,v 1.16 2004/10/19 03:39:36 zhen Exp $
/usr/sbin/env-update
source /etc/profile
rc-update add metalog default
rc-update add modules default
rc-update add pwgen default
+[ -e /etc/init.d/bootsplash ] && rc-update add bootsplash default
[ -e /etc/init.d/splash ] && rc-update add splash default
# switch the order of rcadd/ rcdel
# setup splash/bootsplash (if called for)
if [ "${clst_livecd_splash_type}" == "bootsplash" -a -n "${clst_livecd_splash_theme}" ]
then
- if [ -d "/etc/bootsplash/${clst_livecd_splash_theme}" ]
+ if [ -d /etc/bootsplash/${clst_livecd_splash_theme} ]
then
- sed -i 's/BOOTSPLASH_THEME=\"gentoo\"/BOOTSPLASH_THEME=\"${clst_livecd_bootsplash}\"/' /etc/conf.d/bootsplash
+ sed -i 's/BOOTSPLASH_THEME=\"gentoo\"/BOOTSPLASH_THEME=\"${clst_livecd_splash_theme}\"/' /etc/conf.d/bootsplash
rm /etc/bootsplash/default
ln -s "/etc/bootsplash/${clst_livecd_splash_theme}" /etc/bootsplash/default
else
elif [ "${clst_livecd_splash_type}" == "gensplash" -a -n "${clst_livecd_splash_theme}" ]
then
- if [ -d "/etc/splash/${clst_livecd_splash_theme}" ]
+ if [ -d /etc/splash/${clst_livecd_splash_theme} ]
then
- sed -i 's/# SPLASH_THEME="gentoo"/SPLASH_THEME=\"${clst_livecd_bootsplash}\"/' /etc/conf.d/splash
+ sed -i 's/# SPLASH_THEME="gentoo"/SPLASH_THEME=\"${clst_livecd_splash_theme}\"/' /etc/conf.d/splash
rm /etc/splash/default
- ln -s "/etc/splash/${clst_livecd_splash_theme}" /etc/splash/default
+ ln -s /etc/splash/${clst_livecd_splash_theme} /etc/splash/default
else
echo "Error, cannot setup splash theme ${clst_livecd_splash_theme}"
exit 1
fi
# tar up the firmware so that it does not get clobbered by the livecd mounts
-tar cjpf /usr/lib/hotplug/firmware/firmware.tar.bz2 /usr/lib/hotplug/firmware/*
+[ -n $(ls /usr/lib/hotplug/firmware) ] && tar cjpf /usr/lib/hotplug/firmware.tar.bz2 /usr/lib/hotplug/firmware/*
+ln -sf /lib/firmware /usr/lib/hotplug/firmware
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/x86-archscript.sh,v 1.13 2004/10/16 13:38:09 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/x86-archscript.sh,v 1.14 2004/10/19 03:39:36 zhen Exp $
case $1 in
kernel)
echo "F2 help.msg" >> ${icfg}
# figure out what device manager we are using and handle it accordingly
- if [ ${clst_livecd_devmanager} == "udev" ]
+ if [ "${clst_livecd_devmanager}" == "udev" ]
then
cmdline_opts="${cmdline_opts} udev nodevfs"
fi
echo " append initrd=${x}.igz root=/dev/ram0 init=/linuxrc acpi=ht ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent" >> ${icfg}
fi
- echo " append initrd=${x}.igz root=/dev/ram0 init=/linuxrc acpi=ht ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent" >> ${icfg}
echo >> ${icfg}
echo " ${x}" >> ${kmsg}
echo "label ${x}-nofb" >> ${icfg}