From 93832b5a90ba06e8c0e2b7d5a31f65d9e7bac0a3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 19 Aug 2021 15:32:17 +0200 Subject: [PATCH] devuan install: +loop support --- debian-devuan-install-on-disk.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debian-devuan-install-on-disk.sh b/debian-devuan-install-on-disk.sh index 15b8979..2eec1f1 100755 --- a/debian-devuan-install-on-disk.sh +++ b/debian-devuan-install-on-disk.sh @@ -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