xfsdump: upgrade 3.1.7 -> 3.1.8
PATCH 1/2 xfsdump: upgrade 3.1.7 -> 3.1.8
Drop musl related patches since they had been merged upstream.
Signed-off-by Yi Zhao <[email protected]>
---
.../files/0001-Include-fcntl.h-for-O_EXCL.patch | 28 -----
...-c99-defined-int64_t-instead-of-__int64_t.patch | 28 -----
.../0002-Replace-__uint32_t-with-uint32_t.patch | 122 ---------------------
.../0003-replace-use-of-SIGCLD-with-SIGCHLD.patch | 40 -------
.../files/0004-include-limit.h-for-PATH_MAX.patch | 29 -----
...-types.h-for-u_int32_t-in-attr-attributes.patch | 27 -----
.../xfsdump/{xfsdump_3.1.7.bb => xfsdump_3.1.8.bb} | 10 +-
7 files changed, 2 insertions(+), 282 deletions(-)
delete mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch
delete mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch
delete mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch
delete mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0003-replace-use-of-SIGCLD-with-SIGCHLD.patch
delete mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0004-include-limit.h-for-PATH_MAX.patch
delete mode 100644 meta-filesystems/recipes-utils/xfsdump/files/0005-include-sys-types.h-for-u_int32_t-in-attr-attributes.patch
rename meta-filesystems/recipes-utils/xfsdump/{xfsdump_3.1.7.bb => xfsdump_3.1.8.bb} (69%)meta-filesystems/recipes-utils/xfsdump/files/0001-Include-fcntl.h-for-O_EXCL.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 8cf48da5f645dd7bbb1ccbeab5bb0964f40f17f7 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 13 Jul 2017 23:18:47 -0700 -Subject: [PATCH 1/5] Include fcntl.h for O_EXCL - -Fix -error: 'O_CREAT' undeclared (first use in this function) - -Signed-off-by: Khem Raj <[email protected]> ---- - invutil/invidx.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/invutil/invidx.c b/invutil/invidx.c -index 67efdf7..325a9a1 100644 ---- a/invutil/invidx.c -+++ b/invutil/invidx.c -@@ -27,6 +27,7 @@ - #include <sys/stat.h> - #include <string.h> - #include <uuid/uuid.h> -+#include <fcntl.h> - - #include "types.h" - #include "mlog.h" --- -2.13.2 -
meta-filesystems/recipes-utils/xfsdump/files/0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From f1e822d546e08cc195eaeb38ca172bd0c3800aa9 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 9 Sep 2017 07:48:48 -0700 -Subject: [PATCH] xfsdump: Use c99 defined int64_t instead of __int64_t - -Signed-off-by: Khem Raj <[email protected]> ---- -Upstream-Status: Submitted - - common/hsmapi.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/common/hsmapi.c b/common/hsmapi.c -index 6054773..0709dbe 100644 ---- a/common/hsmapi.c -+++ b/common/hsmapi.c -@@ -585,7 +585,7 @@ HsmModifyExtentMap( - struct getbmapx *bmap) - { - dmf_f_ctxt_t *dmf_f_ctxtp = (dmf_f_ctxt_t *)contextp; -- __int64_t length; -+ int64_t length; - - if (bmap[0].bmv_entries <= 0) { - return 1; /* caller must already be at EOF */ --- -2.14.1 -
meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch deleted +0 -122
122 lines not on this page · raw message
meta-filesystems/recipes-utils/xfsdump/files/0003-replace-use-of-SIGCLD-with-SIGCHLD.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From fcc0cf15a309947103a0695b8a1f4865b820eb5c Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 13 Jul 2017 23:26:03 -0700 -Subject: [PATCH 3/5] replace use of SIGCLD with SIGCHLD - -Signed-off-by: Khem Raj <[email protected]> ---- - common/main.c | 2 +- - doc/xfsdump.html | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/common/main.c b/common/main.c -index 3848499..faa66ee 100644 ---- a/common/main.c -+++ b/common/main.c -@@ -2225,7 +2225,7 @@ static sig_printmap_t sig_printmap[ ] = { - {SIGTERM, "SIGTERM"}, - {SIGUSR1, "SIGUSR1"}, - {SIGUSR2, "SIGUSR2"}, -- {SIGCLD, "SIGCLD"}, -+ {SIGCHLD, "SIGCHLD"}, - {SIGPWR, "SIGPWR"}, - {SIGURG, "SIGURG"}, - {SIGPOLL, "SIGPOLL"}, -diff --git a/doc/xfsdump.html b/doc/xfsdump.html -index f85128f..d96f037 100644 ---- a/doc/xfsdump.html -+++ b/doc/xfsdump.html -@@ -334,7 +334,7 @@ the ring buffer. It ignores signals and does not terminate until it - receives a RING_OP_DIE message. It then exits 0. - <p> - The main process sleeps waiting for any of its children to die --(ie. waiting for a SIGCLD). All children that it cares about (stream -+(ie. waiting for a SIGCHLD). All children that it cares about (stream - managers and ring buffer slaves) are registered through the child - manager abstraction. When a child dies wait status and other info is - stored with its entry in the child manager. main() ignores the deaths --- -2.13.2 -
meta-filesystems/recipes-utils/xfsdump/files/0004-include-limit.h-for-PATH_MAX.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 98c7d96f0f2c6eddf60aa4a1a08d7d4467645930 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 13 Jul 2017 23:28:10 -0700 -Subject: [PATCH 4/5] include limit.h for PATH_MAX - -fixed -var.c:42:12: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'RAND_MAX'? - char path[PATH_MAX];` - -Signed-off-by: Khem Raj <[email protected]> ---- - dump/var.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/dump/var.c b/dump/var.c -index 645caab..8156d37 100644 ---- a/dump/var.c -+++ b/dump/var.c -@@ -16,6 +16,7 @@ - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -+#include <limits.h> - #include <unistd.h> - #include <stdlib.h> - #include <sys/stat.h> --- -2.13.2 -
meta-filesystems/recipes-utils/xfsdump/files/0005-include-sys-types.h-for-u_int32_t-in-attr-attributes.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From d95f494de1aa8123c74170ffebaed8ea89649da2 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Thu, 13 Jul 2017 23:33:44 -0700 -Subject: [PATCH 5/5] include sys/types.h for u_int32_t in attr/attributes.h - -error: unknown type name 'u_int32_t' - -Signed-off-by: Khem Raj <[email protected]> ---- - restore/content.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/restore/content.c b/restore/content.c -index 7c4a81f..1d5de1b 100644 ---- a/restore/content.c -+++ b/restore/content.c -@@ -24,6 +24,7 @@ - #include <sys/param.h> - #include <sys/stat.h> - #include <sys/ioctl.h> -+#include <sys/types.h> - #include <attr/attributes.h> - #include <xfs/handle.h> - #include <time.h> --- -2.13.2 -
meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.8.bb renamed from meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb +2 -8
@@ -12,15 +12,9 @@ DEPENDS = "xfsprogs attr" SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/${BP}.tar.xz \ file://remove-install-as-user.patch \ - file://0001-Include-fcntl.h-for-O_EXCL.patch \ - file://0002-Replace-__uint32_t-with-uint32_t.patch \ - file://0003-replace-use-of-SIGCLD-with-SIGCHLD.patch \ - file://0004-include-limit.h-for-PATH_MAX.patch \ - file://0005-include-sys-types.h-for-u_int32_t-in-attr-attributes.patch \ - file://0001-xfsdump-Use-c99-defined-int64_t-instead-of-__int64_t.patch \ " -SRC_URI[md5sum] = "c6e91f2ac8b76c796db2d236f5ca5947" -SRC_URI[sha256sum] = "99e6d4df257ebc6d29ca9e970ca20672c2ea03481ad949bc68f98de3e4d56dce" +SRC_URI[md5sum] = "84d3bc287b4a2bb5d16b2320a47049a7" +SRC_URI[sha256sum] = "ed14e67ae5b273c2698e767b43a46f033d361e540fe13feaaf9b110ee0edc585" inherit autotools-brokensep
Signature · 1 line
2.7.4
PATCH 2/2 aufs-util: upgrade 4.4 -> 4.9
Drop 0001-libau-Define-STRIP-weakly.patch since it had been merged upstream.
Signed-off-by Yi Zhao <[email protected]>
--- .../aufs-util/0001-libau-Define-STRIP-weakly.patch | 37 ---------------------- .../recipes-utils/aufs-util/aufs-util_git.bb | 13 ++++---- 2 files changed, 6 insertions(+), 44 deletions(-) delete mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/0001-libau-Define-STRIP-weakly.patch
meta-filesystems/recipes-utils/aufs-util/aufs-util/0001-libau-Define-STRIP-weakly.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From daf04dc9ca1f2e4c65ec338ab439e0a792e1a8ac Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Tue, 5 Sep 2017 10:36:52 -0700 -Subject: [PATCH] libau: Define STRIP weakly - -STRIP can be set on environment to use cross version of strip utility -hardcoding to strip is not working in cross environment - -Upstream-Status: Submitted - -Signed-off-by: Khem Raj <[email protected]> - ---- - libau/Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/libau/Makefile b/libau/Makefile -index 81520ac..c25eef2 100644 ---- a/libau/Makefile -+++ b/libau/Makefile -@@ -25,6 +25,7 @@ LibSoHdr = libau.h rdu.h - LibSoExport = $(addsuffix .exp, $(basename ${LibSoObj})) - LibSoExportErr = $(addsuffix .err, ${LibSoExport}) - LibSoVerScript = verscript -+STRIP ?= strip - - all: ${LibSo} - -@@ -77,7 +78,7 @@ ${LibSo}.${LibSoMajor}.${LibSoMinor}: ${LibSoObj} - ${CC} --shared -Wl,-soname,${LibSo}.${LibSoMajor} \ - -Wl,--version-script,${LibSoVerScript} \ - ${LDFLAGS} -o $@ $^ ${LDLIBS} -- strip -R EXP $@ -+ ${STRIP} -R EXP $@ - # readelf --syms --use-dynamic libau.so - - install_ulib: File = ${LibSo}.${LibSoMajor}.${LibSoMinor}
meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb +6 -7
@@ -7,19 +7,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" DEPENDS = "coreutils-native aufs-util-native" DEPENDS_class-native = "" -SRCREV = "89afb1806c3d2eed8db2666ae254b77518ae3ceb" -SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs4.4 \ - https://raw.githubusercontent.com/sfjro/aufs4-linux/aufs4.4/include/uapi/linux/aufs_type.h;name=aufs_type \ +SRCREV = "568636e5c45006b1e6e0c4b704401610a02c0089" +SRC_URI = "git://git.code.sf.net/p/aufs/aufs-util;protocol=git;branch=aufs4.9 \ + https://raw.githubusercontent.com/sfjro/aufs4-linux/aufs4.9/include/uapi/linux/aufs_type.h;name=aufs_type \ file://aufs-util-don-t-strip-executables.patch \ file://aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch \ - file://0001-libau-Define-STRIP-weakly.patch \ " -SRC_URI[aufs_type.md5sum] = "f7b4a255dcb55fe7b0967f5f59b44f19" -SRC_URI[aufs_type.sha256sum] = "85bc8e4c1a94a7d526c382e4b047b4256cab8c4a65fc0396291707ad9a327a18" +SRC_URI[aufs_type.md5sum] = "b37129ef0703de72a852db7e48bdedc6" +SRC_URI[aufs_type.sha256sum] = "7ff6566adb9c7a3b6862cdc85a690ab546f1d0bc81ddd595fd663c0a69031683" UPSTREAM_CHECK_COMMITS = "1" -PV = "4.4+git${SRCPV}" +PV = "4.9+git${SRCPV}" S = "${WORKDIR}/git"
Signature · 1 line
2.7.4