From cad4721a454d9fcda1a505fdd9825113ac034893 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 7 Dec 2013 17:56:33 +0000 Subject: rescue: Mask an unimportant error when loading kernel modules. Particularly the floppy module fails quite regularly. That said, do we even need floppy support these days? --- rescue/make_rescue_img | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rescue') diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 49dc1a8d1..8e3f64334 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -35,6 +35,9 @@ _ "../tools/install-xml-file-list list.xml $tmp"; _ "sed 's/Mageia \\([0-9]*\\)/Mageia Rescue \\1/' /etc/os-release >$tmp/etc/os-release"; _ "ls -1 $tmp/etc | sed 's,\\(.*\\),/etc/\\1,' >>$tmp/usr/share/symlinks"; +# Loading the floppy module causes this service to fail so lets mask this to +# prevent a red "FAILED" briefly showing on the screen +_ "sed -i s/ExecStart=/ExecStart=-/ $tmp/usr/lib/systemd/system/systemd-modules-load.service"; my %keytable_conflicts; my @less_important_keytables = qw(am_old am_phonetic no-dvorak de-latin1); -- cgit v1.2.1