From e791c29b819a629930bbde6fd7e23bdd9277f31f Mon Sep 17 00:00:00 2001 From: Stefan Schmidt <stefan.schmidt@huawei.com> Date: Tue, 7 Dec 2021 12:54:09 +0100 Subject: [PATCH] ot-br-posix: Add writeable path for data file of the border router OTBR stores at least one .data file in this path and some functionality does not work without it being read-write. Mark the path as writable. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> --- .../recipes-connectivity/openthread/ot-br-posix_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oniro-staging/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-oniro-staging/recipes-connectivity/openthread/ot-br-posix_git.bb index 16a0f921..8df1fe8d 100644 --- a/meta-oniro-staging/recipes-connectivity/openthread/ot-br-posix_git.bb +++ b/meta-oniro-staging/recipes-connectivity/openthread/ot-br-posix_git.bb @@ -28,7 +28,10 @@ S = "${WORKDIR}/git" DEPENDS = "autoconf-archive dbus readline avahi jsoncpp boost" -inherit cmake systemd +inherit cmake systemd writables + +WRITABLES = "data" +WRITABLE_PATH[data] = "/var/lib/thread/" SYSTEMD_SERVICE_${PN} = "otbr-agent.service otbr-web.service" -- GitLab