xbps-src: fix previous.
This commit is contained in:
parent
c74c204a6e
commit
87d91f0594
1 changed files with 10 additions and 10 deletions
|
@ -143,6 +143,7 @@ chroot_sync_repos() {
|
||||||
rm -f $XBPS_MASTERDIR/usr/$XBPS_CROSS_TRIPLET/etc/xbps.d/*-x86_64.conf
|
rm -f $XBPS_MASTERDIR/usr/$XBPS_CROSS_TRIPLET/etc/xbps.d/*-x86_64.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$XBPS_SKIP_REMOTEREPOS" ]; then
|
||||||
# Make sure to sync index for remote repositories.
|
# Make sure to sync index for remote repositories.
|
||||||
if command -v xbps-uunshare &>/dev/null; then
|
if command -v xbps-uunshare &>/dev/null; then
|
||||||
xbps-uunshare $XBPS_MASTERDIR /usr/sbin/xbps-install -S
|
xbps-uunshare $XBPS_MASTERDIR /usr/sbin/xbps-install -S
|
||||||
|
@ -153,6 +154,7 @@ chroot_sync_repos() {
|
||||||
else
|
else
|
||||||
xbps-uchroot $XBPS_MASTERDIR /usr/sbin/xbps-install -S
|
xbps-uchroot $XBPS_MASTERDIR /usr/sbin/xbps-install -S
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
# Copy host keys to the target rootdir.
|
# Copy host keys to the target rootdir.
|
||||||
|
@ -198,9 +200,7 @@ chroot_handler() {
|
||||||
fetch|extract|build|configure|install|install-destdir|pkg|build-pkg|bootstrap-update|chroot)
|
fetch|extract|build|configure|install|install-destdir|pkg|build-pkg|bootstrap-update|chroot)
|
||||||
chroot_prepare || return $?
|
chroot_prepare || return $?
|
||||||
chroot_init || return $?
|
chroot_init || return $?
|
||||||
if [ -z "$XBPS_SKIP_REMOTEREPOS" ]; then
|
|
||||||
chroot_sync_repos || return $?
|
chroot_sync_repos || return $?
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue