]> code.ossystems Code Review - openembedded-core.git/commit
systemd: Sync systemd-serialgetty@.service with upstream
authorOtavio Salvador <otavio.salvador@gmail.com>
Fri, 12 Jun 2020 17:30:44 +0000 (14:30 -0300)
committerSteve Sakoman <steve@sakoman.com>
Thu, 18 Jun 2020 16:23:00 +0000 (06:23 -1000)
commite6e2cabc33ab30d38e31ef830f7bc5e3cd07b6d5
treef73b60c01390844db9853e1b7a17459d45bfbc54
parentf47fe24317d2fd19112c7e38858b21b3457835d9
systemd: Sync systemd-serialgetty@.service with upstream

The systemd upstream has been doing some improvements in the service
which were not in sync, with the forked file. Mainly:

 - Use BindsTo to bind the service with the required serial device
 - Add of getty-pre.target as dependency so we can run things before
   getty@.service and serial-getty@.service
 - Add conflicts to rescue to avoid issues with sulogin

We did not change the ExecStart and Environment fields so we don't have
side effects of this change.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63bbff61b78c651339c4b18d8376187379ec3b3c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service