ostree: Upgrade 2019.5 -> 2019.6
PATCH 1/1 ostree: Upgrade 2019.5 -> 2019.6
Drop all patches as they now exist upstream. Add tar to the dependencies for ptest as this is required when running with libarchive enabled (and the busybox version doesn't suffice).
Signed-off-by Alex Kiernan <[email protected]>
---
...tion-when-building-outside-of-source.patch | 33 ----------
...-ostree_boot_SCRIPTS-and-append-valu.patch | 60 -------------------
...ate-tests-directory-for-split-builds.patch | 43 -------------
...cros-Add-TEMP_FAILURE_RETRY-for-musl.patch | 40 -------------
...-EPIPE-failures-when-head-terminates.patch | 51 ----------------
...-core-Fallback-to-en_US.UTF-8-locale.patch | 42 -------------
...ests-repo-finder-Run-realpath-on-tmp.patch | 44 --------------
...Assume-C.UTF-8-if-locale-isn-t-found.patch | 40 -------------
...3-tests-Avoid-musl-failure-with-cp-a.patch | 52 ----------------
.../{ostree_2019.5.bb => ostree_2019.6.bb} | 12 +---
10 files changed, 2 insertions(+), 415 deletions(-)
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-Avoid-race-condition-when-building-outside-of-source.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-Makefile-declare-ostree_boot_SCRIPTS-and-append-valu.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-build-create-tests-directory-for-split-builds.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-macros-Add-TEMP_FAILURE_RETRY-for-musl.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-tests-Handle-EPIPE-failures-when-head-terminates.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-tests-core-Fallback-to-en_US.UTF-8-locale.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0001-tests-repo-finder-Run-realpath-on-tmp.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0002-tests-core-Assume-C.UTF-8-if-locale-isn-t-found.patch
delete mode 100644 meta-oe/recipes-extended/ostree/ostree/0003-tests-Avoid-musl-failure-with-cp-a.patch
rename meta-oe/recipes-extended/ostree/{ostree_2019.5.bb => ostree_2019.6.bb} (90%)meta-oe/recipes-extended/ostree/ostree/0001-Avoid-race-condition-when-building-outside-of-source.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 77b27c07df2bdff86945766a4728b6012062535c Mon Sep 17 00:00:00 2001 -From: Stefan Agner <[email protected]> -Date: Tue, 26 Nov 2019 09:20:30 +0100 -Subject: [PATCH] Avoid race condition when building outside of source tree - -When building outside of source tree it can happen that src/ostree/ -does not exist (yet) when bison is called. This leads to an build -error like so: - bison: src/ostree/parse-datetime.c: cannot open: No such file or directory - -Make sure that src/ostree/ exists when parse-datetime.c is built. - -Signed-off-by: Alex Kiernan <[email protected]> -Upstream-Status: Backport ---- - Makefile-ostree.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile-ostree.am b/Makefile-ostree.am -index 76f39cad4b74..f861afe42168 100644 ---- a/Makefile-ostree.am -+++ b/Makefile-ostree.am -@@ -123,6 +123,7 @@ ostree_SOURCES += src/ostree/ot-remote-builtin-add-cookie.c \ - endif - - src/ostree/parse-datetime.c: src/ostree/parse-datetime.y Makefile -+ mkdir -p src/ostree/ - $(AM_V_GEN) $(YACC) $< -o $@ - - EXTRA_DIST += src/ostree/parse-datetime.y --- -2.17.1 -
meta-oe/recipes-extended/ostree/ostree/0001-Makefile-declare-ostree_boot_SCRIPTS-and-append-valu.patch deleted +0 -60
60 lines not on this page · raw message
meta-oe/recipes-extended/ostree/ostree/0001-build-create-tests-directory-for-split-builds.patch deleted +0 -43
43 lines not on this page · raw message
meta-oe/recipes-extended/ostree/ostree/0001-macros-Add-TEMP_FAILURE_RETRY-for-musl.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 5a4f2ddb0a6c656b425a3caa41f5af766ed5f44b Mon Sep 17 00:00:00 2001 -From: Alex Kiernan <[email protected]> -Date: Mon, 9 Sep 2019 14:19:18 +0100 -Subject: [PATCH] macros: Add TEMP_FAILURE_RETRY for musl - -TEMP_FAILURE_RETRY is glibc specific, add a definition for musl. - -See https://github.com/ostreedev/ostree/issues/731 - -Signed-off-by: Leon Woestenberg <[email protected]> -Signed-off-by: Alex Kiernan <[email protected]> -Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/libglnx/commit/15c06468804014fc49f6f340132930703f919b19] ---- - glnx-macros.h | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/libglnx.glnx-macros.h b/libglnx/glnx-macros.h -index 6d8aca93f8a3..700fc75ceed0 100644 ---- a/libglnx.glnx-macros.h -+++ b/libglnx/glnx-macros.h -@@ -31,6 +31,16 @@ G_BEGIN_DECLS - /* All of these are for C only. */ - #ifndef __GI_SCANNER__ - -+/* fixes builds against musl, taken from glibc unistd.h */ -+#ifndef TEMP_FAILURE_RETRY -+#define TEMP_FAILURE_RETRY(expression) \ -+ (__extension__ \ -+ ({ long int __result; \ -+ do __result = (long int) (expression); \ -+ while (__result == -1L && errno == EINTR); \ -+ __result; })) -+#endif -+ - /* Taken from https://github.com/systemd/systemd/src/basic/string-util.h - * at revision v228-666-gcf6c8c4 - */ --- -2.17.1 -
meta-oe/recipes-extended/ostree/ostree/0001-tests-Handle-EPIPE-failures-when-head-terminates.patch deleted +0 -51
51 lines not on this page · raw message
meta-oe/recipes-extended/ostree/ostree/0001-tests-core-Fallback-to-en_US.UTF-8-locale.patch deleted +0 -42
42 lines not on this page · raw message
meta-oe/recipes-extended/ostree/ostree/0001-tests-repo-finder-Run-realpath-on-tmp.patch deleted +0 -44
44 lines not on this page · raw message
meta-oe/recipes-extended/ostree/ostree/0002-tests-core-Assume-C.UTF-8-if-locale-isn-t-found.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 3d48021fb0892721fab8359b49470e521aaed493 Mon Sep 17 00:00:00 2001 -From: Alex Kiernan <[email protected]> -Date: Thu, 31 Oct 2019 11:28:07 +0000 -Subject: [PATCH 2/3] tests/core: Assume C.UTF-8 if locale isn't found - -When building with musl there's no locale command, also its default -locale is C.UTF-8, so just get C.UTF-8 if we can't find locale. - -Signed-off-by: Alex Kiernan <[email protected]> -Upstream-Status: Accepted [v2019.6] ---- - tests/libtest-core.sh | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -diff --git a/tests/libtest-core.sh b/tests/libtest-core.sh -index bc191332c916..46aafab03cc8 100644 ---- a/tests/libtest-core.sh -+++ b/tests/libtest-core.sh -@@ -37,9 +37,15 @@ assert_not_reached () { - # Some tests look for specific English strings. Use a UTF-8 version - # of the C (POSIX) locale if we have one, or fall back to en_US.UTF-8 - # (https://sourceware.org/glibc/wiki/Proposals/C.UTF-8) --export LC_ALL=$(locale -a | grep -Ee '\.(UTF-8|utf8)' | grep -iEe '^(C|en_US)' | head -1 || true) --if [ -z "${LC_ALL}" ]; then fatal "Can't find suitable UTF-8 locale"; fi -- -+# -+# If we can't find the locale command assume we have support for C.UTF-8 -+# (e.g. musl based systems) -+if type -p locale >/dev/null; then -+ export LC_ALL=$(locale -a | grep -Ee '\.(UTF-8|utf8)' | grep -iEe '^(C|en_US)' | head -1 || true) -+ if [ -z "${LC_ALL}" ]; then fatal "Can't find suitable UTF-8 locale"; fi -+else -+ export LC_ALL=C.UTF-8 -+fi - # A GNU extension, used whenever LC_ALL is not C - unset LANGUAGE - --- -2.17.1 -
meta-oe/recipes-extended/ostree/ostree/0003-tests-Avoid-musl-failure-with-cp-a.patch deleted +0 -52
52 lines not on this page · raw message
meta-oe/recipes-extended/ostree/ostree_2019.6.bb renamed from meta-oe/recipes-extended/ostree/ostree_2019.5.bb +2 -10
@@ -24,18 +24,9 @@ PREMIRRORS = "" SRC_URI = " \ gitsm://github.com/ostreedev/ostree \ - file://0001-macros-Add-TEMP_FAILURE_RETRY-for-musl.patch \ file://run-ptest \ - file://0001-tests-core-Fallback-to-en_US.UTF-8-locale.patch \ - file://0001-tests-Handle-EPIPE-failures-when-head-terminates.patch \ - file://0002-tests-core-Assume-C.UTF-8-if-locale-isn-t-found.patch \ - file://0003-tests-Avoid-musl-failure-with-cp-a.patch \ - file://0001-build-create-tests-directory-for-split-builds.patch \ - file://0001-Makefile-declare-ostree_boot_SCRIPTS-and-append-valu.patch \ - file://0001-Avoid-race-condition-when-building-outside-of-source.patch \ - file://0001-tests-repo-finder-Run-realpath-on-tmp.patch \ " -SRCREV = "980ca07b03b3aa7e0012729dd6c84b0878775d93" +SRCREV = "43706202f7de2ce0c829a46caab350ae1656f6ad" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+)"
@@ -176,6 +167,7 @@ RDEPENDS_${PN}-ptest += " \ python3-core \ python3-multiprocessing \ python3-pyyaml \ + tar \ ${PN}-trivial-httpd \ " RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils glibc-localedata-en-us"
Signature · 1 line
2.17.1