# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.115 2004/12/06 22:25:10 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.116 2004/12/08 19:47:55 wolf31o2 Exp $
+
+ 08 Dec 2004; Chris Gianelloni <wolf31o2@gentoo.org>
+ livecd/runscript-support/livecdfs-update.sh:
+ Save some space by removing redundant firmware after tarball is made, only
+ perform sed on /etc/conf.d/gpm if it exists, and change fstab to be more
+ readable.
06 Dec 2004; Chris Gianelloni <wolf31o2@gentoo.org>
targets/stage1/stage1-preclean2-chroot.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/livecdfs-update.sh,v 1.21 2004/11/19 18:19:23 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript-support/Attic/livecdfs-update.sh,v 1.22 2004/12/08 19:47:55 wolf31o2 Exp $
/usr/sbin/env-update
source /etc/profile
sed -i -e "s:localhost:livecd.gentoo localhost:" /etc/hosts
# gpm fixes
-sed -i -e 's/#MOUSE=imps2/MOUSE=imps2/' \
+[ -e /etc/conf.d/gpm ] && sed -i -e 's/#MOUSE=imps2/MOUSE=imps2/' \
-e 's:#MOUSEDEV=/dev/input/mice:MOUSEDEV=/dev/input/mice:' \
/etc/conf.d/gpm
# fstab tweaks
#sed -i -e '/\/dev\/[RBS]*/ s/^/#/' /etc/fstab
-echo "tmpfs / tmpfs defaults 0 0" >> /etc/fstab
+echo "tmpfs / tmpfs defaults 0 0" > /etc/fstab
echo "tmpfs /usr/lib/hotplug/firmware tmpfs defaults 0 0" >> /etc/fstab
sed -i -e '/dev-state/ s/^/#/' /etc/devfsd.conf
# make sure we have the latest pci and hotplug ids
if [ -d /usr/share/hwdata ]
then
- [ -f /usr/share/misc/pci.ids ] && rm -f /usr/share/misc/pci.ids
- [ -f /usr/share/misc/usb.ids ] && rm -f /usr/share/misc/usb.ids
- ln -s /usr/share/hwdata/pci.ids /usr/share/misc/pci.ids
- ln -s /usr/share/hwdata/usb.ids /usr/share/misc/usb.ids
+ [ -f /usr/share/hwdata/pci.ids ] && rm -f /usr/share/hwdata/pci.ids
+ [ -f /usr/share/hwdata/usb.ids ] && rm -f /usr/share/hwdata/usb.ids
+ ln -s /usr/share/misc/pci.ids /usr/share/hwdata/pci.ids
+ ln -s /usr/share/misc/usb.ids /usr/share/hwdata/usb.ids
fi
# tweak the motd for gentoo releases
fi
# tar up the firmware so that it does not get clobbered by the livecd mounts
-[ -n "$(ls /usr/lib/hotplug/firmware)" ] && tar cvjpf /usr/lib/hotplug/firmware.tar.bz2 /usr/lib/hotplug/firmware/*
+[ -n "$(ls /usr/lib/hotplug/firmware)" ] && tar cvjpf /usr/lib/hotplug/firmware.tar.bz2 /usr/lib/hotplug/firmware/* && rm -f /usr/lib/hotplug/firmware/*
ln -sf /lib/firmware /usr/lib/hotplug/firmware