Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-portage-dev
Navigation:
Lists: gentoo-portage-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-portage-dev@g.o
From: Amit Dor-Shifer <amitds@...>
Subject: Re: can an overlay force a USE flag on a host?
Date: Sun, 03 Jan 2010 10:48:22 +0200

Zac Medico wrote:
> On 12/31/2009 06:41 AM, Amit Dor-Shifer wrote:
>   
>> In cont. to my prev. question
>> (http://archives.gentoo.org/gentoo-portage-dev/msg_9973fd6c12d7c2088457697f49ea2f5e.xml)
>>
>>
>> Can I append use.force/package.use.force/package.use or similar to an
>> overlay, and by that control USE flags on the host?
>>     
>
> With EAPI 1 and greater you can use IUSE="+flag" to enable flags by
> default in an ebuild. 
Yes, but AFAIK, enabling a USE flag by-default only affects the enabling 
ebuild, not its dependencies. Specifically, By setting "+myflag" in an 
ebuild, I cannot incur a rebuild of a dependent which is also using this 
flag.

Appending "myflag" to the USE set via a profile would achieve that behavior.

>
>> In a/m bug, the lack of documentation in this area is mentioned . I'm
>> wondering if this has changed since those comments were written, as I'm
>> confounded by bits and pieces I'm fishing out w/google.
>>     
>
> The information in the wiki seems current.
>   
Would that be http://en.gentoo-wiki.com/wiki/Overlay ?
If so, then

    * your a/m comment #6 in the bug, clarifying that the 'profiles'
      directory has nothing to do with portage profiles is most valuable.

    <QUOTE>

    Don't let the directory name "profiles" make you think that it has anything to do with a profile
      

    <UNQUOTE>
    Well, it actually did make me think that. it looked plausible that
    an overlay could extend a portage profile.

    * The article also mentions "portage overlay specifications", but
      does not cite it.
    * That an overlay can extend package.[un]mask is also not mentioned
      there.

I'm currently reluctant to contribute documentation myself, since I'm 
lacking key concepts. I'd be happy to do so if I had a more thorough 
understanding.

Amit





Replies:
Re: can an overlay force a USE flag on a host?
-- Zac Medico
References:
can an overlay force a USE flag on a host?
-- Amit Dor-Shifer
Re: can an overlay force a USE flag on a host?
-- Zac Medico
Navigation:
Lists: gentoo-portage-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: can an overlay force a USE flag on a host?
Next by thread:
Re: can an overlay force a USE flag on a host?
Previous by date:
Re: can an overlay force a USE flag on a host?
Next by date:
Re: can an overlay force a USE flag on a host?


Updated Jun 13, 2012

Summary: Archive of the gentoo-portage-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.