[yocto] Copying the kernel in the poky directory

2015-11-25 Thread Deepika Teriar
Hi I am customizing yocto for beaglebone black I do not want my kernel to get downloaded from the git after I clean the build directory. So i have kept the linux-kernel directory with the name kernel-3.14.29 in the poky directory. And in the linux-yocto_3.14.bb file i have changed SRC_URI *from:*

[yocto] PRINC functionality workaround

2015-11-25 Thread Belisko Marek
Hi, after upgrading to jethro release PRINC functionality was removed by commit : a4d530bcf55f03258078c10a123e2717444e1060 on oe-core. PRINC functionality was used in some of our recipes so I took part from PRINC funtionality and put is to separate method (in bbclass) [0] I'm trying to use it in

[yocto] [PATCH][yocto-kernel-cache] netfilter: enable several netfilter options

2015-11-25 Thread rongqing.li
From: Roy Li the below kernel options are enabled: LOG target support IPv6 connection tracking support, "addrtype" address type match support "recent" match support the default configuration of ufw(Uncomplicated Firewall) asked them. Signed-off-by: Roy Li --- features/netfilte

Re: [yocto] Problem using unix source in do_compile

2015-11-25 Thread Edward Vidal
Hello all,After a long time of trying to get Michael Looijmans fpga-image-adi.bb from meta-topic to work.  I wanted to share the fix.  I was running Ubuntu 12.04. which sh /bin/sh cd /bin ls -la sh lrwxrwxrwx 1 root root 4 May 16  2015 sh -> dash ln -sf bash shls -la /bin/sh lrwxrwxrwx 1 root roo

[yocto] [[AUH] 15/17] upgradehelper: Add workdir setting.

2015-11-25 Thread Aníbal Limón
The workdir setting is useful for store the AUH generated patches into another directory than $BULDDIR/upgrade-helper/work this will be used to publish AUH work. Signed-off-by: Aníbal Limón --- README | 3 +++ upgradehelper.py | 5 - 2 files changed, 7 insertions(+), 1 deletion(-)

[yocto] [[AUH] 17/17] statistics: Add support for publish_work_url setting.

2015-11-25 Thread Aníbal Limón
Publish setting helps to point the url where the AUH patches and logs are saved, this url is included into AUH upgrade status email. Signed-off-by: Aníbal Limón --- README| 3 +++ modules/statistics.py | 10 -- upgradehelper.py | 12 ++-- 3 files changed, 17

[yocto] [[AUH] 16/17] statistics: Improve email format and get_summary method.

2015-11-25 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- modules/statistics.py | 24 ++-- upgradehelper.py | 11 +-- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/modules/statistics.py b/modules/statistics.py index 32a6748..905a4cc 100644 --- a/modules/statistics.py +++

[yocto] [[AUH] 14/17] upgradehelper.py: Changed retry failure build to 30 days.

2015-11-25 Thread Aníbal Limón
When build fails is stored into history fail that enables to don't try to build again in a period of time, so change that period to 30 days since the work patches will be publish in web server. Signed-off-by: Aníbal Limón --- upgradehelper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

[yocto] [[AUH] 13/17] upgradehelper: Add testimage feature.

2015-11-25 Thread Aníbal Limón
Testimage module implements usage of testimage class, a integration branch is created with succesful recipe upgrades and then the next tests are run for every machine configured, - ptest: Recipes that support ptest are run and retrive the result after upgrade. - sato: Runs cor

[yocto] [[AUH] 11/17] utils/git.py: Add method for apply patches into a branch.

2015-11-25 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- modules/utils/git.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/utils/git.py b/modules/utils/git.py index 48ed46d..d7f5713 100644 --- a/modules/utils/git.py +++ b/modules/utils/git.py @@ -61,6 +61,9 @@ class Git(object): def create_patch(se

[yocto] [[AUH] 12/17] upgradehelper.py: Add settings for enable testimage.

2015-11-25 Thread Aníbal Limón
Testimage feature will provide the ability to run testimage class over a set of succesful upgrades. Also it will run ptest on recipes that support ptest and retrive the result for store/send to maintainer. Signed-off-by: Aníbal Limón --- README | 25 + upgradeh

[yocto] [[AUH] 10/17] steps.py: Move clean_repo to first step.

2015-11-25 Thread Aníbal Limón
In order to avoid random errors of uncleaned repository. Signed-off-by: Aníbal Limón --- modules/steps.py | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/modules/steps.py b/modules/steps.py index 19549cc..2685b80 100644 --- a/modules/steps.py ++

[yocto] [[AUH] 08/17] recipe/base.py: Add support for get recipe inherits.

2015-11-25 Thread Aníbal Limón
Recipe inherits are needed to detect what recipes support certain feature. For example: For detect ptest enable recipes and then do ptest runtime test after succesful upgrade. Signed-off-by: Aníbal Limón --- modules/recipe/base.py | 25 + 1 file changed, 25 insertions(+)

[yocto] [[AUH] 09/17] steps.py: Merge load_dirs step into load_env.

2015-11-25 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- modules/steps.py | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/steps.py b/modules/steps.py index 4a2eee3..19549cc 100644 --- a/modules/steps.py +++ b/modules/steps.py @@ -50,15 +50,13 @@ def load_env(bb, git, opts, pkg_ctx):

[yocto] [[AUH] 07/17] recipe/base.py: Add modify_recipe_files function decorator

2015-11-25 Thread Aníbal Limón
Remove duplicate code adding modify_recipe_files decorator, this function interate over recipe_dir and found bb and includes files to make modifications. Modifications to recipe bb and include files are made by function passed to modify_recipe_files. Signed-off-by: Aníbal Limón --- modules/reci

[yocto] [[AUH] 06/17] recipe/base.py: Add is_recipe_or_include_file func

2015-11-25 Thread Aníbal Limón
Instead of have duplicate code add this new function for make code easy to read. Signed-off-by: Aníbal Limón --- modules/recipe/base.py | 35 +-- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/modules/recipe/base.py b/modules/recipe/base.py index

[yocto] [[AUH] 03/17] upgradehelper.py: Adds own module for steps

2015-11-25 Thread Aníbal Limón
Isolate steps into own module in order to provide better structure of the code. In order to do that the step interfaces was defined to, step(bb, git, opts, pkg_ctx) - bb: Bitbake helper instance. - git: Git helper instance. - opts: Upgrade helper options. - pkg_ctx

[yocto] [[AUH] 05/17] buildhistory: Add option for enable in upgrade-helper.conf

2015-11-25 Thread Aníbal Limón
Make consistent the enablement for this feature it need to be explicit enable into upgrade-helper.conf and also needs configuration in local.conf. Signed-off-by: Aníbal Limón --- README | 9 +++-- modules/steps.py | 6 +++--- upgradehelper.py | 40 ++--

[yocto] [[AUH] 01/17] {upgradehelper, bitbake}.py: Move _get_env function to bitbake

2015-11-25 Thread Aníbal Limón
Remove unnecesary access function (_get_env) to environment move logic to build dictionary to bitbake env method. Signed-off-by: Aníbal Limón --- bitbake.py | 19 ++- upgradehelper.py | 26 -- 2 files changed, 22 insertions(+), 23 deletions(-) diff

[yocto] [[AUH] 00/17] AUH code refactor and support test image.

2015-11-25 Thread Aníbal Limón
The following patchset contains, - A refactor of AUH code clean-up and improve source tree. - A implementation of testimage that do ptest and sato testimages. - New settings for publish patches and logs generated by AUH. - Improvements on the status email. The chan

[yocto] [[AUH] 02/17] upgradehelper.py: Merge options into a dictionary

2015-11-25 Thread Aníbal Limón
Use one dictionary to keep together the options this enables possibility to define an interface for steps, see next commit. Signed-off-by: Aníbal Limón --- upgradehelper.py | 83 1 file changed, 42 insertions(+), 41 deletions(-) diff --gi

Re: [yocto] Cross-compiling python fails with new custom tuning

2015-11-25 Thread Michael Habibi
Mark, I ran the same command, including the offending PYTHONPATH, from the shell without error. Any reason why that would work, despite it not working from within the Makefile? I was thinking it was another environment variable that was causing the issue (one that's not set in my bash environment

Re: [yocto] Cross-compiling python fails with new custom tuning

2015-11-25 Thread Mark Hatle
On 11/25/15 10:11 AM, Michael Habibi wrote: > Well, I'm wrong yet again. A 'which python2.7' shows that it's pointing to a > native version of Python: > > *| which python2.7* > *| > /projects/yocto-git/build/tmp/sysroots/x86_64-linux/usr/bin/python-native/python2.7* > | > _PYTHON_PROJECT_BASE=/pro

Re: [yocto] Help with Opensips Recipe - QA run found fatal errors

2015-11-25 Thread Paul Eggleton
Hi Caio, On Tuesday 24 November 2015 11:48:13 Caio wrote: > I'm writing a recipe to a Sip proxy Opensips, but I'm having problems with > QA Issues. > In the First time I tried to use make install from Opensips Makefile I had > problem with QA Issues, so I added all the folders to FILES_${PN} and

Re: [yocto] [PSPLASH 1/2] psplash-fb.c: Fix BGR888 detection

2015-11-25 Thread Burton, Ross
On 25 November 2015 at 20:12, Aws Ismail wrote: > :) I have sent the same patch three years ago but no one picked it up... > > https://lists.yoctoproject.org/pipermail/yocto/2012-October/009846.html > I can only apologise. At least it's merged now! Ross --

Re: [yocto] [PSPLASH 1/2] psplash-fb.c: Fix BGR888 detection

2015-11-25 Thread Aws Ismail
:) I have sent the same patch three years ago but no one picked it up... https://lists.yoctoproject.org/pipermail/yocto/2012-October/009846.html On Tue, Nov 24, 2015 at 11:39 AM, Juro Bystricky wrote: > Signed-off-by: Juro Bystricky > --- > psplash-fb.c | 2 +- > 1 file changed, 1 insertion(+)

Re: [yocto] Migration 1.8 -> 2.0 opkg-cl missing in SDK

2015-11-25 Thread mar.krzeminski
Hi Paul, Thanks for clarification. Regards, Marcin W dniu 25.11.2015 o 20:04, Paul Eggleton pisze: Hi Marcin, On Wednesday 25 November 2015 17:49:19 mar.krzeminski wrote: After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command). Manual

Re: [yocto] Migration 1.8 -> 2.0 opkg-cl missing in SDK

2015-11-25 Thread Paul Eggleton
Hi Marcin, On Wednesday 25 November 2015 17:49:19 mar.krzeminski wrote: > After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is > generated by bitbake meta-toolchain command). > Manual clearly states that opkg-cl is still avaliable: > http://www.yoctoproject.org/docs/latest/adt-manua

[yocto] Migration 1.8 -> 2.0 opkg-cl missing in SDK

2015-11-25 Thread mar.krzeminski
Hello, After migrating from 1.8 to 2.0 opkg-cl is missing in SDK (sdk - is generated by bitbake meta-toolchain command). Manual clearly states that opkg-cl is still avaliable: http://www.yoctoproject.org/docs/latest/adt-manual/adt-manual.html#configuring-the-pms I can not find any instruction h

Re: [yocto] Cross-compiling python fails with new custom tuning

2015-11-25 Thread Michael Habibi
Well, I'm wrong yet again. A 'which python2.7' shows that it's pointing to a native version of Python: *| which python2.7* *| /projects/yocto-git/build/tmp/sysroots/x86_64-linux/usr/bin/python-native/python2.7* | _PYTHON_PROJECT_BASE=/projects/yocto-git/build/tmp/work/haswell-diags-linux/python/2.

Re: [yocto] Cross-compiling python fails with new custom tuning

2015-11-25 Thread Michael Habibi
Ah sorry, I misspoke. I walked through the Makefile and configure scripts a bit more, and $(PYTHON_FOR_BUILD) should in fact be a host version of Python. It seems it's not being configured correctly. Either the path is setup wrong and python2.7 is not pointing to the right version, or python2.7 nee

Re: [yocto] [OE-core] RFC: Reference updater filesystem

2015-11-25 Thread Randy Witt
On Mon, Nov 23, 2015 at 1:41 PM, Mariano Lopez < mariano.lo...@linux.intel.com> wrote: > There has been interest in an image based software updater in Yocto > Project. The proposed solution for a image based updater is to use Stefano > Babic's software updater (http://sbabic.github.io/swupdate). T

[yocto] RFC: Reference updater filesystem

2015-11-25 Thread Mariano Lopez
There has been interest in an image based software updater in Yocto Project. The proposed solution for a image based updater is to use Stefano Babic's software updater (http://sbabic.github.io/swupdate). This software do a binary copy, so it is needed to have at least two partitions, these part

Re: [yocto] Cross-compiling python fails with new custom tuning

2015-11-25 Thread Michael Habibi
For what it's worth, this is the offending portion of Makefile.pre:452: # Create build directory and generate the sysconfig build-time data there. # pybuilddir.txt contains the name of the build dir and is used for # sys.path fixup -- see Modules/getpath.c. # Since this step runs before shared mod

Re: [yocto] Cross-compiling python fails with new custom tuning

2015-11-25 Thread Mark Hatle
On 11/24/15 3:23 PM, Mark Hatle wrote: > My guess is that there is a bug in the python integration where it's not > realizing the host and target are different systems, so it's trying to run a > target program on your host. Your host isn't haswell, so... Illegal > Instruction > -- and the system

Re: [yocto] Header files in /usr/include of rootfs

2015-11-25 Thread Anders Darander
* Andy Hung(洪翊桓_Pegatron) [151125 11:53]: > Message: 2 > Date: Tue, 24 Nov 2015 14:25:14 +0100 > From: Anders Darander > To: yocto@yoctoproject.org > Subject: Re: [yocto] Header files in /usr/include of rootfs > Message-ID: <20151124132514.gb2...@ad.chargestorm.se> > Content-Type: text/plain; ch

Re: [yocto] Header files in /usr/include of rootfs

2015-11-25 Thread 洪翊桓_Pegatron
Message: 2 Date: Tue, 24 Nov 2015 14:25:14 +0100 From: Anders Darander To: yocto@yoctoproject.org Subject: Re: [yocto] Header files in /usr/include of rootfs Message-ID: <20151124132514.gb2...@ad.chargestorm.se> Content-Type: text/plain; charset=utf-8 * Andy Hung(???_Pegatron) [151124 11:35]: >

Re: [yocto] [meta-intel] "Crazy" Xorg memory usage after upgrading from Daisy to Fido

2015-11-25 Thread Chris Tapp
Hi Vincent, > On 25 Nov 2015, at 00:20, Cheah, Vincent Beng Keat > wrote: > > Hi Chris, > > Sorry for the lateness in reply, was too busy with other things. Good to hear > that. > > Xorg.conf is basically to force load particular intended driver (in this case > X11 SNA Driver). This is some