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>
This commit is contained in:
Robert Yang 2025-07-29 00:37:22 -07:00 committed by Richard Purdie
parent fbea5117e2
commit 0eb0473883

View 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 (){