From: Chris Gianelloni Date: Wed, 27 Feb 2008 01:46:33 +0000 (+0000) Subject: Let's automatically copy in the snapshot if livecd/type is gentoo-release-livecd. X-Git-Tag: CATALYST_2_0_6_916~167 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f2ea80c9a5d87bee59904f0fdb095a2d58ba0ba;p=catalyst.git Let's automatically copy in the snapshot if livecd/type is gentoo-release-livecd. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1327 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index 2f889e17..771c3028 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 27 Feb 2008; Chris Gianelloni + targets/livecd-stage2/livecd-stage2-controller.sh: + Let's automatically copy in the snapshot if livecd/type is + gentoo-release-livecd. + 26 Feb 2008; Andrew Gaffney modules/generic_stage_target.py: Fix leading whitespace in empty() so it's only executed if there's something diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh index ca2bc1ce..4bee86c8 100755 --- a/targets/livecd-stage2/livecd-stage2-controller.sh +++ b/targets/livecd-stage2/livecd-stage2-controller.sh @@ -132,6 +132,12 @@ case $1 in cp -f ${clst_sharedir}/livecd/files/Getting_Online.txt $1 fi + if [ "${clst_livecd_type}" = "gentoo-release-livecd" ] + then + mkdir -p $1/snapshots + cp -f ${clst_snapshot_path}* $1/snapshots + fi + ${clst_sharedir}/targets/support/bootloader-setup.sh $1 ;; unmerge)