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
This commit is contained in:
Franck Bui 2023-06-21 11:34:13 +00:00 committed by Git OBS Bridge
parent 48fd9f6936
commit b2c044a33d

View File

@ -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