Re: [yocto] How to use same user in two recipes?

2017-10-12 Thread Maxin B. John
Hi Fabien, Good to know that it helps here. On Wed, Oct 11, 2017 at 07:48:46PM +0200, Fabien Lahoudere wrote: > Maxin, > > Is this patch submitted or applied for next release? Submitted the patch to oe-core mailing list today: http://lists.openembedded.org/pipermail/openembedded-core/2017-Octob

[yocto] Layer versions at runtime

2017-10-12 Thread Alan Martinovic
I've noticed that bitbake prints the git commit versions of the layers when the build starts. meta-python = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6" meta-mender-core = "HEAD:c3b1b465ce3a27fc7b03a6b7ef596348835cff57" meta-go = "HEAD:514b2a80a2a4235687e92fb28328bb3e7c2d6c74"

Re: [yocto] Layer versions at runtime

2017-10-12 Thread Ayoub Zaki
Hi, That's easy to do : do_install_append () {     for layer in ${BBLAYERS}; do     cd $layer     echo -n "$(basename $layer) = "  >> ${D}${sysconfdir}/gitinfo     git rev-parse HEAD >> ${D}${sysconfdir}/gitinfo     done } add it in a recipe or add it to os-release.bbappend On

[yocto] Navigating the layer labyrinth

2017-10-12 Thread Bernd
I am a new user for a few weeks now, trying to make a customized image for a toradex colibri-vf module, so far I have succeeded in the following disciplines: * adding the 3rd party layers that I need * making my own layers * using a .bbappend to patch the device tree * using a .bbappend to workaro

[yocto] possible to append or patch existing machine .conf file?

2017-10-12 Thread Bernd
Suppose I have the following bugfix patch for a 3rd party machine conf file I am using: diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf index 3ddef79..ba47488 100644 --- a/conf/machine/colibri-vf.conf +++ b/conf/machine/colibri-vf.conf @@ -35,6 +35,6 @@ MKUBIFS_ARGS = " -c

Re: [yocto] Navigating the layer labyrinth

2017-10-12 Thread Aaron Schwartz
Hello, I am not sure if you've found the OpenEmbedded Layer Index [0] yet, but that's a good resource and an example of what can be done. I believe the source code is available [1] and I've toyed with the idea of getting it working locally (although I've not had the time to do so). That could b

Re: [yocto] Navigating the layer labyrinth

2017-10-12 Thread Alexander Kanavin
On 10/12/2017 12:34 PM, Bernd wrote: * Finding the *file path* of an existing recipe (or append file or class) *by its name* and also all existing .bbappends for it, i imagine something simple like bitbake --show-paths foo-bar would output me the small list of absolute paths of recipe files by th

Re: [yocto] Navigating the layer labyrinth

2017-10-12 Thread Joshua Lock
On 12/10/17 10:34, Bernd wrote: I am a new user for a few weeks now, trying to make a customized image for a toradex colibri-vf module, so far I have succeeded in the following disciplines: * adding the 3rd party layers that I need * making my own layers * using a .bbappend to patch the device

Re: [yocto] RFC: Backwards compatibility checking sstate-cache

2017-10-12 Thread Michael Ho
Hi Richard (and all), @Richard: Thanks for the input regarding the topic and apologies for not replying until now, I was a bit buried under workload and simultaneously completing my Masters studies. I also wanted to take some time to digest your comments amid working on this CDEPENDS concept, a

Re: [yocto] Layer versions at runtime

2017-10-12 Thread Philip Balister
Or better yet use http://www.yoctoproject.org/docs/2.3.2/mega-manual/mega-manual.html#ref-classes-image-buildinfo to get: --- Build Configuration: | --- DISTRO = nodistro DISTRO_VERSION = nodistro.0 --- Layer Revisions: | -

[yocto] Yocto Image with custom directory layout

2017-10-12 Thread Ayoub Zaki
Hi, I would like to generate an image that contains a custom directories layout for expl: foo/ ├── bar1 │   └── bar2 │   ├── config │   └── data └── work     └── var     └── lib     ├── config     └── data It should contains only those directories an nothing else,

Re: [yocto] possible to append or patch existing machine .conf file?

2017-10-12 Thread Andre McCurdy
On Thu, Oct 12, 2017 at 3:32 AM, Bernd wrote: > Suppose I have the following bugfix patch for a 3rd party machine conf > file I am using: > > diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf > index 3ddef79..ba47488 100644 > --- a/conf/machine/colibri-vf.conf > +++ b/conf/m

[yocto] [PATCH 0/1] Send email notification on publication

2017-10-12 Thread Amanda Brindle
The following changes since commit ad1aac4ea5d4f2b327f7bd9611aed13f7c31ff7e: Show note if layer branch hasn't been indexed (2017-10-04 13:49:00 +1300) are available in the git repository at: git://git.yoctoproject.org/layerindex-web abrindle/email_notification_publication http://git.yoct

[yocto] [PATCH 1/1] Send email notification on publication

2017-10-12 Thread Amanda Brindle
When publishing a layer, send an email notification to all of that layer's maintainers. Fixes [YOCTO #11208] Signed-off-by: Amanda Brindle --- layerindex/views.py | 22 +- templates/layerindex/publishemail.txt| 7 +++ templates/layerinde

Re: [yocto] possible to append or patch existing machine .conf file?

2017-10-12 Thread Ayoub Zaki
Hi, On 12.10.2017 12:32, Bernd wrote: Suppose I have the following bugfix patch for a 3rd party machine conf file I am using: diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf index 3ddef79..ba47488 100644 --- a/conf/machine/colibri-vf.conf +++ b/conf/machine/colibri-vf.

Re: [yocto] Yocto Image with custom directory layout

2017-10-12 Thread Josef Holzmayr
Hi On 12.10.2017 19:07, Ayoub Zaki wrote: Hi, I would like to generate an image that contains a custom directories layout for expl: foo/ ├── bar1 │   └── bar2 │   ├── config │   └── data └── work     └── var     └── lib     ├── config     └── data It should c

Re: [yocto] Yocto Image with custom directory layout

2017-10-12 Thread Ayoub Zaki
Hi, On 12.10.2017 20:34, Josef Holzmayr wrote: Hi On 12.10.2017 19:07, Ayoub Zaki wrote: Hi, I would like to generate an image that contains a custom directories layout for expl: foo/ ├── bar1 │   └── bar2 │   ├── config │   └── data └── work └── var └── lib

Re: [yocto] Yocto Image with custom directory layout

2017-10-12 Thread Josef Holzmayr
Hi On 12.10.2017 20:47, Ayoub Zaki wrote: Hi, On 12.10.2017 20:34, Josef Holzmayr wrote: Hi On 12.10.2017 19:07, Ayoub Zaki wrote: Hi, I would like to generate an image that contains a custom directories layout for expl: foo/ ├── bar1 │   └── bar2 │   ├── config │   └── data └──

[yocto] devtool sdk-install

2017-10-12 Thread Aaron_Wright
I'm confused as to how the devtool sdk-install command is supposed to work. Take for example: devtool sdk-install cxxtest This installs all the /usr/lib and /usr/include stuff into the sysroot, but doesn't install the /usr/bin stuff required to actually use cxxtest. So should I install natives

[yocto] Using kernel fitimage with initramfs

2017-10-12 Thread Manjukumar Harthikote Matha
Hi All, Had a question about kernel-fitimage.bbclass. I am enabling the fitimage using KERNEL_CLASSES += "kernel-fitimage" and KERNEL_IMAGETYPE = "fitImage". It works and I see fitimage in my deploy directory without any issues. However when I enable initramfs along with fitimage, using INITRAMF

Re: [yocto] How do I patch binutils for the SDK

2017-10-12 Thread Khem Raj
On Thu, Oct 12, 2017 at 06:23:03AM +, Paul D. DeRocco wrote: > I found a bug in the GNU assembler that makes it produce corrupted > listings, reported it on sourceware bugzilla, and it has been fixed. Now > I'd like to take those small patches and apply them to the assembler that > winds up in

[yocto] [meta-security][PATCH] openscape: fix ptest compile errors and update

2017-10-12 Thread Armin Kuster
update to 1.2.15 plus ERROR: openscap-1.2.14-r0 do_package_qa: QA Issue: /usr/lib/openscap/ptest/tests/probes/process58/all.sh contained in package openscap-ptest requires /bin/bash, but no providers found in RDEPENDS_openscap-ptest? [file-rdeps] ERROR: openscap-1.2.14-r0 do_package_qa: QA Issu

Re: [yocto] How to use two recipes to satisfy different PROVIDES -- gpu support

2017-10-12 Thread Khem Raj
On Thu, Oct 12, 2017 at 03:33:53AM +, Gutierrez, Hernan Ildefonso (Boise R&D, FW) wrote: > Raj, > > Thanks for the response. > > Is there an example of what you mentioned below which is open source? > > So far my two references have been Freescale and Mali. I found mali much > simpler than

Re: [yocto] How do I patch binutils for the SDK

2017-10-12 Thread Paul D. DeRocco
> From: Khem Raj [mailto:raj.k...@gmail.com] > > You can apply the patch to all binutils variants, its fine. > Send a patch or if you > want, file a ticket in bugzilla and we will take care. Yocto's Bugzilla isn't recognizing my password, and when it says that it's emailed me a password change

Re: [yocto] How do I patch binutils for the SDK

2017-10-12 Thread Khem Raj
On Thu, Oct 12, 2017 at 8:52 PM, Paul D. DeRocco wrote: >> From: Khem Raj [mailto:raj.k...@gmail.com] >> >> You can apply the patch to all binutils variants, its fine. >> Send a patch or if you >> want, file a ticket in bugzilla and we will take care. > > Yocto's Bugzilla isn't recognizing my pass

Re: [yocto] How do I patch binutils for the SDK

2017-10-12 Thread Paul D. DeRocco
> From: Khem Raj [mailto:raj.k...@gmail.com] > > you can just make 1 patch download > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=com mitdiff_plain;h=> 39865a7f420ab4ca4dec6ed27339618a5d5dc366;hp=fe22022617a7122491aa83c893a10a8d861cde73 > > and delete the hunk which contains c

Re: [yocto] How do I patch binutils for the SDK

2017-10-12 Thread John Ernberg
On 10/13/2017 05:52 AM, Paul D. DeRocco wrote: >> From: Khem Raj [mailto:raj.k...@gmail.com] >> >> You can apply the patch to all binutils variants, its fine. >> Send a patch or if you >> want, file a ticket in bugzilla and we will take care. > Yocto's Bugzilla isn't recognizing my password, and wh

Re: [yocto] How do I patch binutils for the SDK

2017-10-12 Thread Paul D. DeRocco
> From: John Ernberg > > Looks like you're overriding SRC_URI instead of appending it. I had a feeling I was doing something dumb. Thanks. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- ___ yocto mailin

[yocto] Yocto Project Developer Day at ELCE in Prague

2017-10-12 Thread Jeff Osier-Mixon
The Yocto Project is a Bronze sponsor of the Embedded Linux Conference in Prague, starting on 23 October, and we also provide a conference add-on as we have for the past several years - Yocto Project Developer Day. DevDay is an inexpensive one-day event that enables you to learn about the project