[systemd-devel] localization of console

Alexey Shabalin a.shabalin at gmail.com
Wed Jun 18 09:19:14 PDT 2014


Hello.

I do not understand how the should work localization of console.
- systemd-vconsole-setup.service for an early boot (for enter password
in cryptsetup? but people do not used non-latin letters for password)

- getty at .service contains TTYReset=yes (or
https://bugzilla.redhat.com/show_bug.cgi?id=972635  but i use
kernel-3.14.6), and all  previous font and kbd settings reseted

I see package workaround-cyrillic-console in Russian Fedora:
https://github.com/RussianFedora/workaround-cyrillic-console
contain unit setup-cyrfont at .service:

After=getty@%i.service
BindsTo=getty@%i.service
Requires=getty@%i.service
IgnoreOnIsolate=yes
[Service]
ExecStart=/usr/bin/setfont -C /dev/%i latarcyrheb-sun16
Type=oneshot

For ALTLinux i was add systemd-vconsole-setup at .service unit:

After=getty@%i.service
BindsTo=getty@%i.service
Requires=getty@%i.service
IgnoreOnIsolate=yes
[Service]
Type=oneshot
ExecStart=/lib/systemd/systemd-vconsole-setup /dev/%i


May be exist better way for localization?


-- 
Alexey Shabalin


More information about the systemd-devel mailing list