Re: [bitbake-devel] [PATCH] bitbake-setup: handle dict entries in oe-fragments
Alexander Kanavin <[email protected]> Tue, 7 Jul 2026 18:53:34 +0200
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <CANNYZj-kCKJ2h4QfWDq8e-cFX=vyTCi0ojR3kunmQcQayKySyA@mail.gmail.com> |
On Tue, 7 Jul 2026 at 18:34, Fabien Lehoussel via lists.openembedded.org <[email protected]> wrote: > fragments = bitbake_config.get("oe-fragments", []) + sorted(bitbake_config.get("oe-fragment-choices",{}).values()) > + # oe-fragments entries can be strings or dicts with 'name'/'description' keys > + fragments = [f["name"] if isinstance(f, dict) else f for f in fragments] This should only fix up oe-fragments, and then concatenate with the choices. Doing the 'fixing' over the complete final list may work ok, but it is odd logically, as it creates a point in the code flow where that list contains inconsistent entries. Alex