summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch')
-rw-r--r--recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch b/recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch
new file mode 100644
index 00000000..6f3df511
--- /dev/null
+++ b/recipes-kernel/cryptodev/sdk_patches/0082-force-LC_TIME-value-to-avoid-mpstat-not-using-ISO860.patch
@@ -0,0 +1,31 @@
1From eee8668c6f0e558e77533edb80c1ca7d4dc486e2 Mon Sep 17 00:00:00 2001
2From: Cristian Stoica <cristian.stoica@nxp.com>
3Date: Fri, 28 Oct 2016 17:00:29 +0300
4Subject: [PATCH 082/104] force LC_TIME value to avoid mpstat not using ISO8601
5 format
6
7(not everybody has this locale - silent warnings on some systems)
8
9Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
10---
11 tests/async_speed_multi.sh | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh
15index f2a8ba6..1901620 100755
16--- a/tests/async_speed_multi.sh
17+++ b/tests/async_speed_multi.sh
18@@ -24,6 +24,10 @@ CMD_BIN="async_speed"
19 OUT_BASENAME="async_speed"
20 MPSTAT_OUT="mpstat_out"
21
22+# A bigger hammer for mpstat to use ISO8601 time format (fixed in 11.2.2)
23+export LC_TIME=en_GB.UTF-8 &> /dev/null
24+
25+
26 function usage
27 {
28 cat << EOF
29--
302.10.2
31