archboot/usr/lib/initcpio/install/archboot_keymap

26 lines
854 B
Text
Raw Normal View History

#!/usr/bin/env bash
2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-02-22 23:46:50 +01:00
{
2022-02-02 09:39:40 +01:00
add_full_dir "/usr/share/kbd"
2021-09-21 11:12:17 +02:00
add_file /usr/bin/archboot-km.sh /usr/bin/km
2022-01-28 10:22:55 +01:00
#add kbd binaries
2022-03-14 21:32:33 +01:00
map add_binary dumpkeys kbd_mode chvt deallocvt fgconsole getkeycodes kbdinfo kbdrate loadunimap mapscrn openvt psfaddtable psfgettable psfstriptable psfxtable setkeycodes setleds setmetamode setvtrgb showconsolefont showkey unicode_start unicode_stop vlock
2022-01-28 12:18:08 +01:00
# only add resizecons on x86_64
2022-03-14 21:32:33 +01:00
[[ "$(uname -m)" == "x86_64" ]] && add_binary resizecons
2023-01-18 09:04:50 +01:00
# add fbset
add_binary fbset
add_file /etc/fb.modes
# add terminus-font
map add_full_dir /usr/share/fonts /usr/share/fontconfig
add_file /usr/share/licenses/terminus-font/LICENSE
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook includes the keymaps and fonts on an archboot image.
2007-02-22 23:46:50 +01:00
HELPEOF
}