From 87da472f03719e0a993bc87df02c16514de749b6 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 6 Jun 2016 12:00:26 -0700 Subject: [PATCH] fix root console login with switched keyboard layout we only 'double' the password for the user account, not for root this is a trivial fix so just pushing it out to get cyrillic test working at last (hopefully) --- lib/fedorabase.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fedorabase.pm b/lib/fedorabase.pm index f791484c..ce8e2527 100644 --- a/lib/fedorabase.pm +++ b/lib/fedorabase.pm @@ -65,9 +65,9 @@ sub console_login { } elsif ($needpass and check_screen "console_password_required", 0) { type_string "$args{password}"; - if (get_var("SWITCHED_LAYOUT")) { + if (get_var("SWITCHED_LAYOUT") and $args{user} ne "root") { # see _do_install_and_reboot; when layout is switched - # password is doubled to contain both US and native + # user password is doubled to contain both US and native # chars $self->console_switch_layout(); type_string "$args{password}";