containerd/script/setup
Sebastiaan van Stijn 55a9bbc033
Prevent runc inheriting BUILDTAGS from containerd
Both runc and containerd use BUILDTAGS to customize go build-tags.

When building containerd with custom build-tags, runc inherited
those, causing the default to be overwritten, e.g.;

    make BUILDTAGS=no_btrfs cri-cni-release
    (in script/setup/install-runc)

    HEAD is now at 12644e61 VERSION: release 1.0.0~rc93
    make[1]: Entering directory '/tmp/tmp.ZJzc2KtI0A/runc'
    go build -trimpath "-mod=vendor" "-buildmode=pie"  -tags "no_btrfs" -ldflags "-X main.gitCommit="12644e614e25b05da6fd08a38ffa0cfe1903fdec" -X main.version=1.0.0-rc93 " -o runc .
                                                   ^^^^^^^^^^^^^^^^

This patch brings back the BUILDTAGS make-var in the runc-install
script, which fixates the buildtags to our defaults.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-03-12 18:37:18 +01:00
..
config-containerd Update Vagrantfile for testing SELinux 2020-08-10 01:55:44 -07:00
config-selinux Update Vagrantfile for testing SELinux 2020-08-10 01:55:44 -07:00
install-cni script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-cni-windows script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-critools script/setup: use git clone instead of go get -d 2021-03-03 15:34:54 -05:00
install-dev-tools Change to GOPATH before go get 2020-12-01 01:39:10 +08:00
install-protobuf vendor protobuf & grpc 2020-02-26 10:57:05 +09:00
install-runc Prevent runc inheriting BUILDTAGS from containerd 2021-03-12 18:37:18 +01:00
install-seccomp Fix incorrect comment from copy/paste of starting script 2020-02-13 11:48:12 -05:00
runc-version move runc version to a separate file for easier consumption 2021-03-10 14:28:29 +01:00