[OE-core][langdale 28/28] oeqa context.py: fix --target-ip comment to include ssh port number

2023-02-11 Thread Steve Sakoman
From: Mikko Rapeli Providing ssh port number is supported too with "--target-ip 192.168.0.10:22". Signed-off-by: Mikko Rapeli Signed-off-by: Richard Purdie (cherry picked from commit 637919b9df0abc06da5b2f9b389cf25376bd6b7c) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/runtime/context.py

[OE-core][langdale 27/28] lsof: fix old override syntax

2023-02-11 Thread Steve Sakoman
From: Ulrich Ölmann Signed-off-by: Ulrich Ölmann Signed-off-by: Richard Purdie (cherry picked from commit 052f767f85eddab9b6e5d78268d2732f4a65d446) Signed-off-by: Steve Sakoman --- meta/recipes-extended/lsof/lsof_4.95.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core][langdale 24/28] libc-locale: Fix on target locale generation

2023-02-11 Thread Steve Sakoman
From: Richard Purdie If on target locale generation is used, it fails at first boot showing errors about a missing directory. Ensure the directory exists. Signed-off-by: Richard Purdie (cherry picked from commit f2844c9f1bbb729562063d96a3d1cc9d44dafa0a) Signed-off-by: Steve Sakoman ---

[OE-core][langdale 26/28] recipe_sanity: fix old override syntax

2023-02-11 Thread Steve Sakoman
From: Ulrich Ölmann Signed-off-by: Ulrich Ölmann Signed-off-by: Richard Purdie (cherry picked from commit 18eeea6fcd8ade49390a978134f51646da2f7764) Signed-off-by: Steve Sakoman --- meta/classes/recipe_sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core][langdale 25/28] bootchart2: Fix usrmerge support

2023-02-11 Thread Steve Sakoman
From: Harald Seiler bootchart2 introduced a variable EARLY_PREFIX for supporting systems with usrmerge [1]. Right now, the recipe here is sidestepping this feature and trying to replicate it by overwriting other variables and even patching the sources. This wasn't enough, however, as there are

[OE-core][langdale 23/28] perf: Enable debug/source packaging

2023-02-11 Thread Steve Sakoman
From: Richard Purdie This was disabled in 2014[1] due to an error message which as far as I can tell, no longer occurs. Having debug information and source files present will make debugging reproducibility issues much easier so remove this line as it appears no longer needed. Fix up a few

[OE-core][langdale 22/28] testimage: Fix error message to reflect new syntax

2023-02-11 Thread Steve Sakoman
From: Alejandro Hernandez Samaniego Signed-off-by: Alejandro Enedino Hernandez Samaniego Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit ec73d19d78e8f30ff9b817490c23bcdf8ea47c86) Signed-off-by: Steve Sakoman --- meta/classes-recipe/testimage.bbclass

[OE-core][langdale 21/28] sstate.bbclass: Fetch non-existing local .sig files if needed

2023-02-11 Thread Steve Sakoman
From: Tobias Hagelborn For the case of a global shared state cache and a local sstate cache with a mix of signed and un-signed entries, there is a case where a .sig is missing locally, but may exist in the global sstate cache. For this case, do not just fail sstate fetch, but rather backfill

[OE-core][langdale 20/28] oeqa/selftest/locales: Add selftest for locale generation/presence

2023-02-11 Thread Steve Sakoman
From: Louis Rannou [YOCTO #9070] Add a new selftest to validate locale generation. This selftest builds a complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS, ENABLE_BINARY_LOCALE_GENERATION set. Signed-off-by: Louis Rannou Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][langdale 19/28] apt: fix do_package_qa failure

2023-02-11 Thread Steve Sakoman
From: Changqing Li bitbake nativesdk-apt failed with error: ERROR: nativesdk-apt-2.4.5-r0 do_package_qa: QA Issue: nativesdk-apt installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs] an empty dir apt is

[OE-core][langdale 18/28] meta: remove True option to getVar and getVarFlag calls (again)

2023-02-11 Thread Steve Sakoman
From: Martin Jansa * True is default since 2016 and most layers were already updated not to pass this parameter where not necessary, e.g. oe-core was updated couple times, first in: https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f

[OE-core][langdale 17/28] glslang: branch rename master -> main

2023-02-11 Thread Steve Sakoman
From: Mingli Yu Branch name is changed from master to main. Signed-off-by: Mingli Yu Signed-off-by: Richard Purdie (cherry picked from commit 65ee4c1067ee5d73c198eed8ed2f1c9a60d5df96) Signed-off-by: Steve Sakoman --- meta/recipes-graphics/glslang/glslang_1.3.216.0.bb | 2 +- 1 file changed,

[OE-core][langdale 16/28] httpserver: add error handler that write to the logger

2023-02-11 Thread Steve Sakoman
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit a4bcca3123685f410fc99e5cc23f2b8f39fd0a63) Signed-off-by: Steve Sakoman --- meta/lib/oeqa/utils/httpserver.py | 6 ++ 1 file changed, 6 insertions(+) diff --git

