diff options
author | Will Page <wpage@polysync.io> | 2019-08-13 11:37:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-14 17:33:49 +0100 |
commit | 62e5c0d3bc93fb8fbb04fb690c1b492a3ba7446e (patch) | |
tree | af740e877dd59118973be26ef5328a40975ac66d /meta/classes/kernel-uboot.bbclass | |
parent | 8af44421749727f755185303ebec8d2cc3b9b9aa (diff) | |
download | poky-62e5c0d3bc93fb8fbb04fb690c1b492a3ba7446e.tar.gz |
uboot: fixes to uboot-extlinux-config attribute values
The way this class uses overrides to support generation of multiple
sections is subject to two different issues: 1) labels that conflict
with existing override names causing the value for the conflicting label
to be set for all labels, and 2) reusing the override list through each
iteration, prepending each new label to the list of overrides makes
earlier labels' value take precedence over later labels, making later
labels virtually impossible to customize.
The first issue is resolved by removing all label names from overrides
before iterating over labels. The second issue is resolved by
generating a fresh list of overrides with only the current label added.
The current label is also appended to the list of overrides instead of
prepended, which makes it the highest priority override. This is
matches the behavior of devtool-source.bbclass, which similarly
monkey-patches overrides.
Closes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13469 .
(From OE-Core rev: 42b44fdd9e63b8d39cf83baecec08328275558ff)
Signed-off-by: Will Page <wpage@polysync.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-uboot.bbclass')
0 files changed, 0 insertions, 0 deletions