diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-10-18 14:16:35 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-10-18 15:01:03 +0300 |
commit | 2ee0346e5c8f8d9de0909c7e2af950b25e2e925a (patch) | |
tree | 1a740ba1c0d20b3a5166749b01665c6a69dec1e4 /setup-bootable.in | |
parent | f6b87ef72e276bd2b4214c36dd2195b421838c37 (diff) | |
download | alpine-conf-2ee0346e5c8f8d9de0909c7e2af950b25e2e925a.zip |
setup-bootable: mount iso image read-only
they are read-only by design. this avoids a mount time warning.
Diffstat (limited to 'setup-bootable.in')
-rw-r--r-- | setup-bootable.in | 2 |
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" |