aboutsummaryrefslogtreecommitdiffstats
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)
downloadopenembedded-core-contrib-dc7394012a7e1e6a2464721cbda0e5ce628b4f87.tar.gz
openembedded-core-contrib-dc7394012a7e1e6a2464721cbda0e5ce628b4f87.tar.bz2
openembedded-core-contrib-dc7394012a7e1e6a2464721cbda0e5ce628b4f87.zip
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
INITSCRIPT_NAME = "acpid"
INITSCRIPT_PARAMS = "defaults"
-SYSTEMD_PACKAGES = "acpid"
-SYSTEMD_SERVICE_acpid = "acpid.service"
+SYSTEMD_SERVICE_${PN} = "acpid.service"
do_install_append () {
install -d ${D}${sysconfdir}/init.d