]> code.ossystems Code Review - openembedded-core.git/commit
systemd: Fix systemd when used with busybox less
authorAlban Bedel <alban.bedel@aerq.com>
Tue, 3 Nov 2020 15:13:34 +0000 (16:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Nov 2020 14:31:56 +0000 (14:31 +0000)
commitde7e36a7858ebca4615975967fcad1c399eacdb0
treea07e85e3d825fb881ca83e4ea9fce81146657870
parentfb24d6504c30d3302fda42b6e6a918d674323a8f
systemd: Fix systemd when used with busybox less

Per default systemd use a pager for the output of most of its tools
and it expect this pager to be color capable. But that is not the case
when the busybox `less` is used, which lead to output garbled by color
escape sequences.

To fix this issue add a profile frament that disable the systemd pager
when busybox `less` is detected.

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/systemd-pager.sh [new file with mode: 0644]
meta/recipes-core/systemd/systemd_246.6.bb