xen-tools: fix 32-bit x86 build by setting pvshim configure flags
PATCH 1/2 xen-tools: fix 32-bit x86 build by setting pvshim configure flags
Enable building the PV shim for x86_64 only.
--- recipes-extended/xen/xen.inc | 1 + 1 file changed, 1 insertion(+)
recipes-extended/xen/xen.inc +1 -0
@@ -125,6 +125,7 @@ EXTRA_OECONF += " \ --disable-rombios \ --disable-ocamltools \ --disable-qemu-traditional \ + ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', '--enable-pvshim', '--disable-pvshim', d)} \ " EXTRA_OEMAKE += "STDVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.bin"
Signature · 1 line
2.25.1
PATCH 2/2 xen, xen-tools: upgrade version to latest 4.15
Update the git recipes revision to the recent master branch point for starting 4.16 development.
Remove the xen-tools python patch for 4.14.
---
...ython-pygrub-pass-DISTUTILS-xen-4.14.patch | 66 -------------------
.../{xen-tools_4.14.bb => xen-tools_4.15.bb} | 6 +-
recipes-extended/xen/xen-tools_git.bb | 4 +-
.../xen/{xen_4.14.bb => xen_4.15.bb} | 4 +-
recipes-extended/xen/xen_git.bb | 4 +-
5 files changed, 9 insertions(+), 75 deletions(-)
delete mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch
rename recipes-extended/xen/{xen-tools_4.14.bb => xen-tools_4.15.bb} (68%)
rename recipes-extended/xen/{xen_4.14.bb => xen_4.15.bb} (85%)recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch deleted +0 -66
@@ -1,66 +0,0 @@ -From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001 -From: Maciej Pijanowski <[email protected]> -Date: Fri, 19 Oct 2018 11:01:37 +0200 -Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args - -Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR) -as well as other parameters set by the OpenEmbedded build system. -This is especially useful when the target libdir is not the default one -(/usr/lib), but for example /usr/lib64. - -Signed-off-by: Maciej Pijanowski <[email protected]> - -Forward-ported to Xen 4.12.0 -Signed-off-by: Christopher Clark <[email protected]> - -Modified to support pygrub installation with python 3 -Signed-off-by: Christopher Clark <[email protected]> - -Forward-ported to Xen 4.14.0 -Signed-off-by: Christopher Clark <[email protected]> -diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile -index 3063c49..513314b 100644 ---- a/tools/pygrub/Makefile -+++ b/tools/pygrub/Makefile -@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt - all: build - .PHONY: build - build: -- CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build -+ CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: all - $(INSTALL_DIR) $(DESTDIR)/$(bindir) - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force -+ --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \ -+ $(DISTUTILS_INSTALL_ARGS) -+ rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub -+ $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub - set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ - "`readlink -f $(DESTDIR)/$(bindir)`" != \ - "`readlink -f $(LIBEXEC_BIN)`" ]; then \ -diff --git a/tools/python/Makefile b/tools/python/Makefile -index 541858e..4d4a344 100644 ---- a/tools/python/Makefile -+++ b/tools/python/Makefile -@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt - - .PHONY: build - build: -- CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build -+ CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: -@@ -18,7 +18,7 @@ install: - - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --force -+ --root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) - - $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)
recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +3 -3
@@ -1,11 +1,11 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +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.14.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ " LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"
recipes-extended/xen/xen-tools_git.bb +2 -2
@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16" XEN_BRANCH ?= "master" SRC_URI = " \
recipes-extended/xen/xen_4.15.bb renamed from recipes-extended/xen/xen_4.14.bb +2 -2
@@ -1,6 +1,6 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15" XEN_BRANCH ?= "stable-${XEN_REL}" SRC_URI = " \
recipes-extended/xen/xen_git.bb +2 -2
@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16" XEN_BRANCH ?= "master" SRC_URI = " \
Signature · 1 line
2.25.1
Re: [meta-virtualization][PATCH 2/2] xen, xen-tools: upgrade version to latest 4.15
Hi Christopher,
Quoted 6 lines · Christopher Clark via lists.yoctoproject.org
Update the git recipes revision to the recent master branch point for starting 4.16 development.
Remove the xen-tools python patch for 4.14.
I do not think the 4.14 recipe should be removed as we decided a while ago that we should always have a recipe for:
- current release - 1
- current release
- master
More then that we have very near Hardknott release and meta-virtualization was not branched so this is a really bad idea to do a version bump right now.
I would suggest to:
- add recipes for Xen and Xen-tools 4.15
- set preferred version to 4.14
and after branching change the preferred version to 4.15 on master.
What do you think ?
Regards
Bertrand
Quoted 149 lines
Signed-off-by Christopher Clark <[email protected]>Signed-off-by Christopher Clark <[email protected]>---
...ython-pygrub-pass-DISTUTILS-xen-4.14.patch | 66 ------------------- .../{xen-tools_4.14.bb => xen-tools_4.15.bb} | 6 +- recipes-extended/xen/xen-tools_git.bb | 4 +- .../xen/{xen_4.14.bb => xen_4.15.bb} | 4 +- recipes-extended/xen/xen_git.bb | 4 +- 5 files changed, 9 insertions(+), 75 deletions(-)delete mode 100644
recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patchrename recipes-extended/xen/{xen-tools_4.14.bb => xen-tools_4.15.bb} (68%) rename recipes-extended/xen/{xen_4.14.bb => xen_4.15.bb} (85%)recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch deleted +0
-66@@ -1,66 +0,0 @@ -From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001 -From: Maciej Pijanowski <[email protected]> -Date: Fri, 19 Oct 2018 11:01:37 +0200 -Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args - -Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR) -as well as other parameters set by the OpenEmbedded build system. -This is especially useful when the target libdir is not the default one -(/usr/lib), but for example /usr/lib64. - -Signed-off-by: Maciej Pijanowski <[email protected]> - -Forward-ported to Xen 4.12.0 -Signed-off-by: Christopher Clark <[email protected]> - -Modified to support pygrub installation with python 3 -Signed-off-by: Christopher Clark <[email protected]> - -Forward-ported to Xen 4.14.0 -Signed-off-by: Christopher Clark <[email protected]> -diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile -index 3063c49..513314b 100644 ---- a/tools/pygrub/Makefile -+++ b/tools/pygrub/Makefile -@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt - all: build - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: all - $(INSTALL_DIR) $(DESTDIR)/$(bindir) - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force -+ --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \ -+ $(DISTUTILS_INSTALL_ARGS) -+rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub -+$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub - set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ - "`readlink -f $(DESTDIR)/$(bindir)`" != \ - "`readlink -f $(LIBEXEC_BIN)`" ]; then \ -diff --git a/tools/python/Makefile b/tools/python/Makefile -index 541858e..4d4a344 100644 ---- a/tools/python/Makefile -+++ b/tools/python/Makefile -@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt - - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: -@@ -18,7 +18,7 @@ install: - - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ ----root="$(DESTDIR)" --force -+--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) - - $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +2
-2@@ -1,11 +1,11 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +1
-1- file://0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ "
LIC_FILES_CHKSUM?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"recipes-extended/xen/xen-tools_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"
SRC_URI= " \recipes-extended/xen/xen_4.15.bb renamed from recipes-extended/xen/xen_4.14.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"
SRC_URI= " \recipes-extended/xen/xen_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"
Quoted 7 lines
SRC_URI= " \
--
2.25.1
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Re: [meta-virtualization][PATCH 2/2] xen, xen-tools: upgrade version to latest 4.15
Quoted 8 lines · Bertrand Marquis
Hi Christopher,
Quoted 5 lines · Christopher Clark via lists.yoctoproject.org
Update the git recipes revision to the recent master branch point for starting 4.16 development.
Quoted 7 lines
Quoted 1 line
Remove the xen-tools python patch for 4.14.
I do not think the 4.14 recipe should be removed as we decided a while ago that we should always have a recipe for:
- current release - 1
- current release
- master
I recall the discussion, but can't find my mailing list archive of it. If anyone has a pointer, I need to refresh my memory. See below for why.
Quoted 4 lines
More then that we have very near Hardknott release and meta-virtualization was not branched so this is a really bad idea to do a version bump right now.
I won't actually branch and declare meta-virt released for a couple of weeks after the Yocto release. It takes a bit of time for retesting and final stabilization. So there is some time, but yes, I'm not really doing much for uprev's that will land in the release (I have about 15 uprevs done locally as well that I'm deciding on). I can either run a master-next for a bit, or I'll branch earlier, if we have some changes that are better in tree.
Quoted 3 lines
I would suggest to:
- add recipes for Xen and Xen-tools 4.15
- set preferred version to 4.14
From the Xen release pages I just read, there isn't a LTS release, is there ? (or did I miss it ?).
Without a LTS, I'd hesitate to support the three versions when we get into a timing issue like this (it hits me all the time with the kernel in oe-core). We only do that with the kernel in a given release due to LTS support. Otherwise, it would just be two: A tagged release + latest.
If 4.15 is not the preferred version, I'd prefer it to not be in the release at all, since it won't get much testing. If someone wants it, I'd just point them at master.
So my summary is, we can keep the three versions, but I'd suggest that 4.15 never lands in the hardknott branch, and only master. And for the fall, we'd have 4.15 + 4.16 + the git recipe for the latest. In that latter case, the patch as it stands is close to ok for master, and I'll just never put it into the hardknott branch.
Also, feel free to drop by #meta-virt to discuss more interactively.
Bruce
Quoted 166 lines
and after branching change the preferred version to 4.15 on master.
What do you think ?
Regards
BertrandQuoted 149 lines
Signed-off-by Christopher Clark <[email protected]>Signed-off-by Christopher Clark <[email protected]>---
...ython-pygrub-pass-DISTUTILS-xen-4.14.patch | 66 ------------------- .../{xen-tools_4.14.bb => xen-tools_4.15.bb} | 6 +- recipes-extended/xen/xen-tools_git.bb | 4 +- .../xen/{xen_4.14.bb => xen_4.15.bb} | 4 +- recipes-extended/xen/xen_git.bb | 4 +- 5 files changed, 9 insertions(+), 75 deletions(-)delete mode 100644
recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patchrename recipes-extended/xen/{xen-tools_4.14.bb => xen-tools_4.15.bb} (68%) rename recipes-extended/xen/{xen_4.14.bb => xen_4.15.bb} (85%)recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch deleted +0
-66@@ -1,66 +0,0 @@ -From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001 -From: Maciej Pijanowski <[email protected]> -Date: Fri, 19 Oct 2018 11:01:37 +0200 -Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args - -Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR) -as well as other parameters set by the OpenEmbedded build system. -This is especially useful when the target libdir is not the default one -(/usr/lib), but for example /usr/lib64. - -Signed-off-by: Maciej Pijanowski <[email protected]> - -Forward-ported to Xen 4.12.0 -Signed-off-by: Christopher Clark <[email protected]> - -Modified to support pygrub installation with python 3 -Signed-off-by: Christopher Clark <[email protected]> - -Forward-ported to Xen 4.14.0 -Signed-off-by: Christopher Clark <[email protected]> -diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile -index 3063c49..513314b 100644 ---- a/tools/pygrub/Makefile -+++ b/tools/pygrub/Makefile -@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt - all: build - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: all - $(INSTALL_DIR) $(DESTDIR)/$(bindir) - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force -+ --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \ -+ $(DISTUTILS_INSTALL_ARGS) -+rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub -+$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub - set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ - "`readlink -f $(DESTDIR)/$(bindir)`" != \ - "`readlink -f $(LIBEXEC_BIN)`" ]; then \ -diff --git a/tools/python/Makefile b/tools/python/Makefile -index 541858e..4d4a344 100644 ---- a/tools/python/Makefile -+++ b/tools/python/Makefile -@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt - - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: -@@ -18,7 +18,7 @@ install: - - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ ----root="$(DESTDIR)" --force -+--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) - - $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +2
-2@@ -1,11 +1,11 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +1
-1- file://0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ "
LIC_FILES_CHKSUM?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"recipes-extended/xen/xen-tools_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"
SRC_URI= " \recipes-extended/xen/xen_4.15.bb renamed from recipes-extended/xen/xen_4.14.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"
SRC_URI= " \recipes-extended/xen/xen_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"Quoted 7 lines
SRC_URI= " \
--
2.25.1IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Re: [meta-virtualization][PATCH 2/2] xen, xen-tools: upgrade version to latest 4.15
Hi,
Quoted 20 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 8 lines · Bertrand Marquis
Hi Christopher,
Quoted 5 lines · Christopher Clark via lists.yoctoproject.org
Update the git recipes revision to the recent master branch point for starting 4.16 development.
Quoted 7 lines
Quoted 1 line
Remove the xen-tools python patch for 4.14.
I do not think the 4.14 recipe should be removed as we decided a while ago that we should always have a recipe for:
- current release - 1
- current release
- master
Quoted 3 lines
I recall the discussion, but can't find my mailing list archive of it. If anyone has a pointer, I need to refresh my memory. See below for why.
After a discussion on IRC, we agreed with Bruce that the scheme that was decided last year was to have 2 versions + master so that we try not to break backward compatibility and give time for people to update.
Here as we are really near the release we should:
- add 4.15 recipe and bump master one
- keep 4.14 recipe and set PREFERRED_VERSION to 4.14
After branching hardknott we can change the preferred version
to 4.15 on master
Also we need to put the outcome of our discussion that was written on wire inside a README file inside the Xen directory.
@Christopher please confirm you agree with that and tell me if you want help to do it (as I do have in fact a patch available internally to do just that).
I have no access anymore to the wire discussion so one of you Bruce or Christopher will need to push the README file :-)
Cheers
Bertrand
Quoted 210 lines
Quoted 5 lines
More then that we have very near Hardknott release and meta-virtualization was not branched so this is a really bad idea to do a version bump right now.
I won't actually branch and declare meta-virt released for a couple of weeks after the Yocto release. It takes a bit of time for retesting and final stabilization. So there is some time, but yes, I'm not really doing much for uprev's that will land in the release (I have about 15 uprevs done locally as well that I'm deciding on). I can either run a master-next for a bit, or I'll branch earlier, if we have some changes that are better in tree.
Quoted 3 lines
I would suggest to:
- add recipes for Xen and Xen-tools 4.15
- set preferred version to 4.14From the Xen release pages I just read, there isn't a LTS release, is there ? (or did I miss it ?).
Without a LTS, I'd hesitate to support the three versions when we get into a timing issue like this (it hits me all the time with the kernel in oe-core). We only do that with the kernel in a given release due to LTS support. Otherwise, it would just be two: A tagged release + latest.
If 4.15 is not the preferred version, I'd prefer it to not be in the release at all, since it won't get much testing. If someone wants it, I'd just point them at master.
So my summary is, we can keep the three versions, but I'd suggest that 4.15 never lands in the hardknott branch, and only master. And for the fall, we'd have 4.15 + 4.16 + the git recipe for the latest. In that latter case, the patch as it stands is close to ok for master, and I'll just never put it into the hardknott branch.
Also, feel free to drop by #meta-virt to discuss more interactively.
Bruce
Quoted 157 lines
and after branching change the preferred version to 4.15 on master.
What do you think ?
Regards
BertrandQuoted 149 lines
Signed-off-by Christopher Clark <[email protected]>Signed-off-by Christopher Clark <[email protected]>---
...ython-pygrub-pass-DISTUTILS-xen-4.14.patch | 66 ------------------- .../{xen-tools_4.14.bb => xen-tools_4.15.bb} | 6 +- recipes-extended/xen/xen-tools_git.bb | 4 +- .../xen/{xen_4.14.bb => xen_4.15.bb} | 4 +- recipes-extended/xen/xen_git.bb | 4 +- 5 files changed, 9 insertions(+), 75 deletions(-)delete mode 100644
recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patchrename recipes-extended/xen/{xen-tools_4.14.bb => xen-tools_4.15.bb} (68%) rename recipes-extended/xen/{xen_4.14.bb => xen_4.15.bb} (85%)recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch deleted +0
-66@@ -1,66 +0,0 @@ -From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001 -From: Maciej Pijanowski <[email protected]> -Date: Fri, 19 Oct 2018 11:01:37 +0200 -Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args - -Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR) -as well as other parameters set by the OpenEmbedded build system. -This is especially useful when the target libdir is not the default one -(/usr/lib), but for example /usr/lib64. - -Signed-off-by: Maciej Pijanowski <[email protected]> - -Forward-ported to Xen 4.12.0 -Signed-off-by: Christopher Clark <[email protected]> - -Modified to support pygrub installation with python 3 -Signed-off-by: Christopher Clark <[email protected]> - -Forward-ported to Xen 4.14.0 -Signed-off-by: Christopher Clark <[email protected]> -diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile -index 3063c49..513314b 100644 ---- a/tools/pygrub/Makefile -+++ b/tools/pygrub/Makefile -@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt - all: build - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: all - $(INSTALL_DIR) $(DESTDIR)/$(bindir) - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force -+ --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \ -+ $(DISTUTILS_INSTALL_ARGS) -+rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub -+$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub - set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ - "`readlink -f $(DESTDIR)/$(bindir)`" != \ - "`readlink -f $(LIBEXEC_BIN)`" ]; then \ -diff --git a/tools/python/Makefile b/tools/python/Makefile -index 541858e..4d4a344 100644 ---- a/tools/python/Makefile -+++ b/tools/python/Makefile -@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt - - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: -@@ -18,7 +18,7 @@ install: - - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ ----root="$(DESTDIR)" --force -+--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) - - $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +2
-2@@ -1,11 +1,11 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +1
-1- file://0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ "
LIC_FILES_CHKSUM?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"recipes-extended/xen/xen-tools_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"
SRC_URI= " \recipes-extended/xen/xen_4.15.bb renamed from recipes-extended/xen/xen_4.14.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"
SRC_URI= " \recipes-extended/xen/xen_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"Quoted 9 lines
Quoted 7 lines
SRC_URI= " \
--
2.25.1IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Quoted 6 lines
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Re: [meta-virtualization][PATCH 2/2] xen, xen-tools: upgrade version to latest 4.15
Quoted 23 lines · Bertrand Marquis
Hi,
Quoted 20 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 15 lines · Bertrand Marquis
Hi Christopher,
Quoted 6 lines · Christopher Clark via lists.yoctoproject.org
Update the git recipes revision to the recent master branch point for starting 4.16 development.
Remove the xen-tools python patch for 4.14.
I do not think the 4.14 recipe should be removed as we decided a while ago that we should always have a recipe for:
- current release - 1
- current release
- master
Quoted 7 lines
Quoted 3 lines
I recall the discussion, but can't find my mailing list archive of it. If anyone has a pointer, I need to refresh my memory. See below for why.
After a discussion on IRC, we agreed with Bruce that the scheme that was decided last year was to have 2 versions + master so that we try not to break backward compatibility and give time for people to update.
Hi all, sorry for causing the surprise and thanks for the engagement with this. As you might imagine from my posting of the uprev patch, I didn't end up with quite the same understanding of the discussion but I agree with the proposed path forward.
Quoted 6 lines
Here as we are really near the release we should:
- add 4.15 recipe and bump master one
- keep 4.14 recipe and setPREFERRED_VERSIONto 4.14After branching hardknott we can change the preferred version
to 4.15 on master
Agreed.
Quoted 2 lines
Also we need to put the outcome of our discussion that was written on wire inside a README file inside the Xen directory.
Yes - I agree.
Quoted 6 lines
@Christopher please confirm you agree with that and tell me if you want help to do it (as I do have in fact a patch available internally to do just that).
I have no access anymore to the wire discussion so one of you Bruce or Christopher will need to push the README file :-)
I can do this. We're going to need to update it slightly, following the discussion on this thread. Below is the section that we had regarding Xen version uprev. In current context for reading below, the latest stable version of Xen is now 4.15.
-----
# Xen version update
The following rules shall be followed to define which version of Xen has a recipe in meta-virtualization:
- Before a Yocto release meta-virtualization shall have a recipe for the latest stable version of Xen and for master version of Xen (known as git recipe)
- On Yocto LTS and the latest stable Yocto release branch, the Xen major version that is present when the Yocto release is issued must stay supported and the recipe shall be regularly updated to follow updates available in the Xen stable branch for that Xen major release.
- On Yocto LTS and the latest stable Yocto release branch, new Xen recipes shall be added when there is a new Xen major release.
- The preferred version of the Xen recipe shall always stay at the same Xen major version once a Yocto release has been issued, and it shall receive regular updates to track the stable Xen branch of that Xen release.
- When a new Xen recipe is added to a Yocto branch for a new Xen
major version,
then any older Xen recipe present, except for the original
preferred version recipe,
shall be marked as not updated anymore by adding a comment
inside the recipe.
This recipe will not receive any build tests or be updated to
follow the Xen branch.
-----
The new development from this thread, to amend the above process, is when Xen issues a release in close proximity to a Yocto release, the prior stable major version of Xen (ie. 4.14 here) may remain the preferred version for the Yocto release, so will have a recipe present and set as preferred, alongside the recipe for the current stable release.
I'll respin my patches.
thanks
Christopher
Quoted 225 lines
Cheers
BertrandQuoted 210 lines
Quoted 5 lines
More then that we have very near Hardknott release and meta-virtualization was not branched so this is a really bad idea to do a version bump right now.
I won't actually branch and declare meta-virt released for a couple of weeks after the Yocto release. It takes a bit of time for retesting and final stabilization. So there is some time, but yes, I'm not really doing much for uprev's that will land in the release (I have about 15 uprevs done locally as well that I'm deciding on). I can either run a master-next for a bit, or I'll branch earlier, if we have some changes that are better in tree.
Quoted 3 lines
I would suggest to:
- add recipes for Xen and Xen-tools 4.15
- set preferred version to 4.14From the Xen release pages I just read, there isn't a LTS release, is there ? (or did I miss it ?).
Without a LTS, I'd hesitate to support the three versions when we get into a timing issue like this (it hits me all the time with the kernel in oe-core). We only do that with the kernel in a given release due to LTS support. Otherwise, it would just be two: A tagged release + latest.
If 4.15 is not the preferred version, I'd prefer it to not be in the release at all, since it won't get much testing. If someone wants it, I'd just point them at master.
So my summary is, we can keep the three versions, but I'd suggest that 4.15 never lands in the hardknott branch, and only master. And for the fall, we'd have 4.15 + 4.16 + the git recipe for the latest. In that latter case, the patch as it stands is close to ok for master, and I'll just never put it into the hardknott branch.
Also, feel free to drop by #meta-virt to discuss more interactively.
Bruce
Quoted 157 lines
and after branching change the preferred version to 4.15 on master.
What do you think ?
Regards
BertrandQuoted 149 lines
Signed-off-by Christopher Clark <[email protected]>Signed-off-by Christopher Clark <[email protected]>---
...ython-pygrub-pass-DISTUTILS-xen-4.14.patch | 66 ------------------- .../{xen-tools_4.14.bb => xen-tools_4.15.bb} | 6 +- recipes-extended/xen/xen-tools_git.bb | 4 +- .../xen/{xen_4.14.bb => xen_4.15.bb} | 4 +- recipes-extended/xen/xen_git.bb | 4 +- 5 files changed, 9 insertions(+), 75 deletions(-)delete mode 100644
recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patchrename recipes-extended/xen/{xen-tools_4.14.bb => xen-tools_4.15.bb} (68%) rename recipes-extended/xen/{xen_4.14.bb => xen_4.15.bb} (85%)recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch deleted +0
-66@@ -1,66 +0,0 @@ -From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001 -From: Maciej Pijanowski <[email protected]> -Date: Fri, 19 Oct 2018 11:01:37 +0200 -Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args - -Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR) -as well as other parameters set by the OpenEmbedded build system. -This is especially useful when the target libdir is not the default one -(/usr/lib), but for example /usr/lib64. - -Signed-off-by: Maciej Pijanowski <[email protected]> - -Forward-ported to Xen 4.12.0 -Signed-off-by: Christopher Clark <[email protected]> - -Modified to support pygrub installation with python 3 -Signed-off-by: Christopher Clark <[email protected]> - -Forward-ported to Xen 4.14.0 -Signed-off-by: Christopher Clark <[email protected]> -diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile -index 3063c49..513314b 100644 ---- a/tools/pygrub/Makefile -+++ b/tools/pygrub/Makefile -@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt - all: build - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: all - $(INSTALL_DIR) $(DESTDIR)/$(bindir) - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force -+ --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \ -+ $(DISTUTILS_INSTALL_ARGS) -+rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub -+$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub - set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ - "`readlink -f $(DESTDIR)/$(bindir)`" != \ - "`readlink -f $(LIBEXEC_BIN)`" ]; then \ -diff --git a/tools/python/Makefile b/tools/python/Makefile -index 541858e..4d4a344 100644 ---- a/tools/python/Makefile -+++ b/tools/python/Makefile -@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt - - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: -@@ -18,7 +18,7 @@ install: - - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ ----root="$(DESTDIR)" --force -+--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) - - $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +2
-2@@ -1,11 +1,11 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +1
-1- file://0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ "
LIC_FILES_CHKSUM?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"recipes-extended/xen/xen-tools_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"
SRC_URI= " \recipes-extended/xen/xen_4.15.bb renamed from recipes-extended/xen/xen_4.14.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"
SRC_URI= " \recipes-extended/xen/xen_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"Quoted 9 lines
Quoted 7 lines
SRC_URI= " \
--
2.25.1IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Quoted 6 lines
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek IIIMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Re: [meta-virtualization][PATCH 2/2] xen, xen-tools: upgrade version to latest 4.15
Hi Christopher,
Quoted 97 lines · Christopher Clark via lists.yoctoproject.org
Quoted 23 lines · Bertrand Marquis
Hi,
Quoted 20 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 15 lines · Bertrand Marquis
Hi Christopher,
Quoted 6 lines · Christopher Clark via lists.yoctoproject.org
Update the git recipes revision to the recent master branch point for starting 4.16 development.
Remove the xen-tools python patch for 4.14.
I do not think the 4.14 recipe should be removed as we decided a while ago that we should always have a recipe for:
- current release - 1
- current release
- masterQuoted 7 lines
Quoted 3 lines
I recall the discussion, but can't find my mailing list archive of it. If anyone has a pointer, I need to refresh my memory. See below for why.
After a discussion on IRC, we agreed with Bruce that the scheme that was decided last year was to have 2 versions + master so that we try not to break backward compatibility and give time for people to update.
Hi all, sorry for causing the surprise and thanks for the engagement with this. As you might imagine from my posting of the uprev patch, I didn't end up with quite the same understanding of the discussion but I agree with the proposed path forward.
Quoted 6 lines
Here as we are really near the release we should:
- add 4.15 recipe and bump master one
- keep 4.14 recipe and setPREFERRED_VERSIONto 4.14After branching hardknott we can change the preferred version to 4.15 on master
Agreed.
Quoted 2 lines
Also we need to put the outcome of our discussion that was written on wire inside a README file inside the Xen directory.
Yes - I agree.
Quoted 6 lines
@Christopher please confirm you agree with that and tell me if you want help to do it (as I do have in fact a patch available internally to do just that).
I have no access anymore to the wire discussion so one of you Bruce or Christopher will need to push the README file :-)
I can do this. We're going to need to update it slightly, following the discussion on this thread. Below is the section that we had regarding Xen version uprev. In current context for reading below, the latest stable version of Xen is now 4.15.
-----
# Xen version updateThe following rules shall be followed to define which version of Xen has a recipe in meta-virtualization:
- Before a Yocto release meta-virtualization shall have a recipe for the latest stable version of Xen and for master version of Xen (known as git recipe)
- On Yocto LTS and the latest stable Yocto release branch, the Xen major version that is present when the Yocto release is issued must stay supported and the recipe shall be regularly updated to follow updates available in the Xen stable branch for that Xen major release.
- On Yocto LTS and the latest stable Yocto release branch, new Xen recipes shall be added when there is a new Xen major release.
- The preferred version of the Xen recipe shall always stay at the same Xen major version once a Yocto release has been issued, and it shall receive regular updates to track the stable Xen branch of that Xen release.
- When a new Xen recipe is added to a Yocto branch for a new Xen
major version,
then any older Xen recipe present, except for the original
preferred version recipe,
shall be marked as not updated anymore by adding a comment
inside the recipe.
This recipe will not receive any build tests or be updated to
follow the Xen branch.
-----
Quoted 6 lines
The new development from this thread, to amend the above process, is when Xen issues a release in close proximity to a Yocto release, the prior stable major version of Xen (ie. 4.14 here) may remain the preferred version for the Yocto release, so will have a recipe present and set as preferred, alongside the recipe for the current stable release.
Yes I agree with this formulation.
It makes sense to put it in the README and not treat it as an exception as Xen release frequency is every 9 month so we will have this issue every 2 Xen releases :-).
Quoted 3 lines
I'll respin my patches.
I will review and test them once you have sent.
Thanks
Regards
Bertrand
Quoted 232 lines
thanks
Christopher
Quoted 225 lines
Cheers
BertrandQuoted 210 lines
Quoted 5 lines
More then that we have very near Hardknott release and meta-virtualization was not branched so this is a really bad idea to do a version bump right now.
I won't actually branch and declare meta-virt released for a couple of weeks after the Yocto release. It takes a bit of time for retesting and final stabilization. So there is some time, but yes, I'm not really doing much for uprev's that will land in the release (I have about 15 uprevs done locally as well that I'm deciding on). I can either run a master-next for a bit, or I'll branch earlier, if we have some changes that are better in tree.
Quoted 3 lines
I would suggest to:
- add recipes for Xen and Xen-tools 4.15
- set preferred version to 4.14From the Xen release pages I just read, there isn't a LTS release, is there ? (or did I miss it ?).
Without a LTS, I'd hesitate to support the three versions when we get into a timing issue like this (it hits me all the time with the kernel in oe-core). We only do that with the kernel in a given release due to LTS support. Otherwise, it would just be two: A tagged release + latest.
If 4.15 is not the preferred version, I'd prefer it to not be in the release at all, since it won't get much testing. If someone wants it, I'd just point them at master.
So my summary is, we can keep the three versions, but I'd suggest that 4.15 never lands in the hardknott branch, and only master. And for the fall, we'd have 4.15 + 4.16 + the git recipe for the latest. In that latter case, the patch as it stands is close to ok for master, and I'll just never put it into the hardknott branch.
Also, feel free to drop by #meta-virt to discuss more interactively.
Bruce
Quoted 157 lines
and after branching change the preferred version to 4.15 on master.
What do you think ?
Regards
BertrandQuoted 149 lines
Signed-off-by Christopher Clark <[email protected]>Signed-off-by Christopher Clark <[email protected]>---
...ython-pygrub-pass-DISTUTILS-xen-4.14.patch | 66 ------------------- .../{xen-tools_4.14.bb => xen-tools_4.15.bb} | 6 +- recipes-extended/xen/xen-tools_git.bb | 4 +- .../xen/{xen_4.14.bb => xen_4.15.bb} | 4 +- recipes-extended/xen/xen_git.bb | 4 +- 5 files changed, 9 insertions(+), 75 deletions(-)delete mode 100644
recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patchrename recipes-extended/xen/{xen-tools_4.14.bb => xen-tools_4.15.bb} (68%) rename recipes-extended/xen/{xen_4.14.bb => xen_4.15.bb} (85%)recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch deleted +0
-66@@ -1,66 +0,0 @@ -From d79dcc2002008c58683de82f06c168d6eea57991 Mon Sep 17 00:00:00 2001 -From: Maciej Pijanowski <[email protected]> -Date: Fri, 19 Oct 2018 11:01:37 +0200 -Subject: [PATCH] python,pygrub: pass DISTUTILS env vars as setup.py args - -Allow to respect the target install dir (PYTHON_SITEPACKAGES_DIR) -as well as other parameters set by the OpenEmbedded build system. -This is especially useful when the target libdir is not the default one -(/usr/lib), but for example /usr/lib64. - -Signed-off-by: Maciej Pijanowski <[email protected]> - -Forward-ported to Xen 4.12.0 -Signed-off-by: Christopher Clark <[email protected]> - -Modified to support pygrub installation with python 3 -Signed-off-by: Christopher Clark <[email protected]> - -Forward-ported to Xen 4.14.0 -Signed-off-by: Christopher Clark <[email protected]> -diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile -index 3063c49..513314b 100644 ---- a/tools/pygrub/Makefile -+++ b/tools/pygrub/Makefile -@@ -10,14 +10,17 @@ INSTALL_LOG = build/installed_files.txt - all: build - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: all - $(INSTALL_DIR) $(DESTDIR)/$(bindir) - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ -- --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force -+ --root="$(DESTDIR)" --install-scripts=$(LIBEXEC_BIN) --force \ -+ $(DISTUTILS_INSTALL_ARGS) -+rm -f $(DESTDIR)/$(LIBEXEC_BIN)/pygrub -+$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub - set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ - "`readlink -f $(DESTDIR)/$(bindir)`" != \ - "`readlink -f $(LIBEXEC_BIN)`" ]; then \ -diff --git a/tools/python/Makefile b/tools/python/Makefile -index 541858e..4d4a344 100644 ---- a/tools/python/Makefile -+++ b/tools/python/Makefile -@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt - - .PHONY: build - build: --CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build -+CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build $(DISTUTILS_BUILD_ARGS) - - .PHONY: install - install: -@@ -18,7 +18,7 @@ install: - - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) \ - setup.py install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ ----root="$(DESTDIR)" --force -+--root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) - - $(INSTALL_PYTHON_PROG) scripts/convert-legacy-stream $(DESTDIR)$(LIBEXEC_BIN) - $(INSTALL_PYTHON_PROG) scripts/verify-stream-v2 $(DESTDIR)$(LIBEXEC_BIN)recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +2
-2@@ -1,11 +1,11 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"
SRC_URI= " \
git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH}\recipes-extended/xen/xen-tools_4.15.bb renamed from recipes-extended/xen/xen-tools_4.14.bb +1
-1- file://0001-python-pygrub-pass-DISTUTILS-xen-4.14.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ "
LIC_FILES_CHKSUM?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5"recipes-extended/xen/xen-tools_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"
SRC_URI= " \recipes-extended/xen/xen_4.15.bb renamed from recipes-extended/xen/xen_4.14.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "ad844aa352559a8b1f36e391a27d9d7dbddbdc36" +SRCREV ?= "e25aa9939ae0cd8317605be3d5c5611b76bc4ab4" -XEN_REL ?= "4.14" +XEN_REL ?= "4.15"
XEN_BRANCH?= "stable-${XEN_REL}"
SRC_URI= " \recipes-extended/xen/xen_git.bb +2
-2@@ -1,6 +1,6 @@ -SRCREV ?= "9dc687f155a57216b83b17f9cde55dd43e06b0cd" +SRCREV ?= "e680cc48b7184d3489873d6776f84ba1fc238ced" -XEN_REL ?= "4.15" +XEN_REL ?= "4.16"
XEN_BRANCH?= "master"Quoted 9 lines
Quoted 7 lines
SRC_URI= " \
--
2.25.1IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Quoted 6 lines
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek IIIMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.