[yocto] [meta-security][PATCH 5/5] sssd: Add basic runtime test

2019-03-28 Thread Armin Kuster
This does some basic testing and checks. Signed-off-by: Armin Kuster --- lib/oeqa/runtime/cases/sssd.py | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 lib/oeqa/runtime/cases/sssd.py diff --git a/lib/oeqa/runtime/cases/sssd.py

[yocto] [meta-security][PATCH 3/5] sssd: fix a few runtime issues

2019-03-28 Thread Armin Kuster
include a few more RDEPEND packages. remove init script as there really isn't one yet. Signed-off-by: Armin Kuster --- recipes-security/sssd/sssd_1.16.3.bb | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/recipes-security/sssd/sssd_1.16.3.bb

[yocto] [meta-security][PATCH 4/5] sssd: update to 1.16.4

2019-03-28 Thread Armin Kuster
Add systemd pkgconf via DISTRO_FEATURE Fix uid/gid of sssd.conf Signed-off-by: Armin Kuster --- .../sssd/{sssd_1.16.3.bb => sssd_1.16.4.bb} | 12 1 file changed, 8 insertions(+), 4 deletions(-) rename recipes-security/sssd/{sssd_1.16.3.bb => sssd_1.16.4.bb} (88%) diff

[yocto] [meta-security][PATCH 2/5] libldb: work around samba libldb packaging issues

2019-03-28 Thread Armin Kuster
Samba and libldb overlap in a few places. This is the simplest fix for now. Signed-off-by: Armin Kuster --- recipes-support/libldb/libldb_%.bbappend | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 recipes-support/libldb/libldb_%.bbappend diff --git

[yocto] [meta-security][PATCH 1/5] Revert "sssd: fix libcrypto version used"

2019-03-28 Thread Armin Kuster
This reverts commit 2488c965d6b1b440734f43326fb33ac642ac7b82. This corrects an incorrect fix as pointed out by Adrian Bunk. --- recipes-security/sssd/sssd_1.16.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/sssd/sssd_1.16.3.bb

Re: [yocto] [meta-security][PATCH 2/2] sssd: fix libcrypto version used

2019-03-28 Thread akuster808
On 3/27/19 12:16 AM, Adrian Bunk wrote: > On Tue, Mar 26, 2019 at 03:52:39PM -0700, akuster808 wrote: >> >> On 3/26/19 3:24 AM, Adrian Bunk wrote: >>> On Mon, Mar 25, 2019 at 09:58:55AM -0700, Armin Kuster wrote: Signed-off-by: Armin Kuster ---

Re: [yocto] pkg-config does not find "luajit" since upgrade to sumo

2019-03-28 Thread Clemens Eisserer
Hello Burton, > Check what luajit is shipping and compare that to what the pkgconfig > is looking for. Calling pkgconfig directly in your recipe's devshell > is useful for this. Thanks for the hint regarding the devshell. Indeed, pkgconfig can not find luajit in the devshell - the path

Re: [yocto] pkg-config does not find "luajit" since upgrade to sumo

2019-03-28 Thread Burton, Ross
On Fri, 29 Mar 2019 at 00:06, Clemens Eisserer wrote: > Hi Burton, > > > > RDEPENDS_${PN} = "luajit" > > > inherit autotools pkgconfig > > > > Considering you're trying to use luajit at build time, it's probably > > sensible to have it as a build dependency instead (DEPENDS). > > I've just tried

Re: [yocto] pkg-config does not find "luajit" since upgrade to sumo

2019-03-28 Thread Clemens Eisserer
Hi Burton, > > RDEPENDS_${PN} = "luajit" > > inherit autotools pkgconfig > > Considering you're trying to use luajit at build time, it's probably > sensible to have it as a build dependency instead (DEPENDS). I've just tried it without success - it still fails stating luajit can not be found -

Re: [yocto] pkg-config does not find "luajit" since upgrade to sumo

