Browse code

Update hack/vendor.sh to use libcontainer's update-vendor.sh script as the source of truth for libcontainer deps and not include them in Docker's repo twice

Signed-off-by: Andrew Page <admwiggin@gmail.com>

Tianon Gravi authored on 2014/08/07 04:07:07
Showing 1 changed files
... ...
@@ -45,8 +45,6 @@ clone git github.com/gorilla/context 14f550f51a
45 45
 
46 46
 clone git github.com/gorilla/mux 136d54f81f
47 47
 
48
-clone git github.com/syndtr/gocapability 3c85049eae
49
-
50 48
 clone git github.com/tchap/go-patricia v1.0.1
51 49
 
52 50
 clone hg code.google.com/p/go.net 84a4013f96e0
... ...
@@ -61,6 +59,8 @@ rm -rf src/code.google.com/p/go
61 61
 mkdir -p src/code.google.com/p/go/src/pkg/archive
62 62
 mv tmp-tar src/code.google.com/p/go/src/pkg/archive/tar
63 63
 
64
-clone git github.com/godbus/dbus v1
65
-clone git github.com/coreos/go-systemd v2
66 64
 clone git github.com/docker/libcontainer 5589d4d879f1d7e31967a927d3e8b98144fbe06b
65
+# see src/github.com/docker/libcontainer/update-vendor.sh which is the "source of truth" for libcontainer deps (just like this file)
66
+rm -rf src/github.com/docker/libcontainer/vendor
67
+eval "$(grep '^clone ' src/github.com/docker/libcontainer/update-vendor.sh | grep -v 'github.com/codegangsta/cli')"
68
+# we exclude "github.com/codegangsta/cli" here because it's only needed for "nsinit", which Docker doesn't include