diff options
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch | 42 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb (renamed from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb) | 3 |
9 files changed, 63 insertions, 26 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc index 0cb3f0e6a6..cce6e5f1ac 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs.inc | |||
@@ -20,7 +20,6 @@ SECTION = "base" | |||
20 | DEPENDS = "util-linux attr autoconf-archive-native" | 20 | DEPENDS = "util-linux attr autoconf-archive-native" |
21 | 21 | ||
22 | SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https" | 22 | SRC_URI = "git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git;branch=master;protocol=https" |
23 | S = "${WORKDIR}/git" | ||
24 | 23 | ||
25 | inherit autotools gettext texinfo pkgconfig multilib_header update-alternatives ptest | 24 | inherit autotools gettext texinfo pkgconfig multilib_header update-alternatives ptest |
26 | 25 | ||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch new file mode 100644 index 0000000000..01ab9d5afb --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 72dcef02bee9924c4d5b3dc6e7ef4d07becebcc6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rudi Heitbaum <rudi@heitbaum.com> | ||
3 | Date: Fri, 22 Nov 2024 12:36:32 +0000 | ||
4 | Subject: [PATCH] libext2fs: fix -std=c23 build failure | ||
5 | |||
6 | gcc-15 switched to -std=c23 by default: | ||
7 | |||
8 | https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212 | ||
9 | |||
10 | As a result `e2fsprogs` fails the build so only typedef int bool | ||
11 | for __STDC_VERSION__ <= 201710L (C17) | ||
12 | |||
13 | ../../../lib/ext2fs/tdb.c:113:13: error: two or more data types in declaration specifiers | ||
14 | ../../../lib/ext2fs/tdb.c:113:1: warning: useless type name in empty declaration | ||
15 | 113 | typedef int bool; | ||
16 | | ^~~~~~~ | ||
17 | |||
18 | https://github.com/tytso/e2fsprogs/issues/202 | ||
19 | |||
20 | Upstream-Status: Backport [https://github.com/tytso/e2fsprogs/commit/49fd04d77b3244c6c6990be41142168eef373aef] | ||
21 | Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com> | ||
22 | Link: https://lore.kernel.org/r/Z0B60JhdvT9bpSQ6@6f91903e89da | ||
23 | Signed-off-by: Theodore Ts'o <tytso@mit.edu> | ||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
25 | --- | ||
26 | lib/ext2fs/tdb.c | 2 ++ | ||
27 | 1 file changed, 2 insertions(+) | ||
28 | |||
29 | diff --git a/lib/ext2fs/tdb.c b/lib/ext2fs/tdb.c | ||
30 | index b07b2917..98dc95d8 100644 | ||
31 | --- a/lib/ext2fs/tdb.c | ||
32 | +++ b/lib/ext2fs/tdb.c | ||
33 | @@ -110,7 +110,9 @@ static char *rep_strdup(const char *s) | ||
34 | #endif | ||
35 | #endif | ||
36 | |||
37 | +#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L | ||
38 | typedef int bool; | ||
39 | +#endif | ||
40 | |||
41 | #include "tdb.h" | ||
42 | |||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch index b038e61eb7..4cd1098597 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5bc75654690a2d916190168b865770a7c93e65dd Mon Sep 17 00:00:00 2001 | 1 | From 1c7078fda6d23f1d80b0d95ac3e908364749e188 Mon Sep 17 00:00:00 2001 |
2 | From: Jackie Huang <jackie.huang@windriver.com> | 2 | From: Jackie Huang <jackie.huang@windriver.com> |
3 | Date: Wed, 10 Aug 2016 11:19:44 +0800 | 3 | Date: Wed, 10 Aug 2016 11:19:44 +0800 |
4 | Subject: [PATCH] Fix missing check for permission denied. | 4 | Subject: [PATCH] Fix missing check for permission denied. |
@@ -13,7 +13,6 @@ Upstream-Status: Pending | |||
13 | Written-by: Henrik Wallin <henrik.b.wallin@ericsson.com> | 13 | Written-by: Henrik Wallin <henrik.b.wallin@ericsson.com> |
14 | 14 | ||
15 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 15 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
16 | |||
17 | --- | 16 | --- |
18 | lib/support/profile.c | 2 +- | 17 | lib/support/profile.c | 2 +- |
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch index f6916a1112..2dbeba1095 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/mkdir_p.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From e3a30baa5c1e2f0ac7e246539db1c7db5a2fe302 Mon Sep 17 00:00:00 2001 | 1 | From e143a900199c5bb10b28f3fc8f4d36bbb6ffdd5f Mon Sep 17 00:00:00 2001 |
2 | From: Joe Slater <jslater@windriver.com> | 2 | From: Joe Slater <jslater@windriver.com> |
3 | Date: Tue, 7 Mar 2017 14:53:19 -0800 | 3 | Date: Tue, 7 Mar 2017 14:53:19 -0800 |
4 | Subject: [PATCH] e2fsprogs: expand @mkdir_p@ | 4 | Subject: [PATCH] e2fsprogs: expand @mkdir_p@ |
@@ -9,16 +9,15 @@ not expanded so no locale data is written into usr/share/locale. | |||
9 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
10 | 10 | ||
11 | Signed-off-by: Joe Slater <jslater@windriver.com> | 11 | Signed-off-by: Joe Slater <jslater@windriver.com> |
12 | |||
13 | --- | 12 | --- |
14 | configure.ac | 2 ++ | 13 | configure.ac | 2 ++ |
15 | 1 file changed, 2 insertions(+) | 14 | 1 file changed, 2 insertions(+) |
16 | 15 | ||
17 | diff --git a/configure.ac b/configure.ac | 16 | diff --git a/configure.ac b/configure.ac |
18 | index 4c4b5523..3475c707 100644 | 17 | index 131caef3..ca448d97 100644 |
19 | --- a/configure.ac | 18 | --- a/configure.ac |
20 | +++ b/configure.ac | 19 | +++ b/configure.ac |
21 | @@ -919,6 +919,8 @@ AC_SUBST(PACKAGE) | 20 | @@ -938,6 +938,8 @@ AC_SUBST(PACKAGE) |
22 | AC_SUBST(VERSION) | 21 | AC_SUBST(VERSION) |
23 | 22 | ||
24 | AM_GNU_GETTEXT([external]) | 23 | AM_GNU_GETTEXT([external]) |
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch index 20839b7286..f4e1057a36 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/ptest.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b8842065ad621a03a971dfd50db862c5bffdeb49 Mon Sep 17 00:00:00 2001 | 1 | From 25db5ac7469cedd043a04bcf49ce7553979fbb32 Mon Sep 17 00:00:00 2001 |
2 | From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> | 2 | From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> |
3 | Date: Sat, 18 Apr 2015 17:58:17 +0300 | 3 | Date: Sat, 18 Apr 2015 17:58:17 +0300 |
4 | Subject: [PATCH] e2fsprogs: add ptest | 4 | Subject: [PATCH] e2fsprogs: add ptest |
@@ -14,10 +14,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com> | |||
14 | 2 files changed, 18 insertions(+), 18 deletions(-) | 14 | 2 files changed, 18 insertions(+), 18 deletions(-) |
15 | 15 | ||
16 | diff --git a/tests/Makefile.in b/tests/Makefile.in | 16 | diff --git a/tests/Makefile.in b/tests/Makefile.in |
17 | index 8c4d2048..e021af32 100644 | 17 | index ba06b3b6..5a3e48f4 100644 |
18 | --- a/tests/Makefile.in | 18 | --- a/tests/Makefile.in |
19 | +++ b/tests/Makefile.in | 19 | +++ b/tests/Makefile.in |
20 | @@ -19,7 +19,7 @@ test_one: $(srcdir)/test_one.in Makefile mke2fs.conf | 20 | @@ -20,7 +20,7 @@ test_one: $(srcdir)/test_one.in Makefile mke2fs.conf test_data.tmp |
21 | @echo "#!/bin/sh" > test_one | 21 | @echo "#!/bin/sh" > test_one |
22 | @echo "HTREE=y" >> test_one | 22 | @echo "HTREE=y" >> test_one |
23 | @echo "QUOTA=y" >> test_one | 23 | @echo "QUOTA=y" >> test_one |
@@ -26,7 +26,7 @@ index 8c4d2048..e021af32 100644 | |||
26 | @echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one | 26 | @echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one |
27 | @echo "SIZEOF_TIME_T=@SIZEOF_TIME_T@" >> test_one | 27 | @echo "SIZEOF_TIME_T=@SIZEOF_TIME_T@" >> test_one |
28 | @echo "DD=@DD@" >>test_one | 28 | @echo "DD=@DD@" >>test_one |
29 | @@ -30,7 +30,7 @@ test_script: test_one test_script.in Makefile mke2fs.conf | 29 | @@ -31,7 +31,7 @@ test_script: test_one test_script.in Makefile mke2fs.conf test_data.tmp |
30 | @echo "Creating test_script..." | 30 | @echo "Creating test_script..." |
31 | @[ -f test_script ] && chmod u+w test_script || true | 31 | @[ -f test_script ] && chmod u+w test_script || true |
32 | @echo "#!/bin/sh" > test_script | 32 | @echo "#!/bin/sh" > test_script |
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch index 0a6904208d..4ba150e27d 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/quiet-debugfs.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 580ef6cae2d353f3aa5d5c52d6614bdc1df50f08 Mon Sep 17 00:00:00 2001 | 1 | From b66c973e004e0c458ef275b41ac2d8d9ff33d29f Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Mon, 23 Dec 2013 13:38:34 +0000 | 3 | Date: Mon, 23 Dec 2013 13:38:34 +0000 |
4 | Subject: [PATCH] e2fsprogs: silence debugfs | 4 | Subject: [PATCH] e2fsprogs: silence debugfs |
@@ -8,16 +8,15 @@ filesystems at rootfs time. | |||
8 | 8 | ||
9 | Upstream-Status: Inappropriate | 9 | Upstream-Status: Inappropriate |
10 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 10 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
11 | |||
12 | --- | 11 | --- |
13 | debugfs/debugfs.c | 2 +- | 12 | debugfs/debugfs.c | 2 +- |
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 14 | ||
16 | diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c | 15 | diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c |
17 | index 9b6321dc..8ebf3ddb 100644 | 16 | index 909c1df3..0842369e 100644 |
18 | --- a/debugfs/debugfs.c | 17 | --- a/debugfs/debugfs.c |
19 | +++ b/debugfs/debugfs.c | 18 | +++ b/debugfs/debugfs.c |
20 | @@ -2516,7 +2516,7 @@ static int source_file(const char *cmd_file, int ss_idx) | 19 | @@ -2529,7 +2529,7 @@ static int source_file(const char *cmd_file, int ss_idx) |
21 | cp = strchr(buf, '\r'); | 20 | cp = strchr(buf, '\r'); |
22 | if (cp) | 21 | if (cp) |
23 | *cp = 0; | 22 | *cp = 0; |
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch index f3e6eb778f..307088d42b 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/remove.ldconfig.call.patch | |||
@@ -1,10 +1,10 @@ | |||
1 | From b139e03ac2f72e644e547c7ee9b1514383af4d97 Mon Sep 17 00:00:00 2001 | 1 | From 972086935d6c7f6e603004fd7f94bd13a65f470c Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2 | From: Andrei Dinu <andrei.adrianx.dinu@intel.com> |
3 | Date: Wed, 30 Jan 2013 15:22:04 +0200 | 3 | Date: Wed, 30 Jan 2013 15:22:04 +0200 |
4 | Subject: [PATCH] When /etc/ld.so.cache is writeable by user running bitbake | 4 | Subject: [PATCH] When /etc/ld.so.cache is writeable by user running bitbake |
5 | then it creates invalid cache (in my case libstdc++.so | 5 | then it creates invalid cache (in my case libstdc++.so cannot be found after |
6 | cannot be found after building zlib(-native) and I have to | 6 | building zlib(-native) and I have to call touch */libstdc++.so && |
7 | call touch */libstdc++.so && /sbin/ldconfig to fix it. | 7 | /sbin/ldconfig to fix it. |
8 | 8 | ||
9 | So remove ldconfig call from make install-libs | 9 | So remove ldconfig call from make install-libs |
10 | 10 | ||
@@ -15,11 +15,11 @@ Upstream-Status: Inappropriate [disable feature] | |||
15 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | 15 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
16 | Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> | 16 | Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> |
17 | --- | 17 | --- |
18 | lib/Makefile.elf-lib | 3 --- | 18 | lib/Makefile.elf-lib | 3 --- |
19 | 1 file changed, 3 deletions(-) | 19 | 1 file changed, 3 deletions(-) |
20 | 20 | ||
21 | diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib | 21 | diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib |
22 | index 78479d3..4a4a5ac 100644 | 22 | index f850f3dd..cc1e6a70 100644 |
23 | --- a/lib/Makefile.elf-lib | 23 | --- a/lib/Makefile.elf-lib |
24 | +++ b/lib/Makefile.elf-lib | 24 | +++ b/lib/Makefile.elf-lib |
25 | @@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK) | 25 | @@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK) |
@@ -39,6 +39,3 @@ index 78479d3..4a4a5ac 100644 | |||
39 | 39 | ||
40 | clean:: | 40 | clean:: |
41 | $(RM) -rf elfshared | 41 | $(RM) -rf elfshared |
42 | -- | ||
43 | 1.7.9.5 | ||
44 | |||
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest index 279923db8e..1857a17189 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/run-ptest | |||
@@ -1,7 +1,8 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | set -eux | ||
3 | cd ./test | 4 | cd ./test |
4 | SKIP_SLOW_TESTS=yes ./test_script | sed -u -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /' | 5 | SKIP_SLOW_TESTS=yes ./test_script | sed -e '/:[[:space:]]ok/s/^/PASS: /' -e '/:[[:space:]]failed/s/^/FAIL: /' -e '/:[[:space:]]skipped/s/^/SKIP: /' |
5 | rm -rf /var/volatile/tmp/*e2fsprogs* | 6 | rm -rf /var/volatile/tmp/*e2fsprogs* |
6 | rm -f tmp-* | 7 | rm -f tmp-* |
7 | rm -f *.tmp | 8 | rm -f *.tmp |
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb index 940b47c155..022b016f12 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.0.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb | |||
@@ -4,13 +4,14 @@ SRC_URI += "file://remove.ldconfig.call.patch \ | |||
4 | file://run-ptest \ | 4 | file://run-ptest \ |
5 | file://ptest.patch \ | 5 | file://ptest.patch \ |
6 | file://mkdir_p.patch \ | 6 | file://mkdir_p.patch \ |
7 | file://0001-libext2fs-fix-std-c23-build-failure.patch \ | ||
7 | " | 8 | " |
8 | SRC_URI:append:class-native = " \ | 9 | SRC_URI:append:class-native = " \ |
9 | file://e2fsprogs-fix-missing-check-for-permission-denied.patch \ | 10 | file://e2fsprogs-fix-missing-check-for-permission-denied.patch \ |
10 | file://quiet-debugfs.patch \ | 11 | file://quiet-debugfs.patch \ |
11 | " | 12 | " |
12 | 13 | ||
13 | SRCREV = "f4c9cc4bedacde8408edda3520a32d3842290112" | 14 | SRCREV = "b571b9b4240739a982e8bca62cfc914a3b50190a" |
14 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$" |
15 | 16 | ||
16 | EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \ | 17 | EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \ |