[OE-core] [PATCH] mpeg2dec: Fix PIE build and avoid relocation in text section on ARM

2019-07-19 Thread Khem Raj
This a backport from upstream Fixes package_qa on arm ERROR: QA Issue: ELF binary 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/mpeg2dec/0.5.1-r0/packages-split/libmpeg2/usr/lib/libmpeg2.so.0.1.0' has relocations in .text [textrel] Signed-off-by: Khem Raj --- ...-1206-from-upst

[OE-core] [PATCH] openssl: fix valgrind errors on v1.1.1c

2019-07-19 Thread Bonnans, Laurent
Running valgrind against code using Openssl v1.1.1c reports a large number of uninitialized memory errors. This fix from upstream solves this problem. Signed-off-by: Laurent Bonnans --- .../0001-Fix-broken-change-from-b3d113e.patch | 35 +++ .../openssl/openssl_1.1.1c.bb

Re: [OE-core] [PATCH 1/2] busybox: enable unicode support

2019-07-19 Thread Khem Raj
On Wed, Jul 17, 2019 at 5:24 AM wrote: > > On Wed, Jul 17, 2019 at 12:44:54PM +0100, Richard Purdie wrote: > > On Wed, 2019-07-17 at 12:08 +0300, Mikko Rapeli wrote: > > > While creating and deleting files with unicode or other > > > encodings works, it's annoying when ls and other core utils > >

Re: [OE-core] [PATCH 1/2] ffmpeg: don't use hardcoded lookup tables

