mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-02-17 15:33:32 +00:00
Set MAKE_ISO=yes so ubuntu-mini-iso uses the standard isobuilder flow in auto/build. The binary hook is simplified to just creating kernel/initrd artifacts; isobuilder handles .disk metadata, boot configuration, and ISO creation. The mini-iso's custom grub.cfg (single iso-chooser-menu entry) is generated by a project-specific path in AMD64BootConfigurator. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
413 B
Bash
Executable File
21 lines
413 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Create kernel/initrd artifacts for isobuilder to consume.
|
|
# The standard MAKE_ISO flow in auto/build expects files named
|
|
# ${PREFIX}.kernel-${flavour} and ${PREFIX}.initrd-${flavour}.
|
|
|
|
set -eu
|
|
|
|
case $ARCH in
|
|
amd64)
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
PREFIX="livecd.${PROJECT}"
|
|
|
|
cp chroot/boot/vmlinuz "${PREFIX}.kernel-generic"
|
|
cp chroot/boot/initrd.img "${PREFIX}.initrd-generic"
|