[oe-commits] [openembedded-core] 02/25: logrotate: fix systemd service not found while multilib

git at git.openembedded.org git at git.openembedded.org
Fri Aug 18 11:38:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e599c3d75a0e57a798ca360eb55d8661de355ec5
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Fri Aug 18 03:31:52 2017 -0400

    logrotate: fix systemd service not found while multilib
    
    ...
    |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>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list