From e1d184a44fcad7297cf31eb8782dfcff4dcb3e3d Mon Sep 17 00:00:00 2001 From: "T(A)ILS developers" Date: Mon, 1 Nov 2010 20:38:26 +0100 Subject: [PATCH] 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. --- scripts/live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- 2.1.4