From 8d766adf8f84427c81754420edef1d0da370a39f Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Wed, 23 Jul 2025 09:06:08 +0800 Subject: erofs-utils: upgrade 1.8.5 -> 1.8.10 Changelog: ========== - Fix extent-based deduplication which can cause data corruption if target images are larger than 4GiB - Switch to on-heap temporary buffers for libzstd and libdeflate to replace on-stack VLAs - Fix large compressed fragment handling, which could be generated by the `-Eall-fragments` option (though rare) and was rejected by mistake - Fix corrupted small fragments introduced in erofs-utils 1.8.8 - Fix AUFS whiteout handling - Properly handle negative GNU mtime - Fix superblock checksum for small fs block size filesystems - Fix temporary memory leak from small fragments - Handle crafted Z_EROFS_COMPRESSION_INTERLACED extents - Speed up multi-threaded `-Efragments` even further - Fix DEFLATE due to incorrect maximum Huffman length - Support `--fsalignblks` to align filesystem sizes - Support `--vmdk-desc` to generate VMDK for flattened block devices - Fix image reproducibility of `-E(all-)fragments` - Support per-segment reaper for multi-threaded compression - Support multi-threaded fragments - Support extent-based deduplication for `-Efragments` - Optimize space allocation performance (From OE-Core rev: a29c24e540ce6cd70ae7889f69ebe14e024d5507) Signed-off-by: Liu Yiding Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../erofs-utils/erofs-utils_1.8.10.bb | 25 ++++++++++++++++++++++ .../erofs-utils/erofs-utils_1.8.5.bb | 25 ---------------------- 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 meta/recipes-devtools/erofs-utils/erofs-utils_1.8.10.bb delete mode 100644 meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.10.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.10.bb new file mode 100644 index 0000000000..3964ed8f5a --- /dev/null +++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.10.bb @@ -0,0 +1,25 @@ +SUMMARY = "Tools for erofs filesystems" +# liberofs also available under Apache 2.0 +LICENSE = "GPL-2.0-or-later" +SECTION = "base" +LIC_FILES_CHKSUM = "file://COPYING;md5=73001d804ea1e3d84365f652242cca20" +HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README" + +SRCREV = "51b5939b5f783221310d25146e6a2019ba8129b6" +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master;protocol=https" + +UPSTREAM_CHECK_GITTAGREGEX = "v(?P(\d+(\.\d+)+))" + +DEPENDS = "util-linux-libuuid" + +inherit pkgconfig autotools + +PACKAGECONFIG ??= "lz4 zlib" +PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" +PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" + +EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse" + +CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb deleted file mode 100644 index 2bedd6e16b..0000000000 --- a/meta/recipes-devtools/erofs-utils/erofs-utils_1.8.5.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Tools for erofs filesystems" -# liberofs also available under Apache 2.0 -LICENSE = "GPL-2.0-or-later" -SECTION = "base" -LIC_FILES_CHKSUM = "file://COPYING;md5=73001d804ea1e3d84365f652242cca20" -HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README" - -SRCREV = "7bc147fafd53a2a9ff7c22399491079e5bfffafc" -SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git;branch=master;protocol=https" - -UPSTREAM_CHECK_GITTAGREGEX = "v(?P(\d+(\.\d+)+))" - -DEPENDS = "util-linux-libuuid" - -inherit pkgconfig autotools - -PACKAGECONFIG ??= "lz4 zlib" -PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" -PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" - -EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse" - -CFLAGS:append:powerpc64le = " -D__SANE_USERSPACE_TYPES__" - -BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf