diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 94d58676ba..9419702efd 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -243,7 +243,8 @@ chroot_handler() { fi else # uunshare not available - xbps-uchroot ${_chargs} $XBPS_MASTERDIR /bin/xbps-shell + env -i PATH="/usr/bin:/usr/sbin:$PATH" HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \ + xbps-uchroot ${_chargs} $XBPS_MASTERDIR /void-packages/xbps-src $action $pkg rv=$? fi fi