Re: [OE-core] [PATCH] core-image-sato: qemumips use 512 mem

2020-09-14 Thread Richard Purdie
On Sat, 2020-09-12 at 20:59 -0700, akuster wrote: > From: Armin Kuster > > Fixes: > > WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Couldn't login into > serial console as root using blank password > WARNING: core-image-sato-sdk-1.0-r0 do_testimage: The output: > root > <<< run_serial(): com

[OE-core][PATCH] lttng-modules: backport patch to fix build for linux-5.4.62+

2020-09-14 Thread Jens Rehsack
From: Jens Rehsack Backport patch from lttng-modules/stable-2.12 87b2aff fix: writeback: Fix sync livelock due to b_dirty_time processing (v5.9) with minor modfication to catch 6623c19042b6 writeback: Fix sync livelock due to b_dirty_time processing from linux/stable-5.4 v5.4.62+ Sign

[OE-core] [PATCH] bison: remove the parallel build patch

2020-09-14 Thread Yu, Mingli
From: Mingli Yu Remove the parallel build patch as the issue have already been fixed in bison 3.7.2(f7b642cf build: fix incorrect dependencies). Signed-off-by: Mingli Yu --- .../0001-bison-fix-the-parallel-build.patch | 63 --- meta/recipes-devtools/bison/bison_3.7.2.bb|

