Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61011 - portage should honour ${PORTDIR_OVERLAY}/profiles/categories
Summary: portage should honour ${PORTDIR_OVERLAY}/profiles/categories
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 03:39 UTC by Thomas Stratmann
Modified: 2004-08-20 13:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stratmann 2004-08-20 03:39:21 UTC
currently, categories in an overlay directory must be a subset of those in /usr/portage (more exactly, those mentioned in /usr/portage/profiles/categories).

it would be more convenient to be able to introduce own categories.

Reproducible: Always
Steps to Reproduce:
1.mkdir ${PORTDIR_OVERLAY}/dummy-cat; cp somepackagedir ${PORTDIR_OVERLAY}/dummy-cat/
2.echo "dummy-cat" >> ${PORTDIR_OVERLAY}/profiles/categories #(mkdir before)
3.emerge -p somepackagedir

Actual Results:  
ebuilds beneath ${PORTDIR_OVERLAY}/dummy-cat are ignored

Expected Results:  

!!! The short ebuild name "somepackagedir" is ambiguous.  Please specify
!!! one of the following fully-qualified ebuild names instead:

    orig-cat/somepackagedir
    dummy-cat/somepackagedir

it's questionable whether there should be a "profiles" subdir in an overlay at
all. maybe the "categories" file in the overlay should be somewhere else under a
slightly different name, e.g. "overlay-cats".
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-08-20 08:28:41 UTC
You can use /etc/portage/categories. See man portage.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-08-20 13:18:35 UTC
exactly