[OE-core] [PATCH] qemu-system-native: Enable usb feature by default.

2020-04-23 Thread Chenxi Mao
During Risc-V development, USB is a important feature in qemu. So enable it by default. Change-Id: I308e7f0f5beea674c735f42fbfac014d96cbc521 Signed-off-by: Chenxi Mao --- meta/recipes-devtools/qemu/qemu-system-native_4.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/me

Re: [OE-Core][PATCH 1/6] openssh: Move sshdgenkeys.service to sshd.socket

2020-04-23 Thread Alex Kiernan
On Wed, Apr 22, 2020 at 7:48 PM Andre McCurdy wrote: > > On Wed, Apr 22, 2020 at 6:52 AM Alex Kiernan wrote: > > > > sshd.socket launches the templated sshd@.service, so by moving the > > sshdgenkeys.service to sshd.socket, key generation can start in advance > > of a connection. > > Is deferring

Re: [OE-Core][PATCH 3/6] rng-tools: Restrict rngd.service

2020-04-23 Thread Alex Kiernan
On Wed, Apr 22, 2020 at 2:52 PM Alex Kiernan via lists.openembedded.org wrote: > > Whilst rngd has to run as root, we can significantly constrain its > permissions (AF_INET AF_INET6 are only required if nistbeacon is > enabled). > > Signed-off-by: Alex Kiernan > --- > > .../rng-tools/rng-tools/r

Re: [OE-core] [PATCH v2] xkeyboard-config: upgrade 2.28 -> 2.29

2020-04-23 Thread Richard Purdie
On Wed, 2020-04-22 at 13:02 -0700, Wang Mingyu wrote: > From: Wang Mingyu > > Signed-off-by: Wang Mingyu > --- > .../{xkeyboard-config_2.28.bb => xkeyboard-config_2.29.bb}| 4 > ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > rename meta/recipes-graphics/xorg-lib/{xkeyboard-config

Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-04-23 Thread Richard Purdie
On Wed, 2020-04-01 at 13:37 +0800, Yeoh Ee Peng wrote: > Add new testcase to check IMAGE_GEN_DEBUGFS. Test makes > sure that debug filesystem is created accordingly. Test also check > for debug symbols for some packages as suggested by Ross Burton. > > [YOCTO #10906] > > Signed-off-by: Humberto I

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Richard Purdie
On Sun, 2020-04-19 at 08:35 +0200, Ricardo Ribalda wrote: > > Changelog v6->v7 (Thanks Paul): > - Use passwd instead of shadow for oetests > - For pseudo folder inside workdir > - Improve comments on tar > - Use line number on tar name > - Allow include-files of files in workdir > > Cha

Re: [OE-core] [PATCH] selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

2020-04-23 Thread Yeoh Ee Peng
Hi Richard, This was surprising, it look like debug filesystem was not being generated given the configuration (IMAGE_GEN_DEBUGFS = "1"). This was exactly the type of error that this automated test was designed to catch. I shall debug this on master and potentially master-next. Thanks, Yeoh

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Ricardo Ribalda
Hi Richard Thanks for the test. All the errors seem to have the same pattern: FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-27135/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200423015

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Richard Purdie
On Thu, 2020-04-23 at 11:57 +0200, Ricardo Ribalda Delgado wrote: > Hi Richard > > Thanks for the test. > > All the errors seem to have the same pattern: > > FileNotFoundError: [Errno 2] No such file or directory: > '/home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st- > 27135/tmp/wor

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Ricardo Ribalda
On Thu, Apr 23, 2020 at 12:45 PM Richard Purdie wrote: > > On Thu, 2020-04-23 at 11:57 +0200, Ricardo Ribalda Delgado wrote: > > Hi Richard > > > > Thanks for the test. > > > > All the errors seem to have the same pattern: > > > > FileNotFoundError: [Errno 2] No such file or directory: > > '/home/

[OE-Core][PATCH v2] rng-tools: Restrict rngd.service

2020-04-23 Thread Alex Kiernan
Whilst rngd has to run as root, we can significantly constrain its permissions (network is only required if nistbeacon is enabled). Signed-off-by: Alex Kiernan --- Changes in v2: - fix network access .../rng-tools/rng-tools/rngd.service | 19 +++ .../rng-tools/rng-tool

Re: [OE-core] [PATCH] libsolv: upgrade 0.7.10 -> 0.7.11

2020-04-23 Thread Richard Purdie
On Wed, 2020-04-22 at 13:02 -0700, Wang Mingyu wrote: > From: Wang Mingyu > > Signed-off-by: Wang Mingyu > --- > .../libsolv/{libsolv_0.7.10.bb => libsolv_0.7.11.bb}| 2 > +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-extended/libsolv/{libsolv_0.7.10.bb =

[OE-core] ✗ patchtest: failure for rng-tools: Restrict rngd.service

2020-04-23 Thread Patchwork
== Series Details == Series: rng-tools: Restrict rngd.service Revision: 1 URL : https://patchwork.openembedded.org/series/23860/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on th

Re: [OE-core] [PATCH] json-c: upgrade 0.13.1 -> 0.14

2020-04-23 Thread Martin Jansa
On Thu, Apr 23, 2020 at 06:11:29AM -0700, Wang Mingyu wrote: > From: Wang Mingyu > > add-disable-werror-option-to-configure.patch > removed since it is included in 0.14 > > Make mode changes from autotools to cmake. > > Signed-off-by: Wang Mingyu > --- > ...d-disable-werror-option-to-configur

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Ricardo Ribalda
On my setup, using debian crops the error is even different :( If you want I can keep trying, otherwise I will leave it to the experts ;) Best regards! pokyuser@e81a7801004c:/workdir/build$ oe-selftest -r wic.Wic2.test_biosplusefi_plugin_qemu wic.Wic2.test_expand_mbr_image wic.Wic2.test_qemu w

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Richard Purdie
On Thu, 2020-04-23 at 15:17 +0200, Ricardo Ribalda Delgado wrote: > On my setup, using debian crops the error is even different :( > > If you want I can keep trying, otherwise I will leave it to the > experts ;) Buried in there I think you have a setup problem: Output from runqemu: runqemu - ERR

Re: [OE-core] [PATCH v7 00/10] Fix permissions and embed-rotofs

2020-04-23 Thread Ricardo Ribalda
On Thu, Apr 23, 2020 at 3:23 PM Richard Purdie wrote: > > On Thu, 2020-04-23 at 15:17 +0200, Ricardo Ribalda Delgado wrote: > > On my setup, using debian crops the error is even different :( > > > > If you want I can keep trying, otherwise I will leave it to the > > experts ;) > > Buried in there

[OE-core][PATCH] python3: fix CVE-2020-8492

2020-04-23 Thread Trevor Gamblin
CVE: CVE-2020-8492 Signed-off-by: Trevor Gamblin --- ...20-8492-Fix-AbstractBasicAuthHandler.patch | 246 ++ meta/recipes-devtools/python/python3_3.8.2.bb | 1 + 2 files changed, 247 insertions(+) create mode 100644 meta/recipes-devtools/python/files/0001-bpo-39503-CVE-2020-8

[OE-core] ✗ patchtest: failure for python3: fix CVE-2020-8492

2020-04-23 Thread Patchwork
== Series Details == Series: python3: fix CVE-2020-8492 Revision: 1 URL : https://patchwork.openembedded.org/series/23861/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the prop

[OE-core][PATCH v2] python3: fix CVE-2020-8492

2020-04-23 Thread Trevor Gamblin
CVE: CVE-2020-8492 Signed-off-by: Trevor Gamblin --- ...20-8492-Fix-AbstractBasicAuthHandler.patch | 248 ++ meta/recipes-devtools/python/python3_3.8.2.bb | 1 + 2 files changed, 249 insertions(+) create mode 100644 meta/recipes-devtools/python/files/0001-bpo-39503-CVE-2020-8

[OE-Core][PATCH v2 4/6] run-postinsts: Set RemainAfterExit on systemd unit

2020-04-23 Thread Alex Kiernan
run-postinsts is only expected to run once, but during startup, but if any dependency is pulled into a transaction, even once it has been marked disabled, then it can be restarted. This leads to occasional failures during QA if an ssh session starts whilst the existing transaction is still running

[OE-Core][PATCH v2 1/6] openssh: Move sshdgenkeys.service to sshd.socket

2020-04-23 Thread Alex Kiernan
sshd.socket launches the templated sshd@.service, so by moving the sshdgenkeys.service to sshd.socket, key generation can start in advance of a connection. Signed-off-by: Alex Kiernan --- Changes in v2: None meta/recipes-connectivity/openssh/openssh/sshd.socket | 1 + meta/recipes-connectivi

[OE-Core][PATCH v2 3/6] rng-tools: Restrict rngd.service

2020-04-23 Thread Alex Kiernan
Whilst rngd has to run as root, we can significantly constrain its permissions (network is only required if nistbeacon is enabled). Signed-off-by: Alex Kiernan --- Changes in v2: - fix network access .../rng-tools/rng-tools/rngd.service | 19 +++ .../rng-tools/rng-tool

[OE-Core][PATCH v2 5/6] systemd: Drop RDEPEND on systemd-compat-units when sysvinit is disabled

2020-04-23 Thread Alex Kiernan
When sysvinit is disabled we have no init script support, so systemd-compat-units serves no purpose. Signed-off-by: Alex Kiernan --- Changes in v2: None meta/recipes-core/systemd/systemd_244.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/systemd/

[OE-Core][PATCH v2 6/6] systemd: upgrade v244.3 -> v245.5

2020-04-23 Thread Alex Kiernan
Refresh patches for v245.5, enable userdb by default. Update musl patches for additional missing stdlib headers. Add musl patch to avoid gshadow. Commits: c5e346905952 network: fix static assertion on IPPROTO_MAX range a71980e03037 resolved: tone down comment in /run/systemd/{stub-,}resolve.c

[OE-Core][PATCH v2 2/6] rngd-tools: Install as part of sysinit.target

2020-04-23 Thread Alex Kiernan
rngd.service has a constraint of Before=sysinit.target, installing as part of multi-user.target is an odd choice as unless it's pulled in by a different dependency, an other target would not start it. Signed-off-by: Alex Kiernan --- Changes in v2: None meta/recipes-support/rng-tools/rng-tools/

Re: [OE-core] [PATCH] meson.bbclass: avoid unexpected operating-system names

2020-04-23 Thread Andreas M?ller
On Thu, Apr 16, 2020 at 12:30 AM Andreas Müller wrote: > > For example 'linux-gnueabi' is not what meson consumers expect: See canonical > table of OS names for Meson (thanks Ross). Surprisingly this did not pop up > earlier but wrong system-name can break building as described in [1] > > [1] > h

Re: [OE-Core][PATCH 1/6] openssh: Move sshdgenkeys.service to sshd.socket

2020-04-23 Thread Andre McCurdy
On Thu, Apr 23, 2020 at 1:30 AM Alex Kiernan wrote: > On Wed, Apr 22, 2020 at 7:48 PM Andre McCurdy wrote: > > On Wed, Apr 22, 2020 at 6:52 AM Alex Kiernan wrote: > > > > > > sshd.socket launches the templated sshd@.service, so by moving the > > > sshdgenkeys.service to sshd.socket, key generati

[OE-core] any value in a single variable setting for "don't use busybox"?

2020-04-23 Thread Robert P. J. Day
in the vein of the recently-introduced INIT_MANAGER variable, is there any value in introducing a variable that is short for "i don't want a hint of busybox in my image"? i see the equivalent in the same file i mentioned in an earlier post: meta/lib/oeqa/selftest/cases/imagefeatures.py, with

[OE-core] [PATCH v2] bzip2: Add test suite for bzip2

2020-04-23 Thread Rahul Kumar
Source: git://sourceware.org/git/bzip2-tests.git Type: Enhancement Description: bzip2 now has a test suite available at git://sourceware.org/git/bzip2-tests.git. This is a collection of "interesting" .bz2 files that can be used to test bzip2 works correctly. They come from different projects. So

[OE-core] Changing DISTRO_FEATURES / build directory

2020-04-23 Thread Chris Laplante via lists.openembedded.org
There is a familiar message in sstate.bbclass that explains: "... It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error, however switching DISTRO_FEATURES on an existing build directory is not supported - you should reall

[oe-core][PATCH 1/1] re2c: advance to version 1.3

2020-04-23 Thread Joe Slater
The locations of release archives has changed. We change to pulling source from the git repo. Fix CVE-2020-11958 which applies to versions 1.2 and 1.3. Signed-off-by: Joe Slater --- .../recipes-support/re2c/re2c/cve-2020-11958.patch | 48 ++ meta/recipes-support/re2c/re2c_1

Re: [OE-core] any value in a single variable setting for "don't use busybox"?

2020-04-23 Thread Christopher Larson
This seems like something best kept in the distro .conf rather than local.conf, in which case brevity is much less of an issue. On Thu, Apr 23, 2020 at 10:53 AM Robert P. J. Day wrote: > > in the vein of the recently-introduced INIT_MANAGER variable, is > there any value in introducing a varia

[OE-core] OE installs /sbin/nologin, but systemd accounts use /bin/nologin

2020-04-23 Thread Robert P. J. Day
followup to previous post ... with master oe-core, i did: * MACHINE = qemuarm64 * core-image-minimal with only customization: INIT_MANAGER = "systemd" the end result was a bootable QEMU image which had the executable /sbin/nologin, but a number of systemd-related user accounts with log

Re: [OE-core] any value in a single variable setting for "don't use busybox"?

2020-04-23 Thread Robert P. J. Day
On Thu, 23 Apr 2020, Christopher Larson wrote: > This seems like something best kept in the distro .conf rather than > local.conf, in which case brevity is much less of an issue. > > On Thu, Apr 23, 2020 at 10:53 AM Robert P. J. Day > wrote: > >   in the vein of the recently-introduced INI

Re: [OE-core] Changing DISTRO_FEATURES / build directory

2020-04-23 Thread Richard Purdie
On Thu, 2020-04-23 at 19:12 +, Chris Laplante via lists.openembedded.org wrote: > There is a familiar message in sstate.bbclass that explains: “… It > may be you changed DISTRO_FEATURES from systemd to udev or vice > versa. Cleaning those recipes should again resolve this error, > however switc

Re: [OE-core] [PATCH] kernel.bbclass: copy some more needed files in do_shared_workdir

2020-04-23 Thread Dan Callaghan
Excerpts from Bruce Ashfield's message of 2020-04-22 13:40:33 -04:00: > Are you seeing this on master, or some other branch ? Unfortunately we are still on Warrior, and I can't easily test any newer branches right now. > I can run the following on master, as often as I like: > > % bitbake linux

[OE-core] [PATCH 1/3] python3-pbr: change shebang to python3

2020-04-23 Thread Changqing Li
From: Changqing Li we have offcially dropped python2, so it is possible that our code run on python3 only host, so change shebang to python3 to avoid error like: python: command not found Signed-off-by: Changqing Li --- meta/recipes-devtools/python/python-pbr.inc | 2 + .../0001-change-sheb

[OE-core] [PATCH 2/3] python3-pip: change shebang to python3

2020-04-23 Thread Changqing Li
From: Changqing Li we have offcially dropped python2, so it is possible that our code run on python3 only host, so change shebang to python3 to avoid error like: python: command not found Signed-off-by: Changqing Li --- .../0001-change-shebang-to-python3.patch | 60 +++ ..

[OE-core] [PATCH 3/3] python3-setuptools: change shebang to python3

2020-04-23 Thread Changqing Li
From: Changqing Li we have offcially dropped python2, so it is possible that our code run on python3 only host, so change shebang to python3 to avoid error like: python: command not found Signed-off-by: Changqing Li --- .../python/python-setuptools.inc | 2 ++ .../0001-change-she

[OE-core] [zeus][PATCH] prservice.py: fix do_package with newer Python in Ubuntu 20.04

2020-04-23 Thread Anuj Mittal
From: Martin Jansa * with Ubuntu 20.04 which is using python 3.8 I'm seeing a lot of errors like: ERROR: libxml2-2.9.10-r0 do_package: Can NOT get PRAUTO, exception No module named '_sysconfigdata' not sure what caused this from python 3.8, but this seems to work * PRserv is enabled with: