[SCM] live-boot branch, debian-next, updated. debian/2.0_a4-1-4-g03d7aba

Daniel Baumann daniel at debian.org
Fri Jun 4 07:24:47 UTC 2010


The following commit has been merged in the debian-next branch:
commit 03d7abacedbdcb09a5aed747e16c462b35d8b891
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Jun 4 09:18:13 2010 +0200

    Renaming internal ext_mountpoint variable to alt_mountpoint for clarity.

diff --git a/scripts/live b/scripts/live
index a9c0f13..e93570f 100755
--- a/scripts/live
+++ b/scripts/live
@@ -8,7 +8,7 @@ echo "/root/lib" >> /etc/ld.so.conf
 echo "/root/usr/lib" >> /etc/ld.so.conf
 
 mountpoint="/live/image"
-ext_mountpoint="/ext_volume"
+alt_mountpoint="/media"
 LIVE_MEDIA_PATH="live"
 
 root_persistence="live-rw"
@@ -804,8 +804,8 @@ do_httpmount ()
 				iso|squashfs|tgz|tar)
 					if [ "${extension}" = "iso" ]
 					then
-						mkdir -p "${ext_mountpoint}"
-						dest="${ext_mountpoint}"
+						mkdir -p "${alt_mountpoint}"
+						dest="${alt_mountpoint}"
 					else
 						local dest="${mountpoint}/${LIVE_MEDIA_PATH}"
 						mount -t ramfs ram "${mountpoint}"
@@ -859,10 +859,10 @@ do_httpmount ()
 
 	if [ ${rc} != 0 ]
 	then
-		if [ -d "${ext_mountpoint}" ]
+		if [ -d "${alt_mountpoint}" ]
 		then
-		        umount "${ext_mountpoint}"
-			rmdir "${ext_mountpoint}"
+		        umount "${alt_mountpoint}"
+			rmdir "${alt_mountpoint}"
 		fi
 		umount "${mountpoint}"
 	elif [ "${webfile}"  != "FETCH" ] ; then

-- 
live-boot



More information about the debian-live-changes mailing list