Patchwork [1/2] lib32-rsyslog: fix wrong systemd server file

login
register
mail settings
Submitter Kang Kai
Date Dec. 3, 2013, 3:12 a.m.
Message ID <1386040364-10017-1-git-send-email-kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/62709/
State Accepted, archived
Headers show

Comments

Kang Kai - Dec. 3, 2013, 3:12 a.m.
When enable multilib on x86-64, it fails to build lib32-rsyslog with
error:

| ERROR: Function failed: SYSTEMD_SERVICE_lib32-rsyslog value lib32-rsyslog.service does not exist

It uses wrong value ${PN}.service to set SYSTEMD_SERVICE. Correct it by
using BPN.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
index 0101004..916d33e 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb
@@ -32,4 +32,4 @@  CONFFILES_${PN} = "${sysconfdir}/rsyslog.conf"
 RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
-SYSTEMD_SERVICE_${PN} = "${PN}.service"
+SYSTEMD_SERVICE_${PN} = "${BPN}.service"