diff --git a/gentoostrap.sh b/gentoostrap.sh index ca1dab0..e1fb0a2 100755 --- a/gentoostrap.sh +++ b/gentoostrap.sh @@ -215,6 +215,19 @@ build-gentoo-chroot() { # Sync repositories log "Getting ebuild repositories" emerge-webrsync + log "Configuring gentoo repo" + cat <<-EOF > "/etc/portage/repos.conf/gentoo.conf" + [DEFAULT] + main-repo = gentoo + + [gentoo] + location = /usr/portage + #sync-depth = 1 + sync-type = git + sync-uri = https://github.com/gentoo-mirror/gentoo.git + sync-git-verify-commit-signature = true + auto-sync = yes + EOF emerge --sync # Get the stable plasma/systemd profile and select it