Commit Graph

60 Commits

Author SHA1 Message Date
Josef Schlehofer 16e484cad1 btrfs-progs: update to version 6.5.1
Release notes:
https://github.com/kdave/btrfs-progs/releases/tag/v6.5.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-23 18:44:32 -07:00
Tianling Shen c2b8dbd085 btrfs-progs: Update to 6.3
Fixed build issue with musl 1.2.4.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 15:55:37 +02:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Hauke Mehrtens 99f5604905 btrfs-progs: Update to version 6.0.1
This fixes compilation problems with glibc 2.36.

Full Changelog:
btrfs-progs-6.0 (2022-10-11)
-----------------------------
   * 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

btrfs-progs-6.0.1 (2022-11-04)
""""""""""""""""""""""""""""""
   * 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

btrfs-progs-5.19 (2022-08-16)
-----------------------------
   * 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

btrfs-progs-5.19.1 (2022-09-12)
"""""""""""""""""""""""""""""""
   * fix memory leaks (extent buffer, path)
   * check: verify block device size vs item
   * rescue fix-device-size: allow to shrink device item
   * receive: fix crash on wrong pinter free()
   * other:
      * experimental: support for block-group-tree
      * documentation updates
      * new tests

btrfs-progs-5.18 (2022-05-25)
-----------------------------
   * fixes:
      * dump-tree: don't print traling zeros in checksums
      * recognize paused balance as exclusive operation state, allow to start
        device add
      * convert: properly initialize target filesystem label
      * mkfs: don't create free space bitmaps for empty filesystem
   * restore: make lzo support build-time configurable, print supported
     compression in help text
   * update kernel-lib sources
   * other:
      * documentation updates, finish conversion to RST, CHANGES and INSTALL
        could be included into RST
      * fix build detection of experimental mode
      * new tests

btrfs-progs-5.18.1 (2022-06-06)
"""""""""""""""""""""""""""""""
   * 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

btrfs-progs-5.17 (2022-04-26)
-----------------------------
   * check:
      * repair wrong num_devices in superblock
      * recognize overly long xattr names
      * fix wrong total bytes check for seed device
   * auto-repair on read on RAID56
   * property set: unify handling of empty value to mean default, changed meaning
     for property 'compression' to allow reset to default and to set NOCOMPRESS,
     since kernel 5.14
   * fixes:
       * dump-tree: print fs-verity items
       * fix location of system chunk on zoned filesystem
       * do not allow setting seeding flag on a filesystem with dirty log
       * mkfs and subpage support: use sectorsize as nodesize fallback for mixed
	 profiles
   * preparatory work for extent tree v2, global roots
   * experimental feature (unstable interface, not built by default,
       do not use for production)
       * btrfstune: option --csum to switch checksum algorithm
   * other:
       * cleanups, refactoring
       * update documentation build, remove asciidocs leftovers
       * update fssum to consider xattrs
       * add fsstress

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-11 15:09:28 -08:00
Rosen Penev 06de9e9958 btrfs-progs: update to 5.16.1
Disable libudev to avoid dependency.

