From ae46a541862ae9e3d4763ba1c6fbfe672a63b2eb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 8 Jul 2016 16:26:30 +0200 Subject: [PATCH] usbinstall.sh: suppress warning on iso mounted read/only --- VERSION | 2 +- src/usbinstall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index c350bf1..955cc3f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=1.1 +VERSION=1.2 diff --git a/src/usbinstall.sh b/src/usbinstall.sh index ea7f40e..005048a 100644 --- a/src/usbinstall.sh +++ b/src/usbinstall.sh @@ -333,7 +333,7 @@ else set_status $"Extracting bootloader data from ISO image..." echo $"Extracting bootloader data from ISO image..." ISOMOUNTDIR=`mktemp -d --suffix=.usbinstall` - mount -o loop $SELECT_ISO $ISOMOUNTDIR || { + mount -o loop,ro $SELECT_ISO $ISOMOUNTDIR || { errorAndExit $"Error: unable to mount ISO image" }