Re: [OE-core] [PATCH] cve-check: write empty fragment files in the text mode

2022-06-03 Thread Ernst Sjöstrand
Den fre 3 juni 2022 kl 14:17 skrev Marta Rybczynska : > In the cve-check text mode output, we didn't write fragment > files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1), > or no unpached CVEs otherwise. > > However, in a system after multiple builds, > cve_check_write_rootfs_manifest mi

Re: [OE-core] [PATCH] cve-check: move update_symlinks to a library

2022-06-03 Thread Ernst Sjöstrand
It's not specially related to cve_check, you could put it in lib/oe/utils.py or something like that perhaps? Regards //Ernst Den fre 3 juni 2022 kl 10:58 skrev Marta Rybczynska : > Move the function to a library, it could be useful in other places. > > Signed-off-by: Marta Rybczynska > --- > m

[oe-core][PATCHv3 6/6] xorg-app-common.inc: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc index 5dbe8abe86..7aed6e7138 100644 --- a/

[oe-core][PATCHv3 3/6] xdg-utils: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb index 73acf6b744..ef698d9f09 100644

[oe-core][PATCHv3 2/6] libxcb: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-lib/libxcb_1.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb index 839577326e..6205030591 100644 --- a/meta/recipes-gr

[oe-core][PATCHv3 1/6] xorg-lib-common: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc index 60bc8c76fa..30122f2bfa 100644 --- a/

[oe-core][PATCHv3 5/6] xorg-font-common.inc: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc index 2df23efed4..f552bb0076 100644

[oe-core][PATCHv3 4/6] libsdl2: dont mix opengl and gles backends for wayland

2022-06-03 Thread Markus Volk
This fixes "Could not initialize egl display" in libsdl2 apps for wayland without DISTRO_FEATURE x11 Signed-off-by: Markus Volk --- meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.

[oe-core][PATCHv2 6/6] xorg-app-common: allow to build for wayland

2022-06-03 Thread Markus Volk
--- meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-app/xorg-app-common.inc b/meta/recipes-graphics/xorg-app/xorg-app-common.inc index 5dbe8abe86..7aed6e7138 100644 --- a/meta/recipes-graphics/xorg-a

[oe-core][PATCHv2 5/6] xorg-font-common.inc: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-font/xorg-font-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc index 2df23efed4..f552bb0076 100644

[oe-core][PATCHv2 2/6] libxcb: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-lib/libxcb_1.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb index 839577326e..6205030591 100644 --- a/meta/recipes-gr

[oe-core][PATCHv2 1/6] xorg-lib-common: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc index 60bc8c76fa..30122f2bfa 100644 --- a/

[oe-core][PATCHv2 4/6] libsdl2: dont mix opengl and gles backends for wayland

2022-06-03 Thread Markus Volk
This fixes "Could not initialize egl display" in libsdl2 apps for wayland without DISTRO_FEATURE x11 Signed-off-by: Markus Volk --- meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.

[oe-core][PATCHv2 3/6] xdg-utils: allow to build for wayland

2022-06-03 Thread Markus Volk
Signed-off-by: Markus Volk --- meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb b/meta/recipes-extended/xdg-utils/xdg-utils_1.1.3.bb index 73acf6b744..ef698d9f09 100644

Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland

2022-06-03 Thread Markus Volk
You are certainly right about that. The error message reached me just before I had to go to work and so I just quickly changed the file without testing anything with it. That's why I hadn't sent out a new patchset yet, but I'll make up for that completely this time. Hopefully also with a soluti

[OE-core][dunfell 00/11] Pull request (cover letter only)

2022-06-03 Thread Steve Sakoman
This is the final oe-core pull request for the 3.1.17 release next week. The following changes since commit add860e1a69f848097bbc511137a62d5746e5019: oeqa/selftest/cve_check: add tests for recipe and image reports (2022-05-24 04:31:18 -1000) are available in the Git repository at: git://gi

Re: [OE-core] Forced password change in first login

