Created attachment 662449 [details] genkernel.log (gzip) Hello, I am unable to not set the default value for the kernel’s option "CONFIG_LOCALVERSION", because genkernel modifies the .config file, even when we explicitly set to empty the KERNEL_LOCALVERSION in /etc/genkernel.conf, both tested as followed: > KERNEL_LOCALVERSION= > KERNEL_LOCALVERSION="" In /var/log/genkernel.log: > * KERNEL_LOCALVERSION defaulted to "-%%ARCH%%". ../.. > * Using '/usr/src/linux/include/config/kernel.release' to extract LOCALVERSION ... > * KERNEL_ARCH set to 'x86' ... ../.. > * >> Ensure that CONFIG_LOCALVERSION is set ... > * - Setting option 'CONFIG_LOCALVERSION' to '"-x86_64"' in '/usr/src/linux/.config'... No idea why it want to “ensure that CONFIG_LOCALVERSION is set ...”. And in case the config provides it, I don’t want to use the special value "UNSET". Please see the log file in gzip format as attachment.
Not a bug. Genkernel depends on CONFIG_LOCALVERSION so you cannot set it to an *empty* value. Because you mentioned in another bug you don't like genkernel's filename, please read man page. You can restore previous naming using something like > --kernel-filename='kernel-genkernel-%%ARCH%%-%%KV%%' --kernel-localversion=UNSET Pay attention to quoting. Notice the special value 'UNSET'. Do same for --initramfs-filename.
(In reply to Thomas Deutschmann from comment #1) > Because you mentioned in another bug you don't like > genkernel's filename, please read man page. You can restore previous naming > using something like > > > --kernel-filename='kernel-genkernel-%%ARCH%%-%%KV%%' --kernel-localversion=UNSET I did read man page, and I said “I don’t want to use the special value "UNSET".” because the default configuration file says: > Use special value "UNSET" to unset already set CONFIG_LOCALVERSION. And I don’t want to modify the .config file. About kernel-filename and initramfs-filename, they don’t work as expected, but this is another bug.