diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-07-25 14:24:15 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-08-01 14:42:25 -0400 |
commit | 77193109eb982403969a71782c067534d32034a9 (patch) | |
tree | 21155731d366a080b17409e6f1c88627798e27d0 /recipes-devtools | |
parent | 58ef402d449a0542dc617fcec382aa23e35d4f9c (diff) | |
download | meta-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.inc | 37 |
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 | ||
3 | python split_qemu_packages () { | ||
4 | print( "meta-virtualization: vmsplit: inhibiting core qemu package split" ) | ||
5 | } | ||
6 | |||
1 | PACKAGES:prepend:class-target = "${PN}-x86_64 \ | 7 | PACKAGES: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 | ||
12 | FILES:${PN}-x86_64:class-target = "${bindir}/qemu-system-x86_64 ${bindir}/qemu-x86_64" | 18 | FILES:${PN}-x86_64:class-target = "${bindir}/qemu-system-x86_64 ${bindir}/qemu-x86_64" |
13 | RDEPENDS:${PN}-x86_64:append:class-target = "${PN}" | 19 | RDEPENDS:${PN}-x86_64:append:class-target = " ${PN}" |
20 | RPROVIDES:${PN}-x86_64:append:class-target = " ${PN}-system-x86_64" | ||
21 | RPROVIDES:${PN}-x86_64:append:class-target = " ${PN}-user-x86_64" | ||
22 | RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-x86_64" | ||
23 | RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-x86_64" | ||
14 | INSANE_SKIP:${PN}-x86_64:class-target = "file-rdeps" | 24 | INSANE_SKIP:${PN}-x86_64:class-target = "file-rdeps" |
15 | 25 | ||
16 | FILES:${PN}-i386:class-target = "${bindir}/qemu-i386" | 26 | FILES:${PN}-i386:class-target = "${bindir}/qemu-i386" |
17 | RDEPENDS:${PN}-i386:append:class-target = "${PN}" | 27 | RDEPENDS:${PN}-i386:append:class-target = " ${PN}" |
28 | RPROVIDES:${PN}-i386:append:class-target = " ${PN}-user-i386" | ||
29 | RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-i386" | ||
18 | INSANE_SKIP:${PN}-i386:class-target = "file-rdeps" | 30 | INSANE_SKIP:${PN}-i386:class-target = "file-rdeps" |
19 | 31 | ||
20 | FILES:${PN}-system-i386:class-target = "${bindir}/qemu-system-i386" | 32 | FILES:${PN}-system-i386:class-target = "${bindir}/qemu-system-i386" |
21 | RDEPENDS:${PN}-system-i386:append:class-target = "${PN}" | 33 | RDEPENDS:${PN}-system-i386:append:class-target = " ${PN}" |
34 | RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-system-i386" | ||
22 | INSANE_SKIP:${PN}-system-i386:class-target = "file-rdeps" | 35 | INSANE_SKIP:${PN}-system-i386:class-target = "file-rdeps" |
23 | 36 | ||
24 | FILES:${PN}-aarch64:class-target = "${bindir}/qemu-system-aarch64 ${bindir}/qemu-aarch64" | 37 | FILES:${PN}-aarch64:class-target = "${bindir}/qemu-system-aarch64 ${bindir}/qemu-aarch64" |
25 | RDEPENDS:${PN}-aarch64:append:class-target = "${PN}" | 38 | RDEPENDS:${PN}-aarch64:append:class-target = " ${PN}" |
39 | RPROVIDES:${PN}-aarch64:append:class-target = " ${PN}-system-aarch64" | ||
40 | RPROVIDES:${PN}-aarch64:append:class-target = " ${PN}-user-aarch64" | ||
41 | RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-aarch64" | ||
42 | RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-aarch64" | ||
26 | INSANE_SKIP:${PN}-aarch64:class-target = "file-rdeps" | 43 | INSANE_SKIP:${PN}-aarch64:class-target = "file-rdeps" |
27 | 44 | ||
28 | FILES:${PN}-arm:class-target = "${bindir}/qemu-system-arm ${bindir}/qemu-arm" | 45 | FILES:${PN}-arm:class-target = "${bindir}/qemu-system-arm ${bindir}/qemu-arm" |
29 | RDEPENDS:${PN}-arm:append:class-target = "${PN}" | 46 | RDEPENDS:${PN}-arm:append:class-target = " ${PN}" |
47 | RPROVIDES:${PN}-arm:append:class-target = " ${PN}-system-arm" | ||
48 | RPROVIDES:${PN}-arm:append:class-target = " ${PN}-user-arm" | ||
49 | RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-arm" | ||
50 | RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-arm" | ||
30 | INSANE_SKIP:${PN}-arm:class-target = "file-rdeps" | 51 | INSANE_SKIP:${PN}-arm:class-target = "file-rdeps" |
31 | 52 | ||
32 | FILES:${PN}-microblaze:class-target = "${bindir}/qemu-system-microblaze* ${bindir}/qemu-microblaze*" | 53 | FILES:${PN}-microblaze:class-target = "${bindir}/qemu-system-microblaze* ${bindir}/qemu-microblaze*" |
33 | RDEPENDS:${PN}-microblaze:append:class-target = "${PN}" | 54 | RDEPENDS:${PN}-microblaze:append:class-target = " ${PN}" |
55 | RPROVIDES:${PN}-microblaze:append:class-target = " ${PN}-system-microblaze" | ||
56 | RPROVIDES:${PN}-microblaze:append:class-target = " ${PN}-user-microblaze" | ||
57 | RDEPENDS:${PN}-system-all:append:class-target = " ${PN}-microblaze" | ||
58 | RDEPENDS:${PN}-user-all:append:class-target = " ${PN}-microblaze" | ||
34 | INSANE_SKIP:${PN}-arm:class-target = "file-rdeps" | 59 | INSANE_SKIP:${PN}-arm:class-target = "file-rdeps" |
35 | 60 | ||
36 | FILES:${PN}-support:class-target = "${bindir}/* ${libexecdir}/*" | 61 | FILES:${PN}-support:class-target = "${bindir}/* ${libexecdir}/*" |