diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2016-08-19 17:03:21 +0900 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2016-08-19 17:03:53 +0900 |
commit | 414f2c05b0376804587e0d36e7bf503f81432d5c (patch) | |
tree | 84341ee2a24cef8fa4f60f0769b10aee2bd39736 /packaging/dbus.spec | |
parent | c7b94b4caa7a09a4720ee49b9dbb1969bd91747a (diff) | |
download | dbus-414f2c05b0376804587e0d36e7bf503f81432d5c.tar.gz dbus-414f2c05b0376804587e0d36e7bf503f81432d5c.tar.bz2 dbus-414f2c05b0376804587e0d36e7bf503f81432d5c.zip |
Support Lazy-Mount feature - move user dbus.service from default.target.wants to basic.target.wantssubmit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041235accepted/tizen/tv/20160823.041206accepted/tizen/mobile/20160823.041127accepted/tizen/ivi/20160823.041258accepted/tizen/common/20160822.132729
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I5ec89ce65fe196d54a4b130e41a83a82acb40101
Diffstat (limited to 'packaging/dbus.spec')
-rw-r--r-- | packaging/dbus.spec | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packaging/dbus.spec b/packaging/dbus.spec index 0c1e77d4..3ebdc791 100644 --- a/packaging/dbus.spec +++ b/packaging/dbus.spec @@ -136,14 +136,18 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/dbus touch %{buildroot}/%{_localstatedir}/lib/dbus/machine-id mkdir -p %{buildroot}%{_unitdir_user} -install -m0644 %{SOURCE5} %{buildroot}%{_unitdir_user}/dbus.service -install -m0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket +install -m 0644 %{SOURCE5} %{buildroot}%{_unitdir_user}/dbus.service +install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket + +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 # install script for login shells (/etc/profile.d) install -d %{buildroot}%{_sysconfdir}/profile.d -install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d/dbus.sh +install -m 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d/dbus.sh # docs rm -rf %{buildroot}%{_datadir}/doc @@ -190,6 +194,8 @@ rm -rf %{buildroot}%{_datadir}/doc %{_unitdir}/dbus.socket %{_unitdir_user}/dbus.service %{_unitdir_user}/dbus.socket +%dir %{_unitdir_user}/basic.target.wants +%{_unitdir_user}/basic.target.wants/dbus.service %dir %{_unitdir}/dbus.target.wants %{_unitdir}/dbus.target.wants/dbus.socket %dir %{_unitdir}/multi-user.target.wants |