Building upstream kernel with Fedora config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Instruction [1] about building upstream kernel should be updated,
because since commit 5e6abd7f4dce [2] the Fedora kernel config contain
CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem" and this is lead to build
error:
  HOSTCC  /home/mikhail/packaging-work/git/linux/tools/bpf/resolve_btfids/ctype.o
  HOSTCC  /home/mikhail/packaging-work/git/linux/tools/bpf/resolve_btfids/str_error_r.o
  HOSTLD  /home/mikhail/packaging-work/git/linux/tools/bpf/resolve_btfids/resolve_btfids-in.o
  LINK     resolve_btfids
make[3]: *** No rule to make target 'certs/rhel.pem', needed by
'certs/x509_certificate_list'.  Stop.
make[3]: *** Waiting for unfinished jobs....
I always use Fedora current kernel config for bisecting upstream kernel.
Not sure if my solution is right. But for a quick workaround I decided
to remove CONFIG_SYSTEM_TRUSTED_KEYS value.

[1] https://fedoraproject.org/wiki/BuildingUpstreamKernel
[2] https://src.fedoraproject.org/rpms/kernel/c/5e6abd7f4dce6f47a9f6df3919ee0810bb74f27c?branch=rawhide

> diff /boot/config-6.10.0-0.rc1.20240531git4a4be1ad3a6e.22.fc41.x86_64+debug /boot/config-6.10.0-0.rc1.20240529gite0cce98fe279.20.fc41.x86_64+debug
3c3
< # Linux/x86_64
6.10.0-0.rc1.20240531git4a4be1ad3a6e.22.fc41.x86_64+debug Kernel
Configuration
---
> # Linux/x86_64 6.10.0-0.rc1.20240529gite0cce98fe279.20.fc41.x86_64+debug Kernel Configuration
36c36
< CONFIG_BUILD_SALT="6.10.0-0.rc1.20240531git4a4be1ad3a6e.22.fc41.x86_64"
---
> CONFIG_BUILD_SALT="6.10.0-0.rc1.20240529gite0cce98fe279.20.fc41.x86_64"
10745c10745
< CONFIG_SYSTEM_TRUSTED_KEYS="certs/rhel.pem"
---
> CONFIG_SYSTEM_TRUSTED_KEYS=""

-- 
Best Regards,
Mike Gavrilov.
--
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux