michael.hudson@canonical.com 816eaed015
Source config/functions in hooks that call iso_install_kernel
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 20:30:17 +13:00

18 lines
250 B
Bash
Executable File

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