]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
3 weeks agosystemd: fix configure option for dropping sysv support
Chen Qi [Tue, 17 Mar 2026 05:17:16 +0000 (22:17 -0700)] 
systemd: fix configure option for dropping sysv support

Add three extra configuration options to make our systemd stop
supporting sysvinit. Without these three options, we'll have in
config.h:

  build/config.h:#define HAVE_SYSV_RC_LOCAL 1
  build/config.h:#define HAVE_SYSV_COMPAT 1

The HAVE_SYSV_RC_LOCAL makes /etc/rc.local work as the rc-local.service
is still installed. And the HAVE_SYSV_COMPAT means /etc/rcX.d is still
supported.

With this fix, we have:

  build/config.h:#define HAVE_SYSV_RC_LOCAL 0
  build/config.h:#define HAVE_SYSV_COMPAT 0

Note that these three options need to be dropped when systemd is
upgraded to v260.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agopackagegroup-core-tools-profile: Avoid dependency on systemtap for loongarch64
Paul Barker [Mon, 16 Mar 2026 14:59:17 +0000 (14:59 +0000)] 
packagegroup-core-tools-profile: Avoid dependency on systemtap for loongarch64

Trying to build systemtap for qemuloongarch64 gives the error:

    systemtap was skipped: incompatible with host loongarch64-oe-linux (not in COMPATIBLE_HOST)

Drop this dependency from packagegroup-core-tools-profile to avoid the
error.

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agosystemd: upgrade 259.3 -> 259.5
Peter Marko [Mon, 16 Mar 2026 21:11:22 +0000 (22:11 +0100)] 
systemd: upgrade 259.3 -> 259.5

Update to latest revision of v259.

Changes: https://github.com/systemd/systemd/compare/v259.3...v259.5

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agogrub: add patch to use medany for riscv64
Trevor Gamblin [Mon, 16 Mar 2026 20:58:03 +0000 (16:58 -0400)] 
grub: add patch to use medany for riscv64

>From the upstream bug report, filed in 2024:

|GRUB 2.12 does not compile correctly using large model on riscv64 using gcc 14.1.1 (gcc-14.1.1-5.fc40.x86_64).
|
|It is my understanding that the large model should not really be used on riscv64 yet and trying to build GRUB 2.12 with it results in an error:
|
|+ ././grub-mkimage -O riscv64-efi -o grubriscv64.efi.orig -d grub-core --sbat ././sbat.csv -m memdisk.squashfs -p /EFI/fedora all_video boot blscfg btrfs cat configfile cryptodisk echo ext2 f2fs fat font gcry_rijndael gcry_rsa gcry_serpent gcry_sha256 gcry_twofish gcry_whirlpool gfxmenu gfxterm gzio halt hfsplus http increment iso9660 jpeg loadenv loopback linux lvm luks luks2 memdisk mdraid09 mdraid1x minicmd net normal part_apple part_msdos part_gpt password_pbkdf2 pgp png reboot regexp search search_fs_uuid search_fs_file search_label serial sleep squash4 syslinuxcfg test tftp version video xfs zstd efi_netfs efifwsetup efinet lsefi lsefimmap connectefi
|././grub-mkimage: error: relocation 0x2b is not implemented yet.
|
|medany builds successfully and boots on the VisionFive2 and on VMs.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agowic: filemap: use separate fd for SEEK_HOLE probes
Trevor Woerner [Mon, 16 Mar 2026 14:17:50 +0000 (10:17 -0400)] 
wic: filemap: use separate fd for SEEK_HOLE probes

While working on splitting-out wic from oe-core, on my openSUSE Leap
16.0 machine, the moment I split wic out, 2 oe-selftests always failed
with 100% reproducibility:
- wic.ModifyTests.test_wic_cp_ext
- wic.Wic2.test_expand_mbr_image

In both cases the symptom is the same: the filesystem has inode tables
that are completely zeroed out. Both issues are linked together to the
same underlying fault.

FilemapSeek._get_ranges() is a generator. Due to the nature of finding
each hole/data extent one at a time using the lseek() system call,
it calls os.lseek() on a raw file descriptor, then yields, then the
caller, sparse_copy(), calls file.seek() + file.read() on a Python
BufferedReader wrapping that same fd — then the generator resumes and
calls os.lseek() again. This interleaving of raw os.lseek() and buffered
I/O on the same fd is undefined behaviour from Python's perspective.
The BufferedReader tracks its own idea of the fd's position and buffer
contents; os.lseek() changes the position behind its back. This can
corrupt its internal state and cause read() to return stale/zero data.

This code, however, has existed in wic since it was written, so why
was it not noticed before? It turns out this bug was being masked by a
number of implementation details that changed, especially when wic was
split out for oe-core. These changes conspired together to cause the bug
to be triggered.

One of the root causes of this bug is that Python 3.14 increased the
default buffer size from 8KB to 128KB[1]. With 8 KB buffers, read()s
either go through the direct-read path leaving the buffer empty, or
if it fills in 8KB chunks the buffer is fully drained. Either way,
with a small buffer, read()s do a real raw seek. No fast path. No
corruption. With a 128KB buffer, however, a much larger window exists
where BufferedReader.seek() can take the fast-path after the raw file
descriptor has already been repositioned by os.lseek() in the generator.
With the smaller buffer, this window was too narrow to hit in practice.

This is fixed by opening a second file object in FilemapSeek.__init__()
dedicated to SEEK_DATA/SEEK_HOLE probes, leaving the data-reading handle
(self._f_image) untouched.

This explains why the corruption is deterministic and tied to specific
block boundaries, why it only manifests with the split-out version using
Python 3.14 (on systems that are using Python versions less than 3.14 on
the host), and why using a separate file descriptor for reading bypasses
the issue entirely.

This is not an intermittent bug. For a more detailed explanation
including log files, in-depth analysis, and a standalone Python
reproducer, please see the linked bugzilla entry.

