[OE-core] [langdale,master][PATCH] insane.bbclass: Allow hashlib version that only accepts on parameter

2022-10-06 Thread Mark Hatle
Some versions of hashlib don't appear to implement the second FIPS related argument. Detect this and support both versions. Signed-off-by: Mark Hatle Signed-off-by: Mark Hatle --- This was found on an internal Ubuntu 18.04 container. Unfortunately I don't have access to the container itself bu

Re: [OE-core] [PATCH] dbus: Fix incorrect path for container sockets

2022-10-06 Thread Sean Anderson via lists.openembedded.org
On 10/6/22 5:02 PM, Sean Anderson wrote: > I noticed the following warning from systemd-tmpfiles while booting: > > /usr/lib/tmpfiles.d/dbus.conf:13: Line references path below legacy > directory /var/run/, updating /var/run/dbus/containers > > The offending line [1] is > > d @EXPANDE

[OE-core] [PATCH] dbus: Fix incorrect path for container sockets

2022-10-06 Thread Sean Anderson via lists.openembedded.org
I noticed the following warning from systemd-tmpfiles while booting: /usr/lib/tmpfiles.d/dbus.conf:13: Line references path below legacy directory /var/run/, updating /var/run/dbus/containers The offending line [1] is d @EXPANDED_RUNSTATEDIR@/dbus/containers 0755 @DBUS_USER@ - - - We d

[OE-core] [PATCH] go: add support to build on ppc64le

2022-10-06 Thread Andrew Geissler
Verified by building on a ppc64le based system Signed-off-by: Andrew Geissler --- meta/recipes-devtools/go/go-binary-native_1.19.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/go/go-binary-native_1.19.bb b/meta/recipes-devtools/go/go-binary-native_1.19.bb index ca4

[OE-core] [PATCH v2] perf: make scripting depend on setuptools3

2022-10-06 Thread Bruce Ashfield
From: Bruce Ashfield It looks like this should have been an error for a while, but it only started showing up in my 6.x linux-yocto-dev testing. Without the inherit of setuptool3, we get a module missing error during configure and the build obviously fails. Tested against 5.x and 6.x kernels.

Re: [OE-core] [PATCH 1/2] opkg: use a git clone, not a dynamic snapshot

2022-10-06 Thread Ross Burton
Sorry, got carried away whilst battling a cold. I retract this patch, but stand by the opkg-utils patch. Ross From: Alex Stewart Date: Thursday, 6 October 2022 at 16:52 To: Ross Burton Cc: nd , openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/2] opkg: use a git clone

Re: [OE-core] [PATCH 1/2] opkg: use a git clone, not a dynamic snapshot

2022-10-06 Thread Alex Stewart
NACK. The downloads.yoctoproject.org fileserver isn't a dynamic cgit snapshot. Those are static tarballs that I manually create every opkg release. [1] [1] https://git.yoctoproject.org/opkg/tree/scripts/make-dist.sh On 10/6/22 08:31, Ross Burton wrote: opkg fetches using a cgit snapshot of

Re: [OE-Core][kirkstone][PATCH] qemu: Fix CVE-2021-3750 for qemu

2022-10-06 Thread Steve Sakoman
On Wed, Oct 5, 2022 at 11:01 PM Michael Opdenacker wrote: > > Hi Virendra > > > Thanks for the patch! > > On 01.10.22 07:52, Virendra Thakur via lists.openembedded.org wrote: > > Attached patch file also. > > > > *From:* open

Re: [OE-core] [PATCH 2/3] perf: make scripting depend on setuptools3

2022-10-06 Thread Bruce Ashfield
On Thu, Oct 6, 2022 at 9:43 AM Ross Burton wrote: > > On 6 Oct 2022, at 14:29, Bruce Ashfield wrote: > > I'm not particularly concerned if the extra RDEPENDS arrives with > > this, since if it is acceptable for other packages inheriting the > > setuptools (I thought it was build support only!), i

