Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-Core][master][langdale][kirkstone][dunfell][PATCH]  glibc-version.inc: Use https protocol for fetch task
@ 2023-01-03 12:34 Ranjitsinh Rathod
  2023-01-03 12:40 ` Richard Purdie
  0 siblings, 1 reply; 7+ messages in thread
From: Ranjitsinh Rathod @ 2023-01-03 12:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Ranjitsinh Rathod

From: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>

Use https protocol instead of git as sometimes in proxy network git
protocol uses whole timeout and finally gives fatal error and then uses
mirror.

Error:
LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress "git://sourceware.org/git/glibc.git" refs/*:refs/*' in /home/builder/bs-workspace/yocto-downloads/git2/sourceware.org.git.glibc.git
fatal: unable to look up sourceware.org (port 9418) (Name or service not known)

So to avoid this delay during fetch task, we switch to use https
protocol instead of git

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
---
 meta/recipes-core/glibc/glibc-version.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc
index bd125ec401..40b91bfda0 100644
--- a/meta/recipes-core/glibc/glibc-version.inc
+++ b/meta/recipes-core/glibc/glibc-version.inc
@@ -3,6 +3,6 @@ PV = "2.36"
 SRCREV_glibc ?= "c399271c10bd00714504e8d4dfbec8aebf996dd4"
 SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
 
-GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
+GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;protocol=https"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-01-03 18:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-03 12:34 [OE-Core][master][langdale][kirkstone][dunfell][PATCH] glibc-version.inc: Use https protocol for fetch task Ranjitsinh Rathod
2023-01-03 12:40 ` Richard Purdie
2023-01-03 13:49   ` [master][langdale][kirkstone][dunfell][PATCH] " Ranjitsinh Rathod
2023-01-03 13:53     ` [OE-core] " Alexander Kanavin
2023-01-03 13:56       ` Ranjitsinh Rathod
2023-01-03 14:02     ` [OE-core] " Richard Purdie
2023-01-03 18:50       ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox