From df4bf73ed05ecef93a6ec798820fa9497b60630d8c3652dd5f21055c70d739d9 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 30bf9a8a..92faf618 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}