From df4017bf10979735311a92f67391905a28bcc10d Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Wed, 21 Aug 2024 18:44:30 -0400 Subject: [PATCH] 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. --- live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary index bcb18acf..1ee4545e 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-uefi.binary @@ -37,10 +37,10 @@ create_partitions() { case $ARCH in arm64|armhf) sgdisk "${disk_image}" \ - --new=13::1G \ - --typecode=13:ea00 \ --new=15:0:204800 \ --typecode=15:ef00 \ + --new=13::1G \ + --typecode=13:ea00 \ --new=1: ;; riscv64)