diff mbox series

[PATCHv2] systemd: add less to RRECOMMENDS

Message ID 20230805070334.230324-1-f_l_k@t-online.de
State New
Headers show
Series [PATCHv2] systemd: add less to RRECOMMENDS | expand

Commit Message

Markus Volk Aug. 5, 2023, 7:03 a.m. UTC
journald uses less to display logs. less.busybox can do the
job, but it rips out support for color/highlighting.

So I would highly recommend to use the real 'less'

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-core/systemd/systemd_253.7.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Otavio Salvador Aug. 5, 2023, 8:32 p.m. UTC | #1
Em sáb., 5 de ago. de 2023 às 04:03, Markus Volk <f_l_k@t-online.de> escreveu:
> journald uses less to display logs. less.busybox can do the
> job, but it rips out support for color/highlighting.
>
> So I would highly recommend to use the real 'less'
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>

I think this should be added depending on a PACKAGECONFIG. Adding it
by default seems overkill.
Markus Volk Aug. 6, 2023, 6:11 a.m. UTC | #2
On Sat, Aug 5 2023 at 05:32:13 PM -03:00:00, Otavio Salvador 
<otavio.salvador@ossystems.com.br> wrote:
> Adding it by default seems overkill

That's true. I'll send a path for it
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_253.7.bb b/meta/recipes-core/systemd/systemd_253.7.bb
index 1fd4556afd..20dcda5823 100644
--- a/meta/recipes-core/systemd/systemd_253.7.bb
+++ b/meta/recipes-core/systemd/systemd_253.7.bb
@@ -679,6 +679,7 @@  RDEPENDS:${PN} += "kmod dbus util-linux-mount util-linux-umount udev (= ${EXTEND
 RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)}"
 RDEPENDS:${PN} += "volatile-binds"
 
+RRECOMMENDS:${PN} += "less"
 RRECOMMENDS:${PN} += "systemd-extra-utils \
                       udev-hwdb \
                       e2fsprogs-e2fsck \