summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/erofs-utils
Commit message (Collapse)AuthorAgeFilesLines
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.8.4 -> 1.8.5Wang Mingyu2025-02-181-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== - (mkfs.erofs) Support '-Efragdedupe=inode' for multithreading; - (dump.erofs) Add '--cat' to show file contents (Juan Hernandez); - (mkfs.erofs) Fix inefficient fragment deduplication; - (fsck.erofs/erofsfuse) Introduce fragment cache; - (fsck.erofs) Preserve S{U,G}ID bits properly on extraction; - (mkfs.erofs, tarerofs) Align non-existent directories with their parents; - Several minor bugfixes. (From OE-Core rev: 73288647931cb498e15a1846a77fe02d2f1e75c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.8.3 -> 1.8.4Wang Mingyu2025-01-091-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== - Fix unusual PAX header handling for tarerofs; - Fix LIBARCHIVE.xattr decoding; - Speed up handling of incompressible data; - Add a '-E^fragdedupe' option to explicitly disable fragment deduplication; - Fixes around '-Eall-fragments' and '-Ededupe'; - Use external xxhash library if possible. (From OE-Core rev: 441abb84142eae10155fbcc3c5a99091afa5dfd9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.8.2 -> 1.8.3Wang Mingyu2024-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== - (mkfs.erofs) Fix multi-threaded compression with '-Eall-fragments'; - (mkfs.erofs) Fix large chunk-based image generation; - (mkfs.erofs) Avoid large arrays on the stack - (mkfs.erofs) Fix PAX format parsing in headerball mode - (mkfs.erofs) Several fixes for incremental builds - (mkfs.erofs) Fix reproducible builds due to 'i_ino' - Use pkg-config for liblz4 configuration; - Get rid of pthread_cancel() dependencies; - (mkfs.erofs) Add '-U <clear|random>' support; - (mkfs.erofs) Add '--hard-dereference' for NixOS reproducibility - Several minor random fixes. (From OE-Core rev: 4fb94c8d873e0eff878308deadf31cab413ed590) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.8.1 -> 1.8.2Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== - Fix build on GNU/Hurd - Fix maximum volume label length - Correctly skip unidentified xattrs - Support exporting xattrs optionally - Correctly sort shared xattrs - Allow pax headers with empty names; - Add '--sort=none' option for tarballs; - Fix broken compressed packed inodes - Several minor random fixes. (From OE-Core rev: 79b62db775ac6cae5b389fd88a7aa05915a5d6f4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.7.1 -> 1.8.1Wang Mingyu2024-08-211-1/+1
| | | | | | | | | | | | | Changelog: ========== - fix unexpected data truncation of large uncompressed files; - fix decompression errors when using libdeflate compressor; - fix an out-of-bound memory read issue with kite-deflate. (From OE-Core rev: 1e5d364947780c83de4ae23b2fcb0871ad2e9774) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.6 -> 1.7.1Alexander Kanavin2023-11-303-212/+4
| | | | | | | | (From OE-Core rev: 333e644466c7b6749481988b638e23ec78316c4a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: backport fixes for CVE-2023-33551 and CVE-2023-33552Ross Burton2023-06-203-1/+210
| | | | | | | (From OE-Core rev: fb0e4612b3b54746043205b56b2c3782489c191e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: update 1.5 -> 1.6Alexander Kanavin2023-05-224-200/+3
| | | | | | | | | | | | Drop patches merged upstream. --enable-largefile is no longer necessary, as compiler options are being passed in explicitly. (From OE-Core rev: 39d38b278cba7b46fd9b367e6f8c989327899e6f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Default to https git protocol where possibleRichard Purdie2023-05-051-1/+1
| | | | | | | | | | The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: Convert from off64_t to off_tKhem Raj2022-12-214-2/+199
| | | | | | | | | | | Ensure largefile macros are used to determine size of off_t and not the explict 64bit version of functions and types (From OE-Core rev: 135e45931a0a2ea9954cb2da13ce59b0b3f569ef) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.4 -> 1.5wangmy2022-06-172-31/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 0001-fsck-main.c-add-missing-include.patch removed since it's included in 1.5. License-Update: license switch to GPL-2.0+ OR Apache-2.0 for better 3rd-party integration. Changelog: ========== * This release includes the following updates: - (fsck.erofs) support filesystem extraction (Igor Ostapenko); - support ztailpacking inline feature for compressed files (Yue Hu); - (dump.erofs) support listing directories; - more liberofs APIs (including iterate APIs) (me, Kelvin Zhang); - use mtime to allow more control over the timestamps (David Anderson); - switch to GPL-2.0+ OR Apache-2.0 dual license for liberofs; - various bugfixes and cleanups; (From OE-Core rev: bb87788832ad64079609e4f554e4d55a14f0aa94) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64Khem Raj2022-03-151-0/+2
| | | | | | | | | | | | ppc64 historically has used l64 for defining u64 types in kernel asm/types.h defaults to use l64 by default but kernel uses ll64 now a days, therefore lets use same int-ll64.h to provide these defines like other architectures (From OE-Core rev: 22f8a749fa956c82a0fe39eeb6948bd2068eb63a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: update 1.3 -> 1.4Alexander Kanavin2021-12-082-2/+30
| | | | | | | (From OE-Core rev: 9e0a3f641081b3a3eecd9877c460d7cb68717bf6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: upgrade 1.2.1 -> 1.3Alexander Kanavin2021-06-171-1/+1
| | | | | | | (From OE-Core rev: 2fc76fccc7da1768e712e722898d33dc68385f53) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* erofs-utils: correct upstream version checkAlexander Kanavin2021-06-061-0/+2
| | | | | | | (From OE-Core rev: fe5053cf2531527642cf46263793485cc43d524c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add support for erofs filesystemsRichard Weinberger2021-05-311-0/+21
Since Linux 5.4 a new read-only filesystem is available, erofs. Compared to squashfs it offers much better read performance with and without compression enabled. It suppports two optional compressors, lz4 and lz4hc. >From the mkfs.erofs man page: EROFS is a new enhanced lightweight linux read-only filesystem with modern designs (eg. no buffer head, reduced metadata, inline xattrs/data, etc.) for scenarios which need high-performance read-only requirements, e.g. Android OS for smartphones and LIVECDs. It also provides fixed-sized output compression support, which improves storage density, keeps relatively higher compression ratios, which is more useful to achieve high performance for embedded devices with limited memory since it has unnoticable memory overhead and page cache thrashing. This commit adds support for three new filesystem targets: erofs: erofs without compression erofs-lz4: erofs with lz4 compresssion enabled erofs-lz4hc: erofs with lz4hc compression enabled (From OE-Core rev: 41dead1ff8ccc49e6cd6e6f5d41a59d164693e0d) Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>