From: Christian Marangi Date: Wed, 5 Mar 2025 14:18:46 +0000 (+0100) Subject: crun: update to use SOURCE_VERSION for submodule download X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=47fcb8018c94af91c7859ed72091778653376000;p=feed%2Fpackages.git crun: update to use SOURCE_VERSION for submodule download Commit 9fc79e2e2622 ("download: don't overwrite VERSION variable") changed the variable for direct download call from VERSION to SOURCE_VERSION. This cause the dl_github_archive script to pass empty value for --version arg making it always clone HEAD. Correctly update the variable to SOURCE_VERSION to actually clone the expected commit HASH. Signed-off-by: Christian Marangi --- diff --git a/utils/crun/Makefile b/utils/crun/Makefile index 86e2d9df5f..29ac65cba2 100644 --- a/utils/crun/Makefile +++ b/utils/crun/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=crun PKG_VERSION:=1.17 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/containers/crun/tar.gz/$(PKG_VERSION)? @@ -37,7 +37,7 @@ LIBOCISPEC_COMMIT:=68211ccc41201c45ad276b04c7f67d61e80b1f7a define Download/libocispec PROTO:=git URL:=https://github.com/containers/libocispec.git - VERSION:=$(LIBOCISPEC_COMMIT) + SOURCE_VERSION:=$(LIBOCISPEC_COMMIT) MIRROR_HASH:=688d00600dbdf46d4b52acc8e43313b14471026ccff8c3cc5983e2f5dfd15571 FILE:=libocispec-$(LIBOCISPEC_COMMIT).tar.xz SUBDIR:=libocispec