The name of the source and Debian/Ubuntu package for kmaps is console-data. And the directory to create on the iso and place an imported console-data.sce is /cde/sce/. I will start working this in.
hmm, as time goes by ... yes I needed quite some time to try it out ...
In the meantime I have a bare dCore running and succeeded in importing console-data and loadsce'ing it. But as far as I can see console-data installs only gz-compressed ascii kmap files but not the binary versions required by loadkmap.
So, a little bit of googling later I fetched yet another package: kbd which requires other packages also and installs the required command loadkeys.
The required steps for getting a keyboard-layout different from english (with german and no dead keys as an example are):
importsce console-data
loadsce console-data
importsce kbd
loadsce kbd
gunzip -c /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.kmap.gz > de-latin1-ndk.kmap
gunzip -c /usr/share/keymaps/i386/qwertz/de-latin1.kmap.gz > de-latin1.kmap
loadkeys -b de-latin1-ndk.kmap > de.kmap.bin
sudo loadkmap < de.kmap.bin
importsce kbd ask you to choose between kbd and kbdd. I have chosen kbd and apparently found the correct package. de-latin1-ndk.kmap includes de-latin1.kmap, but loadkeys tells you that it is missing something.
The result is as good as CorePlus remastered for german Keyboard (see Wiki
http://wiki.tinycorelinux.net/wiki:remastering_kmap_iso).
Now I could de.kmap.bin to
/usr/share/kmap/de.kmap but that will not be persistent and most probably overwritten on the next reboot.
Now, I don't have any clue what whould be the correct boot code to have that layout permanently. As far as I understand it, boot code
kmap=layout tells the kernel to use
/usr/share/kmaps/layout.kmap as binary dump of the kernel keymap.
I have put the binary keymap to a directory in the root of my USB stick, so I can do a
loadkmap < de.kmap after reboot, but I don't like it too much ...
But how do I make that permanent?
What should I do now?
--
Bernhard