aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Marquis <bertrand.marquis@arm.com>2022-05-10 16:35:13 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-05-18 13:56:43 -0400
commit1b8b6fcc42adedf8b0d49e445faf0d5b987fa03e (patch)
treeadd702bf676e895ed17be89d52836f5948191259
parentee219556926be811ae24903c41e8bca9dfc7e511 (diff)
downloadmeta-virtualization-1b8b6fcc42adedf8b0d49e445faf0d5b987fa03e.tar.gz
meta-virtualization-1b8b6fcc42adedf8b0d49e445faf0d5b987fa03e.tar.bz2
meta-virtualization-1b8b6fcc42adedf8b0d49e445faf0d5b987fa03e.zip
xen: Fix class inherit in xen-image
Remove inherit of qemuboot classes when not build for qemu in xen-image-minimal. When reverted the handling for only adding inherited classes for qemu was kept but the line always inheriting them was kept to. This patch is fixing that so that qemuboot classes are now only added when the image is built for qemu. This fixes commit 27e5ade0abc2660226389b8b62ef07d85f4b8758 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/images/xen-image-minimal.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/images/xen-image-minimal.bb b/recipes-extended/images/xen-image-minimal.bb
index 7f10b1d..9fd05d2 100644
--- a/recipes-extended/images/xen-image-minimal.bb
+++ b/recipes-extended/images/xen-image-minimal.bb
@@ -36,7 +36,7 @@ LICENSE = "MIT"
QB_NETWORK_XEN_BRIDGE = "1"
-inherit core-image qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network
+inherit core-image
# Only inherit the qemuboot classes when building for a qemu machine
QB_QEMU_CLASSES = ""
QB_QEMU_CLASSES:qemuall = "qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network"