Feb 11, 2021, 7:22 AM
Post #10 of 11
(807 views)
Permalink
On Thu, 2021-02-11 at 11:17 +0000, Wols Lists wrote:
> When you do a sync, it pulls down the latest version of kernel source. I
> don't do it all the time, but you really ought to upgrade to 5.4.92.
To expound on this, the 4.19 kernel IS still supported, both by
upstream and gentoo sources. If n952162 (OP) desires, they can stick
with this major version and use 4.19.175, which is the latest release
of that version. You are correct though; an upgrade is recommended,
since there are always security patches going into the trunk.
> What I do (can't remember exactly because my live system hasn't been
> upgraded since forever :-) is copy .config from the old kernel to the
> new, and then is it "make oldconfig"? Either way, it configures the new
> kernel using the old config file so all my local-specific stuff is kept.
This is what I do as well. If you don't want to be prompted for new
symbols, instead accepting the defaults, you can use "make
olddefconfig" instead.
> (I *THINK* your old config will still be left lying around - as a
> locally modified file it shouldn't be cleaned up ...)
Correct. Depcleaning gentoo-sources will leave any user-generated
files inside the src directory, including the .config file.
Unfortunately it also leaves behind the build artifacts there, so its
good to clean up /usr/src/ from time to time.