xbps-src: set correct xbps cachedir for chroot ops.

This commit is contained in:
Juan RP 2014-06-07 05:52:42 +02:00
parent 979bc3fe0c
commit bb2361c130

View file

@ -96,6 +96,7 @@ chroot_prepare() {
cp -f $XBPS_SRCPKGDIR/base-files/files/hosts $XBPS_MASTERDIR/etc cp -f $XBPS_SRCPKGDIR/base-files/files/hosts $XBPS_MASTERDIR/etc
echo "syslog=false" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf 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 rm -f $XBPS_MASTERDIR/usr/share/xbps/repo.d/*.conf
# Prepare default locale: en_US.UTF-8. # Prepare default locale: en_US.UTF-8.