[OE-core] [PATCH 1/5] grub-efi: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since grub-efi.bbclass will use fixed names for grub bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 40 -- 1 fil

[OE-core] [PATCH 2/5] systemd-boot: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since systemd-boot.bbclass will use fixed names for systemd bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 19 +--

[OE-core] [PATCH 5/5] shim: add first-stage UEFI bootloader implementing MOK protocol

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- ...ompareMem-on-MokListNode.Type-instea.patch | 68 ++ meta/recipes-bsp/shim/shim_git.bb | 72 +++ 2 files changed, 140 insertions(+) create mode 100644 meta/recipes-bsp/shim/s

[OE-core] [PATCH 3/5] image-uefi.conf: define EFI_ARCH variable

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define EFI_ARCH to suffix used by UEFI on the platform to name files. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-

[OE-core] [PATCH 4/5] image-uefi.conf: define generic EFI_COMPATIBLE_HOST

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf index 669c16d42af4..19729c401dfa 100644 --- a/meta/conf/image-uefi.conf +++ b/meta/conf/

[OE-core] ✗ patchtest: failure for "grub-efi: replace anonymous fu..." and 4 more

2019-09-29 Thread Patchwork
== Series Details == Series: "grub-efi: replace anonymous fu..." and 4 more Revision: 1 URL : https://patchwork.openembedded.org/series/20233/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] [oe-core][PATCH 1/1] bash-completion: add image feature

2019-09-29 Thread Adrian Bunk
On Fri, Sep 27, 2019 at 11:16:51AM -0700, Joe Slater wrote: > Create bc-pkgs image feature to load *-bash-completion packages > into an image. The packages are created by the bash-completion > bbclass but are currently never referenced. >... > +COMPLEMENTARY_GLOB[bc-pkgs] = '*-bash-completion' >..

[OE-core] [PATCH] ltp: Fix hang of cve test cases

2019-09-29 Thread zhe.he
From: He Zhe Backport a patch to the fix possible hang caused by the case of cve-2017-17052. Signed-off-by: He Zhe --- ...-2017-17052-Avoid-unsafe-exits-in-threads.patch | 62 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 + 2 files changed, 63 insertions(+) c

[OE-core] ✗ patchtest: failure for ltp: Fix hang of cve test cases

2019-09-29 Thread Patchwork
== Series Details == Series: ltp: Fix hang of cve test cases Revision: 1 URL : https://patchwork.openembedded.org/series/20234/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the

[OE-core] [PATCH] llvm: Update to 9.0.0

2019-09-29 Thread Khem Raj
libOptRemarks has been renamed as libRemarks RISC-V backend is now supported Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- ...ryInfo-Undefine-libc-functions-if-th.patch | 9 ++-- ...-llvm-allow-env-override-of-exe-path.patch | 8 ++- meta/recipes-de

[OE-core] [PATCH v2 2/5] systemd-boot: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since systemd-boot.bbclass will use fixed names for systemd bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-core/systemd/systemd-boot_243.bb | 19 +--

[OE-core] [PATCH v2 1/5] grub-efi: replace anonymous function with static configuration

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Replace anonymous function setting GRUB_* variables with static configuration, since grub-efi.bbclass will use fixed names for grub bootloader. Signed-off-by: Dmitry Eremin-Solenikov --- meta/recipes-bsp/grub/grub-efi_2.04.bb | 40 -- 1 fil

[OE-core] [PATCH v2 3/5] image-uefi.conf: define EFI_ARCH variable

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Define EFI_ARCH to suffix used by UEFI on the platform to name files. Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-

[OE-core] [PATCH v2 5/5] shim: add first-stage UEFI bootloader implementing MOK protocol

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- ...ompareMem-on-MokListNode.Type-instea.patch | 69 ++ meta/recipes-bsp/shim/shim_git.bb | 72 +++ 2 files changed, 141 insertions(+) create mode 100644 meta/recipes-bsp/shim/s

[OE-core] [PATCH v2 4/5] image-uefi.conf: define generic EFI_COMPATIBLE_HOST

