From deb31732db8143a81a898f49ba0e786d84f0546a Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Sun, 1 Oct 2023 19:14:44 +0100 Subject: [PATCH] Ensure chroot_linux-image is only exectued on live layers Signed-off-by: Dimitri John Ledkov --- live-build/lb_chroot_layered | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/lb_chroot_layered b/live-build/lb_chroot_layered index a48dce71..f99f2dca 100755 --- a/live-build/lb_chroot_layered +++ b/live-build/lb_chroot_layered @@ -167,7 +167,6 @@ create_chroot_pass () { fi # Customizing chroot - lb chroot_linux-image ${*} lb chroot_preseed ${*} lb chroot_early_hooks ${*} @@ -205,6 +204,7 @@ create_chroot_pass () { # Add live packages to live layers for livepass in $LIVE_PASSES; do [ "$livepass" != "$pass" ] && continue + lb chroot_linux-image ${*} lb chroot_live-packages ${*} break done