aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2017-08-18 14:21:54 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2017-08-18 03:26:20 -0400
commit5655f2419fcd8869378b1f8a0ebcef27be631ef3 (patch)
tree0f4e41fe32f4c6b75b1f1f540a400defe3c49de3
parent461ea9b4eb03b2d1da75a2452322d808b94ff4af (diff)
downloadopenembedded-core-contrib-hongxu/upgrade-20170816.tar.gz
openembedded-core-contrib-hongxu/upgrade-20170816.tar.bz2
openembedded-core-contrib-hongxu/upgrade-20170816.zip
logrotate: fix systemd service not found while multilibhongxu/upgrade-20170816
... |ERROR: lib32-logrotate-3.12.3-r0 do_package: SYSTEMD_SERVICE_lib32-logrotate value lib32-logrotate.service does not exist |ERROR: lib32-logrotate-3.12.3-r0 do_package: Function failed: systemd_populate_packages ... The systemd sercie file should not be multilib expend. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r--meta/recipes-extended/logrotate/logrotate_3.12.3.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/logrotate/logrotate_3.12.3.bb b/meta/recipes-extended/logrotate/logrotate_3.12.3.bb
index 05705bedbe..05c2ef1c28 100644
--- a/meta/recipes-extended/logrotate/logrotate_3.12.3.bb
+++ b/meta/recipes-extended/logrotate/logrotate_3.12.3.bb
@@ -56,8 +56,8 @@ OS_NAME = "Linux"
inherit autotools systemd
SYSTEMD_SERVICE_${PN} = "\
- ${PN}.service \
- ${PN}.timer \
+ ${BPN}.service \
+ ${BPN}.timer \
"
LOGROTATE_SYSTEMD_TIMER_BASIS ?= "daily"