diff options
| author | m00nbsd <42475391+m00nbsd@users.noreply.github.com> | 2020-05-24 12:50:49 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-24 13:15:28 +0200 |
| commit | ce7ca01039f74e317d19e5a496cb43b409f740b9 (patch) | |
| tree | 91827d8e6630db9cb106486338b5f0f25d4486a3 /pkg | |
| parent | 96c92ad3aba2e4f72be637e26c7562353f6b9f9e (diff) | |
pkg/build: create /dev/vhci on NetBSD
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/build/netbsd.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/build/netbsd.go b/pkg/build/netbsd.go index 6faaeb2b1..35af06762 100644 --- a/pkg/build/netbsd.go +++ b/pkg/build/netbsd.go @@ -140,6 +140,7 @@ func (ctx netbsd) copyKernelToDisk(targetArch, vmType, outputDir, kernel string) `echo 'mtu 1460' >> /etc/ifconfig.vioif0`, }...) } + commands = append(commands, "cd /dev && ./MAKEDEV vhci") commands = append(commands, "sync") // Run sync so that the copied image is stored properly. outc, errc, err := inst.Run(time.Minute, nil, strings.Join(commands, ";")) if err != nil { |
