xbps-src: binary-bootstrap now prefers XBPS_INSTALL_ARGS.
... and fallsback to the local repository otherwise.
This commit is contained in:
parent
eb606dad3d
commit
7494f7d07f
4
xbps-src
4
xbps-src
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user