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. (From OE-Core rev: 708cc039b6cc891e466e89d2b10fcdea6c19287c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
dc7394012a
commit
3028c8efed
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue