Fix build tags for pkg/machine...
Podman machine is only intended for amd64 and arm64 architectures, set the correct buildtags so that the `pkg/machine`, `pkg/machine/qemu` and `pkg/machine/libvirt` packages compile correctly. [NO TESTS NEEDED] Fixes #10625 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
ea39735845
commit
c3a14103fb
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package libvirt
|
||||
|
||||
type MachineVM struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package libvirt
|
||||
|
||||
import "github.com/containers/podman/v3/pkg/machine"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
// +build !amd64 amd64,windows
|
||||
|
||||
package libvirt
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
// +build !amd64 amd64,windows
|
||||
|
||||
package machine
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package qemu
|
||||
|
||||
import "time"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build amd64,linux arm64,linux amd64,darwin arm64,darwin
|
||||
|
||||
package qemu
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
// +build !amd64 amd64,windows
|
||||
|
||||
package qemu
|
||||
Loading…
Reference in New Issue