Re: [OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Peter Morrow
On Sat, Sep 12, 2020 at 12:37:28AM -0700, Khem Raj wrote: > On Fri, Sep 11, 2020 at 11:36 PM Andre McCurdy wrote: > > > > On Fri, Sep 11, 2020 at 10:04 PM Khem Raj wrote: > > > > > > > > > > > > On 9/11/20 10:33 AM, Andre McCurdy wrote: > > > > On Fri, Sep 11, 2020 at 10:21 AM Peter Morrow > > >

Re: [OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Peter Morrow
On Fri, Sep 11, 2020 at 10:04:00PM -0700, Khem Raj wrote: > > > On 9/11/20 10:33 AM, Andre McCurdy wrote: > > On Fri, Sep 11, 2020 at 10:21 AM Peter Morrow > > wrote: > >> > >> The default compression algorithm is gzip, this patch allows the default > >> to be changed via a bbappend file by sett

[OE-core] [PATCH v3] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Peter Morrow
The default compression algorithm is currently gzip, this patch allows the default to be changed by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid compression algorithm. Signed-off-by: Peter Morrow --- meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 3 +++ 1 file changed, 3 insertio

[OE-core] [PATCH v4] wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and bootimg-partition

2020-09-14 Thread Jamaluddin, Khairul Rohaizzat
From: Khairul Rohaizzat Jamaluddin Due to recent changes in bootimg-efi to include IMAGE_BOOT_FILES, when both bootimg-partition and bootimg-efi occur in a single .wks and IMAGE_BOOT_FILES are defined, files listed in IMAGE_BOOT_FILES will be duplicated in both partition. Since IMAGE_BOOT_FILES a

[OE-core] [PATCH v4] wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and bootimg-partition

2020-09-14 Thread Jamaluddin, Khairul Rohaizzat
From: Khairul Rohaizzat Jamaluddin Due to recent changes in bootimg-efi to include IMAGE_BOOT_FILES, when both bootimg-partition and bootimg-efi occur in a single .wks and IMAGE_BOOT_FILES are defined, files listed in IMAGE_BOOT_FILES will be duplicated in both partition. Since IMAGE_BOOT_FILES a

Re: [OE-core] [PATCH v2] cve-check: use ALLOWLIST

2020-09-14 Thread Ross Burton
On Mon, 14 Sep 2020 at 04:34, Lee Chee Yang wrote: > use allowlist instead of whitelist. > Replace CVE_CHECK_PN_WHITELIST with CVE_CHECK_PN_ALLOWLIST. This is a deprecated variable already, I wouldn't bother changing it. > Replace CVE_CHECK_WHITELIST with CVE_CHECK_ALLOWLIST. ALLOWLIST really i

Re: [OE-core] [PATCH v2] cve-check: use ALLOWLIST

2020-09-14 Thread Richard Purdie
On Mon, 2020-09-14 at 11:42 +0100, Ross Burton wrote: > On Mon, 14 Sep 2020 at 04:34, Lee Chee Yang > wrote: > > use allowlist instead of whitelist. > > Replace CVE_CHECK_PN_WHITELIST with CVE_CHECK_PN_ALLOWLIST. > > This is a deprecated variable already, I wouldn't bother changing it. If its de

[OE-core][dunfell 04/24] libx11 : fix CVE-2020-14344

2020-09-14 Thread Steve Sakoman
From: Lee Chee Yang fix CVE-2020-14344 with squashed patch. squashed patch include below patch, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/1703b9f3435079d3c6021e1ee2ec34fd4978103d https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 https:/

[OE-core][dunfell 02/24] xserver-xorg: fix CVE-2020-14347

2020-09-14 Thread Steve Sakoman
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman --- .../xserver-xorg/CVE-2020-14347.patch | 38 +++ .../xorg-xserver/xserver-xorg_1.20.8.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta/recipes-graphics/xorg-xser

[OE-core][dunfell 03/24] qemu: fix CVE-2020-14364 CVE-2020-14415

2020-09-14 Thread Steve Sakoman
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Steve Sakoman --- meta/recipes-devtools/qemu/qemu.inc | 2 + .../qemu/qemu/CVE-2020-14364.patch| 93 +++ .../qemu/qemu/CVE-2020-14415.patch| 37 3 files changed, 132 inse

[OE-core][dunfell 01/24] uninative: Upgrade to 2.9

2020-09-14 Thread Steve Sakoman
From: Khem Raj This supports glibc upto 2.32 which is now rolling into distributions Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 5cda8c7d642cfb72242c95f450e3391bd6537709) Signed-off-by: Armin Kuster Signed-off-by: Steve Sakoman --- meta/conf/distro/inclu

[OE-core][dunfell 00/24] Patch review

2020-09-14 Thread Steve Sakoman
Please review this next set of patches for dunfell and have comments back by end of day Wednesday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1381 The following changes since commit 210ebed1e9c2285d6e457bf03d1f1a1f3ddc7fda: package: get_pac

[OE-core][dunfell 08/24] autoconf: consolidate DEPENDS

2020-09-14 Thread Steve Sakoman
From: Ross Burton Depending on nativesdk- varients in a nativesdk build isn't correct, so just collapse the DEPENDS down and let bitbake do the right thing (which is leaving them as -native). Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 4864167ad4ed4c57e4

[OE-core][dunfell 13/24] selftest/signing: Ensure build path relocation is safe

2020-09-14 Thread Steve Sakoman
From: Richard Purdie Similarly to 04ee0e8b95cd8ed890374e0007f976684206b630, ensure only full build paths are replaced in the environment to avoid breaking buildtools. Signed-off-by: Richard Purdie (cherry picked from commit fcd0a9683af1a9155eabbd9056e3b46d4a931b2e) Signed-off-by: Steve Sakoman

[OE-core][dunfell 14/24] oeqa/concurrencytest: Improve builddir path manipulations

2020-09-14 Thread Steve Sakoman
From: Richard Purdie Its possible some patterns may cause problems with the current path manipulations, make a small tweak to try and avoid potential pathname overlap issues. Signed-off-by: Richard Purdie (cherry picked from commit 889005dc17d3e3b8eadee907ee2c05b8ff613285) Signed-off-by: Steve

[OE-core][dunfell 05/24] rpcbind: Use update-alternatives for rpcinfo

2020-09-14 Thread Steve Sakoman
From: Khem Raj rpcinfo is also provided vy netkit in meta-networking Signed-off-by: Khem Raj Signed-off-by: Richard Purdie (cherry picked from commit 28183dfd7446de9113773ab89edd0afb4ab82f7e) Signed-off-by: Steve Sakoman --- meta/recipes-extended/rpcbind/rpcbind_1.2.5.bb | 5 - 1 file ch

[OE-core][dunfell 16/24] ell: update to 0.33

2020-09-14 Thread Steve Sakoman
From: Oleksandr Kravchuk Changelog - Fix issue with uintset and number of bytes copied. - Fix issue with overflow in DHCP lease T2 computation. - Fix issue with side channel leak in l_ecc_scalar_new. - Fix issue with missing MSG_MORE in l_cipher_set_iv. - Add support for DHCP v6 client implementa

[OE-core][dunfell 12/24] systemd-serialgetty: Fix sed expression quoting

2020-09-14 Thread Steve Sakoman
From: Rahul Kumar Fix sed: -e expression #1, char 13: unterminated `s' command Error Message: | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'glibc', 'patch-native', 'quilt-native', 'gcc-cross-arm', 'gcc-runtime', 'linux-libc-headers', 'libg

[OE-core][dunfell 07/24] insane: only load real files as ELF

2020-09-14 Thread Steve Sakoman
From: Ross Burton The file path checks are passed an ELF object if the file is an ELF. It doesn't make a lot of sense to load symlinks to ELFs as if they're in the same package then the real file will be checked too. This should speed up do_package_qa slightly as libraries won't be scanned repea

[OE-core][dunfell 09/24] runqemu: Add a hook to allow it to renice

2020-09-14 Thread Steve Sakoman
From: Richard Purdie We have an issue where qemu is being starved of resources on our autobuilders. We can't raise its priority without special capacilties, therefore add a hook which if present can allow this to happen using an executable "~/runqemu-renice". Signed-off-by: Richard Purdie (cher

[OE-core][dunfell 10/24] image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference

2020-09-14 Thread Steve Sakoman
From: Matt Madison Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback mechanism for getting the rootfs timestamp. However, it uses curly braces around the variable name, which causes bitbake resolve the variable reference, rather than the shell, so the git timestamp never gets used.

[OE-core][dunfell 06/24] gdk-pixbuf: add tests PACKAGECONFIG

2020-09-14 Thread Steve Sakoman
From: Ross Burton Convert the installed-tests toggle from simply respecting PTEST_ENABLED to a PACKAGECONFIG, so that it can be turned on/off in the usual manner. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 08e61ffae6056055b56f93678bcbb9fd71f3303e) Signe

