]> code.ossystems Code Review - openembedded-core.git/commitdiff
rt-tests: set branch name in SRC_URI
authorNicolas Dechesne <nicolas.dechesne@linaro.org>
Tue, 7 Sep 2021 17:32:15 +0000 (19:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Sep 2021 15:21:30 +0000 (16:21 +0100)
Upstream repo no longer has 'master' branch, and switched to
'main'. To avoid issue such as:

ERROR: rt-tests-1_1.1-r0 do_fetch: Fetcher failure: Unable to find
revision dff174f994f547a5785d32454865f140daacb0f5 in branch master
even from upstream

we need to set the default branch name to 'main' in the recipe.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-rt/rt-tests/rt-tests.inc

index 3ac39d90c3dbb890e59cc9be58c351ab88379227..29ebe2d36113e673a9d59a5d6117c3385253a41b 100644 (file)
@@ -2,7 +2,7 @@
 SRCREV = "dff174f994f547a5785d32454865f140daacb0f5"
 PE = "1"
 
-SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git"
+SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=main"
 # 1.2 to 1.5 seem to be development versions
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(?!1\.[2-6])(\d+(\.\d+)+))"