]> code.ossystems Code Review - openembedded-core.git/commitdiff
volatile-binds: use ${PN} for SYSTEMD_SERVICE
authorChen Qi <Qi.Chen@windriver.com>
Mon, 15 Sep 2014 07:47:21 +0000 (15:47 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Sep 2014 11:11:49 +0000 (12:11 +0100)
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 <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/volatile-binds/volatile-binds.bb

index 4080ff7ef2e5bdf8313c2c63c80faebf1c6da46f..694ba1e487b00b6403608b14ec1bb12ae6f304b9 100644 (file)
@@ -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"