[OE-core] [PATCH v2] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Bruce Ashfield
From: Bruce Ashfield The upstream commit 596b0474d3d [kbuild: preprocess module linker script], adds a dependency on module.lds for external module building. Since module.lds is generated as part of 'modules_prepare', we must make it available with the other kernel artifacts in the kernel shared

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Bruce Ashfield
On Fri, Nov 13, 2020 at 11:41 PM Bruce Ashfield via lists.openembedded.org wrote: > > On Fri, Nov 13, 2020 at 11:27 PM Bruce Ashfield via > lists.openembedded.org > wrote: > > > > On Fri, Nov 13, 2020 at 11:19 PM Scott Branden > > wrote: > > > > > > Sorry, spoke too soon. Doesn't seem to work f

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Bruce Ashfield
On Fri, Nov 13, 2020 at 11:27 PM Bruce Ashfield via lists.openembedded.org wrote: > > On Fri, Nov 13, 2020 at 11:19 PM Scott Branden > wrote: > > > > Sorry, spoke too soon. Doesn't seem to work from a clean build now. > > > > How so ? Works on repeated clean builds here. For 5.4/5.8 and 5.10 >

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Bruce Ashfield
On Fri, Nov 13, 2020 at 11:19 PM Scott Branden wrote: > > Sorry, spoke too soon. Doesn't seem to work from a clean build now. > How so ? Works on repeated clean builds here. For 5.4/5.8 and 5.10 Bruce > On 2020-11-13 9:53 a.m., Scott Branden wrote: > > Thanks, works for me building external ke

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Scott Branden via lists.openembedded.org
Sorry, spoke too soon.  Doesn't seem to work from a clean build now. On 2020-11-13 9:53 a.m., Scott Branden wrote: > Thanks, works for me building external kernel modules. > > On 2020-11-12 10:32 p.m., Bruce Ashfield wrote: >> From: Bruce Ashfield >> >> The upstream commit 596b0474d3d [kbuild: pr

[OE-core][PATCH] systemd: Re-enable chvt as non-root user without polkit

