cooker: Add compability handling for multiconfig: prefix migration
PATCH 1/1 cooker: Add compability handling for multiconfig: prefix migration
This allows "multiconfig:" targets to continue to work by internally mapping them to the new "mc:" naming, allowing older builds to work as before.
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/cooker.py | 3 +++ 1 file changed, 3 insertions(+)
lib/bb/cooker.py +3 -0
@@ -1600,6 +1600,9 @@ class BBCooker: for pkg in pkgs_to_build: if pkg in ignore: parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg) + if pkg.startswith("multiconfig:"): + pkgs_to_build.remove(pkg) + pkgs_to_build.append(pkg.replace("multiconfig:", "mc:")) if 'world' in pkgs_to_build: pkgs_to_build.remove('world')
Signature · 1 line
2.20.1