public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] e17 overlay bug
Date: Tue, 4 Nov 2008 17:57:41 +0200	[thread overview]
Message-ID: <200811041757.41872.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <d07a70780811040542l1bd4fcdek7e9d546a4bdd309c@mail.gmail.com>

On Tuesday 04 November 2008 15:42:21 Hazen Valliant-Saunders wrote:
> Good Day all;
>
> Sorry to sound like a luddite;
>
> Where would I create my own user overlay? (so I may go about fiddling with
> the settings?)

It's in the handbook somewhere :-) But I can't be bothered finding it, so I'll 
type it.

All it really is, is a directory somewhere and you tell portage where it is. 
In that directory you have a sub-directory structure that looks the same as 
the portage tree, but with just the categories you have ebuilds for.

I have my portage tree at /var/portage (yes, I'm a stickler for detail and the 
tree is a database so it should not go into /usr/ per LFS and in case I 
mount /usr/ read-only....). The normal place for overlays is 
thus /var/portage/local:

$ ls -l /var/portage/local/
total 3
drwxrwsr-x 15 root portage 1024 Oct 28 10:31 alan
drwxr-sr-x  8 alan portage 1024 Sep 25 10:28 e17
drwxrwsr-x  5 root portage 1024 Oct 12 18:27 layman

Ignore layman, that's a gentoo tool to make it easy to use gentoo dev's own 
overlays that they publish. My private overlays are alan and e17. Inside alan 
I have:

$ ls -l /var/portage/local/alan/
total 23
-rw-rw-r--   1 root portage 1161 Jun  6 17:51 TODO
drwxr-sr-x   3 root portage 1024 Oct 28 10:31 app-doc
drwxrwsr-x   3 root portage 1024 Jun  4 10:49 app-misc
drwxrwsr-x   2 root portage 1024 Mar 16  2008 app-text
drwxrwsr-x   3 root portage 1024 Jan  3  2008 dev-util
drwxrwsr-x   2 root portage 1024 Aug 29 14:58 eclass
-rw-rw-r--   1 alan portage    0 Feb 27  2008 manifest1_obsolete
drwxr-sr-x   4 root portage 1024 Sep 15 16:36 net-libs
drwxrwsr-x   3 root portage 1024 May  3  2008 net-mail
drwxr-sr-x   5 root portage 1024 Sep 15 21:16 net-misc
drwxrwsr-x   2 root portage 1024 Jun 26 13:13 profiles
drwxrwsr-x   2 alan portage 1024 Sep  9 14:24 x11-libs
drwxrwsr-x   3 alan portage 1024 Apr 27  2008 x11-misc
drwxrwsr-x   8 root portage 1024 Sep 15 16:37 x11-plugins
drwxrwsr-x 146 root portage 9216 Nov  2 18:38 x11-themes

It looks just like a piece of a portage tree. Tell portage where the overlay 
is with an edit to make.conf:

$ grep -i overlay /etc/make.conf
PORTDIR_OVERLAY="$PORTDIR_OVERLAY /var/portage/local/e17 /var/portage/local/alan"

and you are all set. Put ebuilds in the obvious place in the directory. The 
only extra step before you can use them is to build a manifest for each 
package with an ebuild:

ebuild /path/to/your/ebuild/<package>-<version>.ebuild manifest

Do this once per package (it manifests all files in the directory, not just 
that one ebuild) and emerge.


-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2008-11-04 15:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04  8:38 [gentoo-user] e17 overlay bug Hazen Valliant-Saunders
2008-11-04  8:54 ` Alan McKinnon
2008-11-04 13:36   ` Jorge Peixoto de Morais Neto
2008-11-04 13:42     ` Hazen Valliant-Saunders
2008-11-04 15:57       ` Alan McKinnon [this message]
2008-11-04 15:45     ` Alan McKinnon
2008-11-04 17:45       ` Jorge Peixoto de Morais Neto
2008-11-08  3:35       ` Hal Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811041757.41872.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox