Re: [OE-core] [dunfell][PATCH RFC] busybox.inc: Create temporary busybox links during install

2022-01-21 Thread Andrej Valek
Hello again, Maybe a general question. Is it working in current master? I do not want to brake dunfell, just applying something, which will create a lot of divergence. Cheers, Andrej On Fri, 2022-01-21 at 15:02 +, Bryan Evenson wrote: > Andrej, > > Thanks for the response.  This is an attem

[OE-core] [PATCH] systemd: Forward port musl patches

2022-01-21 Thread Khem Raj
Redo the header include patch and add fixes for new code. Signed-off-by: Khem Raj --- .../0001-Adjust-for-musl-headers.patch| 453 ++ ...ass-correct-parameters-to-getdents64.patch | 50 ++ .../0002-Add-sys-stat.h-for-S_IFDIR.patch | 29 ++ ...002-don-t-use-glibc-spe

[OE-core] [PATCH] sstate: A third fix for for touching files inside pseudo

2022-01-21 Thread Peter Kjellerstedt
This continues where commit676757f "sstate: fix touching files inside pseudo" and commit 29fc8599 "sstate: another fix for touching files inside pseudo" left off. The previous changes switched from trying to check if the sstate file is writable before touching it, to always touching the sstate fil

Re: [OE-core] [PATCH] ffmpeg: Update from 4.4.1 to 5.0

2022-01-21 Thread Alexander Kanavin
I have now sent out the meson 0.61 fixes for meta-oe. They're all of the same type, and could be done quickly. The remaining failures from the list are: - folks (not in meta-oe layers) - minidlna, libvncserver, mpd, opencv (ffmpeg 5.0 api errors, each recipe needs individual attention) Alex On F

Re: [OE-core] [PATCH] ffmpeg: Update from 4.4.1 to 5.0

2022-01-21 Thread Alexander Kanavin
I'm working on these now. Alex On Thu, 20 Jan 2022 at 21:15, Khem Raj wrote: > there are bunch of failures in meta-openembedded as well see > > https://errors.yoctoproject.org/Errors/Build/138784/ > > On Tue, Jan 18, 2022 at 12:48 PM Alexander Kanavin > wrote: > > > > This update breaks gst-

[OE-core] [PATCH 2/2] qemuppc64.conf: Remove commented prelink use

2022-01-21 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/conf/machine/qemuppc64.conf | 4 1 file changed, 4 deletions(-) diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf index 2902d541ad6..a35c40b5927 100644 --- a/meta/conf/machine/qemuppc64.conf +++ b/meta/conf/machine/qemuppc64.co

[OE-core] [PATCH 1/2] image-prelink: Remove bbclass

2022-01-21 Thread Khem Raj
Upcoming glibc 2.35 is dropping support for prelinker, this just ensures that we do not carry non-working classes. [1] [1] https://patchwork.sourceware.org/project/glibc/patch/20220121172951.285848-2-adhemerval.zane...@linaro.org/ Signed-off-by: Khem Raj --- meta/classes/image-prelink.bbclass

Re: [OE-core] [dunfell][PATCH RFC] busybox.inc: Create temporary busybox links during install

2022-01-21 Thread Bryan Evenson
Andrej, Thanks for the response. This is an attempt to fix a problem I am having with automated firmware upgrades for my system. I am using opkg for a package manager; not sure if the same problem exists with other package managers. I run into problems whenever busybox is one of the packages

[OE-core] [hardknott][PATCH 15/15] cve-check: add lockfile to task

2022-01-21 Thread Anuj Mittal
From: Konrad Weihmann this should prevent running into the very rare error sqlite3.OperationalError: attempt to write a readonly database As highlighted by https://www.sqlite.org/faq.html#q5 it is likely that the adapter won't allow use multiple exec calls at the same time. So it's best to prev

[OE-core] [hardknott][PATCH 14/15] linux-yocto/5.10: update to v5.10.91

2022-01-21 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: df395c763ba0 Linux 5.10.91 674071c9eb26 Input: zinitix - make sure the IRQ is allocated before it gets enabled ef81f7d406c2 ARM: dts: gpio-ranges property is now r

[OE-core] [hardknott][PATCH 13/15] linux-yocto/5.10: amdgpu: updates for CVE-2021-42327

2022-01-21 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto/5.10: fd84b99a8ccb drm/amd/display: Don't allow partial copy_from_user 024f4ff63d55 drm/amdgpu: Fix even more out of bound writes from debugfs Signed-off-by: Paul Gortmaker Signed-off-by: Bruce Ashfield Signed-off

[OE-core] [hardknott][PATCH 12/15] linux-yocto/5.10: update to v5.10.90

2022-01-21 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: d3e491a20d15 Linux 5.10.90 8c15bfb36a44 bpf: Add kconfig knob for disabling unpriv bpf by default d8a5b1377bf6 perf script: Fix CPU filtering of a script's switch events 2386e8

[OE-core] [hardknott][PATCH 11/15] linux-yocto/5.10/cfg: add kcov feature fragment

2022-01-21 Thread Anuj Mittal
From: Bruce Ashfield Integrating the following commit(s) to linux-yocto: 41721be8a03 cfg/debug: add kcov kernel configs Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie (cherry picked from commit 6a11ed0910a9ed231bc3c4a9ee532358014ce535) Signed-off-by: Anuj Mittal --- meta/recipe

[OE-core] [hardknott][PATCH 10/15] linux-yocto/5.10: update to v5.10.89

2022-01-21 Thread Anuj Mittal
From: Bruce Ashfield Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: eb967e323f7f Linux 5.10.89 52ad5da8e316 phonet/pep: refuse to enable an unbound pipe 7dd52af1eb57 hamradio: improve the incomplete fix to avoid NPD 450121075a6a hamradio: defer

[OE-core] [hardknott][PATCH 09/15] populate_sdk_base: remove unneeded dirs such as /dev

2022-01-21 Thread Anuj Mittal
From: Chen Qi We met a problem that core-image-tiny-initramfs's SDK cannot be installed. The error message is like below. tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted In fact, the '/dev' direcotry is not needed by SDK. So remove it. This patches use

[OE-core] [hardknott][PATCH 08/15] xserver-xorg: whitelist two CVEs

2022-01-21 Thread Anuj Mittal
From: Ross Burton CVE-2011-4613 is specific to Debian/Ubuntu. CVE-2020-25697 is a non-trivial attack that may not actually be feasible considering the default behaviour for clients is to exit if the connection is lost. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked fr

[OE-core] [hardknott][PATCH 07/15] selftest: reproducible: Set maximum report size

2022-01-21 Thread Anuj Mittal
From: Joshua Watt Diffoscope can end up running for a very long time if there are a lot of changes. To put a limit on how long it can run, cap the maximum report size at 250 MB by default. Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie (cherry picked from commit 52d5f76f54eac384f9480

[OE-core] [hardknott][PATCH 06/15] scripts: Update to use exec_module() instead of load_module()

2022-01-21 Thread Anuj Mittal
From: Richard Purdie This is deprecated in python 3.12 and Fedora 35 is throwing warnings so move to the new functions. Signed-off-by: Richard Purdie (cherry picked from commit 655cd3f614d736416eab0d708b7c49674bf5c977) Signed-off-by: Anuj Mittal --- scripts/lib/scriptutils.py| 7 +--

[OE-core] [hardknott][PATCH 05/15] curl: Backport CVE fixes

2022-01-21 Thread Anuj Mittal
From: Robert Joslyn Backport fixes for CVE-2021-22922, CVE-2021-22923, CVE-2021-22945, CVE-2021-22946, and CVE-2021-22947. * https://curl.se/docs/CVE-2021-22922.html * https://curl.se/docs/CVE-2021-22923.html * https://curl.se/docs/CVE-2021-22945.html * https://curl.se/docs/CVE-2021-22946.ht

[OE-core] [hardknott][PATCH 04/15] armv9a/tune: Add the support for the Neoverse N2 core

2022-01-21 Thread Anuj Mittal
From: Kevin Hao This adds the support for the Neoverse N2 core, even though the Neoverse N2 core implements the Arm v9.0-A architecture, but the support of it in GCC is based on the Arm v8.5-A architecture. Please see the commit 50d9db203bc3 ("aarch64: Add support for Neoverse N2 CPU") in GCC for

[OE-core] [hardknott][PATCH 02/15] libsndfile1: fix CVE-2021-4156

2022-01-21 Thread Anuj Mittal
From: Changqing Li Signed-off-by: Changqing Li Signed-off-by: Anuj Mittal --- .../libsndfile1/CVE-2021-4156.patch | 32 +++ .../libsndfile/libsndfile1_1.0.28.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-multimedia/libsndfile/

[OE-core] [hardknott][PATCH 03/15] arch-armv8-5a.inc: Add tune include for armv8.5a

2022-01-21 Thread Anuj Mittal
From: Kevin Hao This adds support for the armv8.5a architecture and the crypto extension. (From OE-Core rev: 0cb1a6d9cb4c32526d79dad93c8053b3793053f8) Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao Signed-off-

[OE-core] [hardknott][PATCH 01/15] go: upgrade 1.16.10 -> 1.16.13

2022-01-21 Thread Anuj Mittal
From: Sakib Sajal Release 1.16.13 includes fixes for CVE-2021-44716 and CVE-2021-44717. Signed-off-by: Sakib Sajal Signed-off-by: Anuj Mittal --- meta/recipes-devtools/go/{go-1.16.10.inc => go-1.16.13.inc} | 4 ++-- ...o-binary-native_1.16.10.bb => go-binary-native_1.16.13.bb} | 4 ++-- ...

[OE-core] [hardknott][PATCH 00/15] Patch review

2022-01-21 Thread Anuj Mittal
Next set of changes for hardknott. Please review. No issues while testing except for an intermittent and unrelated failure in qemuppc. https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/3140 Thanks, Anuj The following changes since commit 7e569186820163d731cbb14f8c25ce6a2cc45dc9

Re: [OE-core] [dunfell][PATCH RFC] busybox.inc: Create temporary busybox links during install

2022-01-21 Thread Andrej Valek
Hi Bryan, Sorry, maybe I didn't fully understand the use-case. Are you trying to upgrade the busybox on demand? If yes, that is not a good idea. I'm little bit scary about doing "export PATH=$busybox_rmdir:$PATH" and creating a custom locks is not a good at all. Cheers, Andrej On Fri, 2022-01-2

[OE-core] [PATCH] ruby: do not parallel install

2022-01-21 Thread Alexander Kanavin
ruby's makefiles are rebuilding several items on every invocation, even if nothing changed, all of which are factored into libruby.so and cause it to be relinked as well. This does not seem to affect plain make invocation, but does cause races in make install: https://bugzilla.yoctoproject.org/sho

Re: [OE-core] [PATCH] runqemu: automatically turn on "kvm" on x86 CPUs with VT

2022-01-21 Thread Michael Opdenacker
On 1/21/22 12:43 PM, Alexander Kanavin wrote: > On Thu, 20 Jan 2022 at 21:46, Richard Purdie > > wrote: > > > I think the patch as it stands will actually regress things for > many users. You > must be already in the right groups to be able t

[OE-core] [PATCH] kmscube: depend on virtual/libgbm

2022-01-21 Thread Markus Niebel
From: Markus Niebel when using vendor supplied OpenGL stacks no virtual/libgbm may be provided. An example for this is the Vivante stack for i.MX6. To get better error message in such cases, add dependency. Signed-off-by: Markus Niebel --- meta/recipes-graphics/kmscube/kmscube_git.bb | 1 + 1

[OE-core] [meta-oe][PATCH] kmscube: depend on virtual/libgbm

2022-01-21 Thread Markus Niebel
From: Markus Niebel when using vendor supplied OpenGL stacks no virtual/libgbm may be provided. An example for this is the Vivante stack for i.MX6. To get better error message in such cases, add dependency. Signed-off-by: Markus Niebel --- meta/recipes-graphics/kmscube/kmscube_git.bb | 1 + 1

Re: [OE-core] [meta-oe][PATCH 2/2] gspell: inherit vala

2022-01-21 Thread Markus Volk
Hi Randy, thanks. I've sent the patches again to the correct mailinglist Am 21.01.22 um 02:46 schrieb Randy MacLeod: Markus, Thanks for the patch, seems sensible to me but please resend to:    openembedded-de...@lists.openembedded.org as documented in the README: $ grep send-email meta-gnom

