# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 12 Apr 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/support/livecdfs-update.sh, targets/support/unmerge.sh:
+ Change moving the VDB until after we have processed unmerge by moving it
+ from livecdfs-update.sh to unmerge.sh, instead. This allows someone to
+ unmerge packages from the gentoo-release-livecd target.
+
12 Apr 2007; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
targets/support/kmerge.sh:
Commented out the package.provided code in catalyst that seemed to cause
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
- mv -f /var/db /usr/livecd
# This gives us a proper cache for portage/installer
tar cjf /usr/livecd/metadata.tar.bz2 /var/cache/edb/dep/usr/portage
- # We remove kernel sources from our vdb
- rm -rf /usr/livecd/db/pkg/sys-kernel/*sources*
-
# Clear out lastlog
rm -f /var/log/lastlog && touch /var/log/lastlog
-
+#!/bin/bash
source /tmp/chroot-functions.sh
run_emerge -C ${clst_packages}
+case ${clst_livecd_type} in
+ gentoo-release-livecd ) mv -f /var/db /usr/livecd ;;
+esac
+
exit 0