summaryrefslogtreecommitdiff
path: root/scripts/build/chroot
diff options
context:
space:
mode:
authorThore Sommer <debian@thson.de>2020-10-27 15:07:11 +0000
committerLuca Boccassi <bluca@debian.org>2020-10-27 15:07:11 +0000
commit7360d50fa6b7ef4809d28cf873ab7d29dc2a6f97 (patch)
tree609b88fd0c2840a14688a6bd18b185fd686a7781 /scripts/build/chroot
parent7b19209aaeb14719d8029fa321aa39aef08b6e94 (diff)
downloadvyos-live-build-7360d50fa6b7ef4809d28cf873ab7d29dc2a6f97.tar.gz
vyos-live-build-7360d50fa6b7ef4809d28cf873ab7d29dc2a6f97.zip
Added the option to include files before and after package installation
Moved includes.chroot to includes.chroot_after_packages and added includes.chroot_before_packages. includes.chroot does still work as before. We also now use rsync for copying files if it is installed. This improves runtime and space consumption for large includes. Gbp-Dch: Short Closes: #927128
Diffstat (limited to 'scripts/build/chroot')
-rwxr-xr-xscripts/build/chroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/chroot b/scripts/build/chroot
index 497911800..a0aa10be0 100755
--- a/scripts/build/chroot
+++ b/scripts/build/chroot
@@ -37,6 +37,7 @@ lb chroot_prep install all mode-archives-chroot "${@}"
lb chroot_linux-image "${@}"
lb chroot_firmware "${@}"
lb chroot_preseed "${@}"
+lb chroot_includes_before_packages "${@}"
for _PASS in install live; do
lb chroot_package-lists ${_PASS} "${@}"
@@ -47,7 +48,7 @@ for _PASS in install live; do
fi
done
-lb chroot_includes "${@}"
+lb chroot_includes_after_packages "${@}"
lb chroot_hooks "${@}"
lb chroot_hacks "${@}"
lb chroot_interactive "${@}"