diff --git a/xbps-src/shutils/chroot.sh.in b/xbps-src/shutils/chroot.sh.in index 6cd75bece90..303beffd582 100644 --- a/xbps-src/shutils/chroot.sh.in +++ b/xbps-src/shutils/chroot.sh.in @@ -253,6 +253,10 @@ xbps_chroot_handler() echo "done." fi + if [ ! -d "$XBPS_MASTERDIR/tmp" ]; then + mkdir -p "$XBPS_MASTERDIR/tmp" + fi + create_binsh_symlink create_busybox_links install_xbps_utils