diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-15 15:44:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-29 12:11:48 +0100 |
commit | f8217853c69cf06c92b2f3885f7d49851213188f (patch) | |
tree | a0ce42322d6dfb124f2c74ee8c02d5a432b3c929 /meta/recipes-bsp/acpid | |
parent | 99b26dba6e4f5a64579f183883265498000e3104 (diff) | |
download | openembedded-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/acpid')
-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 |