diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index 747b5743e68..a1490fbb3cc 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -116,15 +116,15 @@ chroot_sync_repos() { local f= # Copy xbps configuration files to the masterdir. - install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-local.conf \ + install -Dm644 ${XBPS_DISTDIR}/etc/repos-local.conf \ ${XBPS_MASTERDIR}/etc/xbps.d/10-repository-local.conf - install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-remote.conf \ + install -Dm644 ${XBPS_DISTDIR}/etc/repos-remote.conf \ ${XBPS_MASTERDIR}/etc/xbps.d/20-repository-remote.conf if [ "$XBPS_MACHINE" = "x86_64" ]; then - install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-local-x86_64.conf \ + install -Dm644 ${XBPS_DISTDIR}/etc/repos-local-x86_64.conf \ ${XBPS_MASTERDIR}/etc/xbps.d/12-repository-local-x86_64.conf - install -Dm644 ${XBPS_COMMONDIR}/xbps-src/chroot/repos-remote-x86_64.conf \ + install -Dm644 ${XBPS_DISTDIR}/etc/repos-remote-x86_64.conf \ ${XBPS_MASTERDIR}/etc/xbps.d/22-repository-remote-x86_64.conf fi diff --git a/common/xbps-src/chroot/repos-local-x86_64.conf b/etc/repos-local-x86_64.conf similarity index 100% rename from common/xbps-src/chroot/repos-local-x86_64.conf rename to etc/repos-local-x86_64.conf diff --git a/common/xbps-src/chroot/repos-local.conf b/etc/repos-local.conf similarity index 100% rename from common/xbps-src/chroot/repos-local.conf rename to etc/repos-local.conf diff --git a/common/xbps-src/chroot/repos-remote-x86_64.conf b/etc/repos-remote-x86_64.conf similarity index 100% rename from common/xbps-src/chroot/repos-remote-x86_64.conf rename to etc/repos-remote-x86_64.conf diff --git a/common/xbps-src/chroot/repos-remote.conf b/etc/repos-remote.conf similarity index 100% rename from common/xbps-src/chroot/repos-remote.conf rename to etc/repos-remote.conf