[yocto] [meta-security][PATCH] swtpm: update to latest tip

2017-04-11 Thread Amarnath Valluri
Pull in changes to support passing client control sockets(--ctrl type=unixio,clientfd=), that allows to fork swtpm and communicate using socketpair. Signed-off-by: Amarnath Valluri --- recipes-tpm/swtpm/swtpm_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-tpm/

Re: [yocto] Sub-directories from Git in SRC-URI

2017-04-11 Thread Eswaran Vinothkumar (BEG/PJ-IOT-EL)
Hi, Thanks for your answer. I had thought about using this solution initially. In my case I have a common git repo for some 20 different applications and planning to write an individual recipe for each application. If I plan to use in this way, I have 20 copies in my disk which I don't want to

Re: [yocto] Sub-directories from Git in SRC-URI

2017-04-11 Thread Miguel Aveiro
Hi, You might want to take a look at bitbake's documentation: https://www.yoctoproject.org/docs/2.0/bitbake-user-manual/bitbake-user-manual.html#gitsm-fetcher It actually has a git submodules fetcher (gitsm://). I haven't used it, but it should be straightforward. Regards, Miguel Aveiro On 11

Re: [yocto] Porting a middleware to Yocto

2017-04-11 Thread Alexander Kanavin
On 04/11/2017 09:20 AM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: We are internally using a middleware which acts as an abstraction to underlying operating system and provides APIs to application layers. Now the task is to port the middleware to Yocto. The middleware contains lot of make files a

Re: [yocto] Porting a middleware to Yocto

2017-04-11 Thread Jussi Kukkonen
On 11 April 2017 at 09:20, Eswaran Vinothkumar (BEG/PJ-IOT-EL) < vinothkumar.eswa...@de.bosch.com> wrote: > Hallo, > > > > For our new project we are planning to use Yocto as a build system to > build customized Linux distribution. I have already created a BSP for our > customized hardware with Li

Re: [yocto] Sub-directories from Git in SRC-URI

2017-04-11 Thread Esponde, Joel
Hi, Here is one way to manage this use case. In the SRC_URI variable, you set the git repo access. Now let's say that your sub-directory relative path is "src/myapp". Son now you just have to add to your recipe this line: S = "${WORKDIR}/git/src/myapp" It is not optimized from a disk usage point

[yocto] Modifying CFLAGS in .bbappend

2017-04-11 Thread Mark T
Hi, If I add an include path to CFLAGS in a .bbappend is it only applied for that recipe or is it present in CFLAGS for all recipes built after that ? Cheers, Mark -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinf

[yocto] Getting recipe variables into config.m4 files

2017-04-11 Thread Mark T
Hi, I'm building a PHP extension. In the config.m4 file for the extension I can add include and library paths as follows - PHP_ADD_INCLUDE(../../../../../../../sources/inc) - works PHP_ADD_INCLUDE($PROJ_ROOT/sources/inc) ** does not work PHP_ADD_INCLUDE(${PROJ_ROOT}/sources/inc) ** does

Re: [yocto] Modifying CFLAGS in .bbappend

2017-04-11 Thread Patrick Ohly
On Tue, 2017-04-11 at 11:45 +0100, Mark T wrote: > If I add an include path to CFLAGS in a .bbappend is it only applied > for that recipe or is it present in CFLAGS for all recipes built after > that ? Just for that recipe. You can check that with "bitbake -e ". -- Best Regards, Patrick Ohly

Re: [yocto] [OE-core] [PATCH 1/2] logrotate: Bump to 3.11.0

2017-04-11 Thread Romain Perier
ping, Le 06/04/2017 à 14:20, Romain Perier a écrit : > Hello, > > > Le 06/04/2017 à 13:38, Richard Purdie a écrit : >> On Wed, 2017-04-05 at 17:05 +0200, Romain Perier wrote: >>> This commit updates the recipe to the last upstream tag. Then, as the >>> tarball no longer contains the pre-generated

Re: [yocto] Install rootfs.tar.bz2 to ${D}/home/root/

2017-04-11 Thread Josef Holzmayr
On 11.04.2017 08:48, Maier, Chris wrote: > Hi, > The usual question > > Chris > *sigh* I've tried to get in touch via non-list email (as for overly aggressive mail servers), and even called the company but you didn't pick up the phone. So Chris - if you ever read this: I really tried. Obviou

[yocto] opkg behavior

2017-04-11 Thread Gary Thomas
I'm using opkg (IPK) packaging with my Yocto builds (using recent master 633ad6c9f). For the most part, this seems to work well, but occasionally I'll rebuild a recipe along with the packaging indexes on my build machine only to find that opkg doesn't want to upgrade to the changes. Here's an ex

Re: [yocto] Remove/prevent a package's installed files if another package present

2017-04-11 Thread Colin Helliwell
> On 07 April 2017 at 12:57 Alexander Kanavin > wrote: > > On 04/07/2017 02:53 PM, colin.helliw...@ln-systems.com wrote: > > > I'd like to do a mod to my ppp recipe such that ip-up & ip-down aren't > > installed if another package is in the image recipe i.e. set in > > CORE_IMAGE_EXTRA_INSTALL

Re: [yocto] Sub-directories from Git in SRC-URI