[OE-core][dunfell 17/24] curl: add vendors to CVE_PRODUCT to exclude false positives

2020-09-14 Thread Steve Sakoman
From: Ross Burton To avoid false positives (such as CVE-2010-0734, rubygems:curl), expand the CVE_PRODUCT list to include all the vendors that have been used. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit bb265122cccea9466405fdd924ad10ce8cda0dec) Signed-of

[OE-core][dunfell 20/24] cve-check.bbclass: always save cve report

2020-09-14 Thread Steve Sakoman
From: akuster The cve-check file should be saved always, it has good info. Put a copy in the log dir as cve-summary with symlinks to latest run. [Yocto #13974] Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie (cherry picked from commit 859849c7b594d844819ad8c3f7d8325388d94b93) Signe

[OE-core][dunfell 11/24] oe-publish-sdk: fix layers init via ssh

2020-09-14 Thread Steve Sakoman
From: Adrian Freihofer Escaping does not work in my use case. It must be escaped for python, ssh and shell as well as for different versions of echo. Let's try it a little less elegant, but hopefully more reliable. Signed-off-by: Adrian Freihofer Signed-off-by: Richard Purdie (cherry picked fr

[OE-core][dunfell 15/24] gnutls: CVE-2020-24659

2020-09-14 Thread Steve Sakoman
From: Zhixiong Chi Backport the CVE patch from the usptream: https://gitlab.com/gnutls/gnutls.git commit 29ee67c205855e848a0a26e6d0e4f65b6b943e0a Signed-off-by: Zhixiong Chi Signed-off-by: Richard Purdie (cherry picked from commit 84b1bc500e318657cb7a8a189b59cc63bc91dca3) Signed-off-by: Steve

[OE-core][dunfell 19/24] libxml2: Fix CVE-2020-24977

2020-09-14 Thread Steve Sakoman
From: Ovidiu Panait GNOME project libxml2 v2.9.10 and earlier have a global Buffer Overflow vulnerability in xmlEncodeEntitiesInternal at libxml2/entities.c. The issue has been fixed in commit 8e7c20a1 (20910-GITv2.9.10-103-g8e7c20a1). Reference: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1

[OE-core][dunfell 22/24] cve-check/cve-update-db-native: use lockfile to fix usage under multiconfig

2020-09-14 Thread Steve Sakoman
From: Chris Laplante Previously CVE_CHECK_DB_FILE / CVE_CHECK_DB_DIR was the same across multiconfigs which led to a race condition wherein multiple cve-update-db-native:do_populate_cve_db tasks could attempt to write to the same sqlite database. This led to the following task failure: Error

[OE-core][dunfell 23/24] cve-update-db-native: use context manager for cve_f

2020-09-14 Thread Steve Sakoman
From: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit ff422652e1b5db62205fafc75ce56bb5951d478d) Signed-off-by: Steve Sakoman --- meta/recipes-core/meta/cve-update-db-native.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-core/meta

