Skip to contentSkip to conversation

avahi: Fix key expansion variable masking

PATCH New Richard Purdie 1 participant 1 message May 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avahi: Fix key expansion variable masking

bitbake -b avahi_ -e | grep FILES_avahi=

shows this code from http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master&id=093149d22461a3a76980635bc46cdba1c7c0b181
doesn't do what is expected. This is due to key expansion. Change to use ${PN}
to avoid warnings with new versions of bitbake.

meta/recipes-connectivity/avahi/avahi.inc +1 -1
index b060437..825197d 100644
@@ -75,7 +75,7 @@ PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dn
 
 # As avahi doesn't put any files into PN, clear the files list to avoid problems
 # if extra libraries appear.
-FILES_avahi = ""
+FILES_${PN} = ""
 FILES_avahi-autoipd = "${sbindir}/avahi-autoipd \
                        ${sysconfdir}/avahi/avahi-autoipd.action \
                        ${sysconfdir}/dhcp/*/avahi-autoipd \