From 8d16d9f8104492bfaf99359ea0118069f1486c2d Mon Sep 17 00:00:00 2001 From: Igor Velkov Date: Mon, 6 Jun 2022 11:06:25 +0300 Subject: [PATCH] Fix for build error on aarch64 with ERROR in function check_loop_device (#3831) --- lib/debootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debootstrap.sh b/lib/debootstrap.sh index 708924b818..cdb43ff98c 100644 --- a/lib/debootstrap.sh +++ b/lib/debootstrap.sh @@ -636,7 +636,7 @@ PREPARE_IMAGE_SIZE check_loop_device "$LOOP" - losetup $LOOP ${SDCARD}.raw + losetup -P $LOOP ${SDCARD}.raw # loop device was grabbed here, unlock flock -u $FD