diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 0af17c786e5..a03d5866bcf 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -127,9 +127,6 @@ chroot_prepare() { # Copy /etc/hosts from base-files. cp -f $XBPS_SRCPKGDIR/base-files/files/hosts $XBPS_MASTERDIR/etc - mkdir -p $XBPS_MASTERDIR/etc/xbps.d - echo "syslog=false" >> $XBPS_MASTERDIR/etc/xbps.d/00-xbps-src.conf - # Prepare default locale: en_US.UTF-8. if [ -s ${XBPS_MASTERDIR}/etc/default/libc-locales ]; then printf '%s\n' \ @@ -265,6 +262,8 @@ chroot_sync_repodata() { fi fi + echo "syslog=false" > $confdir/00-xbps-src.conf + # Copy host repos to the cross root. if [ -n "$XBPS_CROSS_BUILD" ]; then rm -rf $XBPS_MASTERDIR/$XBPS_CROSS_BASE/etc/xbps.d @@ -288,6 +287,8 @@ chroot_sync_repodata() { $crossconfdir/20-repository-remote.conf fi fi + + echo "syslog=false" > $crossconfdir/00-xbps-src.conf fi