]> git.99rst.org Git - openwrt-packages.git/commitdiff
zabbix: do not error in postinst when no ubusd
authorDaniel F. Dickinson <redacted>
Wed, 15 Jul 2026 06:39:49 +0000 (02:39 -0400)
committerJosef Schlehofer <redacted>
Thu, 16 Jul 2026 06:48:33 +0000 (08:48 +0200)
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 <redacted>
admin/zabbix/Makefile

index ea49259a6c94c7a9f626aa294c3be06956c7bab6..8c0cc833382f58dc76fb04f3469340929d918a03 100644 (file)
@@ -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
 
git clone https://git.99rst.org/PROJECT