* [PATCH 0/3] Do not depend on BBFILES to compute scm dirs
@ 2011-05-11 6:29 Khem Raj
2011-05-11 6:29 ` [PATCH 1/3] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Khem Raj @ 2011-05-11 6:29 UTC (permalink / raw)
To: OE core
This fixes the problem that I described in
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/001966.html
Additionally we do not need directories with */packages/* in BBFILES
anymore
use --no-check-certificate for wget otherwise tar downloads from
github.com end up giving certificate errors
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz [following]
--2011-05-10 23:16:17-- https://github.com/downloads/tias/xinput_calibrator/xinput_calibrator-0.7.5.tar.gz
Connecting to github.com|207.97.227.239|:443... connected.
ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'.
To connect to github.com insecurely, use `--no-check-certificate'.
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: kraj/misc-fixes
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc-fixes
Thanks,
Khem Raj <raj.khem@gmail.com>
---
Khem Raj (2):
metadata_scm.bbclass: Use COREBASE to grok for SCM operations
meta/conf/layer.conf: Remove packages/*bb from BBFILES
Otavio Salvador (1):
conf/bitbake.conf: use --no-check-certificate to avoid errors when
wgetting from https
meta/classes/metadata_scm.bbclass | 5 +----
meta/conf/bitbake.conf | 8 ++++----
meta/conf/layer.conf | 2 +-
3 files changed, 6 insertions(+), 9 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] metadata_scm.bbclass: Use COREBASE to grok for SCM operations
2011-05-11 6:29 [PATCH 0/3] Do not depend on BBFILES to compute scm dirs Khem Raj
@ 2011-05-11 6:29 ` Khem Raj
2011-05-11 6:29 ` [PATCH 2/3] meta/conf/layer.conf: Remove packages/*bb from BBFILES Khem Raj
2011-05-11 6:30 ` [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https Khem Raj
2 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2011-05-11 6:29 UTC (permalink / raw)
To: OE core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/classes/metadata_scm.bbclass | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass
index 7112ad5..99ac05c 100644
--- a/meta/classes/metadata_scm.bbclass
+++ b/meta/classes/metadata_scm.bbclass
@@ -25,12 +25,9 @@ def base_detect_branch(d):
return rev.strip()
return "<unknown>"
-
-
def base_get_scmbasepath(d):
- path_to_bbfiles = bb.data.getVar( 'BBFILES', d, 1 ).split()
- return path_to_bbfiles[0][:path_to_bbfiles[0].rindex( "packages" )]
+ return bb.data.getVar( 'COREBASE', d, 1 )
def base_get_metadata_monotone_branch(path, d):
monotone_branch = "<unknown>"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] meta/conf/layer.conf: Remove packages/*bb from BBFILES
2011-05-11 6:29 [PATCH 0/3] Do not depend on BBFILES to compute scm dirs Khem Raj
2011-05-11 6:29 ` [PATCH 1/3] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
@ 2011-05-11 6:29 ` Khem Raj
2011-05-11 6:30 ` [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https Khem Raj
2 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2011-05-11 6:29 UTC (permalink / raw)
To: OE core
packages directory has been divided into recipes-*/ dirs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/conf/layer.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 3f63c7d..ad95405 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -2,7 +2,7 @@ BBPATH ?= ""
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a packages directory, add to BBFILES
-BBFILES += "${LAYERDIR}/packages/*/*.bb ${LAYERDIR}/recipes-*/*/*.bb"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
BBFILE_COLLECTIONS += "normal"
BBFILE_PATTERN_normal := "^${LAYERDIR}/"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https
2011-05-11 6:29 [PATCH 0/3] Do not depend on BBFILES to compute scm dirs Khem Raj
2011-05-11 6:29 ` [PATCH 1/3] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
2011-05-11 6:29 ` [PATCH 2/3] meta/conf/layer.conf: Remove packages/*bb from BBFILES Khem Raj
@ 2011-05-11 6:30 ` Khem Raj
2011-05-11 6:42 ` Khem Raj
2011-05-11 9:01 ` Richard Purdie
2 siblings, 2 replies; 6+ messages in thread
From: Khem Raj @ 2011-05-11 6:30 UTC (permalink / raw)
To: OE core
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(-)
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https
2011-05-11 6:30 ` [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https Khem Raj
@ 2011-05-11 6:42 ` Khem Raj
2011-05-11 9:01 ` Richard Purdie
1 sibling, 0 replies; 6+ messages in thread
From: Khem Raj @ 2011-05-11 6:42 UTC (permalink / raw)
To: OE core
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
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https
2011-05-11 6:30 ` [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https Khem Raj
2011-05-11 6:42 ` Khem Raj
@ 2011-05-11 9:01 ` Richard Purdie
1 sibling, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2011-05-11 9:01 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-05-11 9:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 6:29 [PATCH 0/3] Do not depend on BBFILES to compute scm dirs Khem Raj
2011-05-11 6:29 ` [PATCH 1/3] metadata_scm.bbclass: Use COREBASE to grok for SCM operations Khem Raj
2011-05-11 6:29 ` [PATCH 2/3] meta/conf/layer.conf: Remove packages/*bb from BBFILES Khem Raj
2011-05-11 6:30 ` [PATCH 3/3] conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting from https Khem Raj
2011-05-11 6:42 ` Khem Raj
2011-05-11 9:01 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox