summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/avahi/avahi.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-04-16 15:25:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-16 16:51:41 +0100
commit03aaa55d73ee7ee44b9c509d75bf61c67b2c4a38 (patch)
tree7d4a57612dbbb0f59fd46469dec75d169442442e /meta/recipes-connectivity/avahi/avahi.inc
parent716bf31e0b30251129d59475639c31838f0eaf99 (diff)
downloadpoky-03aaa55d73ee7ee44b9c509d75bf61c67b2c4a38.tar.gz
avahi: don't call DBus init script directly
After installing Avahi we need DBus to reload it's configuration. In a pure-systemd image there isn't a DBus init script to reload, so cut out the middleman and just sent SIGHUP to all running dbus-daemon processes instead. (From OE-Core rev: b3e468294a0723b3ceafe2022bf9d735eee64678) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/avahi/avahi.inc')
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index d8d9a9df87..c302f87979 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -136,11 +136,7 @@ do_install() {
136 136
137pkg_postinst_avahi-daemon () { 137pkg_postinst_avahi-daemon () {
138if [ -z "$D" ]; then 138if [ -z "$D" ]; then
139 DBUSPID=`pidof dbus-daemon` 139 killall -q -HUP dbus-daemon || true
140
141 if [ "x$DBUSPID" != "x" ]; then
142 /etc/init.d/dbus-1 force-reload
143 fi
144fi 140fi
145} 141}
146 142