diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-15 15:44:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-29 12:12:43 +0100 |
commit | dc7394012a7e1e6a2464721cbda0e5ce628b4f87 (patch) | |
tree | ced1852c3e175e87cff4909ff8e500cef06958c1 /meta/recipes-bsp/acpid/acpid.inc | |
parent | a7636ec315a9e3f845eef860253e34e085782da0 (diff) | |
download | poky-dc7394012a7e1e6a2464721cbda0e5ce628b4f87.tar.gz |
acpid: use ${PN} for SYSTEMD_SERVICE
We should use ${PN} instead of 'acpid' for SYSTEMD_SERVICE, otherwise
we would have the 'installed-not-shipped' QA error if multilib is enabled
and we run `bitbake lib32-acpid'.
(From OE-Core rev: f8217853c69cf06c92b2f3885f7d49851213188f)
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>
Diffstat (limited to 'meta/recipes-bsp/acpid/acpid.inc')
-rw-r--r-- | meta/recipes-bsp/acpid/acpid.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc index 9b4c3a5a5d..e0156192a0 100644 --- a/meta/recipes-bsp/acpid/acpid.inc +++ b/meta/recipes-bsp/acpid/acpid.inc | |||
@@ -14,8 +14,7 @@ inherit autotools update-rc.d systemd | |||
14 | INITSCRIPT_NAME = "acpid" | 14 | INITSCRIPT_NAME = "acpid" |
15 | INITSCRIPT_PARAMS = "defaults" | 15 | INITSCRIPT_PARAMS = "defaults" |
16 | 16 | ||
17 | SYSTEMD_PACKAGES = "acpid" | 17 | SYSTEMD_SERVICE_${PN} = "acpid.service" |
18 | SYSTEMD_SERVICE_acpid = "acpid.service" | ||
19 | 18 | ||
20 | do_install_append () { | 19 | do_install_append () { |
21 | install -d ${D}${sysconfdir}/init.d | 20 | install -d ${D}${sysconfdir}/init.d |