From 4f7a47abe79317fa4be0cb5d4d46705dd70a6758 Mon Sep 17 00:00:00 2001
From: Andrei Ovcharenko
Date: Thu, 30 Jul 2026 12:00:00 +0300
Subject: [PATCH] scripts: accept the openwrt target platform in prplmesh_utils
The helper's platform guard accepted only linux|rdkb, so a helper
generated with TARGET_PLATFORM=openwrt exited with "Unsupported
platform: openwrt" before roll_logs could enforce log retention.
The whole series is publicly reviewable at
https://gitlab.com/kreout/prpl-mesh-mercusys/-/merge_requests/1; the
upstream GitLab only accepts merge requests from project members, so
the upstream submission itself goes through the prpl Foundation Jira.
Signed-off-by: Andrei Ovcharenko
---
common/beerocks/scripts/prplmesh_utils.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/common/beerocks/scripts/prplmesh_utils.sh.in
+++ b/common/beerocks/scripts/prplmesh_utils.sh.in
@@ -165,7 +165,7 @@ stop_func() {
main() {
case "${TARGET_PLATFORM}" in
- linux|rdkb)
+ linux|rdkb|openwrt)
;;
*)
echo "Unsupported platform: ${TARGET_PLATFORM}" >&2