SHA256
1
0
forked from pool/systemd

fix duplicate %post container

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1388
This commit is contained in:
Franck Bui 2023-05-05 16:43:41 +00:00 committed by Git OBS Bridge
parent 48d1d3188b
commit 75c2b43fcc

View File

@ -1133,14 +1133,6 @@ rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules
%postun -n libudev%{?mini}1 -p %ldconfig
%postun -n libsystemd0%{?mini} -p %ldconfig
%post container
%tmpfiles_create systemd-nspawn.conf
%if %{with machined}
%systemd_post machines.target
%ldconfig
%endif
%{_systemd_util_dir}/rpm/fixlet-container-post.sh $1 || :
%if %{with machined}
%pre container
%systemd_pre machines.target