[OE-core][dunfell 24/24] cve-check: avoid FileNotFoundError if no do_cve_check task has run

2020-09-14 Thread Steve Sakoman
From: Chris Laplante For example, if you just run 'bitbake cve-update-db-native' in a clean build system, |cve_tmp_file| won't exist yet. Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit dd4473f3d8e1c1a587b6de660775e4b46ddc5fad) Signed-off-by: Steve Sakoma

[OE-core][dunfell 18/24] cmake: whitelist CVE-2016-10642

2020-09-14 Thread Steve Sakoman
From: Ross Burton This CVE is specific to the npm package that can install cmake, so isn't relevant to our cmake recipe. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 8e74ed809ec4c1f61264ecf5be4bc319e5e07766) Signed-off-by: Steve Sakoman --- meta/recipes

[OE-core][dunfell 21/24] cve-update-db-native: add progress handler

2020-09-14 Thread Steve Sakoman
From: Chris Laplante Signed-off-by: Chris Laplante Signed-off-by: Richard Purdie (cherry picked from commit 79ae2e82b8ec11578177f428060b568d6c7d44ca) Signed-off-by: Steve Sakoman --- .../recipes-core/meta/cve-update-db-native.bb | 90 ++- 1 file changed, 47 insertions(+), 43 d

Re: [OE-core][dunfell 12/24] systemd-serialgetty: Fix sed expression quoting

