You are not logged in.
Pages: 1
Hello,
after upgrading mkinitcpio (34-2 -> 35.1-1) I get the following error:
> Running build hook: [keymap]
loadkeys: Unable to open file: : No such file or directory
This leads to an empty keymap.bin inside initramfs.
As result I have to type my crypt-password on a english keymap while using a german keyboard.
# loadkeys de -v
shows no problems, the keymap 'de' exists.
Best regards
Last edited by marvinia (2023-03-22 13:35:17)
Offline
https://gitlab.archlinux.org/archlinux/ … all/keymap
cat /etc/{vconsole,locale}.conf
Online
$ cat /etc/{vconsole,locale}.conf
KEYMAP=de
# This is the fallback locale configuration provided by systemd.
LANG="C"
Offline
Since the LANG is non-unicode (really??) and the missing file is literally empty, I suspect the empty "$uc" to cause this.
While this wouold be a bug that should be reported against mkinitcpio, https://wiki.archlinux.org/title/Locale
Fix your locale, use C.UTF-8 in doubt.
A shit-ton of stuff blindly relies on a utf8 locale these days.
Online
Thank you seth!
Already after your 1st reply i edited my locale.conf to:
LANG=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
The problem is solved.
Wish you a nice day!
Edit: There is already a bug report: https://bugs.archlinux.org/task/77949
Last edited by marvinia (2023-03-22 13:49:24)
Offline
A potential fix: https://gitlab.archlinux.org/archlinux/ … quests/230
Please test!
Edit: The fix is included in mkinitcpio 35.2-1.
Last edited by nl6720 (2023-03-24 12:09:34)
Offline
Pages: 1