Skip to contentSkip to conversation

syslog-ng: not deliver syslog-ng-update-virtualenv

PATCH New [email protected] 1 participant 1 message Apr 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 syslog-ng: not deliver syslog-ng-update-virtualenv

From: Kai Kang <[email protected]>

syslog-ng-update-virtualenv causes install conflict when multilib enabled:

Error: Transaction test error:
file /usr/bin/syslog-ng-update-virtualenv conflicts between attempted installs of lib32-syslog-ng-4.0.1-r0.core2_32 and syslog-ng-4.0.1-r0.core2_64

Since python support is disabled, not deliver it.

---
 meta-oe/recipes-support/syslog-ng/syslog-ng_4.0.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/syslog-ng/syslog-ng_4.0.1.bb +4 -0
index 4521593ed..650c7bd5f 100644
@@ -85,6 +85,10 @@ do_install:append() {
     # Remove /var/run as it is created on startup
     rm -rf ${D}${localstatedir}/run
 
+    # it causes install conflict when multilib enabled
+    # since python support is disabled, not deliver it
+    rm -f ${D}${bindir}/syslog-ng-update-virtualenv
+
     # support for systemd
     if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
         install -m 644 ${WORKDIR}/syslog-ng.conf.systemd ${D}${sysconfdir}/${BPN}/${BPN}.conf
Signature · 1 line
2.17.1