summaryrefslogtreecommitdiffstats
path: root/net/prplmesh/patches/161-openwrt-log-roll-helper.patch
blob: 5f966739c7d77fb2b4101233edd6ffe29686d2f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 4f7a47abe79317fa4be0cb5d4d46705dd70a6758 Mon Sep 17 00:00:00 2001
From: Andrei Ovcharenko <a@krot.name>
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 <a@krot.name>
---
 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