fa8b2484d0
- Pull in fixes for TSC calibration driver preference (prefer pmtimer over PIT) to boot on Apollo Lake systems with no PIT - Fix pmtimer calibration to not take forever to fail on kvm. Signed-off-by: Peter Jones <pjones@redhat.com>
31 lines
977 B
Diff
31 lines
977 B
Diff
From 27f304a75c966a1daad262d34c84c7de0c5dab69 Mon Sep 17 00:00:00 2001
|
|
From: Robert Marshall <rmarshall@redhat.com>
|
|
Date: Fri, 29 Jan 2016 16:56:11 -0500
|
|
Subject: [PATCH 140/198] Fix locale issue in grub-setpassword (#1294243)
|
|
|
|
A shell substitution was expecting non-translated output to grab the
|
|
hashed password and put it in the user.cfg file. Modified code to force
|
|
the generic C locale when this particular piece of code is run.
|
|
|
|
Resolves: rhbz#1294243
|
|
---
|
|
util/grub-setpassword.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/util/grub-setpassword.in b/util/grub-setpassword.in
|
|
index c8c0fa419..d7924af51 100644
|
|
--- a/util/grub-setpassword.in
|
|
+++ b/util/grub-setpassword.in
|
|
@@ -104,7 +104,7 @@ getpass() {
|
|
P1="$1" && shift
|
|
|
|
( echo ${P0} ; echo ${P1} ) | \
|
|
- ${grub_mkpasswd} | \
|
|
+ LC_ALL=C ${grub_mkpasswd} | \
|
|
grep -v '[eE]nter password:' | \
|
|
sed -e "s/PBKDF2 hash of your password is //"
|
|
}
|
|
--
|
|
2.14.3
|
|
|