[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

minor nit in keymap patch



Looking the diff over:

...
+    if [ -n "$KEYMAP" ]; then
+        LOADKEYS=loadkeys
+        if [ "${LANG}" != "${LANG%%.UTF-8}" -o "${LANG}" != "${LANG%%.utf8}" ]; then
+            LOADKEYS="loadkeys -u"
+        fi

You never source /etc/sysconfig/i18n here, so you'll get 'whatever language
mkinitrd is run in', as opposed to the 'system' language.

Stepping back, when this is run in the kernel's %post in anaconda, are we sure:
- that /etc/sysconfig/i18n and /etc/sysconfig/keyboard are written
- that kbd has actually been installed to lay down the keyboard maps
- that the console keymap is 'close enough' to the X keymap?

Bill


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]