]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/bbconfigbuild/configfragments: disable the previous builtin fragment when enablin...
authorAlexander Kanavin <alex@linutronix.de>
Thu, 2 Oct 2025 16:16:58 +0000 (18:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Oct 2025 10:14:10 +0000 (11:14 +0100)
commit4cc78af26d8c3154d4f2b3b37d8e4dc65485eb66
treef1b2eef85a6cd4c13dee61dc5d89b02598b28412
parent16c52f992cf35769eecb3e3863e1ad14d4cb9848
lib/bbconfigbuild/configfragments: disable the previous builtin fragment when enabling a new one

There was a flaw in the logic that allowed multiple builtin fragments with
the same prefix to be enabled at the same time. The correct behaviour
is that only one of them should be enabled, and when enabling it
all previously enabled fragments should be removed.

The issues that this caused are further explained in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15987

[YOCTO #15987]

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/bbconfigbuild/configfragments.py
meta/lib/oeqa/selftest/cases/bblayers.py