Backport patch to fix 64-bit int types under ppc64 and mips64.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-15 14:33:42 +01:00
Rosen Penev 95935f2baf btrfs-progs: update to 5.11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-20 13:16:35 -07:00
Rosen Penev 64c9fcb708
btrfs-progs: update to 5.10
Added libmount dependency as it's needed now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-31 15:27:54 -08:00
Josef Schlehofer f775fa89ca
btrfs-progs: update to version 5.7
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-10-06 16:09:57 +02:00
Josef Schlehofer 0c12882a65
btrfs-progs: update to version 5.6
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-12 17:55:47 +02:00
Karel Kočí 3e2995aff2
btrfs-progs: fix check for btrfs in btrfs scan
The previous implementation always succeeded so no scan was performed.
This now fixes that and it correctly scans for BTRFS  devices if BTRFS
support is in kernel.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2020-03-09 15:19:36 +01:00
Florian Eckert a4740c27ca btrfs-progs: add kmod btrfs dependency
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-02-26 10:13:54 +01:00
Josef Schlehofer c864563372
btrfs-progs: update to version 5.4.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-01-11 23:11:09 +01:00
Josef Schlehofer 101791a236
btrfs-progs: Update to version 5.4
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-12-19 14:06:10 +01:00
Josef Schlehofer 93254e674c
btrfs-progs: Update to version 5.3.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-05 23:33:12 +01:00
Josef Schlehofer 8262696cc4
btrfs-progs: Update to version 5.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-10-25 11:51:59 +02:00
Josef Schlehofer c42b2791d1
btrfs-progs: Update to version 5.2.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-12 11:03:45 +02:00
Karel Kočí ae48f3f9e9
btrfs-progs: scan devices in preinit instead of init script
There is no gain to do device scan in init. Commonly we want to always
scan BTRFS devices to ensure that after boot raids are correctly linked.
It should be done before any init script tries to mount any raid FS.

Comparing init scripts and preinit scripts there are I think two primary
considerations. First is if user is expected to restart/reload/stop
given service on will. I think that there is no such reason for this as
user can easily enough just call btrfs utility it self. Second
consideration is if it makes sense to have it optional. This means if we
want to have ability to enable and disable given service. I think that
there is no such need in this case. It is pretty much doing nothing if
you don't have BTRFS FS connected and when you have you probably want to
scan it.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:56:59 +02:00
Karel Kočí d9020050b3
btrfs-progs: use box version of btrfs tool (busybox like)
This instead of building every tool separately builds one btrfs binary
and additional tools are links to this binary. This is same approach as
busybox is using.

This splits list of tools to two. boxprogs are tools that are boxed to
code btrfs binary and progs are tools that are not.
This also overload default all make target of Build/Compile and instead
builds (unified) btrfs.progs and separate progs.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-08-06 09:56:59 +02:00
Josef Schlehofer d7bdd9045b
btrfs-progs: Update to version 5.2.1
GPL-2.0 is deprecated License Identifier according to SPDX.
- Correct it to GPL-2.0-only

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-08-06 09:56:58 +02:00
Josef Schlehofer 2d955d6541
btrfs-progs: Update to version 5.1.1
Move depends under URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-06-16 19:38:49 +02:00
Karel Kočí 6b168f60d2
btrfs-progs: drop unnecessary Kconfig dependency
Signed-off-by: Karel Kočí <cynerd@email.cz>
2019-04-03 22:21:28 +02:00
Karel Kočí 63bc53b986
btrfs-progs: make zstd optional
This adds choice to compile support for zstd or not.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-04-02 18:11:36 +02:00
Karel Kočí 3e8d3cdce4
btrfs-progs: add support for zstd
This allows BTRFS encryption using zstd. Using zstd can increase
performance.

This change increases size of btrfs-progs only by 4K. The real effect on
size is only size of libzstd which is around 500K. This should be fine
on system requiring BTRFS so no variant without zstd was added.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-04-01 08:39:45 +02:00
Karel Kočí 5a8ce9b435
btrfs-progs: update to 4.20.2
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
2019-03-13 12:54:43 +01:00
Rosen Penev 4be546f657 btrfs-progs: Several fixes
Remove LTO. It causes an increase in size.

Remove fsck.btrfs. It's just a script that says to run btrfs check.

Replace INSTALL_BIN with CP to avoid copying what should be a symlink.

