diff mbox series

[1/8] erofs-utils: Make reproducible for different BUILD_ARCH

Message ID 20260927164631.2484854-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [1/8] erofs-utils: Make reproducible for different BUILD_ARCH | expand

Commit Message

Richard Purdie Sept. 27, 2026, 4:46 p.m. UTC
configure was querying the host's page size. Avoid this and set a value
based on the target insteadl. aarch64 is the only one we commonly build
which isn't 4k as far as I know.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb
index 45339656b5b..21e5be73c42 100644
--- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb
+++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.9.4.bb
@@ -17,6 +17,11 @@  PACKAGECONFIG ??= "lz4 zlib"
 PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
 PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
 
+# Would otherwise query the build system
+BLOCKSIZE = "4096"
+BLOCKSIZE:aarch64 = "16384"
+CACHED_CONFIGUREVARS += "erofs_cv_max_block_size=${BLOCKSIZE}"
+
 EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse"
 
 CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__"