[OE-core][langdale 15/28] sdkext/cases/devtool: pass a logger to HTTPService

2023-02-11 Thread Steve Sakoman
From: Ross Burton Pass our logger to the HTTPService instance so we can see the requests and any errors. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 3485df2ff61143aac03d92300b7bac4e5d6b2427) Signed-off-by: Steve Sakoman ---

[OE-core][langdale 14/28] oeqa/qemurunner: do not use Popen.poll() when terminating runqemu with a signal

2023-02-11 Thread Steve Sakoman
From: Alexander Kanavin This does not actually guarantee that the child runqemu process has completely exited: poll() may return prematurely while the SIGTERM handler in runqemu is still running. This thwarts the rest of the processing, and may terminate the handler before it completes. Use

[OE-core][langdale 13/28] scons.bbclass: Make MAXLINELENGTH overridable

2023-02-11 Thread Steve Sakoman
From: Khem Raj older scons do not support MAXLINELENGTH and some packages still may be using older scons, these recipes can clear SCONS_MAXLINELENGTH in them and get going. Set SCONS_MAXLINELENGTH = "" in such recipes. Signed-off-by: Khem Raj Cc: Martin Jansa Signed-off-by: Richard Purdie

[OE-core][langdale 12/28] scons: Pass MAXLINELENGTH to scons invocation

2023-02-11 Thread Steve Sakoman
From: Khem Raj This helps in overcoming a problem when using scons with ccache enabled. When commands get longer, then it resorts to using response files to do the operations e.g. @/tmp/tmp96j6icra.lnk when this response file is inboked by compiler it works ok, however, this does not when ccache

[OE-core][langdale 11/28] make-mod-scripts: Ensure kernel build output is deterministic

2023-02-11 Thread Steve Sakoman
From: Richard Purdie The definitions in linux-kernel-base are needed to ensure the generated headers are consistent. This was a small step that was missing from the previous changes to linux-kernel-base as both kernel-devsrc and make-mod-scripts need this information defined consistently.

[OE-core][langdale 10/28] gdk-pixbuf: do not use tools from gdk-pixbuf-native when building tests

2023-02-11 Thread Steve Sakoman
From: Alexander Kanavin The patch that allows to do so has not been accepted upstream, and wasn't correctly working as it was running a native executable (gdk-pixbuf-query-loaders) with target .so plugins. On the other hand, out of 20+ (currently 23) tests only three require running binaries

[OE-core][langdale 09/28] classes/fs-uuid: Fix command output decoding issue

2023-02-11 Thread Steve Sakoman
From: Pawel Zalewski The default return value from subprocess.check_output is an encoded byte. The applied fix will decode the value to a string. Signed-off-by: Pawel Zalewski Signed-off-by: Alexandre Belloni (cherry picked from commit 046769fa952a511865c416b80d10af6287147fb7) Signed-off-by:

[OE-core][langdale 07/28] vulkan-samples: branch rename master -> main

2023-02-11 Thread Steve Sakoman
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 74bf535ca5cbcfb38c18775ece863d53dd216008) Signed-off-by: Steve Sakoman --- meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core][langdale 08/28] buildtools-tarball: set pkg-config search path

2023-02-11 Thread Steve Sakoman
From: Ross Burton The buildtools-tarball includes a native sysroot with .pc files, and in the case of buildtools-extended-tarball a pkg-config binary too. If we're using the host pkg-config then it doesn't know to search in the native sysroot. If we're using our pkg-config then it searches in

[OE-core][langdale 06/28] python3-pytest: depend on python3-tomli instead of python3-toml

2023-02-11 Thread Steve Sakoman
From: Arnout Vandecappelle Since version 7.0.0 [1], pytest switched from the toml package to the tomli package for parsing pyproject.toml configuration files [2]. This change is not immediately noticable during tests, because the toml/tomli module is only important if a pyproject.toml is

[OE-core][langdale 05/28] kernel/linux-kernel-base: Fix kernel build artefact determinism issues

2023-02-11 Thread Steve Sakoman
From: Richard Purdie With the 6.1 kernel we've seen reproducibility/determinism issues where the kernel seems to rebuild headers referencing the hostname or local user. kernel-devsrc building after the kernel seemed to trigger it in some cases. Moving the definitions to the bbclass used by all

[OE-core][langdale 04/28] linux-yocto/5.15: update to v5.15.91

2023-02-11 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 9cf4111cdf94 Linux 5.15.91 14cc13e433e1 perf/x86/amd: fix potential integer overflow on shift of a int 033636b32258 netfilter: conntrack: unify established states for SCTP paths

[OE-core][langdale 03/28] linux-yocto/5.15: update to v5.15.89

2023-02-11 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 3bcc86eb3ed9 Linux 5.15.89 37c18ef49ec3 pinctrl: amd: Add dynamic debugging for active GPIOs a5841b81adfa Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"

[OE-core][langdale 02/28] git: upgrade to 2.37.5

