The recipes are introduced as the non-default version by adding an
expressed PREFERRED_VERSION for 4.14 in:
    conf/distro/include/meta-virt-default-versions.inc

to keep the Xen 4.14 recipes as default for the Hardknott release.

Signed-off-by: Christopher Clark <[email protected]>
---
 .../include/meta-virt-default-versions.inc    |  3 ++-
 recipes-extended/xen/xen-tools_4.15.bb        | 18 ++++++++++++++++++
 recipes-extended/xen/xen_4.15.bb              | 19 +++++++++++++++++++
 3 files changed, 39 insertions(+), 1 deletion(-)
 create mode 100644 recipes-extended/xen/xen-tools_4.15.bb
 create mode 100644 recipes-extended/xen/xen_4.15.bb

diff --git a/conf/distro/include/meta-virt-default-versions.inc 
b/conf/distro/include/meta-virt-default-versions.inc
index 299b5df..b85827b 100644
--- a/conf/distro/include/meta-virt-default-versions.inc
+++ b/conf/distro/include/meta-virt-default-versions.inc
@@ -1,3 +1,4 @@
 # Meta-virtuailization PREFERED_VERSION
 
-# placeholder for preferred versions
+PREFERRED_VERSION_xen ?= "4.14+stable%"
+PREFERRED_VERSION_xen-tools ?= "4.14+stable%"
diff --git a/recipes-extended/xen/xen-tools_4.15.bb 
b/recipes-extended/xen/xen-tools_4.15.bb
new file mode 100644
index 0000000..314dc52
--- /dev/null
+++ b/recipes-extended/xen/xen-tools_4.15.bb
@@ -0,0 +1,18 @@
+SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4"
+
+XEN_REL ?= "4.15"
+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=419739e325a50f3d7b4501338e44a4e5"
+
+PV = "${XEN_REL}+stable${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+require xen.inc
+require xen-tools.inc
diff --git a/recipes-extended/xen/xen_4.15.bb b/recipes-extended/xen/xen_4.15.bb
new file mode 100644
index 0000000..2842c0a
--- /dev/null
+++ b/recipes-extended/xen/xen_4.15.bb
@@ -0,0 +1,19 @@
+SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4"
+
+XEN_REL ?= "4.15"
+XEN_BRANCH ?= "stable-${XEN_REL}"
+
+SRC_URI = " \
+    git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
+    file://xen-arm64-implement-atomic-fetch-add.patch \
+    
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
+    "
+
+LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
+
+PV = "${XEN_REL}+stable${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+require xen.inc
+require xen-hypervisor.inc
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6401): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6401
Mute This Topic: https://lists.yoctoproject.org/mt/82150024/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to