chroot.sh: force install glibc and libxcrypt-compat to rebuild

This commit is contained in:
Đoàn Trần Công Danh 2024-01-05 16:23:28 +07:00
parent 75a3b2c51d
commit 9fe1dba9c7
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ install_base_chroot() {
_bootstrap_arch="env XBPS_TARGET_ARCH=$XBPS_TARGET_PKG"
fi
(export XBPS_MACHINE=$XBPS_TARGET_PKG XBPS_ARCH=$XBPS_TARGET_PKG; chroot_sync_repodata)
${_bootstrap_arch} $XBPS_INSTALL_CMD ${XBPS_INSTALL_ARGS} -y base-chroot
${_bootstrap_arch} $XBPS_INSTALL_CMD ${XBPS_INSTALL_ARGS} -y base-chroot glibc libxcrypt-compat
if [ $? -ne 0 ]; then
msg_error "xbps-src: failed to install base-chroot!\n"
fi