wok-4.x view syslinux/stuff/tools/keytab-lilo.pl.u @ rev 830
Syslinux: fix keymap generation
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 18 09:43:21 2008 +0000 (2008-05-18) |
parents | |
children |
line source
1 --- syslinux-3.63/keytab-lilo.pl
2 +++ syslinux-3.63/keytab-lilo.pl
3 @@ -66,5 +66,5 @@
4 chop;
5 - if (/^u_short\s+(\S+)_map\[\S+\]\s+=\s+{\s*$/) {
6 + if (/^(static\s+)?u_short\s+(\S+)_map\[\S+\]\s+=\s+{\s*$/) {
7 die "active at beginning of map" if defined $current;
8 - $current = $pfx.":".$1;
9 + $current = $pfx.":".$2;
10 next;