From 2a854ad697ecd802163efcc5524be634b54647ff Mon Sep 17 00:00:00 2001 From: human Date: Sun, 26 May 2019 19:36:00 +0300 Subject: [PATCH] xbps-src: enter chroot before bootstrap-update fixes https://github.com/void-linux/void-packages/issues/11848 --- xbps-src | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xbps-src b/xbps-src index 8e0a5a15575..65269079586 100755 --- a/xbps-src +++ b/xbps-src @@ -696,7 +696,11 @@ case "$XBPS_TARGET" in install_bbootstrap bootstrap ;; bootstrap-update) - bootstrap_update + if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then + chroot_handler bootstrap-update + else + bootstrap_update + fi ;; chroot) chroot_handler chroot dummy