xbps-src: set correct xbps cachedir for chroot ops.
This commit is contained in:
parent
979bc3fe0c
commit
bb2361c130
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue