From ccdc709655470af942afccda879e6f8484bebc5e Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 2 Nov 2017 15:53:57 +0800 Subject: volatile-binds: use PN to replace hardcode name Otherwise it doesn't work since SYSTEMD_SERVICE_volatile-binds is not defined when multilib. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-core/volatile-binds/volatile-binds.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/volatile-binds/volatile-binds.bb b/meta/recipes-core/volatile-binds/volatile-binds.bb index a6e3254930..d861a71a6b 100644 --- a/meta/recipes-core/volatile-binds/volatile-binds.bb +++ b/meta/recipes-core/volatile-binds/volatile-binds.bb @@ -67,7 +67,7 @@ do_install () { install -m 0755 mount-copybind ${D}${base_sbindir}/ install -d ${D}${systemd_unitdir}/system - for service in ${SYSTEMD_SERVICE_volatile-binds}; do + for service in ${SYSTEMD_SERVICE_${PN}}; do install -m 0644 $service ${D}${systemd_unitdir}/system/ done -- cgit 1.2.3-korg