xen: Add recipes for stable Xen 4.17 release and update master

Add recipes for xen and tools for the newly released 4.17 version and
take the opportunity to update master recipes.

Reflect 4.17 tools changes in xen-tools.inc:
 - add test-paging-mempool to test package,
 - add init-dom0less script to xl package,
 - add localstatedir to xencommons package (this is needed as from 4.17
   onwards, there is no /var/lib/xenstored resulting in /var being
   installed but not shipped in any package).

Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Michal Orzel 2023-01-06 15:46:29 +01:00 committed by Bruce Ashfield
parent 7da4dbde60
commit 3581dd56aa
5 changed files with 49 additions and 8 deletions

View File

@ -616,6 +616,7 @@ FILES:${PN}-xl = "\
${libdir}/xen/bin/libxl-save-helper \
${sbindir}/xl \
${libdir}/xen/bin/xen-init-dom0 \
${libdir}/xen/bin/init-dom0less \
"
FILES:${PN}-xl-examples = "\
@ -658,6 +659,7 @@ FILES:${PN}-xencommons += "\
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/xen-init-dom0.service', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/xenstored.service', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_unitdir}/system/var-lib-xenstored.mount', '', d)} \
${localstatedir} \
"
FILES:${PN}-xend += " \
@ -688,6 +690,7 @@ FILES:${PN}-test += "\
${libdir}/xen/bin/test-resource \
${libdir}/xen/bin/test-cpu-policy \
${libdir}/xen/bin/test-tsx \
${libdir}/xen/bin/test-paging-mempool \
"
# test-xenstore and test-resource currently only exist in 4.16

View File

@ -0,0 +1,19 @@
# xen 4.17.0 release sha
SRCREV ?= "11560248ffda3f00f20bbdf3ae088af474f7f2a3"
XEN_REL ?= "4.17"
XEN_BRANCH ?= "stable-${XEN_REL}"
SRC_URI = " \
git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
PV = "${XEN_REL}+stable${SRCPV}"
S = "${WORKDIR}/git"
require xen.inc
require xen-tools.inc

View File

@ -1,7 +1,7 @@
# master status on 2022-04-05
SRCREV ?= "14dd241aad8af447680ac73e8579990e2c09c1e7"
# master status on 2022-12-29
SRCREV ?= "7eef80e06ed2282bbcec3619d860c6aacb0515d8"
XEN_REL ?= "4.17"
XEN_REL ?= "4.18"
XEN_BRANCH ?= "master"
SRC_URI = " \
@ -9,7 +9,7 @@ SRC_URI = " \
file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
PV = "${XEN_REL}+git${SRCPV}"

View File

@ -0,0 +1,19 @@
# xen 4.17.0 release sha
SRCREV ?= "11560248ffda3f00f20bbdf3ae088af474f7f2a3"
XEN_REL ?= "4.17"
XEN_BRANCH ?= "stable-${XEN_REL}"
SRC_URI = " \
git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
PV = "${XEN_REL}+stable${SRCPV}"
S = "${WORKDIR}/git"
require xen.inc
require xen-hypervisor.inc

View File

@ -1,7 +1,7 @@
# master status on 2022-04-05
SRCREV ?= "14dd241aad8af447680ac73e8579990e2c09c1e7"
# master status on 2022-12-29
SRCREV ?= "7eef80e06ed2282bbcec3619d860c6aacb0515d8"
XEN_REL ?= "4.17"
XEN_REL ?= "4.18"
XEN_BRANCH ?= "master"
SRC_URI = " \
@ -9,7 +9,7 @@ SRC_URI = " \
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
PV = "${XEN_REL}+git${SRCPV}"