Hi,

in meta-intel in machine configuration SERIAL_CONSOLES are defined as
: SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"

I would like to remove content of this variable (as on my target
system I get always this in journalctl):

Apr 06 11:12:54 intel-corei7-64 systemd[1]:
serial-getty@ttyS2.service: Succeeded. Apr 06 11:12:54 intel-corei7-64
systemd[1]: serial-getty@ttyS1.service: Succeeded. Apr 06 11:12:54
intel-corei7-64 systemd[1]: serial-getty@ttyS2.service: Service has no
hold-off time (RestartSec=0), scheduling restart. Apr 06 11:12:54
intel-corei7-64 systemd[1]: serial-getty@ttyS2.service: Scheduled
restart job, restart counter is at 62. Apr 06 11:12:54 intel-corei7-64
systemd[1]: serial-getty@ttyS1.service: Service has no hold-off time
(RestartSec=0), scheduling restart. Apr 06 11:12:54 intel-corei7-64
systemd[1]: serial-getty@ttyS1.service: Scheduled restart job, restart
counter is at 62. Apr 06 11:12:54 intel-corei7-64 systemd[1]: Stopped
Serial Getty on ttyS1. Apr 06 11:12:54 intel-corei7-64 systemd[1]:
Started Serial Getty on ttyS1. Apr 06 11:12:54 intel-corei7-64
systemd[1]: Stopped Serial Getty on ttyS2. Apr 06 11:12:54
intel-corei7-64 systemd[1]: Started Serial Getty on ttyS2.

so I do in local.conf:
SERIAL_CONSOLES_remove = "115200;ttyS0 115200;ttyS1 115200;ttyS2"

but then I get issue when building systemd-serialgetty:
 sed: -e expression #1, char 13: unterminated `s' command

because variable looks like this:
SERIAL_CONSOLES="  " when check with bitbake -e

Is there some other way how to achieve this? Thanks.

BR,

marek
-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49105): https://lists.yoctoproject.org/g/yocto/message/49105
Mute This Topic: https://lists.yoctoproject.org/mt/72915847/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to