From 26a46ac890eb736410895f738a83cb2233b80ee7 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Fri, 17 Aug 2018 20:25:50 +0000 Subject: [PATCH] Make the curl for containerd-proxy more resilient Was reporting 404's using the old url for some reason, might have to refactor this in the future to just use a git clone... Signed-off-by: Eli Uriegas Upstream-commit: 763ad6aa7ac24c269dc1dfa223771671acffc8fc Component: packaging --- components/packaging/deb/Makefile | 2 +- components/packaging/rpm/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/packaging/deb/Makefile b/components/packaging/deb/Makefile index 7a9a6b8f0e..83e63888c4 100644 --- a/components/packaging/deb/Makefile +++ b/components/packaging/deb/Makefile @@ -124,7 +124,7 @@ sources/cli.tgz: sources/containerd-proxy.tgz: mkdir -p tmp/ - curl -fL -o tmp/containerd-proxy.tgz "https://github.com/crosbymichael/containerd-proxy/archive/$(CONTAINERD_PROXY_COMMIT)/ours.tar.gz" + curl -fL -o tmp/containerd-proxy.tgz "https://github.com/crosbymichael/containerd-proxy/archive/$(CONTAINERD_PROXY_COMMIT).tar.gz" tar xzf tmp/containerd-proxy.tgz -C tmp/ mv tmp/containerd-proxy-$(CONTAINERD_PROXY_COMMIT) tmp/containerd-proxy mkdir -p $(@D) diff --git a/components/packaging/rpm/Makefile b/components/packaging/rpm/Makefile index e250cc395f..d4e6fa7a74 100644 --- a/components/packaging/rpm/Makefile +++ b/components/packaging/rpm/Makefile @@ -90,7 +90,7 @@ rpmbuild/SOURCES/cli.tgz: rpmbuild/SOURCES/containerd-proxy.tgz: mkdir -p tmp/ - curl -fL -o tmp/containerd-proxy.tgz "https://github.com/crosbymichael/containerd-proxy/archive/$(CONTAINERD_PROXY_COMMIT)/ours.tar.gz" + curl -fL -o tmp/containerd-proxy.tgz "https://github.com/crosbymichael/containerd-proxy/archive/$(CONTAINERD_PROXY_COMMIT).tar.gz" tar xzf tmp/containerd-proxy.tgz -C tmp/ mv tmp/containerd-proxy-$(CONTAINERD_PROXY_COMMIT) tmp/containerd-proxy mkdir -p $(@D)