Skip to contentSkip to conversation

rsyslog: Fix rsyslog systemd service not starting

PATCH New Yi Fan Yu 1 participant 1 message Mar 8, 2021

lore
Share & tools
lore

Yi Fan Yu

author
#0 lore raw

PATCH 1/1 rsyslog: Fix rsyslog systemd service not starting

$(sbindir) -> ${sbindir}

---
 meta-oe/recipes-extended/rsyslog/rsyslog_8.2102.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/rsyslog/rsyslog_8.2102.0.bb +1 -1
index 15e31cec8..22059d140 100644
@@ -151,7 +151,7 @@ do_install_append() {
     if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
         install -d ${D}${systemd_system_unitdir}
         install -m 644 ${WORKDIR}/rsyslog.service ${D}${systemd_system_unitdir}
-        sed -i -e "s,@sbindir\@,$(sbindir),g" ${D}${systemd_system_unitdir}/rsyslog.service
+        sed -i -e "s,@sbindir@,${sbindir},g" ${D}${systemd_system_unitdir}/rsyslog.service
     fi
 }
 
Signature · 1 line
2.29.2