]> 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>
Mon, 6 Oct 2025 22:15:57 +0000 (23:15 +0100)
commitaea2d69d0533bf005cd58eb91fd9b3a3ae194610
treec4b845f0b2348f0c007bec7ae07b1568bf5ab33b
parenta84ea657d4ff955ea27d3c2518e7eb124f4e61d9
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