btrfs-progs: add support for zstd
authorKarel Kočí <redacted>
Mon, 1 Apr 2019 05:42:18 +0000 (07:42 +0200)
committerKarel Kočí <redacted>
Mon, 1 Apr 2019 06:39:45 +0000 (08:39 +0200)
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čí <redacted>
utils/btrfs-progs/Makefile

index e674a4abb325a7fd022e885ef7fea4f9dd9c9f16..d7c008c94327662a539e7460c0f74309f6ed01ba 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=btrfs-progs
 PKG_VERSION:=4.20.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs
@@ -28,7 +28,7 @@ define Package/btrfs-progs
   SECTION:=utils
   CATEGORY:=Utilities
   SUBMENU:=Filesystem
-  DEPENDS:=+libattr +libuuid +zlib +libblkid +liblzo +libpthread
+  DEPENDS:=+libattr +libuuid +zlib +zstd +libblkid +liblzo +libpthread
   TITLE:=Btrfs filesystems utilities
   URL:=https://btrfs.wiki.kernel.org/
 endef
@@ -52,8 +52,7 @@ CONFIGURE_ARGS += \
        --disable-backtrace \
        --disable-convert \
        --disable-documentation \
-       --disable-python \
-       --disable-zstd
+       --disable-python
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
git clone https://git.99rst.org/PROJECT