From c7e3246a26c6a78a5ca8b595a08cccd17ccc0526f787977a5f66d495945350af Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 27 Sep 2023 14:56:42 +0000 Subject: [PATCH] ukify is disabled when -Dbootloader=no OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1451 --- systemd.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systemd.spec b/systemd.spec index 30bf9a8..92faf61 100644 --- a/systemd.spec +++ b/systemd.spec @@ -782,7 +782,11 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" -Doomd=%{when experimental} \ -Drepart=%{when experimental} \ -Dsysupdate=%{when experimental} \ +%if %{with sd_boot} -Dukify=%{when experimental} \ +%else + -Dukify=no \ +%endif \ -Dtests=%{when testsuite unsafe} \ -Dinstall-tests=%{when testsuite}