From: Markus Volk Date: Sun, 6 Aug 2023 06:11:34 +0000 (+0200) Subject: systemd: add a packageconfig to support colored logs X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9b41b23695bb3517ad33ccb02ae19ca30326c6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Markus Volk Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_254.bb b/meta/recipes-core/systemd/systemd_254.bb index b958df2e433..d2ff157e44b 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"