Merge pull request #2 from crosbymichael/fix-crosscompile

Fix cross compile for network and node pkgs
This commit is contained in:
Vish Kannan 2014-06-23 16:27:14 -07:00
commit 0ebe104569
7 changed files with 16 additions and 2 deletions

View File

@ -3,9 +3,11 @@
package nodes
import (
"errors"
"github.com/docker/libcontainer/devices"
)
func CreateDeviceNodes(rootfs string, nodesToCreate []*devices.Device) error {
return ErrUnsupported
return errors.New("Unsupported method")
}

View File

@ -3,6 +3,7 @@
package namespaces
import (
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/cgroups"
)

View File

@ -1,3 +1,5 @@
// +build linux
package network
import (

View File

@ -1,3 +1,5 @@
// +build linux
package network
import (

View File

@ -1,8 +1,11 @@
// +build linux
package network
import (
"github.com/docker/libcontainer/netlink"
"net"
"github.com/docker/libcontainer/netlink"
)
func InterfaceUp(name string) error {

View File

@ -1,3 +1,5 @@
// +build linux
package network
import (

View File

@ -1,3 +1,5 @@
// +build linux
package network
import (