[PATCH] /etc/sysconfig/keyboard doesn't support vconsole.xyz options.
Vratislav Podzimek
vpodzime at redhat.com
Fri Oct 26 08:14:23 UTC 2012
On Thu, 2012-10-25 at 23:58 -0400, Bill Nottingham wrote:
> ---
> pyanaconda/keyboard.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
> index 51d3959..5aa9c5d 100755
> --- a/pyanaconda/keyboard.py
> +++ b/pyanaconda/keyboard.py
> @@ -187,7 +187,7 @@ def write_keyboard_config(keyboard, root, convert=True, weight=0):
> if keyboard.vc_keymap:
> try:
> with open(os.path.join(sysconf_dir, sysconf_file), "w") as fobj:
> - fobj.write('vconsole.keymap="%s"\n' % keyboard.vc_keymap)
> + fobj.write('KEYMAP="%s"\n' % keyboard.vc_keymap)
>
> except IOError as ioerr:
> errors.append("Cannot write sysconfig keyboard configuration file")
ACK. It seems there has been a misunderstanding between Harald and Brian
in the bug. 'vconsole.keymap' is a boot option while 'KEYMAP' is a key
for the /etc/sysconfig/keyboard and /etc/vconsole.conf files.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list