clean & update

This commit is contained in:
Mikaël Cluseau
2026-06-17 11:38:26 +02:00
parent 681fc21714
commit 0faa56827e
+4 -4
View File
@@ -9,13 +9,13 @@ if [ -e $out ]; then
fi
# create the file
truncate -s144M $out
truncate -s 192M $out
# partition it
sgdisk \
--new=0:4096:+128M --typecode=0:EF00 -c 0:boot \
--new=0:0:+2M --typecode=0:EF02 -c 0:BIOS-BOOT \
--hybrid=1:2 --print $out
--new=1:2048: --typecode=1:EF00 -c 1:boot \
--new=2:34:2047 --typecode=2:EF02 -c 2:BIOS-BOOT \
--hybrid=1:2 --print $out
dev=$(losetup --find --show --partscan $out)
trap "losetup -d $dev" EXIT