summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-devtools/autogen/autogen/increase-timeout-limit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/autogen/autogen/increase-timeout-limit.patch')
-rw-r--r--import-layers/yocto-poky/meta/recipes-devtools/autogen/autogen/increase-timeout-limit.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/autogen/autogen/increase-timeout-limit.patch b/import-layers/yocto-poky/meta/recipes-devtools/autogen/autogen/increase-timeout-limit.patch
new file mode 100644
index 000000000..9efd7e558
--- /dev/null
+++ b/import-layers/yocto-poky/meta/recipes-devtools/autogen/autogen/increase-timeout-limit.patch
@@ -0,0 +1,30 @@
+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 58a848b..170dd9e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -178,9 +178,9 @@ time_delta=`expr ${config_end_time} - ${config_start_time} 2>/dev/null`
+ if test -z "${AG_TIMEOUT}"
+ then
+ 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}
+ fi
OpenPOWER on IntegriCloud