xbps-src: binary-bootstrap now prefers XBPS_INSTALL_ARGS.

... and fallsback to the local repository otherwise.
This commit is contained in:
Juan RP 2015-05-10 09:35:19 +02:00
parent eb606dad3d
commit 7494f7d07f

View file

@ -273,8 +273,8 @@ 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 -S --repository=${XBPS_REPOSITORY} \
${XBPS_INSTALL_ARGS} -c ${XBPS_HOSTDIR}/repocache \
${_bootstrap_arch} xbps-install -S ${XBPS_INSTALL_ARGS} \
--repository=$XBPS_REPOSITORY -c ${XBPS_HOSTDIR}/repocache \
-r $XBPS_MASTERDIR -y base-chroot${_subarch}
if [ $? -ne 0 ]; then
msg_error "Failed to install bootstrap packages!\n"