diff options
author | Mike Fulbright <msf@redhat.com> | 2000-03-30 16:44:16 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-03-30 16:44:16 +0000 |
commit | b136efb39afd4ab08a8f839204a4d2b27635a666 (patch) | |
tree | d7a6f5dba17bee0d7314ce0121499c7502b84b77 /todo.py | |
parent | 4a96590d0dae9ba3fc057c49fc7676539520c503 (diff) | |
download | anaconda-b136efb39afd4ab08a8f839204a4d2b27635a666.tar.gz anaconda-b136efb39afd4ab08a8f839204a4d2b27635a666.tar.xz anaconda-b136efb39afd4ab08a8f839204a4d2b27635a666.zip |
(drmike) Fix for bug #10109 - keyboard was not setup properly for foreign keyboards in kickstart mode
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -833,13 +833,19 @@ class ToDo: isCrypted = todo.instClass.rootPasswordCrypted) if todo.instClass.language: todo.language.setByAbbrev(todo.instClass.language) + if todo.instClass.keyboard: todo.keyboard.set(todo.instClass.keyboard) if todo.instClass.keyboard != "us": xkb = todo.keyboard.getXKB () + if xkb: apply (todo.x.setKeyboard, xkb) + # hack - apply to instclass preset if present as well + if (todo.instClass.x): + apply (todo.instClass.x.setKeyboard, xkb) + (bootProto, ip, netmask, gateway, nameserver) = \ todo.instClass.getNetwork() if bootProto: @@ -1282,6 +1288,7 @@ class ToDo: self.instPath + "/etc/X11/X.rpmsave") os.symlink ("../../usr/X11R6/bin/XF86_" + self.x.server, self.instPath + "/etc/X11/X") + self.x.write (self.instPath + "/etc/X11/XF86Config") self.setDefaultRunlevel () # go ahead and depmod modules on alpha, as rtc modprobe |