]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
devtool: Handle workspaces for multiconfig
authorJoshua Watt <jpewhacker@gmail.com>
Wed, 2 Jul 2025 16:41:47 +0000 (10:41 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jul 2025 21:12:47 +0000 (22:12 +0100)
If a multiconfig recipe is passed to devtool, find the correct workspace
name by removing the multiconfig prefix

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/__init__.py

index fa6e1a34fd1ad43d1444de4955ea9ce9f8cdb871..c9d7ade9ff73fb90101dc0a0aab994c3f7877178 100644 (file)
@@ -147,6 +147,8 @@ def check_workspace_recipe(workspace, pn, checksrc=True, bbclassextend=False):
     Check that a recipe is in the workspace and (optionally) that source
     is present.
     """
+    import bb.runqueue
+    _, pn = bb.runqueue.split_mc(pn)
 
     workspacepn = pn