From bb761f2dcf46ee22fa9f41d95815ffe44cd149b3 Mon Sep 17 00:00:00 2001 From: BomberFish Date: Sun, 5 Nov 2023 19:05:51 -0500 Subject: [PATCH] fix hdiutil attach --- wax/wax_macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wax/wax_macos.sh b/wax/wax_macos.sh index 993b71ed..7e7b0839 100644 --- a/wax/wax_macos.sh +++ b/wax/wax_macos.sh @@ -45,7 +45,7 @@ n w EOF echo "Creating loop device" -loop=$(hdiutil attach -nomount $bin | awk '{print $1;}' | head -n 1) +loop=$(hdiutil attach -nomount -noverify -imagekey diskimage-class=CRawDiskImage $bin | awk '{print $1;}' | head -n 1) # found in https://en.wikipedia.org/wiki/Loop_device#Availability of all places echo "Making arch partition" mkfs.ext2 -L arch ${loop}s13 # ext2 so we can use skid protection features