summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/acpid/acpid.inc
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-15 15:44:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-29 12:12:43 +0100
commitdc7394012a7e1e6a2464721cbda0e5ce628b4f87 (patch)
treeced1852c3e175e87cff4909ff8e500cef06958c1 /meta/recipes-bsp/acpid/acpid.inc
parenta7636ec315a9e3f845eef860253e34e085782da0 (diff)
downloadpoky-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.inc3
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
14INITSCRIPT_NAME = "acpid" 14INITSCRIPT_NAME = "acpid"
15INITSCRIPT_PARAMS = "defaults" 15INITSCRIPT_PARAMS = "defaults"
16 16
17SYSTEMD_PACKAGES = "acpid" 17SYSTEMD_SERVICE_${PN} = "acpid.service"
18SYSTEMD_SERVICE_acpid = "acpid.service"
19 18
20do_install_append () { 19do_install_append () {
21 install -d ${D}${sysconfdir}/init.d 20 install -d ${D}${sysconfdir}/init.d