[oe-core][PATCH] packagegroup-base.bb: remove wpa_supplicant preset from packagegroup-base-wifi

2022-08-26 Thread Markus Volk
This removes wpa_supplicant from packagegroup-base-wifi so that the decision of which wireless daemon to use can be made within the recipes. Signed-off-by: Markus Volk --- meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [RFC PATCH] cve-check: close cursors as soon as possible

2022-08-26 Thread Ross Burton
We can have multiple processes reading the database at the same time, and cursors only release their locks when they're garbage collected. This might be the cause of random sqlite errors on the autobuilder, so explicitly close the cursors when we're done with them. Signed-off-by: Ross Burton

Re: [OE-core] [RFC] Rust Oe-Selftest implementation

2022-08-26 Thread Randy MacLeod
Naveen, Thanks for submitting this as an RFC as I requested. I've made some comments below but I think we're mostly looking for feedback from Richard and others who are interested. On 2022-08-26 05:37, Pgowda wrote: From: pgowda There are lots of whitespace warnings when I apply this

Re: [OE-core] [PATCH 1/5] bitbake-layers: add a command to save the active build configuration as a template into a layer

2022-08-26 Thread Alexander Kanavin
On Fri, 26 Aug 2022 at 17:25, Luca Ceresoli wrote: > Testing with this series produced some failures: > > error: pathspec 'yocto-4.0' did not match any file(s) known to git > > Looks like is is adding the poky-contrib remote but not poky itself. > >

Re: [OE-core] [PATCH 1/5] bitbake-layers: add a command to save the active build configuration as a template into a layer

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex, On Thu, 25 Aug 2022 22:34:47 +0200 "Alexander Kanavin" wrote: > This is the reverse of setting up a build by pointing TEMPLATECONF to a > directory > with a template and running '. oe-init-build-env': this takes the config > files from build/conf, > replaces site-specific paths in

[OE-core] [PATCH 3/3] libgcrypt: rewrite ptest

2022-08-26 Thread Ross Burton
Instead of installing pieces of the build system, we can install the test driver (which can also be used to list the files needed) and run the tests directly. Signed-off-by: Ross Burton --- .../libgcrypt/files/no-native-gpg-error.patch | 18 ++

[OE-core] [PATCH 1/3] libgcrypt: remove obsolete pkgconfig install

2022-08-26 Thread Ross Burton
libgcrypt.pc has been built and installed by libgcrypt since 1.9.0[1], so the manual install can be removed. [1] 97194b422bc89a6137f4e218d4cdee118c63e96e Signed-off-by: Ross Burton --- meta/recipes-support/libgcrypt/libgcrypt_1.10.1.bb | 6 -- 1 file changed, 6 deletions(-) diff --git

[OE-core] [PATCH 2/3] libgcrypt: remove obsolete patch

2022-08-26 Thread Ross Burton
This patch was added in 2017 to fix an ICE in GCC. GCC no longer ICEs, so the patch isn't needed anymore. Of note is that the random failures in ptest are in the test being patched, so maybe this is causing subtle breakage. Signed-off-by: Ross Burton ---

Re: [OE-core] [master][PATCH] image_types: add 7-Zip support in conversion types and commands

2022-08-26 Thread Livius
I can not use 'git send-email' because my workstation is not configured to be able to send any mail. You can use my patch, the content is available under '--' what is need to for it, or I can copy and paste it and re-send to this thread. But in 2022, I really recommend to you to improve your

Re: [OE-core] [pseudo][PATCH] pseudo_util: Fix resolving relative paths from "/"

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Tomi, On Wed, 24 Aug 2022 23:09:51 +0200 "Tomi Belan" wrote: > On Wed, Aug 24, 2022 at 10:40 PM Luca Ceresoli > wrote: > > > canonical and yet starts with a slash. This happens when pseudo_cwd is > > > "/" or > > ^^ > > starts -> ends? > > Oops, yes, of course.

Re: [OE-core] [poky][PATCH] Fix npm to use https rather than http

2022-08-26 Thread Neil Horman
Copy that, thanks! On Fri, Aug 26, 2022, 7:57 AM Ross Burton wrote: > > > On 26 Aug 2022, at 11:43, Luca Ceresoli via lists.openembedded.org > wrote: > > > > Apparently you prepared this patch within the poky git repository. You > > shouldn't do that, poky is an integration layer and should

[OE-core] [PATCH] bitbake.conf: set BB_DEFAULT_UMASK using ??=

2022-08-26 Thread Rasmus Villemoes via lists.openembedded.org
Currently, there's no way for the user's site.conf, local.conf or similar to set BB_DEFAULT_UMASK, because those files are included by bitbake.conf prior to the unconditional assignment of BB_DEFAULT_UMASK. To make that possible, use a weak default assignment instead. This is also consistent with

