summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/volatile-binds
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-11-02 15:53:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 22:32:22 +0000
commit78886824d15732b888232500c0c187ff1bafb550 (patch)
tree7636f7b6f7aa3bf2e7924fb1c267ff25093a1296 /meta/recipes-core/volatile-binds
parentf0b518784de70b91c79fc44d81c897e09df91908 (diff)
downloadpoky-78886824d15732b888232500c0c187ff1bafb550.tar.gz
volatile-binds: use PN to replace hardcode name
Otherwise it doesn't work since SYSTEMD_SERVICE_volatile-binds is not defined when multilib. (From OE-Core rev: ccdc709655470af942afccda879e6f8484bebc5e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/volatile-binds')
-rw-r--r--meta/recipes-core/volatile-binds/volatile-binds.bb2
1 files changed, 1 insertions, 1 deletions
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 () {
67 install -m 0755 mount-copybind ${D}${base_sbindir}/ 67 install -m 0755 mount-copybind ${D}${base_sbindir}/
68 68
69 install -d ${D}${systemd_unitdir}/system 69 install -d ${D}${systemd_unitdir}/system
70 for service in ${SYSTEMD_SERVICE_volatile-binds}; do 70 for service in ${SYSTEMD_SERVICE_${PN}}; do
71 install -m 0644 $service ${D}${systemd_unitdir}/system/ 71 install -m 0644 $service ${D}${systemd_unitdir}/system/
72 done 72 done
73 73