chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b7ea7
)
Add /usr/share/keymaps to localectl supported locations.
author
Michał Górny
<mgorny@gentoo.org>
Wed, 31 Jul 2013 21:12:17 +0000
(23:12 +0200)
committer
Michael Biebl
<biebl@debian.org>
Wed, 31 Jul 2013 22:09:58 +0000
(
00:09
+0200)
This is the standard upstream location where kbd installs keymaps.
src/locale/localectl.c
patch
|
blob
|
history
diff --git
a/src/locale/localectl.c
b/src/locale/localectl.c
index cd7356a1e13f8d8612ccaba1e270c0441999b70f..8259c0af5feee318ccd8a61c34759bfdb7d3cb8f 100644
(file)
--- a/
src/locale/localectl.c
+++ b/
src/locale/localectl.c
@@
-538,6
+538,7
@@
static int list_vconsole_keymaps(DBusConnection *bus, char **args, unsigned n) {
if (!keymaps)
return log_oom();
+ nftw("/usr/share/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
nftw("/usr/share/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
nftw("/usr/lib/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
nftw("/lib/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);