diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-11-18 16:10:54 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-11-18 19:24:22 +0000 |
commit | 33f916b5f50da370ddd320a53e9c65f0f4461d7b (patch) | |
tree | 8f6c8aad185d5f3c76ef61bf28478e5a4e5e87d2 | |
parent | e70c9e4fff6238da085f80a47c12ff551e79aef9 (diff) | |
download | meta-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.inc | 4 |
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 \ | |||
16 | inherit virt_networking | 16 | inherit virt_networking |
17 | 17 | ||
18 | QEMU_SYSTEM ?= "qemu-system-i386" | 18 | QEMU_SYSTEM ?= "qemu-system-i386" |
19 | QEMU_SYSTEM_RDEPENDS ?= "${QEMU_SYSTEM} qemu-firmware" | 19 | # The qemu-firware package is only available if "vmsep" is in distro features |
20 | QEMU_FIRMWARE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'qemu-firmware', '', d)}" | ||
21 | QEMU_SYSTEM_RDEPENDS ?= "${QEMU_SYSTEM} ${QEMU_FIRMWARE}" | ||
20 | 22 | ||
21 | RDEPENDS:${PN} = "\ | 23 | RDEPENDS:${PN} = "\ |
22 | bash perl xz \ | 24 | bash perl xz \ |