On 5/24/09, Alan McKinnon <alan.mckin...@gmail.com> wrote:
> profiles are cascading and support multiple inheritance (parent files can
> contain several entries). So, you have to run
>
> find /usr/portage/profiles -name packages
>
> to find them all, and apply brain power to find the few that actually apply

Cascading yes, but I'd say no to the find-command. You should be able
to ask portage itself. After all, it has to know your current system
set for its own work, let it do the cascading calculations (unions for
sets):

emerge -p @system

And even better, if I read correctly from portage man-page (look for
the "packages" and packages.build file section there), it is nearly
trivial to add files to a local system set. Just add
asterisk-prepended lines to /etc/portage/profile/packages. Just tried
it, it seems to work, got python and games-board/megamek added to my
system set according to emerge -p @system! :D

Gentoo <3 Can't live without it once you start to see just what all is
configurable. :D

-- 
Arttu V.

Reply via email to