From 45fc64ccd0a08b62c4b43a053a6365b39c0b545e Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Aug 20 2023 01:20:41 +0000 Subject: spec: also explicitly enable/disable ukify support For upstream packit builds with https://github.com/systemd/systemd/pull/24175. --- diff --git a/systemd.spec b/systemd.spec index 41fd40c..16cc089 100644 --- a/systemd.spec +++ b/systemd.spec @@ -685,7 +685,12 @@ else # For now, let's build the bootloader in the same places where we # built with gnu-efi. Later on, we might want to extend coverage, but # considering that that support is untested, let's not do this now. - CONFIGURE_OPTS+=( -Dbootloader=%[%{?have_gnu_efi}?"true":"false"] ) + # Note, ukify requires bootloader, let's also explicitly enable/disable it + # here for https://github.com/systemd/systemd/pull/24175. + CONFIGURE_OPTS+=( + -Dbootloader=%[%{?have_gnu_efi}?"true":"false"] + -Dukify=%[%{?have_gnu_efi}?"true":"false"] + ) fi %if %{without lto}