summaryrefslogtreecommitdiff
path: root/meta-google
diff options
context:
space:
mode:
authorYuxiao Zhang <yuxiaozhang@google.com>2023-05-16 19:54:31 +0300
committerYuxiao Zhang <yuxiaozhang@google.com>2023-05-17 00:39:37 +0300
commit3a3b1a360d69390fbcde98e504d53de163e86177 (patch)
tree06d06395a05c731a79bf748f956fcdb74ff2d181 /meta-google
parent91749a4265f4aa900f0a4f18a4a017ac5cec479a (diff)
downloadopenbmc-3a3b1a360d69390fbcde98e504d53de163e86177.tar.xz
meta-google: ipmi: extend the timeout for fru alloc
Fru device can take longer than 60s to come up, this is observed more often especially in qemu. This extend the timeout to 5 minutes. Change-Id: I95dcdf2cf10e8f9941ff6502a54e9c67dfc6c7e3 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
Diffstat (limited to 'meta-google')
-rw-r--r--meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh b/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh
index 29b8e7f25e..abfffd4d71 100644
--- a/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh
+++ b/meta-google/recipes-google/ipmi/ipmi-fru-sh/lib.sh
@@ -120,7 +120,7 @@ ipmi_fru_alloc() {
local fdn="${BASH_REMATCH[1]}"
local start=$SECONDS
local file
- while (( SECONDS - start < 60 )); do
+ while (( SECONDS - start < 300 )); do
local rc=0
ipmi_fru_device_alloc "$fdn" "$ret" || rc=$?
(( rc == 0 )) && break