View previous topic :: View next topic |
Author |
Message |
johnk73 n00b
Joined: 18 Dec 2002 Posts: 53 Location: Orlando, FL
|
Posted: Thu Dec 19, 2002 8:22 pm Post subject: update files after emerging kernel sources |
|
|
Hi, I started the install from a stage3 tarball after emerging kernel sources:
emerge sys-kernel/vanilla-sources
I get the message
*GNU info Directory index is up-to-date
*IMPORTANT: 3config files in /etc need updating.
*Type emerge --help config to learn how to update config files.
# find /etc -iname '._cfg????_*'
displays these files
/etc/._cfg0000_make.globals
/etc/._cfg0000_make.conf
/etc/._cfg0000_etc-update.conf
Why do these files need updating what should I add/change before i continue?
Thanks
John |
|
Back to top |
|
|
Guinney n00b
Joined: 13 Nov 2002 Posts: 34
|
Posted: Thu Dec 19, 2002 11:09 pm Post subject: |
|
|
I think that you may have needed to use export CONFIG_PROTECT=""
to eliminate this before you merged your system.. the --help config command will give you pretty good instructions on how to make the necessary modifications... alot of the time its just a change in a comment or something small that was updated. _________________ There are no facts...
There is no truth, just data to be manipulated... |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Dec 20, 2002 2:31 am Post subject: |
|
|
Look into the etc-update command. Setting CONFIG_PROTECT="" when emerging portage (which is what probably created these) is generally a bad idea, IMHO. See the story of castle /etc for background. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
theBlackDragon l33t
Joined: 23 Nov 2002 Posts: 768 Location: Belgium
|
Posted: Fri Dec 20, 2002 7:57 am Post subject: |
|
|
johnk73 wrote: | /etc/._cfg0000_make.globals
/etc/._cfg0000_make.conf
/etc/._cfg0000_etc-update.conf |
Those files should never be updated by portage so you can delete those (I always do). |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Dec 20, 2002 8:24 am Post subject: |
|
|
theBlackDragon wrote: | johnk73 wrote: | /etc/._cfg0000_make.globals
/etc/._cfg0000_make.conf
/etc/._cfg0000_etc-update.conf |
Those files should never be updated by portage so you can delete those (I always do). | I disagree. make.globals should always be allowed to be updated: you should never edit it yourself. make.conf should usually not be allowed to be updated, but there are often new features, samples and comments. Merging these can often be a good idea. etc-update.conf falls somewhere in the middle; I wouldn't have learned of the new dialog front-end if it weren't for a recent update of this file. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
theBlackDragon l33t
Joined: 23 Nov 2002 Posts: 768 Location: Belgium
|
Posted: Fri Dec 20, 2002 9:00 am Post subject: |
|
|
You're right of course
This will sound very green, but how do I go about merging those files? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Dec 20, 2002 9:38 am Post subject: |
|
|
theBlackDragon wrote: | how do I go about merging those files? | I usually do it by hand in xemacs, with a subwindow for each file, but there is an option in etc-update that presents you with an interactive diff of the old and new files. You choose a part from the left or the right and build a merged file. I believe it is option 3. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|