From: Daniel F. Dickinson Date: Wed, 15 Jul 2026 06:39:49 +0000 (-0400) Subject: zabbix: do not error in postinst when no ubusd X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=33fa804bdd693f29d6f91fc597a024d91fa5b006;p=openwrt-packages.git zabbix: do not error in postinst when no ubusd Now that post install is running properly, when CI executes the tests the zabbix-extra-* packages that have a posinst exit the post install with an error if ubusd is not running. Drop the error code from killall with no usbd running to fix this. Signed-off-by: Daniel F. Dickinson --- diff --git a/admin/zabbix/Makefile b/admin/zabbix/Makefile index ea49259a6..8c0cc8333 100644 --- a/admin/zabbix/Makefile +++ b/admin/zabbix/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=zabbix PKG_VERSION:=7.0.27 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://cdn.zabbix.com/zabbix/sources/stable/$(basename $(PKG_VERSION))/ \ @@ -581,7 +581,7 @@ endef define Package/zabbix-extra-network/postinst #!/bin/sh if [ -z "$${IPKG_INSTROOT}" ]; then - killall -s HUP ubusd + killall -s HUP ubusd || true fi endef @@ -594,7 +594,7 @@ endef define Package/zabbix-extra-wifi/postinst #!/bin/sh if [ -z "$${IPKG_INSTROOT}" ]; then - killall -s HUP ubusd + killall -s HUP ubusd || true fi endef