Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-06 Thread Khem Raj
I am seeing bunch of failures on meta-oe and meta-atmel https://errors.yoctoproject.org/Errors/Details/600064/ https://errors.yoctoproject.org/Errors/Details/600065/ https://errors.yoctoproject.org/Errors/Details/600071/ On Fri, Aug 6, 2021 at 2:04 PM Tony Battersby wrote: > > On 8/6/21 12:44

Re: [OE-core] [poky][dunfell][PATCH] lighttpd: Add patch for reuse large memory chunks

2021-08-06 Thread Steve Sakoman
On Thu, Aug 5, 2021 at 8:55 PM Purushottam choudhary wrote: > > Added 0001-core-reuse-large-mem-chunks-fix-mem-usage-fixes-3033.patch > to fix large memory usage for large file downloads > from dynamic backends reuse or release large memory chunks. > > This issue is caused by a bug in the

Re: [OE-core] [meta][dunfell][PATCH v2] systemd: Add fix for CVE-2020-13529 and CVE-2021-33910

2021-08-06 Thread Steve Sakoman
On Wed, Aug 4, 2021 at 7:54 PM Ranjitsinh Rathod wrote: > > Added fix for below CVEs from below Link > http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/systemd_237-3ubuntu10.50.debian.tar.xz > > 1. CVE-2020-13529 > Upstream-Status: Backport >

Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-06 Thread Tony Battersby
On 8/6/21 12:44 PM, Tony Battersby wrote: > On 8/6/21 1:33 AM, Richard Purdie wrote: >> On Thu, 2021-08-05 at 17:54 -0400, Tony Battersby wrote: >>> On 8/5/21 6:21 AM, Richard Purdie wrote: On Wed, 2021-08-04 at 20:13 -0400, Randy MacLeod wrote: > On 2021-07-27 9:34 a.m., Tony Battersby

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-08-06 Thread Andre McCurdy
On Fri, Aug 6, 2021 at 7:12 AM Luca Boccassi wrote: > > On Thu, 29 Jul 2021 at 20:11, Andre McCurdy wrote: > > > > On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi > > wrote: > > > > > > Having a look at the patches, a few comments: > > > > > > -

[OE-core] [PATCH v3] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-06 Thread Tim Orling
Update patch as setup.cfg changes are now in upstream. License-Update: Update Copyright years NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support. Python 3.5 support will be dropped in the next major release. RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700 From Byron Platt:

Re: [OE-core] [master][PATCH 0/4] Reproducible LTO builds

2021-08-06 Thread Tony Battersby
On 8/6/21 1:33 AM, Richard Purdie wrote: > On Thu, 2021-08-05 at 17:54 -0400, Tony Battersby wrote: >> On 8/5/21 6:21 AM, Richard Purdie wrote: >>> On Wed, 2021-08-04 at 20:13 -0400, Randy MacLeod wrote: On 2021-07-27 9:34 a.m., Tony Battersby wrote: > Currently, enabling Link Time

Re: [OE-core] [PATCH v2] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-06 Thread Tim Orling
Disregard. V3 in process On Fri, Aug 6, 2021 at 9:22 AM Tim Orling via lists.openembedded.org wrote: > License-Update: Update Copyright years > > NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support. > Python 3.5 support will be dropped in the next major release. > > RELEASE 4.2.0

[OE-core] [PATCH v2] python3-scons{-native}: upgrade 4.1.0 -> 4.2.0

2021-08-06 Thread Tim Orling
License-Update: Update Copyright years NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support. Python 3.5 support will be dropped in the next major release. RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700 From Byron Platt: - Fix Install() issue when copytree recursion gives

[OE-core][PATCH] kernel-fitimage: images should not be signed with the same keys as the configurations

2021-08-06 Thread Thomas Perrot
Otherwise the "required" property, from UBOOT_DTB_BINARY, will be set to "conf" and no error will be raised in case of error. Signed-off-by: Thomas Perrot --- meta/classes/kernel-fitimage.bbclass | 40 1 file changed, 35 insertions(+), 5 deletions(-) diff --git

Re: [OE-core][dunfell 07/33] curl: Fix CVE-2021-22924 and CVE-2021-22925

2021-08-06 Thread Mike Crowe via lists.openembedded.org
On Thursday 05 August 2021 at 05:33:44 -1000, Steve Sakoman wrote: > From: Mike Crowe > > curl v7.78 contained fixes for five CVEs: > > CVE-2021-22922[1] and CVE-2021-22923[2] are only present when support > for metalink is enabled. EXTRA_OECONF contains "--without-libmetalink" > so these fixes

[v2][oe-core][PATCH 1/1] icu: increase command buffer size

2021-08-06 Thread Joe Slater
Make cmd in pkg_installLibrary() LARGE_BUFFER_SIZE to avoid pathname truncation if the install path is longer than about 150 characters. For default compilation, the U_ASSERT does not detect buffer overflow, but that issue is not addressed. Signed-off-by: Joe Slater ---

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-08-06 Thread Luca Bocassi
On Thu, 29 Jul 2021 at 20:11, Andre McCurdy wrote: > > On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi wrote: > > > > Having a look at the patches, a few comments: > > > > - 0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch I find > > quite worrying, as it fundamentally changes access

Re: [OE-core] override syntax for VIRTUAL-RUNTIME and PREFERRED_PROVIDER

2021-08-06 Thread Richard Purdie
On Fri, 2021-08-06 at 06:24 -0700, Devendra Tewari wrote: > Does the override syntax change affect VIRTUAL-RUNTIME and > PREFERRED_PROVIDER? If yes,  > will convert-overrides.py support changes to these? It does not so it does not need changing. Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=-

Re: [OE-core] [PATCH v4 2/7] overlayfs.bbclass: generate overlayfs mount units

2021-08-06 Thread Michael Opdenacker
On 8/6/21 3:13 PM, Vyacheslav Yurkov wrote: > I've already updated the docs and will submit the patch as soon as > this series is approved and merged. Fantastic. Many thanks :) Cheers Michael. -- Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

Re: [OE-core][RFC][PATCH][dunfell] wic: Add --use-stock-fstab option

2021-08-06 Thread Daniel Gomez
On Fri, 6 Aug 2021 at 12:29, Paul Barker wrote: > > On Fri, 6 Aug 2021 11:23:37 +0200 > Daniel Gomez wrote: > > > When embeddding rootfs image (e.g. 'rootfs-dir') as a partition we > > might want to keep the stock fstab for that image. In such case, use > > this option to not update the fstab

[OE-core] override syntax for VIRTUAL-RUNTIME and PREFERRED_PROVIDER

2021-08-06 Thread Devendra Tewari
Does the override syntax change affect VIRTUAL-RUNTIME and PREFERRED_PROVIDER? If yes, will convert-overrides.py support changes to these? Thanks, Devendra -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#154561):

Re: [OE-core] [PATCH v4 2/7] overlayfs.bbclass: generate overlayfs mount units

2021-08-06 Thread Vyacheslav Yurkov
I've already updated the docs and will submit the patch as soon as this series is approved and merged. Vyacheslav On Fri, Aug 6, 2021, 16:06 Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2021-08-06 at 15:00 +0200, Michael Opdenacker wrote: > > Slava, Richard, > > > > On

Re: [OE-core] [PATCH v4 2/7] overlayfs.bbclass: generate overlayfs mount units

2021-08-06 Thread Richard Purdie
On Fri, 2021-08-06 at 15:00 +0200, Michael Opdenacker wrote: > Slava, Richard, > > On 8/6/21 2:06 PM, Vyacheslav Yurkov wrote: > > It's often desired in Embedded System design to have a read-only rootfs. > > But a lot of different applications might want to have a read-write access > > to some

Re: [OE-core] [PATCH v4 7/7] MAINTAINERS: add overlayfs maintainer

2021-08-06 Thread Michael Opdenacker
On 8/6/21 2:06 PM, Vyacheslav Yurkov wrote: > Signed-off-by: Vyacheslav Yurkov > --- > MAINTAINERS.md | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS.md b/MAINTAINERS.md > index 2ddcde6878..36a9bde90c 100644 > --- a/MAINTAINERS.md > +++ b/MAINTAINERS.md > @@ -40,6 +40,7 @@

Re: [OE-core] [PATCH v4 2/7] overlayfs.bbclass: generate overlayfs mount units

2021-08-06 Thread Michael Opdenacker
Slava, Richard, On 8/6/21 2:06 PM, Vyacheslav Yurkov wrote: > It's often desired in Embedded System design to have a read-only rootfs. > But a lot of different applications might want to have a read-write access > to some parts of a filesystem. It can be especially useful when your update >

[OE-core] [PATCH v4 7/7] MAINTAINERS: add overlayfs maintainer

2021-08-06 Thread Vyacheslav Yurkov
Signed-off-by: Vyacheslav Yurkov --- MAINTAINERS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 2ddcde6878..36a9bde90c 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -40,6 +40,7 @@ Component/Subsystem Maintainers * opkg: Alex Stewart *

[OE-core] [PATCH v4 6/7] oeqa/selftest: overlayfs unit tests

2021-08-06 Thread Vyacheslav Yurkov
Unit tests for overlayfs.bbclass Signed-off-by: Vyacheslav Yurkov --- meta/lib/oeqa/selftest/cases/overlayfs.py | 171 ++ 1 file changed, 171 insertions(+) create mode 100644 meta/lib/oeqa/selftest/cases/overlayfs.py diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py

[OE-core] [PATCH v4 5/7] overlayfs: meta-selftest recipe

2021-08-06 Thread Vyacheslav Yurkov
The recipe demonstrates example usage of overlayfs bbclass Signed-off-by: Vyacheslav Yurkov --- .../overlayfs-user/overlayfs-user.bb| 17 + 1 file changed, 17 insertions(+) create mode 100644 meta-selftest/recipes-test/overlayfs-user/overlayfs-user.bb diff --git

[OE-core] [PATCH v4 4/7] systemd-machine-units: add bbappend for meta-selftest

2021-08-06 Thread Vyacheslav Yurkov
Signed-off-by: Vyacheslav Yurkov --- .../systemd-machine-units/systemd-machine-units_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 meta-selftest/recipes-test/systemd-machine-units/systemd-machine-units_%.bbappend diff --git

[OE-core] [PATCH v4 3/7] rootfs-postcommands: add QA check for overlayfs

2021-08-06 Thread Vyacheslav Yurkov
The check is conditional and only enabled when overlayfs is set in DISTRO_FEATURES Signed-off-by: Vyacheslav Yurkov --- meta/classes/rootfs-postcommands.bbclass | 25 1 file changed, 25 insertions(+) diff --git a/meta/classes/rootfs-postcommands.bbclass

[OE-core] [PATCH v4 1/7] lib/oe: add generic functions for overlayfs

2021-08-06 Thread Vyacheslav Yurkov
Signed-off-by: Vyacheslav Yurkov --- meta/lib/oe/overlayfs.py | 43 1 file changed, 43 insertions(+) create mode 100644 meta/lib/oe/overlayfs.py diff --git a/meta/lib/oe/overlayfs.py b/meta/lib/oe/overlayfs.py new file mode 100644 index

[OE-core] [PATCH v4 2/7] overlayfs.bbclass: generate overlayfs mount units

2021-08-06 Thread Vyacheslav Yurkov
It's often desired in Embedded System design to have a read-only rootfs. But a lot of different applications might want to have a read-write access to some parts of a filesystem. It can be especially useful when your update mechanism overwrites the whole rootfs, but you want your application data

[OE-core] [PATCH 2/2] curl: Fix reproducibility issue with LDFLAGS

2021-08-06 Thread Richard Purdie
If we add DEBUG_PREFIX_MAP into LDFLAGS, curl-dev is no longer reproducible. Fix this. Signed-off-by: Richard Purdie --- meta/recipes-support/curl/curl_7.78.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/curl/curl_7.78.0.bb

[OE-core] [PATCH 1/2] gettext: Fix reproducibility issue with LDFLAGS

2021-08-06 Thread Richard Purdie
If we add DEBUG_PREFIX_MAP into LDFLAGS, gettext-ptest is no longer reproducible. Fix this. Signed-off-by: Richard Purdie --- meta/recipes-core/gettext/gettext_0.21.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/gettext/gettext_0.21.bb

Re: [OE-core][PATCH 2/2] convert-overrides.py: skip patches

2021-08-06 Thread Richard Purdie
On Fri, 2021-08-06 at 02:03 -0700, Chen Qi wrote: > If a line specifies a patch, skip it. > > Signed-off-by: Chen Qi > --- >  scripts/contrib/convert-overrides.py | 1 + >  1 file changed, 1 insertion(+) > > diff --git a/scripts/contrib/convert-overrides.py >

[OE-core] [PATCH] cve-check: remove deprecated CVE_CHECK_CVE_WHITELIST

2021-08-06 Thread Michael Opdenacker
This variable has been deprecated since Yocto Project version 3.0. Signed-off-by: Michael Opdenacker --- meta/classes/cve-check.bbclass | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/classes/cve-check.bbclass b/meta/classes/cve-check.bbclass index 6582f97151..04d19f53fd 100644 ---

Re: [OE-core][RFC][PATCH][dunfell] wic: Add --use-stock-fstab option

2021-08-06 Thread Paul Barker
On Fri, 6 Aug 2021 11:23:37 +0200 Daniel Gomez wrote: > When embeddding rootfs image (e.g. 'rootfs-dir') as a partition we > might want to keep the stock fstab for that image. In such case, use > this option to not update the fstab and use the stock one instead. > > This option allows to

Re: [OE-core][RFC][PATCH][dunfell] wic: Add --use-stock-fstab option

2021-08-06 Thread Richard Purdie
On Fri, 2021-08-06 at 11:23 +0200, Daniel Gomez wrote: > When embeddding rootfs image (e.g. 'rootfs-dir') as a partition we > might want to keep the stock fstab for that image. In such case, use > this option to not update the fstab and use the stock one instead. > > This option allows to specify

Re: [OE-core] [qa-build-notification] QA notification for completed autobuilder build (yocto-3.1.10.rc1)

2021-08-06 Thread Sangeeta Jain
Hello All, This is the full report for yocto-3.1.10.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults === Summary No high milestone defects. One issue observed in this release: Bug 14488 - AB-INT PTEST: tcl socket.test

Re: [OE-core][RFC][PATCH][dunfell] wic: direct: Use stock fstab in partitions

2021-08-06 Thread Daniel Gomez
Hi Richard, On Thu, 5 Aug 2021 at 17:31, Richard Purdie wrote: > > On Thu, 2021-08-05 at 17:03 +0200, Daniel Gomez wrote: > > Be able to get the stock fstab in partitions. > > > > Functionality reverted at commit id: > > ce682a73b7447652f898ce1d1d0416a456df5416 > > > > Signed-off-by: Daniel

Re: [OE-core][PATCH 1/2] convert-overrides.py: also convert comments without a leading whitespace

2021-08-06 Thread Chen Qi
Got it. I've sent out V2. Regards, Qi On 08/06/2021 05:25 PM, Martin Jansa wrote: Can you please bump the script version as well? On Fri, Aug 6, 2021 at 11:03 AM Chen Qi > wrote: Currently lines like below are converted. e.g. #

[OE-core][PATCH V2] convert-overrides.py: also convert comments without a leading whitespace

2021-08-06 Thread Chen Qi
Currently lines like below are converted. e.g. # IMAGE_INSTALL_append = " A" But lines without a leading whitespace are not converted. e.g. #IMAGE_INSTALL_append = " A" We should be converting both. Also bump the script's version. Signed-off-by: Chen Qi ---

[OE-core][PATCH] meta: use new override syntax in comments

2021-08-06 Thread Chen Qi
Signed-off-by: Chen Qi --- meta/conf/bitbake.conf | 4 ++-- meta/conf/machine/qemuppc64.conf | 4 ++-- meta/recipes-core/dbus/dbus-glib_0.112.bb| 2 +- meta/recipes-devtools/elfutils/elfutils_0.185.bb | 2 +- meta/recipes-devtools/qemu/qemu.inc

