mirror of
https://git.launchpad.net/livecd-rootfs
synced 2026-04-02 15:11:17 +00:00
auto/build: install kernel into ISO tree for non-layered builds
Non-layered MAKE_ISO=yes builds (e.g. kubuntu) had no equivalent of the lb_binary_layered kernel placement added in the previous commit: lb binary_linux-image put the kernel in binary/casper/ but nothing copied it into the ISO tree (CASPER_DIR). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
eaef671f74
commit
51fa2b9b92
@ -580,6 +580,9 @@ if [ "${MAKE_ISO}" = "yes" ]; then
|
|||||||
isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources
|
isobuild generate-sources --mountpoint=/cdrom > chroot/etc/apt/sources.list.d/cdrom.sources
|
||||||
create_squashfs chroot ${CASPER_DIR}/filesystem.squashfs
|
create_squashfs chroot ${CASPER_DIR}/filesystem.squashfs
|
||||||
rm chroot/etc/apt/sources.list.d/cdrom.sources
|
rm chroot/etc/apt/sources.list.d/cdrom.sources
|
||||||
|
for flavor in $LB_LINUX_FLAVOURS; do
|
||||||
|
iso_install_kernel "$flavor" binary/${INITFS}/vmlinu?-* binary/${INITFS}/initrd.img-*
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
isobuild extract-casper-uuids
|
isobuild extract-casper-uuids
|
||||||
isobuild make-bootable --project "${PROJECT}" --capproject "$(cat config/iso-ids/capproject)" \
|
isobuild make-bootable --project "${PROJECT}" --capproject "$(cat config/iso-ids/capproject)" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user