diff options
| author | T(A)ILS developers <amnesia@boum.org> | 2010-11-01 20:38:26 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:54:32 +0100 |
| commit | 1e638a7bdc40f173f91157a2e0ceb71003f3e7c8 (patch) | |
| tree | f64682ae5e8c3d3e125899590eef14a68f4495f2 | |
| parent | 08ccfd7f6a54924582ac833e865beee148129574 (diff) | |
| download | live-boot-1e638a7bdc40f173f91157a2e0ceb71003f3e7c8.tar.gz live-boot-1e638a7bdc40f173f91157a2e0ceb71003f3e7c8.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-x | scripts/live | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live index 4b1b92d..d79beed 100755 --- a/scripts/live +++ b/scripts/live @@ -1485,7 +1485,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}" |
