[oe-commits] Martin Jansa : bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert

git at git.openembedded.org git at git.openembedded.org
Tue Sep 4 12:44:39 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 8f1cedaaafd1248e77db84ac238fa88a318df2e9
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8f1cedaaafd1248e77db84ac238fa88a318df2e9

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Tue Sep  4 11:09:11 2012 +0200

bitbake.conf: FETCHCMD_svn add --non-interactive --trust-server-cert

* 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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 702fc50..1d4a83d 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"





More information about the Openembedded-commits mailing list