Gentoo Archives: gentoo-portage-dev

From: Drake Wyrm <wyrm@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] ebuild/emerge lookup category differently?
Date: Thu, 23 Jul 2009 18:52:40
Message-Id: 20090723185233.GA19096@frankenstaen
In Reply to: [gentoo-portage-dev] ebuild/emerge lookup category differently? by Amit Dor-Shifer
1 Amit Dor-Shifer <amitds@××××××.com> wrote:
2 > Hi.
3 > In my overlay, I can have packages assigned to a private category, and
4 > have that category specified in profiles/categories, under the overlay
5 > itself.
6 > However, in-order to ebuild such a package I have to append the category
7 > to /etc/portage/categories, else I get an error message:
8 >
9 > !!! 'priv-cat/mypkg' has a category that is not listed in
10 > /etc/portage/categories
11
12 You can also put the name of the category in
13 /path/to/overlay/profiles/categories to eliminate the error message.
14 That seems a bit more appropriate, since it allows you to edit the
15 overlay without mucking around in /etc. Also, if you publish your
16 overlay or sync it to several of your own machines, you or your users
17 don't need to edit anything when the overlay changes.
18
19 --
20 Batou: Hey, Major... You ever hear of "human rights"?
21 Kusanagi: I understand the concept, but I've never seen it in action.
22 --Ghost in the Shell