xserver-nodm-init: redirect Xserver output to log file
Xserver prints many debug messages by the console output, this bbappend modifies the init line to redirect the messages to a log file. Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
92448d2ea7
commit
200b839ad3
|
|
@ -0,0 +1,6 @@
|
|||
# Copyright (C) 2018 Digi International
|
||||
|
||||
do_install_append() {
|
||||
# Redirect output to log file
|
||||
sed -i -e "/^exec/{s,\$\*,\$\* >/var/log/Xsession.log 2>\&1,}" ${D}${sysconfdir}/xserver-nodm/Xserver
|
||||
}
|
||||
Loading…
Reference in New Issue