From 71b2d07e917ceb593b43058386d20ed6848eb6e95f8e853c1d8508e960f5e6a7 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 21 Jun 2023 11:34:13 +0000 Subject: [PATCH] fixlet-container-post.sh and systemd-nspawn.conf are only shipped when machined is enabled OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1401 --- systemd.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd.spec b/systemd.spec index 51278d5d..e5e52419 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1097,14 +1097,14 @@ fi %endif %post container +%if %{with machined} %if %{without filetriggers} %tmpfiles_create systemd-nspawn.conf %endif -%if %{with machined} %systemd_post machines.target %ldconfig -%endif %{_systemd_util_dir}/rpm/fixlet-container-post.sh $1 || : +%endif %if %{with coredump} %post coredump