summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 121d1cf8e..d616e3403 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -384,7 +384,7 @@ sub from_usb() {
sub load {
my ($keymap) = @_;
- return if $::testing;
+ return if $::testing || c::kernel_version() =~ /^\Q2.6/;
my ($magic, @keymaps) = unpack "I i" . c::MAX_NR_KEYMAPS() . "a*", $keymap;
$keymap = pop @keymaps;