From 88d6f0a9f5c06288d9c35bb798d841d2499d7652 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 30 Dec 2014 08:23:42 +0100 Subject: [PATCH] xbps-src: add all subrepos if an alternate repo is set. --- common/xbps-src/shutils/chroot.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index d32807d91e5..63e004315c3 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -51,7 +51,14 @@ _EOF ( \ echo "repository=/host/binpkgs/${XBPS_ALT_REPOSITORY}"; \ echo "repository=/host/binpkgs/${XBPS_ALT_REPOSITORY}/nonfree"; \ + echo "repository=/host/binpkgs/${XBPS_ALT_REPOSITORY}/debug"; \ ) > $XBPS_MASTERDIR/etc/xbps.d/00-repository-alternative.conf + if [ "$XBPS_MACHINE" = "x86_64" ]; then + ( \ + echo "repository=/host/binpkgs/${XBPS_ALT_REPOSITORY}/multilib"; \ + echo "repository=/host/binpkgs/${XBPS_ALT_REPOSITORY}/multilib/nonfree"; \ + ) >> $XBPS_MASTERDIR/etc/xbps.d/00-repository-alternative.conf + fi else rm -f $XBPS_MASTERDIR/etc/xbps.d/00-repository-alternative.conf fi