Merge "tools: pack_v2: flash bootconfig only for non-apps image"

This commit is contained in:
Linux Build Service Account 2024-04-04 06:41:13 -07:00 committed by Gerrit - the friendly Code Review server
commit 065478fcfd

View file

@ -1492,7 +1492,7 @@ class Pack(object):
except KeyError as e:
if tiny_16m == "true":
pass
elif "bootconfig_type_max" in section.attrib:
elif "bootconfig_type_max" in section.attrib and image_type == "all":
partition = section.attrib['label']
else:
try: