From 7360d50fa6b7ef4809d28cf873ab7d29dc2a6f97 Mon Sep 17 00:00:00 2001 From: Thore Sommer Date: Tue, 27 Oct 2020 15:07:11 +0000 Subject: 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 --- scripts/build/chroot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/build/chroot') 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 "${@}" -- cgit v1.2.3