summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-07-25 14:24:15 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-08-01 14:42:25 -0400
commit77193109eb982403969a71782c067534d32034a9 (patch)
tree21155731d366a080b17409e6f1c88627798e27d0 /recipes-devtools
parent58ef402d449a0542dc617fcec382aa23e35d4f9c (diff)
downloadmeta-virtualization-77193109eb982403969a71782c067534d32034a9.tar.gz
qemu: adapt to OE-core qemu splitting
Since oe-core commit 893846ead7ee54d53 [qemu: Split the qemu package], qemu now has a similar (but different) split to what meta-virt has been providing to vmsep enabled systems. We override the oe-core splitting function to restore our ability to separate functionality into logical groups. This commit also provided RDEPENDS for the new oe-core named packages to allow compatbility with updated images. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/qemu/qemu-package-split.inc37
1 files changed, 31 insertions, 6 deletions
diff --git a/recipes-devtools/qemu/qemu-package-split.inc b/recipes-devtools/qemu/qemu-package-split.inc
index f1d8932f..7671d84e 100644
--- a/recipes-devtools/qemu/qemu-package-split.inc
+++ b/recipes-devtools/qemu/qemu-package-split.inc
@@ -1,3 +1,9 @@
1# we have our own package splitting for qemu, inhbit the oe-core
2# split by overriding the split function
3python split_qemu_packages () {
4 print( "meta-virtualization: vmsplit: inhibiting core qemu package split" )
5}
6
1PACKAGES:prepend:class-target = "${PN}-x86_64 \ 7PACKAGES:prepend:class-target = "${PN}-x86_64 \
2 ${PN}-aarch64 \ 8 ${PN}-aarch64 \
3 ${PN}-arm \ 9 ${PN}-arm \
@@ -10,27 +16,46 @@ PACKAGES:prepend:class-target = "${PN}-x86_64 \
10 " 16 "
11 17
12FILES:${PN}-x86_64:class-target = "${bindir}/qemu-system-x86_64 ${bindir}/qemu-x86_64" 18FILES:${PN}-x86_64:class-target = "${bindir}/qemu-system-x86_64 ${bindir}/qemu-x86_64"
13RDEPENDS:${PN}-x86_64:append:class-target = "${PN}" 19RDEPENDS:${PN}-x86_64:append:class-target = " ${PN}"
20RPROVIDES:${PN}-x86_64:append:class-target = " ${PN}-system-x86_64"
21RPROVIDES:${PN}-x86_64:append:class-target = " ${PN}-user-x86_64"
22RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-x86_64"
23RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-x86_64"
14INSANE_SKIP:${PN}-x86_64:class-target = "file-rdeps" 24INSANE_SKIP:${PN}-x86_64:class-target = "file-rdeps"
15 25
16FILES:${PN}-i386:class-target = "${bindir}/qemu-i386" 26FILES:${PN}-i386:class-target = "${bindir}/qemu-i386"
17RDEPENDS:${PN}-i386:append:class-target = "${PN}" 27RDEPENDS:${PN}-i386:append:class-target = " ${PN}"
28RPROVIDES:${PN}-i386:append:class-target = " ${PN}-user-i386"
29RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-i386"
18INSANE_SKIP:${PN}-i386:class-target = "file-rdeps" 30INSANE_SKIP:${PN}-i386:class-target = "file-rdeps"
19 31
20FILES:${PN}-system-i386:class-target = "${bindir}/qemu-system-i386" 32FILES:${PN}-system-i386:class-target = "${bindir}/qemu-system-i386"
21RDEPENDS:${PN}-system-i386:append:class-target = "${PN}" 33RDEPENDS:${PN}-system-i386:append:class-target = " ${PN}"
34RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-system-i386"
22INSANE_SKIP:${PN}-system-i386:class-target = "file-rdeps" 35INSANE_SKIP:${PN}-system-i386:class-target = "file-rdeps"
23 36
24FILES:${PN}-aarch64:class-target = "${bindir}/qemu-system-aarch64 ${bindir}/qemu-aarch64" 37FILES:${PN}-aarch64:class-target = "${bindir}/qemu-system-aarch64 ${bindir}/qemu-aarch64"
25RDEPENDS:${PN}-aarch64:append:class-target = "${PN}" 38RDEPENDS:${PN}-aarch64:append:class-target = " ${PN}"
39RPROVIDES:${PN}-aarch64:append:class-target = " ${PN}-system-aarch64"
40RPROVIDES:${PN}-aarch64:append:class-target = " ${PN}-user-aarch64"
41RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-aarch64"
42RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-aarch64"
26INSANE_SKIP:${PN}-aarch64:class-target = "file-rdeps" 43INSANE_SKIP:${PN}-aarch64:class-target = "file-rdeps"
27 44
28FILES:${PN}-arm:class-target = "${bindir}/qemu-system-arm ${bindir}/qemu-arm" 45FILES:${PN}-arm:class-target = "${bindir}/qemu-system-arm ${bindir}/qemu-arm"
29RDEPENDS:${PN}-arm:append:class-target = "${PN}" 46RDEPENDS:${PN}-arm:append:class-target = " ${PN}"
47RPROVIDES:${PN}-arm:append:class-target = " ${PN}-system-arm"
48RPROVIDES:${PN}-arm:append:class-target = " ${PN}-user-arm"
49RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-arm"
50RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-arm"
30INSANE_SKIP:${PN}-arm:class-target = "file-rdeps" 51INSANE_SKIP:${PN}-arm:class-target = "file-rdeps"
31 52
32FILES:${PN}-microblaze:class-target = "${bindir}/qemu-system-microblaze* ${bindir}/qemu-microblaze*" 53FILES:${PN}-microblaze:class-target = "${bindir}/qemu-system-microblaze* ${bindir}/qemu-microblaze*"
33RDEPENDS:${PN}-microblaze:append:class-target = "${PN}" 54RDEPENDS:${PN}-microblaze:append:class-target = " ${PN}"
55RPROVIDES:${PN}-microblaze:append:class-target = " ${PN}-system-microblaze"
56RPROVIDES:${PN}-microblaze:append:class-target = " ${PN}-user-microblaze"
57RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-microblaze"
58RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-microblaze"
34INSANE_SKIP:${PN}-arm:class-target = "file-rdeps" 59INSANE_SKIP:${PN}-arm:class-target = "file-rdeps"
35 60
36FILES:${PN}-support:class-target = "${bindir}/* ${libexecdir}/*" 61FILES:${PN}-support:class-target = "${bindir}/* ${libexecdir}/*"