From 9072c1268eaa464b9adbba5c8e11d308f15d1a92 Mon Sep 17 00:00:00 2001 From: m00nbsd <42475391+m00nbsd@users.noreply.github.com> Date: Tue, 26 May 2020 18:40:30 +0200 Subject: [PATCH] pkg/build/netbsd: use mknod rather than MAKEDEV --- pkg/build/netbsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/build/netbsd.go b/pkg/build/netbsd.go index 35af06762e2f..2a4d1544016d 100644 --- a/pkg/build/netbsd.go +++ b/pkg/build/netbsd.go @@ -140,7 +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, "mknod /dev/vhci c 355 0") 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 {