View previous topic :: View next topic |
Author |
Message |
G2k l33t
Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Thu Oct 07, 2004 4:00 pm Post subject: Updating kernel...make oldconfig? |
|
|
Hey guys,
yesterday I installed the 2.6.8-gentoo-r6 kernel and today I installed the new 2.6.8-gentoo-r7. When doing this, do you guys suggest I use make oldconfig or should i make it fresh from scratch? I used my oldconfig cus I'm too lazy to pick all the options again, but my question (for the next time I do it) is, is it safer to build it anew or is making it with the old .config file fine? If I were to make it without the old config file would I have to re-enable all my USB, fbsplash and whatever else options I had before or will it recognize them automatically somehow?
Aaight, thanks _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Thu Oct 07, 2004 4:24 pm Post subject: |
|
|
IMHO 'oldconfig' is a great rule.
Code: | # cd /usr/src/linux
# make mrproper
# cp /path/to/old/config .config
# make oldconfig |
If there are new options in the kernel 'make oldconfig' will ask you what to do.
So with these steps you are ready to compile a new kernel in under a minute!!
Nevertheless if you want to abjust some things just do a 'make menuconfig' afterwards and all your USB... things are already there |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Thu Oct 07, 2004 4:26 pm Post subject: |
|
|
I also use gentoo-dev-sources. I use make oldconfig when going up versions of the same kernel source, then I use make menuconfig to look at any new options I might be interested in.
For you, make oldconfig should work just fine. I'm planning on using make oldconfig for this version bump on my computer.
If I was switching from gentoo-dev-sources to mm-sources, for example, I would redo the kernel from scratch. _________________ I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work. |
|
Back to top |
|
|
wilburpan l33t
Joined: 21 Jan 2003 Posts: 977
|
Posted: Thu Oct 07, 2004 4:27 pm Post subject: |
|
|
I also use gentoo-dev-sources. I use make oldconfig when going up versions of the same kernel source, then I use make menuconfig to look at any new options I might be interested in.
For you, make oldconfig should work just fine. I'm planning on using make oldconfig for this version bump on my computer.
If I was switching from gentoo-dev-sources to mm-sources, for example, I would redo the kernel from scratch. _________________ I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work. |
|
Back to top |
|
|
|