* [PATCH 0/2] Two minor fixes for oe-core
@ 2011-03-03 16:47 Mark Hatle
2011-03-03 16:47 ` [PATCH 1/2] poky-env-internal: Add FETCH2 enablement Mark Hatle
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mark Hatle @ 2011-03-03 16:47 UTC (permalink / raw)
To: openembedded-core
The first fix implementes the workaround I posted in the oe-core getting
started. Simply adding the BBFETCH2=True is all that is needed.
The second fixes the ELF qa loaders bit size identification.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: mhatle/oecore/fixes
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/oecore/fixes
Thanks,
Mark Hatle <mark.hatle@windriver.com>
---
Mark Hatle (2):
poky-env-internal: Add FETCH2 enablement
qa.py: Fix a typo when evaluating bitsize
meta/lib/oe/qa.py | 4 ++--
scripts/poky-env-internal | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
--
1.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] poky-env-internal: Add FETCH2 enablement
2011-03-03 16:47 [PATCH 0/2] Two minor fixes for oe-core Mark Hatle
@ 2011-03-03 16:47 ` Mark Hatle
2011-03-03 16:47 ` [PATCH 2/2] qa.py: Fix a typo when evaluating bitsize Mark Hatle
2011-03-03 23:29 ` [PATCH 0/2] Two minor fixes for oe-core Richard Purdie
2 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2011-03-03 16:47 UTC (permalink / raw)
To: openembedded-core
We need to enable the new fetch2 implementation out of bitbake. Otherwise
we get various errors about SRCPV issues.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
scripts/poky-env-internal | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 80b7a12..724a6e4 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -56,3 +56,5 @@ export BUILDDIR
export PATH
export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND PSEUDO_DISABLED"
+
+export BBFETCH2=True
--
1.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] qa.py: Fix a typo when evaluating bitsize
2011-03-03 16:47 [PATCH 0/2] Two minor fixes for oe-core Mark Hatle
2011-03-03 16:47 ` [PATCH 1/2] poky-env-internal: Add FETCH2 enablement Mark Hatle
@ 2011-03-03 16:47 ` Mark Hatle
2011-03-03 23:29 ` [PATCH 0/2] Two minor fixes for oe-core Richard Purdie
2 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2011-03-03 16:47 UTC (permalink / raw)
To: openembedded-core
This should be setting a variable, not performing a comparison.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
meta/lib/oe/qa.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index 7adf4d0..d380012 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -40,9 +40,9 @@ class ELFFile:
self.my_assert(self.data[3], 'F')
if self.bits == 0:
if self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS32):
- self.bits == 32
+ self.bits = 32
elif self.data[ELFFile.EI_CLASS] == chr(ELFFile.ELFCLASS64):
- self.bits == 64
+ self.bits = 64
else:
# Not 32-bit or 64.. lets assert
raise Exception("ELF but not 32 or 64 bit.")
--
1.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] Two minor fixes for oe-core
2011-03-03 16:47 [PATCH 0/2] Two minor fixes for oe-core Mark Hatle
2011-03-03 16:47 ` [PATCH 1/2] poky-env-internal: Add FETCH2 enablement Mark Hatle
2011-03-03 16:47 ` [PATCH 2/2] qa.py: Fix a typo when evaluating bitsize Mark Hatle
@ 2011-03-03 23:29 ` Richard Purdie
2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-03-03 23:29 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2011-03-03 at 10:47 -0600, Mark Hatle wrote:
> The first fix implementes the workaround I posted in the oe-core getting
> started. Simply adding the BBFETCH2=True is all that is needed.
>
> The second fixes the ELF qa loaders bit size identification.
>
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: mhatle/oecore/fixes
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/oecore/fixes
>
> Thanks,
> Mark Hatle <mark.hatle@windriver.com>
> ---
>
>
> Mark Hatle (2):
> poky-env-internal: Add FETCH2 enablement
> qa.py: Fix a typo when evaluating bitsize
>
> meta/lib/oe/qa.py | 4 ++--
> scripts/poky-env-internal | 2 ++
> 2 files changed, 4 insertions(+), 2 deletions(-)
Merged into OE-Core master, thanks.
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-03 23:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 16:47 [PATCH 0/2] Two minor fixes for oe-core Mark Hatle
2011-03-03 16:47 ` [PATCH 1/2] poky-env-internal: Add FETCH2 enablement Mark Hatle
2011-03-03 16:47 ` [PATCH 2/2] qa.py: Fix a typo when evaluating bitsize Mark Hatle
2011-03-03 23:29 ` [PATCH 0/2] Two minor fixes for oe-core Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox