On Tue, 3 Oct 2017 11:13:31 -0700, Ian Zimmerman wrote:

> > > When I'm thinking about installing a package, I can say
> > > 
> > > USE='foo' emerge -p some-cat/some-package
> > > 
> > > to see what would happen, without changing any /etc files.  Is
> > > there a similar way to specify a keyword override, without changing
> > > /etc/portage/package.accept_keywords?  Something along the lines of
> > > 
> > > ACCEPT_KEYWORDS='<=some-cat/some-package-9999 ~amd64' \
> > > USE='foo' emerge -p some-cat/some-package  
> > 
> > ACCEPT_KEYWORDS="~amd64" emerge somepkg  
> 
> Thanks for the reply, I did learn something new from it.  Nonetheless it
> should be quite obvious that it does something different from what I was
> "dreaming".

You included the package atom on the env var, al la /etc/portage/package.*
syntax, which you should have included only the setting.

The trouble with setting this on the command line is that it will be
changed on your next update. I prefer you have /etc/portage/package.* as
directories, then I have a fail called temp in each that included the
settings I am only trying out. When I have finished experimenting I can
delete the file.


-- 
Neil Bothwick

"Do not handicap your children by making their lives easy."
 -- Robert Heinlein

Attachment: pgp3AZhHRbR0A.pgp
Description: OpenPGP digital signature

Reply via email to