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:
parent
62261cc16f
commit
45bc2bea04
4
xbps-src
4
xbps-src
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue