Disable all console boot messages
|Status:||Closed||Start date:||18 Sep 2019|
|Category:||04 - Applications|
|Target version:||2.0 - Harkonnen|
|Severity:||01 - Critical|
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.
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.
RM #716: Allow building the launcher for kiosks with -k, which hides the default terminal, restart and netconfig apps.
#1 Updated by Hammel about 1 year ago
Another thing this can do, for KIOSK builds:
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
to this packages control file.
#3 Updated by Hammel about 1 year 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.