live-build/ubuntu/hooks: ensure kernel artifacts named with subarch

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
ubuntu/mantic
Dimitri John Ledkov 1 year ago
parent 546217868f
commit 378322380e

@ -21,6 +21,8 @@ fi
. config/binary . config/binary
. config/functions . config/functions
PROJECT=$PROJECT${SUBARCH:+-$SUBARCH}
mv chroot/boot/initrd.img-* ${PWD}/livecd.${PROJECT}.initrd-generic mv chroot/boot/initrd.img-* ${PWD}/livecd.${PROJECT}.initrd-generic
mv chroot/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.kernel-generic mv chroot/boot/vmlinu?-* ${PWD}/livecd.${PROJECT}.kernel-generic
chmod a+r ${PWD}/livecd.${PROJECT}.initrd-generic ${PWD}/livecd.${PROJECT}.kernel-generic chmod a+r ${PWD}/livecd.${PROJECT}.initrd-generic ${PWD}/livecd.${PROJECT}.kernel-generic

Loading…
Cancel
Save