2019-09-29 Thread dbaryshkov
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- meta/conf/image-uefi.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/image-uefi.conf b/meta/conf/image-uefi.conf index 669c16d42af4..19729c401dfa 100644 --- a/meta/conf/image-uefi.conf +++ b/meta/conf/

[OE-core] [warrior][PATCH] json-c: Don't --enable-rdrand

2019-09-29 Thread Adrian Bunk
In recent years AMD CPUs have had various problems with RDRAND giving either non-random data or no result at all, which is problematic if either build or target machine has a CPU with this problem. The fallback is /dev/urandom, and I'd trust the kernel here. --enable-rdrand was added in an upgrad

[OE-core] [thud][PATCH] json-c: Don't --enable-rdrand

2019-09-29 Thread Adrian Bunk
In recent years AMD CPUs have had various problems with RDRAND giving either non-random data or no result at all, which is problematic if either build or target machine has a CPU with this problem. The fallback is /dev/urandom, and I'd trust the kernel here. --enable-rdrand was added in an upgrad

[OE-core] [PATCH] Update patch to fix do_patch error when PATCHTOOL = "patch".

2019-09-29 Thread Lei Maohui
Signed-off-by: Lei Maohui --- .../bluez5/bluez5/CVE-2018-10910.patch| 726 +++--- 1 file changed, 263 insertions(+), 463 deletions(-) diff --git a/meta/recipes-connectivity/bluez5/bluez5/CVE-2018-10910.patch b/meta/recipes-connectivity/bluez5/bluez5/CVE-2018-10910.patch inde

[OE-core] ✗ patchtest: failure for Update patch to fix do_patch error when PATCHTOOL = "patch".

2019-09-29 Thread Patchwork
== Series Details == Series: Update patch to fix do_patch error when PATCHTOOL = "patch". Revision: 1 URL : https://patchwork.openembedded.org/series/20241/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several te

[OE-core] [PATCH v2] ltp: Fix hang of cve test cases

2019-09-29 Thread zhe.he
From: He Zhe Backport a patch to the fix possible hang caused by the case of CVE-2017-17052. CVE: CVE-2017-17052 Signed-off-by: He Zhe --- ...-2017-17052-Avoid-unsafe-exits-in-threads.patch | 62 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 + 2 files changed

[OE-core] ✗ patchtest: failure for ltp: Fix hang of cve test cases (rev2)

