]> git.ipfire.org Git - thirdparty/systemd.git/commit
kbd-util: allow to override the default keymap directories 31778/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Mar 2024 09:40:14 +0000 (18:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Mar 2024 18:19:45 +0000 (03:19 +0900)
commite852f10cb4a4bf8f2a735d133c6f45a4abbde5af
treeaa39a19d0c561c9a748eae0ed40daa329e3747b6
parent361c5b4bebd125a2f5f539e3d3abeaca9c759b6f
kbd-util: allow to override the default keymap directories

This introduces $SYSTEMD_KEYMAP_DIRECTORIES environment variable to
override the hardcoded keymap directories.

I think it is not necessary to provide the first class configuration
option for controlling the keymap directories, but it is not good to
hardcode the paths. So, let's introduce an environment variable to
override that.

Prompted by #31759.

Closes #31759.
docs/ENVIRONMENT.md
src/locale/localed-util.c
src/shared/kbd-util.c
src/shared/kbd-util.h