Browse Source

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 <tete1030@gmail.com>
lilik-openwrt-22.03
Texot Qi 5 years ago
parent
commit
519ed43b30
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/containerd/Makefile

+ 2
- 1
utils/containerd/Makefile View File

@ -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


Loading…
Cancel
Save