[Buildroot] [RFC PATCH v1 3/6] package/docker-containerd: upgrade to go modules

Arnout Vandecappelle arnout at mind.be
Fri Apr 5 08:36:40 UTC 2019



On 17/03/2019 02:21, Christian Stewart wrote:
>  DOCKER_CONTAINERD_LDFLAGS = \
> -	-X github.com/docker/containerd.GitCommit=$(DOCKER_CONTAINERD_VERSION)
> +	-X github.com/containerd/containerd.GitCommit=$(DOCKER_CONTAINERD_VERSION)

 This looks like a completely independent change. Or is it because we now have a
go.mod that calls the module containerd/containerd instead of docker/containerd?


> -DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
> +DOCKER_CONTAINERD_BUILD_TARGETS = \
> +	github.com/containerd/containerd/cmd/ctr \
> +	github.com/containerd/containerd/cmd/containerd \
> +	github.com/containerd/containerd/cmd/containerd-shim

 Same question, how is this related to the go modules?

 Would it be possible (and useful) to add those prefixes automatically?

 Regards,
 Arnout


More information about the buildroot mailing list