diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2025-07-29 00:37:22 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-31 10:48:35 +0100 |
| commit | 0eb0473883f804f475aa1c75e64f8e4f3efc537d (patch) | |
| tree | b6d30706b9052e511c509e2e56771ceddec7c380 /meta/recipes-devtools/e2fsprogs | |
| parent | fbea5117e22cdd8c26c814dbfbd8e5a5ad43735a (diff) | |
| download | poky-0eb0473883f804f475aa1c75e64f8e4f3efc537d.tar.gz | |
e2fsprogs: Fix native build errors on old kernel such as 5.10
* Fix e2fsprogs-native do_compile error with old kernel such as 5.10
(Debian 11):
../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:600:20: error: FS_IOC_READ_VERITY_METADATA undeclared (first use in this function)
* And its version should be 1.47.3, not 1.47.2.
(From OE-Core rev: 52cd80f2c88e298d5538a9e426e681b288f39244)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs')
| -rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.3.bb (renamed from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb) | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.3.bb index 5a04591af0..9b5c4dfde5 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.3.bb | |||
| @@ -24,6 +24,9 @@ CFLAGS:append:riscv32 = " -D_FILE_OFFSET_BITS=64" | |||
| 24 | PACKAGECONFIG ??= "" | 24 | PACKAGECONFIG ??= "" |
| 25 | PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse' | 25 | PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse' |
| 26 | 26 | ||
| 27 | # Fix e2fsprogs-native do_compile error with old kernel such as 5.10 | ||
| 28 | CACHED_CONFIGUREVARS:class-native = "ac_cv_header_linux_fsverity_h=no" | ||
| 29 | |||
| 27 | # make locale rules sometimes fire, sometimes don't as git doesn't preserve | 30 | # make locale rules sometimes fire, sometimes don't as git doesn't preserve |
| 28 | # file mktime. Touch the files introducing non-determinism to the build | 31 | # file mktime. Touch the files introducing non-determinism to the build |
| 29 | do_compile:prepend (){ | 32 | do_compile:prepend (){ |
