From bb2361c13072d2406bb5ade9206f7133b5637baf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 7 Jun 2014 05:52:42 +0200 Subject: [PATCH] xbps-src: set correct xbps cachedir for chroot ops. --- common/xbps-src/shutils/chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index f8bf0eb42a..ab91b46297 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -96,6 +96,7 @@ chroot_prepare() { cp -f $XBPS_SRCPKGDIR/base-files/files/hosts $XBPS_MASTERDIR/etc echo "syslog=false" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf + echo "cachedir=/host/repocache" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf rm -f $XBPS_MASTERDIR/usr/share/xbps/repo.d/*.conf # Prepare default locale: en_US.UTF-8.