[OE-core] Is it a bug or it does not support device tree /delete-node/?

2021-06-04 Thread JH
Hi, I am building following imx6ulz-kobs.dts file to a dtb in zeus: $ cat imx6ulz-kobs.dts #include "imx6ulz.dts" /{ model = "customized imx6ull"; compatible = "fsl,imx6ull"; }; { /delete-node/ fsl,use-minimum-ecc; }; The building process was fine, but that fsl,use-minimum-ecc in

Re: [OE-core] [PATCH] selftest/fetch: Avoid occasional selftest failure from poor temp file name choice

2021-06-04 Thread Christopher Larson
Couldn't we also create a temporary directory and create a file with a consistent name there, rather than retrying the named file approach? On Thu, Jun 3, 2021 at 3:24 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > The temp file name may contain "_" characters. Avoid this to

Re: [OE-core] [PATCH] overlayfs.bbclass: generate overlayfs mount units

2021-06-04 Thread Ayoub Zaki
Hi, volatile-binds (maybe the *volatile* naming is misleading) recipe in yocto is already doing that, just to be appended .ie: VOLATILE_BINDS += "\ /data/lib/systemd/network /lib/systemd/network\n\ /data/home/root /home/root\n\ " It will generate for each overlay a mount point service. BR

Re: [OE-core] [PATCH] overlayfs.bbclass: generate overlayfs mount units

2021-06-04 Thread Bruce Ashfield
On Fri, Jun 4, 2021 at 1:22 PM Vyacheslav Yurkov wrote: > > Hi Bruce, > Thanks for a quick feedback. > > > Hi Vyacheslav, > > > > This looks like it could be quite useful, but a few comments came to > > mind on a really quick scan. > > > > Since this is systemd based, it should probably have > >

Re: [OE-core] [PATCH] overlayfs.bbclass: generate overlayfs mount units

2021-06-04 Thread Vyacheslav Yurkov
Hi Bruce, Thanks for a quick feedback. Hi Vyacheslav, This looks like it could be quite useful, but a few comments came to mind on a really quick scan. Since this is systemd based, it should probably have REQUIRED_DISTRO_FEATURES = "systemd", to ensure that the rest of the system and packages

Re: [OE-core] [PATCH] elfutils: upgrade 0.183 -> 0.185

2021-06-04 Thread Alejandro Hernandez Samaniego
On 5/31/21 11:24 PM, zangrc wrote: From: Wang Mingyu 0001-add-support-for-ipkg-to-debuginfod.cxx.patch Removed since this is included in 0.185. Refresh the following patch: 0001-debuginfod-debuginfod-client.c-correct-string-format.patch 0015-config-eu.am-do-not-use-Werror.patch

[OE-core] [PATCH v2 2/3] testimage: support additional reports for ptests

2021-06-04 Thread Adrian Freihofer
This adds a new optional feature to the ptest run-time test. Most unit test frameworks such as googletest generate JUnit like XML reports which can be processed e.g. by GitLab CI or Jenkins. Example: A run-ptest script executes a googletest based unit test: /usr/bin/my-unittest

[OE-core] [PATCH v2 3/3] runtime_test.py: add new testimage ptest test case

2021-06-04 Thread Adrian Freihofer
Add a new selftest for the ptest imagetest. The new feature TESTIMAGE_PTEST_REPORT_DIR is verified as well. --- meta/lib/oeqa/selftest/cases/runtime_test.py | 44 1 file changed, 44 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py

[OE-core] [PATCH v2 1/3] meta-skeleton: update service example

2021-06-04 Thread Adrian Freihofer
- Support systemd as well - Add a simple ptest --- .../service/service/run-ptest | 45 +++ .../service/service/skeleton.service | 9 .../recipes-skeleton/service/service_0.1.bb | 32 ++--- 3 files changed, 81 insertions(+), 5 deletions(-)

[OE-core] [PATCH v2 0/3] testimage: additional reports for ptests

2021-06-04 Thread Adrian Freihofer
Changes from v1 to v2 of these patches: - Remove artificial ptest example - Update the existing service skeleton - add support for systemd - make it a ptest example Adrian Freihofer (3): meta-skeleton: update service example testimage: support additional reports for ptests

Re: [OE-core] Request to backport KERNEL_DTC_FLAGS to Dunfell

