From 649d72b2806f6aa520e82aae730d13fe2c5ecae1 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Aug 29 2023 11:44:45 +0000 Subject: Explicitly enable/disable libcryptsetup-plugins Upstream now enables features by default but libcryptsetup on c8s is too old to enable libcryptsetup-plugins so disable it explicitly. --- diff --git a/systemd.spec b/systemd.spec index 348d096..c104892 100644 --- a/systemd.spec +++ b/systemd.spec @@ -678,6 +678,11 @@ CONFIGURE_OPTS=( -Dlibcryptsetup=false %else -Dlibcryptsetup=true +%if %{undefined rhel} || 0%{?rhel} > 8 + -Dlibcryptsetup-plugins=true +%else + -Dlibcryptsetup-plugins=false +%endif %endif -Delfutils=true -Dpwquality=true