mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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:
parent
fbea5117e2
commit
0eb0473883
|
|
@ -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 (){
|
||||
Loading…
Reference in New Issue
Block a user