2022-06-03 Thread Livius
Finaly, i found the problem and i could solve it. SHA-256 is too weak to make a password hash, this is why on first login we need to change password always. Please fix it in Yocto manual ( https://docs.yoctoproject.org/singleindex.html#term-EXTRA_USERS_PARAMS ). When i set it to generate sha512

Re: [OE-core] [PATCH 1/1] extrausers: Add ability to force password change on first login

2022-06-03 Thread Livius
Finaly, i found the problem and i could solve it. SHA-256 is too weak to make a password hash, this is why on first login we need to change password always. Please fix it in Yocto manual ( https://docs.yoctoproject.org/singleindex.html#term-EXTRA_USERS_PARAMS ). When i set it to generate sha512

[OE-core] [PATCH v2] opkg: upgrade to version 0.6.0

2022-06-03 Thread Alex Stewart
Release Notes for 0.6.0: http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes Signed-off-by: Alex Stewart --- meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/opkg/{opkg_0.5.0.bb =

Re: [OE-core] [PATCH] opkg: upgrade to version 0.6.0

2022-06-03 Thread Alex Stewart
I'm not sure I'm on-board with embedding markdown into the commit. But I can definitely link to the release notes from within the commit body. Patch V2 incoming. On 6/3/22 15:52, Khem Raj wrote: thanks may be add this info into commit msg too. -- Alex Stewart Software Engineer - NI Real-Time

Re: [OE-core] [PATCH] opkg: upgrade to version 0.6.0

2022-06-03 Thread Khem Raj
thanks may be add this info into commit msg too. On Fri, Jun 3, 2022 at 1:45 PM Alex Stewart wrote: > > Here are the release notes from 0.5.0 -> 0.6.0. > > http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes > > ``` > Release Notes for opkg-0.6.0 > > > ### Changed > - Wh

Re: [OE-core] [PATCH] opkg: upgrade to version 0.6.0

2022-06-03 Thread Alex Stewart
Here are the release notes from 0.5.0 -> 0.6.0. http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes ``` Release Notes for opkg-0.6.0 ### Changed - When using package signature verification, the signature file is now only downloaded when (a) it is not present in the lo

Re: [OE-core] [PATCH] opkg: upgrade to version 0.6.0

2022-06-03 Thread Khem Raj
What major changes does this change bring On Fri, Jun 3, 2022 at 1:04 PM Alex Stewart wrote: > Signed-off-by: Alex Stewart > --- > meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-devtools/opkg/{opkg_0.5.

Re: [oe-core][PATCH 1/4] xorg-lib-common: allow to build for wayland

2022-06-03 Thread Luca Ceresoli via lists.openembedded.org
Hi Markus, On Wed, 1 Jun 2022 17:10:45 +0200 "Markus Volk" wrote: > Hi Luca, > > i've sent a patch that should hopefully fix your issue I guess you refer to: [oe-core][PATCH] xorg-font-common.inc: allow to build for wayland and so I ran a build test with the above patch + the 4 patches in

[OE-core] [PATCH] opkg: upgrade to version 0.6.0

2022-06-03 Thread Alex Stewart
Signed-off-by: Alex Stewart --- meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/opkg/{opkg_0.5.0.bb => opkg_0.6.0.bb} (96%) diff --git a/meta/recipes-devtools/opkg/opkg_0.5.0.bb b/meta/recipes-devtoo

Re: [OE-core] [PATCH] bitbake.conf: Make TCLIBC and TCMODE lazy assigned

2022-06-03 Thread Khem Raj
On Fri, Jun 3, 2022 at 12:04 AM Pavel Zhukov wrote: > > > An example we have right now: > > bitbake.conf: TCLIBC ?= "glibc" > linux-distro.conf: TCLIBC = "musl" > > TCLIBC="glibc" bitbake -e distro-image-base => TCLIBC == "musl" which > confuses users a lot (and it was not working this way in dunf

Re: [OE-core] [PATCH v6] Rust Oe-Selftest implementation

2022-06-03 Thread Pgowda
Hi Luca, Regarding the issue https://bugzilla.yoctoproject.org/show_bug.cgi?id=14818 I ran the Oe-Selftest for Rust as well as completed packages and did not come across any issues. a@yow-fedora-builder1 build]$ uname -a Linux yow-fedora-builder1 5.16.18-200.fc35.x86_64 #1 SMP PREEMPT Mon Mar 28

[OE-core][dunfell][PATCH 2/2] libxslt: Mark CVE-2022-29824 as not applying

2022-06-03 Thread omkar
From: Richard Purdie We have libxml2 2.9.10 and we don't link statically against libxml2 anyway so the CVE doesn't apply to libxslt. (From OE-Core rev: c6315d8a2a1429a0fb7563b1d6352ceee7bc222c) Signed-off-by: Omkar Patil Signed-off-by: Richard Purdie (cherry picked from commit ad63694e6df4f28

[OE-core][dunfell][PATCH 1/2] libxslt: Fix CVE-2021-30560

2022-06-03 Thread omkar
From: omkar patil CVE: CVE-2021-30560 Signed-off-by: omkar patil --- .../libxslt/libxslt/CVE-2021-30560.patch | 201 ++ .../recipes-support/libxslt/libxslt_1.1.34.bb | 1 + 2 files changed, 202 insertions(+) create mode 100644 meta/recipes-support/libxslt/libxslt/CVE-20

[OE-core] [PATCH] cve-check: write empty fragment files in the text mode

2022-06-03 Thread Marta Rybczynska
In the cve-check text mode output, we didn't write fragment files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1), or no unpached CVEs otherwise. However, in a system after multiple builds, cve_check_write_rootfs_manifest might find older files and use them as current, what leads to incorr

Re: [OE-core] [AUH] python3-numpy: upgrading to 1.22.4 SUCCEEDED

2022-06-03 Thread Richard Purdie
On Wed, 2022-06-01 at 16:18 +, Auto Upgrade Helper wrote: > Hello, > > this email is a notification from the Auto Upgrade Helper > that the automatic attempt to upgrade the recipe *python3-numpy* to *1.22.4* > has Succeeded. > > Next steps: > - apply the patch: git am 0001-python3-numpy-

Re: [OE-core] [PATCH] rootfs.py: find .ko.zst kernel modules

2022-06-03 Thread Luca Ceresoli via lists.openembedded.org
Hi Sean, On Thu, 2 Jun 2022 10:52:59 -0400 "Sean Anderson via lists.openembedded.org" wrote: > Hi Luca, > > On 6/1/22 3:13 AM, Luca Ceresoli wrote: > > [You don't often get email from luca.ceres...@bootlin.com. Learn why this > > is important at https://aka.ms/LearnAboutSenderIdentification.]

[OE-core] [PATCH] cve-update-db-native: make it possible to disable database updates

2022-06-03 Thread Marta Rybczynska
Make it possible to disable the database update completely by using a negative update interval CVE_DB_UPDATE_INTERVAL. Disabling the update is useful when running multiple parallel builds when we want to have a control on the database version. This allows coherent cve-check results without an data

[OE-core] [PATCH] cve-check: move update_symlinks to a library

2022-06-03 Thread Marta Rybczynska
Move the function to a library, it could be useful in other places. Signed-off-by: Marta Rybczynska --- meta/classes/cve-check.bbclass | 11 +++ meta/lib/oe/cve_check.py | 10 ++ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/meta/classes/cve-check.bbclass

[OE-core] [PATCH] cve-check: fix return type in check_cves

2022-06-03 Thread Marta Rybczynska
Make empty return types in check_cvs the same for all code paths. Signed-off-by: Marta Rybczynska --- meta/classes/cve-check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index c80a365819..c5c22c4c51 10

Re: [OE-core] [PATCH] bitbake.conf: Make TCLIBC and TCMODE lazy assigned

2022-06-03 Thread Pavel Zhukov
An example we have right now: bitbake.conf: TCLIBC ?= "glibc" linux-distro.conf: TCLIBC = "musl" TCLIBC="glibc" bitbake -e distro-image-base => TCLIBC == "musl" which confuses users a lot (and it was not working this way in dunfell). Same applies to if TCLIBC="glibc" is in conf/local.conf then m