mkimage-profiles/features.in/l10n/config.mk

38 lines
1.0 KiB
Makefile
Raw Normal View History

# install locales
# setup locale
# setup console keyboard (kbd)
# setup X11 keyboard (xkb)
# install/setup additional packages
# TODO: KEYMAP for default keymap?
use/l10n:
@$(call add_feature)
@$(call add,THE_PACKAGES,glibc-locales)
@$(call add,LOCALES,en_US)
@$(call add,XKB_KEYMAPS,us)
2020-03-03 22:36:22 +03:00
@$(call try,LOCALE,en_US)
@$(call xport,LOCALE)
@$(call xport,LOCALES)
@$(call xport,XKB_KEYMAPS)
@$(call xport,XKB_VARIANTS)
@$(call xport,XKB_SWITCH)
@$(call xport,XKB_LED)
# see also alterator-sysconfig backend
use/l10n/xkb/switch/ctrl_shift: use/l10n
@$(call set,XKB_SWITCH,grp:ctrl_shift_toggle)
use/l10n/xkb/led/scroll: use/l10n
@$(call set,XKB_LED,grp_led:scroll)
# FIXME: derive from locale by default if possible
use/l10n/ru_RU: use/l10n/xkb/switch/ctrl_shift use/l10n/xkb/led/scroll
@$(call add,LOCALES,ru_RU)
@$(call set,LOCALE,ru_RU)
@$(call add,XKB_KEYMAPS,ru)
@$(call set,KEYTABLE,ruwin_ct_sh-UTF-8)
# NB: BOOT_LANG is used within mkimage internally
use/l10n/default/ru_RU: use/l10n/ru_RU
@$(call set,GLOBAL_BOOT_LANG,ru_RU)