From 519ed43b30f64a76d838910ff4d5faa3f1df725d Mon Sep 17 00:00:00 2001 From: Texot Qi Date: Thu, 27 Feb 2020 01:13:20 +0800 Subject: [PATCH] containerd: fix incomplete cleanup in Build/InstallDev Currently it only cleans up binaries when executing Build/InstallDev without deleting .built stamp file. This leads to wrong information about existence of built runc binaries and causes error when executing package/containerd/install twice. Signed-off-by: Texot Qi --- utils/containerd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/containerd/Makefile b/utils/containerd/Makefile index fe2b5f810..8437ce8e8 100644 --- a/utils/containerd/Makefile +++ b/utils/containerd/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=containerd PKG_VERSION:=1.2.10 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=LICENSE @@ -68,6 +68,7 @@ endef # Avoid installing binaries define Build/InstallDev $(call Build/Compile/Default,clean) + rm -f $(STAMP_BUILT) $(call GoPackage/Build/InstallDev,$(1)) endef