]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd: always depend on the explicit serial console units
authorRoss Burton <ross.burton@arm.com>
Tue, 22 Apr 2025 19:00:52 +0000 (20:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2025 18:52:56 +0000 (19:52 +0100)
commita7036173acdb84d516f17257e02a936f04c584d8
tree9182aa26eadb0c8813b6d3ad115a745c05fad8bc
parentaf15f9d1609708443ed036fdb611cea92f566620
systemd: always depend on the explicit serial console units

The systemd-serialgetty recipe generates explicit units for consoles
that are defined in SERIAL_CONSOLES, and if that variable is not defined
then just produces an empty package.

Even when systemd has been configured to use the getty generator, if
there are explicit consoles defined then we should respect them.  Don't
conditionalise the dependency on systemd-serialgetty so that we always
pull in the explicit consoles.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_257.5.bb