devuan install: +loop support

This commit is contained in:
Nico Schottelius 2021-08-19 15:32:17 +02:00
parent b17039d74e
commit 93832b5a90

View file

@ -19,7 +19,7 @@ case $disk in
/dev/sd*)
partition=${disk}1
;;
/dev/mmcblk*|/dev/nvme*)
/dev/mmcblk*|/dev/nvme*|/dev/loop*)
partition=${disk}p1
;;
*)
@ -31,8 +31,6 @@ esac
chroot_dir=$(mktemp -d)
date=$(date +%F)
basename=${suite}-${date}
################################################################################
# Disk preparation