On a kernel update i do the following:
- I copy the old .config to the new kernel dir (cp /usr/src/linux-oldkenel/.config /usr/src/linux-newkenel/.config)
- With "eselect kernel" i select the new kernel
- I start "genkernel all"
Now i see EVERY PREVIOUS changed option is resetet: Waydroid, my WLAN Card RTL8852BE, systemd is enabled again and so on. I've searched the web, checked the configfiles. My /etc/genkernel.conf (without all comment lines):
Code: Select all
INSTALL="yes"
OLDCONFIG="yes"
MENUCONFIG="yes"
MOUNTBOOT="yes"
SAVE_CONFIG="yes"
NOCOLOR="false"
LVM="yes"
LUKS="yes"
FIRMWARE="yes"
FIRMWARE_DIR="/lib/firmware"
FIRMWARE_FILES="amdgpu/yellow_carp_asd.bin,amdgpu/yellow_carp_ce.bin,amdgpu/yellow_carp_dmcub.bin,amdgpu/yellow_carp_me.bin,
amdgpu/yellow_carp_mec2.bin,amdgpu/yellow_carp_mec.bin,amdgpu/yellow_carp_pfp.bin,amdgpu/yellow_carp_rlc.bin,amdgpu/yellow_carp_sdma.bin,
amdgpu/yellow_carp_ta.bin,amdgpu/yellow_carp_toc.bin,amdgpu/yellow_carp_vcn.bin"
BOOTLOADER="grub2"
MODULEREBUILD="yes"
BOOTDIR="/boot"
GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
CACHE_DIR="/var/cache/genkernel"
DISTDIR="${GK_SHARE}/distfiles"
LOGFILE="/var/log/genkernel.log"
LOGLEVEL=1
DEFAULT_KERNEL_SOURCE="/usr/src/linux"Code: Select all
* Gentoo Linux Genkernel; Version 4.3.17
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: all
* Working with Linux kernel 6.12.41-gentoo for x86_64
* Using kernel config file '/etc/kernels/kernel-config-6.12.41-gentoo-x86_64' ...
*
* Note: The version above is subject to change (depends on config and status of kernel sources).
* kernel: >> Initializing ...
* >> Running 'make mrproper' ...
* >> Running 'make oldconfig' ...
* >> Invoking menuconfig ...
* >> Kernel version has changed (probably due to config change) since genkernel start:
* We are now building Linux kernel 6.12.41-gentoo-x86_64 for x86_64 ...
* >> Compiling 6.12.41-gentoo-x86_64 bzImage ...
* >> Compiling 6.12.41-gentoo-x86_64 modules ...
* >> Installing 6.12.41-gentoo-x86_64 modules (and stripping) ...
* >> Generating module dependency data ...
* >> Compiling out-of-tree module(s) ...
* >> Saving config of successful build to '/etc/kernels/kernel-config-6.12.41-gentoo-x86_64' ...
* initramfs: >> Initializing ...
* >> Appending devices cpio data ...
* >> Appending base_layout cpio data ...
* >> Appending util-linux cpio data ...
* >> Appending eudev cpio data ...
* >> Appending devicemanager cpio data ...
* >> Appending auxiliary cpio data ...
* >> Appending busybox cpio data ...
* >> Appending luks cpio data ...
* >> Appending lvm cpio data ...
* >> Appending modprobed cpio data ...
* >> Appending firmware cpio data ...
* >> Appending modules cpio data ...
* >> Deduping cpio ...
* >> Pre-generating initramfs' /etc/ld.so.cache ...
* >> Compressing cpio data (.xz) ...
* Kernel compiled successfully!
*
* You can customize Grub2 parameters in /etc/default/grub.
* Running grub-mkconfig to create '/boot/grub/grub.cfg' ...
*
* Required kernel parameter:
*
* root=/dev/$ROOT
*
* Where $ROOT is the device node for your root partition as the
* one specified in /etc/fstab
* WARNING... WARNING... WARNING...
* Additional kernel parameters that *may* be required to boot properly:
* - Add "dolvm" for LVM support
* - Add "crypt_root=<device>" for LUKS-encrypted root
* - Add "crypt_swap=<device>" for LUKS-encrypted swap
* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest ~arch genkernel before reporting bugs.
Moderator note: Fixed a long design breaking line. -- Banana


