diff options
author | Hyotaek Shim <hyotaek.shim@samsung.com> | 2018-06-25 16:29:21 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2018-06-25 21:26:16 +0900 |
commit | 883d303877d81d3b2dc0154a132d7d0a5eecb912 (patch) | |
tree | 6e9ebc2196ddf7ea98757ca6102429ca06f96013 | |
parent | 23ff0ed3a5205afd2067514b25aed3aa5c51f4cc (diff) | |
download | dbus-883d303877d81d3b2dc0154a132d7d0a5eecb912.tar.gz dbus-883d303877d81d3b2dc0154a132d7d0a5eecb912.tar.bz2 dbus-883d303877d81d3b2dc0154a132d7d0a5eecb912.zip |
Boost dbus.service and dbus.socket for boot optimizationsubmit/tizen_4.0/20180625.060920accepted/tizen/4.0/unified/20180625.234530
Change-Id: Ie47ca8ea5fbf3b1deee98ebcdcd644b021531713
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r-- | bus/Makefile.am | 2 | ||||
-rw-r--r-- | bus/dbus.service.in | 1 | ||||
-rw-r--r-- | bus/dbus.socket.in | 1 | ||||
-rw-r--r-- | bus/systemd-user/dbus.service.in | 2 | ||||
-rw-r--r-- | bus/systemd-user/dbus.socket.in | 2 | ||||
-rw-r--r-- | packaging/dbus.spec | 7 |
6 files changed, 4 insertions, 11 deletions
diff --git a/bus/Makefile.am b/bus/Makefile.am index 3f57cc48..a698fcbc 100644 --- a/bus/Makefile.am +++ b/bus/Makefile.am @@ -260,8 +260,6 @@ if HAVE_SYSTEMD # Unconditionally enable D-Bus on systemd installations $(mkinstalldirs) $(DESTDIR)$(systemdsystemunitdir)/sockets.target.wants ln -fs ../dbus.socket $(DESTDIR)$(systemdsystemunitdir)/sockets.target.wants/dbus.socket - $(mkinstalldirs) $(DESTDIR)$(systemdsystemunitdir)/multi-user.target.wants - ln -fs ../dbus.service $(DESTDIR)$(systemdsystemunitdir)/multi-user.target.wants/dbus.service endif if DBUS_ENABLE_USER_SESSION $(mkinstalldirs) $(DESTDIR)$(systemduserunitdir)/sockets.target.wants diff --git a/bus/dbus.service.in b/bus/dbus.service.in index 126601ba..37659445 100644 --- a/bus/dbus.service.in +++ b/bus/dbus.service.in @@ -1,6 +1,7 @@ [Unit] Description=D-Bus System Message Bus Documentation=man:dbus-daemon(1) +DefaultDependencies=no Requires=dbus.socket [Service] diff --git a/bus/dbus.socket.in b/bus/dbus.socket.in index b375558c..d55ce278 100644 --- a/bus/dbus.socket.in +++ b/bus/dbus.socket.in @@ -1,5 +1,6 @@ [Unit] Description=D-Bus System Message Bus Socket +DefaultDependencies=no [Socket] SmackLabelIPIn=* diff --git a/bus/systemd-user/dbus.service.in b/bus/systemd-user/dbus.service.in index 368d1219..6af9c19b 100644 --- a/bus/systemd-user/dbus.service.in +++ b/bus/systemd-user/dbus.service.in @@ -1,8 +1,8 @@ [Unit] Description=D-Bus User Message Bus Documentation=man:dbus-daemon(1) -Requires=dbus.socket DefaultDependencies=no +Requires=dbus.socket [Service] ExecStart=@EXPANDED_BINDIR@/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation diff --git a/bus/systemd-user/dbus.socket.in b/bus/systemd-user/dbus.socket.in index 3ec71ca7..4ecbb451 100644 --- a/bus/systemd-user/dbus.socket.in +++ b/bus/systemd-user/dbus.socket.in @@ -1,5 +1,6 @@ [Unit] Description=D-Bus User Message Bus Socket +DefaultDependencies=no [Socket] ListenStream=%t/bus @@ -11,5 +12,4 @@ ExecStartPre=/usr/bin/mkdir %t/dbus Symlinks=%t/dbus/user_bus_socket [Install] -WantedBy=sockets.target Also=dbus.service diff --git a/packaging/dbus.spec b/packaging/dbus.spec index 0478d4cf..53ad811a 100644 --- a/packaging/dbus.spec +++ b/packaging/dbus.spec @@ -240,9 +240,6 @@ chmod a-x AUTHORS COPYING HACKING NEWS README doc/*.txt doc/file-boilerplate.c d install -d %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d -mkdir -p %{buildroot}%{_unitdir_user}/basic.target.wants -ln -sf ../dbus.service %{buildroot}%{_unitdir_user}/basic.target.wants/dbus.service - rm -rf %{buildroot}/%{_libdir}/*.la rm -rf %{buildroot}/%{_bindir}/dbus-launch @@ -328,8 +325,6 @@ popd %{_unitdir}/dbus.service %dir %{_unitdir}/sockets.target.wants %{_unitdir}/sockets.target.wants/dbus.socket -%dir %{_unitdir}/multi-user.target.wants -%{_unitdir}/multi-user.target.wants/dbus.service %dir %{_unitdir}/dbus.target.wants %{_unitdir}/dbus.target.wants/dbus.socket %dir %{_unitdir_user} @@ -337,8 +332,6 @@ popd %{_unitdir_user}/dbus.service %dir %{_unitdir_user}/sockets.target.wants %{_unitdir_user}/sockets.target.wants/dbus.socket -%dir %{_unitdir_user}/basic.target.wants -%{_unitdir_user}/basic.target.wants/dbus.service %dir %{_sysconfdir}/dbus-1 %dir %{_datadir}/dbus-1/session.d %dir %{_datadir}/dbus-1/system.d |