1From ed60d4605b81c43b9ba9504a37835109c247c6f8 Mon Sep 17 00:00:00 2001 2From: Stefan Schmidt <stefan.schmidt@huawei.com> 3Date: Fri, 1 Apr 2022 21:46:03 +0200 4Subject: [PATCH] otbr-agent.service.in: remove pre exec hook for mdns service 5 6It uses the service command which is not available in all cases under 7Yocto/OE. The upstream project uses this mainly with Ubuntu and Raspian 8as testbeds. 9 10In our case we simply ensure that avahi-daemon is installed on the 11system inside the recipe. 12 13Upstream-Status: Inappropriate [OE specific] 14 15Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> 16--- 17 src/agent/otbr-agent.service.in | 2 +- 18 1 file changed, 1 insertion(+), 1 deletion(-) 19 20diff --git a/src/agent/otbr-agent.service.in b/src/agent/otbr-agent.service.in 21index 8314121347..4c97869def 100644 22--- a/src/agent/otbr-agent.service.in 23+++ b/src/agent/otbr-agent.service.in 24@@ -6,7 +6,7 @@ After=dbus.socket 25 26 [Service] 27 EnvironmentFile=-@CMAKE_INSTALL_FULL_SYSCONFDIR@/default/otbr-agent 28-@EXEC_START_PRE@ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS 29+ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS 30 KillMode=mixed 31 Restart=on-failure 32 RestartSec=5 33-- 342.35.1 35 36