From 2ee0346e5c8f8d9de0909c7e2af950b25e2e925a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 18 Oct 2017 14:16:35 +0300 Subject: setup-bootable: mount iso image read-only they are read-only by design. this avoids a mount time warning. --- setup-bootable.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3