[neon/infrastructure/pangea-data] imager: clashes with the live-tools defaults

Carlos De Maine null at kde.org
Fri Sep 27 12:06:51 BST 2024


Git commit a2a5c7a71ae1116cd2b88b330ce50419b92e7697 by Carlos De Maine.
Committed on 27/09/2024 at 11:06.
Pushed by carlosdem into branch 'master'.

clashes with the live-tools defaults

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

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

diff --git a/imager/ubuntu-defaults-image b/imager/ubuntu-defaults-image
index 57aee72..dfe4e02 100755
--- a/imager/ubuntu-defaults-image
+++ b/imager/ubuntu-defaults-image
@@ -425,35 +425,35 @@ if [ ! -e binary/casper/vmlinuz ]; then
     done
 fi
 EOF
-elif [ "$VERSION_CODENAME" = "noble" ] && [ "$ARCH" = "amd64" ]; then
-  cat <<EOF > config/hooks/000-rename-kernel.binary
-#!/bin/sh -ex
-
-ls -lah binary/
-ls -lah binary/casper
-if [ ! -e binary/casper/initrd ]; then
-    echo "\$0: Renaming initramfs to initrd..."
-    mv -v binary/casper/initrd.img-* binary/casper/initrd
-fi
-if [ ! -e binary/casper/vmlinuz ]; then
-    echo "\$0: Renaming kernel to vmlinuz..."
-    # This will go wrong if there's ever more than one vmlinuz-* after
-    # excluding *.efi.signed.  We can deal with that if and when it arises.
-    for x in binary/casper/vmlinuz-*; do
-	case \$x in
-	    *.efi.signed)
-		;;
-	    *)
-		mv \$x binary/casper/vmlinuz
-		if [ -e "\$x.efi.signed" ]; then
-		    mv \$x.efi.signed binary/casper/vmlinuz.efi
-		fi
-		;;
-	esac
-    done
-fi
-EOF
-fi
+#elif [ "$VERSION_CODENAME" = "noble" ] && [ "$ARCH" = "amd64" ]; then
+#  cat <<EOF > config/hooks/000-rename-kernel.binary
+##!/bin/sh -ex
+#
+#ls -lah binary/
+#ls -lah binary/casper
+#if [ ! -e binary/casper/initrd ]; then
+#    echo "\$0: Renaming initramfs to initrd..."
+#    mv -v binary/casper/initrd.img-* binary/casper/initrd
+#fi
+#if [ ! -e binary/casper/vmlinuz ]; then
+#    echo "\$0: Renaming kernel to vmlinuz..."
+#    # This will go wrong if there's ever more than one vmlinuz-* after
+#    # excluding *.efi.signed.  We can deal with that if and when it arises.
+#    for x in binary/casper/vmlinuz-*; do
+#	case \$x in
+#	    *.efi.signed)
+#		;;
+#	    *)
+#		mv \$x binary/casper/vmlinuz
+#		if [ -e "\$x.efi.signed" ]; then
+#		    mv \$x.efi.signed binary/casper/vmlinuz.efi
+#		fi
+#		;;
+#	esac
+#    done
+#fi
+#EOF
+#fi
 
 # set default language
 cat <<EOF > config/hooks/000-default-language.binary



More information about the Neon-commits mailing list