Re: Using Gentoo as server and desktop

Alex Efros <[email protected]> Thu, 5 Dec 2024 18:49:40 +0200
Newsgroups gmane.linux.gentoo.desktop
Organization https://powerman.name/
Message-ID <[email protected]>
Hi!

Egoitz Aurrekoetxea 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?.

I do not use genkernel, I build kernel manually. I've enabled
CONFIG_IKCONFIG to always have /proc/config.gz with current kernel's
config, and then for each new kernel I use this:

  cd /usr/src/linux && gzip -dc /proc/config.gz >.config && make oldconfig

This does exactly what you want: import old config and ask you only
about changes in a configuration, if any.

-- 
			WBR, Alex.