[PATCH 2/3] xen: Add recipes for stable Xen 4.16 release and update master


Michal Orzel
 

Add recipes for Xen 4.16 release as, according to the documentation
we shall have recipes for the latest stable major version of Xen
before the next Yocto release. Bump PREFERED_VERSION to 4.16 as well.

Take the opportunity to update SRCREV of xen recipes for master
and bump XEN_REL version to 4.17 as this is the current development
version.

Signed-off-by: Michal Orzel <michal.orzel@...>
---
.../include/meta-virt-default-versions.inc | 4 ++--
recipes-extended/xen/xen-tools_4.16.bb | 19 +++++++++++++++++++
recipes-extended/xen/xen-tools_git.bb | 6 +++---
recipes-extended/xen/xen_4.16.bb | 19 +++++++++++++++++++
recipes-extended/xen/xen_git.bb | 6 +++---
5 files changed, 46 insertions(+), 8 deletions(-)
create mode 100644 recipes-extended/xen/xen-tools_4.16.bb
create mode 100644 recipes-extended/xen/xen_4.16.bb

diff --git a/conf/distro/include/meta-virt-default-versions.inc b/conf/di=
stro/include/meta-virt-default-versions.inc
index 8a2db70..b2ce021 100644
--- a/conf/distro/include/meta-virt-default-versions.inc
+++ b/conf/distro/include/meta-virt-default-versions.inc
@@ -1,4 +1,4 @@
# Meta-virtuailization PREFERED_VERSION
=20
-PREFERRED_VERSION_xen ?=3D "4.15+stable%"
-PREFERRED_VERSION_xen-tools ?=3D "4.15+stable%"
+PREFERRED_VERSION_xen ?=3D "4.16+stable%"
+PREFERRED_VERSION_xen-tools ?=3D "4.16+stable%"
diff --git a/recipes-extended/xen/xen-tools_4.16.bb b/recipes-extended/xe=
n/xen-tools_4.16.bb
new file mode 100644
index 0000000..4a07874
--- /dev/null
+++ b/recipes-extended/xen/xen-tools_4.16.bb
@@ -0,0 +1,19 @@
+# xen 4.16.0 release sha
+SRCREV ?=3D "b0b4661fa3cba995e433b94ea569c90f65a3e5fc"
+
+XEN_REL ?=3D "4.16"
+XEN_BRANCH ?=3D "stable-${XEN_REL}"
+
+SRC_URI =3D " \
+ git://xenbits.xen.org/xen.git;branch=3D${XEN_BRANCH} \
+ file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \
+ "
+
+LIC_FILES_CHKSUM ?=3D "file://COPYING;md5=3D419739e325a50f3d7b4501338e44=
a4e5"
+
+PV =3D "${XEN_REL}+stable${SRCPV}"
+
+S =3D "${WORKDIR}/git"
+
+require xen.inc
+require xen-tools.inc
diff --git a/recipes-extended/xen/xen-tools_git.bb b/recipes-extended/xen=
/xen-tools_git.bb
index e733f1d..a450a7d 100644
--- a/recipes-extended/xen/xen-tools_git.bb
+++ b/recipes-extended/xen/xen-tools_git.bb
@@ -1,7 +1,7 @@
-# master status on 2022-03-08
-SRCREV ?=3D "9d4a44380d273de22d5753883cbf5581795ff24d"
+# master status on 2022-04-05
+SRCREV ?=3D "14dd241aad8af447680ac73e8579990e2c09c1e7"
=20
-XEN_REL ?=3D "4.16"
+XEN_REL ?=3D "4.17"
XEN_BRANCH ?=3D "master"
=20
SRC_URI =3D " \
diff --git a/recipes-extended/xen/xen_4.16.bb b/recipes-extended/xen/xen_=
4.16.bb
new file mode 100644
index 0000000..be54d11
--- /dev/null
+++ b/recipes-extended/xen/xen_4.16.bb
@@ -0,0 +1,19 @@
+# xen 4.16.0 release sha
+SRCREV ?=3D "b0b4661fa3cba995e433b94ea569c90f65a3e5fc"
+
+XEN_REL ?=3D "4.16"
+XEN_BRANCH ?=3D "stable-${XEN_REL}"
+
+SRC_URI =3D " \
+ git://xenbits.xen.org/xen.git;branch=3D${XEN_BRANCH} \
+ file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-loca=
tion.patch \
+ "
+
+LIC_FILES_CHKSUM ?=3D "file://COPYING;md5=3D419739e325a50f3d7b4501338e44=
a4e5"
+
+PV =3D "${XEN_REL}+stable${SRCPV}"
+
+S =3D "${WORKDIR}/git"
+
+require xen.inc
+require xen-hypervisor.inc
diff --git a/recipes-extended/xen/xen_git.bb b/recipes-extended/xen/xen_g=
it.bb
index 2fbfb54..ebd1b76 100644
--- a/recipes-extended/xen/xen_git.bb
+++ b/recipes-extended/xen/xen_git.bb
@@ -1,7 +1,7 @@
-# master status on 2022-03-08
-SRCREV ?=3D "9d4a44380d273de22d5753883cbf5581795ff24d"
+# master status on 2022-04-05
+SRCREV ?=3D "14dd241aad8af447680ac73e8579990e2c09c1e7"
=20
-XEN_REL ?=3D "4.16"
+XEN_REL ?=3D "4.17"
XEN_BRANCH ?=3D "master"
=20
SRC_URI =3D " \
--=20
2.25.1