mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
meta: use explicit uri for all sourceforge upstream version checks
Previously the check for some recipes relied on sourceforge redirecting from downloads.sourceforge.net (SRC_URI is set to that) into the actual project page. Sourceforge does this for interactive browsers, but not for wget. With the check no longer mimicking a browser, and being truthful about coming from wget we need to explicitly fetch the project page in all cases, which is what this commit does. (many recipes already set this explicitly and don't need to be tweaked) (From OE-Core rev: 4c21ce6e34f6ce8fbf4db7bc2fd017c8f7a811b4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
20e4b586df
commit
9c1efb65c9
2
meta/classes-recipe/sourceforge-releases.bbclass
Normal file
2
meta/classes-recipe/sourceforge-releases.bbclass
Normal file
@@ -0,0 +1,2 @@
|
||||
SOURCEFORGE_PROJECT ?= "${BPN}"
|
||||
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/${SOURCEFORGE_PROJECT}/files/"
|
||||
Reference in New Issue
Block a user