Re: [OE-core][PATCH 1/2] convert-overrides.py: also convert comments without a leading whitespace

2021-08-06 Thread Martin Jansa
Can you please bump the script version as well? On Fri, Aug 6, 2021 at 11:03 AM Chen Qi wrote: > Currently lines like below are converted. > e.g. > # IMAGE_INSTALL_append = " A" > > But lines without a leading whitespace are not converted. > e.g. > #IMAGE_INSTALL_append = " A" > > We

[OE-core][RFC][PATCH][dunfell] wic: Add --use-stock-fstab option

2021-08-06 Thread Daniel Gomez
When embeddding rootfs image (e.g. 'rootfs-dir') as a partition we might want to keep the stock fstab for that image. In such case, use this option to not update the fstab and use the stock one instead. This option allows to specify which partitions get the updated fstab and which get the stock

[OE-core][PATCH 1/2] convert-overrides.py: also convert comments without a leading whitespace

2021-08-06 Thread Chen Qi
Currently lines like below are converted. e.g. # IMAGE_INSTALL_append = " A" But lines without a leading whitespace are not converted. e.g. #IMAGE_INSTALL_append = " A" We should be converting both. Signed-off-by: Chen Qi --- scripts/contrib/convert-overrides.py | 6 +++--- 1 file

[OE-core][PATCH 2/2] convert-overrides.py: skip patches

2021-08-06 Thread Chen Qi
If a line specifies a patch, skip it. Signed-off-by: Chen Qi --- scripts/contrib/convert-overrides.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/contrib/convert-overrides.py b/scripts/contrib/convert-overrides.py index 4d41a4c475..387e29d66d 100755 ---

[OE-core] [PATCH] libtool: Fix lto option passing for reproducible builds

2021-08-06 Thread Richard Purdie
If lto is enabled, we need the prefix-map variables to be passed to the linker. Add these to the list of options libtool passes through. Signed-off-by: Richard Purdie --- .../libtool/libtool-2.4.6.inc | 1 + .../libtool/libtool/lto-prefix.patch | 22 +++

Re: [oe-core][PATCH 1/1] icu: increase command buffer size

2021-08-06 Thread Alexander Kanavin
Upstream-Status is missing, and this looks like something that should be sent upstream first for review. Alex On Thu, 5 Aug 2021 at 22:22, Joe Slater wrote: > Make cmd in pkg_installLibrary() LARGE_BUFFER_SIZE to avoid > pathname truncation if the install path is longer than about > 150

Re: [OE-core] [PATCH] cve-check: Add allowlist that is same function of whitelist.

2021-08-06 Thread ito-yui...@fujitsu.com
HI, Armin Sorry to bother you again. Could you please tell me what should I do for the variables to be approved in wiki? Thanks, Yuichi Ito > -Original Message- > From: Ito, Yuichi > Sent: Tuesday, July 20, 2021 3:49 PM > To: 'akuster808' > Cc: Richard Purdie ; >

Re: [OE-core] Issue after override syntax change

2021-08-06 Thread Richard Purdie
On Thu, 2021-08-05 at 21:07 +0100, Richard Purdie via lists.openembedded.org wrote: > Hi, > > On Thu, 2021-08-05 at 18:59 +0200, Konrad Weihmann wrote: > > I'm currently seeing the following behavior after the latest override > > syntax change (tested up to today's poky and meta-openembedded) >

[OE-core] [PATCH] packagedata: Fix after override syntax change

2021-08-06 Thread Richard Purdie
Fix a reference that should have been part of the override syntax change causing packages to be written out incorrectly. Signed-off-by: Richard Purdie --- meta/classes/packagedata.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/packagedata.bbclass

[OE-core] [poky][dunfell][PATCH] lighttpd: Add patch for reuse large memory chunks

2021-08-06 Thread Purushottam choudhary
Added 0001-core-reuse-large-mem-chunks-fix-mem-usage-fixes-3033.patch to fix large memory usage for large file downloads from dynamic backends reuse or release large memory chunks. This issue is caused by a bug in the lighttpd 1.4.55 version and has been fixed in lighttpd 1.4.58. Hence, it is not