2020-11-13 Thread Joshua Watt
systemd 245 introduced a regression in behavior where they removed support for non-root users to chvt from a service file. This prevents running compositors (e.g. weston) as any user other than root. The intention is for polkit to be used to allow this (and in fact the default polkit rules that shi

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Bruce Ashfield
On Fri, Nov 13, 2020 at 1:10 PM Khem Raj wrote: > > On Thu, Nov 12, 2020 at 10:32 PM Bruce Ashfield > wrote: > > > > From: Bruce Ashfield > > > > The upstream commit 596b0474d3d [kbuild: preprocess module linker > > script], adds a dependency on module.lds for external module > > building. > > >

[OE-core] [PATCH 3/5] distutils3-base.bbclass: use python3targetconfig

2020-11-13 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/classes/distutils3-base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass index 7dbf07ac4b..a277d1c7bc 100644 --- a/meta/classes/distutils3-base.bbclass

[OE-core] [PATCH 2/5] python3-pycairo: use python3targetconfig

2020-11-13 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python3-pycairo_1.20.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pycairo_1.20.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.20.0.bb index 37faabcdfb..8987b7

[OE-core] [PATCH 5/5] gpgme: use python3targetconfig

2020-11-13 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-support/gpgme/gpgme_1.14.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/gpgme/gpgme_1.14.0.bb b/meta/recipes-support/gpgme/gpgme_1.14.0.bb index 9fa8212808..fb7215381c 100644 --- a/meta/recipes-suppo

[OE-core] [PATCH 4/5] meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks

2020-11-13 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/classes/scons.bbclass | 3 --- meta/lib/oe/prservice.py| 4 meta/recipes-core/glib-2.0/glib.inc | 4 meta/recipes-graphics/mesa/mesa.inc | 5 - 4 files changed, 16 deletions(-) diff --git a/meta/classes/scons.bbclass b/

[OE-core] [PATCH 1/5] python3: split python target configuration into own class

2020-11-13 Thread Alexander Kanavin
Setting _PYTHON_SYSCONFIGDATA_NAME in python3native class globally was problematic as it was leaking into host python environment, which was causing tracebacks depending on host distro and action (typically anything involving importing sysconfig module). The new class sets the variable only in spe

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Khem Raj
On Thu, Nov 12, 2020 at 10:32 PM Bruce Ashfield wrote: > > From: Bruce Ashfield > > The upstream commit 596b0474d3d [kbuild: preprocess module linker > script], adds a dependency on module.lds for external module > building. > > Since module.lds is generated as part of 'modules_prepare', we > mus

Re: [OE-core] [PATCH] kernel: provide module.lds for out of tree builds in v5.10+

2020-11-13 Thread Scott Branden via lists.openembedded.org
Thanks, works for me building external kernel modules. On 2020-11-12 10:32 p.m., Bruce Ashfield wrote: > From: Bruce Ashfield > > The upstream commit 596b0474d3d [kbuild: preprocess module linker > script], adds a dependency on module.lds for external module > building. > > Since module.lds is ge

Re: [OE-core][dunfell 16/18] openssh: upgrade 8.3p1 -> 8.4p1 to fix CVE-2020-14145 and CVE-2020-15778

2020-11-13 Thread Steve Sakoman
On Fri, Nov 13, 2020 at 5:34 AM Anuj Mittal wrote: > > Hi Steve, > > On Fri, 2020-11-13 at 04:52 -1000, Steve Sakoman wrote: > > From: Alexander Kanavin > > > > CVE-2020-14145 > > > > The client side in OpenSSH 5.7 through 8.3 has an Observable > > Discrepancy leading to an information leak in th

Re: [OE-core][dunfell 16/18] openssh: upgrade 8.3p1 -> 8.4p1 to fix CVE-2020-14145 and CVE-2020-15778

2020-11-13 Thread Anuj Mittal
Hi Steve, On Fri, 2020-11-13 at 04:52 -1000, Steve Sakoman wrote: > From: Alexander Kanavin > > CVE-2020-14145 > > The client side in OpenSSH 5.7 through 8.3 has an Observable > Discrepancy leading to an information leak in the algorithm > negotiation. This allows man-in-the-middle attackers to

[OE-core][dunfell 18/18] freetype: fix CVE-2020-15999, backport from 2.10.4

2020-11-13 Thread Steve Sakoman
From: Diego Santa Cruz Signed-off-by: Diego Santa Cruz Signed-off-by: Steve Sakoman --- ...-sfnt-Fix-heap-buffer-overflow-59308.patch | 51 +++ .../freetype/freetype_2.10.1.bb | 1 + 2 files changed, 52 insertions(+) create mode 100644 meta/recipes-graphics/fre

[OE-core][dunfell 17/18] openssh: whitelist CVE-2014-9278

2020-11-13 Thread Steve Sakoman
The OpenSSH server, as used in Fedora and Red Hat Enterprise Linux 7 and when running in a Kerberos environment, allows remote authenticated users to log in as another user when they are listed in the .k5users file of that user, which might bypass intended authentication requirements that would for

[OE-core][dunfell 11/18] oeqa/core/context: expose results as variable

2020-11-13 Thread Steve Sakoman
From: Konrad Weihmann register an unittest handler for testresults and expose it as variable result. With this even partial results from an interrupted test suite run can be made available Signed-off-by: Konrad Weihmann Signed-off-by: Richard Purdie (cherry picked from commit a97ae47525157871b

[OE-core][dunfell 16/18] openssh: upgrade 8.3p1 -> 8.4p1 to fix CVE-2020-14145 and CVE-2020-15778

2020-11-13 Thread Steve Sakoman
From: Alexander Kanavin CVE-2020-14145 The client side in OpenSSH 5.7 through 8.3 has an Observable Discrepancy leading to an information leak in the algorithm negotiation. This allows man-in-the-middle attackers to target initial connection attempts (where no host key for the server has been ca

[OE-core][dunfell 12/18] oeqa/core/context: initialize _run_end_time

2020-11-13 Thread Steve Sakoman
From: Konrad Weihmann with _run_start_time as value. For partial results of interrupted runs, this info might be otherwise missing for at least one testcase Signed-off-by: Konrad Weihmann Signed-off-by: Richard Purdie (cherry picked from commit 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238) Signed-

[OE-core][dunfell 15/18] openssh: Upgrade 8.2p1 -> 8.3p1

2020-11-13 Thread Steve Sakoman
From: Alex Kiernan Signed-off-by: Alex Kiernan Signed-off-by: Richard Purdie (cherry picked from commit b8ec59302bd2fc1a78f4d828ba93b3ad64ab7f37) Signed-off-by: Steve Sakoman --- .../openssh/{openssh_8.2p1.bb => openssh_8.3p1.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletion

[OE-core][dunfell 04/18] alsa-utils: Fix license to GPLv2 only

2020-11-13 Thread Steve Sakoman
From: Richard Purdie Parts of alsa-utils are v2 only, parts are v2 or later. The effect is the end result is GPLv2 and there seems little value in marking everything as being a mixture of both. Fix LICENSE to match reality. Signed-off-by: Richard Purdie (cherry picked from commit a9a17a991174b7

[OE-core][dunfell 10/18] systemd: udev SECLABEL{selinux} crash fix

2020-11-13 Thread Steve Sakoman
From: akash hadke Adding SECLABEL{selinux}="some value" causes systemd-udev to crash. So applied below available patch to fix the issue. systemd-udev-seclabel-options-crash-fix.patch Link: https://github.com/systemd/systemd/commit/0335d110afc08baf47d76b7011ce02510dfdd524.patch Signed-off-by: a

[OE-core][dunfell 09/18] gstreamer1.0: warn the user when something is wrong with GstBufferPool

2020-11-13 Thread Steve Sakoman
From: Jose Quaresma This is not a critical bug fix but it can be usefull in some BSP with exotic drivers like on nvidia tegra bsp. Signed-off-by: Jose Quaresma Signed-off-by: Steve Sakoman --- ...size-in-reset-when-maxsize-is-larger.patch | 49 +++ .../gstreamer/gstreamer1.0_1

[OE-core][dunfell 00/18] Patch review

2020-11-13 Thread Steve Sakoman
Please review this next set of patches for dunfell and have comments back by end of day on Tuesday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1588 The following changes since commit 4f395ad49ef9035954d0fda7b7df14dea18b49a0: grub: clean up

[OE-core][dunfell 13/18] testimage: print results for interrupted runs

2020-11-13 Thread Steve Sakoman
From: Konrad Weihmann When a run is ended by overall timeout, print the already executed testcases, to provide some hints which testcase might made the test suite reach global timeout. Nonetheless make the testrun exit with an error Signed-off-by: Konrad Weihmann Signed-off-by: Richard Purdie

[OE-core][dunfell 14/18] binutils: reproducibility: reuse debug-prefix-map for stabs

2020-11-13 Thread Steve Sakoman
From: Denys Zagorui powerpc 32bit Linux Kernel widely uses .stabs pseudo-op to produce debugging information in stabs format. Faced an issue that during Linux Kernel build with Yocto build system for 32bit powerpc platform resulting vmlinux contains absolute path in .stabstr section that cannot b

[OE-core][dunfell 07/18] diffstat: add nativesdk to BBCLASSEXTEND

2020-11-13 Thread Steve Sakoman
From: Nathan Rossi The diffstat tool is part of HOSTTOOLS. To support hosts that do not have it installed with buildtools-tarball it must be enabled for nativesdk. Signed-off-by: Nathan Rossi Signed-off-by: Richard Purdie (cherry picked from commit 0ed002422bc46539f1d71ed19ee17358b6691bf0) Sig

[OE-core][dunfell 03/18] libdnf: Fix license as it contains 'or later' clause

2020-11-13 Thread Steve Sakoman
From: Richard Purdie The license headers are clear that the code is "or later", fix LICENSE to match. Signed-off-by: Richard Purdie (cherry picked from commit e565e0b908c71ad5106d1c6c73d269b819787e55) Signed-off-by: Steve Sakoman --- meta/recipes-devtools/libdnf/libdnf_0.28.1.bb | 2 +- 1 fil

[OE-core][dunfell 01/18] dosfstools: add mkfs.vfat to ALTERNATIVE

2020-11-13 Thread Steve Sakoman
From: Ricardo Salveti The mkfs.vfat tool can also be provided by busybox via the CONFIG_MKFS_VFAT configuration (not enabled by default in OE but can be enabled on systems avoiding components based on GPLv3). Signed-off-by: Ricardo Salveti Signed-off-by: Richard Purdie (cherry picked from comm

[OE-core][dunfell 05/18] kernel-module-split.bbclass: identify kernel modconf files as configuration files

2020-11-13 Thread Steve Sakoman
From: Gratian Crisan Currently the modconf fragments representing the configuration for kernel modules are written out to appropriate .conf files and added to the FILES variable. However they are not identified as 'configuration files' and installing a new version of a kernel module results in a

[OE-core][dunfell 06/18] syslinux: add link to upstream discussion in patch

2020-11-13 Thread Steve Sakoman
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit dfc2b114e9d62f0eee04129009a24a8edb2a8dd1) Signed-off-by: Steve Sakoman --- .../syslinux/0001-linux-syslinux-support-ext2-3-4-device.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[OE-core][dunfell 08/18] clutter-gst-3.0: do not call out to host gstreamer plugin scanner

2020-11-13 Thread Steve Sakoman
From: Alexander Kanavin This is host contamination and can also fail for all kinds of reasons when running under usermode qemu. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit fb60d0920b660dffb346b2212dc6f8ba2a0b9fde) Signed-off-by: Steve Sakoman ---

[OE-core][dunfell 02/18] ptest-runner: Fix license as it contains 'or later' clause

2020-11-13 Thread Steve Sakoman
From: Richard Purdie The license headers are clear that the code is "or later", fix LICENSE to match. Signed-off-by: Richard Purdie (cherry picked from commit 5f0b5cdfcb104ac50222a47652e090ad8770e49f) Signed-off-by: Steve Sakoman --- meta/recipes-support/ptest-runner/ptest-runner_2.3.2.bb | 2

Re: [OE-core] [PATCH v3] dbus: split -common and -tools out of main package

2020-11-13 Thread Luca Bocassi
On Fri, 2020-11-13 at 14:34 +, Richard Purdie wrote: > On Fri, 2020-11-13 at 10:47 +, luca.bocca...@gmail.com wrote: > > From: Luca Boccassi > > > > Certain config files and units are shared between dbus-daemon and > > dbus-broker (available in meta-openembedded), so split them out to > >

[OE-core] [PATCH v4] dbus: split -common and -tools out of main package

2020-11-13 Thread Luca Bocassi
From: Luca Boccassi Certain config files and units are shared between dbus-daemon and dbus-broker (available in meta-openembedded), so split them out to allow installing dbus-broker without pulling in dbus-daemon and its dependencies. Stand-alone command line tools can also be used regardless of

Re: [OE-core] [PATCH v3] dbus: split -common and -tools out of main package

2020-11-13 Thread Richard Purdie
On Fri, 2020-11-13 at 10:47 +, luca.bocca...@gmail.com wrote: > From: Luca Boccassi > > Certain config files and units are shared between dbus-daemon and > dbus-broker (available in meta-openembedded), so split them out to > allow installing dbus-broker without pulling in dbus-daemon and its

Re: [OE-core] python3-native sysconfig failing to load in dunfell

2020-11-13 Thread Glenn Stroz via lists.openembedded.org
Jumping in to note that the python3native patch mentioned above worked for us (removing the env var). We did not test any target packages. -Glenn On Fri, Nov 13, 2020 at 5:45 AM Alexander Kanavin wrote: > I think I have to go back to my original patch. Using a wrapper for native > python is pr

[OE-core] [PATCH v3] dbus: split -common and -tools out of main package

2020-11-13 Thread Luca Bocassi
From: Luca Boccassi Certain config files and units are shared between dbus-daemon and dbus-broker (available in meta-openembedded), so split them out to allow installing dbus-broker without pulling in dbus-daemon and its dependencies. Stand-alone command line tools can also be used regardless of

Re: [OE-core] python3-native sysconfig failing to load in dunfell

2020-11-13 Thread Alexander Kanavin
I think I have to go back to my original patch. Using a wrapper for native python is problematic for two reasons: - thwarts target python build as target python needs native python, but *without* the environment variable set - adds an unconditional dependency on target python to a few items, even i