summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorT(A)ILS developers <amnesia@boum.org>2010-11-01 20:38:26 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:59:20 +0100
commite1d184a44fcad7297cf31eb8782dfcff4dcb3e3d (patch)
treecea0bcef6f8b506c034da01dc711f9d72fd49e12
parentce67effb6fa0c0bc84e4f19e3fdbd379ca74fe55 (diff)
downloadlive-boot-e1d184a44fcad7297cf31eb8782dfcff4dcb3e3d.tar.gz
live-boot-e1d184a44fcad7297cf31eb8782dfcff4dcb3e3d.zip
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.
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
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}"