# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 08 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/livecd-stage2/livecd-stage2-controller.sh:
+ Check for a snapshot in the overlay and error if one is present. This should
+ ensure that the snapshot on the CD is the same as the one used to build the
+ ISO.
+
06 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
modules/catalyst_support.py:
Added a small patch from Tim Yamin <tim.yamin@zonbu.com> to fix make.conf
if [ "${clst_livecd_type}" = "gentoo-release-livecd" ]
then
mkdir -p $1/snapshots
+ if [ -n "${clst_livecd_overlay}" ]
+ then
+ if [ -e ${clst_livecd_overlay}/snapshots/${clst_snapshot_path} ]
+ then
+ echo "ERROR: You have a snapshot in your overlay, please"
+ echo "remove it, since catalyst adds it automatically."
+ exit 1
+ fi
+ fi
cp -f ${clst_snapshot_path} $1/snapshots
cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
fi