Re: [OE-core] [dunfell][PATCH RFC] busybox.inc: Create temporary busybox links during install

2022-01-21 Thread Bryan Evenson
All, Ping on this RFC. It works for me, but I have a feeling there is a better way to do this. It still seems a little messy and could probably be simplified for the same effect. Thanks, Bryan > -Original Message- > From: Bryan Evenson > Sent: Thursday, December 23, 2021 9:50 AM > To

[OE-core][dunfell][PATCH] systemd: Fix CVE-2021-3997

2022-01-21 Thread Purushottam Choudhary
Add patches to fix CVE-2021-3997. Add additional below mentioned patches which are required to fix CVE: 1. rm-rf-optionally-fsync-after-removing-directory-tree.patch 2. rm-rf-refactor-rm-rf-children-split-out-body-of-directory.patch Link: http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/syste

Re: [OE-core] [PATCH] runqemu: automatically turn on "kvm" on x86 CPUs with VT

2022-01-21 Thread Alexander Kanavin
Come to think of it, what would work best is some kind of ~/.enable-runqemu-kvm file, which presence would indicate to runqemu that it is permitted to auto-enable kvm when host and target arches match. Alex On Fri, 21 Jan 2022 at 12:43, Alexander Kanavin via lists.openembedded.org wrote: > On T

Re: [OE-core] qemu tests

2022-01-21 Thread Richard Purdie
On Fri, 2022-01-21 at 11:51 +, Valek, Andrej wrote: > Hello Richard, > > Thanks for the response. In other words, take a care about your machine > by yourself => no other pending questions... ;) . Only you actually know what your machine can/cannot do and in that regard OE- Core shows an exam

Re: [OE-core] qemu tests

2022-01-21 Thread Andrej Valek
Hello Richard, Thanks for the response. In other words, take a care about your machine by yourself => no other pending questions... ;) . Regards Andrej On Fri, 2022-01-21 at 11:36 +, Richard Purdie wrote: > On Fri, 2022-01-21 at 11:32 +, Valek, Andrej wrote: > > Hi all, > > > > I have a

Re: [OE-core] [PATCH] runqemu: automatically turn on "kvm" on x86 CPUs with VT

2022-01-21 Thread Alexander Kanavin
On Thu, 20 Jan 2022 at 21:46, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > > I think the patch as it stands will actually regress things for many > users. You > must be already in the right groups to be able to access kvm on your > system but > I don't think that is the default fo

Re: [OE-core] qemu tests

2022-01-21 Thread Richard Purdie
On Fri, 2022-01-21 at 11:32 +, Valek, Andrej wrote: > Hi all, > > I have a generic question about testimage task. Currently > 'TESTIMAGEDEPENDS:append:qemuall = " qemu-native:do_populate_sysroot > qemu-helper-native:do_populate_sysroot qemu-helper- > native:do_addto_recipe_sysroot"' means that

[OE-core] qemu tests

2022-01-21 Thread Andrej Valek
Hi all, I have a generic question about testimage task. Currently 'TESTIMAGEDEPENDS:append:qemuall = " qemu-native:do_populate_sysroot qemu-helper-native:do_populate_sysroot qemu-helper- native:do_addto_recipe_sysroot"' means that no other machine then qemu* has the feature available. So when "rm_

Re: [OE-core][PATCHv2] libical: build gobject and vala introspection

2022-01-21 Thread Alexander Kanavin
Thanks, this should work :) Alex On Fri, 21 Jan 2022 at 04:57, Markus Volk wrote: > Signed-off-by: Markus Volk > --- > meta/recipes-support/libical/libical_3.0.12.bb | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/libical/libical_3.0.12.bb >

Re: [OE-core][PATCH] kernel: add missing path to search for debug files

2022-01-21 Thread Michael Opdenacker
On 1/19/22 5:48 PM, Richard Purdie wrote: > On Wed, 2022-01-19 at 12:57 +0100, Andrej Valek wrote: >> Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has >> been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE >> options. For ex. when the variable "debug-file-di