Re: [OE-core] RFC: Upgrading rt-tests requires numactl

2020-09-23 Thread Khem Raj
On Wed, Sep 23, 2020 at 2:40 PM Ross Burton wrote: > > On Wed, 23 Sep 2020 at 18:23, Randy Witt wrote: > > Another issue is that ARM is removed from COMPATIBLE_HOST in > > http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/numactl/numactl_git.bb?h=master#n27. > > This may

Re: [OE-core] [PATCH] bash: fix CVE-2019-18276

2020-09-23 Thread Yu, Mingli
Hi Anuj, On 9/24/20 10:50 AM, Anuj Mittal wrote: Hi Mingli, On Thu, 2020-09-24 at 10:39 +0800, Yu, Mingli wrote: From: De Huo An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID,

[OE-core] [PATCH] gettext: Fix ptest failure

2020-09-23 Thread Khem Raj
msgmerge-29 is a script without execute permissions but executed as ./msgmerge-29 which results in this test failing. It is only one test which fails on gettext/qemux86-64 Signed-off-by: Khem Raj --- ...rge-29-Add-executable-file-mode-bits.patch | 23 +++ meta/recipes-core/gette

Re: [OE-core] [PATCH] bash: fix CVE-2019-18276

2020-09-23 Thread Anuj Mittal
Hi Mingli, On Thu, 2020-09-24 at 10:39 +0800, Yu, Mingli wrote: > From: De Huo > > An issue was discovered in disable_priv_mode in shell.c in GNU Bash > through 5.0 patch 11. By default, if Bash is run with its effective > UID > not equal to its real UID, it will drop privileges by setting its >

[OE-core] [PATCH V3] dhcpcd: set service to conflict with connman

2020-09-23 Thread Yi Zhao
As the default network manager, connman has its own internal DHCP implement. If run dhcpcd and connman simultaneously, they may conflict with each other. Signed-off-by: Yi Zhao --- meta/recipes-connectivity/dhcpcd/files/dhcpcd.service | 1 + meta/recipes-connectivity/dhcpcd/files/dhcpcd@.servic

[OE-core] [PATCH] bash: fix CVE-2019-18276

2020-09-23 Thread Yu, Mingli
From: De Huo An issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. However, it does so incorrectly. On Linux and o

[OE-core] [PATCH] Add Zang Ruochen and Wang Mingyu to maintainers.inc.

2020-09-23 Thread Wang Mingyu
Zang Ruochen is responsible for the maintenance as follows: elfutils libvorbis ell python3-dbus python3-pbr python3-pip python3-pycairo python3-pygobject python3-six Wang Mingyu is responsible for the maintenance as follows: btrfs-tools dtc iso-codes libpciaccess libpipeline librepo liburcu libyam

[OE-core] [PATCH] qemuboot: Add QB_RNG variable

2020-09-23 Thread Khem Raj
RNG passthru has been enabled on all qemu machines but its being added to each one of them, with this patch its turned into QB variables which defaults to host passthru, yet it can be overridden if needed via machine or config metadata if needed. Signed-off-by: Khem Raj --- meta/classes/qemuboot

[OE-core][PATCH 1/1] cortex-m0.inc: Add tuning for cortex-m0

2020-09-23 Thread Jonathan Richardson via lists.openembedded.org
Add tuning or ARM cortex-m0. Signed-off-by: Jonathan Richardson --- meta/conf/machine/include/tune-cortex-m0.inc | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortex-m0.inc diff --git a/meta/conf/machine/include/tune-cortex-m0.inc b/meta/

Re: [OE-core] RFC: Upgrading rt-tests requires numactl

2020-09-23 Thread Ross Burton
On Wed, 23 Sep 2020 at 18:23, Randy Witt wrote: > Another issue is that ARM is removed from COMPATIBLE_HOST in > http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/numactl/numactl_git.bb?h=master#n27. > This may be for legacy reasons, but libnuma can be installed on most >

[OE-core] [PATCH] systemd: Upgrade v246.2 -> v246.6

2020-09-23 Thread Andrew Geissler
0001-Use-PREFIX-ROOTPREFIX-correctly.patch was fixed fix the following: https://github.com/systemd/systemd/pull/17009 2ee1c57c4f (tag: v246.6) kernel-install/90-loaderentry: fix when /boot is not mountpoint a2a8802abe homed: make clean that --storage=directory --image-path=/dev/some-block-device

Re: [OE-core] RFC: Upgrading rt-tests requires numactl

2020-09-23 Thread Richard Purdie
On Wed, 2020-09-23 at 10:22 -0700, Randy Witt wrote: > While looking into upgrading rt-tests to the latest version, on IRC, John > Kacur(the maintainer of rt-tests), recommended "that they use > unstable/devel/latest as the maintained stable branch". > > I updated the recipes in > http://git.yo

[OE-core] RFC: Upgrading rt-tests requires numactl

2020-09-23 Thread Randy Witt
While looking into upgrading rt-tests to the latest version, on IRC, John Kacur(the maintainer of rt-tests), recommended "that they use unstable/devel/latest as the maintained stable branch". I updated the recipes in http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rewitt/rt-tests-u

[OE-core] [PATCH] oeqa/selftest/containerimage: Update to match assumptions in configuration

2020-09-23 Thread Richard Purdie
Assumptions in the test mean it doesn't work with ssh-pregen-hostkeys. It also doesn't work with systemd. Update the configuration to make sure neither of these effect the test. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/containerimage.py | 3 +++ 1 file changed, 3 insertions

[OE-core] [PATCH] oeqa/selftest/incompatible_lib: Fix append usage

2020-09-23 Thread Richard Purdie
It's pure luck this has worked so far, add a missing space to the append. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/incompatible_lic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/incompatible_lic.py b/meta/lib/oeqa/selft

Re: [OE-core] [PATCH] packagegroup: rrecommend perf also for musl

2020-09-23 Thread Khem Raj
On Wed, Sep 23, 2020 at 1:46 AM Christian Eggers wrote: > > The perf recipe builds fine for musl. which all architectures did you build on musl ? Regardless of that we should still use PERF var so non-core architectures can still override it > > Fixes: d758a4445a ("packagegroup: Disable packages

[OE-core] [PATCH 1/2] buildtools-tarball: Fix conflicts with oe-selftest and other tooling

2020-09-23 Thread Richard Purdie
OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence we were seeing selftest failures when newer buildtools-tarballs that use this were run on the autobuilder. Unset the variable after use to avoid these issues. Signed-off-by: Richard Purdie --- meta/recipes-core/meta/buildtools-

[OE-core] [PATCH 2/2] ssh-regen-hostkeys: Add a recipe with pregenerated ssh host keys

2020-09-23 Thread Richard Purdie
Host keys are getting bigger and taking an ever increasing amount of time to generate. Whilst we do need to test that works, we don't need to test it in every image. Add a recipe which can be added to images with pre-generated keys, allowing us to speed up tests on the autobuilder where it makes se

Re: [OE-core] [PATCH 4/4] dhcpcd: disable service to start on boot automatically

2020-09-23 Thread Richard Purdie
On Wed, 2020-09-23 at 17:45 +0800, Yi Zhao wrote: > As the default network manager, connman has its own internal DHCP > implement. The dhcpcd may conflict with connman if the service start on > boot automatically. > > Signed-off-by: Yi Zhao > --- > meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.b

[OE-core] [PATCH 4/4] dhcpcd: disable service to start on boot automatically

2020-09-23 Thread Yi Zhao
As the default network manager, connman has its own internal DHCP implement. The dhcpcd may conflict with connman if the service start on boot automatically. Signed-off-by: Yi Zhao --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recip

[OE-core] [PATCH 2/4] dhcpcd: set --runstatedir to /run

2020-09-23 Thread Yi Zhao
Set --runstatedir to /run/dhcpcd rather than /var/run/dhcpcd Signed-off-by: Yi Zhao --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 1 + meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connecti

[OE-core] [PATCH 3/4] dhcpcd: add dhcpcd user to support priviledge separation

2020-09-23 Thread Yi Zhao
The dhcpcd enables privsep by default. It requires a user added to the system. Add dhcpcd user and group to support it. Signed-off-by: Yi Zhao --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity

[OE-core] [PATCH 0/4 V2] dhcpcd fixes

2020-09-23 Thread Yi Zhao
Yi Zhao (4): dhcpcd: pass --dbdir to EXTRA_OECONF to set database directory dhcpcd: set --runstatedir to /run dhcpcd: add dhcpcd user to support priviledge separation dhcpcd: disable service to start on boot automatically meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 14 ++

[OE-core] [PATCH 1/4] dhcpcd: pass --dbdir to EXTRA_OECONF to set database directory

2020-09-23 Thread Yi Zhao
Set --dbdir to /var/lib/dhcpcd rather than /var/db/dhcpcd to satisfy FHS compliance Signed-off-by: Yi Zhao --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.2.0.bb b/meta/recipes-

[OE-core] [PATCH] packagegroup: rrecommend perf also for musl

2020-09-23 Thread Christian Eggers
The perf recipe builds fine for musl. Fixes: d758a4445a ("packagegroup: Disable packages not available on musl") Signed-off-by: Christian Eggers --- .../packagegroups/packagegroup-core-tools-profile.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-c