mirror of
				https://github.com/containers/podman.git
				synced 2025-11-04 08:56:05 +08:00 
			
		
		
		
	Macs no longer support QEMU as a provider, build tag it out. Signed-off-by: Ashley Cui <acui@redhat.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			231 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			231 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build freebsd
 | 
						|
 | 
						|
package qemu
 | 
						|
 | 
						|
import (
 | 
						|
	"os"
 | 
						|
)
 | 
						|
 | 
						|
func getRuntimeDir() (string, error) {
 | 
						|
	tmpDir, ok := os.LookupEnv("TMPDIR")
 | 
						|
	if !ok {
 | 
						|
		tmpDir = "/tmp"
 | 
						|
	}
 | 
						|
	return tmpDir, nil
 | 
						|
}
 | 
						|
 | 
						|
func useNetworkRecover() bool {
 | 
						|
	return false
 | 
						|
}
 |