aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-15 15:44:21 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-09-16 15:54:14 +0800
commit7862e4dcd89e37d4ef0c46443e9a812c81cb57d2 (patch)
treef419a74b7e2ac8155ff1a6e09b9805e5e401c152
parent10df0718d6a626d99beb68cde8d914ee0820d7eb (diff)
downloadopenembedded-core-contrib-7862e4dcd89e37d4ef0c46443e9a812c81cb57d2.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'. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-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