Skip to content

Commit

Permalink
[tsmeta.bbclass] fix multiubi build errors due to "override" syntax c…
Browse files Browse the repository at this point in the history
…hange

In yocto release 3.4(honister) and above the use of "_" to refer to an override is replaced by ":"
Ex. IMAGE_CMD_<some_var> is defined as IMAGE_CMD:<some_var>

References -
https://docs.yoctoproject.org/migration-guides/migration-3.4.html#override-syntax-changes
yoctoproject/poky@32dd3d5

For backward compatibility, kept both formats as some layers still might be using older syntax.
  • Loading branch information
indresh-timesys authored and iancampbell committed Apr 18, 2023
1 parent f5b42c6 commit 8c25cc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/tsmeta.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@ python tsmeta_get_image() {

tempdict = { key.replace("IMAGE_", "").lower(): d.getVar(key) \
for key in d.keys() if key.startswith("IMAGE_") and \
not (key.startswith("IMAGE_CMD_") or key.startswith("IMAGE_FEATURES")) }
not (key.startswith("IMAGE_CMD_") or key.startswith("IMAGE_CMD:") \
or key.startswith("IMAGE_FEATURES")) }

extra_keys = [
'EXTRA_IMAGE_INSTALL',
Expand Down

0 comments on commit 8c25cc9

Please sign in to comment.