[yocto] [meta-security][PATCH] xmlsec1: remove host paths from target files

2018-04-18 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- recipes-security/xmlsec1/xmlsec1_1.2.25.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.25.bb b/recipes-security/xmlsec1/xmlsec1_1.2.25.bb index dbb6f7d..341ca08 100644 --- a/recipe

[yocto] [PATCH 0/4][layerindex-web] bug fix and performance improve

2018-04-18 Thread Robert Yang
Hi Paul, The patch 4 can improve a lot on update.py (up to 98%), here is the testing data, please feel free to give your comments. $ time update.py -b master --nofetch [--fullreload] BeforeNow Reduced No update: 276s 3.6s 98% Partial update:312s

[yocto] [PATCH 1/4] fixup! update: don't stop on unsatisfied layer dependencies

2018-04-18 Thread Robert Yang
The previous commit broke the layer order, e.g.: A -> B -> C -> D The algorithm is checking the dependencies one by one, and until we find D, add D to layerquery_sorted, and add it "collections", the one in "collections" means it's dependencies are OK, then C, B and A will check against collection

[yocto] [PATCH 2/4] update.py: add an option --timeout for lockfile

2018-04-18 Thread Robert Yang
We have an update.py running perodically in background, but we also need run it manually, for example, run it to update actual_branch, the manually run usually failed because can't get lockfile, we have to run it again and again. A timeout option helps a lot in such a case. Now the following comman

[yocto] [PATCH 3/4] update.py: print failed layers summary in the end

2018-04-18 Thread Robert Yang
This makes it easy to see which layers are failed. For example: ERROR: Failed layers on branch master: openembedded-core meta-python Signed-off-by: Robert Yang --- layerindex/update.py | 9 + 1 file changed, 9 insertions(+) diff --git a/layerindex/update.py b/layerindex/update.py index

[yocto] [PATCH 4/4] update_layer.py: move layer validation to update.py (Performance improve)

2018-04-18 Thread Robert Yang
The utils.setup_django() costs a lot of time, but both update.py and update_layer.py calls it, so move layer validation from update_layer.py to update.py to avoid calling update_layer.py when possible can save a lot of time. Now we don't have to call update_layer.py in the following cases: * The b

Re: [yocto] [PATCH 0/4][layerindex-web] bug fix and performance improve

2018-04-18 Thread Burton, Ross
On 18 April 2018 at 12:04, Robert Yang wrote: > fixup! update: don't stop on unsatisfied layer dependencies Pretty sure this isn't what you intended. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] Extensible SDK and DEFAULT_PREFERENCE

2018-04-18 Thread Martin Siegumfeldt
Hi, I am having a number of recipes residing in two versions, some (development versions) being down-prioritized using: DEFAULT_PREFERENCE = "-1" The source code is hosted at a private git repository, and the git version is selected using 'AUTOREV'. The extensible SDK renders successfully, ho

Re: [yocto] Connecting to mysql/mariadb

2018-04-18 Thread Victor Palacio
Hi Greg, There are no leads to follow in logs? How about using netstat to check if port is really open? Can you connect locally from a mysql client running in the device instead of using it externally? BTW, verify that the skip-networking paramater is commented in your my.cnf file. Maybe

Re: [yocto] Connecting to mysql/mariadb

2018-04-18 Thread Martin Hundebøll
Hi Greg, On 2018-04-17 18:50, Greg Wilson-Lindberg wrote: I've got a Yocto system that I'm working on that has mysql/mariadb configured but I can't connect to it with MySQL Workbench from another machine. mariadb is running, the network connection is live, but when I try to connect using MySQL

[yocto] Need Help for meta-qt5

2018-04-18 Thread Vincent Daanen
Hi, I have to add Qt5 QtCore libs to my image. I know I must use meta-qt5 but as I'm not familiar with qt configuration, I simply do not know how to start ! So can someone help me to configure meta-qt5 to simply build and add QtCore to my image ? Thank you Vincent --

Re: [yocto] Extensible SDK and DEFAULT_PREFERENCE

2018-04-18 Thread Khem Raj
On Wed, Apr 18, 2018 at 5:41 AM, Martin Siegumfeldt wrote: > Hi, > > I am having a number of recipes residing in two versions, some (development > versions) being down-prioritized using: > > DEFAULT_PREFERENCE = "-1" > > > The source code is hosted at a private git repository, and the git version

[yocto] [PULL] provide debug sources in externalsrc -dbg packages

2018-04-18 Thread Vignesh Rajendran (RBEI/ECF3)
Hi Yocto, I have made some changes to fix missing debug sources in -dbg packages while using externalsrc. Please have look and let me know for any changes needed. Thanks. :-) the changes are available in the git repository at: https://git.yoctoproject.org/git/poky-contrib vrajendran/externals

Re: [yocto] [PULL] provide debug sources in externalsrc -dbg packages

