Project

General

Profile

Actions

Bug #716

closed

Disable all console boot messages

Added by Hammel about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Applications
Target version:
Start date:
18 Sep 2019
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

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

Related to PiBox - Feature #718: Integrate splash into kernel imageClosedHammel19 Sep 2019

Actions
Actions #1

Updated by Hammel about 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.

Actions #2

Updated by Hammel about 5 years ago

  • Severity changed from 02 - High to 01 - Critical
Actions #3

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.

Actions

Also available in: Atom PDF