On Saturday, 13 July 2024 14:18:09 BST Arve Barsnes wrote:
> On Sat, 13 Jul 2024 at 14:42, Peter Humphrey <pe...@prh.myzen.co.uk> 
wrote:
> > Hello list,
> > 
> > Where I live, updates to portage itself usually take longer to appear as a
> > binary package than as source, so I can't 'getbinpkg'. Therefore I've set:
> > 
> > # cat /etc/portage/env/nobinpkg.conf
> > FEATURES="${FEATURES} -getbinpkg"
> > 
> > # cat /etc/portage/package.env
> > sys-apps/portage nobinpkg.conf
> > 
> > But still portage wants to fetch the binary.
> > 
> > What am I doing wrong?
> 
> I don't know what you're doing wrong, but FEATURES is an additive
> variable, so adding the ${FEATURES} in there is not necessary.

I've tried it without that parenthesis but with no difference.

> An alternative might be adding it to emerge default opts in make.conf:
> 
> EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg-exclude
> 'sys-apps/portage'"

Interesting. I hadn't seen that construction before; I'll try it.

Thanks Arve.

-- 
Regards,
Peter.




Reply via email to