2020-09-14 Thread Steve Sakoman
In reviewing new master branch commits this morning I see that this patch introduces a bug and a fix patch has been merged. I will drop this patch from the final pull request and will submit it next week along with the fix (systemd-serialgetty: Replace sed quoting using ' with " to allow var expan

[OE-core] [meta-oe][PATCH 2/5] arch-armv8a.inc: Add existing tunings

2020-09-14 Thread Jon Mason
Migrate the existing tune settings to arch-armv8a.inc. This will allow for a single file to include all of the tunings of a family of processors. This will reduce the proliferation of unique files per processor currently occurring in conf/machine/include/ Signed-off-by: Jon Mason --- meta/conf

[OE-core] [meta-oe][PATCH 1/5] arch-armv8-2a.inc: Add Cortex-A55 tunings

2020-09-14 Thread Jon Mason
Migrate the settings in tune-cortexa55.inc to arch-armv8-2a.inc. This will allow for a single file to include all of the tunings of a family of processors. This will reduce the proliferation of unique files per processor currently occurring in conf/machine/include/ Signed-off-by: Jon Mason ---

[OE-core] [meta-oe][PATCH 0/5] ARMv8 Tune reorg

2020-09-14 Thread Jon Mason
There is a large number of Arm Tune files located in meta/conf/machine/include/, and to support the current and upcoming Arm cores, more are needed. Adding more files is simply going to make it harder to find the relevant ones for an OE/YP developer/user. Also, there are problems with stale and e

[OE-core] [meta-oe][PATCH 3/5] qemuarm64: change tuning

2020-09-14 Thread Jon Mason
The previous patch caused the tuning file referenced here to be removed. Use the new one with the new DEFAULTTUNE. Signed-off-by: Jon Mason --- meta/conf/machine/qemuarm64.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/mach

[OE-core] [meta-oe][PATCH 4/5] arch-armv8a.inc: Add tunes for supported ARMv8a cores

2020-09-14 Thread Jon Mason
Add tunes for all the ARMv8a cores currently supported in GCC. This is: Cortex-A34, Cortex-A73, and Cortex-A73-Cortex-A35. Signed-off-by: Jon Mason --- meta/conf/machine/include/arm/arch-armv8a.inc | 49 +++ 1 file changed, 49 insertions(+) diff --git a/meta/conf/machine/includ

[OE-core] [meta-oe][PATCH 5/5] arch-armv8-2a.inc: Add tunes for supported ARMv8.2a cores

2020-09-14 Thread Jon Mason
Add tunes for all the ARMv8.2a cores currently supported in GCC. This is: Cortex-A65, Cortex-A65AE, Cortex-A75, Cortex-A76, Cortex-A76AE, Cortex-A77, Neoverse-E1, Neoverse-N1, Cortex-A75-Cortex-A55, and Cortex-A76-Cortex-A55. Signed-off-by: Jon Mason --- .../machine/include/arm/arch-armv8-2a.in

Re: [OE-core] [PATCH] qemu: always define unknown_lock_type

2020-09-14 Thread Khem Raj
On Sun, Sep 13, 2020 at 11:29 PM Yu, Mingli wrote: > > > > On 9/14/20 2:02 PM, Khem Raj wrote: > > > > > > On 9/13/20 10:44 PM, Yu, Mingli wrote: > >> > >> > >> On 9/14/20 1:26 PM, Khem Raj wrote: > >>> > >>> > >>> On 9/13/20 6:50 PM, Yu, Mingli wrote: > > > On 9/10/20 6:41 PM, Ross

Re: [OE-core] [meta-oe][PATCH 0/5] ARMv8 Tune reorg

2020-09-14 Thread Martin Jansa
> This reduces the number of files from 12 to 2 for ARMv8a, and that is excluding the 13 I am adding in this series that would otherwise be unique files. I don't have a strong opinion on this anymore, but is the number of the include files the issue here? I think the issue is the number of possib

[OE-core] [PATCH 2/3] cve-update-db-native: move -journal checking into do_fetch

2020-09-14 Thread Chris Laplante via lists.openembedded.org
It was always questionable to do this in an anonymous function, but now with multiconfig it is a critical mistake and leads to more strange "Exception: sqlite3.OperationalError: disk I/O error" errors. Signed-off-by: Chris Laplante --- meta/recipes-core/meta/cve-update-db-native.bb | 14

[OE-core] [PATCH 3/3] cve-update-db-native: remove unused variable

2020-09-14 Thread Chris Laplante via lists.openembedded.org
Signed-off-by: Chris Laplante --- meta/recipes-core/meta/cve-update-db-native.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb index 242fbc2f30..cf2b251e21 100644 --- a/meta/recipes-core/meta/cve

[OE-core] [PATCH 1/3] cve-update-db-native: be less magical about checking whether the cve-check class is enabled

2020-09-14 Thread Chris Laplante via lists.openembedded.org
Signed-off-by: Chris Laplante --- meta/recipes-core/meta/cve-update-db-native.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb index e4e2451bfd..c2f713312f 100644 --- a/meta/re

Re: [OE-core] [PATCH v2] cve-check: use ALLOWLIST

2020-09-14 Thread Khem Raj
On Mon, Sep 14, 2020 at 3:42 AM Ross Burton wrote: > > On Mon, 14 Sep 2020 at 04:34, Lee Chee Yang wrote: > > use allowlist instead of whitelist. > > Replace CVE_CHECK_PN_WHITELIST with CVE_CHECK_PN_ALLOWLIST. > > This is a deprecated variable already, I wouldn't bother changing it. > > > Replace

Re: [OE-core] [PATCH] qemu: always define unknown_lock_type

2020-09-14 Thread Joe Slater
Your patch makes the error always occur at run time. We can preserve the intent of producing an error at link time with the attached patch which was NOT accepted upstream. I think they do not like the name QLNULL. In any event, it does work for all optimizations and applies to the latest mast

Re: [OE-core] [PATCH v3] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Andre McCurdy
On Mon, Sep 14, 2020 at 2:59 AM Peter Morrow wrote: > > The default compression algorithm is currently gzip, this patch allows the > default to be changed by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid > compression algorithm. > > Signed-off-by: Peter Morrow > --- > meta/recipes-devtools/squa

Re: [OE-core] [PATCH] bison: remove the parallel build patch

2020-09-14 Thread Andre McCurdy
On Mon, Sep 14, 2020 at 1:35 AM Yu, Mingli wrote: > > From: Mingli Yu > > Remove the parallel build patch as the issue have already been > fixed in bison 3.7.2(f7b642cf build: fix incorrect dependencies). If parallel make issues have been fixed upstream then this workaround should be removed fro

Re: [OE-core] [PATCH] core-image-sato: qemumips use 512 mem

2020-09-14 Thread Khem Raj
On 9/14/20 12:13 AM, Richard Purdie wrote: On Sat, 2020-09-12 at 20:59 -0700, akuster wrote: From: Armin Kuster Fixes: WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Couldn't login into serial console as root using blank password WARNING: core-image-sato-sdk-1.0-r0 do_testimage: The outp

Re: [OE-core] [PATCH 7/8] bind: Add 9.16.x

2020-09-14 Thread Andrey Zhizhikin
Gentle ping here regarding this issue. Is thre anyone else experiencing this with IPK packages? On Thu, Sep 10, 2020 at 9:12 AM Andrey Zhizhikin wrote: > > On Thu, Sep 10, 2020 at 1:53 AM Khem Raj wrote: > > > > > > > > On 9/7/20 2:17 PM, Andrey Zhizhikin wrote: > > > On Mon, Sep 7, 2020 at 5:2

Re: [OE-core] [PATCH 7/8] bind: Add 9.16.x

2020-09-14 Thread Khem Raj
On 9/14/20 10:55 AM, Andrey Zhizhikin wrote: Gentle ping here regarding this issue. Is thre anyone else experiencing this with IPK packages? Alright thanks for being persist it has paid off :) I have taken a look at it and sent a fix to ml On Thu, Sep 10, 2020 at 9:12 AM Andrey Zhizhik

