diff options
author | Xo Wang <xow@google.com> | 2017-01-28 02:06:44 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-01 22:40:48 +0300 |
commit | 395cd552a3dda0bcebcd1cda87ca4c84d4770c6d (patch) | |
tree | fabbf1e6525bf77a2542d9054f8788992c83c5a0 /meta-phosphor/common/recipes-core | |
parent | 9e5de6c5b8d85692290de9d378f88892e7e55a33 (diff) | |
download | openbmc-395cd552a3dda0bcebcd1cda87ca4c84d4770c6d.tar.xz |
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.cfg | 3 |
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 |