[oe-commits] Chen Qi : acpid: use ${PN} for SYSTEMD_SERVICE

git at git.openembedded.org git at git.openembedded.org
Mon Sep 29 11:13:01 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: f8217853c69cf06c92b2f3885f7d49851213188f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f8217853c69cf06c92b2f3885f7d49851213188f

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Mon Sep 15 15:44:21 2014 +0800

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 at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-bsp/acpid/acpid.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc
index 9b4c3a5..e015619 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



More information about the Openembedded-commits mailing list