On 01/20/2014 04:06 PM, Bernhard Reutner-Fischer wrote:
On 20 January 2014 03:23:02 Chen Qi <qi.c...@windriver.com> wrote:

The less command provided by busybox cannot interpret the control
character, resulting in obscure output of the journalctl command
in a systemd based image.

Can you send me the input containing this control character, please?

Perhaps we can do something sensible about it..
TIA,

For more details, please refer to https://bugzilla.yoctoproject.org/show_bug.cgi?id=5723.
You can also add you comments there.

Best Regards,
Chen Qi


Add the 'less' package to systemd's RRECOMMENDS so that the output
of 'journalctl' looks clear to users.

[YOCTO #5723]

Signed-off-by: Chen Qi <qi.c...@windriver.com>
---
 meta/recipes-core/systemd/systemd_208.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/systemd/systemd_208.bb b/meta/recipes-core/systemd/systemd_208.bb
index 6590235..3c44dec 100644
--- a/meta/recipes-core/systemd/systemd_208.bb
+++ b/meta/recipes-core/systemd/systemd_208.bb
@@ -219,10 +219,12 @@ FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ $

 RDEPENDS_${PN} += "kmod dbus util-linux-mount"

+# Recommend the less package to correctly display the contents of 'journalctl'
 RRECOMMENDS_${PN} += "systemd-serialgetty systemd-compat-units \
                       util-linux-agetty \
                       util-linux-fsck e2fsprogs-e2fsck \
kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 \
+                      less \
 "

 PACKAGES =+ "udev-dbg udev udev-utils udev-hwdb"
--
1.7.9.5

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core



Sent with AquaMail for Android
http://www.aqua-mail.com





_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to