Hello, On Sat, Mar 03, 2007 at 08:13:42PM +0100, Bo Ørsted Andresen wrote: > On Saturday 03 March 2007 17:46:30 Michal 'vorner' Vaner wrote: > > I feel a need to override the default FEATURES configuration for one > > package (some kernel modules do not build with userpriv). However, I can > > not find anything like that in any gentoo manual. It would probably be > > something like package.features file, but that one does not work (quite > > expectable). > > > > Do I miss something, or I could as well start hacking portage? > > The only way to disable userpriv on a per package basis is by adding > RESTRICT=userpriv to the ebuild. If a package cannot work with userpriv that > should be done by it's maintainer. So if needed file a bug against the > packages in question... Any patch to change this will probably be rejected.
OK, in this case maybe (the problematic was - sometimes - kqemu, and I could not find out when it compiled and when not). But there may be situations where this possibility could be used in some other ways. You may want nostrip for few packages only (need of debug symbols, and you do not want to have them for the whole system), or the make check fails for one package you critically need just now and have no other choice than to use it anyway. In my opinion, it should be possible to configure all the variables according to the package name. But in other words, if I want such functionality, I have to hack it in somehow. Or I will have a look at paladius, or how is that thing called (will test it in virtual machine first…) With regards -- Hello, this is an extension to the famous signature virus, called spymail. Could you please copy me into your signature and send back what you were doing last night between 10pm and 3am? Michal "vorner" Vaner
pgpXlDElfPxHh.pgp
Description: PGP signature