[yocto] [patchwork][PATCH] patchwork.models: Include first patch's name in series name

2016-11-24 Thread Jose Lamego
Patch Series created without a cover letter are named using a non-descriptive generic string. This change names the series using the first 30 characters in patch #1 and the remaining patches number. [Yocto #10625] Signed-off-by: Jose Lamego ---

Re: [yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-24 Thread Daniel.
Instead of using SVN revision as version I'm trying to use a timestamp like: PV = "${@time.strftime("%Y%m%d", time.gmtime())}" Does anybody can tell me if this would taint the sstate at each day, making yocto compile it again? Is this safe at all? Regards, 2016-11-24 13:48 GMT-02:00 Daniel.

[yocto] How to use pdb together with pyshell?

2016-11-24 Thread Michel D'HOOGE
Hi, I want to do a step by step debug of the populate_sdk_ext task, and unfortunately I'm not fluent in python. I tried to put a pdb.set_trace() call at the beginning of the do_populate_sdk_ext function and then call: bb.build.exec_func('do_populate_sdk_ext', d) But this didn't work... And I

Re: [yocto] change/modify recipe for OpenCV

2016-11-24 Thread Mariano Lopez
On Thursday, November 24, 2016 11:40:16 AM Peter Balazovic wrote: > Dears, > > I'm building Yocto image and this includes OpenCV 2.4 release. > > For example my loca.conf looks similar as > http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/ > : > > .. >

Re: [yocto] ERROR: glibc-locale-2.24-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package

2016-11-24 Thread Burton, Ross
On 24 November 2016 at 08:36, Andrew Stuart < andrew.stu...@supercoders.com.au> wrote: > I am doing bit "bitbake xen-guest-image-minimal” and getting the errors > seen below with locale. > Do you have anything non-standard in your local.conf, specifically controlling locales? Ross --

Re: [yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-24 Thread Daniel.
2016-11-23 12:01 GMT-02:00 Bipnesh, Abhinav (Abhinav) : > One quick way would be to use environment variables in both places. So you > can export them before starting a build. > > > > From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] > On Behalf

[yocto] [patchwork][PATCH 2/2] patchwork.bin.parsemail: Improve pull-request regex

2016-11-24 Thread Jose Lamego
Some patch messages containinig pull-request information are being skipped due to formatting variations. This change improves the pull-request search to include those small variants. Signed-off-by: Jose Lamego --- patchwork/bin/parsemail.py | 4 ++-- 1 file

[yocto] [patchwork][PATCH 1/2] patchwork.bin.parsemail: Use oldest header references

2016-11-24 Thread Jose Lamego
References list for previous emails only include first found header, causing that some root messages for series are skipped and corresponding series revision numbering gets corrupted. This change forces references list to use last header found, allowing for Patch emails created with

[yocto] [patchwork][PATCH 0/2] Parsemail: Improve references/pull-request search

2016-11-24 Thread Jose Lamego
These changes are to improve the way email-chain references are created and pull-request information to be included even with small formatting variations. Jose Lamego (2): patchwork.bin.parsemail: Use oldest header references patchwork.bin.parsemail: Improve pull-request regex

[yocto] Qt Library Version issues

2016-11-24 Thread Surya
Hello , I am trying to upgrade the qt5 version from 5.4.2 to 5.5.1 .So,accordingly i changed the recipe file & compiled. Now after everything is executed properly,i found that the library which are generated still of qt5.4.3. I have no idea on the above issue. Can anyone plz light me on

Re: [yocto] Use recipes but not whole layer

2016-11-24 Thread Oliver
>>> In order to success in generate recipeA, I need to extend the boost to >>> expand some configuration parameters(log). >>> On the other side someone would like to use recipeB. He/She will >>> unwillingly inherit the boost modifications. >>> >> >> The changes to boost would likely count as

Re: [yocto] Use recipes but not whole layer

2016-11-24 Thread Philip Balister
On 11/24/2016 06:14 AM, Burton, Ross wrote: > On 24 November 2016 at 10:43, Oliver wrote: > >> In order to success in generate recipeA, I need to extend the boost to >> expand some configuration parameters(log). >> On the other side someone would like to use recipeB. He/She

Re: [yocto] How to add user with nologin shell

2016-11-24 Thread Michel D'HOOGE
> Still same error even if I used -U option. > > I tried even groupadd but still I get below error. Can you try this: EXTRA_USERS_PARAMS = "useradd -r -s /sbin/nologin user1;" According to my man page: By default, a group will also be created for the new user must be last -r also implies

Re: [yocto] How to add user with nologin shell

2016-11-24 Thread Bipnesh, Abhinav (Abhinav)
Hi, Still same error even if I used -U option. I tried even groupadd but still I get below error. So any thoughts to fix it. Thanks, Abhinav -Original Message- From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Michel D'HOOGE Sent: Thursday,

Re: [yocto] Use recipes but not whole layer

2016-11-24 Thread Burton, Ross
On 24 November 2016 at 10:43, Oliver wrote: > In order to success in generate recipeA, I need to extend the boost to > expand some configuration parameters(log). > On the other side someone would like to use recipeB. He/She will > unwillingly inherit the boost modifications. >

Re: [yocto] Use recipes but not whole layer

2016-11-24 Thread Oliver
> As per the Yocto Project guidelines, layers that do this are broken.  A BSP > layer should only introduce changes that affect the BSP, distro layers > shouldn't contain general purpose recipes, and everything that is > distro-specific should be isolated using overrides. I was talking more

[yocto] change/modify recipe for OpenCV

2016-11-24 Thread Peter Balazovic
Dears, I'm building Yocto image and this includes OpenCV 2.4 release. For example my loca.conf looks similar as http://www.engcore.com/2014/02/building-opencv-2-4-x-for-freescales-i-mx6-bsp-yocto/ : .. *CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev*

Re: [yocto] How to add user with nologin shell

2016-11-24 Thread Michel D'HOOGE
Hi, > From: "Abhinav Bipnesh (Abhinav)" > Sent: Thursday, 24 November, 2016 11:05:59 AM > I am trying to add an user to image with /sbin/nologin but it fails > with below error > ERROR: Function failed: set_user_group (log file is located at >

[yocto] How to add user with nologin shell

2016-11-24 Thread Bipnesh, Abhinav (Abhinav)
Hi, I am trying to add an user to image with /sbin/nologin but it fails with below error WARNING: avaya-image: useradd command did not succeed. Retrying... ERROR: test-image: Tried running useradd command 1 times without success, giving up ERROR: Function failed: set_user_group (log file is

Re: [yocto] [PATCH] example-recipe: Fix LDFLAGS compilation issue on newly created recipes

2016-11-24 Thread André Draszik
On Wed, 2016-11-23 at 17:27 -0600, Alejandro Hernandez wrote: > Signed-off-by: Alejandro Hernandez > --- >  .../target/arch/layer/recipes-example/example/example-recipe-0.1.bb | > 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[yocto] ERROR: glibc-locale-2.24-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package

2016-11-24 Thread Andrew Stuart
Hello, Can anyone suggest where I might start to diagnose this problem? I am doing bit "bitbake xen-guest-image-minimal” and getting the errors seen below with locale. thanks! Loading cache: 100%