Re: [OE-core] [PATCH 03/13] qemu: switch to '-vga std' emulated hardware from vmware/cirrus for x86/mips

2019-10-10 Thread Changqing Li
Hi, After switch from -vga vmware to -vga std (use qemux86-64), start image by "runqemu nographic", Memory used by process Xorg raised a lot,   for my image,   from ~%7 to ~%34 (check by ps aux --sort -rss) also check memory by command "systemctl status xserver-nodm", raised from ~60M to

[OE-core] [PATCH 07/10] bind: do not RDEPEND on bash

2019-10-10 Thread Alexander Kanavin
Nothing in the target installation actually needs it. Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/bind/bind_9.11.5-P4.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb b/meta/recipes-connectivity/bind/bind_9.11.5-P4.bb

[OE-core] [PATCH 03/10] python3: make gdbm optional

2019-10-10 Thread Alexander Kanavin
The use case is building a gpl3-free image, without having to rely on outdated recipes from meta-gplv2 layer. Signed-off-by: Alexander Kanavin --- ...fig-append-STAGING_LIBDIR-python-sys.patch | 10 +++--- ...ON3HOME-is-set-use-instead-of-PYTHON.patch | 10 +++---

[OE-core] [PATCH 06/10] iproute2: make elfutils support optional

2019-10-10 Thread Alexander Kanavin
The use case is as well allowing gpl3-free builds without pulling in outdated meta-gpl2 recipes. Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/iproute2/iproute2.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH 09/10] license.bbclass: split incompatible license check into a helper function

2019-10-10 Thread Alexander Kanavin
This would help with checking incompatible licenses at do_rootfs step in image creation, where it is beneficial to pass the license string directly to the function. Signed-off-by: Alexander Kanavin --- meta/classes/license.bbclass | 25 ++--- 1 file changed, 14

[OE-core] [PATCH 05/10] libcheck: split /usr/bin/checkmk into its own package

2019-10-10 Thread Alexander Kanavin
This allows not pulling in gawk, which is gplv3 licensed when only the libcheck library itself is needed. checkmk is a development tool that writes out a C boilerplate for tests. Signed-off-by: Alexander Kanavin --- meta/recipes-support/libcheck/libcheck_0.12.0.bb | 9 +++-- 1 file changed,

[OE-core] [PATCH 02/10] perl: make gdbm optional

2019-10-10 Thread Alexander Kanavin
Recent versions of gdbm are gplv3, so in some scenarios it is beneficial to not depend on it. (thanks Ross for leading the way with the db option :) Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/perl/perl_5.30.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[OE-core] [PATCH 04/10] python3: un-break disabling the readline PACKAGECONFIG

2019-10-10 Thread Alexander Kanavin
Previously the readline module would have been built regardless of readline's presence in the sysroot, and the recipe would fail at package_qa. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python3_3.7.4.bb | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [OE-core] [RFC PATCH 2/2] license_image.bbclass: check and reject packages which have incompatible licenses

2019-10-10 Thread Mikko.Rapeli
On Wed, Oct 09, 2019 at 09:41:28PM +0200, Alexander Kanavin wrote: > It wouldn't be too hard to add a condition that checks the (image-specific) > whitelist, I just wanted to gather a bit of feedback for the overall idea :) I like the idea. I'm building images with e.g. GPLv3 forbidden but I

Re: [OE-core] [PATCH 03/13] qemu: switch to '-vga std' emulated hardware from vmware/cirrus for x86/mips

2019-10-10 Thread Alexander Kanavin
On Thu, 10 Oct 2019 at 08:16, Changqing Li wrote: > After switch from -vga vmware to -vga std (use qemux86-64), start image > by "runqemu nographic", > > Memory used by process Xorg raised a lot, for my image, from ~%7 to > ~%34 (check by ps aux --sort -rss) > > also check memory by command

[OE-core] [PATCH] python: Fix CVE-2019-10160

2019-10-10 Thread changqing.li
From: Changqing Li Signed-off-by: Changqing Li --- .../python/python/bpo-36742-cve-2019-10160.patch | 81 ++ meta/recipes-devtools/python/python_2.7.16.bb | 1 + 2 files changed, 82 insertions(+) create mode 100644

