[Buildroot] console-getty.service: Trying to get instance name in a non template unit file

Gervais, Francois FGervais at distech-controls.com
Mon Feb 18 18:40:50 UTC 2019


Hi,

In commit 7684637bf6274fdfde514d3320b1fc686fea5773, 

This line is added in console-getty.service:

ExecStart=-/sbin/getty -L %I 115200 vt100

I believe getting the instance name cannot be retrieved as console-getty.service is not a template.
In my tests, this simply resolves to "".

Would you agree this needs to be changed to the following?

ExecStart=-/sbin/getty -L console 115200 vt100


More information about the buildroot mailing list