diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-06-14 09:26:18 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-06-15 16:46:50 -0700 |
commit | 9e58f66e355e9f3d51e9a9808be767e829e8a23d (patch) | |
tree | 7397509dc1e38703d4e81af314d437582e9c4c76 /meta-filesystems | |
parent | 465fb7940c8e5232c6b585c80160719ef24215bb (diff) | |
download | meta-openembedded-9e58f66e355e9f3d51e9a9808be767e829e8a23d.tar.gz |
xfsprogs: upgrade 4.18.0 -> 5.0.0
Rebase 0001-build-Check-for-sync_file_range-libc-function.patch.
Remove disable-xfs_scrub-build.patch as the xfs_scrub build is
config-optional now. Add option '--enable-scrub=no' to EXTRA_OECONF to
disable build the experimental xfs_scrub utility.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems')
-rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/files/0001-build-Check-for-sync_file_range-libc-function.patch | 16 | ||||
-rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/files/disable-xfs_scrub-build.patch | 30 | ||||
-rw-r--r-- | meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.0.0.bb (renamed from meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.18.0.bb) | 6 |
3 files changed, 11 insertions, 41 deletions
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/0001-build-Check-for-sync_file_range-libc-function.patch b/meta-filesystems/recipes-utils/xfsprogs/files/0001-build-Check-for-sync_file_range-libc-function.patch index 231da806c..b5071aea6 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/files/0001-build-Check-for-sync_file_range-libc-function.patch +++ b/meta-filesystems/recipes-utils/xfsprogs/files/0001-build-Check-for-sync_file_range-libc-function.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f8a22f16c03e51d3c779b12f37d362faaa0ecf31 Mon Sep 17 00:00:00 2001 | 1 | From 1a4c9ebbb8731f2e3631d77b7eeaf3c373141d88 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 31 Jan 2018 21:28:53 -0800 | 3 | Date: Wed, 31 Jan 2018 21:28:53 -0800 |
4 | Subject: [PATCH] build: Check for sync_file_range libc function | 4 | Subject: [PATCH] build: Check for sync_file_range libc function |
@@ -16,10 +16,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
16 | 4 files changed, 9 insertions(+), 2 deletions(-) | 16 | 4 files changed, 9 insertions(+), 2 deletions(-) |
17 | 17 | ||
18 | diff --git a/include/builddefs.in b/include/builddefs.in | 18 | diff --git a/include/builddefs.in b/include/builddefs.in |
19 | index b895949..a388c83 100644 | 19 | index d38dc7e..706eca6 100644 |
20 | --- a/include/builddefs.in | 20 | --- a/include/builddefs.in |
21 | +++ b/include/builddefs.in | 21 | +++ b/include/builddefs.in |
22 | @@ -95,6 +95,7 @@ HAVE_FIEMAP = @have_fiemap@ | 22 | @@ -94,6 +94,7 @@ HAVE_FIEMAP = @have_fiemap@ |
23 | HAVE_PREADV = @have_preadv@ | 23 | HAVE_PREADV = @have_preadv@ |
24 | HAVE_PWRITEV2 = @have_pwritev2@ | 24 | HAVE_PWRITEV2 = @have_pwritev2@ |
25 | HAVE_COPY_FILE_RANGE = @have_copy_file_range@ | 25 | HAVE_COPY_FILE_RANGE = @have_copy_file_range@ |
@@ -28,11 +28,11 @@ index b895949..a388c83 100644 | |||
28 | HAVE_SYNCFS = @have_syncfs@ | 28 | HAVE_SYNCFS = @have_syncfs@ |
29 | HAVE_READDIR = @have_readdir@ | 29 | HAVE_READDIR = @have_readdir@ |
30 | diff --git a/io/Makefile b/io/Makefile | 30 | diff --git a/io/Makefile b/io/Makefile |
31 | index 00ede48..dd001b0 100644 | 31 | index 484e2b5..2751dcb 100644 |
32 | --- a/io/Makefile | 32 | --- a/io/Makefile |
33 | +++ b/io/Makefile | 33 | +++ b/io/Makefile |
34 | @@ -60,10 +60,13 @@ CFILES += inject.c resblks.c | 34 | @@ -53,10 +53,13 @@ else |
35 | LCFLAGS += -DHAVE_INJECT -DHAVE_RESBLKS | 35 | LSRCFILES += fiemap.c |
36 | endif | 36 | endif |
37 | 37 | ||
38 | -ifeq ($(HAVE_COPY_FILE_RANGE),yes) | 38 | -ifeq ($(HAVE_COPY_FILE_RANGE),yes) |
@@ -47,10 +47,10 @@ index 00ede48..dd001b0 100644 | |||
47 | ifeq ($(HAVE_SYNC_FILE_RANGE),yes) | 47 | ifeq ($(HAVE_SYNC_FILE_RANGE),yes) |
48 | CFILES += sync_file_range.c | 48 | CFILES += sync_file_range.c |
49 | diff --git a/io/io.h b/io/io.h | 49 | diff --git a/io/io.h b/io/io.h |
50 | index e1f3d95..fe2e6a2 100644 | 50 | index 6469179..678b3d7 100644 |
51 | --- a/io/io.h | 51 | --- a/io/io.h |
52 | +++ b/io/io.h | 52 | +++ b/io/io.h |
53 | @@ -151,7 +151,7 @@ extern void fiemap_init(void); | 53 | @@ -146,7 +146,7 @@ extern void fiemap_init(void); |
54 | #define fiemap_init() do { } while (0) | 54 | #define fiemap_init() do { } while (0) |
55 | #endif | 55 | #endif |
56 | 56 | ||
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/disable-xfs_scrub-build.patch b/meta-filesystems/recipes-utils/xfsprogs/files/disable-xfs_scrub-build.patch deleted file mode 100644 index c07b4b50b..000000000 --- a/meta-filesystems/recipes-utils/xfsprogs/files/disable-xfs_scrub-build.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 2bd40e5ed4df0b0a42beff8806b1ec5daa372c48 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Thu, 19 Jul 2018 16:49:41 +0800 | ||
4 | Subject: [PATCH] Disable xfs_scrub build | ||
5 | |||
6 | Disable xfs_scrub build since it is experimental. | ||
7 | |||
8 | Upstream-Status: Inappropriate [embedded specific] | ||
9 | |||
10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
11 | --- | ||
12 | Makefile | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/Makefile b/Makefile | ||
16 | index 7ddfa31..cd60319 100644 | ||
17 | --- a/Makefile | ||
18 | +++ b/Makefile | ||
19 | @@ -48,7 +48,7 @@ LIBFROG_SUBDIR = libfrog | ||
20 | DLIB_SUBDIRS = libxlog libxcmd libhandle | ||
21 | LIB_SUBDIRS = libxfs $(DLIB_SUBDIRS) | ||
22 | TOOL_SUBDIRS = copy db estimate fsck growfs io logprint mkfs quota \ | ||
23 | - mdrestore repair rtcp m4 man doc debian spaceman scrub | ||
24 | + mdrestore repair rtcp m4 man doc debian spaceman | ||
25 | |||
26 | ifneq ("$(PKG_PLATFORM)","darwin") | ||
27 | TOOL_SUBDIRS += fsr | ||
28 | -- | ||
29 | 2.7.4 | ||
30 | |||
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.18.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.0.0.bb index 931c64a14..188c56680 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.18.0.bb +++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_5.0.0.bb | |||
@@ -9,12 +9,11 @@ DEPENDS = "util-linux util-linux-native" | |||
9 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ | 9 | SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ |
10 | file://remove_flags_from_build_flags.patch \ | 10 | file://remove_flags_from_build_flags.patch \ |
11 | file://0001-build-Check-for-sync_file_range-libc-function.patch \ | 11 | file://0001-build-Check-for-sync_file_range-libc-function.patch \ |
12 | file://disable-xfs_scrub-build.patch \ | ||
13 | file://0001-Check-for-MAP_SYNC-in-sys-mman.h.patch \ | 12 | file://0001-Check-for-MAP_SYNC-in-sys-mman.h.patch \ |
14 | file://0002-include-include-xfs-linux.h-after-sys-mman.h.patch \ | 13 | file://0002-include-include-xfs-linux.h-after-sys-mman.h.patch \ |
15 | " | 14 | " |
16 | SRC_URI[md5sum] = "5f80b631b68df89a8b9283307e96d2e8" | 15 | SRC_URI[md5sum] = "b6acc4aa93a952595fc8f2e7447be6f2" |
17 | SRC_URI[sha256sum] = "397dc96f51aeeff73d021d3418d3172377b2685f2740ca60525096c070aa3df1" | 16 | SRC_URI[sha256sum] = "fcc2e6478aed55408a341567c0459f514e575296d8827d9004cae8aa0367dc4a" |
18 | 17 | ||
19 | inherit autotools-brokensep | 18 | inherit autotools-brokensep |
20 | 19 | ||
@@ -31,6 +30,7 @@ FILES_${PN}-repair = "${base_sbindir}/xfs_repair" | |||
31 | FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}" | 30 | FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}" |
32 | 31 | ||
33 | EXTRA_OECONF = "--enable-gettext=no \ | 32 | EXTRA_OECONF = "--enable-gettext=no \ |
33 | --enable-scrub=no \ | ||
34 | INSTALL_USER=root \ | 34 | INSTALL_USER=root \ |
35 | INSTALL_GROUP=root \ | 35 | INSTALL_GROUP=root \ |
36 | ac_cv_header_aio_h=yes \ | 36 | ac_cv_header_aio_h=yes \ |