mirror of https://github.com/docker/docs.git
btrfs: build tags
Default to the same build behavior, but allow a go build tag to disable building of the btrfs graphdriver go build -tags no_btrfs' ... $ go build $ objdump -S docker | grep btrfs | wc -l 194 $ go build -tags no_btrfs $ objdump -S docker | grep btrfs | wc -l 1 # that is a comment ;-) Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
parent
f14c0866ec
commit
85a62d9b77
|
@ -16,7 +16,6 @@ import (
|
||||||
"github.com/dotcloud/docker/runtime/execdriver/execdrivers"
|
"github.com/dotcloud/docker/runtime/execdriver/execdrivers"
|
||||||
"github.com/dotcloud/docker/runtime/execdriver/lxc"
|
"github.com/dotcloud/docker/runtime/execdriver/lxc"
|
||||||
"github.com/dotcloud/docker/runtime/graphdriver"
|
"github.com/dotcloud/docker/runtime/graphdriver"
|
||||||
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
|
|
||||||
_ "github.com/dotcloud/docker/runtime/graphdriver/vfs"
|
_ "github.com/dotcloud/docker/runtime/graphdriver/vfs"
|
||||||
_ "github.com/dotcloud/docker/runtime/networkdriver/lxc"
|
_ "github.com/dotcloud/docker/runtime/networkdriver/lxc"
|
||||||
"github.com/dotcloud/docker/runtime/networkdriver/portallocator"
|
"github.com/dotcloud/docker/runtime/networkdriver/portallocator"
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
// +build !no_btrfs
|
||||||
|
|
||||||
|
package runtime
|
||||||
|
|
||||||
|
import (
|
||||||
|
_ "github.com/dotcloud/docker/runtime/graphdriver/btrfs"
|
||||||
|
)
|
Loading…
Reference in New Issue