]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/configfragments: when disabling fragments, treat fragment names as prefixes if...
authorAlexander Kanavin <alex@linutronix.de>
Mon, 1 Dec 2025 11:52:03 +0000 (12:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Dec 2025 14:45:36 +0000 (14:45 +0000)
commit573695d2ff3e0d47c6ef91418e5002df017bb7bc
tree6b10e018c16d27efb7cb62be08d44fd49574a64f
parent49314caa7eb8efd86577121337a0b0d7472eab1b
lib/configfragments: when disabling fragments, treat fragment names as prefixes if they end with /

This allows disabling classes of fragments without knowing their full names, e.g.
instead of

$ bitbake-config-build disable-fragment machine/qemuarm

one can issue

$ bitbake-config-build disable-fragment machine/

to match and disable everything that starts with 'machine/'.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/bbconfigbuild/configfragments.py