Re: [yocto] Error: when reparsing

2017-05-18 Thread Yuvarajesh Valleru
Ok. So according to you I can only build one image per day succesfully ? Am 18.05.2017 um 18:00 schrieb Khem Raj: On Thu, May 18, 2017 at 8:14 AM, Yuvarajesh Valleru wrote: Hi, I was building a custom-linux-image. I succesfully build the image with the help of bitbake tool. When rebuilding

Re: [yocto] [meta-security] [PATCH] mtree: add recipe

2017-05-18 Thread Kang Kai
On 2017年05月18日 23:24, Christopher Larson wrote: On Thu, May 18, 2017 at 12:22 AM, > wrote: From: Kai Kang mailto:kai.k...@windriver.com>> Add recipe mtree port from BSD. Add a patch to handle null return from getlogin. Signed-off-by: Kai Kang ma

[yocto] [meta-security][PATCH] packagegroup-security-tpm-i2c: fix syntax

2017-05-18 Thread Peter Lei
Fix "ERROR: ExpansionError during parsing" when building with multilib. Signed-off-by: Peter Lei --- meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-tpm/recipes-core/packagegroup/packagegroup-security-t

[yocto] What can I share between projects?

2017-05-18 Thread Paul D. DeRocco
If I'm doing multiple unrelated Yocto based projects, and they use the same version of Yocto, and the same metadata (except for my own layers), am I right in assuming that I can share everything in poky, downloads, and sstate-cache, and I only need separate build directories? (I normally put downlo

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Koehler, Yannick (HPN Aruba)
The alternatesrc is also way faster than managing local layer just to re-specify the git location. The ALTERNATESRC can be automatically calulated such as inherit alternatesrc ALTERNATESRC="$YOURROOT/$P" As such all recipe looks the same, and if you do git clone URI $YOURROOT/$P locall

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Koehler, Yannick (HPN Aruba)
Sounds great, but I have to deal with à team of buildroot beliver, as such, askibg dev to setup their own layrr manually is too complexe for them. With my solution they do not have to do anything on their setup. Get Outlook for iOS From: J

Re: [yocto] [meta-xilinx] Trying to build xen-guest-image-minimal

2017-05-18 Thread Alistair Francis
On Thu, May 18, 2017 at 12:48 AM, Pello Heriz wrote: > Hi Alistair, > > I have deleted the two lines that you have told me: > > -IMAGE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' > xf86-video-fbdev', '', d)}" > -IMAGE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' >

Re: [yocto] Trying to build a xen-image-minimal with petalinux v2016.4

2017-05-18 Thread Alistair Francis
On Thu, May 18, 2017 at 1:08 AM, Pello Heriz wrote: > Hi all, > > I'm trying to build a xen-image-minimal using petalinux v2016.4 following > the steps that are given in the ug1144 documentation. Anyway, when it starts > to execute the bitbake, it shows the next errors making the building > imposs

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Joshua Watt
On Thu, May 18, 2017 at 1:11 PM, Koehler, Yannick (HPN Aruba) wrote: > In our environment, we have package that are store inside git in their own > repo. Using SRC_URI we fetch the code and build it from the git repo itself > and all is fine. When developer wants to change the content of the p

[yocto] [[AUH][PATCH] 3/6] upgradehelper.py: Add ability to run UniverseUpdater over certain recipes

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón --- upgradehelper.py | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py index f7b87c6..6732fb2 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -655,9 +655,12 @

[yocto] [[AUH][PATCH] 2/6] README: Update with the new layer settings.

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón --- README | 6 ++ 1 file changed, 6 insertions(+) diff --git a/README b/README index 1b73034..e6b0dc2 100644 --- a/README +++ b/README @@ -67,6 +67,12 @@ buildhistory=no testimage=no testimage_name=image-custom # defaults to core-image-sato +#

[yocto] [[AUH][PATCH] 5/6] upgradehelper.py: Add layer name to upgrade email subject

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón --- upgradehelper.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 41f81c1..be4282f 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -440,7 +440,11 @@ class Updater(object):

[yocto] [[AUH][PATCH] 4/6] upgradehelper.py: Add support for sync layer master

2017-05-18 Thread Aníbal Limón
[YOCTO #8962] Signed-off-by: Aníbal Limón --- upgradehelper.py | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 6732fb2..41f81c1 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -674,6 +674,10 @@ class UniverseUpdater(Up

[yocto] [[AUH][PATCH] 6/6] upgradehelper.py: Add _get_recipes_by_layer method

2017-05-18 Thread Aníbal Limón
When the layer mode is enabled and the upgradehelper is run with all, there is a need to discover what recipes are provides the layer to only try to upgrade those. [YOCTO #8962] Signed-off-by: Aníbal Limón --- upgradehelper.py | 32 +++- 1 file changed, 31 insertions

[yocto] [[AUH][PATCH] 1/6] upgradehelper.py: Add support to load layer settings

2017-05-18 Thread Aníbal Limón
Those settings are to support layer recipe upgrades runs into the AUH. [YOCTO #8962] Signed-off-by: Aníbal Limón --- upgradehelper.py | 42 ++ 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/upgradehelper.py b/upgradehelper.py index df7d36d

[yocto] [[AUH][PATCH] 0/6] Add support to handle layer in upgrade

2017-05-18 Thread Aníbal Limón
This series enables a layer mode to try make a recipe upgrades over a certain layer. Aníbal Limón (6): upgradehelper.py: Add support to load layer settings README: Update with the new layer settings. upgradehelper.py: Add ability to run UniverseUpdater over certain recipes upgradehelpe

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Khem Raj
On Thu, May 18, 2017 at 11:11 AM, Koehler, Yannick (HPN Aruba) wrote: > In our environment, we have package that are store inside git in their own > repo. Using SRC_URI we fetch the code and build it from the git repo itself > and all is fine. When developer wants to change the content of the

[yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Koehler, Yannick (HPN Aruba)
In our environment, we have package that are store inside git in their own repo. Using SRC_URI we fetch the code and build it from the git repo itself and all is fine. When developer wants to change the content of the package, they had to clone, change, commit, push and only then they were abl

Re: [yocto] Error: when reparsing

2017-05-18 Thread Khem Raj
On Thu, May 18, 2017 at 8:14 AM, Yuvarajesh Valleru wrote: > Hi, > > I was building a custom-linux-image. I succesfully build the image with the > help of bitbake tool. > > When rebuilding the same image again, i was experiencing an error. > > ERROR: When reparsing .do_install, the basehash value

[yocto] Error: when reparsing

2017-05-18 Thread Yuvarajesh Valleru
Hi, I was building a custom-linux-image. I succesfully build the image with the help of bitbake tool. When rebuilding the same image again, i was experiencing an error. /ERROR: When reparsing //.do_install, //the //basehash value changed from 3c2401cc61fce5eb899de19dbf78862f to //558516a7416

Re: [yocto] [PATCH] mtree: add recipe

2017-05-18 Thread Christopher Larson
On Thu, May 18, 2017 at 12:22 AM, wrote: > From: Kai Kang > > Add recipe mtree port from BSD. Add a patch to handle null return > from getlogin. > > Signed-off-by: Kai Kang > Exactly what layer are you aiming for this to go to? The list you sent it to (yocto) doesn’t imply any particular layer

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alan Levy
OK, done that now. Thanks for your assistance Alan ALAN LEVY, Lead Consultant, Embedded Systems Plextek Consulting, The Plextek Building, London Road, Great Chesterford, Saffron Walden, CB10 1NY, UK T: +44 (0) 1799 533200E: alan.l...@plextek.com W: www.plextek.com -Original Messag

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alexander Kanavin
On 05/18/2017 05:02 PM, Alan Levy wrote: Here it is, certain names have been changed to protect the guilty. As you can see at the bottom svn isn't on the path, so bitbake blows up when it tries to evaluate SRCPV: ERROR: ExpansionError during parsing /my_recipe.bb | ETA: 0:00:01 Traceback (most

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alan Levy
Here it is, certain names have been changed to protect the guilty. As you can see at the bottom svn isn't on the path, so bitbake blows up when it tries to evaluate SRCPV: ERROR: ExpansionError during parsing /my_recipe.bb | ETA: 0:00:01 Traceback (most recent call last):

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alexander Kanavin
On 05/18/2017 04:46 PM, Alan Levy wrote: Just noticed the typo on my part - it's SRCPV that causes the problem, not SRCREV. Apologies for the confusion; a maze of twisty little variables, all alike So how does it blow up? Can I see the python traceback? You can also write a minimal recipe wi

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alan Levy
Just noticed the typo on my part - it's SRCPV that causes the problem, not SRCREV. Apologies for the confusion; a maze of twisty little variables, all alike ALAN LEVY, Lead Consultant, Embedded Systems Plextek Consulting, The Plextek Building, London Road, Great Chesterford, Saffron Walden, CB

Re: [yocto] Install Torch7

2017-05-18 Thread Abayiz
Dear Fabien and Jussi, Thank you very much for your time and concern. After your suggestion I tried to find out all those packages installed by "bash install-deps". However I found that these deps are required to build JIT version of Lua, as mentioned on the official Torch website. So instead

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alan Levy
I want to assign SRCREV to PV, which is perfectly legitimate, so that I can capture the SVN revision number used to build the code. Here's a simple recipe which exhibits the problem: DESCRIPTION = "Recipe to test SVN" PACKAGE_ARCH = "${MACHINE_ARCH}" LICENSE = "CLOSED" PV = "${SRCPV}" SRCREV = "

Re: [yocto] Install Torch7

2017-05-18 Thread Fabien Lahoudere
On Thu, 2017-05-18 at 12:02 +, Abayiz wrote: > Dear Fabien,  > > Thank you very much for your reply.  > No, I didn't try 'devtool edit-recipe torch' to add dependencies. Actually I > didn't know how to > add them. Is there any way to directly call that .sh file there?? > Could you give me a m

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alexander Kanavin
On 05/18/2017 04:04 PM, Alan Levy wrote: It does get built, and it apparently does get used to do the actual fetching, just not for miscellaneous functions such as populating SRCREV which rely on the svn executable being on the PATH. This appears to be deliberate since there is a FETCHCMD_svn var

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alan Levy
It does get built, and it apparently does get used to do the actual fetching, just not for miscellaneous functions such as populating SRCREV which rely on the svn executable being on the PATH. This appears to be deliberate since there is a FETCHCMD_svn variable in bitbake.conf. The simplest way

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Burton, Ross
On 18 May 2017 at 12:40, Alan Levy wrote: > Eventually I traced this down to the fact that SVN is missing from the > list of host apps defined in HOSTTOOLS in bitbake.conf. If I add an > assignment in local.conf to append svn to HOSTTOOLS all is well again. > > As Alex says we typically use subve

Re: [yocto] Install Torch7

2017-05-18 Thread Jussi Kukkonen
On 18 May 2017 at 15:02, Abayiz wrote: > No, I didn't try 'devtool edit-recipe torch' to add dependencies. Actually I didn't know how to add them. Is there any way to directly call that .sh file there?? That shell script is very specific to a handful of distros. It will only help you as a referen

Re: [yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alexander Kanavin
On 05/18/2017 02:40 PM, Alan Levy wrote: I have a recipe that fetches code from an SVN repository and uses ${SRCPV} to obtain its version number. This works fine under Morty but the recipe crashes out with an error under Pyro because it can’t find the SVN executable. Eventually I traced this d

[yocto] Problem using Subversion in Pyro

2017-05-18 Thread Alan Levy
I have a recipe that fetches code from an SVN repository and uses ${SRCPV} to obtain its version number. This works fine under Morty but the recipe crashes out with an error under Pyro because it can't find the SVN executable. Eventually I traced this down to the fact that SVN is missing from th

[yocto] Trying to build a xen-image-minimal with petalinux v2016.4

2017-05-18 Thread Pello Heriz
Hi all, I'm trying to build a xen-image-minimal using petalinux v2016.4 following the steps that are given in the ug1144 documentation. Anyway, when it starts to execute the bitbake, it shows the next errors making the building impossible: generalelectric@mlan11214m117linux:/opt/xen_test$ petalin

Re: [yocto] [meta-xilinx] Trying to build xen-guest-image-minimal

2017-05-18 Thread Pello Heriz
Hi Alistair, I have deleted the two lines that you have told me: -IMAGE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}" -IMAGE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' xf86-video-vesa', '', d)}" Anyway, now I'm getting another problem:

[yocto] [meta-security][PATCH] Add recipe mtree

2017-05-18 Thread kai.kang
From: Kai Kang Commit at: https://github.com/parr0tr1ver/meta-security/commit/2955017982dc733233267e955295ff40b11d61f5 Kai Kang (1): mtree: add recipe recipes-security/mtree/mtree/mtree-getlogin.patch | 49 +++ recipes-security/mtree/mtree_1.0.3.bb | 22 +

[yocto] [PATCH] mtree: add recipe

2017-05-18 Thread kai.kang
From: Kai Kang Add recipe mtree port from BSD. Add a patch to handle null return from getlogin. Signed-off-by: Kai Kang --- recipes-security/mtree/mtree/mtree-getlogin.patch | 49 +++ recipes-security/mtree/mtree_1.0.3.bb | 22 ++ 2 files changed, 71 ins

Re: [yocto] Install Torch7

2017-05-18 Thread Fabien Lahoudere
On Wed, 2017-05-17 at 08:37 +, Abayiz wrote: > Dear all,  > > I'm quite new to Yocto, I've successfully built qemu and ran helloworld > example on it. Now I'm > trying to install Torch 7 (https://github.com/torch/torch7) library. What I > did is:  > > devtool add torch https://github.com/to