[Buildroot] [Bug 10301] systemd/getty unused options

bugzilla at busybox.net bugzilla at busybox.net
Fri Sep 8 16:55:43 UTC 2017


Yann E. MORIN <yann.morin.1998 at free.fr> changed:

           What    |Removed                     |Added
           Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
                   |.org                        |
                 CC|                            |yann.morin.1998 at free.fr
             Status|NEW                         |ASSIGNED

--- Comment #1 from Yann E. MORIN <yann.morin.1998 at free.fr> ---
Michael, All,

> In menuconfig I can set
> but it is only used for busybox and sysvinit.
> So I guess this should be implemented or disabled when systemd is used.

Yes, true.

> Is there any technical reason why this is not implemented?

As far as I understand, systemd will automatically decide the value of
$TERM depending on the type of tty it is spawning on, see:

Also, we use the getty services orvided by Systemd as-is; we do not
provide our own, so we rely on systemd's behaviour here.

Now, maybe you could try to add an "Environement=TERM=blabla" directive
in /lib/systemd/system/getty at .service and see if that works.

If that works, we can see to come up with a way to do it.

Similarly for the getty options...

In the meantime, the by-far simplest solutiokn is to hide the options
from the menuconfig when usign systemd! ;-)

Yann E. MORIN.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the buildroot mailing list