diff options
| -rw-r--r-- | meta/recipes-connectivity/avahi/avahi.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc index 3318f40384..b97c4c5016 100644 --- a/meta/recipes-connectivity/avahi/avahi.inc +++ b/meta/recipes-connectivity/avahi/avahi.inc | |||
| @@ -73,6 +73,9 @@ do_configure_prepend() { | |||
| 73 | 73 | ||
| 74 | PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils" | 74 | PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-ui avahi-autoipd avahi-utils" |
| 75 | 75 | ||
| 76 | # As avahi doesn't put any files into PN, clear the files list to avoid problems | ||
| 77 | # if extra libraries appear. | ||
| 78 | FILES_avahi = "" | ||
| 76 | FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \ | 79 | FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \ |
| 77 | ${sysconfdir}/avahi/avahi-autoipd.action \ | 80 | ${sysconfdir}/avahi/avahi-autoipd.action \ |
| 78 | ${sysconfdir}/dhcp/*/avahi-autoipd \ | 81 | ${sysconfdir}/dhcp/*/avahi-autoipd \ |
| @@ -122,7 +125,8 @@ do_install() { | |||
| 122 | # don't install /var/run when populating rootfs. Do it through volatile | 125 | # don't install /var/run when populating rootfs. Do it through volatile |
| 123 | # /var/run of current version is empty, so just remove it. | 126 | # /var/run of current version is empty, so just remove it. |
| 124 | # if /var/run become non-empty in the future, need to install it via volatile | 127 | # if /var/run become non-empty in the future, need to install it via volatile |
| 125 | rm -rf ${D}/var/run | 128 | rm -rf ${D}${localstatedir}/run |
| 129 | rmdir --ignore-fail-on-non-empty ${D}${localstatedir} | ||
| 126 | rm -rf ${D}${datadir}/dbus-1/interfaces | 130 | rm -rf ${D}${datadir}/dbus-1/interfaces |
| 127 | rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1 | 131 | rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1 |
| 128 | rm -rf ${D}${libdir}/avahi | 132 | rm -rf ${D}${libdir}/avahi |
