[oe-core][kirkstone][PATCH 1/1] nasm: fix CVE-2022-44370

2023-04-25 Thread Polampalli, Archana via lists.openembedded.org
NASM v2.16 was discovered to contain a heap buffer overflow in the component quote_for_pmake() asm/nasm.c:856 References: https://nvd.nist.gov/vuln/detail/CVE-2022-44370 Upstream patches: https://github.com/netwide-assembler/nasm/commit/2d4e6952417ec6f08b6f135d2b5d0e19b7dae30d Signed-off-by: Arc

[OE-core] [PATCH V1] Fix error SRCDIR when using usrmerge DISTRO_FEATURES

2023-04-25 Thread qi...@fujitsu.com
From: Qiu Tingting When build e2fsprogs ptest with usrmerge DISTRO_FEATURES, in test_script and test_one scripts, value of SRCDIR has problem. SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test ptest log # ptest-runner e2fsprogs START: ptest-runner 2022-12-17T11:08 BEGIN: /usr/lib/e2fsprogs/ptes

Re: [OE-core] [yocto] QA notification for completed autobuilder build (yocto-4.2.rc3)

2023-04-25 Thread Jing Hui Tham
Hi all, Intel and WR YP QA is planning for QA execution for YP build yocto- yocto-4.2.rc3. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. NUC 7 3. ADL

[OE-Core][PATCH] rust: Upgrade 1.68.2 -> 1.69.0

2023-04-25 Thread Alex Kiernan
Rebase patches, drop crossbeam_atomic is this fully merged upstream. https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.68.2.bb => cargo_1.69.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-w

[OE-core] OpenEmbedded Happy Hour April 26 9pm/2100 UTC

2023-04-25 Thread Denys Dmytriyenko
All, You are cordially invited to the next OpenEmbedded Happy Hour on April 26 for Asia/Pacific timezones @ 2100/9pm UTC (5pm ET / 2pm PT): https://www.openembedded.org/wiki/Calendar https://www.openembedded.org/wiki/Happy_Hours https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenEmbed

[OE-core] [PATCH v3 4/9] oeqa/utils/qemurunner: support ignoring vt100 escape sequences

2023-04-25 Thread Enrico Jörns
If we talk to terminals that like colors, we need to ignore the vt100 escape sequences when matching strings. An unprocessed barebox console prompt would e.g. look like: ESC[1;32mbarebox@ESC[1;36mARM QEMU virt64:/ESC[0m where we cannot match for something like "barebox@ARM QEMU virt64:/". The

[OE-core] [PATCH v3 5/9] oeqa/utils/qemurunner: simplify output parsing and make crlf-compatible

2023-04-25 Thread Enrico Jörns
Reduces the nesting depth and replaces the manual newline matching by built-in splitlines() method. This makes it compatible with shells that use windows-compatible line breaks, e.g. for EFI loaders. More comments and an early return handling should make the code a bit more readable. Signed-off-

[OE-core] [PATCH v3 1/9] barebox: add initial support

2023-04-25 Thread Enrico Jörns
From: Marco Felsch This adds the support for the barebox bootloader to oe-core. The recipe is based on the recipe found in meta-ptx [1] with a few minor adaptions. This basic support includes the bootloader and the target tools to interact with the bootloader. The host tools support is not part

[OE-core] [PATCH v3 7/9] oeqa: support passing custom boot patterns to runqemu

2023-04-25 Thread Enrico Jörns
This allows defining non-standard patterns from QEMU tests just as they are already supported by the testimage.bbclass. Will allow testing non-Linux shells in QEMU, too, e.g. a U-Boot or other bootloader shell. Signed-off-by: Enrico Jorns --- meta/lib/oeqa/targetcontrol.py| 5 +++-- meta/li

[OE-core] [PATCH v3 9/9] oeqa/selftest/cases: add basic u-boot test

2023-04-25 Thread Enrico Jörns
Signed-off-by: Enrico Jorns --- meta/lib/oeqa/selftest/cases/uboot.py | 40 +++ 1 file changed, 40 insertions(+) create mode 100644 meta/lib/oeqa/selftest/cases/uboot.py diff --git a/meta/lib/oeqa/selftest/cases/uboot.py b/meta/lib/oeqa/selftest/cases/uboot.py new file

[OE-core] [PATCH v3 6/9] oeqa/utils/commands: document runqemu context manager

2023-04-25 Thread Enrico Jörns
Usage and arguments are not necessarily self-explaining. Signed-off-by: Enrico Jorns --- meta/lib/oeqa/utils/commands.py | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index c1f533802e..21e02

[OE-core] [PATCH v3 0/9] Add barebox bootloader support (and testing)

2023-04-25 Thread Enrico Jörns
This adds support for the barebox bootloader (and tools) to oe-core. In order to have proper testing, this extends oe-selftest to allow basic testing of bootloaders. While at it, cover both barebox and u-boot. v3: * bump to barebox 2023.04.0 * add anonymous python to not act as provider when no

[OE-core] [PATCH v3 3/9] barebox: set default BAREBOX_CONFIG for qemu machines

2023-04-25 Thread Enrico Jörns
These are set in the barebox recipe rather in the corresponding machines (where they would belong otherwise) to keep the impact of barebox to oe-core minimal for now. "multi_v7_defconfig" is used for qemuarm since this is the default barebox armv7 config that just enables all platforms. "qemu_vir

[OE-core] [PATCH v3 2/9] barebox-tools: add initial barebox tools support

2023-04-25 Thread Enrico Jörns
From: Marco Felsch Add initial support to build the barebox tools for the host and the target. Signed-off-by: Marco Felsch Signed-off-by: Enrico Jorns --- meta/conf/distro/include/maintainers.inc | 1 + .../barebox/barebox-tools_2023.04.0.bb| 58 +++ 2 files chan

[OE-core] [PATCH v3 8/9] oeqa/selftest/cases: add barebox tests

2023-04-25 Thread Enrico Jörns
Signed-off-by: Enrico Jorns --- meta/lib/oeqa/selftest/cases/barebox.py | 72 + 1 file changed, 72 insertions(+) create mode 100644 meta/lib/oeqa/selftest/cases/barebox.py diff --git a/meta/lib/oeqa/selftest/cases/barebox.py b/meta/lib/oeqa/selftest/cases/barebox.py new

Re: [OE-core][PATCH v3] devicetree.bbclass: Allow selection of dts files to build

2023-04-25 Thread Denys Dmytriyenko
On Mon, Apr 24, 2023 at 08:48:24AM +, Petr Kubizňák - 2N wrote: > Hi Denys, > > > Any examples of this being used? Not really clear from the description > > what's > > this really used for... > > I'm not sure what is unclear to you - just the commit message, or the patch > itself? > > An e

[OE-core] Yocto Project Status 25 April 2023 (WW17)

2023-04-25 Thread Stephen Jolley
Current Dev Position: YP 4.3 M1 Next Deadline: 28th April 2023 YP 4.2 Release Next Team Meetings: * Bug Triage meeting Thursday April 27th 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09) *

Re: [OE-core][dunfell][PATCH] go: Security fix for CVE-2023-24538

2023-04-25 Thread Steve Sakoman
On Mon, Apr 24, 2023 at 7:45 AM Steve Sakoman via lists.openembedded.org wrote: > > Unfortunately the dunfell version of this patch does not apply > (kirkstone seems fine): Ah, I spoke too soon! The kirkstone version of the patch applies just fine but fails to build both locally and on the autob

Re: [OE-core] [PATCH] python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting

2023-04-25 Thread Tim Orling
On Tue, Apr 25, 2023 at 2:15 AM wrote: > From: Johannes Schrimpf > > [YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108 > > Since the latest change, We should mention the commit where the change was made: https://git.openembedded.org/openembedded-core/commit/meta/classes

[OE-core][langdale 10/10] populate_sdk_base: add zip options

2023-04-25 Thread Steve Sakoman
From: Christoph Lauer Add SDK_ZIP_OPTIONS to remove symbolic link creation in zip archive or add options, e.g. for encryption of the zip archive. (From OE-Core rev: 04b62f9459b401c276255f166d0738b6f902a576) Signed-off-by: Christoph Lauer Signed-off-by: Alexandre Belloni Signed-off-by: Richar

[OE-core][langdale 09/10] cpio: Fix wrong CRC with ASCII CRC for large files

2023-04-25 Thread Steve Sakoman
From: Marek Vasut Due to signedness, the checksum is not computed when filesize is bigger a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been posted for 5 years. Since CPIO upstream is effectively unresponsive and any and all attempts to communicate with the maintainer and get

[OE-core][langdale 05/10] linux-yocto/5.15: update to v5.15.108

2023-04-25 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 3299fb36854f Linux 5.15.108 adef0cebea85 nvme-pci: avoid the deepest sleep state on ZHITAI TiPro5000 SSDs c6897dfe2bb6 counter: Add the necessary colons and indents to the comment

[OE-core][langdale 08/10] oeqa ping.py: fail test if target IP address has not been set

2023-04-25 Thread Steve Sakoman
From: Mikko Rapeli It is possible to call exported tests with --target-ip set to ":22" where IP address is not set at all. Detect this case and fail the test instead of calling ping without an IP address. Signed-off-by: Mikko Rapeli Signed-off-by: Richard Purdie (cherry picked from commit 17c9

[OE-core][langdale 07/10] oeqa ping.py: avoid busylooping failing ping command

2023-04-25 Thread Steve Sakoman
From: Mikko Rapeli Use a sleep on error path before trying again. For example when oeqa runtime tests are executed without setting target IP address correctly, the tests are drowning logs with messages: 2023-04-04 07:19:24,985 - runtime - INFO - test_ping (ping.PingTest.test_ping) ping: usage er

[OE-core][langdale 06/10] busybox: move hwclock init earlier in startup

2023-04-25 Thread Steve Sakoman
From: Chris Elledge hwclock.sh had default update-rc parameters which made it run after other tasks that work with the clock such as connman. This causes a time obtained by NTP to be clobbered by a potentially incorrect time in the RTC. Provide non-default INITSCRIPT_PARAMS to have hwclock.sh ru

[OE-core][langdale 04/10] linux-yocto/5.15: update to v5.15.107

2023-04-25 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 4fdad925aa1a Linux 5.15.107 c862d7debe55 bpftool: Print newline before '}' for struct with padding only fields 1585f3fc24b5 ocfs2: fix freeing uninitialized resource on ocfs2_dlm_

[OE-core][langdale 03/10] linux-yocto/5.15: update to v5.15.106

2023-04-25 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: d86dfc4d95cd Linux 5.15.106 06a948b8347c x86/PVH: avoid 32-bit build warning when obtaining VGA console info 3abdf6d71fdb hsr: ratelimit only when errors are printed fcc09ef87

[OE-core][langdale 02/10] screen: backport fix for CVE-2023-24626

2023-04-25 Thread Steve Sakoman
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Luca Ceresoli (cherry picked from commit 05c7f446ca790f3695d04665aad118e42b7a52be) Signed-off-by: Steve Sakoman --- .../screen/screen/signal-permission.patch | 40 +++ meta/recipes-extended/screen/screen_4.9.0.bb

[OE-core][langdale 01/10] xserver-xorg: backport fix for CVE-2023-1393

2023-04-25 Thread Steve Sakoman
From: Ross Burton Signed-off-by: Ross Burton Signed-off-by: Richard Purdie (cherry picked from commit 7828f7026b4cd3ae97ebe5d849c09fabbc17272d) Signed-off-by: Steve Sakoman --- ...posite-Fix-use-after-free-of-the-COW.patch | 46 +++ .../xorg-xserver/xserver-xorg_21.1.7.bb

[OE-core][langdale 00/10] Patch review

2023-04-25 Thread Steve Sakoman
Please review this set of patches for langdale and have comments back by end of day Thursday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5215 The following changes since commit 5f2d74856e6790e8742f7d6049f7a21c4c17d987: report-error: catch N

[OE-core] [PATCH] python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting

2023-04-25 Thread dev
From: Johannes Schrimpf [YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108 Since the latest change, the PYTHONPATH is overwritten instead of extended. This leads to changed behavior and build errors of recipes where the PYTHONPATH is set before setup_target_config is run.