From 38a5aed0dcdf71f43cecfadc6e34c659408b6a00 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sun, 5 Apr 2020 17:29:31 +0100 Subject: chroot_prep: expand coverage it now covers: - `lb chroot_apt install-binary` - `lb chroot_archives {chroot|binary|source} {install|remove}` by expanding usage from: `lb chroot_prep {install|remove} HELPERS [ARGS]` to: `lb chroot_prep {install|remove} HELPERS [MODE[ MODE..]] [ARGS]` where `[MODE[ MODE..]]` is an optional set of one or more of: - archives-chroot, which specifies to use 'chroot' as the first param to the chroot_archives script - archives-binary, which specifies to use 'binary' - archives-source, which specifies to use 'source' - apt-install-binary, which specified to pass 'install-binary' instead of 'install' to chroot_apt thus _all_ chroot prep scripts can be run through this helper now! note, in the case of the binary stage, 'archives' is deliberately not added to CHROOT_PREP_OTHER, this is not a mistake! Gbp-Dch: Short --- scripts/build/bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/bootstrap') diff --git a/scripts/build/bootstrap b/scripts/build/bootstrap index 8ec5d237c..08229a393 100755 --- a/scripts/build/bootstrap +++ b/scripts/build/bootstrap @@ -33,11 +33,11 @@ lb bootstrap_debootstrap "${@}" lb bootstrap_cache save "${@}" # Configuring chroot -lb chroot_prep install all "${@}" +lb chroot_prep install all-except-archives "${@}" lb bootstrap_archives binary "${@}" # Deconfiguring chroot -lb chroot_prep remove all "${@}" +lb chroot_prep remove all-except-archives "${@}" Echo_message "Bootstrap stage completed" -- cgit v1.2.3