Re: [yocto] who are using archlinux?

2012-03-29 Thread Giannis Damigos
Hi, I had similar errors building an OE image for my Micro2440 board under archlinux x86-64. I solved the problem by installing gcc-multlib (https://wiki.archlinux.org/index.php/Arch64_FAQ#Multilib_Repository_-_Multilib_Project). But, I tried to bake gconf with yocto just adding MACHINE and

[yocto] [opkg-utils][PATCH 0/5] Import patches from oe-core

2012-03-29 Thread Martin Jansa
The following changes since commit 002d29bc605d7c2d02e4cf20a43c5277c15f5597: [opkg-utils] fix install fail problem Thanks for khorben's patch :-) https://docs.openmoko.org/trac/attachment/ticket/2072/patch-opkg-utils_Makefile_install_path.diff (2008-11-03 03:59:59 +) are available in

[yocto] [opkg-utils][PATCH 1/5] opkg-make-index: don't error out when some package disappears

2012-03-29 Thread Martin Jansa
From: Richard Purdie richard.pur...@linuxfoundation.org * If we're building an image and some package rebuilds while this is happening some package can be removed/added to the ipk deploy directory. The image will not depend on this package so we can safely ignore these cases rather than

[yocto] [opkg-utils][PATCH 2/5] opkg-make-index: convert mtime to int before comparing it

2012-03-29 Thread Martin Jansa
From: Enrico Scholz enrico.sch...@sigma-chemnitz.de * The st_mtime attribute (which is a float) is compared against a value from the timestamp database, which was stored as an integer there. * When working on a filesystem with precise timestamps the comparision will fail nearly everytime

[yocto] [opkg-utils][PATCH 4/5] arfile.py: handle six digit UIDs

2012-03-29 Thread Martin Jansa
From: Scott Anderson o...@saaworld.com * Essentially, the problem is that arfile.py is splitting the ar header with white-space instead of fixed-width fields, so two fields would get treated as a single field. This makes things better than before as it now honors the fixed field widths.

[yocto] [opkg-utils][PATCH 5/5] Use python via the PATH, rather than hardcoding /usr/bin/python

2012-03-29 Thread Martin Jansa
From: Christopher Larson kerg...@gmail.com Signed-off-by: Christopher Larson kerg...@gmail.com Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg-list-fields |2 +- opkg-make-index |2 +- opkg-show-deps|2 +- opkg-unbuild |2 +- opkg-update-index |2 +- 5

Re: [yocto] Deleting layers in Hob

2012-03-29 Thread Barros Pena, Belen
Hi all, Do we have enough information to make a decision about the meta-yocto layer? I don't understand all the technical details, but I am inclined to make it non-deletable in Hob (i.e. it is not possible to delete this layer in Hob). What do you think? Belen On 27/03/2012 17:56, Joshua Lock

Re: [yocto] Deleting layers in Hob

2012-03-29 Thread Xu, Dongxiao
On Thu, 2012-03-29 at 19:05 +0800, Barros Pena, Belen wrote: Hi all, Do we have enough information to make a decision about the meta-yocto layer? I don't understand all the technical details, but I am inclined to make it non-deletable in Hob (i.e. it is not possible to delete this layer in

Re: [yocto] tentative list of vars to be dropped from variable glossary

2012-03-29 Thread Richard Purdie
On Mon, 2012-03-26 at 16:50 -0700, Rudolf Streif wrote: Thanks, Richard. Clearer now but not entirely. BBMASK removes recipes from being parsed. It does not remove them from images although that would I guess be an indirect result since

Re: [yocto] issue building iputils with uclibc.

2012-03-29 Thread John Toomey
On 20/03/2012 16:56, Khem Raj wrote: On Tue, Mar 20, 2012 at 9:23 AM, Paul Eggleton paul.eggle...@linux.intel.com wrote: IIRC the thread ended with Khem asking if UCLIBC_HAS_RESOLVER_SUPPORT='y' was in the uclibc configuration, the implication being that dn_comp is unavailable unless that is

Re: [yocto] tentative list of vars to be dropped from variable glossary

2012-03-29 Thread Rifenbark, Scott M
I will take care of this. Scott -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Thursday, March 29, 2012 6:48 AM To: Rudolf Streif; Rifenbark, Scott M Cc: yocto@yoctoproject.org Subject: Re: [yocto] tentative list of vars to be dropped from

Re: [yocto] yassl recipe in the yocto project

2012-03-29 Thread Koen Kooi
Op 27 mrt. 2012, om 17:53 heeft Kamble, Nitin A het volgende geschreven: Hi Chris, Here is the recipe we have in yocto-project for openssl projects to be incorporated into embedded Linux distributions. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-connectivity/openssl

[yocto] filing enhancement for build appliance

2012-03-29 Thread Barros Pena, Belen
I've just received an screenshot showing how Hob looks like in the build appliance, and I'd like to file an enhancement to include a GTK theme that will show Hob with a better face. Does anybody know how should I file it? Bugzilla under build system general and indicating 'build appliance' in

Re: [yocto] Deleting layers in Hob

2012-03-29 Thread Barros Pena, Belen
Great! Care to tell us a bit about it, or will we have to hold our breath until you submit the patches? ;) Belen On 29/03/2012 13:00, Xu, Dongxiao dongxiao...@intel.com wrote: On Thu, 2012-03-29 at 19:05 +0800, Barros Pena, Belen wrote: Hi all, Do we have enough information to make a

Re: [yocto] filing enhancement for build appliance

2012-03-29 Thread Zhang, Jessica
Belen, That should work. Thanks, Jessica -Original Message- From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Barros Pena, Belen Sent: Thursday, March 29, 2012 8:16 AM To: yocto@yoctoproject.org Subject: [yocto] filing enhancement for build

[yocto] care when using remove_packaging_data_files

2012-03-29 Thread Chatre, Reinette
Hi, I am building an image using ipk packages. The minimal images all seem to set ROOTFS_POSTPROCESS_COMMAND to remove_packaging_data_files, which (for all package management systems) recursively removes the packages directory in /var/lib. This seems a bit harsh considering that some packages may

[yocto] [PATCH 1/1] [meta-intel] Cedartrail: Add pvr graphics driver

2012-03-29 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com Include the PVR Graphics driver to the Cedartrail BSP. These patch set will add the PVR Graphics driver and update the SRCREVs for both pvr and nopvr. Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com --- conf/machine/include/ia32-base.inc

[yocto] [PATCH 0/1] [meta-intel] Add PVR Graphics Driver to the Cedartrail BSP

2012-03-29 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com Hi, These patch set updates the existing Cedartrail BSP with PVR Graphics Driver and also the SRCREVS to build with both pvr and nopvr images. pvr version supports EFI and pcbios. no-pvr (VESA Graphics) version does not support EFI. Please pull

Re: [yocto] can all of the licensing discussion be centralized in an appendix?

2012-03-29 Thread Rudolf Streif
Scott, That's great. The dev manual is very comprehensive and at the right level of detail. I think many new as well as more experienced users of YP will appreciate it. From a quick read the only suggestion I have for now is to place the section on Customizing Images before the section on Adding

Re: [yocto] issue building iputils with uclibc.

2012-03-29 Thread Paul Eggleton
On Thursday 29 March 2012 14:20:44 John Toomey wrote: On 20/03/2012 16:56, Khem Raj wrote: go into the uclibc build tree and like kernel or busybox it will have a .config and grok that. If this is disabled then enable it in uClibc.distro file under uclibc recipes dir and rebuild uclibc.

Re: [yocto] can all of the licensing discussion be centralized in an appendix?

2012-03-29 Thread Rifenbark, Scott M
Rudi, Thanks for taking the time to look this stuff over. I will place customizing images ahead of adding packages in the dev manual. I will dig into the other issues and see what I can get in the way of information from the development team. Scott From: rstr...@linuxfoundation.org

Re: [yocto] issue building iputils with uclibc.

2012-03-29 Thread Khem Raj
On Thu, Mar 29, 2012 at 12:05 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Thursday 29 March 2012 14:20:44 John Toomey wrote: On 20/03/2012 16:56, Khem Raj wrote: go into the uclibc build tree and like kernel or busybox it will have a .config and grok that. If this is disabled

[yocto] How to change the startup application

2012-03-29 Thread Liu, Song
I got a question about how to change the startup application with Yocto for images generated with Yocto. And I googled it and landed on this page: https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts. Pretty good, someone was thinking about the same thing. But this

[yocto] which yocto doc explains bitbake assignment variations?

2012-03-29 Thread Robert P. J. Day
somewhere, i'm assuming there's a decent explanation of the different bitbake assignment variations (=, ?=, ??=), but i don't immediately see it, and i think it's pretty important that that's explained properly. pointer? rday --

Re: [yocto] which yocto doc explains bitbake assignment variations?

2012-03-29 Thread Mark Hatle
On 3/29/12 4:47 PM, Robert P. J. Day wrote: somewhere, i'm assuming there's a decent explanation of the different bitbake assignment variations (=, ?=, ??=), but i don't immediately see it, and i think it's pretty important that that's explained properly. pointer? rday The bitbake

Re: [yocto] which yocto doc explains bitbake assignment variations?

2012-03-29 Thread Rudolf Streif
Robert, I don't think that the YP manuals do. That's more Bitbake. However, here is some copied out of my docs. (List excuse the formatting. It's copied from an HTML page.) - *Variable Setting (=)* Set a variable by assigning it a value using the *=* sign. Values must be

Re: [yocto] which yocto doc explains bitbake assignment variations?

2012-03-29 Thread Robert P. J. Day
On Thu, 29 Mar 2012, Mark Hatle wrote: On 3/29/12 4:47 PM, Robert P. J. Day wrote: somewhere, i'm assuming there's a decent explanation of the different bitbake assignment variations (=, ?=, ??=), but i don't immediately see it, and i think it's pretty important that that's

[yocto] [opkg-utils][PATCH 00/22] Partially prepare for python3 and fix old Packages file reuse

2012-03-29 Thread Martin Jansa
First 5 patches are taken from oe-core. Then there are some cleanups and fixes for issues I've found while looking for cause of very long package-index calls. Some patches uses compatible changes from 2to3 (tested with python2.7), but python3 support is not 100% complete, but were closer. And

[yocto] [opkg-utils][PATCH 01/22] opkg-make-index: don't error out when some package disappears

2012-03-29 Thread Martin Jansa
From: Richard Purdie richard.pur...@linuxfoundation.org * If we're building an image and some package rebuilds while this is happening some package can be removed/added to the ipk deploy directory. The image will not depend on this package so we can safely ignore these cases rather than

[yocto] [opkg-utils][PATCH 02/22] opkg-make-index: convert mtime to int before comparing it

2012-03-29 Thread Martin Jansa
From: Enrico Scholz enrico.sch...@sigma-chemnitz.de * The st_mtime attribute (which is a float) is compared against a value from the timestamp database, which was stored as an integer there. * When working on a filesystem with precise timestamps the comparision will fail nearly everytime

[yocto] [opkg-utils][PATCH 03/22] opkg.py: Add knowledge about License field in ipk headers

2012-03-29 Thread Martin Jansa
From: Khem Raj raj.k...@gmail.com Signed-off-by: Khem Raj raj.k...@gmail.com Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/opkg.py b/opkg.py index 3fda9b5..8ddc8b8 100644 --- a/opkg.py +++ b/opkg.py

[yocto] [opkg-utils][PATCH 04/22] arfile.py: handle six digit UIDs

2012-03-29 Thread Martin Jansa
From: Scott Anderson o...@saaworld.com * Essentially, the problem is that arfile.py is splitting the ar header with white-space instead of fixed-width fields, so two fields would get treated as a single field. This makes things better than before as it now honors the fixed field widths.

[yocto] [opkg-utils][PATCH 05/22] Use python via the PATH, rather than hardcoding /usr/bin/python

2012-03-29 Thread Martin Jansa
From: Christopher Larson kerg...@gmail.com Signed-off-by: Christopher Larson kerg...@gmail.com Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg-list-fields |2 +- opkg-make-index |2 +- opkg-show-deps|2 +- opkg-unbuild |2 +- opkg-update-index |2 +- 5

[yocto] [opkg-utils][PATCH 06/22] opkg.py: use hashlib instead of old md5 module

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opkg.py b/opkg.py index 8ddc8b8..56e774d 100644 --- a/opkg.py +++ b/opkg.py @@ -36,7 +36,7 @@ import tempfile import os import sys import glob -import

[yocto] [opkg-utils][PATCH 07/22] opkg.py, arfile.py: report which file has wrong format and use the same test

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- arfile.py | 16 +--- opkg.py | 11 ++- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/arfile.py b/arfile.py index 8291a2d..7a695c6 100644 --- a/arfile.py +++ b/arfile.py @@ -40,13 +40,13 @@ class

[yocto] [opkg-utils][PATCH 08/22] arfile: decode read lines as ascii string before getting fields from it

2012-03-29 Thread Martin Jansa
* python3 returns them as byte sequence Signed-off-by: Martin Jansa martin.ja...@gmail.com --- arfile.py |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arfile.py b/arfile.py index 7a695c6..92ffee0 100644 --- a/arfile.py +++ b/arfile.py @@ -74,6 +74,7 @@ class ArFile:

[yocto] [opkg-utils][PATCH 11/22] 2to3: dictionary fixes

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- arfile.py|2 +- opkg-compare-indexes | 10 +- opkg-make-index | 18 +- opkg-show-deps | 12 ++-- opkg-update-index|2 +- opkg.py |8 6 files

[yocto] [opkg-utils][PATCH 12/22] 2to3: exception handling fixes

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- arfile.py |4 ++-- opkg-make-index |4 ++-- opkg.py |2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arfile.py b/arfile.py index 9149387..3f797a8 100644 --- a/arfile.py +++ b/arfile.py @@ -54,11

[yocto] [opkg-utils][PATCH 13/22] opkg-make-index: show OSError/IOError

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg-make-index | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/opkg-make-index b/opkg-make-index index 997f286..e0844a7 100755 --- a/opkg-make-index +++ b/opkg-make-index @@ -131,11 +131,11 @@

[yocto] [opkg-utils][PATCH 14/22] opkg.py: use string funtcions directly on string variable

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg-make-index |3 +-- opkg-show-deps | 11 +-- opkg.py |5 ++--- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/opkg-make-index b/opkg-make-index index e0844a7..898a2f6 100755 ---

[yocto] [opkg-utils][PATCH 15/22] opkg.py: catch TypeError when reading control file, to show which one is failing

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/opkg.py b/opkg.py index 856e057..299e84e 100644 --- a/opkg.py +++ b/opkg.py @@ -161,7 +161,10 @@ class Package: control =

[yocto] [opkg-utils][PATCH 16/22] arfile: fix test

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- arfile.py |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arfile.py b/arfile.py index 3f797a8..88ace46 100644 --- a/arfile.py +++ b/arfile.py @@ -131,5 +131,8 @@ if __name__ == __main__: tarf =

[yocto] [opkg-utils][PATCH 17/22] opkg-make-index: don't use stdout for Packages output and use __str__ instead of __repr__

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg-make-index | 17 + opkg.py |4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/opkg-make-index b/opkg-make-index index 898a2f6..02c425f 100755 --- a/opkg-make-index +++

[yocto] [opkg-utils][PATCH 18/22] opkg.py: cast lines from controlfile as string

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opkg.py b/opkg.py index 84583be..6c39616 100644 --- a/opkg.py +++ b/opkg.py @@ -206,7 +206,7 @@ class Package: while 1: if not line: break

[yocto] [opkg-utils][PATCH 19/22] opkg.py: computeFileMD5 only when we have fn, otherwise fails to read None file

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py | 19 +++ 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/opkg.py b/opkg.py index 6c39616..9daff9e 100644 --- a/opkg.py +++ b/opkg.py @@ -182,14 +182,17 @@ class Package: def

[yocto] [opkg-utils][PATCH 20/22] opkg.py: fix write_package when called from main test

2012-03-29 Thread Martin Jansa
* there is no self.meta_dir before self._setup_scratch_area * control file needs to be closed before packing it with tar, otherwise it could be empty Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[yocto] [opkg-utils][PATCH 21/22] opkg.py: use textwrap for description writing

2012-03-29 Thread Martin Jansa
* description field in oe-core sometimes has extra line-feeds and is long * extra line-feeds breaks read_control, because empty line means next Package * long descriptions should be wrapped and properly indented, so they are parsed back properly Signed-off-by: Martin Jansa martin.ja...@gmail.com

[yocto] [opkg-utils][PATCH 22/22] opkg.py: improve test so it prints temporary control file with long description and then reads it back

2012-03-29 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- opkg.py | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/opkg.py b/opkg.py index 2294160..27cbc2a 100644 --- a/opkg.py +++ b/opkg.py @@ -509,11 +509,21 @@ if __name__ == __main__:

Re: [yocto] which yocto doc explains bitbake assignment variations?

2012-03-29 Thread Robert P. J. Day
just to be absolutely clear so i don't misunderstand: On Thu, 29 Mar 2012, Rudolf Streif wrote: VAR = value In this example, VAR is set to value. so the = assignment will *always* set the variable to that value, regardless of what combination of =, ?= or ??= has come before it,

Re: [yocto] How to change the startup application

2012-03-29 Thread Autif Khan
I got a question about how to change the startup application with Yocto for images generated with Yocto. And I googled it and landed on this page: https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts. Pretty good, someone was thinking about the same thing. But

[yocto] Bugs for 1.2 release

2012-03-29 Thread Zhang, Jessica
Hi All, As we're approaching 1.2 release, the bug triage team comes up an addendum to the existing process. We're marking certain medium+normal bugs with a tag [1.2] in the whiteboard area. This means these bugs are considered a desired to be fixed in the 1.2 release timeframe. So for

Re: [yocto] which yocto doc explains bitbake assignment variations?

2012-03-29 Thread Rudolf Streif
1. yes, = will always override any prior ?= or ??= and any subsequent ?= or ??= will not change the setting anymore. 2. yes, a ?= following a ??= will set the variable. Only a = will be override the setting of the ?=. Any following ?= and ??= will not change the setting. 3. yes, a ?= or =