Clone gentoo repo over git
This solve a race condition verifying manifests
This commit is contained in:
parent
5bdd634354
commit
d4e8f5c014
@ -215,6 +215,19 @@ build-gentoo-chroot() {
|
|||||||
# Sync repositories
|
# Sync repositories
|
||||||
log "Getting ebuild repositories"
|
log "Getting ebuild repositories"
|
||||||
emerge-webrsync
|
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
|
emerge --sync
|
||||||
|
|
||||||
# Get the stable plasma/systemd profile and select it
|
# Get the stable plasma/systemd profile and select it
|
||||||
|
Loading…
Reference in New Issue
Block a user