[OE-core] [PATCH] runqemu: Stop passing bindir to the runqemu-ifup call

2023-06-20 Thread Alejandro Hernandez Samaniego
Since https://git.yoctoproject.org/poky/commit/?id=51063c1e6ac we need to pass exactly 2 arguments to runqemu-ifup, otherwise the script will return an error since bindir is no longer being used. However the call to runqemu-ifup from runqemu is still passing bindir as an argument resulting in the

[OE-core] [PATCH V3 2/3] kernel-module-split: use context manager to open files

2023-06-20 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- v3: new patch in added tu use context manager to open files .../kernel-module-split.bbclass | 23 --- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/meta/classes-recipe/kernel-module-split.bbclass

[OE-core] [PATCH V3 3/3] kernel: autoload and probeconf are handled by kernel-module-split

2023-06-20 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- meta/classes-recipe/kernel.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 81513173b1..91a33bcbdd 100644 --- a/meta/classes-recipe/kernel.bbclass +++

[OE-core] [PATCH V3 1/3] kernel-module-split: make autoload and probeconf distribution specific

2023-06-20 Thread Jose Quaresma
Also take the oportunity to only add configuration files to FILES and CONFFILES when they exist and are used. The modules-load.d [1] - Configure kernel modules to load at boot should install their configuration files in /usr/lib/modules-load.d. The modprobe.d [2] - Configuration directory for

Re: [OE-core] Langdale?

2023-06-20 Thread Steve Sakoman
Hi Mark, Send the patch to the list. Officially the branch is closed, but if no one objects I think I can take it. Steve On Tue, Jun 20, 2023 at 7:04 AM Mark Hatle wrote: > > I know there won't be any more releases of langdale (as well as automatic > backports for security and other things.)

[OE-core] [PATCH] package: fix src packaging path for nativesdk

2023-06-20 Thread Maxime Roussin-Bélanger
From: Maxime Roussin-Belanger Directory tree doesn't contain the correct structure when packaging for source files for the sdk. Since the structure is incorrect, they won't be part of the installed sdk. Having source files in nativesdk is necessary when using it as a development sysroot for

[OE-core][langdale] oeqa/qemurunner: update exception class for QMP API changes

2023-06-20 Thread Mark Hatle
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni (cherry picked from commit c1841ab1e7b4e078cea77001e83e733764bb65ea) Signed-off-by: Mark Hatle --- meta/lib/oeqa/utils/qemurunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core][PATCH] glib-networking: use correct error code in ptest

2023-06-20 Thread Trevor Gamblin
The eagain patch is currently using G_IO_ERROR_BUSY as part of the check to retry when the simul_read_thread test fails during ptests, but the actual error code is 27, which corresponds to G_IO_ERROR_WOULD_BLOCK. Change the check so that it looks for the right code. Signed-off-by: Trevor Gamblin

Re: [OE-core] [PATCH 2/2] insane: Improve patch-status layer filtering

2023-06-20 Thread Richard Purdie
On Tue, 2023-06-20 at 22:16 +0200, Luca Ceresoli wrote: > Hi Richard, > > On Mon, 19 Jun 2023 15:06:02 +0100 > "Richard Purdie" wrote: > > > Now that we have layer overrides, we can easily enable patch-status in > > ERROR_QA without the hardcoded code making it easier for other layers > > to

Re: [OE-core][PATCH] runqemu-gen-tapdevs: pass STAGING_BINDIR_NATIVE to ifup

