]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 days agosystemd: upgrade from 257.8 to 258 mathieu/systemd-upgrade-tests
Chen Qi [Thu, 16 Oct 2025 08:47:00 +0000 (16:47 +0800)] 
systemd: upgrade from 257.8 to 258

258 Release Changes:
https://github.com/systemd/systemd/releases/tag/v258

The 'runlevel', 'initctl', 'telinit' related contents are removed
because they are offically removed in v258.

Disable tests explicitly. This is because we're not installing any
tests. There's no point building them out. And this puts extra burden
on making things compile for musl.

gcrypt and gnutls PACKAGECONFIGs are removed as "OpenSSL is now the only
supported cryptography backend for systemd-resolved and systemd-importd."

musl changes:
1. This version has big changes in musl patches. The goal is to
   help maintenance. I want patches to be more easily applied
   to new versions. The count of files modified by musl specific
   patches decreased from 113 (v257) to 34 (v258).
2. All patches are re-evaluated.
   This version of systemd introduces big changes in header
   files and other places. So the previous musl patches are
   re-evaluated one by one. Those that are dropped are considered not
   needed. A few new ones are added. There are some notable ones.
   0012-do-not-disable-buffer-in-writing-files.patch is dropped because
   there is not runtime error.
   0016-Fix-the-segfault-for-glob-related-codes-and-define-d.patch is
   added because this version of systemd uses strv_free to free gl_pathv
   instead of relying on globfree provided by libc.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
3 days agobase-passwd: add clock group
Chen Qi [Thu, 16 Oct 2025 08:46:59 +0000 (16:46 +0800)] 
base-passwd: add clock group

New systemd version (v258) introduces a new group, clock, to
"enable applications like linuxptp to open clocks without root
privileges".[1]

This results in warning at do_rootfs time:
WARNING: Group clock has never been defined

Add group clock with gid 81 to fix this issue. The wheel group's
gid is 80, so 81 is chosen. And as the patch to add wheel group
was not accepted by upstream, directly mark this one's upstream
status to be 'Inappropriate'.

[1] https://github.com/systemd/systemd/commit/af96ccfc24bc4803078a46b4ef2cdeb5decdfbcd

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agosystemd.bbclass: support template files with dots
Jason M. Bills [Wed, 22 Oct 2025 15:05:17 +0000 (08:05 -0700)] 
systemd.bbclass: support template files with dots

If the SYSTEMD_SERVICE variable contains a template instance that has
dots in the name such as "xyz.openbmc_project.my@instance.service", the
regex splits on all the dots resulting in the following python
exception:

Exception: ValueError: too many values to unpack (expected 3)

To continue to support service files with dots in the name, this changes
to first split only on the '@' to isolate the name, then split the
second half on the last dot to get the remaining two parameters.
Splitting on the last dot allows dots in the instance name, as well.

Confirmed when building that the three parameters for template instances
without dots came out the same and that template instances with dots
include the full name with dots in the first parameter.

Confirmed when using an instance name with dots that the full instance
name came out correctly with dots.

CC: Ross Burton <Ross.Burton@arm.com>
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoutil-linux: fix uuidd failed with /run/uuidd not found
Hongxu Jia [Wed, 22 Oct 2025 13:23:07 +0000 (21:23 +0800)] 
util-linux: fix uuidd failed with /run/uuidd not found

It failed to run uuidd
...
root@qemux86-64:~# uuidd
uuidd: cannot open /run/uuidd/uuidd.pid: No such file or directory
...

Create dir /run/uuidd for both of systemd and sysvinit

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agolinux-firmware: upgrade 20251011 -> 20251021
Dmitry Baryshkov [Wed, 22 Oct 2025 13:13:20 +0000 (16:13 +0300)] 
linux-firmware: upgrade 20251011 -> 20251021

Upgrade the firmware package, add new package for Intel Sensor Hub on
Pather Lake platforms.

License-Update: new and updated firmware

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agocreate-spdx-3.0: add SPDX_LICENSES to SPDX3_DEP_FILES
Jose Quaresma [Wed, 22 Oct 2025 09:06:49 +0000 (10:06 +0100)] 
create-spdx-3.0: add SPDX_LICENSES to SPDX3_DEP_FILES

If we have changes on SPDX_LICENSES content we ended up building invalid sstate-cache archives.
The default value for the SPDX_LICENSES is the file meta/files/spdx-licenses.json but this file
don't use the bitbake fetcher and because of this their checksum is not validated.
So we need to add this file to the build dependency chain of the SPDX.

For example, currently we have bump from 3.24.0 to 3.27.0 on master-next for the file
meta/files/spdx-licenses.json. Since the file content is not taken into account, we end
up creating invalid sstate-cache artifacts on the autobuilder on master-next builds.
This created sstate-cache artifacts will also be available to master branch users
that are using the upstream sstate-cache mirror.

If someone is using the public mirror but still following the master branch
they will encounter something like the following error which this change aims to resolve.

| ERROR: initramfs-rootfs-image-1.0-r0 do_create_image_sbom_spdx: http://spdxdocs.org/openembedded-alias/by-doc-hash/57301e8063a8bf25308226271627db2b78675cda9f648c5c6c14a2b9c18f48dc/zlib/UNIHASH/license/3_27_0/Zlib not found in /work/build/tmp/deploy/spdx/3.0.1/armv8a/by-spdxid-hash/57/57301e8063a8bf25308226271627db2b78675cda9f648c5c6c14a2b9c18f48dc.spdx.json

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agospdx-3.0: replace SPDX3_LIB_DEP_FILES with SPDX3_DEP_FILES
Jose Quaresma [Wed, 22 Oct 2025 09:06:47 +0000 (10:06 +0100)] 
spdx-3.0: replace SPDX3_LIB_DEP_FILES with SPDX3_DEP_FILES

We can have more files types in the chain of dependencies and not just libs.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoelfutils: Always use gcc for native compiler
Khem Raj [Wed, 22 Oct 2025 05:08:10 +0000 (22:08 -0700)] 
elfutils: Always use gcc for native compiler

Clang can not compile full elfutils for build host.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopkgconfig: Always use gcc for native compiler
Khem Raj [Wed, 22 Oct 2025 05:08:09 +0000 (22:08 -0700)] 
pkgconfig: Always use gcc for native compiler

It has build errors with clang especially on native builds.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopseudo: Pin native compiler to gcc as well
Khem Raj [Wed, 22 Oct 2025 05:08:08 +0000 (22:08 -0700)] 
pseudo: Pin native compiler to gcc as well

pseudo does not build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agogcc: Pin native toolchain to GCC as well
Khem Raj [Wed, 22 Oct 2025 05:08:07 +0000 (22:08 -0700)] 
gcc: Pin native toolchain to GCC as well

GCC is not buildable with clang and when using clang
for native compiler this fails to build native parts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agolibcap: Pass OE defined BUILD_CC and BUILD_LDFLAGS
Khem Raj [Wed, 22 Oct 2025 05:08:06 +0000 (22:08 -0700)] 
libcap: Pass OE defined BUILD_CC and BUILD_LDFLAGS

This ensures that, native pieces in target builds
are build with correct flags to be able to run on build host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agorust: Do not modify rpaths in llvm-config
Khem Raj [Wed, 22 Oct 2025 04:53:51 +0000 (21:53 -0700)] 
rust: Do not modify rpaths in llvm-config

No need to edit rpaths in llvm-config, this is not
needed anymore because the llvm-config used is from
standard install inside sysroot unlike when rust-llvm
was used, where it was installed into its own location
to avoid conflicts with llvm-config coming from llvm/clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agollvm/clang: Upgrade to 21.1.4 release
Deepesh Varatharajan [Wed, 22 Oct 2025 04:31:26 +0000 (21:31 -0700)] 
llvm/clang: Upgrade to 21.1.4 release

Brings following bugfixes on top of 21.1.3

