Commit Graph

51 Commits

Author SHA1 Message Date
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čí 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
Daniel Golle ea5259e701 btrfs-progs: btrfsck is a symlink to btrfs
safe half a meg by not copying the btrfs binary twice.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-02 04:28:17 +02:00
Daniel Golle 78fa57ebdb btrfs-progs: don't build btrfs-convert
Get rid of libext2fs dependency.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-02 04:16:54 +02:00
Daniel Golle e6825ac677 btrfs-progs: bump to 3.19.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-03-29 15:47:58 +02:00
Daniel Golle 602a247dfd btrfs-progs: improve init script
check for btrfs in /proc/filesystems instead of /proc/modules

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-12-22 09:50:06 +01:00
Daniel Golle 4ae61ef936 Merge pull request #611 from the2masters/btrfs-progs-compile-fix
btrfs-progs: add libacl as compile time dependency
2014-12-10 16:36:49 +01:00
Stefan Hellermann 4680f3514b btrfs-progs: add libacl as compile time dependency
I got following error while compiling btrfs-progs for ar71xx:

    make[4]: Entering directory `/home/stefan/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/btrfs-progs-v3.17.3'
        [LN]     libbtrfs.so.0
        [LN]     libbtrfs.so
        [CC]     btrfs-convert.o
        [LD]     libbtrfs.so.0.1
    /home/stefan/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libblkid.so: warning: This version of __fpending returns bytes remaining in buffer for both narrow and wide streams.  glibc's version returns wide chars in buffer for the wide stream case.
        [LD]     mkfs.btrfs
        [LD]     btrfs
        [LD]     btrfs-debug-tree
        [LD]     btrfs-image
        [LD]     btrfs-map-logical
        [LD]     btrfs-zero-log
        [LD]     btrfs-find-root
    btrfs-convert.c:30:21: fatal error: sys/acl.h: No such file or directory
     #include <sys/acl.h>
                         ^
    compilation terminated.
    make[4]: *** [btrfs-convert.o] Error 1

fix it by adding libacl as compile time dependency, as btrfs-convert is not
linked to libacl.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
2014-12-08 13:37:31 +01:00
Daniel Golle c088105ae2 btrfs-progs: fix libattr linking and dependency
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2014-12-08 07:22:29 +01:00