From 61764acade0374a5c4ec69364e09db0e38f29ab0 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Wed, 20 Sep 2017 11:59:57 +1200 Subject: [PATCH] only show alert (i.e. panic) kernel messages on the console when subiquity is running otherwise we get spam when probing for block devices and not finding any floppy drives... --- .../includes.binary/overlay/lib/systemd/system/subiquity.service | 1 + 1 file changed, 1 insertion(+) diff --git a/live-build/ubuntu-server/includes.binary/overlay/lib/systemd/system/subiquity.service b/live-build/ubuntu-server/includes.binary/overlay/lib/systemd/system/subiquity.service index 2b40f7c0..e241d307 100644 --- a/live-build/ubuntu-server/includes.binary/overlay/lib/systemd/system/subiquity.service +++ b/live-build/ubuntu-server/includes.binary/overlay/lib/systemd/system/subiquity.service @@ -10,6 +10,7 @@ ConditionPathExists=!/run/subiquity/complete [Service] Environment=PYTHONPATH=/usr/share/subiquity ExecStartPre=/bin/systemctl stop getty@tty1 +ExecStartPre=/bin/dmesg -n 1 ExecStart=/sbin/agetty -n --noclear -l /snap/bin/subiquity tty1 $TERM ExecStopPost=/bin/systemctl start getty@tty1 Type=idle