diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-11-02 15:53:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-06 22:32:22 +0000 |
commit | 78886824d15732b888232500c0c187ff1bafb550 (patch) | |
tree | 7636f7b6f7aa3bf2e7924fb1c267ff25093a1296 | |
parent | f0b518784de70b91c79fc44d81c897e09df91908 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-core/volatile-binds/volatile-binds.bb | 2 |
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 | ||