aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2021-05-25 17:21:16 +0200
committerDmitry Vyukov <dvyukov@google.com>2021-05-25 18:01:12 +0200
commit93d3a9f6027c2edb70b5edf0239ea00e58bd8ab1 (patch)
treefd99e33135e6cf39229bf09cddfd032aa2fe18fd /pkg
parent3c7fef3361a6007112b26adc1c5a550189ef43fe (diff)
pkg/build: fix qemu timeouts for netbsd
netbsd.go uses a hacky way to construct manager config that skips of all of our verification/completion logic. As the result the manager config has 0 timeouts and qemu immidiately timeouts. Fill in timeouts.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/build/netbsd.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/build/netbsd.go b/pkg/build/netbsd.go
index e3019f2e3..309a90299 100644
--- a/pkg/build/netbsd.go
+++ b/pkg/build/netbsd.go
@@ -111,6 +111,7 @@ func (ctx netbsd) copyKernelToDisk(targetArch, vmType, outputDir, kernel string)
TargetOS: targets.NetBSD,
TargetArch: targetArch,
TargetVMArch: targetArch,
+ Timeouts: targets.Get(targets.NetBSD, targetArch).Timeouts(1),
},
}
// Create a VM pool.