2017-04-11 Thread Esponde, Joel
Following Miguel Aveiro's link, I noticed a parameter called subpath that I had never see: https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#git-fetcher This parameter may provide you the feature you are looking for. Joël Esponde Honeywell | Safety and Producti

[yocto] Fw: yocto Digest, Vol 79, Issue 23

2017-04-11 Thread Natalia Theologou
From: Natalia Theologou Sent: Tuesday, April 11, 2017 9:38 AM To: Paul Eggleton Subject: Re: [yocto] yocto Digest, Vol 79, Issue 23 Hello Paul, Thank you for your answer. My error is this: ERROR: Task 1570 (virtual:native:/~/sources/poky/meta/recipes-supp

Re: [yocto] Porting a middleware to Yocto

2017-04-11 Thread Khem Raj
On Mon, Apr 10, 2017 at 11:20 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: > Hallo, > > > > For our new project we are planning to use Yocto as a build system to build > customized Linux distribution. I have already created a BSP for our > customized hardware with Linux kernel, U-boot and UBIFS

Re: [yocto] Sub-directories from Git in SRC-URI

2017-04-11 Thread Khem Raj
On Mon, Apr 10, 2017 at 11:24 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL) wrote: > Hallo, > > > > May I now is it possible to include a sub-directory from git repo in the > SRC_URI of bitbake recipe. > > > > Also in SRC_URI is it possible to include a directory instead of a single > file? > > > > I kn

Re: [yocto] opkg behavior

2017-04-11 Thread Alejandro del Castillo
On 04/11/2017 08:03 AM, Gary Thomas wrote: > I'm using opkg (IPK) packaging with my Yocto builds (using recent > master 633ad6c9f). For the most part, this seems to work well, > but occasionally I'll rebuild a recipe along with the packaging > indexes on my build machine only to find that opkg d

[yocto] Relicensing an Apache-licensed recipe as MIT

2017-04-11 Thread Martin Kelly
Hi, I'm thinking about integrating the open-vm-tools recipe from openswitch[1] into openembedded (it massively improves the performance of VMWare guests) but first I have a question about licensing. The openswitch repository is Apache-licensed while the openembedded layers are all MIT license

[yocto] Fw: yocto Digest, Vol 79, Issue 23

2017-04-11 Thread Natalia Theologou
From: Natalia Theologou Sent: Tuesday, April 11, 2017 9:39 AM To: paul.eggle...@linux.intel.com Cc: yocto@yoctoproject.org Subject: Fw: [yocto] yocto Digest, Vol 79, Issue 23 From: Natalia Theologou Sent: Tuesday, April 11,

Re: [yocto] [meta-security][PATCH] swtpm: update to latest tip

2017-04-11 Thread akuster808
On 04/11/2017 12:08 AM, Amarnath Valluri wrote: Pull in changes to support passing client control sockets(--ctrl type=unixio,clientfd=), that allows to fork swtpm and communicate using socketpair. Signed-off-by: Amarnath Valluri merge to master-next thanks --- recipes-tpm/swtpm/swtpm_1.

[yocto] [meta-security][PATCH 1/2] samhain: update to 4.2.1

2017-04-11 Thread Armin Kuster
remove patch integrated into update Signed-off-by: Armin Kuster --- recipes-security/samhain/files/c99_dnmalloc.patch | 18 -- ...samhain-client_4.2.0.bb => samhain-client_4.2.1.bb} | 0 ...samhain-server_4.2.0.bb => samhain-server_4.2.1.bb} | 0 recipes-security/samhain/s

[yocto] [meta-security][PATCH 2/2] tpm2.0-tss: update to tip.

2017-04-11 Thread Armin Kuster
remove merged patch now in tip Signed-off-by: Armin Kuster --- .../tpm2.0-tss/tpm2.0-tss/musl_header_fix.patch| 27 -- recipes-tpm/tpm2.0-tss/tpm2.0-tss_git.bb | 3 +-- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 recipes-tpm/tpm2.0-tss/

[yocto] Bug 11307 - sstate.bbclass tries to modify mirror files

2017-04-11 Thread Paulo Neves
Commit 51edde653707e7a3cd2186082458f01f32cd1996 makes a wrong assumption that SSTATE_MIRRORS have write permissions. A mirror is by definition outside of it's user control. In my use case it happens I does not have permissions to update the access time of the dereferenced symbolic-link file. If w

[yocto] multiconfig samples not put in the build dir.

2017-04-11 Thread Paulo Neves
Hello, I thought it would be consistent to have the multiconfig samples to also be populated just like the local.conf. I produced a patch accordingly: >From 6091978f666463c46093203b74f28b82a9bf4d47 Mon Sep 17 00:00:00 2001 From: Paulo Neves Date: Mon, 3 Apr 2017 11:23:12 +0200 Subject: [PATCH 1

Re: [yocto] multiconfig samples not put in the build dir.

2017-04-11 Thread Gary Thomas
On 2017-04-12 08:48, Paulo Neves wrote: Hello, I thought it would be consistent to have the multiconfig samples to also be populated just like the local.conf. I produced a patch accordingly: From 6091978f666463c46093203b74f28b82a9bf4d47 Mon Sep 17 00:00:00 2001 From: Paulo Neves Date: Mon,