summaryrefslogtreecommitdiffstats
path: root/meta/packages/avahi/avahi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/avahi/avahi.inc')
-rw-r--r--meta/packages/avahi/avahi.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/packages/avahi/avahi.inc b/meta/packages/avahi/avahi.inc
index 4e29493196..2a5bf4a182 100644
--- a/meta/packages/avahi/avahi.inc
+++ b/meta/packages/avahi/avahi.inc
@@ -64,6 +64,15 @@ INITSCRIPT_PARAMS_avahi-daemon = "defaults 21 19"
64INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd" 64INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd"
65INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19" 65INITSCRIPT_PARAMS_avahi-dnsconfd = "defaults 22 19"
66 66
67do_install() {
68 autotools_do_install
69
70 # don't install /var/run when populating rootfs. Do it through volatile
71 # /var/run of current version is empty, so just remove it.
72 # if /var/run become non-empty in the future, need to install it via volatile
73 rm -rf ${D}/var/run
74}
75
67# At the time the postinst runs, dbus might not be setup so only restart if running 76# At the time the postinst runs, dbus might not be setup so only restart if running
68 77
69pkg_postinst_avahi-daemon () { 78pkg_postinst_avahi-daemon () {