aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/json_add_image_info.py
diff options
context:
space:
mode:
authorWenli Looi <wlooi@ucalgary.ca>2022-11-22 18:26:34 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-25 00:42:52 +0100
commitf0e4595188db797446f7b3d29a6162ede90586a6 (patch)
tree7d333a0da28c45052cd6f924cc77840bbaa998b6 /scripts/json_add_image_info.py
parentd5943ffed8e18e94ff71f0f1842b5137b5b795ed (diff)
downloadupstream-f0e4595188db797446f7b3d29a6162ede90586a6.tar.gz
upstream-f0e4595188db797446f7b3d29a6162ede90586a6.tar.bz2
upstream-f0e4595188db797446f7b3d29a6162ede90586a6.zip
build: add ALT3 and ALT4 vendor/model/variant
This is needed for the Netgear EX7300 series v2. Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
Diffstat (limited to 'scripts/json_add_image_info.py')
-rwxr-xr-xscripts/json_add_image_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/json_add_image_info.py b/scripts/json_add_image_info.py
index 9aa2a19e45..0c441b9334 100755
--- a/scripts/json_add_image_info.py
+++ b/scripts/json_add_image_info.py
@@ -21,7 +21,7 @@ if not file_path.is_file():
def get_titles():
titles = []
- for prefix in ["", "ALT0_", "ALT1_", "ALT2_"]:
+ for prefix in ["", "ALT0_", "ALT1_", "ALT2_", "ALT3_", "ALT4_"]:
title = {}
for var in ["vendor", "model", "variant"]:
if getenv("DEVICE_{}{}".format(prefix, var.upper())):