Tools: added image_size to manifest

This commit is contained in:
Andrew Tridgell 2020-03-11 09:43:06 +11:00
parent ebfa910774
commit 0f7de04d79
1 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,11 @@ class ManifestGenerator():
(brand_name, manufacturer) = brand_map[platform]
firmware['brand_name'] = brand_name
firmware['manufacturer'] = manufacturer
# copy over some extra information if available
extra_tags = [ 'image_size' ]
for tag in extra_tags:
if tag in apj_json:
firmware[tag] = apj_json[tag]
def add_USB_IDs(self, firmware):
'''add USB IDs to a firmware'''