summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/btrfs-tools
Commit message (Collapse)AuthorAgeFilesLines
* btrfs-tools: upgrade 6.14 -> 6.15Wang Mingyu2025-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: =========== - mkfs: new option --inode-flags to specify flags/attributes for inodes/directories/subvolumes - check: fix false alert on missing checksum for hole in lowmem mode, fix false alerts when checking refs - convert: check feature compatibility when enabling block-group-tree - tune convert-bgt: fix resume of conversion - rescue: add new command fix-data-checksum, selectively fix or find mismatching checksums - other: new and updated tests documentation updates (From OE-Core rev: 1a5ede3b39410854dd306799c0e384718778709b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>
* btrfs-tools: upgrade 6.13 -> 6.14Richard Purdie2025-04-033-46/+5
| | | | | | | | | | Add tag to SRC_URI to verify SRCREV. Drop patch merged upstream. (From OE-Core rev: d9fa83db647f7f38b53ac850725aec17ced001ec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.12 -> 6.13Wang Mingyu2025-03-132-1/+42
| | | | | | | | | | | Add patch fix the error when do_image_btrfs: ERROR: lzo support not compiled in (From OE-Core rev: c0cd0079c4f0cdc54843713a6985563a153a3395) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.11 -> 6.12Wang Mingyu2024-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ * subvolume delete: add new option to do recursive subvolume deletion (for regular user delete only accessible subvolumes) * mkfs: * new option --subvol to create subvolumes in given paths, read-write, read-only and default * add hard link detection support for --rootdir option * fixes: * receive: message verbosity fixes * check: fix false positive report of missing checksum for extent holes * check: handle compressed extents when checking tree log * when asking Y/N user questions, flush the terminal so the question is displayed (e.g. btrfstune -S) * other * code refactoring, error handling * python packaging fixes * documentation updates * new tests (From OE-Core rev: ef59c676cf0aa9acb6180cdc74c6404d859b4880) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: update 6.10.1 -> 6.11Alexander Kanavin2024-12-052-3/+3
| | | | | | | | | | Use github, as kernel.org has the needed tag, but not the branch it's on. (From OE-Core rev: 40cbf29c91f0586c2ff2e1aad8a7632ab42c543d) 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>
* btrfs-tools: upgrade 6.9.2 -> 6.10.1Wang Mingyu2024-08-212-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | 0001-Add-a-possibility-to-specify-where-python-modules-ar.patch refreshed for 6.10.1 Changelog: ========== * mkfs: rework --rootdir traversal, skip hardlinks and create new inodes instead, also warn about them, this did not work as expected and will be fixed in the future * receive: search in older trees for UUIDs when detecting clone sources * libbtrfsutil: bindings available at https://pypi.org/project/btrfsutil * libbtrfs: * patchlevel version update 0.1.4 * cleanup in headers, removed unused definitions, no functional changes * don't ship list.h and rbtree.h * other: * documentation updates (From OE-Core rev: abfe3c3f257836e92907efcf252c165703c3a89d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.8.1 -> 6.9.2Wang Mingyu2024-07-163-69/+4
| | | | | | | | | | | | | | | | | | | 0001-Add-a-possibility-to-specify-where-python-modules-ar.patch removed since it's included in 6.9.2 Changelog: ========== * subvol list: fix accidental trimming of subvolume name * check: revert checking file extent item 'ram_bytes' * libbtrfsutil: * patchlevel version update 1.3.2 * fix accidentally closing fd passed to subvolume iterator (From OE-Core rev: c99dc3e11998597b81919f0d634d1548695e1baf) 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>
* btrfs-tools: handle rename of inode_includes() from e2fsprogs 1.47.1Wang Mingyu2024-06-262-0/+65
| | | | | | | | | | | To fix the do_compile error, use the new prefixed macro and add backward compatibility that would still use inode_includes(). (From OE-Core rev: f53a68271feb8d14148f8bbc3fa18629d0638d07) 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>
* btrfs-tools: upgrade 6.8 -> 6.8.1Wang Mingyu2024-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * mkfs: fix writing on zoned device when block-group-tree is selected * tune: fix writing on zoned device with option --convert-to-block-group-tree * check: * more progress and error messages * unify handling of unknown command line options with other commands * subvolume delete: remove options --delete-qgroup and --no-delete-qgroup (added in 6.6.3), qgroup deletion does not always work due to delayed background processing of subvolume or set value in sysfs:ggroup/drop_subtree_threshold * other: * misc refactoring * error handling fixes reported by gcc -fanalyzer * documentation updates * new and updated tests (From OE-Core rev: 8fd6322166d9e7d9e1ba61e18dd0b28db1fb95a7) 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>
* btrfs-tools: upgrade 6.7.1 -> 6.8Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: ============ * fix --enqueue option timeout handling * subvolume: remove support for undocumented options -c and -x, functionality disabled in kernel * libbtrfsutil: * version 0.1.3, backward compabile * add aliases for all existing functions with unified naming scheme * updated header defintions for recently added kernel features * send: v3 supported in experimental mode * other: * docs: manual page references, graphs, enhancements, clarifications * error handling fixes * cleanups and refactoring (From OE-Core rev: 7e2cf19c861ddd93d1176fbbe3f758d31970a96b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.5.3 -> 6.7.1Alexander Kanavin2024-03-072-5/+5
| | | | | | | (From OE-Core rev: ba87e34dc47559ffd02370169e8fa37dd080a56e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/recipes: Switch to use inherit_deferRichard Purdie2024-01-181-1/+1
| | | | | | | | | | | | | | | | | Now that bitbake supports the use of inherit_defer, switch all conditional (variable based) inherits to use this instead. This leads to more a more deterministic user experience since there is no longer an immediate expansion and later changes to the variables in question (e.g. a bbappend) are accounted for. This patch tries to ensure the behaviour before/after remains as unchanged as it reasonably can, e.g. by always inherting populate_sdk_base. native and nativesdk continue to need to be inherited last, hence being used with inherit_defer in a handful of very specific cases. (From OE-Core rev: 451363438d38bd4552d5bcec4a92332f5819a5d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.5.2 -> 6.5.3Wang Mingyu2023-11-051-1/+1
| | | | | | | | (From OE-Core rev: 1c24684e89525a702d0d92ba06f726018b185bf8) 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>
* btrfs-tools: upgrade 6.5.1 -> 6.5.2Wang Mingyu2023-10-191-1/+1
| | | | | | | | (From OE-Core rev: 116895c05c78a60488b14516ea25f8c27d2ece7e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.3.3 -> 6.5.1Alexander Kanavin2023-09-261-1/+1
| | | | | | | | (From OE-Core rev: f9d98f900c4298e7f5b022294deda0b3e5140225) 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>
* btrfs-tools: upgrade 6.3.1 -> 6.3.3Wang Mingyu2023-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: =========== * mkfs: option -R deprecated, options unified in -O (-R still works) * mkfs: fix potential race with udev leading to EBUSY due to repeatedly opened file descriptors * block-group-tree is out of experimental mode * available as 'mkfs.btrfs -O block-group-tree' * btrfstune can do in-place conversion to/from (use with care) * balance: fix recognizing old and new syntax * subvol snapshot: specific error if a failure is caused by an active swapfile * tree-stats: rephrase warning when run on a mounted filesystem * completion: 'filesystem du' also completes files * check: fix docs, help text and warning that --force + --repair works on a mounted filesystem * build: fix static build when static libudev is available * documentation: * more updates from wiki, developer docs, changelogs * reformatting * updates and fixes * other: * test updates and fixes * CI cleanups and old files removed * integration with Github actions (From OE-Core rev: bda3ba69154ac8eb58e60da09ecfee20f72253d4) 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>
* btrfs-tools: upgrade 6.3 -> 6.3.1Alexander Kanavin2023-06-151-1/+1
| | | | | | | (From OE-Core rev: b6f86a93d8f137e49c9ba3c56a094e2460396d9e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: update 6.1.3 -> 6.3Alexander Kanavin2023-05-222-905/+1
| | | | | | | | | | Drop patch, as upstream fixed the issue separately. (From OE-Core rev: 7a6e4734858848c587ee4bc1643b535d53699f27) 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>
* btrfs-tools: upgrade 6.1.2 -> 6.1.3Wang Mingyu2023-02-081-1/+1
| | | | | | | | | | | | | | | | Changelog: ========= * fi mkswapfile: fix setting size * mkfs: check zoned support of libblkid * check: improve error messages for mismatched references * other: * pass CFLAGS to static build * documentation updates (From OE-Core rev: bed7aa5e947744ee8d1d53de7f3fbfe2d3be7033) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.1 -> 6.1.2Wang Mingyu2023-01-161-1/+1
| | | | | | | | | | Changelog: revert libbtrfs changes to v6.0.2, fix remaining build problems (From OE-Core rev: a7165d4e2d3a015584cd0a0872337bb84c65412a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 6.0.2 -> 6.1Wang Mingyu2023-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * filesystem df: add json output * qgroup show: add json output * new command: 'inspect-internal map-swapfile' to check swapfile and its swapfile_offset value used for hibernation * corrupt-block: fix parsing of option --root argument * experimental (interfaces not finalized): * new command 'inspect-internal list-chunks' * new group reflink, command clone * other: * synchronize some files with kernel versions * docs updates * build: use gnu11 (From OE-Core rev: 73d4b80d04f366a0d908df2e6c46d510b740a905) 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>
* btrfs-tools: Do not use 64bit functions for largefile supportKhem Raj2022-12-212-0/+904
| | | | | | | | | | | Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave like 64bit variants. Moreover it makes them portable across libc (From OE-Core rev: 478205aa80d613fef79045b9e526823f407cec77) 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>
* btrfs-tools: upgrade 6.0.1 -> 6.0.2Wang Mingyu2022-12-051-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ========== * fixes: * resize cancel did not work in some cases * fix fileattr stream command format and add workaround when it cannot be applied * properly handle degraded raid56 reads * fi defrag: fix verbosity, don't print file names by default * receive: fix silent data loss after fall back from encoded write * fi mkswapfile: new command to create a formatted swapfile in one go (From OE-Core rev: af002ebd984efa254fe168895430cdb5d4cf23f9) 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>
* btrfs-tools: upgrade 6.0 -> 6.0.1Wang Mingyu2022-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * send: minor speed up for v2 due to increased buffer size * resize: invalid command line options fail with error code * quota rescan: * add long options --status and --wait * new option to wait but don't start rescan * qgroup show: print path by default, updated format * qgroup: new subcommand clear-stale, remove qgroups without their subvolumes * experimental: * add warnings to commands that have it enabled (mkfs, image, btrfstune) * other: * documentation, help text, error message updates (From OE-Core rev: b638d61ccc9596b4c432792d3e3a45b989937144) 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>
* btrfs-tools: upgrade 5.19.1 -> 6.0wangmy2022-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== * fi usage: in tabular output, print total size and slack size * mkfs: * option -O now accepts values from -R to unify the interface (-R will continue to work) * zone reset and discard is done in parallel on all devices * removed option --leafsize, deprecated long time ago * corrupt-block: recalculate checksum when changing generation * fixes: * convert: fix reserved range detection and overlaps * mkfs: fix creating files with reserved inode numbers with --rootdir * receive: escape filenames in command attributes * fix extent buffer leaks after transaction abort * experimental: * mkfs: support for block-group-tree (kernel 6.1) * fsverity in send (protocol v3, WIP) * btrfstune -b converts to block-group-tree * other: * cleanups, refactoring * new and updated tests * update documentation (From OE-Core rev: 46bc09ca18ea4321854450d1fc04faf95f314ad6) 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>
* btrfs-tools: upgrade 5.19 -> 5.19.1Richard Purdie2022-09-171-1/+1
| | | | | | (From OE-Core rev: d2a4562ad5888919dc42f244c796c8fbd39d55cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.18.1 -> 5.19wangmy2022-08-252-34/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-device-utils.c-Use-linux-mount.h-instead-of-sys-moun.patch removed since it's included in 5.19 Changelog: ========== * send: support protocol version 2 * fi show: print all missing devices * device stats: add tabular output * replace: add alias to device group (device replace) * check: validate free space tree items * fixes: * convert: support large filesystems (block count > 32bit) * recognize filesystems with verity enabled * mkfs and DUP could write out of order, fix it for zoned mode * build: * optional support for LZO and ZSTD in receive * compatibility with glibc 2.36 (mount.h) * add fallbacks for new GCC builtins * other: * corrupt-block: target specific items, offsets * documentation updates, new pages from wiki * new tests (From OE-Core rev: 53ead3fb0e51e71207dfd62f43f0ec4304524dcc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: Use linux/mount.h instead of sys/mount.hKhem Raj2022-08-022-0/+33
| | | | | | | | | | | | | This fixes the conflict thats with mount.h from glibc 2.36+ and kernel [1] [1] https://sourceware.org/glibc/wiki/Release/2.36 (From OE-Core rev: f2617ecc93048a29e37d4213e08ddbd997139f6c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.18 -> 5.18.1wangmy2022-06-171-1/+1
| | | | | | | | | | | | | | | | | | Changelog: ========== * fixes: * convert: fix self reference of toplevel directory * build: make kernel lib headers compatible with C++ * zoned mode: verify minimum zone size 4MiB * libbtrfs: cleanups, merge headers and remove declarations of unexported symbols * other: documentation updates (From OE-Core rev: 1682e1584d568b471b46b271b2216c735ef73165) 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>
* btrfs-tools: update 5.16.2 -> 5.18Alexander Kanavin2022-06-072-129/+2
| | | | | | | | (From OE-Core rev: f458cdf52f27ece56f96408bbfa2eca8e5e2143c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: add a PACKAGECONFIG for lzoRoss Burton2022-05-272-1/+129
| | | | | | | | | | | LZO is a fairly obsolete compression format these days, so add an option to enable/disable LZO to btrfs-progs and disable it by default. (From OE-Core rev: 26ffb0300cfa365627299a7af2efcb230f5951f0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.16 -> 5.16.2wangmy2022-03-042-48/+1
| | | | | | | | | | | | | | | | | | | | 0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch removed since it's included in 5.16.2 Changelog: ========= mkfs: fix detection of profile type for zoned mode when creating DUP build: - add missing stub for zoned mode helper when zoned mode not enabled - fix 64bit types on MIPS and PowerPC - improved zoned mode support autodetection, for systems with existing blkzone.h header but missing support for zone capacity other: doc updates, test updates (From OE-Core rev: ec04580374ed6cc26471a338f84794f41931eca1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.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>
* btrfs-tools: upgrade 5.15.1 -> 5.16wangmy2022-01-203-44/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch removed since it is included in 5.16 Add 0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch to fix "undefined reference to `__ALIGN_KERNEL'". Changelog: ========= - rescue: new subcommand clear-uuid-tree to fix failed mount due to bad uuid subvolume keys, caught by tree-checker - fi du: skip inaccessible files - prop: properly resolve to symlink targets - send, receive: fix crash after parent subvolume lookup errors - build: fix build on 5.12+ kernels due to changes in linux/kernel.h fix build on musl with old kernel headers - other: error handling fixes, cleanups, refactoring extent tree v2 preparatory work lots of RST documentation updates (last release with asciidoc sources), https://btrfs.readthedocs.io (From OE-Core rev: 420191dc951f04b36645ffae2d946b50150feab0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: use setuptools3-base not distutilsTim Orling2022-01-121-1/+1
| | | | | | | | | [YOCTO #14610] (From OE-Core rev: ee4c5b3ac3de168409f39f02d2b68b8d20bcefb2) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.15 -> 5.15.1Alexander Kanavin2021-12-171-1/+1
| | | | | | | (From OE-Core rev: 164237bee90268048bf956839376c302099ad99f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.14.2 -> 5.15wangmy2021-11-101-1/+1
| | | | | | | | | | | | | | | | | | Changelog v5.15 (Nov 2021) mkfs: new defaults! no-holes free-space-tree DUP for metadata unconditionally libbtrfsutil: add missing profile defines libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports documentation: introduce sphinx build and RST versions of manual pages, will become the new format and replace asciidoc fixes: fix warning regarding v1 space cache when only v2 (free space tree) is enabled (From OE-Core rev: 77d08d327b9e675109dc95c27ee4910d9047ec49) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 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>
* libevent,btrfs-tools: fix Upstream-Status tagAlexandre Belloni2021-10-231-1/+1
| | | | | | | (From OE-Core rev: fe3b2d0cb23a0d4abd229682beaa0bb64f4a97bd) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.13.1 -> 5.14.2Alexander Kanavin2021-10-231-2/+2
| | | | | | | | (From OE-Core rev: 72d5401a00d0332c9072ddcf1c8ba8f3f88a831c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: update 5.13 -> 5.13.1Alexander Kanavin2021-08-232-30/+1
| | | | | | | | | Drop patch as issue fixed upstream. (From OE-Core rev: f5ff6ae84dbb11a4f3cfff463b7bc5b0a8046048) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-6/+6
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.12.1 -> 5.13wangmy2021-07-202-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add patch to fix bug for undeclared macro on musl. btrfs-progs-5.13 (2021-07-13) * restore: remove loop checks for extent count and directory scan * inspect dump-tree: new options to print node (--csum-headers) and data checksums (--csum-items) * fi usage: * print stripe count for striped profiles * print zoned information: size, total unusable * mkfs: print note about sha256 accelerated module loading issue * check: ability to reset dev_item::bytes_used * fixes * detect zoned kernel support at run time too * exclusive op running check return value * fi resize: support cancel (kernel 5.14) * device remove: support cancel (kernel 5.14) * documentation about general topics * compression * zoned mode * storage model * hardware considerations * other * libbtrfsutil API overview * help text fixes and updates * hash speedtest measure time, cycles using perf and print throughput (From OE-Core rev: fd8989db25c674ca65389a2d41bf5b447e8794be) 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>
* btrfs-tools: include linux/const.h to fix build with 5.12+ headersBruce Ashfield2021-06-212-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | btrfs-tools compile fails with mips, musl and 5.12+ headers. The definition of __ALIGN_KERNEL has moved in 5.12+ kernels, so we add an explicit include of const.h to pickup the macro: | make: *** [Makefile:595: mkfs.btrfs] Error 1 | make: *** Waiting for unfinished jobs.... | libbtrfs.a(volumes.o): in function `dev_extent_search_start': | /usr/src/debug/btrfs-tools/5.12.1-r0/git/kernel-shared/volumes.c:464: undefined reference to `__ALIGN_KERNEL' | collect2: error: ld returned 1 exit status This is safe for older kernels as well, since the header still exists, and is valid to include. (From OE-Core rev: 78eb20ed31e27865c990f96803215139bc99060f) (From OE-Core rev: e81b531939214a1a34f8841a5f0aaf16fbbe4d08) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: upgrade 5.12 -> 5.12.1Richard Purdie2021-05-181-1/+1
| | | | | | (From OE-Core rev: f75c02e3e067473d85b4b57d36250098ddb99dbd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: Update to 5.12Robert Joslyn2021-05-131-3/+4
| | | | | | | | | | | | Add PACKAGECONFIG for zoned block devices. Leave disabled by default, as this requires a recent kernel. License-Update: libbtrfsutil was relicensed to LGPLv2.1+: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9e30f779e3cbf12a88ebe309ee371851fdfd3aa0 (From OE-Core rev: d10b62f54c6e0f19af02bab024680462d9e4418a) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* btrfs-tools: Try to follow style guideRobert Joslyn2021-04-201-3/+4
| | | | | | | | | Cosmetic changes to better follow the style guide. (From OE-Core rev: e478013830700580c25877ab55b70ff73072bb81) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>