]> code.ossystems Code Review - openembedded-core.git/commitdiff
logrotate: fix systemd service not found while multilib
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 18 Aug 2017 07:31:52 +0000 (03:31 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Aug 2017 11:35:56 +0000 (12:35 +0100)
...
|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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/logrotate/logrotate_3.12.3.bb

index 05705bedbe188341bd12d0d9acca5b2285849593..05c2ef1c28805e2f5c86ed2b7f4cd922f74d5c15 100644 (file)
@@ -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"