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>
This commit is contained in:
parent
78fa57ebdb
commit
ea5259e701
|
@ -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…
Reference in New Issue