From 31e0a848e13dd1720aa5a4a13de3dc78f474a3b5 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 30 Mar 2017 17:07:44 +0100 Subject: [PATCH] pkg/init: ruinc and containerd binaries depend on Makefile Since Makefile contains the hashes we need a dependency otherwise changing the hashes does not necessarily result in the binaries getting updated. Signed-off-by: Ian Campbell --- pkg/init/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/init/Makefile b/pkg/init/Makefile index cc0353dca..2c098009e 100644 --- a/pkg/init/Makefile +++ b/pkg/init/Makefile @@ -9,11 +9,11 @@ START_STOP_DAEMON=sbin/start-stop-daemon default: push -$(RUNC_BINARY): +$(RUNC_BINARY): Makefile mkdir -p $(dir $@) docker run --rm --net=none $(RUNC_IMAGE) tar cf - $@ | tar xf - -$(CONTAINERD_BINARIES): +$(CONTAINERD_BINARIES): Makefile mkdir -p $(dir $@) docker run --rm --net=none $(CONTAINERD_IMAGE) tar cf - $@ | tar xf -