[neon/infrastructure/pangea-data] imager: make sure have don't have 2 kernels installed

Carlos De Maine null at kde.org
Thu Feb 20 02:34:06 GMT 2025


Git commit 6bdae5fdade15b6252afd7a586ff52ca8d9908bf by Carlos De Maine.
Committed on 20/02/2025 at 02:34.
Pushed by carlosdem into branch 'master'.

make sure have don't have 2 kernels installed

M  +4    -0    imager/ubuntu-defaults-image

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

diff --git a/imager/ubuntu-defaults-image b/imager/ubuntu-defaults-image
index 57aee72..7b91c32 100755
--- a/imager/ubuntu-defaults-image
+++ b/imager/ubuntu-defaults-image
@@ -429,6 +429,10 @@ elif [ "$VERSION_CODENAME" = "noble" ] && [ "$ARCH" = "amd64" ]; then
   cat <<EOF > config/hooks/000-rename-kernel.binary
 #!/bin/sh -ex
 
+# We now use 24.04 HWE linux but this one still gets installed for some reason carlosdem 2025-20-02
+rm binary/casper/initrd.img-6.8.0*
+rm binary/casper/vmlinuz-6.8.0*
+
 ls -lah binary/
 ls -lah binary/casper
 if [ ! -e binary/casper/initrd ]; then


More information about the Neon-commits mailing list