2019-03-28 Thread Burton, Ross
On Thu, 28 Mar 2019 at 23:45, Clemens Eisserer wrote: > The bb-file specifies luajit as runtime-dependency as well as inherits > pkgconfig: > > RDEPENDS_${PN} = "luajit" > inherit autotools pkgconfig Considering you're trying to use luajit at build time, it's probably sensible to have it as a

[yocto] pkg-config does not find "luajit" since upgrade to sumo

2019-03-28 Thread Clemens Eisserer
Hi, I am trying to compile an autotools based in-house project which compiled as expected on angstrom-v2016.06-yocto2. It is a rather boring setup where configure.ac checks for luajit using the following line: "PKG_CHECK_MODULES([LJ], [luajit])". The bb-file specifies luajit as

[yocto] [PATCH 1/1] libselinux.inc: Add python-shell to libselinux-python RDEPENDS.

2019-03-28 Thread Chris PeBenito
The libselinux SWIG wrapper imports shutil. Signed-off-by: Chris PeBenito --- recipes-security/selinux/libselinux.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/selinux/libselinux.inc b/recipes-security/selinux/libselinux.inc index 33621cc..6e115e3

[yocto] [PATCH 2/2] machine: clean up config files

2019-03-28 Thread Jon Mason
Beautify the machine config files by making the names and descriptions more uniform and verbose Signed-off-by: Jon Mason --- meta/conf/machine/qemuarm.conf| 4 ++-- meta/conf/machine/qemuarm64.conf | 4 ++-- meta/conf/machine/qemuarmv5.conf | 6 +++--- meta/conf/machine/qemumips.conf |

[yocto] [PATCH 1/2] meta-yocto-bsp: clean up machine config files

2019-03-28 Thread Jon Mason
Beautify the machine config files by making the names and descriptions more uniform and verbose Signed-off-by: Jon Mason --- meta-yocto-bsp/conf/machine/edgerouter.conf| 2 +- meta-yocto-bsp/conf/machine/genericx86-64.conf | 5 ++--- meta-yocto-bsp/conf/machine/genericx86.conf| 5 ++---

[yocto] [PATCH 0/2] clean up machine config files

2019-03-28 Thread Jon Mason
General clean-up of the machine config files present in Yocto. Since this encompasses files that would natively be in the oe-core and meta-yocto-bsp repositories, I split them into 2 commits. However, since they are similar, I sent them in the same email thread. I hope this is acceptable. Jon

Re: [yocto] Basic Yocto+CMake Usage question

2019-03-28 Thread Patrick Boettcher
On Thu, 28 Mar 2019 12:51:54 -0400 A wrote: > Thank you for the quick suggestion. > > Unfortunately, I tried setting OECMAKE_FIND_ROOT_PATH_MODE_LIBRARY to > "ONLY", "NEVER", and "BOTH" separately, and none of the above > worked. I must be doing something fundamentally wrong. > > Any other

Re: [yocto] Basic Yocto+CMake Usage question

2019-03-28 Thread A
Thank you for the quick suggestion. Unfortunately, I tried setting OECMAKE_FIND_ROOT_PATH_MODE_LIBRARY to "ONLY", "NEVER", and "BOTH" separately, and none of the above worked. I must be doing something fundamentally wrong. Any other suggestions? On Thu, Mar 28, 2019 at 12:30 PM Patrick

[yocto] Basic Yocto+CMake Usage question

2019-03-28 Thread A
I'm having issues with a yocto build that is combining recipes that should depend on each other, and I need a sanity check. Is this an ok forum for stupid user questions? The main idea is to have one recipe install some prebuilt libraries, and have another cmake-based recipe use those libraries.

Re: [yocto] Basic Yocto+CMake Usage question

2019-03-28 Thread Patrick Boettcher
Hi On Thu, 28 Mar 2019 12:20:43 -0400 A wrote: > I'm having issues with a yocto build that is combining recipes that > should depend on each other, and I need a sanity check. Is this an > ok forum for stupid user questions? > > The main idea is to have one recipe install some prebuilt

