From 378322380ec4f01284fb0fe1bb22a487e1d34c67 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Fri, 29 Sep 2023 04:45:12 +0100 Subject: [PATCH] live-build/ubuntu/hooks: ensure kernel artifacts named with subarch Signed-off-by: Dimitri John Ledkov --- live-build/ubuntu/hooks/020-ubuntu-live.binary | 2 ++ 1 file changed, 2 insertions(+) diff --git a/live-build/ubuntu/hooks/020-ubuntu-live.binary b/live-build/ubuntu/hooks/020-ubuntu-live.binary index f9d47288..7f44aad8 100755 --- a/live-build/ubuntu/hooks/020-ubuntu-live.binary +++ b/live-build/ubuntu/hooks/020-ubuntu-live.binary @@ -21,6 +21,8 @@ fi . config/binary . config/functions +PROJECT=$PROJECT${SUBARCH:+-$SUBARCH} + mv chroot/boot/initrd.img-* ${PWD}/livecd.${PROJECT}.initrd-generic mv chroot/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.kernel-generic chmod a+r ${PWD}/livecd.${PROJECT}.initrd-generic ${PWD}/livecd.${PROJECT}.kernel-generic