[SCM] live-startscripts branch, master, updated. a121b6a74d98ca0a16738196d86c181dc840dad5

Richard Nelson unixabg at gmail.com
Mon Oct 26 21:59:20 UTC 2009


The following commit has been merged in the master branch:
commit a121b6a74d98ca0a16738196d86c181dc840dad5
Author: Richard Nelson <unixabg at gmail.com>
Date:   Mon Oct 26 16:56:06 2009 -0500

    Less agressive cleanup on the /vmware/ folder to do a *.* instead of * and manual remove the local-release file.

diff --git a/initscripts/live-vmware-player b/initscripts/live-vmware-player
index f04cfab..6b2bb06 100755
--- a/initscripts/live-vmware-player
+++ b/initscripts/live-vmware-player
@@ -174,7 +174,10 @@ EOF
 			if [ "${ACTION}" = "scratch" ]
 			then
 				echo "Scratching everything in scratch dir on the fly!" >> /var/log/live-vmware-player.log
-				rm -rf /vmware/*
+				# Only doing *.* opposed to * since folders with vmware images may be on the same block device.
+				rm -rf /vmware/*.*
+				# Also now have to remove local-release.
+				rm -f /vmware/local-release
 				echo "Scratching completed!" >> /var/log/live-vmware-player.log
 			fi
 

-- 
live-startscripts



More information about the debian-live-changes mailing list