mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-25 01:18:05 +00:00
Add vendoring for netlink
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
14
pkg/init/cmd/service/skanky-vendor.sh
Executable file
14
pkg/init/cmd/service/skanky-vendor.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# We also need the containerd client and its transitive dependencies
|
||||
# and we conveniently have a checkout already. We actually prefer to
|
||||
# reuse containerd's vendoring for consistency anyway.
|
||||
|
||||
set -eu
|
||||
ctrd=$1
|
||||
cp -r $ctrd/vendor/* vendor/
|
||||
# We need containerd itself of course
|
||||
mkdir -p vendor/github.com/containerd
|
||||
cp -r $ctrd vendor/github.com/containerd/containerd
|
||||
# Stop go finding nested vendorings
|
||||
rm -rf vendor/github.com/containerd/containerd/vendor
|
Reference in New Issue
Block a user