summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/keyboard.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/keyboard.pm b/lib/keyboard.pm
index ca6107c..400a365 100644
--- a/lib/keyboard.pm
+++ b/lib/keyboard.pm
@@ -630,7 +630,9 @@ Section "InputClass"
output_p("$::prefix/etc/X11/xorg.conf.d/00-keyboard.conf", $xorgconf);
run_program::rooted($::prefix, 'dumpkeys', '>', '/etc/sysconfig/console/default.kmap') or log::l("dumpkeys failed");
- run_program::run('mageia-setup-keyboard');
+ # It's uncertain whether this works at all any more. But it certainly
+ # breaks the keyboard settings on Live systems (mga#23946)
+ run_program::run('mageia-setup-keyboard') if ! -e '/run/mgalive';
}
sub configure_and_set_standalone {