lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit ea5259e701aad433956994102e06f1d1cb63397a
parent 78fa57ebdbc63750be10fd442c39bdb8d43049a4
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Thu,  2 Apr 2015 04:28:17 +0200

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>

Diffstat:
Mutils/btrfs-progs/Makefile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/btrfs-progs/Makefile b/utils/btrfs-progs/Makefile @@ -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