mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-05 00:11:10 +00:00
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
This commit is contained in:
parent
ce458ba31e
commit
3a3558203b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user