[OE-core] [dunfell][PATCH] golang: Fix several security issue in go

2022-08-26 Thread Hitendra Prajapati
Source: https://github.com/golang/go MR: 120628, 120631 Type: Security Fix Disposition: Backport from https://github.com/golang/go/commit/ed2f33e1a7e0d18f61bd56f7ee067331d612c27e && https://github.com/golang/go/commit/ed2f33e1a7e0d18f61bd56f7ee067331d612c27e ChangeID:

Re: [OE-core] [poky][PATCH] Fix npm to use https rather than http

2022-08-26 Thread Ross Burton
> On 26 Aug 2022, at 11:43, Luca Ceresoli via lists.openembedded.org > wrote: > > Apparently you prepared this patch within the poky git repository. You > shouldn't do that, poky is an integration layer and should not be used > for bitbake development. > > Since you want to patch bitbake, you

Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Alexander Kanavin
On Fri, 26 Aug 2022 at 12:27, Luca Ceresoli wrote: > Oh, no! I'm not receiving any poky@ emails anymore! The last I got is > from August 23. On the website my subscription seems OK, and there is > nothing in my spam folder. And, last but not least, the website does > not seem to allow downloading

Re: [OE-core] bitbake fetchall & populate_sdk

2022-08-26 Thread Jose Quaresma
Hi Phil, To fetch all recipes needed to run a specified task you can run: bitbake -c populate_sdk myimage --runall=fecth Jose Phil Reid escreveu no dia sexta, 26/08/2022 à(s) 06:25: > G'day All, > > How can I run fetchall so that it will also fetch all package sources > related to the sdk as

Re: [OE-core] [poky][PATCH] Fix npm to use https rather than http

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hello Neil, thank you for your patch. On Thu, 25 Aug 2022 16:42:50 -0400 "Neil Horman" wrote: > Hit this error while building nlf-native recently: > { > "error": { > "summary": "URI malformed", > "detail": "" > } > } > > Some poking about led me to discover that: > 1) The npm.py

Re: [OE-core] [PATCH 4/5] scripts/oe-setup-layers: add a script that restores the layer configuration from a json file

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex, On Thu, 25 Aug 2022 22:34:50 +0200 "Alexander Kanavin" wrote: > This script can be used directly from poky or oe-core, or can be copied > directly > into alayer or any other repository - it is self-suffucient and requires only > python3 alayer -> a layer suffucient -> sufficient

Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex, On Fri, 26 Aug 2022 11:08:15 +0200 "Alexander Kanavin" wrote: > On Fri, 26 Aug 2022 at 11:04, Luca Ceresoli wrote: > > > I've sent a separate patch for meta-yocto to poky@ list, does that help? > > > > Oops, I can't find any such patch in the poky@ list. > > This: >

Re: [OE-core] [master][PATCH] image_types: add 7-Zip support in conversion types and commands

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hello Livius, thank you for your patch! I have a few comments, see below. On Thu, 25 Aug 2022 12:59:34 -0700 "Livius" wrote: > I added to support 7-Zip in conversion types/commands. It is fully > configurable in compression level, method and file extension. > > From: "Benjamin Szőke"  >

[OE-core] [RFC] Rust Oe-Selftest implementation

2022-08-26 Thread Pgowda
From: pgowda Implemented Rust Oe-Selftest on the latest Rust sources with modifications. Rust testsuite will be merged with Rust to avoid duplication. rust-testsuite.inc modifications will be merged into rust.inc file. There were errors encountered during the rust-testsuite build which are

Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Alexander Kanavin
On Fri, 26 Aug 2022 at 11:04, Luca Ceresoli wrote: > > I've sent a separate patch for meta-yocto to poky@ list, does that help? > > Oops, I can't find any such patch in the poky@ list. This: https://lists.yoctoproject.org/g/poky/message/12870 Alex -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [OE-core] [PATCH 1/2] meta/conf: move default configuration templates into meta/conf/templates/default

2022-08-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex, On Thu, 25 Aug 2022 15:45:21 +0200 "Alexander Kanavin" wrote: > I've sent a separate patch for meta-yocto to poky@ list, does that help? Oops, I can't find any such patch in the poky@ list. Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

[OE-core] [PATCH v2] apr: Cache configure tests which use AC_TRY_RUN

2022-08-26 Thread Khem Raj
AC_TRY_RUN macro means the test needs to run to find the result and we are cross compiling so this will always get wrong results, this results in miscompiling apache2 on musl because it disables rlimit (ac_cv_struct_rlimit) wrongly. All these variables are determined with AC_TRY_RUN checks