[SCM] live-boot branch, debian-next, updated. debian/3.0_a11-1-1-gedba965

Daniel Baumann daniel at debian.org
Tue Nov 2 10:34:40 UTC 2010


The following commit has been merged in the debian-next branch:
commit edba965ac631c9d6e10eb425eda8ae70922abb4d
Author: T(A)ILS developers <amnesia at boum.org>
Date:   Mon Nov 1 20:38:26 2010 +0100

    Fixing fromiso= on Squeeze.
    
    When running "mount DEV MOUNTPOINT" for the device provided by the fromiso= boot
    option, Squeeze's busybox errors out with:
    
        Mounting $DEV on /isofrom failed: No such file on directory.
    
    Using mount -t auto fixes the bug.

diff --git a/scripts/live b/scripts/live
index c5f4d50..90eca0f 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1556,7 +1556,7 @@ check_dev ()
 			echo "Warning: device for bootoption isofrom= ($FROMISO) not found.">>/live.log
 		else
 			mkdir /isofrom
-			mount "$ISO_DEVICE" /isofrom
+			mount -t auto "$ISO_DEVICE" /isofrom
 			ISO_NAME="$(echo $FROMISO | sed "s|$ISO_DEVICE||")"
 			loopdevname=$(setup_loop "/isofrom/${ISO_NAME}" "loop" "/sys/block/loop*" "" '')
 			devname="${loopdevname}"

-- 
live-boot



More information about the debian-live-changes mailing list