summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-global/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index dc46857a19..df2c40c3c5 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1346,7 +1346,7 @@ def unpack_check_src_uri(pn, d):
1346 1346
1347 for url in d.getVar("SRC_URI").split(): 1347 for url in d.getVar("SRC_URI").split():
1348 # Search for github and gitlab URLs that pull unstable archives (comment for future greppers) 1348 # Search for github and gitlab URLs that pull unstable archives (comment for future greppers)
1349 if re.search(r"git(hu|la)b\.com/.+/.+/archive/.+", url): 1349 if re.search(r"git(hu|la)b\.com/.+/.+/archive/.+", url) or "//codeload.github.com/" in url:
1350 oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol" % pn, d) 1350 oe.qa.handle_error("src-uri-bad", "%s: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol" % pn, d)
1351 1351
1352python do_qa_unpack() { 1352python do_qa_unpack() {