forked from Bananymous/banan-os
Update script/image.sh
mount dir default value Signed-off-by: Sinipelto <sinipelto@noreply.bananymous.com>
This commit is contained in:
parent
566724d986
commit
f97922a2b5
|
@ -18,7 +18,7 @@ LOOP_DEV=$(sudo losetup --show -f "$BANAN_DISK_IMAGE_PATH")
|
|||
sudo partprobe $LOOP_DEV
|
||||
|
||||
ROOT_PARTITION=${LOOP_DEV}p2
|
||||
MOUNT_DIR=/bananmnt
|
||||
MOUNT_DIR="${MOUNT_DIR:-/bananmnt}"
|
||||
|
||||
sudo mkdir -p $MOUNT_DIR || { echo "Failed to create mount point dir."; exit 1; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue