xbps-src: enter chroot before bootstrap-update
fixes https://github.com/void-linux/void-packages/issues/11848
This commit is contained in:
parent
1c9aa6911e
commit
2a854ad697
1 changed files with 5 additions and 1 deletions
6
xbps-src
6
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
|
||||
|
|
Loading…
Add table
Reference in a new issue