summaryrefslogtreecommitdiff
path: root/meta/recipes-bsp
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:11:48 +0100
commitf8217853c69cf06c92b2f3885f7d49851213188f (patch)
treea0ce42322d6dfb124f2c74ee8c02d5a432b3c929 /meta/recipes-bsp
parent99b26dba6e4f5a64579f183883265498000e3104 (diff)
downloadopenembedded-core-f8217853c69cf06c92b2f3885f7d49851213188f.tar.gz
openembedded-core-f8217853c69cf06c92b2f3885f7d49851213188f.tar.bz2
openembedded-core-f8217853c69cf06c92b2f3885f7d49851213188f.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'. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-bsp')
-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