From bd44e6d4471f48a6363dab6bcc450d6a7f282136 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Fri, 21 May 2021 15:17:06 +0200
Subject: [PATCH] ot-daemon: switch branch name to main after upstream change

The upstream repo does no longer have a master branch, instead main is
used for this purpose. As the OE git fetcher defaulst to master the
fetch fails without this change.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 .../recipes-connectivity/openthread/ot-daemon_git.bb            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ohos-staging/recipes-connectivity/openthread/ot-daemon_git.bb b/meta-ohos-staging/recipes-connectivity/openthread/ot-daemon_git.bb
index eeb4fc76..490eca55 100644
--- a/meta-ohos-staging/recipes-connectivity/openthread/ot-daemon_git.bb
+++ b/meta-ohos-staging/recipes-connectivity/openthread/ot-daemon_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=543b6fe90ec5901a683320a36390c65f \
 # While we have more third_party code with different licenses here we do not use
 # them in the posix daemon build.
 
-SRC_URI = "gitsm://github.com/openthread/openthread.git;protocol=https"
+SRC_URI = "gitsm://github.com/openthread/openthread.git;protocol=https;branch=main"
 
 PV = "0.1+git${SRCPV}"
 SRCREV = "4d50cbadbc3c584c7174f4be41fe65e2016a7ece"
-- 
GitLab