On Sunday 24 May 2009 20:11:03 Dale wrote:
> Alan McKinnon wrote:
> > On Sunday 24 May 2009 19:26:43 Dale wrote:
> >> Also, is this the file that contains the system set?
> >>
> >> /usr/portage/profiles/base/packages
> >>
> >> If so, python is commented out as is a few others.  Is there a way to
> >> add files to something in /etc that emerge would consider in addition to
> >> this file?  In other words, if a user is using portage, is there a place
> >> that they could set this in /etc so that it overrides the fact it is
> >> missing in the system set?  Just add python and other missing packages
> >> to the file and we can carry on.  I assume adding it to world would not
> >> do any good with buildsyspkg enabled?
> >
> > 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 to you
>
> Something like this?
>
> r...@smoker / # ls -al /etc/make.profile
> lrwxrwxrwx 1 root root 55 Dec 16 22:09 /etc/make.profile ->
> /usr/portage/profiles/default/linux/x86/2008.0/desktop/
> r...@smoker / #
>
> I would assume it uses what the make.profile is linked to.  Correct?
> Thing is, is there some file supported in /etc/ that is user editable?
> If not, then it doesn't matter.  If a user edits the file in
> /usr/portage, it will default back when re-syncing.

OK, I see what your question is now.

According to 'man 5 portage' you would add it to /etc/portage/profile/packages 
which you likely have to create yourself

-- 
alan dot mckinnon at gmail dot com

Reply via email to