[OE-core] cve-check: How to convert to JUnit?

2019-03-06 Thread Reto Schneider
Hi I would like to convert the files generated by the cve-check class to the JUnit format so that I can use the findings in my CI (Bamboo). Does anyone know a tool which does it? Kind regards, Reto 0x9D090A915B7B8BD1.asc Description: application/pgp-keys 0x9D090A915B7B8BD1.asc Description:

Re: [OE-core] [PATCH] bind-utils: Install nslookup

2019-03-06 Thread Tom Rini
On Wed, Mar 06, 2019 at 09:59:01AM +0200, Adrian Bunk wrote: > nslookup was undeprecated 15 years ago, > and installing bind-utils should replace the busybox version. > > Signed-off-by: Adrian Bunk Thanks, I have this locally too but got side-tracked so I haven't posted my v2 series, I should

[OE-core] [PATCH] utils: Fix create_wrapper

2019-03-06 Thread Achille Fouilleul
Wrappers generated by create_wrapper do not work properly: python, for example, looks at argv[0] to know if it is running from a virtualenv. Because the wrapper replaces argv[0] with python's canonical path, python cannot tell whether it has been invoked directly or from a virtualenv symlink.

[OE-core] [PATCH 1/6] kernel-yocto: allow kernel-meta repositories to be patched

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield For testing purposes, it is often easier to patch a fragment in a kernel-meta repository versus needing to make a copy or modify the source repository. We can allow this sort of patching when a patchdir of kernel-meta is passed (to indicate the nested kernel-meta

[OE-core] [PATCH 2/6] linux-libc-headers: update to 5.x headers

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Updating the linux-libc-headers to the 5.x kernel variant to match the latest reference kernel in the 2.7 release. We have two patches refreshed for context changes, and three patches dropped since they have been merged to the mainline kernel and are no longer necessary.

[OE-core] [PATCH v2 1/4] vim: Import version 8.1.0347

2019-03-06 Thread Tom Rini
In order to have a stand-alone editor in oe-core, bring in vim from meta-openembedded/meta-oe. This imports the recipes as of git commit: commit 41f3f8165bde3eb4f8bcf6dddbaca0d3b760c70b Author: Mark Hatle Date: Thu Feb 28 09:39:19 2019 +0800 vim: remove xfce vim bbappend Changing the

[OE-core] [PATCH v2 3/4] packagegroup-core-base-utils: Introduce new base-utils packagegroup

2019-03-06 Thread Tom Rini
This packagegroup is intended to provide all of the functionality found in other VIRTUAL-RUNTIME_base-utils providers through full packages rather than an all-on-one package. Document how to make use of this in local.conf.sample.extended. Introduce VIRTUAL-RUNTIME-vim and default this to

[OE-core] [PATCH v2 0/4] Introduce packagegroup-core-base-utils

2019-03-06 Thread Tom Rini
Over on the Yocto list[1] the topic of how to build an image without busybox once again came up. As part of that discussion I said I'd been thinking about a packagegroup to make this easier to do as while virtual/base-utils and VIRTUAL-RUNTIME_base-utils exist and work and allow for this, the

[OE-core] [PATCH v2 2/4] inetutils: Import version 1.9.4

2019-03-06 Thread Tom Rini
In order to have more robust stand-alone network tools in oe-core, bring in inetutils from meta-openembedded/meta-networking. This imports the recipes as of git commit: commit 408204073e6bdcd8ac586e05d5b75213417673f2 Author: Martin Jansa Date: Thu Aug 16 20:39:15 2018 + inetutils: fix

[OE-core] [PATCH v2 4/4] imagefeatures: Add test to blacklist building busybox

2019-03-06 Thread Tom Rini
Now that we have a packagegroup that can be used to replace the overall functionality of busybox as base-utils, add a test that we can continue to build a fairly complex image without busybox being available. This also doubles as documentation-by-test of how to do this. Signed-off-by: Tom Rini

Re: [OE-core] [PATCH 0/3] Upgrade systemd to 241

2019-03-06 Thread Burton, Ross
| src/boot/efi/meson.build:63:24: ERROR: Program or command 'realpath' not found or not executable Fails if you turn on EFI. Ross On Fri, 1 Mar 2019 at 08:42, Chen Qi wrote: > > > The following changes since commit 4d275d97b6c572fe11668ac16d2c77c018340c7c: > > perl: apply a native-only

Re: [OE-core] [PATCH V5] default-distrovars: Drop DISTRO_FEATURES_LIBC

2019-03-06 Thread Mike Crowe
On Tuesday 26 February 2019 at 18:27:04 -0800, Khem Raj wrote: > After eglibc was merged into glibc, Kconfig support was also dropped so > these libc features therefore are not effective anymore and can be > removed This patch appears to have landed on master as

[OE-core] [PATCH] bitbake: add readlink to HOSTTOOLS

2019-03-06 Thread Ross Burton
If systemd has EFI enabled it uses readlink. Signed-off-by: Ross Burton --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index f1540a0acf7..3d1434931d1 100644 --- a/meta/conf/bitbake.conf +++

[OE-core] [PATCH v2] Add source package to ${PACKAGES}

2019-03-06 Thread Joshua Watt
Permanently adds the -src source package to ${PACKAGES} instead of relying on creating it dynamically at packaging time. The source package is now defined in bitbake.conf, just like -dev and -dbg packages. For compatibility, the -src package is still added dynamically if it was missing, since

[OE-core] [PATCH 4/6] lttng: add 5.x fixup patches to 2.10.8 release

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield lttng hasn't released 2.10.9, but the stable/2.10 branch contains changes that we need to build against the 5.0 kernel. We add them here as patches, and we can drop them in the future when lttng is updated. Signed-off-by: Bruce Ashfield ---

[OE-core] [PATCH 5/6] linux-yocto/5.0: update configs for h/w reference boards

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Integrating configuration changes from Kevin Hao for the reference boards on the 5.0 kernel: be627e4e386 beaglebone: Switch to the 8250 omap driver 957f6060c25 beaglebone: Update the audio options ab5298a6983 mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP

[OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Hi all, The -rc8 of the kernel pushed this out a week longer than I would have liked, but luckily the -dev kernel has been running 5.0 for quite a while, so most of the issues had been worked out already. In this series we have the bump of the libc-headers to 5.0, I've

[OE-core] [PATCH 3/6] linux-yocto: introduce 5.0 versioned recipe

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Introducing the 5.0 linux-yocto reference kernel, which will become the "latest" kernel as part of the spring yocto release. qemu* has been built and sanity tested against this kernel, and it is suitable to become the default build for the emulated references. Some minor

Re: [OE-core] [PATCH] scripts: Add oe-pylint

2019-03-06 Thread Richard Purdie
enerating this report on the autobuilder and to > improve our score over time. > > Signed-off-by: Richard Purdie The output of this is saved off as part of the autobuilder test result output, e.g.: https://autobuilder.yocto.io/pub/non-release/20190306-14/testresults/oe-selftest/pylin

[OE-core] [PATCH] kmod: Remove compatibility for ancient hosts

2019-03-06 Thread Adrian Bunk
Lack of be32toh() is handled upstream since 2014. Linux 2.6.23 was released 2007, distributions with kernels older than that are far outside the host distributions still supported today. Signed-off-by: Adrian Bunk --- meta/recipes-kernel/kmod/kmod-native_git.bb | 3 --

[OE-core] [PATCH 6/6] machine: bump preferred version to 5.0

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Signed-off-by: Bruce Ashfield --- meta/conf/machine/include/x86-base.inc | 2 +- meta/conf/machine/qemuarm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/machine/include/x86-base.inc b/meta/conf/machine/include/x86-base.inc

[OE-core] [PATCH] scripts: Add oe-pylint

2019-03-06 Thread Richard Purdie
Add an oe-pylint wrapper around pylint3 to run static analysis on our python codebase. For now display errors and exclude common warnings which are not applicable to our codebase. The aim is to start generating this report on the autobuilder and to improve our score over time. Signed-off-by:

[OE-core] [PATCH] README: Rename to README.OE-Core so its clear where its from/belongs/is about

2019-03-06 Thread Richard Purdie
This means we can add it to poky and reduce delta/confusion between the contents. Signed-off-by: Richard Purdie --- README => README.OE-Core | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename README => README.OE-Core (100%) diff --git a/README b/README.OE-Core similarity index 100%

[OE-core] [PATCH] gdb: Upgrade 8.2 -> 8.2.1

2019-03-06 Thread Adrian Bunk
Signed-off-by: Adrian Bunk --- meta/recipes-devtools/gdb/{gdb-8.2.inc => gdb-8.2.1.inc} | 4 ++-- ...{gdb-cross-canadian_8.2.bb => gdb-cross-canadian_8.2.1.bb} | 0 .../gdb/{gdb-cross_8.2.bb => gdb-cross_8.2.1.bb} | 0 meta/recipes-devtools/gdb/{gdb_8.2.bb => gdb_8.2.1.bb}

Re: [OE-core] [PATCH] gdb: Upgrade 8.2 -> 8.2.1

2019-03-06 Thread Khem Raj
On Wed, Mar 6, 2019 at 11:23 AM Adrian Bunk wrote: > > Signed-off-by: Adrian Bunk > --- > meta/recipes-devtools/gdb/{gdb-8.2.inc => gdb-8.2.1.inc} | 4 ++-- > ...{gdb-cross-canadian_8.2.bb => gdb-cross-canadian_8.2.1.bb} | 0 > .../gdb/{gdb-cross_8.2.bb => gdb-cross_8.2.1.bb}

[OE-core] [PATCH v3 1/4] vim: Import version 8.1.0347

2019-03-06 Thread Tom Rini
In order to have a stand-alone editor in oe-core, bring in vim from meta-openembedded/meta-oe. This imports the recipes as of git commit: commit 41f3f8165bde3eb4f8bcf6dddbaca0d3b760c70b Author: Mark Hatle Date: Thu Feb 28 09:39:19 2019 +0800 vim: remove xfce vim bbappend Changing the

[OE-core] [PATCH v3 4/4] imagefeatures: Add test to blacklist building busybox

2019-03-06 Thread Tom Rini
Now that we have a packagegroup that can be used to replace the overall functionality of busybox as base-utils, add a test that we can continue to build a fairly complex image without busybox being available. This also doubles as documentation-by-test of how to do this. Signed-off-by: Tom Rini

[OE-core] [PATCH v3 2/4] inetutils: Import version 1.9.4

2019-03-06 Thread Tom Rini
In order to have more robust stand-alone network tools in oe-core, bring in inetutils from meta-openembedded/meta-networking. This imports the recipes as of git commit: commit 408204073e6bdcd8ac586e05d5b75213417673f2 Author: Martin Jansa Date: Thu Aug 16 20:39:15 2018 + inetutils: fix

[OE-core] [PATCH v3 3/4] packagegroup-core-base-utils: Introduce new base-utils packagegroup

2019-03-06 Thread Tom Rini
This packagegroup is intended to provide all of the functionality found in other VIRTUAL-RUNTIME_base-utils providers through full packages rather than an all-on-one package. Document how to make use of this in local.conf.sample.extended. Introduce VIRTUAL-RUNTIME-vim and default this to

Re: [OE-core] [PATCH] wpa-supplicant: Remove no longer required hack for libnl

2019-03-06 Thread Jean-Francois Dagenais
> On Mar 6, 2019, at 02:46, Adrian Bunk wrote: > > Upstream already fixed this properly by using pkg-config. > > Signed-off-by: Adrian Bunk Reviewed-by: Jean-Francois Dagenais > --- > meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.7.bb | 2 -- > 1 file changed, 2 deletions(-) > >

Re: [OE-core] [poky][meta][sumo][PATCH] lighttpd: added ptest

2019-03-06 Thread Richard Purdie
On Mon, 2019-03-04 at 18:21 +, Aditya Tayade wrote: > Reused lighttpd internal tests and did minimal patching to fix paths. > > Upstream-Status: Pending > > Signed-off-by: Aditya Tayade > --- > ...-use-standard-sbin-and-lib-path-for-ptest.patch | 37 >

[OE-core] [PATCH] libpcre2: fix CVE-2017-7186

2019-03-06 Thread Ross Burton
Signed-off-by: Ross Burton --- .../libpcre/libpcre2/CVE-2017-7186.patch | 83 ++ meta/recipes-support/libpcre/libpcre2_10.32.bb | 1 + 2 files changed, 84 insertions(+) create mode 100644 meta/recipes-support/libpcre/libpcre2/CVE-2017-7186.patch diff --git

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-06 Thread Richard Purdie
On Wed, 2019-03-06 at 11:37 -0500, bruce.ashfi...@gmail.com wrote: > The -rc8 of the kernel pushed this out a week longer than I would > have liked, but luckily the -dev kernel has been running 5.0 for > quite a while, so most of the issues had been worked out already. > > In this series we have

[OE-core] [PATCH 0/1] systemd: backport patch to fix parallel build failure

2019-03-06 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 525c5e516323ff584f65bed3320626b1d056260d: README.poky: Add pointers to key contributions wiki guides (2019-03-06 23:12:27 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd-parallel

[OE-core] [PATCH 1/1] systemd: backport patch to fix parallel build failure

2019-03-06 Thread Chen Qi
Backport patch to fix parallel build failure like below. In file included from ../git/src/core/dbus-manager.c:10: ../git/src/basic/build.h:4:10: fatal error: version.h: No such file or directory #include "version.h" ^~~ compilation terminated.

[OE-core] [PATCH 1/2] insane.bbclass: Make INSANE_SKIP work for qa pkgconfig and la

2019-03-06 Thread Robert Yang
The INSANE_SKIP = "pkgconfig" or "la" didn't work, this patch fixes the problem. [YOCTO #13087] Signed-off-by: Robert Yang --- meta/classes/insane.bbclass | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/meta/classes/insane.bbclass

[OE-core] [PATCH 2/2] insane.bbclass: Add configure-unsafe and configure-gettext

2019-03-06 Thread Robert Yang
So that the errors can be controlled by ERROR_QA or WARN_QA, and make them work with INSANE_SKIP. Signed-off-by: Robert Yang --- meta/classes/insane.bbclass | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/meta/classes/insane.bbclass

[OE-core] [PATCH 0/2] insane.bbclass: Fixes for do_qa_configure and qa_check_staged.

2019-03-06 Thread Robert Yang
The following changes since commit 0a306d4f706b55f64228c7a0a14ff1ad127d7df9: scripts: Add oe-pylint (2019-03-06 23:12:06 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/qa

[OE-core] [PATCH 0/1] systemd: update efi PACKAGECONFIG to depend on coreutils-native

2019-03-06 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 525c5e516323ff584f65bed3320626b1d056260d: README.poky: Add pointers to key contributions wiki guides (2019-03-06 23:12:27 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/efi-realpath

[OE-core] [PATCH 1/1] systemd: update efi PACKAGECONFIG to depend on coreutils-native

2019-03-06 Thread Chen Qi
For now, if 'efi' is enabled, we get the following error: | src/boot/efi/meson.build:63:24: ERROR: Program or command 'realpath' not found or not executable So update the PACKAGECONFIG setting to depend on coreutils-native. Signed-off-by: Chen Qi ---

[OE-core] [PATCH] sqlite3: Upgrade 3.26.0 -> 3.27.2

2019-03-06 Thread Adrian Bunk
Signed-off-by: Adrian Bunk --- meta/recipes-support/sqlite/sqlite3_3.26.0.bb | 10 -- meta/recipes-support/sqlite/sqlite3_3.27.2.bb | 11 +++ 2 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 meta/recipes-support/sqlite/sqlite3_3.26.0.bb create mode 100644

[OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-06 Thread Zhixiong Chi
Add the libgcc package into the initramfs image to avoid multithread function error in the userspace(eg: pthread_cancel). Signed-off-by: Zhixiong Chi --- meta/recipes-core/images/core-image-minimal-initramfs.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH 1/2] insane.bbclass: Make INSANE_SKIP work for qa pkgconfig and la

2019-03-06 Thread Andre McCurdy
On Wed, Mar 6, 2019 at 7:22 PM Robert Yang wrote: > > The INSANE_SKIP = "pkgconfig" or "la" didn't work, this patch fixes the > problem. > > [YOCTO #13087] > > Signed-off-by: Robert Yang > --- > meta/classes/insane.bbclass | 20 +++- > 1 file changed, 15 insertions(+), 5

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-06 Thread Bruce Ashfield
On Wed, Mar 6, 2019 at 6:05 PM Richard Purdie wrote: > > On Wed, 2019-03-06 at 11:37 -0500, bruce.ashfi...@gmail.com wrote: > > The -rc8 of the kernel pushed this out a week longer than I would > > have liked, but luckily the -dev kernel has been running 5.0 for > > quite a while, so most of the

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-06 Thread Bruce Ashfield
On Wed, Mar 6, 2019 at 11:21 PM Bruce Ashfield wrote: > > On Wed, Mar 6, 2019 at 6:05 PM Richard Purdie > wrote: > > > > On Wed, 2019-03-06 at 11:37 -0500, bruce.ashfi...@gmail.com wrote: > > > The -rc8 of the kernel pushed this out a week longer than I would > > > have liked, but luckily the

[OE-core] [PATCH 1/3] systemtap: update to enable 5.0 kernel capabilities

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Updating the systemtap 4.0 SRCREV to pick up changes that have been made to support newer kernels (and in particular 5.0). root@qemux86-64:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp [ 246.303263] stap_4843: loading out-of-tree module taints kernel.

[OE-core] [PATCH 3/3] kernel-devsrc: add files required for on-target build with 5.x

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield Both powerpc and mips require a few new files for the scripts and prepare targets to work with a 5.0 kernel. We add the required files to the architecture specific blocks, with appropriate backwards compatibility considerations. Signed-off-by: Bruce Ashfield ---

[OE-core] [PATCH 2/3] core-image-kernel-dev: add systemtap and dependencies

2019-03-06 Thread bruce . ashfield
From: Bruce Ashfield To allow the kernel-dev image to test systemtap, we add the userspace and required image configuration. Signed-off-by: Bruce Ashfield --- meta/recipes-extended/images/core-image-kernel-dev.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git

[OE-core] [PATCH] scripts/resulttool: Enable manual result store and regression

2019-03-06 Thread Yeoh Ee Peng
To enable store for testresults.json file from manualexecution, add layers metadata to configuration and add "manual" map to resultutils.store_map. To enable regression for manual, add "manual" map to resultutils.regression_map. Also added compulsory configurations ('MACHINE', 'IMAGE_BASENAME')