From 95ed9ece851c5ce0f8db8fbe8c852457b4c36a85 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 11 Apr 2024 14:12:13 +0200 Subject: pkg/build: run NetBSD in qemu emulation mode We used to do that before, but somehow we now pass the -enable-kvm flag. --- pkg/build/netbsd.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkg/build') diff --git a/pkg/build/netbsd.go b/pkg/build/netbsd.go index 11572da9b..e4390872a 100644 --- a/pkg/build/netbsd.go +++ b/pkg/build/netbsd.go @@ -94,10 +94,12 @@ func (ctx netbsd) clean(kernelDir, targetArch string) error { // Copy the compiled kernel to the qemu disk image using ssh. func (ctx netbsd) copyKernelToDisk(targetArch, vmType, outputDir, kernel string) error { + // Let's run in emulation mode - we don't need to run long and it's most compatible. vmConfig := ` { "snapshot": false, - "mem": 1024 + "mem": 1024, + "qemu_args": "" }` // Create config for booting the disk image. target := targets.Get(targets.NetBSD, targetArch) -- cgit mrf-deployment