222fc11f2b8f Bump version to 21.1.4
480a90482e5b release/21.x: [clang-format] Fix a crash on BAS_BlockIndent (#164047)
3333dd88a493 Update clang/lib/Format/TokenAnnotator.cpp
54cdd973782e [clang-format] Annotate ::operator and Foo::operator correctly (#164048)
ceeb93096c79 [libclang/python] Return None instead of null cursors from Token.cursor (#163183)
7e153f5372ed [clang-format] Fix an assertion failure on comment-only config files (#163111)
faca424bc5f7 [clang-format] Correctly handle backward compatibility of C headers (#159908)
c5a3aa8934b0 [libc++] Properly implement array cookies in the ARM ABI (#160182)
0d819a9104b2 [libunwind] Fix aarch64 SEH unwinding with a debugger attached (#162867)
464d75ad5f26 [MachinePipeliner] Add test missed in #154940 (NFC) (#163350)
ffa6b0c365ec [MachinePipeliner] Limit the number of stores in BB (#154940)
570c4c944338 [clang] Fix catching pointers by reference on mingw targets (#162546)
c6af6be3cd1c [libc++][docs] Add missing entry for P3379R0 to `21.rst`
a2e93dce5f2b [Hexagon][llvm-objdump] Start a fresh packet at symbol boundaries. (#163466)
dfdee9a929aa [clang][modules] Derive mtime from PCM timestamps, not PCM files (#162965)
bd9bc536b4ac [LLD] [COFF] Fix aarch64 delayimport of sret arguments (#163096)
7b785dcb70f6 [LLD][COFF] Fix tailMergeARM64 delayload thunk 128 MB range limitation (#161844)
a847f1832857 [Hexagon] Support lowering of setuo & seto for vector types in Hexagon (#158740)
e14b5e82244e [clang-format] Fix a bug in wrapping { after else (#161048)
b54051ac74cb [clang-format] Correctly annotate RequiresExpressionLBrace (#155773)
c9fbd571b52c dfsan: Fix test with gcc 15.
68f118f265c9 Switch dtls_test.c from XFAIL to UNSUPPORTED on aarch64.
a86b1e397e90 compiler-rt: Make the tests pass on AArch64 and with page size != 4096.
c03b58bb091e [clangd] Fix code action kind for readability-identifier-naming fixes (#162808)
caef7619d5fd [clang-format] Fix a bug in OneLineFormatOffRegex (#162961)
5386abc82ab8 [libc++][ranges] Fix `ranges::join_view` segmented iterator trait (#158347)
18593ab316f6 workflows/release-binaries: Run tests on the same runner as the build (#162421)
13bee3a798b1 [Mips] Fix clang crashes when assembling invalid MIPS beql instructions with --arch=mips (#156413)
0d1b9249d189 [CI] Add dyung and c-rhodes to the Release Asset List (#162478)
c000f3226bdf [Mips] Fixed libunwind::Registers_mips_o32::jumpto to allow for load delay (#152942)
276050887539 [LLDB][ProcessWindows] Set exit status on instance rather than going through all targets (#159308)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agogtk4: update 4.18.6 -> 4.20.2
Markus Volk [Tue, 21 Oct 2025 18:21:52 +0000 (20:21 +0200)] 
gtk4: update 4.18.6 -> 4.20.2

Changelog: [https://gitlab.gnome.org/GNOME/gtk/-/blob/4.20.2/NEWS]

- add bash-completion to FILES to avoid an installed-vs-shipped issue
- remove gtk4-printbackend-cups package
- use $GNOME_MIRROR in download URL

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agogtk+3: Update 3.24.43 -> 3.24.51
Jörg Sommer [Tue, 21 Oct 2025 18:20:00 +0000 (20:20 +0200)] 
gtk+3: Update 3.24.43 -> 3.24.51

According to https://www.gtk.org/docs/installations/linux/#gtk-v3x the new
place for downloads is download.gnome.org aka $GNOME_MIRROR (ftp.g.o
redirects to this). And new versions are without `+`.

Update opengl.patch, handle new `is_gl_context_current`.

Overview of Changes in GTK+ 3.24.51, 29-09-2025
===============================================

* Wayland:
 - Force window titles to be valid utf8
 - Flush tablet events when neccessary

* X11:
 - Avoid a use-after-free with threads

* Windows:
 - Avoid min/max buttons for dialogs

* Images:
 - Replace a few calls to gdk_pixbuf_get_pixels
   with read_pixels to avoid thread-safety issues

* GL:
 - Try harder to keep the GL context current

* Input:
 - Make compose file parsing more robust

* Translation updates:
 Catalan
 Esperanto
 Persian

Overview of Changes in GTK+ 3.24.50, 07-08-2025
===============================================

* Themes:
 - Add a progress-working-symbolic icon
 - Support strokes in symbolic icons
 - Update theme CSS
 - Remove hardcoded Cantarell font

* GtkShortcutsWindow:
 - Differentiate all keypad symbols visually

* GtkApplication:
 - Register unsandboxed apps with the portals

* macOS:
 - Remove redundant NSView calls
 - Fix some memory leaks
 - Don't try to use the file transfer portal

* Windows:
 - Always mark windows as minimizable

* X11
 - Fix problems with gtk_window_get_geometry

* Wayland:
 - Fix a crash

* Input:
 - Make compose sequence visuals configurable

* Printing:
 - Fix the build with libcups 3
 - Support gnome-papers as previewer

* Translation updates
 Nepali
 Persian
 Uzbek (Latin)

Overview of Changes in GTK+ 3.24.49, 05-03-2025
===============================================

* Fix a crash in GtkIMContext

* Fix crashes in DND with GtkPlug/GtkSocket

* Wayland:
 - Fix erroneous crossing events, causing menus to malfunction
 - Support the cursor-shape protocol

* X11:
 - Enforce size limits on windows, preventing lockups

* macOS:
 - Fix pen tilt handling

* Translation updates
 Bulgarian
 Thai

Overview of Changes in GTK+ 3.24.48, 25-02-2025
===============================================

* Switch to the new ci-based release process

Overview of Changes in GTK+ 3.24.44, 24-01-2025
===============================================

* GtkFileChooser:
 - Stop replacing : (colon) with U+2236 (ratio)

* GtkEmojiChooser:
 - Update to Unicode 16 / CLDR 46

* GtkSpinButton:
 - Use semantically appropriate icon names
 - Make numeric spin buttons always LTR

* GtkEntry:
 - Stop guessing text direction from keyboard layout
 - Add a shortcut and context menu item to change text direction

* GtkEventControllerMotion:
 - Make enter and leave signals work

* Accessibility:
 - Use message dialog titles as names

* GDK:
 - Fix portal handling of gvfs files

* Wayland:
 - Support the xdg_foreign_v2 protocol
 - Try to fix monitor geometry on sway
 - Improve font setting fallback
 - Use a better default cursor size
 - Fix a crash during DND

* macOS:
 - Fix a UI hang

* Translation updates:
 Bulgarian
 Farsi
 Hindi
 Hungarian
 Icelandic
 Latvian
 Serbian

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agowic: add option to specify the diskid
Steffen Greber [Tue, 21 Oct 2025 09:47:38 +0000 (09:47 +0000)] 
wic: add option to specify the diskid

This adds a feature to specify the disk ID when creating a disk with
the wic tool. This is useful when using the DOS partition scheme and
booting with root=PARTUUID=<partuuid>. In DOS partitions, the partition
ID is <diskid>-<partition-number>, so it makes sense to let the user
define the disk ID.

You can specify it in the kickstart file using the --diskid argument
to the bootloader command. The value can be given in decimal or
hexadecimal format (e.g. 3735928559 or 0xdeadbeef). If omitted, the
previous behaviour does not change.

Signed-off-by: Steffen Greber <sgreber@lilafast.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agobinutils: patch CVE-2025-11495
Peter Marko [Mon, 20 Oct 2025 22:09:11 +0000 (00:09 +0200)] 
binutils: patch CVE-2025-11495

Pick commit per NVD CVE report.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agobinutils: patch CVE-2025-11413
Peter Marko [Mon, 20 Oct 2025 22:09:10 +0000 (00:09 +0200)] 
binutils: patch CVE-2025-11413

Pick commit per NVD CVE report.

Note that there were two patches for this, first [1] and then [2].
The second patch moved the original patch to different location.
Cherry-pick of second patch is successful leaving out the code removing
the code from first location, so the patch attached here is not
identical to the upstream commit but is identical to applying both and
merging them to a single patch.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=1108620d7a521f1c85d2f629031ce0fbae14e331
[2] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=72efdf166aa0ed72ecc69fc2349af6591a7a19c0

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agobinutils: patch CVE-2025-11412
Peter Marko [Mon, 20 Oct 2025 22:09:09 +0000 (00:09 +0200)] 
binutils: patch CVE-2025-11412

Pick commit per NVD CVE report.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agobinutils: patch CVE-2025-11414
Peter Marko [Mon, 20 Oct 2025 22:09:08 +0000 (00:09 +0200)] 
binutils: patch CVE-2025-11414

Pick commit per NVD CVE report.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoopkg: upgrade 0.8.0 -> 0.9.0
Etienne Cordonnier [Mon, 20 Oct 2025 17:10:26 +0000 (19:10 +0200)] 
opkg: upgrade 0.8.0 -> 0.9.0

See release notes at
- http://downloads.yoctoproject.org/releases/opkg/opkg-0.9.0.release-notes

[0.9.0] - 2025-06-27

Semiannual opkg release.
Bumping the minor version as a result of the project build tooling changing from autotools to cmake.

- Added a Dockerfile container definition (`:docker/`) for a valid developer build environment for opkg.
  - It's recommended that project contributors use this container to build and test their changes.
- The AutoTools-based build framework has [been replaced](https://git.yoctoproject.org/opkg/commit/?id=3f6040e321634471ec442fb0e80f140f1437e90b) with a more modern, CMake framework.
  - Refer to the `docs/CONTRIBUTING.md` documentation for updated build instructions.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoopkg: upgrade 0.7.0 -> 0.8.0
Etienne Cordonnier [Mon, 20 Oct 2025 17:10:25 +0000 (19:10 +0200)] 
opkg: upgrade 0.7.0 -> 0.8.0

See release notes at
- http://downloads.yoctoproject.org/releases/opkg/opkg-0.8.0.release-notes

[0.8.0] - 2025-01-10

The minor version bump in this release is due to the changes to cURL error output line format.

- [Changed](https://git.yoctoproject.org/opkg/commit/?id=ab03377868256427279b36c4b2a298edae4260b8) the error output for the curl download backend, to now report the HTTP error code for failed requests.
  - e.g. `error: log_curl_download_error: Failed to download headers of https://foo.bar/all/Packages.gz: The requested URL returned error: 401`
- Enabling debug-verbosity, while using the cURL backend, [will now](https://git.yoctoproject.org/opkg/commit/?id=ce6fede3db931bb0da70d1334cdc4101d0aec702) print cURL's verbose error log to stderr when there is a download failure.
  - The verbose output may contain confidential information about your cURL transactions. So this is your reminder that debug-verbosity should not be enabled in production systems or sensitive security environments.
- The commandline configuration file option (`-f`) [can now](https://git.yoctoproject.org/opkg/commit/?id=36d08b93d2859992b624a4ba2f412cfa5c766050) be specified multiple times, and each configuration file will be loaded and their settings merged.
- [Fixed](https://git.yoctoproject.org/opkg/commit/?id=c87188d7535684fddb8cf80993c147b215602b63) a bug in control field parsing where custom fields whose keys are similar to other fields could be confused by the parser.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agomultilib.bbclass: Filter ROOTFS_RO_UNNEEDED to fix uninstallation
Mike Crowe [Mon, 20 Oct 2025 16:03:53 +0000 (17:03 +0100)] 
multilib.bbclass: Filter ROOTFS_RO_UNNEEDED to fix uninstallation

When building an entire multilib image (e.g. lib32-core-image-minimal)
we need to ensure that the unneeded packages in ROOTFS_RO_UNNEEDED get
the multilib prefix applied before they are compared against the list of
installed packages inside Rootfs._uninstall_unneeded() to decide whether
they need to be installed.

Before this change with local.conf containing:

 MACHINE = qemuarm64
 require conf/multilib.conf
 MULTILIBS = "multilib:lib32"
 DEFAULTTUNE:virtclass-multilib-lib32 = "armv7at-neon"
 IMAGE_FEATURES = "read-only-rootfs"

running:
 bitbake lib32-core-image-minimal
 tar tavf tmp/deploy/images/qemuarm64/lib32-core-image-minimal-qemuarm64.rootfs.tar.zst|grep postinst

shows three files:
 -rwxr-xr-x 0/0              25 2018-03-09 12:34 ./etc/init.d/run-postinsts
 lrwxrwxrwx 0/0               0 2018-03-09 12:34 ./etc/rcS.d/S99run-postinsts -> ../init.d/run-postinsts
 -rwxr-xr-x 0/0            2153 2018-03-09 12:34 ./usr/sbin/run-postinsts

whereas with this change there are no matching files.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agokernel-fit-image: Split signing variables
Ryan Eatmon [Mon, 20 Oct 2025 14:49:32 +0000 (09:49 -0500)] 
kernel-fit-image: Split signing variables

Right now all signing is done with a single variable: UBOOT_SIGN_ENABLE.
This has the side effect of not allowing for signing the fitImage while
not signing the uboot files.

This patch creates three new variables specific to FIT_KERNEL and
defaults them to the corresponding UBOOT variables.  That way all
existing code will remain the same, but we can selectively control just
signing the fitImage without also signing the uboot files.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agospdx_common: Fix invalid SPDX downloadLocation for Rust crates
Jayasurya Maganuru [Mon, 20 Oct 2025 07:22:28 +0000 (00:22 -0700)] 
spdx_common: Fix invalid SPDX downloadLocation for Rust crates

Fixes [YOCTO #15909]

SPDX validation was failing due to the use of `crate://crates.io/...` as the
`downloadLocation`, which is not a valid SPDX URL as per the 2.2 specification.

This patch updates `fetch_data_to_uri()` in `spdx_common.py` to detect when the
fetcher type is "crate" and instead use the `url` attribute, which contains a
valid HTTP(S) URL in the expected format, e.g.:

  https://crates.io/api/v1/crates/<name>/<version>/download

This aligns the SPDX metadata for Rust crates with the specification and avoids
validation errors in tools consuming SPDX documents.

Tested with the `python3-bcrypt` recipe and verified that the
generated `spdx.json` contains a valid `software_downloadLocation`.

Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15909

Signed-off-by: Jayasurya Maganuru <Maganuru.Jayasurya@Windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agosystemd: serial-getty@.service: allow device to fast fail if it does not exist
Hongxu Jia [Mon, 20 Oct 2025 04:56:50 +0000 (12:56 +0800)] 
systemd: serial-getty@.service: allow device to fast fail if it does not exist

Due to serial-getty@.service is deleted and use existing unit
files in systemd [1], port a patch from systemd-serialgetty [2]
and apply it to systemd to allow device to fast fail if it does
not exist

[1] https://git.openembedded.org/openembedded-core/commit/?id=b6a7617145c3acf9f79888e7555e7706cd55a350
[2] https://git.openembedded.org/openembedded-core/commit/?id=f0f359ec9210759f6b4dbfb35d3fba8af208c43a

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agokea: fix installation umask to 0022 of meson.
Liu Yiding [Mon, 20 Oct 2025 02:39:55 +0000 (10:39 +0800)] 
kea: fix installation umask to 0022 of meson.

The default installation umask is 0027 for Kea-built artifacts.

And it caused package conflicts as following:
Error: Transaction test error:
  file /usr/lib/pkgconfig conflicts between attempted installs of kea-dev-3.0.1-r0.x86_64_v3 and btrfs-tools-dev-6.16-r0.x86_64_v3
  file /usr/lib/pkgconfig conflicts between attempted installs of libgcrypt-dev-1.11.2-r0.x86_64_v3 and kea-dev-3.0.1-r0.x86_64_v3

I submitted an issue to the upstream and found upstream alreadly known this issue.
https://gitlab.isc.org/isc-projects/kea/-/issues/4171
https://gitlab.isc.org/isc-projects/kea/-/issues/3993

Then I follow the method in the SPEC file of upstream to fix this problem in Yocto.
https://gitlab.isc.org/isc-projects/kea-packaging/-/blob/master/rpm/kea.spec?ref_type=heads
meson setup build \
--buildtype release \
--install-umask 0022 \
--bindir %{_bindir} \

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agokea: fix EXTRA_OE config to EXTRA_OEMESON
Liu Yiding [Mon, 20 Oct 2025 02:39:54 +0000 (10:39 +0800)] 
kea: fix EXTRA_OE config to EXTRA_OEMESON

After kea has been upgrade to 3.0.1,the build system changed to meson,but the config of build system is still be EXTRA_OECONF. So this commit fix it.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agooe-selftest: fitimage: test FIT image with/without kernel node
Adrian Freihofer [Sun, 19 Oct 2025 16:44:12 +0000 (18:44 +0200)] 
oe-selftest: fitimage: test FIT image with/without kernel node

Add test coverage for the feature added with commit
oe-selftest: fitimage: add FIT_LINUX_BIN to control kernel node creation
which adds support for FIT images without a kernel node when
FIT_LINUX_BIN is set to an empty string.

Extend the functions _get_req_its_paths to return also a list of
not expected paths in the ITS file to verify that no kernel node is
created when FIT_LINUX_BIN = "".

This also adds some basic test coverage for the configuration nodes in
the ITS file.

Minor cleanups:
- Remove unused import of tempfile module.
- Print the configuration for the fitimage.FitImagePyTests when
  overrides are provided.
- Remove empty line at the end of the file.
- Sort the list of bb_vars keys in _test_fitimage_py().

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agooe-selftest: fitimage: fix req_its_fields last field_index
Adrian Freihofer [Sun, 19 Oct 2025 16:44:11 +0000 (18:44 +0200)] 
oe-selftest: fitimage: fix req_its_fields last field_index

The last enrty of req_its_fields was not taken into account and the test
passed even if the last entry was not found in the its file.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopython3-numpy: upgrade 2.3.3 -> 2.3.4
Trevor Gamblin [Sun, 19 Oct 2025 16:37:43 +0000 (12:37 -0400)] 
python3-numpy: upgrade 2.3.3 -> 2.3.4

Reproducibility looks OK.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48977
|# PASS: 46513
|# SKIP: 2426
|# XFAIL: 33
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 119
|END: /usr/lib/python3-numpy/ptest
|2025-10-19T16:03
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Release notes (https://github.com/numpy/numpy/releases/tag/v2.3.4):

The NumPy 2.3.4 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14. This
release is based on Python 3.14.0 final.

Changes

- The npymath and npyrandom libraries now have a .lib rather than a .a
  file extension on win-arm64, for compatibility for building with MSVC
  and setuptools. Please note that using these static libraries is
  discouraged and for existing projects using it, it's best to use it
  with a matching compiler toolchain, which is clang-cl on Windows on
  Arm.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoFstab xattrs: This update ensures that fstab xattrs are correctly updated without...
Daniel Andrade [Sun, 19 Oct 2025 15:39:18 +0000 (16:39 +0100)] 
Fstab xattrs: This update ensures that fstab xattrs are correctly updated without adding a lock to the database.

The process of repairing the database using -B flag of pseudo sometimes causes errors because the database lock file is present.
Therefore, to fix it, first we ensure that any connection to files.db is closed using pseudo flag -S followed by the actual command to
repair it after fstab was successfully updated.

Signed-off-by: Daniel Andrade <dani.barra25@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoclasses/toolchain/clang: Add placeholder for dynamic linker in cross-canadian packages
Khem Raj [Sat, 18 Oct 2025 07:06:21 +0000 (00:06 -0700)] 
classes/toolchain/clang: Add placeholder for dynamic linker in cross-canadian packages

clang-cross-canadian is just symlinking into nativesdk-clang unlike gcc which
has separate binaries and they have inbuilt dynamic linker specs. To help clang
built cross-canadian binaries add it via cmdline option here, cross-canadian
binaries are only usable on installed SDKs, and these paths get re-written with
correct SDK specific linker during SDK install relocation process.

This helps clang built cross-canadian tools e.g. from binutils-cross-canadian
be relocated correctly on SDK install.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agosysvinit: create tmpfile dir for x11 domain socket
Randolph Sapp [Tue, 7 Oct 2025 23:48:10 +0000 (18:48 -0500)] 
sysvinit: create tmpfile dir for x11 domain socket

Register a volatile directory entry for the x11 domain socket when not
using systemd. This will make sure the directory is always created with
the correct permissions. Systemd already provides their own tmpfile.d
entry for the same behavior.

Currently some x11 related applications will create this directory if it
doesn't already exist, but this is not true for everything. In addition,
if the application in question isn't started as root, it's possible this
directory can be owned by a non-root user. This isn't an issue by
itself, but it can potentially lead to problems in a multi-user
environment.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoinitramfs-framework: drop redundant /var/lock directory creation
Ricardo Salveti [Fri, 17 Oct 2025 18:51:12 +0000 (15:51 -0300)] 
initramfs-framework: drop redundant /var/lock directory creation

base-files already provides /var/lock as a symbolic link to /run/lock, and
since /run is created and mounted as tmpfs during init, there is no need
to explicitly create /var/lock within initramfs.

This avoids the following spurious error during boot:

    mkdir: can't create directory '/var/lock': No such file or directory

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agogo: upgrade 1.25.2 -> 1.25.3
Peter Marko [Fri, 17 Oct 2025 17:14:02 +0000 (19:14 +0200)] 
go: upgrade 1.25.2 -> 1.25.3

Upgrade to latest 1.25.x release [1]:

$ git --no-pager log --oneline go1.25.2..go1.25.3
28622c1959 (tag: go1.25.3) [release-branch.go1.25] go1.25.3
e05b2c92d9 [release-branch.go1.25] crypto/x509: rework fix for CVE-2025-58187
79ec0c94f3 [release-branch.go1.25] spec: update spec date to match release date

This release addresses breakage caused by a security patch included in Go 1.25.2
and 1.24.8, which enforced overly restrictive validation on the parsing of X.509
certificates. We've removed those restrictions while maintaining the security
fix that the initial release addressed [2].

[1] https://github.com/golang/go/compare/go1.25.2...go1.25.3
[2] https://groups.google.com/g/golang-announce/c/YEyj6FUNbik

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agokernel-fit-image: enable compatible string for kernel built-in DTBs
Kavinaya S [Mon, 13 Oct 2025 05:53:00 +0000 (11:23 +0530)] 
kernel-fit-image: enable compatible string for kernel built-in DTBs

At present, the kernel-fit-image bbclass is adding compatible strings only
for external DTBs, omitting them for DTBs built from the kernel tree. This
behavior is limiting the ability to clearly identify the DTBs in FIT image
that includes multiple kernel built-in DTBs and possibly mix of in tree and
external ones, due to lack of consistent compatible strings.

To fix this, introduce a new BitBake variable, FIT_DTB_ADD_COMPATIBLE
when set to "True", the bbclass will extract and include the compatible
string from kernel-built DTBs also in the .its file, just like it does
for external DTBs.

Signed-off-by: Kavinaya S <kavinaya@qti.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agolibxml2: upgrade 2.14.6 -> 2.15.0
Hongxu Jia [Fri, 17 Oct 2025 07:19:08 +0000 (15:19 +0800)] 
libxml2: upgrade 2.14.6 -> 2.15.0

Due to upstream [Remove LZMA support][1], drop option --without-lzma

Due to upstream [disable python bindings by default][2] and are
planned to be removed in the 2.16 release[3][4]. If we still enable
python bindings by --with-python=yes, due to upstream [doc: Build docs
with Doxygen and xsltproc][5], build python binding requires doxygen
otherwise build will fail, and we do not provide doxygen in oe-core,
so remove python package directly.

Refresh install-tests.patch and run-ptest to not install python test
cases

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/1763281cd65ded4067ddf123eb7358690c214b0b
[2] https://gitlab.gnome.org/GNOME/libxml2/-/commit/fa931566d2f541d3162c7b98c8a12e6b2a6ae542
[3] https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.0.news
[4] https://gitlab.gnome.org/GNOME/libxml2/-/issues/891
[5] https://gitlab.gnome.org/GNOME/libxml2/-/commit/bbe5827c94cc9b0e393ff3e6eef6dec2376317e2

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoitstool: Switch from libxml2 to lxml
Hongxu Jia [Fri, 17 Oct 2025 07:19:07 +0000 (15:19 +0800)] 
itstool: Switch from libxml2 to lxml

Due to Deprecate libxml2 Python bindings [1], itstool
switch from libxml2 to lxml [2]

[1] https://gitlab.gnome.org/GNOME/libxml2/-/issues/891
[2] https://github.com/itstool/itstool/pull/57

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agollvm: multilib-header fix for llvm/Config/llvm-config.h
Liu Yiding [Fri, 17 Oct 2025 05:57:24 +0000 (13:57 +0800)] 
llvm: multilib-header fix for llvm/Config/llvm-config.h

Fix following conflicts when enabling multilib.

Error: Transaction test error:
  file /usr/include/llvm/Config/llvm-config.h conflicts between attempted installs of lib32-llvm-dev-21.1.3-r1.core2_32 and llvm-dev-21.1.3-r1.x86_64_v3

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agodevtool: un-/deploy-target: put deploylist into destdir
Johannes Schneider [Fri, 17 Oct 2025 01:41:23 +0000 (01:41 +0000)] 
devtool: un-/deploy-target: put deploylist into destdir

When deploying on devices with a RO root-filesystem, devtool would
fail on writing to the hard-coded "deploylist_path = '/.devtool'"

Since devtool already supports deploying to a different root-prefix
with: hostname[:destdir], we can make use of this guaranteed RW
location to place the deployment-list there.

Add the destdir parameter to the _prepare_remote_script function, to
construct the deploylist_path from it. For the 'undeploy' the same
host:destdir splitting logic is used as in 'deploy'.

Now it is possible to modify and build a recipe 'foo-bar' with
devtool, and have its ./image content deployed through:
$build> devtool deploy foo-bar target:/opt/development-overlay
Or removed again with:
$build> devtool undeploy foo-bar target:/opt/development-overlay

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopython3: upgrade 3.13.7 -> 3.13.9
Peter Marko [Thu, 16 Oct 2025 20:40:58 +0000 (22:40 +0200)] 
python3: upgrade 3.13.7 -> 3.13.9

Drop upstreamed patch and refresh remaining patches.

Release information:
* https://www.python.org/downloads/release/python-3138/
* 3.13.8 is the eighth maintenance release of 3.13, containing around
  200 bugfixes, build improvements and documentation changes since
  3.13.7.

* https://www.python.org/downloads/release/python-3139/
* This Python 3.13.9, a maintenance release for Python 3.13.
* 3.13.9 is an expedited release containing a fix for one specific
  regression in Python 3.13.8

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopseudo: Add hard sstate dependencies for pseudo-native
Paul Barker [Thu, 16 Oct 2025 19:11:08 +0000 (20:11 +0100)] 
pseudo: Add hard sstate dependencies for pseudo-native

Where a task (such as do_package) runs under fakeroot, the corresponding
setscene task (do_package_setscene) will also run under fakeroot when
restoring from sstate. Assuming pseudo is used as the fakeroot
implementation, we need pseudo-native and all its runtime dependencies
to be available in the sysroot before running any setscene tasks under
fakeroot.

We already add a hard dependency from all do_package_setscene tasks to
virtual/fakeroot-native:do_populate_sysroot in base.bbclass, but this
does not cover transitive dependencies. So, extend the dependencies of
pseudo-native:do_populate_sysroot_setscene to ensure that the sqlite3
library and attr binaries are also available in the sysroot before
running fakeroot setscene tasks.

[YOCTO #15963]

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agomesa: upgrade 25.2.4 -> 25.2.5
Quentin Schulz [Thu, 16 Oct 2025 14:58:45 +0000 (16:58 +0200)] 
mesa: upgrade 25.2.4 -> 25.2.5

See https://docs.mesa3d.org/relnotes/25.2.5.html.

0001-glx-provide-glx.pc.patch is in 25.2.5 via commit 293a26135d83
("glx: provide glx.pc") so can be dropped.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agocmake: fix CVE-2025-9301
Saravanan [Thu, 16 Oct 2025 14:07:58 +0000 (19:37 +0530)] 
cmake: fix CVE-2025-9301

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-9301
https://gitlab.kitware.com/cmake/cmake/-/issues/27135

Upstream-patch:
https://gitlab.kitware.com/cmake/cmake/-/commit/37e27f71bc356d880c908040cd0cb68fa2c371b8

Signed-off-by: Saravanan <saravanan.kadambathursubramaniyam@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agowebkitgtk: upgrade 2.48.5 -> 2.50.0
Gyorgy Sarvari [Thu, 16 Oct 2025 08:28:29 +0000 (10:28 +0200)] 
webkitgtk: upgrade 2.48.5 -> 2.50.0

Dropped fix-armv7-compilation.patch, because it is included in this
release.
Dropped no-musttail-arm.patch, because it has been solved by project
(a bit differently)[1]

Added a new backported patch, fix-musl-compilation.patch
to avoid build error when compiling with musl libc:

.../Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c:52:10: fatal error: execinfo.h: No such file or directory
|    52 | #include <execinfo.h>
|       |          ^~~~~~~~~~~~

Another patch, fix_op_instanceof_handler_for_32-bit_C-loop_build.patch is under review by
upstream. It fixes compiling for 32-bit targets by fixing the following error:

error: label 'op_instanceof_return_location' used but not defined

[1]: https://github.com/WebKit/WebKit/blob/webkitgtk-2.50.0/Source/WTF/wtf/Compiler.h#L280

Changelog:
2.50.0:
- Fix rendering with software rasterization enabled.
- Fix WebAudio issues after idling for a minute.
- Fix several crashes and rendering issues.

2.49.90:
- Add support for font collection / fragment identifiers.
- Fix web process deadlock on exit.
- Fix stuttering when playing WebP animations
- Fix CSS animations with cubic-bezier timing function.
- Do not start the MemoryPressureMonitor if it's disabled
- Translation updates: Polish, Slovenian.
- Fix several crashes and rendering issues.

2.49.4:
- Enable CSS property font-variant-emoji is now enabled by default.
- Improve emoji font selection.
- Add SVT-AV1 encoder support to media backend.
- Show device scale factor in webkit://gpu.
- Fix font rendering of composed characters with certain fonts.
- Fix handling of font synthesis properties (bold/italic).
- Fix documentation of WebKitDeviceInfoPermissionRequest.
- Fix several crashes and rendering issues.

2.49.3:
- Add new API to get the theme color of a WebKitWebView.
- Fix rendering with GTK 3.
- Notify automation session on abnormal disconnections.
- Fix a crash by ensuring SkiaRecordingResult is destroyed on the main thread.
- Fix build on s390x.
- Fix the build with GTK 3.
- Fix several crashes and rendering issues.

2.49.2:
- Enable damage propagation to the UI process by default.
- Pass available input devices from UI process to web process for Interaction Media Features.
- Always have a fallback when domain does not have known base.
- Fix URL after HSTS upgrade in case of redirection.
- Fix rendering when device scale factor change comes before the web view geometry update.
- Ensure web view is focused on tap gesture.
- Fix a crash when setting WEBKIT_SKIA_GPU_PAINTING_THREADS=0.
- Fix several crashes and rendering issues.
- Translation updates: Brazilian Portuguese, Swedish.

2.49.1:
- Change threaded rendering implementation to use Skia API instead of WebCore display
  list that is not thread safe. This also allowed to improve performance by recording
  layers once and replaying every dirty region in different worker threads.
- Added hybrid rendering mode that tries to use the GPU worker threads, but if they
  are all busy the CPU worker threads are used if possible.
- Add volume locking support to media player.
- Add support for tracing counters with Sysprof.
- Fix several crashes and rendering issues.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agooeqa: runtime: weston: Remove tear down method
Mathieu Dubois-Briand [Thu, 9 Oct 2025 13:37:28 +0000 (15:37 +0200)] 
oeqa: runtime: weston: Remove tear down method

Tear down method is executed even when the tests are disabled. This lead
to SSH being used to run commands on the target, and as it might fail
when no SSH server is present, we had to use ignore_ssh_fails=True here.

Instead, remove log file just before it is created: it will remain on
the target after the test is run, but this should be acceptable.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agooeqa: runtime: logrotate: Remove setup and tear down methods
Mathieu Dubois-Briand [Thu, 9 Oct 2025 13:15:57 +0000 (15:15 +0200)] 
oeqa: runtime: logrotate: Remove setup and tear down methods

Setup and tear down methods are executed even when the tests are disabled.
This lead to SSH being used to run commands on the target, and as it
might fail when no SSH server is present, we had to use
ignore_ssh_fails=True here.

Instead, run cleanup tasks in tests themselves and remove the tear down
method.

Also, the wtmp configuration file is not modified since the test was
modified a few years ago: there is no need to backup and restore it.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agokea: fix installation umask to 0022 of meson.
Liu Yiding [Wed, 15 Oct 2025 08:11:56 +0000 (16:11 +0800)] 
kea: fix installation umask to 0022 of meson.

The default installation umask of 0027 for Kea-built artifacts, particularly for directories like /usr/lib, results in restrictive permissions (0750, drwxr-x---).This deviates from the common Linux and Yocto standard of 0755 (drwxr-xr-x) for shared library directories.

And it caused package conflicts as following:
Error: Transaction test error:
  file /usr/lib/pkgconfig conflicts between attempted installs of kea-dev-3.0.1-r0.x86_64_v3 and btrfs-tools-dev-6.16-r0.x86_64_v3
  file /usr/lib/pkgconfig conflicts between attempted installs of libgcrypt-dev-1.11.2-r0.x86_64_v3 and kea-dev-3.0.1-r0.x86_64_v3

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agokea: fix conflict between kea-dhcp4 and kea-dhcp6 multilibs
Liu Yiding [Wed, 15 Oct 2025 02:13:36 +0000 (10:13 +0800)] 
kea: fix conflict between kea-dhcp4 and kea-dhcp6 multilibs

There are conflict of config files between kea and lib32-kea:
  | Error: Transaction test error:
  | file /etc/kea/kea-dhcp4.conf conflicts between attempted installs of lib32-kea-3.0.1-r0.core2_32 and kea-3.0.1-r0.x86_64_v3
  | file /etc/kea/kea-dhcp6.conf conflicts between attempted installs of lib32-kea-3.0.1-r0.core2_32 and kea-3.0.1-r0.x86_64_v3

Update this patch after kea was upgraded to 3.0.1.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agoqemu: upgrade 10.0.2 -> 10.0.5
Peter Marko [Tue, 14 Oct 2025 19:12:45 +0000 (21:12 +0200)] 
qemu: upgrade 10.0.2 -> 10.0.5

Handles CVE-2024-8354.
Drop patch included in (backported to) this release.

Reference:
* https://security-tracker.debian.org/tracker/CVE-2024-8354

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agosqlite3: upgrade 3.48.0 -> 3.50.4
Peter Marko [Mon, 13 Oct 2025 07:08:46 +0000 (09:08 +0200)] 
sqlite3: upgrade 3.48.0 -> 3.50.4

Handle CVE-2025-3277, CVE-2025-29087 and CVE-2025-29088.

This update includes major change in how it is built.
Instead of autotools, autosetup is used.

Autosetup (https://msteveb.github.io/autosetup/) claims to be
* Replacement for autoconf in many situations
However it also claims NOT to
* Intended to replace all possible uses of autoconf
This means that some autoconf features are not available.

Recipe changes:
* stop inheriting autotools and define B, do_configure and do_install
* add patch to disable zlib as autosetup cannot be preconfigured like
  autotools to force function calls
* update packageconfig options to match new syntax
* libedit is detected with ncurses linking options (as seen in
  do_configure log)
* backport rpaths fix
* define soname to avoid file-rdeps QA error due to wrong library name
* clean B for do_configure as the new Makefiles do not seem to properly
  retrigger build if configuration changes

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agosstate.bbclass: Always show a progress bar if an sstate summary is wanted
Peter Kjellerstedt [Sat, 11 Oct 2025 03:12:30 +0000 (05:12 +0200)] 
sstate.bbclass: Always show a progress bar if an sstate summary is wanted

In case sstate_checkhashes() is expected to show an sstate summary, then
always show the process progress bar regardless of how long the task
list is. Without this, the sstate summary could unintentionally
overwrite another active progress bar.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agodebug_build.inc: override BUILD_MODE and BUILD_DIR for cargo.bbclass
Hongxu Jia [Fri, 10 Oct 2025 07:52:58 +0000 (15:52 +0800)] 
debug_build.inc: override BUILD_MODE and BUILD_DIR for cargo.bbclass

The debug_build.inc is used to collect debug build configuration,
override BUILD_MODE and BUILD_DIR for cargo.bbclass when DEBUG_BUILD is enabled

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agodebug_build.inc: override MESON_BUILDTYPE for meson.bbclass
Hongxu Jia [Fri, 10 Oct 2025 07:52:57 +0000 (15:52 +0800)] 
debug_build.inc: override MESON_BUILDTYPE for meson.bbclass

The debug_build.inc is used to collect debug build configuration,
override MESON_BUILDTYPE for meson.bbclass when DEBUG_BUILD is enabled

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agodebug_build.inc: override INHIBIT_SYSROOT_STRIP for cross and native
Hongxu Jia [Fri, 10 Oct 2025 07:52:56 +0000 (15:52 +0800)] 
debug_build.inc: override INHIBIT_SYSROOT_STRIP for cross and native

The debug_build.inc is used to collect debug build configuration,
override INHIBIT_SYSROOT_STRIP for cross and native bbclass when DEBUG_BUILD
is enabled

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agodebug_build.inc: collect debug build tuning configuration
Hongxu Jia [Fri, 10 Oct 2025 07:52:55 +0000 (15:52 +0800)] 
debug_build.inc: collect debug build tuning configuration

The modern compilers and code seem to require extra steps to avoid DEBUG errors,
Move debug tuning configuration from recipes to an include file to address these
errors.

Drop `:remove' operation on variable, override variables directly

Suggested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agodistro/include: Add debug_build.inc when DEBUG_BUILD is enabled
Hongxu Jia [Fri, 10 Oct 2025 07:52:54 +0000 (15:52 +0800)] 
distro/include: Add debug_build.inc when DEBUG_BUILD is enabled

In bitbake.conf, use ??= to set *_OPTIMIZATION, add a new include
file debug_build.inc to use ?= to override *_OPTIMIZATION when
DEBUG_BUILD is enabled

When DEBUG_BUILD is enabled:
- Defer inherit bblcass debug_build, while setting DEBUG_BUILD = "1" in
  local.conf, the debug build is enabled globally. For the recipe (such
  as qemu) which doesn't work without optimization, set DEBUG_BUILD = "0"
  to disable it for a given recipe

- Use include_all to allow other layers to add their own debug build
  configurations

Suggested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agorunqemu: resize rootfs image to power of 2 for SD or pflash
Jon Mason [Mon, 6 Oct 2025 14:24:37 +0000 (10:24 -0400)] 
runqemu: resize rootfs image to power of 2 for SD or pflash

QEMU requires that SD and pflash images are sized to be a power of 2
(e.g., 32M, 64M, etc).  So, if the image being used is not a power of 2
and it's being used for SD or pflash, increase it to the next power of 2
size via the truncate command.

This might not be an actual spec requirement, and is being investigated
in https://gitlab.com/qemu-project/qemu/-/issues/1754

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agorunqemu: remove setting of mem on kernel command line for certain systems
Jon Mason [Mon, 6 Oct 2025 14:24:36 +0000 (10:24 -0400)] 
runqemu: remove setting of mem on kernel command line for certain systems

Some emulated hardware will not boot if mem is set on the kernel command
line (all of the Raspberry Pi machines seemed to fail with this set,
possibly many others).  Also, it is not necessary if the device tree
file is present, as that _should_ have the memory size specified in it.
Add a check for QB_DTB and don't set mem in the kernel command line if
present.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agowic/engine: fix copying directories into wic image with ext* partition
Dragomir, Daniel [Fri, 3 Oct 2025 20:31:30 +0000 (23:31 +0300)] 
wic/engine: fix copying directories into wic image with ext* partition

wic uses debugfs to write on ext* partitions, but debugfs can only
write to the current working directory and it cannot copy complete
directory trees. Running 'wic ls' on a copied directory show this:
    -l: Ext2 inode is not a directory

Fix this by creating a command list for debugfs (-f parameter) when
recursive parsing the host directory in order to create a similar
directory structure (mkdir) and copy files (write) on each level
into the destination directory from the wic's ext* partition.

Signed-off-by: Daniel Dragomir <daniel.dragomir@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopatchtest: fix failure when oe-core repo is in detached HEAD
Naftaly RALAMBOARIVONY [Thu, 2 Oct 2025 13:10:24 +0000 (15:10 +0200)] 
patchtest: fix failure when oe-core repo is in detached HEAD

Patchtest fails when oe-core git repo is in a "detached HEAD" state:

Error log:

> File "/usr/lib/python3/dist-packages/git/repo/base.py", line 881, in
active_branch return self.head.reference ^^^^^^^^^^^^^^^^^^^

> File "/usr/lib/python3/dist-packages/git/refs/symbolic.py", line 311, in
_get_reference raise TypeError("%s is a detached symbolic reference as it
points to %r" % (self, sha)) TypeError: HEAD is a detached symbolic reference
as it points to '3dd31d3b29730fa1130645d76bb71914ac036335' None

In this case, no current branch is available for the clean operation.

To fix this, updates the checkout logic:
- if a current branch is available, use it,
- otherwise, fall back to the commit pointed to by HEAD.

This ensures that the script works correctly even when HEAD is detached.

Signed-off-by: Naftaly RALAMBOARIVONY <naftaly.ralamboarivony@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agosyslinux: clean old object and dependency files before do_install
Haixiao Yan [Mon, 29 Sep 2025 02:56:44 +0000 (10:56 +0800)] 
syslinux: clean old object and dependency files before do_install

Remove all previous .o and .d files from OBJ directories before
running do_install. This prevents stale build artifacts from
interfering with the installation of new binaries and modules,
especially after GCC upgrades that can invalidate existing dependency
files, such as:

make[4]: *** No rule to make target
'/build/tmp-glibc/work/corei7-64-wrs-linux/syslinux/6.04-pre2-r1/recipe-sysroot-native/
usr/lib/x86_64-wrs-linux/gcc/x86_64-wrs-linux/12.4.0/include/stdarg.h',
needed by 'zlib/adler32.o'.  Stop.

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agopackage_manager/oe-pkgdata-util: fix complementary package installation
Chen Qi [Wed, 24 Sep 2025 08:42:33 +0000 (16:42 +0800)] 
package_manager/oe-pkgdata-util: fix complementary package installation

We currently have a problem regarding complementary package installation,
that is, if 'oe-pkgdata-util glob' maps out packages that are not in
the oe-rootfs-repo, we will get error like below:

  No match for argument: lib32-glibc-locale-en-gb
  Error: Unable to find a match: lib32-glibc-locale-en-gb

Here are the steps to reproduce the issue:
1. Add the following lines to local.conf:
   require conf/multilib.conf
   MULTILIBS ?= "multilib:lib32"
   DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"
   IMAGE_INSTALL:append = " lib32-sysstat"
2. bitbake lib32-glibc-locale && bitbake core-image-full-cmdline

This problem appears because:
1) At do_rootfs time, we first contruct a repo with a filtering
   mechanism to ensure we don't pull in unneeded packages.[1]
2) oe-pkgdata-util uses the pkgdata without filtering.

In order to avoid any hardcoding that might grow in the future[2], we need
to give 'oe-pkgdata-util glob' some filtering ability.

So this patch does the following things:
1) Add a new option, '-a/--allpkgs', to 'oe-pkgdata-util glob'.
   This gives it a filtering mechanism. As it's an option, people who use
   'oe-pkgdata-util glob' command could use it as before.
2) Add to package_manager 'list_all' function implementations which
   list all available functions in our filtered repo.

[1] https://git.openembedded.org/openembedded-core/commit/?id=85e72e129362db896b0d368077033e4a2e373cf9
[2] https://lists.openembedded.org/g/openembedded-core/message/221449

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agonativesdk-sdk-provides-dummy: allow pkgconfig to be installed into SDKs
Ross Burton [Wed, 3 Sep 2025 16:44:59 +0000 (17:44 +0100)] 
nativesdk-sdk-provides-dummy: allow pkgconfig to be installed into SDKs

This recipe is a dummy provider of pkgconfig, but we want our SDKs to
ship a pkgconfig binary if requested as otherwise that's a host tool
that would be required to use the SDK. On Linux that's easily solved,
but meta-mingw/meta-darwin SDKs can't really assume that pkgconfig will
be present on the host.

This behaviour dates back to 2014 when construction of SDKs with RPM
packages was added[1] and notably the same behaviour didn't exist for
ipkg-based SDKs.

[1] oe-core 417b27ce5c1 ("lib/oe/sdk.py: support RpmRootfs")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agooeqa: runtime: ltp_compliance: Increase test_posix_groups timeout
Mathieu Dubois-Briand [Tue, 21 Oct 2025 08:28:39 +0000 (10:28 +0200)] 
oeqa: runtime: ltp_compliance: Increase test_posix_groups timeout

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
4 days agooeqa: runtime: stap: Increasing timeout to 1200 seconds
Mathieu Dubois-Briand [Thu, 16 Oct 2025 14:24:11 +0000 (16:24 +0200)] 
oeqa: runtime: stap: Increasing timeout to 1200 seconds

We have seen a lot of failures because of timeouts lastly: try to
increase it a bit.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
7 days agobuild-appliance-image: install bitbake+oe-core+meta-yocto, not poky
Ross Burton [Fri, 17 Oct 2025 09:34:30 +0000 (10:34 +0100)] 
build-appliance-image: install bitbake+oe-core+meta-yocto, not poky

Change the build-appliance image to include current git trees of the
separate bitbake/openembedded-core/meta-yocto repositories, instead of
the merged poky repository as that is being discontinued.

[ YOCTO #16002 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-firmware: Add globbing to FILES where missing
Zoltan Boszormenyi [Fri, 17 Oct 2025 09:12:38 +0000 (11:12 +0200)] 
linux-firmware: Add globbing to FILES where missing

If compression is used, a lot of compressed firmware files are
not packaged otherwise.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-firmware: Fix removing unlicensed firmware if compression is used
Zoltan Boszormenyi [Fri, 17 Oct 2025 09:12:37 +0000 (11:12 +0200)] 
linux-firmware: Fix removing unlicensed firmware if compression is used

If FIRMWARE_COMPRESSION is set, the newly added code to remove
unlicensed firmware fails with:

| Remove unlicensed firmware: acenic/tg1.bin
| rm: cannot remove '.../work/all-oe-linux/linux-firmware/20250917/image/usr/lib/firmware/acenic/tg1.bin': No such file or directory

This is because the code does not consider that the file may be
compressed.

Fix it by factoring out the code to construct the compressed file
name suffix from do_install:append() into a python function and
also use it for the actual file names listed in REMOVE_UNLICENSED.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agoselftest runtime_test.py: disable qemu graphics
Mikko Rapeli [Fri, 17 Oct 2025 12:26:49 +0000 (15:26 +0300)] 
selftest runtime_test.py: disable qemu graphics

Tests don't need it and graphics can cause boot failures.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agoselftest package.py: disable qemu graphics
Mikko Rapeli [Fri, 17 Oct 2025 12:26:48 +0000 (15:26 +0300)] 
selftest package.py: disable qemu graphics

Test does not need it and graphics can cause boot failures.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agoselftest overlayfs.py: disable qemu graphics
Mikko Rapeli [Fri, 17 Oct 2025 12:26:47 +0000 (15:26 +0300)] 
selftest overlayfs.py: disable qemu graphics

Tests don't need it and graphics may cause boot failures.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agoselftest imagefeatures.py: disable qemu graphics
Mikko Rapeli [Fri, 17 Oct 2025 12:26:46 +0000 (15:26 +0300)] 
selftest imagefeatures.py: disable qemu graphics

Not needed by the test and graphics may introduce
boot failures.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agoselftest devtool.py: disable qemu graphics
Mikko Rapeli [Fri, 17 Oct 2025 12:26:45 +0000 (15:26 +0300)] 
selftest devtool.py: disable qemu graphics

Test does not need it and graphics stack may introduce
boot failures.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agoclasses/cargo_common: ensure B is clean
Ross Burton [Fri, 17 Oct 2025 13:27:17 +0000 (14:27 +0100)] 
classes/cargo_common: ensure B is clean

The cargo class defaults to out-of-tree builds in WORKDIR/build, but
at no point was that directory cleaned.  This causes problems with the
rust standard library recipe (libstd-rs) which installs manually with cp,
so rebuilds can be contaminated with the contents of previous builds.

I believe that post-release we should switch cargo.bbclass to mandating
out-of-tree builds to reduce the complexity, but for now in out-of-tree
builds we can just delete the ${B}/target directory.

Note that we use ${B}/target because there at least were reasons to use
that name[1], it is unclear if these limitations still hold. We can't
simply clean ${B} because that will break recipes that use cargo and
something else to build, for example librsvg.

[1] https://github.com/rust-lang/cargo/pull/1657

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolibstd-rs: remove redundant CARGO_TARGET_DIR
Ross Burton [Fri, 17 Oct 2025 13:27:16 +0000 (14:27 +0100)] 
libstd-rs: remove redundant CARGO_TARGET_DIR

The cargo class already sets this, so there's no need to set it again.

The value set by cargo.bbclass is actually ${B}/target, so update the
do_install task to match.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agodebianutils: use SPDX SMAIL-GPL licence name
Ross Burton [Fri, 17 Oct 2025 13:16:26 +0000 (14:16 +0100)] 
debianutils: use SPDX SMAIL-GPL licence name

Use the SMAIL-GPL license name, as that is the official SPDX name and we
now have it in our license list.

This means we can delete the SMAIL_GPL license, that appears to be only
used by debianutils and nobody else.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agocommon-licenses: update to SPDX license list v3.27
Ross Burton [Fri, 17 Oct 2025 13:16:25 +0000 (14:16 +0100)] 
common-licenses: update to SPDX license list v3.27

Use scripts/pull-sdpx-licenses.py to refresh the license list and add
any new licenses that we previously did not have license texts for.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto-dev: update to v6.18 master
Bruce Ashfield [Thu, 16 Oct 2025 03:08:44 +0000 (23:08 -0400)] 
linux-yocto-dev: update to v6.18

Bumping the -dev kernel to 6.18+

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agokern-tools: fix symbol_why for v6.18-rc1+
Bruce Ashfield [Thu, 16 Oct 2025 03:08:43 +0000 (23:08 -0400)] 
kern-tools: fix symbol_why for v6.18-rc1+

commit f589e1df23251d8319063da0a61c1016b2a0bf85 (HEAD -> master)
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date:   Wed Oct 15 18:12:20 2025 -0400

    tools/Kconfiglib: add support for transitional attribute

    We need to update the parser to handle:

    commit f9afce4f32e9a120fc902fa6c9e0b90ad799a6ec
    Author: Kees Cook <kees@kernel.org>
    Date:   Tue Sep 23 14:34:18 2025 -0700

        kconfig: Add transitional symbol attribute for migration support

        During kernel option migrations (e.g. CONFIG_CFI_CLANG to CONFIG_CFI),
        existing .config files need to maintain backward compatibility while
        preventing deprecated options from appearing in newly generated
        configurations. This is challenging with existing Kconfig mechanisms
        because:

        1. Simply removing old options breaks existing .config files.
        2. Manually listing an option as "deprecated" leaves it needlessly
           visible and still writes them to new .config files.
        3. Using any method to remove visibility (.e.g no 'prompt', 'if n',
           etc) prevents the option from being processed at all.

        Add a "transitional" attribute that creates symbols which are:
        - Processed during configuration (can influence other symbols' defaults)
        - Hidden from user menus (no prompts appear)
        - Omitted from newly written .config files (gets migrated)
        - Restricted to only having help sections (no defaults, selects, etc)
          making it truly just a "prior value pass-through" option.

        The transitional syntax requires a type argument and prevents type
        redefinition:

            config NEW_OPTION
                bool "New option"
                default OLD_OPTION

            config OLD_OPTION
                bool
                transitional
                help
                  Transitional config for OLD_OPTION migration.

        This allows seamless migration: olddefconfig processes existing
        CONFIG_OLD_OPTION=y settings to enable CONFIG_NEW_OPTION=y, while
        CONFIG_OLD_OPTION is omitted from newly generated .config files.

        Added positive and negative testing via "testconfig" make target.

Co-developed-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20250923213422.1105654-2-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.16: genericarm64: feature splits and enablement
Bruce Ashfield [Thu, 16 Oct 2025 03:08:42 +0000 (23:08 -0400)] 
linux-yocto/6.16: genericarm64: feature splits and enablement

Integrating the following commit(s):

    9e0a3e81 genericarm64.cfg: enable more power, reset drivers
    0293b84e genericarm64.cfg: enable MFD_KHADAS_MCU
    f9c89a33 genericarm64-regulator.cfg: enable more drivers
    01af8892 genericarm64.cfg: enable more IRQCHIP support
    96bf1e51 genericarm64.scc: enable USB serial support
    dc7502db genericarm64.cfg: improve SATA support
    e85415a3 genericarm64.cfg: improve input device support
    cb734447 genericarm64.cfg: enable more Hisilicon PCI drivers
    362c7b10 genericarm64.cfg: enable USB_CHIPIDEA_NPCM
    c9127be9 genericarm64.cfg: enable EXTCON_USBC_CROS_EC
    3836443f genericarm64.cfg: improve PHY support
    a25d50d8 genericarm64-clock.cfg: improve Qualcomm, Renesas etc clock driver support
    5e47e723 usb-net.cfg: add USB_LAN78XX
    e5be3915 genericarm64-clock.cfg: add more Renesas support
    8d1d61f1 genericarm64.cfg: improve Renesas pmdomain support
    89d463fc genericarm64.cfg: enable UACCE
    18251d7d genericarm64.cfg: more MTD CFI etc support
    070f72bc genericarm64.cfg: enable PCIe error reporting
    dfa6ca16 genericarm64.cfg: add more ethernet support
    5821cdf3 genericarm64.scc: add genericarm64-rtc.cfg and enable more HW support
    e9847838 genericarm64.cfg: enable Chrome OS platform drivers
    549b8af0 genericarm64.scc: enable Mellanox ethernet support
    5e172179 mellanox.scc: add network driver feature
    27eaec09 genericarm64.cfg: improve USB_DWC3 support
    c543148b genericarm64.cfg: improve TYPEC_MUX support
    62b093b3 genericarm64.scc: enable exFAT support
    360d572b cfg/fs/exfat.scc: add config feature
    8be64103 genericarm64.cfg: add more USB 3.0 and basic 2.0 support
    48e00648 genericarm64-arch.cfg: enable more Renesas support
    cef54e58 genericarm64.cfg: enable ARM_PSCI_FW support
    129993c7 genericarm64.cfg: enable more TPM and FFA support
    8cd8cb12 genericarm64.cfg: enable TCG_TIS as module
    be840fc8 genericarm64.cfg: enable ZYNQMP_FIRMWARE
    9f94acee genericarm64.cfg: enable COMMON_CLK_ZYNQMP
    10a0e7c7 genericarm64.cfg: enable DMI_SYSFS
    705cae9a genericarm64.scc: enable efi-test.scc
    08fd4f23 efi-test: add config fragment for EFI test interface
    98178196 genericarm64.cfg: enable ARM_PSCI_CPUIDLE_DOMAIN

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.12: update CVE exclusions (6.12.52)
Bruce Ashfield [Thu, 16 Oct 2025 03:08:41 +0000 (23:08 -0400)] 
linux-yocto/6.12: update CVE exclusions (6.12.52)

Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 10 changes (9 new | 1 updated): - 9 new CVEs: CVE-2025-42901, CVE-2025-42902, CVE-2025-42903, CVE-2025-42906, CVE-2025-42908, CVE-2025-42909, CVE-2025-42910, CVE-2025-42937, CVE-2025-42939 - 1 updated CVEs: CVE-2025-42907
        Date: Tue, 14 Oct 2025 00:35:23 +0000

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.12: update to v6.12.52
Bruce Ashfield [Thu, 16 Oct 2025 03:08:40 +0000 (23:08 -0400)] 
linux-yocto/6.12: update to v6.12.52

Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    2b2cbdcede38 Linux 6.12.52
    e7177c7e32cb KVM: x86: Don't (re)check L1 intercepts when completing userspace I/O
    716dceb19a9f net/9p: fix double req put in p9_fd_cancelled
    c5c703b50e91 crypto: rng - Ensure set_ent is always present
    77dd0e6cb9f9 driver core/PM: Set power.no_callbacks along with power.no_pm
    99d67efda945 staging: axis-fifo: flush RX FIFO on read errors
    7441d70d5cd6 staging: axis-fifo: fix TX handling on copy_from_user() failure
    cc9cfbfb2916 staging: axis-fifo: fix maximum TX packet length check
    65422a6a0d2d serial: stm32: allow selecting console when the driver is module
    c301ec61ce6f binder: fix double-free in dbitmap
    1855e18bff88 nvmem: layouts: fix automatic module loading
    4827bd6548e0 hid: fix I2C read buffer overflow in raw_event() for mcp2221
    647d6b8d22be ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free
    c611b9e55174 ALSA: usb-audio: Kill timer properly at removal
    5980a35c9d13 drm/amdgpu: Enable MES lr_compute_wa by default
    2dedc6b77bf8 drm/amd/include : Update MES v12 API for fence update
    ff2b82286fc8 drm/amd/include : MES v11 and v12 API header update
    bfd0bec4cb2c drm/amd : Update MES API header file for v11 & v12
    44d41506d697 platform/x86/amd/pmc: Add Stellaris Slim Gen6 AMD to spurious 8042 quirks list
    4a918985a35f can: rcar_canfd: Fix controller mode setting
    1d2ef21f02ba can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled
    60bbfc295a33 netfs: Prevent duplicate unlocking
    ec045333522e btrfs: ref-verify: handle damaged extent root tree
    31a834865209 ASoC: rt5682s: Adjust SAR ADC button mode to fix noise issue
    467dd7cab347 platform/x86/amd/pmf: Support new ACPI ID AMDI0108
    1773f674c4f2 perf subcmd: avoid crash in exclude_cmds when excludes is empty
    6263c898761b platform/x86/amd/pmc: Add MECHREVO Yilong15Pro to spurious_8042 list
    27a0a815dbba dm-integrity: limit MAX_TAG_SIZE to 255
    6a3a7b13ad74 ASoC: amd: acp: Adjust pdm gain value
    e005b52b8398 rust: block: fix `srctree/` links
    1713796d6538 wifi: rtl8xxxu: Don't claim USB ID 07b8:8188
    914d02595ba6 wifi: rtlwifi: rtl8192cu: Don't claim USB ID 07b8:8188
    7c1e37878a2f Bluetooth: btusb: Add USB ID 2001:332a for D-Link AX9U rev. A1
    dad2ac26ac76 USB: serial: option: add SIMCom 8230C compositions
    f92181c0e13c media: i2c: tc358743: Fix use-after-free bugs caused by orphan timer in probe
    895cccf639ac wifi: rtw89: fix use-after-free in rtw89_core_tx_kick_off_and_wait()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.12: update CVE exclusions (6.12.51)
Bruce Ashfield [Thu, 16 Oct 2025 03:08:39 +0000 (23:08 -0400)] 
linux-yocto/6.12: update CVE exclusions (6.12.51)

Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 1 changes (1 new | 0 updated): - 1 new CVEs: CVE-2025-11401 - 0 updated CVEs:
        Date: Tue, 7 Oct 2025 17:07:09 +0000

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.12: update to v6.12.51
Bruce Ashfield [Thu, 16 Oct 2025 03:08:38 +0000 (23:08 -0400)] 
linux-yocto/6.12: update to v6.12.51

Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    a9152eb181ad Linux 6.12.51
    4dda55d04caa ASoC: qcom: audioreach: fix potential null pointer dereference
    1f52119809b7 wifi: ath11k: fix NULL dereference in ath11k_qmi_m3_load()
    4e5f060d7347 mm: swap: check for stable address space before operating on the VMA
    000b2a6bed7f media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID
    fd5d3e6b149e media: rc: fix races with imon_disconnect()
    effb1c19583b media: tuner: xc5000: Fix use-after-free in xc5000_release
    514a519baa9e media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove
    53c6351597e6 scsi: target: target_core_configfs: Add length check to avoid buffer overflow
    fc998bccee32 gcc-plugins: Remove TODO_verify_il for GCC >= 16
    70165dc3ec8c crypto: sha256 - fix crash at kexec

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.12: update CVE exclusions (6.12.50)
Bruce Ashfield [Thu, 16 Oct 2025 03:08:37 +0000 (23:08 -0400)] 
linux-yocto/6.12: update CVE exclusions (6.12.50)

Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 15 changes (1 new | 14 updated): - 1 new CVEs: CVE-2025-11344 - 14 updated CVEs: CVE-2025-11293, CVE-2025-11294, CVE-2025-11295, CVE-2025-11325, CVE-2025-11343, CVE-2025-54086, CVE-2025-55191, CVE-2025-58586, CVE-2025-59951, CVE-2025-60967, CVE-2025-61587, CVE-2025-61792, CVE-2025-61984, CVE-2025-61985
        Date: Mon, 6 Oct 2025 18:40:24 +0000

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.12: update to v6.12.50
Bruce Ashfield [Thu, 16 Oct 2025 03:08:36 +0000 (23:08 -0400)] 
linux-yocto/6.12: update to v6.12.50

Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    72b82d56b8213 Linux 6.12.50
    f89a0f1459dbc drm/i915/backlight: Return immediately when scale() finds invalid parameters
    cbfd3c7d4ed26 Revert "usb: xhci: remove option to change a default ring's TRB cycle bit"
    17195a7d754a5 iommufd: Fix race during abort for file descriptors
    51b8258efe254 fbcon: Fix OOB access in font allocation
    4a4bac869560f fbcon: fix integer overflow in fbcon_do_set_font
    910d7749346c4 mm/hugetlb: fix folio is still mapped when deleted
    f84e487070518 kmsan: fix out-of-bounds access to shadow memory
    159c156fd7148 gpiolib: Extend software-node support to support secondary software-nodes
    ca988dcdc6683 fs/proc/task_mmu: check p->vec_buf for NULL
    a13dbc5e20c72 afs: Fix potential null pointer dereference in afs_put_server
    aae514959d82b drm/ast: Use msleep instead of mdelay for edid read
    e2ded0872300c arm64: dts: marvell: cn9132-clearfog: fix multi-lane pci x2 and x4 ports
    562a1342224f9 arm64: dts: marvell: cn9132-clearfog: disable eMMC high-speed modes
    cb20fe9502635 ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address
    573b1e39edfcb tracing: dynevent: Add a missing lockdown check on dynevent
    316b090c2fee9 crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
    494ebb7b2f056 i40e: improve VF MAC filters accounting
    be4b969d28923 i40e: add mask to apply valid bits for itr_idx
    d33e5d6631ac4 i40e: add max boundary check for VF filters
    6128bbc7adc25 i40e: fix validation of VF state in get resources
    3118f41d8fa57 i40e: fix input validation logic for action_meta
    bfcc1dff429d4 i40e: fix idx validation in config queues msg
    cc4191e8ef40d i40e: fix idx validation in i40e_validate_queue_map
    05fe81fb9db20 i40e: add validation for ring_len param
    980ddc3a1ba65 HID: asus: add support for missing PX series fn keys
    bfb1e2aad1fec smb: client: fix wrong index reference in smb2_compound_op()
    26923ea48e33a platform/x86: lg-laptop: Fix WMAB call in fan_mode_store()
    894e005a01bdd drm/panthor: Defer scheduler entitiy destruction to queue release
    a170b9c0dde83 futex: Prevent use-after-free during requeue-PI
    f800f7054d2cf drm/gma500: Fix null dereference in hdmi teardown
    895fab2a4257a mm: folio_may_be_lru_cached() unless folio_test_large()
    9422cfa89e1dc mm: revert "mm/gup: clear the LRU flag of a page before adding to LRU batch"
    0db0d69bc962c mm/gup: local lru_add_drain() to avoid lru_add_drain_all()
    c41b2941a024d octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
    ca74b67b475b9 net: dsa: lantiq_gswip: suppress -EINVAL errors for bridge FDB entries added to the CPU port
    7d7e29b959f9b net: dsa: lantiq_gswip: move gswip_add_single_port_br() call to port_setup()
    fbf6548f0f0f9 selftests: fib_nexthops: Fix creation of non-FDB nexthops
    f0e49fd13afe9 nexthop: Forbid FDB status change while nexthop is in a group
    3bc813c5e6bf3 net: allow alloc_skb_with_frags() to use MAX_SKB_FRAGS
    90cfbb4e73db7 bnxt_en: correct offset handling for IPv6 destination address
    d2be773a92874 vhost: Take a reference on the task in struct vhost_task.
    484c7d571a3d1 Bluetooth: hci_event: Fix UAF in hci_acl_create_conn_sync
    23c9c485fa4c7 Bluetooth: hci_sync: Fix hci_resume_advertising_sync
    262f3836962c2 ethernet: rvu-af: Remove slash from the driver name
    14fc4fdae42e3 net/smc: fix warning in smc_rx_splice() when calling get_page()
    953200d56fc23 net: tun: Update napi->skb after XDP process
    eb79ed9706703 can: peak_usb: fix shift-out-of-bounds issue
    6b9fb82df8868 can: mcba_usb: populate ndo_change_mtu() to prevent buffer overflow
    de77841652e57 can: sun4i_can: populate ndo_change_mtu() to prevent buffer overflow
    def814b4ba31b can: hi311x: populate ndo_change_mtu() to prevent buffer overflow
    b26cccd87dcdd can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow
    9fcedabaae009 xfrm: xfrm_alloc_spi shouldn't use 0 as SPI
    452ad25358504 bpf: Reject bpf_timer for PREEMPT_RT
    7a75aae4c0c21 can: rcar_can: rcar_can_resume(): fix s2ram with PSCI
    79dc6d4932de4 wifi: virt_wifi: Fix page fault on connect
    7b478122cd39b btrfs: don't allow adding block device of less than 1 MB
    3d429cb1278e9 bpf: Check the helper function is valid in get_helper_proto
    ecb6383b79c3f smb: server: use disable_work_sync in transport_rdma.c
    1d6e5bd5b6114 smb: server: don't use delayed_work for post_recv_credits_work
    596575060f4cd cpufreq: Initialize cpufreq-based invariance before subsys
    6833714e12d12 ARM: dts: kirkwood: Fix sound DAI cells for OpenRD clients
    88c1bb807f79a arm64: dts: imx8mp: Correct thermal sensor index
    d755823f2c0b3 firmware: imx: Add stub functions for SCMI MISC API
    edeae8be4d263 HID: amd_sfh: Add sync across amd sfh work functions
    7a7bb18680eaa IB/mlx5: Fix obj_type mismatch for SRQ event subscriptions
    d2be6c429d8cc net: sfp: add quirk for FLYPRO copper SFP+ module
    2368ce440dfbc ALSA: usb-audio: Add mute TLV for playback volumes on more devices
    c2564438d30a8 ALSA: usb-audio: move mixer_quirks' min_mute into common quirk
    6074537a680de ALSA: usb-audio: Add DSD support for Comtrue USB Audio device
    5cae5420519d8 i2c: designware: Add quirk for Intel Xe
    aaac704646b8f mmc: sdhci-cadence: add Mobileye eyeQ support
    34a8909831836 net: sfp: add quirk for Potron SFP+ XGSPON ONU Stick
    7edb8abcc9773 net: fec: rename struct fec_devinfo fec_imx6x_info -> fec_imx6sx_info
    9e85e98516e13 usb: core: Add 0x prefix to quirks debug output
    6b66c7181d265 ALSA: usb-audio: Fix build with CONFIG_INPUT=n
    a9bed48ddee3d ALSA: hda/realtek: Add support for ASUS NUC using CS35L41 HDA
    1f1bc26ba97af ALSA: usb-audio: Convert comma to semicolon
    a705899ec6085 ALSA: usb-audio: Add mixer quirk for Sony DualSense PS5
    1847877529d71 ALSA: usb-audio: Remove unneeded wmb() in mixer_quirks
    80fffa366ad64 ALSA: usb-audio: Simplify NULL comparison in mixer_quirks
    33b1035eec4b4 ALSA: usb-audio: Avoid multiple assignments in mixer_quirks
    d7a58b4d5ccf6 ALSA: usb-audio: Drop unnecessary parentheses in mixer_quirks
    9fdb2390b0e49 ALSA: usb-audio: Fix block comments in mixer_quirks
    058cfa459cc70 ALSA: usb-audio: Fix code alignment in mixer_quirks
    b728110b16467 firewire: core: fix overlooked update of subsystem ABI version
    8d685863f557c scsi: ufs: mcq: Fix memory allocation checks for SQE and CQE

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.16: update CVE exclusions (6.16.11)
Bruce Ashfield [Thu, 16 Oct 2025 03:08:35 +0000 (23:08 -0400)] 
linux-yocto/6.16: update CVE exclusions (6.16.11)

Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 1 changes (0 new | 1 updated): - 0 new CVEs: - 1 updated CVEs: CVE-2025-11337
        Date: Mon, 6 Oct 2025 13:49:49 +0000

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 days agolinux-yocto/6.16: update to v6.16.11
Bruce Ashfield [Thu, 16 Oct 2025 03:08:34 +0000 (23:08 -0400)] 
linux-yocto/6.16: update to v6.16.11

Updating linux-yocto/6.16 to the latest korg -stable release that comprises
the following commits:

    683320aeb0e83 Linux 6.16.11
    8f9c9fafc0e7a ASoC: qcom: audioreach: fix potential null pointer dereference
    1f053d82e59c7 media: stm32-csi: Fix dereference before NULL check
    c9e024e907caf media: iris: Fix memory leak by freeing untracked persist buffer
    888830b2cbc03 wifi: ath11k: fix NULL dereference in ath11k_qmi_m3_load()
    9cddad3b26dac mm: swap: check for stable address space before operating on the VMA
    15c0e136bd8cd media: uvcvideo: Mark invalid entities with id UVC_INVALID_ENTITY_ID
    d9f6ce99624a4 media: rc: fix races with imon_disconnect()
    9a00de20ed8ba media: tuner: xc5000: Fix use-after-free in xc5000_release
    f3f3f00bcabbd media: i2c: tc358743: Fix use-after-free bugs caused by orphan timer in probe
    3ffabc79388e6 media: b2c2: Fix use-after-free causing by irq_check_work in flexcop_pci_remove
    af600e7f5526d ALSA: usb-audio: fix race condition to UAF in snd_usbmidi_free
    4b29228694958 scsi: target: target_core_configfs: Add length check to avoid buffer overflow
    412450c2f9d16 gcc-plugins: Remove TODO_verify_il for GCC >= 16
    8faee580d63bc blk-mq: fix blk_mq_tags double free while nr_requests grown
    bcabc18865f36 Linux 6.16.10
    e4825368285e3 iommufd: Fix race during abort for file descriptors
    e7e5315212819 spi: cadence-qspi: defer runtime support on socfpga if reset bit is enabled
    b7ec8a2b094a3 spi: cadence-quadspi: Implement refcount to handle unbind during busy
    4109506b7eba2 sched_ext: idle: Handle migration-disabled tasks in BPF code
    1f2bffc8dd18b sched_ext: idle: Make local functions static in ext_idle.c
    2243b9b728b3c wifi: iwlwifi: pcie: fix byte count table for some devices
    b9ebc20920be3 wifi: iwlwifi: fix byte count table for old devices
    fc19489dfaf42 fbcon: Fix OOB access in font allocation
    c0c01f9aa08c8 fbcon: fix integer overflow in fbcon_do_set_font
    2aa2cea8f7716 mm/damon/sysfs: do not ignore callback's return value in damon_sysfs_damon_call()
    21ee79ce93812 mm/hugetlb: fix folio is still mapped when deleted
    7c78ae54e342d x86/Kconfig: Reenable PTDUMP on i386
    309b8857c50d0 x86/topology: Implement topology_is_core_online() to address SMT regression
    b64d23d1b9321 riscv: Use an atomic xchg in pudp_huge_get_and_clear()
    8df142e93098b netfs: fix reference leak
    5855792c6bb9a kmsan: fix out-of-bounds access to shadow memory
    61ae3a52075dc gpiolib: Extend software-node support to support secondary software-nodes
    a2cb8818a3d91 fs/proc/task_mmu: check p->vec_buf for NULL
    41782c44bb843 afs: Fix potential null pointer dereference in afs_put_server
    a63e7dcf6a552 vhost-net: flush batched before enabling notifications
    7de587f87f37e Revert "vhost/net: Defer TX queue re-enable until after sendmsg"
    238f33bb3f6fa pinctrl: airoha: fix wrong MDIO function bitmaks
    cda80b7937bb5 pinctrl: airoha: fix wrong PHY LED mux value for LED1 GPIO46
    3bf00f58a8075 drm/amd/display: Only restore backlight after amdgpu_dm_init or dm_resume
    40903aa97e193 drm/ast: Use msleep instead of mdelay for edid read
    5168f19d4d819 drm/xe: Don't copy pinned kernel bos twice on suspend
    408d90e817211 arm64: dts: marvell: cn9132-clearfog: fix multi-lane pci x2 and x4 ports
    eca259860a084 arm64: dts: marvell: cn9132-clearfog: disable eMMC high-speed modes
    a22ccb766ced5 arm64: dts: marvell: cn913x-solidrun: fix sata ports status
    d00bcd2d5414e ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address
    e57d19757aeb2 tracing: fprobe: Fix to remove recorded module addresses from filter
    cbb8c94f92d0c tracing: fgraph: Protect return handler from recursion loop
    b47c4e06687a5 tracing: dynevent: Add a missing lockdown check on dynevent
    fbe96bd25423e crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
    6200d2e7ea6a6 i40e: improve VF MAC filters accounting
    168107437eac5 i40e: add mask to apply valid bits for itr_idx
    8b13df5aa877b i40e: add max boundary check for VF filters
    a991dc56d3e9a i40e: fix validation of VF state in get resources
    560e168341058 i40e: fix input validation logic for action_meta
    5c1f96123113e i40e: fix idx validation in config queues msg
    d4e3eaaa3cb3a i40e: fix idx validation in i40e_validate_queue_map
    afec12adab55d i40e: add validation for ring_len param
    1cf7258a9cf33 HID: asus: add support for missing PX series fn keys
    f76347f4ec435 HID: intel-thc-hid: intel-quickspi: Add WCL Device IDs
    930cb05a9e107 tracing/osnoise: Fix slab-out-of-bounds in _parse_integer_limit()
    908478fe58848 Revert "drm/xe/guc: Enable extended CAT error reporting"
    e35eeb3a8eaf8 Revert "drm/xe/guc: Set RCS/CCS yield policy"
    093615fc76063 smb: client: fix wrong index reference in smb2_compound_op()
    923638cea4c17 platform/x86: lg-laptop: Fix WMAB call in fan_mode_store()
    2858cae6896ea drm/panthor: Defer scheduler entitiy destruction to queue release
    f1635765cd0fd futex: Use correct exit on failure from futex_hash_allocate_default()
    c6adf475f375c drm/amd/display: remove output_tf_change flag
    9682dc123f8f1 drm/i915/ddi: Guard reg_val against a INVALID_TRANSCODER
    94c5669b1b172 drm/xe: Fix build with CONFIG_MODULES=n
    bacbadedbba73 drm/xe/vf: Don't expose sysfs attributes not applicable for VFs
    6021d412108f7 gpio: regmap: fix memory leak of gpio_regmap structure
    d824b2dbdcfe3 futex: Prevent use-after-free during requeue-PI
    0fc650fa475b5 drm/gma500: Fix null dereference in hdmi teardown
    a8a63f27c3a8a octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
    449aae54fa510 net: dsa: lantiq_gswip: suppress -EINVAL errors for bridge FDB entries added to the CPU port
    075c92577f529 net: dsa: lantiq_gswip: move gswip_add_single_port_br() call to port_setup()
    8523fee4caad8 net/mlx5e: Fix missing FEC RS stats for RS_544_514_INTERLEAVED_QUAD
    5aa468e563ce7 net/mlx5: HWS, ignore flow level for multi-dest table
    7f1b5d056f053 net/mlx5: HWS, remove unused create_dest_array parameter
    3c77f6d244188 net/mlx5: fs, fix UAF in flow counter release
    1c5a55ce47578 selftests: fib_nexthops: Fix creation of non-FDB nexthops
    8dd4aa0122885 nexthop: Forbid FDB status change while nexthop is in a group
    61341d935833f net: allow alloc_skb_with_frags() to use MAX_SKB_FRAGS
    3e4a313b11fca bnxt_en: correct offset handling for IPv6 destination address
    4d109d6c56c60 broadcom: fix support for PTP_EXTTS_REQUEST2 ioctl
    1bfb2d9456c18 broadcom: fix support for PTP_PEROUT_DUTY_CYCLE
    87a1f16f07c6c Bluetooth: MGMT: Fix possible UAFs
    7ce635b3d3aba vhost: Take a reference on the task in struct vhost_task.
    a78fd4fc5694e Bluetooth: hci_event: Fix UAF in hci_acl_create_conn_sync
    dde33124f17cf Bluetooth: hci_event: Fix UAF in hci_conn_tx_dequeue
    1609ab5393d33 Bluetooth: hci_sync: Fix hci_resume_advertising_sync
    c283e4a0e078a ethernet: rvu-af: Remove slash from the driver name
    d5411685dc2f6 net/smc: fix warning in smc_rx_splice() when calling get_page()
    1697577e1669b net: tun: Update napi->skb after XDP process
    394c58017e5f4 can: peak_usb: fix shift-out-of-bounds issue
    b638c3fb0f163 can: mcba_usb: populate ndo_change_mtu() to prevent buffer overflow
    7f7b21026a6fe can: sun4i_can: populate ndo_change_mtu() to prevent buffer overflow
    e77fdf9e33a83 can: hi311x: populate ndo_change_mtu() to prevent buffer overflow
    e587af2c89ecc can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow
    cc4cb275764da xfrm: fix offloading of cross-family tunnels
    a78e557765223 xfrm: xfrm_alloc_spi shouldn't use 0 as SPI
    966877e96d022 selftests/bpf: Skip timer cases when bpf_timer is not supported
    b6b7db6530236 bpf: Reject bpf_timer for PREEMPT_RT
    f577bec9836d1 can: rcar_can: rcar_can_resume(): fix s2ram with PSCI
    528151da32c17 wifi: virt_wifi: Fix page fault on connect
    0bcc5ea4bb30d amd/amdkfd: correct mem limit calculation for small APUs
    a01d1325e0fbd drm/amdkfd: fix p2p links bug in topology
    aae986c5805c7 NFSv4.2: Protect copy offload and clone against 'eof page pollution'
    204099ce6574b NFS: Protect against 'eof page pollution'
    f51f9695207bc btrfs: don't allow adding block device of less than 1 MB
    e64b692a2d55f selftests/fs/mount-notify: Fix compilation failure.
    6233715b4b714 bpf: Check the helper function is valid in get_helper_proto
    e6014ad4d009e smb: server: use disable_work_sync in transport_rdma.c
    27ce0a17ee989 smb: server: don't use delayed_work for post_recv_credits_work
    302c25ec64051 cpufreq: Initialize cpufreq-based invariance before subsys
    d342ba13c2a91 ARM: dts: kirkwood: Fix sound DAI cells for OpenRD clients
    c49b3ffc64cae arm64: dts: imx8mp: Correct thermal sensor index
    8707ccbf686f7 firmware: imx: Add stub functions for SCMI CPU API
    5f9587bbb3bb7 firmware: imx: Add stub functions for SCMI LMM API
    39cc5381c80c0 firmware: imx: Add stub functions for SCMI MISC API
    e3aba0b7f24c4 arm64: dts: rockchip: Fix the headphone detection on the orangepi 5
    1f58c03bc7580 HID: amd_sfh: Add sync across amd sfh work functions
    0fd5a4eeb726c HID: cp2112: fix setter callbacks return value
    f1958eb140458 IB/mlx5: Fix obj_type mismatch for SRQ event subscriptions
    dbeeeae988cce net: sfp: add quirk for FLYPRO copper SFP+ module
    4ceb739a3260a ALSA: usb-audio: Add mute TLV for playback volumes on more devices
    f20938fb3ba2e ALSA: usb-audio: move mixer_quirks' min_mute into common quirk
    f637c0678f8e8 gpiolib: acpi: Add quirk for ASUS ProArt PX13
    001470af9436a ALSA: usb-audio: Add DSD support for Comtrue USB Audio device
    86cb0f559b71e platform/x86: oxpec: Add support for OneXPlayer X1 Mini Pro (Strix Point)
    1e1873264e9de ASoC: Intel: sof_rt5682: Add HDMI-In capture with rt5682 support for PTL.
    eae9d5c299b78 ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in PTL match table
    71f64a3244ac9 ASoC: Intel: soc-acpi: Add entry for sof_es8336 in PTL match table.
    9b866ec1b3d8f i2c: designware: Add quirk for Intel Xe
    dcae67ba20e39 mmc: sdhci-cadence: add Mobileye eyeQ support
    44fd9560ea831 drm/panfrost: Add support for Mali on the MT8370 SoC
    39fdf31a26526 drm/panfrost: Commonize Mediatek power domain array definitions
    8cae20f2a4719 drm/panfrost: Drop duplicated Mediatek supplies arrays
    01c1287ef2a44 net: sfp: add quirk for Potron SFP+ XGSPON ONU Stick
    a94d1a0de44d7 net: fec: rename struct fec_devinfo fec_imx6x_info -> fec_imx6sx_info
    e9d96c5baa454 usb: core: Add 0x prefix to quirks debug output
    330e7cc51c275 ALSA: usb-audio: Fix build with CONFIG_INPUT=n
    645c7aa98d1e9 ALSA: hda/realtek: Add support for ASUS NUC using CS35L41 HDA
    9a183aeb23ca4 ALSA: usb-audio: Convert comma to semicolon
    bdb9cc8a8f940 HID: multitouch: specify that Apple Touch Bar is direct
    3e4453b40562f HID: multitouch: take cls->maxcontacts into account for Apple Touch Bar even without a HID_DG_CONTACTMAX field
    cf60067a13847 HID: multitouch: support getting the tip state from HID_DG_TOUCH fields in Apple Touch Bar
    6a6edca250126 HID: multitouch: Get the contact ID from HID_DG_TRANSDUCER_INDEX fields in case of Apple Touch Bar
    0105cfc41abeb ALSA: usb-audio: Add mixer quirk for Sony DualSense PS5
    042ce4cb97ae4 ALSA: usb-audio: Remove unneeded wmb() in mixer_quirks
    9f76d2c9e8c02 ALSA: usb-audio: Simplify NULL comparison in mixer_quirks
    8af6015e380ca ALSA: usb-audio: Avoid multiple assignments in mixer_quirks
    d3934ea7fb976 ALSA: usb-audio: Drop unnecessary parentheses in mixer_quirks
    0afc2246dd448 ALSA: usb-audio: Fix block comments in mixer_quirks
    c11341fb8fc3a ALSA: usb-audio: Fix whitespace & blank line issues in mixer_quirks
    2ea8b2ce48de5 ALSA: usb-audio: Fix code alignment in mixer_quirks
    f8ae65129919a firewire: core: fix overlooked update of subsystem ABI version
    16bd546200ec5 scsi: ufs: mcq: Fix memory allocation checks for SQE and CQE

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agobuild-appliance-image: Update to master head revision
Richard Purdie [Fri, 17 Oct 2025 08:26:02 +0000 (09:26 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agometa/conf/distro/include/yocto-uninative.inc
Michael Halstead [Thu, 16 Oct 2025 20:44:41 +0000 (13:44 -0700)] 
meta/conf/distro/include/yocto-uninative.inc

yocto-uninative: Update to 5.0 for needed patchelf updates

Solves some segfaults on relocated qemu-img binaries.

[YOCTO #16003]

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 days agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 16 Oct 2025 13:53:28 +0000 (14:53 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 days agorust: Drop rust-llvm
Deepesh Varatharajan [Wed, 15 Oct 2025 09:59:03 +0000 (02:59 -0700)] 
rust: Drop rust-llvm

Dropping rust-llvm because now rust depends on llvm.

0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
0002-llvm-allow-env-override-of-exe-path.patch
(We have the above two patches in llvm)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 days agorust: Use llvm instead of rust-llvm
Deepesh Varatharajan [Wed, 15 Oct 2025 09:59:02 +0000 (02:59 -0700)] 
rust: Use llvm instead of rust-llvm

Updated the Rust build to depend on llvm instead.

*Summary of discussion with the rust upstream about using latest LLVM instead of Rust maintained LLVM fork.
https://internals.rust-lang.org/t/can-we-use-proper-clang-instead-of-llvm-fork-what-rust-uses/23489

*Upstream LLVM is generally compatible:
- Rust does support building with upstream (vanilla) LLVM, especially the latest
major release and the one or two preceding ones.
https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html#updating-llvm

*Impact on Yocto Rust upgrades:
- Rust upgrades shall always check for updates on rust forked llvm and backport
the relevant patches to llvm.

*Regarding the rust forked llvm local patches:
- There are no local patches on rust forked llvm other than the backported fixes
from llvm master.

*We are copying the natively built `llvm-config` binary into the target sysroot and running
it. However, this `llvm-config` has compile time dependencies on various other arch's LLVM
libraries because native-llvm is built for all oe-core supported targets.

Attempting to work around this by symlinking the missing libraries from the native sysroot
into the target sysroot leads to mixed architectures in the final `.rlib`. Specifically,
the object files extracted from those symlinked libraries within `librustc_llvm-<hash>.rlib`
are built for the host, while others are correctly built for the target This results in linker
failures due to file format not recognized.

To resolve this, we now build llvm-target also for all oe-core supported architectures in
addition to the native-llvm build. This ensures that `llvm-config` and all associated
libraries are built for the correct target, eliminating cross-architecture contamination
and linker issues.

*We are enabling -DLLVM_INSTALL_UTILS=ON to ensure essential LLVM utilities like FileCheck
are available, as they are required by the Rust build.

Without this, the build fails with an error as below:
| thread 'main' panicked at src/bootstrap/src/core/sanity.rs:315:21:
| FileCheck executable "poky/build/tmp/work/x86_64-linux/rust-native/1.90.0/recipe-sysroot
-native/usr/bin/FileCheck" does not exist

*We now add these flags "-Clink-arg=-lz -Clink-arg=-lzstd" because of this following
diff otherwise we will get errors during link time.

Setup in rust-llvm
-DLLVM_ENABLE_ZLIB=OFF \
-DLLVM_ENABLE_ZSTD=OFF \
-DLLVM_ENABLE_FFI=OFF \

Setup in llvm
-DLLVM_ENABLE_FFI=ON \

*When multilibs enabled:

llvm-config expects static libraries to be located in the lib directory rather than
lib64. However, since we are copying the natively built llvm-config to target sysroot
and running it and llvm-config doesn't know anything about lib64 existence. To accommodate
this without breaking multilib behavior, we are creating a symlink from 'lib' to 'lib64'
directory.

Previously, when we depended on rust-llvm, this worked because we specified:
-DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust

With this setup, llvm-config was installed inside ${libdir}/llvm-rust, which included
its own bin and lib directories. Thus, llvm-config located in bin would correctly find
the libraries in the adjacent lib directory.

Even when multilib was enabled or not, llvm-config would still look for libraries under
lib in this structure, so everything functioned as expected.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 days agorust: Increase QEMU size to 1024 MB
Deepesh Varatharajan [Wed, 15 Oct 2025 09:59:01 +0000 (02:59 -0700)] 
rust: Increase QEMU size to 1024 MB

Rightnow rust depends on llvm instead of rust-llvm

Setup in rust-llvm
CFLAGS:remove = "-g"
CXXFLAGS:remove = "-g"

Setup in llvm
DEBUG_LEVELFLAG = "-g1"

As a result, the stage1 compiler crate binaries include debug symbols,
increasing their size. These binaries are used to run tests inside QEMU.
To accommodate this, increase the QEMU RAM allocation to 1024 MB.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 days agoclasses/mirrors: use geo-located kernel.org mirrors
Ross Burton [Wed, 15 Oct 2025 20:49:40 +0000 (21:49 +0100)] 
classes/mirrors: use geo-located kernel.org mirrors

We use the kernel.org mirrors for a number of projects: obviously the
kernel, but also the GNU tarballs are fetched from there too.

However, mirrors.kernel.org does not have any geo-proximity DNS magic
and will always resolve to the primary server on in west coast USA,
which is far from ideal if you're not near there.

Switch the mirror URLs to mirrors.edge.kernel.org, which does actually
resolve to a closer server.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 days agocmake: upgrade 4.1.1 -> 4.1.2
Moritz Haase [Tue, 14 Oct 2025 08:46:52 +0000 (10:46 +0200)] 
cmake: upgrade 4.1.1 -> 4.1.2

Release notes are available at [0].

[0]: https://cmake.org/cmake/help/v4.1/release/4.1.html#id2

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
10 days agolibgpg-error: 1.55 -> 1.56
Hongxu Jia [Tue, 14 Oct 2025 06:58:41 +0000 (14:58 +0800)] 
libgpg-error: 1.55 -> 1.56

- Refresh pkgconfig.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>