Changed mv -f in livecdfs-update.sh to a cp -r, as it was seriously breaking snapshot...
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 9 Dec 2005 14:46:38 +0000 (14:46 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 9 Dec 2005 14:46:38 +0000 (14:46 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@954 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/livecdfs-update.sh

index 2895d628b52dc3c0c1f5846dc6c19cade5105102..39518207c9dc2f5cf2806db07ac46bb87dbe6d75 100644 (file)
--- 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 <wolf31o2@gentoo.org>
+  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 <wolf31o2@gentoo.org>
   targets/support/rc-update.sh:
index e028ad3b5b18e72172277301be68a044833dd454..bc9661a808b3a923cb8cf97acc30ae1a123490d3 100755 (executable)
@@ -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