From ce7ca01039f74e317d19e5a496cb43b409f740b9 Mon Sep 17 00:00:00 2001 From: m00nbsd <42475391+m00nbsd@users.noreply.github.com> Date: Sun, 24 May 2020 12:50:49 +0200 Subject: pkg/build: create /dev/vhci on NetBSD --- pkg/build/netbsd.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') 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 { -- cgit mrf-deployment