Fixes: [YOCTO #16197]
[1] https://github.com/python/cpython/commit/b1b4f9625c5f2a6b2c32bc5ee91c9fef3894b5e6
b1b4f9625c5f ("gh-117151: IO performance improvement, increase io.DEFAULT_BUFFER_SIZE to 128k (GH-118144)")

AI-Generated: codex/claude-opus-4.6 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolicense: Fix sstate hash conflict issues
Richard Purdie [Tue, 17 Mar 2026 11:53:52 +0000 (11:53 +0000)] 
license: Fix sstate hash conflict issues

Currently, SSTATE_PKGARCH is injected into the sstate packages themselves but
the output of do_populate_lic is meant to be architecture invariant.

Instead of putting it into the package, use that part of the path as the
installation location. This makes the sstate packages architecture invariant
and avoids hash mismatch issues.

Since the sstate install path isn't part of the task checksums, we can just
remove all the LICENSE_DEPLOY_PATHCOMPONENT code entirely. It will change the
native/cross locations to SSTATE_PKGARCH but that likely makes more sense anyway.

I suspect this was what I'd originally intended when I added SSTATE_PKGARCH to
the path but things weren't quite done correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolayer.conf: Use += to add to the DUMMY_PACKAGE_ARCHS_* variables
Peter Kjellerstedt [Tue, 17 Mar 2026 00:34:58 +0000 (01:34 +0100)] 
layer.conf: Use += to add to the DUMMY_PACKAGE_ARCHS_* variables

This avoids the assumption that the meta layer is the first layer listed
in the BBLAYERS variable.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolayer.conf: Update to wrynose
Richard Purdie [Tue, 17 Mar 2026 21:07:29 +0000 (21:07 +0000)] 
layer.conf: Update to wrynose

Prepare for the next release and update to the new wrynose release series.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoqemurunner: Hide kernel messages on first non-raw run_serial() call
Yoann Congal [Sat, 14 Mar 2026 16:57:41 +0000 (17:57 +0100)] 
qemurunner: Hide kernel messages on first non-raw run_serial() call

Kernel messages on console can be mixed with run_serial() command output
and might even prevent run_serial() to read the command exit code.

To fix this, on the first non-raw run_serial() call, run "dmesg -n 1"
first to hide the kernel message from the console we use to run
commands. Note that kernel messages are still logged in dmesg buffer.

man dmesg (from util-linux):
> -n, --console-level
> level Set the level at which printing of messages is done to the
> console. The level is a level number or abbreviation of the level name.
> For all supported levels see the --help output.
>
> For example, -n 1 or -n emerg prevents all messages, except emergency (panic)
> messages, from appearing on the console. All levels of messages are still
> written to /proc/kmsg, so syslogd(8) can still be used to control exactly where
> kernel messages appear. When the -n option is used, dmesg will not print or
> clear the kernel ring buffer.

Busybox's dmesg also support the option.

Raw run_serial() calls are used during the login process when it's too
early to run the dmesg command.

Fixes [ YOCTO #16189 ]

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agowebkitgtk: remove PACKAGECONFIG soup2
Changqing Li [Fri, 13 Mar 2026 10:49:08 +0000 (18:49 +0800)] 
webkitgtk: remove PACKAGECONFIG soup2

* libsoup-2.4 already removed in commit [1], so remove the soup2
PACKAGECONFIG, which may causes depeneds on libsoup-2.4.
* soup2 will not be supported from 2.52.0.
* webkitgtk build with libsoup3 by default, USE_SOUP2 is OFF by default,
  so also remove soup3 option

[1] https://git.openembedded.org/openembedded-core/commit/?id=94ebc5b798aed6eea642c5e2a4df24b386520636
[2] https://webkitgtk.org/2025/10/07/webkitgtk-soup2-deprecation.html

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agogstreamer1.0-plugins-good: remove PACKAGECONFIG soup2
Changqing Li [Fri, 13 Mar 2026 10:49:07 +0000 (18:49 +0800)] 
gstreamer1.0-plugins-good: remove PACKAGECONFIG soup2

* libsoup-2.4 already removed in commit [1], so remove the soup2
PACKAGECONFIG, which may causes depeneds on libsoup-2.4
* provide soup3 option, enable soup3 will enable soup and soup version
  will be auto defected as libsoup3 since we depend on libsoup, disable
soup3 will disable soup.

[1] https://git.openembedded.org/openembedded-core/commit/?id=94ebc5b798aed6eea642c5e2a4df24b386520636

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agouki.bbclass: make DTB packaging optional
Viswanath Kraleti [Thu, 12 Mar 2026 12:58:34 +0000 (18:28 +0530)] 
uki.bbclass: make DTB packaging optional

According to the Unified Kernel Image (UKI) specification [1], including
a compiled device tree in the .dtb section of a UKI is optional. However,
the current implementation always packages device trees listed in
KERNEL_DEVICETREE into the UKI by default. This makes uki.bbclass
unsuitable for systems that rely on firmware-provided DTBs and do not
want a DTB embedded in the UKI.

Fix this by introducing a new UKI_DEVICETREE variable to control device
tree packaging. The .dtb section is now populated from UKI_DEVICETREE
instead of KERNEL_DEVICETREE. Users who do not want DTBs included in the
UKI can override UKI_DEVICETREE to an empty value from their recipes.

Update the UKI selftests accordingly, as QEMU does not provide a device
tree to embed.

[1] https://uapi-group.org/specifications/specs/unified_kernel_image/

Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agopython3: Add a new PACKAGECONFIG knob for free threading
Zoltán Böszörményi [Thu, 12 Mar 2026 12:00:24 +0000 (13:00 +0100)] 
python3: Add a new PACKAGECONFIG knob for free threading

One of the main points in the Python 3.14.x release notes was
that free threading is officially supported.

Add PACKAGECONFIG[freethreading] to turn it on with --disable-gil.
GIL is the Global Interpreter Lock, which is kept enabled without
this option.

By default, keep free threading disabled, i.e. GIL enabled.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agocurl: upgrade 8.18.8 -> 8.19.0
Peter Marko [Wed, 11 Mar 2026 22:46:05 +0000 (23:46 +0100)] 
curl: upgrade 8.18.8 -> 8.19.0

Solves CVE-2026-1965, CVE-2026-3783, CVE-2026-3784 and CVE-2026-3805.

Drop patch included in the release.

Release info [1]:

Changes:
* BUG-BOUNTY.md: we stop the bug-bounty end of Jan 2026
* cmake: add `CURL_BUILD_EVERYTHING` option
* mqtt: initial support for MQTTS
* tool: support fractions for --limit-rate and --max-filesize
* tool_cb_hdr: with -J, use the redirect name as a backup
* vquic: drop support for OpenSSL-QUIC
* windows: add build option to use the native CA store
* windows: bump minimum to Vista (from XP)
(and lot of bugfixes)

[1] https://curl.se/ch/8.19.0.html

License-Update: copyright years refreshed

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolibuv: upgrade 1.52.0 -> 1.52.1
Peter Marko [Wed, 11 Mar 2026 20:56:38 +0000 (21:56 +0100)] 
libuv: upgrade 1.52.0 -> 1.52.1

Release info [1]:

Changes since version 1.52.0:
* misc: add simple clang-tidy setup (Jameson Nash)
* unix: check RLIMIT_AS and RLIMIT_DATA in uv_get_constrained_memory
  (Jameson Nash)
* win: add fs-fd-hash-inl.h to tarball (tobil4sk)
* unix,win: support NULL loop for sync uv_getaddrinfo (Saúl Ibarra
  Corretgé)
* Fix const-correctness warning in linux.c (Quaylyn Rimer)
* build(deps): bump actions/upload-artifact from 6 to 7
  (dependabot[bot])
* build(deps): bump actions/download-artifact from 7 to 8
  (dependabot[bot])
* unix: fix compilation warnings with GCC 15 (Saúl Ibarra Corretgé)
* test: remove conditionals from `uv_thread_self` usage (Yasser
  Nascimento)
* unix: fix discard const (Rudi Heitbaum)
* unix: do not cast to char variables that are const char (Rudi
  Heitbaum)
* linux: fix crash if poll callback closes handle before `POLLERR` (Juan
  José Arboleda)

[1] https://github.com/libuv/libuv/releases/tag/v1.52.1

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolinux-firmware: upgrade 20260221 -> 20260309
Vivek Puar [Tue, 10 Mar 2026 15:46:46 +0000 (21:16 +0530)] 
linux-firmware: upgrade 20260221 -> 20260309

Upgrade the firmware package to latest release. Add package
${PN}-lt8713sx for Lontium LT8713SX DP hub, add audioreach
firmware and license for Kaanapali, Lenovo ISH LNLM firmware
was renamed so add those files  in ${PN}-ish-lnlm-53c4ffad
package, and modify FILES:${PN} for package ${PN}-ish-lnlm-12128606
to pack firmwares properly.

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolinux: cve-exclusions: Add --always to git-describe
Alexander Sverdlin [Tue, 10 Mar 2026 14:07:46 +0000 (15:07 +0100)] 
linux: cve-exclusions: Add --always to git-describe

Otherwise https://git.kernel.org/pub/scm/linux/security/vulns.git cannot be
used:

subprocess.CalledProcessError: Command '('git', 'describe', '--tags', 'HEAD')' returned non-zero exit status 128.

Original error from git:

fatal: No names found, cannot describe anything.

The change will at least produce an abbreviated SHA1 hash as {data_version}.

Fixes: 5e66e2b79fae ("linux/generate-cve-exclusions: show the name and version of the data source")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agomesa: remove trailing whitespace
Lucas Stach [Tue, 10 Mar 2026 10:03:55 +0000 (11:03 +0100)] 
mesa: remove trailing whitespace

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoresulttool: Fix UnboundLocalError when missing test results
Miroslav Cernak [Tue, 10 Mar 2026 12:57:53 +0000 (13:57 +0100)] 
resulttool: Fix UnboundLocalError when missing test results

The junit_tree function failed when either ptest or imagetest results
were missing from testresults.json due to uninitialized variables.
Move variable initialization outside the loop to ensure they
always have default values.

Signed-off-by: Miroslav Cernak <miroslav.cernak@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agopypi.bbclass: set UPSTREAM_CHECK_PYPI_PACKAGE from PYPI_PACKAGE
Alexander Kanavin [Tue, 10 Mar 2026 12:57:50 +0000 (13:57 +0100)] 
pypi.bbclass: set UPSTREAM_CHECK_PYPI_PACKAGE from PYPI_PACKAGE

This aligns the tarball upstream check regex (set from former variable)
with existing tarball name (set from the latter).

Previously the regex used a 'normalized' value (_ replaced with -)
which wasn't matching the actual tarballs, and required setting both
variables whenever PYPI_PACKAGE default wasn't suitable and had to be
set in the recipe.

I have confirmed that 'devtool check-upgrade-status' doesn't break.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoiptables/libmnl: fix upstream version check
Alexander Kanavin [Tue, 10 Mar 2026 12:57:49 +0000 (13:57 +0100)] 
iptables/libmnl: fix upstream version check

The original locations still exist, but no longer allow
directory listings.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolibfyaml: inherit github-releases class
Alexander Kanavin [Tue, 10 Mar 2026 12:57:48 +0000 (13:57 +0100)] 
libfyaml: inherit github-releases class

This fixes the upstream version check for the newly added recipe,
as the default SRC_URI-minus-tarball page doesn't contain a list of releases.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agogstreamer1.0-vaapi: remove recipe
Wang Mingyu [Tue, 10 Mar 2026 15:01:55 +0000 (15:01 +0000)] 
gstreamer1.0-vaapi: remove recipe

gstreamer-vappi has been removed in favour of the va plugin and is no longer
updated going forward.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolib/oe/patch: add user and email when patchtool is git
Jose Quaresma [Fri, 13 Mar 2026 17:16:35 +0000 (17:16 +0000)] 
lib/oe/patch: add user and email when patchtool is git

When the PATCHTOOL=git, oe-core creates a git repo for the sources with:

 git init
 git add .
 git commit

The git commit can fails blindly due to misconfigured user when git don't have
the email proper configured. Although the commit command does not fail
because it returns 0, it is not executed and the tree remains with all
files staged so the following git commands can fail and fails in some cases.

This problem has been particularly observed in some obscure and little-used
cases in openembedded-core like patching the linux-firmware which only works
using PATCHTOOL=git because it deals with binary files.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoappstream: upgrade from 1.0.6 to 1.1.2
Changqing Li [Wed, 25 Feb 2026 03:40:13 +0000 (11:40 +0800)] 
appstream: upgrade from 1.0.6 to 1.1.2

License-Update: Update COPYING with latest from FSF

* Upstream changed the dependency, libyaml changed to libfyaml, refer [1]
* Upstream enable bash-completion by default, but bash-completion is in
  ASSUME_PROVIDE, on host without bash-completion, appstream-native will
  configure failed, so disable bash-completion for appstream-native

[1] https://github.com/ximion/appstream/commit/2899271049c0c9716eba0ccd62b10cdb9df5746d#diff-35104d8113cb43cdd6cfaa78c780eba89165e17c580d1e6678e5c3dfbd9b23c5

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolttng-modules: Upgrade 2.14.3 -> 2.14.4 to fix build issue on kernel 6.18
Xiangyu Chen [Fri, 13 Mar 2026 06:40:43 +0000 (14:40 +0800)] 
lttng-modules: Upgrade 2.14.3 -> 2.14.4 to fix build issue on kernel 6.18

Add 0001-fix-adjust-range-in-btrfs-probe-for-v6.18.14.patch to
adjust Brtfs probe header for 6.18[1]

Change Log:
2026-02-09 LTTng modules 2.14.4
* fix: Manual conversion to use ->i_state accessors (v6.19)
* fix: btrfs: headers cleanup to remove unnecessary local includes (v6.19)
* Fix: Initialize syscall tables sorted entries
* Cleanup lttng-syscalls.h: Remove extern on function prototypes
* Make init_event_desc_enum_desc_sorted_entries public
* Update .gitreview for stable-2.14

Ref:
[1] https://git.lttng.org/?p=lttng-modules.git;a=commit;h=ca93dc3b05fcb22db5b653858a1b08002496d783

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolibrsvg: move symlink file for ptest in package librsvg-ptest
Changqing Li [Fri, 13 Mar 2026 11:06:10 +0000 (19:06 +0800)] 
librsvg: move symlink file for ptest in package librsvg-ptest

In order to make ptest can find needed data, a symlink is created:
/usr/lib64/librsvg/rsvg -> ptest

package this symlink file in package librsvd-ptest, this can avoid
there is a dead link when ptest-pkgs is not installed.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoselftest: uboot: Add sefltest for recent KCONFIG_CONFIG_ROOTDIR fix
Ryan Eatmon [Fri, 13 Mar 2026 15:14:22 +0000 (10:14 -0500)] 
selftest: uboot: Add sefltest for recent KCONFIG_CONFIG_ROOTDIR fix

Add a check to make sure that KCONFIG_CONFIG_ROOTDIR and
KCONFIG_CONFIG_ENABLE_MENUCONFIG are being set correctly in the
different cases.

A recent commit [1] showed that we were missing a check for the
correctness of these variables.

[1] https://git.openembedded.org/openembedded-core/commit/?id=2548c040ea155c981e41cb0282bcb28c47b3b688

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agouboot-config: Fix scope of KCONFIG_CONFIG_ROOTDIR check
Ryan Eatmon [Fri, 13 Mar 2026 15:14:21 +0000 (10:14 -0500)] 
uboot-config: Fix scope of KCONFIG_CONFIG_ROOTDIR check

The current check is in the inner loop of UBOOT_CONFIG, but the check is
attempting to only apply to the case when there is a single entry in
UBOOT_CONFIG.  Shift the indention to be outside of the for loop and
only execute once.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoshadow: fix build with GCC 10
Ross Burton [Fri, 13 Mar 2026 16:25:55 +0000 (16:25 +0000)] 
shadow: fix build with GCC 10

Fix the build with GCC 10 which otherwise fails due to function parameters
being unnamed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agorust: enable dynamic LLVM linking by default
Sunil Dora [Fri, 13 Mar 2026 16:01:33 +0000 (09:01 -0700)] 
rust: enable dynamic LLVM linking by default

Fixes [YOCTO #16058]

Enable dynamic linking with LLVM (link-shared) for all rust variants
(native, nativesdk and target) via a PACKAGECONFIG option, enabled
by default. This prevents segmentation faults when reusing sstate
artifacts built with different host toolchains.

Update multilib library symlinking to include shared libraries and
adjust the rust selftest to install llvm so the dynamically linked
compiler can run correctly.

Suggested-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoscripts/install-buildtools: Update to 5.3.2
Aleksandar Nikolic [Sat, 14 Mar 2026 18:01:50 +0000 (19:01 +0100)] 
scripts/install-buildtools: Update to 5.3.2

Update to the 5.3.2 release of the 5.3 series for buildtools

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic22@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoptest-packagelists: Exclude ptests from musl which are known to fail
Richard Purdie [Sat, 14 Mar 2026 15:17:22 +0000 (15:17 +0000)] 
ptest-packagelists: Exclude ptests from musl which are known to fail

Since we'd like to start tracking musl ptest regressions, mark the existing known
failures for qemuarm64 and qemux86-64 so we can then start to test without
warnings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agosstate/sstatesig: Abstract dummy package architectures into layer.conf settings
Richard Purdie [Sat, 14 Mar 2026 10:23:50 +0000 (10:23 +0000)] 
sstate/sstatesig: Abstract dummy package architectures into layer.conf settings

Other layers need to be able to add dummy recipes. To do this add
DUMMY_PACKAGE_ARCHS_SDK and DUMMY_PACKAGE_ARCHS_TARGET in layer.conf
which can be used to add these to the right places in the code.

Don't add the variables to task signatures as these only matter in the
context of constructed images and not the recipes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agosstate: Tweak SDK sstate package architecture
Richard Purdie [Fri, 13 Mar 2026 15:12:27 +0000 (15:12 +0000)] 
sstate: Tweak SDK sstate package architecture

While in this area of the code, it is worth noting that PACKAGE_ARCH + PN are
already designed to capture the needed information that we need in SSTATE_PKGARCH.

We can therefore simplify things by just using the standard fallack for SSTATE_PKGARCH
instead of more complex manipulations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agometa/dummy-sdk-package: Improve SDK dummy package handling
Richard Purdie [Fri, 13 Mar 2026 11:35:21 +0000 (11:35 +0000)] 
meta/dummy-sdk-package: Improve SDK dummy package handling

Currently, the dummy SDK packages are re-running for different SDKMACHINE values
when they should not. The usage of allarch is broken and not triggering the right
PACKAGE_ARCH value due to the deferred nature of nativesdk. This was probably
broken when we switched to add deferred classes.

To try and make this all more explict and less prone to breakage, switch to calling
oe.utils.make_arch_independent() directly.

Add the 'special' package architecture values to SSTATE_ARCHS so the system cna properly
track them.

Remove the pointless tasks we don't need from the dummy recipes, mark the packagedata
as machine independent and then remove from the conflict list in sstate.bbclass.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoallarch/lib: Convert core of allarch code into a function
Richard Purdie [Fri, 13 Mar 2026 11:40:43 +0000 (11:40 +0000)] 
allarch/lib: Convert core of allarch code into a function

We need to call the functionality in allarch.bbclass from other contexts
and the current conditionals are problematic enough without further changes
confusing things. Move the code to a funtion in oe.utils so we can call
it as needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agobitbake.conf: Add SDKMACHINE to BUILDCFG_VARS, drop TARGET_FPU
Richard Purdie [Fri, 13 Mar 2026 12:23:45 +0000 (12:23 +0000)] 
bitbake.conf: Add SDKMACHINE to BUILDCFG_VARS, drop TARGET_FPU

Tweak the default build header to add SDKMACHINE and drop TARGET_FPU since
that data is more likely to be of use to the general user.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agosstate: Drop unneeded SSTATE_MANMACH variable
Richard Purdie [Fri, 13 Mar 2026 10:48:42 +0000 (10:48 +0000)] 
sstate: Drop unneeded SSTATE_MANMACH variable

This variable doesn't appear needed and just confuses the code, remove it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoruntime_test: Add rust-out-of-tree selftest
Yoann Congal [Fri, 13 Mar 2026 15:59:20 +0000 (08:59 -0700)] 
runtime_test: Add rust-out-of-tree selftest

This new case tests that the rust-out-of-tree-module recipe compiles and
run properly: check that the dmesg output is as expected.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agomake-mod-scripts: fix for buildpath issues with rust-out-of-tree compilation
Harish Sadineni [Fri, 13 Mar 2026 15:59:19 +0000 (08:59 -0700)] 
make-mod-scripts: fix for buildpath issues with rust-out-of-tree compilation

Fixes buildpath issues when compiling rust-out-of-tree recipe.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agometa-skeleton: Add rust-out-of-tree-module recipe
Yoann Congal [Fri, 13 Mar 2026 15:59:18 +0000 (08:59 -0700)] 
meta-skeleton: Add rust-out-of-tree-module recipe

Basic template for an out-of-tree Linux kernel module written in Rust.

Mainly to test Rust integration into the kernel.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agomodule-rust.bbclass: Prepare out-of-tree rust module compilation
Harish Sadineni [Fri, 13 Mar 2026 15:59:17 +0000 (08:59 -0700)] 
module-rust.bbclass: Prepare out-of-tree rust module compilation

Add support for rust-out-of-tree module compilation:
- Add dependency to rust-native
- Remap ${S} in compiled output to avoid buildpath errors
- Added check to skip rust out-of-ree-module compilation,
  if rust kernel support is not enabled

Co-developed-by:Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agokernel.bbclass: Copy include/config/auto.conf in STAGING_KERNEL_BUILDDIR
Yoann Congal [Fri, 13 Mar 2026 15:59:16 +0000 (08:59 -0700)] 
kernel.bbclass: Copy include/config/auto.conf in STAGING_KERNEL_BUILDDIR

Linux commit aaed5c7739be ("kbuild: slim down package for building
external modules")[0] states that include/config/auto.conf is also a
file needed for out-of-tree build.

This avoids this error when building an out-of-tree Rust kernel module:
| make -C .../tmp/work-shared/qemux86-64/kernel-source M=$PWD
| make[1]: Entering directory '.../tmp/work-shared/qemux86-64/kernel-source'
| make[2]: Entering directory '.../tmp/work/qemux86_64-poky-linux/rust-out-of-tree-module/git/sources/rust-out-of-tree-module-git'
| .../tmp/work-shared/qemux86-64/kernel-source/Makefile:779: .../tmp/work-shared/qemux86-64/kernel-build-artifacts/include/config/auto.conf: No such file or directory

[0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aaed5c7739be81ebdd6008aedc8befd98c88e67a

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agoselftest/cases/runtime_test: Add test for Linux Rust sample
Yoann Congal [Fri, 13 Mar 2026 15:59:15 +0000 (08:59 -0700)] 
selftest/cases/runtime_test: Add test for Linux Rust sample

This new case tests that the rust_mininal sample inside the kernel source
tree is buildable and works properly: check that the module can be
loaded and that it prints correctly.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agokernel-devsrc: copying rust-kernel source to $kerneldir/build
Harish Sadineni [Fri, 13 Mar 2026 15:59:14 +0000 (08:59 -0700)] 
kernel-devsrc: copying rust-kernel source to $kerneldir/build

When CONFIG_RUST is enabled, running 'make prepare' in the  target & SDK
fails because the Rust kernel infrastructure is incomplete in the staged
kernel sources.

The Rust build system requires a wider set of interdependent sources
during make prepare, including bindgen inputs, C helper sources,
generated headers, and other support files. These are all located under
the kernel rust/ directory.

To ensure make prepare succeeds and to support building Rust-based
kernel modules from the  target & SDK, copy the full rust/ directory
(of size 2.5MB) into $kerneldir/build when the rust-kernel distro feature
is enabled.

Additionally, when Rust support is enabled, 'make prepare' generates
.rmeta files (crate metadata in a custom binary format) and shared
objects (.so) that are required for compiling Rust kernel modules.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agokernel: Disable ccache when kernel rust support is enabled
Harish Sadineni [Fri, 13 Mar 2026 15:59:13 +0000 (08:59 -0700)] 
kernel: Disable ccache when kernel rust support is enabled

Currently, a ccache enabled build fails with:
  |   HOSTRUSTC scripts/generate_rust_target
  |   HOSTCC  scripts/kallsyms
  |   HOSTCC  scripts/sorttable
  |   HOSTCC  scripts/asn1_compiler
  |   TOUCH   include/generated/gcc-plugins.h
  |   DESCEND objtool
  | error: multiple input filenames provided (first two filenames are gcc and
.../tmp/work-shared/qemux86-64/kernel-source/scripts/generate_rust_target.rs)

Linux rust build infrastructure does not currently support ccache (Opened bug[0]).

Quick summary: There are 2 issues: $HOSTCC is not escaped and rustc
expect a path (and not a command)

Disable ccache if KERNEL_RUST_SUPPORT is 'True' for kernel and kernel module builds, including
auxiliary tooling such as make-mod-scripts.

More details in: https://lists.openembedded.org/g/openembedded-core/message/229336

[0]: https://github.com/Rust-for-Linux/linux/issues/1224

Co-developed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
Cc: Alban MOIZAN <alban.moizan@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agomake-mod-scripts: split `HOSTCC` flag to align with to linux-yocto
Harish Sadineni [Fri, 13 Mar 2026 15:59:12 +0000 (08:59 -0700)] 
make-mod-scripts: split `HOSTCC` flag to align with to linux-yocto

when compiling rust-out-of-tree module recipe 'make-mod-scripts' failing
with the following error:

HOSTRUSTC scripts/generate_rust_target
error: Unrecognized option: 'i'

This issue occurs because CFLAGS are being passed to HOSTRUSTC.
Updated the flags in the make-mod-scripts recipe to align with
the flags used by linux-yocto.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agokernel-yocto-rust: Fix for buildpaths errors when rust is enabled for kernel
Harish Sadineni [Fri, 13 Mar 2026 15:59:11 +0000 (08:59 -0700)] 
kernel-yocto-rust: Fix for buildpaths errors when rust is enabled for kernel

Fixes for buildpaths errors after enabling rust for linux-kernel

-Introduced KRUSTFLAGS to pass `--remap-path-prefix` to rustc while
 building kernel with rust support.

Co-authored-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agokernel-yocto-rust: enable Rust kernel support via 'make rustavailable'.
Harish Sadineni [Fri, 13 Mar 2026 15:59:10 +0000 (08:59 -0700)] 
kernel-yocto-rust: enable Rust kernel support via 'make rustavailable'.

This change adds support for Rust-enabled kernel builds by:

-Extending do_kernel_configme dependencies to include rust-native,
 clang-native, and bindgen-cli-native.

-Invoking make rustavailable during do_kernel_configme() to prepare the
 kernel build environment for Rust.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agorust: install Rust library sources for 'make rustavailable' support
Harish Sadineni [Fri, 13 Mar 2026 15:59:09 +0000 (08:59 -0700)] 
rust: install Rust library sources for 'make rustavailable' support

The `make rustavailable` process (1) expects the Rust standard library source files (e.g., `lib.rs`)
to be present in the `library/` directory under `rustlib/src/rust/`.

This patch ensures the required sources are available by:
- Installing the `library/` directory (of size ~50MB) into `${D}${libdir}/rustlib/src/rust` for
  making them available during `make rustavailable` for native, target & sdk.
- packaging `${libdir}/rustlib/src/rust` sepearately with `${PN}-src-lib`.

1) See the kernel tree for Documentation/rust/quick-start.rst in the section: Requirements: Building

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/rust/quick-start.rst#n145

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolinux-yocto: conditionally add clang/rust/bindgen-cli-native to DEPENDS
Harish Sadineni [Fri, 13 Mar 2026 15:59:08 +0000 (08:59 -0700)] 
linux-yocto: conditionally add clang/rust/bindgen-cli-native to DEPENDS

Conditionally add 'clang-native', 'rust-native' and 'bindgen-cli-native' to 'DEPENDS'
when Kernel Rust Support is enabled.

These tools are required for building Rust-enabled kernels and for
generating Rust FFI bindings via bindgen during the kernel build.

This ensures the additional dependencies are only pulled in when
Rust support is explicitly enabled, avoiding unnecessary native
dependencies for non-Rust kernel builds.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agokernel-yocto: Enable rust in kernel
Harish Sadineni [Fri, 13 Mar 2026 15:59:07 +0000 (08:59 -0700)] 
kernel-yocto: Enable rust in kernel

Allow enabling Rust support in the kernel by simply adding "rust" to
KERNEL_FEATURES in local.conf or a global configuration file. This maps the
feature name to the appropriate kernel configuration fragment located
at features/kernel-rust/kernel-rust.scc

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agolibgloss: package riscv header files correctly
Alejandro Hernandez Samaniego [Wed, 11 Mar 2026 14:12:23 +0000 (08:12 -0600)] 
libgloss: package riscv header files correctly

Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agopicolibc: Update 1.8.6 -> 1.8.11
Alejandro Hernandez Samaniego [Wed, 11 Mar 2026 14:13:28 +0000 (08:13 -0600)] 
picolibc: Update 1.8.6 -> 1.8.11

Rebased:
- avoid_polluting_cross_directories.patch

Licensing files COPYING.NEWLIB and COPYING.GPL2 were removed upstream,
checksum for COPYING needs update since files included may change with
every release.

Tested to work on qemuarm,aarch64,riscv32 and riscv64 variants
https://dev.azure.com/ahcbb6/baremetal-qemu/_build/results?buildId=21709&view=results

Signed-off-by: Alejandro Hernandez <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agonewlib: Upgrade 4.5.0 -> 4.6.0
Alejandro Hernandez Samaniego [Wed, 11 Mar 2026 14:13:13 +0000 (08:13 -0600)] 
newlib: Upgrade 4.5.0 -> 4.6.0

    License changes:
    - Adds BSD-2 for m68k-atari-elf target

Tested to work on qemux86,arm,aarch64,riscv32 and riscv64 variants:
https://dev.azure.com/ahcbb6/baremetal-qemu/_build/results?buildId=21709&view=results

Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agorust: Drop oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch
Deepesh Varatharajan [Wed, 11 Mar 2026 13:26:58 +0000 (06:26 -0700)] 
rust: Drop oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch

This patch was originally introduced to address a rare failure on the PPC
target and with the latest version of rustc this issue no longer occurs.
So, this patch can be removed.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 weeks agooeqa/selftest: wic: Add vfat to test_wic_sector_size
Mark Hatle [Fri, 13 Mar 2026 00:28:45 +0000 (19:28 -0500)] 
oeqa/selftest: wic: Add vfat to test_wic_sector_size

Add an empty vfat partition to the 4k sector size test.  This ensures that
the -S 4096 option is passed to mkfs.vfat, and the resulting filesystem is
generated.

We also now verify that the requested partitions, and names were created
as expected.  Size does not matter, only the partition type and name.

Note, there is a known issue in parted that 4096 fat partitions are not
recognized by fstype, so report themselves as empty in the regular output.
Both wic ls and parted p show an unknown filesytem type.  However, the type
of the partition (last field) is set to msftdata, so we can use that
instead.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoyocto-uninative: Update to 5.1 for glibc 2.43
Michael Halstead [Thu, 12 Mar 2026 23:46:48 +0000 (16:46 -0700)] 
yocto-uninative: Update to 5.1 for glibc 2.43

yocto-uninative: Update to 5.1 for glibc 2.43

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agooeqa/selftest: Introduce OEQA_TESTDISPLAY variable and use for sdl/gtk qemu test uninative-5.1
Richard Purdie [Wed, 11 Mar 2026 09:24:56 +0000 (09:24 +0000)] 
oeqa/selftest: Introduce OEQA_TESTDISPLAY variable and use for sdl/gtk qemu test

Currently we've been using DISPLAY from the parent environment indiscriminately.
Since we can change many of the tests to use internal VNC, we really need a mechanism
to only use a DISPLAY when the system really needs to and there is no other option.
Somehow we need to differentiate between that and a system with graphics available.

Introduce OEQA_TESTDISPLAY for this purpose, this being used only if there is no other
way to run the test.

There is only one test case I'm aware of that needs this, so this patch updates
that test case.

This variable is not meant as a replacement for all DISLAY usage, it is only
for cases where the test would not otherwise work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolibarchive: upgrade 3.8.5 -> 3.8.6
Peter Marko [Thu, 12 Mar 2026 14:09:38 +0000 (07:09 -0700)] 
libarchive: upgrade 3.8.5 -> 3.8.6

Release information [1]:

Libarchive 3.8.6 is a security and bugfix release.

Notable fixes:
* libarchive: fix incompatibility with Nettle 4.x (#2858)
* libarchive: fix NULL pointer dereference in archive_acl_from_text_w() (#2859)
* bsdunzip: fix ISO week year and Gregorian year confusion (#2860)
* 7zip: ix SEGV in check_7zip_header_in_sfx via ELF offset validation (#2864)
* 7zip: fix out-of-bounds access on ELF 64-bit header (#2875)
* RAR5 reader: fix infinite loop in rar5 decompression (#2877)
* RAR5 reader: fix potential memory leak (#2892)
* RAR5: fix SIGSEGV when archive_read_support_format_rar5 is called twice (#2893)
* CAB reader: fix memory leak on repeated calls to archive_read_support_format_cab (#2895)
* mtree reader: Fix file descriptor leak in mtree parser cleanup (CWE-775, #2878)
* various small bugfixes in code and documentation

[1] https://github.com/libarchive/libarchive/releases/tag/v3.8.6

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoglibc: Upgrade to 2.43 release
Khem Raj [Thu, 12 Mar 2026 16:10:16 +0000 (09:10 -0700)] 
glibc: Upgrade to 2.43 release

License-Update: Match to changes [1]
  - Changes to the FSF address and sample names
  - Rearranged files
  - License remains unchanged

Added free_sized, free_aligned_sized, memset_explicit, memalignment, and new time bases (TIME_MONOTONIC, etc.).

Support for the Linux mseal system call to protect memory mappings (sealing).

Added support for the openat2 system call, allowing more granular file opening options.

New, optimized, and correctly rounded functions from the CORE-MATH project (acosh, asinh, atanh, erf, erfc, lgamma, tgamma).

Significant 4x improvements for fused multiply-add (FMA) on AMD Zen 3 by updating ldbl-96 implementation.

Improved remainder, frexp, and frexpl.

Experimental Clang Support: Added support for building with LLVM Clang (version 18+) on AArch64/x86_64 Linux.

New CPU Detection: Enhanced detection for newer CPU architectures.

64-bit atomics for 32bit x86 patch is no longer required since upstrea has dropped this logic in 2.43 release

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=a0ce8b0779e290596e99ca6d96c301684a2d7cfe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agobusybox: fix printf ptest failure with glibc 2.43
Hemanth Kumar M D [Thu, 12 Mar 2026 16:10:23 +0000 (09:10 -0700)] 
busybox: fix printf ptest failure with glibc 2.43

Following ptests were failing on aarch64 after glibc 2.43 upgrade:
  - printf_understands_%s_'"x'_"'y"_"'zTAIL"
  - printf_handles_positive_numbers_for_%f

Backport fix from Debian bug #1128825.

References: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128825

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoglib-2.0: fix gdatetime ptest failure with glibc 2.43
Hemanth Kumar M D [Thu, 12 Mar 2026 16:10:22 +0000 (09:10 -0700)] 
glib-2.0: fix gdatetime ptest failure with glibc 2.43

glib/gdatetime.test ptest was failing after glibc 2.43 upgrade.
Backport upstream fix from glib commit 7c837a52.

Upstream: https://gitlab.gnome.org/GNOME/glib/-/issues/3895

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoltp: workaround openat2 build failure with glibc 2.43
Hemanth Kumar M D [Thu, 12 Mar 2026 16:10:21 +0000 (09:10 -0700)] 
ltp: workaround openat2 build failure with glibc 2.43

glibc 2.43 added native openat2() support, causing LTP's configure to
set HAVE_OPENAT2=1 and skip its own internal definitions, resulting in
a build failure. Add a patch to undef HAVE_OPENAT2 in lapi/openat2.h
as a workaround until a proper fix is found.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agobarebox-tools: fix build failure with glibc 2.43
Hemanth Kumar M D [Thu, 12 Mar 2026 16:10:20 +0000 (09:10 -0700)] 
barebox-tools: fix build failure with glibc 2.43

glibc 2.43 introduces linux/openat2.h through the fcntl include chain
(bits/fcntl-linux.h -> linux/openat2.h) which expects __u64 to be
defined before inclusion. Move <fcntl.h> in barebox scripts/include/
linux/types.h to after the typedef definitions to fix the build.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolibxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
Hemanth Kumar M D [Thu, 12 Mar 2026 16:10:19 +0000 (09:10 -0700)] 
libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43

With the glibc 2.43 upgrade, building nativesdk-libxcrypt triggers a
-Wdiscarded-qualifiers warning in crypt-gost-yescrypt.c and
crypt-sm3-yescrypt.c which becomes a build failure due to -Werror.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43
Hemanth Kumar M D [Thu, 12 Mar 2026 16:10:18 +0000 (09:10 -0700)] 
gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43

With the glibc 2.43 upgrade, building gcc-runtime triggers a
-Wdiscarded-qualifiers warning in libgomp/affinity-fmt.c which
becomes a build failure due to -Werror.

Add -Wno-error=discarded-qualifiers to CFLAGS as a workaround until
the upstream const-correctness issue in libgomp is resolved.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogettext: upgrade 0.26 -> 1.0
Randy MacLeod [Thu, 12 Mar 2026 16:10:17 +0000 (09:10 -0700)] 
gettext: upgrade 0.26 -> 1.0

Release notes:
https://savannah.gnu.org/news/?id=10853

Changelog:
1.0: https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00007.html

- gettext-minimal-native: update Makevars.template source path to new
  location under gettext-tools/wizard/po-templates/traditional/

- use-pkgconfig.patch: refresh patch hunks to match updated upstream
  context in libxml.m4 and selinux-selinux-h.m4, update selinux
  discovery: replace AC_SEARCH_LIBS (getfilecon_raw) with
  PKG_CHECK_MODULES for correct sysroot handling

- gettext_1.0.bb: add autotools ptest directory and install
  gettext-tools autotools build artifacts for ptest

ptest results:

=======================
All 630 tests passed
(41 tests were not run)
=======================
DURATION: 45
END: /usr/lib/gettext/ptest
2026-03-09T17:58
STOP: ptest-runner
TOTAL: 1 FAIL: 0

With the previous version:
All 626 tests passed
(40 tests were not run)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agobitbake.conf: Set PACKAGECONFIG vardepvalue
Richard Purdie [Wed, 11 Mar 2026 11:06:05 +0000 (11:06 +0000)] 
bitbake.conf: Set PACKAGECONFIG vardepvalue

For PACKAGECONFIG settings in recipes, we care about the end value, we don't
really care how it is constructed. bbappends to recipes can add things to
the default PACKAGECONFIG settings, for example being dependent on a DISTRO_FEATURE
or another variable. If the computed value doesn't change, the task hashes can remain
constant, allowing for better sstate reuse.

To do this, set a vardepvalue of the variable value itself, ignoring how
the actual value is calculated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agocargo-c: update 0.10.20 -> 0.10.21
Deepesh Varatharajan [Mon, 9 Mar 2026 08:33:32 +0000 (01:33 -0700)] 
cargo-c: update 0.10.20 -> 0.10.21

Changes are here:
https://github.com/lu-zero/cargo-c/compare/v0.10.20...v0.10.21

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolua: upgrade from 5.4.8 to 5.5.0
Changqing Li [Mon, 9 Mar 2026 06:07:41 +0000 (14:07 +0800)] 
lua: upgrade from 5.4.8 to 5.5.0

Changes:
https://www.lua.org/manual/5.5/readme.html#changes

PLATS linux-readline is moved, and readline is changed to load
dynamically, refer [1], keep readline as PACKAGECONFIG to allow user to
remove readline dependency.

Lua use dlopen by default, and LUA_READLINELIB is set to libreadline.so,
but libreadline.so is in the dev package, which will make Lua cannot
load libreadline even when libreadline is installed. Make readline as
build dependency and detect the real libreadline name and set LUA_READLINELIB

[1] https://github.com/lua/lua/commit/366c85564874d560b3608349f752e9e490f9002d
[2] https://github.com/lua/lua/blob/master/lua.c#L520

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agotcl8: fix tclConfig.sh after UNPACKDIR change
Krupal Ka Patel [Mon, 9 Mar 2026 05:31:15 +0000 (22:31 -0700)] 
tcl8: fix tclConfig.sh after UNPACKDIR change

Adapt the  sed command that edits TCL_SRC_DIR in tclConfig.sh
This is needed so that tk in meta-oe is capable of reading
the required header file

Remove buildpath from TCL_BUILD_STUB_LIB_PATH in tclConfig.sh

Signed-off-by: Krupal Ka Patel <krkapate@cisco.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopython3-setuptools: drop Windows launcher executables on non-mingw builds
Krupal Ka Patel [Mon, 9 Mar 2026 05:19:33 +0000 (22:19 -0700)] 
python3-setuptools: drop Windows launcher executables on non-mingw builds

setuptools installs Windows launcher executables (cli*.exe, gui*.exe)
into site-packages. These binaries are only used on Windows platforms
but are packaged for target, native, and nativesdk builds.

Remove the Windows launcher executables when not building for a mingw
(mingw32/mingw64) host to avoid shipping unused Windows binaries.

Signed-off-by: Krupal Ka Patel <krkapate@cisco.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopython3-pip: drop unused Windows distlib launcher templates
Krupal Ka Patel [Mon, 9 Mar 2026 05:18:26 +0000 (22:18 -0700)] 
python3-pip: drop unused Windows distlib launcher templates

pip vendors distlib which ships Windows launcher template binaries
(*.exe) under pip/_vendor/distlib. These files are only used on
Windows systems but are installed and packaged for target, native,
and nativesdk builds.

Remove the distlib *.exe templates when not building for a mingw
(mingw32/mingw64) host to avoid shipping unused Windows binaries and
reduce package noise.

Signed-off-by: Krupal Ka Patel <krkapate@cisco.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogcc-source: Use allarch.bbclass
Joshua Watt [Tue, 10 Mar 2026 18:38:22 +0000 (12:38 -0600)] 
gcc-source: Use allarch.bbclass

Converts the recipe to use allarch.bbclass. This is necessary because
SSTATE_PKGARCH is set to "allarch" based on if allarch is inherited or
not. If it is not, SSTATE_PKGARCH has the value "all", which means any
data written out based on it cannot be found (because "all" is not in
SSTATE_ARCHS)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agollvm-project-source: Use allarch.bbclass
Joshua Watt [Tue, 10 Mar 2026 18:38:21 +0000 (12:38 -0600)] 
llvm-project-source: Use allarch.bbclass

Converts the recipe to use allarch.bbclass. This is necessary because
SSTATE_PKGARCH is set to "allarch" based on if allarch is inherited or
not. If it is not, SSTATE_PKGARCH has the value "all", which means any
data written out based on it cannot be found (because "all" is not in
SSTATE_ARCHS)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoselftest/glibc: add docstrings to the selftest classes
Adrian Freihofer [Sun, 8 Mar 2026 15:15:07 +0000 (16:15 +0100)] 
selftest/glibc: add docstrings to the selftest classes

Add docstrings to GlibcSelfTest classes and comments to the
glibc-testsuite recipe explaining how this test concept works.

This commit does not change the code itself.

Related [Yocto #16113]

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agospirv-tools: backport a fix for building with gcc-16
Martin Jansa [Sun, 8 Mar 2026 12:49:31 +0000 (13:49 +0100)] 
spirv-tools: backport a fix for building with gcc-16

Fixes:
https://errors.yoctoproject.org/Errors/Details/905195/
when building on host with gcc-16

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogcc: backport a fix for building with gcc-16
Martin Jansa [Sun, 8 Mar 2026 12:18:12 +0000 (13:18 +0100)] 
gcc: backport a fix for building with gcc-16

Fixes:
https://errors.yoctoproject.org/Errors/Details/905192/
when building on host with gcc-16

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agom4: upgrade to 1.4.21
Martin Jansa [Thu, 5 Mar 2026 18:03:29 +0000 (19:03 +0100)] 
m4: upgrade to 1.4.21

https://lists.gnu.org/archive/html/m4-announce/2026-02/msg00000.html
This release is being made mainly to cater to recent glibc changes in
light of the C23 language standard.  However, it also includes fixes
for some corner-case bugs in eval and when using the defn macro on
builtins.

Fixes m4-native builds on hosts with glibc-2.43 like:
./stdlib.h:827:20: error: expected identifier or '(' before '_Generic'
./string.h:777:20: error: expected identifier or '(' before '_Generic'

Remove 0001-gettext-h-Avoid-gcc-Wformat-security-warnings-with-d.patch
which is included in gnulib revision used by m4 since:
https://gitweb.git.savannah.gnu.org/gitweb/?p=m4.git;a=commit;h=beee8d26382460010338c37f9dd9f823aa9f4ee8

LIC_FILES_CHKSUM was updated for barem4.m4 and testbarem4.m4 from:
https://gitweb.git.savannah.gnu.org/gitweb/?p=m4.git;a=blobdiff;f=examples/COPYING;h=e623b2b9394cbd1784a4964bbac105050296f33b;hp=7e73a1219b542fa035facc47cdb3dd81132e6373;hb=900a90f624cee4a8c1c02c4d6a61ef1ed26a17d1;hpb=c7b96d682958532c4eb2d5c2d81bb6ac342fd410

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolibpam: set status for CVE-2024-10041
Peter Marko [Fri, 6 Mar 2026 06:55:14 +0000 (07:55 +0100)] 
libpam: set status for CVE-2024-10041

This CVE was fixed in v1.6.1 (per [1]).
NVD tracks it as version-less CVE for RedHat.

[1] https://security-tracker.debian.org/tracker/CVE-2024-10041

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoprocps: support ptest when TCLIBC is glibc
Changqing Li [Fri, 6 Mar 2026 04:05:53 +0000 (12:05 +0800)] 
procps: support ptest when TCLIBC is glibc

* Support ptest for procps TCLIBC is glibc. The configure.ac only match
  LINUX as "linux-gnu", we can patch it to make test can run on musl lib
system, but the upstream testsuite should only run on gnu libc host,
some test cases only suitable for glibc, eg: Some of the error messages
for free command on musl system is not the same as glibc system, which
will make test failed. In order to avoid some other unexpected failure,
just support ptest for glibc.

* Bug [1] is filed for musl support, we may can add support for musl
  libc later when upstream add the musl support

* procps's testsuite use DejaGnu test framework.  The testsuite is
  expected to run during build time, this implementation create the same
folder structure as the testsuite expected to make it can work well.

[1] https://gitlab.com/procps-ng/procps/-/issues/420

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agouboot-config: fix KCONFIG_CONFIG_ROOTDIR path
Francesco Valla [Wed, 4 Mar 2026 23:04:05 +0000 (00:04 +0100)] 
uboot-config: fix KCONFIG_CONFIG_ROOTDIR path

Commit 22e96b3 ("u-boot: Make sure the build dir is unique for each
UBOOT_CONFIG") changed the u-boot build directory name to include the
UBOOT_CONFIG value the build is performed for. Align to the new pattern
also the KCONFIG_CONFIG_ROOTDIR variable, which is used by devtool to
create a config baseline in case the menuconfig task is enabled.

This fixes the following error, which can be seen when building u-boot
under devtool and UBOOT_CONFIG contains a single configuration:

  cp: cannot stat '<u-boot-builddir>/<u-boot-defconfig>/.config': No such file or directory

Signed-off-by: Francesco Valla <francesco@valla.it>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agocross-canadian.bbclass: merged /usr support
Peter de Ridder [Wed, 4 Mar 2026 16:03:36 +0000 (17:03 +0100)] 
cross-canadian.bbclass: merged /usr support

Use ${root_prefix} instead of ${base_prefix} while setting
${target_base_prefix}, otherwise we might loose the root prefix configuration
change in case of 'usrmerge' distro feature is enabled.

Signed-off-by: Peter de Ridder <peter.de.ridder@jotron.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agosanity.bbclass: warn when sstate is outside of build dir, but hash equiv database...
Alexander Kanavin [Wed, 4 Mar 2026 10:25:31 +0000 (11:25 +0100)] 
sanity.bbclass: warn when sstate is outside of build dir, but hash equiv database is inside it

This should help with the long-standing usability problem: when
someone tweaks the configuration to put sstate somewhere else than
the default (so that it can be shared between local builds, or over NFS),
they should also share the hash equivalency database, but no indication
would be given to the user to do so.

This will issue a warning and recommend to start a dedicated hash equivalency
server (if sstate is on NFS), or set BB_HASHSERVE_DB_DIR (if it isn't).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogrub: fix grub installation error on i386 target
Yi Zhao [Tue, 3 Mar 2026 01:58:45 +0000 (09:58 +0800)] 
grub: fix grub installation error on i386 target

Commit 1a5417f39[1] introduced a grub installation error on i386 target:

  grub-mkimage: error: `/usr/lib/grub/i386-pc/kernel.img' is
  miscompiled: its start address is 0x9074 instead of 0x9000: ld.gold
  bug?.

A series of patches are under review in grub mailing list[2]. Once these
patches are merged, we will backport them to the current version.

Currently, referring to Gentoo[3] and Libreboot[4], revert the following
commits as a workaround:
1a5417f39 configure: Check linker for --image-base support
ac042f3f5 configure: Print a more helpful error if autoconf-archive is
          not installed

[1] https://cgit.git.savannah.gnu.org/cgit/grub.git/commit/?id=1a5417f39a0ccefcdd5440f2a67f84d2d2e26960
[2] https://lists.gnu.org/archive/html/grub-devel/2026-02/msg00039.html
[3] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a995ac689a7132651ef6b2b87295c392899427
[4] https://codeberg.org/libreboot/lbmk/src/branch/master/config/grub/nvme/patches/0010-Revert-configure-Check-linker-for-image-base-support.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogrub: upgrade 2.12 -> 2.14
Yi Zhao [Tue, 3 Mar 2026 01:58:44 +0000 (09:58 +0800)] 
grub: upgrade 2.12 -> 2.14

ChangeLog:
* libgcrypt 1.11.
* LVM LV integrity and cachevol support.
* EROFS support.
* GRUB environment block inside the Btrfs header support.
* NX support for EFI platforms.
* shim loader protocol support.
* BLS and UKI support.
* Argon2 KDF support.
* TPM2 key protector support.
* Appended Signature Secure Boot Support for PowerPC.
* New option to block command line interface.
* Support dates outside of 1901..2038 range.
* zstdio decompression support.
* EFI code improvements and fixes.
* TPM driver fixes.
* Filesystems fixes.
* CVE and Coverity fixes.
* Tests improvements.
* Documentation improvements.

Drop backport patches.
Refresh local patches.
Split grub-bash-completion package by inheriting bash-completion.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoqemurunner: Drop nographic option now runqemu falls back to VNC
Richard Purdie [Tue, 10 Mar 2026 23:33:10 +0000 (23:33 +0000)] 
qemurunner: Drop nographic option now runqemu falls back to VNC

Since runqemu now falls back to vnc or a none display if DISPLAY isn't set,
we no longer need to pass nographic to the qemu commandline and can allow
runqemu just to handle it.

One challenge with nographic is that it changes more that just the display
setting, it can affect the serial and parallel port mappings so this also
makes settings slightly more consistent accross environments.

Ultimately, this allows us to stop requiring X desktops whilst still having
a way to connect to the display over VNC for debugging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoscripts/runqemu: Allow VNC use as a fallback when there is no DISPLAY set
Richard Purdie [Tue, 10 Mar 2026 23:33:09 +0000 (23:33 +0000)] 
scripts/runqemu: Allow VNC use as a fallback when there is no DISPLAY set

We would like to be able to fall back on QEMU's internal VNC server when
there is no DISPLAY available. Add code to do this, putting a socket for
VNC alongside the network interface tap lock files.

This won't work if tap networking isn't enabled but in most of our use
cases it will be and it avoids having to invent a new location for the
sockets. If there are needs outside this, that can be addressed in future.

Also move the other "publicvnc" code to be alongside the rest of the graphics
parameters for ease of reading the code. The publicvnc option doesn't
work for this use case as it can't handle multiple concurrent qemu istances.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolicense_image.bbclass: report all packages with incompatible license
Martin Jansa [Thu, 5 Mar 2026 22:30:31 +0000 (23:30 +0100)] 
license_image.bbclass: report all packages with incompatible license

When multiple packages cannot be installed it shows only first one it
finds, because of bb.fatal use. It might require many iterations to find
all packages to avoid.

e.g. with ptest enabled and GPL-3.0-or-later, GPL-3.0-only set as
incompatible licenses you might get list like this for relatively small
image:

ERROR: image-1.0-r0 do_rootfs: Some packages cannot be installed into the image because they have incompatible licenses:
        bzip2-ptest (GPL-3.0-or-later)
        coreutils (GPL-3.0-or-later)
        coreutils-stdbuf (GPL-3.0-or-later)
        diffutils (GPL-3.0-or-later)
        findutils (GPL-3.0-or-later)
        gawk (GPL-3.0-or-later)
        gnutls-openssl (GPL-3.0-or-later)
        gnutls-ptest (GPL-3.0-or-later)
        grep (GPL-3.0-only)
        make (GPL-3.0-only)
        mpfr (LGPL-3.0-or-later)
        python3-dbusmock (GPL-3.0-only)
        readline (GPL-3.0-or-later)
        sed (GPL-3.0-or-later)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agosubversion: fix race in parallel builds
Ross Burton [Thu, 5 Mar 2026 11:51:30 +0000 (11:51 +0000)] 
subversion: fix race in parallel builds

In parallel build its possible for objects to be written into directories
that do not exist yet, as mkdir-init and local-all are executed at the
same time.

This fix is ugly, but a proper fix would be quite invasive. Upstream have
been informed of the problem.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agognutls: make C99 detection more resiliant
Ross Burton [Thu, 5 Mar 2026 11:51:29 +0000 (11:51 +0000)] 
gnutls: make C99 detection more resiliant

gnutls checks that the compiler supports C99 code by checking that the
standard being used is C99 or C11. This will fail with autoconf 2.73,
which will tell the compiler to use C23 by default.

Change the logic so that the build works with C23 by flipping the logic:
we know that C89 is less than C99, but we don't know the names of future
standards.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agovim: upgrade 9.2.0 -> 9.2.0110
Peter Marko [Thu, 5 Mar 2026 21:05:45 +0000 (22:05 +0100)] 
vim: upgrade 9.2.0 -> 9.2.0110

Solves CVE-2026-28417, CVE-2026-28418, CVE-2026-28419, CVE-2026-28420,
       CVE-2026-28421 and CVE-2026-28422.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoinetutils: patch CVE-2026-28372
Peter Marko [Thu, 5 Mar 2026 18:50:39 +0000 (19:50 +0100)] 
inetutils: patch CVE-2026-28372

Pick patch according to [1] (equivalent to patch from [2]).

[1] https://security-tracker.debian.org/tracker/CVE-2026-28372
[2] https://nvd.nist.gov/vuln/detail/CVE-2026-28372

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoREADME: add global note about C locale sorting
Yoann Congal [Thu, 5 Mar 2026 18:50:19 +0000 (19:50 +0100)] 
README: add global note about C locale sorting

Other locale might have different order for the "-" character and lead
to unstable sorting.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: add note about C locale sorting
Yoann Congal [Thu, 5 Mar 2026 18:50:18 +0000 (19:50 +0100)] 
maintainers.inc: add note about C locale sorting

Other locale might have different order for the "-" character and lead
to unstable sorting.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agodtc: backport fix for build with glibc-2.43
Martin Jansa [Thu, 5 Mar 2026 18:03:30 +0000 (19:03 +0100)] 
dtc: backport fix for build with glibc-2.43

glibc-2.43 isn't used in OE builds yet, but this fixes dtc-native:
https://errors.yoctoproject.org/Errors/Details/903983/

../sources/dtc-1.7.2/libfdt/fdt_overlay.c: In function ‘overlay_fixup_phandle’:
../sources/dtc-1.7.2/libfdt/fdt_overlay.c:424:21: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  424 |                 sep = memchr(fixup_str, ':', fixup_len);
      |                     ^
../sources/dtc-1.7.2/libfdt/fdt_overlay.c:434:21: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  434 |                 sep = memchr(name, ':', fixup_len);
      |                     ^
cc1: all warnings being treated as errors

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogcc: Fix gcc-libitm false positives in regression report
Harish Sadineni [Thu, 5 Mar 2026 13:16:22 +0000 (05:16 -0800)] 
gcc: Fix gcc-libitm false positives in regression report

Some of the gcc-libitm test cases include build paths (e.g. [1]) in their results.
When comparing two build outputs, these embedded paths cause resulttool to incorrectly report regressions.

[1] ptestresult.gcc-libitm-user.libitm.c++/dropref.C -B /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-64312/
    ..../libitm/../libstdc++-v3/src/.libs (test for excess errors): PASS

This leads to a false regression such as:
PASS → No matching test result

Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/patch/?id=b129ff0880c6d10e0379b46889d01255ee8d1f82,
                           https://gcc.gnu.org/cgit/gcc/patch/?id=66ce317036f2eb5aeb96d5e4b9e468799d7566b]

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopython3-imagesize: upgrade 1.4.1 -> 2.0.0
Jiaying Song [Thu, 5 Mar 2026 07:39:21 +0000 (15:39 +0800)] 
python3-imagesize: upgrade 1.4.1 -> 2.0.0

Changes:
https://github.com/shibukawa/imagesize_py/compare/1.4.1...2.0.0
https://github.com/shibukawa/imagesize_py/blob/master/README.rst

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>