[OE-core] [PATCH 01/10] socat: turn hard readline dependency into an option

2019-10-10 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/socat/socat_1.7.3.3.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb index 067f7c64443..1dbbe5cd558

[OE-core] [PATCH 08/10] elfutils: do not depend on target libtool

2019-10-10 Thread Alexander Kanavin
This seems to be entirely unneeded. Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/elfutils/elfutils_0.177.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.177.bb b/meta/recipes-devtools/elfutils/elfutils_0.177.bb

[OE-core] [PATCH 10/10] license_image.bbclass: check and reject packages which have incompatible licenses

2019-10-10 Thread Alexander Kanavin
The use case is setting INCOMPATIBLE_LICENSE per image, rather than as an awkward, and too strict global setting. This for example would allow building development images with gplv3 tools, but production images without them, and checking that nothing gpl3-licensed gets into the latter. Examples

[OE-core] [thud 02/12] qemu: Fix 4 CVEs

2019-10-10 Thread Armin Kuster
From: Dan Tran Fixes CVE-2018-18954, CVE-2019-3812, CVE-2019-6778, and CVE-2019-8934. Also deleted duplicated patch and cleanup. Signed-off-by: Dan Tran [fixup for thud-next] Signed-off-by: Armin Kuster --- .../qemu/qemu/CVE-2018-10839.patch | 2 +-

[OE-core] [thud 01/12] oeqa/selftest/context: ensure log directory exists

2019-10-10 Thread Armin Kuster
From: Chen Qi Ensure log directory exists to avoid the following error. FileNotFoundError: [Errno 2] No such file or directory: '/.../build-selftest/tmp/log/oe-selftest-results-20181207043431.log' Signed-off-by: Chen Qi Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster ---

[OE-core] [thud 03/12] elfutils: CVE fix for elfutils

2019-10-10 Thread Armin Kuster
From: Shubham Agrawal CVE: CVE-2019-7664.patch CVE: CVE-2019-7665.patch Sign off: Shubham Agrawal Signed-off-by: Armin Kuster --- meta/recipes-devtools/elfutils/elfutils_0.175.bb | 2 + .../elfutils/files/CVE-2019-7664.patch | 65 +

[OE-core] [thud 04/12] unzip: fix CVE-2019-13232

2019-10-10 Thread Armin Kuster
From: Dan Tran Signed-off-by: Dan Tran Signed-off-by: Armin Kuster --- .../unzip/unzip/CVE-2019-13232_p1.patch| 33 ++ .../unzip/unzip/CVE-2019-13232_p2.patch| 356 + .../unzip/unzip/CVE-2019-13232_p3.patch| 121 +++

[OE-core] [thud 06/12] perl: Fix CVE-2018-18311 to 18314

2019-10-10 Thread Armin Kuster
From: Dan Tran Signed-off-by: Dan Tran [Perl before 5.26.3 and 5.28.x before 5.28.1] Signed-off-by: Armin Kuster --- .../perl/perl/CVE-2018-18311.patch | 183 ++ .../perl/perl/CVE-2018-18312.patch | Bin 0 -> 2125 bytes

[OE-core] [thud 05/12] json-c: Don't --enable-rdrand

2019-10-10 Thread Armin Kuster
From: 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

[OE-core] [thud 00/12] Thud pull request

2019-10-10 Thread Armin Kuster
Please merge these to thud mainline Clean AB full build The following changes since commit f5be8c8309a932cde507ba24d042880a922df0b6: linux-yocto/4.14: update to v4.14.143 (2019-09-24 08:28:04 -0700) are available in the git repository at:

[OE-core] [meta][PATCH v2] ofono: tidy up the recipe

2019-10-10 Thread Nicola Lunghi
- remove the inc file - run oe-stylize on the recipe --- meta/recipes-connectivity/ofono/ofono.inc | 39 -- meta/recipes-connectivity/ofono/ofono_1.30.bb | 51 +-- 2 files changed, 46 insertions(+), 44 deletions(-) delete mode 100644

[OE-core] [thud 11/12] gnupg: Do not apply -Woverride-init guard for gcc >= 9

