Restrict user-static to user-static builds
(cherry picked from commit 22c2909bc1
)
This commit is contained in:
parent
cd72cb5564
commit
6cd6fd73b9
@ -1470,11 +1470,12 @@ getent passwd qemu >/dev/null || \
|
||||
%postun user-binfmt
|
||||
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
||||
|
||||
%if %{user_static}
|
||||
%post user-static
|
||||
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
||||
%postun user-static
|
||||
/bin/systemctl --system try-restart systemd-binfmt.service &>/dev/null || :
|
||||
|
||||
%endif
|
||||
|
||||
%post guest-agent
|
||||
%systemd_post qemu-guest-agent.service
|
||||
|
Loading…
Reference in New Issue
Block a user