summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-05 15:52:43 +0200
committerWynn Wolf Arbor2020-06-05 15:52:43 +0200
commit89dcc28db6cd64758ad620ce76d0b2c8e0424fee (patch)
tree1752f3bd1979cc0fc3ba3609a5b8c53f41f28416
parent5be2a2a1055b3f13ce527f253d7d6b3f433fa93d (diff)
downloadportage-roles-89dcc28db6cd64758ad620ce76d0b2c8e0424fee.tar.gz
repo-gentoo-git: Add role for syncing the portage tree with git
Previously, every host had their own repository configuration in the respective host role. This makes it hard to share common configuration across hosts. Whilst not having been a problem before, we will want to do exactly that in an upcoming commit.
-rw-r--r--repo-gentoo-git/repos.conf/gentoo.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/repo-gentoo-git/repos.conf/gentoo.conf b/repo-gentoo-git/repos.conf/gentoo.conf
new file mode 100644
index 0000000..1881142
--- /dev/null
+++ b/repo-gentoo-git/repos.conf/gentoo.conf
@@ -0,0 +1,8 @@
+[DEFAULT]
+main-repo = gentoo
+
+[gentoo]
+location = /var/portage/repos/gentoo
+sync-type = git
+sync-uri = https://anongit.gentoo.org/git/repo/sync/gentoo.git
+sync-git-verify-commit-signature = true