]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
e2fsprogs: Fix native build errors on old kernel such as 5.10
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 29 Jul 2025 07:37:22 +0000 (00:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Jul 2025 09:47:56 +0000 (10:47 +0100)
* 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.

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>
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.3.bb [moved from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb with 97% similarity]

similarity index 97%
rename from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb
rename to meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.3.bb
index 5a04591af0689bc4b24973fe585c6568133897f7..9b5c4dfde5472a01dcb2b8da4838911bfdd098e4 100644 (file)
@@ -24,6 +24,9 @@ CFLAGS:append:riscv32 = " -D_FILE_OFFSET_BITS=64"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[fuse] = '--enable-fuse2fs,--disable-fuse2fs,fuse'
 
+# Fix e2fsprogs-native do_compile error with old kernel such as 5.10
+CACHED_CONFIGUREVARS:class-native = "ac_cv_header_linux_fsverity_h=no"
+
 # make locale rules sometimes fire, sometimes don't as git doesn't preserve
 # file mktime. Touch the files introducing non-determinism to the build
 do_compile:prepend (){