diff options
Diffstat (limited to 'meta/recipes-devtools/autogen/files/increase-timeout-limit.patch')
-rw-r--r-- | meta/recipes-devtools/autogen/files/increase-timeout-limit.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autogen/files/increase-timeout-limit.patch b/meta/recipes-devtools/autogen/files/increase-timeout-limit.patch new file mode 100644 index 0000000000..3d4c1d604e --- /dev/null +++ b/meta/recipes-devtools/autogen/files/increase-timeout-limit.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Subject: [PATCH] autogen: increase timeout limit for shell commands | ||
2 | |||
3 | On some overloaded hosts, shell commands of autogen may can not | ||
4 | finish in 5 secs. This has caused many build failures, so increase | ||
5 | the timeout limit to fix this. | ||
6 | |||
7 | Upstream-Status: Inappropriate [configuration] | ||
8 | |||
9 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
10 | --- | ||
11 | configure.ac | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 0af7c18..5544f59 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -175,9 +175,9 @@ config_end_time=`date +%s 2>/dev/null` | ||
19 | time_delta=`expr ${config_end_time} - ${config_start_time} 2>/dev/null` | ||
20 | |||
21 | if test -z "${time_delta}" | ||
22 | -then time_delta=10 | ||
23 | -elif test ${time_delta} -lt 5 | ||
24 | -then time_delta=5 ; fi | ||
25 | +then time_delta=60 | ||
26 | +elif test ${time_delta} -lt 30 | ||
27 | +then time_delta=30 ; fi | ||
28 | |||
29 | AG_TIMEOUT=${time_delta} | ||
30 | ] | ||
31 | -- | ||
32 | 1.7.9.5 | ||
33 | |||