From 72f4d030a87fccd53c9079b99a8ec7056d0cde2f Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 20 Sep 2022 15:41:07 +0200 Subject: [PATCH] ot-br-posix: Add dep to ipset as used by firewall ipset is used by firewall module of ot-br-posix: third_party/openthread/repo/src/posix/platform/firewall.cpp:\ return ExecuteCommand("%s add %s %s -exist", kIpsetCommand, aSetName, aAddress); Related observed issue looked like: ``` oniro@oniro-linux-blueprint-gateway-raspberrypi4-64:~$ sudo journalctl -u otbr-agent.service Apr 28 17:42:32 oniro-linux-blueprint-gateway-raspberrypi4-64 systemd[1]: Started OpenThread Border Router Agent. Apr 28 17:42:38 oniro-linux-blueprint-gateway-raspberrypi4-64 otbr-agent[330]: sh: ipset: not found ``` Relate-to: https://gitlab.eclipse.org/eclipse/oniro-blueprints/transparent-gateway/meta-oniro-blueprints-gateway/-/issues/6 Cc: Stefan Schmidt Forwarded: https://github.com/openembedded/meta-openembedded/pull/611 Signed-off-by: Philippe Coval (cherry picked from commit fc8209e8bc2c45d241561e75c4f2b99c23c5689e) Signed-off-by: Gyorgy Sarvari --- .../recipes-connectivity/openthread/ot-br-posix_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a16b77849e..e7c835d3c0 100644 --- a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb +++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb @@ -53,7 +53,7 @@ EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ -DOT_DHCP6_SERVER=ON \ " -RDEPENDS:${PN} = "iproute2 avahi-daemon" +RDEPENDS:${PN} = "iproute2 ipset avahi-daemon" RCONFLICTS:${PN} = "ot-daemon"