LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-27-2006, 09:01 AM   #16
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57

As I said its a detail but details are always important

I repeat: I have done serveral kernel upgrade during the last months, never did make oldconfig, and never lost my old configuration.

If you do directly make (x,menu,)config, this rule is applied:

Code:
# If .config is newer than include/linux/autoconf.h, someone tinkered
# with it and forgot to run make oldconfig.
# If kconfig.d is missing then we are probarly in a cleaned tree so
# we execute the config step to be sure to catch updated Kconfig files
include/linux/autoconf.h: .kconfig.d .config
        $(Q)mkdir -p include/linux
        $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig
And you end up with a normal screen (as if you were compiling your first kernel) but with your old settings. For sure you have to check all options and verify if they are coherent, and you can see the new features they are labelled with (NEW)

As I said, its easier (even more for new linux users) to just copy an old .config and then run make xconfig. Doing make oldconfig doesn't harm but to my mind its not necessary anymore, it just adds complexity.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.config for precompiled kernels? vincebs Fedora 3 01-23-2006 07:17 PM
Kernels actual config theonebeyond Linux - General 4 09-20-2004 06:49 AM
only 2 directories are formed inside lib/mod even after config 3 kernels ramya272 Linux - Newbie 1 02-26-2004 11:13 AM
can I find a .config file for mandrake's precompiled kernels? schantz Linux - General 2 12-17-2003 03:47 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration