Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert
@ 2012-09-04  9:09 Martin Jansa
  2012-09-04 12:38 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2012-09-04  9:09 UTC (permalink / raw)
  To: openembedded-core

* now with subversion-native we know those 2 options are supported
* with https protocol used for SVN checkouts we cannot confirm certificate and do_fetch fails
  Error validating server certificate for 'https://foo:443':
  - The certificate is not issued by a trusted authority. Use the
    fingerprint to validate the certificate manually!
    Certificate information:
    ...
    (R)eject, accept (t)emporarily or accept (p)ermanently? svn: E175002: Unable to connect to a repository at URL 'https://foo/trunk'
    svn: E175002: OPTIONS of 'https://foo/trunk': Server certificate verification failed: issuer is not trusted (https://foo)
    ERROR: Function failed: Fetcher failure for URL: 'svn://foo;protocol=https;module=trunk'. Unable to fetch URL from any source.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1d56813..161cdaf 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -578,7 +578,7 @@ XORG_MIRROR = "http://xorg.freedesktop.org/releases"
 #  export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
 #     into your local.conf
 
-FETCHCMD_svn = "/usr/bin/env svn"
+FETCHCMD_svn = "/usr/bin/env svn --non-interactive --trust-server-cert"
 FETCHCMD_cvs = "/usr/bin/env cvs"
 FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate"
 FETCHCMD_bzr = "/usr/bin/env bzr"
-- 
1.7.12




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

* Re: [PATCH] bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert
  2012-09-04  9:09 [PATCH] bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert Martin Jansa
@ 2012-09-04 12:38 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-09-04 12:38 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Tue, 2012-09-04 at 11:09 +0200, Martin Jansa wrote:
> * now with subversion-native we know those 2 options are supported
> * with https protocol used for SVN checkouts we cannot confirm certificate and do_fetch fails
>   Error validating server certificate for 'https://foo:443':
>   - The certificate is not issued by a trusted authority. Use the
>     fingerprint to validate the certificate manually!
>     Certificate information:
>     ...
>     (R)eject, accept (t)emporarily or accept (p)ermanently? svn: E175002: Unable to connect to a repository at URL 'https://foo/trunk'
>     svn: E175002: OPTIONS of 'https://foo/trunk': Server certificate verification failed: issuer is not trusted (https://foo)
>     ERROR: Function failed: Fetcher failure for URL: 'svn://foo;protocol=https;module=trunk'. Unable to fetch URL from any source.
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/conf/bitbake.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged to master, thanks.

Richard




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

end of thread, other threads:[~2012-09-04 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04  9:09 [PATCH] bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert Martin Jansa
2012-09-04 12:38 ` Richard Purdie

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