wok-current rev 1055
syslinux: 3.70 kbdmap bug quick fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 14 11:08:19 2008 +0000 (2008-07-14) |
parents | fe121c404eb7 |
children | 3ccfa87bd602 |
files | syslinux/receipt |
line diff
1.1 --- a/syslinux/receipt Mon Jul 14 02:37:21 2008 +0000 1.2 +++ b/syslinux/receipt Mon Jul 14 11:08:19 2008 +0000 1.3 @@ -22,6 +22,20 @@ 1.4 j=${j%.map.gz}.kbd 1.5 ./keytab-lilo.pl /usr/share/kbd/keymaps/i386/qwerty/us.map.gz $i > $j 1.6 done 1.7 + # patch kbdmap bug 1.8 + while read file offset; do 1.9 + cp $file $file.unpatched 1.10 + echo "Fix $file 3.70 kbdmap bug..." 1.11 + echo "0 90 90 |.." | hexdump -R | \ 1.12 + dd conv=notrunc bs=1 count=2 seek=$(($offset)) of=$file 2> /dev/null 1.13 + echo "0 90 90 |.." | hexdump -R | \ 1.14 + dd conv=notrunc bs=1 count=2 seek=$(($offset+5)) of=$file 2> /dev/null 1.15 + done <<EOT 1.16 +core/isolinux.bin 0x1AC9 1.17 +core/pxelinux.0 0x2098 1.18 +linux/syslinux-nomtools 0x3CDD 1.19 +extlinux/extlinux 0x4BBA 1.20 +EOT 1.21 } 1.22 1.23 # Rules to gen a SliTaz package suitable for Tazpkg.