[Buildroot] Systemd default console

Carlos Santos unixmania at gmail.com
Fri Sep 20 14:47:08 UTC 2019


On Fri, Sep 20, 2019 at 10:39 AM Norbert Lange <nolange79 at gmail.com> wrote:
>
> Hello,
>
> I tried systemd with busybox for the first time and I have now the
> problem that login vie serial is not working correctly.
>
> -   busybox creates the link
> /etc/systemd/system/getty.target.wants/console-getty.service, which
> starts a getty on ttyS0
> -   systemd itself create
> /run/systemd/generator/getty.target.wants/serial-getty at ttyS0.service
> automatically (no idea when and how)
>
> in and output is perfectly garbled until one of those services is killed.
> Given that systemd automatically picks up the getty from the
> commandline, is there any reason for busybox to setup /dev/console?

Do not use BR2_TARGET_GENERIC_GETTY_PORT with systemd.

-- 
Carlos Santos <unixmania at gmail.com>


More information about the buildroot mailing list