[OE-core] [PATCH 2/2] logrotate: fix systemd service not found while multilib
Hongxu Jia
hongxu.jia at windriver.com
Fri Aug 18 07:31:52 UTC 2017
...
|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 at windriver.com>
---
meta/recipes-extended/logrotate/logrotate_3.12.3.bb | 4 ++--
1 file 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 05705be..05c2ef1 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"
--
2.8.1
More information about the Openembedded-core
mailing list