[SCM] debian-live branch, master, updated. 1.130.1-3-8-g4692f95

Daniel Baumann daniel at debian.org
Sat May 31 16:22:30 UTC 2008


The following commit has been merged in the master branch:
commit 4692f95a0af53278bddf6aebe7d8d9c4698264b3
Author: Michal Suchanek <hramrach at centrum.cz>
Date:   Sat May 31 17:41:42 2008 +0200

    Fix toram (change mount --move to mount -o move)
    
    Thanks to ChoBolT and taytay on irc

diff --git a/scripts/live b/scripts/live
index 29832c9..3428cca 100755
--- a/scripts/live
+++ b/scripts/live
@@ -615,7 +615,7 @@ copy_live_to ()
 		cd "${copyto}"
 		tar zxf "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})"
 		rm -f "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})"
-		mount -r --move "${copyto}" "${rootmnt}"
+		mount -r -o move "${copyto}" "${rootmnt}"
 		cd "${OLDPWD}"
 	else
 		if [ -n "${MODULETORAMFILE}" ]
@@ -627,7 +627,7 @@ copy_live_to ()
 
 		livefs_root
 		umount ${copyfrom}
-		mount -r --move ${copyto} ${copyfrom}
+		mount -r -o move ${copyto} ${copyfrom}
 	fi
 
 	rmdir ${copyto}
@@ -1122,7 +1122,7 @@ setup_unionfs ()
 					;;
 
 				*)
-					mount --move "${d}" "${rootmnt}/live/${d##*/}"
+					mount -o move "${d}" "${rootmnt}/live/${d##*/}"
 					;;
 			esac
 		done

-- 
debian-live



More information about the debian-live-changes mailing list