mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 11:27:48 +00:00
openwrt-21.02: update to latest upstream commit
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
From 3b8b9898226f49379e34356fd8d2b0abc8947994 Mon Sep 17 00:00:00 2001
|
||||
From 9279389d2759af6bfa21bfe7a80dd5c96c67df9e Mon Sep 17 00:00:00 2001
|
||||
From: John Crispin <john@phrozen.org>
|
||||
Date: Fri, 19 Jun 2020 10:45:22 +0200
|
||||
Subject: [PATCH] pending: scripts: add gen_config.py
|
||||
Subject: [PATCH 01/61] 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 | 236 ++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 236 insertions(+)
|
||||
scripts/gen_config.py | 237 ++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 237 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..d39066f44d
|
||||
index 0000000000..01c3f4050d
|
||||
--- /dev/null
|
||||
+++ b/scripts/gen_config.py
|
||||
@@ -0,0 +1,236 @@
|
||||
@@ -0,0 +1,237 @@
|
||||
+#!/usr/bin/env python3
|
||||
+
|
||||
+from os import getenv
|
||||
@@ -244,11 +244,12 @@ index 0000000000..d39066f44d
|
||||
+ clean_tree()
|
||||
+ setup_feeds(profile)
|
||||
+ generate_config(profile)
|
||||
+ if profile["image"]:
|
||||
+ Path("tmp/image-file").write_text(profile["image"])
|
||||
+ run(["rm", "-rf", "tmp/"])
|
||||
+ print("Running make defconfig")
|
||||
+ if run(["make", "defconfig"]).returncode:
|
||||
+ die(f"Error running make defconfig")
|
||||
+ if profile["image"]:
|
||||
+ Path("tmp/image-file").write_text(profile["image"])
|
||||
+
|
||||
+ print("#########################\n" * 3)
|
||||
+ print("\n".join(warnings))
|
||||
|
||||
Reference in New Issue
Block a user