xbps-src: create xbps.d/xbps.conf with our settings.

This commit is contained in:
Juan RP 2014-12-22 11:24:58 +01:00
parent fc052bad5b
commit 2e78e7fdcf
1 changed files with 2 additions and 2 deletions

View File

@ -86,9 +86,9 @@ chroot_prepare() {
# Copy /etc/hosts from base-files.
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
mkdir -p $XBPS_MASTERDIR/etc/xbps.d
echo "syslog=false" >> $XBPS_MASTERDIR/etc/xbps.d/xbps.conf
echo "cachedir=/host/repocache" >> $XBPS_MASTERDIR/etc/xbps.d/xbps.conf
ln -s /dev/null $XBPS_MASTERDIR/etc/xbps.d/00-repository-main.conf
# Prepare default locale: en_US.UTF-8.