diff options
author | Daniel Golle <daniel@makrotopia.org> | 2018-07-27 12:50:35 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-07-27 12:51:03 +0200 |
commit | af4b23dde2886ffea7374cbb22807d0be8a21b76 (patch) | |
tree | a9c34e1c4db0f2fddc066952e3287fad2b35b0f7 /package/utils/util-linux/Makefile | |
parent | d05967baecca33774ab95d4ffabbcb4cc9d0a1bf (diff) | |
download | upstream-af4b23dde2886ffea7374cbb22807d0be8a21b76.tar.gz upstream-af4b23dde2886ffea7374cbb22807d0be8a21b76.tar.bz2 upstream-af4b23dde2886ffea7374cbb22807d0be8a21b76.zip |
util-linux: package blockdev executable
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/utils/util-linux/Makefile')
-rw-r--r-- | package/utils/util-linux/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile index 5d31e6d993..73afdca24c 100644 --- a/package/utils/util-linux/Makefile +++ b/package/utils/util-linux/Makefile @@ -141,6 +141,16 @@ define Package/blkid/description library. endef +define Package/blockdev +$(call Package/util-linux/Default) + TITLE:=call block device ioctls from the command line + SUBMENU=Disc +endef + +define Package/blockdev/description + The blockdev program is the command-line interface to call block device ioctls. +endef + define Package/cal $(call Package/util-linux/Default) TITLE:=display a calendar @@ -565,6 +575,11 @@ define Package/blkid/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/ endef +define Package/blockdev/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blockdev $(1)/usr/sbin/ +endef + define Package/cal/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/ @@ -734,6 +749,7 @@ $(eval $(call BuildPackage,libuuid)) $(eval $(call BuildPackage,agetty)) $(eval $(call BuildPackage,blkdiscard)) $(eval $(call BuildPackage,blkid)) +$(eval $(call BuildPackage,blockdev)) $(eval $(call BuildPackage,cal)) $(eval $(call BuildPackage,cfdisk)) $(eval $(call BuildPackage,dmesg)) |