On Thursday 5 December 2024 23:01:36 GMT Grant Edwards wrote:
> On 2024-12-05, Egoitz Aurrekoetxea <ego...@sarenet.es> wrote:
> > Does exist a way... where you could emerge world, update all the
> > system, finally end up by upgrading the kernel and being sure that
> > the old .config you used through menuconfig (or by any other way of
> > importing) would not select erroneous parameters in newer
> > kernels?
> 
> All my systems run custom-configured kernels built from on stable
> gentoo-sources.
> 
> All I've ever done for a kernel upgrades is to go into the new kernel
> source dir and do the following:
> 
> # zcat /proc/zconfig >.config
> # make oldconfig
> # make
> # make install
> 
> For the past 20+ years, that has always worked fine for minor version
> changes (e.g. 5.15.x ⇒ 5.15.y)
> 
> There have been a few major upgrades in the past 20 years when a large
> kernel subsystem change required some sort of manual intervention with
> a "make menuconfig". But, I can't actually remember the last time it
> happened (it's been years).
> 
> --
> Grant

Also, don't forget 'make modules_install' for any modules not built in the 
kernel.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to