Commit 239dc52f authored by Juho Hämäläinen's avatar Juho Hämäläinen

[dbus] disable post etc scripts. JB#49612

parent c82463d4
......@@ -121,18 +121,18 @@ install -m4750 ./bin/dbus-daemon-launch-helper %{buildroot}%{_libexecdir}/dbus-1
-g %{dbus_user_uid} -s /sbin/nologin -r -d '/' %{dbus_user_name} 2> /dev/null || :
%preun
if [ "$1" -eq 0 ]; then
systemctl stop dbus.service || :
fi
#if [ "$1" -eq 0 ]; then
#systemctl stop dbus.service || :
#fi
%post
systemctl daemon-reload || :
# Do not restart dbus on post as it can cause a lot of services to break.
# We assume user is forced to reboot the system when system is updated.
systemctl reload dbus.service || :
#systemctl daemon-reload || :
## Do not restart dbus on post as it can cause a lot of services to break.
## We assume user is forced to reboot the system when system is updated.
#systemctl reload dbus.service || :
%postun
systemctl daemon-reload || :
#systemctl daemon-reload || :
%post libs -p /sbin/ldconfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment