Re: [OE-core][RFC] openssh: Start key generation in multi-user mode

2020-09-21 Thread Khem Raj
On Mon, Sep 21, 2020 at 5:45 PM Joshua Watt wrote: > > The sshkeygen uses a lot of CPU time which delays booting (especially in > the case where no SSH connection is going to happen), but we also want > to be proactive about generating it early so that the first SSH login > doesn't have to wait a

[OE-core][poky][zeus][PATCH] qemu: CVE-2020-12829

2020-09-21 Thread Li Wang
Backport CVE patch from the upstream: https://git.qemu.org/?p=qemu.git;a=commit;h=b15a22bbcbe6a78dc3d88fe3134985e4cdd87de4 Signed-off-by: Li Wang --- meta/recipes-devtools/qemu/qemu.inc | 1 + .../qemu/qemu/CVE-2020-12829.patch| 267 ++ 2 files changed,

[OE-core][RFC] openssh: Start key generation in multi-user mode

2020-09-21 Thread Joshua Watt
The sshkeygen uses a lot of CPU time which delays booting (especially in the case where no SSH connection is going to happen), but we also want to be proactive about generating it early so that the first SSH login doesn't have to wait a long time. Starting the key generation when the sockets are

Re: [OE-core] [PATCH 8/8] New systemtap.bb class, and systemtap-demo.bb to illustrate it.

2020-09-21 Thread Bruce Ashfield
On Mon, Sep 21, 2020 at 6:51 PM Richard Purdie wrote: > > On Mon, 2020-09-21 at 23:23 +0200, Yann Dirson wrote: > > > > > > Le lun. 21 sept. 2020 à 21:46, Richard Purdie < > > richard.pur...@linuxfoundation.org> a écrit : > > > On Mon, 2020-09-21 at 16:15 +0200, Yann Dirson wrote: > > > > From:

[OE-core][dunfell 0/7] Pull request (cover letter only)

2020-09-21 Thread Steve Sakoman
The following changes since commit b98e50f08b2bcf61fbc75ea1b0ad83a17c0a736a: cve-check: avoid FileNotFoundError if no do_cve_check task has run (2020-09-14 04:26:37 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next

Re: [OE-core] [PATCH 8/8] New systemtap.bb class, and systemtap-demo.bb to illustrate it.

2020-09-21 Thread Richard Purdie
On Mon, 2020-09-21 at 23:23 +0200, Yann Dirson wrote: > > > Le lun. 21 sept. 2020 à 21:46, Richard Purdie < > richard.pur...@linuxfoundation.org> a écrit : > > On Mon, 2020-09-21 at 16:15 +0200, Yann Dirson wrote: > > > From: Yann Dirson > > > > > > --- > > > meta/classes/systemtap.bbclass

Re: [OE-core] [PATCH 3/3] buildtools-tarball: Add python3-jinja2

2020-09-21 Thread Tim Orling
On Mon, Sep 21, 2020 at 5:12 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > This is used by various pieces of the result handling code, particularly > the > performance testing and we're seeing autobuilder failures that are > easiest resolved using this. > > Signed-off-by:

Re: [OE-core] [PATCH 2/3] python3-jinja2: Import from meta-oe/meta-python

2020-09-21 Thread Tim Orling
On Mon, Sep 21, 2020 at 5:12 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > This is used by some of the results handling code and needed as part of > buildtools tarball on various autobuilder worker for testing. > > ptest is disabled for OE-Core, at least for now since it

Re: [OE-core] [PATCH 1/3] python3-markupsafe: Import from meta-oe/meta-python

2020-09-21 Thread Tim Orling
On Mon, Sep 21, 2020 at 5:12 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at > least for now since it depends on python3-pytest which in turn has may > other > dependencies. > > Signed-off-by: Richard

Re: [OE-core] [PATCH 0/3] Import two python recipes from meta-oe/meta-python

2020-09-21 Thread Tim Orling
On Mon, Sep 21, 2020 at 5:12 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > We have a slightly pressing situation where the performance test builds > are failing after we cleaned up the system installs on those machines > and tried to switch over to buildtools entirely. > > The

Re: [OE-core] [PATCH 8/8] New systemtap.bb class, and systemtap-demo.bb to illustrate it.

2020-09-21 Thread Yann Dirson
Le lun. 21 sept. 2020 à 21:46, Richard Purdie < richard.pur...@linuxfoundation.org> a écrit : > On Mon, 2020-09-21 at 16:15 +0200, Yann Dirson wrote: > > From: Yann Dirson > > > > --- > > meta/classes/systemtap.bbclass| 74 +++ > >

[OE-core] [PATCH] gettext: no need to depend on bison-native

2020-09-21 Thread Ross Burton
This was needed because of a backported patch, this patch was dropped in oe-core c9f8b48 but the removal of the dependency was missed. Signed-off-by: Ross Burton --- meta/recipes-core/gettext/gettext_0.21.bb | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [OE-core] [PATCH 8/8] New systemtap.bb class, and systemtap-demo.bb to illustrate it.

2020-09-21 Thread Richard Purdie
On Mon, 2020-09-21 at 16:15 +0200, Yann Dirson wrote: > From: Yann Dirson > > --- > meta/classes/systemtap.bbclass| 74 +++ > .../systemtap/systemtap-demo_git.bb | 71 ++ > 2 files changed, 145 insertions(+) > create mode 100644

[OE-core] [PATCH] curl: Change SRC_URI from http to https

2020-09-21 Thread Randy MacLeod
The official links on: https://curl.haxx.se/download.html use https now and we're seeing this warning: WARNING: curl-native-7.72.0-r0 do_fetch: Failed to fetch URL http://curl.haxx.se/download/curl-7.72.0.tar.bz2, attempting MIRRORS if available Signed-off-by: Randy MacLeod ---

[OE-core] [PATCH] mesa: update 20.1.6 -> 20.1.8

2020-09-21 Thread Anibal Limon
Signed-off-by: Aníbal Limón --- .../mesa/{mesa-gl_20.1.6.bb => mesa-gl_20.1.8.bb} | 0 meta/recipes-graphics/mesa/mesa.inc | 2 +- meta/recipes-graphics/mesa/{mesa_20.1.6.bb => mesa_20.1.8.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename

[OE-core] [PATCH] testexport: rename create_tarball method

2020-09-21 Thread Konrad Weihmann
as otherwise when using it in combination with archiver.bbclass we would have 2 methods of the same name but with different signatures leading to various hard to understand exceptions Signed-off-by: Konrad Weihmann --- meta/classes/testexport.bbclass | 8 1 file changed, 4

[OE-core] [PATCH 7/8] kernel: consider vmlinux a build artifact, so systemtap can use it

2020-09-21 Thread Yann Dirson
From: Yann Dirson Cross-building a systemtap module requires access to debug information. --- meta/classes/kernel.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 48135b3d41..fd2355bb68 100644 ---

[OE-core] [PATCH 0/8] systemtap improvements

2020-09-21 Thread Yann Dirson
From: Yann Dirson The goal of this series is to allow for packages to provide systemtap probes and get them cross-compiled on the host, shipping only the minimal runtime in the filesystem. People willing to build the probes on target can continue to do so with no changes for some many users,

[OE-core] [PATCH 3/8] systemtap: clarify the relation between exporter and python3-probes feature

2020-09-21 Thread Yann Dirson
From: Yann Dirson --- meta/recipes-kernel/systemtap/systemtap_git.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 375e570454..89f550c859 100644 ---

[OE-core] [PATCH 5/8] systemtap: split runtime material in its own package

2020-09-21 Thread Yann Dirson
From: Yann Dirson Note the _class-target qualifier, here to prevent a funky dependency of systemtap-native on systemtap-native-runtime-native. This possibly hints to something deeper ? --- meta/recipes-kernel/systemtap/systemtap_git.bb | 9 + 1 file changed, 9 insertions(+) diff --git

[OE-core] [PATCH 8/8] New systemtap.bb class, and systemtap-demo.bb to illustrate it.

2020-09-21 Thread Yann Dirson
From: Yann Dirson --- meta/classes/systemtap.bbclass| 74 +++ .../systemtap/systemtap-demo_git.bb | 71 ++ 2 files changed, 145 insertions(+) create mode 100644 meta/classes/systemtap.bbclass create mode 100644

[OE-core] [PATCH 4/8] systemtap: fix install when python3-probes is disabled in PACKAGECONFIG

2020-09-21 Thread Yann Dirson
From: Yann Dirson --- meta/recipes-kernel/systemtap/systemtap_git.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 89f550c859..74bf7cb35c 100644 ---

[OE-core] [PATCH 6/8] systemtap-native: fix finding proper System.map

2020-09-21 Thread Yann Dirson
From: Yann Dirson Upstream looks for unversionned System.map file in kernel_build_tree, and if this fails goes for versionned filename in $sysroot/boot/. OTOH we have a versionned filename in kernel_build_tree. --- .../systemtap/systemtap-native_git.bb | 6 +

[OE-core] [PATCH 1/8] systemtap: split examples and python scripts out of main package

2020-09-21 Thread Yann Dirson
From: Yann Dirson --- meta/recipes-kernel/systemtap/systemtap_git.bb | 17 + 1 file changed, 17 insertions(+) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 1c9f2aed16..e98aff1851 100644 ---

[OE-core] [PATCH 2/8] systemtap: remove extra dependencies

2020-09-21 Thread Yann Dirson
From: Yann Dirson Most of the RDEPENDS part of PACKAGECONFIG[translator] appears to be related to examples only. --- meta/recipes-kernel/systemtap/systemtap_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb

Re: [OE-core] [PATCH] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-21 Thread Usama Arif
On 21/09/2020 14:03, Richard Purdie wrote: On Tue, 2020-09-08 at 13:28 +0100, Usama Arif wrote: The keys are only generated if they dont exist. The key generation can be turned off by setting FIT_GENERATE_KEYS to "0". The default key length for private keys is 2048 and the default format for

Re: [OE-core] [PATCH] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-21 Thread Richard Purdie
On Tue, 2020-09-08 at 13:28 +0100, Usama Arif wrote: > The keys are only generated if they dont exist. The key > generation can be turned off by setting FIT_GENERATE_KEYS to "0". > The default key length for private keys is 2048 and the default > format for public key certificate is x.509. > >

[OE-core] [PATCH 2/3] python3-jinja2: Import from meta-oe/meta-python

2020-09-21 Thread Richard Purdie
This is used by some of the results handling code and needed as part of buildtools tarball on various autobuilder worker for testing. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH 1/3] python3-markupsafe: Import from meta-oe/meta-python

2020-09-21 Thread Richard Purdie
Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Signed-off-by: Richard Purdie --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-markupsafe/run-ptest

[OE-core] [PATCH 0/3] Import two python recipes from meta-oe/meta-python

2020-09-21 Thread Richard Purdie
We have a slightly pressing situation where the performance test builds are failing after we cleaned up the system installs on those machines and tried to switch over to buildtools entirely. The issue is the need for jinja2, complicated by the recipe's ptest dependencies. This series imports them

[OE-core] [PATCH 3/3] buildtools-tarball: Add python3-jinja2

2020-09-21 Thread Richard Purdie
This is used by various pieces of the result handling code, particularly the performance testing and we're seeing autobuilder failures that are easiest resolved using this. Signed-off-by: Richard Purdie --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff

Re: [OE-core] [PATCH] kernel-fitimage: generate openssl RSA keys for signing fitimage

2020-09-21 Thread Usama Arif
Hi, Just wanted to check if there were any review comments for this patch? Thanks, Usama On 08/09/2020 13:43, Usama Arif via lists.openembedded.org wrote: On 08/09/2020 13:28, Usama Arif wrote: The keys are only generated if they dont exist. The key generation can be turned off by setting

[OE-core] [PATCH][dunfell 2/2] libx11: fix CVE-2020-14363

2020-09-21 Thread Lee Chee Yang
From: Chee Yang Lee Signed-off-by: Chee Yang Lee --- .../xorg-lib/libx11/CVE-2020-14363.patch | 36 +++ .../recipes-graphics/xorg-lib/libx11_1.6.9.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-graphics/xorg-lib/libx11/CVE-2020-14363.patch

[OE-core] [PATCH][dunfell 1/2] xserver-xorg: fix CVE-2020-14346/14361/14362

2020-09-21 Thread Lee Chee Yang
From: Chee Yang Lee fix : CVE-2020-14346 https://gitlab.freedesktop.org/xorg/xserver/-/commit/c940cc8b6c0a2983c1ec974f1b3f019795dd4cff CVE-2020-14361 https://gitlab.freedesktop.org/xorg/xserver/-/commit/144849ea27230962227e62a943b399e2ab304787 CVE-2020-14362

Re: [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch

2020-09-21 Thread Rasmus Villemoes
On 16/09/2020 17.18, Steve Sakoman wrote: > Since there is an upcoming dunfell release and we don't have a fix for > this issue I am going to revert this patch. > > When it is fixed in master I will reconsider taking this patch and the > fix for dunfell. Sorry for not seeing this sooner, and for

[OE-core] [PATCH v2] bind: remove -r option for rndc-confgen

2020-09-21 Thread Yu, Mingli
From: Mingli Yu The named service fail to start as below: # systemctl status named.service named.service - Berkeley Internet Name Domain (DNS) Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed