2015-08-14 20:27:30 +00:00
|
|
|
This is not a full portage configuration. It contains only those parts that are
|
2015-08-15 10:53:21 +00:00
|
|
|
necessary to set up a gentoo github mirror based sync system:
|
2015-08-21 20:44:29 +00:00
|
|
|
|
2015-08-28 21:02:33 +00:00
|
|
|
* Configures Portage to sync via https://github.com/gentoo/gentoo.git URL.
|
2015-09-05 14:19:38 +00:00
|
|
|
* Updates metadata-cache.
|
2015-08-28 21:02:33 +00:00
|
|
|
* Updates the dtd directory.
|
|
|
|
* Updates the glsa directory.
|
|
|
|
* Updates `herds.xml` file.
|
|
|
|
* Updates the news directory.
|
2015-09-05 14:49:20 +00:00
|
|
|
|
|
|
|
## 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
|
|
|
|
```
|