[neon/infrastructure/pangea-data] imager: guard against $ARCH for ARM64

Carlos De Maine null at kde.org
Sun Feb 4 01:41:46 GMT 2024


Git commit eae6344ad711aedf63710b68fb89770b4c375fd9 by Carlos De Maine.
Committed on 04/02/2024 at 01:41.
Pushed by carlosdem into branch 'master'.

guard against $ARCH for ARM64

arm64 doesn't pull in the old default kernel only the new hwe one and thus doesn't need the remove and rename dance

M  +1    -1    imager/ubuntu-defaults-image

https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/eae6344ad711aedf63710b68fb89770b4c375fd9

diff --git a/imager/ubuntu-defaults-image b/imager/ubuntu-defaults-image
index 744488c..e846b0c 100755
--- a/imager/ubuntu-defaults-image
+++ b/imager/ubuntu-defaults-image
@@ -376,7 +376,7 @@ if [ ! -e binary/casper/vmlinuz ]; then
     done
 fi
 EOF
-elif [ "$VERSION_CODENAME" = "jammy" ]; then
+elif [ "$VERSION_CODENAME" = "jammy" ] && [ "$ARCH" = "amd64" ]; then
   cat <<EOF > config/hooks/000-rename-kernel.binary
 #!/bin/sh -ex
 


More information about the Neon-commits mailing list