/init does not correctly handle serial port config from command line
According to kernel docs https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt and https://www.kernel.org/doc/Documentation/admin-guide/serial-console.rst serial port console config supports more options than just speed, e.g.:
console=115200n8
/init
will then configure /etc/inittab
for getty, but getty does not
understand the kernel syntax and repeatedly prints
getty: bad speed
/init
should do a better job of parsing the kernel console command
line syntax
(from redmine: issue id 7037, created on 2017-03-17, closed on 2017-06-16)
- Changesets:
- Revision c32140e9 by Natanael Copa on 2017-06-16T14:49:04Z:
main/mkinitfs: upgrade to 3.1.0
fixes #7037