aboutsummaryrefslogtreecommitdiffstats
path: root/package/util-linux-ng
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-01-04 03:13:38 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-01-04 03:13:38 +0000
commit39d15da16f8423487871c64c2a9a08eaf6467262 (patch)
tree51ed3ee34e2d765a40d3ac161aa62d8ca3e14271 /package/util-linux-ng
parentb5ccc2e5051668adc43ccbab969ed46b8a7ed7ad (diff)
downloadupstream-39d15da16f8423487871c64c2a9a08eaf6467262.tar.gz
upstream-39d15da16f8423487871c64c2a9a08eaf6467262.tar.bz2
upstream-39d15da16f8423487871c64c2a9a08eaf6467262.zip
Package mount and umount
SVN-Revision: 10106
Diffstat (limited to 'package/util-linux-ng')
-rw-r--r--package/util-linux-ng/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/package/util-linux-ng/Makefile b/package/util-linux-ng/Makefile
index 103e7909cb..e15d555086 100644
--- a/package/util-linux-ng/Makefile
+++ b/package/util-linux-ng/Makefile
@@ -56,6 +56,15 @@ define Package/losetup/description
This package contains a utility for managing loopback devices.
endef
+define Package/mount-utils
+$(call Package/util-linux/Default)
+ TITLE:=Devices mount/unmounting utilities
+endef
+
+define Package/mount-utils/description
+ This package contains utilities to mount/unmount devices.
+endef
+
define Package/swap-utils
$(call Package/util-linux/Default)
TITLE:=Swap space management utilities
@@ -80,7 +89,7 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/disk-utils mkswap
- $(MAKE) -C $(PKG_BUILD_DIR)/mount swapon losetup
+ $(MAKE) -C $(PKG_BUILD_DIR)/mount swapon losetup umount mount
$(MAKE) -C $(PKG_BUILD_DIR)/fdisk fdisk cfdisk
$(MAKE) -C $(PKG_BUILD_DIR)/hwclock hwclock
endef
@@ -100,6 +109,11 @@ define Package/losetup/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mount/losetup $(1)/usr/sbin/
endef
+define Package/mount-utils/install
+ $(INSTALL_DIR) $(1)/usr/sbin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/mount/{u,}mount $(1)/usr/sbin
+endef
+
define Package/swap-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/disk-utils/mkswap $(1)/usr/sbin/
@@ -115,5 +129,6 @@ endef
$(eval $(call BuildPackage,fdisk))
$(eval $(call BuildPackage,cfdisk))
$(eval $(call BuildPackage,losetup))
+$(eval $(call BuildPackage,mount-utils))
$(eval $(call BuildPackage,swap-utils))
$(eval $(call BuildPackage,hwclock))