mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 13:25:22 +02:00
qemu: change packaging when vmsep is enabled
When hosts are using VM separation features, they need qemu on the target to launch guests (and for other purposes) .. but they do not want *all* of the build qemu targets. To allow a more fine grained installation off qemu components, this patch splits packaging into: - qemu-<arch> - qemu-support - qemu-keymaps Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
This commit is contained in:
parent
4f3d9f478f
commit
0257d67a89
44
recipes-devtools/qemu/qemu-package-split.inc
Normal file
44
recipes-devtools/qemu/qemu-package-split.inc
Normal file
|
@ -0,0 +1,44 @@
|
|||
PACKAGES_prepend_class-target = "${PN}-x86_64 \
|
||||
${PN}-aarch64 \
|
||||
${PN}-arm \
|
||||
${PN}-i386 \
|
||||
${PN}-system-i386 \
|
||||
${PN}-microblaze \
|
||||
${PN}-support \
|
||||
${PN}-keymaps \
|
||||
${PN}-firmware \
|
||||
"
|
||||
|
||||
FILES_${PN}-x86_64_class-target = "${bindir}/qemu-system-x86_64 ${bindir}/qemu-x86_64"
|
||||
RDEPENDS_${PN}-x86_64_append_class_target = "${PN}"
|
||||
INSANE_SKIP_${PN}-x86_64_class-target = "file-rdeps"
|
||||
|
||||
FILES_${PN}-i386_class-target = "${bindir}/qemu-i386"
|
||||
RDEPENDS_${PN}-i386_append_class-target = "${PN}"
|
||||
INSANE_SKIP_${PN}-i386_class-target = "file-rdeps"
|
||||
|
||||
FILES_${PN}-system-i386_class-target = "${bindir}/qemu-system-i386"
|
||||
RDEPENDS_${PN}-system-i386_append_class-target = "${PN}"
|
||||
INSANE_SKIP_${PN}-system-i386_class-target = "file-rdeps"
|
||||
|
||||
FILES_${PN}-aarch64_class-target = "${bindir}/qemu-system-aarch64 ${bindir}/qemu-aarch64"
|
||||
RDEPENDS_${PN}-aarch64_append_class-target = "${PN}"
|
||||
INSANE_SKIP_${PN}-aarch64_class-target = "file-rdeps"
|
||||
|
||||
FILES_${PN}-arm_class-target = "${bindir}/qemu-system-arm ${bindir}/qemu-arm"
|
||||
RDEPENDS_${PN}-arm_append_class-target = "${PN}"
|
||||
INSANE_SKIP_${PN}-arm_class-target = "file-rdeps"
|
||||
|
||||
FILES_${PN}-microblaze_class-target = "${bindir}/qemu-system-microblaze* ${bindir}/qemu-microblaze*"
|
||||
RDEPENDS_${PN}-microblaze_append_class-target = "${PN}"
|
||||
INSANE_SKIP_${PN}-arm_class-target = "file-rdeps"
|
||||
|
||||
FILES_${PN}-support_class-target = "${bindir}/* ${libexecdir}/*"
|
||||
RDEPENDS_${PN}-support_class-target = "${PN}"
|
||||
|
||||
FILES_${PN}-firmware_class-target = "${datadir}/${PN}/*.bin ${datadir}/${PN}/*.rom ${datadir}/${PN}/*.img ${datadir}/${PN}/openbios* ${datadir}/${PN}/*.dtb ${datadir}/${PN}/u-boot*"
|
||||
RDEPENDS_${PN}-firmware_class-target = "${PN}"
|
||||
INSANE_SKIP_${PN}-firmware_class-target = "arch"
|
||||
|
||||
FILES_${PN}-keymaps_class-target = "${datadir}/${PN}/keymaps/*"
|
||||
RDEPENDS_${PN}-keymaps_class-target = "${PN}"
|
1
recipes-devtools/qemu/qemu_%.bbappend
Normal file
1
recipes-devtools/qemu/qemu_%.bbappend
Normal file
|
@ -0,0 +1 @@
|
|||
require ${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', '${BPN}-package-split.inc', '', d)}
|
Loading…
Reference in New Issue
Block a user