From dae206d7c9bd842cbddf56a9194e1ccb4949aeef Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 9 Dec 2005 14:46:38 +0000 Subject: [PATCH] Changed mv -f in livecdfs-update.sh to a cp -r, as it was seriously breaking snapshot caching after a successful gentoo-release-livecd run. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@954 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 7 ++++++- targets/support/livecdfs-update.sh | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2895d628..39518207 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.441 2005/12/08 23:03:43 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.442 2005/12/09 14:46:38 wolf31o2 Exp $ + + 09 Dec 2005; Chris Gianelloni + targets/support/livecdfs-update.sh: + Changed mv -f in livecdfs-update.sh to a cp -r, as it was seriously breaking + snapshot caching after a successful gentoo-release-livecd run. 08 Dec 2005; Chris Gianelloni targets/support/rc-update.sh: diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index e028ad3b..bc9661a8 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.27 2005/12/08 03:38:10 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.28 2005/12/09 14:46:38 wolf31o2 Exp $ . /tmp/chroot-functions.sh update_env_settings @@ -279,7 +279,7 @@ case ${clst_livecd_type} in # This is my hack to reduce tmpfs usage mkdir -p /usr/livecd - mv -f /usr/portage/profiles /usr/livecd + cp -r /usr/portage/profiles /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 -- 2.26.2