mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-12 05:45:38 +00:00
pkg/build: create /dev/vhci on NetBSD
This commit is contained in:
parent
96c92ad3ab
commit
ce7ca01039
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user