public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Using an old kernel .config as the basis for a new .config
  @ 2017-12-28 20:16 99%   ` Rich Freeman
  0 siblings, 0 replies; 1+ results
From: Rich Freeman @ 2017-12-28 20:16 UTC (permalink / raw
  To: gentoo-user

On Thu, Dec 28, 2017 at 3:05 PM, Jack <ostroffjh@users.sourceforge.net> wrote:
>
> You need to copy your old .config into the new kernel source directory.
> "make oldconfig" then uses those values, and only asks you about new items.

It will find an existing config in /boot if you have one named using
the upstream naming convention (which happens if you install the
kernel using make install on a vanilla kernel - I'm not sure about
genkernel or gentoo-sources offhand).

If you have /proc/config.gz enabled then you can also do a zcat
/proc/config.gz > .config to extract your current config.  I always
enable /proc/config.gz since it costs a few kb tops and comes in handy
anytime you're not sure what config you're running (though if you
built some modules after the fact it might not be entirely current).

-- 
Rich


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-12-28 19:52     [gentoo-user] Using an old kernel .config as the basis for a new .config Alan Mackenzie
2017-12-28 20:05     ` Jack
2017-12-28 20:16 99%   ` Rich Freeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox