[OE-core][kirkstone][PATCH] qemu: Fix CVE-2023-42467

2024-02-29 Thread Poonam Jadhav
1. scsi-disk: allow MODE SELECT block descriptor to set the block size Link: https://github.com/qemu/qemu/commit/356c4c441ec01910314c5867c680bef80d1dd373 The MODE SELECT command can contain an optional block descriptor that can be used to set the device block size. If the block descriptor is

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-29 Thread Khem Raj
On Wed, Feb 28, 2024 at 10:43 PM Changqing Li wrote: > > > On 2/29/24 14:04, Khem Raj wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the sender and > > know the content is safe. > > > > On Wed, Feb 28,

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-29 Thread Changqing Li
On 2/29/24 19:56, Peter Kjellerstedt wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. -Original Message- From:openembedded-core@lists.openembedded.org On

[OE-core] [PATCH] u-boot: Move UBOOT_INITIAL_ENV back to u-boot.inc

2024-02-29 Thread Fabio Estevam
From: Fabio Estevam Commit cc6c3e31526d ("u-boot: Move definitions to common locations") moved UBOOT_INITIAL_ENV to uboot-config.bbclass, but it should be kept at u-boot.inc because it encodes ${PN} in it, which should be set by the U-Boot recipe. Currently, whatever inherits uboot-config

[OE-core] [PATCH v2] python3-attrs: disable Hypothesis deadline

2024-02-29 Thread Tim Orling
The deadline is by default 200ms, but this is intended to be useful to the developer and not necessarily recommended for heavily loaded CI systems. Avoid warnings by disabling the deadline completely. https://github.com/HypothesisWorks/hypothesis/issues/3713

[OE-core] [PATCH] linux-yocto: Enable gpio-sim with ptests

2024-02-29 Thread Khem Raj
ptests for packages like libgpiod and python3-gpiod need gpio-sim to run the tests successfully. Signed-off-by: Khem Raj Cc: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-dev.bb| 2 +- meta/recipes-kernel/linux/linux-yocto-rt_6.6.bb | 2 +-

Re: [OE-core] [RFC OE-core][PATCH v2 1/7] go: rework patch to avoid identation

2024-02-29 Thread Richard Purdie
On Thu, 2024-02-29 at 21:42 +, Jose Quaresma wrote: > > > A quinta, 29/02/2024, 09:35, Jose Quaresma via lists.openembedded.org > escreveu: > > > > > > Richard Purdie escreveu > > (quinta, 29/02/2024 à(s) 08:18): > > > On Wed, 2024-02-28 at 21:16 -0800, Khem Raj wrote: > > > > Fails to

Re: [OE-core] [RFC OE-core][PATCH v2 1/7] go: rework patch to avoid identation

2024-02-29 Thread Jose Quaresma
A quinta, 29/02/2024, 09:35, Jose Quaresma via lists.openembedded.org escreveu: > > > Richard Purdie escreveu (quinta, > 29/02/2024 à(s) 08:18): > >> On Wed, 2024-02-28 at 21:16 -0800, Khem Raj wrote: >> > Fails to compile bunch of recipes using go e.g. influxdb, crucible, >> > syzkaller in

Re: [OE-core] [PATCH] core-image-full-cmdline: add package-management

2024-02-29 Thread Richard Purdie
On Thu, 2024-02-29 at 16:03 +0100, michael.opdenac...@bootlin.com wrote: > From: Michael Opdenacker > > Add "package-management" image feature to the core-image-full-cmdline > image, > to support package upgrade testing. > > Signed-off-by: Michael Opdenacker > Suggested-by: Richard Purdie >

Re: [OE-core] [PATCH] core-image-full-cmdline: add package-management

2024-02-29 Thread Richard Purdie
On Thu, 2024-02-29 at 13:29 -0600, Mark Hatle wrote: > There are plenty of systems where we don't want package-management > enabled by default.  This will just make core-image-full-cmdline less > useful there. > > In the past, it's always been up to the user to enable full package- > management

Re: [OE-core] [PATCH] core-image-full-cmdline: add package-management

2024-02-29 Thread Mark Hatle
There are plenty of systems where we don't want package-management enabled by default. This will just make core-image-full-cmdline less useful there. In the past, it's always been up to the user to enable full package-management in their configuration, default has been to not have it present.

[OE-core] [PATCH] python3-attrs: disable Hypothesis deadline

2024-02-29 Thread Tim Orling
The deadline is by default 200ms, but this is intended to be useful to the developer and not necessarily recommended for CI systems. Avoid, AB warnings by disabling the deadline completely. https://github.com/HypothesisWorks/hypothesis/issues/3713

Re: [OE-core] [PATCH 3/3] rust: reproducibility issue fix with v1.75

2024-02-29 Thread Shinde, Yash via lists.openembedded.org
*Reproducibility:* Below targets are tested- - x86_64 - x86 - arm - arm64 Remaining targets yet to be tested. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#196443): https://lists.openembedded.org/g/openembedded-core/message/196443 Mute This

Re: [OE-core] [PATCH 1/3] rust: Upgrade 1.74.1 -> 1.75.0

2024-02-29 Thread Shinde, Yash via lists.openembedded.org
*Builds tested:* - bitbake rust - bitbake cargo - bitbake nativesdk-rust *oe-selftest:* Below targets are tested- - x86_64 - x86 Remaining targets yet to be tested. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#196442):

[OE-core] [PATCH 3/3] rust: reproducibility issue fix with v1.75

2024-02-29 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde With 1.75 rust release, the '.rustc' section of shared object libs are embedded with absolute path names which is casuing reproducibiluty issues. This change will fix the path name format back to '/rust/$hash' as in earlier versions. Below are the links for detailed bug

[OE-core] [PATCH 2/3] rust: Revert PGO to it's default

2024-02-29 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde The rust profiler PGO (Profile-guided Optimization) options was disabled as a part rustdoc reproducibility fix. https://git.yoctoproject.org/poky/commit/meta/recipes-devtools/rust?id=321aebfa281bd28e368c684ece57867f6bd0cbe7 But, other applications (such as to build chromium

[OE-core] [PATCH] linux-firmware: split out more firmware pieces

2024-02-29 Thread Ross Burton
From: Ross Burton Split _most_ of the rtl_nic drivers to a subpackage. Notably this does not include rtl8168 as this is already split into a separate package. These drivers are fairly common so this lets people install the essential firmware easier. Also split out some large firmware

Re: [OE-core] python3-attrs - turn deadline off?

2024-02-29 Thread Tim Orling
On Thu, Feb 29, 2024 at 12:25 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > I noticed this failures: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6139 > > which leads to: > > >

[OE-core] [PATCH] core-image-full-cmdline: add package-management

2024-02-29 Thread Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker Add "package-management" image feature to the core-image-full-cmdline image, to support package upgrade testing. Signed-off-by: Michael Opdenacker Suggested-by: Richard Purdie --- meta/recipes-extended/images/core-image-full-cmdline.bb | 2 +- 1 file changed, 1

Re: [OE-core] [PATCH] linux-yocto: update yocto-kernel-cache to fix CONFIG_DEBUG_CREDENTIALS warnings

2024-02-29 Thread Bruce Ashfield
On Thu, Feb 29, 2024 at 5:49 AM Ross Burton wrote: > > From: Ross Burton > > Incorporate the fix for upstream removing CONFIG_DEBUG_CREDENTIALS in > the stable branch. Please don't merge this, it makes handling my local patch queue more difficult to handle. I have more kernel changes staged

[OE-core] [PATCH 4/4] login.py: Proof of concept for screenshot testcases

2024-02-29 Thread Eilís 'pidge' Ní Fhlannagáin
This takes the work rburton did on image screenshot testing and expands it. Right now this works with most of the qemu based machines except for - qemuppc64 - qemuarmv5 - qemuriscv32 - qemuloongarch64 See "Known Issues" further down. This test takes a screendump of a qemu image, blanks out the

[OE-core] [PATCH 2/4] qemurunner.py: Fix error on calls to run_monitor

2024-02-29 Thread Eilís 'pidge' Ní Fhlannagáin
A change in QEMUMonitorProtocol.cmd() requires that we either pass in kwargs instead of an argument dict or move to cmd_raw() cmd() was renamed to cmd_raw() (and command() was renamed to cmd()) See: https://github.com/qemu/qemu/commit/37274707f6f3868fae7e0055d9a703006fc142d0

[OE-core] [PATCH 1/4] sstatetests.py: Add testing for correct sstate permissions

2024-02-29 Thread Eilís 'pidge' Ní Fhlannagáin
This patch adds to run_test_sstate_creation so that it also tests that sstate directories don't accidentally pickup umask permissions from the user upon creation. Signed-off-by: Eilís 'pidge' Ní Fhlannagáin --- meta/lib/oeqa/selftest/cases/sstatetests.py | 28 - 1 file

[OE-core] [PATCH 0/4] image-tests and sstate permissions testing

2024-02-29 Thread Eilís 'pidge' Ní Fhlannagáin
This patch series implements image-testing proof of concept and sstate permissions testing for self test. It fixes an issue in qemurunner due to changes in QEMUMonitorProtocol.cmd() and adds test png images to compare against for the image-testing. Eilís 'pidge' Ní Fhlannagáin (4):

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-29 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Alexander Kanavin > Sent: den 29 februari 2024 10:01 > To: Changqing Li > Cc: Changqing Li ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH V5] systemd: fix a dead link

[OE-core] [PATCH] linux-yocto: update yocto-kernel-cache to fix CONFIG_DEBUG_CREDENTIALS warnings

2024-02-29 Thread Ross Burton
From: Ross Burton Incorporate the fix for upstream removing CONFIG_DEBUG_CREDENTIALS in the stable branch. Signed-off-by: Ross Burton --- meta/recipes-kernel/linux/linux-yocto_6.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core][PATCH 1/2] bash: add locale alias for ja_JP shiftjis in run-ptest

2024-02-29 Thread Xiangyu Chen
On 2/29/24 18:09, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Thu, 29 Feb 2024 at 11:00, Xiangyu Chen wrote: And also i met a problem, most of

Re: [OE-core][PATCH 1/2] bash: add locale alias for ja_JP shiftjis in run-ptest

2024-02-29 Thread Alexander Kanavin
On Thu, 29 Feb 2024 at 11:00, Xiangyu Chen wrote: > And also i met a problem, most of cases are comparing test log with > pre-test log from maintainer as the test result that line > number/space/path/new line is produced causes diff failed, > > but in fact they are not a real test failure, the

[OE-core] [PATCH] waf: Improve version parsing to avoid failing on warnings

2024-02-29 Thread Yoann Congal
waf uses an inline tar file extracted by the tarfile module. The tarfile module may print a warning when used with default 'filter' argument[0]. When called to get the version, the first time after unpack, the output may look like: # output from lower modules (e.g: warnings from tarfile, ...)

Re: [OE-core][PATCH 1/2] bash: add locale alias for ja_JP shiftjis in run-ptest

2024-02-29 Thread Xiangyu Chen
On 2/28/24 17:38, Alexander Kanavin wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Wed, 28 Feb 2024 at 03:45, Xiangyu Chen wrote: Since SHIFTJIS is not a

Re: [OE-core] [RFC OE-core][PATCH v2 1/7] go: rework patch to avoid identation

2024-02-29 Thread Jose Quaresma
Richard Purdie escreveu (quinta, 29/02/2024 à(s) 08:18): > On Wed, 2024-02-28 at 21:16 -0800, Khem Raj wrote: > > Fails to compile bunch of recipes using go e.g. influxdb, crucible, > > syzkaller in meta-oe see > > > > >

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-29 Thread Alexander Kanavin
On Thu, 29 Feb 2024 at 06:56, Changqing Li wrote: > The solution is also good. But package "${docdir}/systemd/README.logs" in > package systemd may make things more complicated. > > since in bitabke .conf, ${PN}-doc is before ${PN} in PACKAGES, and > FILES:${PN}-doc = "${docdir} ...". we need

Re: [OE-core] [RFC PATCH 0/1] package.bbclass: Expose list of split out debug files

2024-02-29 Thread Alexander Kanavin
On Thu, 29 Feb 2024 at 09:20, Philip Lorenz wrote: > > One possibility is teaching it to mass-import pre-computed entries > > into its index, so that sweeping file tree scans with archive > > extractions can be avoided altogether. Or doing incremental index > > imports directly from do_package. >

[OE-core] python3-attrs - turn deadline off?

2024-02-29 Thread Richard Purdie
I noticed this failures: https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6139 which leads to: http://autobuilder.yocto.io/pub/non-release/20240228-36/testresults/qemuarm64-ptest/python3-attrs.log which says: """ Unreliable test timings! On an initial run, this test took

Re: [OE-core] [RFC PATCH 0/1] package.bbclass: Expose list of split out debug files

2024-02-29 Thread Philip Lorenz
Hi Alex, On 28.02.24 18:40, Alexander Kanavin wrote: On Wed, 28 Feb 2024 at 16:41, Philip Lorenz wrote: I'm assuming this data wouldn't be that large or that expensive to compute so I'd prefer not to hide it behind extra configuration options if we can help it. That does depend on the

Re: [OE-core] [RFC OE-core][PATCH v2 1/7] go: rework patch to avoid identation

2024-02-29 Thread Richard Purdie
On Wed, 2024-02-28 at 21:16 -0800, Khem Raj wrote: > Fails to compile bunch of  recipes using go e.g. influxdb, crucible, > syzkaller in meta-oe see > > https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3667/steps/15/logs/stdio Also fails for oe-selftest: