ucentral: development update

* enhance maverick stability
* add persistent certificate storage
* update schema
* add channel stats to telemetry messages
* make rtty cmd handler work
* add support for recovery images

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2021-05-23 12:51:34 +02:00
parent 6621537977
commit e0063c69c7
50 changed files with 307 additions and 52 deletions

View File

@@ -1,22 +1,22 @@
From 79dadbe5f9d74b3bca49e50a51f1a62be71b17a5 Mon Sep 17 00:00:00 2001
From 585f94ec3a6ec51348b72c99740c41c635e30876 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Fri, 19 Jun 2020 10:45:22 +0200
Subject: [PATCH 01/31] pending: scripts: add gen_config.py
Subject: [PATCH 01/35] pending: scripts: add gen_config.py
This script is used to setup the tree based on the profiles/.
Signed-off-by: John Crispin <john@phrozen.org>
---
scripts/gen_config.py | 193 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 193 insertions(+)
scripts/gen_config.py | 196 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 196 insertions(+)
create mode 100755 scripts/gen_config.py
diff --git a/scripts/gen_config.py b/scripts/gen_config.py
new file mode 100755
index 0000000000..124dfd596a
index 0000000000..260abeef8f
--- /dev/null
+++ b/scripts/gen_config.py
@@ -0,0 +1,193 @@
@@ -0,0 +1,196 @@
+#!/usr/bin/env python3
+
+from os import getenv
@@ -97,11 +97,11 @@ index 0000000000..124dfd596a
+ Path("./.config").unlink()
+
+
+def merge_profiles(profiles):
+def merge_profiles(profiles, include=True):
+ profile = {"packages": [], "description": [], "diffconfig": "", "feeds": {}}
+
+ for p in profiles:
+ profile = load_yaml(p, profile)
+ profile = load_yaml(p, profile, include)
+
+ return profile
+
@@ -196,7 +196,10 @@ index 0000000000..124dfd596a
+ print("Tree is now clean")
+ quit(0)
+
+ profile = merge_profiles(sys.argv[1:])
+ if "recovery" in sys.argv:
+ profile = merge_profiles([ "ucentral-recovery", sys.argv[1] ], False)
+ else:
+ profile = merge_profiles(sys.argv[1:])
+
+ print("Using the following profiles:")
+ for d in profile.get("description"):