archboot/usr/lib/initcpio/install/arch_keymap
2012-09-11 12:57:34 +02:00

19 lines
527 B
Bash

#!/bin/bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_file /usr/bin/dumpkeys /bin/dumpkeys
add_file /usr/bin/kbd_mode /bin/kdb_mode
for i in $(find /usr/share/kbd/ ! -type d ! -name "mac*" ! -name "ppc" ! -name "ppc" ! -name "atari*" ! -name "sun*" ! -name "README*" ! -name "amiga*"); do
add_file $i
done
add_file /usr/share/archboot/keymap/km /usr/bin/km
}
help ()
{
cat<<HELPEOF
This hook includes the keymaps and fonts on an arch boot image.
HELPEOF
}