On Wed, Jun 18, 2014 at 12:19 PM, Alexey Shabalin <a.shaba...@gmail.com> wrote: > 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@.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@.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@.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
What Linux distribution are you using? On my Arch Linux systems, I configured the font and keymap (keyboard layout) in /etc/vconsole.conf, and for the initial RAM disk, I put the "consolefont" and "keymap" hooks before the "encrypt" hook in /etc/mkinitcpio.conf. This lets me use an alternate keyboard layout for entering the encryption passphrase. I think something similar to this is what you are looking for, but adapted to whichever Linux distribution you are using. Jason _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel