mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 03:54:34 +04:00
runc: 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/runc/install twice. Signed-off-by: Texot Qi <tete1030@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=runc
|
PKG_NAME:=runc
|
||||||
PKG_VERSION:=1.0.0-rc8+91-3e425f80
|
PKG_VERSION:=1.0.0-rc8+91-3e425f80
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
|
||||||
@@ -72,6 +72,7 @@ endef
|
|||||||
# Avoid installing binaries
|
# Avoid installing binaries
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(call Build/Compile/Default,clean)
|
$(call Build/Compile/Default,clean)
|
||||||
|
rm -f $(STAMP_BUILT)
|
||||||
$(call GoPackage/Build/InstallDev,$(1))
|
$(call GoPackage/Build/InstallDev,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user