Don't rsync git repos

This commit is contained in:
Salt 2020-12-04 02:13:35 -06:00
parent 53eb58bfb4
commit 1c1e5e9721
1 changed files with 5 additions and 1 deletions

View File

@ -214,7 +214,11 @@ build-gentoo-chroot() {
# Sync repositories
log "Getting ebuild repositories"
emerge-webrsync
if ! grep /etc/portage/repos.conf/gentoo.conf -ie 'git'; then
# Only do this rsync if we're actually rsyncing
# As part of installation, we switch to git, so this prevents us from hammering upstream, too
emerge-webrsync
fi
# Get the stable plasma/systemd profile and select it
profile=$(