From: Scott Weaver <scweaver@xxxxxxxxxx> kernel.spec: fedora automotive build is not supported Building automotive on fedora is not supported so we now catch this and exit the build. Suggested-by: Jarod Wilson <jarod@xxxxxxxxxx> Signed-off-by: Scott Weaver <scweaver@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 @@ -1896,6 +1896,13 @@ exit 1 %endif %endif +%if %{with_automotive} +%if 0%{?fedora} +%{log_msg "Cannot build automotive with a fedora baseline, must be rhel/centos/eln"} +exit 1 +%endif +%endif + # more sanity checking; do it quietly if [ "%{patches}" != "%%{patches}" ] ; then for patch in %{patches} ; do -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3870 -- _______________________________________________ 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