xbps-src: fixed repo handling with xbps-0.37 in cross builds.
This commit is contained in:
parent
96290f5933
commit
f90fe6abb8
1 changed files with 4 additions and 0 deletions
|
@ -136,6 +136,10 @@ chroot_sync_repos() {
|
|||
fi
|
||||
cp -a $XBPS_MASTERDIR/var/db/xbps/keys/*.plist \
|
||||
$XBPS_MASTERDIR/usr/$XBPS_CROSS_TRIPLET/var/db/xbps/keys
|
||||
rm -rf $XBPS_MASTERDIR/usr/$XBPS_CROSS_TRIPLET/etc/xbps/repo.d
|
||||
mkdir -p $XBPS_MASTERDIR/usr/$XBPS_CROSS_TRIPLET/etc/xbps/repo.d
|
||||
cp ${XBPS_MASTERDIR}/etc/xbps/repo.d/*.conf \
|
||||
$XBPS_MASTERDIR/usr/$XBPS_CROSS_TRIPLET/etc/xbps/repo.d
|
||||
env XBPS_TARGET_ARCH=$XBPS_TARGET_ARCH \
|
||||
$CHROOT_CMD $XBPS_MASTERDIR /usr/sbin/xbps-install \
|
||||
-r /usr/$XBPS_CROSS_TRIPLET -S
|
||||
|
|
Loading…
Reference in a new issue