xbps-src: requires xbps>=0.45 now.
This commit is contained in:
parent
1fd57abaad
commit
3493f3c229
|
@ -17,4 +17,4 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
exec xbps-uchroot $EXTRA_ARGS -D $DISTDIR ${HOSTDIR:+-H $HOSTDIR} $MASTERDIR $@
|
||||
exec xbps-uchroot $EXTRA_ARGS -b $DISTDIR:/void-packages ${HOSTDIR:+-b $HOSTDIR:/host} $MASTERDIR $@
|
||||
|
|
|
@ -17,4 +17,4 @@ if [ -z "$MASTERDIR" -o -z "$DISTDIR" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
exec xbps-uunshare $EXTRA_ARGS -D $DISTDIR ${HOSTDIR:+-H $HOSTDIR} $MASTERDIR $@
|
||||
exec xbps-uunshare $EXTRA_ARGS -b $DISTDIR:/void-packages ${HOSTDIR:+-b $HOSTDIR:/host} $MASTERDIR $@
|
||||
|
|
|
@ -147,7 +147,7 @@ chroot_sync_repos() {
|
|||
# Make sure to sync index for remote repositories.
|
||||
$XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh \
|
||||
$XBPS_MASTERDIR $XBPS_DISTDIR "$XBPS_HOSTDIR" \
|
||||
"$XBPS_CHROOT_CMD_ARGS" /usr/sbin/xbps-install -S
|
||||
"$XBPS_CHROOT_CMD_ARGS" xbps-install -- -S
|
||||
fi
|
||||
|
||||
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||
|
@ -160,7 +160,7 @@ chroot_sync_repos() {
|
|||
env XBPS_TARGET_ARCH=$XBPS_TARGET_ARCH \
|
||||
$XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh \
|
||||
$XBPS_MASTERDIR $XBPS_DISTDIR "$XBPS_HOSTDIR" "$XBPS_CHROOT_CMD_ARGS" \
|
||||
/usr/sbin/xbps-install -r $XBPS_CROSS_BASE -S
|
||||
xbps-install -- -r $XBPS_CROSS_BASE -S
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -209,7 +209,7 @@ chroot_handler() {
|
|||
env -i PATH="/usr/bin:/usr/sbin:$PATH" HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \
|
||||
$XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh \
|
||||
$XBPS_MASTERDIR $XBPS_DISTDIR "$XBPS_HOSTDIR" "$XBPS_CHROOT_CMD_ARGS" \
|
||||
/void-packages/xbps-src $action $pkg
|
||||
/void-packages/xbps-src -- $action $pkg
|
||||
rv=$?
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue