From: Chen Qi Date: Mon, 15 Sep 2014 07:47:21 +0000 (+0800) Subject: volatile-binds: use ${PN} for SYSTEMD_SERVICE X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708cc039b6cc891e466e89d2b10fcdea6c19287c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git volatile-binds: use ${PN} for SYSTEMD_SERVICE As this recipe inherits allarch, it makes no real difference whether we are using ${PN} or 'volatile-binds'. But using ${PN} would keep the same style with the other recipes in OE. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb index 4080ff7ef2e..694ba1e487b 100644 --- a/meta/recipes-core/volatile-binds/volatile-binds.bb +++ b/meta/recipes-core/volatile-binds/volatile-binds.bb @@ -28,7 +28,7 @@ def volatile_systemd_services(d): services.append("%s.service" % what[1:].replace("/", "-")) return " ".join(services) -SYSTEMD_SERVICE_volatile-binds = "${@volatile_systemd_services(d)}" +SYSTEMD_SERVICE_${PN} = "${@volatile_systemd_services(d)}" FILES_${PN} += "${systemd_unitdir}/system/*.service"