summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2024-11-18 16:10:54 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-11-18 19:24:22 +0000
commit33f916b5f50da370ddd320a53e9c65f0f4461d7b (patch)
tree8f6c8aad185d5f3c76ef61bf28478e5a4e5e87d2
parente70c9e4fff6238da085f80a47c12ff551e79aef9 (diff)
downloadmeta-virtualization-33f916b5f50da370ddd320a53e9c65f0f4461d7b.tar.gz
xen-tools: make qemu-firmware dependent on vmsep distro feature
Only when vmsep is enabled is qemu-firmware separated out from the main qemu package. So we should make our dependency conditional on that feature. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/xen/xen-tools.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc
index fba10b04..ec727965 100644
--- a/recipes-extended/xen/xen-tools.inc
+++ b/recipes-extended/xen/xen-tools.inc
@@ -16,7 +16,9 @@ VIRT_NETWORKING_FILES = "${UNPACKDIR}/10-ether.network \
16inherit virt_networking 16inherit virt_networking
17 17
18QEMU_SYSTEM ?= "qemu-system-i386" 18QEMU_SYSTEM ?= "qemu-system-i386"
19QEMU_SYSTEM_RDEPENDS ?= "${QEMU_SYSTEM} qemu-firmware" 19# The qemu-firware package is only available if "vmsep" is in distro features
20QEMU_FIRMWARE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'qemu-firmware', '', d)}"
21QEMU_SYSTEM_RDEPENDS ?= "${QEMU_SYSTEM} ${QEMU_FIRMWARE}"
20 22
21RDEPENDS:${PN} = "\ 23RDEPENDS:${PN} = "\
22 bash perl xz \ 24 bash perl xz \