Fix minor errors in keytab-lilo
authorOlivier Korn <olivier.korn@reglisse.net>
Tue, 10 Feb 2009 10:23:08 +0000 (11:23 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 10 Feb 2009 17:35:58 +0000 (09:35 -0800)
commit09f2a2a5a328259db37d56286001a7ee67a0480f
treede624195b946a922ec14f3ef253c22c7872fb552
parente563276370ebbff8d82f6c1a1050b2d02e491af7
Fix minor errors in keytab-lilo

H. Peter Anvin wrote:
> Thanks for the warning.  I have updated keytab-lilo in the git tree with
> keytab-lilo.pl from LILO 22.8.

Thank you H. Peter. I just checked it and the new version doesn't work
"out of the box". It says...
syntax error at keytab-lilo line 4, near "eval "
Execution of keytab-lilo aborted due to compilation errors.

Furthermore, after correcting lines 3 and 4 (which are responsible of
the above error), keyboard maps can't be found (by loadkeys utility)
because of an added bad extension (.map instead of .kmap).

Attached is a patch I wrote in order to make it fully work (apply it
against the version of keytab-lilo which is now in the git tree).
utils/keytab-lilo