Re: [linux-yocto] v4.18.x - stable updates comprising v4.18.33

2019-03-28 Thread Bruce Ashfield
On Wed, Mar 27, 2019 at 9:34 AM Paul Gortmaker wrote: > > Bruce, Yocto kernel folks: > > Here is the next 4.18.x stable update "extension" primarily created > for the Yocto project, continuing from the previous v4.18.32 release. > > There are about 260 commits here, based on commits chosen from

Re: [linux-yocto] [PATCH] cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCH

2019-03-28 Thread Bruce Ashfield
This is now merged. Bruce On Mon, Mar 25, 2019 at 2:36 AM He Zhe wrote: > > This for 5.0 and master. > > Zhe > > On 3/25/19 2:33 PM, zhe...@windriver.com wrote: > > From: He Zhe > > > > In the following commits, these two options have been replaced by > > CONFIG_AUDITSYSCALL which is in

Re: [linux-yocto] [v4.19 rt branch] x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY

2019-03-28 Thread Bruce Ashfield
Thanks Kevin, This is now merged. Bruce On Thu, Mar 28, 2019 at 2:28 AM Kevin Hao wrote: > > The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base' > into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag > 'v4.19.8' into linux-4.19.y-rt") almost have the same

Re: [yocto] Fwd: Trimming BOOST libraries installed

2019-03-28 Thread Burton, Ross
On Thu, 28 Mar 2019 at 12:40, Gabriele Zampieri wrote: > So I just specify the dependencies in my recipes, and then remove > IMAGE_INSTALL_append = " boost". Am I right? Yes. Your recipe that uses boost just needs DEPENDS=boost as a build-dependency. The linkage will be examined and the

[yocto] Fwd: Trimming BOOST libraries installed

2019-03-28 Thread Gabriele Zampieri
Forgot to include the mailing list -- Forwarded message - Da: Gabriele Zampieri Date: gio 28 mar 2019 alle ore 13:38 Subject: Re: [yocto] Trimming BOOST libraries installed To: Burton, Ross Thank you for the fast reply. So I just specify the dependencies in my recipes, and

Re: [yocto] Trimming BOOST libraries installed

2019-03-28 Thread Burton, Ross
On Thu, 28 Mar 2019 at 10:59, Gabriele Zampieri wrote: > I'm building a custom image that install boost libraries: > > IMAGE_INSTALL_append = " boost" > > How can I trim the installed libraries? I see inside > meta/recipes-support/boost/boost.inc a variable called BOOST_LIBS that lists > all

[yocto] Trimming BOOST libraries installed

2019-03-28 Thread Gabriele Zampieri
Hi all, I'm building a custom image that install boost libraries: IMAGE_INSTALL_append = " boost" How can I trim the installed libraries? I see inside meta/recipes-support/boost/boost.inc a variable called BOOST_LIBS that lists all the boost components, so in my custom-image.bb I tried:

Re: [yocto] [rauc] create a rescue image

2019-03-28 Thread jairo
Thanks Mike, Patrick, I have been much clearer about the options to update the system and the cost involved. a greeting Jairo -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] [rauc] create a rescue image

2019-03-28 Thread Mike Looijmans
On 26-03-19 11:02, jairo wrote: > El mar, 26-03-2019 a las 09:14 +0100, Patrick Boettcher escribió: >> On Tue, 26 Mar 2019 09:05:47 +0100 >> jairo wrote: ... > Yes, I know, it is somewhat risky, but I have only 512MB of nand > memory, and we are getting a lot of software. I think we have to >

[linux-yocto] [v4.19 rt branch] x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY

2019-03-28 Thread Kevin Hao
The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base' into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag 'v4.19.8' into linux-4.19.y-rt") almost have the same content, but introduce two define of TIF_NEED_RESCHED_LAZY for x86 arch. Drop one of them to fix the