summaryrefslogtreecommitdiffstats
path: root/scripts/lib/buildstats.py
diff options
context:
space:
mode:
authorBertrand Marquis <bertrand.marquis@arm.com>2022-08-11 10:47:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-31 16:54:17 +0100
commitbb8d474166f43835393a7d1bc2a3aca4363b61ae (patch)
treea24ce379d801157f8e4d3e4a40df7836e0b23051 /scripts/lib/buildstats.py
parentaf01a36c2325ddb70f3c9f2c85d77df9f1076056 (diff)
downloadpoky-bb8d474166f43835393a7d1bc2a3aca4363b61ae.tar.gz
sysvinit-inittab/start_getty: Fix respawn too fast
When an entry in /dev does not exist, start_getty is returning directly. As it is started from init in a respawn mode, it will loop infinitely. In this case add a sleep inside start_getty to prevent the "Respawning too fast" message popping up every 5 minutes. This case is happening quite often when the system is started as an hypervisor guest as the standard serial line is usually taken by it and removed from the configuration. This was triggered quite often running linux as dom0 on top of Xen on arm as the serial line is taken by Xen and removed from the device tree. Use the opportunity to replace one tab with spaces as the rest of the file is using spaces. (From OE-Core rev: 8b95138b09256df61578ddf7df16ef13bced1847) Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5a704d0ff4d95b6d3a67b80a0db2be66253e7d61) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/buildstats.py')
0 files changed, 0 insertions, 0 deletions