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

Update pack_v2 script to flash bootconfig only for non-apps
image.

Change-Id: Iebc8f742b2e04f5950dfbce044f55b7f644c9846
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This commit is contained in:
Ram Kumar D 2024-04-02 13:23:07 +05:30
parent 86a40fee21
commit 3717bbac92

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: