[yocto] Failing to load native libs

2012-12-02 Thread Ilya Dmitrichenko
I'm having a slightly odd issue, looks like LD_*_PATH is not being set or
something like that. I've worked around it by adding
/etc/ld.so.conf.d/poky.conf, but i still needed to do `sudo ldconfig` every
now and again when it fails to run say bzip2 with error that it cannot load
damn libbz2.so. It's an ugly hack of course, but I'm not so sure how to fix
this otherwise. I wonder if this could possibly be to do with the distro i
happend to be using as a host - it's ubuntu 10.04. That's kindda old, but I
doubt that it's to do with that.

Cheers,
-- 
Ilya
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [Draft] From Bitbake Hello World To an Image

2012-12-02 Thread Eren Türkay
Hello,

I have completed a document that tries to explain how image is created
using openembedded starting from bitbake fundementals. The document
reflects my own understanding and includes the information that I wished
to have when I first involved in understanding openembedded.

This is aimed for people who want get the big picture with some details
under the hood (What's the sequence of creating an image, how is source
fetched, patched, configured, and installed? How is ipk, rpm, and deb
created? How is image produced?)

People who know bitbake can skip to "Understanding OpenEmbedded" part.
However, I suggest them to play with plain bitbake and read the first
chapter as bitbake is the hearth of OpenEmbedded.

There are additional information required which are marked with "FIXME"
keywords. Suggestions and contributions are welcomed.

I don't know how it can be integrated to current documentation but I
would like to help if that's the case. The licence of the work is CC
BY-SA. Use it, change it, adapt it, distribute it, as long as you
attribute the original work and the author :)

Document:
http://hambedded.org/blog/2012/11/24/from-bitbake-hello-world-to-an-image/

Markdown source:
https://github.com/hambedded-linux/hambedded-linux.github.com/tree/source/source/_posts

Regards,
Eren

-- 
. 73! DE TA1AET
  http://erenturkay.com/


pgplZR4ZjrBmn.pgp
Description: PGP signature
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Use of BBPATH in a layer.conf file.

2012-12-02 Thread Scott Garman

Hey folks,

Robert Day has brought up an inconsistency in the way we append to 
BBPATH within a couple of our layer.conf files.


In meta-hob, meta-yocto-bsp, and meta-intel, we do:

BBPATH := "${BBPATH}:${LAYERDIR}"

but in meta-yocto, we do:

BBPATH := "${LAYERDIR}:${BBPATH}"

Unless someone explains to me that it's necessary to use this different 
ordering in meta-yocto's layer.conf, I will submit a patch to make this 
more consistent.


Scott

--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1] meta-yocto layer.conf consistency fix

2012-12-02 Thread Scott Garman
Just a fix to make the appending to BBPATH consistent with how we set
it in other layers.

Scott

The following changes since commit 247b6a3754c2c50318e2a73d79981ba0e9cb560b:

  gstreamer, gst-plugins*: fix localdata (2012-11-28 15:25:33 +)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib sgarman/meta-yocto-layer-fix
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=sgarman/meta-yocto-layer-fix

Scott Garman (1):
  meta-yocto layer.conf: Append to BBPATH consistent with other layers

 meta-yocto/conf/layer.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] meta-yocto layer.conf: Append to BBPATH consistent with other layers

2012-12-02 Thread Scott Garman
Trivial change to make the appending of BBPATH consistent with how
we do things in other layers.

Signed-off-by: Scott Garman 
---
 meta-yocto/conf/layer.conf |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-yocto/conf/layer.conf b/meta-yocto/conf/layer.conf
index 7917962..68786b2 100644
--- a/meta-yocto/conf/layer.conf
+++ b/meta-yocto/conf/layer.conf
@@ -1,5 +1,5 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := "${LAYERDIR}:${BBPATH}"
+BBPATH := "${BBPATH}:${LAYERDIR}"
 
 # We have a packages directory, add to BBFILES
 BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Use of BBPATH in a layer.conf file.

2012-12-02 Thread Paul Eggleton
On Sunday 02 December 2012 14:51:28 Scott Garman wrote:
> Robert Day has brought up an inconsistency in the way we append to
> BBPATH within a couple of our layer.conf files.
> 
> In meta-hob, meta-yocto-bsp, and meta-intel, we do:
> 
> BBPATH := "${BBPATH}:${LAYERDIR}"
> 
> but in meta-yocto, we do:
> 
> BBPATH := "${LAYERDIR}:${BBPATH}"
> 
> Unless someone explains to me that it's necessary to use this different
> ordering in meta-yocto's layer.conf, I will submit a patch to make this
> more consistent.

I think it actually ought to be:

BBPATH .= ":${LAYERDIR}"

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Use of BBPATH in a layer.conf file.

2012-12-02 Thread Scott Garman

On 12/02/2012 03:24 PM, Paul Eggleton wrote:

On Sunday 02 December 2012 14:51:28 Scott Garman wrote:

Robert Day has brought up an inconsistency in the way we append to
BBPATH within a couple of our layer.conf files.

In meta-hob, meta-yocto-bsp, and meta-intel, we do:

BBPATH := "${BBPATH}:${LAYERDIR}"

but in meta-yocto, we do:

BBPATH := "${LAYERDIR}:${BBPATH}"

Unless someone explains to me that it's necessary to use this different
ordering in meta-yocto's layer.conf, I will submit a patch to make this
more consistent.


I think it actually ought to be:

BBPATH .= ":${LAYERDIR}"


Oh? Would this apply just to meta-yocto or all layer.conf files?

Scott

--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Use of BBPATH in a layer.conf file.

2012-12-02 Thread Paul Eggleton
On Sunday 02 December 2012 15:35:54 you wrote:
> On 12/02/2012 03:24 PM, Paul Eggleton wrote:
> > On Sunday 02 December 2012 14:51:28 Scott Garman wrote:
> >> Robert Day has brought up an inconsistency in the way we append to
> >> BBPATH within a couple of our layer.conf files.
> >> 
> >> In meta-hob, meta-yocto-bsp, and meta-intel, we do:
> >> 
> >> BBPATH := "${BBPATH}:${LAYERDIR}"
> >> 
> >> but in meta-yocto, we do:
> >> 
> >> BBPATH := "${LAYERDIR}:${BBPATH}"
> >> 
> >> Unless someone explains to me that it's necessary to use this different
> >> ordering in meta-yocto's layer.conf, I will submit a patch to make this
> >> more consistent.
> > 
> > I think it actually ought to be:
> > 
> > BBPATH .= ":${LAYERDIR}"
> 
> Oh? Would this apply just to meta-yocto or all layer.conf files?

All, really. Functionally it makes no real difference, but I think it's 
preferred stylistically based on previous discussions.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto