xbps-src: use local repo first for the binary-bootstrap target, append remotes later.

This commit is contained in:
Juan RP 2014-05-20 09:56:20 +02:00
parent 2096df0ab4
commit 28ec7358c1

View file

@ -236,9 +236,9 @@ install_bbotstrap() {
_subarch="-${XBPS_TARGET_PKG#*-}"
fi
fi
${_bootstrap_arch} xbps-install -S ${XBPS_INSTALL_ARGS} \
-c ${XBPS_HOSTDIR}/repocache -r $XBPS_MASTERDIR \
--repository=$XBPS_REPOSITORY -y base-chroot${_subarch}
${_bootstrap_arch} xbps-install -S --repository=${XBPS_REPOSITORY} \
${XBPS_INSTALL_ARGS} -c ${XBPS_HOSTDIR}/repocache \
-r $XBPS_MASTERDIR -y base-chroot${_subarch}
if [ $? -ne 0 ]; then
msg_error "Failed to install bootstrap packages!\n"
fi