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)
| ... | ... |
@@ -16,7 +16,6 @@ import ( |
| 16 | 16 |
"github.com/dotcloud/docker/runtime/execdriver/execdrivers" |
| 17 | 17 |
"github.com/dotcloud/docker/runtime/execdriver/lxc" |
| 18 | 18 |
"github.com/dotcloud/docker/runtime/graphdriver" |
| 19 |
- _ "github.com/dotcloud/docker/runtime/graphdriver/btrfs" |
|
| 20 | 19 |
_ "github.com/dotcloud/docker/runtime/graphdriver/vfs" |
| 21 | 20 |
_ "github.com/dotcloud/docker/runtime/networkdriver/lxc" |
| 22 | 21 |
"github.com/dotcloud/docker/runtime/networkdriver/portallocator" |