This commit is contained in:
Tanguy Herbron 2024-08-04 23:18:25 +02:00
parent eff8add72a
commit 3b56a8a4bd

View File

@ -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