# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 17 Nov 2007; Andrew Gaffney <agaffney@gentoo.org>
+ targets/livecd-stage2/livecd-stage2-controller.sh,
+ targets/support/livecdfs-update.sh:
+ create symlink for /etc/gconf and /var/db when moving to /usr/livecd
+ remove preservation of eclasses/profiles
+ remove copying of livecd-local.start since it's not needed anymore
+
16 Nov 2007; Andrew Gaffney <agaffney@gentoo.org>
targets/support/livecdfs-update.sh, targets/support/unmerge.sh:
move moving of /var/db back to livecdfs-update.sh but keep the symlink so we
${clst_chroot_path}/root/.bashrc
cp -f ${clst_sharedir}/livecd/files/livecd-bash_profile \
${clst_chroot_path}/root/.bash_profile
- cp -f ${clst_sharedir}/livecd/files/livecd-local.start \
- ${clst_chroot_path}/etc/conf.d/local.start
+# cp -f ${clst_sharedir}/livecd/files/livecd-local.start \
+# ${clst_chroot_path}/etc/conf.d/local.start
# execute copy gamecd.conf if we're a gamecd
if [ "${clst_livecd_type}" = "gentoo-gamecd" ]
USE="-* $(cat /var/db/pkg/sys-libs/glibc*/USE)" emerge -eqp system | grep -e '^\[ebuild' | sed -e 's:^\[ebuild .\+\] ::' -e 's: .\+$::' > /usr/livecd/systempkgs.txt
# This is my hack to reduce tmpfs usage
- cp -r /usr/portage/profiles /usr/livecd
- cp -r /usr/portage/eclass /usr/livecd
- rm -rf /usr/livecd/profiles/{co*,default-{1*,a*,b*,d*,h*,i*,m*,p*,s*,x*},g*,hardened-*,n*,x*}
+# cp -r /usr/portage/profiles /usr/livecd
+# cp -r /usr/portage/eclass /usr/livecd
+# rm -rf /usr/livecd/profiles/{co*,default-{1*,a*,b*,d*,h*,i*,m*,p*,s*,x*},g*,hardened-*,n*,x*}
mv -f /etc/gconf /usr/livecd
+ ln -sf /usr/livecd/gconf /etc/gconf
mv -f /var/db /usr/livecd
- # We keep the symlink so that you can still unmerge stuff
ln -sf /usr/livecd/db /var/db
# This gives us a proper cache for portage/installer
generic-livecd )
# This is my hack to reduce tmpfs usage
mkdir -p /usr/livecd
- [ -d /etc/gconf ] && mv -f /etc/gconf /usr/livecd
+
+ if [ -d /etc/gconf ]
+ then
+ mv -f /etc/gconf /usr/livecd
+ ln -sf /usr/livecd/gconf /etc/gconf
+ fi
+
if [ -e /usr/livecd/kernelpkgs.txt ]
then
rm -f /usr/livecd/kernelpkgs.txt