From: Matthew M. Dean <[email protected]> Adds blockdev from the util-linux package to the menuconfig. The busybox blockdev does not support functions like setting read-ahead.
Signed-off-by: Matthew M. Dean <[email protected]> --- a/package/utils/util-linux/Makefile +++ b/package/utils/util-linux/Makefile @@ -128,6 +128,17 @@ 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 utility blockdev allows one to call block device ioctls from the +command line +endef + define Package/cal $(call Package/util-linux/Default) TITLE:=display a calendar @@ -428,6 +439,11 @@ define Package/blkid/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/blkid $(1)/usr/sbin/ endef +define Package/blockdev/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/blockdev $(1)/usr/sbin/ +endef + define Package/cal/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/cal $(1)/usr/bin/ @@ -564,6 +580,7 @@ $(eval $(call BuildPackage,libmount)) $(eval $(call BuildPackage,libuuid)) $(eval $(call BuildPackage,agetty)) $(eval $(call BuildPackage,blkid)) +$(eval $(call BuildPackage,blockdev)) $(eval $(call BuildPackage,cal)) $(eval $(call BuildPackage,cfdisk)) $(eval $(call BuildPackage,dmesg))
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
