From 2096eccd6780e13660e8dbdb465de5464b3acee2 Mon Sep 17 00:00:00 2001 From: Dan Bungert Date: Sun, 13 Oct 2024 13:28:13 -0600 Subject: [PATCH] lb_binary_layered: use kernel.yaml --- live-build/lb_binary_layered | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/live-build/lb_binary_layered b/live-build/lb_binary_layered index 414bd635..e64ecaee 100755 --- a/live-build/lb_binary_layered +++ b/live-build/lb_binary_layered @@ -204,6 +204,12 @@ do build_layered_squashfs "${_PASS}" ${*} done +if [ -f config/kernel.yaml ]; then + /usr/share/livecd-rootfs/update-source-catalog merge \ + --output livecd.${PROJECT_FULL}.install-sources.yaml \ + --template config/kernel.yaml +fi + # Ubiquity-compatible removal manifest for ISO not using a layered-aware installer if [ -n "$(ls livecd.${PROJECT_FULL}.*install.live.manifest.full 2>/dev/null)" ] && \ [ -n "$(ls livecd.${PROJECT_FULL}.*install.manifest.full 2>/dev/null)" ]; then