[syslinux] keytab-lilo included with SYSLINUX is not up to date

Olivier Korn olivier.korn at reglisse.net
Sun Feb 8 06:10:43 PST 2009


Hi,

I just noticed that the keytab-lilo utility included with SYSLINUX isn't 
up to date. It *is* a problem since the old version isn't compatible 
with current distributions like Debian ou Ubuntu (for example).

Two options are offered to those who would like to use keytab-lilo in 
order to generate a file compatible with the KBDMAP directive :

- use an up to date version of keytab-lilo (by downloading last version 
of LILO for example).

- patch keytab-lilo (see below).

You'll have to search for these three lines...
if (/^u_short\s+(\S+)_map\[\S+\]\s+=\s+{\s*$/) {
     die "active at beginning of map" if defined $current;
     $current = $pfx.":".$1;

... and replace them with these :
if (/^(static\s+)?u_short\s+(\S+)_map\[\S*\]\s+=\s+{\s*$/) {
     die "active at beginning of map" if defined $current;
     $current = $pfx.":".$2;


-- 
Regards,
Olivier Korn.




More information about the Syslinux mailing list