2018-04-18 Thread Burton, Ross
This is the wrong list, please submit the patch to openembedded-c...@lists.openembedded.org. Also the patches, not just a link to the patches. Ross On 18 April 2018 at 05:14, Vignesh Rajendran (RBEI/ECF3) wrote: > Hi Yocto, > > > > I have made some changes to fix missing debug sources in -dbg p

Re: [yocto] rocko cmake buld cstdlib:75:15: fatal error: stdlib.h: No such file or directory

2018-04-18 Thread Dennis Menschel
Hi Mans, Am 18.04.2018 um 06:56 schrieb Måns Zigher: > Hi Dennis, > > This makes me a bot confused in cmake_do_configure we have > >           -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \ >           ${EXTRA_OECMAKE} \ >           -Wno-dev > > I would think that I am using this cmake_do_configure so the

Re: [yocto] [PATCH 4/4] update_layer.py: move layer validation to update.py (Performance improve)

2018-04-18 Thread Paul Eggleton
On Wednesday, 18 April 2018 11:04:33 PM NZST Robert Yang wrote: > The utils.setup_django() costs a lot of time, but both update.py and > update_layer.py calls it, so move layer validation from update_layer.py to > update.py to avoid calling update_layer.py when possible can save a lot of > time. U

Re: [yocto] Extensible SDK and DEFAULT_PREFERENCE

2018-04-18 Thread Andrea Galbusera
On Wed, Apr 18, 2018 at 2:41 PM, Martin Siegumfeldt wrote: > Hi, > > I am having a number of recipes residing in two versions, some (development > versions) being down-prioritized using: > > DEFAULT_PREFERENCE = "-1" > > > The source code is hosted at a private git repository, and the git version

[yocto] How to patch a file in mysql recipe

2018-04-18 Thread Greg Wilson-Lindberg
I need to patch the my.cnf file that is part of the mysql/mariadb recipe. It lives in meta-openembedded/meta-oe/recipes-support/mysql/mariadb/my.cnf with the mariadb_5.5.52.bb file one level down. I've set up a mariadb_5.5.52.bbappend file as: FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/${PN}:"

Re: [yocto] [meta-cgl][PATCH 0/5][RFC] CGL cleanup

2018-04-18 Thread Adrian Dudau
On mån, 2018-04-16 at 08:03 -0700, Armin Kuster wrote: > I understand some of these changes a harsh. This set of changes allow > this layer to pass the > yocto-check-layer. This is one of many options to address passing. > Hi Armin, Thanks for doing this. The series is good, and I merged it with

[yocto] [meta-mingw][PATCH 0/1 Add QEMU to SDK

2018-04-18 Thread Juro Bystricky
Now that we can build QEMU for mingw, also include it in the SDK. We have been able to build QEMU for Windows for a while now, but only via a standalone recipe. QEMU has never been a part of SDK (as we were not able to build it). The Autobuilder does test SDK build for mingw, but does not test buil

[yocto] [meta-mingw][PATCH 1/1] nativesdk-packagegroup-sdk-host: add qemu to SDK

2018-04-18 Thread Juro Bystricky
Now that we can build qemu for mingw, include it in SDK. Signed-off-by: Juro Bystricky --- recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/recipes-core/

Re: [yocto] rocko cmake buld cstdlib:75:15: fatal error: stdlib.h: No such file or directory

2018-04-18 Thread Måns Zigher
Hi, I am building with the SDK (not extensible) but it is also built as a recipe when building an image. The recipe is inheriting cmake but it is only in the image build that I am experiencing this problem which I shouldn't since the cmake_do_configure should be called. I will try and run bitbake

Re: [yocto] Need Help for meta-qt5

2018-04-18 Thread Zoran Stojsavljevic
http://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux#contents http://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Adding_the_Qt5_Layer Hope this helps, Zoran ___ On Wed, Apr 18, 2018 at 6:24 PM, Vincent Daan

Re: [yocto] [PATCH 4/4] update_layer.py: move layer validation to update.py (Performance improve)

2018-04-18 Thread Robert Yang
Hi Paul, On 04/19/2018 04:55 AM, Paul Eggleton wrote: On Wednesday, 18 April 2018 11:04:33 PM NZST Robert Yang wrote: The utils.setup_django() costs a lot of time, but both update.py and update_layer.py calls it, so move layer validation from update_layer.py to update.py to avoid calling update

Re: [yocto] [PATCH 0/4][layerindex-web] bug fix and performance improve

2018-04-18 Thread Robert Yang
Hi Ross, On 04/18/2018 07:12 PM, Burton, Ross wrote: On 18 April 2018 at 12:04, Robert Yang wrote: fixup! update: don't stop on unsatisfied layer dependencies Pretty sure this isn't what you intended. Thanks, but this is intended, I used: $ git commit --fixup=8dd24abf99578e3d2572062ca