2019-09-29 Thread Patchwork
== Series Details == Series: ltp: Fix hang of cve test cases (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/20234/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed

[OE-core] [PATCH v3] ltp: Fix hang of cve test cases

2019-09-29 Thread zhe.he
From: He Zhe Backport a patch to the fix possible hang caused by the case of CVE-2017-17052. CVE: CVE-2017-17052 Signed-off-by: He Zhe --- ...-2017-17052-Avoid-unsafe-exits-in-threads.patch | 64 ++ meta/recipes-extended/ltp/ltp_20190517.bb | 1 + 2 files changed

[OE-core] [warrior-next 04/54] libxslt: fix CVE-2019-13117 CVE-2019-13118

2019-09-29 Thread Armin Kuster
From: Anuj Mittal (From OE-Core rev: 7dc3048fec88dd62ef49ef16517b7382ab7cf2a5) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../libxslt/files/CVE-2019-13117.patch | 33 ++ .../libxslt/files/CVE-2019-13118.patch | 76

[OE-core] [warrior-next 02/54] binutils: CVE-2019-9070 is same as CVE-2019-9071

2019-09-29 Thread Armin Kuster
From: Anuj Mittal See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395 (From OE-Core rev: cef180de3684491f1ac4180ddbcc102121222181) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-devtools/binutils/binutils/CVE-2019-9071.patch | 1 +

[OE-core] [warrior-next 01/54] binutils: fix CVE-2019-12972 CVE-2019-9071

2019-09-29 Thread Armin Kuster
From: Anuj Mittal (From OE-Core rev: 093f0914f261a27d58ecba9c1e9d3b78a35af012) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-devtools/binutils/binutils-2.32.inc | 2 + .../binutils/binutils/CVE-2019-12972.patch | 51 +++

[OE-core] [warrior-next 00/54] warrior-next pull request

2019-09-29 Thread Armin Kuster
This series passes the AB. Added to get AB to build: useradd: Ensure do_populate_sysroot has dependency on useradd variables useradd: Fix build architecture corruption of sstate artefacts Picked up a few more backport requests. The following changes since commit 952bfcc3f4b9ee5ba584da0f991f95e

[OE-core] [warrior-next 05/54] glibc: CVE-2018-20796 is same as CVE-2019-9169

2019-09-29 Thread Armin Kuster
From: Anuj Mittal See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34141 https://www.securityfocus.com/bid/107160 (From OE-Core rev: 7e90506534ed2a70680382cf28614f02fdb98409) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-core/glibc/g

[OE-core] [warrior-next 09/54] tiff: fix CVE-2019-7663

2019-09-29 Thread Armin Kuster
From: Ross Burton (From OE-Core rev: d06d6910d1ec9374bb15e02809e64e81198731b6) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../libtiff/tiff/CVE-2019-7663.patch | 77 ++ meta/recipes-multimedia/libtiff/tiff_4.0.10.

[OE-core] [warrior-next 03/54] python: fix CVE-2019-9740

2019-09-29 Thread Armin Kuster
From: Anuj Mittal (From OE-Core rev: 8eddac3305b7b428565103cde88cba444e3f0dd0) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../python/python/CVE-2019-9740.patch | 215 + meta/recipes-devtools/python/python_2.7.16.b

[OE-core] [warrior-next 08/54] tiff: fix CVE-2019-6128

2019-09-29 Thread Armin Kuster
From: Ross Burton (From OE-Core rev: 7293e417dd9bdd04fe0fec177a76c9286234ed46) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../libtiff/tiff/CVE-2019-6128.patch | 52 ++ meta/recipes-multimedia/libtiff/tiff_4.0.10.

[OE-core] [warrior-next 06/54] libid3tag: handle unknown encodings (CVE-2017-11550)

2019-09-29 Thread Armin Kuster
From: Ross Burton (From OE-Core rev: 5090afc1b07e62f70ebcf63a7abb75b8552f0a52) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../libid3tag/libid3tag/unknown-encoding.patch | 39 ++ .../libid3tag/libid3tag_0.15.1b.bb

[OE-core] [warrior-next 07/54] libid3tag: CVE-2017-11551 is the same as CVE-2004-2779

2019-09-29 Thread Armin Kuster
From: Ross Burton (From OE-Core rev: 0663e5f8f906803685f018061d51fd6277916e50) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-multimedia/libid3tag/libid3tag/10_utf16.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-

[OE-core] [warrior-next 11/54] gstreamer1.0-vaapi: backport jpeg encode/decode fixes

2019-09-29 Thread Armin Kuster
From: Anuj Mittal Backport patches from 1.15 to fix JPEG encode/decode issues when using VAAPI with Intel media-driver. See for details: https://bugzilla.gnome.org/show_bug.cgi?id=796705 https://bugzilla.gnome.org/show_bug.cgi?id=796505 Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster -

[OE-core] [warrior-next 15/54] ghostscript: fix CVE-2019-3839

2019-09-29 Thread Armin Kuster
From: Naveen Saini Signed-off-by: Naveen Saini Signed-off-by: Armin Kuster --- .../ghostscript/CVE-2019-3839-0008.patch | 440 + .../ghostscript/ghostscript_9.26.bb| 1 + 2 files changed, 441 insertions(+) create mode 100644 meta/recipes-extend

[OE-core] [warrior-next 14/54] python3: fix CVE-2019-9740

2019-09-29 Thread Armin Kuster
From: Anuj Mittal CVE-2019-9947 is same as CVE-2019-9740 and mark it as such. See: https://bugs.python.org/issue30458 Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- .../python/python3/CVE-2019-9740.patch | 151 + meta/recipes-devtools/python/python

[OE-core] [warrior-next 16/54] rng-tools: fix very long shutdown delay with systemd

2019-09-29 Thread Armin Kuster
From: "Bedel, Alban" The systemd service file has DefaultDependencies=no but is not properly configured to also stop the unit. Because of this the unit keep running after shutdown but systemd still waits for it to finish to then later resort to a hard kill. All this take 1m30s with the default co

[OE-core] [warrior-next 10/54] libsdl: CVE fixes

2019-09-29 Thread Armin Kuster
From: Anuj Mittal Fixes CVE-2019-7572, CVE-2019-7574, CVE-2019-7575, CVE-2019-7576, CVE-2019-7577, CVE-2019-7578, CVE-2019-7635, CVE-2019-7637, CVE-2019-7638. Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- .../libsdl/libsdl-1.2.15/CVE-2019-7572.patch | 114 .../

[OE-core] [warrior-next 13/54] patch: fix CVE-2019-13636

2019-09-29 Thread Armin Kuster
From: Anuj Mittal Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- .../patch/patch/CVE-2019-13636.patch | 113 + meta/recipes-devtools/patch/patch_2.7.6.bb | 1 + 2 files changed, 114 insertions(+) create mode 100644 meta/recipes-devtools/

[OE-core] [warrior-next 12/54] package: Improve determinism

2019-09-29 Thread Armin Kuster
From: Richard Purdie Its possible in cases with multiple shlib providers we were not being deterministic. Add in a couple of sorted() calls to fix the shlibs and pkgconfig cases with this potential issue. Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/classes/package.bbcla

[OE-core] [warrior-next 17/54] psmisc: Fix dependency for USE_NLS=no

2019-09-29 Thread Armin Kuster
From: Jason Wessel When using USE_NLS="no" in the local.conf psmisc will fail to compile as follows: | autoreconf: Entering directory `.' | autoreconf: running: autopoint --force | autoreconf: failed to run autopoint: No such file or directory | autoreconf: autopoint is needed because this packa

[OE-core] [warrior-next 20/54] mesa: Update 19.0.1 -> 19.0.8

2019-09-29 Thread Armin Kuster
From: Fabio Berton This commit adds the following changes: Updates from 19.0.8: - Mesa 19.0.8 is an emergency bug fix release which fixes a critical bug found in the 19.0.7 release. Full log: https://www.mesa3d.org/relnotes/19.0.8.html Updates from 19.0.7: - Mesa 19.0.7 is a bug

[OE-core] [warrior-next 18/54] package.bbclass: fix directories setuid and setgid bits

2019-09-29 Thread Armin Kuster
From: Joël Esponde populate_packages relies on ``mkdir`` to both create a directory and set its permissions. However, ``mkdir`` honors the ``umask`` value. Therefore, some bits may be lost in the operation. In our case, the setgid bit on the directories were lost. This commit fixes this by havin

[OE-core] [warrior-next 19/54] qemu: add a patch fixing the native build on newer kernels

2019-09-29 Thread Armin Kuster
From: Bartosz Golaszewski The build fails on qemu-native if we're using kernels after commit 0768e17073dc527ccd18ed5f96ce85f9985e9115. This adds an upstream patch that fixes the issue. Signed-off-by: Bartosz Golaszewski Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recip

[OE-core] [warrior-next 22/54] linux-yocto/4.19: update to 4.19.57 and -rt22

2019-09-29 Thread Armin Kuster
From: Bruce Ashfield Updating the linux-yocto 4.19 recipe to the latest -stable and -rt releases. We also integrate a configuration change to support ptests on scsci targets: scsi-debug: include core scsi support for standalone inclusion The -stable changes comprise the following commits:

[OE-core] [warrior-next 25/54] rsync: fix CVEs for included zlib

2019-09-29 Thread Armin Kuster
From: Anuj Mittal rsync includes its own copy of zlib and doesn't recommend linking with the system version [1]. Import CVE fixes that impact zlib version 1.2.8 [2] that is currently used by rsync. [1] https://git.samba.org/rsync.git/?p=rsync.git;a=blob;f=zlib/README.rsync [2] https://nvd.nist

[OE-core] [warrior-next 21/54] qemu: fix CVE-2018-20815

2019-09-29 Thread Armin Kuster
Signed-off-by: Naveen Saini Signed-off-by: Armin Kuster --- meta/recipes-devtools/qemu/qemu.inc| 1 + .../qemu/qemu/CVE-2018-20815.patch | 38 ++ 2 files changed, 39 insertions(+) create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2018-20

[OE-core] [warrior-next 27/54] patch: backport fixes

2019-09-29 Thread Armin Kuster
From: Anuj Mittal The original fix for CVE-2018-1000156 was incomplete. Backport more fixes done later for a complete fix. Also see: https://savannah.gnu.org/bugs/index.php?53820 Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- ...k-temporary-file-on-failed-ed-style-patch.patch | 9

[OE-core] [warrior-next 26/54] patch: fix CVE-2019-13638

2019-09-29 Thread Armin Kuster
From: Trevor Gamblin (From OE-Core rev: b59b1222b3f73f982286222a583de09c661dc781) Signed-off-by: Trevor Gamblin Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- ...ke-ed-directly-instead-of-using-the-shell.patch | 44 ++ meta/recipes-devtools/patch/patch_2.7.

[OE-core] [warrior-next 23/54] linux-yocto/4.19: update to v4.19.61

2019-09-29 Thread Armin Kuster
From: Bruce Ashfield Integrating the korg -stable commits that comprise the following changes: 7250956f6eaf Linux 4.19.61 025eb12bb4b0 dm bufio: fix deadlock with loop device 404f59e265ac dt-bindings: allow up to four clocks for orion-mdio 03e6a668ea1f net: mvmdio: allow up to four c

[OE-core] [warrior-next 24/54] boost: Fix build and enable context and coroutines on aarch64

2019-09-29 Thread Armin Kuster
From: "Bedel, Alban" Like for ARM bjam need some hints about the ABI to properly build on aarch64. While at it also enable context and coroutine as these are supported on aarch64. Signed-off-by: Alban Bedel Signed-off-by: Armin Kuster --- meta/recipes-support/boost/boost.inc | 2 ++ 1 file ch

[OE-core] [warrior-next 28/54] dpkg: Use less as pager

2019-09-29 Thread Armin Kuster
From: Ricardo Ribalda Delgado Debian traditionaly uses /usr/bin/pager as the system pager, which is a link to the user preferred pager. This is a Debianism. Without this patch: root@qt5122:~# dpkg -l sh: pager: command not found dpkg-query: error: showing package list on pager subprocess return

[OE-core] [warrior-next 30/54] meson: backport fix for builds with -Werror=return-type

2019-09-29 Thread Armin Kuster
From: Martin Jansa Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta/recipes-devtools/meson/meson.inc | 1 + ...-return-statements-that-are-seen-with-Wer.patch | 84 ++ 2 files changed, 85 insertions(+) create mode 100644 meta/recipes-devtools

[OE-core] [warrior-next 29/54] icecc.bbclass: catch subprocess.CalledProcessError

2019-09-29 Thread Armin Kuster
From: Martin Jansa * this might be related to: commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1 Author: Douglas Royds Date: Thu Dec 20 11:59:47 2018 +1300 icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time * it's still a bit unclear when and why this happends, but

[OE-core] [warrior-next 33/54] pango: fix CVE-2019-1010238

2019-09-29 Thread Armin Kuster
From: Anuj Mittal Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- .../pango/pango/CVE-2019-1010238.patch | 38 ++ meta/recipes-graphics/pango/pango_1.42.4.bb| 4 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/re

[OE-core] [warrior-next 31/54] powertop: import a fix from buildroot

2019-09-29 Thread Armin Kuster
From: Martin Jansa Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- .../0001-wakeup_xxx.h-include-limits.h.patch | 55 ++ meta/recipes-kernel/powertop/powertop_2.10.bb | 1 + 2 files changed, 56 insertions(+) create mod

[OE-core] [warrior-next 37/54] binutils: Fix mips patch which changes default emulation

2019-09-29 Thread Armin Kuster
From: Nathan Rossi The patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the 'targ_selvecs' replacing it with duplicate entries for 'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can still handle 'mips_elf32_ntrad_le_vec' binaries. Signed-off-by: Nathan Rossi Signed

[OE-core] [warrior-next 32/54] binutils: fix CVE-2019-14250 CVE-2019-14444

2019-09-29 Thread Armin Kuster
From: Anuj Mittal Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- meta/recipes-devtools/binutils/binutils-2.32.inc | 2 ++ .../binutils/binutils/CVE-2019-14250.patch | 33 ++ .../binutils/binutils/CVE-2019-1.patch | 28 ++ 3

[OE-core] [warrior-next 36/54] gcc: CVE-2018-12886

2019-09-29 Thread Armin Kuster
From: Zhixiong Chi Backprot CVE patch from the upstream: https://github.com/gcc-mirror/gcc.git [commit f98495d] https://nvd.nist.gov/vuln/detail/CVE-2018-12886 Signed-off-by: Zhixiong Chi Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/recipes-devtools/gcc/gcc-8.3.inc

[OE-core] [warrior-next 38/54] glibc: Fix multilibs + usrmerge builds

2019-09-29 Thread Armin Kuster
From: Jason Wessel The build of glibc fails when you have multilibs enabled + the distro feature usrmerge. Here is an example configuration: === MACHINE = "qemux86-64" VIRTUAL-RUNTIME_init_manager = "systemd" DISTRO_FEATURES_append = " systemd " DISTRO_FEATURES_append += " usrmerge" require co

[OE-core] [warrior-next 35/54] gcc: reduce the variables in symtab

2019-09-29 Thread Armin Kuster
From: Zhixiong Chi Backport the patch from upstream: https://github.com/gcc-mirror/gcc.git [commit beb921e] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=269925 Add the premark_used_variables function, meanwhile do not mark not premarked external variables in prune_unused_types_walk. S

[OE-core] [warrior-next 39/54] glibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"

2019-09-29 Thread Armin Kuster
From: Jason Wessel When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule: = ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/locale Please set FI

[OE-core] [warrior-next 40/54] glibc/glibc-locale: Fix do_stash_locale to work with usrmerge and multilibs

2019-09-29 Thread Armin Kuster
From: Jason Wessel The do_stash_locale was not working consistently across the 4 build configurations and the multilib, usrmerge configuration would fail entirely with the obscure message: | DEBUG: Executing shell function do_prep_locale_tree | tar: i18n: Cannot stat: No such file or directory |

[OE-core] [warrior-next 34/54] glib-2.0: fix CVE-2019-13012

2019-09-29 Thread Armin Kuster
From: Anuj Mittal Signed-off-by: Anuj Mittal Signed-off-by: Armin Kuster --- .../glib-2.0/glib-2.0/CVE-2019-13012.patch | 40 ++ meta/recipes-core/glib-2.0/glib-2.0_2.58.3.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta/recipes-core/glib-2

[OE-core] [warrior-next 45/54] libxcrypt: Fix the build with -Os

2019-09-29 Thread Armin Kuster
From: Adrian Bunk | In file included from ../git/lib/alg-des.c:66: | ../git/lib/alg-des.c: In function '_crypt_des_set_key': | ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline] | be32_to_cpu (const unsigned c

[OE-core] [warrior-next 42/54] gcc-8.3: Security fix for CVE-2019-14250

2019-09-29 Thread Armin Kuster
From: Armin Kuster Affects < 9.2 Signed-off-by: Armin Kuster Signed-off-by: Armin Kuster --- meta/recipes-devtools/gcc/gcc-8.3.inc | 1 + .../gcc/gcc-8.3/CVE-2019-14250.patch | 44 ++ 2 files changed, 45 insertions(+) create mode 100644 meta/re

[OE-core] [warrior-next 41/54] glibc / glibc-locale: Fix stash_locale determinism problems

2019-09-29 Thread Armin Kuster
From: Jason Wessel When using sstate, or performing an incremental build any change to the do_stash_locale() will cause a build failure because do_stash_locale() was destroying the results obtained from the do_install() with several mv operations. A recent change to do_stash_locale() for a diffe

[OE-core] [warrior-next 43/54] kernel-fitimage: uboot-sign: fix missing signature

2019-09-29 Thread Armin Kuster
From: Jun Nie u-boot.bin with dtb & signature should be placed in ${B} so that it can be deployed by u-boot as expected. Otherwise, the version without signature is installed. Signed-off-by: Jun Nie Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/classes/uboot-sign.bbclass

[OE-core] [warrior-next 50/54] useradd: Fix build architecture corruption of sstate artefacts

2019-09-29 Thread Armin Kuster
From: Richard Purdie When mixing aarch64 and x86_64 host builds with common sstate, useradd failures were found. This was due to references to: /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo or /home/pokybuild/yocto-worker/qemuarm/bu

[OE-core] [warrior-next 46/54] libgpg-error: Fix build with gawk 5.x

2019-09-29 Thread Armin Kuster
From: Sean Nyekjaer Based on poky master, but for version 1.35 Signed-off-by: Sean Nyekjaer Signed-off-by: Armin Kuster --- .../libgpg-error-1.35-gawk5-support.patch | 161 + .../libgpg-error/libgpg-error_1.35.bb | 1 + 2 files changed, 162 insertio

[OE-core] [warrior-next 48/54] gcc: Security fix for CVE-2019-15847

2019-09-29 Thread Armin Kuster
From: Armin Kuster Affects <= 9.2.0 Dropped Changelog changes Signed-off-by: Armin Kuster --- meta/recipes-devtools/gcc/gcc-8.3.inc | 3 + .../gcc/gcc-8.3/CVE-2019-15847_p1.patch| 521 + .../gcc/gcc-8.3/CVE-2019-15847_p2.patch| 77 ++

[OE-core] [warrior-next 47/54] Curl: Security fix for CVE-2019-5482

2019-09-29 Thread Armin Kuster
From: Armin Kuster Source: curl.org MR: 99905 Type: Security Fix Disposition: Backport from https://github.com/curl/curl/commit/facb0e4662415b5f28163e853dc6742ac5fafb3d ChangeID: e0c807da8937f687a4b2e28eaa6b4b5a51845bc5 Description: Fixes CVE-2019-5482 - Affected versions: libcurl >= 7.19.4 to

[OE-core] [warrior-next 44/54] kernel-devsrc: tweak for v5.3+

2019-09-29 Thread Armin Kuster
From: Bruce Ashfield The 5.3 kernel has two changes that require tweaks to the minimal kernel-devsrc package. - 4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset] This change removes the need for arch/x86/purgatory/string.c and instead reuses a copy in arch/x86/boot

[OE-core] [warrior-next 49/54] multilib.bbclass: Reduce ALTERNATIVE_PRIORITY for extended recipes

2019-09-29 Thread Armin Kuster
From: Robert Yang Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake core-image-minimal update-alternatives: libtool has multiple providers with the same priority, please check /path/to/rootfs/usr/lib/opkg/

[OE-core] [warrior-next 51/54] useradd: Ensure do_populate_sysroot has dependency on useradd variables

2019-09-29 Thread Armin Kuster
From: Richard Purdie The do_populate_sysroot task doesn't rerun if you change any of the USERADD_PARAM or GROUPADD_PARAM variables, only do_package will. If another task depends on the recipe, this means it won't see any updated changes. This patch adds in the missing vardeps ensuring the cod

[OE-core] [warrior-next 54/54] cve-check: backport rewrite from master

2019-09-29 Thread Armin Kuster
From: Ross Burton As detailed at [1] the XML feeds provided by NIST are being discontinued on October 9th 2019. As cve-check-tool uses these feeds, cve-check.bbclass will be inoperable after this date. To ensure that cve-check continues working, backport the following commits from master to mov

[OE-core] [warrior-next 53/54] kernel-uboot: compress arm64 kernels

2019-09-29 Thread Armin Kuster
From: "Bedel, Alban" AArch64 images are not self-decompressing, thus usually much larger. Boot times can be reduced by compressing them in FIT and uImages. This commit is a backport of commit a725d188b5 (kernel-uboot: compress arm64 kernels) and commit 60bc7e180e (kernel-uboot: remove useless sp

[OE-core] [warrior-next 52/54] uboot: fixes to uboot-extlinux-config attribute values

2019-09-29 Thread Armin Kuster
From: Will Page The way this class uses overrides to support generation of multiple sections is subject to two different issues: 1) labels that conflict with existing override names causing the value for the conflicting label to be set for all labels, and 2) reusing the override list through each