xbps-src: abort bootstrap when tests are enabled

This commit is contained in:
Michal Vasilek 2021-05-28 23:03:28 +02:00 committed by Daniel Kolesa
parent 87ce6d0b84
commit edd53432f2
1 changed files with 4 additions and 0 deletions

View File

@ -712,6 +712,10 @@ case "$XBPS_TARGET" in
install_base_chroot ${XBPS_TARGET_PKG:=$XBPS_MACHINE}
;;
bootstrap)
if [ -n "$XBPS_CHECK_PKGS" ]; then
msg_error "xbps-src: disable tests for bootstrap\n"
exit 1
fi
# base-chroot building on host
# check for required host utils
check_reqhost_utils bootstrap