2023-02-11 Thread Steve Sakoman
From: Chee Yang Lee upgrade include fix for CVE-2022-23521 and CVE-2022-41903 Signed-off-by: Chee Yang Lee Signed-off-by: Steve Sakoman --- meta/recipes-devtools/git/{git_2.37.4.bb => git_2.37.5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename

[OE-core][langdale 01/28] git: ignore CVE-2022-41953

2023-02-11 Thread Steve Sakoman
From: Ross Burton This is specific to Git-for-Windows. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit c8849af809e0213d43e18e5d01067eeeb61b330d) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/git/git_2.37.4.bb | 2 ++ 1 file changed, 2

[OE-core][langdale 00/28] Patch review

2023-02-11 Thread Steve Sakoman
Please review this set of patches for langdale and have comments back by end of day Tuesday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/4920 The following changes since commit ab39d244cb844c9d183296945a095c17fdfef29e: Fix missing leading

Re: [OE-core] [PATCH 1/2] rust-android-sparse: add lightweight simg2img/img2simg implementation

2023-02-11 Thread Alexander Kanavin
But is it necessary or desirable to have it in core? This does seem like something that belongs in meta-oe rather. Alex On Sat, 11 Feb 2023 at 16:38, Dmitry Baryshkov wrote: > > The Android's simg2img/img2simg comes from android-tools, which is a > huge package with lots of dependencies on its

[OE-core] [PATCH 1/2] rust-android-sparse: add lightweight simg2img/img2simg implementation

2023-02-11 Thread Dmitry Baryshkov
The Android's simg2img/img2simg comes from android-tools, which is a huge package with lots of dependencies on its own. It resides inside meta-oe rather than OE-Core. Add lightweight tool to handle sparse images, which is small enough to be pushed into OE-Core. Signed-off-by: Dmitry Baryshkov

[OE-core] [PATCH 2/2] image_types.bbclass: add support for sparse images

2023-02-11 Thread Dmitry Baryshkov
Add Support for sparse conversion to be able to generate sparse images. Signed-off-by: Dmitry Baryshkov --- meta/classes-recipe/image_types.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/image_types.bbclass

[OE-core] [PATCH 2/2] linux-firmware: add yamato fw files to qcom-adreno-a2xx package

2023-02-11 Thread Dmitry Baryshkov
Newest linux-firmware release got firmware for Adreno A200. Add these two files to the ${PN}-qcom-adreno-a2xx package. As these files are licensed under a separate BSD-3-Clause license, add separate license package too. Signed-off-by: Dmitry Baryshkov ---

[OE-core] [PATCH 1/2] linux-firmware: properly set license for all Qualcomm firmware

2023-02-11 Thread Dmitry Baryshkov
It is not enough to depend on the ${PN}-qcom-license package. Set LICENSE variable for all the qcom packages to point to the proper license. Signed-off-by: Dmitry Baryshkov --- .../linux-firmware/linux-firmware_20230117.bb | 25 +++ 1 file changed, 25 insertions(+) diff --git

Re: [OE-core] [PATCH] scons.bbclass: Make MAXLINELENGTH overridable

2023-02-11 Thread Steve Sakoman
On Fri, Feb 10, 2023 at 11:22 PM Martin Jansa wrote: > > Steve, > > I've noticed that you have: > b0ea91 scons: Pass MAXLINELENGTH to scons invocation > in contrib/stable/kirkstone-nut, but not this follow-up fix. Got it! Thanks, Steve > On Thu, Feb 2, 2023 at 9:41 AM Khem Raj wrote: >>

Re: [OE-core] [PATCH] scons.bbclass: Make MAXLINELENGTH overridable

2023-02-11 Thread Martin Jansa
Steve, I've noticed that you have: b0ea91 scons: Pass MAXLINELENGTH to scons invocation in contrib/stable/kirkstone-nut, but not this follow-up fix. Please either take both of them or neither. Cheers, On Thu, Feb 2, 2023 at 9:41 AM Khem Raj wrote: > older scons do not support

Re: [oe-core][PATCH] graphene: disable neon support on arm 32bits

2023-02-11 Thread Richard Purdie
On Sat, 2023-02-11 at 09:26 +0100, Markus Volk wrote: > From: Pablo Saavedra > > This disables neon support on arm devices only because it crashes otherwise. > > Upstream-status: Reported [https://github.com/ebassi/graphene/issues/215] > Signed-off-by: Khem Raj > --- >

Re: [oe-core][PATCH] graphene: disable neon support on arm 32bits

2023-02-11 Thread Markus Volk
This fix was recently added to meta-oe. Move the patch to oe-core, because graphene is needed here to build gtk4. I also sent a patch to remove graphene from meta-oe. Am Sa, 11. Feb 2023 um 09:26:09 +0100 schrieb Markus Volk : From: Pablo Saavedra > This disables

[oe-core][PATCH] graphene: disable neon support on arm 32bits

2023-02-11 Thread Markus Volk
From: Pablo Saavedra This disables neon support on arm devices only because it crashes otherwise. Upstream-status: Reported [https://github.com/ebassi/graphene/issues/215] Signed-off-by: Khem Raj --- meta/recipes-graphics/graphene/graphene_1.10.8.bb | 3 +++ 1 file changed, 3 insertions(+)