Re: [OE-core] [meta-zephyr][kirkstone][PATCH] nrf52840-mdk-usb-dongle.conf: Add new machine from makerdiary

2022-10-06 Thread Ross Burton
This should go to yo...@lists.yoctoproject.org, not oe-core. Cheers, Ross > On 6 Oct 2022, at 14:23, philippe.co...@astrolabe.coop via > lists.openembedded.org > wrote: > > From: Philippe Coval > > It was tested with zephyr-openthread-rcp > along Oniro's IoT gateway blueprint > > For the r

[OE-core] [PATCH][kirkstone] image_types_wic.bbclass: fix cross binutils dependency

2022-10-06 Thread Martin Jansa
From: Chen Qi Enable multilib and wic at the same time and we'll meet the following error. ERROR: Nothing PROVIDES 'virtual/i686-wrsmllib32-linux-binutils' Adjust the dependency to take multilib into consideration. Signed-off-by: Chen Qi Signed-off-by: Luca Ceresoli --- meta/classes/image

Re: [OE-core] [PATCH 2/3] perf: make scripting depend on setuptools3

2022-10-06 Thread Ross Burton
On 6 Oct 2022, at 14:29, Bruce Ashfield wrote: > I'm not particularly concerned if the extra RDEPENDS arrives with > this, since if it is acceptable for other packages inheriting the > setuptools (I thought it was build support only!), it really should be > ok for perf as well. In particular since

[OE-core] [PATCH 1/2] opkg: use a git clone, not a dynamic snapshot

2022-10-06 Thread Ross Burton
opkg fetches using a cgit snapshot of a tag, which is not reproducible as the tag could move, not reliable as a future dynamic snapshot could have a different checksum, and a waste of CPU load as these tarballs are built on demand. Switch opkg to use a proper git clone of the relevant SHA. Signed

[OE-core] [PATCH 2/2] opkg-utils: use a git clone, not a dynamic snapshot

2022-10-06 Thread Ross Burton
opkg-utils fetches using a cgit snapshot of a tag, which is not reproducible as the tag could move, not reliable as a future dynamic snapshot could have a different checksum, and a waste of CPU load as these tarballs are built on demand. Switch opkg-utils to use a proper git clone of the relevant

Re: [OE-core] [PATCH 2/3] perf: make scripting depend on setuptools3

