summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core
diff options
context:
space:
mode:
authorXo Wang <xow@google.com>2017-01-27 15:06:44 -0800
committerPatrick Williams <patrick@stwcx.xyz>2017-02-01 19:40:48 +0000
commit395cd552a3dda0bcebcd1cda87ca4c84d4770c6d (patch)
treefabbf1e6525bf77a2542d9054f8788992c83c5a0 /meta-phosphor/common/recipes-core
parent9e5de6c5b8d85692290de9d378f88892e7e55a33 (diff)
downloadtalos-openbmc-395cd552a3dda0bcebcd1cda87ca4c84d4770c6d.tar.gz
talos-openbmc-395cd552a3dda0bcebcd1cda87ca4c84d4770c6d.zip
busybox: default ls color output, less search and truncate
Add features to busybox configuration: - default color output for ls. ls still disables color for non-tty files - support for less search (with slash /) - support for less -S (truncate lines instead of wrapping) Notably, this makes journalctl --no-pager | less -S much more usable. ls colors were because I saw petitboot's busybox had them enabled. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I11870a26c90d8d38f6d172906f2ea407af45e2c7
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r--meta-phosphor/common/recipes-core/busybox/busybox/busybox.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/busybox/busybox/busybox.cfg b/meta-phosphor/common/recipes-core/busybox/busybox/busybox.cfg
index 174a3f203..9e788382b 100644
--- a/meta-phosphor/common/recipes-core/busybox/busybox/busybox.cfg
+++ b/meta-phosphor/common/recipes-core/busybox/busybox/busybox.cfg
@@ -1 +1,4 @@
CONFIG_DEVMEM=y
+CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
+CONFIG_FEATURE_LESS_TRUNCATE=y
+CONFIG_FEATURE_LESS_REGEXP=y
OpenPOWER on IntegriCloud