summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autogen/files
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2013-06-19 13:34:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-19 18:03:34 +0100
commitbe58154bafed7dc9b37be3221a0a6390a2c77b37 (patch)
treeec286366bb1b66de7d18dc46873d9a99d78e55f0 /meta/recipes-devtools/autogen/files
parentcc53a1af6f2c695299c90f7333de081c54be81b7 (diff)
downloadast2050-yocto-poky-be58154bafed7dc9b37be3221a0a6390a2c77b37.zip
ast2050-yocto-poky-be58154bafed7dc9b37be3221a0a6390a2c77b37.tar.gz
autogen-native: fix build failure on overloaded hosts
On some overloaded hosts, shell commands of autogen may can not finish in 5 secs. This has caused many build failures, so increase the timeout limit to fix this. (From OE-Core rev: 92c7a0bec3f3c9fec04a6019aa9cee395ba5a9ab) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/autogen/files')
-rw-r--r--meta/recipes-devtools/autogen/files/increase-timeout-limit.patch33
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 0000000..3d4c1d6
--- /dev/null
+++ b/meta/recipes-devtools/autogen/files/increase-timeout-limit.patch
@@ -0,0 +1,33 @@
+Subject: [PATCH] autogen: increase timeout limit for shell commands
+
+On some overloaded hosts, shell commands of autogen may can not
+finish in 5 secs. This has caused many build failures, so increase
+the timeout limit to fix this.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
+---
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0af7c18..5544f59 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -175,9 +175,9 @@ config_end_time=`date +%s 2>/dev/null`
+ time_delta=`expr ${config_end_time} - ${config_start_time} 2>/dev/null`
+
+ if test -z "${time_delta}"
+-then time_delta=10
+-elif test ${time_delta} -lt 5
+-then time_delta=5 ; fi
++then time_delta=60
++elif test ${time_delta} -lt 30
++then time_delta=30 ; fi
+
+ AG_TIMEOUT=${time_delta}
+ ]
+--
+1.7.9.5
+
OpenPOWER on IntegriCloud