Summary: | Proposal to extend functionality of /etc/make.conf and /etc/portage/package.* | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Oleg Kostyuk <cub.uanic> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | VERIFIED LATER | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Oleg Kostyuk
2005-05-14 18:07:51 UTC
you could just maintain your own profile as a subprofile figure out what your current profile is (readlink /etc/make.profile) and then remove /etc/make.profile and make that into a dir in /etc/make.profile/parent, tell it to inherit the old profile, and then put all your global settings into /etc/make.profile/ for more info see `man portage` echo "source /etc/make.conf.local >> /etc/make.conf" should work too. Will have slightly different semantics though. In general do what Mike said as you're really using your own profile already. Still won't help with package.{keywords,use}. Thanks alto for your answers, it's was very useful. Creating my own profile - is (mainly) all that I need. But there is one question, for which I can't find answer. The question is: What I should use in my own profile to select individual USE-flags for some individual packages? In other words, where or who is analog of /etc/portage/package.use in my own profile? I try to find out answer by myself, but still unsuccessfully :( And last comment from Marius give up my hope :(( Can anyone help me with this? Do you have any plans to include such support into cascading profiles? there is no profile support for per-package USE flags but you can just put the flags into USE in make.defaults I think that this not help me. For example, I want to USE="ncurses -slang" for all system, execpt Midcnight Commander ("-ncurses slang") - and want to define this in my own profile. Can I do this in some way? (In reply to comment #5) > I think that this not help me. > > For example, I want to USE="ncurses -slang" for all system, execpt Midcnight > Commander ("-ncurses slang") - and want to define this in my own profile. > > Can I do this in some way? There is no profile support for per-package use flags, set them in /etc/portage/ package.use. > There is no profile support for per-package use flags
Do you have any plans to include such support into cascading profiles?
I think Nakano's proposal way back when of unifying what can be done with /etc/portage and with /etc/portage/profile is a good idea. There's no need to enforce via portage that package.keywords and the like not be used in profiles. In some cases, such as this, there are valid uses. Putting a hold on feature requests for portage as they are drowning out the bugs. Most of these features should be available in the next major version of portage. But for the time being, they are just drowning out the major bugs and delaying the next version's progress. Any bugs that contain patches and any bugs for etc-update or dispatch-conf can be reopened. Sorry, I'm just not good enough with bugzilla. ;) This is fixed by now when using package.* directories. |