package/busybox: Enable flags for use as systemd pager
PATCH 1/1 package/busybox: Enable flags for use as systemd pager
If the less package is not enable and systemd is enabled, then configure the less applet to fully work with systemd.
systemd sets the flags for less in an environment variable and requires a few options for correct display.
--- package/busybox/busybox.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)
package/busybox/busybox.mk +11 -0
@@ -236,6 +236,16 @@ define BUSYBOX_SET_SELINUX endef endif +ifeq ($(BR2_PACKAGE_SYSTEMD)X$(BR2_PACKAGE_LESS),yX) +define BUSYBOX_SET_LESS_FLAGS + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_DASHCMD) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_RAW) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_TRUNCATE) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_FLAGS) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_ENV) +endef +endif + ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),y) define BUSYBOX_SET_INDIVIDUAL_BINARIES $(call KCONFIG_ENABLE_OPT,CONFIG_BUILD_LIBBUSYBOX)
@@ -337,6 +347,7 @@ define BUSYBOX_KCONFIG_FIXUP_CMDS $(BUSYBOX_SET_INIT) $(BUSYBOX_SET_WATCHDOG) $(BUSYBOX_SET_SELINUX) + $(BUSYBOX_SET_LESS_FLAGS) $(BUSYBOX_SET_INDIVIDUAL_BINARIES) endef
Signature · 1 line
2.27.0
Thomas Petazzoni
AppliedPATCH 1/1 package/busybox: Enable flags for use as systemd pager
Quoted 10 lines · On Fri, 17 Jul 2020 12:18:36 +0200 Norbert Lange <[email protected]> wrote:
If the less package is not enable and systemd is enabled, then configure the less applet to fully work with systemd.
systemd sets the flags for less in an environment variable and requires a few options for correct display.
Signed-off-by Norbert Lange <[email protected]>--- package/busybox/busybox.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/busybox: Enable flags for use as systemd pager
In reply to Norbert LangeQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Norbert" == Norbert Lange <[email protected]> writes:
If the less package is not enable and systemd is enabled, then configure the less applet to fully work with systemd.
systemd sets the flags for less in an environment variable and requires a few options for correct display.
Signed-off-by Norbert Lange <[email protected]>
Committed to 2020.02.x and 2020.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard