From 1cd7b9d2b1059beb649b9b00ac115a6da84df404 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 4 Aug 2024 23:18:25 +0200 Subject: [PATCH] mend --- build/arm64.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/arm64.sh b/build/arm64.sh index 786c715..12d190b 100755 --- a/build/arm64.sh +++ b/build/arm64.sh @@ -37,7 +37,9 @@ EOT echo "Unmounting second partition" sudo umount mnt -R +CORE_COUNT=$((`nproc`-1)) + echo "Compressing resulting image" -xz $RASPIOS_IMG +xz -T$CORE_COUNT $RASPIOS_IMG cp $RASPIOS_IMG.xz halis-debian-11.6.0-amd64.img.xz