aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/util-linux
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2019-10-15 11:00:37 +0300
committerJo-Philipp Wich <jo@mein.io>2019-10-18 19:28:11 +0200
commit91aabae8958d586a01eca6d47af579194f7c2116 (patch)
tree77b243b9b86c03180a2220329818a7acb775ea5c /package/utils/util-linux
parent9105057cc0da6172a77490733769a0e5f3c7b2d2 (diff)
downloadupstream-91aabae8958d586a01eca6d47af579194f7c2116.tar.gz
upstream-91aabae8958d586a01eca6d47af579194f7c2116.tar.bz2
upstream-91aabae8958d586a01eca6d47af579194f7c2116.zip
util-linux: add more command
at least vtysh needs it for proper listing, busybox is not modular so add it here Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'package/utils/util-linux')
-rw-r--r--package/utils/util-linux/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index 261a9615ef..e61e501762 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -315,6 +315,16 @@ define Package/lscpu/description
lscpu displays information about the CPU architecture
endef
+define Package/more
+$(call Package/util-linux/Default)
+ TITLE:=filter for paging through text one screenful at a time
+ DEPENDS:= +libncurses
+endef
+
+define Package/more/description
+ more is a filter for paging through text one screenful at a time
+endef
+
define Package/mcookie
$(call Package/util-linux/Default)
TITLE:=generate magic cookies for xauth
@@ -508,7 +518,6 @@ CONFIGURE_ARGS += \
--without-python \
--without-udev \
--without-readline \
- --disable-more \
--with-ncursesw
TARGET_CFLAGS += $(FPIC) -std=gnu99
@@ -667,6 +676,11 @@ define Package/lscpu/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lscpu $(1)/usr/bin/
endef
+define Package/more/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/more $(1)/usr/bin/
+endef
+
define Package/mcookie/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
@@ -782,6 +796,7 @@ $(eval $(call BuildPackage,look))
$(eval $(call BuildPackage,losetup))
$(eval $(call BuildPackage,lsblk))
$(eval $(call BuildPackage,lscpu))
+$(eval $(call BuildPackage,more))
$(eval $(call BuildPackage,mcookie))
$(eval $(call BuildPackage,mount-utils))
$(eval $(call BuildPackage,namei))