[OE-core] [PATCH] bind: Inherit update-alternatives

2020-09-14 Thread Khem Raj
We are setting u-a for nslookup and it won't work unless we inherit this class Signed-off-by: Khem Raj Cc: Andrey Zhizhikin --- meta/recipes-connectivity/bind/bind_9.16.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bind/bind_9.16.5.bb b/meta

Re: [OE-core][PATCH] lttng-modules: backport patch to fix build for linux-5.4.62+

2020-09-14 Thread Bruce Ashfield
In my latest round of linux-yocto reference updates, I ran into these same issues, but I needed to pull in more of the fixes on the 2.12 branch than just this to get things building against 5.8.9. I didn't need to tweak any of the patches for v5.4.64+ here. I have 10 backported patches and confir

Re: [OE-core][PATCH] lttng-modules: backport patch to fix build for linux-5.4.62+

2020-09-14 Thread Martin Jansa
Is this exact backport from lttng-modules repo? I came across this issue in https://github.com/agherzan/meta-raspberrypi/pull/722 and https://github.com/lttng/lttng-modules/commit/817e02f9e256b8f2cbb9e3125eb061757b83bd4a + https://github.com/lttng/lttng-modules/commit/b6af46d166c48c9e59600a60b5a2a

Re: [OE-core] [PATCH 7/8] bind: Add 9.16.x

2020-09-14 Thread Andrey Zhizhikin
On Mon, Sep 14, 2020 at 9:04 PM Khem Raj wrote: > > > > On 9/14/20 10:55 AM, Andrey Zhizhikin wrote: > > Gentle ping here regarding this issue. > > > > Is thre anyone else experiencing this with IPK packages? > > Alright thanks for being persist it has paid off :) I have taken a look > at it and s