2023-06-20 Thread Alejandro Hernandez Samaniego
Hello, Just to add more information to this, I've noticed a failure on my test environment today while trying to run -c testimage, apparently due to one of these fixes: Command '('sudo', '/home/vsts/poky/scripts/runqemu-ifup', '1001', '123',

Re: [OE-core] [PATCH] baremetal-helloworld: Update SRCREV to fix entry addresses for ARM architectures

2023-06-20 Thread Alejandro Hernandez Samaniego
On Fri, 16 Jun 2023 at 02:36, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2023-06-09 at 16:12 -0600, Alejandro Hernandez Samaniego wrote: > > Update to the latest SRCREV to bring fixes using the proper entry > > addresses for ARM architectures [1], as well as fixing a

Re: [OE-core][PATCH v6 1/2] RFC: cve-check: add option to add additional patched CVEs

2023-06-20 Thread Sanjaykumar kantibhai Chitroda -X (schitrod - E-INFO CHIPS INC at Cisco) via lists.openembedded.org
Dear Richard and Adrian, I appreciate efforts of Andrej and Peter, you guys have done a great job for improvement in CVE specific security area. As I mentioned information and importance of VEX status for future use case:

[OE-core][master][mickledore][kirkstone][PATCH] dbus: upgrade 1.14.6 -> 1.14.8

2023-06-20 Thread Xiangyu Chen
From: Xiangyu Chen Update dbus to 1.14.8 to fix CVE-2023-34969 and serveral bugs changes: https://gitlab.freedesktop.org/dbus/dbus/-/blob/f90d4f16933ee5153fe02c405eb883c9cb8f0ad5/NEWS commits: 55d11f57 doc/dbus-api-design: fix wrong closing tag a96f417f CI: Run a detached pipeline for merge

Re: [oe-core][kirkstone][PATCH V2 5/6] webkitgtk: fix CVE-2023-23517 CVE-2023-23518

2023-06-20 Thread Urade, Yogita via lists.openembedded.org
On 19-06-2023 19:33, Steve Sakoman wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. I wasn't able to take this patch because it too failed during do_patch at build time.

[OE-core] [PATCH 1/3] sysfsutils: fetch a supported fork from github

2023-06-20 Thread Ross Burton
From: Alexander Kanavin Debian does the same: https://packages.debian.org/source/sid/sysfsutils Signed-off-by: Alexander Kanavin --- meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[OE-core] [PATCH 2/3] sysfsutils: update 2.1.0 -> 2.1.1

2023-06-20 Thread Ross Burton
From: Alexander Kanavin Drop all patches, as issues are all fixed upstream. License-Update: clarification that GPL applies to all executables (not just test), formatting. Signed-off-by: Alexander Kanavin --- .../obsolete_automake_macros.patch| 15 -

[OE-core] [PATCH 3/3] sysfstools: don't install to base_libdir

2023-06-20 Thread Ross Burton
From: Ross Burton This library now ships a pkgconfig file but $base_libdir isn't in the search path, so can't be used. As the base_libdir/libdir split is pretty meaningless these days, simply stop installing into base_libdir. This was added to silence warnings from pcmciautils[1] but PCMCIA

Re: [OE-core] [PATCH 3/3] sysfstools: don't install to base_libdir

2023-06-20 Thread Luca Ceresoli via lists.openembedded.org
Hi Ross, On Tue, 20 Jun 2023 13:34:04 +0100 "Ross Burton" wrote: > From: Ross Burton I guess the Subject line should s/sysfstools/sysfsutils/, so I fixed that locally for my AB testing branch. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

[OE-core] [PATCH v2] python3-dbusmock: only recommend python3-pygobject

2023-06-20 Thread Ross Burton
From: Ross Burton dbusmock doesn't actually hard-depend on pygobject, some of the templates use it but it isn't mandatory. Change the RDEPENDS to RRECOMMENDS, and only recommend if g-i is enabled. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-dbusmock_0.29.0.bb | 3 ++-

Re: [OE-core] [PATCH V2 1/2] kernel-module-split: make autoload and probeconf distribution specific

2023-06-20 Thread Ola x Nilsson
On Mon, Jun 19 2023, Jose Quaresma wrote: > The modules-load.d [1] - Configure kernel modules to load at boot > should install their configuration files in /usr/lib/modules-load.d. > > The modprobe.d [2] - Configuration directory for modprobe > should install their configuration files in

[OE-core] Langdale?

2023-06-20 Thread Mark Hatle
I know there won't be any more releases of langdale (as well as automatic backports for security and other things.) However, I found a bug in the oeqa qemurunner (fixed in Mickledore). Would you be willing to take the backport fix (one line) or is the branch closed for further development?

Re: [OE-core] [PATCH V2 1/2] kernel-module-split: make autoload and probeconf distribution specific

2023-06-20 Thread Luca Ceresoli via lists.openembedded.org
Hello Jose, On Mon, 19 Jun 2023 23:13:43 + "Jose Quaresma" wrote: > The modules-load.d [1] - Configure kernel modules to load at boot > should install their configuration files in /usr/lib/modules-load.d. > > The modprobe.d [2] - Configuration directory for modprobe > should install their

[OE-core][PATCH v6 2/2] RFC: oeqa/selftest/cve_check: rework test to new cve status handling

2023-06-20 Thread Andrej Valek via lists.openembedded.org
- After introducing the CVE_STATUS and CVE_CHECK_STATUSMAP flag variables, CVEs could contain a more information for assigned statuses. - Add an example conversion in logrotate recipe. Signed-off-by: Andrej Valek --- meta/lib/oeqa/selftest/cases/cve_check.py | 26 +++

[OE-core][PATCH v6 0/2] RFC: CVE-check handling

2023-06-20 Thread Andrej Valek via lists.openembedded.org
After discussion in all parallel threads we proposed following variant which covers both expressed requirements to have very small number of different cve statuses and also very large number of them at the same time. This is a compromise version which maybe is not ideal but deals with conflicting

[OE-core][PATCH v6 1/2] RFC: cve-check: add option to add additional patched CVEs

2023-06-20 Thread Andrej Valek via lists.openembedded.org
- Replace CVE_CHECK_IGNORE with CVE_STATUS to be more flexible. The CVE_STATUS should contain an information about status wich is decoded in 3 items: - generic status: "Ignored", "Patched" or "Unpatched" - more detailed status enum - description: free text describing reason for status Examples of

[OE-core] Yocto Project Status 20 June 2023 (WW25)

2023-06-20 Thread Stephen Jolley
Current Dev Position: YP 4.3 M2 Next Deadline: 17th July 2023 YP 4.3 M2 build date Next Team Meetings: * Bug Triage meeting Thursday June 22nd 7:30 am PDT (

Re: [OE-core] [PATCH V2 1/2] kernel-module-split: make autoload and probeconf distribution specific

2023-06-20 Thread Jose Quaresma
Luca Ceresoli escreveu no dia terça, 20/06/2023 à(s) 14:57: > Hello Jose, > > On Mon, 19 Jun 2023 23:13:43 + > "Jose Quaresma" wrote: > > > The modules-load.d [1] - Configure kernel modules to load at boot > > should install their configuration files in /usr/lib/modules-load.d. > > > > The

[OE-core][kirkstone 0/9] Patch review

2023-06-20 Thread Steve Sakoman
Please review this set of changes for kirkstone and have comments back by end of day Thursday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5492 The following changes since commit 0e17a5a4f0e3301bf78f77bb5ca4aaf3e4dbc7af: Revert "ipk: Decode

[OE-core][kirkstone 1/9] nasm: fix CVE-2022-46457

2023-06-20 Thread Steve Sakoman
From: Archana Polampalli NASM v2.16 was discovered to contain a segmentation violation in the component ieee_write_file at /output/outieee.c. References: https://nvd.nist.gov/vuln/detail/CVE-2022-46457 Upstream patches:

[OE-core][kirkstone 2/9] iso-codes: upgrade 4.13.0 -> 4.15.0

2023-06-20 Thread Steve Sakoman
From: Wang Mingyu Changelog: == - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-3 - Translation updates for ISO 639-2 - Translation updates for ISO 3166-1 - Translation updates for ISO 3166-2 - Translation updates for ISO 3166-3 - Translation updates for ISO 639-2

[OE-core][kirkstone 3/9] go.bbclass: don't use test to check output from ls

2023-06-20 Thread Steve Sakoman
From: Martin Jansa * avoids possibly confusing error message in log.do_install like: ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory Signed-off-by: Martin Jansa Signed-off-by: Alexandre Belloni (cherry picked from commit

[OE-core][kirkstone 5/9] kernel: don't force PAHOLE=false

2023-06-20 Thread Steve Sakoman
From: Bruce Ashfield If a specific kernel provider or configuration wants to enable BTF and pahole analysis, it isn't currently possible due to the explicit definition to false in the base kernel build arguments. pahole is now detected by the kernel built itself, so unless pahole-native is

[OE-core][kirkstone 6/9] kmscube: Correct DEPENDS to avoid overwrite

2023-06-20 Thread Steve Sakoman
From: Ranjitsinh Rathod As part of the below commit, DEPENDS gets overwrite which is wrong Link: https://git.yoctoproject.org/poky/commit/?id=bd947d3343dcd96e79fc8157f32a2a087cd710a7 So correct the DEPENDS varibales Signed-off-by: Ranjitsinh Rathod Signed-off-by: Alexandre Belloni

[OE-core][kirkstone 4/9] conf: add nice level to the hash config ignred variables

2023-06-20 Thread Steve Sakoman
From: Lorenzo Arena This is needed as each user could be setting different nice levels while building, however this should not make the shared cache unusable. Signed-off-by: Lorenzo Arena Signed-off-by: Alexandre Belloni (cherry picked from commit 42784f9360345da1c01d988070253e7ffd5ac4ac)

[OE-core][kirkstone 7/9] oeqa/selftest/cases/devtool.py: skip all tests require folder a git repo

2023-06-20 Thread Steve Sakoman
From: Thomas Roos Devtool selftests require poky dir a git repo, when downloading poky as a tar, this is not the case. Those tests will now skipped. [YOCTO #12389] Signed-off-by: Thomas Roos Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core][kirkstone 8/9] staging.bbclass: do not add extend_recipe_sysroot to prefuncs of prepare_recipe_sysroot

2023-06-20 Thread Steve Sakoman
From: Chen Qi When running prepare_recipe_sysroot task, the extend_recipe_sysroot is run twice. What prepare_recipe_sysroot does is executing extend_recipe_sysroot, there's no need to add extend_recipe_sysroot to its prefuncs. Signed-off-by: Chen Qi Signed-off-by: Alexandre Belloni

[OE-core][kirkstone 9/9] lib/terminal.py: Add urxvt terminal

2023-06-20 Thread Steve Sakoman
From: Pavel Zhukov This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color [1] WARNING: Terminal screen is supported but did not start ERROR: No valid terminal found, unable to open devshell. Tried the