diff options
-rw-r--r-- | meta-phosphor/recipes-core/busybox/busybox/less.cfg | 10 | ||||
-rw-r--r-- | meta-phosphor/recipes-core/busybox/busybox_%.bbappend | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/busybox/busybox/less.cfg b/meta-phosphor/recipes-core/busybox/busybox/less.cfg new file mode 100644 index 000000000..2b452279b --- /dev/null +++ b/meta-phosphor/recipes-core/busybox/busybox/less.cfg @@ -0,0 +1,10 @@ +## In orer to make systemd-pager work well there are a number of busybox less +## features we need to enable. +CONFIG_FEATURE_LESS_DASHCMD=y +CONFIG_FEATURE_LESS_RAW=y +CONFIG_FEATURE_LESS_ENV=y + +## These are nice features for users. +CONFIG_FEATURE_LESS_WINCH=y +CONFIG_FEATURE_LESS_ASK_TERMINAL=y +CONFIG_FEATURE_LESS_REGEXP=y diff --git a/meta-phosphor/recipes-core/busybox/busybox_%.bbappend b/meta-phosphor/recipes-core/busybox/busybox_%.bbappend index 8907b08e0..9433b5c33 100644 --- a/meta-phosphor/recipes-core/busybox/busybox_%.bbappend +++ b/meta-phosphor/recipes-core/busybox/busybox_%.bbappend @@ -1,5 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://busybox.cfg" SRC_URI += "file://flash.cfg" +SRC_URI += "file://less.cfg" SRC_URI += "file://mountpoint.cfg" SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'obmc-ubi-fs', '', 'file://reboot.cfg', d)}" |