xbps-src: use $XBPS_INSTALL_CMD in binary-bootstrap.

This way local repo is always preferred rather than remote repos declared
via XBPS_INSTALL_ARGS.
This commit is contained in:
Juan RP 2015-08-05 11:59:58 +02:00
parent 62261cc16f
commit 45bc2bea04
1 changed files with 1 additions and 3 deletions

View File

@ -280,9 +280,7 @@ install_bbootstrap() {
mkdir -p $XBPS_MASTERDIR/var/db/xbps/keys
cd $XBPS_MASTERDIR
cp -f $XBPS_COMMONDIR/repo-keys/*.plist $XBPS_MASTERDIR/var/db/xbps/keys
${_bootstrap_arch} xbps-install ${XBPS_INSTALL_ARGS:+-S $XBPS_INSTALL_ARGS} \
--repository=$XBPS_REPOSITORY -c ${XBPS_HOSTDIR}/repocache \
-r $XBPS_MASTERDIR -y base-chroot${_subarch}
${_bootstrap_arch} $XBPS_INSTALL_CMD ${XBPS_INSTALL_ARGS:+-S $XBPS_INSTALL_ARGS} -y base-chroot${_subarch}
if [ $? -ne 0 ]; then
msg_error "Failed to install bootstrap packages!\n"
fi