| Message ID | 20260803212029.1921860-1-richard.purdie@linuxfoundation.org |
|---|---|
| State | New |
| Headers | show |
| Series | bitbake-setup: Allow overrides to add sources | expand |
diff --git a/bin/bitbake-setup b/bin/bitbake-setup index 34260139c2d..92ed563c277 100755 --- a/bin/bitbake-setup +++ b/bin/bitbake-setup @@ -466,8 +466,7 @@ def get_registry_config(registry_path, id): def merge_overrides_into_sources(sources, overrides): layers = copy.deepcopy(sources) for k,v in overrides.items(): - if k in layers: - layers[k] = v + layers[k] = v return layers def update_build(config, confdir, setupdir, layerdir, d, update_bb_conf="prompt", init_vscode=False, rebase_conflicts_strategy='abort'):
It would be useful to be able to add extra sources to setup to an existing setup config. If we could do this on the autobuilder, it means we can move all the layer fetching into bitbake-setup's control and minimise the other fetching code in autobuilder-helper. To to this, we need a small tweak to the way the overrides file is merged in. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- bin/bitbake-setup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)