diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix/0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch b/meta-networking/recipes-connectivity/openthread/ot-br-posix/0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch deleted file mode 100644 index 250de4bdd8..0000000000 --- a/meta-networking/recipes-connectivity/openthread/ot-br-posix/0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch +++ /dev/null @@ -1,35 +0,0 @@ -From ed60d4605b81c43b9ba9504a37835109c247c6f8 Mon Sep 17 00:00:00 2001 -From: Stefan Schmidt -Date: Fri, 1 Apr 2022 21:46:03 +0200 -Subject: [PATCH] otbr-agent.service.in: remove pre exec hook for mdns service - -It uses the service command which is not available in all cases under -Yocto/OE. The upstream project uses this mainly with Ubuntu and Raspian -as testbeds. - -In our case we simply ensure that avahi-daemon is installed on the -system inside the recipe. - -Upstream-Status: Inappropriate [OE specific] - -Signed-off-by: Stefan Schmidt ---- - src/agent/otbr-agent.service.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/agent/otbr-agent.service.in b/src/agent/otbr-agent.service.in -index 8314121347..4c97869def 100644 ---- a/src/agent/otbr-agent.service.in -+++ b/src/agent/otbr-agent.service.in -@@ -6,7 +6,7 @@ After=dbus.socket - - [Service] - EnvironmentFile=-@CMAKE_INSTALL_FULL_SYSCONFDIR@/default/otbr-agent --@EXEC_START_PRE@ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS -+ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/otbr-agent $OTBR_AGENT_OPTS - KillMode=mixed - Restart=on-failure - RestartSec=5 --- -2.35.1 - diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb index d1938e12a1..8c49a30327 100644 --- a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb +++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb @@ -9,12 +9,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=87109e44b2fda96a8991f27684a7349c \ file://third_party/cpp-httplib/repo/LICENSE;md5=1321bdf796c67e3a8ab8e352dd81474b \ file://third_party/openthread/repo/LICENSE;md5=543b6fe90ec5901a683320a36390c65f \ " -DEPENDS = "autoconf-archive dbus readline avahi jsoncpp boost libnetfilter-queue protobuf protobuf-native" -SRCREV = "0700948634b85947e893a65e3d510ed870a5755b" +DEPENDS = "autoconf-archive dbus readline jsoncpp boost libnetfilter-queue protobuf protobuf-native" +SRCREV = "cb0bfde934ad7519610a63b75c067f8d7601fe21" PV = "0.3.0+git" SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=main \ - file://0001-otbr-agent.service.in-remove-pre-exec-hook-for-mdns-.patch \ file://0001-cmake-Disable-nonnull-compare-warning-on-gcc.patch \ file://default-cxx-std.patch \ file://0001-x509_crt-Zero-initialize-mbedtls_x509_time-at-declar.patch;patchdir=third_party/openthread/repo \ @@ -36,10 +35,9 @@ EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ -DCMAKE_LIBRARY_PATH=${libdir} \ -DOT_POSIX_PRODUCT_CONFIG=${sysconfdir}/openthread.conf.example \ -DOT_POSIX_FACTORY_CONFIG=${sysconfdir}/openthread.conf.example \ - -DOTBR_MDNS=avahi \ + -DOTBR_MDNS=openthread \ -DOTBR_BACKBONE_ROUTER=ON \ -DOTBR_BORDER_ROUTING=ON \ - -DOTBR_SRP_ADVERTISING_PROXY=ON \ -DOTBR_BORDER_AGENT=ON \ -DOT_SPINEL_RESET_CONNECTION=ON \ -DOT_TREL=ON \ @@ -50,7 +48,6 @@ EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ -DOTBR_DUA_ROUTING=ON \ -DOT_DUA=ON \ -DOT_BORDER_ROUTING_NAT64=ON \ - -DOTBR_DNSSD_DISCOVERY_PROXY=ON \ -DOTBR_INFRA_IF_NAME=eth0 \ -DOTBR_NO_AUTO_ATTACH=1 \ -DOT_REFERENCE_DEVICE=ON \ @@ -59,7 +56,7 @@ EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ " -RDEPENDS:${PN} = "iproute2 ipset avahi-daemon" +RDEPENDS:${PN} = "iproute2 ipset" RCONFLICTS:${PN} = "ot-daemon"