[neon/infrastructure/pangea-data] imager: no gfxboot usage in noble

Carlos De Maine null at kde.org
Thu Jul 11 05:10:22 BST 2024


Git commit f8b621ef637364164add2dd081c2b6360ab31c2f by Carlos De Maine.
Committed on 11/07/2024 at 03:59.
Pushed by carlosdem into branch 'master'.

no gfxboot usage in noble

M  +8    -5    imager/ubuntu-defaults-image

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

diff --git a/imager/ubuntu-defaults-image b/imager/ubuntu-defaults-image
index 6573741..c758655 100755
--- a/imager/ubuntu-defaults-image
+++ b/imager/ubuntu-defaults-image
@@ -192,11 +192,14 @@ fi
 # Make sure all our dependencies (which are Recommends of our package) are
 # installed.  This is a bit dubious long-term, but seems to be needed to
 # make autobuilds reliable.
-case $ARCH in
-    *amd64|*i386)
-        $SUDO apt-get -y install gfxboot-theme-ubuntu memtest86+ syslinux || exit 1
-    ;;
-esac
+if [ "$VERSION_CODENAME" = "jammy" ] && [ "$ARCH" = "amd64 ];  then
+    $SUDO apt-get -y install gfxboot-theme-ubuntu memtest86+ syslinux || exit 1
+elif [ "$ARCH" = "arm64" ]; then
+    $SUDO apt-get -y install syslinux || exit 1
+else
+    $SUDO apt-get -y install memtest86+ syslinux || exit 1
+fi
+
 $SUDO apt-get -y install genisoimage
 
 rm -rf auto


More information about the Neon-commits mailing list