I would like to have the current Tumbleweed kernel with modified build options to enable hibernation with secure boot. As I understood the kernel lockdown for secure boot should be disabled and this can be done by setting
CONFIG_LOCK_DOWN_IN_EFI_SECURE_BOOT=n
in config.tar.bz2. Assuming these infos are correct (are they?), how can I modify the current tumbleweed kernel? I went to OBS and branched kernel-source (Show openSUSE:Factory / kernel-source - openSUSE Build Service), but this is kernel 6.9.9, while my laptop has 6.9.7 after update.
Where can I find the current Tumbleweed kernel-source?
That is the current Tumbleweed kernel-source. Tumbleweed is snapshot of binary packages. You can branch the specific revision that corresponds to your Tumbleweed snapshot if that is important.
I have modified the x86_64/default file in config as written above, uploaded and now it cannot build.
RPMLINT says: You have included file(s) internally used by a version control system in the
package. Move these files out of the package and rebuild it.
I guess this is the problem. But what can I do? How should I use a modified config file for building?
With zero details the only advice would be “do not do it”. In general, any question about OBS should include link to your OBS project. Or at least full error with the file name (which is shown).