[yocto] Usage of yocto on different (production vs debug) scenarios

2018-04-20 Thread Iván Castell
Hello forum. We are trying to use yocto in a continuous integration environment with different (production vs debug) scenarios. To setup a given scenario (production vs debug) we are using something like this: $ SCENARIO=debug $ MACHINE= DISTRO=-${SCENARIO} source ../../build--${SCENARIO

Re: [yocto] Linux Files needed for PXE network boot

2018-04-20 Thread Hussin, Mohamad Noor Alim
Maybe grub file bootx64.efi do not have network module. You can try to use grub provided by Ubuntu http://archive.ubuntu.com/ubuntu/dists/trusty/main/uefi/grub2-amd64/current/grubnetx64.efi.signed Or build your own grub that build-in with network capability. In your root tftp server create a

Re: [yocto] Extensible SDK and DEFAULT_PREFERENCE

2018-04-20 Thread Martin Siegumfeldt
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 versio

[yocto] [meta-selinux][PATCH v2] systemd: create /var/lib/systemd/backlight in advance

2018-04-20 Thread wenzong.fan
From: Wenzong Fan v2 changes: * Update patch for Yocto Compat - don't change layer's hash The systemd-backlight@.service which called after selinux-init.service will create /var/lib/systemd/backlight with incorrect security labels, this causes the sy

Re: [yocto] Usage of yocto on different (production vs debug) scenarios

2018-04-20 Thread Uwe Geuder
Hi! On Fri, Apr 20, 2018 at 10:59 AM, Iván Castell wrote: > We are trying to use yocto in a continuous integration environment with > different (production vs debug) scenarios. > > To setup a given scenario (production vs debug) we are using something like > this: > > $ SCENARIO=debug >

Re: [yocto] How to patch a file in mysql recipe

2018-04-20 Thread Martin Hundebøll
Hi Greg, On 2018-04-19 00:06, Greg Wilson-Lindberg wrote: 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

Re: [yocto] Usage of yocto on different (production vs debug) scenarios

2018-04-20 Thread Alan Martinovic
Hi, had a similar question recently (search How did you separate release and development builds?) We have the split like this for now The release build would be something like: - has all the functions for production - attack surface is limited (no ssh, only the required apps) - config files set w

Re: [yocto] Usage of yocto on different (production vs debug) scenarios

2018-04-20 Thread Uwe Geuder
Following up on my own message... On Fri, Apr 20, 2018 at 1:47 PM, Uwe Geuder wrote: > On Fri, Apr 20, 2018 at 10:59 AM, Iván Castell > wrote: > [...] >> However, things are getting complicated, because there is no way to >> exclude some recipes easily. For example, we don't want iptables >> i

Re: [yocto] Usage of yocto on different (production vs debug) scenarios

2018-04-20 Thread Alex Kiernan
On Fri, Apr 20, 2018 at 8:59 AM, Iván Castell wrote: > > Hello forum. > > We are trying to use yocto in a continuous integration environment with > different (production vs debug) scenarios. > > To setup a given scenario (production vs debug) we are using something like > this: > > $ SCENARIO=

[yocto] How to install kernel objects in /lib

2018-04-20 Thread Damien LEFEVRE
Hi, I made a recipe to build and install a kernel object. See SUMMARY = "Kernel module for EPIX grabber" LICENSE = "CLOSED" inherit module SRC_URI = "file://Makefile \ file://pixcilnx_aarch64_4.4.a \ file://pixcipub.c \ file://pixcipub.h \ file://pixc

[yocto] creating your own distro layer

2018-04-20 Thread Uwe Geuder
Hi! I have inherited our custom distro layer (heavily based on poky), but I am not sure whether it has been coded correctly. It produces working images, but certain weird symptoms when working with bitbake made me to double-check the code. I'm reading https://www.yoctoproject.org/docs/2.4.2/mega-

Re: [yocto] How to patch a file in mysql recipe

2018-04-20 Thread Greg Wilson-Lindberg
Hi Martin, Your suggestion worked just fine, Thanks for the suggestion. Regards, Greg > -Original Message- > From: Martin Hundebøll [mailto:m...@prevas.dk] > Sent: Thursday, April 19, 2018 10:39 PM > To: Greg Wilson-Lindberg ; yocto@yoctoproject.org > Subject: Re: [yocto] How to patch a

[yocto] [PATCH][meta-mingw] diffutils: update sdiff kill() patch to be a backport

2018-04-20 Thread Ross Burton
Signed-off-by: Ross Burton --- .../diffutils/diffutils/sdiff-no-kill.patch| 30 -- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/recipes-extended/diffutils/diffutils/sdiff-no-kill.patch b/recipes-extended/diffutils/diffutils/sdiff-no-kill.patch index

[yocto] [meta-gplv2][sumo][rocko][PATCH] bash: Provide /bin/{sh, bash} when usrmerge is used

2018-04-20 Thread Peter Kjellerstedt
Most shell scripts have '#!/bin/{sh,bash}' on the first line of the script, which triggers RPM to automatically add a runtime dependency on that path for any package that contains shell scripts. However, when the usrmerge feature is enabled, the path will actually be /usr/bin/{sh,bash}. So, to sa

Re: [yocto] [meta-gplv2][sumo][rocko][PATCH] bash: Provide /bin/{sh, bash} when usrmerge is used

2018-04-20 Thread Peter Kjellerstedt
> -Original Message- > From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] > On Behalf Of Peter Kjellerstedt > Sent: den 21 april 2018 03:31 > To: yocto@yoctoproject.org > Subject: [yocto] [meta-gplv2][sumo][rocko][PATCH] bash: Provide /bin/{sh, > bash} when usrme