xbps-src: enter chroot before bootstrap-update

fixes https://github.com/void-linux/void-packages/issues/11848
This commit is contained in:
human 2019-05-26 19:36:00 +03:00 committed by Helmut Pozimski
parent 1c9aa6911e
commit 2a854ad697
1 changed files with 5 additions and 1 deletions

View File

@ -696,7 +696,11 @@ case "$XBPS_TARGET" in
install_bbootstrap bootstrap
;;
bootstrap-update)
if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then
chroot_handler bootstrap-update
else
bootstrap_update
fi
;;
chroot)
chroot_handler chroot dummy