diff options
author | Ross Burton <ross.burton@arm.com> | 2023-10-06 12:22:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-09 15:51:13 +0100 |
commit | cedd01f57ec3ffd4b543cae819e7cde28915b164 (patch) | |
tree | a34de53f2c6f8c2331b4bb12cccbace81dff8eb3 /meta/recipes-kernel/cryptodev | |
parent | 42d35e89a343eb28d85f8c4ab4da486bed8ae160 (diff) | |
download | poky-cedd01f57ec3ffd4b543cae819e7cde28915b164.tar.gz |
busybox: use ttyrun to run getty only if the terminal exists
Wrap calls to start_getty with ttyrun, so that getty isn't started if
the device doesn't exist. As we know start_getty is only called when
the device exists we can remove the partial workaround for this problem
in that scripts too.
This neatly obsoletes SERIAL_CONSOLES_CHECK, whose sole purpose was to
check what terminals are present at boot and rewrite inittab. Notably,
this meant that SERIAL_CONSOLES_CHECK made using a read-only rootfs
impossible.
(From OE-Core rev: 950ecaabc04836efc346be0ac7e0331e2378872b)
(From OE-Core rev: 6c655441ff5cd0d8877891ff37f8cfa983363a2a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/cryptodev')
0 files changed, 0 insertions, 0 deletions