1From f53481dc4a56b8a996628733553e080bb0aafdd7 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 23 Nov 2018 17:07:22 +0800
4Subject: [PATCH 07/11] invoking mount with infinite timeout
5
6This large timeout is needed when running on machines with
7lots of disks, or with slow disks.
8
9Upstream-Status: Pending
10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 blivet/util.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/blivet/util.py b/blivet/util.py
17index 5571e73..02c8033 100644
18--- a/blivet/util.py
19+++ b/blivet/util.py
20@@ -258,7 +258,7 @@ def mount(device, mountpoint, fstype, options=None):
21         makedirs(mountpoint)
22
23     argv = ["mount", "-t", fstype, "-o", options, device, mountpoint]
24-    return run_program(argv)
25+    return run_program(argv, timeout=-1)
26
27
28 def umount(mountpoint):
29--
302.7.4
31
32