diff options
author | Bill Nottingham <notting@redhat.com> | 2000-08-04 19:45:11 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-08-04 19:45:11 +0000 |
commit | 4026b22377297ac6a062aa067724b018b9b8cffc (patch) | |
tree | 6d282c48e6b8f14d930454b496090aa55bd84f14 /todo.py | |
parent | 9ccb362378a3ab78c5f2bf2312fbab70460a4714 (diff) | |
download | anaconda-4026b22377297ac6a062aa067724b018b9b8cffc.tar.gz anaconda-4026b22377297ac6a062aa067724b018b9b8cffc.tar.xz anaconda-4026b22377297ac6a062aa067724b018b9b8cffc.zip |
dump keymap into /etc/sysconfig/console
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -483,6 +483,15 @@ class ToDo: if self.serial: return f = open(self.instPath + "/etc/sysconfig/keyboard", "w") f.write(str (self.keyboard)) + rc = iutil.execWithRedirect("/usr/bin/loadkeys", + [ "/usr/bin/loadkeys", self.keyboard.layout ], + stdout = None, stderr, = None, + searchPath = 0, root = self.instPath) + mapfile = open(self.instPath + "/etc/sysconfig/console/default.kmap", "w") + rc = iutil.execWithRedirect("/usr/bin/dumpkeys", + [ "/usr/bin/dumpkeys"], + stdout = mapfile, stderr = None, + searchPath = 0, root = self.instPath) f.close() def needBootdisk (self): |