From 01e5bc1c93907a41421f3744211e9be645747695 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Jan 15 2025 11:49:59 +0000 Subject: Set SBAT in sd-boot when building on OBS We are doing self-signing, so don't tag the EFI binaries as if they were Fedora's, since they are not. Set upstream-specific tags, that are the same for all distros built on OBS.. [skip changelog] --- diff --git a/systemd.spec b/systemd.spec index 14df243..4ba5825 100644 --- a/systemd.spec +++ b/systemd.spec @@ -868,6 +868,11 @@ CONFIGURE_OPTS=( # considering that that support is untested, let's not do this now. -Dbootloader=%[%{?want_bootloader}?"enabled":"disabled"] -Dukify=enabled +%if 0%{?want_bootloader} && %{with obs} + -Dsbat-distro-url=https://github.com/systemd/systemd + -Dsbat-distro=upstream + -Dsbat-distro-summary='Upstream build from git' +%endif ) %if %{without lto}