]> git.ipfire.org Git - thirdparty/systemd.git/commit
getty-generator: Use device hotplug to instantiate virtualizer consoles
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 17 Apr 2023 22:46:11 +0000 (00:46 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 18 Apr 2023 07:35:14 +0000 (09:35 +0200)
commite7e6ce5f8d467304731a98e8a140e69713f1bf07
treefbd627506d3bf904accf9092ae8cca313bac9d72
parentb3a062cb80bfa4ca96a321aa4736fe4f939ff7cd
getty-generator: Use device hotplug to instantiate virtualizer consoles

If getty-generator runs in the initrd, the corresponding tty might not
have been instantiated yet in /dev, which means a serial getty is not
spawned on it. Instead, let's instantiate the serial-getty when the
device appears so that it always gets instantiated.
src/getty-generator/getty-generator.c