From 8e6dc32e5e0f63c1265bba3f676a7c795a6c63b6 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 6 Aug 2023 08:11:34 +0200 Subject: [PATCH] systemd: add a packageconfig to support colored logs journald uses less to display logs. less.busybox can do the job, but it rips out support for color/highlighting. (From OE-Core rev: 2e9b41b23695bb3517ad33ccb02ae19ca30326c6) Signed-off-by: Markus Volk Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_254.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_254.bb b/meta/recipes-core/systemd/systemd_254.bb index b958df2e43..d2ff157e44 100644 --- a/meta/recipes-core/systemd/systemd_254.bb +++ b/meta/recipes-core/systemd/systemd_254.bb @@ -159,6 +159,7 @@ PACKAGECONFIG[ima] = "-Dima=true,-Dima=false" PACKAGECONFIG[importd] = "-Dimportd=true,-Dimportd=false,glib-2.0" # Update NAT firewall rules PACKAGECONFIG[iptc] = "-Dlibiptc=true,-Dlibiptc=false,iptables" +PACKAGECONFIG[journal-color] = ",,,less" PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl" PACKAGECONFIG[kmod] = "-Dkmod=true,-Dkmod=false,kmod" PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig"