[arch-releng] [RFC] Adding keymap remap support at syslinux stage for archiso

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Fri Sep 2 00:46:51 EDT 2011


On 09/02/2011 01:33 AM, Gerardo Exequiel Pozzi wrote:
> Hello
>
> I am working on this now, the support is very basic, but I think the 
> most important symbols are remapped.
>
> I created a scripts that generated *.ktl files from [kbd] package 
> using keytab-lilo. I also patch this program in this script, so can 
> use map thats needs unicode.
>
> https://gist.github.com/1187908
>
> In some cases we have:
>     * two maps versions one non-unicode and other unicode.
>     * Non-unicode and other unicode but them are the same (keep with one)
>     * one map non-unicode only
>     * one map unicode only
>     * nothing because conversion fails.
>
> The script also makes syslinux submenus (in a really basic way, no 
> fancy titles), also converts filenames to be more ISO-9660 friendly.
>
> So the steps to implements this are:
>     * Make a package from generated files from the script.
>     * Install this package in build.sh
>     * Copy kbdmap/ directory (from installed package) to syslinux/ 
> directory.
>     * Add to syslinux.cfg these lines:
> ---------
> MENU BEGIN kbdmap
>   MENU LABEL Change Keyboard Map
>   INCLUDE kbdmap/kbdmap.cfg
> MENU END
> ---------
>
> After you selected the desired keymap, syslinux drops to boot: prompt, 
> just hitting enter, returns to main menu (do in this way for now, at 
> least at this moment I can not find a way that does not reset keyboard 
> remap)
>

I uploaded here an small qcow2 image (768K compressed) for qemu/kvm, for 
anyone want to test it.

Only contains syslinux things.

$ qemu-system-x86_64 kbd.qcow2

http://archlinux.djgera.com.ar/archiso/kbd.qcow2.xz




-- 
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1



More information about the arch-releng mailing list