2022-10-06 Thread Bruce Ashfield
On Thu, Oct 6, 2022 at 9:13 AM Ross Burton wrote: > > On 6 Oct 2022, at 13:38, Bruce Ashfield wrote: > > > > On Thu, Oct 6, 2022 at 7:29 AM Ross Burton wrote: > >> > >> On 4 Oct 2022, at 18:27, Bruce Ashfield via lists.openembedded.org > >> wrote: > >>> -inherit ${@bb.utils.contains('PACKAGECO

[OE-core] [meta-zephyr][kirkstone][PATCH] nrf52840-mdk-usb-dongle.conf: Add new machine from makerdiary

2022-10-06 Thread philippe.co...@astrolabe.coop
From: Philippe Coval It was tested with zephyr-openthread-rcp along Oniro's IoT gateway blueprint For the record deployment was done manually: - Click on device button - uf2conv.py "zephyr.hex" -c -f 0xADA52840 - and then copy to mounted "/dev/disk/by-label/MDK-DONGLE" Support of unfree flashi

Re: [OE-core] [PATCH 2/3] perf: make scripting depend on setuptools3

2022-10-06 Thread Ross Burton
On 6 Oct 2022, at 13:38, Bruce Ashfield wrote: > > On Thu, Oct 6, 2022 at 7:29 AM Ross Burton wrote: >> >> On 4 Oct 2022, at 18:27, Bruce Ashfield via lists.openembedded.org >> wrote: >>> -inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', >>> 'python3targetconfig', '', d)} >>> +inhe

Re: [OE-core] [PATCH 2/3] perf: make scripting depend on setuptools3

2022-10-06 Thread Bruce Ashfield
On Thu, Oct 6, 2022 at 7:29 AM Ross Burton wrote: > > On 4 Oct 2022, at 18:27, Bruce Ashfield via lists.openembedded.org > wrote: > > -inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', > > 'python3targetconfig', '', d)} > > +inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', >

Re: [OE-core] [PATCH V4 1/2] bluez5: change configuration directory mode

2022-10-06 Thread Ross Burton
Is this in a build with systemd or sysvinit? Looking at the referenced commit, that’s when running in a systemd-managed contained environment. In sysv that isn’t the case, so I’m not convinced this is the correct solution. Ross > On 6 Oct 2022, at 12:27, Ming Liu via lists.openembedded.org >

Re: [OE-core] [PATCH 2/3] perf: make scripting depend on setuptools3

2022-10-06 Thread Ross Burton
On 4 Oct 2022, at 18:27, Bruce Ashfield via lists.openembedded.org wrote: > -inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', > 'python3targetconfig', '', d)} > +inherit ${@bb.utils.contains('PACKAGECONFIG', 'scripting', > 'python3targetconfig setuptools3', '', d)} For reasons, setup

[OE-core] [PATCH V4 2/2] testsdk.py: ensure the testsdk directory is writable before removing it

2022-10-06 Thread Ming Liu
From: Ming Liu We have to make sure all users have write permission to testsdk directory before removing it, this is to avoid potential 'rm' failures. Signed-off-by: Ming Liu --- meta/lib/oeqa/sdk/testsdk.py | 4 1 file changed, 4 insertions(+) diff --git a/meta/lib/oeqa/sdk/testsdk.py b

[OE-core] [PATCH V4 1/2] bluez5: change configuration directory mode

2022-10-06 Thread Ming Liu
From: Ming Liu Change configuration directory mode from 0755 to 0555, this fixes a following warning when bluetoothd starts: | ConfigurationDirectory 'bluetooth' already exists but the mode is different. | (File system: 755 ConfigurationDirectoryMode: 555) Reference: https://git.kernel.org/pub/s

[OE-core] [PATCH V4 0/2] bluez5: change configuration directory mode

2022-10-06 Thread Ming Liu
From: Ming Liu The changes in V4: 1 In commit message, add reference to https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=00cfb36e20e3c35db2150e7d0351ad7b8442e2d8 2 Make testsdk directory writable before removing it. Both as suggested by @Luca Ceresoli. Ming Liu (2): bluez5: c

Re: [OE-core] [PATCH 3/3] kernel-yocto: improve fatal error messages of symbol_why.py

2022-10-06 Thread Ross Burton
> On 30 Sep 2022, at 18:54, Jose Quaresma via lists.openembedded.org > wrote: > -bb.fatal( "config analysis failed: %s" % e.output.decode('utf-8')) > +bb.fatal( "config analysis failed when running '%s': %s" % (" > ".join(cmd), e.output.decode('utf-8'))) Much easier to just us

Re: [OE-core] [PATCH 2/3] kern-tools-native: don't pull the toolchain as it is not used

2022-10-06 Thread Ross Burton
On 30 Sep 2022, at 18:54, Jose Quaresma via lists.openembedded.org wrote: > > Prevents the default dependencies, namely the C compiler and standard C > library (libc), > from being added to DEPENDS. This variable is usually used within recipes > that do not > require any compilation using the

Re: [OE-core][PATCH 1/1] chrony: add pkgconfig class as pkg-config is explicitly searched for

2022-10-06 Thread Ross Burton
This should go to openembedded-devel@, not -core@. Also, there’s no need for a comment in the recipe explaining what the pkgconfig inherit is for, just put it on the same line as the other inherits. Ross > On 6 Oct 2022, at 05:02, Federico Pellegrin via lists.openembedded.org > wrote: > > Th

[OE-core] [PATCH] dropbear: add pam to PACKAGECONFIG

2022-10-06 Thread Ming Liu
From: Ming Liu Add pam to PACKAGECONFIG to make the code cleaner. Signed-off-by: Ming Liu --- meta/recipes-core/dropbear/dropbear_2022.82.bb | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/meta/recipes-core/dropbear/dropbear_2022.82.bb b/meta/recipes-core/dropbe

Re: [OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-06 Thread Thomas Perrot via lists.openembedded.org
Hello Bruce, On Wed, 2022-10-05 at 13:19 -0400, Bruce Ashfield wrote: > On Wed, Oct 5, 2022 at 12:51 PM Thomas Perrot via > lists.openembedded.org > wrote: > > > > Hello Khem, > > > > On Wed, 2022-10-05 at 09:19 -0700, Khem Raj wrote: > > > On Wed, Oct 5, 2022 at 8:01 AM Thomas Perrot via > > >

Re: [OE-core] [PATCH V3] bluez5: change configuration directory mode

2022-10-06 Thread Luca Ceresoli via lists.openembedded.org
Hello Ming Liu, On Wed, 5 Oct 2022 21:51:28 +0200 "Ming Liu" wrote: > From: Ming Liu > > Change configuration directory mode from 0755 to 0555, this fixes a > following warning when bluetoothd starts: > | ConfigurationDirectory 'bluetooth' already exists but the mode is different. > | (File s

Re: [OE-core] [dunfell] [PATCH] externalsrc: git submodule--helper list unsupported

2022-10-06 Thread Michael Opdenacker via lists.openembedded.org
On 06.10.22 11:30, Michael Opdenacker via lists.openembedded.org wrote: Thanks for the patch, but it doesn't apply. I guess you should re-apply to the openembedded-core repository first, which has different paths. My bad, it does apply indeed to the "dunfell" branch. Apologies for the noise

Re: [OE-core] [dunfell] [PATCH] externalsrc: git submodule--helper list unsupported

2022-10-06 Thread Michael Opdenacker via lists.openembedded.org
Hi again Sven On 06.10.22 11:30, Michael Opdenacker via lists.openembedded.org wrote: Hi Seven, Sorry for the typo on your name! Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

Re: [OE-core] [dunfell] [PATCH] externalsrc: git submodule--helper list unsupported

2022-10-06 Thread Michael Opdenacker via lists.openembedded.org
Hi Seven, On 06.10.22 11:22, Sven via lists.openembedded.org wrote: From: John Edward Broadbent Git has removed support for "git submodule--helper list". https://github.com/git/git/commit/31955475d1c283120d5d84247eb3fd55d9f5fdd9 This change provides an alternate method for gathering the submo

[OE-core] [dunfell] [PATCH] externalsrc: git submodule--helper list unsupported

2022-10-06 Thread Sven via lists.openembedded.org
From: John Edward Broadbent Git has removed support for "git submodule--helper list". https://github.com/git/git/commit/31955475d1c283120d5d84247eb3fd55d9f5fdd9 This change provides an alternate method for gathering the submodules information. Tested: Build recipes with and without submodules

Re: [OE-core][PATCH] core-image-sato: install virtio input for Qemu targets

2022-10-06 Thread Thomas Perrot via lists.openembedded.org
Hello Alex, On Wed, 2022-10-05 at 19:09 +0200, Alexander Kanavin wrote: > > Does core-image-weston have the same problem? If it does, then this > > certainly needs to go to qemu include in conf/machine/ > > Yes, the same issue occurs on core-image-weston, when NO_RECOMMENDATIONS = "1". So, inst

Re: [OE-Core][kirkstone][PATCH] qemu: Fix CVE-2021-3750 for qemu

2022-10-06 Thread Michael Opdenacker via lists.openembedded.org
Hi Virendra Thanks for the patch! On 01.10.22 07:52, Virendra Thakur via lists.openembedded.org wrote: Attached patch file also. *From:* openembedded-core@lists.openembedded.org on behalf of Virendra Thakur via lists.o