i18n: do not use systemd-vconsole-setup
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 6 Nov 2010 21:14:49 +0000 (00:14 +0300)
committerHarald Hoyer <harald@redhat.com>
Wed, 10 Nov 2010 14:53:04 +0000 (15:53 +0100)
commit161da365e23cd4ac85f06e928a799f3427d8009d
treee50169b5e8786cbd0ae75846a35a84c9fb3e1082
parentdbcc4e94c54dd386f09ba0709cb42592cc739502
i18n: do not use systemd-vconsole-setup

systemd-vconsole-setup was not designed to be run from udevd.
It checks locale environment to decide, whether UNICODE should
be enabled or disabled. Normally environment is setup by
systemd; but the only environment available in udev rules is
those from device properties. It means systemd-vconsole-setup
always assumes default C locale and disables UNICODE.

Revert to using built-in console_init which explicitly
imports locale settings from /etc/vconsole.conf. Alternative
is to revert 6545b9d7 and call console_init directly :)

Additionally patch fixes console_init to use new namespace as
well as ensures that default font is always installed.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
modules.d/10i18n/console_init
modules.d/10i18n/install