From: Gregory Bell <grbell@xxxxxxxxxx> redhat/spec: Ensure dependency of selftests on debuginfo Selftests is dependent on debuginfo due to kernel BTF build, adding a condition to ensure selftests is not built without debuginfo automotive only build includes selftests and so should also include debuginfo Signed-off-by: Gregory Bell <grbell@xxxxxxxxxx> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -437,7 +437,7 @@ Summary: The Linux kernel %define with_realtime 0 %define with_up 0 %define with_debug 0 -%define with_debuginfo 0 +%define with_debuginfo 1 %define with_vdso_install 0 %define with_selftests 1 %endif @@ -493,6 +493,11 @@ Summary: The Linux kernel # Overrides for generic default options +# Selftests require debuginfo +%if !%{with_debuginfo} +%define with_selftests 0 +%endif + # only package docs noarch %ifnarch noarch %define with_doc 0 -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3738 -- _______________________________________________ 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