From d9dc99282fa4a7dfce861f64e792b1a8307a4a8c Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Sat, 27 May 2023 13:47:53 -0700 Subject: xen, xen-tools: Update git recipe revision for gcc 13 compatibility Adds an update for the python/pygrub environment patch for the current Xen 4.18 development tree. Signed-off-by: Christopher Clark Signed-off-by: Bruce Ashfield --- ...001-python-pygrub-pass-DISTUTILS-xen-4.18.patch | 41 ++++++++++++++++++++++ recipes-extended/xen/xen-tools_git.bb | 7 ++-- recipes-extended/xen/xen_git.bb | 4 +-- 3 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch diff --git a/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch b/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch new file mode 100644 index 00000000..3c7a97db --- /dev/null +++ b/recipes-extended/xen/files/0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch @@ -0,0 +1,41 @@ +diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile +index 4963bc89c6..c1c05eb421 100644 +--- a/tools/pygrub/Makefile ++++ b/tools/pygrub/Makefile +@@ -13,14 +13,14 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA + all: build + .PHONY: build + build: +- $(setup.py) build ++ $(setup.py) build $(DISTUTILS_BUILD_ARGS) + + .PHONY: install + install: all + $(INSTALL_DIR) $(DESTDIR)/$(bindir) + $(INSTALL_DIR) $(DESTDIR)/$(LIBEXEC_BIN) + $(setup.py) install --record $(INSTALL_LOG) $(PYTHON_PREFIX_ARG) \ +- --root="$(DESTDIR)" --force ++ --root="$(DESTDIR)" --force $(DISTUTILS_INSTALL_ARGS) + $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(LIBEXEC_BIN)/pygrub + set -e; if [ $(bindir) != $(LIBEXEC_BIN) -a \ + "`readlink -f $(DESTDIR)/$(bindir)`" != \ +diff --git a/tools/python/Makefile b/tools/python/Makefile +index 437431c48e..0a99c2067e 100644 +--- a/tools/python/Makefile ++++ b/tools/python/Makefile +@@ -16,13 +16,13 @@ setup.py = CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDSHARED="$(CC)" LDFLAGS="$(PY_LDFLA + + .PHONY: build + build: +- $(setup.py) build ++ $(setup.py) build $(DISTUTILS_BUILD_ARGS) + + .PHONY: install + install: + $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) + $(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) + diff --git a/recipes-extended/xen/xen-tools_git.bb b/recipes-extended/xen/xen-tools_git.bb index 7557081f..a71157a4 100644 --- a/recipes-extended/xen/xen-tools_git.bb +++ b/recipes-extended/xen/xen-tools_git.bb @@ -1,13 +1,12 @@ -# master status on 2022-12-29 -SRCREV ?= "7eef80e06ed2282bbcec3619d860c6aacb0515d8" +# master status on 2023-05-26 +SRCREV ?= "380c6c170393c48852d4f2b1ea97125a399cfc61" XEN_REL ?= "4.18" XEN_BRANCH ?= "master" SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ - file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ - file://0001-tools-xenstore-xenstored_control.c-correctly-print-t.patch \ + file://0001-python-pygrub-pass-DISTUTILS-xen-4.18.patch \ " LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" diff --git a/recipes-extended/xen/xen_git.bb b/recipes-extended/xen/xen_git.bb index 99490061..7ed89771 100644 --- a/recipes-extended/xen/xen_git.bb +++ b/recipes-extended/xen/xen_git.bb @@ -1,5 +1,5 @@ -# master status on 2022-12-29 -SRCREV ?= "e4a5fb9227889bec99ab212b839680f4d5b51e60" +# master status on 2023-05-26 +SRCREV ?= "380c6c170393c48852d4f2b1ea97125a399cfc61" XEN_REL ?= "4.18" XEN_BRANCH ?= "master" -- cgit v1.2.3-54-g00ecf