[master/f20-branch][PATCH] Do not write out the vconsole.keymap boot option (#1035316)

Vratislav Podzimek vpodzime at redhat.com
Thu Nov 28 06:29:40 UTC 2013


On Wed, 2013-11-27 at 11:43 -0500, Chris Lumens wrote:
> > diff --git a/pyanaconda/keyboard.py b/pyanaconda/keyboard.py
> > index 2bfdb00..99b4f64 100644
> > --- a/pyanaconda/keyboard.py
> > +++ b/pyanaconda/keyboard.py
> > @@ -263,11 +263,7 @@ def dracut_setup_args(keyboard):
> >  
> >      """
> >  
> > -    if not keyboard.vc_keymap:
> > -        populate_missing_items(keyboard)
> > -
> >      args = set()
> > -    args.add("vconsole.keymap=%s" % keyboard.vc_keymap)
> >      args.add("vconsole.font=%s" % DEFAULT_VC_FONT)
> >  
> >      return args
> 
> Remember to get rid of the now-unused keyboard argument.
Good catch, thanks! It's a bit weird that keyboard related boot options
are independend on keyboard settings and I'll be soon working on a patch
for setting vconsole.font based on VConsole keymap, but for now, the
keyboard argument may go away.

-- 
Vratislav Podzimek

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



More information about the anaconda-patches mailing list