michael.hudson@canonical.com 51624c1b44
Place ISO artifacts directly into the ISO tree
For MAKE_ISO=yes builds, squashfs, kernel, initrd, manifests, and sizes
are now placed directly into config/iso-dir/iso-root/casper/ during the
build rather than creating livecd.* intermediates that get linked as
for-iso.* files and then copied into casper/ by isobuild.

This stops publishing the intermediate livecd.* artifacts so that only
livecd.*.iso and livecd.*.netboot.tar.gz are published for ISO builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 20:30:10 +13:00

16 lines
230 B
Bash
Executable File

#!/bin/sh
# Install kernel/initrd directly into the ISO casper directory.
set -eu
case $ARCH in
amd64)
;;
*)
exit 0
;;
esac
iso_install_kernel generic chroot/boot/vmlinuz chroot/boot/initrd.img