Skip to content
Commit 40389c2a authored by Jonas Karlman's avatar Jonas Karlman Committed by Kever Yang
Browse files

binman: Mark mkimage entry missing when its subnodes is missing



Using the mkimage entry with the multiple-data-files prop and having a
missing external blob result in an unexpected ValueError exception using
the --allow-missing flag.

  ValueError: Filename 'missing.bin' not found in input path (...)

Fix this by using _pathname that is resolved by ObtainContents for blob
entries, ObtainContents also handles allow missing for external blobs.

Mark mkimage entry as missing and return without running mkimage when
missing entries is reported by CheckMissing.

Signed-off-by: default avatarJonas Karlman <jonas@kwiboo.se>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 5fc5a840
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment