summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 062313f..ff13321 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -47,7 +47,7 @@ on_usb_bus() {
# mount source as loopback and set srcdir
mount_srcdir() {
local srcmnt=${MNT:-/mnt}
- mount -o loop -t iso9660 "$src" $srcmnt \
+ mount -o loop,ro -t iso9660 "$src" $srcmnt \
|| die "Failed to mount loopback $src"
umounts="$srcmnt"
srcdir="$srcmnt"