[openwrt/openwrt] opkg: Fix download over git

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 13 14:59:14 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/65b0fe293aff687af679674a86414e26b50cf066

commit 65b0fe293aff687af679674a86414e26b50cf066
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Jun 13 23:40:00 2021 +0200

    opkg: Fix download over git
    
    Set the PKG_SOURCE_URL using a lazy set to allow evaluating
    $(PROJECT_GIT) later. Without this change PKG_SOURCE_URL is evaluated
    immediately, before PROJECT_GIT is defined and the download over git is
    not working.
    
    Fixes: 6687a2483a09 ("opkg: use $(PROJECT_GIT), $(AUTORELEASE) and SPDX")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/system/opkg/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/system/opkg/Makefile b/package/system/opkg/Makefile
index 99234978a1..cc295c12ba 100644
--- a/package/system/opkg/Makefile
+++ b/package/system/opkg/Makefile
@@ -11,7 +11,7 @@ PKG_RELEASE:=$(AUTORELEASE)
 PKG_FLAGS:=essential
 
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=$(PROJECT_GIT)/project/opkg-lede.git
+PKG_SOURCE_URL=$(PROJECT_GIT)/project/opkg-lede.git
 PKG_SOURCE_DATE:=2021-03-15
 PKG_SOURCE_VERSION:=5936c4f9660248284e8a9b040ea3153d3ea888de
 PKG_MIRROR_HASH:=b873c209baaf4f150c89646d58e4a0072f807d24b02c320ab8c7ae9180c13240



More information about the lede-commits mailing list