[neon/infrastructure/pangea-data] imager: make sure there is some debug available for removing the old linux-generic kenrnel bits
Carlos De Maine
null at kde.org
Thu Feb 20 03:03:32 GMT 2025
Git commit f79eb91b3ec143daec5fd315167ed1bd7edea29c by Carlos De Maine.
Committed on 20/02/2025 at 03:03.
Pushed by carlosdem into branch 'master'.
make sure there is some debug available for removing the old linux-generic kenrnel bits
M +6 -4 imager/ubuntu-defaults-image
https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/f79eb91b3ec143daec5fd315167ed1bd7edea29c
diff --git a/imager/ubuntu-defaults-image b/imager/ubuntu-defaults-image
index 7b91c32..e59a5cb 100755
--- a/imager/ubuntu-defaults-image
+++ b/imager/ubuntu-defaults-image
@@ -429,12 +429,14 @@ 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
+
+# We now use 24.04 HWE linux but old linux-generic is still pulled in -> carlosdem 2025-02-20
+rm binary/casper/initrd.img-6.8*
+rm binary/casper/vmlinuz-6.8*
+
+
if [ ! -e binary/casper/initrd ]; then
echo "\$0: Renaming initramfs to initrd..."
mv -v binary/casper/initrd.img-* binary/casper/initrd
More information about the Neon-commits
mailing list