poky/bitbake/lib
Richard Purdie 8cf9a46970 bitbake: ast: Fix fragment behaviour with overrides
Imagine a machine fragment machine/A and a configuration which sets:

MACHINE = "B"
MACHINE:forcevariable = "C"

As I understand it, the fragment behaviour was intended to replace the
MACHINE = "B", so the override would still be active. The current code
replaces all variable overrides.

parsing=True, switches to the other behaviour, which I believe was the
design intent and the behaviour users would expect.

This is useful to allow test configurations to override a MACHINE setting
without change the fragments which would complicate the test code.

(Bitbake rev: f65bc6aaf4c11bc7e566c895209c093627a3015b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 12:48:47 +01:00
..
bb bitbake: ast: Fix fragment behaviour with overrides 2025-10-09 12:48:47 +01:00
bblayers bitbake: Revert "bblayers/query: Fix using "removeprefix" string method" 2025-03-24 17:29:55 +00:00
bs4 bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
hashserv bitbake: Use a "fork" multiprocessing context 2025-07-23 11:34:31 +01:00
layerindexlib bitbake: layerindexlib: fix missing layer branch backtrace 2024-02-27 11:36:38 +00:00
ply bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
progressbar bitbake: progressbar: Add self._fd_console to use for self._handle_resize() 2025-08-19 11:33:23 +01:00
prserv bitbake: prserv: increment 9 to 10 correctly 2024-09-12 16:17:20 +01:00
simplediff
toaster bitbake: toaster/tests: Fix automated testing failures 2025-06-21 15:35:49 +01:00
codegen.py bitbake: codegen: cleanup deprecated AST usages 2023-11-14 23:39:53 +00:00
pyinotify.py bitbake: pyinotify.py: Simplify identification of which event has occurred 2022-04-14 09:48:33 +01:00