From 3e6c50b794eb42fb996fc50a8e6397a3c8cde265 Mon Sep 17 00:00:00 2001 From: Bertrand Marquis Date: Tue, 10 May 2022 16:35:13 +0100 Subject: 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 Signed-off-by: Bruce Ashfield --- recipes-extended/images/xen-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/images/xen-image-minimal.bb b/recipes-extended/images/xen-image-minimal.bb index 7f10b1d6..9fd05d2a 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" -- cgit v1.2.3-54-g00ecf