Summary: | Dynamically generated make.conf file | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Seemant Kulleen (RETIRED) <seemant> |
Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | abhishek, absinthe, avenj, dberkholz, mr_bones_ |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
update-make.conf--updates make.conf from make.conf.d
Patch to ufed to make is use new file Sample make.conf.d folder |
Description
Seemant Kulleen (RETIRED)
2003-04-17 01:35:02 UTC
Created attachment 10809 [details]
update-make.conf--updates make.conf from make.conf.d
This is a simple program that updates make.conf from the files in make.conf.d.
As the comments show, it is based on update-modules.
Created attachment 10812 [details, diff]
Patch to ufed to make is use new file
This is a small patch to ufed to make it edit make.conf.d/use instad of
make.conf. It then runs update-modules to throw the information into make.conf.
Created attachment 10813 [details]
Sample make.conf.d folder
This is a sample make.conf.d folder. I just formed it by splitting the
information from make.conf into several files. The only important split, and
this is changeble, is use, as my patched ufed will look for make.conf.d/use.
BSD style of 'makefile' vs 'makefile.local' ... rather than having make.conf and make.globals, we have 'make.d/chost' and 'make.d/chost.global' ... then when portage updates it only updates the .global file ... no more pain-in-the-ass updates of make.conf and going 'i-hope-i-didnt-nuke-a-var-by-accident' ... we could put a lot more docs in each file and give a better explanation too for example, the default use file could be a copy of 'use.desc' from '/usr/portage/profiles/use.desc' ... then portage would just parse out $1 from each line in the file ... would allow users from going 'what the hell does this flag mean and how do i figure it out' not likely to happen |