From 3a3558203b330ac50a2f7259cb6322258a194a9c Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 25 Jun 2021 10:20:12 +1200 Subject: [PATCH] run chroot_hacks on each layer in lb_chroot_layered the comment says this was not done to avoid overlay size inflation but aiui reduce_pass_size deals with that now --- live-build/lb_chroot_layered | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/lb_chroot_layered b/live-build/lb_chroot_layered index 261d447b..1ade8e1b 100755 --- a/live-build/lb_chroot_layered +++ b/live-build/lb_chroot_layered @@ -154,11 +154,11 @@ create_chroot_pass () { # Only get some function executed on root passes # Copy bootstrap on root layers if $(is_root_layer $pass); then - rm -f .build/chroot_linux-image .build/chroot_preseed .build/chroot_hacks + rm -f .build/chroot_linux-image .build/chroot_preseed cp -a chroot.bootstrap/ "$overlay_dir/" fi # Others have to be executed on every pass - rm -f .build/chroot_early_hooks .build/chroot_hooks .build/chroot_interactive + rm -f .build/chroot_early_hooks .build/chroot_hooks .build/chroot_interactive .build/chroot_hacks mkdir -p "$overlay_dir/" lowerdirs=$(get_lowerdirs_for_pass $pass)