mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 19:31:31 +00:00
Now that kernel names use expected -generic flavour, and kernels are installed in the live layer, we can go back to stock behaviour of auto/build noticing that binary hooks are called on a live layer and executing the extraction & rename of the kernel flavours. BTW we can even later expand that to support 2 generic abis, and calling the bigger one the hwe generic such that can also remove ./live-build/ubuntu-server/hooks/04-kernel-bits.binary. This fixes ubuntu arm64+x13s that is unable to find ubuntu-x13s.kernel-laptop as due to this hook, which currently produces ubuntu.kernel-generic in error which is not at all expected by ubuntu-cdimage. Also this unbreaks producing oem & intel-iot images, although we will build these in 24.04 only next. This reverts ubuntu daily-live to use `--linux-flavours laptop-generic-hwe-22.04` instead of `--linux-flavours none --linux-packages=none --initramfs=none`, like it did in lunar and pre-canary-image or images that install kernel in live layer. Fixes: c00bbf3fb3 ("desktop: place kernel in the live layer") Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>