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>
This commit is contained in:
Bruce Ashfield 2024-11-18 16:10:54 +00:00
parent e70c9e4fff
commit 33f916b5f5

View File

@ -16,7 +16,9 @@ VIRT_NETWORKING_FILES = "${UNPACKDIR}/10-ether.network \
inherit virt_networking inherit virt_networking
QEMU_SYSTEM ?= "qemu-system-i386" QEMU_SYSTEM ?= "qemu-system-i386"
QEMU_SYSTEM_RDEPENDS ?= "${QEMU_SYSTEM} qemu-firmware" # The qemu-firware package is only available if "vmsep" is in distro features
QEMU_FIRMWARE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', 'qemu-firmware', '', d)}"
QEMU_SYSTEM_RDEPENDS ?= "${QEMU_SYSTEM} ${QEMU_FIRMWARE}"
RDEPENDS:${PN} = "\ RDEPENDS:${PN} = "\
bash perl xz \ bash perl xz \