Go to file
2015-09-05 16:49:20 +02:00
etc/portage First set repository_name, then check if it's gentoo 2015-09-05 16:22:14 +02:00
README.md Reinstate Notes in README 2015-09-05 16:49:20 +02:00

This is not a full portage configuration. It contains only those parts that are necessary to set up a gentoo github mirror based sync system:

  • Configures Portage to sync via https://github.com/gentoo/gentoo.git URL.
  • Updates metadata-cache.
  • Updates the dtd directory.
  • Updates the glsa directory.
  • Updates herds.xml file.
  • Updates the news directory.

Notes

Note that typically most repositories other than gentoo don't come with a pregenerated cache. It is a good idea to generate/update their cache every time they are synced. One way to do this, is by activating the example hook script that portage installs by default in /etc/portage/postsync.d:

cp -i /etc/portage/repo.postsync.d/example /etc/portage/repo.postsync.d/gen_cache
chmod +x /etc/portage/repo.postsync.d/gen_cache