summaryrefslogtreecommitdiff
path: root/package/utils
diff options
context:
space:
mode:
authorJan Pavlinec <jan.pavlinec@nic.cz>2018-03-19 13:05:03 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-31 16:30:30 +0200
commit8c2b8d862b8de10c6de303efb615d2ef2dfbbde5 (patch)
treef1182faaa228d46b7b9074774966a35c614da4bf /package/utils
parent8262179f4a007035a531bb913261f5f91115fad8 (diff)
downloadmtk-20170518-8c2b8d862b8de10c6de303efb615d2ef2dfbbde5.zip
mtk-20170518-8c2b8d862b8de10c6de303efb615d2ef2dfbbde5.tar.gz
mtk-20170518-8c2b8d862b8de10c6de303efb615d2ef2dfbbde5.tar.bz2
xfsprogs: add xfs-admin util
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Diffstat (limited to 'package/utils')
-rw-r--r--package/utils/xfsprogs/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/utils/xfsprogs/Makefile b/package/utils/xfsprogs/Makefile
index 5cf1da2..50a5147 100644
--- a/package/utils/xfsprogs/Makefile
+++ b/package/utils/xfsprogs/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=xfsprogs
PKG_CPE_ID:=cpe:/a:sgi:xfsprogs
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_VERSION:=4.11.0
PKG_SOURCE_URL:=@KERNEL/linux/utils/fs/xfs/xfsprogs
PKG_HASH:=c3a6d87b564d7738243c507df82276bed982265e345363a95f2c764e8a5f5bb2
@@ -28,6 +28,11 @@ define Package/xfsprogs/default
URL:=http://oss.sgi.com/projects/xfs
endef
+define Package/xfs-admin
+$(call Package/xfsprogs/default)
+ TITLE:=Utilities for changing parameters of an XFS filesystems
+endef
+
define Package/xfs-mkfs
$(call Package/xfsprogs/default)
TITLE:=Utility for creating XFS filesystems
@@ -65,6 +70,12 @@ define Build/Compile
$(call Build/Compile/Default)
endef
+define Package/xfs-admin/install
+ mkdir -p $(1)/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_db $(1)/sbin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_admin $(1)/sbin
+endef
+
define Package/xfs-mkfs/install
mkdir -p $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/mkfs.xfs $(1)/usr/sbin
@@ -81,6 +92,7 @@ define Package/xfs-growfs/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xfs_growfs $(1)/usr/sbin
endef
+$(eval $(call BuildPackage,xfs-admin))
$(eval $(call BuildPackage,xfs-mkfs))
$(eval $(call BuildPackage,xfs-fsck))
$(eval $(call BuildPackage,xfs-growfs))