2019-07-19 Thread Khem Raj
On Fri, Jul 19, 2019 at 1:20 PM Ross Burton wrote: > > ffmpeg can generate lookup tables at build time instead of runtime, but this > is > no longer a recommended option. The size impact is significant (12% of the > total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't >

[OE-core] [PATCH v2] psplash: create psplash tmpfs mount directory in psplash-init

2019-07-19 Thread Stefan Agner
From: Stefan Agner The psplash binary uses TMPDIR as directory to store the FIFO to communicate with the psplash tools. This directory can be in any location an init system determines to be suitable, psplash-init uses /mnt/ for it. Rather than creating the mount directory in the recipe, just crea

[OE-core] [PATCH v2] meson.bbclass: export STRIP=${BUILD_STRIP}

2019-07-19 Thread Ross Burton
In Meson the environment variables are always the native tools, so export STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning: WARNING: Env var STRIP seems to point to the cross compiler. This is probably wrong, it should always point to the native compiler. Signed-off-by: Ross

[OE-core] [PATCH] meson.bbclass: export STRIP=${BUILD_STRIP}

2019-07-19 Thread Ross Burton
In Meson the environment variables are always the native tools, so export STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning: ARNING: Env var STRIP seems to point to the cross compiler. This is probably wrong, it should always point to the native compiler. Signed-off-by: Ross

Re: [OE-core] [PATCH] psplash: create psplash tmpfs mount directory in psplash-init

2019-07-19 Thread richard . purdie
On Fri, 2019-07-19 at 21:44 +0200, Stefan Agner wrote: > From: Stefan Agner > > The psplash binary uses TMPDIR as directory to store the FIFO to > communicate with the psplash tools. This directory can be in any > location an init system determines to be suitable, psplash-init > uses /mnt/ for it

Re: [OE-core] [oe-core][PATCH 1/2] defaultsetup.conf: enable select init manager

2019-07-19 Thread richard . purdie
On Fri, 2019-07-19 at 22:35 +0100, Burton, Ross wrote: > On Thu, 4 Jul 2019 at 15:40, wrote: > > +++ b/meta/conf/distro/include/init-manager-systemd.inc > > @@ -0,0 +1,6 @@ > > +# Use systemd for system initialization > > +DISTRO_FEATURES_append = " systemd" > > +DISTRO_FEATURES_BACKFILL_CONSIDERE

[OE-core] [oe-core][PATCH 1/1] libtool: remove host information from libtool

2019-07-19 Thread Joe Slater
Import patch from Debian. Signed-off-by: Joe Slater --- .../libtool/libtool/debian-no_hostname.patch| 21 + meta/recipes-devtools/libtool/libtool_2.4.6.bb | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100755 meta/recipes-devtools/libtool

Re: [OE-core] [oe-core][PATCH 1/2] defaultsetup.conf: enable select init manager

2019-07-19 Thread Burton, Ross
On Thu, 4 Jul 2019 at 15:40, wrote: > +++ b/meta/conf/distro/include/init-manager-systemd.inc > @@ -0,0 +1,6 @@ > +# Use systemd for system initialization > +DISTRO_FEATURES_append = " systemd" > +DISTRO_FEATURES_BACKFILL_CONSIDERED_append = " sysvinit" > +VIRTUAL-RUNTIME_init_manager = "systemd"

[OE-core] [PATCH] unfs3: set upstream tag regex to avoid false-positives

2019-07-19 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-devtools/unfs3/unfs3_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_git.bb index 4b2cd5f2ce8..a4ac46c68e5 100644 --- a/meta/recipes-devtools/unfs3/unfs3_git.bb +++

[OE-core] [PATCH] freetype: upgrade to 2.10.1

2019-07-19 Thread Ross Burton
Also switch SRC_URI to the nongnu mirrors as they're more reliable than Sourceforge. Signed-off-by: Ross Burton --- .../freetype/{freetype_2.10.0.bb => freetype_2.10.1.bb} | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) rename meta/recipes-graphics/freetype/{freetype_2.10.0.bb =

[OE-core] [PATCH 1/3] cve-update-db-native: use executemany() to optimise CPE insertion

2019-07-19 Thread Ross Burton
Instead of calling execute() repeatedly, rewrite the function to be a generator and use executemany() for performance. Signed-off-by: Ross Burton --- .../recipes-core/meta/cve-update-db-native.bb | 85 +++ 1 file changed, 32 insertions(+), 53 deletions(-) diff --git a/meta/recip

[OE-core] [PATCH 2/3] cve-update-db-native: improve metadata parsing

2019-07-19 Thread Ross Burton
The metadata parser is fragile: first it coerces a bytes() to a str() (so the string is b'LastModifiedDate:2019...'), assumes the first line is the date, and then uses a regex to parse (which then includes the trailing quote as part of the date). Clean this up by parsing the bytes as UTF-8 (ASCII

[OE-core] [PATCH 3/3] cve-update-db-native: clean up JSON fetching

2019-07-19 Thread Ross Burton
Currently the code fetches the compressed JSON, writes it to a temporary file, uncompresses that with gzip and passes the fake file object to update_db(). Instead, uncompress the gzip'd data in memory and pass the JSON directly to update_db(). Signed-off-by: Ross Burton --- .../recipes-core/met

[OE-core] [PATCH 1/2] ffmpeg: don't use hardcoded lookup tables

2019-07-19 Thread Ross Burton
ffmpeg can generate lookup tables at build time instead of runtime, but this is no longer a recommended option. The size impact is significant (12% of the total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't too costly, and only a few codecs actually use the pre-generated

[OE-core] [PATCH 2/2] ffmpeg: upgrade to 4.1.4

2019-07-19 Thread Ross Burton
Add a PACKAGECONFIG for the use of XCB and enable by default if X11 is in DISTRO_FEATURES. Signed-off-by: Ross Burton --- .../ffmpeg/{ffmpeg_4.1.3.bb => ffmpeg_4.1.4.bb} | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) rename meta/recipes-multimedia/ffmpeg/{ffmpeg_4.1.3.b

[OE-core] [PATCH] psplash: create psplash tmpfs mount directory in psplash-init

2019-07-19 Thread Stefan Agner
From: Stefan Agner The psplash binary uses TMPDIR as directory to store the FIFO to communicate with the psplash tools. This directory can be in any location an init system determines to be suitable, psplash-init uses /mnt/ for it. Rather than creating the mount directory in the recipe, just crea

Re: [OE-core] [PATCH] squashfs-tools: upgrade to commit f95864afe883

2019-07-19 Thread Alex Kiernan
On Thu, Jul 18, 2019 at 7:20 AM Adrian Bunk wrote: > > On Wed, Jul 17, 2019 at 11:57:42AM +0100, richard.pur...@linuxfoundation.org > wrote: > > On Wed, 2019-07-17 at 12:51 +0200, Ulrich Ölmann wrote: > > > Hi Richard, > > > > > > On Wed, Jul 17 2019 at 11:19 +0200, Richard Purdie < > > > richard

[OE-core] [PATCH 2/2] devtool: remove temp dir in upgrade

2019-07-19 Thread Chen Qi
For now, the temp dir is left in system, although the temporary source directory has been cleaned up. So we clean it up too. Signed-off-by: Chen Qi --- scripts/lib/devtool/upgrade.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.

[OE-core] [PATCH 1/2] runtime_test.py: use track_for_cleanup for temp dir

2019-07-19 Thread Chen Qi
Use track_for_cleanup for temp dir to avoid such temp dir being not cleaned up when something goes wrong, e.g., building image failure. Signed-off-by: Chen Qi --- meta/lib/oeqa/selftest/cases/runtime_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/lib/oeqa/sel

[OE-core] [PATCH 0/2] Two fixes about cleaning up temp dir

2019-07-19 Thread Chen Qi
*** BLURB HERE *** The following changes since commit ecf098877522508875ccff8c56cd7fee0fa3762a: distro/include: Add poky-distro-alt-test-config.inc (2019-07-19 08:46:04 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/temp-clean http://git.pokylin

Re: [OE-core] [PATCH 3/3] iptables: upgrade 1.8.2 -> 1.8.3

2019-07-19 Thread Mittal, Anuj
On Fri, 2019-07-19 at 13:55 +0800, Anuj Mittal wrote: > Remove upstreamed patch and manually package symlinks which aren't > handled by do_split_package. > > Fixes CVE-2019-12155. I copy pasted the wrong CVE number here. Please ignore this change. Thanks, Anuj -- ___

Re: [OE-core] [PATCH] oeqa/parselogs: Whitelist qemuarm64 runtime errors

2019-07-19 Thread Richard Purdie
On Fri, 2019-07-19 at 12:59 +0800, changqing...@windriver.com wrote: > From: Changqing Li > > The qemuarm64 machine doesn't have graphics so whitelist the > X server related failures qemuarm64 *does* have graphics and we don't see these errors on the autobuilder? Cheers, Richard --

Re: [OE-core] Automatically creating tar files for bin_package.bbclass

2019-07-19 Thread Nicolas Dechesne
hi Andre! On Wed, Jul 6, 2016 at 10:21 AM Andre McCurdy wrote: > > On Tue, Jul 5, 2016 at 3:27 PM, Richard Purdie > wrote: > > On Tue, 2016-07-05 at 08:12 -0700, Khem Raj wrote: > >> On Tue, Jul 5, 2016 at 1:21 AM, Andre McCurdy > >> wrote: > >> > On Mon, Jul 4, 2016 at 8:58 AM, Burton, Ross >

Re: [OE-core] [PATCH] ltp: getrlimit03: adjust-a-bit-of-code-to-compatiable-with mips32

2019-07-19 Thread Richard Purdie
Hi Petr, On Thu, 2019-07-18 at 23:51 +0200, Petr Vorel wrote: > I have to say I prefer policy when only build fixes are backported / > added. (approach which e.g. buildroot has). Having many patches (25 > atm) makes updating a bit difficult (ok, not that much, 'Upstream- > Status: Backport' shows

Re: [OE-core] [PATCH] ltp: getrlimit03: adjust-a-bit-of-code-to-compatiable-with mips32

2019-07-19 Thread Hongzhi, Song
On 7/19/19 2:41 PM, Petr Vorel wrote: Hi Hongzhi, ... --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch @@ -0,0 +1,62 @@ +From e79652a3839869b1983d65999e5d5dcb50bc9cd7 Mon Sep 17 00:00:00 2001 +From: "Hongzhi.Song" +Date: Mon,

[OE-core] [PATCH] iptables: Security Advisory - iptables - CVE-2019-11360

2019-07-19 Thread Li Zhou
Porting patch from to solve CVE-2019-11360. Signed-off-by: Li Zhou --- .../iptables/iptables/CVE-2019-11360.patch | 117 + meta/recipes-extended/iptables/iptabl