diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-15 15:44:21 +0800 |
---|---|---|
committer | Chen Qi <Qi.Chen@windriver.com> | 2014-09-16 15:54:14 +0800 |
commit | 7862e4dcd89e37d4ef0c46443e9a812c81cb57d2 (patch) | |
tree | f419a74b7e2ac8155ff1a6e09b9805e5e401c152 | |
parent | 10df0718d6a626d99beb68cde8d914ee0820d7eb (diff) | |
download | openembedded-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.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 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 |