Browse Source

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>
lilik-openwrt-22.03
Daniel Golle 10 years ago
parent
commit
ea5259e701
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      utils/btrfs-progs/Makefile

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

@ -44,9 +44,8 @@ define Package/btrfs-progs/description
GPL and open for contribution from anyone.
endef
progs = btrfs btrfsck btrfs-debug-tree btrfs-find-root btrfs-image \
btrfs-map-logical btrfs-show-super btrfstune btrfs-zero-log \
fsck.btrfs mkfs.btrfs
progs = btrfs btrfs-debug-tree btrfs-find-root btrfs-image btrfs-map-logical \
btrfs-show-super btrfstune btrfs-zero-log fsck.btrfs mkfs.btrfs
CONFIGURE_ARGS += \
--disable-backtrace \
@ -58,6 +57,7 @@ define Package/btrfs-progs/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libbtrfs.so* $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(addprefix $(PKG_INSTALL_DIR)/usr/bin/, $(progs)) $(1)/usr/bin/
ln -s btrfs $(1)/usr/bin/btrfsck
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/btrfs-scan.init $(1)/etc/init.d/btrfs-scan
endef


Loading…
Cancel
Save