From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NRM9B-0002G3-8G for garchives@archives.gentoo.org; Sun, 03 Jan 2010 08:49:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36DD2E04CB; Sun, 3 Jan 2010 08:48:24 +0000 (UTC) Received: from mail.oversi.com (oversrv1.oversi.com [209.88.189.2]) by pigeon.gentoo.org (Postfix) with ESMTP id C30EFE04CB for ; Sun, 3 Jan 2010 08:48:23 +0000 (UTC) Received: from [10.2.2.28] (unknown [10.2.2.28]) by mail.oversi.com (Postfix) with ESMTPA id 5886A59CA22 for ; Sun, 3 Jan 2010 10:45:56 +0200 (IST) Message-ID: <4B4059D6.6070106@oversi.com> Date: Sun, 03 Jan 2010 10:48:22 +0200 From: Amit Dor-Shifer User-Agent: Thunderbird 2.0.0.23 (X11/20090812) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] can an overlay force a USE flag on a host? References: <4B3CB817.9060501@oversi.com> <4B3D023E.1070504@gentoo.org> In-Reply-To: <4B3D023E.1070504@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ed43fcac-53bc-4061-b350-d8d166f70ce2 X-Archives-Hash: fee28534b195041971549f90f6feb6b0 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. Don't let the directory name "profiles" make you think that it has anything to do with a profile 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