diff options
| author | Christopher Clark <christopher.w.clark@gmail.com> | 2020-02-25 16:15:54 -0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-02-27 16:59:23 -0500 |
| commit | 545461ba2f97f065791e3d4ed22342eba2836d48 (patch) | |
| tree | 68917fa8fed4b544b84e32d70470e5c47600f1a2 /recipes-extended/xen/xen-blktap.inc | |
| parent | e12b76773a874ea4454411aea564a3e9008c931b (diff) | |
| download | meta-virtualization-545461ba2f97f065791e3d4ed22342eba2836d48.tar.gz | |
xen: separate recipes for hypervisor and tools; switch to git as source
This change changes the names of many packages produced: the
xen-tools recipe now builds packages previous built by the xen
recipe, so the package prefix changes from "xen-" to "xen-tools-".
A temporary bbappend is provided for qemu to ease the transition.
Multiple motivations for recipe separation:
- improves efficiency of incremental build and development
- supports building the hypervisor and tools with different toolchains
and for different architectures
Switch to using a git recipe on the Xen stable branch:
- enables easier tracking of critical XSA security updates applied
upstream by just advancing SRCREV along the branch
Revision has been set to the tip of the stable-4.12 branch, which
has the one XSA-312 patch applied on top of RELEASE-4.12.2.
The recipe refactor externalizes the block tap components, to enable optional
building of blktap in a separate recipe outside xen-tools, needed by OpenXT.
xenstored is made a virtual package to support switching between
alternative implementations (several exist).
Update xen-image-minimal to install the xen-tools package, which
replaces what was previously xen-base.
Determine the flask policy filename, which is Xen-version specific,
using the same method as the Xen build system.
qemu: update PACKAGECONFIG[xen] for xen package renaming: allows builds
to continue correctly in the meantime while openembedded core and poky
are updated.
OpenXT ticket reference: OXT-1694
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/xen-blktap.inc')
| -rw-r--r-- | recipes-extended/xen/xen-blktap.inc | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen-blktap.inc b/recipes-extended/xen/xen-blktap.inc new file mode 100644 index 00000000..5f385ddc --- /dev/null +++ b/recipes-extended/xen/xen-blktap.inc | |||
| @@ -0,0 +1,76 @@ | |||
| 1 | # The Xen block tap components are packaged separately here to support | ||
| 2 | # the option to build them in a separate recipe from xen-tools. | ||
| 3 | |||
| 4 | BLKTAP_PACKAGES ?= " \ | ||
| 5 | ${PN}-blktap \ | ||
| 6 | ${PN}-libblktap \ | ||
| 7 | ${PN}-libblktapctl \ | ||
| 8 | ${PN}-libblktapctl-dev \ | ||
| 9 | ${PN}-libblktap-dev \ | ||
| 10 | ${PN}-libvhd \ | ||
| 11 | ${PN}-libvhd-dev \ | ||
| 12 | ${PN}-blktap-staticdev \ | ||
| 13 | " | ||
| 14 | |||
| 15 | BLKTAP_PROVIDES ?= " \ | ||
| 16 | virtual/blktap \ | ||
| 17 | virtual/libblktap \ | ||
| 18 | virtual/libblktapctl \ | ||
| 19 | virtual/libvhd \ | ||
| 20 | " | ||
| 21 | |||
| 22 | BLKTAP_RRECOMMENDS ?= " \ | ||
| 23 | virtual/blktap \ | ||
| 24 | virtual/libblktap \ | ||
| 25 | virtual/libblktapctl \ | ||
| 26 | virtual/libvhd \ | ||
| 27 | " | ||
| 28 | |||
| 29 | RPROVIDES_${PN}-blktap = "virtual/blktap" | ||
| 30 | RPROVIDES_${PN}-libblktap = "virtual/libblktap" | ||
| 31 | RPROVIDES_${PN}-libblktapctl = "virtual/libblktapctl" | ||
| 32 | RPROVIDES_${PN}-libvhd = "virtual/libvhd" | ||
| 33 | |||
| 34 | FILES_${PN}-blktap-staticdev += "\ | ||
| 35 | ${libdir}/libblktapctl.a \ | ||
| 36 | ${libdir}/libvhd.a \ | ||
| 37 | ${libdir}/libblktap.a \ | ||
| 38 | " | ||
| 39 | |||
| 40 | FILES_${PN}-libblktapctl = "${libdir}/libblktapctl.so.*" | ||
| 41 | FILES_${PN}-libblktapctl-dev = " \ | ||
| 42 | ${libdir}/libblktapctl.so \ | ||
| 43 | ${libdir}/pkgconfig/xenblktapctl.pc \ | ||
| 44 | ${datadir}/pkgconfig/xenblktapctl.pc \ | ||
| 45 | " | ||
| 46 | |||
| 47 | FILES_${PN}-libvhd = "${libdir}/libvhd.so.*" | ||
| 48 | FILES_${PN}-libvhd-dev = " \ | ||
| 49 | ${libdir}/libvhd.so \ | ||
| 50 | ${libdir}/pkgconfig/vhd.pc \ | ||
| 51 | ${datadir}/pkgconfig/vhd.pc \ | ||
| 52 | " | ||
| 53 | |||
| 54 | FILES_${PN}-libblktap = "${libdir}/libblktap.so.*" | ||
| 55 | FILES_${PN}-libblktap-dev = " \ | ||
| 56 | ${libdir}/libblktap.so \ | ||
| 57 | ${libdir}/pkgconfig/blktap.pc \ | ||
| 58 | ${datadir}/pkgconfig/blktap.pc \ | ||
| 59 | " | ||
| 60 | |||
| 61 | FILES_${PN}-blktap = "\ | ||
| 62 | ${sbindir}/blktapctrl \ | ||
| 63 | ${sbindir}/img2qcow \ | ||
| 64 | ${sbindir}/lock-util \ | ||
| 65 | ${sbindir}/qcow2raw \ | ||
| 66 | ${sbindir}/qcow-create \ | ||
| 67 | ${sbindir}/tap-ctl \ | ||
| 68 | ${sbindir}/tapdisk \ | ||
| 69 | ${sbindir}/tapdisk2 \ | ||
| 70 | ${sbindir}/tapdisk-client \ | ||
| 71 | ${sbindir}/tapdisk-diff \ | ||
| 72 | ${sbindir}/tapdisk-stream \ | ||
| 73 | ${sbindir}/td-util \ | ||
| 74 | ${sbindir}/vhd-update \ | ||
| 75 | ${sbindir}/vhd-util \ | ||
| 76 | " | ||
