Browse Source

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>
lilik-openwrt-22.03
Karel Kočí 6 years ago
parent
commit
3e8d3cdce4
No known key found for this signature in database GPG Key ID: D83BD732AC2BD828
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      utils/btrfs-progs/Makefile

+ 3
- 4
utils/btrfs-progs/Makefile View File

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


Loading…
Cancel
Save