From ace66cbb52eea009e89a56753c5ef19c279eac7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Tue, 20 Feb 2024 17:05:10 +0100 Subject: [PATCH] Attempt building netboot tarballs for largemem arm64 server images. --- debian/changelog | 8 ++++++-- live-build/ubuntu-server/hooks/05-netboot-tarball.binary | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 46d4cf79..d615129b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,12 @@ -livecd-rootfs (24.04.39) UNRELEASED; urgency=medium +livecd-rootfs (24.04.39ubuntu1) UNRELEASED; urgency=medium + [ Steve Langasek ] * Pare down 'BASE_SEED' handling to only those flavors which still use it. - -- Steve Langasek Sun, 18 Feb 2024 10:27:50 -0800 + [ Łukasz 'sil2100' Zemczak ] + * Attempt building netboot tarballs for largemem arm64 server images. + + -- Łukasz 'sil2100' Zemczak Tue, 20 Feb 2024 17:04:01 +0100 livecd-rootfs (24.04.38) noble; urgency=medium diff --git a/live-build/ubuntu-server/hooks/05-netboot-tarball.binary b/live-build/ubuntu-server/hooks/05-netboot-tarball.binary index eef58f64..9db81625 100755 --- a/live-build/ubuntu-server/hooks/05-netboot-tarball.binary +++ b/live-build/ubuntu-server/hooks/05-netboot-tarball.binary @@ -1,7 +1,7 @@ #!/bin/sh case $PASS in - ubuntu-server-minimal.ubuntu-server.installer.generic.netboot) + ubuntu-server-minimal.ubuntu-server.installer.generic*.netboot) ;; *) exit 0 @@ -10,7 +10,11 @@ esac set -eux -flavor=generic +# Extract the flavor from the pass name +flavor=${PASS%%.netboot} +flavor=${flavor##*.} + +PROJECT=$PROJECT${SUBARCH:+-$SUBARCH} KERNEL=${PWD}/livecd.${PROJECT}.kernel-$flavor INITRD=${PWD}/livecd.${PROJECT}.initrd-$flavor