Install libbtrfsutil. This is needed by a few of the tools.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-02-19 15:24:32 -08:00
Rosen Penev 71b6d908ad btrfs-progs: Update to 4.20.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-27 15:32:04 -08:00
Rosen Penev fb93387ec3 btrfs-progs: Update to 4.20
Remove copyright.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-20 11:22:44 -08:00
Rosen Penev 17eda29ea6 btrfs-progs: Update to 4.19.1
Removed upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-09 13:14:33 -08:00
Rosen Penev 21330d74c0 btrfs-progs: Update to 4.19
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-05 10:04:21 -08:00
Rosen Penev e62e2ddd9a
btrfs-progs: Update to 4.17.1
Cosmetic adjustments

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-15 18:47:47 -07:00
Daniel Engberg d3fd6bf6a6
btrfs-progs: Update to 4.17
Update to 4.17
Add LTO and ffunction-sections -fdata-sections to reduce binary size

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-07-16 13:10:42 +02:00
Rosen Penev 7360f918c8 btrfs-progs: Update to 4.16.1
Some programs were removed upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-05-20 11:05:30 -07:00
Rosen Penev bcfa4436cc btrfs-progs: Update to 4.15.1
Compile tested on ar71xx.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-20 11:02:29 -08:00
Rosen Penev cb1ae4a17f
btrfs-progs: Update to 4.15
Compile tested on ar71xx

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-04 11:57:35 -08:00
Rosen Penev a9e4c8ef64 btrfs-progs: Bump to 4.14.1 + add Build/InstallDev
Supersedes #5173 and bumps the version to latest. Tested on ramips (mt7621).

Signed-off-by: Eugene Chekanskiy <echekanskiy@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-01-20 21:44:11 -08:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Rosen Penev e09f1996cd
btrfs-progs: Update to 4.14
Disabled zstd as it needs a new package. zstd needs a more recent kernel than 4.9 to be used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-11-29 21:20:37 -08:00
Rosen Penev 812051af49 btrfs-progs: Update to 4.13.3
Tested on ramips (mt7621)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-11-22 14:43:44 -08:00
Rosen Penev d1f44cddc8 btrfs-progs: Update to 4.13.2
Tested on mt7621 (ramips).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-10-10 18:01:32 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Etienne Champetier 37c9b31d7f Revert "btrfs-progs: update to 4.12"
This reverts commit 8592566b76.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-12 17:41:37 -07:00
Daniel Albers 8592566b76 btrfs-progs: update to 4.12
update to 4.12
remove PKG_MD5SUM

Signed-off-by: Daniel Albers <Daniel.Albers@public-files.de>
2017-08-12 09:25:22 +02:00
Daniel Golle 105cf35455 btrfs-progs: no longer maintained by me
Remove myself as maintainer.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-18 13:07:02 +02:00
Florian Fainelli fcd25932bf btrfs-progs: Fix build with external toolchains
TARGET_CPPFLAGS were not propagated correctly leading to these kinds of
build failure:

btrfstune.c:26:23: fatal error: uuid/uuid.h: No such file or directory
 #include <uuid/uuid.h>
                       ^
compilation terminated.
btrfs-find-root.c:24:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
                  ^
compilation terminated.
mkfs/common.c:18:23: fatal error: uuid/uuid.h: No such file or directory
 #include <uuid/uuid.h>

Fix that by passing TARGET_CPPFLAGS via EXTRA_CFLAGS

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-06-16 20:47:03 -07:00
Daniel Albers 2a4d52964f btrfs-progs: update to 4.11
Signed-off-by: Daniel Albers <Daniel.Albers@public-files.de>
2017-05-25 14:42:31 +02:00
Daniel Golle c6ee989d64 btrfs-progs: update to version 4.7.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-09-19 19:11:09 +02:00
Daniel Golle 656f2eb5a7 btrfs-progs: update to version 4.5.1
musl pthread patch imported from alpinelinux.org

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-19 17:21:20 +02:00
Daniel Golle 021c3e1198 btrfs-progs: remove no longer needed patch
xattr.h header location no longer needs to be patched.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-11-28 23:51:09 +01:00
Daniel Golle ae8d9dcadd btrfs-progs: use $(LN) macro, bump release
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-03 16:49:30 +02:00