Re: [OE-core] [PATCH] core-image-sato: qemumips use 512 mem

2020-09-14 Thread Richard Purdie
On Mon, 2020-09-14 at 10:27 -0700, Khem Raj wrote: > > On 9/14/20 12:13 AM, Richard Purdie wrote: > > On Sat, 2020-09-12 at 20:59 -0700, akuster wrote: > > > From: Armin Kuster > > > > > > Fixes: > > > > > > WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Couldn't login > > > into > > > seria

[OE-core] [PATCH 1/6] linux-yocto/5.8: update to v5.8.8

2020-09-14 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: 4f447bf95fdc Linux 5.8.8 830b08e696f7 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 548c1175051d cfg80211: regulatory: reject invalid hints 9206b

[OE-core] [PATCH 6/6] lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ builds

2020-09-14 Thread Bruce Ashfield
From: Jens Rehsack Backporting the 10 patches since the lttng 2.12.2 release. We'll drop them once .3 is released, but for now, we need the fixes to build against the latest 5.4, 5.8 and 5.9 kernels. We also bump the devupstream SRCREV to pickup the same changes. Signed-off-by: Bruce Ashfield

[OE-core] [PATCH 5/6] linux-yocto/5.4: update to v5.4.65

2020-09-14 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 6c3d34dea2fc Linux 5.4.65 ddb279d64b72 net: disable netpoll on fresh napis 09c45065257b tipc: fix shutdown() of connectionless socket b95eb482c288 taprio: Fix us

[OE-core] [PATCH 0/6] linux-yocto: consolidated pull request

2020-09-14 Thread Bruce Ashfield
From: Bruce Ashfield Richard, Here's the latest round of -stable updates for the active kernels in master. My first runs ran into the lttng-modules issues, and I've included a 10 patch backport of changes from lttng 2.12.x to address the various build issues I found against 5.4 and 5.8. There'

[OE-core] [PATCH 3/6] linux-yocto/config: configuration warning cleanup

2020-09-14 Thread Bruce Ashfield
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/.: 7d52eb95f6d ti-am335x: Clean up useless and badly formatted fragments 5fd04e4da78 features/nf_tables: remove duplicate entry Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_5.8.bb |

[OE-core] [PATCH 2/6] linux-yocto/5.4: update to v5.4.64

2020-09-14 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 6ffabce36fc8 Linux 5.4.64 beaf13ed8e97 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr() 58c3e86d42d2 cfg80211: regulatory: reject invalid hints 08ee

[OE-core] [PATCH 4/6] linux-yocto/5.8: update to v5.8.9

2020-09-14 Thread Bruce Ashfield
From: Bruce Ashfield Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: f82f36b2fb1d Linux 5.8.9 cdba995d2f19 mptcp: free acked data before waiting for more memory 655e1af6aecd net: disable netpoll on fresh napis 6f0e276cda3e tipc: f

Re: [OE-core] [PATCH 6/6] lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ builds

2020-09-14 Thread Bruce Ashfield
I squashed the other lttng patch to create this, and it looks like the author is messed up and some kind of strange encoding on one of the embedded patches. git send email complained on the way out. Bruce On Mon, Sep 14, 2020 at 6:34 PM wrote: > > From: Jens Rehsack > > Backporting the 10 patc

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request

2020-09-14 Thread Bruce Ashfield
And also for the record, there's a 7th patch in my series that didn't make it into my pull request (a configuration change) Richard grabbed it from the branch. If anyone is trying to manually apply the series, it will fail. Bruce On Mon, Sep 14, 2020 at 6:34 PM Bruce Ashfield via lists.openembe

Re: [OE-core][PATCH] lttng-modules: backport patch to fix build for linux-5.4.62+

2020-09-14 Thread Bruce Ashfield
For my 5.4 and 5.8 and 5.9 builds of linux-yocto, I went ahead and backported the 10 changes that are on the tip of the 2.12 branch, since they are all bug fixes and support changes, they were safe to grab. My builds across the versions worked with that, and I sent that variant in my series a few