2021-06-04 Thread Bruce Ashfield
On Fri, Jun 4, 2021 at 11:09 AM Steve Sakoman wrote: > > On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb) > wrote: > > > > Hi, > > > > We are using DT overlays and have the need to pass the -@ parameter in > > DTC_FLAGS to Linux' make. The patch > > > > "kernel-devicetree: Introduce

Re: [OE-core] Request to backport KERNEL_DTC_FLAGS to Dunfell

2021-06-04 Thread Steve Sakoman
On Fri, Jun 4, 2021 at 2:45 AM Jonas Mark (BT-FIR/ENG1-Grb) wrote: > > Hi, > > We are using DT overlays and have the need to pass the -@ parameter in > DTC_FLAGS to Linux' make. The patch > > "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags" >

[OE-core] [PATCH] valgrind: Improve non-deterministic ptest reliability

2021-06-04 Thread Tony Tascioglu
Several of the valgrind tests (particulaly helgrind) are unreliable and can fail with a different output. Particularly, there is a higher chance of failure on QEMU instances with SMP enabled and on systems with more interrupts such as laptops on powersave. The tests have been reported upstream

[OE-core] Request to backport KERNEL_DTC_FLAGS to Dunfell

2021-06-04 Thread Mark Jonas via lists.openembedded.org
Hi, We are using DT overlays and have the need to pass the -@ parameter in DTC_FLAGS to Linux' make. The patch "kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags" https://git.openembedded.org/openembedded-core/commit/?h=hardknott=063b5de86624a42b0aa784db6dddc7552a6dee7f makes

Re: [OE-core] want to clarify proper approach to shared lib (.so) installation

2021-06-04 Thread Robert P. J. Day
On Fri, 4 Jun 2021, Andre McCurdy wrote: ... big ship ... > Just a warning, but if your Makefiles are not generating versioned > shared libraries then they are probably not setting a soname > either... and that really messes up OE's automatic runtime > dependency tracking for shared libraries. >

[OE-core] [PATCH][dunfell 2/2] gnutls: fix CVE-2021-20231 CVE-2021-20232

2021-06-04 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../gnutls/gnutls/CVE-2021-20231.patch| 67 +++ .../gnutls/gnutls/CVE-2021-20232.patch| 65 ++ meta/recipes-support/gnutls/gnutls_3.6.14.bb | 2 + 3 files changed, 134 insertions(+) create

[OE-core] [PATCH][dunfell 1/2] libxml: fix CVE-2021-3517 CVE-2021-3537

2021-06-04 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../libxml/libxml2/CVE-2021-3517.patch| 53 +++ .../libxml/libxml2/CVE-2021-3537.patch| 50 + meta/recipes-core/libxml/libxml2_2.9.10.bb| 2 + 3 files changed, 105 insertions(+) create

[OE-core] [PATCH 09/10] xf86-input-libinput: update 0.30.0 -> 1.0.1

2021-06-04 Thread Alexander Kanavin
License-Update: formatting Signed-off-by: Alexander Kanavin --- .../xorg-driver/xf86-input-libinput_0.30.0.bb | 11 --- .../xorg-driver/xf86-input-libinput_1.0.1.bb | 10 ++ 2 files changed, 10 insertions(+), 11 deletions(-) delete mode 100644

[OE-core] [PATCH 02/10] elfutils: update 0.183 -> 0.185

2021-06-04 Thread Alexander Kanavin
0001-add-support-for-ipkg-to-debuginfod.cxx.patch merged upstream. 0001-debuginfod-debuginfod-client.c-correct-string-format.patch rebased. Signed-off-by: Alexander Kanavin --- .../{elfutils_0.183.bb => elfutils_0.185.bb} | 3 +- ...d-support-for-ipkg-to-debuginfod.cxx.patch | 33 --

[OE-core] [PATCH 10/10] erofs-utils: correct upstream version check

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb index 6435fea68c..5ab4bf2816 100644

[OE-core] [PATCH 01/10] virglrenderer: explicitly depend on libgbm

