disk-image-uefi: Fix regression with partition sizing on arm

The sgdisk arguments for arm got mistakenly reordered, with the second
partition starting at offset 0.
ubuntu/oracular
Simon Poirier 4 months ago
parent 60a5c1a779
commit df4017bf10

@ -37,10 +37,10 @@ create_partitions() {
case $ARCH in case $ARCH in
arm64|armhf) arm64|armhf)
sgdisk "${disk_image}" \ sgdisk "${disk_image}" \
--new=13::1G \
--typecode=13:ea00 \
--new=15:0:204800 \ --new=15:0:204800 \
--typecode=15:ef00 \ --typecode=15:ef00 \
--new=13::1G \
--typecode=13:ea00 \
--new=1: --new=1:
;; ;;
riscv64) riscv64)

Loading…
Cancel
Save