2019-10-10 Thread Armin Kuster
From: Khem Raj Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- ...1-Woverride-init-is-not-needed-with-gcc-9.patch | 31 ++ ...c-use-a-custom-value-for-the-location-of-.patch | 6 ++--- meta/recipes-support/gnupg/gnupg/relocate.patch

[OE-core] Fwd: [meta][PATCH] ofono: run oe-stylize over recipe

2019-10-10 Thread nick83ola
Hi Ross, yes I was thinking the same thing. Also the init file has some issue. Last thing: there's any particular reason why is better to use a tar.gz instead of git? Because git makes creating patches a lot easier. Thanks Nick On Fri, 4 Oct 2019 at 16:46, Ross Burton wrote: > On 03/10/2019

[OE-core] [thud 08/12] wget: Security fixes CVE-2018-20483

2019-10-10 Thread Armin Kuster
From: Andrii Bordunov via Openembedded-core Source: http://git.savannah.gnu.org/cgit/wget.git/ Type: Security Fix Disposition: Backport from http://git.savannah.gnu.org/cgit/wget.git/ Description: Fixes CVE-2018-20483 Signed-off-by: Aviraj CJ [Affects Wget before 1.20.1] Signed-off-by: Armin

[OE-core] [thud 09/12] qemu: fix build issue on new hosts with glibc 2.30

2019-10-10 Thread Armin Kuster
This fixes the following error: TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration 254 | _syscall0(int, gettid) |^~

[OE-core] [thud 07/12] sqlite3: Security fix for CVE-2019-8457

2019-10-10 Thread Armin Kuster
From: Shubham Agrawal Signed-off-by: Shubham Agrawal [Cleaned up patch] Signed-off-by: Armin Kuster --- .../sqlite/files/CVE-2019-8457.patch | 126 + meta/recipes-support/sqlite/sqlite3_3.23.1.bb | 1 + 2 files changed, 127 insertions(+) create mode

[OE-core] [thud 10/12] libgpg-error: Fix build with gawk 5.x

2019-10-10 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 [backported to thud yocto# 13580] Signed-off-by: Armin Kuster --- .../libgpg-error-1.35-gawk5-support.patch | 161 +

[OE-core] [thud 12/12] uninative: Update to 2.7 release

2019-10-10 Thread Armin Kuster
From: Michael Halstead The 2.7 release updates glibc to version 2.30. Recently added to openSUSE Tumbleweed and needed for Fedora Core 31. Signed-off-by: Michael Halstead Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- meta/conf/distro/include/yocto-uninative.inc | 10

[OE-core] ✗ patchtest: failure for ofono: tidy up the recipe

2019-10-10 Thread Patchwork
== Series Details == Series: ofono: tidy up the recipe Revision: 1 URL : https://patchwork.openembedded.org/series/20417/ 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

Re: [OE-core] [PATCH 03/13] qemu: switch to '-vga std' emulated hardware from vmware/cirrus for x86/mips

2019-10-10 Thread Changqing Li
On 10/10/19 6:02 PM, Alexander Kanavin wrote: On Thu, 10 Oct 2019 at 08:16, Changqing Li > wrote: After switch from -vga vmware to -vga std (use qemux86-64),  start image by "runqemu nographic", Memory used by process Xorg raised a lot,   for my

[OE-core] [PATCH 2/2] meta: add missing description in recipes-extended

2019-10-10 Thread Maxime Roussin-Bélanger
Signed-off-by: Maxime Roussin-Bélanger --- meta/recipes-extended/cups/cups.inc | 4 meta/recipes-extended/timezone/timezone.inc | 2 ++ meta/recipes-extended/wget/wget.inc | 5 + 3 files changed, 11 insertions(+) diff --git a/meta/recipes-extended/cups/cups.inc

[OE-core] [PATCH 1/2] shadow: update homepage and bugtracker

2019-10-10 Thread Maxime Roussin-Bélanger
The previous homepage and issue tracker is no longer available. Remove some trailing whitespace Signed-off-by: Maxime Roussin-Bélanger --- meta/recipes-extended/shadow/shadow-sysroot_4.6.bb | 6 +++--- meta/recipes-extended/shadow/shadow.inc| 8 2 files changed, 7