Files
packages/utils/domoticz/test.sh
T
Alexandru Ardelean b6f828b331 domoticz: fix build and add test.sh
boost::asio::post() without an explicit executor fails to compile with
Boost >= 1.82 due to changes in the executor model: bare lambdas no
longer have an implicit system executor that satisfies the
blocking.never requirement.

Pass io_context_ explicitly as the first argument so the handler is
dispatched on the correct io_context thread, which is the original
intent of the call (making stop() safe to call from any thread).

Add test.sh
domoticz is a daemon requiring a database and network port; it does not
implement a --version flag. Verify the binary is present and executable.

Disable LTO to fix link failure on i386 with musl fortify
Suggested via https://github.com/openwrt/packages/pull/29239
Also tested.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-03 20:59:28 +03:00

8 lines
82 B
Bash

#!/bin/sh
case "$1" in
domoticz)
[ -x /usr/bin/domoticz ] || exit 1
;;
esac