# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 13 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/livecd-stage2/livecd-stage2-controller.sh:
+ Added initial framework for creating the CD's root on livecd/livedvd.
+ Currently, the end result is the same, but I'll be adding code to
+ automatically copy the stages and to automatically download the distfiles.
+
13 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/livecd-stage2/livecd-stage2-controller.sh,
targets/support/kmerge.sh, targets/support/livecdfs-update.sh,
esac
case ${clst_livecd_type} in
- gentoo-release-live*)
+ gentoo-release-livecd)
mkdir -p $1/snapshots
if [ -n "${clst_livecd_overlay}" ]
then
cp -f ${clst_snapshot_path} $1/snapshots
cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
;;
+ gentoo-release-livedvd)
+ targets="distfiles snapshots stages"
+ for i in ${targets}
+ do
+ mkdir -p $1/$i
+ if [ -n "${clst_livecd_overlay}" ]
+ then
+ if [ -e ${clst_livecd_overlay}/$i ] && \
+ [ -n "$(ls ${clst_livecd_overlay}/$i |grep -v README)" ]
+ then
+ echo "ERROR: You have files in $i in your overlay!"
+ echo "This directory is now populated by catalyst."
+ exit 1
+ fi
+ fi
+ case ${target} in
+ distfiles)
+ ### TODO: make this fetch the distfiles
+ continue
+ ;;
+ snapshots)
+ cp -f ${clst_snapshot_path} $1/snapshots
+ cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
+ ;;
+ stages)
+ ### TODO: make this copy stages
+ continue
+ ;;
+ esac
+ done
+ ;;
esac
${clst_sharedir}/targets/support/bootloader-setup.sh $1