Skip to content

Commit 9741b48

Browse files
ChenQi1989rpurdie
authored andcommitted
systemd: do not delete systemd-getty-generator
Some BSPs don't set SERIAL_CONSOLES. They need systemd-getty-generator[1] be there to work. This generator has been there for a few previous releases, we don't see any problem it brings up. So let's keep it. [1] https://www.freedesktop.org/software/systemd/man/latest/systemd-getty-generator.html Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
1 parent 579755c commit 9741b48

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

meta/recipes-core/systemd/systemd_257.4.bb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,6 @@ do_install() {
288288
fi
289289
install -d ${D}/${base_sbindir}
290290

291-
if ! ${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', 'true', 'false', d)}; then
292-
# Remove the serial-getty generator and instead use explicit services
293-
# created by the systemd-serialgetty recipe
294-
find ${D} -name \*getty-generator\* -delete
295-
fi
296-
297291
# Provide support for initramfs
298292
[ ! -e ${D}/init ] && ln -s ${nonarch_libdir}/systemd/systemd ${D}/init
299293
[ ! -e ${D}/${base_sbindir}/udevd ] && ln -s ${nonarch_libdir}/systemd/systemd-udevd ${D}/${base_sbindir}/udevd

0 commit comments

Comments
 (0)