Re: [OE-core] [meta-oe][PATCH 0/5] ARMv8 Tune reorg

2020-09-14 Thread Jon Mason
On Mon, Sep 14, 2020 at 11:32 AM Martin Jansa wrote: > > > This reduces the number of files from 12 to 2 for ARMv8a, and that is > > excluding the 13 I am adding in this series that would otherwise be unique > > files. > > I don't have a strong opinion on this anymore, but is the number of the

[OE-core] [PATCH] insane: check for missing update-alternatives inherit

2020-09-14 Thread Andrey Zhizhikin
Add a package QA check to test if the recipe sets ALTERNATIVE variable for any of its packages, and does not inherit update-alternatives class. This causes the do_rootfs to fail since a proper alternative cannot be created. Signed-off-by: Andrey Zhizhikin --- meta/classes/insane.bbclass | 9

[OE-core] nativesdk-linux-libc-headers with two different MACHINEs

2020-09-14 Thread Douglas via lists.openembedded.org
For the experiment, I wanted to see whether I could achieve no task signature change when building nativesdk-glibc for two different MACHINEs, but I found that the do_install sigdata for nativesdk-linux-libc-headers changed. We're installing the linux-libc-headers for the build machine, so it s

Re: [OE-core] nativesdk-linux-libc-headers with two different MACHINEs

2020-09-14 Thread Khem Raj
I think MACHINE should not matter for nativesdk packages. Does something like this work diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 7f2692c51a..bb1dfd84c0 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -10,7 +10,7 @@ LIBCO

Re: [OE-core] nativesdk-linux-libc-headers with two different MACHINEs

2020-09-14 Thread Douglas via lists.openembedded.org
Yes it did, thanks! On 15/09/20 12:31 pm, Khem Raj wrote: I think MACHINE should not matter for nativesdk packages. Does something like this work diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 7f2692c51a..bb1dfd84c0 100644 --- a/meta/classes/nativesdk.bbcla

[OE-core] [PATCH] nativesdk: Re-define MACHINE = SDKMACHINE

2020-09-14 Thread Khem Raj
Ensures, that change in MACHINE variable does not trigger rebuilds of nativesdk packages, target machine should not matter for nativesk packages Signed-off-by: Khem Raj --- meta/classes/nativesdk.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/nativesdk.b

Re: [OE-core] nativesdk-linux-libc-headers with two different MACHINEs

2020-09-14 Thread Khem Raj
OK please test this patch for full SDK builds and any other testing you do and report back if it works in all cases. On Mon, Sep 14, 2020 at 5:42 PM Douglas Royds wrote: > > Yes it did, thanks! > > > On 15/09/20 12:31 pm, Khem Raj wrote: > > > I think MACHINE should not matter for nativesdk packa

[OE-core] [PATCH] nativesdk: Set TARGET_CC_KERNEL_ARCH for sdk

2020-09-14 Thread Douglas via lists.openembedded.org
We install the linux-libc-headers for the build machine, so take control of the TARGET_CC_KERNEL_ARCH. In this way, we get no task signature changes when we build nativesdk-linux-libc-headers with different MACHINEs, avoiding a build-through from glibc up. Signed-off-by: Douglas Royds --- meta/c

[OE-core] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2020-09-14 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading: https://wiki.yoctoproject.org/wiki/Bug_Triage#Newc

Re: [OE-core] [PATCH 6/6] lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ builds

2020-09-14 Thread Jens Rehsack
> Am 15.09.2020 um 00:35 schrieb Bruce Ashfield : > > I squashed the other lttng patch to create this, and it looks like the > author is messed up and some kind of strange encoding on one of the No worries about that :) > embedded patches. > > git send email complained on the way out. > > Br

Re: [OE-core] [PATCH 6/6] lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ builds

2020-09-14 Thread Jens Rehsack
> Am 15.09.2020 um 00:34 schrieb Bruce Ashfield : > > From: Jens Rehsack > > Backporting the 10 patches since the lttng 2.12.2 release. We'll drop > them once .3 is released, but for now, we need the fixes to build Yet another question: there is a stable-2.12 branch ... wouldn't it be reason