View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Nov 17, 2015 3:14 am Post subject: |
|
|
audiodef ...
If you have a local overlay then this is pretty much ready to go ... all you need do is find somewhere to host it (ie, github.com or anongit.gentoo.org). An overlay is simply a directory tree and a profiles/repo_name.
As for the hosting you could use github, or contact infra with regard to anongit.gentoo.org. For the former you need to create an account and then select 'repositories', then 'new', and provide a name for the repo. You then 'pull' the (empty) repo so there is a local copy, add the files and 'git push' ... you might want to setup a ssh key on github before hand. It might also be a good idea to replace the /path/to/overlay with the git repo you pulled (once you've moved all the files from the former).
To get your overlay into repositories.xml you need to send an email to 'overlays AT gentoo dot org'.
HTH & best ... khay |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Tue Nov 17, 2015 11:19 am Post subject: |
|
|
You don't need: Code: | echo aname > profiles/repo_name | You can just put it in the required file metadata/layout.conf:
Code: | repo-name = aname
masters = gentoo
profile-formats = portage-2
cache-formats = md5-dict
thin-manifests = true
use-manifests = strict
# git signing: git config user.signingkey "$key_id"
sign-commits = true | Thanks to mv for those (can't find the post) and Ant P (next post).
See man portage; layout.conf is under SPECIFIC FILE DESCRIPTIONS, in /usr/portage/metadata
around line 900 or so. Searching /layout.conf is useful, as it's mentioned in relation to other settings.
edit: sign-commits, profile-formats, use-manifests = strict
Last edited by steveL on Sun Nov 22, 2015 7:55 am; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Nov 21, 2015 7:34 pm Post subject: |
|
|
If you're using git, it's good practice to put "sign-commits = true" in there too.
layout.conf keys are documented in `man 5 portage`, line 900 or so. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Nov 22, 2015 7:58 am Post subject: |
|
|
Cheers for the info, Ant; updated the post to reflect.
Wasn't sure about: Code: | # indicate that this repo enables repoman's --echangelog=y option automatically
update-changelog = true
# indicate that this repo contains both md5-dict and pms cache formats,
# which may be generated by egencache(1)
cache-formats = md5-dict pms | (latter is what mv recommends to avoid?) |
|
Back to top |
|
|
|