2021-06-04 Thread Alexander Kanavin
virtual/gl may not necessarily be mesa, and virgl needs specifically the gbm part of mesa. There's also hope nvidia will support gbm somehow, someday. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH 07/10] perl: update 5.32.1 -> 5.34.0

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/perl/{perl_5.32.1.bb => perl_5.34.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/perl/{perl_5.32.1.bb => perl_5.34.0.bb} (99%) diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb

[OE-core] [PATCH 08/10] libgcrypt: upgrade 1.9.2 -> 1.9.3

2021-06-04 Thread Alexander Kanavin
License-Update: added terms for cipher/cipher-gcm-ppc.c, still under GPL Signed-off-by: Alexander Kanavin --- .../libgcrypt/{libgcrypt_1.9.2.bb => libgcrypt_1.9.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libgcrypt/{libgcrypt_1.9.2.bb =>

[OE-core] [PATCH 06/10] perl-cross: 1.3.5 -> 1.3.6

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...nc_sel.sh-disable-thread_safe_nl_lan.patch | 27 +++ ...{perlcross_1.3.5.bb => perlcross_1.3.6.bb} | 5 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644

[OE-core] [PATCH 05/10] perl: split perl-cross into its own recipe

2021-06-04 Thread Alexander Kanavin
As perl and perl-cross need to be updated (and patches rebased) in lockstep, devtool upgrade (and therefore AUH) can't cope with it. Manually updating is still possible, but painful. Split determinism.patch into perl and perl-cross parts, move the rest of the perl-cross patches. Signed-off-by:

[OE-core] [PATCH 04/10] cmake: update 3.20.2 -> 3.20.3

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../cmake/{cmake-native_3.20.2.bb => cmake-native_3.20.3.bb}| 0 meta/recipes-devtools/cmake/cmake.inc | 2 +- .../recipes-devtools/cmake/{cmake_3.20.2.bb => cmake_3.20.3.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH 03/10] libcap: update 2.49 -> 2.50

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...-tests-do-not-statically-link-a-test.patch | 20 +-- .../libcap/{libcap_2.49.bb => libcap_2.50.bb} | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) rename meta/recipes-support/libcap/{libcap_2.49.bb => libcap_2.50.bb} (95%)

Re: [OE-core] [PATCH 11/11] perlcross fix

2021-06-04 Thread Alexander Kanavin
Whooops, too hasty! Will resend the set. Alex On Fri, 4 Jun 2021 at 11:10, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/conf/distro/include/maintainers.inc| 2 +- > meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb | 6 -- > 2 files changed, 5

[OE-core] [PATCH 10/11] erofs-utils: correct upstream version check

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb index 6435fea68c..5ab4bf2816 100644

[OE-core] [PATCH 11/11] perlcross fix

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/maintainers.inc| 2 +- meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb | 6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/include/maintainers.inc

[OE-core] [PATCH 07/11] perl: update 5.32.1 -> 5.34.0

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/perl/{perl_5.32.1.bb => perl_5.34.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/perl/{perl_5.32.1.bb => perl_5.34.0.bb} (99%) diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb

[OE-core] [PATCH 03/11] libcap: update 2.49 -> 2.50

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...-tests-do-not-statically-link-a-test.patch | 20 +-- .../libcap/{libcap_2.49.bb => libcap_2.50.bb} | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) rename meta/recipes-support/libcap/{libcap_2.49.bb => libcap_2.50.bb} (95%)

[OE-core] [PATCH 08/11] libgcrypt: upgrade 1.9.2 -> 1.9.3

2021-06-04 Thread Alexander Kanavin
License-Update: added terms for cipher/cipher-gcm-ppc.c, still under GPL Signed-off-by: Alexander Kanavin --- .../libgcrypt/{libgcrypt_1.9.2.bb => libgcrypt_1.9.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libgcrypt/{libgcrypt_1.9.2.bb =>

[OE-core] [PATCH 09/11] xf86-input-libinput: update 0.30.0 -> 1.0.1

2021-06-04 Thread Alexander Kanavin
License-Update: formatting Signed-off-by: Alexander Kanavin --- .../xorg-driver/xf86-input-libinput_0.30.0.bb | 11 --- .../xorg-driver/xf86-input-libinput_1.0.1.bb | 10 ++ 2 files changed, 10 insertions(+), 11 deletions(-) delete mode 100644

[OE-core] [PATCH 06/11] perl-cross: 1.3.5 -> 1.3.6

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../perl-cross/{perlcross_1.3.5.bb => perlcross_1.3.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/perl-cross/{perlcross_1.3.5.bb => perlcross_1.3.6.bb} (92%) diff --git

[OE-core] [PATCH 05/11] perl: split perl-cross into its own recipe

2021-06-04 Thread Alexander Kanavin
As perl and perl-cross need to be updated (and patches rebased) in lockstep, devtool upgrade (and therefore AUH) can't cope with it. Manually updating is still possible, but painful. Split determinism.patch into perl and perl-cross parts, move the rest of the perl-cross patches. Signed-off-by:

[OE-core] [PATCH 04/11] cmake: update 3.20.2 -> 3.20.3

2021-06-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../cmake/{cmake-native_3.20.2.bb => cmake-native_3.20.3.bb}| 0 meta/recipes-devtools/cmake/cmake.inc | 2 +- .../recipes-devtools/cmake/{cmake_3.20.2.bb => cmake_3.20.3.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH 02/11] elfutils: update 0.183 -> 0.185

2021-06-04 Thread Alexander Kanavin
0001-add-support-for-ipkg-to-debuginfod.cxx.patch merged upstream. 0001-debuginfod-debuginfod-client.c-correct-string-format.patch rebased. Signed-off-by: Alexander Kanavin --- .../{elfutils_0.183.bb => elfutils_0.185.bb} | 3 +- ...d-support-for-ipkg-to-debuginfod.cxx.patch | 33 --

[OE-core] [PATCH 01/11] virglrenderer: explicitly depend on libgbm

2021-06-04 Thread Alexander Kanavin
virtual/gl may not necessarily be mesa, and virgl needs specifically the gbm part of mesa. There's also hope nvidia will support gbm somehow, someday. Signed-off-by: Alexander Kanavin --- meta/recipes-graphics/virglrenderer/virglrenderer_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH] libavtp: add recipe to be able to use aaf config for alsa-plugins

2021-06-04 Thread Peter Bergin
In order to enable configuration option aaf (AVTP Audio Format) used for AVB the library libavtp is a dependency but no recipe for this library was present. aaf support for alsa-plugins was introduced in ddf5421331180bc45697511b44cdd4a4e6dda6ff. Signed-off-by: Peter Bergin ---

Re: [OE-core] [PATCH] oeqa: sdk: basic go toolchain test support

2021-06-04 Thread Peter Morrow
On Thu, May 20, 2021 at 02:57:26PM +0100, Richard Purdie wrote: > On Thu, 2021-05-20 at 12:27 +0100, Richard Purdie via lists.openembedded.org > wrote: > > On Tue, 2021-05-18 at 06:05 -0700, Peter Morrow wrote: > > > Add a simple build test for the golang toolchain which is produced into a > > >

Re: [OE-core] want to clarify proper approach to shared lib (.so) installation

2021-06-04 Thread Andre McCurdy
On Thu, Jun 3, 2021 at 7:26 AM Robert P. J. Day wrote: > > On Thu, 3 Jun 2021, Andrea Adami wrote: > > > On Thu, Jun 3, 2021 at 4:01 PM Robert P. J. Day > > wrote: > > > > > > > > > sort of a 2-part soliloquy. in current YP code base i've inherited, > > > most of the internal (local directory

Re: [OE-core] [PATCH] m4: upgrade 1.4.18 -> 1.4.19

2021-06-04 Thread Richard Purdie
On Thu, 2021-06-03 at 15:13 +0800, wangmy wrote: > 0001-Unset-need_charset_alias-when-building-for-musl.patch > 0001-c-stack-stop-using-SIGSTKSZ.patch > 0001-test-getopt-posix-fix.patch > m4-1.4.18-glibc-change-work-around.patch > deleted since they are included in 1.4.19 > > refresh

Re: [OE-core] [PATCH 2/3] recipes-bsp/u-boot: Allow deploying the u-boot DTB

2021-06-04 Thread Richard Purdie
On Thu, 2021-06-03 at 09:21 +1000, Alistair Francis wrote: > Signed-off-by: Alistair Francis > --- >  meta/classes/uboot-config.bbclass | 4 >  meta/recipes-bsp/u-boot/u-boot.inc | 7 ++- >  2 files changed, 10 insertions(+), 1 deletion(-) > > diff --git

[OE-core] [PATCH] harfbuzz: Fix unused-variable warning

2021-06-04 Thread Khem Raj
Backport a patch to fix the issue Signed-off-by: Khem Raj --- ...ariable-supp_size-from-plan_subset_e.patch | 44 +++ .../harfbuzz/harfbuzz_2.8.1.bb| 1 + 2 files changed, 45 insertions(+) create mode 100644