Patchwork [3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https

login
register
mail settings
Submitter Khem Raj
Date May 11, 2011, 6:30 a.m.
Message ID <237ad27052ac01cead340513a7057d81e0c2fcfe.1305095232.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/3739/
State New, archived
Headers show

Comments

Khem Raj - May 11, 2011, 6:30 a.m.
From: Otavio Salvador <otavio@ossystems.com.br>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/bitbake.conf |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
Khem Raj - May 11, 2011, 6:42 a.m.
On Tue, May 10, 2011 at 11:30 PM, Khem Raj <raj.khem@gmail.com> wrote:
> From: Otavio Salvador <otavio@ossystems.com.br>
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

well this patch is wrong since it adds --no-check-certificate between
-P and its argument but I have fixed it and pushed the new patch
to the pull tree.

> ---
>  meta/conf/bitbake.conf |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index fb488ae..030a78b 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -507,17 +507,17 @@ XORG_MIRROR = "http://xorg.freedesktop.org/releases"
>
>  FETCHCMD_svn = "/usr/bin/env svn"
>  FETCHCMD_cvs = "/usr/bin/env cvs"
> -FETCHCMD_wget = "/usr/bin/env wget -t 5 -q"
> +FETCHCMD_wget = "/usr/bin/env wget -t 5 -q --no-check-certificate"
>  FETCHCMD_bzr = "/usr/bin/env bzr"
>  FETCHCMD_hg = "/usr/bin/env hg"
>
>  FETCHCOMMAND = "ERROR, this must be a BitBake bug"
> -FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 -q --passive-ftp -P ${DL_DIR} '${URI}'"
> +FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 -q --passive-ftp -P --no-check-certificate ${DL_DIR} '${URI}'"
>  FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}"
>  FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}"
> -CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P ${DL_DIR} '${URI}'"
> +CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P --no-check-certificate ${DL_DIR} '${URI}'"
>  RESUMECOMMAND = "ERROR, this must be a BitBake bug"
> -RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 -q --passive-ftp -P ${DL_DIR} '${URI}'"
> +RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 -q --passive-ftp -P --no-check-certificate ${DL_DIR} '${URI}'"
>  UPDATECOMMAND = "ERROR, this must be a BitBake bug"
>  UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
>  UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"
> --
> 1.7.4.1
>
>
Richard Purdie - May 11, 2011, 9:01 a.m.
On Tue, 2011-05-10 at 23:30 -0700, Khem Raj wrote:
> From: Otavio Salvador <otavio@ossystems.com.br>
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/conf/bitbake.conf |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index fb488ae..030a78b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -507,17 +507,17 @@  XORG_MIRROR = "http://xorg.freedesktop.org/releases"
 
 FETCHCMD_svn = "/usr/bin/env svn"
 FETCHCMD_cvs = "/usr/bin/env cvs"
-FETCHCMD_wget = "/usr/bin/env wget -t 5 -q"
+FETCHCMD_wget = "/usr/bin/env wget -t 5 -q --no-check-certificate"
 FETCHCMD_bzr = "/usr/bin/env bzr"
 FETCHCMD_hg = "/usr/bin/env hg"
 
 FETCHCOMMAND = "ERROR, this must be a BitBake bug"
-FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 -q --passive-ftp -P ${DL_DIR} '${URI}'"
+FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 -q --passive-ftp -P --no-check-certificate ${DL_DIR} '${URI}'"
 FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}"
 FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}"
-CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P ${DL_DIR} '${URI}'"
+CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P --no-check-certificate ${DL_DIR} '${URI}'"
 RESUMECOMMAND = "ERROR, this must be a BitBake bug"
-RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 -q --passive-ftp -P ${DL_DIR} '${URI}'"
+RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 -q --passive-ftp -P --no-check-certificate ${DL_DIR} '${URI}'"
 UPDATECOMMAND = "ERROR, this must be a BitBake bug"
 UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
 UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"