Gentoo Archives: gentoo-user

From: Michal 'vorner' Vaner <vorner@×××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] package.features
Date: Sat, 03 Mar 2007 19:47:36
Message-Id: 20070303193901.GB1729@tarantula.kolej.mff.cuni.cz
In Reply to: Re: [gentoo-user] package.features by "Bo Ørsted Andresen"
1 Hello,
2
3 On Sat, Mar 03, 2007 at 08:13:42PM +0100, Bo Ørsted Andresen wrote:
4 > On Saturday 03 March 2007 17:46:30 Michal 'vorner' Vaner wrote:
5 > > I feel a need to override the default FEATURES configuration for one
6 > > package (some kernel modules do not build with userpriv). However, I can
7 > > not find anything like that in any gentoo manual. It would probably be
8 > > something like package.features file, but that one does not work (quite
9 > > expectable).
10 > >
11 > > Do I miss something, or I could as well start hacking portage?
12 >
13 > The only way to disable userpriv on a per package basis is by adding
14 > RESTRICT=userpriv to the ebuild. If a package cannot work with userpriv that
15 > should be done by it's maintainer. So if needed file a bug against the
16 > packages in question... Any patch to change this will probably be rejected.
17
18 OK, in this case maybe (the problematic was - sometimes - kqemu, and I
19 could not find out when it compiled and when not).
20
21 But there may be situations where this possibility could be used in some
22 other ways. You may want nostrip for few packages only (need of debug
23 symbols, and you do not want to have them for the whole system), or the
24 make check fails for one package you critically need just now and have
25 no other choice than to use it anyway.
26
27 In my opinion, it should be possible to configure all the variables
28 according to the package name.
29
30 But in other words, if I want such functionality, I have to hack it in
31 somehow. Or I will have a look at paladius, or how is that thing called
32 (will test it in virtual machine first…)
33
34 With regards
35
36 --
37 Hello, this is an extension to the famous signature virus, called spymail.
38 Could you please copy me into your signature and send back what you were
39 doing last night between 10pm and 3am?
40
41 Michal "vorner" Vaner

Replies

Subject Author
Re: [gentoo-user] package.features "Bo Ørsted Andresen" <bo.andresen@××××.dk>