[PATCH] KEYTABLE is now vconsole.keymap (#859298)

Vratislav Podzimek vpodzime at redhat.com
Mon Oct 1 07:12:03 UTC 2012


ACK for now, but this is unfortunately a wider problem, that has to be
fixed in a more complex way -- we let user to choose X layout(s) and
then we have to write also the vconsole.keymap which is a different
value. systemd-localed should help with the mapping, but there is still
question how to handle kickstarts. Some additional patches from me
should follow this week.

On Fri, 2012-09-28 at 10:41 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> ---
>  pyanaconda/keyboard.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
> index 3180502..fb3f7ef 100755
> --- a/pyanaconda/keyboard.py
> +++ b/pyanaconda/keyboard.py
> @@ -132,7 +132,7 @@ def write_layouts_config(keyboard, root):
>              fobj.write(get_layouts_xorg_conf(keyboard))
>  
>          with open(os.path.join(sysconf_dir, sysconf_file), "w") as fobj:
> -            fobj.write('KEYTABLE="%s"\n' % keyboard.keyboard)
> +            fobj.write('vconsole.keymap="%s"\n' % keyboard.keyboard)
>  
>      except IOError as ioerr:
>          raise KeyboardConfigError("Cannot write keyboard configuration files")

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list