<div dir="ltr"><div>From: Matthew M. Dean <<a href="mailto:fireculex@gmail.com">fireculex@gmail.com</a>></div><div> </div><div>Adds blockdev from the util-linux package to the menuconfig. The busybox blockdev does not support functions like setting read-ahead.</div>
<div> </div><div><div>Signed-off-by: Matthew M. Dean <<a href="mailto:fireculex@gmail.com">fireculex@gmail.com</a>><br></div></div><div>--- a/package/utils/util-linux/Makefile<br>+++ b/package/utils/util-linux/Makefile<br>
@@ -128,6 +128,17 @@ define Package/blkid/description<br> library.<br> endef<br> <br>+define Package/blockdev<br>+$(call Package/util-linux/Default)<br>+ TITLE:=call block device ioctls from the command line<br>+ SUBMENU=disc<br>
+endef<br>+<br>+define Package/blockdev/description<br>+ The utility blockdev allows one to call block device ioctls from the <br>+command line<br>+endef<br>+<br> define Package/cal<br> $(call Package/util-linux/Default)<br>
TITLE:=display a calendar<br>@@ -428,6 +439,11 @@ define Package/blkid/install<br> $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/blkid $(1)/usr/sbin/<br> endef<br> <br>+define Package/blockdev/install<br>+ $(INSTALL_DIR) $(1)/usr/sbin<br>
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/blockdev $(1)/usr/sbin/<br>+endef<br>+<br> define Package/cal/install<br> $(INSTALL_DIR) $(1)/usr/bin<br> $(INSTALL_BIN) $(PKG_BUILD_DIR)/cal $(1)/usr/bin/<br>@@ -564,6 +580,7 @@ $(eval $(call BuildPackage,libmount))<br>
$(eval $(call BuildPackage,libuuid))<br> $(eval $(call BuildPackage,agetty))<br> $(eval $(call BuildPackage,blkid))<br>+$(eval $(call BuildPackage,blockdev))<br> $(eval $(call BuildPackage,cal))<br> $(eval $(call BuildPackage,cfdisk))<br>
$(eval $(call BuildPackage,dmesg))<br></div><div> </div></div>