From dc7519a44a5d4a9372648126b9dabd7cb8234382 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Mon, 2 Oct 2023 10:38:47 +0100 Subject: [PATCH] Create subiquity meta-package hint --- live-build/lb_chroot_layered | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/live-build/lb_chroot_layered b/live-build/lb_chroot_layered index f99f2dca..828517ce 100755 --- a/live-build/lb_chroot_layered +++ b/live-build/lb_chroot_layered @@ -206,6 +206,13 @@ create_chroot_pass () { [ "$livepass" != "$pass" ] && continue lb chroot_linux-image ${*} lb chroot_live-packages ${*} + if [ "$LB_LINUX_PACKAGES" = "linux" ]; then + for flavour in $LB_LINUX_FLAVOURS; do + mkdir -p chroot/etc/subiquity + echo "linux-$flavour" > chroot/etc/subiquity/kernel-meta-package + break + done + fi break done