/usr/share/tcos/hooks-addons/13kbmap is in initramfs-tools-tcos 0.89.93ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | # hook addon for keymap
if [ -e $DESTDIR/bin/loadkeys ]; then
if [ -e $DESTDIR/etc/console/boottime.kmap.gz ] || [ -e /etc/console-setup/cached.kmap.gz ] ; then
# don't copy again if exists
_verbose "(13kbmap) No copy keymaps again"
fi
else
# server kbmap
cpifexists /bin/loadkeys /bin
if [ -f /etc/console/boottime.kmap.gz ]; then
mkdir -p $DESTDIR/etc/console
cp -ra /etc/console/boottime.kmap.gz $DESTDIR/etc/console/
fi
# for ubuntu
if [ -f /etc/console-setup/boottime.kmap.gz ]; then
mkdir -p $DESTDIR/etc/console
cp -ra /etc/console-setup/boottime.kmap.gz $DESTDIR/etc/console/
fi
# for new console-setup
if [ -f /etc/console-setup/cached.kmap.gz ]; then
mkdir -p $DESTDIR/etc/console-setup
cp -ra /etc/console-setup/cached.kmap.gz $DESTDIR/etc/console-setup/cached.kmap.gz
fi
# for new console-setup
if [ -f /etc/console-setup/cached_UTF-8_del.kmap.gz ]; then
mkdir -p $DESTDIR/etc/console-setup
cp -ra /etc/console-setup/cached_UTF-8_del.kmap.gz $DESTDIR/etc/console-setup/cached.kmap.gz
fi
fi
|