summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-26 16:37:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-26 16:37:36 +0000
commitf3e78a2ebf8c9dbb6bbdf8fd2b062d92e2607a73 (patch)
treed63c1ddf6b967fd6fe1d62992a8c806475c5ba6e /perl-install/install/steps.pm
parent0778a1262db70474e362ac55da0690c681e51e18 (diff)
downloaddrakx-backup-do-not-use-f3e78a2ebf8c9dbb6bbdf8fd2b062d92e2607a73.tar
drakx-backup-do-not-use-f3e78a2ebf8c9dbb6bbdf8fd2b062d92e2607a73.tar.gz
drakx-backup-do-not-use-f3e78a2ebf8c9dbb6bbdf8fd2b062d92e2607a73.tar.bz2
drakx-backup-do-not-use-f3e78a2ebf8c9dbb6bbdf8fd2b062d92e2607a73.tar.xz
drakx-backup-do-not-use-f3e78a2ebf8c9dbb6bbdf8fd2b062d92e2607a73.zip
- ensure /etc/sysconfig/console/default.kmap is generated with installed
keymaps, not installer simplified (?) .bkmap (#35376)
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r--perl-install/install/steps.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index 81e393cd0..c5715e2ef 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -140,6 +140,9 @@ sub selectKeyboard {
keyboard::setup_install($o->{keyboard});
addToBeDone {
+ #- the bkmap keymaps in installer are deficient, we need to load the real one before keyboard::write which will generate /etc/sysconfig/console/default.kmap
+ run_program::rooted($::prefix, 'loadkeys', keyboard::keyboard2kmap($o->{keyboard}))
+ or log::l("loadkeys failed");
keyboard::write($o->{keyboard});
} 'installPackages' if !$o->{isUpgrade} || !$o->{keyboard}{unsafe};