]> code.ossystems Code Review - openembedded-core.git/commitdiff
avahi: use correct names in SYSTEMD_SERVICE_* variables
authorRoss Burton <ross.burton@intel.com>
Mon, 9 Sep 2013 16:16:10 +0000 (17:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Sep 2013 22:03:03 +0000 (23:03 +0100)
Don't hard-code full package names in SYSTEMD_SERVICE_*, because in multilib
they'll be changed.

[ YOCTO #4803 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/avahi/avahi_0.6.31.bb

index 22731f9cb669d684ba7376233e55e07607ab5c08..5d796a202bc0d80accd8f9d33814b054b1516a2a 100644 (file)
@@ -3,8 +3,8 @@ require avahi.inc
 inherit systemd
 
 SYSTEMD_PACKAGES = "${PN}-daemon ${PN}-dnsconfd"
-SYSTEMD_SERVICE_avahi-daemon = "avahi-daemon.service"
-SYSTEMD_SERVICE_avahi-dnsconfd = "avahi-dnsconfd.service"
+SYSTEMD_SERVICE_${PN}-daemon = "avahi-daemon.service"
+SYSTEMD_SERVICE_${PN}-dnsconfd = "avahi-dnsconfd.service"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                     file://avahi-common/address.h;endline=25;md5=b1d1d2cda1c07eb848ea7d6215712d9d \