[master] [PATCH] Fix bug in writing keyboard configuration files
Chris Lumens
clumens at redhat.com
Wed Sep 5 21:37:33 UTC 2012
> diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
> index 51f6d1b..f01ffdd 100755
> --- a/pyanaconda/keyboard.py
> +++ b/pyanaconda/keyboard.py
> @@ -130,7 +130,7 @@ def write_layouts_config(keyboard, root):
> with open(os.path.join(xconf_dir, xconf_file), "w") as fobj:
> fobj.write(get_layouts_xorg_conf(keyboard))
>
> - with open(sysconf_file, "w") as fobj:
> + with open(os.path.normpath(root + sysconf_file), "w") as fobj:
> fobj.write('KEYTABLE="%s"\n' % keyboard.keyboard)
>
> except IOError as ioerr:
For parallelism, it might be nice to fix this the same way as xconf_dir
is handled. But, ACK whichever way you think is best.
- Chris
More information about the anaconda-patches
mailing list