Bug #716
closedDisable all console boot messages
100%
Description
I need to disable all boot messages in production systems. The way to handle this is to create an app that, on install, updates the system in production specific ways depending on the system the package is built for.
One of the first things this package needs to do is disable console messages. This can be achieved with two changes applied to cmdline.txt boot args.
loglevel=0 console=tty3
The first disables all but absolutely fatal console messages while the second routes init script messages to tty3. Note that there is already a console=tty0 so the latter needs to be a sed change while the former is appended to the boot args.
Related issues
Updated by Hammel over 5 years ago
Another thing this can do, for KIOSK builds:
mkdir /etc/launcher/.noshow
cd /etc/launcher
mv netconfig.xml restart.xml terminal.xml .noshow
Note this has to be run AFTER all the other packages have been installed. This can be done by adding
Depends: launcher
to this packages control file.
Updated by Hammel about 5 years ago
- Severity changed from 02 - High to 01 - Critical
Updated by Hammel about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
The console=tty3 change was pushed as part of RM #689. Boot up is now quite clean.
A specialized app wasn't necessary for KIOSK mode. I just needed to add an option to build the launcher for the kiosk, which would package it with the default apps under .noshow.
This has been done, committed and pushed.
Closing issue.