diff options
author | Bertrand Marquis <bertrand.marquis@arm.com> | 2022-05-10 16:35:13 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-05-18 13:52:14 -0400 |
commit | 3e6c50b794eb42fb996fc50a8e6397a3c8cde265 (patch) | |
tree | add702bf676e895ed17be89d52836f5948191259 | |
parent | b7e56624053b1abf0b7e34a401838d36fe7f1d38 (diff) | |
download | meta-virtualization-3e6c50b794eb42fb996fc50a8e6397a3c8cde265.tar.gz |
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.bb | 2 |
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 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" | |||
36 | 36 | ||
37 | QB_NETWORK_XEN_BRIDGE = "1" | 37 | QB_NETWORK_XEN_BRIDGE = "1" |
38 | 38 | ||
39 | inherit core-image qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network | 39 | inherit core-image |
40 | # Only inherit the qemuboot classes when building for a qemu machine | 40 | # Only inherit the qemuboot classes when building for a qemu machine |
41 | QB_QEMU_CLASSES = "" | 41 | QB_QEMU_CLASSES = "" |
42 | QB_QEMU_CLASSES:qemuall = "qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network" | 42 | QB_QEMU_CLASSES:qemuall = "qemuboot-xen-defaults qemuboot-xen-dtb qemuboot-testimage-network" |