[source] xfsprogs: install path consistent with fs tools

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 18 00:21:24 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/5c96200dabe9190bc69ee0380ebbf0de4e0810f5

commit 5c96200dabe9190bc69ee0380ebbf0de4e0810f5
Author: Alberto Bursi <starshipeleven at outlook.com>
AuthorDate: Sun Oct 16 17:21:42 2016 +0200

    xfsprogs: install path consistent with fs tools
    
    changed install path from /sbin to /usr/sbin to be consistent with other filesystem tools
    ext2-3-4 and f2fs tools are in /usr/sbin, for example
    
    Signed-off-by: Alberto Bursi <alberto.bursi at outlook.it>
---
 package/utils/xfsprogs/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/package/utils/xfsprogs/Makefile b/package/utils/xfsprogs/Makefile
index 638ec4c..cd9d5f9 100644
--- a/package/utils/xfsprogs/Makefile
+++ b/package/utils/xfsprogs/Makefile
@@ -69,19 +69,19 @@ MAKE_FLAGS += \
 	PKG_DOC_DIR=$(PKG_INSTALL_DIR)/usr/share/doc/xfsprogs
 
 define Package/xfs-mkfs/install
-	mkdir -p $(1)/sbin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/mkfs.xfs $(1)/sbin
+	mkdir -p $(1)/usr/sbin
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/mkfs.xfs $(1)/usr/sbin
 endef
 
 define Package/xfs-fsck/install
-	mkdir -p $(1)/sbin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/xfs_repair $(1)/sbin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_db $(1)/sbin
+	mkdir -p $(1)/usr/sbin
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/xfs_repair $(1)/usr/sbin
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_db $(1)/usr/sbin
 endef
 
 define Package/xfs-growfs/install
-	mkdir -p $(1)/sbin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_growfs $(1)/sbin
+	mkdir -p $(1)/usr/sbin
+	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_growfs $(1)/usr/sbin
 endef
 
 $(eval $(call BuildPackage,xfs-mkfs))



More information about the lede-commits mailing list