Files
omarchy/migrations/1783355853.sh
T
Zeus-DeusandClaude Opus 4.8 e891e5c22f Bundle vconsole.conf in the initramfs so Plymouth uses the right keymap at the LUKS prompt
Plymouth 26 reads the keyboard layout from /etc/vconsole.conf, but the keymap
hook only bakes in the compiled keymap.bin, not the config file, so the LUKS
prompt falls back to US QWERTY. Add FILES+=(/etc/vconsole.conf) to
omarchy_hooks.conf so the initramfs carries it. New installs pick it up via
limine-snapper.sh; existing installs get it through a migration that rebuilds
the UKI. Additive — keymap.bin is unchanged, so no extra lockout risk.

Closes #6183. Related to #6151 and #6072.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 08:00:13 -07:00

12 lines
410 B
Bash

echo "Bundle the console keymap into the initramfs so Plymouth uses the right keyboard layout at the LUKS prompt"
HOOKS_CONF="/etc/mkinitcpio.conf.d/omarchy_hooks.conf"
if [[ -f $HOOKS_CONF ]] && ! grep -q '/etc/vconsole.conf' "$HOOKS_CONF"; then
echo "FILES+=(/etc/vconsole.conf)" | sudo tee -a "$HOOKS_CONF" >/dev/null
if omarchy-cmd-present limine-mkinitcpio; then
sudo limine-mkinitcpio
fi
fi