Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] can an overlay force a USE flag on a host?
Date: Thu, 31 Dec 2009 19:57:41
Message-Id: 4B3D023E.1070504@gentoo.org
In Reply to: [gentoo-portage-dev] can an overlay force a USE flag on a host? by Amit Dor-Shifer
1 On 12/31/2009 06:41 AM, Amit Dor-Shifer wrote:
2 > In cont. to my prev. question
3 > (http://archives.gentoo.org/gentoo-portage-dev/msg_9973fd6c12d7c2088457697f49ea2f5e.xml)
4 >
5 >
6 > Can I append use.force/package.use.force/package.use or similar to an
7 > overlay, and by that control USE flags on the host?
8
9 With EAPI 1 and greater you can use IUSE="+flag" to enable flags by
10 default in an ebuild. If you need to modify the profile then this is
11 a good way to do it:
12
13 http://en.gentoo-wiki.com/wiki/Custom_Profiles#Simple_Profile_Setup
14
15 > Though not necessarily related, I'm trying to resolve a broader issue:
16 > whether it is possible to extend a profile via an overlay.
17 >
18 > I've read http://bugs.gentoo.org/show_bug.cgi?id=133740#c6. Also, I've
19 > found http://en.gentoo-wiki.com/wiki/Custom_Profiles which states how
20 > custom profiles can be integrated into a system, yet with the caveat of
21 > modifying local portage files (removing the symlink to the profile). I'd
22 > appreciate to know if it's also possible to gain similar results w/o
23 > touching files on the hosting portage setup.
24
25 Other than IUSE defaults, the only way is to create a
26 /etc/make.profile directory and list multiple profiles in the
27 "parent" file.
28
29 > In a/m bug, the lack of documentation in this area is mentioned . I'm
30 > wondering if this has changed since those comments were written, as I'm
31 > confounded by bits and pieces I'm fishing out w/google.
32
33 The information in the wiki seems current.
34 --
35 Thanks,
36 Zac

Replies