Compare commits

...

2507 Commits

Author SHA1 Message Date
Osama Abdelkader
485d9c126a README: Fix typo
ut meant -> it meant

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-11 11:28:00 +00:00
Richard Purdie
7b5fa59751 The poky repository master branch is no longer being updated.
You can either:

a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs

   https://docs.yoctoproject.org/dev/dev-manual/poky-manual-setup.html

b) use the new bitbake-setup

   https://docs.yoctoproject.org/bitbake/dev/bitbake-user-manual/bitbake-user-manual-environment-setup.html

You can find more information in our documentation: https://docs.yoctoproject.org/

Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.

Long live Poky!

Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 17:43:38 +00:00
Richard Purdie
453df63af0 The poky repository master branch is no longer being updated.
You can either:

a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs

   https://docs.yoctoproject.org/dev/dev-manual/poky-manual-setup.html

b) use the new bitbake-setup

   https://docs.yoctoproject.org/dev/dev-manual/poky-manual-setup.html

You can find more information in our documentation: https://docs.yoctoproject.org/

Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.

Long live Poky!

Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 16:36:50 +00:00
Richard Purdie
8c22ff0d8b The poky repository master branch is no longer being updated.
You can either:

a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs

b) use the new bitbake-setup

You can find information about either approach in our documentation:
https://docs.yoctoproject.org/

Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.

Long live Poky!

Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:31:53 +00:00
Antonin Godard
d412d27475 ref-manual/terms.rst: update Poky description
Poky as in the repository will no longer be updated. Update the
description of Poky to remove the last bullet point, and add a note to
say that Poky was used before.

(From yocto-docs rev: c6f5de9fdbab3f29336ac3bf30150de8777bcad7)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
bf82e3f6b4 dev-manual: add a document to setup poky manually
Add a new document describing how to setup the Poky reference
distribution manually. This document is referenced in the Quick Guide,
so that users that _know_ they want to setup Poky without bitbake-setup
have a link to it.

This document is also important to reflect the layout of the layers
expected by the bblayers.conf.sample file, as explained in [1].

[1]: https://lore.kernel.org/poky/20251028-update-bblayers-sample-v1-1-97ec54cda94e@bootlin.com/

(From yocto-docs rev: 0ddb5f4be84a97a66cc92c3c68c820af5223e108)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
83c5ebde19 brief-yoctoprojectqs: switch to bitbake-setup
Switch to bitbake-setup as it has been merged in BitBake with commit
b96154aeb1fc ("bitbake-setup: add the initial implementation"). This is
the default way to setup repositories now, so describe it in
brief-yoctoprojectqs.rst.

Update the BSP layer addition section to use meta-raspberrypi as
meta-altera seems abandoned (latest compatible version: mickedore).

Co-developed-by: Tim Orling <tim.orling@konsulko.com>
(From yocto-docs rev: 868da60dd90ee6c8710df1ed14b046d809d25b52)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
f4c37762b9 ref-manual/fragments.rst: document core/yocto/root-login-with-empty-password fragment
Added by commit e135458415de ("fragments: add a
'root-login-with-empty-password' fragment") in OE-Core.

(From yocto-docs rev: 072ac843992189f836f72f4be8d873cc8657a918)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
eda8043243 brief-yoctoprojectqs: delete unused figures
These images are not used anywhere in the docs. Remove them.

(From yocto-docs rev: a0edada1eb056f726c0e28022ec733cb33f3e1a1)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
cc9693d76f ref-manual/structure.rst: document the site.conf file
This was not documented and its usage is going to increase massively
once users start using bitbake-setup. Add a description for this file as
well as an example on how bitbake-setup shares it for multiple builds,
to insist on the "site-wide" usage of this file.

(From yocto-docs rev: 42f68f7de7f0cf74ebdd31fae3173dd3a80386ff)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
4a433280ab ref-manual/structure.rst: update the description of local.conf and bblayers.conf
The local.conf file is now mostly empty with the default way of setting
up the environment (with bitbake-setup), and this file is meant to hold
local user configurations, rather than an extensive list of variables.
Adjust the description to reflect the intended way of using this
configuration file.

Also, for both local.conf and bblayers.conf, rephrase the current
usage of the template files (.sample files) to _not_ imply that it is
the default way the OpenEmbedded build system sets things up.

(From yocto-docs rev: 24f24d07fd688825b2ec39dcf0daf8203577f87a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
ef4ac510f6 bitbake: Add bitbake-setup documentation
Add documentation for bitbake-setup. This is split in 6 sections,
including a quick start guide, terminology and reference.

(Bitbake rev: 3089497efc7a1f3f143e151b9d5d024809269b9e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Antonin Godard
524bac56d1 bitbake: doc/conf.py: add wikipedia extlink
For use in the documentation.

(Bitbake rev: ed90b2ef95564b79d28a20e0e217e13be110499b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 13:15:33 +00:00
Richard Purdie
fbd3a1ab2d meta/files/bitbake-setup.schema.json: correct bb-layers definitions
- improve bb-layers property description
- add bb-layers-file-relative property

The rationale is that both properties are relative to their respective directories
and that should be documented and clear from their names (without being too verbose).

Based on a patch from Alexander Kanavin <alex@linutronix.de> but with
updated naming.

(From OE-Core rev: b9d761c06350020e14e09c5bfa7b92eded43d889)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 10:24:29 +00:00
Richard Purdie
2aeb91cdb3 bitbake: bitbake-setup: Rename bb-layers-relative to bb-layers-file-relative
The difference between bb-layers and bb-layers-relative is unclear as both
are relative paths. Rename one to "file-relative" which makes it clear it
is relative to the current file, without becomming a long name.

https://lists.openembedded.org/g/bitbake-devel/message/18296

Based on a patch from Alexander Kanavin <alex@linutronix.de> but
with different naming.

(Bitbake rev: dcb17758b99767ab6da4172cf60eabc9269082dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-07 10:20:32 +00:00
Alexander Kanavin
516039e609 bitbake: bitbake-setup: replace {THISDIR} token with a keyword: bb-layers-relative
{THISDIR} is a special value token that can be used in the list of enabled
layers to specify the layer location relative to the confguration file:
https://git.openembedded.org/bitbake/commit/?id=b3153be29de8b8570b0c184369bd41f4c646cf92

This replaces the token with an explicit separate keyword for such layers:
so that special processing to determine the final value can be avoided, and
the feature can be formalized in the json schema:

instead of
   "bb-layers": [
        "{THISDIR}/meta-my-project"
    ]

this allows
   "bb-layers-relative": [
        "meta-my-project"

Going forward I think we should strive to avoid any further special value tokens.

(Bitbake rev: 90da82bd2bfcfd5590c9ae06015737b616074b56)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:04:13 +00:00
Johannes Schneider
9780ec24d0 bitbake: bitbake-setup: capture revisions while checking out layers
When initializing a build setup from a conf.json that only sets 'rev'
to a tag or branch, the actual revision would not be captured or
logged.

To capture the current layer state after an 'init' or 'update', the
checkout_layers function is extended to store the revision the
bb.fetch.Fetch pulled, and write that information into a
sources-fixed-revisions.json file. This file can then be fed back into
bitbake-setup init as: --sources-overrides

This new 'sources-fixed-revisions.json' is written during 'update_build' and
stored alongside the 'config-upstream.json' in the config dir. And put
with the later under version control by calling 'commit_config" after
'update_build'.

The use of 'deepcopy' is necessary to not modify the original input
data - which python passes around as reference.

(Bitbake rev: 95866ff03f78e987ae7e47daad053bc0f353eea4)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
Johannes Schneider
13b7a749ec bitbake: bitbake-setup: tests: move duplicate code into 'check_setupdir_files'
All places that called into 'check_setupdir_files' did the same
preparation step to load the upstream-config.json and then pass it
into the function.

Since the 'setuppath' is already passed into the function, and the
name and relative location of the upstream-config.json is fixed,
constructing the file path and loading the json could be done in the
function.

De-duplicate code by loading the json inside the function instead.

(Bitbake rev: 16d77c83ae3ce92ddab84d714a93fd3bb7def5e2)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
Johannes Schneider
5de850ec01 bitbake: bitbake-setup: checkout_layers: construct 'src_uri' separatly
Construct the 'src_uri' separately, and then pass either variant into
one call that creates the Fetch. Making use of format-strings to
shorten/simplify the code.

Also: using 'proto' instead of 'type' for a variable name, to avoid
the protected keyword.

(Bitbake rev: 4ad70e05ceca19c1e903dafc33386a82b1176bba)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
Johannes Schneider
729e6f2cfd bitbake: bitbake-setup: rename 'write_config' into 'write_upstream_config'
Rename the function to reflect which (of the possibly many) files in
the build/config directory it writes to.

(Bitbake rev: 7f9cd4c1e91d110085d74f9b9f12884f97f4e8dd)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
Johannes Schneider
f339e5f07f bitbake: bitbake-setup: fix key-error when changing a new 'section'
Setting a key=value in a new section would raise a key-error when
using in-memory settings, e.g:

./bin/bitbake-setup --setting default top-dir-prefix /tmp/bitbake-setup --setting default top-dir-name gs settings foo bar baz

Loading settings from
    /tmp/bitbake-setup/gs/settings.conf

Traceback (most recent call last):
  File "/tmp/bitbake-setup/bitbake/./bin/bitbake-setup", line 853, in <module>
    main()
  File "/tmp/bitbake-setup/bitbake/./bin/bitbake-setup", line 838, in main
    all_settings = merge_settings(builtin_settings, global_settings, topdir_settings, args.setting)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/bitbake-setup/bitbake/./bin/bitbake-setup", line 733, in merge_settings
    all_settings[section][setting] = value
    ~~~~~~~~~~~~^^^^^^^^^
KeyError: 'foo'

(Bitbake rev: 78ab0d15dff5ccf64b0bf681185370779e6cabaf)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
Johannes Schneider
baee94fa33 bitbake: bitbake-setup: rename function 'default_settings_path' to 'topdir_settings_path'
Rename the function to align with the corresponding
'global_settings_path' function, and move it down just above the
later.

This is done to differentiate from the built-in default settings, and
to align with the other places in the code that use 'topdir_settings'
(or 'global_settings')

(Bitbake rev: 3df994f773abbd1d0240e721f5fd29d4b021bfb5)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 18:03:46 +00:00
Jörg Sommer
a65d753286 gtk+3: Convert to gnomebase
(From OE-Core rev: 68f7f434e9c5dded38fabea464942924456396b6)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:33 +00:00
Jörg Sommer
7e499966f5 gobject-introspection: Convert to gnomebase
Replace HOMEPAGE, because wiki.gnome.org ‘has been retiredʼ (said on the
site).

(From OE-Core rev: b501eeaafde639b6da4f9bfeaeb76b40c7e92633)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
bb16fb0aab at-spi2-core: Convert to gnomebase
(From OE-Core rev: df47dc1b374aae7cf6aabfc12d8a3be3683ee728)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
38b44cc62a gdk-pixbuf: Convert to gnomebase
(From OE-Core rev: af35e9e420a46db998a8423e5844df36e9fc9b14)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
d8e70b3fde epiphany: Use SRC_URI from gnomebase
(From OE-Core rev: 9a48717b0b180eb527b39c34a94ed9da1bac1269)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
a193146b74 gconf: Use SRC_URI from gnomebase
(From OE-Core rev: 40457d7ad87a8149f1d36b43a77419b414e77ebc)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
97f46a65cb libsoup: Convert to gnomebase
* Dropping CVE_PRODUCT, because it was equal to the default.

(From OE-Core rev: 2b7e57466940a2b3a303fca1de67fb3524cf2c78)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
b6c4787c10 vala: Convert to gnomebase
(From OE-Core rev: 0c5a163cdcd424837fd7d992d6249d01ccf78373)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Gyorgy Sarvari
9bede3e6bc openssl: extend check_cwm test timeout
Fixes [YOCTO 14649]

The default 3s test execution timeout isn't always enough for the check_cwm test
on the autobuilder in case there is a high load on the host machine,
and due to this this case fails sometimes.

This patch doubles the timeout for this testcase to 6 seconds to allow enough
time for execution even if there is high CPU usage by other processes.

(From OE-Core rev: 561aba8d38d1e15d23bd13736013825bd04aff2c)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Ankur Tyagi
554df58f23 libevdev: upgrade 1.13.4 -> 1.13.5
Changelog:
- sync event codes with kernel 6.16
- change the bit to shift to ULL
- sync headers with kernel 6.17

(From OE-Core rev: fa8d7550e751cd8e617fd0a5a94fd67da22cf7f7)

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Ankur Tyagi
c3dfcf0694 wireless-regdb: upgrade 2025.07.10 -> 2025.10.07
(From OE-Core rev: dd5be32f450d6f97ca66d328670df4fb6310e810)

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Ross Burton
1db7c5487b kea: fix CVE-2025-11232
Backport a patch from upstream to resolve CVE-2025-11232:

  Invalid characters cause assert

  To trigger the issue, three configuration parameters must have
  specific settings: "hostname-char-set" must be left at the default
  setting, which is "[^A-Za-z0-9.-]"; "hostname-char-replacement" must
  be empty (the default); and "ddns-qualifying-suffix" must NOT be empty
  (the default is empty). DDNS updates do not need to be enabled for
  this issue to manifest. A client that sends certain option content
  would then cause kea-dhcp4 to exit unexpectedly.

(From OE-Core rev: f9331b42fd8b0df64517969a794a93d41624bd96)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
310183b813 cantarell-fonts: Remove meson, pkgconfig; already in gnomebase
(From OE-Core rev: a15e1ac27bc1ec9465c91d5c78a0e563ce76ebe4)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Jörg Sommer
472feff8a3 libgudev: Remove UPSTREAM_CHECK_URI; not needed
(From OE-Core rev: b8fe806e9b8148db09c2dfc765e334c309dabdb5)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Zoltán Böszörményi
22905572d7 meta/conf/layer.conf: Omit most build deps of rpm-sequoia-native
Omit most of the build dependencies of rpm-sequoia-native as it
needs only OpenSSL, and implicitly, libgcc and the C runtime
to run.

The list of build dependencies were determined by

  $ bitbake -e rpm-sequoia-native 2>&1 | grep ^DEPENDS=
  DEPENDS="pkgconfig-native cargo-native openssl-native python3-native rust-native rust-native"

Omitting these (except openssl-native) can save significant
amount of disk space and it also speeds up packaging into
signed rpms a little.

Omitting rust-native (and implicitly, llvm-native) also avoids
conflicts with different LLVM/CLANG versions, like those found
in meta-clang-revival.

(From OE-Core rev: 805227759dbd8303124f25c46f928848cf045cc6)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Ross Burton
d4067f5835 xwayland: fix CVE-2025-62229 CVE-2025-62230 CVE-2025-62231
>From https://lists.x.org/archives/xorg-announce/2025-October/003635.html:

1) CVE-2025-62229: Use-after-free in XPresentNotify structures creation

    Using the X11 Present extension, when processing and adding the
    notifications after presenting a pixmap, if an error occurs, a dangling
    pointer may be left in the error code path of the function causing a
    use-after-free when eventually destroying the notification structures
    later.

    Introduced in: Xorg 1.15
    Fixed in: xorg-server-21.1.19 and xwayland-24.1.9
    Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/5a4286b1
    Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.

2) CVE-2025-62230: Use-after-free in Xkb client resource removal

    When removing the Xkb resources for a client, the function
    XkbRemoveResourceClient() will free the XkbInterest data associated
    with the device, but not the resource associated with it.

    As a result, when the client terminates, the resource delete function
    triggers a use-after-free.

    Introduced in: X11R6
    Fixed in: xorg-server-21.1.19 and xwayland-24.1.9
    Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/99790a2c
         https://gitlab.freedesktop.org/xorg/xserver/-/commit/10c94238
    Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.

3) CVE-2025-62231: Value overflow in Xkb extension XkbSetCompatMap()

    The XkbCompatMap structure stores some of its values using an unsigned
    short, but fails to check whether the sum of the input data might
    overflow the maximum unsigned short value.

    Introduced in: X11R6
    Fixed in: xorg-server-21.1.19 and xwayland-24.1.9
    Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/475d9f49
    Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.

(From OE-Core rev: f3b5fc0174478e1ab6d3d03c8fdc75be28d0fd3b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Ross Burton
9e67c38d67 xserver-xorg: fix CVE-2025-62229 CVE-2025-62230 CVE-2025-62231
>From https://lists.x.org/archives/xorg-announce/2025-October/003635.html:

1) CVE-2025-62229: Use-after-free in XPresentNotify structures creation

    Using the X11 Present extension, when processing and adding the
    notifications after presenting a pixmap, if an error occurs, a dangling
    pointer may be left in the error code path of the function causing a
    use-after-free when eventually destroying the notification structures
    later.

    Introduced in: Xorg 1.15
    Fixed in: xorg-server-21.1.19 and xwayland-24.1.9
    Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/5a4286b1
    Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.

2) CVE-2025-62230: Use-after-free in Xkb client resource removal

    When removing the Xkb resources for a client, the function
    XkbRemoveResourceClient() will free the XkbInterest data associated
    with the device, but not the resource associated with it.

    As a result, when the client terminates, the resource delete function
    triggers a use-after-free.

    Introduced in: X11R6
    Fixed in: xorg-server-21.1.19 and xwayland-24.1.9
    Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/99790a2c
         https://gitlab.freedesktop.org/xorg/xserver/-/commit/10c94238
    Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.

3) CVE-2025-62231: Value overflow in Xkb extension XkbSetCompatMap()

    The XkbCompatMap structure stores some of its values using an unsigned
    short, but fails to check whether the sum of the input data might
    overflow the maximum unsigned short value.

    Introduced in: X11R6
    Fixed in: xorg-server-21.1.19 and xwayland-24.1.9
    Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/475d9f49
    Found by: Jan-Niklas Sohn working with Trend Micro Zero Day Initiative.

(From OE-Core rev: 50b9c34ba932761fab9035a54e58466d72b097bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
Ross Burton
9fa70f4fd5 xserver-xorg: remove redundant patch
The underlying issue with -fno-common was resolved upstream in xserver
21.1.0 onwards[1].

[1] xserver 0148a15da ("compiler.h: don't define inb/outb and friends on mips")

(From OE-Core rev: 74b77ee90efd50a703af76769fac66a0f7c394ca)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 15:09:32 +00:00
João Henrique Ferreira de Freitas
4c92caf622 readline: backport a patch to fix for caller setting rl_prompt to NULL
I've observed this issue affecting iwctl and connmanctl.

Patching readline solves the issue.

The original patch from [5] mixes many fixes in one commit. I've extract
only what matters to solve the issues observed with connman and iwd. The
final patch is the same patch sent by readline author to readline's mail list [6].

References:

1: https://gitlab.archlinux.org/archlinux/packaging/packages/readline/-/issues/1
2: b30636dc66
3: https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00007.html
4: https://lore.kernel.org/connman/20251018212411.181909-1-jsbronder@cold-front.org/
5: https://cgit.git.savannah.gnu.org/cgit/readline.git/commit/display.c?h=devel&id=488d7edc22894d30b6de7f2d4190bf7403f63ffd
6: https://lists.gnu.org/archive/html/bug-readline/2025-07/txtmA7rksnmmi.txt

Fixes [YOCTO #16047]

CC  Paul Barker <paul@pbarker.dev>

CC: Jose Quaresma <quaresma.jose@gmail.com>
CC: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 8ce0359c4eade11b445bc227c42f7f1212a2d9c3)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-06 09:45:17 +00:00
David Reyna
ec569c235d bitbake: toaster: support bitbake-setup
This adds support for the new bitbake-setup:
      * Maintain backwards compatibility for poky-classic releases
      * Assume bitbake-setup for all releases 'master' and forward
      * When no ".templateconf" assume Poky and not OE
      * Generate and use "init-build-env" script instead of 'oe-init-build-env'
        directly, but "cd" to the clone and not the local installation.
      * Include "bblayers.conf" because "cookerdata.py" now explicitly
        required it, and let it be over-ridden by the usual "toaster-bblayers.conf".
      * Force the value "TOPDIR" in "toaster.conf" to the local project's directory.

    Normally "cookerdata.py" sets TOPDIR from getcwd(), but somehow in bitbake-setup
    mode the CWD at this point has become ".../layers/openembedded-core", so
    "bitbake.conf and all other files cannot be found. This non-obvious problem was
    hard to discover. Until this is understood, the forced value will make things work.

    [YOCTO #16012]

(Bitbake rev: 22b3fd418efc10da7e4a8c1725de285714d2396b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-04 17:25:45 +00:00
Alexander Kanavin
5d7abe740e bitbake: bitbake-setup: rename 'build' -> 'setup'
After a terminology review by Antonin we brainstormed
something less confusing than 'build' and 'build directory'
for the place where bitbake-setup clones layers and
creates a *bitbake* build directory in. People are bound
to get these two confused and mix them up, and 'setup' is
much more distinct and aligns nicely with 'bitbake-setup'.
It's also not claimed by anything else in OE/Yocto.

So before:

top-dir -> build-dir (can be several) -> bitbake build dir, layer dir, config dir

Now:

top-dir -> setup-dir (can be several) -> bitbake build dir, layer dir, config dir

This also updates the respective command line options, I understand it's
a breaking change, but as before the tweaks are simple and we need to get the
terminology right for the users, and now is the time to do it.

(Bitbake rev: eeb81a35bf0304451f7612950d5156ea7ff18bad)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-04 13:16:04 +00:00
Peter Marko
07c35eec54 yocto-bsp/6.17: correct branch name
6.16 in branch name for 6.17 kernel does not look correct.
$ git branch -r --contains 459fdea93914f4db040bd8ebf8bce134a4cd6388
  linux-yocto/v6.17/standard/genericarm64

(From meta-yocto rev: 66ea31cee15309af07afeee8dec8a6fe1d92d28e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-04 10:34:50 +00:00
Bruce Ashfield
1a5c543053 yocto-bsp/6.17: introduce kernel bbappend
Adding a 6.17 kernel bbappend so the hardware reference BSPs
can be tested against the newer kernel (but it is not the
default)

(From meta-yocto rev: 4d15f394f8862cca77eb780e7bfcd945f9aae5f4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:44:59 +00:00
Bruce Ashfield
128ab88c22 yocto-bsp/6.16: specify genericarm64 SRCREV
We had previously dropped the genericarm64 as it was using
standard/base for builds. But we have some temporary serial
patches only for these platforms, so we we are building out
of standard/genericarm64 to isolate those patches.

As a result, we do need to set our SRCREV to ensure that
the content is built on the branch.

Note: we can also move these to the main linux-yocto recipes
as genericarm64 has broad scope and is more than just an
indidual hardware reference BSP.

(From meta-yocto rev: 6257391c9594ed59f18ce1f7bf9bf7323d55a868)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:44:59 +00:00
Antonin Godard
c0e2fa79c7 bitbake: bitbake-user-manual/ref-variables: extend PERSISTENT_DIR doc
Extend the current documentation of PERSISTENT_DIR:

- Mention that it also contains the hash equivalence database when
  BB_HASHSERVE = auto.
- Mention that it should not be shared between builds.

[YOCTO #15727]

(Bitbake rev: 682c2dccb67a57ecbf93aac8e9deea88bff10155)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Patrick Vogelaar
993393b4d9 bitbake: doc: enhance SRCREV_FORMAT description
Adding documentation for having an empty first component for the
SRCREV_FORMAT.

(Bitbake rev: 37ef26cfd5441ce97ff7ec0d5026c92091224c07)

Signed-off-by: Patrick Vogelaar <patrick.vogelaar.dev@mailbox.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Chris Laplante
8b3527db66 bitbake: fetch2/git: when raising ParameterError for an invalid proto, include the proto in the message
(Bitbake rev: 671314811ac1c023efacc6a2f148d8d84ba1adb2)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Adam Blank
726d6ecd5c bitbake: doc/bitbake-user-manual-ref-variables: improve INHERIT
Current wording makes it difficult to understand what
exactly is done with INHERIT-ed anonymous functions and
when.

(Bitbake rev: f06af69458083735e69f115edf73f783f18bc08c)

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Adam Blank
36034f846a bitbake: doc: bitbake-user-manual: style and completeness corrections
Fix encountered style issues in the fetching section.
Mention that "subdir" and fetcher specific parameters can stack-up.

(Bitbake rev: 5cb35734c7056aa183bc15d454e125b75267449b)

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Adam Blank
b03a897c2c bitbake: doc: bitbake-user-manual: AUTOREV and SRCREV_FORMAT roles in fetching
Describe the roles of AUTOREV and SRCREV_FORMAT in the fetching step.
Add their missing descriptions to the variable reference section.

Fixes [YOCTO #14498]

(Bitbake rev: fbf0a8c5711f56bd64ae4c9d2c1d5ba884508c9f)

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Alexander Kanavin
18c39854ef bitbake: bitbake-setup: correctly define --global argument for settings management
--global was defined twice (for settings command as a whole, and specifically
for set/unset sub-commands), which caused 'settings --global set ...' to
be allowed, and at the same time not have any effect. 'settings set --global'
is the only valid form after this change.

(Bitbake rev: 2f14cf68f6c653b6da90180a99a22c58855b0cef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Chen Qi
1effe32357 bitbake: bitbake-user-manual-metadata.rst: OE_BUILTIN_FRAGMENTS -> OE_FRAGMENTS_BUILTIN
The actual variable name used in oe-core is OE_FRAGMENTS_BUILTIN,
which is in a consistent format with other OE_FRAGMENTS_XXX vars.

(Bitbake rev: 86c5f6aa59980d04264bc526976a49fdf749d1af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Joshua Watt
249793af75 bitbake: contrib: vim: Update file detection regex
The regex used to detect bitbake files was improved in patch 9.1.1732.
Update the plugin to match that logic and fix a bug where the wrong
expression was used to set the file type

(Bitbake rev: 7ce0c9b44968f80a6060f9f9ff2cc00823b772cc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:43:31 +00:00
Yoann Congal
20c60e5ae3 oe-setup-layers: make "path" optional
Layer names and path are often redundant. Allow users to omit the path
key when it is equal to the layer name by using the layer name as a
default value for its path.

For example, from layers.example.json:
  "sources": {
      "meta-alex": {
          "path": "meta-alex"
      },
      "meta-intel": {
          "path": "meta-intel"
      },
      "poky": {
          "path": "poky"
      }
  },

Update the schema to stop requiring "path" and remove it in example for
"meta-intel".

(From OE-Core rev: 7f36f0526fae5a81f9bc02e16cc849a2b1ea5797)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Peter Marko
e2f12eabd7 wpa-supplicant: patch CVE-2025-24912
Pick patches as listed in NVD CVE report.

Note that Debian lists one of the patches as introducing the
vulnerability. This is against what the original report [1] says.
Also the commit messages provide hints that the first patch fixes this
issue and second is fixing problem with the first patch.

[1] https://jvn.jp/en/jp/JVN19358384/

(From OE-Core rev: 2eed0deab456df4ef8876afe0710c9c89b41d45f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Khem Raj
ed7b305146 busybox: Omit trailing whitespaces
(From OE-Core rev: e76e1cb7d1c109455ad6cf64244549966b93008e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Alexander Kanavin
6e74dd3eee rootfs-postcommands.bbclass: add a note to the login banner when root-with-empty-password logins are enabled
When enabled, users will see:

===
Poky (Yocto Project Reference Distro) 5.2.99+snapshot-1dac0d15f2d979128cb449b59bf5fd69b4ba5084 qemux86-64 ttyS0

Type 'root' to login with superuser privileges (no password will be asked).

qemux86-64 login:
===

(From OE-Core rev: 53631281573c7e7d8ca45dd30af990f8dd7b8e39)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Alexander Kanavin
bf11301154 testimage.bbclass: check that root-login-with-empty-password image features are present
More or less all of testimage relies on logging in as root, without password,
both on console and over ssh. Previously this was enabled by default in poky
and core, but now that it isn't, testimage will error out on timeouts in
both console and ssh login attempts. This commit adds an earlier check and
provides a hint to the users about what they should do.

(From OE-Core rev: c0ac4a4b694a7550bda0b6c14e42f3705ca0a499)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Alexander Kanavin
7eefb05a15 fragments: add a 'root-login-with-empty-password' fragment
Please see this for background/some discussion:
https://lists.openembedded.org/g/openembedded-architecture/topic/115913545

Care should be taken to not enable this by default, and especially not for
production images. Poky and oe-core default templates did it, and it was
not a good starting point. Hopefully the fragment name, and the description
that users will see when enabling the fragment will provide enough warning.

(From OE-Core rev: e135458415dea5bbc4651e05dafe0b6903b65751)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Alexander Kanavin
db1ba50813 bbconfigbuild/configfragments.py: print fragment descriptions when enabling them
Such descriptions can contain useful or important information, and users may
not see that otherwise at all. To reduce clutter in CI outputs or similar
scenarios, -q option suppresses that printing.

(From OE-Core rev: 7d99882726cd2c2a2c162e0a2636fd7fdd330977)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Alexander Kanavin
8ec6308bc3 bbconfigbuild/configfragments.py: replace fragment_exists() with a more generic get_fragment()
This can be used to get fragment information by its name (or None,
if there's no fragment), rather than just check for its existence.

(From OE-Core rev: 2ac6f564c26f2f26a003b4f0e344ae8e803e2140)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Alexander Kanavin
4a6a9e2bc5 bbconfigbuild/configfragments.py: run discover_fragments() only once when enabling them
(From OE-Core rev: f2d9519fc3aa74996654bf02d31fb6496d7a05f3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Walter Werner SCHNEIDER
2ef4c3ac94 core-image-sato: Add x11 as required feature.
Even though x11 is currently a default DISTRO feature, even for
nodistro, core-image-sato should require the x11 feature. Without the
x11 in DISTRO_FEATURES, bitbake fails with the following:

ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato',
'packagegroup-core-x11-base']

With this change, the error changes to something more clear to new
users of the project:

ERROR: Nothing PROVIDES 'core-image-sato'
core-image-sato was skipped: missing required distro feature 'x11'
(not in DISTRO_FEATURES)

(From OE-Core rev: bda8283c47d7b00eecee1464d4579350cdf37032)

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Ross Burton
d5d5af8c4a classes/base: prefer gnu-prefixed HOSTTOOLS
Ubuntu 25.10 has changed the default coreutils implementation from GNU
coreutils to uutils/coreutils. Unfortunately this causes build problems:

  couldn't allocate absolute path for 'null'.
  tail: cannot open 'standard input' for reading: No such file or directory
  install: failed to chown '...': Invalid argument (os error 22)

Clear build failures happen in 'install' and 'tail', but there may be
further breakage.

Luckily, Ubuntu also installs GNU coreutils with a binary prefix of
'gnu', so whilst these issues are root-caused and fixed in either pseudo
or uutils we can prefer the gnu-prefixed binaries where they are present.

[ YOCTO #16028 ]

(From OE-Core rev: 16f2684ebeffa72b5d90525cf9102751b68c298e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
ec985f3373 linux-yocto/6.12: update CVE exclusions (6.12.55)
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-10939 - 0 updated CVEs:
        Date: Tue, 28 Oct 2025 03:16:46 +0000

    ]

(From OE-Core rev: 75d94d27927e0beebb4696acc3cd59e4c4444f88)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
21539ea9e0 linux-yocto/6.12: update to v6.12.55
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    4fc43debf504 Linux 6.12.55
    d28c1b1566a1 dmaengine: Add missing cleanup on module unload
    f3ccb4918654 arm64: errata: Apply workarounds for Neoverse-V3AE
    6de6d315f34c arm64: cputype: Add Neoverse-V3AE definitions
    ac50c6e0a8f9 mm/ksm: fix flag-dropping behavior in ksm_madvise
    a156af6a4dc3 NFSD: Define a proc_layoutcommit for the FlexFiles layout type
    e4d2a1d31fc9 phy: cadence: cdns-dphy: Update calibration wait time for startup state machine
    963f2239bdbc mptcp: reset blackhole on success with non-loopback ifaces
    ad16235c9d3e mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable().
    c159590e3234 mptcp: Call dst_release() in mptcp_active_enable().
    4388b7f1e42c net: Add locking to protect skb->dev access in ip_output
    95d4308875d1 ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]
    8f001670cbb2 net: dst: add four helpers to annotate data-races around dst->dev
    bcdbf4d7d913 tcp: cache RTAX_QUICKACK metric in a hot cache line
    f620d9ba4a09 tcp: convert to dev_net_rcu()
    bf580112ed61 ixgbevf: fix mailbox API compatibility by negotiating supported features
    68bfddd2b3be ixgbevf: fix getting link speed data for E610 devices
    8a661d63d554 ixgbevf: Add support for Intel(R) E610 device
    fb151d86dc04 PCI: Add PCI_VDEVICE_SUB helper macro
    620f3b0ede9c vfs: Don't leak disconnected dentries on umount
    dc63d8781463 d_alloc_parallel(): set DCACHE_PAR_LOOKUP earlier
    9ec6939a502d x86/resctrl: Fix miscount of bandwidth event when reactivating previously unavailable RMID
    12e3db99bc4e x86/resctrl: Refactor resctrl_arch_rmid_read()
    78a2d39e2eef md: fix mssing blktrace bio split events
    2d24bf9117ad md/raid10: Handle bio_split() errors
    74dc8c235ad0 md/raid1: Handle bio_split() errors
    069e7bbe4382 md/raid0: Handle bio_split() errors
    fd819637d0cf padata: Reset next CPU when reorder sequence wraps around
    88ad39711bfb xfs: use deferred intent items for reaping crosslinked blocks
    e9fd43b799d2 wifi: rtw89: avoid possible TX wait initialization race
    c33da548fbf2 NFSD: Fix last write offset handling in layoutcommit
    da68bc55d5f8 NFSD: Implement large extent array support in pNFS
    18eee640741c NFSD: Minor cleanup in layoutcommit processing
    47c609979b08 NFSD: Rework encoding and decoding of nfsd4_deviceid
    5def53c55a1e nfsd: Drop dprintk in blocklayout xdr functions
    434b399044ae nfsd: Use correct error code when decoding extents
    7e708dbee2e8 iio: imu: inv_icm42600: Avoid configuring if already pm_runtime suspended
    29c57a688bb4 iio: imu: inv_icm42600: Simplify pm_runtime setup
    69a837b75edc PM: runtime: Add new devm functions
    4d1422bfef2d phy: cadence: cdns-dphy: Fix PLL lock and O_CMN_READY polling
    f9ad5c7c472f phy: cdns-dphy: Store hs_clk_rate and return it
    9909b28175c1 xfs: fix log CRC mismatches between i386 and other architectures
    ab0f805bed81 xfs: rename the old_crc variable in xlog_recover_process
    586c75dfd1d2 hfsplus: fix slab-out-of-bounds read in hfsplus_strcasecmp()
    f3fe1abdeb2c nvme/tcp: handle tls partially sent records in write_space()
    2a87a1c5866c selftests: arg_parsing: Ensure data is flushed to disk before reading.
    095d692e5997 ASoC: amd/sdw_utils: avoid NULL deref when devm_kasprintf() fails
    9ab3e03765b9 HID: multitouch: fix name of Stylus input devices
    560024035fe7 HID: hid-input: only ignore 0 battery events for digitizers
    bba7208765d2 ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card
    c1bcd7205ac3 selftests/bpf: make arg_parsing.c more robust to crashes
    21ba0445e422 accel/qaic: Synchronize access to DBC request queue head & tail pointer
    551f1dfbcb7f accel/qaic: Treat remaining == 0 as error in find_and_map_user_pages()
    646868e6962b accel/qaic: Fix bootlog initialization ordering
    e15f6ac84445 ALSA: firewire: amdtp-stream: fix enum kernel-doc warnings
    cb4c8439cf6d sched/fair: Fix pelt lost idle time detection
    8fecfa1c17a1 drm/rockchip: vop2: use correct destination rectangle height check
    33fee60d39b7 drm/draw: fix color truncation in drm_draw_fill24
    e4628ada9b95 drm/amd/powerplay: Fix CIK shutdown temperature
    87b634c37509 drm/amdgpu: fix handling of harvesting for ip_discovery firmware
    0a77caacc1d3 drm/amdgpu: add support for cyan skillfish without IP discovery
    90653d924b6b drm/amdgpu: add ip offset support for cyan skillfish
    657e8f9f7489 drm/i915/guc: Skip communication warning on reset in progress
    af66058d13f0 ASoC: nau8821: Add DMI quirk to bypass jack debounce circuit
    129cef0e37d4 ASoC: nau8821: Generalize helper to clear IRQ status
    8ed3d6cf03cb ASoC: nau8821: Cancel jdet_work before handling jack ejection
    70a65e2893a7 ASoC: codecs: Fix gain setting ranges for Renesas IDT821034 codec
    e2a7c66261fe drm/bridge: lt9211: Drop check for last nibble of version register
    d694f809df41 riscv: kprobes: Fix probe address validation
    3fc87107f036 nvme-multipath: Skip nr_active increments in RETRY disposition
    5a833099033d drm/panthor: Ensure MCU is disabled on suspend
    d8a3a530d8b3 net: usb: lan78xx: fix use of improperly initialized dev->chipid in lan78xx_reset
    f30f0062f609 net: usb: lan78xx: Add error handling to lan78xx_init_mac_address
    95af08507322 netdevsim: set the carrier when the device goes up
    bbcf2da067ae tls: don't rely on tx_work during send()
    39dec4ea3daf tls: wait for pending async decryptions if tls_strp_msg_hold fails
    bea15cd6f1e2 tls: always set record_type in tls_process_cmsg
    0e2e8c4d0c37 tls: wait for async encrypt in case of error during latter iterations of sendmsg
    b1cf131f6df8 tls: trim encrypted message to match the plaintext on short splice
    49683288a77c tg3: prevent use of uninitialized remote_adv and local_adv variables
    4602b8cee148 ksmbd: fix recursive locking in RPC handle list access
    814ec62e42f4 tcp: fix tcp_tso_should_defer() vs large RTT
    4f4af833c7ee amd-xgbe: Avoid spurious link down messages during interface toggle
    eeb434548867 net/ip6_tunnel: Prevent perpetual tunnel growth
    599f9faabaee r8169: fix packet truncation after S4 resume on RTL8168H/RTL8111H
    34143a23fca8 doc: fix seg6_flowlabel path
    824be3d3437f net: dlink: handle dma_map_single() failure properly
    7ed47a3207f5 can: m_can: fix CAN state in system PM
    b7f989b93836 can: m_can: call deinit/init callback when going into suspend/resume
    6219594f665f can: m_can: add deinit callback
    df689d75c46d can: m_can: m_can_chip_config(): bring up interface in correct state
    4411ca4ca715 can: m_can: m_can_handle_state_errors(): fix CAN state transition to Error Active
    b4851ba36459 can: m_can: m_can_plat_remove(): add missing pm_runtime_disable()
    39563a86579a dax: skip read lock assertion for read-only filesystems
    f32fea4c0234 HID: multitouch: fix sticky fingers
    df23d9ac3455 Revert "io_uring/rw: drop -EOPNOTSUPP check in __io_complete_rw_common()"
    24883bfe09c5 cpufreq: CPPC: Avoid using CPUFREQ_ETERNAL as transition delay
    380353c3a92b usb: gadget: f_rndis: Refactor bind path to use __free()
    15b9faf53ba8 usb: gadget: f_ecm: Refactor bind path to use __free()
    201a66d8e663 usb: gadget: f_acm: Refactor bind path to use __free()
    d3fe7143928d usb: gadget: f_ncm: Refactor bind path to use __free()
    56b5f34542d7 usb: gadget: Introduce free_usb_request helper
    1a3949c3e5c3 usb: gadget: Store endpoint pointer in usb_request
    7138de99f7b1 drm/exynos: exynos7_drm_decon: remove ctx->suspended
    a02e8415156b drm/exynos: exynos7_drm_decon: properly clear channels during bind
    2812c6b13bcc drm/exynos: exynos7_drm_decon: fix uninitialized crtc reference in functions
    e8b5f4d80775 media: nxp: imx8-isi: m2m: Fix streaming cleanup on release
    f0b75b4caaaf media: nxp: imx8-isi: Drop unused argument to mxc_isi_channel_chain()
    3e7b89ed9f07 drm/msm/a6xx: Fix PDC sleep sequence
    2e24713ba2db cdx: Fix device node reference leak in cdx_msi_domain_init
    c472088522d6 irqdomain: cdx: Switch to of_fwnode_handle()
    03fe1647e265 drm/amd: Check whether secure display TA loaded successfully
    eacc4fc28dd9 perf/core: Fix MMAP2 event device with backing files
    7024b11fb47e perf/core: Fix MMAP event path names with backing files
    6ddc602b1cfb perf/core: Fix address filter match with backing files
    e5914820d351 drm/amdgpu: fix gfx12 mes packet status return check
    e4937f3ef925 drm/amdgpu: use atomic functions with memory barriers for vm fault info
    e5e3eb2aff92 drm/sched: Fix potential double free in drm_sched_job_add_resv_dependencies
    8bc4a8d39bac cifs: parse_dfs_referrals: prevent oob on malformed input
    cc87d3d0f4af can: gs_usb: increase max interface to U8_MAX
    52eb720e5bfd can: gs_usb: gs_make_candev(): populate net_device->dev_port
    3fdcfd91b93f btrfs: do not assert we found block group item when creating free space tree
    187333e6d484 btrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST
    376b9f404130 btrfs: fix incorrect readahead expansion length
    2b039c50299b btrfs: fix memory leak on duplicated memory in the qgroup assign ioctl
    d2d3902f134e btrfs: fix clearing of BTRFS_FS_RELOC_RUNNING if relocation already running
    de985264eef6 ext4: detect invalid INLINE_DATA + EXTENTS flag combination
    5b7b9a17151b ext4: wait for ongoing I/O to complete before freeing blocks
    9f5738883977 jbd2: ensure that all ongoing I/O complete before freeing blocks
    40bf3676cb39 f2fs: fix wrong block mapping for multi-devices
    d6cf1320591d r8152: add error handling in rtl8152_driver_init
    4772e7f18ac2 slab: reset slab->obj_ext when freeing and it is OBJEXTS_ALLOC_FAIL
    e15605b68b49 smb: client: Fix refcount leak for cifs_sb_tlink
    dc15450a5b85 rust: cfi: only 64-bit arm and x86 support CFI_CLANG
    2c6e5904c5bd drm/xe/guc: Check GuC running state before deregistering exec queue
    c1859a8cfe84 Linux 6.12.54
    779327c2be02 nfsd: decouple the xprtsec policy check from check_nfsd_access()
    2d68f8a7379d mount: handle NULL values in mnt_ns_release()
    e051ab688e5d ASoC: SOF: ipc4-pcm: fix start offset calculation for chain DMA
    996b8797d62f nfsd: fix access checking for NLM under XPRTSEC policies
    4c4d66e8110e nfsd: fix __fh_verify for localio
    55fd40390e27 perf test stat: Avoid hybrid assumption when virtualized
    e67e3e738f08 sched/fair: Block delayed tasks on throttled hierarchy during dequeue
    496b5ef11dc3 writeback: Avoid excessively long inode switching times
    bd408c334f3a writeback: Avoid softlockup when switching many inodes
    4bdabd52ca1b cramfs: Verify inode mode when loading from disk
    a05855302b50 fs: Add 'initramfs_options' to set initramfs mount options
    2076b916bf41 pid: Add a judgment for ns null in pid_nr_ns
    446a54d35759 minixfs: Verify inode mode when loading from disk
    e85385d5a400 copy_file_range: limit size if in compat mode
    14fd5e880a47 irqchip/sifive-plic: Avoid interrupt ID 0 handling during suspend/resume
    47744d188004 irqchip/sifive-plic: Make use of __assign_bit()
    e1d6661095b0 s390/bpf: Write back tail call counter for BPF_TRAMP_F_CALL_ORIG
    9d04727414b7 s390/bpf: Write back tail call counter for BPF_PSEUDO_CALL
    67228efec545 s390/bpf: Describe the frame using a struct instead of constants
    f6fa61d89ee5 s390/bpf: Centralize frame offset calculations
    14e4623df610 mm/rmap: fix soft-dirty and uffd-wp bit loss when remapping zero-filled mTHP subpage to shared zeropage
    04610b77809f ipmi: Fix handling of messages with provided receive message pointer
    53d6e403affb ipmi: Rework user message limit handling
    1e059ce9cc7b mptcp: pm: in-kernel: usable client side with C-flag
    532db65943fc ACPI: property: Do not pass NULL handles to acpi_attach_data()
    687ff8354acd ACPI: property: Add code comments explaining what is going on
    6c654ecf6e19 ACPI: property: Disregard references in data-only subnode lists
    237d6e1de0f2 ACPI: battery: Add synchronization between interface updates
    6950184bf51b ACPI: battery: Check for error code from devm_mutex_init() call
    ca0e8805d8f0 ACPI: battery: initialize mutexes through devm_ APIs
    5187bb848aab ACPI: battery: allocate driver data through devm_ APIs
    efbc2d6a9291 nfsd: unregister with rpcbind when deleting a transport
    0a1ee3c932dc nfsd: don't use sv_nrthreads in connection limiting calculations.
    18744bc56b0e nfsd: refine and rename NFSD_MAY_LOCK
    763d4aa41845 NFSD: Replace use of NFSD_MAY_LOCK in nfsd4_lock()
    658bedb82ec5 nfsd: Fix NFSD_MAY_BYPASS_GSS and NFSD_MAY_BYPASS_GSS_ON_ROOT
    34ff466f74d0 x86/kvm: Force legacy PCI hole to UC when overriding MTRRs for TDX/SNP
    b7b6f95bb336 x86/mtrr: Rename mtrr_overwrite_state() to guest_force_mtrr_state()
    423eba50f833 arm64: mte: Do not flag the zero page as PG_mte_tagged
    fa1974fad4bc statmount: don't call path_put() under namespace semaphore
    32c258aad47e KVM: x86: Advertise SRSO_USER_KERNEL_NO to userspace
    81c5d23a2975 cpufreq: Make drivers using CPUFREQ_ETERNAL specify transition latency
    820cfaee9d92 btrfs: fix the incorrect max_bytes value for find_lock_delalloc_range()
    24b760c6c45a mfd: intel_soc_pmic_chtdc_ti: Set use_single_read regmap_config flag
    a632935c1758 mfd: intel_soc_pmic_chtdc_ti: Drop unneeded assignment for cache_type
    71e80c82c608 mfd: intel_soc_pmic_chtdc_ti: Fix invalid regmap-config max_register value
    a4ae0c21ae13 ASoC: SOF: ipc4-pcm: fix delay calculation when DSP resamples
    848e6babaa8a ASoC: SOF: ipc4-pcm: Enable delay reporting for ChainDMA streams
    fb54ffd60064 PCI: endpoint: pci-epf-test: Add NULL check for DMA channels before release
    7e8e579a0c2f PCI: endpoint: Remove surplus return statement from pci_epf_test_clean_dma_chan()
    5e311f009daa mm/ksm: fix incorrect KSM counter handling in mm_struct during fork
    0fa388ab2c29 tracing: Fix race condition in kprobe initialization causing NULL pointer dereference
    875fb3f87ae0 Squashfs: reject negative file sizes in squashfs_read_inode()
    234f6e1f7e6f Squashfs: add additional inode sanity checking
    7db47e737128 media: mc: Clear minor number before put device
    394ad2131933 selftests/mm: skip soft-dirty tests when CONFIG_MEM_SOFT_DIRTY is disabled
    6f02e337cbf4 lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older
    4c0df2938e11 ext4: free orphan info with kvfree
    2722f13fdeeb ACPICA: Allow to skip Global Lock initialization
    c7242c71cb0f ext4: validate ea_ino and size in check_xattrs
    6b879c4c6bba ext4: guard against EA inode refcount underflow in xattr update
    4c2473d591e1 ext4: fix an off-by-one issue during moving extents
    2a0cf438320c ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()
    d0327630ecab ext4: correctly handle queries for metadata mappings
    c2ad6583fe26 ext4: increase i_disksize to offset + len in ext4_update_disksize_before_punch()
    a2d803fab8a6 ext4: verify orphan file size is not too big
    9169ef838d0c ext4: add ext4_sb_bread_nofail() helper function for ext4_free_branches()
    6248ff249b4f nfsd: nfserr_jukebox in nlm_fopen should lead to a retry
    017addab06aa NFSD: Fix destination buffer size in nfsd4_ssc_setup_dul()
    d9c7886b84b3 mm/damon/lru_sort: use param_ctx for damon_attrs staging
    ac42320ec873 mm/damon/vaddr: do not repeat pte_offset_map_lock() until success
    b9737c2063ab mm/hugetlb: early exit from hugetlb_pages_alloc_boot() when max_huge_pages=0
    856fe1a900a6 mm/page_alloc: only set ALLOC_HIGHATOMIC for __GPF_HIGH allocations
    ee2b37c11d62 mm/thp: fix MTE tag mismatch when replacing zero-filled subpages
    b419093e5e42 wifi: mt76: mt7921u: Add VID/PID for Netgear A7500
    feb1774aaf85 wifi: mt76: mt7925u: Add VID/PID for Netgear A9000
    bd3ac455a88d wifi: ath11k: HAL SRNG: don't deinitialize and re-initialize again
    715b6a5b41da slab: mark slab->obj_exts allocation failures unconditionally
    e8baa4bf9d90 slab: prevent warnings when slab obj_exts vector allocation fails
    f7ab235fa0d7 s390: Add -Wno-pointer-sign to KBUILD_CFLAGS_DECOMPRESSOR
    54ccd92b7976 s390/dasd: Return BLK_STS_INVAL for EINVAL from do_dasd_request
    9582756d9746 s390/dasd: enforce dma_alignment to ensure proper buffer validation
    86cade051b67 selftests: mptcp: join: validate C-flag + def limit
    93749fb7f6a4 x86/umip: Fix decoding of register forms of 0F 01 (SGDT and SIDT aliases)
    4fe479073715 x86/umip: Check that the instruction opcode is at least two bytes
    08c70f1f7217 x86/fred: Remove ENDBR64 from FRED entry points
    1ce9d6c60c92 spi: cadence-quadspi: Fix cqspi_setup_flash()
    a3a7b7467956 spi: cadence-quadspi: Flush posted register writes before DAC access
    4497954dd233 spi: cadence-quadspi: Flush posted register writes before INDAC access
    1f17a94311e8 PCI: tegra194: Reset BARs when running in PCIe endpoint mode
    a93bd0a668b2 PCI: tegra194: Handle errors in BPMP response
    695c062da7d3 PCI: tegra194: Fix broken tegra_pcie_ep_raise_msi_irq()
    7503861b839b PCI: rcar-host: Convert struct rcar_msi mask_lock into raw spinlock
    8f79f82ea5da PCI: rcar-host: Drop PMSR spinlock
    551108bd5c9b PCI: rcar-gen4: Fix PHY initialization
    65b218539486 PCI: keystone: Use devm_request_irq() to free "ks-pcie-error-irq" on exit
    37e46d6cfb7d PCI: j721e: Fix programming sequence of "strap" settings
    3bc0a180d928 PCI/AER: Support errors introduced by PCIe r6.0
    a4bc85f083ad PCI/AER: Fix missing uevent on recovery when a reset is requested
    2fad3c11066c PCI/ERR: Fix uevent on failure to recover
    53154cd40ccf PCI/IOV: Add PCI rescan-remove locking when enabling/disabling SR-IOV
    3ea9bd428581 PCI/sysfs: Ensure devices are powered for config reads
    d4f9b44e81fc PCI: tegra: Convert struct tegra_msi mask_lock into raw spinlock
    97e4a50069fc PCI: xilinx-nwl: Fix ECAM programming
    866236611286 rseq/selftests: Use weak symbol reference, not definition, to link with glibc
    4790e3a1f61d rtc: interface: Fix long-standing race when setting alarm
    04eaae798085 rtc: interface: Ensure alarm irq is enabled when UIE is enabled
    cbcfb32b6aae memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe
    99141fc03c22 mmc: mmc_spi: multiple block read remove read crc ack
    cb7a1f5e2930 mmc: core: SPI mode remove cmd7
    c2c8a3bfd824 mtd: rawnand: fsmc: Default to autodetect buswidth
    1463cd066f32 xsk: Harden userspace-supplied xdp_desc validation
    d381de7fd4cd xtensa: simdisk: add input size check in proc_write_simdisk
    e3c5ac668bb9 sparc: fix error handling in scan_one_device()
    9632dd92bd55 sparc64: fix hugetlb for sun4u
    8019b3699289 sctp: Fix MAC comparison to be constant-time
    4fbcd2bc60df scsi: sd: Fix build warning in sd_revalidate_disk()
    7b2ef1a0a2f1 scsi: hpsa: Fix potential memory leak in hpsa_big_passthru_ioctl()
    305b1a39f3bb sched/deadline: Fix race in push_dl_task()
    b9cc7155e65f Revert "ipmi: fix msg stack when IPMI is disconnected"
    d9457e625875 pwm: berlin: Fix wrong register in suspend/resume
    e5505b3c7370 powerpc/pseries/msi: Fix potential underflow and leak issue
    e7057be810ed powerpc/powernv/pci: Fix underflow and leak issue
    b91518adbec9 power: supply: max77976_charger: fix constant current reporting
    fb03a2cd4b1b pinctrl: samsung: Drop unused S3C24xx driver data
    df2a0ee58d9e nvme-pci: Add TUXEDO IBS Gen8 to Samsung sleep quirk
    371ccc8908b3 parisc: Remove spurious if statement from raw_copy_from_user()
    a75aa35e1aa1 parisc: don't reference obsolete termio struct for TC* constants
    660b40a31932 openat2: don't trigger automounts with RESOLVE_NO_XDEV
    f112154107d4 of: unittest: Fix device reference count leak in of_unittest_pci_node_verify
    b4f4122b5795 loop: fix backing file reference leak on validation error
    e5400e827220 lib/genalloc: fix device leak in of_gen_pool_get()
    ec230e7ac6a9 KEYS: trusted_tpm1: Compare HMAC values in constant time
    19b45c84bd9f kernel/sys.c: fix the racy usage of task_lock(tsk->group_leader) in sys_prlimit64() paths
    38946f094bbd iommu/vt-d: PRS isn't usable if PDS isn't supported
    c322dc8051b8 iio: imu: inv_icm42600: Drop redundant pm_runtime reinitialization in resume
    6187753da298 init: handle bootloader identifier in kernel parameters
    bb9730d8c063 iio: xilinx-ams: Unmask interrupts after updating alarms
    2165424b1485 iio: xilinx-ams: Fix AMS_ALARM_THR_DIRECT_MASK
    9fcf4821964b iio: frequency: adf4350: Fix prescaler usage.
    4b8613394c0d iio: dac: ad5421: use int type to store negative error codes
    f10ec6a5a22f iio: dac: ad5360: use int type to store negative error codes
    cf2f2250882a iio/adc/pac1934: fix channel disable configuration
    b26923512dbe fuse: fix livelock in synchronous file put from fuseblk workers
    a9bce5fed67c fuse: fix possibly missing fuse_copy_finish() call in fuse_notify()
    f12039df1515 fs: quota: create dedicated workqueue for quota_release_work
    8ce394a094f1 fs/ntfs3: Fix a resource leak bug in wnd_extend()
    f7cf0d774710 fbdev: Fix logic error in "offb" name match
    b99bc5a48ddc eventpoll: Replace rwlock with spinlock
    23351fbe499f crypto: rockchip - Fix dma_unmap_sg() nents value
    f037ab3dd49c crypto: atmel - Fix dma_unmap_sg() direction
    3ddd4942ea3d crypto: aspeed - Fix dma_unmap_sg() direction
    ba63d4e9857a cpufreq: intel_pstate: Fix object lifecycle issue in update_qos_request()
    bc9f74e96b3e copy_sighand: Handle architectures where sizeof(unsigned long) < sizeof(u64)
    c83d6fbabc07 clk: qcom: tcsrcc-x1e80100: Set the bi_tcxo as parent to eDP refclk
    61a60c45ebd6 bus: mhi: host: Do not use uninitialized 'dev' pointer in mhi_init_irq_setup()
    3d20d59c0e86 bus: mhi: ep: Fix chained transfer handling in read path
    361d67276eb8 btrfs: avoid potential out-of-bounds in btrfs_encode_fh()
    c7c6c09cb46f blk-crypto: fix missing blktrace bio split events
    a91c4c1efb9a drm/amd/display: Enable Dynamic DTBCLK Switch
    ee49c1cf1b9c drm/xe/uapi: loosen used tracking restriction
    eca4673229b0 drm/nouveau: fix bad ret code in nouveau_bo_move_prep
    82ba9b12e8ee drm/rcar-du: dsi: Fix 1/2/3 lane support
    ebb874e62067 drm/panthor: Fix memory leak in panthor_ioctl_group_create()
    70de0a96c3a0 media: lirc: Fix error handling in lirc_register()
    cf5cdf7534db media: ti: j721e-csi2rx: Fix source subdev link creation
    a5d05d925a84 media: ti: j721e-csi2rx: Use devm_of_platform_populate
    f52c8cfe84b9 media: vivid: fix disappearing <Vendor Command With ID> messages
    7a5509677577 media: venus: firmware: Use correct reset sequence for IRIS2
    6abc3b74e50a media: s5p-mfc: remove an unused/uninitialized variable
    b7f82da7f864 media: pci: mg4b: fix uninitialized iio scan data
    502ee4852b2c media: pci: ivtv: Add missing check after DMA map
    bf81e513c282 media: mc: Fix MUST_CONNECT handling for pads with no links
    153afef28222 media: i2c: mt9v111: fix incorrect type for ret
    a9edd7f64eed media: cx18: Add missing check after DMA map
    cde6cdb2b25f media: cec: extron-da-hd-4k-plus: drop external-module make commands
    823087ab267e firmware: meson_sm: fix device leak at probe
    b1fc6cc30e12 xen/events: Update virq_to_irq on migration
    a1e7f07ae6b5 xen/events: Return -EEXIST for bound VIRQs
    8f6306ed9f23 xen/manage: Fix suspend error path
    0f8b3aabb253 xen/events: Cleanup find_virq() return codes
    377229c49c08 dt-bindings: phy: rockchip-inno-csi-dphy: make power-domains non-required
    3479e0e9a325 perf/arm-cmn: Fix CMN S3 DTM offset
    719215a16020 ARM: OMAP2+: pm33xx-core: ix device node reference leaks in amx3_idle_init
    3ba58e9158d2 ARM: AM33xx: Implement TI advisory 1.0.36 (EMU0/EMU1 pins state on reset)
    4e7eec38e27d arm64: kprobes: call set_memory_rox() for kprobe page
    454128d96cf5 arm64: dts: ti: k3-am62a-main: Fix main padcfg length
    07dd0edfcdec arm64: dts: qcom: x1e80100-pmics: Disable pm8010 by default
    28901349a6ab arm64: dts: qcom: sdm845: Fix slimbam num-channels/ees
    1e137c4b12b7 arm64: dts: qcom: msm8939: Add missing MDSS reset
    34d90c37bb68 arm64: dts: qcom: msm8916: Add missing MDSS reset
    947751c11e08 ACPI: debug: fix signedness issues in read/write helpers
    594101b69cc5 ACPI: TAD: Add missing sysfs_remove_group() for ACPI_TAD_RT
    c19ce8b13f64 ACPI: property: Fix buffer properties extraction for subnodes
    e3e6f0ba1cd2 s390/vmlinux.lds.S: Move .vmlinux.info to end of allocatable sections
    62f922283aa7 s390: vmlinux.lds.S: Reorder sections
    ee04cff9ed4d bpf: Avoid RCU context warning when unpinning htab with internal structs
    7aef9f900528 gpio: wcd934x: mark the GPIO controller as sleeping
    d9839dbaae6a tpm_tis: Fix incorrect arguments in tpm_tis_probe_irq_single
    fc2f2011d3d8 cifs: Query EA $LXMOD in cifs_query_path_info() for WSL reparse points
    7a411fb4674d smb: client: fix missing timestamp updates after utime(2)
    6e2c760b644a cifs: Fix copy_to_iter return value check
    dc4c854a5e74 crypto: essiv - Check ssize for decryption and in-place encryption
    a794af484367 selftests: netfilter: query conntrack state to check for port clash resolution
    dae85dc6ad5b bridge: br_vlan_fill_forward_path_pvid: use br_vlan_group_rcu()
    7ea55a44493a netfilter: nft_objref: validate objref and objrefmap expressions
    d74bcf496985 drm/amd/display: Properly disable scaling on DCE6
    00f1bd57068b drm/amd/display: Properly clear SCL_*_FILTER_CONTROL on DCE6
    56251bdf36ee drm/amd/display: Add missing DCE6 SCL_HORZ_FILTER_INIT* SRIs
    9626d3af3cd1 drm/amdgpu: Add additional DCE6 SCL registers
    2ff846335798 mailbox: mtk-cmdq: Remove pm_runtime APIs from cmdq_mbox_send_data()
    b586fbbebd49 mailbox: mtk-cmdq: Switch to pm_runtime_put_autosuspend()
    2a2b88a2d780 mailbox: mtk-cmdq-mailbox: Switch to __pm_runtime_put_autosuspend()
    f36a305d30f5 bpf: Fix metadata_dst leak __bpf_redirect_neigh_v{4,6}
    1ee147efee68 mailbox: zynqmp-ipi: Fix SGI cleanup on unbind
    cd0cbf2713f6 mailbox: zynqmp-ipi: Fix out-of-bounds access in mailbox cleanup loop
    91bbee4e6dfe mailbox: zynqmp-ipi: Remove dev.parent check in zynqmp_ipi_free_mboxes
    ddd9c81a1b3b mailbox: zynqmp-ipi: Remove redundant mbox_controller_unregister() call
    6d6754330981 tcp: take care of zero tp->window_clamp in tcp_set_rcvlowat()
    cdab92a75985 perf python: split Clang options when invoking Popen
    882b91ec6e9f tools build: Align warning options with perf
    6f4f4bab8973 net: fsl_pq_mdio: Fix device node reference leak in fsl_pq_mdio_probe
    7b9269de9815 ice: ice_adapter: release xa entry on adapter allocation failure
    70acdd1eb35f net: mscc: ocelot: Fix use-after-free caused by cyclic delayed work
    c11ace909e87 tcp: Don't call reqsk_fastopen_remove() in tcp_conn_request().
    d0e8f1445c19 net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
    488c94753979 drm/vmwgfx: Fix copy-paste typo in validation
    655a2f29bfc2 drm/vmwgfx: Fix Use-after-free in validation
    13c9e4ed125e drm/vmwgfx: Fix a null-ptr access in the cursor snooper
    f224b06c7281 s390/cio: Update purge function to unregister the unused subchannels
    c772e7cc9045 drm/xe/hw_engine_group: Fix double write lock release in error path
    e82948ba83cc net/mlx4: prevent potential use after free in mlx4_en_do_uc_filter()
    9fc2af69d5d1 ASoC: SOF: Intel: Read the LLP via the associated Link DMA channel
    2db1464d8be2 LoongArch: Init acpi_gbl_use_global_lock to false
    f7f2b1c3038c LoongArch: Add cflag -fno-isolate-erroneous-paths-dereference
    eb6cd53402db ASoC: SOF: Intel: hda-pcm: Place the constraint on period time instead of buffer time
    a41a9d0a5b59 ASoC: SOF: ipc4-topology: Account for different ChainDMA host buffer size
    53d07ac2adfb ASoC: SOF: ipc4-topology: Correct the minimum host DMA buffer size
    00d3af40b158 scsi: mvsas: Fix use-after-free bugs in mvs_work_queue
    5e1020047cb7 cpufreq: tegra186: Set target frequency for all cpus in policy
    8d54bd8d8768 clk: tegra: do not overallocate memory for bpmp clocks
    28defa35ed15 clk: nxp: Fix pll0 rate check condition in LPC18xx CGU driver
    a8b0247e7e9e clk: nxp: lpc18xx-cgu: convert from round_rate() to determine_rate()
    04d7cef497a9 clk: mediatek: clk-mux: Do not pass flags to clk_mux_determine_rate_flags()
    51d376a16e55 clk: mediatek: mt8195-infra_ao: Fix parent for infra_ao_hdmi_26m
    c766c3aa3169 perf evsel: Ensure the fallback message is always written to
    f49a92fe5716 perf tools: Add fallback for exclude_guest
    b01c2dd67929 perf test: Add a test for default perf stat command
    8e67c35a6425 perf test: Don't leak workload gopipe in PERF_RECORD_*
    f1c41dbd0810 perf session: Fix handling when buffer exceeds 2 GiB
    3fcbe5482810 perf test shell lbr: Avoid failures with perf event paranoia
    491c4eed60fa perf test: Update sysfs path for core PMU caps
    20027d8416a4 perf vendor events arm64 AmpereOneX: Fix typo - should be l1d_cache_access_prefetches
    c955a161b4a9 perf arm_spe: Correct memory level for remote access
    4dd0a97e3b7a perf arm-spe: Rename the common data source encoding
    ec29c3e9bdcc perf arm_spe: Correct setting remote access
    bdde538d5d8c rtc: optee: fix memory leak on driver removal
    d98a5eeede96 rtc: x1205: Fix Xicor X1205 vendor prefix
    4be14daf8919 perf util: Fix compression checks returning -1 as bool
    ca370366fdcd clk: renesas: cpg-mssr: Fix memory leak in cpg_mssr_reserved_init()
    18a8d826b469 clk: at91: peripheral: fix return value
    2fe5844fa994 clk: qcom: common: Fix NULL vs IS_ERR() check in qcom_cc_icc_register()
    535e310360f6 libperf event: Ensure tracing data is multiple of 8 sized
    2f3e5c090166 perf evsel: Avoid container_of on a NULL leader
    7be1a7b56ef1 perf test trace_btf_enum: Skip if permissions are insufficient
    2692752311d6 perf disasm: Avoid undefined behavior in incrementing NULL
    1aeb7e6392d5 asm-generic/io.h: Skip trace helpers if rwmmio events are disabled
    94e6336dc1f0 media: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()
    0cd821daa260 iio: frequency: adf4350: Fix ADF4350_REG3_12BIT_CLKDIV_MODE
    2af086f6fd99 KVM: SVM: Emulate PERF_CNTR_GLOBAL_STATUS_SET for PerfMonV2
    801f7999ab8b dma-mapping: fix direction in dma_alloc direction traces
    15b8a5b4cdc1 page_pool: Fix PP_MAGIC_MASK to avoid crashing on some 32-bit arches
    68a8fc370b86 clocksource/drivers/clps711x: Fix resource leaks in error paths
    659874b7ee49 listmount: don't call path_put() under namespace semaphore
    b42a82c630f4 rseq: Protect event mask against membarrier IPI
    fdd380a59505 arm64: map [_text, _stext) virtual address range non-executable+read-only
    90f60c455d10 fscontext: do not consume log entries when returning -EMSGSIZE
    02f0b08f970f fs: always return zero on success from replace_fd()

(From OE-Core rev: ce64ce61cee873d9eeeca0e854e4092b1a1fbd75)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
4e63a67221 linux-yocto/6.12: update CVE exclusions (6.12.53)
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-9152
        Date: Thu, 16 Oct 2025 13:08:42 +0000

    ]

(From OE-Core rev: 1dddfafa3218e786c07f1e8a4dab187514997465)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
cd2780eb30 linux-yocto/6.12: update to v6.12.53
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    fcd03f7736b1 Linux 6.12.53
    9895463ba68a usb: cdns3: cdnsp-pci: remove redundant pci_disable_device() call
    cde10a9473b0 arm64: dts: qcom: qcm2290: Disable USB SS bus instances in park mode
    0e6a67e542f2 usb: typec: tipd: Clear interrupts first
    1534517300e1 net: usb: asix: hold PM usage ref to avoid PM/MDIO + RTNL deadlock
    0da18d49f874 net/9p: Fix buffer overflow in USB transport layer
    84ec0482ed9c bus: fsl-mc: Check return value of platform_get_resource()
    688c688e0bf5 pinctrl: check the return value of pinmux_ops::get_function_name()
    9338093db954 tee: fix register_shm_helper()
    c9b6d789591f remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()
    affc03d44921 sunrpc: fix null pointer dereference on zero-length checksum
    48c96b7e9e03 Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak
    2c988e1f9df0 Input: atmel_mxt_ts - allow reset GPIO to sleep
    802359a52676 misc: fastrpc: Skip reference for DMA handles
    78d33a041555 misc: fastrpc: fix possible map leak in fastrpc_put_args
    6e0928a8988e misc: fastrpc: Fix fastrpc_map_lookup operation
    35216e41b42f misc: fastrpc: Save actual DMA size in fastrpc_map structure
    e4a1e3e88160 nvdimm: ndtest: Return -ENOMEM if devm_kcalloc() fails in ndtest_probe()
    4975c975ed94 mm: hugetlb: avoid soft lockup when mprotect to large memory area
    b1deb39cfd61 fbdev: simplefb: Fix use after free in simplefb_detach_genpds()
    f994e9c790ce KVM: SVM: Skip fastpath emulation on VM-Exit if next RIP isn't valid
    f50bece98c66 ext4: fix checks for orphan inodes
    8173dcfafe11 ksmbd: add max ip connections parameter
    b613671dc185 ksmbd: fix error code overwriting in smb2_get_info_filesystem()
    5cc679ba0f45 ksmbd: Fix race condition in RPC handle list access
    987f2bd63ace LoongArch: Automatically disable kaslr if boot from kexec_file
    19ca45286669 dm: fix NULL pointer dereference in __dm_suspend()
    e258ecf0c2a8 dm: fix queue start/stop imbalance under suspend/load/resume races
    5fa9211e36ea mfd: vexpress-sysreg: Check the return value of devm_gpiochip_add_data()
    0f8b2839b8ce mfd: rz-mtu3: Fix MTU5 NFCR register offset
    74837bca0748 net: nfc: nci: Add parameter validation for packet data
    b57f2d7d3e6b fs: udf: fix OOB read in lengthAllocDescs handling
    0aefa3a4a82b ASoC: codecs: wcd937x: make stub functions inline
    abcd537aae3b ASoC: codecs: wcd937x: set the comp soundwire port correctly
    2be09d893b9c ASoC: SOF: ipc3-topology: Fix multi-core and static pipelines tear down
    1e71e66e8599 ASoC: wcd934x: fix error handling in wcd934x_codec_parse_data()
    696ba6032081 io_uring/waitid: always prune wait queue entry in io_waitid_wait()
    37bd91f22794 uio_hv_generic: Let userspace take care of interrupt mask
    1b3ccd001913 Squashfs: fix uninit-value in squashfs_get_parent
    f45901e51774 tpm: Disable TPM2_TCG_HMAC by default
    5017c302ca4b bpf: Reject negative offsets for ALU ops
    baa37b1c7e29 vhost: vringh: Modify the return value check
    bc5037cafdf5 Revert "net/mlx5e: Update and set Xon/Xoff upon MTU set"
    7a8a8c15468f smb: client: fix crypto buffers in non-linear memory
    52dc9ab65974 net/mlx5: fw reset, add reset timeout work
    91e3b06341d7 net/mlx5: pagealloc: Fix reclaim race during command interface teardown
    a0f5a82cea74 net/mlx5: Stop polling for command response if interface goes down
    7ed5010fef09 net: dlink: handle copy_thresh allocation failure
    778abdf3a511 net: ena: return 0 in ena_get_rxfh_key_size() when RSS hash key is not configurable
    f6ac534b783f nfp: fix RSS hash key size when RSS is not supported
    43a6a33449dd idpf: fix mismatched free function for dma_alloc_coherent
    373d18f55238 PCI: j721e: Fix incorrect error message in probe()
    61202d3520bc mtd: rawnand: atmel: Fix error handling path in atmel_nand_controller_add_nands
    df001482396f drivers/base/node: fix double free in register_one_node()
    694d5b401036 ocfs2: fix double free in user_cluster_connect()
    2b6bcce32cb5 hwrng: ks-sa - fix division by zero in ks_sa_rng_init
    bd117f729d62 KEYS: X.509: Fix Basic Constraints CA flag parsing
    fe66d9a92752 Bluetooth: hci_sync: Fix using random address for BIG/PA advertisements
    63a391691e97 Bluetooth: ISO: don't leak skb in ISO_CONT RX
    cd4d126706d0 Bluetooth: ISO: free rx_skb if not consumed
    80689777919f Bluetooth: ISO: Fix possible UAF on iso_conn_free
    9a331a8d7ce5 Bluetooth: MGMT: Fix not exposing debug UUID on MGMT_OP_READ_EXP_FEATURES_INFO
    b3a950d236e9 vhost: vringh: Fix copy_to_iter return value check
    8dd446056336 ptp: Add a upper bound on max_vclocks
    6053e47bbf21 net: usb: Remove disruptive netif_wake_queue in rtl8150_set_multicast
    745367d04c02 RDMA/siw: Always report immediate post SQ errors
    ebe16d245a00 iommu/vt-d: Disallow dirty tracking if incoherent page walk
    ec853bd88533 PCI: rcar-gen4: Fix inverted break condition in PHY initialization
    6eaea5dfd546 PCI: rcar-gen4: Assure reset occurs before DBI access
    efa275174aab PCI: rcar-gen4: Add missing 1ms delay after PWR reset assertion
    94a84eacca81 usb: vhci-hcd: Prevent suspending virtually attached devices
    1fd39e14d47d scsi: mpt3sas: Fix crash in transport port remove by using ioc_info()
    78e7653ded44 netfilter: nfnetlink: reset nlh pointer during batch replay
    dc1a481359a7 ipvs: Defer ip_vs_ftp unregister during netns cleanup
    35b11653da50 NFSv4.1: fix backchannel max_resp_sz verification check
    8c4e7e646d5d coresight: Fix incorrect handling for return value of devm_kzalloc
    af8286832855 coresight: tpda: fix the logic to setup the element size
    296da7849463 coresight: trbe: Return NULL pointer for allocation failures
    e7c195695b75 coresight: etm4x: Support atclk
    46915cabba69 coresight: catu: Support atclk
    670bdf9eacd9 coresight: tmc: Support atclk
    a1b2c8b7af21 coresight-etm4x: Conditionally access register TRCEXTINSELR
    ad58a89bb5da dm vdo: return error on corrupted metadata in start_restoring_volume functions
    526859e41db8 remoteproc: qcom: q6v5: Avoid disabling handover IRQ twice
    0b22cf23d26d PCI: tegra194: Fix duplicate PLL disable in pex_ep_event_pex_rst_assert()
    8055133a9f64 wifi: rtw89: avoid circular locking dependency in ser_state_run()
    52edccfb5551 RDMA/rxe: Fix race in do_task() when draining
    a87a21a56244 crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs
    81b43dd85c52 vfio/pds: replace bitmap_free with vfree
    c31cb4df701b sparc: fix accurate exception reporting in copy_{from,to}_user for M7
    5d8857c43bf1 sparc: fix accurate exception reporting in copy_to_user for Niagara 4
    a90ce516a73d sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara
    5ef9c94d7110 sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC III
    7de3a75bbc84 sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC
    aea038062edf ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback
    1c873416758f wifi: mac80211: fix Rx packet handling when pubsta information is not available
    d8cf7b59c49f iommu/vt-d: debugfs: Fix legacy mode page table dump logic
    6e7d9fa61d7d wifi: ath10k: avoid unnecessary wait for service ready message
    8d4f6ab4c53e wifi: ath12k: fix wrong logging ID used for CE
    bf4ced5cfa24 Documentation: trace: historgram-design: Separate sched_waking histogram section heading and the following diagram
    e69c550557b9 IB/sa: Fix sa_local_svc_timeout_ms read race
    5f4abda482b9 RDMA/core: Resolve MAC of next-hop device without ARP support
    11559d14ed95 Revert "usb: xhci: Avoid Stop Endpoint retry loop if the endpoint seems Running"
    8ec4fa035c08 f2fs: fix zero-sized extent for precache extents
    5b1c071d5e9f HID: hidraw: tighten ioctl command parsing
    582e82905d97 scsi: qla2xxx: Fix incorrect sign of error code in qla_nvme_xmt_ls_rsp()
    5726fbabdcf6 scsi: qla2xxx: Fix incorrect sign of error code in START_SP_W_RETRIES()
    87c5ec3e3089 scsi: qla2xxx: edif: Fix incorrect sign of error code
    0846bce8f307 ACPI: NFIT: Fix incorrect ndr_desc being reportedin dev_err message
    63ee96c7f47d ALSA: pcm: Disable bottom softirqs as part of spin_lock_irq() on PREEMPT_RT
    d6b19dacc094 f2fs: fix to mitigate overhead of f2fs_zero_post_eof_page()
    a7b7ebdd7045 f2fs: fix to truncate first page in error path of f2fs_truncate()
    f9bd59d1600f f2fs: fix to update map->m_next_extent correctly in f2fs_map_blocks()
    fc00890c55e3 wifi: mt76: mt7915: fix mt7981 pre-calibration
    e18c4e6ba36c wifi: mt76: mt7996: Convert mt7996_wed_rro_addr to LE
    f481404a9826 wifi: mt76: mt7996: Fix RX packets configuration for primary WED device
    57519239c76c wifi: mt76: fix potential memory leak in mt76_wmac_probe()
    04eb384c1233 RDMA/cm: Rate limit destroy CM ID timeout error message
    101bb4cd083a drivers/base/node: handle error properly in register_one_node()
    80c9011ed8fe watchdog: mpc8xxx_wdt: Reload the watchdog timer when enabling the watchdog
    c500963f6a0a ipvs: Use READ_ONCE/WRITE_ONCE for ipvs->enable
    c2086d1ef3d2 netfilter: ipset: Remove unused htable_bits in macro ahash_region
    e2ed57019832 iio: consumers: Fix offset handling in iio_convert_raw_to_processed()
    5be3c7479b99 iio: consumers: Fix handling of negative channel scale in iio_convert_raw_to_processed()
    be66551da203 fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist
    9378cfe228c2 fs: ntfs3: Fix integer overflow in run_unpack()
    1627a50c8566 drm/msm/dpu: fix incorrect type for ret
    fdf99978a648 ASoC: Intel: bytcr_rt5651: Fix invalid quirk input mapping
    5c03ea2ef4eb ASoC: Intel: bytcr_rt5640: Fix invalid quirk input mapping
    d941f5f9612f ASoC: Intel: bytcht_es8316: Fix invalid quirk input mapping
    209e5d4f5cb7 idpf: fix Rx descriptor ready check barrier in splitq
    27c8e2e4b56f wifi: iwlwifi: Remove redundant header files
    f01fa3588e0b pps: fix warning in pps_register_cdev when register device fail
    d5997900ef5f misc: genwqe: Fix incorrect cmd field being reported in error
    5416e89b81b0 tty: n_gsm: Don't block input queue by waiting MSC
    97f27d4a2b8d usb: gadget: configfs: Correctly set use_os_string at bind
    6dfcd6afa83a usb: phy: twl6030: Fix incorrect type for ret
    a3bc86d5cf70 drm/amdkfd: Fix error code sign for EINVAL in svm_ioctl()
    96a1e350dfed tcp: fix __tcp_close() to only send RST when required
    6207748e77f4 PCI: tegra: Fix devm_kcalloc() argument order for port->phys allocation
    605402433eb8 wifi: mwifiex: send world regulatory domain to driver
    0bb91bed82d4 drm/amd/pm: Disable SCLK switching on Oland with high pixel clocks (v3)
    08de17b64830 drm/amd/pm: Disable MCLK switching with non-DC at 120 Hz+ (v2)
    863cd8f56c8e drm/amd/pm: Treat zero vblank time as too short in si_dpm (v3)
    568f8545f88a drm/amd/pm: Adjust si_upload_smc_data register programming (v3)
    edfa71149429 drm/amd/pm: Fix si_upload_smc_data (v3)
    32710128d3fc drm/amd/pm: Disable ULV even if unsupported (v3)
    3f185e616fcf drm/amdgpu: Power up UVD 3 for FW validation (v2)
    2e5a94f26f37 coresight: Only register perf symlink for sinks with alloc_buffer
    50c3564cca61 inet: ping: check sock_net() in ping_get_port() and ping_lookup()
    8d2a4bc4f7f9 crypto: hisilicon/qm - check whether the input function and PF are on the same device
    a3540380971a crypto: hisilicon - re-enable address prefetch after device resuming
    749c611d680f crypto: hisilicon/zip - remove unnecessary validation for high-performance mode configurations
    2047ffc5c5d3 media: st-delta: avoid excessive stack usage
    ae60a599fd01 ALSA: lx_core: use int type to store negative error codes
    d91b39e21ca1 PCI/ACPI: Fix pci_acpi_preserve_config() memory leak
    98f51490906a RDMA/mlx5: Fix vport loopback forcing for MPV device
    bc63dab8a09b RDMA/mlx5: Better estimate max_qp_wr to reflect WQE count
    e7df90a8522f media: rj54n1cb0c: Fix memleak in rj54n1_probe()
    eacda650a9e8 crypto: octeontx2 - Call strscpy() with correct size argument
    f04335d2020d scsi: myrs: Fix dma_alloc_coherent() error check
    9326a1541e1b scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod
    39a59796775f hwrng: nomadik - add ARM_AMBA dependency
    353856179c39 crypto: keembay - Add missing check after sg_nents_for_len()
    3c3ee1026e88 drm/amd/display: Remove redundant semicolons
    2f2c75f8692c serial: max310x: Add error checking in probe()
    3c518d2df3ab usb: misc: qcom_eud: Access EUD_MODE_MANAGER2 through secure calls
    e68ea6de1d05 usb: host: max3421-hcd: Fix error pointer dereference in probe cleanup
    72c64fa2e474 phy: rockchip: naneng-combphy: Enable U3 OTG port for RK3568
    0ea9e0b0d594 media: zoran: Remove zoran_fh structure
    91fc36f23b30 drm/bridge: it6505: select REGMAP_I2C
    3db3e7d4f2d9 f2fs: fix condition in __allow_reserved_blocks()
    ebed78bfd6df drm/radeon/r600_cs: clean up of dead code in r600_cs
    93831b3914ae drm/panel: novatek-nt35560: Fix invalid return value
    f856c598080b bpf: Enforce expected_attach_type for tailcall compatibility
    9f57ad89c7c2 libbpf: Fix error when st-prefix_ops and ops from differ btf
    66da22768c80 i2c: designware: Add disabling clocks when probe fails
    7493b30cc650 i2c: designware: Fix clock issue when PM is disabled
    be5165760b28 i2c: mediatek: fix potential incorrect use of I2C_MASTER_WRRD
    7ac2241635b0 thermal/drivers/qcom/lmh: Add missing IRQ includes
    482f1b6f562f thermal/drivers/qcom: Make LMH select QCOM_SCM
    8862df27c4a2 hwmon: (mlxreg-fan) Separate methods of fan setting coming from different subsystems
    c8f9b7cd3b68 once: fix race by moving DO_ONCE to separate section
    bafb3f16bd46 bpf: Mark kfuncs as __noclone
    a9f10c9f72d3 spi: fix return code when spi device has too many chipselects
    d7a3eb593190 tools/nolibc: make time_t robust if __kernel_old_time_t is missing in host headers
    372a5b01da50 smp: Fix up and expand the smp_call_function_many() kerneldoc
    76e53c74f116 bpf, arm64: Call bpf_jit_binary_pack_finalize() in bpf_jit_free()
    fe9d33f04703 bpf: Explicitly check accesses to bpf_sock_addr
    48fa79b0c670 selftests: watchdog: skip ping loop if WDIOF_KEEPALIVEPING not supported
    630217db71de i3c: master: svc: Recycle unused IBI slot
    b20c7915b456 i3c: master: svc: Use manual response for IBI events
    7331925c247b nvmet-fc: move lsop put work to nvmet_fc_ls_req_op
    92751937f12a riscv, bpf: Sign extend struct ops return values properly
    f955ceecfca2 ACPICA: Fix largest possible resource descriptor index
    b38bcdba1107 pwm: tiehrpwm: Fix corner case in clock divisor calculation
    a048bb2d4f8f pwm: tiehrpwm: Fix various off-by-one errors in duty-cycle calculation
    6599fff32020 pwm: tiehrpwm: Make code comment in .free() more useful
    0a953be6e35c pwm: tiehrpwm: Don't drop runtime PM reference in .free()
    3eaac5621a43 arm64: dts: mediatek: mt8516-pumpkin: Fix machine compatible
    2ea7d448f92d arm64: dts: mediatek: mt8395-kontron-i1200: Fix MT6360 regulator nodes
    79bf4074d58e arm64: dts: mediatek: mt6795-xperia-m5: Fix mmc0 latch-ck value
    13f46cfa4958 mmc: core: Fix variable shadowing in mmc_route_rpmb_frames()
    ea225b121a55 arm64: dts: mediatek: mt6331: Fix pmic, regulators, rtc, keys node names
    8d35c417f8ab arm64: dts: mediatek: mt8186-tentacruel: Fix touchscreen model
    7dc3b7ac8ef7 cpuidle: qcom-spm: fix device and OF node leaks at probe
    06393f068196 soc: mediatek: mtk-svs: fix device leaks on mt8192 probe failure
    491ffa889e8d soc: mediatek: mtk-svs: fix device leaks on mt8183 probe failure
    1f2b0648ae18 firmware: firmware: meson-sm: fix compile-test default
    f7344709705c PM / devfreq: rockchip-dfi: double count on RK3588
    37ad11f20e16 nbd: restrict sockets to TCP and UDP
    d0498ecc60de arm64: dts: mediatek: mt8195: Remove suspend-breaking reset from pcie0
    bd4abf7c54a2 selftests: vDSO: vdso_test_abi: Correctly skip whole test with missing vDSO
    7bdde6f93870 selftests: vDSO: Fix -Wunitialized in powerpc VDSO_CALL() wrapper
    79eb7b3a385b null_blk: Fix the description of the cache_size module argument
    4efc41da15a9 pinctrl: renesas: Use int type to store negative error codes
    96eff71060f9 power: supply: cw2015: Fix a alignment coding style issue
    44e32104cf7e PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()
    b08f2e3bbbf2 ARM: dts: omap: am335x-cm-t335: Remove unused mcasp num-serializer property
    465891535f3e ARM: dts: ti: omap: omap3-devkit8000-lcd: Fix ti,keep-vref-on property to use correct boolean syntax in DTS
    1950e0189689 ARM: dts: ti: omap: am335x-baltos: Fix ti,en-ck32k-xtal property in DTS to use correct boolean syntax
    3a57944a483b vdso: Add struct __kernel_old_timeval forward declaration to gettime.h
    4e0043a5424f PM: sleep: core: Clear power.must_resume in noirq suspend error path
    60002c90f2f2 block: use int to store blk_stack_limits() return value
    7b7b864133ad leds: leds-lp55xx: Use correct address for memory programming
    8ef1bbcc40e5 selftests/nolibc: fix EXPECT_NZ macro
    8ffe812280c4 regulator: scmi: Use int type to store negative error codes
    0f43928b691e arm64: dts: apple: t8103-j457: Fix PCIe ethernet iommu-map
    84df283fd679 ARM: at91: pm: fix MCKx restore routine
    babc634e9fe2 blk-mq: check kobject state_in_sysfs before deleting in blk_mq_unregister_hctx
    1982e86cafd0 pinctrl: meson-gxl: add missing i2c_d pinmux
    11df3ff2b4d0 soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS
    31ff8aa00948 ACPI: processor: idle: Fix memory leak when register cpuidle device failed
    016219d54c90 arm64: dts: imx95: Correct the lpuart7 and lpuart8 srcid
    de6d30a091b7 arm64: dts: imx93-kontron: Fix USB port assignment
    1d25adb99ac0 arm64: dts: imx93-kontron: Fix GPIO for panel regulator
    29fb9633bf12 firmware: arm_scmi: Mark VirtIO ready before registering scmi_virtio_driver
    1a1f50bdd8de cpufreq: scmi: Account for malformed DT in scmi_dev_used_by_cpus()
    e1ce777fbcbd leds: flash: leds-qcom-flash: Update torch current clamp setting
    3d7c00633b83 ARM: dts: renesas: porter: Fix CAN pin group
    623542791a3f libbpf: Fix reuse of DEVMAP
    f059795ec6ea bpf: Remove migrate_disable in kprobe_multi_link_prog_run
    a5af34777e6e bpf/selftests: Fix test_tcpnotify_user
    e907b272e308 regmap: Remove superfluous check for !config in __regmap_init()
    aec49ec4bbf6 arm64: dts: renesas: rzg2lc-smarc: Disable CAN-FD channel0
    e1a5a3a8ab41 pinctrl: renesas: rzg2l: Fix invalid unsigned return in rzg3s_oen_read()
    d673f78da385 btrfs: return any hit error from extent_writepage_io()
    1c060a147670 lsm: CONFIG_LSM can depend on CONFIG_SECURITY
    d607e6b349b0 x86/vdso: Fix output operand size of RDPID
    1652f14cf3be EDAC/i10nm: Skip DIMM enumeration on a disabled memory controller
    180bb95b6908 smb: server: fix IRD/ORD negotiation with the client
    1a19ba8e1f4f perf: arm_spe: Prevent overflow in PERF_IDX2OFF()
    047ce5b3d78c coresight: trbe: Prevent overflow in PERF_IDX2OFF()
    8690cf593113 uprobes: uprobe_warn should use passed task
    26fa5088efca powerpc/603: Really copy kernel PGD entries into all PGDIRs
    554bb7c95eda powerpc/8xx: Remove left-over instruction and comments in DataStoreTLBMiss handler
    9495ba836d9b gfs2: Fix GLF_INVALIDATE_IN_PROGRESS flag clearing in do_xmote
    18cb2685358f selftests: arm64: Check fread return value in exec_target
    dadf1f4423e1 seccomp: Fix a race with WAIT_KILLABLE_RECV if the tracer replies too fast
    cb097bd6c8a4 init: INITRAMFS_PRESERVE_MTIME should depend on BLK_DEV_INITRD
    a13e07abed04 filelock: add FL_RECLAIM to show_fl_flags() macro

(From OE-Core rev: d9983fceeb7644e51eadc94cebdde6c9298af8fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
f2dcd10c3f linux-yocto/6.17: update CVE exclusions (6.17.6)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 6 changes (4 new | 2 updated): - 4 new CVEs: CVE-2025-60319, CVE-2025-61120, CVE-2025-61121, CVE-2025-62726 - 2 updated CVEs: CVE-2023-41265, CVE-2025-12517
        Date: Thu, 30 Oct 2025 16:36:48 +0000

    ]

(From OE-Core rev: ad94b1887c0a5a8ab69c44c132671d4423127e00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
0932e3ef23 linux-yocto/6.17: update to v6.17.6
Updating linux-yocto/6.17 to the latest korg -stable release that comprises
the following commits:

(From OE-Core rev: 90b0a6c1e0f34263c5b64f807ec06ef00c53e507)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
70c5c968af linux-yocto/6.17: fix rdinit boot warning
Integrating the following commit(s) to linux-yocto/6.17:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: boot: only emit rdinit warning on initramfs boot
    Date: Mon, 27 Oct 2025 09:47:05 -0400

    commit 98aa4d5d242d3a73 [init/main.c: add warning when file specified in
    rdinit is inaccessible] promoted a long time check to be visible on
    boot.

    The issue is that it is always issued even when an initramfs boot is
    not used.

    To avoid needing to completely disable CONFIG_BLK_DEV_INITRD and not
    have the warning issues when an initramfs isn't used, we add checks for
    the existence and size of an initramfs before allowing the warning
    to be generated.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 32b64d9e138b42aa5747f6d3328b105fbfbcc6eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
e0f756f872 linux-yocto/6.17: unify qemumips (malta) branches
The 6.17+ kernel cache is using a single branch for the mti malta
machines, which are what qemumips* emulate. We update our branch
specification to make them buildable.

(From OE-Core rev: 74618dfa1289ad772e5a36240d2b6d180877ed87)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
8bd830e392 linux-yocto/6.17: fix qemuarm config audit warning
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: qemuarm: fix configuration audit warnings
    Date: Sat, 25 Oct 2025 00:03:25 -0400

    We drop options that were removed by this kernel commit:

    commit 70cb6ca58fddb02e269fe743ba75d53d577b5b1c
    Author: Eric Biggers <ebiggers@kernel.org>
    Date:   Sat Jul 12 16:22:58 2025 -0700

        lib/crypto: arm/sha1: Migrate optimized code into library

        Instead of exposing the arm-optimized SHA-1 code via arm-specific
        crypto_shash algorithms, instead just implement the sha1_blocks()
        library function.  This is much simpler, it makes the SHA-1 library
        functions be arm-optimized, and it fixes the longstanding issue where
        the arm-optimized SHA-1 code was disabled by default.  SHA-1 still
        remains available through crypto_shash, but individual architectures no
        longer need to handle it.

        To match sha1_blocks(), change the type of the nblocks parameter of the
        assembly functions from int to size_t.  The assembly functions actually
        already treated it as size_t.

        Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
        Link: https://lore.kernel.org/r/20250712232329.818226-8-ebiggers@kernel.org
        Signed-off-by: Eric Biggers <ebiggers@kernel.org>

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: ac82bfebde6614cbcf1d815d90d97668d2ead93d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
d5487f505b linux-yocto/6.17: update CVE exclusions (6.17.5)
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-62714
        Date: Fri, 24 Oct 2025 17:30:19 +0000

    ]

(From OE-Core rev: 6d51d655b71966a252a955f335b578eccabc8a86)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Bruce Ashfield
78eee6904c linux-yocto: introduce 6.17 reference kernels
The 6.17 kernel went through quite a bit of testing via
linux-yocto-dev, so it is a relatively well understood release.

These recipes introduce it as a fully tested reference with the
potential to replace the EOL 6.16 refs.

(From OE-Core rev: fcf5527f45b97f8699d0d6567df89461b8bb01ef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-11-03 17:40:41 +00:00
Dmitry Baryshkov
77348b07cc linux-firmware: drop catch-all QCA package
With the linux-firmware now being an empty package there is no need in
the catch-all ${PN}-qca-misc package since developers will have to
package all firmware separately. Drop useless packages now.

(From OE-Core rev: 380ea7d79a7c7be3eee2fe4f57935787b57ab16c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Bruce Ashfield
94b6794553 linux-libc-headers: update to 6.17
Bumping the linux-libc-headers to match the recent 6.17 reference
kernel.

(From OE-Core rev: e1b1244c710a0d5b8a7373717797dfc6d301ebd7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Archana Polampalli
a807bfa8a1 openssh: Upgrade 10.0p1 -> 10.1p1
Changelog:
https://www.openssh.org/txt/release-10.1

RP: There are some changes to confg options and new warnings but those warnings
would only trigger on older openssh before 9.0 (April 2022).

(From OE-Core rev: 251a2997b432bfba98a94e58a557c06d9c3d416d)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Jiaying Song
2f5d21049f kernel-devsrc: fix incorrect python shebang replacement
Update the sed replacement rule to strictly match '/usr/bin/python'
(with no trailing characters)

The previous sed rule was too broad and could incorrectly change Python
shebangs such as in
/lib/modules/6.16.11-yocto-standard/build/scripts/macro_checker.py from
'#!/usr/bin/python3' to '#!/usr/bin/env python33'.

(From OE-Core rev: c548259dbf55f2194088e62ad018560286834e49)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Gyorgy Sarvari
351f7f3b4c fmt: make ptest installation and execution more posix compliant
Instead of using `ls...` just enumerate the folder content with an asterisk.

No behavior change should come from this patch.

(From OE-Core rev: b1870e588958fa6957278a6c253a70fa30485764)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Enrico Jörns
78bd8888af barebox.bbclass: set KBUILD_OUTPUT
Sets KBUILD_OUTPUT to the build directory to ensure using the valid
path in e.g. menuconfig or devshell.

An externally set KBUILD_OUTPUT could otherwise confuse the build
process and create the .config from an invalid folder.

This is what the kernel recipes also do.

(From OE-Core rev: 7e72477b8f4c323e3ea0497877c1b6486b2547a5)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Enrico Jörns
2d7b511b20 barebox: upgrade 2025.08.0 -> 2025.09.0
Changes in 2025.09.0
--------------------

* Added support for SoCFPGA Agilex5 and Rockchip RK3576
* Added structured I/O support for shell commands
* Added support for booting signed Rockchip images
* Support for adding device tree overlay (.dtbo) files to FIT images
* New 'bfetch' eyecandy tool for displaying logo and system information
  (similar to 'neofetch')
* Several other fixes and improvements

Changelog: https://lore.barebox.org/barebox/aNugWfoJR_2AirEx@pengutronix.de/

Migration Guide:
https://barebox.org/doc/latest/migration-guides/migration-2025.09.0.html

(From OE-Core rev: f7950986a45d9c95d91ecebe00405c0e65c83a53)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Praveen Kumar
ddbe04ea06 bind: upgrade 9.20.13 -> 9.20.15
This upgrade fixes
CVE-2025-8677,CVE-2025-40778 and CVE-2025-40780.

Changelog
==========
https://downloads.isc.org/isc/bind9/9.20.15/doc/arm/html/changelog.html

(From OE-Core rev: 3de3d7864e34407384d5a8b34d9e1c01839f6595)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Deepesh Varatharajan
588bba19dc rust-target-config: Fix ABI override for powerpc64le target
Ensure the powerpc64le check is exclusive by using `elif`, preventing the
powerpc64 condition from overriding it. This keeps the ABI as elfv2 for
PPC64LE and fixes related build failures.

(From OE-Core rev: 1d4067329d0b84f94aaf2f63d282bb9c99ba5557)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Khem Raj
4e38304d6c binutils-cross-canadian: Do not install bdf-plugins
for SDK they are provided via nativesdk-binutils
latest binutils have started to build libdep plugin
as static library libdep.a which is then reported via build QA

ERROR: QA Issue: non -staticdev package contains static .a library: binutils-cross-canadian-aarch64 path '/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-oe-linux/bfd-plugins/libdep.a' [staticdev]

(From OE-Core rev: c871ad4ee62594c05d34b6ed2543d804a4ece07d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Khem Raj
79499fde42 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.

(From OE-Core rev: d259796efd6c405dd47fabccdbce761cb29fc354)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Randolph Sapp
c6fd6ec364 x11-volatiles: register x11 volatile directories
Add a volatiles entry for popular x11 and adjacent utilities. This is
designed to mimic the systemd tmpfiles.d entries and prevent any one
user from creating these directories with permissions that may
negatively impact multi-user environments.

(From OE-Core rev: 36473898f0a122880aaa2220fbf98732027d759f)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Ross Burton
782cb75ae9 python3-urllib3: remove rust dependency
python3-cryptography (and thus, rust-native) is only needed by the
urllib3.contrib.pyopenssl module, which is not recommended for use up
the urllib3 upstream maintainers:

  Module for using pyOpenSSL as a TLS backend. This module was relevant
  before the standard library ssl module supported SNI, but now that
  we've dropped support for Python 2.7 all relevant Python versions
  support SNI so **this module is no longer recommended**.

Add a PACKAGECONFIG to control whether this module is shipped, and
disable it by default.

This removes rust-native from the default build of urllib3, which is in
the dependencies of other common modules such as requests and sphinx.

(From OE-Core rev: 055d0928ad9451d3a9c8c74c6215a59023b1116e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Adrian Freihofer
f3321751d1 uboot-config.bbclass: fix obsolete comment
fitImage is no longer a supported KERNEL_IMAGETYPE. The comment is wrong.

(From OE-Core rev: a511c29a8fb26cb583edd3fb9509f435c835c8c9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Steffen Greber
e8f38f022e wic: add wic tests and support setting GPT diskid
Also extend implementation to allow defining the diskid for GPT partitions.

Add unit tests for wic.py to cover new setting.

(From OE-Core rev: 0d5da9477703212d3cfb63828c5c38afdb162e43)

Signed-off-by: Steffen Greber <sgreber@lilafast.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Peter Marko
050942f1cf lz4: patch CVE-2025-62813
Pick commit mentioned in NVD report.

(From OE-Core rev: 02ddc794e2378dae2dbc9fc9f371739cd07937ac)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Adrian Freihofer
6674e5bebe oe-selftest: fitimage: test absent optional nodes in ITS files
Extend the test framework to verify that certain optional nodes are properly
absent from ITS files based on configuration. The _get_req_its_paths()
method now returns a tuple containing both expected and not-expected
paths, enabling negative testing of conditional components.

Test improvements:
- Add verification for absent bootscr, setup, and ramdisk image nodes
  when their respective features are disabled
- Extend configuration node testing with proper kernel/fdt/ramdisk
  field validation based on device tree and initramfs settings

Code cleanup:
- Remove unused tempfile module import
- Sort bb_vars keys alphabetically in _test_fitimage_py()
- Add debug output for bb_vars overrides when debug logging is enabled
- Remove trailing empty line
- Fix DTB file ordering for consistent test results

(From OE-Core rev: 90dbdacc7f22120b4a96aad2a89b363fdd944079)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Adrian Freihofer
3fb242e5fe Revert "kernel-fit-image: control kernel section with FIT_LINUX_BIN"
This reverts the commit (Oe-core 0d17c4fb51)
which recently introduced the FIT_LINUX_BIN variable to control kernel
section inclusion in FIT images.

The original change aimed to provide flexibility by:
- Enabling FIT images without kernel sections for specific use cases
  by setting FIT_LINUX_BIN to an empty value.
- Supporting alternative kernel binary filenames instead of hardcoding
  "linux.bin" in multiple places.

However, the current implementation is incomplete. The filename
customization is not implemented - the code still hardcodes "linux.bin"
and doesn't actually use the variable in a consistent way.
There is also no test coverage for this new functionality.

Rather than completing the partial implementation, Qualcomm decided to
develop a solution that better aligns with their specific requirements
and may be independent of the kernel-fit-image class.

The revert restores the previous consistent behavior with unconditional
kernel section inclusion. This saves us from adding test coverage,
documentation and maintenance for this new but currently known to be
unused and incomplete feature. This feature can be reintroduced later
if there is a clear need and a complete implementation.

(From OE-Core rev: 6eae261b6f52ebfad4d6644cbdad4afe22423ec6)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Gyorgy Sarvari
68a1f0b45c tar: use diffutils for ptest instead of busybox
A testcase (sparse03) sometimes times out on the AB, in qemu (without kvm):
the test generates an 8GB sparse file, tars it, untars it, and then
it compares the two versions with cmp.

This process, going through 16GB of data (using one thread, with cmp) takes some
time anyway, but when there is extra load on the host machine, and qemu
can't use its core exclusively, then it can take more than 5 minutes easily
(which is the default ptest timeout).

However the full version of cmp from diffutils seems to be more efficient than
the busybox version:

When using busybox on my idle machine (w/ qemuriscv64) the test case execution
takes 150s, and it almost always times out when there is extra load.

Using diffutils, my idle machine executes the same testcase in 55s, and it
never times out even if there is high load on the host system (execution
always stayed under 3 minutes).

Due to this switch to diffutils when running ptest.

Fixes [YOCTO 15884]

(From OE-Core rev: 81f7b60fb1c5096bbc233f632040d1ea9ec5bb21)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Trevor Gamblin
36d387b541 python3-referencing: upgrade 0.36.2 -> 0.37.0
Changelog
(https://github.com/python-jsonschema/referencing/blob/main/docs/changes.rst):

- Declare support for Python 3.14.
- Drop support for Python 3.9 which is near EOL.

Reproducibility OK.

Builds OK. No ptests.

(From OE-Core rev: f97a45012d32a34e9353bb04a62a1041fb6cfaac)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Trevor Gamblin
2a43c92720 python3-hypothesis: upgrade 6.139.2 -> 6.142.2
Changelog: https://hypothesis.readthedocs.io/en/latest/changelog.html

Reproducibility OK.

ptests OK:

|============================================================================
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 0
|END: /usr/lib/python3-hypothesis/ptest
|2025-10-21T17:36
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: ee5399b45c3c0de52b8bcbbb6cd831d48fe2bbdc)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Peter Marko
941c3ac5a8 qemu: upgrade 10.0.2 -> 10.0.6
Handles CVE-2024-8354.
Drop patch included in (backported to) this release.

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

(From OE-Core rev: f9d2e0155df2fe799e5edd0b52097ee284930ba5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Walter Werner SCHNEIDER
2fbf318ed7 core-image-weston: Add wayland as required feature.
(From OE-Core rev: 2b7edbf8027497e528300d04edd954ee96573546)

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Zhang Peng
78a15a3556 avahi: fix CVE-2024-52615
CVE-2024-52615:
A flaw was found in Avahi-daemon, which relies on fixed source ports for wide-area
DNS queries. This issue simplifies attacks where malicious DNS responses are injected.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2024-52615]
[https://github.com/avahi/avahi/security/advisories/GHSA-x6vp-f33h-h32g]

Upstream patches:
[4e2e1ea090]

(Cherry pick from commit: ec22ec26b3f40ed5e0d84d60c29d8c315cf72e23)

(From OE-Core rev: 97d60090dbe96dca423af47c8d55cc53e172fb4c)

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Zhang Peng
280f06735a avahi: fix CVE-2024-52616
CVE-2024-52616:
A flaw was found in the Avahi-daemon, where it initializes DNS transaction IDs
randomly only once at startup, incrementing them sequentially after that. This
predictable behavior facilitates DNS spoofing attacks, allowing attackers to
guess transaction IDs.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2024-52616]
[https://github.com/avahi/avahi/security/advisories/GHSA-r9j3-vjjh-p8vm]

Upstream patches:
[f8710bdc8b]

(Cherry pick from commit 28de3f131b17dc4165df927060ee51f0de3ada90)

(From OE-Core rev: 3d36874e2beb64ca2a089a2be942cbbbbe1fff79)

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Peter Tatrai
b957a465f6 oeqa/selftest/rust: strip debug symbols from test binaries
Strip debug symbols from test binaries using RUSTFLAGS='-C strip=debuginfo'
to reduce binary sizes from 300+ MB to ~140 MB.

This is especially critical for PowerPC mac99 which has a hardcoded 768MB
RAM limit in QEMU. Without stripping, test binaries uploaded to /tmp (tmpfs)
cause 'No space left on device' errors during test execution.

The size reduction also benefits all other architectures by reducing
memory pressure and upload times during testing.

(From OE-Core rev: ede3ac6f587507f98ffbe9a8b07e21e57c27c986)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-30 11:06:28 +00:00
Antonin Godard
0f5246cec9 migration-guides/release-notes-5.3: updates
Update the release notes and migration manual for 5.3.

This covers commits from bd4625cd4d ("build-appliance-image: Update to
master head revision") to 4a1f38dd8d ("bitbake: knotty, uihelper:
Remove running_pids and lastpids") in Poky.

Acked-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 5cb37206ca0dfaa0dafabb28ebd546b591c88486)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
ea1481aa48 ref-manual: document UBOOT_MAKE_OPTS
This variable was added by commit 3338330e0c46 ("u-boot: Add specifying
make options as part the config looping") in OE-Core. Document how to
use the option in UBOOT_CONFIG.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 0fc14dca55d3760491cc40ac8c136c9dbdd23dbb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
57a885f242 ref-manual/classes.rst: document the relative_symlinks class
Added by commit e478550c8cd8 ("openssl/fontconfig/bzip2: Use relative
symlinks instead of absolute ones (using a new class)") in OE-Core.

(From yocto-docs rev: c0dc554eba7d421023ecc68a70b7a19df38628b0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
39d29350f7 ref-manual/features.rst: add entry for the coresight machine feature
Added by commit c455bd039104 ("perf: enable coresight if enabled in
MACHINE_FEATURES") in OE-Core.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 4b010341a83f515140cb52329107d6da04590a8c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
6b4be8e413 ref-manual/classes.rst: document the rust-target-config class
Document the rust-target-config class.

(From yocto-docs rev: a9dc48f4bbfb9abfdffc7f0caa8285f7c72cc2d9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
139f32a902 ref-manual/classes.rst: gettext: extend the documentation of the class
Mention the use of USE_NLS, INHIBIT_DEFAULT_DEPS and the cross-canadian
class.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: d877e54f1c85cefc00dd674d60f2db81446bd95a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
25b67dad1e ref-manual/variables.rst: document the USE_NLS variable
Part of bitbake.conf, this variable allowing to enable or disable
translation was undocumented. Add a entry to the glossary.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 92a55345a56b5038c0344669daaa7a3a99dd0fc0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
741f3a7c02 ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable
Added by commit 96a9702a24a7 ("distro_features_check: expand with
IMAGE_FEATURES") in OE-Core.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 860ddbd491ee9db291868bd939392538a2c64a4b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
d27f4131ba ref-manual/variables.rst: document the REQUIRED_COMBINED_FEATURES variable
Added in OE-Core commit: 5f4875b950ce ("distro_features_check: expand
with MACHINE_FEATURES and COMBINED_FEATURES, rename").

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: bbc7f26240c2db5cd4179f297ae49c778789514e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
a16e6aefb4 ref-manual/variables.rst: document the REQUIRED_MACHINE_FEATURES variable
Added in OE-Core commit: 5f4875b950ce ("distro_features_check: expand
with MACHINE_FEATURES and COMBINED_FEATURES, rename").

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: c0551456cba6016d5014c2be8d6906e58a324cc4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
0412f9a105 ref-manual/variables.rst: document the REQUIRED_TUNE_FEATURES variable
Very similar to REQUIRED_DISTRO_FEATURES, added by commit a8ef7339ecb9
("features_check.bbclass: Add support for required TUNE_FEATURES") in
OE-Core.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 9652c101092c34233f00418fcc2a84a86fbc9a9b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
c5ce2c1e13 ref-manual/classes,variables: document the CCACHE_DISABLE variable
Can be used in recipes that want to explicitly skip Ccache support when
the ccache class is enabled.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: b1b4adc8d4d9d23ff6fd91bca632bb0f5277e72b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
1dd4a9ed98 ref-manual/classes.rst: ccache: mention that the host's ccache can be used
This feature was added by commit cc91a0f6500e ("ccache: enable ccache
for all recipes if it is in HOSTTOOLS") in OE-Core.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 47ded4e32c28420ddb47278b299093af649fab75)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
7eebd8b425 ref-manual/classes.rst: document the python_pdm class
This class was added by commit 20758865e9e0 ("classes/python_pdm: add
PEP517 build class for PDM") in OE-Core.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: bbec8adf0fb2dfa8b34e631249a6d6e71aa08386)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
ae40c7ada3 ref-manual/features.rst: add new opencl feature
Added by commit 3061d6061e74 ("mesa: add opencl DISTRO_FEATURE") in
OE-Core.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 202adb84fdad6673ed5b91a6c9642791237cf76b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Antonin Godard
76d4f613b0 ref-manual/qa-checks.rst: drop var-undefined
Drop the var-undefined after it was dropped in OE-Core cb69d7eba802
("package: Drop var-undefined QA check").

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 5429187f5f034cf86628fb794ded91cdec731123)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Robert P. J. Day
8fced91c40 overview-manual/yp-intro.rst: update on-target packaging info
- drop references to obsolete tar packaging format
  - add references to apt and dpkg utilities for .deb packaging
  - add reference to alternative "dnf" .rpm packaging

(From yocto-docs rev: c0737f253a89cc1f5fa23f24710705929bd75b79)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:34 +00:00
Robert P. J. Day
eae21b0367 dev-manual/start.rst: fix typo "RELEASE" -> "RELEASES"
In addition, some minor grammatical tweaking.

(From yocto-docs rev: 9e9bd1bec2d1ef96ff416bbf94e3821056436073)

Signed-off-by: Robert P. J. Day <robday@acresecurity.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Pierre-Loup GOSSE
39b37aa6a1 migration-guides/release-notes-5.3.rst: new wic extra_partition plugin
Added by commit 3892912bd7e0 ("wic: extra partition plugin") in OE-Core.

(From yocto-docs rev: 6a9b26ed0316156975c7ef9209e73ae9d8f7ac03)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Pierre-Loup GOSSE
78026640e6 ref-manual/variables.rst: document IMAGE_EXTRA_PARTITION_FILES
Added by commit 3892912bd7e0 ("wic: extra partition plugin") in OE-Core.

[AG: formatting tweaks]

(From yocto-docs rev: 3d2aaec8218a7cad5653face152e9cd45257aefe)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
João Marcos Costa
ecea1027d3 variables.rst: fix LAYERDEPENDS description
This variable does not apply to the scope of a single recipe, but rather
to the scope of the entire layer.

(From yocto-docs rev: eec26e11adb6e3a9c4f53f825b9a1730c9ddee12)

Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Paul Barker
56d47e9672 dev-manual, test-manual: Update autobuilder output links
The current autobuilder cluster is at valkyrie.yocto.io, published files
on autobuilder.yocto.io will be missing or out-of-date.

(From yocto-docs rev: 9ed06c070e309b52f1dbf8877867dcede79f4cb6)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Antonin Godard
fafcdd9bb9 ref-manual/classes.rst: uboot-config: improve documentation
Improve the documentation of the uboot-config class. It was not
explaining any of its entry in UBOOT_CONFIG. Mention that using
UBOOT_CONFIG and UBOOT_MACHINE at the same time is not possible.

(From yocto-docs rev: 3bbd85798f4c9a8b7f930e9f156cf6e970593da0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Antonin Godard
4557ff9cfd ref-manual/variables.rst: fix a typo in UNPACKDIR description
(From yocto-docs rev: abcb3b7aa449e2cdab9bda1a96b5c63c4e376759)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Lee Chee Yang
697a1a8458 migration-guides: add release notes for 5.2.4
(From yocto-docs rev: 7c9fd5339549b033812957d636752a674fef5cdc)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Antonin Godard
19d7fd3851 ref-manual/classes.rst: extend the uninative class documentation
Extend the documentation of the uninative class based on [1].

[1]: https://lore.kernel.org/r/061e6150ce177221f7b6ee8754b03a20347a92c3.camel@linuxfoundation.org

Co-developed-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From yocto-docs rev: 68996f0f3bf882714e8d96a0aa7b2492fe16d0c3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Antonin Godard
3ad4d5de19 ref-manual/variables.rst: document UNINATIVE_URL/CHECKSUM
Document the UNINATIVE_URL and UNINATIVE_CHECKSUM variables.

(From yocto-docs rev: 974fe4e1c5db65b462a382e089e016326e7b3f26)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-29 23:16:33 +00:00
Richard Purdie
8a69e57f53 elfutils: Do not suppress stringop-overflow warning on build hosts
stringop-overflow is a gcc specific option and when we try to use non-gcc
compiler as host compiler e.g. clang, this causes several configure tests to fail
because clang reports this as an option it does not understand and bails out

error: unknown warning option '-Werror=stringop-overflow'; did you mean '-Werror=shift-overflow'? [-Werror,-Wunknown-warning-option]

One of the failing tests is the check for PIC support in compiler and results
in errors during compilation like

/usr/bin/ld: libelf_pic.a(elf_error.os): relocation R_X86_64_TPOFF32 against `global_error' can not be used when making a shared object; recompile with -fPIC

and elfutils-native failing to build with clang as host compiler

This patch was added to support version of fedora in 2022 and the error
has since been addressed in glibc [1]

This is effectively reverting bb76fe2baf00b0874d221445c9fba4481740024f

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=29141

(From OE-Core rev: 2c134301b55892ecf3c0ae9fa4912bc827579ece)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Khem Raj
04c1eae627 pkgconfig: Fix bundled glib build with clang
This snapshot needs some backports from upstreamed adapted to it
this patch is also submitted to pkgconfig mailing lists already

(From OE-Core rev: 1a641970a8980479799ea6f440d4bf2239f88304)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Gyorgy Sarvari
3651b90107 ptest-perl/run-ptest: set exit code
Set exit code on the run-ptest script: though the logparser
looks for PASS/FAIL state, it can be still useful when running
the tests manually - when there is a lot of output, it is
easier to see the summary at the end if the test has actually
passed or failed without scrolling back.

(From OE-Core rev: 645aeb43ef7b90c3ece351deb0df3a56713f1abb)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Bruce Ashfield
89994373da lttng-modules: update to v2.14.2
This fixed the build against kernels 6.17+

Bumping lttng-modules to version v2.14.2, which comprises the following commits:

    6826c7f8 Version 2.14.2
    d0230a56 Fix: Add wrapper for `get_pfnblock_migatetype`
    65ea32fb Fix: Protect syscall probes with preemption disable

(From OE-Core rev: 66cdb002ea6bf3317bfc51100de5ed99f4b2d555)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Khem Raj
fd1f5f958a devtool/ide_sdk: Fix help message syntax
(From OE-Core rev: 161cc3742e5a787beabfa6748547d93037185725)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Yoann Congal
440fba30b7 selftest/bblayers: Add a test to validate bitbake-setup registry schema
This test validates bitbake/default-registry/configurations/*.conf.json
against bitbake-setup.schema.json:
INFO - test_validate_bitbake_setup_default_registry (bblayers.BitbakeLayers.test_validate_bitbake_setup_default_registry)
DEBUG - Validating .../poky/bitbake/bin/../default-registry/configurations/oe-nodistro.conf.json
DEBUG - Validating .../poky/bitbake/bin/../default-registry/configurations/poky-master.conf.json
INFO -  ... ok
INFO - test_validate_examplelayersjson (bblayers.BitbakeLayers.test_validate_examplelayersjson)
INFO -  ... ok
INFO - ----------------------------------------------------------------------
INFO - Ran 2 tests in 110.469s
INFO - OK
INFO - RESULTS:
INFO - RESULTS - bblayers.BitbakeLayers.test_validate_bitbake_setup_default_registry: PASSED (0.92s)
INFO - RESULTS - bblayers.BitbakeLayers.test_validate_examplelayersjson: PASSED (0.19s)
INFO - SUMMARY:
INFO - oe-selftest () - Ran 2 tests in 110.469s
INFO - oe-selftest - OK - All required tests passed (successes=2, skipped=0, failures=0, errors=0)

(From OE-Core rev: 86978295c228640e2c33076d1f51db9f2fe7063b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Yoann Congal
41438346ce selftest/bblayers: Refactor JSON schema validation
* Extract a function "validate_json"
* Read bitbake variables in setUpClass to avoid makeing repeated calls
  to bitbake
* Allow to specify the schema relative to $COREBASE/meta/files/
* Specify the Base URI to allow schema to reference each other

(From OE-Core rev: b10b4d5b6376fd828c1cb843ea2e24da298657b6)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Yoann Congal
57976f5709 meta/files: Add a jsonschema for bitbake-setup configuration files
This schema is a bit loose and should validate any configuration files working with
bitbake-setup but, also, some broken ones:
* If present, a "bb-layer" can be an empty array.
* bb-setup need at least one of "bb-layers" or "oe-template", that is
  not enforced in the current schema.
* bb-setup accepts "configurations = []" but it results in a impossible
  choice in interactive mode. This is rejected by the schema.
* In each configuration, "name" and "description" are optional but the
  flatten configuration must have them. This is not enforced by the
  schema.

To test a configuration files against this schema: (for exemple to
validate bitbake default registry)
   $ pip install check-jsonschema
   $ check-jsonschema -v --schemafile meta/files/bitbake-setup.schema.json bitbake/default-registry/configurations/*
  ok -- validation done
  The following files were checked:
    bitbake/default-registry/configurations/oe-nodistro.conf.json
    bitbake/default-registry/configurations/poky-master.conf.json

(From OE-Core rev: 15107ba12ff35b27c2c0ae5a9dcc9c1418f55b13)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Daniel Turull
6a2a827e9c improve_kernel_cve_report: add option to read debugsources.zstd
Adding option to be able to import debugsources.zstd directly.
The linux-yocto-debugsources.zstd is generated in every build and
does not require any additional configuration.

In contrast, SPDX_INCLUDE_COMPILED_SOURCES needs to be explicitly
added and increases build time.

(From OE-Core rev: c84a8958f30bbb982656ddcbe7476f6f81e1a6fb)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Peter Marko
c8bf51b2fe libarchive: upgrade 3.8.1 -> 3.8.2
https://github.com/libarchive/libarchive/releases/tag/v3.8.2

Libarchive 3.8.2 is a bugfix and security release.
Security fixes:
* 7zip: Fix out of boundary access (#2668)
* tar reader: fix checking the result of the strftime (#2719, CVE-2025-25724)

(From OE-Core rev: d858f87bc9baf4a01f977861c5521f2d5ffeb5fd)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Gyorgy Sarvari
910142ddaa fmt: add ptest support
Execution takes around a second.

(From OE-Core rev: bd233792a0e57444acc88bee907b7a98598e7112)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Deepesh Varatharajan
f10ce107af 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)

(From OE-Core rev: 343b2e113322859c6c3021215acc498a94b69a0b)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Johannes Schneider
2a695b15aa 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

(From OE-Core rev: 216a4c4a4ee58222127c830ac56126bdbb95308d)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Mathieu Dubois-Briand
1666d6495d 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.

(From OE-Core rev: 8b119b1a0fa618c03fbee1bcc755785fedd2d923)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Mathieu Dubois-Briand
0faccb809f 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.

(From OE-Core rev: c90f79ae221573b2d5100f2d25b12f77e33113d7)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 17:20:42 +00:00
Jason M. Bills
87fd09a181 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>
(From OE-Core rev: 09a37ecf0aeff674e49d7bddd5421011a885da2e)

Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Dmitry Baryshkov
7bc47fdf3b 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

(From OE-Core rev: d7bb55ef931f1c36fd3adc4989e8c7324bd08771)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Jose Quaresma
aedcbcaae1 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

(From OE-Core rev: 10669f6f615058293671fb16454601580b7b34e9)

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Jose Quaresma
b22cfc5ef1 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.

(From OE-Core rev: f400ba75f2d7987abb177a43f94874a7fdc1ec0a)

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Khem Raj
9177713f40 pseudo: Pin native compiler to gcc as well
pseudo does not build with clang

(From OE-Core rev: acc12802ca9c3d24d6aac2977849110a04aa8888)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Khem Raj
f5a06f0235 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

(From OE-Core rev: 38825ed9e8f24a2ae31df377f7f3c971bc617a19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Khem Raj
7c8852a599 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

(From OE-Core rev: c82e49d1707f2057baa3f7fbaeea0b785712a11f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Khem Raj
9ff81e0a51 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

(From OE-Core rev: c91addea22c7e857e583a89d4597f6e676210e6b)

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>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Jörg Sommer
78a280af44 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

(From OE-Core rev: 7f370c3b9c10e723324ea8f924011c5f570749d4)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Steffen Greber
213d298940 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.

(From OE-Core rev: a31453fd52e0a52f3fa02cb9ae0878ea3782c2b7)

Signed-off-by: Steffen Greber <sgreber@lilafast.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
06237fd316 binutils: patch CVE-2025-11495
Pick commit per NVD CVE report.

(From OE-Core rev: d3ec5a470bba069dee809780a5c892c7d52e05ac)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
5b2ea2b50e 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

(From OE-Core rev: 98df728e6136d04af0f4922b7ffbeffb704de395)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
52f475fd13 binutils: patch CVE-2025-11412
Pick commit per NVD CVE report.

(From OE-Core rev: 6b94ff6c584a31d2b1e06d1e1dc19392d759b4b7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
241b671179 binutils: patch CVE-2025-11414
Pick commit per NVD CVE report.

(From OE-Core rev: cd7ce80fa1a99916aa2f93c4d9591c5496c3ef71)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Etienne Cordonnier
3fd806ff40 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.

(From OE-Core rev: ff78c4c4453643c24494fa872a58e424b9772f9c)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Mike Crowe
9ef3f820bb 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.

(From OE-Core rev: 77c35362fb13c75145f9f999216b3d879ab18b77)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Ryan Eatmon
2b871830dc 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.

(From OE-Core rev: 313ff06fdfec36a09328dbd60471bd53127fabe3)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Jayasurya Maganuru
3d67ec2762 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

(From OE-Core rev: 7cadbd1a22e18847d03b5baa902f5581d3e0aafa)

Signed-off-by: Jayasurya Maganuru <Maganuru.Jayasurya@Windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Liu Yiding
a23d913daa 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} \

(From OE-Core rev: 0294c265a1f662e2b68b3a462da113cfa835485b)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Liu Yiding
3803ab9ee2 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.

(From OE-Core rev: df3f4196693ae82bddebe134f3af0db92e5d5712)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Adrian Freihofer
49e2a19a4b 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.

(From OE-Core rev: 34e872ab23067231fb93c3b31ad5a439e9c17cb8)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Trevor Gamblin
d950cfad31 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.

(From OE-Core rev: 4e8d533ccecf1310218ad5d36a7ec20ee5e0ccd4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Ricardo Salveti
5dd5fd0d56 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

(From OE-Core rev: 24629a0e81291900edf0967bb218ba51dfa90ce9)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
8de7978284 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

(From OE-Core rev: d5f281bf13995117d98af809a2caea91e241713e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Liu Yiding
3b89dd2401 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

(From OE-Core rev: 886b0fb60a0b2ebbe3186c790db6e0a41eeb8741)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Peter Marko
5428cad7d8 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

(From OE-Core rev: 78d83ced968a46579cff8bfa0b4f462689c46c00)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Quentin Schulz
a9e529cd5e 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.

(From OE-Core rev: 33498005ff8099b743efaf1ae431ba1a0ba597a0)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Saravanan
6f85697140 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:
37e27f71bc

(From OE-Core rev: d31b2201bba808ec82c8d88df25b1106c588720e)

Signed-off-by: Saravanan <saravanan.kadambathursubramaniyam@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Gyorgy Sarvari
2111e3d4af 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.

(From OE-Core rev: 4caf886da6c9d74298aab0b953c0540dc2f49942)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Liu Yiding
c84658c9a1 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.

(From OE-Core rev: 5318fba1f4bc50e658aee9461cc919ab093a8293)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:43 +00:00
Ross Burton
5b097e194f 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 ]

(From OE-Core rev: 501e78ea84979d175f5e6b7978c669f3f80a4355)

(From OE-Core rev: 57dbe13f87cc2cfc87ed12dcca12382ba710be94)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Zoltan Boszormenyi
fb29599fe6 linux-firmware: Add globbing to FILES where missing
If compression is used, a lot of compressed firmware files are
not packaged otherwise.

(From OE-Core rev: 8695d01a47490d48103e9f292e1ea3ee4753d98e)

(From OE-Core rev: d3315badb8bf4bc9c32ba13bb31febb6aea3cfe7)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Zoltan Boszormenyi
e77f9b7091 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.

(From OE-Core rev: 79fc52e2d729bf30a901055a9864280d3055bbeb)

(From OE-Core rev: ecfb4494a9bc23cb1b1532cff32d67d4384ded3e)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Ross Burton
cdcd128aae 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

(From OE-Core rev: 1452ac7a44196454a52f3f6d883290ddcccfd3f8)

(From OE-Core rev: 9d9ce457630ea7403ffe7028e3370647db0b83fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Ross Burton
4875888138 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.

(From OE-Core rev: a8b0d3bc7b073cc0e9e8a735df6d36a4816520dc)

(From OE-Core rev: af771279f3ef8aa2ba137e018da8fc6bf6a1b335)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Ross Burton
7b129413bb 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.

(From OE-Core rev: 560acb29d9f9d3a66223122e2cbca7a24a80f209)

(From OE-Core rev: f9903f74ee36de4dd592f3bc8b1ce7b08f32608c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Ross Burton
b466b11964 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.

(From OE-Core rev: 3557f1c294531e7f8c34a2b0677e8c03f1b1be77)

(From OE-Core rev: ec51c22e902c2556438f1323a71a5e47ef00681e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-27 11:37:42 +00:00
Bruce Ashfield
416731b875 linux-yocto-dev: update to v6.18
Bumping the -dev kernel to 6.18+

(From OE-Core rev: 7a900ff52d76490f42236f9dd898ded0da77058e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
9b08268bf1 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>

(From OE-Core rev: 8306d2bdcc48718aaa35dfa56b5364d90ea2a1db)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
be6227ac4d 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

(From OE-Core rev: 8ba930c46d28273edb1a1e9076f9c58876087524)

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>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
5815abb3e4 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

    ]

(From OE-Core rev: aee153dd5ccbfaeeca9f76df7b8f8b453ee478d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
308fae76a6 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()

(From OE-Core rev: 6830e9b1991e889b5377f73660920c8252964197)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
c6f0da5abb 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

    ]

(From OE-Core rev: ea39fc234a7e42e46e6cb4d893a73f8b40555224)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
da4989cbb3 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

(From OE-Core rev: f8f4f550cf24c4fbf12671bd55b7bdb9062ed791)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
8aab2cee5b 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

    ]

(From OE-Core rev: 6b09bcb0e1d9ac33c2517090fda83dd5dc76eea9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:06 +01:00
Bruce Ashfield
101d6ea550 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

(From OE-Core rev: a0ca79598f3b8564c4e1f0063dbae077a0a79fbb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:05 +01:00
Bruce Ashfield
32d7c83921 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

    ]

(From OE-Core rev: 1b8d02ae70e90b5dbd50f7c397036de5b637eea6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:05 +01:00
Bruce Ashfield
08912dc627 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

(From OE-Core rev: 73f60350785273c862f4a5d6e72d367e05d2dc4e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-19 15:35:05 +01:00
Jörg Sommer
8d8ca9e1b8 bitbake: bitbake/doc: Correct name of bitbake-dumpsig
(Bitbake rev: 35a421cdcafb3595b9de5489ffdc567825400d26)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-17 16:43:20 +01:00
Richard Purdie
5e94950103 build-appliance-image: Update to master head revision
(From OE-Core rev: 5298d01663f897e38380116edf23973d2a156cbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-17 09:26:06 +01:00
Michael Halstead
cb478c6228 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]

(From OE-Core rev: b322bc5387f3baedca5c71ccecaed08d2b046eab)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-17 09:24:35 +01:00
Richard Purdie
610ef4bbfa build-appliance-image: Update to master head revision
(From OE-Core rev: 58558b97c157469f060bb2ad59a40254fb6181e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:53:31 +01:00
Deepesh Varatharajan
a6666d530a 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)

(From OE-Core rev: c116828a876853cd5b53f7bd4607f0037fef4ee4)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:48:54 +01:00
Deepesh Varatharajan
6fc05011a1 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.

(From OE-Core rev: 9b0a3484626ecb5e58004572caac7a8e8f86980c)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:48:54 +01:00
Deepesh Varatharajan
45684db386 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.

(From OE-Core rev: 1c87bca91c61a272266a0f2763e0477b66f06c13)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 14:48:54 +01:00
Ross Burton
5284c01374 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.

(From OE-Core rev: 63d586cd6499ef2a8d311223fa0e1ed9d071dd0e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Moritz Haase
5c8f6f30ff 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

(From OE-Core rev: 53be4345591dd874cdf339081dffc4095fdb41da)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Hongxu Jia
51f694db18 libgpg-error: 1.55 -> 1.56
- Refresh pkgconfig.patch

(From OE-Core rev: 207112631575d5f85e57bc35dacc25fff768d280)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Hongxu Jia
f722e88e7e gpgme: 2.0.0 -> 2.0.1
- Refresh 0001-Revert-build-Make-gpgme.m4-use-gpgrt-config-with-.pc.patch

(From OE-Core rev: 9346858c20cb25b710cea896e3d236ad4c4b2b2e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Dmitry Baryshkov
a672c80486 linux-firmware: upgrade 20250917 -> 20251011
Update the linux-firmware packate to the latest release. Add firmware
packages for Intel Sensors Hub on Dell and HP machines and also several
new Qualcomm firmware packages

License-Update: new and updated firmware

(From OE-Core rev: 5df2e6ddeef250357ccab00b62e20102f3999f53)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Dmitry Baryshkov
6521b12640 linux-firmware: drop catch-all Atheros packages
With the linux-firmware now being an empty package there is no need in
the catch-all ${PN}-ath*k-misc packages since developers will have to
package all firmware separately. Drop useless packages now.

(From OE-Core rev: 945c91f01e829fec82e62180f14ab1edceb24e15)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Andreas Stergiopoulos
38bf362945 sanity.bbclass: Remove tool version repetition for gcc, patch, git, make, tar
This commit mainly changes the way that error messages are printed when
sanity checking for the version numbers of gcc, patch, git, make and
tar. It affects the following functions:

check_patch_version(),
check_make_version(),
check_gcc_version(),
check_tar_version(),
check_git_version()

Before this commit, the minimum version number and the error string
were hard-coded string literals which the programmer had to maintain
manually and independently. With this change, the version is defined
once in each function and then used both for checking and for error
printing.

Additionally, the affected error messages have been made to spill
over multiple lines for better source code readability.

Link to the relevant discussion:
https://lists.openembedded.org/g/openembedded-core/topic/115491380#msg224131

This change has been tested by changing the version string and making
sure that the test fails and the proper minimum version is reported
in the error message.

Suggested-By: Yoann Congal <yoann.congal@smile.fr>
(From OE-Core rev: 27a4ce7b34946200e35adfab1ace512a531fc560)

Signed-off-by: Andreas Stergiopoulos <andreas.stergiopoulos@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Leon Anavi
454a237bb9 python3-idna: Upgrade 3.10 -> 3.11
Upgrade to release 3.11:

- Update to Unicode 16.0.0, including significant changes to UTS46
  processing. As a result of Unicode ending support for it,
  transitional processing no longer has an effect and returns the
  same result.
- Add support for Python 3.14, lowest supported version is
  Python 3.8.
- Various updates to packaging, including PEP 740 support.

License-Update: Update years

(From OE-Core rev: 8dcbbad9ad5f66cc39f1fc88517267c2e7ccb951)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Dmitry Baryshkov
f80e1804ee mesa: provide glx.pc
New Vulkan CTS 1.4.4 started requiring glx.pc pkg-config file. Apply a
patch adding one in order to let VK CTS and other programs find Mesa GLX
implementation.

(From OE-Core rev: 15c02892d9c00de3c9879d5ffcecfeba6f5ee1ab)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Joshua Watt
ee905ad60b weston-init: Allow weston user to be specified
Adds variables to set the name of the weston user (defaulting to
"weston") and the home directory (defaulting to "/home/weston"). This
allows users to easily change which user the compositor runs as.

(From OE-Core rev: 079cf188adae1c7de3971a64df8cb04d5f47be4e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Ross Burton
12e142d5e6 clang: remove obsolete patch
This musl-related fix to TargetLibraryInfo has been obsolete since LLVM
version 5.0 as it was fixed in a different way:

commit d21529fa0df71327aab230786e345b2071f4ac4f
Author: David L. Jones <dlj@google.com>
Date:   Mon Jan 23 23:16:46 2017 +0000

    [Analysis] Add LibFunc_ prefix to enums in TargetLibraryInfo. (NFC)

    Summary:
    The LibFunc::Func enum holds enumerators named for libc functions.
    Unfortunately, there are real situations, including libc implementations, where
    function names are actually macros (musl uses "#define fopen64 fopen", for
    example; any other transitively visible macro would have similar effects).

    Strictly speaking, a conforming C++ Standard Library should provide any such
    macros as functions instead (via <cstdio>). However, there are some "library"
    functions which are not part of the standard, and thus not subject to this
    rule (fopen64, for example). So, in order to be both portable and consistent,
    the enum should not use the bare function names.

    The old enum naming used a namespace LibFunc and an enum Func, with bare
    enumerators. This patch changes LibFunc to be an enum with enumerators prefixed
    with "LibFFunc_". (Unfortunately, a scoped enum is not sufficient to override
    macros.)

(From OE-Core rev: 426504625c67dd8235a72a1128452c1592462ff3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Ross Burton
2de0de4c34 openmp: recipe cleanup
Remove perlnative inherit, this recipe does not depend on non-standard
perl (or any perl, in fact).

Remove python3native inherit, this recipe does not depend on non-standard
Python modules. python3-native will still be pulled into the sysroot via
python3targetconfig however.

Remove PACKAGECONFIG:remove:powerpc, as powerpc is explicitly marked as
not compatible later in the recipe.

Remove LLVM_ENABLE_PER_TARGET_RUNTIME_DIR, this is only used during
monolithic builds of llvm.

Remove OPENMP_STANDALONE_BUILD, this is automatically detected when
building.

Remove CMAKE_POSITION_INDEPENDENT_CODE, this is the default value.

Remove all _TOOL, these are not used.

(From OE-Core rev: 87bb7e18e8a37803ec7c96c640347ac515d073d2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Richard Purdie
a320a45220 perf: Tweak reproducibility fix
Instead of building libperf.a, we should run install_headers as with the other
libraries. Hopefully this resolves the remaining race issue around headers.

(From OE-Core rev: 647589fab1fb73a985cbba4c1bec2004831508ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Khem Raj
6b6fa26a89 vte: Depend on system provided fmt package
vte 0.82+ has started to package fmt as a subproject if this is not found
on system, the bundled version however, does not work with clang on
32bit machines, since it is 11.0 and there are fixes in newer version
needed to work with clang

Fixes
../sources/vte-0.82.1/subprojects/fmt/include/fmt/format.h:752:35: error: call to function 'free' that is neither visible in the template

(From OE-Core rev: 826c4a1339b8f8c354d55a5dad7aa7674b30dc2e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Richard Purdie
df545375a4 patchelf: Update 0.18.0 -> 0.18.0+git
Patchelf hasn't released since 2023 but does have fixes on its master branch. We've been
seeing segfaults on relocated qemu-img binaries from qemu-system-native in some cases
and using an updated patchelf does seem to avoid these.

The patches have all be applied upstream.

0e338941fc is 2/3 combined

License-Update: Change http -> https
[30da44915e]

[YOCTO #16003]

(From OE-Core rev: ec616d5ab1d3147a2634a0506111e88964da3fad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Richard Purdie
c410bccc9c distro/defaultsetup: Add buildstats by default
This has been the default in poky's local.conf.sample since forever. It was missing
during the migrtion to bitbake-setup and that created a few failures. We've fixes most
of the places but found a new one in the performance tests.

Having these available is useful for debugging and doesn't really add much overhead
to the build.

We could push this over into the poky DISTRO however I've been wanting to
try and reconcile things where possible so putting this into defaultsetup feels
like the right choice to me. Distros can still override as they would the other
classes in INHERIT_DISTRO.

(From OE-Core rev: b297c9d6168e3906b581387f1d731ea95e17dd83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-16 10:53:10 +01:00
Richard Purdie
64a879e9b6 perf: Bump versions to resolve hashequiv/reproducibility issues
(From OE-Core rev: 39ae9a1061fcfe8c30df511b6f00e407b80ffc4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-15 17:15:46 +01:00
Gyorgy Sarvari
557a3150a1 ref-manual/variables.rst: add note about PSEUDO ignore/include precedence
This commit[1] in pseudo introduced the PSEUDO_INCLUDE_PATHS variable, however
the previous PSEUDO_IGNORE_PATHS variable is still present also. Add a clarifying
note about the order of precedence of the two.

[1]: https://git.yoctoproject.org/pseudo/commit/?id=2c43381180f9cfef4c0a8bb0c1658a86c3fcc876

(From yocto-docs rev: 8b85245490ae0b19a9c3880ec31e55b42e19d094)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
4735aa8fd6 tools/build-docs-container: use the basename of OCI to append args
What we have is OCI = $(which $CONTAINERCMD) = /usr/bin/{docker,podman}.
So we never pass the current if conditions. Compare against the basename
of OCI to pass the checks.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 41fc95a0e06fec29cdd8c47f75093f0a6a2df8c0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
5e0e1c586d ref-manual/fragments.rst: remove duplicated built-in fragment note
This behavior was removed in commit aea2d69d0533
("lib/bbconfigbuild/configfragments: disable the previous builtin
fragment when enabling a new one") in OE-Core.

(From yocto-docs rev: e420f0f90614b13fc92654219296182858ca17b9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
3aa2914a08 ref-manual/qa-checks.rst: fix references
The references in this document do not work because references need to
be associated to a title. Change the bullet list into a section
separated document. This way we can cross-reference QA checks in other
parts of the documentation (it was previously failing when attempted).

The diff is a bit hard to digest, but there are no changes to content
except for:

- A fixed typo (inhert -> inherit)
- Indentation

(From yocto-docs rev: 93c30b8a430a981e8b89061c968a006a3e086353)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
ae8b6bae17 tools/build-docs-container: remove obsolete comments
Leap 15.6 worked fine on my local builds, with Docker or Podman.
Ubuntu 23.04 got removed from the list of distros we test.

Tested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 2e3d33f47dfba64a81767accb6a47cae842bd18e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
7b7aa8c4cc tools/build-docs-container: add option to install essential packages
The script currently only installs the files necessary to build the
docs. Since we also have the essential packages listed it can be useful
to include them in the containers, at least to validate that these
successfully install.

Add an env variable for including these packages in the container. The
default is to not include these, so the current behavior is unchanged.

(From yocto-docs rev: 723e531ea442df96fd592635a2fbfba73e737886)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Alexander Kanavin
51ae02fc0d ref-manual: correctly document the difference between auto.conf and newly added toolcfg.conf
[AG: Add reference to YP Autobuilder]

(From yocto-docs rev: f23b93594dbe7e5df9ec55371e4aab4b7b8c50b9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Lee Chee Yang
5e956ddfc5 migration-guides: add release notes for 4.0.30
(From yocto-docs rev: e89c95b167c24cfb9c1d5d548a26872393ca2fee)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
8b4438fe84 dev-manual/layers.rst: yocto-check-layer: update list of test
Update the lists of tests as found OE-Core as of commit 07747aa7390e
("piglit: rename virtual/opencl-icd to virtual/libopencl1").

Add a link to the test directory in case the list is update, users can
still browse through the code.

(From yocto-docs rev: c3783914d01d313a35e29e75e562eefba5e40df4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Antonin Godard
d9bd693589 dev-manual/layers.rst: yocto-check-layer: mention --machines and --dependency
The yocto-check-layer script should be run with the --machines arguments
to test the different machines present in a BSP layer. Mention it in the
documentation. The --dependency can also be used so also mention that.

[YOCTO #15974]

Cc: Mark Hatle <mark.hatle@kernel.crashing.org>
(From yocto-docs rev: 2cd7b5c83978819179b8a47e213b9812b97d5720)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:36:58 +01:00
Richard Purdie
c034e6de68 oeqa/selftest/yoctotestresultquerytest: Fix revisions to match OE-Core
The test was written assuming poky was being used. Update
the revisions to match OE-Core instead.

(From OE-Core rev: 5965ae92c866817a0bab54d240b1d197da37df2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:32:55 +01:00
Deepesh Varatharajan
b189b2fb86 rust-target-config: PPC64 targets require explicit ABI selection to avoid build failures with rustc.
Without a specified ABI, rustc panics with the following error:
|   thread 'rustc' panicked at compiler/rustc_codegen_ssa/src/back/metadata.rs:394:21:
|   No ABI specified for this PPC64 ELF target.

This issue was occuring because of the following Rust commit:
9c1180b623

As noted in the upstream changes:
If the flags do not correctly indicate the ABI,
linkers such as ld.lld assume that the ppc64 object files are always ELFv2,
which leads to broken binaries if ELFv1 is used for the object files.

Because of this, it is now required to explicitly specify the ABI for PPC64 targets
using one of the following:
"elfv1" => EF_PPC64_ABI_ELF_V1,
"elfv2" => EF_PPC64_ABI_ELF_V2,

If no ABI is specified, the Rust compiler will panic with the error:
No ABI specified for this PPC64 ELF target

To address this:
- Set 'elfv2' for powerpc64le (little-endian), which mandates ELFv2 ABI.
- Set 'elfv1' for powerpc64 (big-endian), which defaults to ELFv1 ABI.

(From OE-Core rev: 6cee30b7941c22eef52011b6bac0d3c0d7944abe)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:28:56 +01:00
Khem Raj
4dabfb3f21 libpam: Fix build with LLD linker
LLD is strict about versioned symbols unlike BFD linker, it flags
undefined ones, Allow undefined symbols like BFD linker

Fixes
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_acct_mgmt' failed: symbol not defined
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_chauthtok' failed: symbol not defined
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_close_session' failed: symbol not defined
| riscv64-yoe-linux-ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_open_session' failed: symbol not defined
| riscv64-yoe-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)

(From OE-Core rev: a53fddbb99dc746439b5b2adfb7f747ba25a856f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:27:19 +01:00
Johannes Schneider
7320e59aec bitbake: bitbake-setup: commandline: use subsubparser for settings {list,set,unset}
Previously the sub-command 'settings' would take any number of
arguments and then silently do nothing if the number wasn't three.

The help text was also not clear about this, marking the positionals
separately as optional:

usage: bitbake-setup settings [-h] [--global] [--unset UNSET UNSET] [-l] [section] [key] [value]

The '--unset SECTION SETTING' also did not  integrate too well, as it
had its own positional arguments for section+setting.

For a bit more consistency and a explorable help, a sub-subparser is
added, that provides the commands:
  bitbake-setup settings list
  bitbake-setup settings set foo bar baz
  bitbake-setup settings unset foo bar
with a '--global' that is added from a stand-alone parent parser, so
that it shows up in all sub-command help texts.

The new help text now reads:
usage: bitbake-setup settings [-h] [--global] {list,set,unset} ...

and the respective sub commands:
usage: bitbake-setup settings list [-h] [--global]
usage: bitbake-setup settings set [-h] [--global] <section> <setting> <value>
usage: bitbake-setup settings unset [-h] [--global] <section> <setting>

(Bitbake rev: 8b582ef8dd0cef0192d4c0104bcd9b5d642d132c)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Johannes Schneider
897f3020da bitbake: bitbake-setup: add 'metavar' for self-descriptive parameters
Add a metavar to the argparse options to have a self-descriptive help text.
Otherwise argpase defaults to use the argument name in all-uppercase.

Before:

usage: bitbake-setup [-h] [-d] [-q] [--color COLOR] [--no-network] [--global-settings GLOBAL_SETTINGS] [--setting SETTING SETTING SETTING]
                     {list,init,status,update,install-buildtools,settings} ...

After:

usage: bitbake-setup [-h] [-d] [-q] [--color COLOR] [--no-network] [--global-settings PATH] [--setting SECTION SETTING VALUE]
                     {list,init,status,update,install-buildtools,settings} ...

(Bitbake rev: 83cecc9356a0684f90249d527fe372298ae92719)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Johannes Schneider
12d456bc9b bitbake: bitbake-setup: use args.cmdline_settings for --settings
To align the storage destination with the internally used variable
name. This makes room for having another option use 'args.setting'

(Bitbake rev: 14d8535309abc78ee30cfdb51bba2e00b474f443)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Johannes Schneider
0a5c5430c5 bitbake: bitbake-setup: init: suggest removing a partially initialized top-dir
In cases where the first call to 'init' failed or was aborted before
creating the 'build/init-build-env' has been created, a user can get
stuck: a second call to init aborts, suggesting 'status' or 'update'
but these to refuse because the --build-dir is not valid.

Guide the user by adding a suggestion to start over from scratch.

(Bitbake rev: 11b2740c3e19e0c6680229c6bbce3691c73746a8)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
d81884b3a9 bitbake: bitbake-setup: correct 'setting' to 'settings' in a couple of help texts
(Bitbake rev: c5e04ce986b680f39f6c7851e4236c4afa4ac3f4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
cd4fe0aada bitbake: bitbake-setup: further rework the settings handling
After some further feedback, additional changes are made:

1. 'setting' command is renamed to 'settings' to better reflect
that it is an interface to various ways of managing settings.

2. This command now has a -l/--list option to list all settings
with their values (same as 'git config -l').

3. A new level of settings (built-in defaults) is added,
and used as a last resort after command line options, top dir
settings file and global settings file.

4. This means bitbake-setup does not have to write and use a
global settings file, and it no longer does so when initializing
a build, avoiding default 'pollution' of ~/.config/bitbake-setup/
which can be problematic or unwelcome.

A global settings file is still created if a setting is explicitly
requested to be placed into it.

5. 'install-global-settins' is removed as the use case for it
(tweak default settings before using them to initialize a build)
can be achieved by setting the settings individually.

5. Similarly, a top dir settings file is no longer created by default
and only appears if a setting needs to be written into it.

6. Default dl-dir is again created inside a top directory and not
in ~/.cache/ to make default builds fully contained in the top
directory (which was also asked about).

(Bitbake rev: 664f8ec48d42d2ddc5f234c4f7d590fa597f489a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
401e7b6a10 bitbake: bitbake-setup: rework the settings handling
This is the outcome of various discussions, suggestions and pull
requests on github.

What has specifically changed?

1. The sources for the settings are no longer separated, but are stacked and given priorities,
from highest to lowest:

    a. '--setting section key value' on the command line

    b. a settings file in the top directory

    c. a global settings file in ~/.config/bitbake-setup/ (or in a file pointed to by --global-settings)

Any setting can be in any of these three locations (other than top dir name and prefix which do not
make sense in the settings file in the top directory).

2. A global settings file must contain all of the needed settings, while a settings file
in the top directory can be empty (and this is how they are written out if they do not exist).

Specifically, both dl-dir and registry settings have been relocated to the global file,
and dl-dir defaults to ~/.cache/bitbake-setup/downloads, rather than somewhere in top dir.

3. The file name for both global and top dir settings is now 'settings.conf'.

4. --top-dir-prefix and --top-dir-name options have been removed and superseded by
a generic, universal --setting option.

5. 'install-settings' command has been removed, as it is no longer does anything useful,
and is superseded by the 'setting' command (see below).

'install-global-settings' has been retained, to be able to have a set of global defaults
that can be changed without initializing a build.

6. 'change-setting', 'change-global-setting' and 'install-settings' have all been replaced
by a single 'setting' command that mimics 'git config' in its parameters:

    a. Changing a setting: bitbake-setup setting [--global] default dl-dir /path/to/downloads

    b. Removing a setting: bitbake-setup setting [--global] --unset default dl-dir

(Bitbake rev: 713e7f213c6d4a620be9ce34d5f4396af48e1d69)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Johannes Schneider
e9345af4f8 bitbake: bitbake-setup: tests: add environment-passthrough
Add a test configuration to cover the 'bb-env-passthrough-additions'
conf.json key, and add it to the test routine.

(Bitbake rev: 24f12b68692f9ebb5d3813bc3b1771e43298f640)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Johannes Schneider
151a0f6361 bitbake: bitbake-setup: tests: add a template-only test configuration
bitbake-setup conf.json can be purely template driven, to setup older
yocto LTS (e.g. scarthgap) based layer-collections - where fragment
support was not yet present in oe-core+bitbake.

Add a configuration for that scenario and add it to the test routine.

(Bitbake rev: 23e121befa0779fbb1f342984b583c04ccc637a0)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Johannes Schneider
60d995ccc4 bitbake: bitbake-setup: support adding environment-passthroughs to the init-build-env
This patch adds support for extending the BB_ENV_PASSTHROUGH_ADDITIONS
environment variable from within the `init-build-env` wrapper script -
generated by either oe-core's oe-setup-build, or by `bitbake-setup` -
based on per-configuration JSON settings.

This enables CI workflows to inject environment-specific data - such
as build number, host, build type, or credentials required to fetch
from certain SRC_URIs - which cannot be captured via configuration
fragments alone. These variables are now handled early in the setup
process and exported directly into the build environment.

Example:

  "bb-env-passthrough-additions": [
      "ACME_DIR",
      "ARTIFACTORY_TOKEN",
      "ARTIFACTORY_USERNAME",
      "GITHUB_TOKEN",
      "GITHUB_PROTOCOL",
      "KEY"
  ]
  <snip>

the resulting 'init-build-env' would then be:
  # environment passthrough added by bitbake-setup
  export BB_ENV_PASSTHROUGH_ADDITIONS=" \
  $BB_ENV_PASSTHROUGH_ADDITIONS \
  ACME_DIR \
  ARTIFACTORY_TOKEN \
  ARTIFACTORY_USERNAME \
  GITHUB_TOKEN \
  GITHUB_PROTOCOL \
  KEY"
  # init-build-env wrapper created by bitbake-setup
  . /tmp/acme_master-acme-distro_acme-machine_bang/layers/openembedded-core/oe-init-build-env /tmp/bitbake-setup/gs/acme_master-acme-distro_acme-machine_bang/build

(Bitbake rev: 782ab99e7a04fba43bdcf5763a6280785944ae3f)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
39af683c76 bitbake: bitbake-setup: add support for skipping a fragment selection
In autobuilder testing a use case arised where
- the available choices in configuration file for choosing a machine are incomplete
- putting every possible machine choice into that configuration is undesirable/not possible
- autobuilder code can write a machine selection into the bitbake config
after the fact.

So this --skip-selection option is intended for advanced users that know what they're doing
and is generally not recommended as it requires manually tweaking the bitbake config to
make it usable.

(Bitbake rev: 8cb2372bdad381179969d2ecbba7decaf03a7c5f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
28055e0c0d bitbake: bitbake: registry: make a separate configuration for poky with sstate mirror
Using sstate mirror places much higher requirements on both network robustness
and network bandwidth than just fetching source code. When the network doesn't meet
those, the user experience can be very frustrating as errors can be cryptic and
intermittent, or bitbake would just seemingly do nothing for a long time.

Let's make sstate an opt-in, and provide a caution for using it. When it does
work, it works wonderfully and does accelerate builds significantly.

(Bitbake rev: fe88a8e9cd5ccbc26508cf524a2f71a06d3df03a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Paul Gortmaker
3fe3e0ba1f bitbake: bitbake-setup: clarify that default answer to prompts is no
It is common practice to put the default choice in upper case for
yes/no interactive prompts, so that when people just hit enter, they
know what they are getting.  An example that linux users are probably
familiar with is "sensors-detect" from the "lm-sensors" package.

Unify all the prompts to be the same and indicate that the default
answer from hitting enter is a no with an upper case N.  No functional
changes.

(Bitbake rev: 7d6225722e21b116ae164fbaae2a918534a5107b)

Signed-off-by: Paul Gortmaker <paulg@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Yoann Congal
20f58af1b3 bitbake: bitbake-setup: allow using {THISDIR}/my-layer
This implement the ability to use "{THISDIR}/my-layer" in the
"bb-layers" list. "{THISDIR}" is remplaced by the directory containing
the configuration file.

In small projects, we try to keep the setup a simple as possible: a
single git repo containing both the build confguration (e.g.
a bitbake-setup configuration file) and the meta layer with project
recipes/machine/distro.

This change allows this kind of setup:
├── meta-my-project/ # the project layer
└── my-project.conf.json   # the bb-setup configuration file

by writing, in my-project.conf.json:
  "bitbake-setup": {
    "configurations": [{
      "bb-layers": [
        "{THISDIR}/meta-my-project"

Note: in this case meta-my-project is not present as a "source", so, not
handled by bb-setup update/status. It is expected of the user to handle
this on their own (is our case, a simple git workflow).

(Bitbake rev: b3153be29de8b8570b0c184369bd41f4c646cf92)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
9f820ce0f4 bitbake: lib/bb/tests/setup.py: unset BBPATH to ensure isolation from the existing bitbake environment
bitbake-setup deduces top directory from BBPATH, which, if set, interferes with
the tests' own setup.

(Bitbake rev: e974d42eb5229f755e14b46a00ad06b23b53e143)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
bebbf40426 bitbake: lib/bb/tests/setup.py: define test parameters in a single dictionary
This makes maintaining and extending them easier.

(Bitbake rev: 16dc8e3dad7dde7e7651cce13549e61574cafba1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Yoann Congal
0c37775349 bitbake: bitbake-setup: dash support for init-build-env script
Being minimalist, dash does not support the (non-POSIX) feature of
passing an argument while sourcing a script. Like in
  . <some path>/oe-init-build-env <build dir>

With dash, one must use:
  set <build dir>       # puts <build dir> in $1
  cd <some path>
  . ./oe-init-build-env # can only be called from its directory in dash

To do this:
* Instead of a symlink to oe-init-build-env, keep a symlink to the
  directory containing it (called "oe-init-build-env-dir")
* Generate a init-build-env script that dash can source using the above
  snippet.

(Bitbake rev: 442b41c7949e1522212b66b16811f6b64b089b23)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Yoann Congal
47f6bd30b4 bitbake: bitbake-setup: suggest "." instead of "source"
"." is in POSIX standard[0], whereas "source" is only supported in more
feature-full shells (bash, zsh, ...)

[0]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot

(Bitbake rev: 22c5fe7b2de74841e86d28a81143bd1a717518d9)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
32a3828d59 bitbake: bitbake-setup: improve robustness of loading/writing settings
Particularly:

- ensure global settings command line argument is always expanded to
full path
- ensure any errors that happen when loading settings are reported
at that point, otherwise we get an empty dictionary and cryptic
key errors later

(Bitbake rev: 578afa2f05dfa6727952365918df703875070f64)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
1a55c45617 bitbake: bitbake-setup: add support for specifying branches in repo checkouts
Previously bitbake-setup was checking out 'detached commits' using
fetcher's nobranch feature, as that is the only option when only a revision is in the config.

Branches are optional, but beneficial, as

- checkout directory will be on a branch, making it easier for users
to understand where they are if they need to make changes (also
bitbake will print branch information instead of saying 'HEAD:sha').

- supply chain security! Enforcing a branch means any specified revision
has to be on it, and no one can sneak in (accidentally or deliberately!)
some dangling commit, or something from their private branch in the same repo.

(Bitbake rev: 45ed9b9faebdaa8cb7cc8dd2a6d51ec8eea06e73)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Richard Purdie
dd358f75f4 bitbake: bitbake-setup: Improve the already initialized test
If the directory already exists but hasn't been setup, the current test
can fail so improve it.

(Bitbake rev: dac27bd5acbde1807b9637f809fd0ee5bf424286)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Richard Purdie
3d48b2a7b1 bitbake: bitbake-setup: Switch to internal default registry files
Switch the url to be the default internal registry rather than a private
repo which was intended for testing.

(Bitbake rev: e031b75b5b92552d812d2305a35ce90eb6c68b78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Richard Purdie
f2b06607d3 bitbake: Add default registry config for OpenEmbedded's nodistro and Yocto Project's poky
Rather than forcing every user to have to access a separate repository
for data for some key defaults, add those for nodistro and poky. This
gives us some commonly used setups and also something to test against too.

We will need to come up with a criteria for adding these, most likely based
on community usage/demand with the OE TSC governing that policy.

(Bitbake rev: 562de93d5b0e7cf0a9a43714d0563e5bcf6e9931)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Richard Purdie
9c80f22d37 bitbake: bitbake-setup: Allow local registry paths
It is useful for bitbake-setup to support local paths without access through
the fetcher so that internal data to the bitbake repository can be used as
a default.

(Bitbake rev: ec82a6d402a0bec5704310c66c6f4206c75e4fc9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
4e94ef6f0b bitbake: cooker: adjust the error message about missing websockets module to mention bitbake-setup
(Bitbake rev: 2d15e6fc93f6a73c9c84e399613f931f1c783922)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
266379f0be bitbake: bitbake-setup: add 'install-buildtools' command
This basically calls install-buildtools from oe-core/poky, but
it ensures via command line parameters that the installation
location is stable and the downloads are preserved for reproducibility:

$ bin/bitbake-setup install-buildtools
Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf

======
Buildtools archive is downloaded into /home/alex/bitbake-builds/yocto-master-testing/buildtools-downloads/20250319141333 and its content installed into /home/alex/bitbake-builds/yocto-master-testing/buildtools

... (output from install-buildtools script)
======

It also detects when buildtools are already installed, and will direct
users what to do:
======
alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-setup install-buildtools
Loading settings from /home/alex/bitbake-builds/bitbake-setup.conf

Buildtools are already installed in /home/alex/bitbake-builds/yocto-master-testing/buildtools.
If you wish to use them, you need to source the the environment setup script e.g.
$ . /home/alex/bitbake-builds/yocto-master-testing/buildtools/environment-setup-x86_64-pokysdk-linux
You can also re-run bitbake-setup install-buildtools with --force option to force a reinstallation
======

This commits includes fixes by Gyorgy Sarvari <skandigraun@gmail.com>
https://github.com/kanavin/bitbake/pull/2

(Bitbake rev: 3fe3096847046110c72b23fce37fb4a459b1d748)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
a66c929a6a bitbake: bitbake-setup: add tests to bitbake-selftest
Run like this:

alex@Zen2:/srv/work/alex/bitbake$ bin/bitbake-selftest -v bb.tests.setup
test_setup (bb.tests.setup.BitbakeSetupTest.test_setup) ... ok

----------------------------------------------------------------------
Ran 1 test in 9.223s

OK

The test does a basic run-through of init, then status/update
on an unchanged configuration, then status/update on a
configuration changed via new commits to the test layer,
then status/update on configuration changed via the top
level json config file.

Note that nothing whatsoever is fetched from the network;
the test relies entirely on synthetic data contained inside
itself, including minimal stubs for oe-setup-build and
bitbake-config-build. This data is used to create temporary
git repositories then clone them via local filesystem URIs.

Later on this can be supplemented by an oe-selftest that
tests bitbake-setup against real config files in the
official configuration repository and real layers,
templates and fragments.

(Bitbake rev: e3aa3eb46bd3196fa5415fa36e3737636fd6a1c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Alexander Kanavin
b05d3c8a31 bitbake: bitbake-setup: add the initial implementation
Preamble
========

The latest iteration of this patchset is available at
https://github.com/kanavin/bitbake
I recommend taking the patches from there to ensure that
you are not trying out outdated code.

For the rationale and design guidelines please see this message:
https://lists.openembedded.org/g/openembedded-architecture/message/1913

Left out for now but will be done later:

- official configuration repository

- documentation

Amble *scratch* HOWTO
=====================

1. If you don't know where to start, run 'bitbake-setup init'.

Bitbake-setup will ask a few questions about available configuration choices and set up a build.

Note: 'init' sub-command can also take a path or a URL with a configuration file directly.
You can see how those files look like here:
https://github.com/kanavin/bitbake-setup-configurations

2. You can then source the bitbake environment and run bitbake to perform builds as usual:

$ . /home/alex/bitbake-builds/yocto-master-options-poky-distro_poky-machine_qemux86-64/build/init-build-env

Also, subsequent status/update commands will not require a separate --build-dir argument telling
bitbake-setup where the build is.

3. To check if the build configuration needs to be updated, run:

===
$ bin/bitbake-setup status
...
Configuration in /home/alex/bitbake-builds/poky-alex/ has not changed.
===

If the configuration has changed, you will see the difference as a diff.
...
  -                "rev": "akanavin/sstate-for-all"
  +                "rev": "akanavin/bitbake-setup-testing"
...

If the configuration has not changed, but layer revisions referred to it have (for example
if the configuration specifies a tip of a branch), you will see that too:

===
...
Layer repository git://git.yoctoproject.org/poky-contrib checked out into /home/alex/builds/poky-alex/layers/poky updated revision akanavin/sstate-for-all from 6b842ba55f996b27c900e3de78ceac8cb3b1c492 to aeb73e29379fe6007a8adc8d94c1ac18a93e68de
===

4. If the configuration has changed, you can bring it in sync with:

$ bin/bitbake-setup update

Note that it will also rename/preserve the existing build/conf directory, and print changes
in bitbake configuration (diff of content of build/conf/) if that has changed. I can't
at the moment think of anything more clever that is also not much more brittle or complex
to implement, but open to suggestions.

Terminology
===========

- 'top directory' means the place under which bitbake-setup reads and
writes everything. bitbake-setup makes a promise to not touch anything outside of
that, unless otherwise directed to by entries in settings (currently
there is one such setting for fetcher downloads for layers and config
registries). Top directory can be selected by an environment variable, a command line option,
or otherwise assumed to be ~/bitbake-builds/. If BBPATH is in environment
(e.g. we are in a bitbake environment), then the top directory is
deduced from that and doesn't need to be specified by hand.

- 'settings' means bitbake-setup operational parameters that are
global to all builds under a top directory. E.g. the location of
configuration registry, or where the bitbake fetcher should place the
downloads (DL_DIR setting). Settings are stored in a .conf file in ini
format just under the top directory.

- 'build' means a tree structure set up by 'bitbake-setup init',
consisting of, at least, a layers checkout, and a bitbake
build. It maps 1:1 to the json data it was constructed from, which is
called 'build configuration'. Build configurations are constructed from
generic configurations that may involve making one or more choices
about available options in them. Generic configurations are files, URLs
or are obtained from git repositories called 'config
registries', in which case they can be listed with 'bitbake-setup
list'. There can be multiple 'builds' under a top directory. Here are
two example generic configurations that showcase this:
https://github.com/kanavin/bitbake-setup-configurations/blob/main/yocto-master-options.conf.json
https://github.com/kanavin/bitbake-setup-configurations/blob/main/yocto-master-nested-configs.conf.json

- 'bitbake-setup status' will tell if a build is in sync with
the generic configuration it was made from. 'bitbake-setup update' will bring a build
in sync with a configuration if needed.

- 'bitbake build' means a particular sub-tree inside a build that
bitbake itself operates on, e.g. what is set in BBPATH/BUILDDIR
by oe-init-build-env. conf/* in that tree is 'bitbake configuration'.
Bitbake configurations are constructed from templates and fragments,
with existing mechanisms provided by oe-core. The configuration file
format is specified such that other mechanisms to set up a
bitbake build can be added; there was a mention of ability to specify
local.conf content and a set of layers directly in a configuration. I
think that scales poorly compared to templates and fragments, but I
made sure alternative ways to configure a bitbake build are possible
to add in the future :)

- 'source override' is a json file that can be used to modify revisions
and origins of layers that need to be checkout into a build (e.g.
when master branches need to be changed to master-next for purposes
of testing). Such a file is specified with a command-line option to 'init'
and an example can be seen here:
https://github.com/kanavin/bitbake-setup-configurations/blob/main/yocto-master-next.override.json

This commit includes fixes by
Ryan Eatmon <reatmon@ti.com> https://github.com/kanavin/bitbake/pull/1
Gyorgy Sarvari <skandigraun@gmail.com> https://github.com/kanavin/bitbake/pull/2
Johannes Schneider <johannes.schneider@leica-geosystems.com> https://github.com/kanavin/bitbake/pull/3 https://github.com/kanavin/bitbake/pull/5

(Bitbake rev: b96154aeb1fc89184ac245e0d68e6e726fe80c04)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
Peter Kjellerstedt
4a1f38dd8d bitbake: knotty, uihelper: Remove running_pids and lastpids
* lastpids has not been used for almost 10 years.
* There is no longer any need to use running_pids to keep track of the
  order the pids in running_tasks were added as dicts are guaranteed to
  remember the insertion order since Python 3.7.

(Bitbake rev: 562b5bf0be2883144391e7030a9dce6a233802ac)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:30:31 +01:00
Yoann Congal
b203f9146e bitbake: ast: Warn on multiple builtin config fragments for the same variable
Having multiple builtin config fragments for the same variable
(eg OE_FRAGMENTS = "... machine/A ... machine/B") is not supported.
Warn the user to make them fix this but continue with the normal
variable evaluation : the last affectation "wins".

Added warning looks like:
WARNING: Multiple builtin fragments are enabled for machine via variable OE_FRAGMENTS: machine/qemux86-64 machine/test machine/qemux86-64. This likely points to a mis-configuration in the metadata, as only one of them should be set. The build will use the last value.

(Bitbake rev: 1c12aa23f6678dc289fc0e0d8b4dad311bd39c35)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:30:31 +01:00
Mikko Rapeli
34f0052af3 parselogs-ignores-genericarm64.txt: add Qualcomm rb3gen2 workarounds
u-boot 2025.10rc2 based firmware from meta-ts
https://gitlab.com/Linaro/trustedsubstrate/meta-ts
triggers some non-fatal errors from various drivers.
Ignore them for now since all other oeqa runtime tests pass
since in genericarm64 we don't build this firmware.

(From meta-yocto rev: fe65e142d0d9ba0e51ff9175ffa82e902f982a20)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
bdf976a085 genericarm64.conf: increase initramfs size
With firmware files and more kernel modules the size
limit is hit again. Increase by 60Mb.

(From meta-yocto rev: 4348f496cf4950cf665d7c56643718b5238e96bf)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
657786eebd genericarm64.conf: install Qualcomm rb3gen2 firmware
Copied from meta-qcom
recipes-bsp/packagegroups/packagegroup-rb3gen2.bb
Sadly does not fully resolve kernel error messages
from WiFi firmware files.

(From meta-yocto rev: 6fd803cd96746cbf3ae625d0fadbb176ce1b2919)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
52149efc8c parselogs-ignores-genericarm64.txt: add Rpi4 wifi firmware workaround
The firmware file is not available from linux-firmware package
so it may be that another file name is used instead. Thus
this non-fatal error can be ignored for now.

(From meta-yocto rev: 2d442f338cbd4a681388c093899a5709b7881d96)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
13e1a2b2c7 genericarm64.conf: install linux-firmware-bcm43455 to images
by default. Fixes parselogs oeqa runtime test failures:

https://ledge.validation.linaro.org/scheduler/job/121516

Central error: brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
...
Central error: brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.bin failed with error -2

(From meta-yocto rev: dce46431683b5172327770972166c79e4c60cc2d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
3e48365f40 parselogs-ignores-genericarm64.txt: add workarounds for NXP imx8mp
u-boot 2025.10rc2 based firmware from meta-ts
https://gitlab.com/Linaro/trustedsubstrate/meta-ts
triggers some non-fatal errors from various drivers.
Ignore them for now since all other oeqa runtime tests pass
since in genericarm64 we don't build this firmware.

(From meta-yocto rev: 0b15a104ea04acd79b87f7cf3da96f637dafdef4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
1f92e7fd5d parselogs-ignores-genericarm64.txt: add workaround for TI K3 am62p5
With u-boot 2024.04 based firmware the board firmware seems to
have one small issue which kernel complains about. The board
works well and passes other tests so ignore this for now.

(From meta-yocto rev: 56f33867249f79340f868cb90bc7e4c2a6a641d2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
a39acbdcb7 parselogs-ignores-genericarm64.txt: add workarounds for AMD zcu102
u-boot 2025.10rc2 based firmware from meta-ts
https://gitlab.com/Linaro/trustedsubstrate/meta-ts
triggers some non-fatal errors from various drivers.
Ignore them for now since all other oeqa runtime tests pass
since in genericarm64 we don't build this firmware.

(From meta-yocto rev: 6fc9c8e2a8b23877c2cd2bac43d37dcaf5b6c8ef)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:52 +01:00
Mikko Rapeli
4f18298d25 parselogs-ignores-genericarm64.txt: add error messages from rockpi4b
Rockchip rk3399 based rockpi4b with u-boot 2025.10rc2 based firmware
from meta-ts https://gitlab.com/Linaro/trustedsubstrate/meta-ts
triggers some non-fatal errors from various drivers.
Ignore them for now since all other oeqa runtime tests pass
since in genericarm64 we don't build this firmware.

https://ledge.validation.linaro.org/scheduler/job/119422

(From meta-yocto rev: b91b6ca6827d489ecb21cb688403c2b1c76ccd52)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 23:29:51 +01:00
Mathieu Dubois-Briand
22d697a835 oeqa: runtime: logrotate: Fix typos and add comments
(From OE-Core rev: 7d1d3b4958bc48cf49ddb653c76c8cd536babac6)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Dmitry Baryshkov
2d844e061a x264: switch to PACKAGECONFIG
Switch to PACKAGECONFIG in order to make x264 options configurable.
Enable FFmpeg (by default) and OpenCL (if enabled by the distro). Pick
up the patch to fix building with the latest FFmpeg.

(From OE-Core rev: 4339bf44faa11bf5933f23ac5b0b6ecaa5a1afab)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Gyorgy Sarvari
f897ff7da3 vte: upgrade 0.80.3 -> 0.82.1
Commitlog:
https://gitlab.gnome.org/GNOME/vte/-/compare/0.80.3...0.82.1

(From OE-Core rev: d2e5df7e3daa4b58d8802b62fbbba5f6959379c3)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Khem Raj
fa64301121 llvm/clang: Upgrade to 21.1.3 release
brings following fixes

* 450f52eec88f Bump version to 21.1.3.
* 05b5090e961f Port 5b4819e to release/21.x
* 2cb08dbb39b1 [compiler-rt][sanitizer] fix msghdr for musl (#136195)
* 6e687cbe0dd3 [SPARC] Prevent meta instructions from being inserted into delay slots (#161111)
* f8151a1d2c86 [clang] [Headers] Don't use unreserved names in avx10_2bf16intrin.h (#161824)
* 9ee4ac8a8359 [clang][SPARC] Pass 16-aligned structs with the correct alignment in CC (#155829)
* 220bac16a417 [Hexagon] Add opcode V6_vS32Ub_npred_ai for offset validity check (#161618)
* a867bd53e861 [clang][PAC] Don't try to diagnose use of pointer auth on dependent types #159505 (#159859)
* 41e817a1d1f4 release/21.x: [clang-format] Fix bugs in annotating arrows and square brackets (#160973)
* 559d966bcb54 [Mips] Fix atomic min/max generate mips4 instructions when compiling for mips2 (#159717)
* d1e2f8916128 [LLD] [COFF] Fix symbol names for import thunks (#160694)
* 0060034c6a0b [analyzer] Revert #115918, so empty base class optimization works again (#157480)
* 31e4363ba9c2 [NVPTX] Disable relative lookup tables (#159748)
* 74cb34a6f51a Bump version to 21.1.3

(From OE-Core rev: 4a590bdd8794c6873f9ff0dc6d988d62f5b2ca5c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Dmitry Baryshkov
1eadde0f93 vulkan: upgrade 1.4.321.0 -> 1.4.328.1
Upgrade all Vulkan-related packages together in a single commit.

License-Update: glslang dropped SPIR-V remapper
(From OE-Core rev: 55c7566c33833a8f36cbf50a70cb1a1cf7aa96d5)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Yi Zhao
27c46b89fe ltp: upgrade 20250530 -> 20250930
ChangeLog:
https://github.com/linux-test-project/ltp/releases/tag/20250930

(From OE-Core rev: dd53cccdd11358398cf154ee8d0e529ff180adb1)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Yi Zhao
739fb7e209 json-glib: upgrade 1.10.6 -> 1.10.8
ChangeLog:
 * Add missing escape
 * Fix static builds

(From OE-Core rev: b73e30c82d16e2a93e402873cad0da6ca6251f2b)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Yoann Congal
a41bfa10a0 oeqa/selftest/buildoptions: Fix test_yocto_source_mirror MIRRORS & PREMIRRORS definitions
Currently, the definitions of MIRRORS and PREMIRRORS made by
test_yocto_source_mirror() are overwritten when run on the autobuilder:
* MIRRORS = "" is extended by mirrors.bbclass to its usual value.
* PREMIRRORS = "* dl.yp.org" is overwritten by the autobuilder.conf
  config fragment to ""

Simplified variable history:
  # $MIRRORS [4 operations]
  #   set .../contribution-yocto/builds/build-qemux86-64-st/conf/selftest.inc:3
  #     ""
  #   append .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/classes-global/mirrors.bbclass:57
  #     "${DEBIAN_MIRROR}	..."
  MIRRORS=" http://deb.debian.org/debian/pool ..."

  # $PREMIRRORS [4 operations]
  #   set .../contribution-yocto/builds/build-qemux86-64-st/conf/selftest.inc:18
  #     "    bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ \n ..."
  #   set .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/conf/fragments/yocto-autobuilder/autobuilder.conf:6
  #     ""
  #   append .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/classes-global/mirrors.bbclass:84
  #     "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/  ..."
  PREMIRRORS=" git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/  ..."

Despite this unexpected configuration, the test passes because after
failing to find a PREMIRROR (empty), failing to download the normal
SRC_URI (because of BB_ALLOWED_NETWORKS), the fetcher tries the MIRRORS
which have by default download.yoctoproject.org. For example, on a
failed meta-oe-mirror test[0], we can see a lot of warnings:
"stdio: WARNING: ... do_fetch: Failed to fetch URL https://... attempting MIRRORS if available"

By using the ":forcevariable" override, test_yocto_source_mirror() makes
sure the correct value is set for MIRRORS and PREMIRRORS (whatever is
the configuration).

Simplified variable history (after the fix):
  # $MIRRORS [4 operations]
  #   append .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/classes-global/mirrors.bbclass:57
  #     "${DEBIAN_MIRROR}	..."
  #   append .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/classes-global/mirrors.bbclass:68
  #     "git://salsa.debian.org/.* ..."
  #   override[forcevariable]:set .../contribution-yocto/builds/build-qemux86-64-st/conf/selftest.inc:3
  #     ""
  MIRRORS=""

  # $PREMIRRORS [4 operations]
  #   set .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/conf/fragments/yocto-autobuilder/autobuilder.conf:6
  #     ""
  #   append .../contribution-yocto/builds/build-qemux86-64-st/../../layers/poky/meta/classes-global/mirrors.bbclass:84
  #     "git://sourceware.org/git/glibc.git ..."
  #   override[forcevariable]:set .../contribution-yocto/builds/build-qemux86-64-st/conf/selftest.inc:18
  #     "    bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ ..."
  # pre-expansion value:
  #   "    bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ ..."
  PREMIRRORS="    bzr://.*/.*   http://downloads.yoctoproject.org/mirror/sources/ ..."

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/470/steps/17/logs/warnings

Fixes [YOCTO #15993]

(From OE-Core rev: ab810d1239d4db0bc0f23db31c70cc9c6e59357e)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Dmitry Baryshkov
c4c27366f5 mesa: sort out driver lists
Sort the lists of VUKAN_DRIVERS, GALLIUMDRIVERS and driver-related
PACAKGECONFIG entries, making it easier to add new drivers or to find
out the correct dependencies for the driver.

(From OE-Core rev: 64108679ada885b74fcc6ac49f9e5e983f34e663)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Dmitry Baryshkov
c3f66e88e2 mesa: be more explicit about gallium-llvm dependency
Historically mesa recipe had separate variables for drivers that
depended on gallium-llvm PACKAGECONFIG. Since that time we started
listing other dependencies explicitly (e.g. libclc). Drop the
intermediate variables and make the dependency on gallium-llvm more
explicit.

(From OE-Core rev: d3ce0b8a9964d2a0afe98701ee4d51b2dbd8d64e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Dmitry Baryshkov
a2ef24e8fb mesa: drop asahi -> opencl dependency
The Asahi drivers depend on the clc to be available, but not on the
RustiCL. Make it possible to build asahi drivers with opencl disabled.

(From OE-Core rev: c869128ba34d1c9c9952206fb6814e6fdbd39bef)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Dmitry Baryshkov
5e13fef9fa mesa: add opencl -> clang build dependency
With the commits 448f4a84cb22 ("llvm: add recipe for just the LLVM
libraries") and d76dc362c8e1 ("clang: use llvm recipe") the 'llvm'
dependency inside mesa.inc does no longer pull in the clang libraries,
failing RustiCL build as it can not find Clang libaries.

Add direct dependency on the clang in order to fulfill build-time deps.

Fixes: d76dc362c8e1 ("clang: use llvm recipe")
(From OE-Core rev: b8fa4a0ac33638b599ee169db11b5e77b2483148)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Peter Marko
665e06da7d binutils: patch CVE-2025-11083
Pick patch per link in NVD report.

(From OE-Core rev: 363961f74e3a8df3d1b97ce33855b8b40f6da497)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Peter Marko
a590d94c7f binutils: patch CVE-2025-11082
Pick patch per link in NVD report.

(From OE-Core rev: 4c72e3bcf1f7898e69d5b0b0d490e550bb96bc0e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Yash Shinde
932a695838 binutils: fix CVE-2025-11081
CVE: CVE-2025-11081

Trying to dump .sframe in a PE file results in a segfault accessing
elf_section_data.

	* objdump (dump_sframe_section, dump_dwarf_section): Don't access
	elf_section_type without first checking the file is ELF.

PR 33406 SEGV in dump_dwarf_section
[https://sourceware.org/bugzilla/show_bug.cgi?id=33406]

Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f87a66db645caf8cc0e6fc87b0c28c78a38af59b]

(From OE-Core rev: d1eb65d2e9365f6bd2acf450496d3bfeda6aedc1)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:04 +01:00
Yash Shinde
bd0535ddf8 cargo-c: fix debug symbols containing TMPDIR references
When building cargo-c with DEBUG mode, QA checks fail due to
absolute paths from the build environment (TMPDIR) being embedded into
the debug symbols/binaries. This causes issues such as:

  ERROR: do_package_qa: File /usr/bin/.debug/cargo-capi contains reference to TMPDIR [buildpaths]
  ERROR: do_package_qa: File /usr/bin/.debug/cargo-cinstall contains reference to TMPDIR [buildpaths]
  ERROR: do_package_qa: File /usr/bin/.debug/cargo-cbuild contains reference to TMPDIR [buildpaths]
  ERROR: do_package_qa: File /usr/bin/.debug/cargo-ctest contains reference to TMPDIR [buildpaths]

To fix this, pass an additional -ffile-prefix-map option to DEBUG_PREFIX_MAP to
ensure that paths under `${CARGO_HOME}` are remapped to `${TARGET_DBGSRC_DIR}`.
This ensures debug info is reproducible and does not leak host-specific paths.

(From OE-Core rev: 3239961e35434592c06ec2cae2885ab464d35744)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Ryan Eatmon
91f50b7c55 u-boot: Make sure the build dir is unique for each UBOOT_CONFIG
Each UBOOT_CONFIG entry is run in a different directory under ${B} so
that the files can be generated, compiled, and installed differently
from each other.  Currently that unique directory name was just the
defconfig used for each UBOOT_CONFIG.

One potential conflict arises when you want build the same defconfig
twice, but pass in different make options.  Then we get directory
collision.  Simple fix is to include both the defconfig name and the
UBOOT_CONFIG type in the directory name.

This change has the potential to be backwards breaking if a layer is
using the UBOOT_CONFIG flow and overriding/appending any of the do_*
shell functions.  Each of those will either need to change to using:

${B}/${config}  ->  ${B}/${config}-${type}

or for append functions they can use the new variable in the parent
function:

${B}/${config}  ->  ${B}/${builddir}

(From OE-Core rev: 22e96b32b0be02ec0971c9334d4b1df7c9ef8d84)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Randy MacLeod
4794125221 gawk: disable persistent memory allocator due to licensing
In gawk-5.2, a feature that allows gawk to preserve memory between runs:
   https://www.gnu.org/software/gawk/manual/html_node/Persistent-Memory.html
was added. The files that implement this, support/pma.[ch], are licensed
under the AGPL3 which some entities perfer to avoid. Force people to knowingly
opt into using this feature and license using:
   PACKAGECONFIG:append:pn-gawk = " pma-if-64bit"
where pma is an abbreviation for persistent memory allocator and the
"-if-64bit" suffix is a indicator to users that the feature only works
for 64 bit targets. Also add AGPL to LICENSE and LICENSE:${PN}, when using pma.

Correct the license to be AGPL-3.0-or-later. There hasn't been a change in
the license terms, at least for main.c, haven't changed significantly in
the last 15 years:

License-Update: Reflects conditional AGPL use and more as described above.

Testing requires a non-root account and following the example in the link above:
  $ truncate -s <size> data.pma
  $ chmod 0600 data.pma
  $ GAWK_PERSIST_FILE=data.pma gawk 'BEGIN { print ++i }'
  1
  $ GAWK_PERSIST_FILE=data.pma gawk 'BEGIN { print ++i }'
  2
  $ GAWK_PERSIST_FILE=data.pma gawk 'BEGIN { print ++i }'
  3

This works on qemu[x86-|arm|riscv]64 but not on qemu[arm|x86] where the
--enable-pma is ignored because there is a requirement and build-time test
for 8 byte void pointers in m4/pma.m4:
  if test "$SKIP_PERSIST_MALLOC" = no && test $ac_cv_sizeof_void_p -eq 8

Finally, remove an old comment about GPLv2, GPLv3 versions of gawk
since this is no longer important as the GPLv2 version is not maintained.

(From OE-Core rev: d7b6887dfbe2817ceb03d44a59210f65bbb25390)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Peter Marko
7a43a4a82d go: upgrade 1.25.1 -> 1.25.2
Upgrade to latest 1.25.x release [1]:

$ git --no-pager log --oneline go1.25.1..go1.25.2
bed6c81c2d (tag: go1.25.2) [release-branch.go1.25] go1.25.2
2612dcfd3c [release-branch.go1.25] archive/tar: set a limit on the size of GNU sparse file 1.0 regions
90f72bd500 [release-branch.go1.25] encoding/pem: make Decode complexity linear
e0f655bf3f [release-branch.go1.25] encoding/asn1: prevent memory exhaustion when parsing using internal/saferio
100c5a6680 [release-branch.go1.25] net/http: add httpcookiemaxnum GODEBUG option to limit number of cookies parsed
f0c69db15a [release-branch.go1.25] crypto/x509: improve domain name verification
9fd3ac8a10 [release-branch.go1.25] net/url: enforce stricter parsing of bracketed IPv6 hostnames
5d7a787aa2 [release-branch.go1.25] net/textproto: avoid quadratic complexity in Reader.ReadResponse
930ce220d0 [release-branch.go1.25] crypto/x509: mitigate DoS vector when intermediate certificate contains DSA public key
6a057327cf [release-branch.go1.25] net/mail: avoid quadratic behavior in mail address parsing
66f6feaa53 [release-branch.go1.25] spec: revert "update spec date to match release date"
d6f2741248 [release-branch.go1.25] spec: update spec date to match release date
28ac8d2104 [release-branch.go1.25] net/http: avoid connCount underflow race
06993c7721 [release-branch.go1.25] context: don't return a non-nil from Err before Done is closed
0b53e410f8 [release-branch.go1.25] debug/pe: permit symbols with no name
7735dc90ed [release-branch.go1.25] cmd/compile: don't rely on loop info when there are irreducible loops
205d086595 [release-branch.go1.25] crypto/tls: quote protocols in ALPN error message
16fdaac4b1 [release-branch.go1.25] sync/atomic: correct Uintptr.Or return doc
f3dc4aac0b [release-branch.go1.25] runtime: initialise debug settings much earlier in startup process
79c3081b4b [release-branch.go1.25] internal/poll: don't call Seek for overlapped Windows handles
b816c79658 [release-branch.go1.25] lib/fips140: re-seal v1.0.0
90de3b3399 [release-branch.go1.25] crypto/internal/fips140: remove key import PCTs, make keygen PCTs fatal
bec452a3a2 [release-branch.go1.25] crypto/internal/fips140: update frozen module version to "v1.0.0"
57bd28ab7f [release-branch.go1.25] crypto/internal/fips140/ecdsa: make TestingOnlyNewDRBG generic
f75bcffa4a [release-branch.go1.25] os: set full name for Roots created with Root.OpenRoot
7d570090a9 [release-branch.go1.25] os: fix Root.MkdirAll to handle race of directory creation
be61132165 [release-branch.go1.25] cmd/compile: export to DWARF types only referenced through interfaces
a86792b169 [release-branch.go1.25] net: skip TestIPv4WriteMsgUDPAddrPort on plan9
879e3cb5f7 [release-branch.go1.25] runtime: lock mheap_.speciallock when allocating synctest specials

Fixes CVE-2025-61725, CVE-2025-58187, CVE-2025-58189, CVE-2025-61723,
      CVE-2025-47912, CVE-2025-58185, CVE-2025-58186, CVE-2025-58188,
      CVE-2025-58183 and CVE-2025-61724 [2].

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

(From OE-Core rev: b46e8fdfc23a575ee8c69c136c7815e366a7e904)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Peter Marko
5b2c7b9b9b go: upgrade 1.25.0 -> 1.25.1
Upgrade to latest 1.25.x release [1]:

$ git --no-pager log --oneline go1.25.0..go1.25.1
56ebf80e57 (tag: go1.25.1) [release-branch.go1.25] go1.25.1
b1959cf6f7 [release-branch.go1.25] net/http: require exact match for CrossSiteProtection bypass patterns
cdd8cf4988 [release-branch.go1.25] net: fix WriteMsgUDPAddrPort addr handling on IPv4 sockets
8995e84ac6 [release-branch.go1.25] internal/poll: set the correct file offset in FD.Seek for Windows overlapped handles
749dff880a [release-branch.go1.25] runtime: make all synctest bubble violations fatal panics
21ac81c1e1 [release-branch.go1.25] os/exec: fix incorrect expansion of ".." in LookPath on plan9
c72fcab6d6 [release-branch.go1.25] cmd/go/internal/gover: fix ModIsPrerelease for toolchain versions

Fixes CVE-2025-47910 [2].

[1] https://github.com/golang/go/compare/go1.25.0...go1.25.1
[2] https://groups.google.com/g/golang-announce/c/PtW9VW21NPs

(From OE-Core rev: 34d34fdac49e2a3035e6a1aa3d5e8d1090e91c9f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Richard Purdie
b12f36c46e perf: Improve build race/reproducibulity fixes
The include options shouldn't be needed with the make fix but issues still remained.
Looking at the logs, it looks like these are from other header directories and
we need to run "make install_headers" for all of the sub components before starting
the main build.

Update the workaround to do that for each component with internal header copies.

(From OE-Core rev: 0b5f0a7b1db9f6923c027719181fa60f8fdb73e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Ryan Eatmon
fd601b6168 linux-firmware: Set FILES to ""
Now that all of the current firmware has either been moved into
sub-packages or removed due to licensing the base package is now
empty. Going forward we would like to keep the base package empty
and force the version updates to bin any new firmwares into
sub-packages.

(From OE-Core rev: 9b883aa6f3cf881bfd60442b9ec193ae191b4cbe)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Ryan Eatmon
366aeb0e9a linux-firmware: Remove unlicensed firmware
Create a new REMOVE_UNLICENSED variable and do_install() logic to
allow for marking certain firmware files as something to remove and not
package up.

This comes from the fact that the WHENCE file has a number of firmware
entries that have no license information or very questionable
declarations as to what the license is for the firmware.

(From OE-Core rev: 406628a31b7d903e6545d8a1b6d0548f0874ed6d)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Ryan Eatmon
75a8d894be linux-firmware: Move all firmware into sub-packages
A lot of the firmware has already been broken out into sub-packages, but
a good number were still lingering in the base linux-firmware package.

Move all of the remaining firmware into sub-packages based on the
driver name in the WHENCE file or into existing sub-packages where a
file or two were missed.

(From OE-Core rev: c53c6a0a11afb5c6133e1751e0b35e7eb809b60b)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Peter Kjellerstedt
f55108f74d core-image.bbclass: Document two image features that were missing
This adds documentation of overlayfs-etc and
read-only-rootfs-delayed-postinsts.

(From OE-Core rev: be4882e38e9bc00c1b927982d4ef6a559f5905f7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Peter Kjellerstedt
edc81a05ba core-image.bbclass: Tweak the descriptions of the image features
Some minor grammatical changes, and removal of some duplicate
information. Also note which features were previously part of the
debug-tweaks feature.

(From OE-Core rev: 377e6e7bc4be086c217f92db11f5c6101b52d88c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Peter Kjellerstedt
36840ba8de core-image.bbclass: Improve the documentation of available image features
Group the features based on what they are used for, and also sort the
features within each group.

(From OE-Core rev: b670cb573a0b8015ebff5e78fe2926c843247b9b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Peter Kjellerstedt
8d22ad819f core-image.bbclass: Sort the FEATURE_PACKAGES_*
This is primarily a preparation for the next commit.

(From OE-Core rev: cc70aa42c5548c2759cada8f93ca001b07f25599)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Adam Nilsson
a19b02074b core-image, populate_sdk_base: Add zsh-completion-pkgs image feature
Add a zsh-completion-pkgs image feature to install *-zsh-completion
packages into an image. This is similar to the existing
bash-completion-pkgs feature.

Suggested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(From OE-Core rev: c2d4228197ed0d0d00bb464237fa151a928eba76)

Signed-off-by: Adam Nilsson <Adam.X.Nilsson@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Alexander Kanavin
b000409576 selftest/bblayers: fix up compatibility with integrated poky and separate layer checkouts
Specifically:

- when using integrated poky, autobuilder clones it into 'build', rather than 'poky'

- do not use a catch-all default to tweak the commit id openembedded-core, rather make it specific to that
repository.

(From OE-Core rev: 9a77dea19b0a9b07a21648e6f231d936d7387846)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-13 18:01:03 +01:00
Richard Purdie
a2b8dde6f2 oeqa/selftest/systemd_boot: Fix changing MACHINE during the test
With config fragments, changing MACHINE in the test like this no
longer works. Use the forcevarable override to allow it to work.
This also needs a tweak to bitbake to work correctly, sent
seperately. Whilst ugly, this avoids the need to start changing
config fragments.

(From meta-yocto rev: 3f56d9e3b1b30116d979a98f7cf765c26996016a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-10 10:52:08 +01:00
Richard Purdie
165e592dd2 llvm: Bump versions to resolve hashequiv/reproducibility issues
(From OE-Core rev: 3fc1fa77dae8d138c9a0bf47172d978812b593b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-10 10:50:18 +01:00
Richard Purdie
8cf9a46970 bitbake: ast: Fix fragment behaviour with overrides
Imagine a machine fragment machine/A and a configuration which sets:

MACHINE = "B"
MACHINE:forcevariable = "C"

As I understand it, the fragment behaviour was intended to replace the
MACHINE = "B", so the override would still be active. The current code
replaces all variable overrides.

parsing=True, switches to the other behaviour, which I believe was the
design intent and the behaviour users would expect.

This is useful to allow test configurations to override a MACHINE setting
without change the fragments which would complicate the test code.

(Bitbake rev: f65bc6aaf4c11bc7e566c895209c093627a3015b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 12:48:47 +01:00
Steve Sakoman
8f3b2a4d46 oeqa/sdk/cases/autotools.py: use gnu mirror instead of main server
ftp.gnu.org is the main server of the GNU project, however download speed
can vary greatly based on one's location.

Using ftpmirror.gnu.org should redirect the request to the closest up-to-date mirror,
which should result sometimes in significantly faster download speed, depending
on one's location. This should also distribute the traffic more across the mirrors.

This information was sourced from https://www.gnu.org/prep/ftp.html

(From OE-Core rev: f3046716c9c565e6f65d5169694cd3da126cfaeb)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Steve Sakoman
b6f442ceb5 oeqa/selftest/cases/meta_ide.py: use gnu mirror instead of main server
ftp.gnu.org is the main server of the GNU project, however download speed
can vary greatly based on one's location.

Using ftpmirror.gnu.org should redirect the request to the closest up-to-date mirror,
which should result sometimes in significantly faster download speed, depending
on one's location. This should also distribute the traffic more across the mirrors.

This information was sourced from https://www.gnu.org/prep/ftp.html

(From OE-Core rev: b8cd34e56819e13fd374210cf67d6952d1f2586d)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ryan Eatmon
66c528b9c5 u-boot: Add specifying make options as part the config looping
There is a need to generate alternative versions of the uboot files
using the existing config looping system, but we need to add additional
settings to the make call rather simply specifying a different config.
Specifically we have two use cases:

1) We want to sign the same uboot files with two different keys where
   the key will be passed on the make call.
2) We want to include the alternative defconfigs from a different
   repository and need to add the path to this new location on the make
   command line.

This introduces a fourth value for the UBOOT_CONFIG settings:

  config,images,binary,make_opts

The values are placed into a new generated variable
UBOOT_CONFIG_MAKE_OPTS which is a '?' separated list since space can be
present if you need to specify multiple options.  This is handled by
changing IFS in the shell code when looping over the variable.

Additionally, add in a new variable UBOOT_MAKE_OPTS which is added to
the make calls in the various do_compile functions that do the actual
compiling.

(From OE-Core rev: 3338330e0c46b83e33c7e982c012459c89a7ec5c)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Fabio Estevam
83e523af78 u-boot: upgrade 2025.07 -> 2025.10
Upgrade to U-Boot 2025.10.

Drop all the applied patches.

(From OE-Core rev: 237d980c114842f1e5bfa96228429bbf018ea2d6)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Mathieu Dubois-Briand
966c774603 oeqa: runtime: ssh: Manage any SSH failure locally
This is the SSH test, it makes sense to ignore SSH failures in the SSH
helper and manage them in the test body.

(From OE-Core rev: 2281fd4c10e38a3cad3050b7a21a72cc7b09e718)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Mathieu Dubois-Briand
0cbe95e5ae oeqa: postactions: Ignore SSH errors
Postactions are not part of the tests but allow to retrieve useful data
from the target. They try to do this using SSH, but this can fail when
no SSH server is present on the target. Ignore these fails.

(From OE-Core rev: b7b3db490f9cdf99e71f114aec9fc8ad5c1d1d56)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Mathieu Dubois-Briand
55f1f00d25 oeqa: runtime: Ignore SSH errors during setup and tear down
Tests using SSH will fail when no SSH server is present on the target.
These tests are disabled in these cases, by being marked with a
dependency on ssh.SSHTest.test_ssh, which in turns has a dependency on
having either dropbear or openssh-sshd in the image.

But setUpClass() and tearDownClass() functions are always executed, even
on tests failing the dependency checks, leading to unexpected failed
tests.

Ignoring SSH errors in setup and tear down allows to avoid these test
errors.

(From OE-Core rev: 5bcc914cf5a193137cddc004f3b38b7b04af9ecb)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Mathieu Dubois-Briand
8810c1deb0 oeqa: target: ssh: Fail on SSH error even when errors are ignored
Most tests running SSH commands ask for no error to be raised when the
returned status is not 0. As run() will return this status, they may
later use its value to do a similar check on their own, or completely
ignore it. But most of the tests do not check if the non-zero status is
caused by a fail of the command run on the target or by a fail of SSH
itself.

This can lead to confusion when the error does not come from the command
executed on the target but from SSH itself: test might wrongfully be
marked as PASSED or might fail with incoherent errors.

As SSH errors are always reported with exit code 255, we can easily
filter these.

Modify OESSHTarget.run() behaviour so an AssertionError is raised on SSH
failures, even when ignore_status parameter is True. Still allow to
explicitly ignore this error for the rare cases where this can be
needed.

(From OE-Core rev: afe118d4f2de1f636b3a81dc692da35b35a3f2d7)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Yi Zhao
abd46facfa tcl8: upgrade 8.6.16 -> 8.6.17
ChangeLog:
  2024-12-16 (bug) [63449c] [namespace children] doesn't match non-glob
             patterns below the global namespace
  2025-01-06 (bug) [fc3509] Better error-message than "interpreter uses
             an incompatible stubs mechanism"
  2025-01-19 tzdata updated to Olson's tzdata2025a
  2025-01-28 (bug) [4f0b57] Win: [exec] now works on App Execution
             Aliases.
  2025-01-28 (bug) [4e2c8b] Win: [auto_execok] handles larger set of
             shell commands.
  2025-03-06 (bug) [ba68d1] errorline from [interp eval], interp-26.9
  2025-03-23 tzdata updated to Olson's tzdata2025b
  2025-04-11 (bug) [fd8341] Tcl_InitStubs compatibility for 9.1, better
             error-handling
  2025-05-05 (bug) [42d14c] Fix scan with long mantissa. Ex.: scan
             "1.[string repeat 1 191]e-321" %g
  2025-06-18 (bug) [4f338b] add missing Tcl_CloseEx docs
  2025-06-24 (bug) [ecf35c] Correct nested handling of return option
             -options
  2025-06-25 (bug) [ecafd8] Euro/Tail-sign missing from cp864 encoding
  2025-07-03 (bug) [6b0f77] gcc 14 breaks configure test for bigendian
             leading to broken floating point
  2025-07-16 (bug) [c9f052] prevent overflow crash in Tcl_SplitList().
  2025-07-21 (bug) [61c01e] Flawed ref counts in filesystem
             implementation for Windows led to use-after-free
  2025-08-12 (new) dde => 1.4.5
  2025-08-12 (bug) [992f94] avoid misaligned pointers in macOS file
             attribute functions

Set LC_ALL and LANG to en_US.UTF-8 when running ptest since the test
cases now include more encodings than just ASCII[1].
Also, add rdepends on locale-base-en-us and tzdata for ptest package,
as they are required for running ptest.

[1] aca3422d8b

(From OE-Core rev: 77cfa81c065cbdd31db1245379d7b9ec1dc224ae)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Khem Raj
64b4bd2a73 ghostscript: Do not treat declaration-after-statement warning as error
This option is added by ghostscript and is passed down to its modules
e.g. brotli, brotli does expect c99 or newer standard and hence uses
declarations after statement. This option causes compiler e.g. clang
to find this warning and treat it as error on 32bit builds

./brotli/c/dec/decode.c:440:12: error: mixing declarations and code is incompatible with standards before C99 [-Werror,-Wdeclaration-after-statement]
  440 |   uint32_t __fastload_table = (*table);
      |            ^
1 error generated.

(From OE-Core rev: 9b8e0b9a30f1de8bd1816f2528bc696f769dd8dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Uwe Kleine-König
3ad9548775 recipeutils/get_recipe_upstream_version: pass ud.name instead of 'default'
While all but the osc fetcher ignore the third parameter of their
latest_revision implementation, 'default' isn't a valid name in general.

Since commit 2515fbd10824 ("fetch: Drop multiple branch/revision support
for single git urls") in bitbake a fetcher only handles a single
branch/revision and the only sensible thing to pass is `ud.name`.

(From OE-Core rev: cb36e8a62d7d31b75b3ddc6b84c1bdee09ebbc60)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Dmitry Baryshkov
df6bba8ab6 piglit: enable OpenCL support if distro has enabled it
Enable 'opencl' PACKAGECONFIG if it is also set in DISTRO_FEATURES.

Cc: Ryan Eatmon <reatmon@ti.com>
(From OE-Core rev: 2f2ca84a738f7e40ef139e57a2a03450640153dd)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Peter Marko
365e8a69d7 openssl: upgrade 3.5.2 -> 3.5.4
Release information:
https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md#major-changes-between-openssl-353-and-openssl-354-30-sep-2025

OpenSSL 3.5.4 is a security patch release. The most severe CVE fixed in this release is Moderate.
This release incorporates the following bug fixes and mitigations:
* Fix Out-of-bounds read & write in RFC 3211 KEK Unwrap. (CVE-2025-9230)
* Fix Timing side-channel in SM2 algorithm on 64 bit ARM. (CVE-2025-9231)
* Fix Out-of-bounds read in HTTP client no_proxy handling. (CVE-2025-9232)
* Reverted the synthesised OPENSSL_VERSION_NUMBER change for the release builds, as it broke some exiting applications that relied on the previous 3.x semantics, as documented in OpenSSL_version(3).

Release information:
https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md#major-changes-between-openssl-352-and-openssl-353-16-sep-2025

OpenSSL 3.5.3 is a bug fix release.
This release incorporates the following bug fixes and mitigations:
* Added FIPS 140-3 PCT on DH key generation.
* Fixed the synthesised OPENSSL_VERSION_NUMBER.
* Removed PCT on key import in the FIPS provider as it is not required by the standard.

(From OE-Core rev: 0e2b3c46fdf2e2b3854fa73bda434fdd41da0a3c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Aleksandar Nikolic
adfee36276 scripts/install-buildtools: Update to 5.2.3
Update to the 5.2.3 release of the 5.2 series for buildtools

(From OE-Core rev: 4352f866b1a85107bba42a1557cbdc78bac34dba)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Alexander Kanavin
c040dccaf1 selftest/meta_ide: source the environment first, then change to the sources directory
This too used to work by coincidence: sourcing the environment
quietly failed without changing to the build directory, but
now that it works properly, things should be done in correct order.

(From OE-Core rev: ed98173057fa128ff565e1e1078b150ca14a85e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Alexander Kanavin
9225dc234d meta/classes-recipe/toolchain-scripts.bbclass: eliminate bash-ism
Sourcing a script with arguments is a non-standard bash extension
and doesn't work with other shells (e.g. dash, which is used on
Debian and derivatives). This used to work by coincidence when
running against integrated poky repo without having to separately
specify where bitbake is, but no longer does.

Using set is a POSIX standard.

(From OE-Core rev: 933686b7c6307778d171967c49b3a7b6645c31c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Adrian Freihofer
ff0911b191 toolchain-scripts.bbclass: fix bitbake-setup compatibility
Pass the BITBAKEDIR parameter to oe-init-build-env when called from the
environment-setup script. This fixes compatibility with bitbake-setup,
which places bitbake in a different directory structure than the
standard poky repository layout where bitbake is located alongside
oe-init-build-env.

The issue was discovered when running the oe-selftest test
DevtoolIdeSdkTests.test_devtool_ide_sdk_shared_sysroots, which failed
because the environment-setup script was not able to find bitbake.

File ".../openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
  line 2955, in test_devtool_ide_sdk_shared_sysroots
  self.assertExists(cmake_native)
  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File ".../openembedded-core/meta/lib/oeqa/selftest/case.py", line 251,
  in assertExists
  raise self.failureException(msg)
AssertionError: 'Error: The bitbake directory (/tmp/devtoolqah9ndff2x/bitbake)
  does not exist!  Please ensure a copy of bitbake exists at this location or
  specify an alternative path on the command line\n
  .../build-st/tmp/sysroots/x86_64/usr/bin/cmake' does not exist

(From OE-Core rev: f31903ca484bad68708ec510e25ea33234f5c0ce)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Richard Grünert
57d97d5970 scripts/runqemu: raise an error when bitbake was not found
Running 'scrupts/runqemu' without bitbake in PATH causes the
following error:

```
Traceback (most recent call last):
  File "/home/rg/temp_stuff/oe_2/./scripts/runqemu", line 1807, in main
    config.check_args()
    ~~~~~~~~~~~~~~~~~^^
  File "/home/rg/temp_stuff/oe_2/./scripts/runqemu", line 624, in check_args
    s = re.search('^DEPLOY_DIR_IMAGE="(.*)"', self.bitbake_e, re.M)
  File "/usr/lib/python3.13/re/__init__.py", line 177, in search
    return _compile(pattern, flags).search(string)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
```

This patch adds a more helpful error message to inform the user that
bitbake was not found, e.g. because oe-init-build-env was not sourced.

This is an example of the new error message after the patch:

```
runqemu - ERROR - In order for this script to dynamically infer paths
 kernels or filesystem images, you either need bitbake in your PATH
 or to source oe-init-build-env before running this script.

 Dynamic path inference can be avoided by passing a *.qemuboot.conf to
 runqemu, i.e. `runqemu /path/to/my-image-name.qemuboot.conf`

 Bitbake is needed to run 'bitbake -e', but it is not found in PATH. Please source the bitbake build environment.
```

CC: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Alexander Kanavin <alex.kanavin@gmail.com>

(From OE-Core rev: 0c10a78796fbdfaa5be4a824c0c9f5cb97c88046)

Signed-off-by: Richard Grünert <r.gruenert@pironex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Alexander Kanavin
21466040c3 scripts/runqemu: remove the code block that works around the missing bitbake environment
As confirmed by the previous patch this code path is never taken
and can be removed.

(From OE-Core rev: b931f74442e9f2fba95600ba056a5bd898c23b5a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Alexander Kanavin
cb2567ad96 runqemu: ensure that bitbake environment is either returned, or an exception is raised
This eliminates the other remaining code path where environment getter
returns 'nothing'. This and the previous patch were tested in a-full,
and no errors occurred [1], which means the code paths that make
use of the function returning nothing are never actually executed
and can be cleaned up (in the following patch).

The rationale is that if environment getter cannot obtain the environment,
it should report that and not sweep the issue under the carpet;
it's up to the caller to handle that situation, or make pre-emptive
checks that avoid calling the environment getter when it is bound to fail.

[1] https://lists.openembedded.org/g/openembedded-core/message/223651

(From OE-Core rev: 8197be4dd336be2f8a646916223922da61c5b9b1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ross Burton
8bd63e170c clang: consolidate LLVM_APPEND_VC_REV=OFF
Whilst the change to add TMPDIR to GIT_CEILING_DIRECTORIES should stop
LLVM from embedding git information into the recipes, also disable this
behaviour explicitly.

We do this because it's not just the sha of the source tree but also
the full URL of the repository, which would be an information leak if
an internal git mirror was being used.

(From OE-Core rev: 9247e242bf0e2384142427b67e5f1f7b4018c45d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ross Burton
905b746bdd classes/toolchain/clang: depend on llvm-native for tools, not clang
The relevant tools (objdump, strip, etc) are part of llvm-native now,
so trim dependencies and depend on that directly instead of clang-cross.

(From OE-Core rev: 732fb127b59b2d8fd23c2716355ba44f3f5a6a9d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ross Burton
b1f036069e clang: use llvm recipe
Change this recipe to build just clang and clang-tools-extra, using the
LLVM provided by the llvm recipe.

This adds an 'extra-tools' PACKAGECONFIG (enabled by default) that
controls whether to build the clang-tools-extra project. This includes
clang-tidy and clangd, but the compile time and size for these
components is not insignificant.

Add a patch from upstream to support using native prebuilt tools (such
as clang-tblgen) when building standalone.

Add a patch that is being worked on with upstream to not rebuild clang-
tblgen if it has already been provided. This saves a little build time,
but more importantly for us resolves a static linking/uninative problem.

Remove the dependency on clang-cross in non-native builds by just
depending on llvm-native and using the un-prefixed tools directly.

(From OE-Core rev: d76dc362c8e18779cc4ddc6a778fb423c0e66a65)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ross Burton
1ad97d9786 llvm: add recipe for just the LLVM libraries
Whilst it's convenient to build all of the LLVM project in one big
recipe, that's not ideal when we may just need LLVM on target and not
the rest.

Bring back a LLVM recipe that can be used by both clang (shortly) and
Rust (in the future)

Set the build type to MinSizeRel and DEBUG_LEVELFLAG to -g1 (instead of
the default, -g): the LLVM debug symbols are very large (several
gigabytes) and this reduces them to hundreds of megabytes.

(From OE-Core rev: 448f4a84cb22c380d97e069d0b98ddbe1cb8de18)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ross Burton
ff83c5de2e clang: globally disable build-time RPATHs for reproducibility
Various bits of the LLVM project set the build RPATH in a way that means
we have non-deterministic binaries even though we should always be using
relative paths.

This clearly is not working as some of the binaries get rewritten on
install and have large string paddings that correlate with erased build
paths.

So that we don't have to disable RPATHs in every recipe, just do it once
in the common include file and remove the existing recipe-specific
assignments that are now not needed.

(From OE-Core rev: acc8c5c89c0f1bff3413d2301a65afd89bd0d9ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Ross Burton
840d4fc3c5 bitbake.conf: add TMPDIR to GIT_CEILING_DIRECTORIES
We export GIT_CEILING_DIRECTORIES=WORKDIR to ensure that git calls
inside the builds don't find oe-core when they're meant to be looking
for the git repository of the source code.

However, this breaks for recipes that use work-shared (such as llvm), as
their working directory is outside of WORKDIR.

Solve this by adding TMPDIR to the list as a final catch, but keeping
WORKDIR first so that git will stop sooner in the general case.

This solves reproduciblity problems in LLVM, where for example lld's
version string would contain the URL and commit hash of the poky repo
being built.

(From OE-Core rev: f42f0185bd00e68ecc86a930487f21fc86214cfa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Richard Purdie
9832099afc populate_sdk_ext: Update to toolcfg.conf
Add handling for toolcfg to the eSDK generation. Take the opporunity to clean
up the code duplication too.

(From OE-Core rev: ba8a64935f43bfda92a11758b13590bbb3632ff2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Richard Purdie
31625f36de bitbake.conf,lib/configfragments: Use a new dedicated toolcfg.conf file
Rather than using auto.conf which already has established use in CI, or
local.conf which users expect to own/control, start writing "tooling"
controlled settings to a toolcfg.conf.

This frees CI to handle auto.conf as it wants, but avoids the tooling
breaking users local.conf files.

(From OE-Core rev: 3f8616e56b604d7b77a12334a6ce76d265de7323)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 10:58:07 +01:00
Richard Purdie
f4dc3460a1 oeqa/selftest/buildhistory: Fix test if USER_CLASSES is unset
If USER_CLASSES is unset, the test was failing. Fix that.

(From OE-Core rev: 7be456e675a17344aedaa65a10ecaa015bf3803a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 09:26:35 +01:00
Richard Purdie
9ffc6db805 oeqa/selftest/oescripts: Ensure buildstats is present
These tests need buildstats to be configured. Add that piece of
config in case it isn't by default.

(From OE-Core rev: d1962257783ed9348be9fdd2db20b7d2b7c37ce1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 09:26:35 +01:00
Richard Purdie
cdd655426c oeqa/selftest/bblock/fitimage/sstatetests: Fix changing MACHINE during the test
With config fragments, changing MACHINE in the test like this no
longer works. Use the forcevarable override to allow it to work.
This also needs a tweak to bitbake to work correctly, sent
seperately. Whilst ugly, this avoids the need to start changing
config fragments within oeqa right now.

(From OE-Core rev: 2323fe87eefc8017ac93ed98b1bea24996f2276b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 09:26:35 +01:00
Richard Purdie
4ede48f660 oeqa/selftest: Fix single threaded race issue
oe-selftest sets up separate build directories to run the tests in.
To to this, environment paths pointing at the previous build directory
are updated. In the multi-threaded case this is fine as the thread is
destroyed and the parent remains unchanged but in the single threaded
case, the environment is broken afterwards. This can mean we try and access
a directory which is in the process of being deleted (e.g. by clobberdir).

Restore the environment afterwards regardless to ensure the single threaded
case doesn't try and access the build directory which is now being deleted.

(From OE-Core rev: a165bec28ffc75fd44b1fdb02a0d3a80c5a4769b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-09 09:26:35 +01:00
Alexander Kanavin
3c1ef0d520 selftest/bblayers: maintain compatibility with integrated poky repo
This amends the recently merged commit that assumes the transition
to separate repositories has already happened and re-instatates
support for integrated poky.

(From OE-Core rev: 517666671ba2cc79b2ada3390d4ae0f2beb95caf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-08 13:55:27 +01:00
Yoann Congal
9ef953f10d oeqa/selftest/wic: fix PATH for wic.Wic2.test_extra_partition_plugin
Without importing PATH from the wic-tools recipes, the build host PATH
is used and this test may fail depending on tools (parted, dumpe2fs,
...) availability. This triggers build faillure on AB (e.g. [0])

To fix this, import PATH from wic-tools and ensure the original
environment is restored after.

Since this indent a block of code into a try/finally block, here is the
diff ignoring white spaces change:
  diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
  index bff3842305..bc99673d0d 100644
  --- a/meta/lib/oeqa/selftest/cases/wic.py
  +++ b/meta/lib/oeqa/selftest/cases/wic.py
  @@ -1680,0 +1681,4 @@ INITRAMFS_IMAGE = "core-image-initramfs-boot"
  +        oldpath = os.environ['PATH']
  +        os.environ['PATH'] = get_bb_var("PATH", "wic-tools")
  +
  +        try:
  @@ -1696,0 +1701,3 @@ INITRAMFS_IMAGE = "core-image-initramfs-boot"
  +        finally:
  +            os.environ['PATH'] = oldpath
  +

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2456

(From OE-Core rev: 9dfd4f44d4f40e7926dc88cb564baa2345c2a24f)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:16:00 +01:00
Yoann Congal
82eb9a0c36 oeqa/selftest/wic: fix PATH for wic.Wic2.test_extra_partition_space
Without importing PATH from the wic-tools recipes, the build host PATH
is used and this test may fail depending on tools (parted, dumpe2fs,
...) availability. This triggers build faillure on AB (e.g. [0])

To fix this, import PATH from wic-tools and ensure the original
environment is restored after.

Since this indent a block of code into a try/finally block, here is the
diff ignoring white spaces change:
  diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
  index b1c318bd4e..34d844b90b 100644
  --- a/meta/lib/oeqa/selftest/cases/wic.py
  +++ b/meta/lib/oeqa/selftest/cases/wic.py
  @@ -1331,0 +1332,4 @@
  +        oldpath = os.environ['PATH']
  +        os.environ['PATH'] = get_bb_var("PATH", "wic-tools")
  +
  +        try:
  @@ -1366,0 +1371,2 @@
  +        finally:
  +            os.environ['PATH'] = oldpath

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/2456

(From OE-Core rev: a6278a199807f1ad7ed1e27ec352af46e03e8b67)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:16:00 +01:00
Peter Marko
107da7da4b busybox: patch CVE-2025-46394
Pick commit mentioning this CVE.

(From OE-Core rev: 7b71962c282d296e29bc1bd6ab778b8ad2646919)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Robert Tiemann
8c803792ba udev-extraconf: Avoid slashes in mountpoint names
Devices with labels such as "Hello/World/Foo/Bar" cause mount.sh to
create the directory structure @MOUNT_BASE@/Hello/World/Foo/Bar. The
partition is mounted to the nested "Bar" directory. On device removal,
the directory structure is not cleaned up.

This commit replaces all forward slashes in partition labels by
underscores to avoid this edge case.

(From OE-Core rev: aa071e2f44b9f76883a7c316ea79c60ae3824d6c)

Signed-off-by: Robert Tiemann <rtie@gmx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Robert Tiemann
a153f32b1f udev-extraconf: Speed up mount.sh
On devices with many partitions, running blkid without parameters can
be rather slow because all block devices are inspected:

$ time /sbin/blkid
real    0m0.474s
user    0m0.026s
sys     0m0.172s

versus

$ time /sbin/blkid /dev/mmcblk0p10
real    0m0.027s
user    0m0.002s
sys     0m0.018s

Plugging in a device with 5 partitions means that mount.sh is going to
be executed 5 times, and so will be blkid. In the real-world case
outlined above, this adds up to an overhead of about 2.3 seconds for
blkid alone.

This commit changes mount.sh so that the block device of interest is
passed directly to blkid such that blkid inspects only that device,
leading to significant speedup.

(From OE-Core rev: 5e90348ce2fa400c77641062aa0b1efb52c9f955)

Signed-off-by: Robert Tiemann <rtie@gmx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Zoltán Böszörményi
d5c890186e mesa: update 25.2.3 -> 25.2.4
Announcement:
https://lists.freedesktop.org/archives/mesa-dev/2025-October/226554.html

(From OE-Core rev: cc69445dc24117785d2237b2460bff8bd768ab5c)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Pierre-Loup GOSSE
c6f78e7d50 wic: extra partition plugin
The extra_partition plugin allows populating an extra partition with
files listed in the new IMAGE_EXTRA_PARTITION_FILES variable. The
implementation is similar to the bootimg_partition plugin.

This plugin provides an easy way to install files that are not part of
the rootfs, from the deploy directory.

(From OE-Core rev: 3892912bd7e047a3b122ae910ac5fbd5a85117b8)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Dmitry Baryshkov
a208d55162 mesa-demos: split info tools to a separate package
While the rest of programs inside mesa-demos are really "demos", several
*info utilities have separate value as they allow gathering information
about the running system in a manner similar to clinfo or vulkaninfo.
Split them into a separate package in order to allow picking them info
the images without picking up the rest of "demos".

(From OE-Core rev: 153e33193b51868768e86be9a1d17b25b25f346a)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Jon Mason
ed94d27977 tunes/arm: add support for newer arm64 cores
Add tunes for cores that have been present since GCC 14.1.0.
These have been present in meta-arm since mid-July, and have all been
verified with fvp-base and testimage.  Of those present in meta-arm,
arch-armv8-9a.inc, arch-armv9-4a.inc, and arch-armv9-5a.inc have been
excluded from this commit, as there are currently issues compiling some
packages (but still present in meta-arm for those that want to use them
despite those issues).

(From OE-Core rev: 6a447745cc247a3570f02dec9db6fa4b6dc03367)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Randolph Sapp
cbf72b3696 go: fix sigaction usage on i386 platforms
In upstream the following commit [1] was submitted to resolve issues
with sigaction being used in linked libraries with cgo applications.

runtime: when using cgo on 386, call C sigaction function

This resolves potential segfaults with cgo applications that link to libraries
that intend to switch out signal handlers temporarily with sigaction.

[1] c5737dc21b

(From OE-Core rev: 1bc7a1731b218bb5c8a08c9823c777a40e17555e)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Khem Raj
bb8aa3740f python3-lxml: upgrade 6.0.1 -> 6.0.2
(From OE-Core rev: 92cc860ee2b0339e1a0220448e8685de262905a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Khem Raj
af2fbfa81d spirv-llvm-translator: Upgrade to 21.1.1
Backports following fixes to 21 branch

* 29758b55 [Backport to llvm_release_210] Fix error propagation in parseSPIRV (#3365)
* 615cc15b Fix BFloat16 mangling (#3355)
* 9aae1acb [Backport to 21] Implement SPV_INTEL_bfloat16_arithmetic (#3290)
* b50fc5ca [Backport to 21] Support for SPV_INTEL_shader_atomic_bfloat16 extension (#3343) (#3349)

(From OE-Core rev: 41c889269734a55bb5c49e52380bba62c9d5f461)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Deepesh Varatharajan
7a98334a8d clang: Upgrade to 21.1.2 release
Brings following bugfixes on top of 21.1.1

b708aea0bc71 [SCEV] Don't perform implication checks with many predicates (#158652)
77a3b0eda361 [RISCV] Refactor RVV builtin code generation for reduce compilation time [NFC] (#154906)
f14551dbc4e8 [RISCV] Reduce ManualCodeGen for RVV intrinsics with rounding mode. NFC
dcc2c1c933be [RISCV] Reduce ManualCodeGen for segment load/store intrinsics. NFC
e625a781211e [LLVM] Update CUDA ELF flags for their new ABI (#149534)
3e93017936b5 MC: Better handle backslash-escaped symbols (#158780)
bc5e9a5e2009 [MC] Add parseSymbol() helper (NFC) (#158106)
e2e5eb2f1cd9 [Loads] Check for overflow when adding MaxPtrDiff + Offset.
661c387fc2f1 release/21.x: [VPlan] Don't narrow op multiple times in narrowInterleaveGroups.
f5c1b5206cbe [PowerPC] Avoid working on deleted node in ext bool trunc combine (#160050)
db70369f400e [Clang] Fix an error-recovery crash after d1a80dea (#159976)
9c8736f348e0 [ELF] -r/--emit-relocs: Fix crash when processing .rela.text before .text (#156354)
15a31832eab7 [RISCV] Re-work how VWADD_W_VL and similar _W_VL nodes are handled in combineOp_VLToVWOp_VL. (#159205)
f089fb21fffa [LoongArch] Fix MergeBaseOffset for constant pool index operand (#159336)
9eedaf5b1001 [VectorCombine] Fix scalarizeExtExtract for big-endian (#157962)
5af5cfb60d9e [clang-format] Handle C digit separators (#158418)
0174263ac214 Bump version to 21.1.2
ff039a98523f [RISCV] Support PreserveMost calling convention (#148214)
1a644bc50948 [X86] Fix assertion in AVX512 setcc combine due to invalid APInt mask width (#155775)
2c8cb316b5d2 [lldb][test] Only assert function name is in user-code on Darwin platforms
f5ba88341e7c [lldb][test] TestTsanBasic.py: fix function name assertion
faedeb1a2420 [lldb][Instrumentation] Set selected frame to outside sanitizer libraries (#133079)
54896838ca5e [lldb][Target] Clear selected frame index after a StopInfo::PerformAction (#133078)
f4907049285c [Clang][Cygwin] Use correct mangling rule (#158404)

(From OE-Core rev: bf15536de8fe99849eef0696455b5679b0f7a9d5)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Alexander Kanavin
0254b4590a selftest/bblayers: do not assume integrated poky repo
The autobuilder is being transitioned to bitbake-setup which
sets up individual repositories that yocto is made of. Adjust
hardcoded revisions to match these repositories.

(From OE-Core rev: d22744cc176524e83cc52d0800ce39b0070e261c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Adrian Freihofer
e9acea56bd devtool: ide_sdk: pass BITBAKEDIR to oe-init-build-env
This fixes an issue where the generated install_and_deploy script is
unable to find the bitbake directory when run outside of the build
environment. This happens if the oe-selftest suite runs in a bitbake
environment that is bootstrapped by bitbake-setup.

oe-selftest -r devtool.DevtoolIdeSdkTests.test_devtool_ide_sdk_none_qemu

AssertionError: Command '.../build-st/workspace/ide-sdk/cmake-example/
  scripts/install_and_deploy_cmake-example-cortexa57' returned non-zero exit status 1:
Error: The bitbake directory (/tmp/devtoolqakq7kzgeo/bitbake) does not exist!
  Please ensure a copy of bitbake exists at this location or specify an
  alternative path on the command line
. /tmp/devtoolqakq7kzgeo/core-copy/oe-init-build-env
  /home/adrian/bitbake-builds/poky-master-poky-with-sstate-distro_poky-altcfg-machine_qemuarm64/build-st
  failed

Another reason this issue occurs with oe-selftests is that devtool
tests assume the full poky git repository is available. The setUpModule
function clones layer repositories, which for poky includes bitbake.
However, when using separate git repositories for bitbake and
openembedded-core, the bitbake directory is not preserved during layer
copying. While copying layers to allow modification during tests makes
sense, copying bitbake is less beneficial. Referring to the original
bitbake location is preferable, but cleaning up the devtool tests is
not part of this change.

(From OE-Core rev: 602802754485631f4e49bc844e473bc3ba7d38a4)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Adrian Freihofer
4688d95518 devtool: ide-sdk: use /bin/sh instead of /bin/bash
When generating the install and deploy script for IDEs, use /bin/sh
instead of /bin/bash. While this is not addressing a known issue,
using the more portable /bin/sh shell is preferable and avoids
requiring bash to be installed.

(From OE-Core rev: 7db8dd3631d3fcd112631761d8aa12886213273c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Adrian Freihofer
12049eb12c devtool: ide_sdk: trivial alphabetical reorder
(From OE-Core rev: 4623a1decfbcda82731670785e6c5a60c4cadef9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Alexander Kanavin
2416da36ae lib/bbconfigbuild/configfragments: disable the previous builtin fragment when enabling a new one
There was a flaw in the logic that allowed multiple builtin fragments with
the same prefix to be enabled at the same time. The correct behaviour
is that only one of them should be enabled, and when enabling it
all previously enabled fragments should be removed.

The issues that this caused are further explained in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15987

[YOCTO #15987]

(From OE-Core rev: aea2d69d0533bf005cd58eb91fd9b3a3ae194610)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 23:15:59 +01:00
Ross Burton
a7c8099fec linux-firmware: skip ldflags sanity check
Some of the firmware blobs, for example qcom/apq8016/modem.mbn, are
actually ELF files. We don't want to hold these to our exacting standard
for link flags because we're not building them and they don't run on the
target directly.

Note that as this check parses the output of ${OBJDUMP} -p it behaves
differently with binutils vs llvm.  It looks like binutils bails early
as it doesn't know what the target architecture is, whereas LLVM is more
comprehensive in its support.

(From OE-Core rev: a84ea657d4ff955ea27d3c2518e7eb124f4e61d9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-06 14:08:56 +01:00
Antonin Godard
9ed0d68be2 tools/build-docs-container: update with newly supported distros
Update the build-docs-container file with newly supported distributions.
These were all able to install packages and build the docs (including
the pdf) properly.

(From yocto-docs rev: 09c7800333b17b21e50d2a089a3ae1b123697243)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Antonin Godard
3f90a5b12d set_versions.py: fix subprocess.run call for older distros
Like in 28850c974a38 ("set_versions.py: use backward-compatible python
argument in run"), replace the capture_output options by Python <3.7
compatible ones.

(From yocto-docs rev: 6e1f4c18a13f369423599529a6960da5e3947d01)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Adrian Freihofer
4c4c2e2bb2 docs: add util-linux-script package for Fedora 42+
Fedora 42 split the script utility from util-linux into a separate
util-linux-script package. This change adds conditional installation
of util-linux-script for Fedora 42 and later versions.
5a2471d6e5

The package is added conditionally using rpm macro evaluation to
maintain compatibility with older Fedora versions where script was
included in the base util-linux package.

Note that different distributions handle this differently - for example,
Debian provides the script utility in a separate bsdutils package
rather than in util-linux.

(From yocto-docs rev: 22e28e817d2c9b49d9fedbb93b08874cec1fa3d3)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Antonin Godard
0471fb8c52 ref-manual/system-requirements.rst: update supported distributions
After 837a650aac17 ("poky: Update SANITY_TESTED_DISTROS") in meta-yocto.

(From yocto-docs rev: 4e7ce89ff91f5fa7ade1feb7be96f898b56068ed)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Adam Blank
c059eea32f ref-manual/variables.rst: fix the description of STAGING_DIR
There is no single "recipe-sysroots" directory, but rather many
"recipe-sysroot*" directories.

(From yocto-docs rev: f2d6e228409cb1dd1dbf339c405699ac6d3900be)

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Antonin Godard
e86a3d2236 Add documentation on fragments
- terms.rst: Provide the definitions of a Configuration Fragment and a
  Built-in Fragment.
- ref-manual: Add a quick reference guide on bitbake-config-build, and
  list the available fragments in OE-Core.
  Document the underlying variables related to fragments in the
  glossary.
- dev-manual: give instructions on how to create new custom fragments.

(From yocto-docs rev: 0820b71c830cab4151b0219b6d4013c41f461c6e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Antonin Godard
bb64a9adcf ref-manual/structure: document the auto.conf file
Add documentation for auto.conf, which is used by external tools for
automatically setting variables.

(From yocto-docs rev: 134e54a75e0144c4629f702c6f43e92ed1f12dce)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Talel BELHAJ SALEM
48b7b4885e dev-manual/building.rst: add note about externalsrc variables absolute paths
(From yocto-docs rev: 33166d70b6ad093bd95ffccafc0b07820682f656)

Signed-off-by: Talel BELHAJ SALEM <bhstalel@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Quentin Schulz
41062c9287 tools: build-docs-container: remove comment for unsupported distros
Ubuntu 18.04 and 20.04 are not supported distros, so let's remove the
comment listing the reason we don't support them.

(From yocto-docs rev: 9ff31ed417bc7cd80f8bde39372091e40e36b678)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Adam Blank
5f661a1c85 ref-manual/variables.rst: fix the description of KBUILD_DEFCONFIG
Remove some leftover confusing mention of KMACHINE.

(From yocto-docs rev: 582ee9e0b4930aea03255542b3d3913df19af8b0)

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Adam Blank
98ca252e56 kernel-dev/common.rst: fix the in-tree defconfig description
The description of the relation between KBUILD_DEFCONFIG and
SRC_URI is reversed. In fact it is the SRC_URI provided
defconfig which will be dropped by the kernel-yocto class
if both are provided.

(From yocto-docs rev: a808420655a0976ba08f013f468cf80f379b1d89)

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-03 17:53:57 +01:00
Alexander Kanavin
d1e80c53a9 populate_sdk_ext: do not require CONF_VERSION (e.g. local.conf version) to be set
The version checks for local.conf/site.conf/bblayers.conf are all optional,
and aren't enforced (by insane class) if the versions aren't set.

As bitbake-setup writes out a blank local.conf, it doesn't put a version in it
either. Also, esdk bundle has a fixed set of layers and is not at risk of
needing to update its own local.conf.

The same condition is already in place for esdk's bblayers.conf for similar reasons.

(From OE-Core rev: d83ff28157aaa9322f98b8da5dd50b562085085a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Vijay Anusuri
e02f0d06a3 ghostscript: upgrade 10.05.1 -> 10.06.0
Dropped 0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch

Added 0001-Fix-32-bit-build.patch to fix 32-bit archs build

Added fPIC flag needed to prevent a linker error during the build process.

This upgrade addresses CVEs:
CVE-2025-59798, CVE-2025-59799, CVE-2025-59800, CVE-2025-59801

Changelog:
https://ghostscript.readthedocs.io/en/gs10.06.0/News.html

(From OE-Core rev: 0144e22195394ce2b21b476a1dcfde9129eaf615)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Changqing Li
21349d54a1 package.py: replace all files unconditionally when copy debug sources
This is for fixing reproducible issue for package like:
intel-speed-select-src. For intel-speed-select, one of the debug sources
is /usr/src/debug/intel-speed-select/1.0/include/linux/thermal.h,
file include/linux/thermal.h under ${S} (kernel-sources)
link file include/linux/thermal.h under ${B}, which link to ${S}/include/uapi/linux/thermal.h

During copy debug sources, sources under ${S} copied first, then sources
under ${B} is copied. mtime of ${S}/include/linux/thermal.h and
${S}/include/uapi/linux/thermal.h are decided by when it is fetched, so
it is not determinate, maybe same or different.

For cpio, if the in file is older than or the same as the exist file,
cpio will not replace the exist file with warning "cpio: xxx not created:
newer or same age version exists".  And this will cause
intel-speed-select-src maybe not reproducible.

And option '-u' for cpio, first, this will make the copied file
determistic. Second, source files under ${B} should have higher priority
then ${S}, it may be generated during build, the target is more likely
to use this file.

(From OE-Core rev: 8898f97b4acc9d5c2c6583c91d05327f9093133e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Ryan Eatmon
e3e6583c48 linux-firmware: Fix FILES for intel firmware
The 20250917 version is installing the firmware files into the
/usr/lib/firmware/intel directory and symbolic links to those files
under /usr/lib/firmware.  FILES needs to be updated to correctly package
all of the files into the right packages.  Without this we get a dependency
from the linux-firmware-iwlwifi-* and linux-firmware-qat packages back to
linux-firmware which means you have to install ALL of the drivers when you
depend on the specific package.

(From OE-Core rev: d5144f7031f1f25bb769aed860c45b1fe00ddba4)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Ross Burton
89a51c02e6 clang: build with MinSizeRel
This is the recommended build configuration upstream unless speed is the
ultimate goal. They say it's almost as fast as Release (-O3) but a lot
smaller on disk:

  clang-libclang-cpp: PKGSIZE changed from 71729568 to 49368816 (-31%)
  clang-libllvm: PKGSIZE changed from 83015559 to 56662823 (-32%)
  clang-tidy: PKGSIZE changed from 15861679 to 9956175 (-37%)
  clang-tools: PKGSIZE changed from 6865635 to 5374691 (-22%)
  clang: PKGSIZE changed from 29693308 to 22697548 (-24%)
  libclang: PKGSIZE changed from 40087018 to 26966218 (-33%)

(From OE-Core rev: ea9b33f7c12f773830ec860ae817a3ed1368612b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Ross Burton
5b89175dc1 clang: fix reproducibility issue in LLVMConfig.cmake
The LLVMConfig.cmake file is mostly LLVM configuration, but it also
specifies if some Python modules (needed by the opt-viewer tool) were
present on the build host.

This is host contamination and a source of non-determinism, so remove it
from the installed file.

A ticket has been filed upstream to resolve this:

  https://github.com/llvm/llvm-project/issues/161199

(From OE-Core rev: 916c074a136e8e07f388c2c41d197a15a4c50022)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Ross Burton
9ece218efa clang: use EXTRA_OECMAKE +=
Don't assign EXTRA_OECMAKE so that the include files can set defaults.

(From OE-Core rev: 5ad8d6ddf7a1ada37ad1070a3d3347c7f6d57148)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Khem Raj
f5fdf6ed3f gn: Add recipe
gn is a commonly used build tool to generate ninja files, used
in a lot of recipes e.g. chromium, qtwebengine, perfetto, hafnium etc.
these recipes come from different layers e.g. meta-qt6/meta-arm/meta-oe

since not all layers depend on meta-oe ( meta-arm does not ), its not
a possible option.

Given the usecases, putting it in core will benefit the ecosystem
and reduce some duplication. This recipe is taken from meta-arm

Disable maybe-initialized is a gcc specific option as error

Disable format warnings as errors, it adds -Wno-format explictly in
its build system

(From OE-Core rev: e8dbf41f1f40ae3a5f9641429cad974f716f1f3e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Khem Raj
743a998324 musl: Update to tip of trunk
Brings
* 0ccaf057 printf: fix buffer overflow in floating point decimal formatting
* 0b86d60b riscv: fix setjmp assembly when compiling for ilp32f/lp64f.
* f6944eb3 powerpc[64]: fix missing ctr and xer regs in syscall asm clobberlists
* a6244de1 fix erroneous definition of IN6_IS_ADDR_V4COMPAT

(From OE-Core rev: 9ba3fbf1d4ed63b22d108d4d2beebcbcfa352884)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Deepesh Varatharajan
ca53eab63f cargo-c: update 0.10.15 -> 0.10.16
(From OE-Core rev: d3cf1b37ce8686dc0781aff9bf35f4487c2c76a6)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:03 +01:00
Antonin Godard
6c52f68111 sanity: Update minimum gcc version to 10.1
Since commit 19004950ad56 ("sanity: Check if the C++ toolchain supports
--std=gnu++20") host GCC must support "--std=gnu++20", which became
available in 10.1. This is already reflected in the documentation [1]
but not here.

Update the sanity check on GCC and raise the minimum version to 10.1.
Remove the dead link to www.softwarecollections.org.

[1]: https://git.yoctoproject.org/yocto-docs/commit/?id=0e538c102bfcb7184c76c2401e8cb878168c4434

Cc: Yoann Congal <yoann.congal@smile.fr>
(From OE-Core rev: 871cc04305fe7483a4c256f38fa63a67cef82183)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:02 +01:00
Dmitry Baryshkov
57343f2ffe linux-firmware: backport the topology rename patch
Backport the patch from the trunk, renaming topology file for one of
Qualcomm boards in order to reduce possible compatibility issues.

Cc: Vivek Puar <vpuar@qti.qualcomm.com>
(From OE-Core rev: ee1600aff7ed3c18f5cb512ca069ff564063744e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:02 +01:00
Guðni Már Gilbert
a68330f278 bluez5: fix Bluetooth LE audio regression
Backport a fix for a regression introduced in 5.84 which breaks Bluetooth LE audio

(From OE-Core rev: 2b675c5cbfcaa7a5918ddd4a13400be5be60b3e6)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:02 +01:00
Peter Kjellerstedt
bd486ce499 shadow: Increase the maximum group name length to 32 (the default)
Back in 2014, the maximum group name length was increased from 16 (the
default) to 24. Since then, the default has increased to 32, and our
configuration is now actually a decrease in maximum group name length.

Remove the configuration to use the default instead, which aligns the
maximum group name length with the maximum user name length.

(From OE-Core rev: 02c98c3b199bfe3c6b8acd6e2ebf13088564c351)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:02 +01:00
Ross Burton
1996c09272 meson: upgrade to 1.9.1
Changes in this release:

751b09390 Bump versions to 1.9.1 for release
d0abb2133 Boost python must have a library component.
e6732c220 Check for header only Boost libraries.
08429813b get_llvm_tool_names: add llvm 21
f3b383217 docs: fix pre-1.8 order for per-subproject options
a2d395498 Revert "test cases: do not pass global option on command line"
d0f82544e Revert "tests: skip test common/223 in the -Ddefault_library=... jobs"
2abdb2f0b options: put back in place 1.7 ordering of opt=value vs subp:opt=value
83cbc65c2 Fix not passing user option args to scan-build build
e746db0b4 Document internal dep support in pkgconfig.generate `requires` arg
f6ab732b7 msetup: not-found subprojects do not have known options
5d21e653a utils: make .wraplock optional
d1e219cb8 Fix Cygwin test failure.
0fc77e2d7 coredata: do not write None to cmd_line.txt
533ba5cb3 options: do not raise exception for unknown options in -U command
ae822d1d4 test cases/common/32 has header: disable undef with libcxx
c58f0d951 rustdoc: skip --crate-type option
b8e0e9d3d fix transient failure on rust/12 bindgen
75cf757b7 coredata: check for per-subproject compiler and linker arguments
a747c4ea8 coredata: check for per-subproject compiler options

Drop the two backported patches.

(From OE-Core rev: 3acddf6cae1449591227b2f07fed13195cad0b82)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:02 +01:00
Khem Raj
7e8ecd48bb xkeyboard-config: Turn absolute symlinks into relative
Native builds encode symlinks pointing to absolute paths into
build native sysroot which gets into sstate artifacts and an error
is rightly generated

ERROR: xkeyboard-config-native-2.45-r0 do_populate_sysroot: sstate found an absolute path symlink /mnt/b/yoe/master/build/tmp/work/x86_64-linux/xkeyboard-config-native/2.45/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/xkeyboard-config-native/2.45/recipe-sysroot-native/usr/share/X11/xkb pointing at /mnt/b/yoe/master/build/tmp/work/x86_64-linux/xkeyboard-config-native/2.45/recipe-sysroot-native/usr/share/xkeyboard-config-2. Please replace this with a relative link.
ERROR: xkeyboard-config-native-2.45-r0 do_populate_sysroot: Failing task due to absolute path symlinks

Turn these symlinks to be relative inside D which will reflect
correclty without need for absolute path prefix

Suggested-by: Zoltán Böszörményi <zboszor@gmail.com>
(From OE-Core rev: 811d4a9186c520e860877da536f5544daac9a2a9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-02 11:28:02 +01:00
Richard Purdie
a9076196e6 build-appliance-image: Update to master head revision
(From OE-Core rev: 9f1a1fc1a163e74602d8a359483087f1117f23c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 17:43:21 +01:00
Richard Purdie
b003af4cb7 poky: Update SANITY_TESTED_DISTROS
Add Fedora 52, Debian 13 and Ubuntu 25.04, drop Ubuntu 24.10.

(From meta-yocto rev: 837a650aac17598dd2b0113f47c9058f2162cd34)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 15:17:37 +01:00
Deepesh Varatharajan
0cd1512733 rust-target-config: Update the data layout for ppc64 targets.
Rust commit for updating the data layouts:
0680155a17

(From OE-Core rev: cf1972b7b96bb38b48e90654a8c840568e4646cf)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 12:49:41 +01:00
Bruce Ashfield
44fdcfc9e5 linux-yocto/6.12: update CVE exclusions (6.12.49)
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-11135 - 0 updated CVEs:
        Date: Mon, 29 Sep 2025 01:40:51 +0000

    ]

(From OE-Core rev: 13acb9570660dde8f1cccb045981b646acb44aea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Bruce Ashfield
d7e8287d80 linux-yocto/6.12: update to v6.12.49
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    da274362a7bd Linux 6.12.49
    6553fdf0f7d4 minmax.h: remove some #defines that are only expanded once
    cf5fe0b36f10 minmax.h: simplify the variants of clamp()
    5c2b06b31da6 minmax.h: move all the clamp() definitions after the min/max() ones
    5f6818002047 minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp()
    e94ce277b568 minmax.h: reduce the #define expansion of min(), max() and clamp()
    ab58f71b8fdf minmax.h: update some comments
    d9c5ccf6b69b minmax.h: add whitespace around operators and after commas
    63fd831aa5dc rtc: pcf2127: fix SPI command byte for PCF2131 backport
    207fa0d49522 xhci: dbc: Fix full DbC transfer ring after several reconnects
    490f1ca013b5 xhci: dbc: decouple endpoint allocation from initialization
    9b28ef1e4cc0 usb: xhci: remove option to change a default ring's TRB cycle bit
    e5051c055926 usb: xhci: introduce macro for ring segment list iteration
    c839be6df4da mptcp: pm: nl: announce deny-join-id0 flag
    34f351c0fa95 mm/gup: check ref_count instead of lru before migration
    096c5b1fde51 mm: add folio_expected_ref_count() for reference count calculation
    23da4e0bb2a3 vmxnet3: unregister xdp rxq info in the reset path
    ca8938704142 KVM: SVM: Set/clear SRSO's BP_SPEC_REDUCE on 0 <=> 1 VM count transitions
    e5a3331a2e98 x86/bugs: KVM: Add support for SRSO_MSR_FIX
    f9c6aec2a6dd x86/bugs: Add SRSO_USER_KERNEL_NO support
    0a3ac13d8686 platform/x86: asus-wmi: Re-add extra keys to ignore_key_wlan quirk
    7228ed156377 platform/x86: asus-wmi: Fix ROG button mapping, tablet mode on ASUS ROG Z13
    a89c34babc2e io_uring: fix incorrect io_kiocb reference in io_link_skb
    922338efaad6 smb: client: fix smbdirect_recv_io leak in smbd_negotiate() error path
    24c1106504c6 crypto: af_alg - Set merge to zero early in af_alg_sendmsg
    6ae90a2baf92 smb: client: let smbd_destroy() call disable_work_sync(&info->post_send_credits_work)
    b814660334bb smb: client: fix filename matching of deferred files
    ea5cbcecd54d drm/xe: Fix a NULL vs IS_ERR() in xe_vm_add_compute_exec_queue()
    f108c98c7005 drm: bridge: cdns-mhdp8546: Fix missing mutex unlock on error path
    0da73f782769 drm: bridge: anx7625: Fix NULL pointer dereference with early IRQ
    503de75db426 drm/xe/tile: Release kobject for the failure path
    22814abfd961 ASoC: Intel: catpt: Expose correct bit depth to userspace
    b51ded0f604e ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message
    e5c10cec7a1b ASoC: wm8974: Correct PLL rate rounding
    987b1d5e39b9 ASoC: wm8940: Correct typo in control name
    ccba708502b6 ASoC: wm8940: Correct PLL rate rounding
    695673eb5711 io_uring/kbuf: drop WARN_ON_ONCE() from incremental length check
    93e9d0293d3b io_uring/msg_ring: kill alloc_cache for io_kiocb allocations
    e6b2b4a0ffd8 io_uring: include dying ring in task_work "should cancel" state
    d7a38ee4f0be io_uring: backport io_should_terminate_tw()
    9b71bfefc405 io_uring/cmd: let cmds to know about dying task
    9ffc5f132a35 ALSA: hda/realtek: Fix mute led for HP Laptop 15-dw4xx
    acab5c56a6fa selftests: mptcp: avoid spurious errors on TCP disconnect
    2b5b0674686f selftests: mptcp: connect: catch IO errors on listen side
    ca261278c6b7 mptcp: propagate shutdown to subflows when possible
    60b07b9f6093 rds: ib: Increment i_fastreg_wrs before bailing out
    21ba85d9d508 net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer
    232e74984061 drm/amd/display: Allow RX6xxx & RX7700 to invoke amdgpu_irq_get/put
    2ae6d79a769b KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active
    bd5524ec7155 mmc: mvsdio: Fix dma_unmap_sg() nents value
    6dbac7d814a7 ASoC: qcom: q6apm-lpass-dais: Fix missing set_fmt DAI op for I2S
    9c534dbfd172 ASoC: qcom: q6apm-lpass-dais: Fix NULL pointer dereference if source graph failed
    d1c96316e4c1 ASoC: qcom: audioreach: Fix lpaif_type configuration for the I2S interface
    bf46ed89bf24 btrfs: tree-checker: fix the incorrect inode ref size check
    cd92c8ab336c iommu/amd/pgtbl: Fix possible race while increase page table level
    c023b4f4444f iommu/vt-d: Fix __domain_mapping()'s usage of switch_to_super_page()
    1e68a5f046e9 LoongArch: Check the return value when creating kobj
    05a76baf2700 LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled
    382f5ff57010 LoongArch: vDSO: Check kcalloc() result in init_vdso()
    040f278cc1a5 LoongArch: Fix unreliable stack for live patching
    b6f29fa5f603 objtool/LoongArch: Mark special atomic instruction as INSN_BUG type
    89d40cc647da objtool/LoongArch: Mark types based on break immediate code
    1766f14c8f97 LoongArch: Update help info of ARCH_STRICT_ALIGN
    cbb8cd66d0bc mm: revert "mm: vmscan.c: fix OOM on swap stress test"
    f6e161f3fa99 gup: optimize longterm pin_user_pages() for large folio
    f8f64254bca5 dm-stripe: fix a possible integer overflow
    cb58eaad2235 dm-raid: don't set io_min and io_opt for raid1
    7061e566ce5d power: supply: bq27xxx: restrict no-battery detection to bq27000
    f91359651678 power: supply: bq27xxx: fix error return in case of no bq27000 hdq battery
    9aee87da5572 crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
    1adc72411f3d nilfs2: fix CFI failure when accessing /sys/fs/nilfs2/features/*
    9644798294c7 ksmbd: smbdirect: verify remaining_data_length respects max_fragmented_recv_size
    8be498fcbd5b ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer
    e97c45c770f5 perf/x86/intel: Fix crash in icl_update_topdown_event()
    ff27e23b311f octeontx2-pf: Fix use-after-free bugs in otx2_sync_tstamp()
    6e33a7eed587 cnic: Fix use-after-free bugs in cnic_delete_task
    acf8d06b8b97 net: liquidio: fix overflow in octeon_init_instr_queue()
    f07c925bb70e Revert "net/mlx5e: Update and set Xon/Xoff upon port speed set"
    208640e6225c tls: make sure to abort the stream if headers are bogus
    fa4749c06564 tcp: Clear tcp_sk(sk)->fastopen_rsk in tcp_disconnect().
    0c691ea3852c octeon_ep: fix VF MAC address lifecycle handling
    4c0bfb2dc6ab bonding: don't set oif to bond dev when getting NS target destination
    d1f3db4e7a3b net/mlx5e: Harden uplink netdev access against device unbind
    bec504867acc igc: don't fail igc_probe() on LED setup error
    610332f7ac20 i40e: remove redundant memory barrier when cleaning Tx descs
    80555adb5c89 ice: fix Rx page leak on multi-buffer frames
    1644ee7696f3 ice: store max_frame and rx_buf_len only in ice_rx_ring
    3e3be7bbe4a5 net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure
    13e7a6e96076 selftests: mptcp: sockopt: fix error messages
    10e54bf7cb6e mptcp: tfo: record 'deny join id0' info
    bb7a3f09e9d4 selftests: mptcp: userspace pm: validate deny-join-id0 flag
    7f5b09cc84e0 mptcp: set remote_deny_join_id0 on SYN recv
    9a958802080c bonding: set random address only when slaves already exist
    660b2a8f5a30 qed: Don't collect too many protection override GRC elements
    5f445eb25990 net/tcp: Fix a NULL pointer dereference when using TCP-AO with TCP_REPAIR
    79320035973f dpaa2-switch: fix buffer pool seeding for control traffic
    3112c70b2e01 um: Fix FD copy size in os_rcv_fd_msg()
    00e98b5a6903 um: virtio_uml: Fix use-after-free after put_device in probe
    9c416e76a57f btrfs: fix invalid extref key setup when replaying dentry
    ded4d207a320 cgroup: split cgroup_destroy_wq into 3 workqueues
    eed66faed623 pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch
    8df33f4d4a0b wifi: mac80211: fix incorrect type for ret
    32adb020b0c3 wifi: mac80211: increase scan_ies_len for S1G
    814952c1b1ff ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported
    b146e0434feb nvme: fix PI insert on write
    2203ef417044 wifi: wilc1000: avoid buffer overflow in WID string configuration

(From OE-Core rev: 28c0056b24be0833bca4c3c86404292d95ad377a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Bruce Ashfield
07ec78711a linux-yocto/6.16: update CVE exclusions (6.16.9)
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-11135 - 0 updated CVEs:
        Date: Mon, 29 Sep 2025 01:40:51 +0000

    ]

(From OE-Core rev: c764baf02d9a0291acb5f4a70a2f86a56dc308be)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Bruce Ashfield
1d37a5e4e9 linux-yocto/6.16: update to v6.16.9
Updating linux-yocto/6.16 to the latest korg -stable release that comprises
the following commits:

    b0d8acc71198 Linux 6.16.9
    f9fc28d1451b samples/damon/prcl: avoid starting DAMON before initialization
    40108f69c372 clk: sunxi-ng: mp: Fix dual-divider clock rate readback
    f9fa006e3527 samples/damon/mtier: avoid starting DAMON before initialization
    8f7dd196be59 samples/damon: change enable parameters to enabled
    1338fb5d576a samples/damon/prcl: fix boot time enable crash
    941452199941 dt-bindings: serial: 8250: move a constraint
    95c9489abfc4 dt-bindings: serial: 8250: spacemit: set clocks property as required
    ceee5585720a dt-bindings: serial: 8250: allow clock 'uartclk' and 'reg' for nxp,lpc1850-uart
    fb0b1ef7055b mptcp: pm: nl: announce deny-join-id0 flag
    46d6ff0da889 platform/x86: asus-wmi: Re-add extra keys to ignore_key_wlan quirk
    1aa91f3d4f16 platform/x86: asus-wmi: Fix ROG button mapping, tablet mode on ASUS ROG Z13
    50a98ce1ea69 io_uring: fix incorrect io_kiocb reference in io_link_skb
    0991418bf98f smb: client: fix smbdirect_recv_io leak in smbd_negotiate() error path
    9617c3ede9ff smb: client: fix file open check in __cifs_unlink()
    5ba113d0b049 io_uring/msg_ring: kill alloc_cache for io_kiocb allocations
    045ee26aa392 crypto: af_alg - Set merge to zero early in af_alg_sendmsg
    3fabb1236f2e smb: client: let smbd_destroy() call disable_work_sync(&info->post_send_credits_work)
    ac6fbc3d0030 smb: client: use disable[_delayed]_work_sync in smbdirect.c
    a39e32f03183 smb: client: fix filename matching of deferred files
    581fb78e0388 smb: client: let recv_done verify data_offset, data_length and remaining_data_length
    cbda551b90a7 smb: client: make use of struct smbdirect_recv_io
    089ea68aae42 smb: smbdirect: introduce struct smbdirect_recv_io
    86b4bddb8292 smb: client: make use of smbdirect_socket->recv_io.expected
    f2ffba55b686 smb: smbdirect: introduce smbdirect_socket.recv_io.expected
    dd1a415dcfd5 drm/xe/guc: Set RCS/CCS yield policy
    97207a4fed53 drm/xe/guc: Enable extended CAT error reporting
    56f34936bf8c drm/xe: Fix error handling if PXP fails to start
    09b473a80c1c ALSA: usb: qcom: Fix false-positive address space check
    b45cabfa717d drm/xe: Fix a NULL vs IS_ERR() in xe_vm_add_compute_exec_queue()
    e3fe0101463a drm: bridge: cdns-mhdp8546: Fix missing mutex unlock on error path
    1a7ea294d57f drm: bridge: anx7625: Fix NULL pointer dereference with early IRQ
    e6a1df8cf275 drm/xe/pf: Drop rounddown_pow_of_two fair LMEM limitation
    f32a0226e848 drm/xe/tile: Release kobject for the failure path
    65c5cfbd6d93 ASoC: amd: acp: Fix incorrect retrival of acp_chip_info
    f7229775e41d iommu/amd: Fix alias device DTE setting
    34f3a9e04e73 ASoC: Intel: catpt: Expose correct bit depth to userspace
    f6433733326b ASoC: SDCA: Fix return value in sdca_regmap_mbq_size()
    9ff967d7e8d9 ASoC: SOF: Intel: hda-stream: Fix incorrect variable used in error message
    cd59ca8f75db ASoC: codec: sma1307: Fix memory corruption in sma1307_setting_loaded()
    7c28b31b2209 ASoC: wm8974: Correct PLL rate rounding
    badf6143198e ASoC: wm8940: Correct typo in control name
    7a372ac1e890 ASoC: wm8940: Correct PLL rate rounding
    519b95c74f40 ALSA: hda/realtek: Fix mute led for HP Laptop 15-dw4xx
    ee8d393af37e selftests: mptcp: avoid spurious errors on TCP disconnect
    47f8d4403995 selftests: mptcp: connect: catch IO errors on listen side
    80d38ea27a1e mptcp: propagate shutdown to subflows when possible
    c62000bf27db rds: ib: Increment i_fastreg_wrs before bailing out
    bc509293c9d4 crypto: ccp - Always pass in an error pointer to __sev_platform_shutdown_locked()
    27d94a2a52cb gpiolib: acpi: initialize acpi_gpio_info struct
    21a39b958b4b net: rfkill: gpio: Fix crash due to dereferencering uninitialized pointer
    6db60106a07f io_uring: include dying ring in task_work "should cancel" state
    f757ab3db457 io_uring/io-wq: fix `max_workers` breakage and `nr_workers` underflow
    898aaf78480b drm/amd: Only restore cached manual clock settings in restore if OD enabled
    20f87640ebe7 drm/amd/display: Allow RX6xxx & RX7700 to invoke amdgpu_irq_get/put
    1ff89f5627ef drm/amdgpu: suspend KFD and KGD user queues for S0ix
    b477c5668ec6 drm/amdkfd: add proper handling for S0ix
    0e2db61cc589 KVM: SVM: Sync TPR from LAPIC into VMCB::V_TPR even if AVIC is active
    c0603b80436d x86/sev: Guard sev_evict_cache() with CONFIG_AMD_MEM_ENCRYPT
    79a9ba8da904 mmc: sdhci-uhs2: Fix calling incorrect sdhci_set_clock() function
    7650c994ced2 mmc: sdhci-pci-gli: GL9767: Fix initializing the UHS-II interface during a power-on
    7186d8e8bd96 mmc: sdhci: Move the code related to setting the clock from sdhci_set_ios_common() into sdhci_set_ios()
    d0b7ff384b7a mmc: mvsdio: Fix dma_unmap_sg() nents value
    66e6d1c92806 ASoC: qcom: q6apm-lpass-dais: Fix missing set_fmt DAI op for I2S
    cc336b242ea7 ASoC: qcom: q6apm-lpass-dais: Fix NULL pointer dereference if source graph failed
    59c4accddfeb ASoC: qcom: audioreach: Fix lpaif_type configuration for the I2S interface
    8276c97dccee ASoC: SDCA: Add quirk for incorrect function types for 3 systems
    417ed00d48e7 btrfs: tree-checker: fix the incorrect inode ref size check
    359613f2fa00 iommu/s390: Make attach succeed when the device was surprise removed
    17a58caf3863 iommu/s390: Fix memory corruption when using identity domain
    7d462bdecb7d iommu/amd/pgtbl: Fix possible race while increase page table level
    b0c0e231060a iommu/amd: Fix ivrs_base memleak in early_amd_iommu_init()
    7ff7d16649b2 iommu/vt-d: Fix __domain_mapping()'s usage of switch_to_super_page()
    1c731284374a LoongArch: KVM: Fix VM migration failure with PTW enabled
    960eedb14caf LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_pch_pic_regs_access()
    55ba91b4e04d LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_sw_status_access()
    105605ca76e9 LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_regs_access()
    291d4b01d3b1 LoongArch: KVM: Avoid copy_*_user() with lock hold in kvm_eiointc_ctrl_access()
    401363c839cb LoongArch: Handle jump tables options for RUST
    1967642780cf LoongArch: Make LTO case independent in Makefile
    db65fea5f0aa LoongArch: Check the return value when creating kobj
    5f2b63a398ed LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled
    a417571950f9 LoongArch: vDSO: Check kcalloc() result in init_vdso()
    2feeecd7c685 LoongArch: Fix unreliable stack for live patching
    5dbbc7b04c14 objtool/LoongArch: Mark special atomic instruction as INSN_BUG type
    e0aefa8f4612 objtool/LoongArch: Mark types based on break immediate code
    953138ff0ff6 LoongArch: Update help info of ARCH_STRICT_ALIGN
    1eda9ab8da6b mm: folio_may_be_lru_cached() unless folio_test_large()
    fb4e6d587a27 mm: revert "mm: vmscan.c: fix OOM on swap stress test"
    d0c8ba94cb70 mm/gup: local lru_add_drain() to avoid lru_add_drain_all()
    163843e8c8f3 gup: optimize longterm pin_user_pages() for large folio
    3958f9ec7251 mm: revert "mm/gup: clear the LRU flag of a page before adding to LRU batch"
    fdac0a3f58c0 mm/gup: check ref_count instead of lru before migration
    ee27658c239b dm-stripe: fix a possible integer overflow
    ba3a78db47ec dm-raid: don't set io_min and io_opt for raid1
    e8f496001e0c btrfs: initialize inode::file_extent_tree after i_mode has been set
    8ae09726773a Revert "sched_ext: Skip per-CPU tasks in scx_bpf_reenqueue_local()"
    a4ee54e68282 power: supply: bq27xxx: restrict no-battery detection to bq27000
    d18d7035ecb8 power: supply: bq27xxx: fix error return in case of no bq27000 hdq battery
    45bcf60fe49b crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
    7b7361da9e7f nilfs2: fix CFI failure when accessing /sys/fs/nilfs2/features/*
    ff750e9f2c4d zram: fix slot write race condition
    c64b915bb3d9 ksmbd: smbdirect: verify remaining_data_length respects max_fragmented_recv_size
    529b121b00a6 ksmbd: smbdirect: validate data_offset and data_length field of smb_direct_data_transfer
    5ca20bb7b4bd octeontx2-pf: Fix use-after-free bugs in otx2_sync_tstamp()
    0627e1481676 cnic: Fix use-after-free bugs in cnic_delete_task
    45f71f4ac4aa net: liquidio: fix overflow in octeon_init_instr_queue()
    6e1675c8b612 net: clear sk->sk_ino in sk_set_socket(sk, NULL)
    53222fc8ebbc Revert "net/mlx5e: Update and set Xon/Xoff upon port speed set"
    61ca2da5fb8f tls: make sure to abort the stream if headers are bogus
    ae313d14b45e tcp: Clear tcp_sk(sk)->fastopen_rsk in tcp_disconnect().
    0357a37b4a8b octeon_ep: fix VF MAC address lifecycle handling
    e2019c7d3a3e bonding: don't set oif to bond dev when getting NS target destination
    948381b58298 net/mlx5e: Add a miss level for ipsec crypto offload
    8df354eb2dd6 net/mlx5e: Harden uplink netdev access against device unbind
    805c7df4faca doc/netlink: Fix typos in operation attributes
    f05e82d85532 igc: don't fail igc_probe() on LED setup error
    3ce36b3b9c69 ixgbe: destroy aci.lock later within ixgbe_remove path
    a4a4b796dcf6 ixgbe: initialize aci.lock before it's used
    5ac700c61648 i40e: remove redundant memory barrier when cleaning Tx descs
    fcb5718ebfe7 ice: fix Rx page leak on multi-buffer frames
    4f21a0b3c8c2 net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure
    5735f1fb81a8 selftests: mptcp: sockopt: fix error messages
    7f501faddb3c mptcp: tfo: record 'deny join id0' info
    fa9a7f272b01 selftests: mptcp: userspace pm: validate deny-join-id0 flag
    f679e3dc6c01 mptcp: set remote_deny_join_id0 on SYN recv
    f3439ed58636 bonding: set random address only when slaves already exist
    8b1dc0217f96 net: dst_metadata: fix IP_DF bit not extracted from tunnel headers
    70affe82e38f qed: Don't collect too many protection override GRC elements
    1c24b132c119 octeon_ep: Validate the VF ID
    71571e187106 rxrpc: Fix untrusted unsigned subtract
    8ac99c57029e rxrpc: Fix unhandled errors in rxgk_verify_packet_integrity()
    64e76fcb5311 dpll: fix clock quality level reporting
    993b734d31ab net/tcp: Fix a NULL pointer dereference when using TCP-AO with TCP_REPAIR
    d0c3f85a041a dpaa2-switch: fix buffer pool seeding for control traffic
    e1fa8f786c8d net/mlx5: Not returning mlx5_link_info table when speed is unknown
    4c2c59cc838c um: Fix FD copy size in os_rcv_fd_msg()
    c2ff91255e01 um: virtio_uml: Fix use-after-free after put_device in probe
    856e039ded02 smb: server: let smb_direct_writev() respect SMB_DIRECT_MAX_SEND_SGES
    09ea55d02c89 pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch
    0835c4592344 wifi: mac80211: fix incorrect type for ret
    0dbad5f5549e wifi: mac80211: increase scan_ies_len for S1G
    745418fc8229 wifi: mt76: do not add non-sta wcid entries to the poll list
    778a062c131e ALSA: firewire-motu: drop EPOLLOUT from poll return values as write is not supported
    0cdf320eb46c nvme: fix PI insert on write
    ae50f8562306 wifi: wilc1000: avoid buffer overflow in WID string configuration
    d06a83038bd6 perf maps: Ensure kmap is set up for all inserts
    314a92e5950f btrfs: zoned: fix incorrect ASSERT in btrfs_zoned_reserve_data_reloc_bg()
    eff2bb3b300b btrfs: fix invalid extref key setup when replaying dentry
    05e0b03447cf cgroup: split cgroup_destroy_wq into 3 workqueues

(From OE-Core rev: 82225c9148038b66ca3ff408f880f83eb7c45a57)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Yoann Congal
a9266fa905 oe-setup-build: fix dash support
Being minimalist, dash does not support the (non-POSIX) feature of
passing an argument while sourcing a script. Like in
  . <some path>/oe-init-build-env <build dir>

With dash, one must instead use:
  cd <some path>
  set <build dir>       # puts <build dir> in $1
  . ./oe-init-build-env # can only be called from its directory in dash

oe-setup-build generate a sourcable "init-build-env" script, this script
must use the above snippet to be used in dash.

(From OE-Core rev: 35c90011824845b40066b7747b256f1cd31b0dba)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Ross Burton
a41aed6295 expat: upgrade to 2.7.3
Security fixes:
- Fix alignment of internal allocations for some non-amd64 architectures
  (e.g. sparc32); fixes up on the fix to CVE-2025-59375 from #1034 (of
  Expat 2.7.2 and related backports)

- Fix a class of false positives where input should have been rejected
  with error XML_ERROR_ASYNC_ENTITY; regression from CVE-2024-8176 fix
  pull request #973 (of Expat 2.7.0 and related backports). Please check
  the added unit tests for example documents.

Other changes:
- Prove and regression-proof absence of integer overflow from function
  expat_realloc
- Remove "harmless" cast that truncated a size_t to unsigned
- Autotools: Remove "ln -s" discovery
- docs: Be consistent with use of floating point around
  XML_SetAllocTrackerMaximumAmplification
- docs: Make it explicit that XML_GetCurrentColumnNumber starts at 0
- docs: Better integrate the effect of the activation thresholds
- docs: Fix an in-comment typo in expat.h
- docs: Fix a typo in README.md
- docs: Improve change log of release 2.7.2
- xmlwf: Resolve use of functions XML_GetErrorLineNumber and
  XML_GetErrorColumnNumber
- Windows: Normalize .bat files to CRLF line endings
- Version info bumped from 12:0:11 (libexpat*.so.1.11.0) to 12:1:11
  (libexpat*.so.1.11.1); see https://verbump.de/ for what these numbers
  do

(From OE-Core rev: 6b1833cd2eb78be55ba03da73937358fcf25d9ec)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Ross Burton
844539e848 classes/cmake: unset LDFLAGS in toolchain-native.bbclass
If a recipe is using toolchain-native.cmake to build native portion in a
non-native build, the target LDFLAGS from the environment will leak into
the native build.

This was noticed as building a SDK with clang means that LDFLAGS contains
a --dynamic-loader argument, so native binaries were trying to use the
target loader.

There are several variables that are set from LDFLAGS[1] so instead of
setting them all, we can simply unset the environment variable in the
toolchain.

[1] https://cmake.org/cmake/help/latest/envvar/LDFLAGS.html

(From OE-Core rev: f9fa240a6788188174c8080a78018ed9ce402f54)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Antonin Godard
fb086f85b7 oeqa/bblayers.py: add tests for adding new built-in fragments
Add discussed in [1], our best option for customizing built-in fragments
is to pass them from a layer configuration. In short, the reason is that
our statement must be parsed before the addfragments call is parsed.We
also have to use the :append override as using += would override the
original definition of OE_FRAGMENTS_BUILTIN (since it uses a ?=
assignment).

Provide a test case for customizing built-in fragments with
meta-selftest.

[1]: https://lore.kernel.org/yocto-docs/20250925-fragments-v1-0-c9f747361fb2@bootlin.com/T/#m9f7c9f110c084eba17e0f64d8b2ac7a88af3f38e

Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: 38cbf4c0ce5173dc3080fa0fbb3ec3e7926c8137)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Peter Marko
1c4fae5732 tiff: ignore CVE-2025-8851
This is fixed in v4.7.0, however cve_check cannot match it as NVD says
"Up to (excluding) 2024-08-11".

(From OE-Core rev: 66349865ac048ae8e5a81b29c50c68503053f74e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Peter Marko
7640659f3c tiff: upgrade 4.7.0 -> 4.7.1
Removed patches included in this new release

License-Update: BSD license added based on [1]

[1] a0b623c780

(From OE-Core rev: 9161c31aa37341f758fd8f3d095177e8b6de1448)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Paul Barker
9f7c6b7a09 patchtest: Use raw strings for regex patterns
This fixes several 'SyntaxWarning: invalid escape sequence' messages
printed when running patchtest.

Cc: Trevor Gamblin <tgamblin@baylibre.com>
(From OE-Core rev: c585977a6b55db93b7f432280ae4251aa9bc6b6c)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Paul Barker
ad8e8fe79c bitbake-layers/create: Improve help message for layerid argument
'Layer ID' isn't a commonly used term in our help messages or
documentation, so clarify that this is the identifier used for the new
layer in BBFILE_COLLECTIONS.

Also clarify that the default is the basename of the layerdir argument
if a layer ID is not separately provided.

(From OE-Core rev: bb8bd71b1aba31aeb0c1d2fbcae36da26865dc57)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Changqing Li
779d3a6c60 unzip: remove invalid UPSTREAM_CHECK_REGEX
After SRC_URI is changed to sourceforge, this UPSTREAM_CHECK_REGEX
become invalid, just remove it.

(From OE-Core rev: b5aec20d6139fb45501b383cd5cc2ef944cc6dd4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Divya Chellam
82c62c2279 vim: upgrade 9.1.1652 -> 9.1.1683
Handles CVE-2025-9389

Changes between 9.1.1652 -> 9.1.1683
====================================
https://github.com/vim/vim/compare/v9.1.1652...v9.1.1683

(From OE-Core rev: ad24eedbbef303e67acb1241ed54c253ec5ab50c)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Changqing Li
c28d71b442 baremetal-helloworld: set UPSTREAM_CHECK_COMMITS
set UPSTREAM_CHECK_COMMITS to make new commit is reported

Test result(change SRCREV to an old one):
$devtool check-upgrade-status baremetal-helloworld
baremetal-helloworld      0.1             new commits     Alejandro Hernandez <alejandro@enedino.org> db2bf750eaef7fc0832e13ada8291343bbcc3afe

(From OE-Core rev: 3d7d324ca0ea242f1455332a20ac7b0f3cdcd761)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Alexander Kanavin
f5b126ea10 cwautomacros: delete the recipe
This is a long-obsolete set of custom autotools macros;
'which' was the last consumer in core or meta-oe.

(From OE-Core rev: 6d1470f6d244c08e3473073d0c2d57a97d2eeb17)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Alexander Kanavin
cf0cf92200 which: update 2.21 -> 2.23, build with meson
This (and 2.22) is a first release in many years. Rather than try
to use upstream's absurdly overblown, incompatible build system
(see below), I added a small-ish meson file. This means:

- drop tweaks and dependency on cwautomacros as that is no longer used

- drop patch as configure.ac has been rewritten, and the recipe is using meson anyway

- drop --disable-iberty for the same reason

In this realease, cwautomacros has been replaced by an equally custom, weird set
of macros, written by 'which' maintainer: https://github.com/CarloWood/cwm4

- one effect of that is that autoreconf isn't happy with which's configure.ac and won't run;
one is supposed to use a custom script instead: https://github.com/CarloWood/cwm4/blob/master/scripts/bootstrap.sh

- alas, that script is not shipped in tarballs; the maintainer wants
everyone to trust their 200k configure script (hello xz backdoor)

- building from git (where the script exists) is not impossible,
but that has no version tags

All this 'special handling' for what, exactly? Five .c files to produce one
single-function executable, and one manpage. Wich should all be in coreutils
to begin with. GNU's attachment to autotools defies reason.

(From OE-Core rev: 600545a0ef313e7df5a0f25eba17b73b0f410489)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-01 10:52:54 +01:00
Antonin Godard
702c515a75 test-manual/yocto-project-compatible.rst: fix a typo
Fix a typo in yocto-project-compatible.rst.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a84c234acfedfa714419006c743405e2f9acaedc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Yoann Congal
1737c4e1d6 migration-guides/release-notes-5.3: using runqemu with compressed images
In OE-core commits:
* b5f8c3e029 (selftest: runqemu: add tests for booting zst compressed image, 2025-07-31)
* e069fe2480 (runqemu: Add support for running compressed .zst rootfs images, 2025-07-31)
runqemu gained the ability to run compressed image (+associated test).

Add this information to the release-notes for 5.3.

(From yocto-docs rev: f268c1b649227d533d02e1a6df797b784fcf80de)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
2cc3a69ed2 contributor-guide: submit-changes: make "Crediting contributors" part of "Commit your changes"
There's no need to differentiate crediting contributors from committing
your changes, so let's simply make it the last step of "Commit your
changes" section.

This simply indents the text so it's now part of "Commit your changes"
list instead of the main list in the "Implement and commit changes"
section. Because of this reorganisation, the instruction to use "git
commit --amend" to add the contributors is moved to a note, and the
first few sentences are reworded to better match the wording of other
items in the "Commit your changes" list of instructions.

(From yocto-docs rev: eff4d14e28d323ebfdaeb0c5c805b5f1e2ad153d)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
910119e1e6 contributor-guide: submit-changes: number instruction list in commit your changes
... so that it's clear that you need to read and follow each and every
instruction in this list.

(From yocto-docs rev: c628a489f081925fabaabb5acac6752251150269)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
2e053bfdab contributor-guide: submit-changes: reword commit message instructions
This should hopefully make it clearer what is expected from the
contributor.

This follows my understanding of git-commit(1)[1] where the following is
a git commit message:

"""
git commit title

git commit description
"""

I'm putting the "Fixes [YOCTO" line in "body of the commit message" so
it's understood as being different from the git commit description so
that the note admonition allowing us to have an empty commit description
doesn't apply to the "Fixes [YOCTO" line.

[1] https://www.man7.org/linux/man-pages/man1/git-commit.1.html#DISCUSSION

(From yocto-docs rev: b84903a760350bd118c56ea9ce4e98039edf6e55)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
ee0d39100d contributor-guide: submit-changes: make the Cc tag follow kernel guidelines
The kernel docs specifies[1] a Cc: tag and not CC: tag, so let's align
with that.

[1] https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by

(From yocto-docs rev: f800fef4e9e2c1d3584ac49be8324638d2923b17)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
e5d97b3047 contributor-guide: submit-changes: align CC tag description
The other tag descriptions have the double colon outside of the
highlight, and start the sentence with a lowercase word, so let's align
the CC tag with those.

(From yocto-docs rev: f116e93fb335e9d0f85891c4cb501bcf55b18ccf)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
ed3ed8db2e contributor-guide: submit-changes: clarify example with Yocto bug ID
The example could be understood as the content of the commit message
once the editor (git config core.editor) opens, where the first
line is the actual commit title and not the commit description.

This example would make the Fixes line the commit title, which is not
what we want.

In short, according to my understanding of git-commit(1):

The following is a git commit message:

"""
git commit title

git commit description
"""

Reported-by: Barne Carstensen <barne.carstensen@danfoss.com>
(From yocto-docs rev: a5862406bf3230befe9db9f2539bbbc86c02015d)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Quentin Schulz
2eb489092c contributor-guide: submit-changes: fix improper bold string
I don't know what was the initial intent but this doesn't seem right, so
let's remove the bold formatting.

Fixes: 4abe87cb20d3 ("contributor-guide: submit-changes: detail commit and patch creation")
Cc: Michael Opdenacker <michael.opdenacker@rootcommit.com>
(From yocto-docs rev: 6c499b3796a578a0fe4c319c9547b4321b0d41df)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Antonin Godard
bb0dff2e23 ref-manual/structure.rst: extend PERSISTENT_DIR description
Extend the description of PERSISTENT_DIR to mention that it should not
be shared between builds. Add a note on sharing the hash equivalence
database by setting up a server and not sharing the file in this
directory.

[YOCTO #15727]

(From yocto-docs rev: 0ff0233770b77f9e74f4241dfb555dac2741d8b9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Peter Kjellerstedt
0f03228d0c migration-5.3.rst: Correct info about the removed libsoup-2.4 recipe
It is the libsoup-2.4 recipe that has been removed, not libsoup.

Also add that it has been moved to meta-oe.

(From yocto-docs rev: ac2896c89df7e5dfa91b18a5e1681019f17182d3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Peter Kjellerstedt
5cf84801b7 migration-5.3.rst: Correct a typo
(From yocto-docs rev: a87be4bc3c518fe92c5fc849975fcd233fdc51db)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Barne Carstensen
661b172819 test-manual: update runtime-testing Exporting Tests section
This has changed since commit ed4238487c81 ("testexport: Fix to work as
an image class") in OE-Core.

[Antonin Godard: mention oecore commit in commit body]

(From yocto-docs rev: 2caa8e581feaf3640bea68108f9a02583b17b21b)

Signed-off-by: Barne Carstensen <barne.carstensen@danfoss.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-26 16:40:40 +01:00
Ryan Eatmon
cb0f00ab41 piglit: rename virtual/opencl-icd to virtual/libopencl1
A change in meta-openembedded that provided virtual/opencl-icd [1]
changed the name to virtual/libopencl1.

[1] https://git.openembedded.org/meta-openembedded/commit/?id=87b44d29b6942427bfb1fab02a4564e41dcc01a0

(From OE-Core rev: 07747aa7390e98bf2853154e5fd473e4984a1d3d)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:16:35 +01:00
Uwe Kleine-König
441313eecb meta/lib/oe/recipeutils.py: Handle multi-repo recipes for upgrade check
For a recipe that uses more than one git repo there isn't a single
SRCREV variable. For example for linux-yocto there is SRCREV_machine and
SRCREV_meta and rd.getVar("SRCREV") yields "INVALID".

Luckily bb.fetch2 already handles all the details and exposes the
currently used revision in ud. So just use that.

(From OE-Core rev: ddf00d6aee955878c070327ee8d751fdb6099444)

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:49 +01:00
Yash Shinde
61ce087049 rust: Upgrade 1.89.0 -> 1.90.0
https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/

* Recent changes in rustc require 'target-c-int-width' to be an integer,
  not a string. This fixes type consistency when generating target specs.
  https://github.com/rust-lang/rust/pull/142352.

* Rebase existing patches with v1.90.0.

* Drop merged patches with rust v1.90.0.
  - backport-fix-test-string-merging.patch
  2d51acd2fb

* The "remote-test-server" bin is now generated in stage1-tools-bin dir
  rather than stage2. Update the test suite accordingly.

  The tests/{assembly/codegen} dirs are renamed to
  tests/{assembly,codegen}-llvm. Update the test suite and
  patches accordingly.
  https://github.com/rust-lang/rust/pull/144249/commits

* Use "//@ ignore-riscv64" tag for tests failing on riscv-64 instead of previous
  "only-<target_arch>" tags.

  Test results summary:

   rust v1.90.0
   +-----------+--------+---------+
   | Machine   | Passed | Ignored |
   +-----------+--------+---------+
   | arm-32    | 29,517 |  1,529  |
   | arm-64    | 29,608 |  1,471  |
   | x86-32    | 29,508 |  1,507  |
   | x86-64    | 29,903 |  1,275  |
   | riscv-64  | 29,584 |  1,494  |
   +-----------+--------+---------+

   Test results difference (1.90 - 1.89):
   +-----------+--------+---------+
   | Machine   | Passed | Ignored |
   +-----------+--------+---------+
   | arm-32    |  +278  |   +61   |
   | arm-64    |  +279  |   +59   |
   | x86-32    |  +277  |   +58   |
   | x86-64    |  +419  |   +50   |
   | riscv-64  |  +280  |   +58   |
   +-----------+--------+---------+

(From OE-Core rev: 86d09ec9cdbcea6e076ebac6e1243f9e20fb4378)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:05 +01:00
Hongxu Jia
cea2191720 apt: fix reproducibility issue
In oe-selftest of reproducibility, recipe apt has reproducibility issue:

...
2025-09-20 17:09:18,986 - oe-selftest - INFO - ======================================================================
2025-09-20 17:09:18,986 - oe-selftest - INFO - FAIL: test_reproducible_builds (reproducible.ReproducibleTests)
2025-09-20 17:09:18,986 - oe-selftest - INFO - ----------------------------------------------------------------------
2025-09-20 17:09:18,986 - oe-selftest - INFO - Traceback (most recent call last):
  File "/buildarea5/hjia/contrib/openembedded-core-contrib/meta/lib/oeqa/selftest/cases/reproducible.py", line 406, in test_reproducible_builds
    self.fail('\n'.join(fails))
AssertionError: The following deb packages are different and not in exclusion list:
build-st/reproducibleB-extended/tmp/deploy/deb/./x86-64-v3/apt-dbg_3.0.3-r0_amd64.deb
build-st/reproducibleB-extended/tmp/deploy/deb/./x86-64-v3/apt_3.0.3-r0_amd64.deb
The following ipk packages are different and not in exclusion list:
build-st/reproducibleB-extended/tmp/deploy/ipk/./x86-64-v3/apt-dbg_3.0.3-r0_x86-64-v3.ipk
build-st/reproducibleB-extended/tmp/deploy/ipk/./x86-64-v3/apt_3.0.3-r0_x86-64-v3.ipk
The following rpm packages are different and not in exclusion list:
build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/apt-3.0.3-r0.x86_64_v3.rpm
build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/apt-dbg-3.0.3-r0.x86_64_v3.rpm
...

Due to upstream apt commit [1], it calls `id -gn root' in cmake
to set ROOT_GROUP if not define. The output of `id -gn root' may
differ in the compared builds which caused reproducibility issue
...
|build-st/reproducibleB-extended/tmp/work/x86-64-v3-oe-linux/apt/
3.0.3/temp/log.do_configure:124:-- Found root group: wheel
...
|build-st/reproducibleA/tmp/work/x86-64-v3-oe-linux/apt/3.0.3/
temp/log.do_configure:124:-- Found root group: root
...

Explicitly set ROOT_GROUP = "root" for cmake other than call `id -gn root'
to support reproducibility

[1] 6f1f3c9afd

(From OE-Core rev: 5b3d5ae626b0d28535973be2a8a1cf48d314ba12)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:05 +01:00
Khem Raj
17e3dad8db qemuriscv: Use RVA23S64 profile for cpu
Enables RVV extensions uniformly across gcc and clang
as it is mandatory in RVA23 spec.

https://github.com/riscv/riscv-profiles/blob/main/src/rva23-profile.adoc

(From OE-Core rev: 119d63b2e277ca98af593a3fd8add31ca34361af)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:05 +01:00
Moritz Haase
4e39c25485 libwpe: upgrade 1.16.2 -> 1.16.3
Release notes are available at [0]. The new release contains a CMake-related
patch that we can now drop.

[0]: https://github.com/WebPlatformForEmbedded/libwpe/releases/tag/1.16.3

(From OE-Core rev: 40bc1667e4137da70453af3def94ec02d0e6c37d)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:05 +01:00
Daniel McGregor
2423dc098c systemd: use if..then in prerm scriptlet
Using the [ test ] && foo construct in the prerm scriptlet causes
the prerm scriptlet to fail if the final test condition fails, which
with rpm prevents the removal of the package. Switch to using
if;then;fi instead, since it doesn't cause the scriptlet to fail.

(From OE-Core rev: a5327fc16b76db28dd1da37463a046e69713dbac)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
8d89093708 python3-dbusmock: upgrade 0.33.0 -> 0.37.0
Upstream notably removed the setup.cfg/setup.py files in this period and
updated pyproject.toml. It still uses setuptools as the build backend,
and should be compatible with recent versions.

Changelog (https://github.com/martinpitt/python-dbusmock/releases):

0.37.0:

- templates: Drop iio-sensors-proxy (See #241)
- DBusTestCase: Drop obsolete {start,stop}_dbus() methods
- Fix dbus-daemon startup race condition (Debian#1109272)

0.36.0:

- mockobject: Fix _wrap_in_dbus_variant for Struct and Dict types (thanks Sebastian Wick)
- Drop setup.{cfg,py} and RHEL 9 support, move to pybuild (rhbz#2377609)
- Drop iio-sensor-proxy tests, the template is broken (see #241)

0.35.0:

- modemmanager: Add operator code (thanks Guido Günther)
- modemmanager: Allow to set CellBroadcast channel list (thanks Guido Günther)

0.34.3:

- tests: Relax libnotify expected format for libnotify 0.8.4

0.34.2:

- spec: Adjust %autosetup to PEP-625 tarball top-level directory

0.34.1:

- spec: Adjust Source URL to PEP-625 tarball name

0.34.0:

- modemmanager: Add cell broadcast messages (thanks Guido Günther)
- Move release builds to pybuild for PEP-625 compatibility

(From OE-Core rev: 523001d3131eb5839162d44d296b65cbf0f6fd56)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
147695923f python3-pyparsing: upgrade 3.2.3 -> 3.2.4
Release notes (https://github.com/pyparsing/pyparsing/releases):

- Barring any catastrophic bugs in this release, this will be the last
  release in the 3.2.x line. The next release, 3.3.0, will begin
  emitting DeprecationWarnings when the pre-PEP8 methods are used (see
  header notes above for more information, including available
  automation for converting any existing code using pyparsing with the
  old names).
- Fixed bug when using a copy of a Word expression (either by using the
  explicit copy() method, or attaching a results name), and setting a
  new expression name, a raised ParseException still used the original
  expression name. Also affected Regex expressions with as_match or
  as_group_list = True. Reported by Waqas Ilyas, in Issue #612 - good
  catch!
- Fixed type annotation for replace_with, to accept Any type. Fixes
  Issue #602, reported by esquonk.
- Added locking around potential race condition in
  ParserElement.reset_cache, as well as other cache-related methods.
  Fixes Issue #604, reported by CarlosDescalziIM.
- Substantial update to docstrings and doc generation in preparation for
  3.3.0, great effort by FeRD, thanks!
- Notable addition by FeRD to convert docstring examples to work with
  doctest! This was long overdue, thanks so much!

(From OE-Core rev: f8e8ddcddf108f66203af28d5db08171b60499d3)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
b5440f4b69 python3-hypothesis: upgrade 6.138.15 -> 6.139.2
Changelog: (https://hypothesis.readthedocs.io/en/latest/changelog.html#changelog):

6.139.2:

- Internal refactoring for new lint rules.

6.139.1:

- Fixed another typo in error message around function-scoped fixtures.

6.139.0:

- Add get_current_profile_name(), which returns the name of the current settings profile.

6.138.17:

- Fixed typo in error message around function-scoped fixtures.

6.138.16:

- Improved error message for DeadlineExceeded.

Reproducibility OK.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 1
|END: /usr/lib/python3-hypothesis/ptest
|2025-09-19T15:53
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: 4f7daa9268353ee7f00d5d3e90996f069ea798c4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
48b08569a3 python3-trove-classifiers: upgrade 2025.9.8.13 -> 2025.9.11.17
Release notes (https://github.com/pypa/trove-classifiers/releases):

2025.9.11.17:

- Add support for Odoo 19.0 in classifiers (#225)

2025.9.9.12:

- Add classifier: Framework InvenTree (#223)

* Add classifier: Framework InvenTree

* fix style issue

(From OE-Core rev: 6db42ac0427548e1a5ed5a47a4d1931bb36cce2f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
51e75e216c python3-numpy: upgrade 2.3.2 -> 2.3.3
Release notes (https://github.com/numpy/numpy/releases/tag/v2.3.3):

The NumPy 2.3.3 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14. Note
that the 3.14.0 final is currently expected in Oct, 2025. This release is based
on 3.14.0rc2.

Reproducibility seems OK.

ptests look OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48954
|# PASS: 46490
|# SKIP: 2426
|# XFAIL: 33
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 169
|END: /usr/lib/python3-numpy/ptest
|2025-09-19T15:20
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: d92db41f718a79ffd3ed173a46c5567fa002e7a7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Trevor Gamblin
53069738f2 maintainers.inc: add self for python recipes
Add myself as maintainer for some newly-unassigned Python recipes.
That'll allow them to be picked up on my upgrade checker.

(From OE-Core rev: ae51541d86230414cbbb080d73fb611f7793c4cc)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Moritz Haase
abc3d6d8b2 cmake: upgrade 4.1.0 -> 4.1.1
Release notes are available at [0].

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

(From OE-Core rev: 86c0044eb72605e68cc6288f82d615305e94641e)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
071e1b57b6 libdnf: remove obsolete path patch
We needed to remove the build path from the source tree because it was
embedded into libdnf/dnf-repo.cpp.  However, this was replaced with an
environment variable in 0.67.0 onwards[1].

[1] libdnf 04d7fba0 ("Use environment variable in unittest instead of ugly hack in libdnf")

(From OE-Core rev: 948e92562e3a565f97c5eed2992c1d7ecfcc6305)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
355bf4b259 libdnf: remove non-functional gtk-doc support
The gtk-doc integration doesn't actually work, as it isn't built by
default and the targets need to be triggered manually.

As clearly nobody was using it, and upstream appears to prefer doxygen
for API documentation, remove the gtk-doc support.

This also means adding gettext to the dependencies, as this was being
pulled in via gtk-doc before but is actually needed for the translations.

(From OE-Core rev: cd8987a4d044955950dc000a5757175982dcd2f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
933f7f2778 libdnf: remove obsolete gobject-introspection support
The intention to remove G-I support was stated in [1] and the last few
pieces removed in [2], which were part of 0.15.0.

[1] libdnf a4abd42a ("Move libcheck dependency to tests/")
[2] libdnf e2f2862b ("[swdb]: C++ implementation with SWIG bindings.")

(From OE-Core rev: 6f37e3293c27d06b7aab845370dd3ea63c564fe9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
1e6ec66607 libdnf: don't depend on libcheck
Apply a patch to make libcheck optional, so we don't need to depend on
it as we don't install the tests.

(From OE-Core rev: 31b95e3c242654f8a7949e8d06df20101668b5a7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
06941b559e clang: no need to install tblgen binaries in nativesdk-clang
These are only needed if cross-compiling clang, and if someone is
cross-compiling clang in a SDK they should build their own binaries as
these ones might not match the version of clang they're building.

(From OE-Core rev: c79837a11ccf0f3e5a8ccab4ffb379cdefe482e8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
6863eadeaf clang: tell cross-builds of clang how to build natively
If we pass CROSS_TOOLCHAIN_FLAGS_NATIVE to all the builds, instead of
just nativesdk, then clang can correctly build its own native tools as
needed.

This means we can stop manually installing clang-tidy-confusable-chars-gen
as clang-tidy will build it.  We (currently) still build the tblgen
binaries once as they're used in several recipes so there's likely value
in building those once.

Also consolidate the LLVM_TABLEGEN variables as they're not specific to
a particular class.

(From OE-Core rev: 36b42975b975b4a5e3904e555e5ee00aba9c2f2b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
c22230e15f clang: improve tablegen installation
Backport a patch from upstream to install lldb-tblgen, and change the
llvm-tblgen-native recipe to use `cmake --install` instead of copying
the binaries.

This ensures that CMake does any post-install steps that are needed, and
we don't install binaries that have eg RPATHs pointing at the build tree.

(From OE-Core rev: 93051e8730263cfc23e1230015a4789dac4914de)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
6f089b930e clang: remove obsolete install steps
clang-pseudo and clang-rename have both been removed from upstream, so
don't try to install them anymore:

  llvm 40c45b6b4318 ("Remove clang-rename (#108988)")
  llvm ed8f78827895 ("Remove clang-pseudo (#109154)")

(From OE-Core rev: ac2a625c9a28a692b87a073aca95197e9d08842b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
8bc9fee22c clang: add option for llvm-exegesis
Quoting from the README:

    llvm-exegesis is a benchmarking tool that accepts or generates
    snippets and can measure characteristics of those snippets by
    executing it while keeping track of performance counters.

Potentially useful but not essential. This reduces the size of llvm-bin
by ~30MB and llvm-dbg by ~1100MB.

(From OE-Core rev: ed688027468237f4dd258089d4c3ee5f8a9159bb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
56edb8f165 clang: disable all test targets
We don't install the tests, or run them in the build tree, so tell cmake
not to generate the targets at all. This removes internal dependencies
which means we can turn off more components that we don't want.

(From OE-Core rev: ba358a03c97cb904248b743c483a7b3f4b9159a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
47f1496eb9 clang: improve opt-viewer PACKAGECONFIG
Instead of patching the python module detection, we can use the hidden
option LLVM_TOOL_OPT_VIEWER_BUILD.

(From OE-Core rev: ddbbd49c15bad1b2a550188581ffebd752b9b20e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
52df555405 classes/cython: also process .cpp files
Some Python packages, such as python3-frozenlist, generate .cpp files
with cython so we should also process those.

Frustratingly this doesn't actually solve the reproducible problem with
frozenlist as the path is a temporary directory...

(From OE-Core rev: 07f156731a9dd7cade56e1d64444dafa18f57e6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
9e8e9a6a4b classes/cmake: set CMAKE_CROSSCOMPILING explicitly
Let's be explicit and ensure that CMAKE_CROSSCOMPILING is explicitly set
to true when we're cross-compiling.

(From OE-Core rev: 82ae2d5497e8ddd825c0350250ed555588a37727)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
fbef81c833 classes/cmake: CMAKE_RANLIB needs to be a filename without arguments
CMAKE_RANLIB is the path to the binary without any arguments. However,
gcc-native.bbclass sets BUILD_RANLIB to "ranlib -D" which means that
CMake looks for a binary called "ranlib;-D".

This is expected behaviour upstream[1] and as there's no variable for
"ranlib flags", we should just set CMAKE_RANLIB to the first element of
the list.

[1] https://gitlab.kitware.com/cmake/cmake/-/issues/23554

(From OE-Core rev: 598fa6761488bffb09ba0cbe115b562fb95df959)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
81569a68e9 vte: skip gobject-introspection with clang on arm
For some as yet unknown reason, vte on arm (specifically, the qemuarm
and beaglebone-yocto machines at least) will fail during G-I code
generation (which runs the target binaries inside qemu-user):

    Bail out! VTE:ERROR:../sources/vte-0.80.3/src/vtegtk.cc:158:void
    style_provider_parsing_error_cb(GtkCssProvider *, void *, GError *):
    assertion failed (error == NULL): Expected an identifier (gtk-css-parser-error-quark, 1)

    qemu: uncaught target signal 6 (Aborted) - core dumped

Until this can be root-caused, we can disable G-I for this edge case.

(From OE-Core rev: 7874ea42bff4950bd0f0abf0ac729bce5ceb702c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Ross Burton
917d6652fc lame: don't use -march=native when building with clang
Because of a logic error, lame's configure always passes -march=native
when building with clang.

This is a terrible idea in general as it's not often your build machine
and target hardware aligns, and leads to some amusing errors:

  unknown target CPU 'neoverse-n1'
  note: valid target CPU values are: i386, i486, ...

Move the HAVE_CLANG block up into the FULL_OPTIMIZATION case, alongside
HAVE_GCC.  This option is never enabled (as it's basically "use native")
so resolves the build failure.

(From OE-Core rev: d6f0e26ccf19872e1f4eebb346d76c7bff87ba2a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Mikko Rapeli
0068ff9810 fontconfig: disable tests
The tests require json-c library which is not explicit in build
dependencies:

../sources/fontconfig-2.17.1/test/test-conf.c:27:10: fatal error:
json.h: No such file or directory
   27 | #include <json.h>

The tests are not used so just disable them.

(From OE-Core rev: 0d039d959c51f3402631014139c4d6208416b1b7)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
Hongxu Jia
52db4985e5 python3-cython: make generated source file be reproducible
While python3 module use cython to build library, the generated source file
is not stable at each build and made the generated library not be reproducible

This commit replaces un-predictable string with hardcode string in generated
source file to assure the generated library should be reproducible

(From OE-Core rev: 61d98d12eca1c7bdf3b7387a820c83d3b8fad965)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-25 11:09:04 +01:00
hongxu
4f99a9eb03 perf: fix reproducibility issue occasionally
Due to commit [1] applied in kernel v6.16 (such as qemux86-64),
perl has reproducibility issue occasionally.

Perf's build process generates two copies of its internal headers,
one at tools/lib/perf/include/internal and one at libperf/include/internal
with files like core.h. Although the files are identical, the binaries including
them would see them at different paths and have different debuginfo data. [2]

The reason is the order of include dir `tools/lib/perf/include' and
`libperf/include' is not stable, such as

$ x86_64-poky-linux-gcc  ... \
   -Ipath-to/tmp/work/qemux86_64-poky-linux/perf/1.0/sources/perf-1.0/tools/lib/perf/include \
   -Ipath-to/tmp/work/qemux86_64-poky-linux/perf/1.0/sources/perf-1.0/libperf/include \
   -c -o path-to/tmp/work/qemux86_64-poky-linux/perf/1.0/sources/perf-1.0/libperf/core.o core.c

$ recipe-sysroot-native/usr/bin/dwarfsrcfiles sources/perf-1.0/libperf/core.o
/usr/src/debug/perf/1.0/tools/lib/perf/core.c
...
        /usr/src/debug/perf/1.0/tools/lib/perf/include/perf/core.h
        /usr/src/debug/perf/1.0/tools/lib/perf/include/internal/lib.h
...

$ x86_64-poky-linux-gcc  ... \
   -Ipath-to/tmp/work/qemux86_64-poky-linux/perf/1.0/sources/perf-1.0/libperf/include \
   -Ipath-to/tmp/work/qemux86_64-poky-linux/perf/1.0/sources/perf-1.0/tools/lib/perf/include \
   -c -o path-to/tmp/work/qemux86_64-poky-linux/perf/1.0/sources/perf-1.0/libperf/core.o core.c

$ recipe-sysroot-native/usr/bin/dwarfsrcfiles sources/perf-1.0/libperf/core.o
/usr/src/debug/perf/1.0/tools/lib/perf/core.c
...
    /usr/src/debug/perf/1.0/libperf/include/perf/core.h
    /usr/src/debug/perf/1.0/libperf/include/internal/lib.h
...

This commit explicitly sets the order of these two include dirs
in EXTRA_CFLAGS.

This commit has no regression for kernel v6.6 (such as genericx86-64)

Also enable verbose for compile to trace the detail of build

[1] f5b07010c1
[2] https://git.openembedded.org/openembedded-core/commit/?id=0a886fcacaab0fbce1306c0f99d482f940a8f705

(From OE-Core rev: e18d697e92b55e57124e80234369d46575226386)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 11:06:42 +01:00
Bruce Ashfield
07019704cc linux-yocto/6.16: cfg: drm for x86 32bit
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: drm: add x86 (32bit) to valid architectures
    Date: Tue, 23 Sep 2025 15:55:27 -0400

    vboxguest drivers / DRM aren't valid for all architectures and
    throw warnings if they are enabled for those invalid architectures.

    ARM/x86-64 were previously enabled, and we add x86 32bit to the
    list to allow vboxguestdrivers (and similar) to have the kernel
    configuration options they need to build (and run).

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: a76154f8351d869fee802124d23f6f573b1c372b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 11:06:42 +01:00
Bruce Ashfield
f8850a1726 linux-yocto/6.16: genericarm64 refactoring, extension and clean-up
Integrating the following commit(s) to linux-yocto/.:

    58666126 genericarm64.scc: enable OP-TEE support
    90e118e5 features optee.cfg: enable RPMB support
    1d4363c2 genericarm64.cfg: add MTD support for Hyperbus
    a6091c0a genericarm64.cfg: improve pmdomain support
    fb4ff102 genericarm64.cfg: add MTD SPI NAND support
    ce35b9dd genericarm64.cfg: enable Altera and Broadcom PCIe drivers
    7701e479 genericarm64-arch.cfg: add new archs
    20574dcf genericarm64.cfg: improve SPI support
    6575e9c2 genericarm64.cfg: extend sound support via genericarm64-sound.cfg
    7af0fff7 genericarm64.cfg: add more thermal drivers
    5baf746c genericarm64.cfg: add more ADC support
    82b8b2f2 genericarm64.cfg: add more mailbox support
    6bcc928b genericarm64-arch.cfg: add Rockchip IO domain and DTPM support
    4bd654f3 genericarm64.cfg: enable more Arm extensions
    2e7a98fb genericarm64.cfg: add more PHY support
    93405670 genericarm64.cfg: add Freescale and Rockchip NAND support
    206f0249 genericarm64.cfg: enable more graphics DRM support
    e475a5ba genericarm64.cfg: enable more CRYPTO_DEV drivers
    65ca974e genericarm64.cfg: add Renesas STM memory controller drivers
    20592693 genericarm64.cfg: enable DEVFREQ governors and drivers
    c23b00f6 genericarm64.cfg: add CONFIG_ROCKCHIP_PM_DOMAINS=y
    900c4d7c genericarm64.scc: enable SRAM support
    952ea4f7 zynq: use sram.scc for SRAM support
    93fdb4a1 sram: add feature with .scc and .cfg
    d75a77bc genericarm64.cfg: enable Qualcomm RTC and DSP drivers
    34a37d36 genericarm64.scc: enable nvme support
    a50d70a8 intel-x86: use nvme.scc
    0e4311da intel amd-x86-64: use nvme.scc
    8df9e176 marvell-cn96xx.scc: use nvme.scc
    c975d9dc bcm-2xxx-rpi.cfg: use nvme.scc
    64047a98 nvme.scc: add feature for NVMe support
    8e0c5d1e genericarm64.cfg: enable Tegra firmware drivers
    1badd0c5 genericarm64.cfg: enable Qualcomm security firmware interfaces
    a4393b2a genericarm64.cfg: add Google and MediaTek firmware drivers
    93cf7834 genericarm64.cfg: enable CONFIG_MHI_BUS_PCI_GENERIC=m
    413c8ca8 genericarm64.scc: enable firmware driver support
    8d812d85 firmware.cfg: enable CONFIG_FW_LOADER_PAGED_BUF=y and CONFIG_FW_LOADER_SYSFS=y
    624046ca genericarm64.cfg: enable more PCI/PCIe support
    8fb9f378 genericarm64.scc: enable more Bluetooth HW drivers
    bedb9b8a bluetooth-hw.scc: add config for Bluetooth HW drivers
    35baf131 bluetooth-usb.cfg: enable more drivers
    47061600 genericarm64.scc: add bluetooth-usb support
    5b21b9d9 bluetooth.cfg: enable LED events
    9cc05195 genericarm64.cfg: enable Qualcomm IPC drivers
    52932f92 genericarm64.cfg: enable CONFIG_NET_SWITCHDEV=y
    2bc84172 genericarm64.scc: enable kubernetes support
    6b383a08 qemu-kvm-arm64.cfg: enable KSM with KVM
    b58e205f genericarm64.scc: enable KVM support
    715986a3 genericarm64.cfg: enable ACPI memory hotplug and error reporting
    f362ed14 features: add memory/failure.scc
    ec58a666 genericarm64.cfg: enable CONFIG_BLK_DEV_INTEGRITY=y
    85984f29 features: add block/integrity.scc
    3a49bdb6 genericarm64.cfg: enable CONFIG_JUMP_LABEL=y
    19800309 genericarm64-arch.cfg: extend Tegra support
    ffcf3235 genericarm64.cfg: enable CONFIG_CPU_FREQ_STAT=y
    c594a800 features: add power/cpu_freq_stat.scc
    000bfa8a genericarm64-arch.cfg: enable CONFIG_ARCH_AIROHA=y
    e64dea75 genericarm64.cfg: enable CONFIG_SCHED_AUTOGROUP=y
    270015f9 features: add sched/sched-desktop.scc
    e711e072 genericarm64.cfg: add CONFIG_SCHED_HW_PRESSURE=y

(From OE-Core rev: fa3df8b8e28a03c9110731ff578e0fea4f76371f)

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>
2025-09-24 11:06:42 +01:00
Bruce Ashfield
b4a761b389 linux-yocto/6.16: update CVE exclusions (6.16.8)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 4 changes (4 new | 0 updated): - 4 new CVEs: CVE-2025-10779, CVE-2025-59799, CVE-2025-59800, CVE-2025-59801 - 0 updated CVEs:
        Date: Mon, 22 Sep 2025 03:15:41 +0000

    ]

(From OE-Core rev: 64c8efc3cf2407ec716c27c2028c23b2d8c8b8b0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 11:06:42 +01:00
Bruce Ashfield
71359330da linux-yocto/6.16: update to v6.16.8
Updating linux-yocto/6.16 to the latest korg -stable release that comprises
the following commits:

    62dae0198231 Linux 6.16.8
    51a321b480d1 netfilter: nft_set_pipapo: fix null deref for empty set
    9c495549ba30 phy: ti-pipe3: fix device leak at unbind
    f4b78402d51a phy: ti: omap-usb2: fix device leak at unbind
    07e00526807e phy: tegra: xusb: fix device and OF node leak at probe
    ac22507821ac phy: qcom: qmp-pcie: Fix PHY initialization when powered down by firmware
    6e446062d2f2 dmaengine: dw: dmamux: Fix device reference leak in rzn1_dmamux_route_allocate
    0ff9df758af7 dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees
    0ab708a2f145 usb: gadget: midi2: Fix MIDI2 IN EP max packet size
    ab8c7c4d8f1e usb: gadget: midi2: Fix missing UMP group attributes initialization
    6958b4577438 usb: typec: tcpm: properly deliver cable vdms to altmode drivers
    b17e79b48f80 USB: gadget: dummy-hcd: Fix locking bug in RT-enabled kernels
    b78c7dcda9bd xhci: fix memory leak regression when freeing xhci vdev devices depth first
    7dc3bd0f7bd5 xhci: dbc: Fix full DbC transfer ring after several reconnects
    ad6a6e97c219 xhci: dbc: decouple endpoint allocation from initialization
    91c34cd6ca1b erofs: fix runtime warning on truncate_folio_batch_exceptionals()
    2dbafe64b081 regulator: sy7636a: fix lifecycle of power good gpio
    d5e82f3f2c91 dmaengine: ti: edma: Fix memory allocation size for queue_priority_map
    db5d7abd379a erofs: fix invalid algorithm for encoded extents
    c5fff1c37e18 erofs: unify meta buffers in z_erofs_fill_inode()
    1d5a938cdf97 erofs: remove need_kmap in erofs_read_metabuf()
    30fb1a3d2268 erofs: get rid of {get,put}_page() for ztailpacking data
    9f0e22563547 dmaengine: idxd: Fix double free in idxd_setup_wqs()
    b86c1c38bebc dmaengine: idxd: Fix refcount underflow on module unload
    da4fbc1488a4 dmaengine: idxd: Remove improper idxd_free
    a5f293d3931a phy: qualcomm: phy-qcom-eusb2-repeater: fix override properties
    68a6729afd3e hsr: hold rcu and dev lock for hsr_get_port_ndev
    43242aed9060 hsr: use hsr_for_each_port_rtnl in hsr_port_get_hsr
    4fb6bcc1e68f hsr: use rtnl lock when iterating over ports
    3f9f4764f847 netfilter: nf_tables: restart set lookup on base_seq change
    f6cb89b449bd netfilter: nf_tables: make nft_set_do_lookup available unconditionally
    d68ec0dfc30b netfilter: nf_tables: place base_seq in struct net
    3bc63fbb4151 netfilter: nf_tables: Reintroduce shortened deletion notifications
    39f40f1e4b75 netfilter: nft_set_rbtree: continue traversal if element is inactive
    7700fce94447 netfilter: nft_set_pipapo: don't check genbit from packetpath lookups
    9eab0ef1dc7e netfilter: nft_set_pipapo: don't return bogus extension pointer
    610c1e196fc8 netfilter: nft_set_pipapo: merge pipapo_get/lookup
    06f714dbe6f3 netfilter: nft_set: remove one argument from lookup and update functions
    52f951a0ed36 netfilter: nft_set_pipapo: remove unused arguments
    a3e1019e1757 netfilter: nft_set_bitmap: fix lockdep splat due to missing annotation
    668cc1e3bb21 can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB
    c85c52f0ca8e can: j1939: j1939_local_ecu_get(): undo increment when j1939_local_ecu_get() fails
    d22a56bc38f6 can: j1939: j1939_sk_bind(): call j1939_priv_put() immediately when j1939_local_ecu_get() failed
    da9e8f429139 can: j1939: implement NETDEV_UNREGISTER notification handler
    20e8ba3ad883 selftests: can: enable CONFIG_CAN_VCAN as a module
    d7624629ccf4 macsec: sync features on RTM_NEWLINK
    2d92fa0cdc02 net: dev_ioctl: take ops lock in hwtstamp lower paths
    2df3698f0978 drm/amd/display: use udelay rather than fsleep
    cb5eb693f2bc drm/xe/configfs: Don't touch survivability_mode on fini
    c62580674ce5 i40e: fix IRQ freeing in i40e_vsi_request_irq_msix error path
    e85da543ecda igb: fix link test skipping when interface is admin down
    473be7d39efd igb: Fix NULL pointer dereference in ethtool loopback test
    f56cfc744a53 docs: networking: can: change bcm_msg_head frames member to support flexible array
    ebfd979282d0 tunnels: reset the GSO metadata before reusing the skb
    f75a327ca756 net: bridge: Bounce invalid boolopts
    4eec1e293def net: dsa: b53: fix ageing time for BCM53101
    8858c1e94059 genetlink: fix genl_bind() invoking bind() after -EPERM
    79c76e51a04c PCI: mvebu: Fix use of for_each_of_range() iterator
    214ecffefcc5 wifi: ath12k: fix WMI TLV header misalignment
    c273003e6ba3 wifi: ath12k: Add support to enqueue management frame at MLD level
    4a7ec2624b9f wifi: ath12k: add link support for multi-link in arsta
    35002c806c8c wifi: ath12k: Fix missing station power save configuration
    052ac41c379c net: phy: transfer phy_config_inband() locking responsibility to phylink
    56fe63b05ec8 net: phylink: add lock for serializing concurrent pl->phydev writes with resolver
    eb148d85e126 net: fec: Fix possible NPD in fec_enet_phy_reset_after_clk_enable()
    8d7ebe7d3216 drm/panthor: validate group queue count
    0cd36f52fece mtd: rawnand: nuvoton: Fix an error handling path in ma35_nand_chips_init()
    c62608a41b38 USB: serial: option: add Telit Cinterion LE910C4-WWX new compositions
    a1ae1d69f480 USB: serial: option: add Telit Cinterion FN990A w/audio compositions
    cd970dceda44 dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
    9999c6a4a4d2 serial: sc16is7xx: fix bug in flow control levels init
    89d76f908987 tty: hvc_console: Call hvc_kick in hvc_write unconditionally
    b236f23533e8 Revert "net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeups"
    b845eff955a2 Input: xpad - add support for Flydigi Apex 5
    c68680238f29 Input: i8042 - add TUXEDO InfinityBook Pro Gen10 AMD to i8042 quirk table
    a31042588e85 Input: iqs7222 - avoid enabling unused interrupts
    d85d6b2b4dcb x86/cpu/topology: Always try cpu_parse_topology_ext() on AMD/Hygon
    3a0c45133c0d fs/resctrl: Eliminate false positive lockdep warning when reading SNC counters
    b4669950ba63 hrtimers: Unconditionally update target CPU base after offline timer migration
    81972cf13427 drm/amd/amdgpu: Declare isp firmware binary file
    a1afbe276180 drm/amd/display: Drop dm_prepare_suspend() and dm_complete()
    b70912396389 drm/amd/display: Destroy cached state in complete() callback
    40cb9b38b645 mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters()
    4e87f461d619 mm/damon/sysfs: fix use-after-free in state_show()
    96a2bc2dcefe mtd: spinand: winbond: Fix oob_layout for W25N01JW
    4fb20a449bf4 mtd: spinand: winbond: Enable high-speed modes on w25n0xjw
    589560e63ebd mtd: spinand: Add a ->configure_chip() hook
    dd1616ecbea9 ceph: fix crash after fscrypt_encrypt_pagecache_blocks() error
    289b6615cf55 ceph: always call ceph_shift_unused_folios_left()
    1315d252a0e2 ceph: fix race condition where r_parent becomes stale before sending message
    2bfe45987eb3 ceph: fix race condition validating r_parent before applying state
    6bd8b56899be libceph: fix invalid accesses to ceph_connection_v1_info
    ac5cda4fae88 kernfs: Fix UAF in polling when open file is released
    8193ddffd50d btrfs: fix corruption reading compressed range when block size is smaller than page size
    d50721cbc9d6 btrfs: use readahead_expand() on compressed extents
    ac507e577072 drm/amd/display: Disable DPCD Probe Quirk
    016760c55593 drm/dp: Add an EDID quirk for the DPCD register access probe
    92d790f16c1c drm/edid: Add support for quirks visible to DRM core and drivers
    25def270d1d6 drm/edid: Define the quirks in an enum list
    c686124bcf06 drm/amd/display: remove oem i2c adapter on finish
    b74a1d7e4615 drm/amd/display: Correct sequences and delays for DCN35 PG & RCG
    b1dc92f55b22 drm/amdgpu/vcn4: Fix IB parsing with multiple engine info packages
    8bc263e037aa drm/amdgpu/vcn: Allow limiting ctx to instance 0 for AV1 at any time
    7333eb67987c drm/amdgpu: fix a memory leak in fence cleanup when unloading
    6535ab1c4348 drm/xe: Block exec and rebind worker while evicting for suspend / hibernate
    53a4568e8a7d drm/xe: Allow the pm notifier to continue on failure
    21ca89dd42da drm/xe: Attempt to bring bos back to VRAM after eviction
    4b49e9812a29 drm/i915/power: fix size for for_each_set_bit() in abox iteration
    c4901802ed1c drm/mediatek: fix potential OF node use-after-free
    326a4b3750c7 mm/damon/lru_sort: avoid divide-by-zero in damon_lru_sort_apply_parameters()
    17cb8b1751ff mm/damon/core: set quota->charged_from to jiffies at first charge window
    98cbd2fd3726 mm/memory-failure: fix redundant updates for already poisoned pages
    63a327a2375a mm/memory-failure: fix VM_BUG_ON_PAGE(PagePoisoned(page)) when unpoison memory
    33b95d90427c mm/vmalloc, mm/kasan: respect gfp mask in kasan_populate_vmalloc()
    36e84dac92bc mm/khugepaged: fix the address passed to notifier on testing young
    35437e7c665c mm/hugetlb: add missing hugetlb_lock in __unmap_hugepage_range()
    24e5758a5371 fuse: prevent overflow in copy_file_range return value
    b74616c44326 fuse: check if copy_file_range() returns larger than requested size
    036426d7a63d fuse: do not allow mapping a non-regular backing file
    d1d5d12b62ec mtd: rawnand: stm32_fmc2: fix ECC overwrite
    f6fd98d961fa mtd: rawnand: stm32_fmc2: avoid overlapping mappings on ECC buffer
    26773947c036 mtd: nand: raw: atmel: Respect tAR, tCLR in read setup timing
    5796b86e0af4 smb: client: fix data loss due to broken rename(2)
    81492813c6e5 smb: client: fix compound alignment with encryption
    28725db8800e s390: kexec: initialize kexec_buf struct
    75465ae51baa wifi: iwlwifi: fix 130/1030 configs
    e9985d9e766f PM: hibernate: Restrict GFP mask in hibernation_snapshot()
    1f6a55e9ce45 PM: EM: Add function for registering a PD without capacity update
    2878c584b192 net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeups
    782369a022f9 net: libwx: fix to enable RSS
    3f9ba4a0d91f i2c: rtl9300: remove broken SMBus Quick operation support
    c91382328fc8 i2c: rtl9300: ensure data length is within supported range
    09cd964cb1e9 i2c: i801: Hide Intel Birch Stream SoC TCO WDT
    f1498abaf74f btrfs: fix subvolume deletion lockup caused by inodes xarray race
    203cee72cf98 btrfs: fix squota compressed stats leak
    9efcb7a8b973 ocfs2: fix recursive semaphore deadlock in fiemap call
    9911a97bff4c netlink: specs: mptcp: fix if-idx attribute type
    259bcc4213c9 doc: mptcp: net.mptcp.pm_type is deprecated
    4349cfe4a7cc mptcp: sockopt: make sync_socket_options propagate SOCK_KEEPOPEN
    340cc9a3bd30 arm64: kexec: initialize kexec_buf struct in load_other_segments()
    b217baf7a5be compiler-clang.h: define __SANITIZE_*__ macros only when undefined
    f3d6e1ca25d0 Revert "SUNRPC: Don't allow waiting for exiting tasks"
    3a5ae41ce2e6 i2c: rtl9300: fix channel number bound check
    827b6bdafbfa EDAC/altera: Delete an inappropriate dma_free_coherent() call
    d2b1ce9a5e29 proc: fix type confusion in pde_set_flags()
    de89e58368f8 tcp_bpf: Call sk_msg_free() when tcp_bpf_send_verdict() fails to allocate psock->cork.
    ac70cd446f83 bpf: Tell memcg to use allow_spinning=false path in bpf_timer_init()
    f0c4f309baa8 bpf: Allow fall back to interpreter for programs with stack size <= 512
    bd00e7f05aed rqspinlock: Choose trylock fallback for NMI waiters
    932cb57e675a xsk: Fix immature cq descriptor production
    c4be24ef0510 bpf: Fix out-of-bounds dynptr write in bpf_crypto_crypt
    9c48608e3243 cpufreq/amd-pstate: Fix a regression leading to EPP 0 after resume
    f77faf6ac076 s390/cpum_cf: Deny all sampling events by counter PMU
    daf116fceaad s390/pai: Deny all events not handled by this PMU
    a330f6a521ee cpufreq/amd-pstate: Fix setting of CPPC.min_perf in active mode for performance governor
    9cb1894a6e0e bpf, cpumap: Disable page_pool direct xdp_return need larger scope
    793338906ff5 tracing: Silence warning when chunk allocation fails in trace_pid_write
    81ce19265f7f NFSv4/flexfiles: Fix layout merge mirror check.
    fc3bc5d24902 NFS: nfs_invalidate_folio() must observe the offset and size arguments
    5ae2ee9e1cd6 NFSv4.2: Serialise O_DIRECT i/o and copy range
    55efebe6b38d NFSv4.2: Serialise O_DIRECT i/o and clone range
    76cf0de31d5a NFSv4.2: Serialise O_DIRECT i/o and fallocate()
    b84f67a50907 NFS: Serialise O_DIRECT i/o and truncate()
    e33228a2cc7f tracing/osnoise: Fix null-ptr-deref in bitmap_parselist()
    ad3327a576cd ftrace/samples: Fix function size computation
    c250be1d75bf nfs/localio: restore creds before releasing pageio data
    cc2e81c337da tracing: Fix tracing_marker may trigger page fault during preempt_disable
    9ff5594c3219 NFSv4: Clear the NFS_CAP_XATTR flag if not supported by the server
    e3e52726d933 NFSv4: Clear NFS_CAP_OPEN_XOR and NFS_CAP_DELEGTIME if not supported
    3b78e8610140 NFSv4: Clear the NFS_CAP_FS_LOCATIONS flag if it is not set
    b4ae273a42f3 trace/fgraph: Fix error handling
    223be11c53a3 md: keep recovery_cp in mdp_superblock_s
    357391fcea77 NFSv4: Don't clear capabilities that won't be reset
    6e38f4c7c73f SUNRPC: call xs_sock_process_cmsg for all cmsg
    8dd0b071c84c flexfiles/pNFS: fix NULL checks on result of ff_layout_choose_ds_for_read
    a3a4d494d167 Revert "drm/amdgpu: Add more checks to PSP mailbox"
    2878ce119203 Bluetooth: ISO: Fix getname not returning broadcast fields
    657e7734dc07 Bluetooth: hci_conn: Fix running bis_cleanup for hci_conn->type PA_LINK
    e594d07a06a4 iommu/vt-d: Make iotlb_sync_map a static property of dmar_domain
    d6aa8aac347c iommu/vt-d: Split paging_domain_compatible()
    6a285ee6413d iommu/vt-d: Create unique domain ops for each stage
    a108585cdaf8 iommu/vt-d: Split intel_iommu_domain_alloc_paging_flags()
    700c8d4bf81e Bluetooth: hci_conn: Fix not cleaning up Broadcaster/Broadcast Source
    bd06c32a07f3 irqchip/mvebu-gicp: Fix an IS_ERR() vs NULL check in probe()
    b2de0c9ce8e5 perf: Fix the POLL_HUP delivery breakage
    a60e426d22f1 dma-debug: don't enforce dma mapping check on noncoherent allocations
    a4407f377496 fhandle: use more consistent rules for decoding file handle from userns
    623719227b11 fuse: Block access to folio overlimit
    7d7c1fb85cba coredump: don't pointlessly check and spew warnings
    17ecefc9fdd8 block: don't silently ignore metadata for sync read/write
    a7e894512d1b fs: add a FMODE_ flag to indicate IOCB_HAS_METADATA availability

(From OE-Core rev: c777799b630185be504146257a5f6f8b95d36d5a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 11:06:42 +01:00
Bruce Ashfield
92657c4521 linux-yocto/6.12: update CVE exclusions (6.12.48)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 4 changes (4 new | 0 updated): - 4 new CVEs: CVE-2025-10779, CVE-2025-59799, CVE-2025-59800, CVE-2025-59801 - 0 updated CVEs:
        Date: Mon, 22 Sep 2025 03:15:41 +0000

    ]

(From OE-Core rev: c9e937aa27b4e61215481ed5c8bb74ce2c7cf9bc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 11:06:42 +01:00
Bruce Ashfield
d00f72e176 linux-yocto/6.12: update to v6.12.48
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    f1e375d5eb68 Linux 6.12.48
    9e70cd1b775b x86: disable image size check for test builds
    44b2be6d5994 netfilter: nft_set_pipapo: fix null deref for empty set
    5539bc82ceda drm/amdgpu: fix a memory leak in fence cleanup when unloading
    215ea32e1fba drm/i915/power: fix size for for_each_set_bit() in abox iteration
    b9f9035d9481 net: mdiobus: release reset_gpio in mdiobus_unregister_device()
    01e528e63c2b x86/cpu/topology: Always try cpu_parse_topology_ext() on AMD/Hygon
    170eaf97d5e4 phy: ti-pipe3: fix device leak at unbind
    4dae01a7b20c phy: ti: omap-usb2: fix device leak at unbind
    28cfc6ab15b9 phy: tegra: xusb: fix device and OF node leak at probe
    feb1f80228c1 dmaengine: dw: dmamux: Fix device reference leak in rzn1_dmamux_route_allocate
    1fc14731f0be dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees
    877135c58a2e usb: gadget: midi2: Fix MIDI2 IN EP max packet size
    47949bcf66b4 usb: gadget: midi2: Fix missing UMP group attributes initialization
    edfa1f21c278 usb: typec: tcpm: properly deliver cable vdms to altmode drivers
    2d10b29a7ea5 USB: gadget: dummy-hcd: Fix locking bug in RT-enabled kernels
    e64b2ff8643c xhci: fix memory leak regression when freeing xhci vdev devices depth first
    cfcde627f08c RISC-V: Remove unnecessary include from compat.h
    eba05e46f8f2 regulator: sy7636a: fix lifecycle of power good gpio
    069fd1688c57 dmaengine: ti: edma: Fix memory allocation size for queue_priority_map
    ec5430d090d0 dmaengine: idxd: Fix double free in idxd_setup_wqs()
    ce81905bec91 dmaengine: idxd: Fix refcount underflow on module unload
    dd7a7e432697 dmaengine: idxd: Remove improper idxd_free
    fcd4f1af12a2 phy: qualcomm: phy-qcom-eusb2-repeater: fix override properties
    dac341e35749 hsr: use hsr_for_each_port_rtnl in hsr_port_get_hsr
    d04d9d1aea70 hsr: use rtnl lock when iterating over ports
    c707d2c5541d net: hsr: Add VLAN CTAG filter support
    d74b49bb6b3c netfilter: nf_tables: restart set lookup on base_seq change
    4c34625f7dee netfilter: nf_tables: make nft_set_do_lookup available unconditionally
    259c4e86d083 netfilter: nf_tables: place base_seq in struct net
    dbe85d3115c7 netfilter: nf_tables: Reintroduce shortened deletion notifications
    9f1cc747c9ba netfilter: nft_set_rbtree: continue traversal if element is inactive
    6fe348e837c7 netfilter: nft_set_pipapo: don't check genbit from packetpath lookups
    42a02ba5beb8 netfilter: nft_set_pipapo: don't return bogus extension pointer
    3a2d45819a19 netfilter: nft_set_pipapo: merge pipapo_get/lookup
    39ce3db914c4 netfilter: nft_set: remove one argument from lookup and update functions
    6c110df7b984 netfilter: nft_set_pipapo: remove unused arguments
    725b33deebd6 can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB
    a6d84e51ab4e can: j1939: j1939_local_ecu_get(): undo increment when j1939_local_ecu_get() fails
    1ca9748ee5be can: j1939: j1939_sk_bind(): call j1939_priv_put() immediately when j1939_local_ecu_get() failed
    03653847b6ef drm/amd/display: use udelay rather than fsleep
    a30afd6617c3 i40e: fix IRQ freeing in i40e_vsi_request_irq_msix error path
    21a3cd01ca07 igb: fix link test skipping when interface is admin down
    2935d8230ea6 docs: networking: can: change bcm_msg_head frames member to support flexible array
    badc803b8af2 tunnels: reset the GSO metadata before reusing the skb
    40600cddf429 net: bridge: Bounce invalid boolopts
    98c9d884047a genetlink: fix genl_bind() invoking bind() after -EPERM
    4fe53aaa4271 net: fec: Fix possible NPD in fec_enet_phy_reset_after_clk_enable()
    a506ffe193b2 drm/panthor: validate group queue count
    e7639cf1e6dd Disable SLUB_TINY for build testing
    b15c4bffdccf USB: serial: option: add Telit Cinterion LE910C4-WWX new compositions
    18bae1d4926b USB: serial: option: add Telit Cinterion FN990A w/audio compositions
    fee858fa032c dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
    d02bb770ec92 serial: sc16is7xx: fix bug in flow control levels init
    32864297aa1d tty: hvc_console: Call hvc_kick in hvc_write unconditionally
    8a0e676dc53b Revert "net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeups"
    7158588efdf2 Input: i8042 - add TUXEDO InfinityBook Pro Gen10 AMD to i8042 quirk table
    f80c46c5fb72 Input: iqs7222 - avoid enabling unused interrupts
    51d7f652b381 hrtimers: Unconditionally update target CPU base after offline timer migration
    2dd4679961cd btrfs: fix corruption reading compressed range when block size is smaller than page size
    7cd3bc42ad12 btrfs: use readahead_expand() on compressed extents
    044ba8d23889 mtd: spinand: winbond: Fix oob_layout for W25N01JW
    deccd93ae19b mm/hugetlb: add missing hugetlb_lock in __unmap_hugepage_range()
    5d6eeb3c683c mm/damon/reclaim: avoid divide-by-zero in damon_reclaim_apply_parameters()
    26d29b2ac87a mm/damon/sysfs: fix use-after-free in state_show()
    305935130d54 ceph: fix race condition where r_parent becomes stale before sending message
    db378e6f83ec ceph: fix race condition validating r_parent before applying state
    35dbbc3dbf8b libceph: fix invalid accesses to ceph_connection_v1_info
    7e64474aba78 kernfs: Fix UAF in polling when open file is released
    3ac1ec2745ce netlink: specs: mptcp: fix if-idx attribute type
    20a2c389b3a6 netlink: specs: mptcp: replace underscores with dashes in names
    e295bf08b2b4 netlink: specs: mptcp: clearly mention attributes
    5ea53f2701f9 netlink: specs: mptcp: add missing 'server-side' attr
    6dc4eddeb7e6 drm/amdgpu/vcn4: Fix IB parsing with multiple engine info packages
    c53a6447d1ab drm/amdgpu/vcn: Allow limiting ctx to instance 0 for AV1 at any time
    7d07bc9c4f53 drm/xe: Attempt to bring bos back to VRAM after eviction
    b58a26cdd479 drm/mediatek: fix potential OF node use-after-free
    af0ae62b9353 mm/damon/lru_sort: avoid divide-by-zero in damon_lru_sort_apply_parameters()
    1797fd7b431c mm/damon/core: set quota->charged_from to jiffies at first charge window
    de84f2978d2e mm/memory-failure: fix redundant updates for already poisoned pages
    7618fd443aa4 mm/memory-failure: fix VM_BUG_ON_PAGE(PagePoisoned(page)) when unpoison memory
    fd714c92b13d mm/khugepaged: fix the address passed to notifier on testing young
    532b87643f6a fuse: prevent overflow in copy_file_range return value
    b7c40f063ff4 fuse: check if copy_file_range() returns larger than requested size
    30814d40fc8a fuse: do not allow mapping a non-regular backing file
    b6f8cd737b70 mtd: rawnand: stm32_fmc2: fix ECC overwrite
    26adba1e7d79 mtd: rawnand: stm32_fmc2: avoid overlapping mappings on ECC buffer
    040c78723a1f mtd: nand: raw: atmel: Respect tAR, tCLR in read setup timing
    2e2eb789066f net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeups
    f98d88bf36b9 i2c: i801: Hide Intel Birch Stream SoC TCO WDT
    9ba898c9fcbe btrfs: fix subvolume deletion lockup caused by inodes xarray race
    6e9a12ab0705 btrfs: fix squota compressed stats leak
    1d3c96547ee2 ocfs2: fix recursive semaphore deadlock in fiemap call
    9be08390ed30 mptcp: sockopt: make sync_socket_options propagate SOCK_KEEPOPEN
    5b4605974b6d compiler-clang.h: define __SANITIZE_*__ macros only when undefined
    02f6274f9fc5 Revert "SUNRPC: Don't allow waiting for exiting tasks"
    589a319dcd60 EDAC/altera: Delete an inappropriate dma_free_coherent() call
    1ddb0a6ffac9 proc: fix type confusion in pde_set_flags()
    539920180c55 tcp_bpf: Call sk_msg_free() when tcp_bpf_send_verdict() fails to allocate psock->cork.
    cd1fd26bb134 bpf: Tell memcg to use allow_spinning=false path in bpf_timer_init()
    82967254a92e bpf: Allow fall back to interpreter for programs with stack size <= 512
    0126358df12d bpf: Fix out-of-bounds dynptr write in bpf_crypto_crypt
    4eebb6c60e85 s390/cpum_cf: Deny all sampling events by counter PMU
    5665ac5c5151 s390/pai: Deny all events not handled by this PMU
    88525accf169 tracing: Silence warning when chunk allocation fails in trace_pid_write
    f15ebc876fb2 NFSv4/flexfiles: Fix layout merge mirror check.
    b7c6c76c8585 NFS: nfs_invalidate_folio() must observe the offset and size arguments
    e1651ba799d4 NFSv4.2: Serialise O_DIRECT i/o and copy range
    fc0e6342ad8a NFSv4.2: Serialise O_DIRECT i/o and clone range
    5eb9e22919c8 NFSv4.2: Serialise O_DIRECT i/o and fallocate()
    abfd17844a0a NFS: Serialise O_DIRECT i/o and truncate()
    7f08d14103f3 fs/nfs/io: make nfs_start_io_*() killable
    fd84053dafeb ftrace/samples: Fix function size computation
    57c1bb02b4fc nfs/localio: restore creds before releasing pageio data
    a707c9a8380f nfs/localio: add direct IO enablement with sync and async IO support
    b0bf81e05b7a nfs/localio: remove extra indirect nfs_to call to check {read,write}_iter
    3f9b5dfbc444 tracing: Fix tracing_marker may trigger page fault during preempt_disable
    526d747df4b2 NFSv4: Clear the NFS_CAP_XATTR flag if not supported by the server
    643ccedbbee6 NFSv4: Clear NFS_CAP_OPEN_XOR and NFS_CAP_DELEGTIME if not supported
    4e7c053674a2 NFSv4: Clear the NFS_CAP_FS_LOCATIONS flag if it is not set
    35601bc50d06 trace/fgraph: Fix error handling
    2bc206085642 NFSv4: Don't clear capabilities that won't be reset
    2f7f112eaea9 SUNRPC: call xs_sock_process_cmsg for all cmsg
    606da574c1a8 flexfiles/pNFS: fix NULL checks on result of ff_layout_choose_ds_for_read
    8d7cc147124e drm/amdgpu: Add back JPEG to video caps for carrizo and newer
    66809e11a23e ALSA: hda/realtek: Fix built-in mic assignment on ASUS VivoBook X515UA
    86c7bcb6993c Revert "drm/amd/display: Optimize cursor position updates"
    278d96bd0b48 drm/amd/display: Fix error pointers in amdgpu_dm_crtc_mem_type_changed
    996ab5ee7d72 drm/i915/pmu: Fix zero delta busyness issue
    aa66603ddf1b ext4: introduce linear search for dentries
    3a7fd0e56eaa Revert "udmabuf: fix vmap_udmabuf error page set"
    87bbcb73d603 nvme-pci: skip nvme_write_sq_db on empty rqlist
    63371be47f35 dma-debug: fix physical address calculation for struct dma_debug_entry
    a0d2200def1e dma-mapping: fix swapped dir/flags arguments to trace_dma_alloc_sgt_err
    e3253bab3c4a mm: introduce and use {pgd,p4d}_populate_kernel()
    5682aad0276f net/mlx5: HWS, change error flow on matcher disconnect
    464a33c29c9a kunit: kasan_test: disable fortify string checker on kasan_strings() test
    c6eb8d2d6371 dma-debug: don't enforce dma mapping check on noncoherent allocations
    245eb0b6bd8f dma-mapping: trace more error paths
    f776ae61e12e dma-mapping: use trace_dma_alloc for dma_alloc* instead of using trace_dma_map
    1edd532f24a7 dma-mapping: trace dma_alloc/free direction
    c39e8483dbcb dma-debug: store a phys_addr_t in struct dma_debug_entry
    b80d9c520898 fhandle: use more consistent rules for decoding file handle from userns

(From OE-Core rev: b380e3336523f2895af7c34ced1178c822648d63)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 11:06:42 +01:00
Michael Opdenacker
84742fc190 poky.conf: remove unnecessary INHERIT += "create-spdx"
Already inherited through meta/conf/distro/defaultsetup.conf

(From meta-yocto rev: db24e48498b2d40131b871f6eafeb7a67da343f0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 00:03:17 +01:00
Antonin Godard
ae290dd402 bitbake: doc: extend classes and include/require documentation
The current documentation is lacking details on the different kinds of
directories for putting classes as well as the order in which BitBake
includes files (classes or include files).

This patch does the following changes:

- Mention the missing classes-recipe and classes-global when applicable.
- Add a Class Types section detailed the three different directories for
  putting classes.
- Move the existing section on locating classes/include files below the
  documentation on the different directives (include/require/inherit).
- Extend the documentation on locating files with include/require and
  inherit to give proper examples, hopefully demystifying this
  mechanism a bit.

[YOCTO #15724]

(Bitbake rev: 7bd36f6c6d33211bb2a6b6fc6d40bdbd83b8b7c3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 00:01:44 +01:00
Peter Kjellerstedt
44029f9fb5 bitbake: tests/parse: Add tests for include, require and include_all
Simple tests for various ways to include and require configuration
files.

(Bitbake rev: bdcb67824172ed5cd76fa0274dc3d27aeb52e77c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 00:01:44 +01:00
Peter Kjellerstedt
6cfa08f301 bitbake: tests/parse: Remove unnecessary calls to file.flush()
There is no reason to call file.flush() as the last call within a file
context manager since ending the context will close the file and thus
flush it.

(Bitbake rev: 90d5ce926d434d60d6df28b7d77b3cbc9b62ce14)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 00:01:44 +01:00
Peter Kjellerstedt
c948feaae4 bitbake: tests/parse: Use with statement to avoid ResourceWarning
(Bitbake rev: 46a5e31713fc526a1807b1617fba8a01c1564641)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-24 00:01:44 +01:00
Mathieu Dubois-Briand
e90bc48bda bitbake: tests/fetch: Update tests after bitbake tag removal
Tags for bitbake 2.8.6 and 2.8.7 have been removed from the git: use
some other ones.

(Bitbake rev: dcf12947954f3184d99fbf9813b3f3f667dacc5f)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-23 09:37:35 +01:00
Vivek Puar
02493e994e linux-firmware: upgrade 20250808 -> 20250917
Add packages ${PN}-qcom-qcs615-{audio, compute} to include DSP firmware
for qcs615 platform, ${PN}-qcom-x1e80100-compute to include CDSP firmware
for x1e80100 platform, and ${PN}-qcom-sm8350-adreno to include the GPU
firmware for SM8350.

Extend Qualcomm QCS8300 RIDE and SA8775P platform to include audio topology
and include linaro license with both the packages.

License-Update: additional files

(From OE-Core rev: 764aea907fe7aeea12cd79f490569993db97fda0)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Osama Abdelkader
fce945da2d go: remove duplicate arch map in sdk test
ARCH_MAP is duplicating an existing map in meta/lib/oe/go.py
use oe.go map_arch instead.

(From OE-Core rev: c2ba36f41777d347fd5ffcd9b6862638e5f35a1b)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Guðni Már Gilbert
b4c1f355ac bluez5: upgrade 5.83 -> 5.84
* Enable aics tests again as the issue with them has been fixed
* Remove threads package config as the option is removed

Changelog:
* Fix issue with AVRCP and handling invalid UTF-8 item name.
* Fix issue with exposing coordinate sets if LE Audio is disabled.
* Fix issue with BAP and not responding to SetConfiguration.
* Add support for BAP unicast endpoint reconfiguration.
* Add support for BASS and encrypted broadcast source.
* Add support for HFP and Call Line Identification.

Full changelog:
https://github.com/bluez/bluez/compare/5.83...5.84

(From OE-Core rev: 967f87d0522cb9c206d1826e669f129c87aefa96)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Bruce Ashfield
893922ba88 linux-yocto-dev: bump to v6.17
Now that 6.17 is in the later -rc's the -dev kernel was complete
enough to be testable.

We cam bump to 6.17 for those wanting a newer kernel against current
master.

(From OE-Core rev: e2087fb63d67a06a023cd1769d4ebd602f9d255d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
thomas.witte@liebherr.com
e88854c2de runqemu: add erofs filesystem types
runqemu does not recognize erofs, erofs-lz4, and erofs-lz4hc as filesystem types. Add them to start from an erofs filesystem without needing the full path.

(From OE-Core rev: 8d5654d21c021964794c84f594748f376c2b39fc)

Signed-off-by: Thomas Witte <thomas.witte@liebherr.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Hongxu Jia
32a2d2801e yocto-space-optimize.inc: move space optimize from recipe webkitgtk
The yocto-space-optimize.inc is used to allow turning off the debug compiler
options for a small set of recipes to reduce build on disk footprint
and package/sstate sizes [1]. Move space optimize from recipe webkitgtk
to it.

Due to commit [2], update comments to remove `Unless DEBUG_BUILD is enabled'

[1] a0483b962d
[2] 9badf68d78

(From OE-Core rev: 007c4aea10e13bd9b2d66d016c25f31c2709cbf6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Deepesh Varatharajan
a2443e25a6 glibc: stable 2.42 branch updates
git log --oneline d2097651cc57834dbfcaa102ddfacae0d86cfb66..e34453cd6a8c592c325756ff3c7ac0afd3975cb4

e34453cd6a (HEAD, origin/release/2.42/master) AArch64: Fix SVE powf routine [BZ #33299]
e87844ec42 i386: Also add GLIBC_ABI_GNU2_TLS version [BZ #33129]
7a8f3c6ee4 x86-64: Add GLIBC_ABI_DT_X86_64_PLT [BZ #33212]
3970785beb x86-64: Add GLIBC_ABI_GNU2_TLS version [BZ #33129]
d0f72b96f2 i386: Add GLIBC_ABI_GNU_TLS version [BZ #33221]
8dbaecbe92 Use TLS initial-exec model for __libc_tsd_CTYPE_* thread variables [BZ #33234]
d7274d718e malloc: Fix checking for small negative values of tcache_key
a96a82c4a5 malloc: Make sure tcache_key is odd enough
c491dabd8a malloc: Fix MAX_TCACHE_SMALL_SIZE
8a726b6304 malloc: Remove redundant NULL check
c5476b7907 hurd: support: Fix running SGID tests
e5754399b5 Revert "tst-freopen4-main.c: Call support_capture_subprocess with chroot"
c090b0cb1c tst-env-setuid: Delete LD_DEBUG_OUTPUT output
41a77b78cf tst-freopen4-main.c: Call support_capture_subprocess with chroot
9ec7a532ff tst-fopen-threaded.c: Delete temporary file
9d5bf9c17d Delete temporary files in support_subprocess
b38f3f60d5 nptl: Fix SYSCALL_CANCEL for return values larger than INT_MAX (BZ 33245)
5e298d2d93 elf: Handle ld.so with LOAD segment gaps in _dl_find_object (bug 31943)
2fadee5301 elf: Extract rtld_setup_phdr function from dl_main
fd18059c0f stdlib: resolve a double lock init issue after fork [BZ #32994]
bc13db7393 inet-fortified: fix namespace violation (bug 33227)
3ec4dd77f6 NEWS: add new section
bdea6c3719 Replace advisories directory with pointer file

Testing Results:
           Before     After   Diff
PASS         5842      5855     +13
XPASS        4         4         0
FAIL         868       859      -9
XFAIL        16        16        0
UNSUPPORTED  396       396       0

Testcases changes

testcase-name                              before           after

elf/check-dt-x86-64-plt(new)                 -               PASS
elf/check-gnu2-tls(new)                      -               PASS
elf/tst-link-map-contiguous-ldso(new)        -               PASS
elf/tst-link-map-contiguous-libc(new)        -               PASS
malloc/tst-malloc_info-malloc-hugetlb1      FAIL             PASS
nptl/tst-thread-affinity-pthread            FAIL             PASS
resolv/tst-resolv-aliases                   FAIL             PASS
stdio-common/tst-printf-format-d-llong      FAIL             PASS
stdio-common/tst-printf-format-sn-ushort    FAIL             PASS
stdio-common/tst-printf-format-vs-char      FAIL             PASS
stdio-common/tst-printf-format-vd-ullong    FAIL             PASS
string/test-strcmp                          FAIL             PASS
string/tst-cmp                              FAIL             PASS

(From OE-Core rev: e4d73b2021535473f1f2970edf53d0105f10ba5a)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Peter Kjellerstedt
6fef50a314 curl: Update to 8.16.0
Release notes:
https://curl.se/changes.html#8_16_0

CVE: CVE-2025-9086
CVE: CVE-2025-10148
(From OE-Core rev: 15e206a61bca24c2948c93b562621ca8668289d1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Peter Kjellerstedt
4127c62538 cmake: Backport a patch to build with curl 8.16.0
Needed to build cmake and nativesdk-cmake (cmake-native is built without
curl support).

(From OE-Core rev: a82aa37cfe037782877b4a1a4c05ac44c184099c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Woerner
fd740c664a patchtest.README: update selftest section
Update the "Running Patchtest Selftest to include a cmdline example of
runing the selftest.

(From OE-Core rev: 5b2153c8467657ffe490c6b10a260b63d93f3296)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Woerner
141a6f905d patchtest.README: update host mode section
Update the "Host Mode" section to provide more detail and exact steps
assuming the user is using a previously- or just-installed patchtest
following the steps outlined in the "Installation" section above in the
same document.

(From OE-Core rev: 29402e3fdf161b348ba6c01d3994bdf96a9e3d95)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Woerner
9cfbed3d27 patchtest.README: expand obtaining patches
Expand the section on how to obtain patches with more methods, expanded
explanations, and detailed steps. The suggested set of methods include:
b4, git-pw, "git format-patch", and MUA programs.

(From OE-Core rev: 9779bbfc047f62adedbdb5592389668220f7080e)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Woerner
ed8544941b patchtest.README: update installation instructions
Update the installation instructions to demonstrate using a Python
virtual environment to install the patchtest module dependencies. Also
provide example #exactsteps. Using a virtual environment is considered a
best practice for Python programs, but also makes the git-pw tool
available in the user's PATH automatically.

(From OE-Core rev: 82d5797c2bc40f0465e57dbc745f3ccccfed1067)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Woerner
cd493181d7 patchtest.README: update name and location or patchtest layer
The patchtest layer's name and location have changed from:
  patchtest
  https://git.yoctoproject.org/patchtest
to:
  meta-patchtest
  https://git.yoctoproject.org/meta-patchtest

Update any references of the old name and repository to the new ones.

(From OE-Core rev: 166e52103d17c9eeec3666967c2580008f992481)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Woerner
45c7810b4f patchtest.README: trivial fixes
Fix two small, trivial issues in the README.

(From OE-Core rev: 645d8a927b679a33d6a81aca2ae0ce1be84ad65d)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Adrian Freihofer
28da16d7d0 meta-skeleton: fix spaces in assignment
There is now a warning for = without spaces. Fix it also in
meta-skeleton.

(From OE-Core rev: bc2f794b8c95d44522051f63421e2bf38747bd73)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Adrian Freihofer
4311968c2c oe-selftest: devtool: add missing imports
Cleanup some indirect imports. This does not solve a real problem, but
it fixes some issues with IDEs that do not properly resolve indirect
imports.

(From OE-Core rev: b1b460c8b1c8047d9fb08287036a0b4f5446b7cb)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Adrian Freihofer
bb5609c65d oe-selftest: cpp-example meson version warning
Newer versions of meson throw a warning if newer features are used
without explicit declaration of the required meson version.

(From OE-Core rev: 92d1c2343f9c7afe4ad627b3059f2e9556084d5d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Trevor Gamblin
bc8676b46b glib-2.0: double test runner timeout in run-ptest
The gnome-desktop-testing-runner has a default timeout of 300s. With
qemuriscv64, some tests in the glib-2.0 test suite (notably
codegen.py.test and gi-compile-repository.py.test) can take a long time
and exceed this timeout limit, resulting in intermittent test failures.
To avoid this problem, double the timeout by passing '-t 600' to
gnome-desktop-testing-runner.

Although not a perfect comparison (I have to use 'taskset --cpu-list 0'
to simulate loading in order to make the tests fail consistently on my
local machine), it's worth noting that the timeout increase does result
in a slightly longer test run. Here is an example of the duration when a
failure happens under 'taskset --cpu-list 0 runqemu nographic snapshot'::

|SUMMARY: total=298; passed=296; skipped=1; failed=1; user=606.7s; system=1388.3s; maxrss=170976
|FAIL: glib/codegen.py.test (Child process killed by signal 9)
|
|ERROR: Exit status is 2
|DURATION: 1368
|END: /usr/lib/glib-2.0/ptest
|2025-09-18T19:04
|STOP: ptest-runner
|TOTAL: 1 FAIL: 1

and a pass:

|SUMMARY: total=298; passed=297; skipped=1; failed=0; user=682.2s; system=1295.0s; maxrss=170476
|+ userdel glib2-test
|DURATION: 1402
|END: /usr/lib/glib-2.0/ptest
|2025-09-18T17:23
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

[YOCTO #15891]

(From OE-Core rev: f634098ed6c5674d81028a7ea8e18a7a93a77fab)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Peter Kjellerstedt
beb6ec5d59 linux-firmware: Package ${PN}-wl1251 before ${PN}-wl12xx
This effectively reverts commit bfe67c7775fb4a9177c7ca037ac08e93155b5808
and insteads solves it by making sure the ${PN}-wl1251 package is
packaged before the ${PN}-wl12xx package. This assures ${PN}-wl1251 gets
the files it wants.

(From OE-Core rev: 757d53f086a4458bc336b1db92c0ad9a5ae6ed70)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Quentin Schulz
6cb811ba07 mesa: upgrade 25.2.2 -> 25.2.3
Changelog and sha256sum: https://docs.mesa3d.org/relnotes/25.2.3.html

0001-meson-fix-libcl-assert-reproducibility.patch was merged in 25.2.3
(see commit 3445cb5577058262a2648cff6fdcdbd289ce1147) so can be removed.

(From OE-Core rev: c5662684f38912dcc470592c4f00a13775d60871)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Tudor Ambarus
843454bcdc kernel.bbclass: add lz4-native dependency for Image.lz4
The pixel6 kernel build fails with "lz4: command not found"
when KERNEL_IMAGETYPE is set to `Image.lz4`.

Upstream commit 0c7dc5bae1 ("bitbake.conf: Drop lz4 from HOSTTOOLS")
dropped lz4 from the global `HOSTTOOLS` variable. This meant that
the lz4 binary was no longer automatically provided to build tasks,
causing the compilation to fail.

Add a conditional dependency on `lz4-native` directly to
`kernel.bbclass`. It ties the dependency directly to the image type
that requires it, making the build more robust.

Suggested-by: André Draszik <andre.draszik@linaro.org>
(From OE-Core rev: 42b85e1532d5448dc88dcb0d068e746f0220ee84)

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Khem Raj
37058325a9 clang: Fix nativesdk build after recipe splits
Splitting llvm, tblgen into their own recipes means we
have to ensure nativesdk clang build can find these tools
in native sysroot, which is would previously build and use
on its own.

(From OE-Core rev: d5fa7bc2dfa7f618a742c76d20fba4437f2cdecf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Bruce Ashfield
f22d52f97e linux-yocto/6.16: defconfig: fix configuration audit warning
Integrating the following commit(s) to linux-yocto/6.16:

1/1 [
    Author: Trevor Woerner
    Email: twoerner@gmail.com
    Subject: defconfig: cleanup orphaned CONFIG_SCHED_DEBUG
    Date: Tue, 16 Sep 2025 16:33:24 +0100

    In commit b52173065e0a ("sched/debug: Remove CONFIG_SCHED_DEBUG") this
    Kconfig option was removed since CONFIG_SCHED_DEBUG was made unconditional
    by patches preceding it.

    Signed-off-by: Trevor Woerner <twoerner@gmail.com>
    Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 05c34570cfd43e38fcc70bba0a46dddb7ecb4e16)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-22 22:09:48 +01:00
Mikko Rapeli
3710050655 oeqa/runtime/parselogs-ignores-genericarm64.txt: ignore more KV260 warnings
AMD KV260 shows more non-fatal error messages with sato image.
Power management, pin control and X11 errors can be ignored in
testing.

https://ledge.validation.linaro.org/scheduler/job/118932

(From meta-yocto rev: 04a92a5f7716e465eb04287417c811284847e6b8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:20:28 +01:00
Ross Burton
51bfeb1f53 expat: upgrade to 2.7.2
Primarily to fix CVE-2025-59375 (Disallow use of disproportional amounts
of dynamic memory from within an Expat parser) but the full list of
changes are available:

https://github.com/libexpat/libexpat/blob/R_2_7_2/expat/Changes

(From OE-Core rev: fbe5f76ba6af0983cd90a05d4077e453e2ebb475)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
01c610a439 util-linux: remove 'which' from -ptest RDEPENDS
The 'kill' test case which to find a kill binary (not built-in). The
which implementation in busybox is perfectly sufficient for this purpose.

(From OE-Core rev: b84d2d80df91b7789570a389c35a78f922e37d02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Chris Laplante
5c4a0dbcac devtool: __init__: simplify replace_from_file
Mostly just remove some useless helper functions

(From OE-Core rev: b27b1083f59cf0a268e9b141568119f257002d13)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Chris Laplante
bde1f02b3f devtool: __init__: small cleanups
+ Remove unused exec_fakeroot method, which wouldn't
  work anyway since it doesn't pass kwargs correctly.

+ Fix a None comparison

(From OE-Core rev: bff3a3d9f8fa695fa05d91419d995de4c8009d9b)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Chris Laplante
e96eb61680 devtool: __init__: cleanup imports, including a missing 'import errno'
(From OE-Core rev: 9be824a14ea61ea97d717d25058231f9f09f07a0)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Bruce Ashfield
5301bbaf1c linux-yocto/6.12: update CVE exclusions (6.12.47)
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-10421 - 0 updated CVEs:
        Date: Mon, 15 Sep 2025 02:20:02 +0000

    ]

(From OE-Core rev: 46d3b3c35dd493016a752e07af854a92e38f52ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Bruce Ashfield
3f7ce68d4d linux-yocto/6.12: update to v6.12.47
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

no ids found, dumping:
    f6cf124428f51 Linux 6.12.47
    766424cef1e6b x86/vmscape: Add old Intel CPUs to affected list
    8d675611b96a6 x86/vmscape: Warn when STIBP is disabled with SMT
    28504e31029b1 x86/bugs: Move cpu_bugs_smt_update() down
    459274c77b37a x86/vmscape: Enable the mitigation
    d7ddc93392e4a x86/vmscape: Add conditional IBPB mitigation
    7c62c442b6eb9 x86/vmscape: Enumerate VMSCAPE bug
    4c6fbb4dba3fc Documentation/hw-vuln: Add VMSCAPE documentation
    d497f0738df95 Linux 6.12.46
    cf3c7fd1c466b dmaengine: mediatek: Fix a flag reuse error in mtk_cqdma_tx_status()
    fd0333fe3cb17 md/raid1: fix data lost for writemostly rdev
    8352fdfc04db3 riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id
    1a1e84c284169 riscv, bpf: use lw when reading int cpu in BPF_MOV64_PERCPU_REG
    fecd903917861 riscv: use lw when reading int cpu in asm_per_cpu
    8d164de928aa3 riscv: use lw when reading int cpu in new_vmalloc_check
    489be48ea1059 riscv: Only allow LTO with CMODEL_MEDANY
    fce8d4599b8c7 ACPI: RISC-V: Fix FFH_CPPC_CSR error handling
    514600ed8d85b md: prevent incorrect update of resync/recovery offset
    1affb649e221d tools: gpio: remove the include directory on make clean
    e9998d65bca2c drm/amd/amdgpu: Fix missing error return on kzalloc failure
    203719d82999b perf bpf-utils: Harden get_bpf_prog_info_linear
    150101bbe24ab perf bpf-utils: Constify bpil_array_desc
    25eac390c4af3 perf bpf-event: Fix use-after-free in synthesis
    beec8f807ecc2 drm/bridge: ti-sn65dsi86: fix REFCLK setting
    d0f379279cd84 spi: spi-fsl-lpspi: Clear status register after disabling the module
    15d3ab4858797 spi: spi-fsl-lpspi: Reset FIFO and disable module on transfer abort
    8d981d2230e90 spi: spi-fsl-lpspi: Set correct chip-select polarity bit
    ed635ec0b5458 spi: spi-fsl-lpspi: Fix transmissions when using CONT
    a5760d3fb6e35 scsi: sr: Reinstate rotational media flag
    0073c41d4b99f block: add a queue_limits_commit_update_frozen helper
    2ec315207ccb8 hwmon: mlxreg-fan: Prevent fans from getting stuck at 0 RPM
    212e17721839d platform/x86/intel: power-domains: Use topology_logical_package_id() for package ID
    ee1df9ba388bd platform/x86: asus-wmi: Remove extra keys from ignore_key_wlan quirk
    289b58f8ff319 pcmcia: Add error handling for add_interval() in do_validate_mem()
    278842aca27e4 pcmcia: omap: Add missing check for platform_get_resource
    2a7cf13dd6740 Revert "drm/amdgpu: Avoid extra evict-restore process."
    c5e6e56f2ce37 ALSA: hda/realtek: Fix headset mic for TongFang X6[AF]R5xxY
    ebdf11cf294aa ALSA: hda/hdmi: Add pin fix for another HP EliteDesk 800 G4 model
    17cab7b45f4db rust: support Rust >= 1.91.0 target spec
    585a593ad5e8b dmaengine: mediatek: Fix a possible deadlock error in mtk_cqdma_tx_status()
    523aefb90b593 thermal/drivers/mediatek/lvts: Disable low offset IRQ for minimum threshold
    1ee0e14814b88 mm: fix accounting of memmap pages
    a7f7d4223ff05 kunit: kasan_test: disable fortify string checker on kasan_strings() test
    607b2bf5708fe nouveau: fix disabling the nonstall irq due to storm code
    dda6ec365ab04 mm/slub: avoid accessing metadata when pointer is invalid in object_err()
    9cd3206f0126d mm, slab: cleanup slab_bug() parameters
    d06b739f41dcc mm: slub: call WARN() when detecting a slab corruption
    20a54a8db4dd8 mm: slub: Print the broken data before restoring them
    60196f92bbc79 md/md-bitmap: fix wrong bitmap_limit for clustermd when write sb
    59599bce44af3 net: fix NULL pointer dereference in l3mdev_l3_rcv
    fa4abd439f275 wifi: ath11k: update channel list in worker when wait flag is set
    26618c039b78a wifi: ath11k: update channel list in reg notifier instead reg worker
    eddca44ddf810 ext4: avoid journaling sb update on error if journal is destroying
    c868e9306ea6f ext4: define ext4_journal_destroy wrapper
    2c46c14fd386a md/raid1,raid10: strip REQ_NOWAIT from member bios
    ed6aac13dd9d6 md/raid1,raid10: don't handle IO error for REQ_RAHEAD and REQ_NOWAIT
    73506e581c0b1 md/raid1,raid10: don't ignore IO flags
    3fbe3f4c57fda net: dsa: b53: do not enable EEE on bcm63xx
    b765b9ee4e5a8 net: dsa: b53/bcm_sf2: implement .support_eee() method
    cda6c5c095e19 net: dsa: provide implementation of .support_eee()
    f7976772b16a7 net: dsa: add hook to determine whether EEE is supported
    6482c3dccbfb8 fs/fhandle.c: fix a race in call of has_locked_children()
    b9290581d2ecf microchip: lan865x: Fix LAN8651 autoloading
    fe03df84e19ef microchip: lan865x: Fix module autoloading
    bb8fd694ba6b4 net: pcs: rzn1-miic: Correct MODCTRL register offset
    b370f7b1f470a e1000e: fix heap overflow in e1000_set_eeprom
    1f797f062b5cf cifs: prevent NULL pointer dereference in UTF16 conversion
    20080709457bc batman-adv: fix OOB read/write in network-coding decode
    367cb5ffd8a8a scsi: lpfc: Fix buffer free/clear order in deferred receive path
    cc5911dc2f989 platform/x86/amd/pmc: Add TUXEDO IB Pro Gen10 AMD to spurious 8042 quirks list
    274668efe1a26 drm/amd/display: Clear the CUR_ENABLE register on DCN314 w/out DPP PG
    608a015c65cc9 drm/amdgpu: drop hw access in non-DC audio fini
    3573291c7901a net: ethernet: oa_tc6: Handle failure of spi_setup
    089fd41902ee6 wifi: mt76: mt7925: fix the wrong bss cleanup for SAP
    eefa2ad9009b2 wifi: mt76: mt7996: Initialize hdr before passing to skb_put_data()
    a001c2f6a40c1 wifi: mt76: mt7925u: use connac3 tx aggr check in tx complete
    06616410a3e5e wifi: mwifiex: Initialize the chan_stats array to zero
    2fae927c25bbf soc: qcom: mdt_loader: Deal with zero e_shentsize
    c2daa6eb47407 of_numa: fix uninitialized memory nodes causing kernel panic
    3eebe856d09b6 proc: fix missing pde_set_flags() for net proc files
    f4a917e6cd6c7 ocfs2: prevent release journal inode after journal shutdown
    28ef61701e298 kasan: fix GCC mem-intrinsic prefix with sw tags
    b3ec50cc5eb5c sched: Fix sched_numa_find_nth_cpu() if mask offline
    243b705a90ed8 mm: slub: avoid wake up kswapd in set_track_prepare
    cd0236550cf80 mm: fix possible deadlock in kmemleak
    4f7537772011f mm: move page table sync declarations to linux/pgtable.h
    b051f70701896 mm/userfaultfd: fix kmap_local LIFO ordering for CONFIG_HIGHPTE
    b7f4051dd3388 x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings()
    094ba14a471cc io_uring/msg_ring: ensure io_kiocb freeing is deferred for RCU
    fafa7450075f4 pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
    650c14abe3031 arm64: ftrace: fix unreachable PLT for ftrace_caller in init_module with CONFIG_DYNAMIC_FTRACE
    d2b18756dbbba ACPI/IORT: Fix memory leak in iort_rmr_alloc_sids()
    54c49eca38dbd accel/ivpu: Prevent recovery work from being queued during device removal
    47c72af327270 ALSA: usb-audio: Add mute TLV for playback volumes on some devices
    594a8a74e02b1 phy: mscc: Stop taking ts_lock for tx_queue and use its own lock
    3ed0d6a7b3220 selftest: net: Fix weird setsockopt() in bind_bhash.c.
    631fc8ab5beb9 ppp: fix memory leak in pad_compress_skb
    d0ecda6fdd840 net: xilinx: axienet: Add error handling for RX metadata pointer retrieval
    4a5633b22fc72 net: atm: fix memory leak in atm_register_sysfs when device_register fail
    89064cf534bea ax25: properly unshare skbs in ax25_kiss_rcv()
    5ad5be90414dc mctp: return -ENOPROTOOPT for unknown getsockopt options
    b3bab397a377e net/smc: Remove validation of reserved bits in CLC Decline message
    8b3e9f5567433 ipv4: Fix NULL vs error pointer check in inet_blackhole_dev_init()
    ae9459f2acb35 net: thunder_bgx: decrement cleanup index before use
    2a12c6d58de0a net: thunder_bgx: add a missing of_node_put
    31229145e6ba5 wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()
    92bedee7168d4 wifi: libertas: cap SSID len in lbs_associate()
    cedbbba8a8e82 wifi: cw1200: cap SSID length in cw1200_do_join()
    e211e3f4199ac vxlan: Fix NPD in {arp,neigh}_reduce() when using nexthop objects
    317122c53d5f2 vxlan: Rename FDB Tx lookup function
    02bebe7d0483d vxlan: Add RCU read-side critical sections in the Tx path
    9238419f6de35 vxlan: Avoid unnecessary updates to FDB 'used' time
    300b4e8ff890a vxlan: Refresh FDB 'updated' time upon 'NTF_USE'
    c1ce8ee5d7c6a net: vxlan: rename SKB_DROP_REASON_VXLAN_NO_REMOTE
    6fa0469be9cf5 net: vxlan: use kfree_skb_reason() in vxlan_mdb_xmit()
    da1178c6e9bb4 net: vxlan: use kfree_skb_reason() in vxlan_xmit()
    e89198454fb62 net: vxlan: make vxlan_set_mac() return drop reasons
    4ff4f3104da65 vxlan: Fix NPD when refreshing an FDB entry with a nexthop object
    5cf22915f2c37 net: vxlan: make vxlan_snoop() return drop reasons
    b186fb3bb3cd0 net: vxlan: add skb drop reasons to vxlan_rcv()
    74872113f895d net: tunnel: add pskb_inet_may_pull_reason() helper
    14f0d3c704b92 net: skb: add pskb_network_may_pull_reason() helper
    f8b4b6f7c2bbf net: ethernet: mtk_eth_soc: fix tx vlan tag for llc packets
    46d33c878fc0b net/tcp: Fix socket memory leak in TCP-AO failure handling for IPv6
    609a8ffff5a0d wifi: ath11k: fix group data packet drops during rekey
    682105ab63826 ixgbe: fix incorrect map used in eee linkmode
    66e7cdbda74ee i40e: Fix potential invalid access when MAC list is empty
    70d3dad7d5ad0 i40e: remove read access to debugfs files
    b862a132b43ec idpf: set mac type when adding and removing MAC filters
    2cde98a02da95 ice: fix NULL access of tx->in_use in ice_ll_ts_intr
    18cdfd7f699b9 net: mctp: mctp_fraq_queue should take ownership of passed skb
    eb929910bd4b4 net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync()
    0925c3c0c6d05 macsec: read MACSEC_SA_ATTR_PN with nla_get_uint
    7db8aa3fc4ed0 net: macb: Fix tx_ptr_lock locking
    f3d761e527c55 icmp: fix icmp_ndo_send address translation for reply direction
    dd70cd6a44f5c bnxt_en: fix incorrect page count in RX aggr ring log
    29b58eedbc5ac selftests: drv-net: csum: fix interface name for remote host
    349f7dbe3b5ab mISDN: Fix memory leak in dsp_hwec_enable()
    63480696b872a xirc2ps_cs: fix register access when enabling FullDuplex
    a22ec2ee824be net_sched: gen_estimator: fix est_timer() vs CONFIG_PREEMPT_RT=y
    e7a903c429e5c netfilter: nft_flowtable.sh: re-run with random mtu sizes
    306b0991413b4 Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()
    1503756fffe76 Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
    c2e32ac3f107e wifi: iwlwifi: uefi: check DSM item validity
    7614b00f16e53 netfilter: conntrack: helper: Replace -EEXIST by -EBUSY
    c47ca77fee907 netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm
    e4d5a5fc61fdc wifi: mt76: fix linked list corruption
    2aef3667e6b0f wifi: mt76: free pending offchannel tx frames on wcid cleanup
    1fb26fd3f6015 wifi: mt76: prevent non-offchannel mgmt tx during scan/roc
    d9f2fb6a2ac83 wifi: mt76: mt7925: fix locking in mt7925_change_vif_links()
    3e789f8475f6c wifi: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work
    5b7ae04969f82 wifi: cfg80211: fix use-after-free in cmp_bss()
    863443b02837d mmc: sdhci-of-arasan: Ensure CD logic stabilization before power-up
    b32990fb5738f mmc: sdhci-of-arasan: Support for emmc hardware reset
    1ec1b0d5e2758 LoongArch: vDSO: Remove -nostdlib complier flag
    0a97a654a26a7 LoongArch: vDSO: Remove --hash-style=sysv
    ed6a4c0ca7c53 net: usb: qmi_wwan: add Telit Cinterion FN990A w/audio composition
    9c111e6e31e88 net: usb: qmi_wwan: fix Telit Cinterion FE990A name
    67ffb6a337b1d net: usb: qmi_wwan: fix Telit Cinterion FN990A name
    d3b504146c111 HID: core: Harden s32ton() against conversion to 0 bits
    d6cfa97a4d6f3 HID: stop exporting hid_snto32()
    7a7ba33110698 HID: simplify snto32()
    a905edfec7447 arm64: dts: imx8mp: Fix missing microSD slot vqmmc on Data Modul i.MX8M Plus eDM SBC
    12fa00b401c0e arm64: dts: imx8mp: Fix missing microSD slot vqmmc on DH electronics i.MX8M Plus DHCOM
    b9e9092995aae arm64: dts: imx8mp-tqma8mpql: fix LDO5 power off
    606ae71e158d3 tee: optee: ffa: fix a typo of "optee_ffa_api_is_compatible"
    02a90ca443676 arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3399-pinebook-pro
    3f3d54180accf tee: fix memory leak in tee_dyn_shm_alloc_helper
    963fca19fe34c tee: fix NULL pointer dereference in tee_shm_put
    e63052921f1b2 fs: writeback: fix use-after-free in __mark_inode_dirty()
    6839108b660b4 btrfs: zoned: skip ZONE FINISH of conventional zones
    70a6e89b338bb Bluetooth: hci_sync: Avoid adding default advertising on startup
    e04e08c2c3878 cpupower: Fix a bug where the -t option of the set subcommand was not working.
    5817d249d3cc0 drm/amd/display: Don't warn when missing DCE encoder caps
    d619c55d7455e cdc_ncm: Flag Intel OEM version of Fibocom L850-GL as WWAN
    8e504a5ad6d98 LoongArch: Save LBT before FPU in setup_sigcontext()
    8446ff5a8377c btrfs: avoid load/store tearing races when checking if an inode was logged
    3d9c5e1512422 btrfs: fix race between setting last_dir_index_offset and inode logging
    37c491006e539 btrfs: fix race between logging inode and checking if it was logged before
    41688d1fc5d16 bpf: Fix oob access in cgroup local storage
    f1f241ee13403 bpf: Move cgroup iterator helpers to bpf.h
    f13441c171d56 bpf: Move bpf map owner out of common struct
    963e79f6bdac5 bpf: Add cookie object to bpf maps
    b0c51e95f54e5 Linux 6.12.45
    9a7141d4808dc thermal/drivers/mediatek/lvts_thermal: Add mt7988 lvts commands
    739229eb4d5cd thermal/drivers/mediatek/lvts_thermal: Add lvts commands and their sizes to driver data
    d1f4b09d9bb99 thermal/drivers/mediatek/lvts_thermal: Change lvts commands array to static const
    79f6a6460ef30 Revert "drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS"
    7259d9d6f0ae7 PCI: dwc: Ensure that dw_pcie_wait_for_link() waits 100 ms after link up
    72fdedb69cad9 PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MS
    1d9c73561c581 net: rose: fix a typo in rose_clear_routes()
    56f376507b1a0 drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode
    31ce7c089b50c drm/mediatek: Fix device/node reference count leaks in mtk_drm_get_all_drm_priv
    c5e42567724ee drm/nouveau: fix error path in nvkm_gsp_fwsec_v2
    2de53596eeb20 drm/nouveau/disp: Always accept linear modifier
    c8277d229c784 drm/xe/vm: Clear the scratch_pt pointer on error
    dcdf36f1b6788 xfs: do not propagate ENODATA disk errors into xattr code
    806fdb4422128 smb3 client: fix return code mapping of remap_file_range
    6c1f8cef93dbd net: usb: qmi_wwan: add Telit Cinterion LE910C4-WWX new compositions
    4735f5991f514 fs/smb: Fix inconsistent refcnt update
    23d7325151d43 dma/pool: Ensure DMA_DIRECT_REMAP allocations are decrypted
    c50747a963c49 blk-zoned: Fix a lockdep complaint about recursive locking
    07b367f7ebb14 Revert "drm/amdgpu: fix incorrect vm flags to map bo"
    98520a9a3d69a HID: hid-ntrig: fix unable to handle page fault in ntrig_report_version()
    82e721413565d HID: wacom: Add a new Art Pen 2
    64eb2737fa351 HID: logitech: Add ids for G PRO 2 LIGHTSPEED
    14dfac42f5334 HID: quirks: add support for Legion Go dual dinput modes
    3055309821dd3 HID: multitouch: fix slab out-of-bounds access in mt_report_fixup()
    c0d77e3441a92 HID: asus: fix UAF via HID_CLAIMED_INPUT validation
    44bce62994fa2 x86/cpu/topology: Use initial APIC ID from XTOPOLOGY leaf on AMD/HYGON
    43be33b8a2f2b x86/microcode/AMD: Handle the case of no BIOS microcode
    c76bf8359188a RISC-V: KVM: fix stack overrun when loading vlenb
    67a05679621b7 KVM: x86: use array_index_nospec with indices that come from guest
    7b6b76e3f0790 net: macb: Disable clocks once
    c2925cd620707 efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare
    7aab65c62a8a8 fbnic: Move phylink resume out of service_task and into open/close
    d2d08fc3577f1 l2tp: do not use sock_hold() in pppol2tp_session_get_sock()
    1bbc0c02aea1f sctp: initialize more fields in sctp_v6_from_sk()
    d7563b456ed44 net: rose: include node references in rose_neigh refcount
    0085b250fcc79 net: rose: convert 'use' field to refcount_t
    8e88504a28743 net: rose: split remove and free operations in rose_remove_neigh()
    e98884092a53c net: hv_netvsc: fix loss of early receive events from host during channel open.
    22b6f45719672 hv_netvsc: Link queues to NAPIs
    6037d6f243c18 net: stmmac: Set CIC bit only for TX queues with COE
    62c8b75da2d70 net: stmmac: xgmac: Correct supported speed modes
    160a7e072a0ce net: stmmac: xgmac: Do not enable RX FIFO Overflow interrupts
    fe67f30b41f13 net/mlx5e: Set local Xoff after FW update
    628df4d5d8e09 net/mlx5e: Update and set Xon/Xoff upon port speed set
    1f5f18acd8dd8 net/mlx5e: Update and set Xon/Xoff upon MTU set
    bde946b2a06d3 net/mlx5: Nack sync reset when SFs are present
    0c87dba9ccd38 net/mlx5: Fix lockdep assertion on sync reset unload event
    00a098e960454 net/mlx5: Reload auxiliary drivers on fw_activate
    17209bada19e9 bnxt_en: Fix stats context reservation logic
    35e129b060444 bnxt_en: Adjust TX rings if reservation is less than requested
    d00e98977ef51 bnxt_en: Fix memory corruption when FW resources change during ifdown
    3d6a89fecf41d phy: mscc: Fix when PTP clock is register and unregister
    2c697970da492 drm/xe: Don't trigger rebind on initial dma-buf validation
    83f94a04074e2 drm/xe/xe_sync: avoid race during ufence signaling
    77ff27ff0e452 efi: stmm: Fix incorrect buffer allocation method
    ee8c2f7d8f653 net: dlink: fix multicast stats being counted incorrectly
    c1cd3cede22e2 dt-bindings: display/msm: qcom,mdp5: drop lut clock
    32c8031015d2f ice: fix incorrect counter for buffer allocation failures
    e8b97c7cda142 ice: use fixed adapter index for E825C embedded devices
    5ff0860d1f618 ice: don't leave device non-functional if Tx scheduler config fails
    43f72994e4dda drm/nouveau: remove unused memory target test
    0d70a166dec65 drm/nouveau: remove unused increment in gm200_flcn_pio_imem_wr
    33f9e6dc66b32 atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control().
    2651657f57e77 Bluetooth: hci_sync: fix set_local_name race condition
    7c3df1b8a3a9f Bluetooth: hci_event: Detect if HCI_EV_NUM_COMP_PKTS is unbalanced
    d1f4364d84059 Bluetooth: hci_event: Mark connection as closed during suspend disconnect
    aacecaee1b454 Bluetooth: hci_event: Treat UNKNOWN_CONN_ID on disconnect as success
    ff0d3bad32108 net: macb: fix unregister_netdev call order in macb_remove()
    8ac194ad5254b HID: input: report battery status changes immediately
    e2cf56faa25f1 HID: input: rename hidinput_set_battery_charge_status()
    eb7eafbfd1a27 powerpc/kvm: Fix ifdef to remove build warning
    7d5cc22efa44e drm/mediatek: Add error handling for old state CRTC in atomic_disable
    469a026cac4a2 drm/msm: update the high bitfield of certain DSI registers
    bc0aff1e703fd drm/msm/kms: move snapshot init earlier in KMS init
    46efab01648a0 of: reserved_mem: Restructure call site for dma_contiguous_early_fixup()
    7536b29903344 drm/msm: Defer fd_install in SUBMIT ioctl
    81ff76c1b0882 net: ipv4: fix regression in local-broadcast routes
    cbc00a76a5ff9 vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put()
    f5da8116cd52e ACPI: EC: Add device to acpi_ec_no_wakeup[] qurik list
    cc2ec79a6cb14 erofs: fix atomic context detection when !CONFIG_DEBUG_LOCK_ALLOC
    cd79a25f451e9 ASoC: codecs: tx-macro: correct tx_macro_component_drv name
    c9991af5e0992 smb: client: fix race with concurrent opens in rename(2)
    c2c9d0ae69714 smb: client: fix race with concurrent opens in unlink(2)
    ba884ba29cc94 scsi: core: sysfs: Correct sysfs attributes access rights
    7bab8fb51d3b1 vhost: Fix ioctl # for VHOST_[GS]ET_FORK_FROM_OWNER
    2e6e208825bf9 perf symbol-minimal: Fix ehdr reading in filename__read_build_id
    ced94e137e6cd ftrace: Fix potential warning in trace_printk_seq during ftrace_dump
    0d3471ab7186c of: dynamic: Fix use after free in of_changeset_add_prop_helper()
    76c872066d75f mips: lantiq: xway: sysctrl: rename the etop node
    41534a4790620 mips: dts: lantiq: danube: add missing burst length property
    f945cb27fea12 pinctrl: STMFX: add missing HAS_IOMEM dependency
    9362d520b2b44 of: dynamic: Fix memleak when of_pci_add_properties() failed
    2a2deb9f8df70 trace/fgraph: Fix the warning caused by missing unregister notifier
    f471b3e24d1ec rtla: Check pkg-config install
    9903b4afd70f3 tools/latency-collector: Check pkg-config install

(From OE-Core rev: 0d67510cdd9b55af82797eb6f624513868fd7dd5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Bruce Ashfield
16c676e221 linux-yocto/6.16: update CVE exclusions (6.16.7)
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-10127 - 0 updated CVEs:
        Date: Thu, 11 Sep 2025 19:51:09 +0000

    ]

(From OE-Core rev: 2e7eeaf928717eeba56443fad3936faf85cf8dd2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Bruce Ashfield
7003fa4fbb linux-yocto/6.16: update to v6.16.7
Updating linux-yocto/6.16 to the latest korg -stable release that comprises
the following commits:

no ids found, dumping:
    131e2001572ba Linux 6.16.7
    a6b94f1030917 x86/vmscape: Add old Intel CPUs to affected list
    2bb658abee57f x86/vmscape: Warn when STIBP is disabled with SMT
    923ab9f5743de x86/bugs: Move cpu_bugs_smt_update() down
    9c23a90648e83 x86/vmscape: Enable the mitigation
    510603f504796 x86/vmscape: Add conditional IBPB mitigation
    d83e6111337f3 x86/vmscape: Enumerate VMSCAPE bug
    781b69117c839 Documentation/hw-vuln: Add VMSCAPE documentation
    1037d3a33ba60 Linux 6.16.6
    b5b8685e13885 Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"
    6976744651f8c riscv: Fix sparse warning about different address spaces
    8b94eb38bf7fc riscv: Fix sparse warning in __get_user_error()
    0e2243cc719f3 riscv: kexec: Initialize kexec_buf struct
    11d86a69dd7f6 riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id
    fc11ff5cad08e riscv, bpf: use lw when reading int cpu in BPF_MOV64_PERCPU_REG
    b5176a7d4593b riscv: use lw when reading int cpu in asm_per_cpu
    b363a9e06b791 riscv: use lw when reading int cpu in new_vmalloc_check
    f4bf4771c33d7 riscv: uaccess: fix __put_user_nocheck for unaligned accesses
    b884f96b99e9c riscv: Only allow LTO with CMODEL_MEDANY
    25acf99edbb91 ACPI: RISC-V: Fix FFH_CPPC_CSR error handling
    4d9378e846a09 drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1
    91b2601bd2b25 md: prevent incorrect update of resync/recovery offset
    fbd879fc77ebb md/raid1: fix data lost for writemostly rdev
    927f06d82bc0a tools: gpio: remove the include directory on make clean
    17c1e414bdf8a drm/amd/amdgpu: Fix missing error return on kzalloc failure
    e4de48e66af17 spi: spi-qpic-snand: unregister ECC engine on probe error and device remove
    94ed86f35712c perf bpf-utils: Harden get_bpf_prog_info_linear
    355746d9c4c03 perf bpf-utils: Constify bpil_array_desc
    f3bf21de0b192 perf bpf-event: Fix use-after-free in synthesis
    9167bb686dfeb drm/bridge: ti-sn65dsi86: fix REFCLK setting
    0b2cca4ace91a hwmon: (ina238) Correctly clamp power limits
    6bc941d245246 hwmon: (ina238) Correctly clamp shunt voltage limit
    765c24377ba87 spi: spi-fsl-lpspi: Clear status register after disabling the module
    754f6170d9467 spi: spi-fsl-lpspi: Reset FIFO and disable module on transfer abort
    2255b03e254c6 spi: spi-fsl-lpspi: Set correct chip-select polarity bit
    6768188268067 spi: spi-fsl-lpspi: Fix transmissions when using CONT
    28cd1a1938d2e scsi: sr: Reinstate rotational media flag
    db936356012c7 hwmon: (ina238) Correctly clamp temperature
    71895f8bc84a2 hwmon: mlxreg-fan: Prevent fans from getting stuck at 0 RPM
    74286dde3dff5 platform/x86/intel: power-domains: Use topology_logical_package_id() for package ID
    cbb4ff4faa02e platform/x86: acer-wmi: Stop using ACPI bitmap for platform profile choices
    e7a70326fb26b platform/x86: asus-wmi: Fix racy registrations
    796eac3ab5e49 platform/x86: asus-wmi: Remove extra keys from ignore_key_wlan quirk
    369bf6e241506 pcmcia: Add error handling for add_interval() in do_validate_mem()
    afc07186508fd pcmcia: omap: Add missing check for platform_get_resource
    bafcd9a0904c8 ALSA: hda: tas2781: reorder tas2563 calibration variables
    5601628904a4e ALSA: hda: tas2781: fix tas2563 EFI data endianness
    1dfa6e6660521 ALSA: hda/realtek: Fix headset mic for TongFang X6[AF]R5xxY
    cfe842782fa5e ALSA: hda/hdmi: Add pin fix for another HP EliteDesk 800 G4 model
    d4797bdb25ada rust: support Rust >= 1.91.0 target spec
    0fe5997644db7 drm/dp: Change AUX DPCD probe address from LANE0_1_STATUS to TRAINING_PATTERN_SET
    a0d0606bfdc03 microchip: lan865x: Fix LAN8651 autoloading
    1671a3ba1b20e microchip: lan865x: Fix module autoloading
    d9e6c6b87b3b3 net: pcs: rzn1-miic: Correct MODCTRL register offset
    686b70cf18c7f net: dsa: mv88e6xxx: Fix fwnode reference leaks in mv88e6xxx_port_setup_leds
    0aec321128348 e1000e: fix heap overflow in e1000_set_eeprom
    3c26a8d30ed6b cifs: prevent NULL pointer dereference in UTF16 conversion
    a67c6397fcb7e batman-adv: fix OOB read/write in network-coding decode
    9735a9dcc3074 audit: fix out-of-bounds read in audit_compare_dname_path()
    576b3139e6a06 nouveau: Membar before between semaphore writes and the interrupt
    fc988f315be1a nouveau: fix disabling the nonstall irq due to storm code
    897f64b01c124 scsi: lpfc: Fix buffer free/clear order in deferred receive path
    0dd4a4cc9afdd platform/x86/amd/pmc: Add TUXEDO IB Pro Gen10 AMD to spurious 8042 quirks list
    dc2631d967657 drm/amdgpu/sdma: bump firmware version checks for user queue support
    6c6eaa2686d05 drm/amd/display: Clear the CUR_ENABLE register on DCN314 w/out DPP PG
    7d689cd99000e drm/amdgpu/mes11: make MES_MISC_OP_CHANGE_CONFIG failure non-fatal
    f4dbf2378a338 drm/amdgpu: drop hw access in non-DC audio fini
    658e7c743b359 drm/xe: Fix incorrect migration of backed-up object to VRAM
    ac8a13f35d5b8 spi: microchip-core-qspi: stop checking viability of op->max_freq in supports_op callback
    18dc52894e581 net: ethernet: oa_tc6: Handle failure of spi_setup
    e3d63ba3c8939 wifi: mt76: mt7925: skip EHT MLD TLV on non-MLD and pass conn_state for sta_cmd
    c7543945218b2 wifi: mt76: mt7925: fix the wrong bss cleanup for SAP
    f49502797dda5 wifi: mt76: mt7996: Initialize hdr before passing to skb_put_data()
    c6dbd5b27bee7 wifi: mt76: mt7925u: use connac3 tx aggr check in tx complete
    5285b7009dc1e wifi: mwifiex: Initialize the chan_stats array to zero
    2f2a09eb89716 wifi: mac80211: do not permit 40 MHz EHT operation on 5/6 GHz
    6167d72fe59ab soc: qcom: mdt_loader: Deal with zero e_shentsize
    f3286ad8eeae1 of_numa: fix uninitialized memory nodes causing kernel panic
    c7468458f6222 proc: fix missing pde_set_flags() for net proc files
    85e66331b6060 ocfs2: prevent release journal inode after journal shutdown
    2616a517f9e2f kunit: kasan_test: disable fortify string checker on kasan_strings() test
    26fb3a4b5dfe2 kasan: fix GCC mem-intrinsic prefix with sw tags
    b921c288cd8ab sched: Fix sched_numa_find_nth_cpu() if mask offline
    eb3240ffd243b mm: slub: avoid wake up kswapd in set_track_prepare
    28bdebd1a96c9 mm: fix possible deadlock in kmemleak
    458c3d3d5d0f3 mm: introduce and use {pgd,p4d}_populate_kernel()
    469f9d2275147 mm: move page table sync declarations to linux/pgtable.h
    cba402a1654f5 mm: fix accounting of memmap pages
    bd1ee62759d0b mm/userfaultfd: fix kmap_local LIFO ordering for CONFIG_HIGHPTE
    6bf9473727569 x86/mm/64: define ARCH_PAGE_TABLE_SYNC_MASK and arch_sync_kernel_mappings()
    3baa1da473e6e mm/slub: avoid accessing metadata when pointer is invalid in object_err()
    47c430e31bac0 rust: mm: mark VmaNew as transparent
    d7286005e8fde pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
    6bb712ab08468 arm64: ftrace: fix unreachable PLT for ftrace_caller in init_module with CONFIG_DYNAMIC_FTRACE
    01352cf09f616 ACPI/IORT: Fix memory leak in iort_rmr_alloc_sids()
    565d2c15b6c36 accel/ivpu: Prevent recovery work from being queued during device removal
    0bb3678a24cfe ALSA: usb-audio: Add mute TLV for playback volumes on some devices
    38a96e12700ed phy: mscc: Stop taking ts_lock for tx_queue and use its own lock
    539b6b94b1483 selftest: net: Fix weird setsockopt() in bind_bhash.c.
    33a5bac5f1477 ppp: fix memory leak in pad_compress_skb
    92e2fc92bc4eb net: xilinx: axienet: Add error handling for RX metadata pointer retrieval
    008db2e0c171d net: atm: fix memory leak in atm_register_sysfs when device_register fail
    48a3d045a01d7 netfilter: nf_tables: Introduce NFTA_DEVICE_PREFIX
    96040b27f0cda selftests: netfilter: fix udpclash tool hang
    b1c71d674a308 ax25: properly unshare skbs in ax25_kiss_rcv()
    dec6117dc4faf mctp: return -ENOPROTOOPT for unknown getsockopt options
    e5ea3347004c8 net/smc: Remove validation of reserved bits in CLC Decline message
    2e0a09caf438d ipv4: Fix NULL vs error pointer check in inet_blackhole_dev_init()
    ddb3952b8562d net: thunder_bgx: decrement cleanup index before use
    3b25d378cea2d net: thunder_bgx: add a missing of_node_put
    0c5eba454e885 net: lockless sock_i_ino()
    242124e3e3a7f net: remove sock_i_uid()
    bb137937410b7 tools: ynl-gen: fix nested array counting
    5cb7cab7adf9b wifi: cfg80211: sme: cap SSID length in __cfg80211_connect_result()
    d7d989786ad38 wifi: libertas: cap SSID len in lbs_associate()
    a7b20f5e2e96f wifi: cw1200: cap SSID length in cw1200_do_join()
    8cfa0f076842f vxlan: Fix NPD in {arp,neigh}_reduce() when using nexthop objects
    0e8630f24c14d vxlan: Fix NPD when refreshing an FDB entry with a nexthop object
    047a79ada2e0f net: ethernet: mtk_eth_soc: fix tx vlan tag for llc packets
    3d2b356d994a8 net/tcp: Fix socket memory leak in TCP-AO failure handling for IPv6
    9a394fd149502 wifi: ath11k: fix group data packet drops during rekey
    f1b8de7ff8d57 wifi: ath12k: Set EMLSR support flag in MLO flags for EML-capable stations
    129c1cb8a081a ixgbe: fix incorrect map used in eee linkmode
    9c21fc4cebd44 i40e: Fix potential invalid access when MAC list is empty
    7d190963b80f4 i40e: remove read access to debugfs files
    6275dc1c8c80e idpf: set mac type when adding and removing MAC filters
    923c267bdbb64 ice: fix NULL access of tx->in_use in ice_ll_ts_intr
    1467a873b2011 ice: fix NULL access of tx->in_use in ice_ptp_ts_irq
    485302905bada net: ethernet: ti: am65-cpsw-nuss: Fix null pointer dereference for ndev
    d6c3e9bfe7350 net: mctp: usb: initialise mac header in RX path
    058e422598330 net: mctp: mctp_fraq_queue should take ownership of passed skb
    34f17cbe02705 net/smc: fix one NULL pointer dereference in smc_ib_is_sg_need_sync()
    a3b3c20a80c33 macsec: read MACSEC_SA_ATTR_PN with nla_get_uint
    a4cb0a15ab8e6 net: macb: Fix tx_ptr_lock locking
    7b77d8841a98a eth: mlx4: Fix IS_ERR() vs NULL check bug in mlx4_en_create_rx_ring
    c3e20abfd33d8 icmp: fix icmp_ndo_send address translation for reply direction
    d7d0de9255c08 bnxt_en: fix incorrect page count in RX aggr ring log
    c274b62e70c8e selftests: drv-net: csum: fix interface name for remote host
    aaa30b728f346 mISDN: Fix memory leak in dsp_hwec_enable()
    f10d3c7267ac7 ptp: ocp: fix use-after-free bugs causing by ptp_ocp_watchdog
    07edb776309b9 xirc2ps_cs: fix register access when enabling FullDuplex
    e79923824c48b net_sched: gen_estimator: fix est_timer() vs CONFIG_PREEMPT_RT=y
    d927db98d4989 netfilter: nft_flowtable.sh: re-run with random mtu sizes
    3dff390f55ccd Bluetooth: Fix use-after-free in l2cap_sock_cleanup_listen()
    7cc08f2f127b9 Bluetooth: vhci: Prevent use-after-free by removing debugfs files early
    b9b9e95673f89 wifi: iwlwifi: cfg: add back more lost PCI IDs
    79be7358b7abf wifi: iwlwifi: cfg: restore some 1000 series configs
    60c2a809dac57 wifi: iwlwifi: uefi: check DSM item validity
    5deadb93925b2 wifi: iwlwifi: acpi: check DSM func validity
    a530078dede8b wifi: iwlwifi: if scratch is ~0U, consider it a failure
    fb3cd5557e4af netfilter: conntrack: helper: Replace -EEXIST by -EBUSY
    a74abcf0f09f5 netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm
    c91a59b04f928 wifi: mt76: fix linked list corruption
    79ed4e9d8624d wifi: mt76: free pending offchannel tx frames on wcid cleanup
    8fa8eb52bc2eb wifi: mt76: mt7915: fix list corruption after hardware restart
    69dcc19048fcd wifi: mt76: mt7996: add missing check for rx wcid entries
    98fa445f046e4 wifi: mt76: mt7996: use the correct vif link for scanning/roc
    eb19d5fb07ce5 wifi: mt76: mt7996: disable beacons when going offchannel
    731ea9b79921b wifi: mt76: prevent non-offchannel mgmt tx during scan/roc
    f614c33469f32 wifi: mt76: mt7925: fix locking in mt7925_change_vif_links()
    eab71f6d9c9e3 wifi: mt76: mt7921: don't disconnect when CSA to DFS chan
    2f6fbc8e04ca1 wifi: brcmfmac: fix use-after-free when rescheduling brcmf_btcoex_info work
    912c4b66bef71 wifi: cfg80211: fix use-after-free in cmp_bss()
    ad5d04d3af6c5 ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode
    3da20d91bf3c3 arm64: dts: rockchip: Add supplies for eMMC on rk3588-orangepi-5
    ab47aff6eacbd arm64: dts: rockchip: Fix the headphone detection on the orangepi 5 plus
    e193a598d44c5 arm64: dts: imx8mp: Fix missing microSD slot vqmmc on Data Modul i.MX8M Plus eDM SBC
    4334484a9fab6 arm64: dts: imx8mp: Fix missing microSD slot vqmmc on DH electronics i.MX8M Plus DHCOM
    fad6a22f7c9ff arm64: dts: imx8mp-tqma8mpql: fix LDO5 power off
    5d5cc7f07e309 tee: optee: ffa: fix a typo of "optee_ffa_api_is_compatible"
    d885fd7ea8767 arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3399-pinebook-pro
    477d1047b42bc arm64: dts: rockchip: mark eeprom as read-only for Radxa E52C
    079cda5416f69 tee: fix memory leak in tee_dyn_shm_alloc_helper
    5e07a4235bb85 tee: fix NULL pointer dereference in tee_shm_put
    c8c14adf80bd1 fs: writeback: fix use-after-free in __mark_inode_dirty()
    016284a03e4b9 platform/x86/amd: pmc: Drop SMU F/W match for Cezanne
    0800d979754e6 btrfs: zoned: skip ZONE FINISH of conventional zones
    6edbd021384f2 btrfs: clear block dirty if submit_one_sector() failed
    e1ec77b94094a drm/rockchip: vop2: make vp registers nonvolatile
    33224433facf0 Bluetooth: hci_sync: Avoid adding default advertising on startup
    47f69d107dc89 cpupower: Fix a bug where the -t option of the set subcommand was not working.
    c4710623b0715 drm/amd/display: Don't warn when missing DCE encoder caps
    c89a3d2976926 cdc_ncm: Flag Intel OEM version of Fibocom L850-GL as WWAN
    c7f5d772cb457 LoongArch: Add cpuhotplug hooks to fix high cpu usage of vCPU threads
    b7c715b1f2db8 LoongArch: Save LBT before FPU in setup_sigcontext()
    76ff6437b42f9 ALSA: usb-audio: Allow Focusrite devices to use low samplerates
    1b1a33795a69f ASoC: SOF: Intel: WCL: Add the sdw_process_wakeen op
    391203f7684a1 ASoC: rsnd: tidyup direction name on rsnd_dai_connect()
    1d282dcd46d97 ASoC: soc-core: care NULL dirver name on snd_soc_lookup_component_nolocked()
    e4d126372b354 btrfs: avoid load/store tearing races when checking if an inode was logged
    e1ed129365590 btrfs: fix race between setting last_dir_index_offset and inode logging
    6ef5d43fe1680 btrfs: fix race between logging inode and checking if it was logged before
    4645fefac0b24 Linux 6.16.5
    18e997eb3f197 thermal/drivers/mediatek/lvts_thermal: Add mt7988 lvts commands
    dcb1ca0f1292c thermal/drivers/mediatek/lvts_thermal: Add lvts commands and their sizes to driver data
    277c236369d3e thermal/drivers/mediatek/lvts_thermal: Change lvts commands array to static const
    05981233cf2e6 Revert "drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS"
    4e06c33aaa5dd firmware: qcom: scm: request the waitqueue irq *after* initializing SCM
    bcd14791ba62d firmware: qcom: scm: initialize tzmem before marking SCM as available
    6e7c7570cec6a firmware: qcom: scm: take struct device as argument in SHM bridge enable
    617ad64abf488 firmware: qcom: scm: remove unused arguments from SHM bridge routines
    29f50d2d45773 net: rose: fix a typo in rose_clear_routes()
    5d7f6c7c8e1f2 drm/amdgpu/gfx12: set MQD as appriopriate for queue types
    bd94b24e430dd drm/amdgpu/gfx11: set MQD as appriopriate for queue types
    b013c68c1e27c drm/amdgpu: update firmware version checks for user queue support
    3f46d1d3028ed drm/amdgpu/userq: fix error handling of invalid doorbell
    6c3f9d0e68cad drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode
    fae58d0155a97 drm/mediatek: Fix device/node reference count leaks in mtk_drm_get_all_drm_priv
    e15b65e97a24a drm/msm/dpu: Initialize crtc_state to NULL in dpu_plane_virtual_atomic_check()
    b09382cf94f61 drm/nouveau: fix error path in nvkm_gsp_fwsec_v2
    6badb500f28bd drm/nouveau/disp: Always accept linear modifier
    84603ed1d73eb drm/xe/vm: Clear the scratch_pt pointer on error
    39fc2742ca14f xfs: do not propagate ENODATA disk errors into xattr code
    2809b4ad54d52 smb3 client: fix return code mapping of remap_file_range
    9a1e84d931aae net: usb: qmi_wwan: add Telit Cinterion LE910C4-WWX new compositions
    cc82c6dff548f fs/smb: Fix inconsistent refcnt update
    f09b0b4737110 dma/pool: Ensure DMA_DIRECT_REMAP allocations are decrypted
    6ed86bb11d564 blk-zoned: Fix a lockdep complaint about recursive locking
    6a0f13941c3b8 arm64: mm: Fix CFI failure due to kpti_ng_pgd_alloc function signature
    7f5fffcce99e2 Revert "drm/amdgpu: fix incorrect vm flags to map bo"
    183def8e4d786 HID: hid-ntrig: fix unable to handle page fault in ntrig_report_version()
    317daff171202 HID: wacom: Add a new Art Pen 2
    7ad5732b5c8d9 HID: logitech: Add ids for G PRO 2 LIGHTSPEED
    c5a2cced95d5e HID: quirks: add support for Legion Go dual dinput modes
    b8194c1ce4911 HID: elecom: add support for ELECOM M-DT2DRBK
    c13e95587583d HID: multitouch: fix slab out-of-bounds access in mt_report_fixup()
    72a4ec018c9e9 HID: asus: fix UAF via HID_CLAIMED_INPUT validation
    34ec932cdd270 x86/cpu/topology: Use initial APIC ID from XTOPOLOGY leaf on AMD/HYGON
    1b101bd8771dc x86/microcode/AMD: Handle the case of no BIOS microcode
    15bfe327c0d11 x86/cpu/intel: Fix the constant_tsc model check for Pentium 4
    6d28659b692a0 RISC-V: KVM: fix stack overrun when loading vlenb
    f57a4bd8d6cb5 KVM: x86: use array_index_nospec with indices that come from guest
    c45fcd475d2a5 drm/mediatek: mtk_hdmi: Fix inverted parameters in some regmap_update_bits calls
    390a61d284e1c io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengths
    3fdc52cb8471b net: macb: Disable clocks once
    71581a82f38e5 efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare
    3ac5f54e47eb3 fbnic: Move phylink resume out of service_task and into open/close
    069eb65689974 l2tp: do not use sock_hold() in pppol2tp_session_get_sock()
    f6c2cc99fc238 sctp: initialize more fields in sctp_v6_from_sk()
    384210cceb187 net: rose: include node references in rose_neigh refcount
    203e4f42596ed net: rose: convert 'use' field to refcount_t
    188ec77b9920b net: rose: split remove and free operations in rose_remove_neigh()
    f4f411c068402 io_uring/kbuf: fix signedness in this_len calculation
    1505c0e01ce13 net: hv_netvsc: fix loss of early receive events from host during channel open.
    19a592efa56f7 net: stmmac: Set CIC bit only for TX queues with COE
    5a4ec12b2d6ee net: stmmac: xgmac: Correct supported speed modes
    f71b60e28658e net: stmmac: xgmac: Do not enable RX FIFO Overflow interrupts
    7b1a7ce6e8f2f net/mlx5e: Set local Xoff after FW update
    0802bdbd0e5d0 net/mlx5e: Update and set Xon/Xoff upon port speed set
    58d33407a9fec net/mlx5e: Update and set Xon/Xoff upon MTU set
    a189ac7061062 net/mlx5: Prevent flow steering mode changes in switchdev mode
    4b6789407d88c net/mlx5: Nack sync reset when SFs are present
    06d897148e796 net/mlx5: Fix lockdep assertion on sync reset unload event
    d0ac0788647c4 net/mlx5: Reload auxiliary drivers on fw_activate
    ca20c7a9ac945 net/mlx5: HWS, Fix pattern destruction in mlx5hws_pat_get_pattern error path
    3668ba8832f1f net/mlx5: HWS, Fix uninitialized variables in mlx5hws_pat_calc_nop error flow
    051fd8576a2e4 net/mlx5: HWS, Fix memory leak in hws_action_get_shared_stc_nic error flow
    86d13a6f49cb6 net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
    5c5f9f42680c2 bnxt_en: Fix stats context reservation logic
    c23655b69ec2a bnxt_en: Adjust TX rings if reservation is less than requested
    9ab6a9950f152 bnxt_en: Fix memory corruption when FW resources change during ifdown
    1228285399c56 net: macb: Fix offset error in gem_update_stats
    11a6bd4c111b3 phy: mscc: Fix when PTP clock is register and unregister
    8dc9a2db9e4d1 block: validate QoS before calling __rq_qos_done_bio()
    26dc1731d305c drm/xe: Don't trigger rebind on initial dma-buf validation
    70f7b3757644d drm/xe/vm: Don't pin the vm_resv during validation
    dc023a2821e41 drm/xe/xe_sync: avoid race during ufence signaling
    630c0e6064daf efi: stmm: Fix incorrect buffer allocation method
    ba82313c3cb62 net: dlink: fix multicast stats being counted incorrectly
    43fc5da8133ba mISDN: hfcpci: Fix warning when deleting uninitialized timer
    130dbfea172b2 Octeontx2-af: Fix NIX X2P calibration failures
    691d30b0cd45b octeontx2: Set appropriate PF, VF masks and shifts based on silicon
    aaec54254b02f drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset
    4437134c70418 dt-bindings: display/msm: qcom,mdp5: drop lut clock
    23786f49e1dba ixgbe: fix ixgbe_orom_civd_info struct layout
    6fdfa22260f3b ice: fix incorrect counter for buffer allocation failures
    a9dd49ee69aed ice: use fixed adapter index for E825C embedded devices
    379e7ef26c34b ice: don't leave device non-functional if Tx scheduler config fails
    db783756a7d7c ice: fix NULL pointer dereference in ice_unplug_aux_dev() on reset
    7359123a27ac0 drm/nouveau: remove unused memory target test
    0d6f4cb7b08fe drm/nouveau: remove unused increment in gm200_flcn_pio_imem_wr
    3ab9f5ad9baef atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control().
    4e37da7d8b730 Octeontx2-vf: Fix max packet length errors
    69d75cb29e29a page_pool: fix incorrect mp_ops error handling
    42f0533d5aa74 Bluetooth: hci_sync: fix set_local_name race condition
    95fe796e047cb Bluetooth: hci_event: Disconnect device when BIG sync is lost
    b211e692e7312 Bluetooth: hci_event: Detect if HCI_EV_NUM_COMP_PKTS is unbalanced
    038e265999bdb Bluetooth: hci_event: Mark connection as closed during suspend disconnect
    03a54e430f827 Bluetooth: hci_event: Treat UNKNOWN_CONN_ID on disconnect as success
    7af23ab3235a5 Bluetooth: hci_conn: Make unacked packet handling more robust
    775fe690fd4a3 net: macb: fix unregister_netdev call order in macb_remove()
    7b5b1eec9f615 idpf: stop Tx if there are insufficient buffer resources
    b2eb0df4a8b75 idpf: replace flow scheduling buffer ring with buffer pool
    4de02114bab55 idpf: simplify and fix splitq Tx packet rollback error path
    9e20a0a4b0106 idpf: add support for Tx refillqs in flow scheduling mode
    207efc71c8b75 HID: input: report battery status changes immediately
    7450f1b95d5c5 HID: input: rename hidinput_set_battery_charge_status()
    8d49313e68927 powerpc/kvm: Fix ifdef to remove build warning
    9a94e9d8b50bc drm/mediatek: Add error handling for old state CRTC in atomic_disable
    82e74510142e4 drm/msm: update the high bitfield of certain DSI registers
    d7c5df524435a drm/msm/dpu: correct dpu_plane_virtual_atomic_check()
    127cbbe8fefea drm/msm/kms: move snapshot init earlier in KMS init
    ba3a3c4929bf8 HID: intel-thc-hid: Intel-quicki2c: Enhance driver re-install flow
    78d4cf0466c79 HID: intel-thc-hid: intel-thc: Fix incorrect pointer arithmetic in I2C regs save
    4adce86d4b13d HID: intel-thc-hid: intel-quicki2c: Fix ACPI dsd ICRS/ISUB length
    ff9c072d6b89f of: reserved_mem: Restructure call site for dma_contiguous_early_fixup()
    91b3d8efdfbea drm/msm: Defer fd_install in SUBMIT ioctl
    018afe914b712 net: ipv4: fix regression in local-broadcast routes
    6b4abb5b79280 vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put()
    d9eb5a95b4f99 platform/x86: int3472: add hpd pin support
    88e6c42e40dea io_uring/io-wq: add check free worker before create new worker
    9ee6dbfcf557e erofs: fix atomic context detection when !CONFIG_DEBUG_LOCK_ALLOC
    15e8cc0bf27b7 erofs: Fallback to normal access if DAX is not supported on extra device
    1e46ce777fa1f ASoC: rt1320: fix random cycle mute issue
    7a33a93b3d897 ASoC: rt721: fix FU33 Boost Volume control not working
    880bcc7b20ec8 ASoC: codecs: tx-macro: correct tx_macro_component_drv name
    289f945acb20b smb: client: fix race with concurrent opens in rename(2)
    dddeed19782df smb: client: fix race with concurrent opens in unlink(2)
    b08a26b87b234 scsi: core: sysfs: Correct sysfs attributes access rights
    857eb3e4d0333 vhost: Fix ioctl # for VHOST_[GS]ET_FORK_FROM_OWNER
    ba97b7a8a2089 Revert "virtio: reject shm region if length is zero"
    8d947540ee118 perf symbol-minimal: Fix ehdr reading in filename__read_build_id
    fbd4cf7ee4db6 ftrace: Fix potential warning in trace_printk_seq during ftrace_dump
    aa316a7eb47ab fgraph: Copy args in intermediate storage with entry
    10a5a83d0f2c8 of: dynamic: Fix use after free in of_changeset_add_prop_helper()
    da621fdd3b5b7 mips: lantiq: xway: sysctrl: rename the etop node
    922336e35db11 mips: dts: lantiq: danube: add missing burst length property
    437b883a58354 pinctrl: airoha: Fix return value in pinconf callbacks
    548998501eaf8 pinctrl: STMFX: add missing HAS_IOMEM dependency
    554589d67d939 of: reserved_mem: Add missing IORESOURCE_MEM flag on resources
    28f023beca38a of: dynamic: Fix memleak when of_pci_add_properties() failed
    000aa47a51233 trace/fgraph: Fix the warning caused by missing unregister notifier
    a9ae544dd70ca rtla: Check pkg-config install
    c535c699981b3 tools/latency-collector: Check pkg-config install
    d689135aa9c5e perf: Avoid undefined behavior from stopping/starting inactive events

(From OE-Core rev: 9d3d752d8afd9e301fb1fc7c2caf993f9e6108f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
84c287d07b fontconfig: clean up LICENSE
"MIT & MIT" is not a useful license statement.

(From OE-Core rev: 044ab8233486e45e62d589a0e07798b5b9f2d09c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
556336dc2e bzip2: improve symlink creation
This recipe inherits relative_symlinks as otherwise ${bindir}/bunzip2 is
an absolute link to ${bindir}/bzip2.  However, we drop the Makfile.am
into the tree so instead of working around the problem, we can just fix
the Makefile rules directly.

(From OE-Core rev: d1c6240938e3b884690433c05dd65d5ae840abdb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
84f746b707 fontconfig: remove obsolete relative_symlinks class
The fontconfig recipe inherited this because the symlink farm that it
creates in /etc/fonts/conf.d/ to /usr/share/fontconfig/conf.avail/ were
all absolute links, and this causes "problems" for the native sstate
code[1].

However, as of fontconfig 2.15[2] these links are created relative, so
this inherit is redundant.

[1] oe-core e478550c8cd ("openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class)")
[2] fontconfig 5d954398 ("Create a symlink with relative path")

(From OE-Core rev: b4b151ccf3b7d352fb8ae8299a92a7b11ff568cd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Mikko Rapeli
48c3f8d15f linux-firmware: fix wl1251 packaging
wl12xx package regex was taking all binaries also from wl1251
which ends up empty and install to images fails. For wl1251 only
license binary package was generated.

(From OE-Core rev: bfe67c7775fb4a9177c7ca037ac08e93155b5808)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
be43582d8d mesa: clean up libopencl-mesa dependencies
The libraries in spirv-tools and spirv-llvm-translator are linked to
libopencl, so the correct dependencies are generated automatically.

(From OE-Core rev: 2daec34fac49a8ab6b22590da3ca4b3ae65e774b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
54a898e32b spirv-tools: improve packaging
spirv-tools is a set of libraries and some binaries that link to those
libraries, so inherit lib_package so that the binaries and the libraries
are packaged separately.

The lesspipe script hasn't needed bash since 2018[1], so remove the bash
dependency and package the script with the other binaries.

The build type unless specified is Debug, explicitly set RelWithDebInfo.

[1] spirv-tools f70e9e "tools/lesspipe: Allow generic shell (#2255)"

(From OE-Core rev: 720dd065a4626af7d7a18e941aa090a923e060cd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Ross Burton
51f06e9fc7 spirv-llvm-translator: small recipe cleanup
- There is no need for python3native, as this recipe doesn't depend on
  other python modules.

- Inherit lib_package so the llvm-spirv binary is in a separate package
  to the libLLVMSPIRVLib.so library.

- Remove obsolete CMake options that no longer appear to be required.

- Change CMAKE_SKIP_RPATH to CMAKE_SKIP_BUILD_RPATH as this stops the
  ELF editing on install without potentially removing any explicit
  RPATHs, and aligns with a change I've proposed for cmake.bbclass.

(From OE-Core rev: 0e371176b99c8fe73059d06708141c7b25b7d91c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Robert Yang
c7ca5a20ee ccache: 4.11.3 -> 4.12
License-Update: Third party packages' versions updated

(From OE-Core rev: 0a085fd70076789b31c38c0bbd6606c3a9427dc9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Robert Yang
7d02a8689f nfs-utils: 2.8.3 -> 2.8.4
* Remove backported patch 0002-Fix-build-with-glibc-2.42.patch.

(From OE-Core rev: 988dc5702eb22d81ba414133b38bd6cadc8cda6b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Dmitry Baryshkov
70d32ed86b clang: enable GPU backends for the opencl DISTRO_FEATURE
Clang gates enabling of several backends (AMDGPU, NVPTX and SPIR-V) by
the GPU-related distro features (opengl, vulkan). Now as we got a
separate feature for OpenCL, enable those backends for the OpenCL-only
configurations.

(From OE-Core rev: f230b16eac089d2d06574a0593076478afc7455e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Dmitry Baryshkov
e30a2a5b7b mesa: add opencl DISTRO_FEATURE
OpenCL is an important part of the GPU-related world. It makes sense to
be able to provide headless environment (without OpenGL and Vulkan), but
having just OpenCL as a GPU user. Currently it is not possible since
mesa requires either of those to be enabled for the DISTRO.

Add new 'opencl' DISTRO_FEATURE, controlling enablement of OpenCL.

Note: Mesa, if built with the libclc packageconfig (which is required
for OpenCL driver) depends on the mesa-clc tool from the mesa-native
package. It is required to propagate opencl DISTRO_FEATURE to the native
set in order to be able to fulfill mesa -> mesa-native dependency as
otherwise mesa-native package will be skipped.

(From OE-Core rev: 3061d6061e74a545b7a190fd13b52ac181994dd1)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Khem Raj
f9300011ec apt: Always use libstdc++ when using clang compiler
apt is not portable across non libstdc++ systems yet
there is work to get it there but its still in progress
Default to use libstdc++ with clang

(From OE-Core rev: ad14432a516db4d4752b9905d1a7127942b142ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Anna-Lena Marx
1c6f791966 bind: upgrade 9.20.12 -> 9.20.13
Upgrade bind to 9.20.13.
Changelog: https://downloads.isc.org/isc/bind9/cur/9.20/doc/arm/html/changelog.html

(From OE-Core rev: 5ae5582471f7cff4c54398516ac748c277ab43d3)

Signed-off-by: Anna-Lena Marx <anna-lena.marx@inovex.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Dmitry Baryshkov
75e44e8b77 vulkan-loader: switch RRECOMMENDS to use virtual package name
Instead of always pulling Mesa Vulkan drivers via RRECOMMENDS, make use
of the new virtual-vulkan-icd package name, letting BSP layers specify a
different preferred Vulkan driver.

(From OE-Core rev: f030fbf7cb89a28eedb5862a3fe979136bdce4dc)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:42 +01:00
Dmitry Baryshkov
5d7cbf8afa mesa: add PROVIDES for Vulkan and OpenCL ICDs
In order to let BSPs easily select OpenCL and Vulkan Installable Client
Drivers, add two virtual package names: virtual-opencl-icd and
virtual-vulkan-icd.

(From OE-Core rev: 6f01f029ef6fed96e257d6a88de42edaa437de3e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:35 +01:00
Gyorgy Sarvari
a8a01d2d19 patchtest: update testdata for selftest
The test-patch for test_src_uri_left_files selftest got out of date.
This patch updates it to make it apply on the repo again.

(From OE-Core rev: 64f1c284256852093027e494c64f1cbe63999e27)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:35 +01:00
Gyorgy Sarvari
c0e65493c3 patchtest: ignore patch file metadata from SRC_URI
The test_src_uri_left_files check prepares a list of patchfiles SRC_URI from
before and after the patch is applied, looking for dangling patches.

The name of the files in this list can be incorrect, in case the URI contains
some extra metadata (like patchdir), because os.path.basename will use the last portion
of the line being processed, which is independent from the files in question.

To avoid this, try to use only the first portion of URI, before any extra metadata.

(From OE-Core rev: 7c0febd01e39c6d6a8b7821adcda5f397d597bee)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:35 +01:00
Gyorgy Sarvari
6254619b7f patchtest: fix repo.canbemerged usage
Call it like a function to avoid it being interpreted as True always.

(From OE-Core rev: df73a692049675b7dc110779b7853f2e79a61737)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:35 +01:00
Gyorgy Sarvari
a690cfb9c0 patchtest: apply patch in repo root
Patchtest tries to apply the received patch on the repository, without
specifying the directory, which means that the CWD is used. In case the
patch modifies a content in a different folder (e.g. the script is running
in ./meta, but the patch modifies ./meta-selftest), the patch will be skipped,
but git still returns 0, instead of complaining.

To avoid such false positives, specify the working directory for applying the
patch - the top of the repodir.

(From OE-Core rev: 6c7bb23b05ab613d5efe8e1378d7e1b1cc8cfc45)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:35 +01:00
Rasmus Villemoes
4ea7a1d0cb util-linux: remove fcntl-lock
Since upstream util-linux's flock command now supports the --fcntl
flag, there is no longer any reason to keep building the separate
fcntl-lock binary.

(From OE-Core rev: f42becf48a22f8f40e4076d962693e18d38aa264)

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Rasmus Villemoes
38a902b1e5 run-postinsts: use 'flock --fcntl' instead of separate fcntl-lock binary
Since v2.41, util-linux flock has understood the --fcntl option,
making it use fcntl(F_OFD_SETLK[W]) instead of flock().

(From OE-Core rev: f03393db6bb8509e88ee0ad7a8300186d8231c58)

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Vijay Anusuri
a5ba9fba0d cups: upgrade 2.4.12 -> 2.4.14
Changelog:
===========
v2.4.14

The hotfix release brings fix for installation process of localized templates and CUPS web UI home pages.

v2.4.13

The release 2.4.13 brings two CVE fixes - fix for important CVE-2025-58060 and fix for moderate CVE-2025-58364, together with several bug fixes.

The release includes a new feature - new attribute for printer and job objects - print-as-raster - which allows enforce rasterization of the file for IPP Everywhere/AirPrint printers, which supports PDF and raster document formats. The feature is useful for working around internal PDF issues in the printer firmware, for example missing diacritic when printing a PDF.

The detailed list of changes is available in CHANGES.md.

Ref: https://github.com/openprinting/cups/releases

(From OE-Core rev: 4605d909d3e0082340af6544c1fe9004158ee817)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Osama Abdelkader
9479aac315 go: add sdk test
- Add meta/lib/oeqa/sdk/cases/go.py with GoCompileTest and GoHostCompileTest classes
- Test validates Go cross-compilation toolchain functionality
- Includes native compilation, cross-compilation, and Go module support
- Uses dynamic architecture detection for portability

(From OE-Core rev: 17015f692a6bf3697a89db51bbc4673a5efa1497)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Osama Abdelkader
af4a588290 go: extend runtime test
extend go runtime test with a simple test file, and simple
go module test to validate go compilation and execution on
target.

(From OE-Core rev: e3b2b9170f76f4bbdc41ea6ba7bccffc17d01968)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Gyorgy Sarvari
d8068d6c85 patchtest: don't match BitBake python expansion as GitHub username
BitBake's Python expansion syntax looks very similar to GitHub usernames:
${@foo} - which triggers a false alarm from patchtest.

This patch adds a negative lookahead to the GitHub username matching pattern:
only match in case the pattern doesn't start with "${" characters.

Also add a test for it.

(From OE-Core rev: 6aa8eeadbb626bb5e5459ac2caf73b8fb0f2b936)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
bcda889ef1 maintainers.inc: unassign Tom Rini
This was requested via private email.

(From OE-Core rev: 67f8670c538eb4ca27600ed5479759454f87e34c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Acked-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
820f7728d1 maintainers.inc: unassign Carlos Rafael Giani
No activity for a long time.

(From OE-Core rev: a9680bc12802b7a032d0e07d668456ce7cd4c553)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
21538e0f1e maintainers.inc: unassign Otavio Salvador
Same as other unassignments: no update activity for a long time.

(From OE-Core rev: b52c2a65bc6066c24ea1db60d5175eb9dece19c9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
336f4c461d maintainers.inc: unassign Changhyeok Bae
Same as other unassignments: timely updates are not happening.

(From OE-Core rev: 69a6e137dd8b677b5de79289b5f64acf8ac7046c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
8fbfe655e7 maintainers.inc: unassign Frederic Martinssons from cargo-c
Same as previous unassignment: no activity.

(From OE-Core rev: ad76c902602092ee8fb0aef79aa13d4fd20648b9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
e538b65307 maintainers.inc: unassign Anuj Mittal
Same as previous unassignment: no activity for a very long time.

(From OE-Core rev: 0f2130b159a3de1d5de8270914b6a160199c9877)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Alexander Kanavin
bf8cd3f75a maintainers.inc: unassign Zang Ruochen
There hasn't been any version updates or other oe-core
activity in a long time.

We're actually getting better and timelier updates when
someone sees a recipe has no maintainer and then goes ahead
with the update themselves.

(From OE-Core rev: 3d4a32a5a6d01a791758abfb64117056b21a34cd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-18 11:16:34 +01:00
Lee Chee Yang
cfbb00657a migration-guides: add release notes for 5.0.12
(From yocto-docs rev: e77139b5c616e6e5ad436eb91416fd804389425f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Lee Chee Yang
760d0bea23 migration-guides: add release notes for 5.2.3
(From yocto-docs rev: 3a73f28b3fffaa7abbb68dd164fa8615efbfece5)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Antonin Godard
8fecfe98c9 migration-guides/migration-5.3.rst: add note on systemd pni-names change
Add a migration note on the pni-names default policy change after commit
9b34a810496f ("systemd: stop enabling non-standard "mac" policy when
using the 'pni-names' DISTRO_FEATURE") in OE-Core.

Cc: Koen Kooi <koen.kooi@oss.qualcomm.com>
Cc: Ross Burton <Ross.Burton@arm.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 237f28de0bf8d1e1be60a0d9429b3a98740778e9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Pierre-Loup GOSSE
ef5c17601a migration-guides/release-notes-5.3.rst: new wic option extra-partition-space
After commit c7f51c23fd268 ("wic: add --extra-partition-space option to
set unused space") in openembedded-core, document the new Wic-specific
option extra-partition-space.

CC: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 20c6e107af0441772cf986547a7d8131ec244c8c)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Pierre-Loup GOSSE
c94e84cd78 migration-guides/migration-5.3.rst: wic option extra-space renaming
After commit 47533f20a7ec ("wic: rename wks flag --extra-space to
--extra-filesystem-space") in openembedded-core, document the
renaming of the Wic-specific option extra-space to
extra-filesystem-space.

CC: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: d3a34e8dca3c774234d3c6f4e575858869a7460d)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Pierre-Loup GOSSE
0f329e14de ref-manual/kickstart.rst: add extra-partition-space
After commits 47533f20a7ec ("wic: rename wks flag --extra-space to
--extra-filesystem-space") and c7f51c23fd268 ("wic: add
--extra-partition-space option to set unused space") in openembedded-core,
document the new Wic-specific option extra-partition-space and rename
the extra-space option to extra-filesystem-space.

CC: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: cba5dbb32a24c9e20e5a6066ec382cf7ff9b93e2)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Gyorgy Sarvari
19a9d4c5c6 migration-5.3.rst: update removed recipes list
Add a note about the removed xf86-input-mouse and xf86-input-vmmouse recipes.

(From yocto-docs rev: ee0b46bd074dd34c3d6b401e65d2c519c2c3d47b)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Joao Marcos Costa
12f95ae170 ref-manual/variables.rst: expand IMAGE_OVERHEAD_FACTOR glossary entry
There's a (second) overhead factor applied in images generated with Wic,
and this is already documented in the .wks reference. However, the
IMAGE_OVERHEAD_FACTOR entry does not mention it, and by looking at the
partition sizes (e.g. with parted) one may find it confusing that they
don't match with the expected rootfs size (e.g. in a scenario where the
extra space is "0" and IMAGE_OVERHEAD_FACTOR="1.0").

This second overhead is already documented, though:
https://docs.yoctoproject.org/ref-manual/kickstart.html#command-part-or-partition

Mention the '--overhead-factor' option in the glossary entry and add a
reference to the wks documentation.

(From yocto-docs rev: b9040e20b015e9b02683ec3014e4ade5eb59d41a)

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Peter Marko
612ac91bb0 vulnerabilities: update nvdcve file name
The filename is outdated as its version was already bumped and there are
also different files for different feed choices.
Use glob to match any available file.

Also the directory changed to CVE_CHECK2 meanwhile, so Update it, too.

(From yocto-docs rev: a2f18cb23183401d9d8e2fd4499d164ef8d86e44)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Lee Chee Yang
10f0a43f95 migration-guides: add release notes for 4.0.29
(From yocto-docs rev: d3bbfed9cad4cda0960ee0623c728ea2a18e1b29)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Antonin Godard
71f97b71b1 dev-manual/security-subjects.rst: update mailing lists
Update mailing lists following changes by Michael Halstead
(https://lists.yoctoproject.org/g/yocto-security/message/1478).

Also fix formatting/spacing.

(From yocto-docs rev: 8066aa92a1acae6c99fbee92d24ee1feea65d974)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Antonin Godard
8118eb4a86 migration-guides/release-notes-5.3.rst: add x86 qemu micro-arch level bump
After commit c9585bb8689b ("Revert "qemux86-64: Reduce tuning to
core2-64"") in OE-Core, document the QEMU x86 micro-architecture level
bump in the release notes for 5.3.

Co-authored-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 22c0fc1943c23d6f927034afdfa25ce64c5ba79a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Jan Vermaete
d9bfb32f39 sdk: The main in the C example should return an int
see C17 (ISO/IEC 9899:2018)

(From yocto-docs rev: 1ebaed299f7ef80a49b68608f45bf25884900d13)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-16 12:09:41 +01:00
Vyacheslav Yurkov
481764525c overlayfs: Disable renaming of network interfaces
Current qemurunner implementation expects internal network interface to
be eth0, but by default systemd renames network interfaces to have
predictable names. This causes a race in the evaluation of results of
susequent commands in case when qemurunner tries to setup the network
after the interface was already renamed and fails to do that (because
there's no eth0 interface present anymore).

[YOCTO #15962]

(From OE-Core rev: ba3bd832e810bfb96bfa6fcd52710de185dbee22)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:24 +01:00
Chen Qi
8221eb2424 base.bbclass: remove unneeded bb.runqueue import
base.bbclass no longer uses bb.runqueue[1]. Remove the import.

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

(From OE-Core rev: f28415e3ca69b2fb81ae3e3987ef40aa8184b82d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:24 +01:00
Chen Qi
8b48566f53 package_manager/ipk: give out useful reason about an unmatched package
Give out useful information when a package could not be matched.

Before the change:

  error: opkg_solver_install: No candidates to install catch2 (null)!

With this patch:

  error: opkg_solver_install: No candidates to install catch2 (null)!
  ...
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

(From OE-Core rev: 4bcb97ab4d7622d04dbf71930ea1784c8d57c136)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:24 +01:00
Chen Qi
83a7f03535 package_manager/deb: give out useful reason about an unmatched package
Give out useful information when a package could not be matched.

Before the change:

  E: Package 'catch2' has no installation candidate

With this patch:

  E: Package 'catch2' has no installation candidate
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

(From OE-Core rev: ca6c1dd0148c4776bd556fccfd71153fc72d2e3d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:24 +01:00
Chen Qi
0ffa817319 package_manager/rpm: give out useful reason about unmatched packages
Unmatched package error is a common error at rootfs. We want to give
out more useful information to user.

Before this change, if some user specifiy IMAGE_INSTALL += "catch2",
the error message will be like:

  No match for argument: catch2
  Error: Unable to find a match: catch2

With this patch, the error message will be like:

  No match for argument: catch2
  Error: Unable to find a match: catch2
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

(From OE-Core rev: 00f871cd07d7f44788124510a75b7160fdc60bb5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Chen Qi
16e7ffa2e2 package_manager/__init__.py: add function to give user reason about a missing package
When users specify some package in IMAGE_INSTALL, but get some error
at rootfs time, the user might be confusing. This usually happens
when the user puts a recipe name in IMAGE_INSTALL.

To helper user understand more about what's going on, add a common
function here which makes use of pkgdata data to give the possible
reason about a missing package. This function is expected to be used
by package backends such as rpm.

(From OE-Core rev: 4c1f63a7618c5eef1684ecc52af50821a49e2e91)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Haixiao Yan
f5adf527f2 buildtools-tarball: fix unbound variable issues under 'set -u'
When Bash runs with 'set -u' (nounset), accessing an unset variable
directly (e.g. [ -z "$SSL_CERT_FILE" ]) causes a fatal "unbound variable"
error. As a result, the fallback logic to set SSL_CERT_FILE/SSL_CERT_DIR
is never triggered and the script aborts.

The current code assumes these variables may be unset or empty, but does
not guard against 'set -u'. This breaks builds in stricter shell
environments or when users explicitly enable 'set -u'.

Fix this by using parameter expansion with a default value, e.g.
"${SSL_CERT_FILE:-}", so that unset variables are treated as empty
strings. This preserves the intended logic (respect host env first, then
CAFILE/CAPATH, then buildtools defaults) and makes the script robust
under 'set -u'.

(From OE-Core rev: 4d880c2eccd534133a2a4e6579d955605c0956ec)

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Gyorgy Sarvari
6091eb2b58 babeltrace2: upgrade 2.1.1 -> 2.1.2
shortlog:
src.ctf.fs: be less strict when encountering trailing byte at the end of packetized CTF 1.8 metadata
tests: add bt_test_cli
tests: make bt_cli accept non-positional options
tests: bt_diff_cli: don't pass unexpected extra args to bt_diff
tests: remove unnecessary nonlocal keywords
Fix: Python: set local typing version to that of 3.5.2
Fix: Python: missing __contains__ method for _PluginComponentClasses
Fix: tests: Add explicit items method for Mapping compatibility
Tests: sync normand.py with upstream
Fix: tests: Add explicit __iter__ method for Iterator compatibility
Fix: Use local_typing with Python < 3.5.3

ptest results:

1..19926

DURATION: 127
END: /usr/lib/babeltrace2/ptest
2025-09-11T20:25
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 005377ea98f73af37dc8596668ab40e6b63c0b28)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Fabio Estevam
f862d137f4 kmscube: upgrade to latest revision
Upgrade to the latest kmscube revision.

(From OE-Core rev: 205d7d1133370d3be4b2f38b04a2a7d785f779af)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Markus Volk
0bc2b9c176 freetype: add PACKAGECONFIG for brotli
Enabling brotli adds support for processing WOFF2 fonts.

(From OE-Core rev: 9fb7d84ce489d3f8a5b92027593d883f207b5455)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Deepesh Varatharajan
a450fa44a8 binutils: stable 2.45 branch updates
Below commits on binutils-2.45 stable branch are updated.

316da476e61 visium MAX_MEM_FOR_RS_ALIGN_CODE
b58f54a9bde strip: Don't treat fat IiR objects as plugin object
a71a4df76e2 strip: Treat "default" output_target as unspecified
96114b5c147 strip: Don't check target_defaulted in input BFD
2b2e51a31ec libctf: link: rejig lazy opening to not need weak symbols
ae8c1b4241a libctf: don't run tests requiring deduplicating linker unless one is in use
e54a1de9515 libctf: exclude always-emitted Solaris symbols from the symtypetab
32830073ea0 libctf: get libctf-nobfd.ver from the right place with Solaris ld
404cb58a92f libctf: do not use mmap on Solaris 11
99f48156dd1 LoongArch: Fix symbol size after relaxation
d45e8bff0b4 libiberty: sync with gcc
b09f71c1c46 Re: resbin: don't pass NULL as printf %s arg
72d7cfff264 PR 33229 nds32 gas segfaults on gcc output
879eabba0fc Fix more unused variable warnings
29996106c19 Fix unused variable warnings
5541a7e7712 binutils: drop unused note_size, contents, old variables
f4290b25097 bfd: drop unused elt_no
2a07e06e269 Re: Re-enable development on the 2.45 branch
ad8cf343ab5 Re-enable development on the 2.45 branch

Test Results:
                                 Before  After  Diff
No. of expected passes            315     317    +2
No. of unexpected failures        1       1      0
No. of untested testcases         1       1      0
No. of unsupported tests          9       9      0

96114b5c147 strip: Don't check target_defaulted in input BFD
The above commit adds the newly passing test cases.

PASSed tests changes
+PASS: binutils-all/x86-64/pr33230.obj ( --strip-debug)
+PASS: binutils-all/x86-64/pr33230.obj (--input-target=default --strip-debug)

(From OE-Core rev: 324f75bffa95a1b97048032f9bdaf0ff7d770f7a)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
3174e5864d ffmpeg: update 7.1.1 -> 8.0
libpostproc removed upstream.

License-update: formatting.

(From OE-Core rev: 4ab049c30ca125f19b7547e627251a2dafbebee7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
9061704a74 xkeyboard-config: update 2.44 -> 2.45
License-update: disclaimer and copyright clarifications per
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/821

Replace manual symlink creation with a meson option.

Drop no-op autoconf options.

Adjust packaging as this is where upstream installs now.

(From OE-Core rev: 44c12d01577e9394e38a0c7c90904855f643bad3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
c1664bf36b pango: update 1.56.4 -> 1.57.0
(From OE-Core rev: cd9ef2a83d76502fc3dd4442ffa179ee8efd3fb6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
a0cbeb552d igt-gpu-tools: update 1.30 -> 2.1
Drop patch merged upstream.

(From OE-Core rev: cf26158dc72047d906d3e0faf9d36ff078345ce4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
ebd7baf5f1 fontconfig: update 2.15.0 -> 2.17.1
Tarballs have relocated to gitlab.

Convert to meson.

License-update: trim the code, keep only the license
(there used to be a second copyright notice from a different author but
with mostly same MIT-ish content)

Add a backport to fix musl builds.

(From OE-Core rev: 17b146eb9584f71b62a9b8363a1d4fa91e8a24a8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
4c56cbbdee cargo-c: update 0.10.14 -> 0.10.15
(From OE-Core rev: 363cc3166329d2457c531e7d6375fe0c63f1e90e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
0a114683a5 python3-pip: update 25.1.1 -> 25.2
License-update: drop typing extensions license as it has been removed from vendor directory.

(From OE-Core rev: 0e6bc0faf91bb06c581a1161f46b8806d18736e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
ab4f8bab2b python3-pbr: update 6.1.0 -> 7.0.1
Drop 0001-change-shebang-to-python3.patch
(the change is made only to tests which aren't installed,
and probably isn't necessary to begin with as upstream
would've fixed it already).

Merge .inc into .bb.

Switch away from setuptools3 as pyproject.toml now exists.

(From OE-Core rev: c64d44e48519816f319fb48ea067df6861ba6f71)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
5d7a1af68f python3-booleanpy: update 4.0 -> 5.0
pypi's inability to make up its mind regarding separators goes on
(and on and on).

(From OE-Core rev: 9ddb5e8e23ec4747f26713e1937878abd8d7fc60)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
2a86f487d7 pypi.bbclass: add / to UPSTREAM_CHECK_URI value
This avoid an unnecessary 301 redirect and is matching the spec:
https://packaging.python.org/en/latest/specifications/simple-repository-api/#project-detail

(From OE-Core rev: 783ce696f2ac841903ea0015f64e6a370ccc7530)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
692f067053 librepo: update 1.19.0 -> 1.20.0
Drop 0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
as upstream added pkg-config support at last.

(From OE-Core rev: 45e7bf27e746b12a9de1435bdb2a77196d725373)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
7474ec79bd ovmf: update 202502 -> 202508
Remove backports.

(From OE-Core rev: 172587a0288cde8137c836147d261fd50072ff05)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
52cd561427 ovmf-shell-image: move .wks file to its own directory
If it's in ovmf/, devtool thinks it belongs to the ovmf recipe
and then deletes the file as it is not referred to by that recipe
anywhere.

(From OE-Core rev: 47ff80080f336098c962281675026901978a09bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Alexander Kanavin
f90b30021b gnupg: update 2.5.5 -> 2.5.11
2.5.x are pre-releases (there was an update to 2.5.0 one year ago by mistake), but
it's good to pull in bug fixes and stabilisation and stay close to eventual final release.

(From OE-Core rev: 2c0abc3d96f5dcf6d21fcf3198515dfb1ceb280a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Khem Raj
0e853c1ce7 clang: Upgrade to 21.1.1 release
Brings following bugfixes on top of 21.1.0

* 5a86dc996c26 [Xtensa] Fix lowering FP compare operations.
* bb383adfafca [SCEVExp] Fix early exit in ComputeEndCheck. (#156910)
* 2daad319889d [LV] Don't run instcombine for interleaved-accesses test.
* 2d726485a4a3 [LV] Add more tests for interleave groups requiring predicates.
* 81d3b6ee82bf [X86] Only fold AND/ANDNP back to VSELECT if we know the predicated mask select is legal (#156663)
* 41df6d5e08b0 [CMake][AIX] Enable CMP0182: Create shared library archives by default (#155686)
* 35f812f23263 compiler-rt: Use OpenBSD's elf_aux_info to detect AArch64 HW features (#155768)
* c75a0754d358 [builtins] Rename freebsd to elf_aux_info to reflect the function called. NFCI (#155749)
* 0bbb93672952 [libc++] Fix broken precondition of __bit_log2 (#155476)
* 677a8a2d3c5a [compiler-rt] Remove leftovers of FreeBSD md5/sha2 interceptors (#153351)
* fa462a66e418 [lldb][DataFormatter] Allow std::string formatters to match against custom allocators (#156050)
* 12fbb344a1e8 [Coroutines] Restore accidentally dropped intrinsic IDs
* 160ad51687cc [clang][docs] Fix implicit-int-conversion-on-negation typos
* e0d94d9626e4 [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (#156681)
* b4274c3bc8ee [DebugInfo] When referencing structured bindings use the reference's location, not the binding's declaration's location (#153637)
* 7a077a1b312b [libc++][AIX] Fixup problems with ABI list checking (#155643)
* 85e3f8ec7ff6 Remove EH_LABEL comments from tests
* 3751e53c3e89 [AArch64][BTI] Add BTI at EH entries. (#155308)
* f8a0ecfc6108 [compiler-rt] Avoid depending on the libnvmm header for NetBSD (#153534)
* 113916ccf75f [lldb][ClangASTImporter] Don't ASTImport LambdaExpr nodes (#154962)
* 362b99f60ef5 [libcxx][fstream][NFC] Make __failed helper lambda a member function (#149390)
* b7c18c1e7ac0 [libc++] Ensure that we restore invariants in basic_filebuf::overflow (#147389)
* b63daf6312ab [RISCV] Cost casts with illegal types that can't be legalized (#153030)
* ca11cf3afa42 [clang-format] Use proper flags for git diff-tree (#155247)
* 27f0e6e579b7 [clang][PAC] Fix builtins that claim address discriminated types are bitwise compatible (#154490)
* e35cb1a59b3e [clang] Make sure EvalInfo pointer isn't null (#155563)
* acabba4f6d30 [NVPTX] don't erase CopyToRegs when folding movs into loads (#149393)
* 0e5c3f9b58b9 [mlir][cmake] Fix mlir target export (#153341)
* 1f1a20bcb03d [AArch64][PAC] Do not execute AUT instructions speculatively (#155372)
* d69907d99beb [AArch64][PAC] Fix clobbering registers by BLRA and AUTH_TCRETURN (#155373)
* 9f3f813c94f5 Add pointer auth documentation to contents (#155763)
* 7dbfe40cb318 [libc++] Disable cv-qualified arithmetic hash specializations (#155786)
* ef3a6bd37c15 [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (#155957)
* 35215b6412b4 [SLP]Do not to try to revectorize previously vectorized phis in loops
* 64dd5399f7a1 [sanitizer_common] Older Haiku needs _GNU_SOURCE (#156291)
* 95608643573a [LoongArch] Fix broadcast load with extension. (#155960)
* 0d6736704f38 [X86] getScalarMaskingNode - if the mask is zero just return the blended passthrough and preserved source value (#153575)
* 1db648d1016d [release] Correct download links for Windows on Arm packages (#156459)
* 562605cef22a ThinLTOBitcodeWriter: Emit __cfi_check to full LTO part of bitcode file.
* 33e18acf4a03 [Analyzer] No longer crash with VLA operands to unary type traits (#151719)
* 8b6caff342c3 Bump version to 21.1.1

(From OE-Core rev: 98a1ef53e6f3d10b3cc65ea3dd107300cf2cb722)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Peter Kjellerstedt
7a3d701977 Revert "coreutils-native: don't install groups"
This reverts commit 113225b93c55d55a330fcca7d9f996ec039fb953.

The groups command was previously installed by shadow. Therefore the
one provided by coreutils was removed for native to avoid a conflict.
However, since version 4.17.0, shadow no longer installs a groups
command and thus there is no conflict anymore.

(From OE-Core rev: f1bfe923d06dc82c391b8d774e5c596016130150)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Dmitry Baryshkov
eb2e493d37 libglvnd: RPROVIDE "standard" package names
Some packages like cogl-1.0 RDEEPND on the GL / GL ES / EGL packages
directly. Reuse the package names RPROVIDEd by the non-glvnd mesa builds
for the libglvnd in order to let it fulfill the dependencies.

(From OE-Core rev: b4beb7440f0b86b73d5cc67ff69d47cc7f71625d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Ross Burton
a32f0fc0b7 wic: add --extra-space back for compatibility
The --extra-space argument was renamed to --extra-filesystem-space to
be clear what space is being added to, but this breaks existing wic
files.

Add back --extra-space as an alias for --extra-file-system-space so that
existing wks files don't fail.

[1] oe-core 39d10137b86 ("wic: rename wks flag --extra-space to --extra-filesystem-space")

(From OE-Core rev: 1d2a714fbe96fa3115fafb1d4d29667b6ae4a881)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Ross Burton
a821638e78 libical: improve buildpath situation
Take an upstream patch to remove buildpaths from the generator's CMake
files, so we don't need to sed them out.

Also, the generator tool is only needed when cross-compiling libical,
so we don't actually need to install it in the target package. This has
the nice side-effect of removing libxml2 from the target RDEPENDS as it
is only used in the tool.

(From OE-Core rev: 01ac9719b32088a809ca1553fceba71cec31054d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Ross Burton
b735ab8056 libical: update patch status
The 0001-cmake-Do-not-export-CC-into-gir-compiler.patch changes have
been merged upstream.

(From OE-Core rev: a3fe63ec859f72a19e49a5c7677c263240a68a98)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Peter Kjellerstedt
f86653b666 meson: Backport patches to support dependencies on header-only Boost libs
With Boost 1.89.0, the Boost.System library was made header-only. Since
this is a frequent library to have as dependency in meson.build files,
this resulted in build failures.

Backport two patches so that Boost dependencies on header-only libraries
work as expected.

(From OE-Core rev: 0cda83cf02169da37e196cb6827177192c5c298c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Gyorgy Sarvari
c03aa1cdfd libpng: upgrade 1.6.48 -> 1.6.50
Changelog:
Version 1.6.49 [June 12, 2025]
  Added SIMD-optimized code for the RISC-V Vector Extension (RVV).
    (Contributed by Manfred Schlaegl, Dragos Tiselice and Filip Wasil)
  Added various fixes and improvements to the build scripts and to
    the sample code.

Version 1.6.50 [July 1, 2025]
  Improved the detection of the RVV Extension on the RISC-V platform.
    (Contributed by Filip Wasil)
  Replaced inline ASM with C intrinsics in the RVV code.
    (Contributed by Filip Wasil)
  Fixed a decoder defect in which unknown chunks trailing IDAT, set
    to go through the unknown chunk handler, incorrectly triggered
    out-of-place IEND errors.
    (Contributed by John Bowler)
  Fixed the CMake file for cross-platform builds that require `libm`.

Ptests successfully passed:

============================================================================
Testsuite summary for libpng 1.6.50
============================================================================
# TOTAL: 32
# PASS:  32
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

(From OE-Core rev: d804ae6e19b5f9d92d9384dd470ae0acf0fb8e1d)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Gregor Herburger
6c9726de09 gcc: fix local include path for nativesdk-gcc
By default GCC uses /usr/local/include as the local include prefix.
When building the nativesdk-gcc package, this makes gcc look in the
hosts /usr/local/include and may use non-SDK headers.

Example from current poky:
$# x86_64-pokysdk-linux-gcc -v -E - </dev/null
 #include <...> search starts here:
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/15.2.0/include
  /usr/local/include
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/include
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/15.2.0/include-fixed

Define LOCAL_INCLUDE_DIR along with the other include directories in
defaults.h to set the local include directory to the directory in the
sysroot.

(From OE-Core rev: dadd1e0ec6ad4cf572964c18fa304be9f382f885)

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-15 17:57:23 +01:00
Richard Purdie
dcb834c4f8 perf: Fix reproducibility issue
Perf's build process generates two copies of its internal headers,
one at tools/lib/perf/include/internal and one at libperf/include/internal
with files like xyarray.h. Although the files are identical, the binaries including
them would see them at different paths and have different debuginfo data.

To avoid this, build libperf.a first, which will ensure the libperf
headers directory exists. This is used in preference to the other by
the build process and results in consistent binaries.

(From OE-Core rev: 0a886fcacaab0fbce1306c0f99d482f940a8f705)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-12 10:30:53 +01:00
Bruce Ashfield
37b5281e90 poky: bump default kernel reference to 6.16
Bumping the reference kernel to 6.16. We keep the alt distro
on 6.12 for better coverage.

(From meta-yocto rev: 2ff9be23fffeec94bc5156166ad157b0a59e076d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Bruce Ashfield
fe45e88793 yocto-bsp: introduce 6.16 bbappend
Adding support for our remaining reference boards with the 6.16
kernel by introducing this bbappend.

We no longer need the patches in the 6.12 kernel bbappend as they've
been pulled into the kernel tree itself.

(From meta-yocto rev: 701ce3b9f197ee957a8853d4f41f040e90ff39fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Gyorgy Sarvari
ac337dab5b librsvg: add ptest support
The suite is quick, it takes ~5 seconds on my machine to execute.

The tests consist of 2 or 3 parts, depending on how one counts them.

The apitest PACKAGACONFIG compiles tests for the c-interface, as part of
the main meson build. This apitest expects test data to be present in
a folder relative the test binary: ../../rsvg/tests folder.

ptest-cargo compiles two sets of test: rsvg-convert tests, and generic assorted
tests for the library, in multiple binaries.

The rsvg-convert tests expect test data to be present in a "tests" folder,
in the same folder where the test binaries are.

The library tests expect the tests to be in a folder called "tests", that's
location is specified by the CARGO_MANIFEST_DIR environment variable.

As part of compiling the cargo tests, rsvg-convert is also compiled specifically
for the tests, however it is not supposed to be different from the actual binary.
It is deleted from the test set, because of two reasons:
1. It is not bit-identical to the actually installed rsvg-convert (it is compiled differently,
   with cargo only, without meson)
2. ptest-cargo class treated it as a test binary, and tried to execute it, which resulted
   in failing/hanging test.

It is avoided by not installing this binary, but rather use the real rsvg package
as a runtime dependency, and create a symlink to it in the run-ptest script.

Added liberation-fonts as a runtime dependency to the tests - the rsvg-convert
tests require some fonts to be available to be able to render during some
svg->pdf conversion tests.

(From OE-Core rev: 3aee16beac9b12403babfc7eef02be71b2297e70)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Khem Raj
86970c73bf kexec-tools: Fix build with LLD linker
With hardcoded -Ttext,0x10000 and newer toolchains emitting
.note.gnu.property before .text, the link can fail with an overlap.

Provide a minimal linker script that:
  - sets the image base to 0x10000,
  - places .text first at exactly 0x10000,
  - moves .note.gnu.property after .text,
  - optionally fixes .bss at 0x12000.

Works with both ld.bfd and LLD 21+.

(From OE-Core rev: 049ce8ad241bae31c22b83788e732080f7d04526)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Khem Raj
0f288ce34e grub,grub-efi: Always use BFD linker with clang
LLD 21+ is erroring on text address being lower than the default
segment address for binaries. Erroring during configure e.g.

cannot link at address 0x2000

With LLD 21, -Ttext,<addr> only moves the .text section
it does not change the image base and LLD 21 errors out
if any section VMA is below the image base and the segment (image)
base still defaults to 0x400000 when using LLD, hence the error

LLD support in Grub needs to be done properly, it will need
to adjust how linker options are constructed in configure. We
default to use BFD linker always when using clang for now.

(From OE-Core rev: d1194c1a42fc7877a0c99c77e5291216a11ea5dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Manuel Leonhardt
ffe0aa9cda image.bbclass: preserve debugfs tarball with checksum fstype
Previously, when adding checksum fstypes to IMAGE_FSTYPES_DEBUGFS, e.g.
IMAGE_FSTYPES_DEBUGFS = "tar.bz2 tar.bz2.sha256sum", only the checksum
file remained in DEPLOY_DIR while the tarball file was removed. The
underlying issue was that inside gen_conversion_cmds, removing the
debugfs_ prefix from type broke the comparison with alltypes where the
prefix was expected.

(From OE-Core rev: 560c7676b81fb344b7db538d65973a49807ab140)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Daniel Wagenknecht
a1bd1174ce buildtools-tarball: handle missing host pkg-config gracefully
The host might not have pkg-config installed, which is OK when using the
buildtools-extended-tarball, since that contains pkg-config. So the command in
the generated environment-setup-* script for setting HOST_PKG_PATH is expected
to fail in some cases without this being an error.

The generated environment-setup-* script might be sourced in a shell with
activated `errexit` option. Prevent the expected failure of this command from
being treated as an error.

The only usage of the HOST_PKG_PATH variable is in this script and already
handles the case of the variable being empty. The variable is not exposed to
anywhere outside this script so the effects of this change are limited to this
script.

(From OE-Core rev: 049a802cef23f9ecb5d373c0d27753a891a4b5a6)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Jose Quaresma
7882955c3b yocto-check-layer: show the distro used
It is good to know which distribution is being used, because it is not the same
whether we are using the poky or openembedded-core+bitbake repository.

The default distribution of bitbake is the nodistro while the other is poky.
The nodistro and poky produce different results when used to check the compatibility
of a layer so it is important to inform about the distro in use.

(From OE-Core rev: bcc74229e6d5a716a9f65546665a42478295dece)

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Gyorgy Sarvari
95dd4137a1 libassuan: don't search for gpgrt-config on build host
When another project uses the libassuan.m4 file to find libassuan details,
the macro first tries to execute the gpgrt-config executable if it can find
any in the PATH. However it also prepends the PATH with ${prefix}/bin, which
usually translates to /usr/bin - in case the build host has this executable
installed, then it is executed, and it shows warnings about mis-matched
architecture before pkg-config would be executed.

To avoid this, extend the existing patch to not prepend the PATH with the
build host path - the existing PATH should be good enough.

(From OE-Core rev: d5e41e1cee17c25a63a9df0769052ff4dce44333)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Peter Kjellerstedt
46455d3025 systemd.bbclass: Make systemd_postinst run as intended
After the switch from using a systemctl written in Python to using the
official version of systemctl from the systemd project, the
systemd_postinst function has effectively not been executed during the
rootfs creation. The reason is that systemctl provided by
systemctl-native fails if run without arguments (as systemd_postinst
does):

  Failed to connect to system scope bus via local transport: Operation
  not permitted (consider using --machine=<user>@.host --user to connect
  to bus of other user)

This is not seen in the logs since stderr is sent to /dev/null, and the
only way to tell that there is a problem is because systemd services
that are expected to be enabled aren't running.

The reason this has gone unnoticed is because systemd_handle_machine_id
in rootfs-postcommands.bbclass will call systemctl preset-all, which in
most cases will create the missing links to enable the systemd services.

This change effectively reverts commit
a52e66762c0c51918b1ba3d4622759637b6e920a (systemd.bbclass: update
command to check systemctl available) and instead only runs systemctl
without arguments (to determine that it can communicate with systemd)
when executed on target.

(From OE-Core rev: 5b86efb5c9ca782fd0f8ff306f82583ec1e5e909)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:57 +01:00
Peter Kjellerstedt
7bd0510740 systemd-systemctl-native: Install systemd-sysv-install
It is needed when support for both systemd and sysvinit are enabled.

This also adds a patch for systemctl to call systemd-sysv-install
without a hardcoded path and instead relies on finding it in $PATH. This
is needed when calling systemctl from a recipe sysroot.

(From OE-Core rev: 30140cb9354fa535f68fab58e73b76f0cca342e4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Peter Tatrai
68b64fda69 connman: avoid hiding implementation-reserved symbols in version scripts
This commit adds a patch to ConnMan that modifies the version scripts
(src/connman.ver and vpn/vpn.ver) to avoid hiding implementation-reserved
symbols (such as _IO_stdin_used). Previously, using 'local: *;' in the
version script caused glibc's libio to misdetect the libc version,
resulting in a crash when printing to stdout (e.g., running 'connmand
--help') on PowerPC.

The new patch changes 'local: *;' to 'local: [!_]*;', following the
recommendation in glibc bug 17908
(https://sourceware.org/bugzilla/show_bug.cgi?id=17908). This ensures
that symbols starting with an underscore are not hidden, allowing libio
to correctly detect the libc version and preventing the crash.

(From OE-Core rev: fb2e29fc6931dc03ec892908e8e22d869d992f76)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
069796b00e mesa: upgrade 25.2.0 -> 25.2.2
Changelog for 25.2.1: https://docs.mesa3d.org/relnotes/25.2.1.html
Changelog and sha256sum: https://docs.mesa3d.org/relnotes/25.2.2.html

(From OE-Core rev: 6315f54c1eedd18155a54c98d0b5872a7d74c6d4)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
b710152548 mesa: fix panfrost driver build
Panfrost drivers require libclc, so let's force libclc to be present in
the PACKAGECONFIG to build the drivers.

Reported-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: 4dc35b0194e30b321976da2f09cf70028346936d)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
ff07745cbd mesa: avoid host path poisoning when enabling OpenCL
When enabling rusticl (and the shared-llvm meson feature via the
gallium-llvm PACKAGECONFIG documented dependency), the clc headers are
looked on the filesystem at runtime. Unfortunately, part of the lookup
path contains LLVM_LIB_DIR, a variable derived from llvm_libdir meson
variable. The latter is required to figure out where the clang/llvm
libraries are for the cross-compiler but the former is used when running
on the target. When in a cross-compiling environment, LLVM_LIB_DIR would
actually point at a non-existing path (the sysroot path on the build
host) instead of the target path. This sadly triggers a buildpaths QA
error in addition of being incorrect.

Another option is to bundle the clc headers directly inside the binary
instead of looking them up at runtime, something we can do with
mesa-clc-bundle-headers meson feature.

So let's do that to fix the issue and buildpaths QA error.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: cd0e70d6cee5ccb698bbcfd4dbc10675649556e7)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
6e54c8c7ff mesa: avoid host paths poisoning
At least panfrost and asahi drivers are prone to host paths poisoning
due to unpatched __FILE__ macro in assert() of libcl.

The compilation units for files including this file all are passed
specific arguments via the cl_args meson variable which currently only
contains one fmacro-prefix-map entry for relative paths. However, there
are also absolute build and source paths that seem to make it to the
generated files and libraries so this patches mesa to also strip those
paths.

Note that out of the four paths in the default DEBUG_PREFIX_MAP, only
the source and build directories make it to the fmacro-prefix-map and
they aren't mapped like they are when used with ffile-prefix-map in
DEBUG_PREFIX_MAP as I'm not sure if it is at all possible for meson to
fetch this Yocto-provided path we should be mapping to in the current
mesa code base. I guess this is good enough for now.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: 5948e618b7746ac333c1ec3ca99b66bd3faeb2ba)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
83987d100d mesa: allow to disable xmlconfig support
>From my understanding, xmlconfig is useful for "dynamic" driconf
support, i.e. driconf the user specifies at runtime.

According to the wiki[1], driconf is useful for OpenGL drivers.

I wager we mostly don't need xmlconfig at all which may allow us to also
get rid (in most cases) of the expat dependency. But that is an
optimization to investigate later, so let's keep xmlconfig enabled for
now as it is the default whenever the meson feature is not disabled
(defaults to auto) and expat is found (currently part of DEPENDS in
mesa.inc).

This will be useful for mesa-tools-native which isn't meant to compile
drivers and thus shouldn't try to compile driconf support and install
driconf example files.

Technically, xmlconfig depends on the expat meson feature (and the
presence of the expat build dependency) but the feature is default auto
so having expat dependency in xmlconfig PACKAGECONFIG seems enough
instead of having one PACKAGECONFIG depend on another PACKAGECONFIG's
presence.

[1] https://dri.freedesktop.org/wiki/DriConf/

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: b1fae868569cabfef6c2160c7a3cfe0c13421bbc)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
8beb97de7c mesa: add asahi to TOOLS when selected in PACKAGECONFIG
Similarly to panfrost and other PACKAGECONFIG, mesa has tools for asahi.
So let's build the tools whenever asked.

While the tools are often built regardless of their presence in the
"tools" mesa option whenever the appropriate gallium or vulkan driver is
built, this allows to build the tool(s) without building the drivers
which can be beneficial for native recipes where it makes little sense
to build drivers.

This will be useful for building asahi_clc precomp-compiler in native
mesa for example which only builds if:
 - one enables the asahi gallium driver, or
 - one enables the asahi vulkan driver, or
 - one builds the asahi tools
c.f. https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-25.1.5/src/asahi/meson.build?ref_type=tags#L12-L17

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: df1fea34fa55d21f0a228167bfc44518f07508a0)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
63c7be5df7 mesa-gl: make recipe target only
According to the introducing commit log[1] and Dmitry's recollection[2],
the whole point of mesa-gl recipe is to provide GL library in case there
are vendor-provided GLES libraries.

Therefore, let's make this recipe target only by removing the
BBCLASSEXTEND variable.

No intended change in behavior for the target recipe.

[1] https://git.yoctoproject.org/poky/commit/?id=015cb13a67c672de30f5384dab5ab4b8db305281
[2] https://lore.kernel.org/openembedded-core/5ebxxyvkcur3zpef5krvyizomgdgtls4qau7s2i2mgcmvs2loy@ilcud37qk6sn/

Suggested-by: Ross Burton <ross.burton@arm.com>
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: 1796b2d2edcadf181795181ada48d1aa64e4da24)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Ross Burton
1c8510c242 mesa: assign S in include file
Anything including mesa.inc will have the sources extracted in
${UNPACKDIR}/mesa-${PV}.

The default for S is ${UNPACKDIR}/${BP}. ${BP} is ${BPN}-${PV}. Because
mesa.bb is named mesa, BPN will be mesa and thus S wasn't required for
mesa.bb but only for mesa-gl.bb. This also explains why this change is
fine for mesa.bb as the value of S won't have changed, the ${BPN} part
is now just hardcoded to "mesa" for mesa.bb instead.

No intended change in behavior.

(From OE-Core rev: a77c0f5919fbef6e076d2b085f71c8bbbfc9188a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
[added commit log and title]
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
06b876d916 mesa: move BBCLASSEXTEND out of the include file
We're going to have a new mesa-tools-native recipe include mesa.inc
soon. We don't need a target mesa-tools recipe for now so we'll go with
a native-only recipe which this BBCLASSEXTEND prevents us to do
properly, so let's move them to the recipes instead.

No intended change in behavior.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: 8bf89f19b7b18b81f4dc59e89a16f4136c914137)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
a34162bd2a mesa: move PROVIDES out of include file
There currently are two recipes including mesa.inc: mesa-gl and mesa.

Because mesa-gl.bb already sets PROVIDES, overriding the value it should
be getting from mesa.inc, move PROVIDES from mesa.inc to mesa.bb,
keeping the value in mesa-gl.bb intact.

Because GLPROVIDES is not used in mesa-gl.bb, it also is only moved to
mesa.bb.

No intended change in behavior.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: c5add09c735d4a6686b2dc826f065dac2dd191bf)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
22138e0a2b mesa: move PACKAGECONFIG defaults to recipes
We're planning on reusing mesa.inc for a new mesa-tools-native recipe
which will require much less in terms of PACKAGECONFIG than the actual
mesa recipes.

It also doesn't make a lot of sense to have a default PACKAGECONFIG in
an include file inherited by multiple recipes (here mesa and mesa-gl)
which is highlighted by the fact that the only other recipe that
includes mesa.inc (mesa-gl) overrides PACKAGECONFIG (hence why mesa-gl
only gets a partial migration of PACKAGECONFIG defaults.

No intended change in behavior.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: 9f80d5bc49f46b371c62405ec3f974b4eee2caee)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
df8069cb4f mesa-gl: use bb.utils.filter to improve readability
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" is
exactly the same as ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} so
use the latter to make it easier on the eyes.

Suggested-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: 1522c7d371d989d42bd992017a784d6b319d3f38)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Quentin Schulz
b40b112f32 mesa-gl: make mesa-gl really openGL-only
The ??= operator for PACKAGECONFIG doesn't actually do anything because
the recipe includes mesa.inc which already sets this variable (with the
= operator).

This probably wasn't noticed until now because mesa-gl is likely only
ever built in its target flavor which was already set correctly thanks
to the :class-target override.

This essentially only make mesa-gl-native and nativesdk-mesa-gl follow
the same configuration as the target.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: ab44fa12223b126fe7d337a2eb7489f5fba94901)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Markus Kurz
b72fb3f6c3 appstream: upgrade 1.0.5 -> 1.0.6
Changelog
=========

Features:
 * compose: Accept .ttc font files
 * compose: Give font icons a background shape
 * compose: Render more elaborate font sample cards

Bugfixes:
 * compose: Insert screenshot tags for auto-generated font screenshots
 * compose: Trim substring when truncating font sample text
 * meson: don't override appstreamcli when cross-building
 * compose: Prefer rendering font icon with "Regular" style
 * compose: Sanitize font text samples before using them as icon
 * Follow directory symlinks when looking for Flatpak data
 * compose: Drop bad private-header include in public header
 * compose: Drop unneeded const declaration for GKeyFile
 * Fix typo that prevented video metadata from being composed properly

(From OE-Core rev: 8c9bee08eb4106874844347eed60b9803dcc86a8)

Signed-off-by: Markus Kurz <m.kurz92@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Khem Raj
b90ea2359c spirv-llvm-translator: Upgrade to 21.1.0
(From OE-Core rev: 082977b4359d1b13506e2df9b92fd63a3627df3b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Khem Raj
673b5fd11a clang: Upgrade to 21.1.0
Clang 21.1.0 is a major release in Clang21 series

Release Notes LLVM [1] Clang [2] LLD [3] Libcxx [4]

[1] https://releases.llvm.org/21.1.0/docs/ReleaseNotes.html
[2] https://releases.llvm.org/21.1.0/tools/clang/docs/ReleaseNotes.html
[3] https://releases.llvm.org/21.1.0/tools/lld/docs/ReleaseNotes.html
[4] https://releases.llvm.org/21.1.0/projects/libcxx/docs/ReleaseNotes.html

(From OE-Core rev: 4d97e5492e70eaefe42ab397bee963a84b54a1b1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Khem Raj
21cc67546f kea: Fix build with clang/libc++ 21
Clang with libc++ hardening on, rejects Boost’s enum trait probe
which is ill-formed for scoped/limited
enums whose valid range does not include −1
(e.g. enums with values [0..3])

(From OE-Core rev: 2fa8a44981abfdf8ff5b0804612be03c4da3ca2c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Gyorgy Sarvari
9a45644d3e hwdata: upgrade 0.398 -> 0.399
Changelog: Update vendor ids

(From OE-Core rev: b7dd80d1f4c92f0590b17caf870316d0b0fc9613)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Gyorgy Sarvari
6fd9ea4704 ofono: upgrade 2.17 -> 2.18
Changelog:
Fix issue with QMI and handling SMS message acknowledgement.
Fix issue with handling SIM7100 modem ready detection.
Add support for forbidden operator list.

(From OE-Core rev: 1cae80e6350dba5b23ad64bd97086aaee1734a4f)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Khem Raj
38fabe185d libnss-nis: Upgrade to 3.4
Bring following changes on top of 3.2

* 3c206b7 (origin/master, origin/HEAD) Release version 3.4
* 09f6be4 fix: Leak in nis-initgroups.c:_nss_nis_initgroups_dyn()
* d141952 Release version 3.3
* 9a5fb67 Update autoconf files
* f062d8e Remove nis-publickey.c

Drop the lld patch, its fixed upstream by dropping the concerned code

(From OE-Core rev: 1abf3ee8953cb50321c2817464117c3c7373f28d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
b72dc78af6 linux-yocto/6.16: cfg: fix audit warnings
Integrating the following commit(s) to linux-yocto/.:

1/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: guest: make DRM guest options arch specific
    Date: Wed, 10 Sep 2025 13:38:37 -0400

    We only need some of the extended DRM options if the guest is
    x86-64 or arm64, otherwise, we get configuration warnings as
    the options are not valid.

    Restrict the architectures and we get a clean configuration
    and can build packages like vboxguestdrivers.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: debug-sched: drop SCHED_DEBUG
    Date: Wed, 10 Sep 2025 14:51:19 -0400

    Yes, we could drop the entire fragment, but then users of it
    would get config errors unessarily. We keep it to ensure that
    CONFIG_PROC is around in small configurations.

    This is dropped due to:

    commit b52173065e0aad82a31863bb5f63ebe46f7eb657
    Author: Ingo Molnar <mingo@kernel.org>
    Date:   Mon Mar 17 11:42:56 2025 +0100

        sched/debug: Remove CONFIG_SCHED_DEBUG

        For more than a decade, CONFIG_SCHED_DEBUG=y has been enabled
        in all the major Linux distributions:

           /boot/config-6.11.0-19-generic:CONFIG_SCHED_DEBUG=y

        The reason is that while originally CONFIG_SCHED_DEBUG started
        out as a debugging feature, over the years (decades ...) it has
        grown various bits of statistics, instrumentation and
        control knobs that are useful for sysadmin and general software
        development purposes as well.

        But within the kernel we still pretend that there's a choice,
        and sometimes code that is seemingly 'debug only' creates overhead
        that should be optimized in reality.

        So make it all official and make CONFIG_SCHED_DEBUG unconditional.

        Now that all uses of CONFIG_SCHED_DEBUG are removed from
        the code by previous patches, remove the Kconfig option as well.

        Signed-off-by: Ingo Molnar <mingo@kernel.org>
        Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com>
        Cc: Peter Zijlstra <peterz@infradead.org>
        Cc: Juri Lelli <juri.lelli@redhat.com>
        Cc: Vincent Guittot <vincent.guittot@linaro.org>
        Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
        Cc: Steven Rostedt <rostedt@goodmis.org>
        Cc: Ben Segall <bsegall@google.com>
        Cc: Mel Gorman <mgorman@suse.de>
        Cc: Valentin Schneider <vschneid@redhat.com>
        Cc: Linus Torvalds <torvalds@linux-foundation.org>
        Link: https://lore.kernel.org/r/20250317104257.3496611-6-mingo@kernel.org

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: x86: drop CONFIG_HIGHPTE
    Date: Wed, 10 Sep 2025 15:05:46 -0400

    commit 0081fdeccbf610499b79784998b1fd36783209dd
    Author: Arnd Bergmann <arnd@arndb.de>
    Date:   Wed Feb 26 22:37:11 2025 +0100

        x86/mm: Drop support for CONFIG_HIGHPTE

        With the maximum amount of RAM now 4GB, there is very little point
        to still have PTE pages in highmem. Drop this for simplification.

        The only other architecture supporting HIGHPTE is 32-bit arm, and
        once that feature is removed as well, the highpte logic can be
        dropped from common code as well.

        Signed-off-by: Arnd Bergmann <arnd@arndb.de>
        Signed-off-by: Ingo Molnar <mingo@kernel.org>
        Cc: Linus Torvalds <torvalds@linux-foundation.org>
        Link: https://lore.kernel.org/r/20250226213714.4040853-8-arnd@kernel.org

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

4/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: hostap: drop obselete LIB80211
    Date: Wed, 10 Sep 2025 15:19:37 -0400

    These options are no longer valid in 6.16+

    commit 02f220b5267042d0de649614eec84ded8aeecb4f
    Author: Johannes Berg <johannes.berg@intel.com>
    Date:   Mon Oct 7 20:26:55 2024 +0200

        wifi: ipw2x00/lib80211: move remaining lib80211 into libipw

        There's already much code in libipw that used to be shared
        with more drivers, but now with the prior cleanups, those old
        Intel ipw2x00 drivers are also the only ones using whatever is
        now left of lib80211. Move lib80211 entirely into libipw.

        Link: https://patch.msgid.link/20241007202707.915ef7b9e7c7.Ib9876d2fe3c90f11d6df458b16d0b7d4bf551a8d@changeid
        Signed-off-by: Johannes Berg <johannes.berg@intel.com>

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 0778acc56fa18e2af9cc090eddccf33914926be7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
c0dfa75cb3 linux-yocto/6.16: genericarm64 config
Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: Revert "serial: 8250: unexport serial8250_rpm_*() functions"
    Date: Tue, 9 Sep 2025 22:22:53 -0400

    1/2 [
        Author: Mikko Rapeli
        Email: mikko.rapeli@linaro.org
        Subject: Revert "serial: 8250: unexport serial8250_rpm_*() functions"
        Date: Thu, 28 Aug 2025 09:33:16 +0300

        This reverts commit 7ba4f02e12e6f2409c5b2afae2963089b5673482.
        Needed by revert of 8700a7ea5519fb0b3bad2362adfeac358c2119ce
        which causes kernel hangs when starting getty's on BeaglePlay.

        [ YOCTO #15704 ]
        https://bugzilla.yoctoproject.org/show_bug.cgi?id=15704

        Upstream-Status: Inappropriate

        Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
        Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
    ]

    2/2 [
        Author: Ross Burton
        Email: ross.burton@arm.com
        Subject: Revert "serial: 8250_omap: Drop pm_runtime_irq_safe()"
        Date: Thu, 28 Aug 2025 09:33:17 +0300

        This reverts commit 8700a7ea5519fb0b3bad2362adfeac358c2119ce.

        The genericarm64 machine sets SERIAL_CONSOLES to a number of potential
        devices:

        SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2"

        With sysvinit this turns into getty lines in inittab, and with systemd
        the systemd-serialgetty recipe creates explicit units to spawn gettys.

        This worked fine with 6.6, but since "serial: 8250_omap: Drop
        pm_runtime_irq_safe()"[1] in 6.7 onwards we see kernel hangs:

        BUG: scheduling while atomic: getty/957/0x00000002
        Call trace:
        dump_stack+0x1c/0x30
        __schedule_bug+0x60/0x90
        __schedule+0x83c/0xcf8
        schedule+0x40/0x158
        schedule_timeout+0xb0/0x1b0
        wait_for_completion_timeout+0x84/0x188
        ti_sci_set_device_state+0x134/0x220
        ti_sci_cmd_get_device_exclusive+0x24/0x40
        ti_sci_pd_power_on+0x34/0x68 [ti_sci_pm_domains]
        _genpd_power_on+0xa4/0x178
        genpd_power_on+0xb4/0x190
        genpd_runtime_resume+0xc8/0x260
        __rpm_callback+0x54/0x200
        rpm_callback+0x78/0x90
        rpm_resume+0x420/0x690
        __pm_runtime_resume+0x5c/0xb0
        omap8250_set_mctrl+0x38/0xe0 [8250_omap]
        serial8250_set_mctrl+0x2c/0x60
        uart_update_mctrl+0x98/0x120
        uart_shutdown+0x124/0x180
        uart_hangup+0x7c/0x180
        __tty_hangup.part.0+0x408/0x440
        tty_vhangup_session+0x24/0x40
        disassociate_ctty.part.0+0x48/0x1b0
        disassociate_ctty+0x30/0x48
        (full backtrace elided)

        With many thanks to TI, my understanding is that it was determined that
        the problem here is that we have a getty connected to ttyS1 which is
        actually the expansion port uart and on the BeaglePlay wired up to the
        wifi controller's debug port. The getty receives noise it doesn't know
        what to do with, and at some point the power management code does a
        suspend/result cycle of the device.  The serial drivers assume that
        child nodes use the serdev driver and they manage runtime_pm, but the
        getty opening the tty breaks a series of bad assumptions in the drivers.

        So, there are two bugs:
        1) The kernel shouldn't crash if this tty is opened
        2) The only serial port for a console on the BeaglePlay is ttyS2,
           despite others existing.

        TI are looking at (1) and other patches to follow will deal with (2).
        Until one of these is resolved entirely, reverting this change to power
        management stops the crashes.

        [ YOCTO #15704 ]
        https://bugzilla.yoctoproject.org/show_bug.cgi?id=15704

        [1] linux 8700a7ea5519fb0b3bad2362adfeac358c2119ce

        Upstream-Status: Inappropriate

        Signed-off-by: Ross Burton <ross.burton@arm.com>
        Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
        Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
    ]

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: genericarm64: temporarily use a branch
    Date: Tue, 9 Sep 2025 22:23:13 -0400

    There are two reverts needed for genericarm64 serial that we
    don't want to have on the common branches. So for now, we create
    a BSP branch to hold those reverts.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64.cfg: fix warnings from v6.16.2 kernel
    Date: Wed, 27 Aug 2025 13:08:52 +0300

    New kernel version has changed config dependencies and
    these need to be enabled explicitly. Fixes multiple
    do_kernel_configcheck warnings about ineffective configs.
    Tested kernel boot and oeqa runtime tests on arm64 build
    machine with qemu and qemu kvm and on AMD KV260

    https://ledge.validation.linaro.org/scheduler/job/119012

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 7651b2108b57751a73437ccdad7cda4a7e7a753c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
f0436b3fde linux-yocto/6.16: cfg: x86 BIGSMP removal
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: x86: drop CONFIG_BIG_SMP
    Date: Tue, 9 Sep 2025 16:07:38 -0400

    commit 0abf508675c0dbbca6a387842f90db60756c4af5
    Author: Arnd Bergmann <arnd@arndb.de>
    Date:   Wed Feb 26 22:37:06 2025 +0100

        x86/smp: Drop 32-bit "bigsmp" machine support

        The x86-32 kernel used to support multiple platforms with more than eight
        logical CPUs, from the 1999-2003 timeframe: Sequent NUMA-Q, IBM Summit,
        Unisys ES7000 and HP F8. Support for all except the latter was dropped
        back in 2014, leaving only the F8 based DL740 and DL760 G2 machines in
        this catery, with up to eight single-core Socket-603 Xeon-MP processors
        with hyperthreading.

        Like the already removed machines, the HP F8 servers at the time cost
        upwards of $100k in typical configurations, but were quickly obsoleted
        by their 64-bit Socket-604 cousins and the AMD Opteron.

        Earlier servers with up to 8 Pentium Pro or Xeon processors remain
        fully supported as they had no hyperthreading. Similarly, the more
        common 4-socket Xeon-MP machines with hyperthreading using Intel
        or ServerWorks chipsets continue to work without this, and all the
        multi-core Xeon processors also run 64-bit kernels.

        While the "bigsmp" support can also be used to run on later 64-bit
        machines (including VM guests), it seems best to discourage that
        and get any remaining users to update their kernels to 64-bit builds
        on these. As a side-effect of this, there is also no more need to
        support NUMA configurations on 32-bit x86, as all true 32-bit
        NUMA platforms are already gone.

        Signed-off-by: Arnd Bergmann <arnd@arndb.de>
        Signed-off-by: Ingo Molnar <mingo@kernel.org>
        Cc: Linus Torvalds <torvalds@linux-foundation.org>
        Link: https://lore.kernel.org/r/20250226213714.4040853-3-arnd@kernel.org

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 71ab7d4524f9325862d3d6eefba33caec340615d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
14d1499e48 linux-yocto/6.16: cfg: DRM tweaks for guests
This also fixes the build of vboxguest drivers against the
reference kernel.

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: cfg/drm: add CONFIG_DRM_TTM and CONFIG_DRM_VMWGFX
    Date: Tue, 9 Sep 2025 14:14:18 -0400

    drm-bochs is used as a baseline featur efor DRM that guests
    may need.

    We add these two options to get symbols into the kernel required
    to build guest support kernel modules.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 153181d4cb36ec50daeab185e1ab5e42113689bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
e0e96721f4 lttng-modules: update to v2.14.1
Bumping lttng-modules to the next -stable release as this fixes the
build against the latest 6.16-stable kernels.

We drop two patches that were previously backported, but are now
part of the release.

(From OE-Core rev: f4bf06d3aa87341c95e367c71cc9b54e49fcac12)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
23848300e9 linux-yocto/6.12: update CVE exclusions (6.12.44)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 3 changes (0 new | 3 updated): - 0 new CVEs: - 3 updated CVEs: CVE-2025-32100, CVE-2025-55852, CVE-2025-55944
        Date: Wed, 3 Sep 2025 20:01:09 +0000

    ]

(From OE-Core rev: 7f78db11847b54b32c2c3d6e86cf7e3a06dcd625)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
bb97216d85 linux-yocto/6.12: update to v6.12.44
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

no ids found, dumping:
    11a24528d080 Linux 6.12.44
    4edaeba45bcc alloc_fdtable(): change calling conventions.
    51e8531371f9 netfilter: nf_reject: don't leak dst refcount for loopback packets
    e133ea6dd6a7 s390/hypfs: Enable limited access during lockdown
    782a7d2ddbf2 s390/hypfs: Avoid unnecessary ioctl registration in debugfs
    ba1e8eab16d2 ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation
    66d25bb8ab0e net/mlx5e: Preserve shared buffer capacity during headroom updates
    3ef5a3a68b8f net/mlx5e: Query FW for buffer ownership
    892fe7bf7390 net/mlx5: Add IFC bits and enums for buf_ownership
    736dab2783ba net/mlx5: Relocate function declarations from port.h to mlx5_core.h
    cacc591fb03e net/mlx5: Base ECVF devlink port attrs from 0
    b510ba91ad4f Octeontx2-af: Skip overlap check for SPI field
    69c849660633 bonding: send LACPDUs periodically in passive mode after receiving partner's LACPDU
    dc17f43d9666 bonding: update LACP activity flag after setting lacp_active
    34327b362ce2 ALSA: timer: fix ida_free call while not allocated
    23ff73c9495d net/sched: Remove unnecessary WARNING condition for empty child qdisc in htb_activate
    ff57186b2cc3 net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit
    9bbf16b649b0 net: dsa: microchip: Fix KSZ9477 HSR port setup issue
    9b136c1e442b igc: fix disabling L1.2 PCI-E link substate on I226 on init
    e6e7966c3203 ixgbe: xsk: resolve the negative overflow of budget in ixgbe_xmit_zc
    30bf5728bb21 s390/mm: Do not map lowcore with identity mapping
    e94cdb9fb279 LoongArch: Optimize module load time by optimizing PLT/GOT counting
    995889c25886 microchip: lan865x: fix missing Timer Increment config for Rev.B0/B1
    71f6b75f1f4d microchip: lan865x: fix missing netif_start_queue() call on device open
    2e765ba0ee0e net/smc: fix UAF on smcsk after smc_listen_out()
    a7efffeecb88 gve: prevent ethtool ops after shutdown
    22042ffedd8c net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization
    78ba077e323f phy: mscc: Fix timestamping for vsc8584
    4931fe2dbe1c cifs: Fix oops due to uninitialised variable
    1b7862974266 net: ti: icssg-prueth: Fix HSR and switch offload Enablement during firwmare reload.
    94731cc551e2 ppp: fix race conditions in ppp_fill_forward_path
    b6be9f91c61c net: ethernet: mtk_ppe: add RCU lock around dev_fill_forward_path
    53aee4fc347c ipv6: sr: validate HMAC algorithm ID in seg6_hmac_info_add
    041e2f945f82 net: gso: Forbid IPv6 TSO with extensions on devices with only IPV6_CSUM
    af9742effde6 drm/amd/display: Don't print errors for nonexistent connectors
    97fc94c5fd3c drm/amd/display: Add null pointer check in mod_hdcp_hdcp1_create_session()
    9d9b04562628 ALSA: usb-audio: Fix size validation in convert_chmap_v3()
    a4f1b9c57092 drm/hisilicon/hibmc: fix the hibmc loaded failed bug
    d85331542e98 drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed
    c8029abe45c5 drm/hisilicon/hibmc: refactored struct hibmc_drm_private
    a0d2e6f9d34a rust: alloc: fix `rusttest` by providing `Cmalloc::aligned_layout` too
    bce19c62ed00 mlxsw: spectrum: Forward packets with an IPv4 link-local source IP
    975e2590a72e Bluetooth: hci_conn: do return error from hci_enhanced_setup_sync()
    dcb367e70770 Bluetooth: hci_event: fix MTU for BN == 0 in CIS Established
    369518d9f713 Bluetooth: hci_sync: Prevent unintended PA sync when SID is 0xFF
    3313f062338a Bluetooth: btmtk: Fix wait_on_bit_timeout interruption during shutdown
    0d340bbb8d49 Bluetooth: hci_sync: Fix scan state after PA Sync has been established
    4bdb0f78bddb iommu/amd: Avoid stack buffer overflow from kernel cmdline
    f1424c830d6c scsi: qla4xxx: Prevent a potential error pointer dereference
    313f2c85f64d rtase: Fix Rx descriptor CRC error bit definition
    bdb19cd0de73 net: bridge: fix soft lockup in br_multicast_query_expired()
    87c36bef9e0f net: xilinx: axienet: Fix RX skb ring management in DMAengine mode
    8d2bf2ec20a6 RDMA/hns: Fix dip entries leak on devices newer than hip09
    17ed810811ec RDMA/bnxt_re: Fix to initialize the PBL array
    f884c7b15ebd RDMA/bnxt_re: Fix a possible memory leak in the driver
    948577ad2876 RDMA/bnxt_re: Fix to remove workload check in SRQ limit path
    d43f27aa9e3c RDMA/bnxt_re: Fix to do SRQ armena by default
    89053e3f0c2d RDMA/hns: Fix querying wrong SCC context for DIP algorithm
    ed4f1d589168 RDMA/erdma: Fix ignored return value of init_kernel_qp
    60a56f5a54f5 rust: alloc: replace aligned_size() with Kmalloc::aligned_layout()
    846bda1478b1 iosys-map: Fix undefined behavior in iosys_map_clear()
    6bfa361d7278 drm/tests: Fix drm_test_fb_xrgb8888_to_xrgb2101010() on big-endian
    46d9ebf9fd82 drm/tests: Do not use drm_fb_blit() in format-helper tests
    f7798cb62de9 drm/format-helper: Add generic conversion to 32-bit formats
    845687312b68 drm/format-helper: Move helpers for pixel conversion to header file
    d218e87db084 drm/format-helper: Add conversion from XRGB8888 to BGR888
    268a5b682a18 drm/panic: Move drawing functions to drm_draw
    8b9c53f8edd4 drm/tests: Fix endian warning
    7a60c21384c8 cgroup/cpuset: Fix a partition error with CPU hotplug
    68da1fac48f0 cgroup/cpuset: Use static_branch_enable_cpuslocked() on cpusets_insane_config_key
    cabcb52d76d3 drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
    aa2b0dc33258 spi: spi-fsl-lpspi: Clamp too high speed_hz
    a9e5924daa95 x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper
    f860000c1f5e iio: imu: inv_icm42600: change invalid data error to -EBUSY
    06230d6dec21 iio: imu: inv_icm42600: Convert to uXX and sXX integer types
    78de165b61b1 iio: imu: inv_icm42600: use = { } instead of memset()
    4bd0edbd83b6 iio: imu: inv_icm42600: switch timestamp type from int64_t __aligned(8) to aligned_s64
    3439c15ae91a tls: fix handling of zero-length records on the rx_list
    e42ac65e257b powerpc/boot: Fix build with gcc 15
    9c4afcaf8275 ovl: use I_MUTEX_PARENT when locking parent in ovl_create_temp()
    f483319e1f9b drm/i915/icl+/tc: Cache the max lane count value
    51ffbf14e261 compiler: remove __ADDRESSABLE_ASM{_STR,}() again
    ae94295132b8 drm/i915/icl+/tc: Convert AUX powered WARN to a debug message
    d0c68045b8b0 tracing: Limit access to parser->buffer when trace_get_user failed
    e1fdc506c315 tracing: Remove unneeded goto out logic
    c456108605f5 iio: temperature: maxim_thermocouple: use DMA-safe buffer for spi_read()
    cce55ca4e7a2 iio: light: as73211: Ensure buffer holes are zeroed
    1856de52e0f4 iio: light: Use aligned_s64 instead of open coding alignment.
    8e64b52bc895 usb: dwc3: pci: add support for the Intel Wildcat Lake
    f49697dfba29 usb: dwc3: Remove WARN_ON for device endpoint command timeouts
    900fdc733f84 usb: dwc3: Ignore late xferNotReady event to prevent halt timeout
    2f7fc6ec5a11 usb: xhci: Fix slot_id resource race conflict
    adeb6ccc145f usb: typec: maxim_contaminant: re-enable cc toggle if cc is open and port is clean
    b21f9560a970 usb: typec: maxim_contaminant: disable low power mode when reading comparator values
    b93f5d439d74 USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles
    d6f3ec41c60b usb: storage: realtek_cr: Use correct byte order for bcs->Residue
    ad105db0a264 USB: storage: Add unusual-devs entry for Novatek NTK96550-based camera
    5bbe1e67fc67 usb: renesas-xhci: Fix External ROM access timeouts
    b0cdcacd9174 usb: core: hcd: fix accessing unmapped memory in SINGLE_STEP_SET_FEATURE test
    f3b0c9ec5473 comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl()
    a3cfcd0c78c8 comedi: pcl726: Prevent invalid irq number
    92352ed2f9ac comedi: Make insn_rw_emulate_bits() do insn->n samples
    33bfc3a4cce3 usb: quirks: Add DELAY_INIT quick for another SanDisk 3.2Gen1 Flash Drive
    5ed0465d7c11 cdx: Fix off-by-one error in cdx_rpmsg_probe()
    f42e2149f2a1 kcov, usb: Don't disable interrupts in kcov_remote_start_usb_softirq()
    4e0c0771bd3e most: core: Drop device reference after usage in get_channel()
    993e0cadd807 iio: proximity: isl29501: fix buffered read on big-endian systems
    88818b5288a6 iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
    c591ba1acd08 ftrace: Also allocate and copy hash for reading of filter files
    598e1e4f392e fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable()
    baa11a683d11 mmc: sdhci_am654: Disable HS400 for AM62P SR1.0 and SR1.1
    3c778a98bee1 drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS
    87dca4c6a672 cpuidle: governors: menu: Avoid selecting states with too much latency
    b39b62075ab4 cpuidle: menu: Remove iowait influence
    d133154ca39c use uniform permission checks for all mount propagation changes
    042cf48ecf67 fs/buffer: fix use-after-free when call bh_read() helper
    003e6a315029 smb: server: split ksmbd_rdma_stop_listening() out of ksmbd_rdma_destroy()
    3adec7077192 debugfs: fix mount options not being applied
    a3888a24131a arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
    4627b6c718eb arm64: dts: ti: k3-am6*: Remove disable-wp for eMMC
    b926a5860696 arm64: dts: ti: k3-am62*: Add non-removable flag for eMMC
    cb2e511b92c1 arm64: dts: ti: k3-am6*: Add boot phase flag to support MMC boot
    3d61136945a7 btrfs: subpage: keep TOWRITE tag until folio is cleaned
    74482f0005fa ext4: preserve SB_I_VERSION on remount
    f02d8e200cb5 scsi: mpi3mr: Serialize admin queue BAR writes on 32-bit systems
    95ba8440f72d scsi: mpi3mr: Drop unnecessary volatile from __iomem pointers
    8b419b1d6f0f iio: adc: ad7173: fix setting ODR in probe
    22e29e843c88 PCI: rockchip: Set Target Link Speed to 5.0 GT/s before retraining
    4905709a195e PCI: rockchip: Use standard PCIe definitions
    32559a9ae496 PCI: imx6: Add IMX8MQ_EP third 64-bit BAR in epc_features
    d9126b98c70a PCI: imx6: Add i.MX8Q PCIe Endpoint (EP) support
    ec22f927327d Mark xe driver as BROKEN if kernel page size is not 4kB
    92d6b3747b49 mptcp: disable add_addr retransmission when timeout is 0
    43ffe59d1666 mptcp: remove duplicate sk_reset_timer call
    782470d0aa8b soc: qcom: mdt_loader: Fix error return values in mdt_header_valid()
    12e7df89a0c7 scsi: core: Fix command pass through retry regression
    6b124585a5d1 drm/amd/display: Fill display clock and vblank time in dce110_fill_display_configs
    1fa5189ab6d3 drm/amd/display: Find first CRTC and its line time in dce110_fill_display_configs
    1b7e7c371b47 drm/amd/display: Fix DP audio DTO1 clock source on DCE 6.
    34f2e0bb85c2 drm/amd/display: Fix Xorg desktop unresponsive on Replay panel
    88d5d27264ef drm/amd/display: Fix fractional fb divider in set_pixel_clock_v3
    dae271ef2b89 drm/amd/display: Don't overclock DCE 6 by 15%
    f653dd30839e drm/amd/display: Avoid a NULL pointer dereference
    be68ddbf23ff drm/amdgpu/swm14: Update power limit logic
    1414220d5b5e accel/habanalabs/gaudi2: Use kvfree() for memory allocated with kvcalloc()
    b1fbf1b68bbf kvm: retry nx_huge_page_recovery_thread creation
    0a61c9bcab64 platform/x86/intel-uncore-freq: Check write blocked for ELC
    61605c847599 s390/sclp: Fix SCCB present check
    732d4bd7b78a RDMA/rxe: Flush delayed SKBs while releasing RXE resources
    570507f08f0c ALSA: hda/realtek: Add support for HP EliteBook x360 830 G6 and EliteBook 830 G6
    8e2b8a30791b mm/memory-failure: fix infinite UCE for VM_PFNMAP pfn
    61a9f2e5c49f mm/debug_vm_pgtable: clear page table entries at destroy_args()
    0b7f6d02d490 squashfs: fix memory leak in squashfs_fill_super
    92278ae36935 NFS: Fix a race when updating an existing write
    a9f726bd1044 mmc: sdhci-pci-gli: GL9763e: Rename the gli_set_gl9763e() for consistency
    2911c2e05c35 mmc: sdhci-pci-gli: GL9763e: Mask the replay timer timeout of AER
    9fccdc9f3dc9 memstick: Fix deadlock by moving removing flag earlier
    d7dfbda8eefb mmc: sdhci-pci-gli: Add a new function to simplify the code
    9efa1a429cc2 iommu/arm-smmu-v3: Fix smmu_domain->nr_ats_masters decrement
    4652d0b6f7e6 iov_iter: iterate_folioq: fix handling of offset >= folio size
    d9f93172820a io_uring/futex: ensure io_futex_wait() cleans up properly on failure
    eb0abacdd3fc Revert "can: ti_hecc: fix -Woverflow compiler warning"
    3c06e9ad0bea sched_ext: initialize built-in idle state before ops.init()
    3c0d35b3caf5 ata: libata-scsi: Return aborted command when missing sense and result TF
    fe9da1812f86 io_uring/net: commit partial buffers on retry
    f08c80af3c9a netfs: Fix unbuffered write error handling
    06eb8b95cbc3 btrfs: send: make fs_path_len() inline and constify its argument
    7386d3e3dd2c btrfs: send: use fallocate for hole punching with send stream v2
    039d05430ecf btrfs: send: avoid path allocation for the current inode when issuing commands
    a4eac4fd1b6c btrfs: send: keep the current inode's path cached
    eb38777ad10e btrfs: send: add and use helper to rename current inode when processing refs
    a7920a7ea65b btrfs: send: only use boolean variables at process_recorded_refs()
    efb8eb976ab5 btrfs: send: factor out common logic when sending xattrs
    404dd9617257 xfs: fully decouple XFS_IBULK* flags from XFS_IWALK* flags
    4cb852e43f56 btrfs: zoned: requeue to unused block group list if zone finish failed
    e663071ae9b9 btrfs: codify pattern for adding block_group to bg_list
    9a20e95694cf btrfs: explicitly ref count block_group on new_bgs list
    da2124719f38 btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
    cd2bce7d8438 btrfs: always abort transaction on failure to add block group to free space tree
    7eb547071cd6 btrfs: move transaction aborts to the error site in add_block_group_free_space()
    dd0b28d877b2 btrfs: qgroup: fix race between quota disable and quota rescan ioctl
    8efc2a4d2fad btrfs: qgroup: drop unused parameter fs_info from __del_qgroup_rb()
    31c6235301c6 usb: typec: fusb302: cache PD RX state
    c826250c492e USB: typec: Use str_enable_disable-like helpers
    1c24f24f6b67 x86/sev: Ensure SVSM reserved fields in a page validation entry are initialized to zero
    7c303fa1f311 mm/damon/ops-common: ignore migration request to invalid nodes
    e35c822d6565 selftests: mptcp: pm: check flush doesn't reset limits
    243d21f94751 mptcp: pm: kernel: flush: do not reset ADD_ADDR limit
    6fa78478795f mptcp: drop skb if MPTCP skb extension allocation fails
    b00219888c11 ACPI: pfr_update: Fix the driver update version check
    b3967c493799 ipv6: sr: Fix MAC comparison to be constant-time
    786f6314604b sched/ext: Fix invalid task state transitions on class switch
    acd69b597bd3 net, hsr: reject HSR frame if skb can't hold tag
    3575d22e94dc LoongArch: KVM: Make function kvm_own_lbt() robust
    0a42692cdb8f drm/amd/display: Don't overwrite dce60_clk_mgr
    0961673cc5f0 drm/amd/display: fix a Null pointer dereference vulnerability
    de0780d26f6c drm/amd/display: Add primary plane to commits for correct VRR handling
    96609a51e613 drm/amdkfd: Destroy KFD debugfs after destroy KFD wq
    75a10c872cae drm/amdgpu: update mmhub 4.1.0 client id mappings
    c56ef0e7d2de drm/amdgpu: update mmhub 3.0.1 client id mappings
    20e97e9a2939 drm/amdgpu: Update external revid for GC v9.5.0
    fc647f6c51bb drm/amdgpu: Initialize data to NULL in imu_v12_0_program_rlc_ram()
    83cfdc2b018c drm/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities
    71598a5a7797 drm/amdgpu: Avoid extra evict-restore process.
    1fc9d8f5a665 drm/amd: Restore cached power limit during resume
    9225818539c7 drm/amdgpu/discovery: fix fw based ip discovery
    daaea1706de5 media: venus: venc: Clamp param smaller than 1fps and bigger than 240
    d63a2d93e8d2 media: venus: vdec: Clamp param smaller than 1fps and bigger than 240.
    639eb587f977 media: venus: protect against spurious interrupts during probe
    24dd1536d43c media: venus: hfi: explicitly release IRQ during teardown
    32798309540a media: venus: Fix MSM8998 frequency table
    2d8cea8310a2 media: venus: Add a check for packet size after reading from shared memory
    93775183e6f3 media: qcom: camss: cleanup media device allocated resource on error path
    639f5b33fcd7 media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls
    0d23b548d71e media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval
    6b499ee04b30 media: ov2659: Fix memory leaks in ov2659_probe()
    42c661c27ccb media: pisp_be: Fix pm_runtime underrun in probe
    ed905fe7cba0 media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt()
    c3d75524e100 media: usbtv: Lock resolution while streaming
    0ac47b860947 media: v4l2-ctrls: Don't reset handler's error in v4l2_ctrl_handler_free()
    d4177e8874b2 media: verisilicon: Fix AV1 decoder clock frequency
    5fd3269dfaaa media: vivid: fix wrong pixel_array control size
    c851e2c89234 media: ipu6: isys: Use correct pads for xlate_streams()
    a5c8984a5b77 media: imx: fix a potential memory leak in imx_media_csc_scaler_device_init()
    5c54ef825c9e media: hi556: correct the test pattern configuration
    7b15256361e6 media: gspca: Add bounds checking to firmware parser
    35128d4c49ff parisc: Update comments in make_insert_tlb
    98e2b6af0238 parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
    bc0a24c24cee parisc: Revise gateway LWS calls to probe user read access
    f410ef9a032c parisc: Revise __get_user() to probe user read access
    1dc6244651ed parisc: Rename pte_needs_flush() to pte_needs_cache_flush() in cache.c
    41d6a489cbe2 parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers
    8f8a07ad04da parisc: Drop WARN_ON_ONCE() from flush_cache_vmap
    753bc5f5a3f5 parisc: Define and use set_pte_at()
    537264f4b3dc parisc: Check region is readable by user in raw_copy_from_user()
    a2513b82fe7a soc/tegra: pmc: Ensure power-domains are in a known state
    033b3d0e4175 kbuild: userprogs: use correct linker when mixing clang and GNU ld
    429d50cbaff4 jbd2: prevent softlockup in jbd2_log_do_checkpoint()
    888aa660144b f2fs: fix to avoid out-of-boundary access in dnode page
    539fa8a7f163 ASoC: SOF: amd: acp-loader: Use GFP_KERNEL for DMA allocations in resume context
    9ef515e1714d amdgpu/amdgpu_discovery: increase timeout limit for IFWI init
    e2f8f9d9252b phy: qcom: phy-qcom-m31: Update IPQ5332 M31 USB phy initialization sequence
    21d9382c44a4 vhost/vsock: Avoid allocating arbitrarily-sized SKBs
    faf332a10372 vsock/virtio: Validate length in packet header before skb_put()
    7c001febe46a PCI: imx6: Delay link start until configfs 'start' written
    90fa5884bc8f PCI: imx6: Remove apps_reset toggling from imx_pcie_{assert/deassert}_core_reset
    0845e3bdb98f PCI: imx6: Add IMX8MM_EP and IMX8MP_EP fixed 256-byte BAR 4 in epc_features
    74955851ad4c PCI: endpoint: Fix configfs group removal on driver teardown
    6cf655055232 PCI: endpoint: Fix configfs group list head handling
    365cc41d527f PCI/portdrv: Use is_pciehp instead of is_hotplug_bridge
    72e849b5b16a readahead: fix return value of page_cache_next_miss() when no hole is found
    617a8d148d92 mtd: rawnand: renesas: Add missing check after DMA map
    c74e7333b5a3 mtd: rawnand: fsmc: Add missing check after DMA map
    2c2a6c4d1d5d mtd: spinand: propagate spinand_wait() errors from spinand_write_page()
    264e99d50e88 mtd: spi-nor: Fix spi_nor_try_unlock_all()
    52a14d291107 hwmon: (gsc-hwmon) fix fan pwm setpoint show functions
    d10700cbd1f0 pwm: mediatek: Fix duty and period setting
    6dff1cf891f5 pwm: mediatek: Handle hardware enable and clock enable separately
    dea337456b69 pwm: imx-tpm: Reset counter if CMOD is 0
    54299905bdc6 wifi: ath11k: fix dest ring-buffer corruption when ring is full
    c2c67e8ffd89 wifi: ath11k: fix source ring-buffer corruption
    654f9eba7e88 wifi: ath11k: fix dest ring-buffer corruption
    e4f5abdf5b25 wifi: ath12k: fix dest ring-buffer corruption when ring is full
    34606f060a7e wifi: ath12k: fix source ring-buffer corruption
    06af1f72e081 wifi: ath12k: fix dest ring-buffer corruption
    e8d817bb9ada wifi: brcmsmac: Remove const from tbl_ptr parameter in wlc_lcnphy_common_read_table()
    e0d68d52a300 iio: adc: ad_sigma_delta: change to buffer predisable
    4808ca3aa30a iio: imu: bno055: fix OOB access of hw_xlate array
    b7a840afe31f zynq_fpga: use sgtable-based scatterlist wrappers
    87bfabb3b2f4 soc: qcom: mdt_loader: Ensure we don't read past the ELF header
    12e65070d23c ata: libata-scsi: Fix CDL control
    47bf4ef2d03a scsi: ufs: ufs-pci: Fix default runtime and system PM levels
    6dc4a6eb5e7a scsi: ufs: ufs-pci: Fix hibernate state transition for Intel MTL-like host controllers
    c7c56473410b ata: libata-scsi: Fix ata_to_sense_error() status handling
    2c84f085d628 scsi: mpi3mr: Fix race between config read submit and interrupt completion
    dc8fb963742f scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE
    fee4b9e1b2f5 scsi: dt-bindings: mediatek,ufs: Add ufs-disable-mcq flag for UFS host
    19ef81195c52 dt-bindings: display: sprd,sharkl3-dsi-host: Fix missing clocks constraints
    2faccb81e3c4 dt-bindings: display: sprd,sharkl3-dpu: Fix missing clocks constraints
    785e79e1d3d7 apparmor: Fix 8-byte alignment for initial dfa blob streams
    1187dc67b931 arm64: dts: ti: k3-am62-verdin: Enable pull-ups on I2C buses
    4c02f4cd92fa arm64: dts: ti: k3-am62a7-sk: fix pinmux for main_uart1
    bc254ce9b4eb arm64: dts: exynos: gs101: ufs: add dma-coherent property
    1e20a92593a7 arm64: dts: ti: k3-pinctrl: Enable Schmitt Trigger by default
    7d90b80c2e57 arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
    0c2f2fd7dc6f btrfs: fix printing of mount info messages for NODATACOW/NODATASUM
    7b16d89fdae4 btrfs: restore mount option info messages during mount
    30776a735dea btrfs: fix incorrect log message for nobarrier mount option
    5abf2cec45b9 btrfs: zoned: fix write time activation failure for metadata block group
    275c88b797f2 ext4: fix hole length calculation overflow in non-extent inodes
    e767e51caef3 ext4: use kmalloc_array() for array space allocation
    48a6128a4a39 ext4: don't try to clear the orphan_present feature block device is r/o
    0bbcd9434c56 ext4: fix reserved gdt blocks handling in fsmap
    4fa1098957e0 ext4: fix fsmap end of range reporting with bigalloc
    14cfb25eaf79 ext4: check fast symlink for ea_inode correctly
    daf7938a205f tracing: fprobe-event: Sanitize wildcard for fprobe event name
    d5ab785183ae ksmbd: extend the connection limiting mechanism to support IPv6
    36e010bb865f ksmbd: fix refcount leak causing resource not released
    25e39d8da1f9 Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"
    90bc64329612 crypto: octeontx2 - Fix address alignment on CN10KB and CN10KA-B0
    ee44c1e0ca68 crypto: octeontx2 - Fix address alignment on CN10K A0/A1 and OcteonTX2
    dc2579cee57d crypto: octeontx2 - Fix address alignment issue on ucode loading
    fe546f5c50fc crypto: qat - flush misc workqueue during device shutdown
    f9534674ce53 crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP
    7cd656e25f20 crypto: qat - lower priority for skcipher and aead algorithms
    c1f5a9d4f0ae lib/crypto: mips/chacha: Fix clang build and remove unneeded byteswap
    e447303a2869 vt: defkeymap: Map keycodes above 127 to K_HOLE
    2ee5eca08257 vt: keyboard: Don't process Unicode characters in K_OFF mode
    2ec99b922f46 bus: mhi: host: Detect events pointing to unexpected TREs
    58379e95599e bus: mhi: host: Fix endianness of BHI vector table
    8b557259cb2d usb: dwc3: imx8mp: fix device leak at unbind
    1d14af4aaab5 usb: dwc3: meson-g12a: fix device leaks at unbind
    68aaf7b29230 usb: musb: omap2430: fix device leak at unbind
    dd773c917edd usb: gadget: udc: renesas_usb3: fix device leak at unbind
    ac5d7bfa5da3 usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init()
    a8cd0f7f9c6c m68k: Fix lost column on framebuffer debug console
    f0fc87ca5c44 dm: Check for forbidden splitting of zone write operations
    8864616719b6 dm: dm-crypt: Do not partially accept write BIOs with zoned targets
    2b6e3546fb94 PM: runtime: Take active children into account in pm_runtime_get_if_in_use()
    14153500da34 platform/chrome: cros_ec: Unregister notifier in cros_ec_unregister()
    3e1bb7397593 cpufreq: armada-8k: Fix off by one in armada_8k_cpufreq_free_table()
    bf1d64092b0e ata: Fix SATA_MOBILE_LPM_POLICY description in Kconfig
    8e2739478c16 serial: 8250: fix panic due to PSLVERR
    9becd7c25c61 Linux 6.12.43
    e67d015b3732 ACPI: Return -ENODEV from acpi_parse_spcr() when SPCR support is disabled
    25ae311e322d PCI: Honor Max Link Speed when determining supported speeds
    411950235485 dm: split write BIOs on zone boundaries when zone append is not emulated
    b672daa89d1a rcu: Fix racy re-initialization of irq_work causing hangs
    cf04cdc419b2 drm/amd/display: Allow DCN301 to clear update flags
    ccc5a37e6370 firmware: arm_scmi: Convert to SYSTEM_SLEEP_PM_OPS
    f5f8bf41ab17 io_uring/rw: cast rw->flags assignment to rwf_t
    f170bc6fa429 ata: libata-sata: Add link_power_management_supported sysfs attribute
    f6367a4d03b9 rust: workaround `rustdoc` target modifiers bug
    fed5d8679b57 rust: kbuild: clean output before running `rustdoc`
    231d783e0cf0 arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C
    4a95cfc9a413 arm64: dts: ti: k3-j722s-evm: Fix USB2.0_MUX_SEL to select Type-C
    272d619a5301 PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports
    18b88bbcbde6 PCI: Allow PCI bridges to go to D3Hot on all non-x86
    47ecb8f8ec00 PCI: Store all PCIe Supported Link Speeds
    5a9c80656775 smb: client: fix netns refcount leak after net_passive changes
    4ceb0bd4ffd0 net: better track kernel sockets lifetime
    2b260dc923e8 net: Add net_passive_inc() and net_passive_dec().
    130362b4b39d mfd: cros_ec: Separate charge-control probing from USB-PD
    dfa79be0b45b HID: apple: avoid setting up battery timer for devices without battery
    16decac6ed8f tools/hv: fcopy: Fix irregularities with size of ring buffer
    110821e5de82 wifi: mac80211: check basic rates validity in sta_link_apply_parameters
    20d03830f037 HID: magicmouse: avoid setting up battery timer when not needed
    673cf582fd78 RDMA/siw: Fix the sendmsg byte count in siw_tcp_sendpages
    261757617c68 tools/nolibc: fix spelling of FD_SETBITMASK in FD_* macros
    714d36077cb0 media: v4l2: Add support for NV12M tiled variants to v4l2_format_info()
    4aa1c497a19c media: uvcvideo: Do not mark valid metadata as invalid
    6f08bfb58056 media: venus: Fix OOB read due to missing payload bound check
    cac702a43905 media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
    a0854de00ce2 mm/kmemleak: avoid deadlock by moving pr_warn() outside kmemleak_lock
    8d2d22a55ffe mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup()
    ff40839e018b mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()
    769682164de8 mm, slab: restore NUMA policy support for large kmalloc
    bffedc06e27e parisc: Makefile: fix a typo in palo.conf
    d03610494717 hv_netvsc: Fix panic during namespace deletion with VF
    5b3b346bc4c2 net/sched: ets: use old 'nbands' while purging unused classes
    ed9b8e501623 fbdev: Fix vmalloc out-of-bounds write in fast_imageblit
    bb81c18dbd42 userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry
    579c5488fe6e xfs: fix scrub trace with null pointer in quotacheck
    39a93e1c9dbf btrfs: do not allow relocation of partially dropped subvolumes
    03880ebe47dd btrfs: fix iteration bug in __qgroup_excl_accounting()
    c2972df789b3 btrfs: zoned: do not select metadata BG as finish target
    58e66d83e1ac btrfs: error on missing block group when unaccounting log tree extent buffers
    807c42274006 btrfs: fix log tree replay failure due to file with 0 links and extents
    16c5f8907104 btrfs: clear dirty status from extent buffer on error at insert_new_root()
    d115fc9e96c3 btrfs: don't skip remaining extrefs if dir not found during log replay
    38bb34617bc7 btrfs: qgroup: fix qgroup create ioctl returning success after quotas disabled
    f21928dba292 btrfs: populate otime when logging an inode item
    acc48b70460c btrfs: fix ssd_spread overallocation
    6c25acf3a0d1 btrfs: don't ignore inode missing when replaying log tree
    3c87ae17b736 btrfs: qgroup: set quota enabled bit if quota disable fails flushing reservations
    7e1dfc32452a btrfs: zoned: do not remove unwritten non-data block group
    f044b8492836 btrfs: abort transaction during log replay if walk_log_tree() failed
    eb2114b98ffb btrfs: zoned: use filesystem size not disk size for reclaim decision
    2853aaad686a cdc-acm: fix race between initial clearing halt and open
    fe8e2ea0797a thunderbolt: Fix copy+paste error in match_service_id()
    017198079551 comedi: fix race between polling and detaching
    c94bf0166539 usb: typec: ucsi: Update power_supply on power role change
    c07be32ba33a misc: rtsx: usb: Ensure mmc child device is active when card is present
    9512510cee7d usb: core: config: Prevent OOB read in SS endpoint companion parsing
    a2bbe1fcd351 ext4: initialize superblock fields in the kballoc-test.c kunit tests
    c0d7c9827239 ext4: fix largest free orders lists corruption on mb_optimize_scan switch
    9dc75a54c0cd ext4: fix zombie groups in average fragment size lists
    ebb6021560b9 iommufd: Prevent ALIGN() overflow
    91b0eca73d2b iommufd: Report unmapped bytes in the error path of iopt_unmap_iova_range
    c62963370627 iommu/arm-smmu-qcom: Add SM6115 MDSS compatible
    fc5747575472 iommu/vt-d: Optimize iotlb_sync_map for non-caching/non-RWBF modes
    83e6c09b0154 cifs: reset iface weights when we cannot find a candidate
    f1c5c55fb6cd clk: qcom: gcc-ipq8074: fix broken freq table for nss_port6_tx_clk_src
    d10bf66d9f93 dm: Always split write BIOs to zoned device limits
    8263f32e1017 block: Introduce bio_needs_zone_write_plugging()
    2214b5de0a93 mm/damon/core: commit damos->target_nid
    cd54dc1fd7af drm/amdgpu: fix incorrect vm flags to map bo
    0d086c85ecfa drm/amdgpu: fix vram reservation issue
    ea1724dc0e2f cifs: Fix collect_sample() to handle any iterator type
    a431bf3d3700 ASoC: fsl_sai: replace regmap_write with regmap_update_bits
    7fdc6efef6a5 scsi: lpfc: Remove redundant assignment to avoid memory leak
    6cb0d8587b96 rtc: ds1307: remove clear of oscillator stop flag (OSF) in probe
    f0b2eee3fbba pNFS: Fix uninited ptr deref in block/scsi layout
    2eb8d5323e7d pNFS: Handle RPC size limit for layoutcommits
    ad466c09f4d0 pNFS: Fix disk addr range check in block/scsi layout
    49fc5bea56e1 pNFS: Fix stripe mapping in block/scsi layout
    46aa80ef4959 block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
    aaa447ae853a ASoC: Intel: avs: Fix uninitialized pointer error in probe()
    c583f968daed net: phy: smsc: add proper reset flags for LAN8710A
    21e91cc3184f ALSA: hda/realtek: add LG gram 16Z90R-A to alc269 fixup table
    ed30c38d1e00 lib/sbitmap: convert shallow_depth from one word to the whole sbitmap
    4191feb410a0 smb: client: don't call init_waitqueue_head(&info->conn_wait) twice in _smbd_get_connection
    da649d9da68d tools/power turbostat: Handle cap_get_proc() ENOSYS
    6c31faeb3209 tools/power turbostat: Fix build with musl
    8a0c86474f9a tools/power turbostat: Handle non-root legacy-uncore sysfs permissions
    85344872609d ipmi: Fix strcpy source and destination the same
    33f423bddba0 kconfig: lxdialog: fix 'space' to (de)select options
    43ffed87f8bd kconfig: gconf: fix potential memory leak in renderer_edited()
    96f4083f9ec3 kconfig: gconf: avoid hardcoding model2 in on_treeview2_cursor_changed()
    7aa22b064069 ipmi: Use dev_warn_ratelimited() for incorrect message warnings
    410e89981111 vfio/mlx5: fix possible overflow in tracking max message size
    955b05d79091 scsi: aacraid: Stop using PCI_IRQ_AFFINITY
    8561dc1d5dcc scsi: target: core: Generate correct identifiers for PR OUT transport IDs
    ec602b3928f9 scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans
    2bcc768365fc kconfig: nconf: Ensure null termination where strncpy is used
    bcbad21fe9be vfio/type1: conditional rescheduling while pinning
    d850808db603 kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.c
    6d85a25c1bfe printk: nbcon: Allow reacquire during panic
    a50e10af2fc5 f2fs: check the generic conditions first
    aa8fe7b7b73d exfat: add cluster chain loop check for dir
    ab0a2713fd42 i2c: Force DLL0945 touchpad i2c freq to 100khz
    6614194456be apparmor: fix x_table_lookup when stacking is not the first entry
    3692877bea89 apparmor: use the condition in AA_BUG_FMT even with debug disabled
    c80c1b09074f dm-table: fix checking for rq stackable devices
    bffa4056686a dm-mpath: don't print the "loaded" message if registering fails
    c6801a87179f i3c: master: Initialize ret in i3c_i2c_notifier_call()
    3d2262c9aa7a i3c: don't fail if GETHDRCAP is unsupported
    cbc395f3bad9 apparmor: shift ouid when mediating hard links in userns
    ae03a28e12a7 rtc: ds1307: handle oscillator stop flag (OSF) for ds1341
    22fd8485b148 i3c: add missing include to internal header
    3276f657a4bc module: Prevent silent truncation of module name in delete_module(2)
    167f7ba3a0b3 md: dm-zoned-target: Initialize return variable r to avoid uninitialized use
    f8a9411ef145 soundwire: Move handle_nested_irq outside of sdw_dev_lock
    c2b1ae54b557 soundwire: amd: cancel pending slave status handling workqueue during remove sequence
    2f0163f1cab2 soundwire: amd: serialize amd manager resume sequence during pm_prepare
    0daced27470a clk: renesas: rzg2l: Postpone updating priv->clks[]
    62d24beb848e crypto: ccp - Add missing bootloader info reg for pspv6
    404da09310fb crypto: octeontx2 - add timeout for load_fvc completion poll
    55dc87dc2ac1 media: uvcvideo: Fix bandwidth issue for Alcor camera
    ea955d78bbc4 media: uvcvideo: Add quirk for HP Webcam HD 2300
    f98132a59ccc media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_tuner_read_serpar
    0bb32863426a media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
    216ca748c7da media: usb: hdpvr: disable zero-length read messages
    f25d566c5674 media: tc358743: Increase FIFO trigger level to 374
    b42b107293b5 media: tc358743: Return an appropriate colorspace from tc358743_set_fmt
    3e03ee3b65ba media: tc358743: Check I2C succeeded during probe
    e6f36f58a8b4 pinctrl: stm32: Manage irq affinity settings
    1540499b6630 scsi: mpi3mr: Correctly handle ATA device errors
    ead8f9714710 scsi: mpt3sas: Correctly handle ATA device errors
    90e0bd0f8f1a power: supply: qcom_battmgr: Add lithium-polymer entry
    571617f171f7 scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure
    64d853788fcb scsi: lpfc: Ensure HBA_SETUP flag is used only for SLI4 in dev_loss_tmo_callbk
    699f86dbd9e4 RDMA/core: reduce stack using in nldev_stat_get_doit()
    9b05e91afe94 RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
    4d463b4876fb dmaengine: stm32-dma: configure next sg only if there are more than 2 sgs
    944c8bd67413 leds: leds-lp50xx: Handle reg to get correct multi_index
    4e6339ca7c9a media: v4l2-common: Reduce warnings about missing V4L2_CID_LINK_FREQ control
    dd0ec0f2368d media: ipu-bridge: Add _HID for OV5670
    154a8f62169d clk: thead: Mark essential bus clocks as CLK_IGNORE_UNUSED
    1e9079ff83ea MIPS: lantiq: falcon: sysctrl: fix request memory check logic
    82d140f6aab5 MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
    86974d140faf crypto: jitter - fix intermediary handling
    7fa59a1816b2 RDMA/bnxt_re: Fix size of uverbs_copy_to() in BNXT_RE_METHOD_GET_TOGGLE_MEM
    d41111bb4606 media: hi556: Fix reset GPIO timings
    c8ca21a28369 jfs: upper bound check of tree index in dbAllocAG
    00462be586b3 jfs: Regular file corruption check
    df3fd8daf278 jfs: truncate good inode pages when hard link is 0
    13f613228cf3 scsi: bfa: Double-free fix
    e843852eccef watchdog: iTCO_wdt: Report error if timeout configuration fails
    8520c843d9a2 MIPS: vpe-mt: add missing prototypes for vpe_{alloc,start,stop,free}
    d2030aaa50a5 clk: qcom: ipq5018: keep XO clock always on
    ce7cd22c04a2 hwmon: (emc2305) Set initial PWM minimum value during probe based on thermal state
    d006f8cbecc7 watchdog: dw_wdt: Fix default timeout
    62b4f6c6abe4 fs/orangefs: use snprintf() instead of sprintf()
    35782c32528d scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated
    8dd761d63bcb phy: rockchip-pcie: Properly disable TEST_WRITE strobe signal
    37ed0eeadb0b mfd: axp20x: Set explicit ID for AXP313 regulator
    f60c4943cbff clk: tegra: periph: Fix error handling and resolve unsigned compare warning
    81e7e2e7ba07 ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr
    57d73888202a crypto: hisilicon/hpre - fix dma unmap sequence
    806f85bdd3a6 fbdev: fix potential buffer overflow in do_register_framebuffer()
    ec12068f10c1 cifs: Fix calling CIFSFindFirst() for root path without msearch
    188265ece138 watchdog: sbsa: Adjust keepalive timeout to avoid MediaTek WS0 race condition
    5ea8e53d2db7 drm/amd/display: Disable dsc_power_gate for dcn314 by default
    0a0097e2b900 drm/amd/display: Avoid configuring PSR granularity if PSR-SU not supported
    d2b6f313ac00 drm/amd/display: Only finalize atomic_obj if it was initialized
    a1a63d8a442d vhost: fail early when __vhost_add_used() fails
    680c7d9d9197 vsock/virtio: Resize receive buffers so that each SKB fits in a 4K page
    394bd12d1f93 net: dsa: b53: fix IP_MULTICAST_CTRL on BCM5325
    1cfa244f7198 rcu: Fix rcu_read_unlock() deadloop due to IRQ work
    f6eaa8ba86d7 drm/ttm: Respect the shrinker core free target
    bd821df9cc41 drm/amd/display: Avoid trying AUX transactions on disconnected ports
    0793ce8b0dc6 drm/amd/display: Update DMCUB loading sequence for DCN3.5
    811068726e2a selftests/bpf: Fix a user_ringbuf failure with arm64 64KB page size
    e49253b5046c selftests/bpf: Fix ringbuf/ringbuf_write test failure with arm64 64KB page size
    c14bf7f87346 bpf: Make reg_not_null() true for CONST_PTR_TO_MAP
    3aaa339f64d9 uapi: in6: restore visibility of most IPv6 socket options
    5c196b3c1222 drm/ttm: Should to return the evict error
    d7458645c40c drm: renesas: rz-du: mipi_dsi: Add min check for VCLK range
    0b96747667c3 net: ncsi: Fix buffer overflow in fetching version id
    b17fcce70733 drm/xe: Make dma-fences compliant with the safe access rules
    3ea9509cb82a ionic: clean dbpage in de-init
    262db48ef07e wifi: rtlwifi: fix possible skb memory leak in _rtl_pci_init_one_rxdesc()
    5643cd6c0302 wifi: rtw89: scan abort when assign/unassign_vif
    74bfb1b61a72 ptp: Use ratelimite for freerun error message
    45218b8b2269 bpftool: Fix JSON writer resource leak in version command
    f16f96ccfe56 net: dsa: b53: prevent SWITCH_CTRL access on BCM5325
    9f45e4858f80 net: dsa: b53: prevent DIS_LEARNING access on BCM5325
    15cf46cc6ecc net: dsa: b53: prevent GMII_PORT_OVERRIDE_CTRL access on BCM5325
    757955c80663 net: dsa: b53: fix b53_imp_vlan_setup for BCM5325
    0d250ad617a0 net: dsa: b53: ensure BCM5325 PHYs are enabled
    d40d53c6bb06 gve: Return error for unknown admin queue command
    db7e926a15a5 net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs
    4311d06ab643 net: vlan: Make is_vlan_dev() a stub when VLAN is not configured
    c086fbbfc9f2 drm/amd: Allow printing VanGogh OD SCLK levels without setting dpm to manual
    5e683397f1d2 dpaa_eth: don't use fixed_phy_change_carrier
    8ec37adfb678 neighbour: add support for NUD_PERMANENT proxy entries
    d86996dc1afc wifi: iwlegacy: Check rate_idx range after addition
    a2bdd6e3e5ab arm64: stacktrace: Check kretprobe_find_ret_addr() return value
    c500a13fd6cf netmem: fix skb_frag_address_safe with unreadable skbs
    8f2d0a7d993d powerpc: floppy: Add missing checks after DMA map
    7c3e99fd4a66 wifi: ath12k: Decrement TID on RX peer frag setup error handling
    3b5e5185881e wifi: ath12k: Enable REO queue lookup table feature on QCN9274 hw2.0
    a529809063c4 wifi: rtlwifi: fix possible skb memory leak in `_rtl_pci_rx_interrupt()`.
    99322e24247a wifi: mac80211: update radar_required in channel context after channel switch
    8c2a46aafe08 drm/amd/display: Initialize mode_select to 0
    c9298c19377f drm/amd/display: Fix 'failed to blank crtc!'
    d838d5a3f2ee wifi: iwlwifi: fw: Fix possible memory leak in iwl_fw_dbg_collect
    a07ab4a265fc wifi: iwlwifi: dvm: fix potential overflow in rs_fill_link_cmd()
    18dbc182a97f lib: packing: Include necessary headers
    6246776e35b8 wifi: ath12k: Fix station association with MBSSID Non-TX BSS
    3cf181b44cd4 wifi: ath12k: Add memset and update default rate value in wmi tx completion
    201c9b4485ed wifi: ath10k: shutdown driver when hardware is unreliable
    3a1f6b418c34 drm/amd/display: Separate set_gsl from set_gsl_source_select
    fc5ec93e7f8a net: fec: allow disable coalescing
    3d3d1b57bf4f net: ieee8021q: fix insufficient table-size assertion
    dd10a7109991 ACPI: Suppress misleading SPCR console message when SPCR table is absent
    2131852573e3 net: atlantic: add set_power to fw_ops for atl2 to fix wol
    2fc5b54368a1 xfrm: Duplicate SPI Handling
    40e78d186d06 net: thunderbolt: Fix the parameter passing of tb_xdomain_enable_paths()/tb_xdomain_disable_paths()
    a262d4296cd7 net: thunderbolt: Enable end-to-end flow control also in transmit
    3f53761181a1 drm/xe/xe_query: Use separate iterator while filling GT list
    5fc69bf3294d kselftest/arm64: Specify SVE data when testing VL set in sve-ptrace
    125701019c9f wifi: mt76: mt7915: mcu: re-init MCU before loading FW patch
    7fd46ccab6e6 wifi: rtw89: Fix rtw89_mac_power_switch() for USB
    df4d27f56c61 drm/imagination: Clear runtime PM errors while resetting the GPU
    280f6011ba9f perf/arm: Add missing .suppress_bind_attrs
    53dc780c1e94 drm/msm: Add error handling for krealloc in metadata setup
    20406ace80ad drm/msm: use trylock for debugfs
    574fb734ac3d wifi: mac80211: fix rx link assignment for non-MLO stations
    cce3d027227c rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access
    347b94ee253e ipv6: mcast: Check inet6_dev->dead under idev->mc_lock in __ipv6_dev_mc_inc().
    43c0e1c11bea (powerpc/512) Fix possible `dma_unmap_single()` on uninitialized pointer
    419733db212d s390/early: Copy last breaking event address to pt_regs
    18ca0c91dc51 wifi: mac80211: avoid weird state in error path
    c46f3f0da978 wifi: mac80211: don't complete management TX on SAE commit
    fc4289233e4b sched/fair: Bump sd->max_newidle_lb_cost when newidle balance fails
    302debf01d52 net: phy: bcm54811: PHY initialization
    c999814d0b9f s390/stp: Remove udelay from stp_sync_clock()
    56cabce6229a wifi: iwlwifi: mvm: fix scan request validation
    0cfcc16ecd02 um: Re-evaluate thread flags repeatedly
    0c7b57f9fd9c wifi: iwlwifi: mvm: set gtk id also in older FWs
    f01e06930444 bpf: Forget ranges when refining tnum after JSET
    1b9f54ac0bbc sched/deadline: Fix accounting after global limits change
    98761837889b perf/cxlpmu: Remove unintended newline from IRQ name format string
    027de6f3937d net: phy: micrel: Add ksz9131_resume()
    f19c83141bdc net: thunderx: Fix format-truncation warning in bgx_acpi_match_id()
    010ec8daeed8 net: ipv4: fix incorrect MTU in broadcast routes
    433a3592014b wifi: mac80211: don't unreserve never reserved chanctx
    89649d700772 wifi: cfg80211: Fix interface type validation
    1b1a54308465 net: mctp: Prevent duplicate binds
    1da38b70d90f can: ti_hecc: fix -Woverflow compiler warning
    f602c62c923f drm/amd/display: limit clear_update_flags to dcn32 and above
    e35e711c78c8 rcu: Protect ->defer_qs_iw_pending from data race
    a83ffafd02a7 drm/amd/pm: fix null pointer access
    3d03c85f850b arm64: Mark kernel as tainted on SAE and SError panic
    6547f890bd4e net: pcs: xpcs: mask readl() return value to 16 bits
    ae4053eefb0e net/mlx5e: Properly access RCU protected qdisc_sleeping variable
    31dcbba40eba net: ag71xx: Add missing check after DMA map
    2fddd59597eb et131x: Add missing check after DMA map
    29fe6bb14f20 wifi: rtw89: Lower the timeout in rtw89_fw_read_c2h_reg() for USB
    c673277d5761 wifi: rtw89: wow: Add Basic Rate IE to probe request in scheduled scan mode
    bd80fbf3ed25 idpf: preserve coalescing settings across resets
    9ea8fb379fdf libbpf: Verify that arena map exists when adding arena relocations
    efaa18e467e2 be2net: Use correct byte order and format string for TCP seq and ack_seq
    decbacd6a9c5 s390/time: Use monotonic clock in get_cycles()
    8ab6e67ae524 wifi: cfg80211: reject HTC bit for management frames
    1d325fed242d ktest.pl: Prevent recursion of default variable options
    2ef17d1476ab wifi: ath12k: Correct tid cleanup when tid setup fails
    82d399f5841f net: usb: cdc-ncm: check for filtering capability
    0c51db51c3ad wifi: iwlwifi: mvm: avoid outdated reorder buffer head_sn
    1706904ef005 xen/netfront: Fix TX response spurious interrupts
    76c26460f53c Bluetooth: hci_sock: Reset cookie to zero in hci_sock_free_cookie()
    e2b990cfeb04 Bluetooth: btusb: Add new VID/PID 0489/e14e for MT7925
    281d3fbe51fd powerpc/thp: tracing: Hide hugepage events under CONFIG_PPC_BOOK3S_64
    52f238dc6730 selftests: netfilter: Enable CONFIG_INET_SCTP_DIAG
    5376403f2714 netfilter: nft_set_pipapo: prefer kvmalloc for scratch maps
    9314cd0fb179 ASoC: qcom: use drvdata instead of component to keep id
    73a1a77630be ASoC: codecs: rt5640: Retry DEVICE_ID verification
    f1d285ed4b05 iio: adc: ad7768-1: Ensure SYNC_IN pulse minimum timing requirement
    91364d70f847 ALSA: usb-audio: Avoid precedence issues in mixer_quirks macros
    f301c878d08d ALSA: pcm: Rewrite recalculate_boundary() to avoid costly loop
    417407cdf587 ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control
    55d2bc82f241 platform/chrome: cros_ec_typec: Defer probe on missing EC parent
    d1b0d93bfcaa platform/x86: thinkpad_acpi: Handle KCOV __init vs inline mismatches
    ed2089fe9359 soc: qcom: mdt_loader: Actually use the e_phoff
    add2219de2c8 imx8m-blk-ctrl: set ISI panic write hurry level
    e6601bb3cb94 pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop()
    1dfeedf1d40e usb: core: usb_submit_urb: downgrade type check
    6254a6689366 usb: typec: intel_pmc_mux: Defer probe if SCU IPC isn't present
    2fce20decc6a ASoC: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime()
    06db21c02c7a tty: serial: fix print format specifiers
    e0f748ef3799 ASoC: SOF: topology: Parse the dapm_widget_tokens in case of DSPless mode
    5b317a5f24ba ALSA: intel8x0: Fix incorrect codec index usage in mixer for ICH4
    7c0a62604c3f ASoC: hdac_hdmi: Rate limit logging on connection and disconnection
    24e7957e16c7 x86/bugs: Avoid warning when overriding return thunk
    37676c45c162 ALSA: hda: Disable jack polling at shutdown
    b2d9ff960a83 ALSA: hda: Handle the jack polling always via a work
    908d50aa38b2 platform/chrome: cros_ec_sensorhub: Retries when a sensor is not ready
    af34cc8c5ebf mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()
    612c8d21ce6e mei: bus: Check for still connected devices in mei_cl_bus_dev_release()
    8152499f09eb char: misc: Fix improper and inaccurate error code returned by misc_init()
    e285cdb9d2e4 reset: brcmstb: Enable reset drivers for ARCH_BCM2835
    5a96b1e9e9a5 pps: clients: gpio: fix interrupt handling order in remove path
    ae12c0666a07 selftests: vDSO: vdso_test_getrandom: Always print TAP header
    bdf159a29403 ACPI: APEI: GHES: add TAINT_MACHINE_CHECK on GHES panic path
    6f38d9ae4b6c mmc: sdhci-msm: Ensure SD card power isn't ON when card removed
    de12d2c69b5d ACPI: processor: fix acpi_object initialization
    9725102fb2a4 PM: sleep: console: Fix the black screen issue
    e90a4edb7e6a thermal: sysfs: Return ENODATA instead of EAGAIN for reads
    bf30f947c2d3 PM: runtime: Clear power.needs_force_resume in pm_runtime_reinit()
    de52cc040d90 firmware: tegra: Fix IVC dependency problems
    6c7e2caa35fc firmware: arm_scmi: power_control: Ensure SCMI_SYSPOWER_IDLE is set early during resume
    e20cc295149a ACPI: PRM: Reduce unnecessary printing to avoid user confusion
    fbfcc443c225 selftests: tracing: Use mutex_unlock for testing glob filter
    124e2ef3df71 tools/build: Fix s390(x) cross-compilation with clang
    9b0b3b5e5cae ARM: tegra: Use I/O memcpy to write to IRAM
    5c2390401841 gpio: tps65912: check the return value of regmap_update_bits()
    c0d5054684f0 iio: adc: ad_sigma_delta: don't overallocate scan buffer
    c8db5c7a00b1 tools/nolibc: define time_t in terms of __kernel_old_time_t
    f740ee4a0713 thermal/drivers/qcom-spmi-temp-alarm: Enable stage 2 shutdown when required
    db8c915a0335 ASoC: soc-dapm: set bias_level if snd_soc_dapm_set_bias_level() was successed
    694cd8ac4a59 EDAC/synopsys: Clear the ECC counters on init
    398961058303 PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store()
    0223a3683d50 ARM: rockchip: fix kernel hang during smp initialization
    2cbf5564beeb cpufreq: intel_pstate: Add Granite Rapids support in no-HWP mode
    bd5cd23c7ae4 cpufreq: Exit governor when failed to start old governor
    50d210e1ff32 gpio: wcd934x: check the return value of regmap_update_bits()
    ecfe4ae9cb83 pmdomain: ti: Select PM_GENERIC_DOMAINS
    58383ea1b20a usb: typec: tcpm/tcpci_maxim: fix irq wake usage
    02e184dadb3d remoteproc: imx_rproc: skip clock enable when M-core is managed by the SCU
    cfc9bc15bda6 ACPI: APEI: send SIGBUS to current task if synchronous memory error not recovered
    97f503498981 soc: qcom: rpmh-rsc: Add RSC version 4 support
    0dd2456bb92f usb: xhci: Avoid showing errors during surprise removal
    a4f53e2ed5ae usb: xhci: Set avg_trb_len = 8 for EP0 during Address Device Command
    84430ce1f23a usb: xhci: Avoid showing warnings for dying controller
    1070a3355fcb usb: typec: ucsi: psy: Set current max to 100mA for BC 1.2 and Default
    1dd5bb380525 selftests/futex: Define SYS_futex on 32-bit architectures with 64-bit time_t
    31c0205923d9 cpufreq: CPPC: Mark driver with NEED_UPDATE_LIMITS flag
    a0560f861ad3 platform/x86/amd: pmc: Add Lenovo Yoga 6 13ALC6 to pmc quirk list
    83fc5d725729 usb: xhci: print xhci->xhc_state when queue_command failed
    c51db71fc143 tracefs: Add d_delete to remove negative dentries
    a24ed0e8ce7d securityfs: don't pin dentries twice, once is enough...
    136994f74e8f fix locking in efi_secret_unlink()
    c8e09674007b ext2: Handle fiemap on empty files to prevent EINVAL
    a482e56b2a73 pidfs: raise SB_I_NODEV and SB_I_NOEXEC
    e1b58b475981 fs/ntfs3: correctly create symlink for relative path
    2ac47f738ddf fs/ntfs3: Add sanity check for file name
    caf7f7c1a050 ata: libata-sata: Disallow changing LPM state if not supported
    86cc6d907200 ata: ahci: Disable DIPM if host lacks support
    aa078896e331 ata: ahci: Disallow LPM policy control if not supported
    afa5ceab9d23 better lockdep annotations for simple_recursive_removal()
    01e20eb22d1d hfs: fix not erasing deleted b-tree node issue
    7d483ad300fc drbd: add missing kref_get in handle_write_conflicts
    699b30248309 udf: Verify partition map count
    139a000d20f2 loop: Avoid updating block size under exclusive owner
    9d9b053f7f9c gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops
    53a0249d68a2 gfs2: Validate i_depth for exhash directories
    b37768e48785 nvme-tcp: log TLS handshake failures at error level
    552e1a93b315 md/raid10: set chunk_sectors limit
    fc26f6f2e651 dm-stripe: limit chunk_sectors to the stripe size
    bc255fec6fd7 nvme-pci: try function level reset on init failure
    814cfdb6358d smb/server: avoid deadlock when linking with ReplaceIfExists
    58c364238177 firmware: arm_ffa: Change initcall level of ffa_init() to rootfs_initcall
    cd47a512e033 arm64: Handle KCOV __init vs inline mismatches
    1bb8da27ff15 hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
    f7534cbfac0a hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
    475d770c1992 hfsplus: fix slab-out-of-bounds in hfsplus_bnode_read()
    efc095b35b23 hfs: fix slab-out-of-bounds in hfs_bnode_read()
    5d8b24952736 hfs: fix general protection fault in hfs_find_init()
    c0bffbc92a1c net: kcm: Fix race condition in kcm_unattach()
    eb0336f213fe tls: handle data disappearing from under the TLS ULP
    54f8f98665cc ptp: prevent possible ABBA deadlock in ptp_clock_freerun()
    1e25d8051bb6 cpuidle: governors: menu: Avoid using invalid recent intervals data
    a8df217c1415 intel_idle: Allow loading ACPI tables for any family
    7d757f17bc2e sctp: linearize cloned gso packets in sctp_rcv
    e9165b79a10d net: ti: icss-iep: Fix incorrect type for return value in extts_enable()
    8153bce470af net: ti: icssg-prueth: Fix emac link speed handling
    a2cb4df7872d netfilter: ctnetlink: fix refcount leak on table dump
    5e95347bf4ca udp: also consider secpath when evaluating ipsec use for checksumming
    2a1f36639741 mm/smaps: fix race between smaps_hugetlb_range and migration
    c07886761fd6 habanalabs: fix UAF in export_dmabuf()
    7ea3763d3a2c KVM: VMX: Preserve host's DEBUGCTLMSR_FREEZE_IN_SMM while running the guest
    a8db75995ada KVM: VMX: Wrap all accesses to IA32_DEBUGCTL with getter/setter APIs
    73a8e77bb5dd KVM: nVMX: Check vmcs12->guest_ia32_debugctl on nested VM-Enter
    6c6a7c69a006 KVM: VMX: Extract checking of guest's DEBUGCTL into helper
    56eb5c57e32c KVM: VMX: Allow guest to set DEBUGCTL.RTM_DEBUG if RTM is supported
    d1a530a22440 KVM: x86: Drop kvm_x86_ops.set_dr6() in favor of a new KVM_RUN flag
    1fc1d9b85408 KVM: x86: Convert vcpu_run()'s immediate exit param into a generic bitmap
    a831c3e679d4 smb: client: don't wait for info->send_pending == 0 on error
    65969af6dd5a smb: client: let send_done() cleanup before calling smbd_disconnect_rdma_connection()
    89237dd4c8c4 mm/memory-tier: fix abstract distance calculation overflow
    05ea5b2f5147 block: Make REQ_OP_ZONE_FINISH a write operation
    bf2809541497 ACPI: processor: perflib: Move problematic pr->performance check
    8cc2020d910f ACPI: processor: perflib: Fix initial _PPC limit application
    dba5701ed65f Documentation: ACPI: Fix parent device references
    7a2125962c42 eventpoll: Fix semi-unbounded recursion
    d4f9351243c1 fs: Prevent file descriptor table allocations exceeding INT_MAX
    cfe27f8aff2e fscrypt: Don't use problematic non-inline crypto engines
    a12df9e57922 clk: samsung: gs101: fix alternate mout_hsi0_usb20_ref parent clock
    fc4c256883f5 clk: samsung: gs101: fix CLK_DOUT_CMU_G3D_BUSD
    bc3c149be8ea clk: samsung: exynos850: fix a comment
    0bd77a08d592 sunvdc: Balance device refcount in vdc_port_mpgroup_check
    facc69f43502 LoongArch: Avoid in-place string operation on FDT content
    17bac5a345a2 LoongArch: Make relocate_new_kernel_size be a .quad value
    92ccdef6e441 LoongArch: Don't use %pK through printk() in unwinder
    f83d469e16bb LoongArch: BPF: Fix jump offset calculation in tailcall
    154bfe9acbdb PCI: Extend isolated function probing to LoongArch
    816a6f60c2c2 NFS: Fix the setting of capabilities when automounting a new filesystem
    944ec8c77544 NFSD: detect mismatch of file handle and delegation stateid in OPEN op
    74ad36ed60df nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
    ee2cd40b0bb4 net: usb: asix_devices: add phy_mask for ax88772 mdio bus
    e6ec7aa021d3 net: dpaa: fix device leak when querying time stamp info
    400177f147ab net: ti: icss-iep: fix device and OF node leaks at probe
    8de5f47f34f2 net: mtk_eth_soc: fix device leak at probe
    3328ff844e13 net: enetc: fix device and OF node leak at probe
    744d9cf898f3 net: gianfar: fix device leak when querying time stamp info
    ae59ec969c07 net: ftgmac100: fix potential NULL pointer access in ftgmac100_phy_disconnect
    e6269d987835 net: phy: micrel: fix KSZ8081/KSZ8091 cable test
    44ddd7b1ae0b netlink: avoid infinite retry looping in netlink_unicast()
    cb9bb872366e Revert "leds: trigger: netdev: Configure LED blink interval for HW offload"
    12c4d55dd0bd leds: flash: leds-qcom-flash: Fix registry access after re-bind
    f3a2d068e05c gpio: mlxbf3: use platform_get_irq_optional()
    1ce6f627a314 Revert "gpio: mlxbf3: only get IRQ for device instance 0"
    78b086e110ed gpio: mlxbf2: use platform_get_irq_optional()
    5d6c696da5f0 gpio: virtio: Fix config space reading.
    b3f7932c8eb4 smb: client: remove redundant lstrp update in negotiate protocol
    8de33d4d72e8 smb3: fix for slab out of bounds on mount to ksmbd
    33eb2d87e069 ALSA: hda/realtek: Add Framework Laptop 13 (AMD Ryzen AI 300) to quirks
    fc7fd29b284c ALSA: hda/realtek: Fix headset mic on HONOR BRB-X
    ae17b3b5e753 ALSA: usb-audio: Validate UAC3 cluster segment descriptors
    cd08d390d15b ALSA: usb-audio: Validate UAC3 power domain descriptors, too
    ecc39c79d913 io_uring: don't use int for ABI

(From OE-Core rev: ef3703035bdf29f679f31260e82ab6ef0927d5ac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
75c918eddb linux-yocto/6.16: update CVE exclusions (6.16.4)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 6 changes (1 new | 5 updated): - 1 new CVEs: CVE-2025-36193 - 5 updated CVEs: CVE-2022-20358, CVE-2022-2460, CVE-2022-34661, CVE-2025-9839, CVE-2025-9840
        Date: Wed, 3 Sep 2025 19:07:24 +0000

    ]

(From OE-Core rev: 4f6616f1b2957e3bf906526acb45c95925193185)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Bruce Ashfield
97ab8d7ebb linux-yocto/6.16: update to v6.16.4
Updating linux-yocto/6.16 to the latest korg -stable release that comprises
the following commits:

no ids found, dumping:
    be15dab9a451 Linux 6.16.4
    77a946bf1af0 drm/xe: Fix vm_bind_ioctl double free bug
    2d6c8cfb4d89 drm/xe: Move ASID allocation and user PT BO tracking into xe_vm_create
    b32e1590a8d2 netfilter: nf_reject: don't leak dst refcount for loopback packets
    13b8655986bd s390/hypfs: Enable limited access during lockdown
    9859935da6d7 s390/hypfs: Avoid unnecessary ioctl registration in debugfs
    24a627965f23 ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation
    27f55ec13d7c net/mlx5e: Preserve shared buffer capacity during headroom updates
    a19477c49b7f net/mlx5e: Query FW for buffer ownership
    aeeea0293f79 net/mlx5: Add IFC bits and enums for buf_ownership
    285ed9ab9bf2 net/mlx5: Base ECVF devlink port attrs from 0
    1c120fe1fa64 Octeontx2-af: Skip overlap check for SPI field
    0cbf3ed34bcc block: avoid cpu_hotplug_lock depedency on freeze_lock
    e74191a23a7f block: skip q->rq_qos check in rq_qos_done_bio()
    a277d8870a6c block: decrement block_rq_qos static key in rq_qos_del()
    f9a9098ca826 blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues
    e01facfb54a9 block: fix potential deadlock while running nr_hw_queue update
    58567d8e95c0 block: fix lockdep warning caused by lock dependency in elv_iosched_store
    1837d9226755 block: move elevator queue allocation logic into blk_mq_init_sched
    4bd3ed125c1d net: airoha: ppe: Do not invalid PPE entries in case of SW hash collision
    4f58c0bfd264 bonding: send LACPDUs periodically in passive mode after receiving partner's LACPDU
    3310f0ebba5e bonding: update LACP activity flag after setting lacp_active
    af386b52531d ALSA: timer: fix ida_free call while not allocated
    9c9bbbe1b3e2 net/sched: Remove unnecessary WARNING condition for empty child qdisc in htb_activate
    62d591dde4de net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit
    be9062668aca net: dsa: microchip: Fix KSZ9477 HSR port setup issue
    ea3707144c12 igc: fix disabling L1.2 PCI-E link substate on I226 on init
    9ccf8d4cdbb4 ixgbe: xsk: resolve the negative overflow of budget in ixgbe_xmit_zc
    f771c0acfbe7 LoongArch: KVM: Use kvm_get_vcpu_by_id() instead of kvm_get_vcpu()
    8bb4dfcc3611 LoongArch: KVM: Use standard bitops API with eiointc
    1d7864acd497 s390/mm: Do not map lowcore with identity mapping
    53492b4dc70e ASoC: cs35l56: Remove SoundWire Clock Divider workaround for CS35L63
    92c4406b6578 ASoC: cs35l56: Handle new algorithms IDs for CS35L63
    22a5164afe62 ASoC: cs35l56: Update Firmware Addresses for CS35L63 for production silicon
    a096b0280168 LoongArch: Optimize module load time by optimizing PLT/GOT counting
    c83e6873c61c LoongArch: Pass annotate-tablejump option if LTO is enabled
    4050d08f846e objtool/LoongArch: Get table size correctly if LTO is enabled
    81fad991f35d microchip: lan865x: fix missing Timer Increment config for Rev.B0/B1
    0112da9f08fa microchip: lan865x: fix missing netif_start_queue() call on device open
    9603699528e6 net/mlx5: CT: Use the correct counter offset
    9ab89476b93e net/mlx5: HWS, Fix table creation UID
    37d54bc28d09 net/mlx5: HWS, fix complex rules rehash error flow
    748528ffb877 net/mlx5: HWS, fix bad parameter in CQ creation
    85545f1525f9 net/smc: fix UAF on smcsk after smc_listen_out()
    a82a5e21b5d7 net: stmmac: thead: Enable TX clock before MAC initialization
    9d8a41e9a4ff gve: prevent ethtool ops after shutdown
    523eab02fce4 net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization
    5d30659b384d phy: mscc: Fix timestamping for vsc8584
    6adaa9fae36f cifs: Fix oops due to uninitialised variable
    74605d602bce regulator: tps65219: regulator: tps65219: Fix error codes in probe()
    d5b6f0cbb787 drm/xe: Assign ioctl xe file handler to vm in xe_vm_create
    6efb0265ac59 net: ti: icssg-prueth: Fix HSR and switch offload Enablement during firwmare reload.
    f97f6475fdcb ppp: fix race conditions in ppp_fill_forward_path
    d5cdb783b8d3 net: ethernet: mtk_ppe: add RCU lock around dev_fill_forward_path
    aaf17a35a595 scsi: ufs: ufs-qcom: Fix ESI null pointer dereference
    f5ba3aefddea scsi: ufs: ufs-qcom: Update esi_vec_mask for HW major version >= 6
    c0cc24c139e0 scsi: ufs: core: Remove WARN_ON_ONCE() call from ufshcd_uic_cmd_compl()
    1a659c93d00a scsi: ufs: core: Fix IRQ lock inversion for the SCSI host lock
    5885d39dce87 bnxt_en: Fix lockdep warning during rmmod
    60f6f39cd57b ipv6: sr: validate HMAC algorithm ID in seg6_hmac_info_add
    794ddbb7b63b net: gso: Forbid IPv6 TSO with extensions on devices with only IPV6_CSUM
    f494028897b6 drm/amd/display: Don't print errors for nonexistent connectors
    d767b095cb4e drm/amd/display: Adjust DCE 8-10 clock, don't overclock by 15%
    2ee86b764c54 drm/amd/display: Add null pointer check in mod_hdcp_hdcp1_create_session()
    7a8c8aa0b0b2 regulator: pca9450: Use devm_register_sys_off_handler
    5ff4ad5f3eeb ALSA: usb-audio: Fix size validation in convert_chmap_v3()
    a4e0ea587ae7 drm/hisilicon/hibmc: fix dp and vga cannot show together
    ccda4b7fe50d drm/hisilicon/hibmc: fix rare monitors cannot display problem
    d3e774266c28 drm/hisilicon/hibmc: fix the hibmc loaded failed bug
    06d261a085a1 drm/hisilicon/hibmc: fix irq_request()'s irq name variable is local
    2713953e93de drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed
    a9bff7e67468 rust: alloc: fix `rusttest` by providing `Cmalloc::aligned_layout` too
    21b38f35f07e md: fix sync_action incorrect display during resync
    62f06ac3b2ae md: add helper rdev_needs_recovery()
    ba73ee8a59c9 md: rename recovery_cp to resync_offset
    09d6d8f51b3b drm: nova-drm: fix 32-bit arm build
    d6bbeed7b24a mlxsw: spectrum: Forward packets with an IPv4 link-local source IP
    eebfe804be47 Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately
    087812a6119b Bluetooth: Add PA_LINK to distinguish BIG sync and PA sync connections
    a33d56316091 Bluetooth: hci_conn: do return error from hci_enhanced_setup_sync()
    5e12d3c05079 Bluetooth: hci_event: fix MTU for BN == 0 in CIS Established
    6839859a00d4 Bluetooth: hci_sync: Prevent unintended PA sync when SID is 0xFF
    5a044299c709 Bluetooth: hci_core: Fix using ll_privacy_capable for current settings
    5c472a3a3987 Bluetooth: hci_core: Fix using {cis,bis}_capable for current settings
    2b979ef70494 Bluetooth: btmtk: Fix wait_on_bit_timeout interruption during shutdown
    921a470ab75a Bluetooth: hci_sync: Fix scan state after PA Sync has been established
    736db11c86f0 iommu/amd: Avoid stack buffer overflow from kernel cmdline
    f4bc3cdfe951 scsi: qla4xxx: Prevent a potential error pointer dereference
    1ec37e5e359a rtase: Fix Rx descriptor CRC error bit definition
    a225f44d84b8 net/sched: Fix backlog accounting in qdisc_dequeue_internal
    5bf5fce8a0c2 net: bridge: fix soft lockup in br_multicast_query_expired()
    59431eb72bb0 net: xilinx: axienet: Fix RX skb ring management in DMAengine mode
    fee345385d8e RDMA/hns: Fix dip entries leak on devices newer than hip09
    ae3df92efd02 RDMA/core: Free pfn_list with appropriate kvfree call
    1adaa345e604 RDMA/bnxt_re: Fix to initialize the PBL array
    2df8bc645bb5 RDMA/bnxt_re: Fix a possible memory leak in the driver
    673e40a410e3 RDMA/bnxt_re: Fix to remove workload check in SRQ limit path
    ac23dfbfcdb3 RDMA/bnxt_re: Fix to do SRQ armena by default
    52c13a4e741b RDMA/hns: Fix querying wrong SCC context for DIP algorithm
    a473adc12a63 RDMA/erdma: Fix unset QPN of GSI QP
    5f0cb9013d0f RDMA/erdma: Fix ignored return value of init_kernel_qp
    d47782d5c0cb platform/x86/amd/hsmp: Ensure sock->metric_tbl_addr is non-NULL
    7c626f6cb0e0 drm/panic: Add a u64 divide by 10 for arm32
    72097f917f20 rust: drm: don't pass the address of drm::Device to drm_dev_put()
    f46b0e361d28 rust: drm: remove pin annotations from drm::Device
    9cd486e47ca8 rust: drm: ensure kmalloc() compatible Layout
    3340149cebd9 rust: alloc: replace aligned_size() with Kmalloc::aligned_layout()
    6b14c9c91406 iosys-map: Fix undefined behavior in iosys_map_clear()
    9ab05797198c drm/tests: Fix drm_test_fb_xrgb8888_to_xrgb2101010() on big-endian
    c7f57093c5fb drm/tests: Do not use drm_fb_blit() in format-helper tests
    832b77ffd64f drm/tests: Fix endian warning
    933563ad9bbf cgroup/cpuset: Fix a partition error with CPU hotplug
    de2e883b65b0 cgroup/cpuset: Use static_branch_enable_cpuslocked() on cpusets_insane_config_key
    7d9110e3b35d drm/nouveau/nvif: Fix potential memory leak in nvif_vmm_ctor().
    b4223dfc8cea spi: spi-qpic-snand: fix calculating of ECC OOB regions' properties
    566f60ffbdbd spi: spi-fsl-lpspi: Clamp too high speed_hz
    eb9a497b9330 spi: spi-qpic-snand: use correct CW_PER_PAGE value for OOB write
    9fcc7401c59e iio: imu: inv_icm42600: change invalid data error to -EBUSY
    96abc49df8b9 iio: imu: inv_icm42600: Convert to uXX and sXX integer types
    22afdbd6fd2e iio: imu: inv_icm42600: use = { } instead of memset()
    d150fa3de946 ixgbe: prevent from unwanted interface name changes
    e02b94131603 devlink: let driver opt out of automatic phys_port_name generation
    ce94b5a280b0 i2c: rtl9300: Add missing count byte for SMBus Block Ops
    2245a5e3b2d2 i2c: rtl9300: Increase timeout for transfer polling
    f2acaff7be6a i2c: rtl9300: Fix multi-byte I2C write
    071e43fcba5d i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer
    d23264c257a7 x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper
    7d06af2fa25b x86/CPU/AMD: Ignore invalid reset reason value
    29c0ce3c8cdb tls: fix handling of zero-length records on the rx_list
    e93c964fa05a PCI: dwc: Ensure that dw_pcie_wait_for_link() waits 100 ms after link up
    12403bffed98 ovl: use I_MUTEX_PARENT when locking parent in ovl_create_temp()
    3079517a5ba8 tracing: Limit access to parser->buffer when trace_get_user failed
    a970a8a7403e tracing: Remove unneeded goto out logic
    5af0b2aac1dd usb: dwc3: pci: add support for the Intel Wildcat Lake
    db27482b9db3 usb: dwc3: Remove WARN_ON for device endpoint command timeouts
    2e61dd38d051 usb: dwc3: Ignore late xferNotReady event to prevent halt timeout
    36b93b34f392 usb: xhci: fix host not responding after suspend and resume
    83b0a4acf397 usb: xhci: Fix slot_id resource race conflict
    c151e1644d72 usb: typec: maxim_contaminant: re-enable cc toggle if cc is open and port is clean
    90baa40c68f7 usb: typec: maxim_contaminant: disable low power mode when reading comparator values
    fe682f5b857e USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles
    378da3668e4b usb: storage: realtek_cr: Use correct byte order for bcs->Residue
    8ea397f1c813 USB: storage: Add unusual-devs entry for Novatek NTK96550-based camera
    74152db56a18 usb: renesas-xhci: Fix External ROM access timeouts
    84dc7084ae5b usb: core: hcd: fix accessing unmapped memory in SINGLE_STEP_SET_FEATURE test
    aecf0d557ddd comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl()
    d8992c9a01f8 comedi: pcl726: Prevent invalid irq number
    dc0a2f142d65 comedi: Make insn_rw_emulate_bits() do insn->n samples
    5eb586cbbde0 usb: quirks: Add DELAY_INIT quick for another SanDisk 3.2Gen1 Flash Drive
    b23474adb491 cdx: Fix off-by-one error in cdx_rpmsg_probe()
    9502b99bac0b kcov, usb: Don't disable interrupts in kcov_remote_start_usb_softirq()
    913f3c0c68b6 most: core: Drop device reference after usage in get_channel()
    f947b1f153b5 iio: adc: rzg2l: Cleanup suspend/resume path
    9a50243a949c iio: proximity: isl29501: fix buffered read on big-endian systems
    59138285cf21 iio: adc: ad7173: prevent scan if too many setups requested
    4266666a3061 iio: adc: bd79124: Add GPIOLIB dependency
    e7ce902db071 iio: adc: rzg2l_adc: Set driver data before enabling runtime PM
    f93f84bfa1fc iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()
    8acd9a0eaa8c iio: light: as73211: Ensure buffer holes are zeroed
    23c0d44cc9e8 iio: adc: ad7124: fix channel lookup in syscalib functions
    600b6acad1ca iio: temperature: maxim_thermocouple: use DMA-safe buffer for spi_read()
    64db338140d2 ftrace: Also allocate and copy hash for reading of filter files
    c88c04adb861 iio: accel: sca3300: fix uninitialized iio scan data
    fbadb1f118b5 iio: adc: ad7380: fix missing max_conversion_rate_hz on adaq4381-4
    c3522378f7aa fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable()
    944e732be9c3 drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS
    c97636cc83d4 drm/amd: Restore cached manual clock settings during resume
    f875c3d5e302 iommu/virtio: Make instance lookup robust
    7a4c7d82aaf1 iommu: Remove ops.pgsize_bitmap from drivers that don't use it
    f9d5eaca749e use uniform permission checks for all mount propagation changes
    9464ca13e51a signal: Fix memory leak for PIDFD_SELF* sentinels
    90b5193edb32 fs/buffer: fix use-after-free when call bh_read() helper
    e41e33400516 smb: server: split ksmbd_rdma_stop_listening() out of ksmbd_rdma_destroy()
    a69da89ebc32 libfs: massage path_from_stashed() to allow custom stashing behavior
    f24ea09d04e0 fhandle: do_handle_open() should get FD with user flags
    580dc5286533 btrfs: zoned: fix data relocation block group reservation
    f5e395a0aa35 fs: fix incorrect lflags value in the move_mount syscall
    b68b61b5254a debugfs: fix mount options not being applied
    d30e2aa0633b rust: faux: fix C header link
    c8c752194916 xfs: fix frozen file system assert in xfs_trans_alloc
    e69d24d4a725 soc: qcom: mdt_loader: Fix error return values in mdt_header_valid()
    3a0dc1f487c3 drm/amdgpu: fix task hang from failed job submission during process kill
    ac58c2890b8d PCI: rockchip: Set Target Link Speed to 5.0 GT/s before retraining
    7c5d98374101 PCI: rockchip: Use standard PCIe definitions
    4df7f633a34b scsi: mpi3mr: Serialize admin queue BAR writes on 32-bit systems
    123c33677141 scsi: mpi3mr: Drop unnecessary volatile from __iomem pointers
    a8cd4c9e507d drm/amd/display: Fill display clock and vblank time in dce110_fill_display_configs
    630850b81a03 drm/amd/display: Find first CRTC and its line time in dce110_fill_display_configs
    17217623c946 drm/amd/display: Fix DP audio DTO1 clock source on DCE 6.
    f8db9f79d689 drm/amd/display: Fix Xorg desktop unresponsive on Replay panel
    c8365bbd54c7 drm/amd/display: Fix fractional fb divider in set_pixel_clock_v3
    6e31eeaef20c drm/amd/display: Don't overclock DCE 6 by 15%
    0c1a486cbe6f drm/amd/display: Avoid a NULL pointer dereference
    bb646e91f568 drm/i915/icl+/tc: Convert AUX powered WARN to a debug message
    1693effa11c8 drm/i915/lnl+/tc: Use the cached max lane count value
    45c2c8cede9b drm/i915/lnl+/tc: Fix max lane count HW readout
    68c3646e1b2f drm/i915/icl+/tc: Cache the max lane count value
    4059818663cb drm/i915/lnl+/tc: Fix handling of an enabled/disconnected dp-alt sink
    e1eff52183f8 drm/i915/gt: Relocate compression repacking WA for JSL/EHL
    37207b696369 drm/nouveau/gsp: fix mismatched alloc/free for kvmalloc()
    ec9e405ac16c drm/i915: silence rpm wakeref asserts on GEN11_GU_MISC_IIR access
    80eddbd0182a drm/amdgpu/swm14: Update power limit logic
    df647220b218 accel/habanalabs/gaudi2: Use kvfree() for memory allocated with kvcalloc()
    cde3a9094a48 compiler: remove __ADDRESSABLE_ASM{_STR,}() again
    7410fc77376a platform/x86/intel-uncore-freq: Check write blocked for ELC
    bf83ae353735 s390/sclp: Fix SCCB present check
    8ead139a8ede RDMA/rxe: Flush delayed SKBs while releasing RXE resources
    e7ea47001fe8 ALSA: hda/realtek: Add support for HP EliteBook x360 830 G6 and EliteBook 830 G6
    2812815aa796 ALSA: hda: tas2781: Fix wrong reference of tasdevice_priv
    d70ca21f7bff mm/mremap: fix WARN with uffd that has remap events disabled
    23580f9a3342 mm/memory-failure: fix infinite UCE for VM_PFNMAP pfn
    561171db3b3e mm/debug_vm_pgtable: clear page table entries at destroy_args()
    ee2d4f6cd021 mm/damon/core: fix damos_commit_filter not changing allow
    81e8bdf7fb21 squashfs: fix memory leak in squashfs_fill_super
    202a3432d21a NFS: Fix a race when updating an existing write
    c5a684386add mmc: sdhci_am654: Disable HS400 for AM62P SR1.0 and SR1.1
    4ab8829c1dfb mmc: sdhci-pci-gli: GL9763e: Rename the gli_set_gl9763e() for consistency
    439cf5e70a40 mmc: sdhci-pci-gli: GL9763e: Mask the replay timer timeout of AER
    3e2c9b87a53e memstick: Fix deadlock by moving removing flag earlier
    e2878bfec9f3 kho: warn if KHO is disabled due to an error
    4039ab9bdc72 kho: mm: don't allow deferred struct page with KHO
    9a140705f1a0 kho: init new_physxa->phys_bits to fix lockdep
    11b6e25ef6cd mmc: sdhci-pci-gli: Add a new function to simplify the code
    904a97fd5b32 mmc: sdhci-of-arasan: Ensure CD logic stabilization before power-up
    f9045bb7a700 mm/damon/core: fix commit_ops_filters by using correct nth function
    34ed1f9793b2 iommu/arm-smmu-v3: Fix smmu_domain->nr_ats_masters decrement
    95b6b3770add iov_iter: iterate_folioq: fix handling of offset >= folio size
    d34c04152df5 io_uring/futex: ensure io_futex_wait() cleans up properly on failure
    220c49149025 iommu/riscv: prevent NULL deref in iova_to_phys
    7ec68c59461c crypto: acomp - Fix CFI failure due to type punning
    31eb1b5e3f8a erofs: Do not select tristate symbols from bool symbols
    890a8ea06a09 erofs: fix build error with CONFIG_EROFS_FS_ZIP_ACCEL=y
    e91bed9a256a xfs: Remove unused label in xfs_dax_notify_dev_failure
    a97792008d16 xfs: fully decouple XFS_IBULK* flags from XFS_IWALK* flags
    6224b3cd64a3 xfs: improve the comments in xfs_select_zone_nowait
    3d4d9618c098 xfs: return the allocated transaction from xfs_trans_alloc_empty
    69dbbfeaab85 xfs: decouple xfs_trans_alloc_empty from xfs_trans_alloc
    bce7a5c77a1e btrfs: subpage: keep TOWRITE tag until folio is cleaned
    2c221996279c btrfs: rename btrfs_subpage structure
    e4a82c18c12d btrfs: add comments on the extra btrfs specific subpage bitmaps
    10ec363cfefe btrfs: fix subpage deadlock in try_release_subpage_extent_buffer()
    98f97e261641 btrfs: use refcount_t type for the extent buffer reference counter
    71f50f3c8691 btrfs: add comment for optimization in free_extent_buffer()
    99f62a4d5c19 btrfs: reorganize logic at free_extent_buffer() for better readability
    f4f5bd9251a4 btrfs: abort transaction on unexpected eb generation at btrfs_copy_root()
    31faf314f531 btrfs: always abort transaction on failure to add block group to free space tree
    a78818390cc0 btrfs: move transaction aborts to the error site in add_block_group_free_space()
    9d0c2d15aff9 mm/damon/ops-common: ignore migration request to invalid nodes
    7912d110cbf5 selftests: mptcp: sockopt: fix C23 extension warning
    201a991417dd selftests: mptcp: connect: fix C23 extension warning
    e39df3506fb8 selftests: mptcp: pm: check flush doesn't reset limits
    18ab643fb9a2 mptcp: disable add_addr retransmission when timeout is 0
    297878767c3c mptcp: remove duplicate sk_reset_timer call
    1e640c78faeb mptcp: pm: kernel: flush: do not reset ADD_ADDR limit
    1983470069cb mptcp: drop skb if MPTCP skb extension allocation fails
    b02eec41c9bb ACPI: APEI: EINJ: Fix resource leak by remove callback in .exit.text
    908094681f64 ACPI: pfr_update: Fix the driver update version check
    49f6c5634844 cpuidle: governors: menu: Avoid selecting states with too much latency
    e58d219b04d6 cgroup: avoid null de-ref in css_rstat_exit()
    f7878d47560d ipv6: sr: Fix MAC comparison to be constant-time
    6a32cbe95029 sched/ext: Fix invalid task state transitions on class switch
    61009439e4bd net, hsr: reject HSR frame if skb can't hold tag
    716d57caa0f9 LoongArch: KVM: Add address alignment check in pch_pic register access
    b5b49d341f90 LoongArch: KVM: Fix stack protector issue in send_ipi_data()
    c8e5c452bd38 LoongArch: KVM: Make function kvm_own_lbt() robust
    bc7d1d2e8233 drm/amd/display: Don't overwrite dce60_clk_mgr
    7133d48b9b06 drm/amd/display: Revert "drm/amd/display: Fix AMDGPU_MAX_BL_LEVEL value"
    dbbaa73e4927 drm/amd/display: Pass up errors for reset GPU that fails to init HW
    2700e35f1695 drm/amd/display: fix initial backlight brightness calculation
    a3fe5909ce0e drm/amd/display: Fix DCE 6.0 and 6.4 PLL programming.
    4ade995b9b25 drm/amd/display: fix a Null pointer dereference vulnerability
    1ed73a5d8aaa drm/amd/display: Add primary plane to commits for correct VRR handling
    ac2021ff853e drm/amdkfd: Fix checkpoint-restore on multi-xcc
    910735ded17c drm/amdkfd: Destroy KFD debugfs after destroy KFD wq
    382928bd92fc drm/amdgpu: Update supported modes for GC v9.5.0
    0d2e2bc1dd85 drm/amdgpu: update mmhub 4.1.0 client id mappings
    8a29e52fb53e drm/amdgpu: update mmhub 3.3 client id mappings
    e8510423f220 drm/amdgpu: update mmhub 3.0.1 client id mappings
    a5c060425719 drm/amdgpu: Update external revid for GC v9.5.0
    7c6119c239d0 drm/amdgpu: track whether a queue is a kernel queue in amdgpu_mqd_prop
    88b2dcc8f3a0 drm/amdgpu: Retain job->vm in amdgpu_job_prepare_job
    a7bb3e1dcf47 drm/amdgpu: Initialize data to NULL in imu_v12_0_program_rlc_ram()
    98e92fceb950 drm/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities
    35a37af0b3ef drm/amdgpu: Avoid extra evict-restore process.
    30c699785ba3 drm/amdgpu: add missing vram lost check for LEGACY RESET
    b6700e1db625 drm/amdgpu: add kicker fws loading for gfx12/smu14/psp14
    be549f991478 drm/amd: Restore cached power limit during resume
    1d37040767f4 drm/amdgpu/discovery: fix fw based ip discovery
    56b955718be0 drm/amd/amdgpu: fix missing lock for cper.ring->rptr/wptr access
    8415a9c3f97a drm/xe: Defer buffer object shrinker write-backs and GPU waits
    b89714bfc993 drm/xe/bmg: Add one additional PCI ID
    aa59dd7d3d90 media: iris: Remove unnecessary re-initialization of flush completion
    490754519d0d media: iris: Verify internal buffer release on close
    b4cb178ca378 media: iris: Update CAPTURE format info based on OUTPUT format
    7309f625f8cb media: iris: Track flush responses to prevent premature completion
    fcb27affcb61 media: iris: Skip flush on first sequence change
    be05123a14c1 media: iris: Skip destroying internal buffer if not dequeued
    a6a196cd6d68 media: iris: Send V4L2_BUF_FLAG_ERROR for capture buffers with 0 filled length
    8d12079a139f media: iris: Remove error check for non-zero v4l2 controls
    61429aaa019b media: iris: Remove deprecated property setting to firmware
    991e88119f83 media: iris: Prevent HFI queue writes when core is in deinit state
    ec8c4354638f media: iris: Fix typo in depth variable
    992ddee3c0da media: iris: Fix NULL pointer dereference
    af5af85abd8d media: iris: Fix missing function pointer initialization
    55a2bc01c768 media: iris: Fix buffer preparation failure during resolution change
    3b2631783222 media: iris: Drop port check for session property response
    280d4c8e026d media: iris: Avoid updating frame size to firmware during reconfig
    7cbce62ce99c media: venus: venc: Clamp param smaller than 1fps and bigger than 240
    974aba0da7cd media: venus: vdec: Clamp param smaller than 1fps and bigger than 240.
    e796028b4835 media: venus: protect against spurious interrupts during probe
    c957a0a01af4 media: venus: hfi: explicitly release IRQ during teardown
    9e8a0ddeaee1 media: venus: Fix MSM8998 frequency table
    f0cbd9386f97 media: venus: Add a check for packet size after reading from shared memory
    a1524d9ed110 media: qcom: camss: Remove extraneous -supply postfix on supply names
    423d163c5d8c media: qcom: camss: cleanup media device allocated resource on error path
    850538d18347 media: qcom: camss: csiphy-3ph: Fix inadvertent dropping of SDM660/SDM670 phy init
    1dfe73394dcf media: ivsc: Fix crash at shutdown due to missing mei_cldev_disable() calls
    41b97490a165 media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval
    bd5811e253f2 media: ov2659: Fix memory leaks in ov2659_probe()
    3681d9a0f0b0 media: pisp_be: Fix pm_runtime underrun in probe
    ff9dd3db6cd4 media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt()
    9f886d21e235 media: usbtv: Lock resolution while streaming
    d8bf3e843eab media: v4l2-ctrls: Don't reset handler's error in v4l2_ctrl_handler_free()
    673ce1119ed1 media: verisilicon: Fix AV1 decoder clock frequency
    130474bd3e57 media: vivid: fix wrong pixel_array control size
    6b07fdbe3dbf media: ipu6: isys: Use correct pads for xlate_streams()
    d8c94df2064d media: imx: fix a potential memory leak in imx_media_csc_scaler_device_init()
    1d60df423dff media: hi556: correct the test pattern configuration
    1eaed533aae1 media: gspca: Add bounds checking to firmware parser
    8f4cb3d0d0ab parisc: Update comments in make_insert_tlb
    2545af5b608b parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
    9b6af875baba parisc: Revise gateway LWS calls to probe user read access
    741b163e4406 parisc: Revise __get_user() to probe user read access
    b9948b890df7 parisc: Rename pte_needs_flush() to pte_needs_cache_flush() in cache.c
    7595fe8f2a5a parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers
    4afb1352b85d parisc: Drop WARN_ON_ONCE() from flush_cache_vmap
    5f441312a75d parisc: Define and use set_pte_at()
    372da085eff5 parisc: Check region is readable by user in raw_copy_from_user()
    dd673de98954 soc/tegra: pmc: Ensure power-domains are in a known state
    ec8d823eb049 proc: proc_maps_open allow proc_mem_open to return NULL
    69dbdc711d91 open_tree_attr: do not allow id-mapping changes without OPEN_TREE_CLONE
    23a94fc0fcd2 Mark xe driver as BROKEN if kernel page size is not 4kB
    2ed7759ffd27 kbuild: userprogs: use correct linker when mixing clang and GNU ld
    c9ec713e03e6 kasan/test: fix protection against compiler elision
    3faac5e1d14c jbd2: prevent softlockup in jbd2_log_do_checkpoint()
    86de3aaf29a4 iomap: Fix broken data integrity guarantees for O_SYNC writes
    13344509b72d i2c: qcom-geni: fix I2C frequency table to achieve accurate bus rates
    f1d5093d9fe9 f2fs: fix to avoid out-of-boundary access in dnode page
    a51d24abb2f8 block: restore default wbt enablement
    8b7b5f147713 ASoC: SOF: amd: acp-loader: Use GFP_KERNEL for DMA allocations in resume context
    bae2af0eadd0 amdgpu/amdgpu_discovery: increase timeout limit for IFWI init
    03875a42b43a phy: qcom: phy-qcom-m31: Update IPQ5332 M31 USB phy initialization sequence
    0a73a4215b2b vhost/vsock: Avoid allocating arbitrarily-sized SKBs
    676f03760ca1 vsock/virtio: Validate length in packet header before skb_put()
    8ba110b3dfda PCI: imx6: Delay link start until configfs 'start' written
    6182c00bc0ec PCI: imx6: Remove apps_reset toggling from imx_pcie_{assert/deassert}_core_reset
    fa596cb9aa16 PCI: imx6: Add IMX8MM_EP and IMX8MP_EP fixed 256-byte BAR 4 in epc_features
    f2d5c599c1e4 PCI: imx6: Add IMX8MQ_EP third 64-bit BAR in epc_features
    315b964fa9d7 PCI: endpoint: Fix configfs group removal on driver teardown
    a302bd89db35 PCI: endpoint: Fix configfs group list head handling
    16557320f378 PCI: Fix link speed calculation on retrain failure
    a9fae40f362a PCI/portdrv: Use is_pciehp instead of is_hotplug_bridge
    fd2e31c9fab7 readahead: fix return value of page_cache_next_miss() when no hole is found
    815b33994fa0 mfd: mt6397: Do not use generic name for keypad sub-devices
    2128bd83aec3 mtd: rawnand: renesas: Add missing check after DMA map
    f8f74ac7b0d7 mtd: rawnand: fsmc: Add missing check after DMA map
    bbbe279879d1 mtd: spinand: propagate spinand_wait() errors from spinand_write_page()
    5a3a4e425ba4 mtd: spi-nor: Fix spi_nor_try_unlock_all()
    ccca9b82fe11 hwmon: (gsc-hwmon) fix fan pwm setpoint show functions
    bf1a20c57101 pwm: mediatek: Fix duty and period setting
    ab2331507c72 pwm: mediatek: Handle hardware enable and clock enable separately
    e50917dc04cd pwm: imx-tpm: Reset counter if CMOD is 0
    6fc2589aae91 wifi: ath11k: fix dest ring-buffer corruption when ring is full
    eed5fcf4a3d2 wifi: ath11k: fix source ring-buffer corruption
    0f708ced8975 wifi: ath11k: fix dest ring-buffer corruption
    d4c7edd0b383 wifi: ath12k: fix dest ring-buffer corruption when ring is full
    06fcf123f31b wifi: ath12k: fix source ring-buffer corruption
    c2e387387439 wifi: ath12k: fix dest ring-buffer corruption
    b860da3ace17 wifi: brcmsmac: Remove const from tbl_ptr parameter in wlc_lcnphy_common_read_table()
    fb67be2b6864 iio: adc: ad7173: fix setting ODR in probe
    5c6c645d9916 iio: adc: ad7173: fix calibration channel
    2def1a8691eb iio: adc: ad7173: fix channels index for syscalib_mode
    4c6cc6d7dbbf iio: adc: ad_sigma_delta: change to buffer predisable
    5c2b601922c0 iio: imu: bno055: fix OOB access of hw_xlate array
    700b7fd04e8d zynq_fpga: use sgtable-based scatterlist wrappers
    81278be4eb5f soc: qcom: mdt_loader: Ensure we don't read past the ELF header
    6e1536900639 ata: libata-scsi: Fix CDL control
    947ee26c115b scsi: ufs: ufs-pci: Fix default runtime and system PM levels
    626a57fd7204 scsi: ufs: ufs-pci: Fix hibernate state transition for Intel MTL-like host controllers
    369144743de1 ata: libata-scsi: Return aborted command when missing sense and result TF
    979f38605b7f ata: libata-scsi: Fix ata_to_sense_error() status handling
    c38de5c5d59b scsi: mpi3mr: Fix race between config read submit and interrupt completion
    5b9f1ef29342 scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE
    88c0aacaf5f0 scsi: dt-bindings: mediatek,ufs: Add ufs-disable-mcq flag for UFS host
    ffd43c23c09d dt-bindings: display: vop2: Add optional PLL clock property for rk3576
    c6b1871ada1b dt-bindings: display: sprd,sharkl3-dsi-host: Fix missing clocks constraints
    fa2bb2cadee1 dt-bindings: display: sprd,sharkl3-dpu: Fix missing clocks constraints
    063b381661e1 apparmor: Fix 8-byte alignment for initial dfa blob streams
    47b2d7b91af4 arm64: dts: rockchip: Remove workaround that prevented Turing RK1 GPU power regulator control
    fb62e2166b79 arm64: dts: ti: k3-am62-verdin: Enable pull-ups on I2C buses
    2b31be87128f arm64: dts: exynos7870-on7xelte: reduce memory ranges to base amount
    9b6e6a68a556 arm64: dts: ti: k3-am62*: Move eMMC pinmux to top level board file
    5cb67d96d312 arm64: dts: ti: k3-am62a7-sk: fix pinmux for main_uart1
    276ee664cada arm64: dts: exynos: gs101: ufs: add dma-coherent property
    68e82705b464 arm64: dts: rockchip: Enable HDMI PHY clk provider on rk3576
    cd93a971ff3e arm64: dts: rockchip: Add HDMI PHY PLL clock source to VOP2 on rk3576
    980648aa73f9 arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode
    432868604b8f arm64: dts: ti: k3-pinctrl: Enable Schmitt Trigger by default
    8c164d6915d3 arm64: dts: exynos7870-j6lte: reduce memory ranges to base amount
    9874d3d27fe1 arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support
    c1e72a3b4b62 arm64: dts: apple: t8012-j132: Include touchbar framebuffer node
    e8dd21d68572 btrfs: fix printing of mount info messages for NODATACOW/NODATASUM
    0a9ce997b883 btrfs: restore mount option info messages during mount
    df2fe1a7f689 btrfs: fix incorrect log message for nobarrier mount option
    e8cf57134aa7 btrfs: zoned: fix write time activation failure for metadata block group
    f1dad8922501 ext4: fix hole length calculation overflow in non-extent inodes
    5e14e7060bb5 ext4: use kmalloc_array() for array space allocation
    2ea0fcc8878f ext4: don't try to clear the orphan_present feature block device is r/o
    dea93e9d7bdc ext4: fix reserved gdt blocks handling in fsmap
    63235222321d ext4: fix fsmap end of range reporting with bigalloc
    a4f16e7104fa ext4: check fast symlink for ea_inode correctly
    ccfa47edb01b ext4: preserve SB_I_VERSION on remount
    918974a4bd80 tracing: fprobe-event: Sanitize wildcard for fprobe event name
    8c9ee2e4f58e ksmbd: extend the connection limiting mechanism to support IPv6
    9a7abce6e8c0 ksmbd: fix refcount leak causing resource not released
    fd1896dccc9a Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"
    26f8402ba28f crypto: hash - Increase HASH_MAX_DESCSIZE for hmac(sha3-224-s390)
    415273fc22bf crypto: octeontx2 - Fix address alignment on CN10KB and CN10KA-B0
    11a6e7d57025 crypto: octeontx2 - Fix address alignment on CN10K A0/A1 and OcteonTX2
    6208992dcb93 crypto: octeontx2 - Fix address alignment issue on ucode loading
    475104178f4d crypto: x86/aegis - Add missing error checks
    02caf91b2fa1 crypto: x86/aegis - Fix sleeping when disallowed on PREEMPT_RT
    e59a52e429e1 crypto: qat - flush misc workqueue during device shutdown
    488ed465e579 crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP
    7e3d3e10f3a4 crypto: ccp - Fix SNP panic notifier unregistration
    bd1e33b90abd crypto: qat - lower priority for skcipher and aead algorithms
    ef74efa598b7 lib/crypto: arm64/poly1305: Fix register corruption in no-SIMD contexts
    87bdfba903be lib/crypto: arm/poly1305: Fix register corruption in no-SIMD contexts
    23c46714cc01 lib/crypto: mips/chacha: Fix clang build and remove unneeded byteswap
    387164a2b97e netfs: Fix unbuffered write error handling
    99c39cf8b9d6 vt: defkeymap: Map keycodes above 127 to K_HOLE
    7099408cfb9b vt: keyboard: Don't process Unicode characters in K_OFF mode
    44e1a079e18f bus: mhi: host: Detect events pointing to unexpected TREs
    d6d3405b1005 bus: mhi: host: Fix endianness of BHI vector table
    f23ad68dfb1a usb: dwc3: imx8mp: fix device leak at unbind
    3d238a236bb9 usb: dwc3: meson-g12a: fix device leaks at unbind
    38a0b2f2c5e0 usb: musb: omap2430: fix device leak at unbind
    4997027888b3 usb: gadget: udc: renesas_usb3: fix device leak at unbind
    42f86088b700 usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init()
    d58b1124494d iio: adc: ad7173: fix num_slots
    c8e96018630a m68k: Fix lost column on framebuffer debug console
    b67964b373c8 dm: Check for forbidden splitting of zone write operations
    52a2c4c60470 dm: dm-crypt: Do not partially accept write BIOs with zoned targets
    e753e3534e6c PM: runtime: Take active children into account in pm_runtime_get_if_in_use()
    55131fdb0cad platform/chrome: cros_ec: Unregister notifier in cros_ec_unregister()
    a7a22cc80550 cpufreq: armada-8k: Fix off by one in armada_8k_cpufreq_free_table()
    fa70bb0c8504 ata: Fix SATA_MOBILE_LPM_POLICY description in Kconfig
    38c0ea484ded serial: 8250: fix panic due to PSLVERR
    fd590381da18 Linux 6.16.3
    3471c1400ad1 ext4: replace ext4_writepage_trans_blocks()
    2e8216e289d0 ext4: reserved credits for one extent during the folio writeback
    2b6d39229bc7 ext4: correct the reserved credits for extent conversion
    7fe61ac00262 ext4: enhance tracepoints during the folios writeback
    ffb21eafbf4f ext4: restart handle if credits are insufficient during allocating blocks
    ab13e8cc3fb2 ext4: refactor the block allocation process of ext4_page_mkwrite()
    98571b628c61 ext4: fix stale data if it bail out of the extents mapping loop
    de83915e8f2a ext4: move the calculation of wbc->nr_to_write to mpage_folio_done()
    dc3588c04deb ext4: process folios writeback in bytes

(From OE-Core rev: 10bca0e0737863a7a01aebf747cd25ccc69e3bf7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Ross Burton
1d2edd90f4 grub2: fix CVE-2024-56738
Backport an algorithmic change to grub_crypto_memcmp() so that it
completes in constant time and thus isn't susceptible to side-channel
attacks.

(From OE-Core rev: 30a1cc225a2bd5d044bf608d863a67df3f9c03be)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Ross Burton
ac9e312641 grub2: mark CVE-2024-2312 as not applicable
This issue is specific to the peimage module that Ubuntu add, and is not
an upstream issue.

(From OE-Core rev: 8d2fe3f403e6435e1ffe122a6776381090752d8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Ross Burton
11e6c13eb1 libxslt: apply patch for CVE-2025-7424
This patch is taken from the upstream bug, and is used by Apple in their
build of WebKit.

(From OE-Core rev: 19122ccb05282e9b8803c4d1aaf06b61c22a1bab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Ross Burton
f7925cc80f pulseaudio: ignore CVE-2024-11586
As per the linked ticket, this issue is related to an Ubuntu-specific
patch that we don't have.

(From OE-Core rev: dc81fdc6bdf8ab39b7f2fd994d50256430c36558)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Gyorgy Sarvari
0b45504ab2 diffoscope: upgrade 301 -> 306
Changelog:
302:
* Mask stderr from the extract-vmlinux script.
* Make it much more explicit that we return 'success' from the
  extract-vmlinux script instead of just falling through to the bottom of the
  script.
* Use Difference.from_operation in an attempt to pipeline the output of
  extract-vmlinux, potentially avoiding it all residing in memory. This is an
  attempt to prevent out of memory issues on try.diffoscope.org.
* Use --print-armap long option with nm in the "ar" comparator for wider
  compatibility.

303:
* Don't check for PyPDF version 3 specifically, check for >= 3. Thanks,
  Vagrant, for the patch.
* Ensure that Java class files are named .class on the filesystem before
  passing them to javap(1).
* Update copyright years.

304:
* Do not run jsondiff on files over 100KiB as the algorithm runs in O(n^2)
  time.
* Fix test after the upload of systemd-ukify 258~rc3 (vs. 258~rc2).
* Move from a mono-utils dependency to versioned "mono-devel | mono-utils"
  dependency, taking care to maintain the riscv64 architecture
  restriction.
* Use sed -ne over awk -F= to to avoid mangling dependency lines containing
  equals signs (=), for example version restrictions.
* Use sed backreferences when generating debian/tests/control to avoid DRY
  violations.
* Update copyright years.
* Avoid a crash in the HTML presenter when page limit is None.

305:
Upload to unstable/sid after the release of trixie.

306:
* Fix compatibility with RPM 6.
* Use regular 'open' calls instead of the deprecated 'codecs.open'.
* Accept additional 'v' when calling 'fdtump --version'.

(From OE-Core rev: 4901bf71978136df0446d88ca71fb6712297e4ce)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
99f8b7ba44 meson: upgrade 1.8.2 -> 1.9.0
(From OE-Core rev: 85dd4c757e880e1a108cc57cf40d61c36bd81bab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
e8d18e65d5 xdpyinfo: upgrade 1.3.4 -> 1.4.0
(From OE-Core rev: 1ecc91d78b98e71912ae221f63a622335dc98ac4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
19b1a723e6 sudo: upgrade 1.9.17p1 -> 1.9.17p2
(From OE-Core rev: 12e9ba655153a9cb7c2b79cf52a2300e19634dcf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
13d8f3f966 stress-ng: upgrade 0.19.03 -> 0.19.04
(From OE-Core rev: eb520a6c2b85528cef8b40524a46c62c03ad904b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
350c26a3c0 ruby: upgrade 3.4.4 -> 3.4.5
(From OE-Core rev: 961c37a469c3aeb23f3dddce3199cd3b6a83d495)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
dbc5fc46f9 python3-xmltodict: upgrade 0.14.2 -> 0.15.1
(From OE-Core rev: b8f9db8424ead13a628c02c82f4f7b56acd38356)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
85c9b40b96 python3-trove-classifiers: upgrade 2025.5.9.12 -> 2025.9.8.13
(From OE-Core rev: c90e5721f62451990423968338a75abb137dc1b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
156d105311 python3-ruamel-yaml: upgrade 0.18.14 -> 0.18.15
(From OE-Core rev: 1891d2352789393698b77ab7635e7a4825588c7c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
9bcade4c61 python3-pytest: upgrade 8.4.1 -> 8.4.2
(From OE-Core rev: 8787dad5fefdf946a7c05c8cd69a8f504e73320f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
669b7b6a4d python3-markdown: upgrade 3.8.2 -> 3.9
(From OE-Core rev: 1dad2cca384e50cbd6b6bca10d48210c70292f6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:56 +01:00
Wang Mingyu
93d60bcd50 python3-jsonschema: upgrade 4.25.0 -> 4.25.1
(From OE-Core rev: 35d381bb7e64afb47941550b20629dafe82bae63)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
e4a302b93f python3-jsonschema-specifications: upgrade 2025.4.1 -> 2025.9.1
(From OE-Core rev: 3ac88bcbeab0713370497c2c8ad95616f95c02c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
110c39b5de python3-hypothesis: upgrade 6.135.29 -> 6.138.15
(From OE-Core rev: 4bdcde64a74f2919c5b48c71bd6b7021a4ce871d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
8e7a6b5a43 python3-build: upgrade 1.2.2 -> 1.3.0
(From OE-Core rev: b6bd9f0d31519e05a6bfb4b964219cb0d7c1e439)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
6a2e8736c9 pixman: upgrade 0.46.2 -> 0.46.4
(From OE-Core rev: 78db2aaf42c51c61b539f2c04258d3fe3968a46c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
196e9647e9 msmtp: upgrade 1.8.30 -> 1.8.31
(From OE-Core rev: 6450bb3620c3d632be918ae266f5623af26505fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
3d6c7aa62b mpg123: upgrade 1.33.0 -> 1.33.2
(From OE-Core rev: a00aaacd90c53fc403b4860cabae76284fe1de6e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
89f4ffd468 libxscrnsaver: upgrade 1.2.4 -> 1.2.5
(From OE-Core rev: aa01e6aa96637639587e7ef8e031b472a43a72c0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
fb20739926 libxres: upgrade 1.2.2 -> 1.2.3
(From OE-Core rev: 916d8eb398a963e8e7826d61f80c243d66ce60aa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
553b943fae libxml2: upgrade 2.14.5 -> 2.14.6
(From OE-Core rev: 28af77eea6fe04c923d57b8b20ad24414ffc8621)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
b45c136657 libxfixes: upgrade 6.0.1 -> 6.0.2
(From OE-Core rev: 345c05d5e7d1e34702b52345673e30d07f829746)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
bcfb6c2741 libunwind: upgrade 1.8.2 -> 1.8.3
(From OE-Core rev: 9b0c07c800f0237af8c0be792b11ba0552231d86)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
61784d670c libsolv: upgrade 0.7.34 -> 0.7.35
(From OE-Core rev: 2f026b8abe1a266d5a62571f877245f4b702d42a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
7d81fb2206 libjpeg-turbo: upgrade 3.1.1 -> 3.1.2
License-Update: Copyright year updated to 3.1.2

(From OE-Core rev: 5a1043161b4131dee40265c6dcf8b000b234aadc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
aaacd8e87b libinput: upgrade 1.29.0 -> 1.29.1
(From OE-Core rev: cdf99f6f2f93896e8ab9f2a893108ea3854dc882)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
35f94e8d07 libatomic-ops: upgrade 7.8.2 -> 7.8.4
(From OE-Core rev: 02d66279071cbd043474dc44f44d348ec3228583)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
9d8c62fbae iw: upgrade 6.9 -> 6.17
(From OE-Core rev: 11b48ad749c6f45bf5502a4bb9f21fe72629e3d7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
eb63e94a76 iproute2: upgrade 6.15.0 -> 6.16.0
(From OE-Core rev: a750578cb10479e536c38a85dab3d5749ece2049)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
d4ea8fd8bd enchant2: upgrade 2.8.10 -> 2.8.12
(From OE-Core rev: dafd5c068a40e9c306a3b9baadbb6db0afe7463f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
4d26476e20 ed: upgrade 1.22.1 -> 1.22.2
(From OE-Core rev: 1735a2d0ea5da73e606e08b030222876abe5f1cc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
2d8b3fafd8 btrfs-tools: upgrade 6.15 -> 6.16
(From OE-Core rev: 0f960412297a3edbf3ae8b06a32aca46d0c51450)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
a1d6e5c755 bind: upgrade 9.20.11 -> 9.20.12
(From OE-Core rev: 2a81d3568389250616001f7617f8566478f61ff0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
5e5278cff0 barebox-tools: upgrade 2025.07.0 -> 2025.08.0
(From OE-Core rev: d755452bdf202991a0f6619b939ca5ba7d00558d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Wang Mingyu
371d189217 acpica: upgrade 20240827 -> 20250807
License-Update: Copyright updated to 2025

(From OE-Core rev: 56933e81bdb6d6bed144985ec5b6ee3450e8a160)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Koen Kooi
b734181952 systemd: change pni-names logic to something less confusing
Using bb.utils.contains in negative logic leads to either overly verbose
or plain confusing code, so harness the power of Ross and Antonin to
make this less verbose and slightly clearer.

This moves the negative logic from the inline python ('true if not') to
bash ('if !').

(From OE-Core rev: 52ea4612f9262a9e607fb3eee08906ec687197ee)

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Khem Raj
b499241d85 python: Skip NODEV portion of test_makedev when linked to musl
backport the upstreamed patch which is available in 3.14+

(From OE-Core rev: 46e0b41cc78d77900286c198da81159e63c2cb63)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Trevor Woerner
3e07b2e323 wic: partition.py: fix help string
The help suggests invoking 'wic help source-plugins' for information on how to
add a new plugin, this results in:

	usage: wic help [-h] {plugins,overview,kickstart,create,ls,cp,rm,write,list} ...
	wic help: error: argument help_topic: invalid choice: 'source-plugins' (choose from 'plugins', 'overview', 'kickstart', 'create', 'ls', 'cp', 'rm', 'write', 'list')

The proper command is 'wic help plugins'.

(From OE-Core rev: 7e5c7633a3cb7f1718f40ba63ecc30bb8ea07928)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 11:31:55 +01:00
Robert Yang
09c6c50b1d automake: 1.17 -> 1.18.1
* Drop 0001-configure-don-t-report-error-when-the-path-of-Perl-c.patch, it is a
  warning not an error any more, so just drop it.

(From OE-Core rev: 40144c6b24133eadec8f7b91ddbe8633e4082d5c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-11 09:41:10 +01:00
Chen Qi
66ed4bccd6 package_manager/__init__.py: remove obsolete codes related to packagefeed-stability
The packagefeed-stability.bbclass has been removed. The codes related
to it are also obsolete. Remove them.

(From OE-Core rev: e3bf1c4a40e64acadbf3f905d898d81db762d8f4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Gyorgy Sarvari
1cad0ccc89 gettext, gettext-minimal-native: upgrade 0.23.1 -> 0.26
Changelog:
0.24: https://lists.gnu.org/archive/html/info-gnu/2025-02/msg00010.html
0.25: https://lists.gnu.org/archive/html/info-gnu/2025-05/msg00000.html
0.26: https://lists.gnu.org/archive/html/info-gnu/2025-07/msg00007.html

- gettext-minimal-native recipe adapted to the new macro name (aclocal_DATA -> macros_DATA)
- install Makevars.template to gettext-minimal-native to be able to update missing variables
  The file is renamed in the desitanion to Makevars.template.minimal, to avoid clashing
  with the full gettext package (some recipes have both as dependency).
- autotools.bbclass: search for all po folders, and update the Makefile.in.in file
  in each of them. This is required, because without this the old Makefile.in.in
  files in these non ${S}/po folders are not updated with the new version of gettext, and
  the compilation routinely fails due to this.
  As part of the same change, also concatenate the source's Makevars files with the gettext
  Makevars.template: this allows all variables to be defined, even the new ones that the
  source didn't contain originally. First set the gettext template, and then append
  the source's original Makevars to it, so it should override the variables that it was
  setting originally, and keep the new variables at their default value.
- Add new PACKAGECONFIG to use libselinux, and also fix libselinux discovery in autotools
  (use pkg-config instead of autotools discovery, because autotools' library search doesn't
  respect custom sysroot)

Ptest results:

=======================
All 626 tests passed
(40 tests were not run)
=======================
DURATION: 36
END: /usr/lib/gettext/ptest
2025-08-30T17:49
STOP: ptest-runner
TOTAL: 1 FAIL: 0

With the previous version:
All 545 tests passed
(34 tests were not run)

(From OE-Core rev: f4b240b4d2c4b424e5dc8f739d8702c736f32d13)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Gyorgy Sarvari
533adb63d1 rust-target-config.bbclass: move target generation before do_configure
The rust_get_targets task from the rust-target-config class generates some
Rust compiler configurations for different the target and host machine, which
is used by Rust during compiling a recipe. These configurations supposed to
be available by the time the Rust compiler is used for the first time.

By default, this task is executed "before do_compile" - it assumes that
this is the first task that would use this configuration.

However this is not always the case, especially with projects which are not
pure Cargo projects, rather Cargo/Rust is called by a different build system.
As an example librsvg uses meson, and during the do_configure step Meson probes
the Rust compiler, trying to gather some library info from Rust. In case the
rust_gen_targets task was executed before the do_configure task, then
everything works. However this is not always the case - sometimes the job is
executed between the configure and compile steps, in which case the configuration
fails.

To avoid such problems, generate these targets before the do_configure step.

(From OE-Core rev: 1d3c02553122982daedfe32c6ce09fac9e091952)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Markus Volk
54e5c536db glib-2.0: update 2.84.4 -> 2.86.0
Overview of changes in GLib 2.86.0, 2025-09-05
==============================================

* Rework how platform-specific introspected GIO APIs have to be imported to fix
  problems with backwards-compatibility provision for it, by removing duplicate
  platform-specific symbols from `Gio-2.0`. Users of platform-specific GIO APIs
  should be unaffected, as `GIRepository` will now automatically import
  `GioWin32-2.0` or `GioUnix-2.0` when asked to import `Gio-2.0`. However,
  projects generating introspection data which depends on types from either of
  those platform-specific GIRs must make sure they depend on those GIRs
  explicitly, rather than just transitively depending on them through `Gio-2.0`
  (#3744, work by Emmanuele Bassi, Marco Trevisan, Florian Müllner, and others)

* Fix file existence queries on Solaris, broken due to unexpected flags handling
  within `faccessat()` (#3770, work by Niveditha Rau)

* Bugs fixed:
  - #3744 GDesktopAppInfo API disappeared after girepository-2.0 port (Emmanuele
    Bassi)
  - #3768 g_test_trap_subprocess does not check G_TEST_SUBPROCESS_INHERIT_STDIN
    (Philip Withnall)
  - !4751 gtestutils: Fix a slightly broken example in a doc comment
  - !4754 Update Polish translation 250825
  - !4758 Update Swedish translation
  - !4762 gio: gmemorymonitorpsi: Replace GRegex with g_str_has_prefix()
  - !4765 girepository: Add an assertion to help scan-build
  - !4767 glocalfile: Disable faccessat()-based query_exists on Solaris
  - !4768 gmessages: Fix win32_keep_fatal_message regression
  - !4769 docs: Fix typos
  - !4770 Update Chinese translation
  - !4771 Update Georgian translation
  - !4772 po: Update Persian translation.

* Translation updates:
  - Chinese (China) (lumingzh)
  - Georgian (NorwayFun)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Swedish (Anders Jonsson)

Overview of changes in GLib 2.85.4, 2025-08-22
==============================================

* Follow symlink (instead of overwriting it) when updating `mimeapps.list`
  (#3579, work by Rafael Girão)

* Bugs fixed:
  - #3579 mimeapps.list is overwritten if it is a symlink (Rafael Girão)
  - #3724 Crash in g_hash_table_add after 252645135 elements (Tobias Stoeckmann)
  - #3743 g_utf8_validate out parameter has wrong type (two)
  - #3751 meta: clang-format refers to a broken link (Rafael Girão)
  - #3758 Out-of-bounds read in GMemoryMonitorPoll (Philip Withnall)
  - #3760 Stack overflow when recursing within g_log_structured() with
    `G_LOG_FLAG_RECURSION` (Tobias Stoeckmann)
  - #3761 Regression in g_printf() - can no longer output formatted values
    containing NUL bytes (Luca Bacci)
  - #3766 Update sl.po (Slovenian) (Martin)
  - !4714 gmain: Reformat docs to fully use gi-docgen and match style guide
  - !4720 Disable GMemoryMonitorPsi on Solaris
  - !4727 garray: Improve and migrate documentation to gi-docgen
  - !4735 build: Fix stp files for development versions
  - !4736 systemtap: Use correct formatters/types
  - !4738 docs: Add Thomas Haller as a co-maintainer of GObject
  - !4739 Annotate ref/unref functions as transfer full
  - !4740 gstrfuncs: Check parameter validity
  - !4742 garray: Fix g_array_binary_search description
  - !4743 Update Russian translation
  - !4744 tests/gio: skip Unix socket-mock tests on Windows
  - !4747 tests/printf: Use proper compare helper for unsigned types
  - !4748 gconstructor: Add attribute used for TLS callback pointer

* Translation updates:
  - Russian (jtux270)
  - Slovenian (Martin)

Overview of changes in GLib 2.85.3, 2025-08-08
==============================================

* Fix encoding of output from `g_print()` and `g_printerr()` when locale is set
  to `.utf8` on Windows (#3341, work by Luca Bacci)

* Bugs fixed:
  - #3341 `g_print` and `g_printerr` will cause encoding errors on Windows when
    locale is set to `.utf8` (Luca Bacci)
  - #3739 Crash in accept_ready() of GThreadedSocketService Under High Load
    (Philip Withnall)
  - #3740 Documentation of g_win32_error_message  does not contain information
    about the behaviour when FormatMessageW failed (Philip Withnall)
  - #3755 AIX: Unwanted symbol needs to be removed for AIX platform: getpwnam_r,
    getpwuid_r (Parth Patel)
  - !4706 gthreadpool: Clean up when g_thread_pool_new fails
  - !4707 tests: Skip slow mainloop test on valgrind
  - !4708 gfilenamecompleter: Fix g_object_unref() of undefined value
  - !4709 tests: Connect to GMemoryMonitor signals earlier
  - !4712 tests/thread-pool: Add a thread-pool fail test
  - !4713 Fix test error for GMemoryMonitor
  - !4715 gdbuserror: Reformat docs to fully use gi-docgen and match style guide
  - !4722 tests: Add missing unistd.h header to thread-pool test
  - !4723 tests: Add a missing poll condition to socket-listener test
  - !4724 garray: Pass errors through GByteArray functions
  - !4725 garray: Add checks to g_ptr_array_extend_and_steal
  - !4726 Add a basic GFilenameCompleter test
  - !4728 gbitlock: Fix documentation issues
  - !4729 [RFC] Tests: do not set a timeout in Python tests
  - !4730 gstrfuncs: Always treat G_MININT64 in g_ascii_strtoll
  - !4731 glocalfile: Disable faccessat()-based query_exists on OpenBSD
  - !4733 gvalue: Reformat docs to fully use gi-docgen and match style guide
  - !4734 gspawn: Improve docstring for g_spawn_async()

Overview of changes in GLib 2.85.2, 2025-07-21
==============================================

* New Linux PSI based backend for `GMemoryMonitor` as an option to use instead
  of the existing Low Memory Monitor daemon backend (!4481, work by Kate Hsuan)

* Bugs fixed:
  - #1443 Deadlock between g_module_open() and dlopen() when called from a
    constructor
  - #2848 Doc: clarification request regarding g_match_info_fetch_pos return
    value (Mark Lautman)
  - #3712 Crash in g_thread_pool_new_full
  - #3713 call g_file_enumerator_close in g_file_enumerator_finalize is not safe
    (fbrouille)
  - #3716 (CVE-2025-7039) (#YWH-PGM9867-104) Buffer Under-read on GLib through
    glib/gfileutils.c via get_tmp_file() (Michael Catanzaro)
  - #3721 GFile leak in g_local_file_set_display_name during error handling
    (Philip Withnall, Michael Catanzaro)
  - #3725 Deadlock on source_destroy_lock inside g_main_context_unref() and
    g_source_destroy() (with child sources) (Matthew Waters)
  - #3726 GApplication sometimes fails to call before_emit (Matthias Clasen)
  - !4481 gio: gmemorymonitorpsi: Replace GMemoryMonitor backend with kernel PSI
    event
  - !4665 gio: enums: Fix GBusNameOwnerFlags's annotation
  - !4667 Incorrect output parameter handling in closure helper of
    g_settings_bind_with_mapping_closures
  - !4669 Add missing `(array zero-terminated=1)` annotations
  - !4676 Fix IPv6 scope-id from DNS responses being lost
  - !4680 gbacktrace: Correctly wait for children on Unix
  - !4681 (CVE-2025-6052) gstring: Improve
    g_string_expand/g_string_append_len_inline checks
  - !4682 gio-tool-launch: fix %k field code expansion
  - !4683 gio-tool-launch: Fix mismatched curly quotes in translatable strings
  - !4684 garray: Support unallocated zero terminated arrays
  - !4685 garray: Use g_array_elt_len/pos where appropriate
  - !4687 gstring: Fix g_string_append_vprintf overflow
  - !4690 garray: Fix out of boundary write in g_ptr_array_copy
  - !4692 tests: Fix a minor leak in array-test
  - !4693 tests: Loosen string comparison assertion in gio-tool.py
  - !4694 tests: Do not always skip array overflow checks
  - !4695 garray: Add more element_size > 0 checks
  - !4698 garray: Avoid exponential growth in g_array_copy
  - !4699 garray: Set capacity in terminated take functions
  - !4700 gfileutils: Fix OOB read in g_build_path(name)_va
  - !4701 gbacktrace: Fix OOB write in stack_trace
  - !4702 gio/filenamecompleter: Fix leaks
  - !4703 application: NULL check for options
  - !4704 tests: Add a regression test for GApplication command line handling

Overview of changes in GLib 2.85.1, 2025-06-13
==============================================

* Re-add the option of a singleton to `GIRepository` (#3664, work by
  Christian Hergert)

* Add support for the `e` flag (O_CLOEXEC) to `g_fopen()` (!4564, work by
  Luca Bacci and Philip Withnall)

* Make the `sysprof` Meson option yield when using GLib as a subproject (!4659,
  work by Matthias Clasen)

* Use the Meson built-in `localedir` option (!4661, work by
  Kleis Auke Wolthuizen)

* Bugs fixed:
  - #1665 g_file_trash() should return PERMISSION_DENIED if files can't be
    deleted (Ignacy Kuchciński)
  - #3664 Lack of g_irepository_get_default() equivalent makes cross-library
    integration extremely difficult (Christian Hergert)
  - #3698 Misleading autogenerated hints in the documentation of
    g_async_queue_pop() (Alicia Boya García)
  - !4560 glib/gnulib/printf.c: Sync with gnulib
  - !4564 gstdio: Add support for the `e` flag (O_CLOEXEC) to g_fopen()
  - !4637 Rework Windows implementation of g_getenv()
  - !4641 [th/gobj-drop-bit-lock] gobject: drop object_bit_lock() functions
  - !4642 [th/gobj-empty-notify-queue] gobject: optimize notify-queue handling
    for a single freeze
  - !4643 GRegex: apply monospace typeface in description
  - !4644 gio: add annotations on parameters of 'g_file_monitor_emit_event' and
    of 'g_vfs_get_file_for_path'
  - !4645 gregex: Clarify docs for end_pos
  - !4646 GRegex: update class description
  - !4649 GAsyncQueue: assert non-null data in push_sorted()
  - !4650 tests: Add atomics to asyncqueue test global variables
  - !4651 Meson: Add libglib_static dependency for use in tests
  - !4652 gobject: clarify in documentation that g_value_set_boxed copies
  - !4654 Fix buffer overflow in string-test
  - !4655 gstring: Fix overflow check when expanding the string
  - !4657 docs: Stop hiding the Unix-like APIs which are in Gio-2.0.gir
  - !4658 gmarkup: make documentation more discoverable
  - !4659 Make the sysprof feature yield
  - !4661 meson: Use the appropriate localedir option

Overview of changes in GLib 2.85.0, 2025-05-20
==============================================

 * Preserve mode for existing file when creating a temporary file for atomic
   updates with g_file_set_contents() (dconf#76, work by Wesley Hershberger)

 * Fix race conditions between g_main_context_unref() and g_source_*() methods
   (#803, work by Matthew Waters)

 * Allow file handles inside nested containers when using the `gdbus call`
   command (#3624, work by Julian Sparber)

 * Fix DNS resolution of local addresses in offline mode (#3641, work by
   Patrick Griffis)

 * Various performance improvements to GObject locking (various MRs by
   Thomas Haller)

 * Prefer matches occurring earlier in the string when searching
   `GDesktopAppInfo`s, improving search for apps in gnome-shell (!4369, work by
   Fina Wilke)

 * Fix thread safety of `GClosure` flags (!4575, !4577, work by Sam James and
   Philip Withnall)

* Bugs fixed:
  - GNOME/dconf#76 dconf update can set incorrect permissions to dconf system db
    (Wesley Hershberger)
  - #490 Not clearly documented behavior of g_key_file_set_comment function.
    (marklkram)
  - #803 g_main_context_unref() versus g_source_*() race (Matthew Waters)
  - #1002 GObject doesn't support removing a weak reference in a GWeakNotify for
    the same object
  - #1250 gsocketlistener: Fix IPv4 listen() error-handling resulting in use-
    after-free
  - #2377 Document that `g_socket_address_get_native_size()` can return `-1` on
    errors
  - #2544 Consider `g_log_always_fatal` for aborting in
    `g_log_structured_array()` (sid)
  - #3405 Enable -Wconversion warnings by default (progress towards this, but it
    is not complete)
  - #3616 docs: Broken link in GioActionEntry (Philip Withnall)
  - #3617 Add generalised version of g_date_get_monday_week_of_year() (Philip
    Withnall)
  - #3624 `gdbus call` should look for file handles inside nested containers
    (Julian Sparber)
  - #3630 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10:
    fatal error: netlink/netlink_route.h: No such file or directory (Philip
    Withnall)
  - #3634 test failure with gobject-introspection 1.83.4: warning: element
    doc:format from state 3 is unknown, ignoring (Philip Withnall)
  - #3636 gio/trash does not handle special characters well
  - #3641 GResolver: Local DNS resolution failure in offline mode (Patrick
    Griffis)
  - #3642 `g_cancellable_connect()` documentation incorrect (Marco Trevisan
    (Treviño))
  - #3643 g_cancellable_connect(): is it safe to unref cancellable from
    callback? (Marco Trevisan (Treviño))
  - #3649 Crash with some registry key values in GWin32AppInfo (Philip Withnall)
  - #3656 Set SYSLOG_IDENTIFIER when logging to journald (Axel Karjalainen)
  - #3657 girepository: Wrong typelib path on Windows
  - #3663 Cannot use GZlibCompressor in GTK testsuite (Benjamin Otte)
  - #3684 UAF in GSignalGroup weak notify callbacks (Thomas Haller)
  - #3686 docs.gtk.org doesn't mention that GSourceFuncs.finalize may be NULL
    (BZZZZ)
  - #3693 Random failures in debian-i386-stable
  - !4185 [th/gobject-no-object-locks-pt1-notify] use
    `g_datalist_id_update_atomic()` instead of OPTIONAL_BIT_LOCK_NOTIFY
  - !4247 mappedfile: Avoid some allocations
  - !4369 gdesktopappinfo: Prefer matches that occur earlier in the match string
  - !4387 Fix various -Wshorten-64-to-32 warnings
  - !4484 Memory sanitizer fixes
  - !4489 gobject: Be consistent in using atomic logic to handle the
    GParamSpecPool
  - !4520 [th/gdataset-cleanup] minor cleanups of gdataset
  - !4536 [th/gobj-closure-array-atomic] use g_datalist_id_update_atomic() for
    array of closure watches
  - !4541 gsettings: Port docs to gi-docgen format, add missing annotations and
    make various improvements
  - !4544 tests: Don't install runner scripts without installed_tests
  - !4545 Update French translation
  - !4547 Update Catalan translation
  - !4548 Update Turkish translation
  - !4551 Updated Danish translation
  - !4552 Update Persian translation
  - !4553 docs: Document GSignalFlags members added after 2.0
  - !4554 Update Indonesian translation
  - !4555 tests: Add a test for g_object_freeze_notify() being called too often
  - !4557 gfileinfo: Slightly expand docs for
    g_file_info_get_attribute_as_string()
  - !4558 gi: Dynamically set doc-format
  - !4561 tests: Various fixes to create temporary files in /tmp rather than the
    build directory
  - !4562 gdbusnameowning: Convert docs to gi-docgen linking syntax
  - !4563 giounix-private: Fix macro for checking for epoll_create1()
  - !4565 Fix LGPL in header
  - !4567 gutils: make documentation of g_set_prgname() clearer
  - !4568 docs: Add some detail
  - !4569 Update Romanian translation
  - !4570 gspawn-win32: Fix potential integer overflows in argv handling
  - !4571 gvarianttype: Improve docs on type validation
  - !4575 gclosure: fix ATOMIC_CHANGE_FIELD to read vint atomically
  - !4577 gclosure: Allow full set of closure flags to be queried atomically
  - !4578 [th/bit-lock-and-set] bitlock: add g_bit_lock_and_get() and
    g_bit_unlock_and_set() API
  - !4579 tests: Add missing unistd.h include to scannerapi.c
  - !4581 [th/gobj-no-weak-ref-lock] drop OPTIONAL_BIT_LOCK_WEAK_REFS object
    lock for `g_object_weak_{ref,unref}()`
  - !4583 thread: fix Linux detection
  - !4585 gfile: Expand documentation around file info for inaccessible files
  - !4586 [th/gobj-doc-weakref] clear #GWeakRef earlier in
    g_object_run_dispose() and reword docs about #GWeakRef
  - !4588 gstring: carefully handle gssize parameters
  - !4590 Various -Wsign-conversion warning fixes
  - !4591 gthreadedresolver: fix crash in loopback interface check
  - !4592 gstring: Make len_unsigned unsigned
  - !4594 Enable -Wsign-conversion for girepository, gthread, gmodule
  - !4596 docs: Mention how to run the test suite in CONTRIBUTING.md
  - !4598 gtlsconnection: Fix annotation
  - !4599 Mark pointer as (type gpointer)
  - !4601 garray: Fix annotations
  - !4602 docs: fix typo glong: ULONG_MAX -> LONG_MAX
  - !4603 Fix GNetworkMonitorNetlink operation under a FreeBSD jail with shared
    network stack
  - !4604 cocoa: add support for GBytesIcon in notification backend
  - !4605 gparamspecs: Use standard min/max constants rather than literals
  - !4606 gobject, girepository: Fix several -Wsign-conversion warnings on macOS
  - !4609 Update Portuguese translation
  - !4610 Update Ukrainian translation
  - !4613 Update macOS job for new CI runner
  - !4615 shell: Handle empty comment gracefully
  - !4619 gslist: Improve documentation for append / prepend / insert methods
  - !4620 glocalfile: Disable faccessat()-based query_exists on Android
  - !4621 gallocator: mark as deprecated
  - !4627 [th/gsignalgroup-dispose] gsignalgroup: make GSignalGroup.dispose() a
    bit more reentrant
  - !4628 [th/gdataset-fix-zero-key] fix and cleanup related to using a zero
    GQuark for keys in GData
  - !4631 Update German translation
  - !4632 win32: Only print one OS version
  - !4633 gzlibcompressor: Convert docs to gi-docgen linking syntax
  - !4638 docs: Fix formatting of definition lists

* Translation updates:
  - Catalan (Jordi Mas)
  - Danish (Ask Hjorth Larsen)
  - French (Vincent Chatelain)
  - German (Philipp Kiemle)
  - Indonesian (Andika Triwidada)
  - Persian (Danial Behzadi)
  - Portuguese (Hugo Carvalho)
  - Romanian (Antonio Marin)
  - Turkish (Sabri Ünal)
  - Ukrainian (Yuri Chornoivan)

- remove backport patches

(From OE-Core rev: b1f741735c8da6eb92d2ffd94084aa9328aa665d)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Gyorgy Sarvari
364e1baf8b ptest-cargo.bbclass: sort binaries for reproducibility
When compiling tests with cargo, the produced binaries are created
in a non-deterministic order. The list of binaries themselves are taken from
some of the log info produced by cargo, which contains them in the order
as they were created. The class later writes this list of binaries
in the run-ptest script in the order that it found them.

In case the test suite contains more than 1 or 2 binaries, then the
order of these binaries is different almost each run, making the
resulting ptest package non-reproducible.

To avoid this, sort the list of test binaries before storing them.

(From OE-Core rev: 0fdc3ce4e3ecc6519aef680884d88f33c805a20d)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Ross Burton
5465f56897 tcl: skip http11 tests
These tests are either unstable under load, or just unstable.

A ticket has been filed upstream[1] but for now disable them.

[ YOCTO #15467 ]

[1] https://core.tcl-lang.org/tcl/tktview/3764f4e81f1483ab554c6d60f8483887bde28221

(From OE-Core rev: 8f1538518fd3a3017189b38437691ce358a2566a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Antonin Godard
20a1e4e401 oeqa/bblayers.py: add a test case for bitbake-config-build show-fragment
Add a test case for 'bitbake-config-build show-fragment' and use
'bitbake-config-build list-fragments' to get the path to the fragment.

(From OE-Core rev: 09468f352994a05b59911b2fe7412d3540cdb3cb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Antonin Godard
3b1a9693b6 lib/configfragments: add a show-fragments command
We can print information on fragments (name, location, description,
etc.), but not their content.

Add a show-fragment command to do that. It can be used as follows:

  $ bitbake-config-build show-fragment core/yocto/sstate-mirror-cdn

And prints:

  .../meta/conf/fragments/yocto/sstate-mirror-cdn.conf:

  BB_CONF_FRAGMENT_SUMMARY = "Use prebuilt sstate artifacts for standard Yocto build configurations."
  BB_CONF_FRAGMENT_DESCRIPTION = "The Yocto Project has prebuilt artefacts available for standard build configurations. \
  ...

(From OE-Core rev: 71cd1ae6a8367f2135855a2904e8b8d4967efd99)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Kavinaya S
fa529b2498 image-fitimage: add FIT_LINUX_BIN variable
Add FIT_LINUX_BIN variable to image-fitimage.conf to allow control over
kernel section inclusion.

Suggested-by: Adrian Freihofer <adrian.freihofer@siemens.com>
(From OE-Core rev: d077777cbdb4b00eb424289e85fe661f69a9877a)

Signed-off-by: Kavinaya S <kavinaya@qti.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Kavinaya S
0d17c4fb51 kernel-fit-image: control kernel section with FIT_LINUX_BIN
Update kernel-fit-image.bbclass to conditionally include the kernel
section based on FIT_LINUX_BIN variable.

Suggested-by: Adrian Freihofer <adrian.freihofer@siemens.com>
(From OE-Core rev: 9c8ef2119949900bee222ddc0fdfb23424a032d0)

Signed-off-by: Kavinaya S <kavinaya@qti.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Gyorgy Sarvari
35d92cf314 bitbake.conf: drop GPE_MIRROR variable
GPE_MIRROR is not used by any recipes. Beside this it looks like
the url (http://gpe.linuxtogo.org/download/source) is unavailable,
and the main url (linuxtogo.org) is using an invalid certificate
(issued for another website).

It looks this mirror isn't useful nor valid anymore - so drop it.

(From OE-Core rev: 458833061e83c842e9d92dd822d17b914d71ca63)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:40 +01:00
Hongxu Jia
c1d4291a9d grub-efi.bbclass: fix racing issue on grub-efi image
In recipe grub-efi, the deploy task installed grub-efi image to deploy dir.

In image-live.bbclass, the do_bootimg task called build_iso -> efi_iso_populate
-> efi_populate.

In image-live.bbclass, the do_bootimg task called build_hddimg -> efi_hddimg_populate
-> efi_populate.

In grub-efi.bbclass, efi_populate called efi_populate_common for grub-efi to
installed grub-efi image from deploy dir to ISO/HDDDIR.

Explicitly make do_bootimg depend on grub-efi:deploy otherwise a racing issue
on grub-efi image in deploy dir
...
|DEBUG: Executing shell function build_iso
|NOTE: Trying to install tmp/deploy/images/qemux86-64/bzImage as tmp/work/qemux86_64-wrs-linux/
wrlinux-image-installer/1.0/sources/wrlinux-image-installer-1.0/iso/bzImage
|install: cannot stat 'tmp/deploy/images/qemux86-64/grub-efi-bootx64.efi': No such file or directory
|WARNING: tmp/work/qemux86_64-wrs-linux/wrlinux-image-installer/1.0/temp/run.build_iso.954273:419 exit 1 from
'install -m 0644 tmp/deploy/images/qemux86-64/$2-bootx64.efi ${DEST}/EFI/BOOT/bootx64.efi'
...

(From OE-Core rev: bf0a53af7801a13b39734c3d720f127f212d08f1)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Yi Zhao
6396ab96d5 libsdl2: upgrade 2.32.8 -> 2.32.10
This is a stable bugfix release, with the following changes:
  Fixed the dock occasionally showing on macOS when launching an SDL app
  Report the correct device audio format when using Pipewire
  Fixed signed 8-bit audio on Android
  Support the "ambient" value for SDL_HINT_AUDIO_CATEGORY on iOS
  Improved thumbstick range for Nintendo Switch Pro Controllers
  Fixed loading user calibration for Nintendo Switch Pro Controllers

(From OE-Core rev: 7e9fd5c891ac2ff1deb936123231cf3a5f60201f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Markus Kurz
476840e0ac harfbuzz: upgrade 11.4.1 -> 11.4.5
mainly bugfixes introduced.

for release notes see:
https://github.com/harfbuzz/harfbuzz/releases

(From OE-Core rev: 31305cb4081c01a2d67b05d1dc75b3453fa523e7)

Signed-off-by: Markus Kurz <m.kurz92@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Ross Burton
c4324cbff2 perf: enable coresight if enabled in MACHINE_FEATURES
Enable the CoreSight[1] functionality in perf[2] if 'coresight' is in the
MACHINE_FEATURES.

Note that enabling this will mean a dependency on the opencsd recipe,
which is currently part of meta-arm[3]. I don't think this is a problem
as this recipe is Arm-specific, and as this is a new feature the
behaviour is opt-in so shouldn't break any existing machines.

[1] https://docs.kernel.org/trace/coresight/coresight.html
[2] https://docs.kernel.org/trace/coresight/coresight-perf.html
[3] https://git.yoctoproject.org/meta-arm/tree/meta-arm/recipes-devtools/opencsd

(From OE-Core rev: c455bd039104466b26a959a6495dbb5a642b4533)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Robert Yang
19a2b4f33f libcheck: Fix do_install error with automake 1.18.1
Fixed do_install error with automake 1.18
$ makeinfo -I ../../check-0.15.2/doc -o ../../check-0.15.2/doc/check.info \
    ../../check-0.15.2/doc/check.texi
[snip]
check.texi:2329: no matching `@end verbatim'
[snip]

The automake before 1.17's mdate-sh couldn't update libcheck's
doc/version.texi, so the doc/check.info wasn't re-generated, then we couldn't
see the build error.

(From OE-Core rev: bf4227f982a845039acecedb78e20f109aa467d8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Gyorgy Sarvari
8bf22b958c pinentry: upgrade 1.3.1 -> 1.3.2
Shortlog:

-qt: Replace icons for dark mode with 16x16 icons
-qt,qt5: Ensure that input field is large enough for generated password
-qt5: Add dark mode icon variants and detection
-Make Show/Hide Password functionality accessible
-qt5: Make Show/Hide Password functionality accessible
-m4: Update libassuan.m4.
-build: Remove defining GPG_ERR_ENABLE_ERRNO_MACROS.
-build: Fix warning about obsolete pinentry-emacs.
-curses: Factor out dialog release to separate function.
-qt: Add dark mode icon variants and detection
-m4: Update gpg-error.m4 and libassuan.m4.

Also: Simplify patch to find gpg-error with pkg-config

(From OE-Core rev: afa8d2becc9c53a92d29f413d9eec737d7e12601)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Gyorgy Sarvari
64857a709b apt: upgrade 2.6.1 -> 3.0.3
Changelog:
https://metadata.ftp-master.debian.org/changelogs/main/a/apt/apt_3.0.3_changelog

Dropped patches which are included in this release, or became obsolete:
0001-Fix-compilation-error-with-clang-libc-18.patch - included in this release
0001-Fix-musl-build.patch - included in this release
0001-Raise-cmake_minimum_required-to-3.13-to-avoid-warnin.patch - included in this release
0001-Remove-using-std-binary_function.patch - became obsolete, fixed upstream
0001-aptwebserver.cc-Include-array.patch - became obsolete, fixed upstream
0001-strutl-Add-missing-include-cstdint-gcc-15.patch - included in this release

Added a new patch to avoid compilation error with musl:
error: 'basename' was not declared in this scope; did you mean 'rename'?

Adapted DEPENDS list - gnutls and gcrypt dependencies were dropped in favor of openssl
in version 2.9.19.

Added a new PACKAGECONFIG, 'usrmerge', which displays a gentle warning if the system
isn't a usrmerge system during package installation.

Added new COMMON_ARCH CMake argument - if it is not defined, CMake is trying to
determine the value of this variable by running dpkg, which is usually a futile
endeavour. It is used in config creation, and to print some system info.

Also adapt a self test: the apt-key command has been deprecated since a while,
and in this release it was completely removed. Instead sources.list file
contains the signature data, on a per-repository basis.

(From OE-Core rev: 1413a6144679a8347a3487f1950612ee20ff382c)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Pierre-Loup GOSSE
468bcd1950 wic: rename wks flag --extra-space to --extra-filesystem-space
Makes a clear distinction with --extra-partition-space flag.

(From OE-Core rev: 39d10137b86ebb6d1f20c36ae50a7771e6c76251)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>

CC: Alexander Kanavin <alex.kanavin@gmail.com>
CC: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Pierre-Loup GOSSE
21d98bd960 wic: add --extra-partition-space option to set unused space
By default, the content of the partition is filled by the filesystem
without leaving any unused free space. The --extra-space flag adds
extra space to the filesystem size, not to the partition.

Unused free space after the filesystem can be useful for some cases,
such as encrypting a partition at runtime.
With --extra-partition-space 32M, we ensure that the last 32M of the
partition is unused: this space does not contain filesystem data and
can store the LUKS2 header.

The implementation sets a difference between the partition and
filesystem size:
  - With --fixed-size, the extra part space is removed from the
    filesystem size.
  - Otherwise (with or without --size flag), the extra part space is
    added to the partition size.

(From OE-Core rev: 22fd1702aedf40257aa53963b62b5ef1bbd2818a)

Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr>

CC: Alexander Kanavin <alex.kanavin@gmail.com>
CC: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Khem Raj
857bb50a35 kea: Upgrade to 3.0 LTS release
* Drop backported patch and refresh remaining
* Add fixes to build with boost 1.89.0
* Switch to meson build system
* Delete meson-info files
  There’s no Meson built-in switch to stop creating intro-*.json
  in the build dir (that’s by design), only to stop installing them is
  possible. for runtime, Kea doesn’t read it, this is just build metadata

License-Update: Removed remaining coroutine references [1]

[1] 93bab7a99f

(From OE-Core rev: 7fc9f49262379442503f010933047e421efcf5f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Gyorgy Sarvari
6250a25224 boost: upgrade 1.88.0 -> 1.89.0
Changelog: https://www.boost.org/releases/1.89.0/

(From OE-Core rev: 67ed4255dfa70b7b1d6b32e60a436bad67051d52)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Gyorgy Sarvari
679159848d boost-build-native: upgrade 1.87 -> 1.89
Changelog: https://www.boost.org/releases/1.89.0/

(From OE-Core rev: d1a1dedc92f90901998a8dec31450bb219c58c0a)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Christian Lindeberg
a25eb24eed recipetool/create_go: Tidy up a bit
There is no need for a temporary Go module cache after moving generation
of module dependency include files to go-mod-update-modules.bbclass.

(From OE-Core rev: 376ce22b3ba5286eda54d9f9bb1c4cd7f54ff9e7)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Christian Lindeberg
7424e8bbd0 go-mod-update-modules.bbclass: Update license finding
Use ${GO_INSTALL} when listing package dependencies.

Look for licenses for each package dependency continuing upwards, but not
above the module root, until some license is found.

(From OE-Core rev: 26368cfb9180664b66bed5caf900931d08e44d38)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Christian Lindeberg
7cf52b24a5 oe/license_finder: Add find_licenses_up function
Add a function for finding licenses in a directory or upwards but not
above a top directory.

(From OE-Core rev: c5c3f7397e62e6e4be6b6fe611317a2f5f853a04)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Harish Sadineni
39d5df91ed oeqa/selftest/cases/gcc.py: add libitm to default installed packages.
When running oe-selftest few libitm tests were getting failed due
to below error:
/tmp/runtest.923959/alloc-1.exe: error while loading shared libraries:
libitm.so.1: cannot open shared object file: No such file or directory

Adding libitm to default installed packages to fix this issue.

(From OE-Core rev: 0bc2cc9589b5cd3e11cbba1bb588785845db4faa)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Hongxu Jia
9544bd9f57 vulkan-validation-layers: fix compile failure with DEBUG_BUILD = 1
When building with GCC 14+ using -Og (DEBUG_BUILD = 1), got
the following errors:

$ echo 'DEBUG_BUILD = "1"' >> conf/local.conf
$ echo 'DISTRO_FEATURES:append = " vulkan opengl"' >> conf/local.conf
$ bitbake vulkan-validation-layers
...
|TOPDIR/tmp/work/core2-32-wrs-linux/vulkan-validation-layers/1.4.309.0/git/layers/./external/
xxhash.h:4822:1: error: inlining failed in call to 'always_inline' 'void XXH3_scrambleAcc_sse2
(void*, const void*)': function not considered for inlining
...

Refer [1], using XXH_NO_INLINE_HINTS when compiling with -Og (DEBUG_BUILD = 1)

[1] https://github.com/Cyan4973/xxHash/issues/943

(From OE-Core rev: b52c435d9011286aba92ec82dfa83767173da583)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 18:02:39 +01:00
Robert Yang
2713f56afe git: 2.50.1 -> 2.51.0
(From OE-Core rev: dc1eb22b6bb4130275de495a30a11e7c496a7c5a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Khem Raj
eb1e3ff580 bindgen-cli: Upgrade to 0.72.1
Fixed bugs

- Apply a fix for a breaking change in Clang (see issue #3264 and related).

(From OE-Core rev: 2afa751883049b4fad9941780ec7159def4fc828)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Khem Raj
f31114ee2e python3-pdm: Update 2.25.4 -> 2.25.9
- Add site-packages path to pdm info and print interpreter URL in
  pdm python install -v.
- Support explicit free-threaded Python selection via version suffix t.
- Multiple lockfile/pylock improvements and hash handling fixes.
- Windows path resolution fixes for uv; CLI help formatting preserved.
- Dependencies: require packaging>22.0; bump truststore to 0.10.4.
- Misc: fix AI coding fast apply error

(From OE-Core rev: 5d693522c3aedef8fcbe8ba7ca3b112262427a51)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Khem Raj
eee031d6ce python3-lxml: upgrading to 6.0.1
Bugs fixed

LP#2116333: lxml.sax._getNsTag() could fail with an exception on malformed input.

GH#467: Some test adaptations were made for libxml2 2.15. Patch by Nick Wellnhofer.

LP2119510, GH#473: A Python compatibility test was fixed for Python 3.14+. Patch by Lumír Balhar.

GH#471: Wheels for “riscv64” on recent Python versions were added. Patch by ffgan.

GH#469: The wheel build no longer requires the wheel package unconditionally. Patch by Miro Hrončok.

Binary wheels use the library version libxml2 2.14.5.

Windows binary wheels continue to use a security patched library version libxml2 2.11.9.

(From OE-Core rev: 4194aa5de0523070f98a82b5019ba8f94107a14f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
6dde49f9b9 python3-rpds-py: upgrade 0.27.0 -> 0.27.1
v0.27.1:
* Include attestations in published artifacts by @EpicWink in #160

Comparing Changes:
https://github.com/crate-py/rpds/compare/v0.27.0...v0.27.1

References:
https://github.com/crate-py/rpds/pull/160

(From OE-Core rev: aea7cc86baca60316931b11c547b66994111469b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
d939a48318 python3-requests: upgrade 2.32.4 -> 2.32.5
2.32.5 (2025-08-18)

* Bugfixes
  - The SSLContext caching feature originally introduced in 2.32.0 has
    created a new class of issues in Requests that have had negative
	impact across a number of use cases. The Requests team has decided
	to revert this feature as long term maintenance of it is proving to
	be unsustainable in its current iteration.

* Deprecations
  - Added support for Python 3.14.
  - Dropped support for Python 3.8 following its end of support.

https://requests.readthedocs.io/en/latest/community/updates/#release-history

Comparing Changes:
https://github.com/psf/requests/compare/v2.32.4...v2.32.5

(From OE-Core rev: c4c2313df6c63c26ee3e5d683a8c903050212754)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
5013e15d63 python3-typing-extensions: upgrade 4.14.1 -> 4.15.0
Release 4.15.0 (August 25, 2025)
* No user-facing changes since 4.15.0rc1.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-4150-august-25-2025

Release 4.15.0rc1 (August 18, 2025)
* Add the @typing_extensions.disjoint_base decorator, as specified in
  PEP 800. Patch by Jelle Zijlstra.
* Add typing_extensions.type_repr, a backport of annotationlib.type_repr,
  introduced in Python 3.14 (CPython PR #124551, originally by Jelle
  Zijlstra). Patch by Semyon Moroz.
* Fix behavior of type params in typing_extensions.evaluate_forward_ref.
  Backport of CPython PR #137227 by Jelle Zijlstra.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-4150rc1-august-18-2025

Comparing Changes:
https://github.com/python/typing_extensions/compare/4.14.1...4.15.0

(From OE-Core rev: d7c4f8f95de6b6f74eec055886d266e5379f40d3)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
8fafd4fb03 python3-cryptography{-vectors}: upgrade to 45.0.7
45.0.7 - 2025-09-01

* Added a function to support an upcoming pyOpenSSL release.

https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#4507---2025-09-01

Comparing Changes:
https://github.com/pyca/cryptography/compare/45.0.6...45.0.7

(From OE-Core rev: 00787e40527786d510a06d9a4dde5d8fb7ab7d90)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
102dc28052 python3-maturin: upgrade 1.9.3 -> 1.9.4
1.9.4:
* Add a use-base-python option to pyproject.toml with the same behaviour
  as MATURIN_PEP517_USE_BASE_PYTHON.
* Add builtin sysconfigs for GraalPy
* Fix calculation of platform tag for FreeBSD

https://github.com/PyO3/maturin/blob/main/Changelog.md#194

Comparing Changes:
https://github.com/PyO3/maturin/compare/v1.9.3...v1.9.4

(From OE-Core rev: 445a6a281f5101acc34b5779a6b67d7ada80c6e2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Tim Orling
ffed74363d python3-setuptools-rust: upgrade 1.11.1 -> 1.12.0
1.12.0 (2025-08-29)

* Set PYO3_BUILD_EXTENSION_MODULE environment variable when building
PyO3 extensions. #540

https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md#1120-2025-08-29

Reference:
https://github.com/PyO3/setuptools-rust/pull/540

Comparing Changes:
https://github.com/PyO3/setuptools-rust/compare/v1.11.1...v1.12.0

(From OE-Core rev: 05db2e8f5515198195de8acab37363bc53f9278f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Koen Kooi
9352450dfa systemd: stop enabling non-standard MAC policy when using the 'pni-names' DISTRO_FEATURE
This recipe enabled an additional, non-standard policy for predictable
network names: the MAC policy. This is a deviation from upstream
policies and in cases where no MAC address is available, it makes it
actively worse by changing the name(s) every boot.

Change the logic to disable predictable naming when the DISTRO_FEATURE
isn't enabled and only use upstream logic with it *is* enabled.

For DISTROs that wish to use non-standard policies, a DISTRO layer is the correct place.
E.g. in DISTRO_LAYER/recipes-core/systemd/systemd_%.bbappend:

do_install:append:DISTRO() {
       if ${@bb.utils.contains('PACKAGECONFIG', 'pni-names', 'true', 'false', d)}; then
               if ! grep -q '^NamePolicy=.*mac' ${D}${nonarch_libdir}/systemd/network/99-default.link; then
                       sed -i '/^NamePolicy=/s/$/ mac/' ${D}${nonarch_libdir}/systemd/network/99-default.link
               fi
               if ! grep -q 'AlternativeNamesPolicy=.*mac' ${D}${nonarch_libdir}/systemd/network/99-default.link; then
                       sed -i '/AlternativeNamesPolicy=/s/$/ mac/' ${D}${nonarch_libdir}/systemd/network/99-default.link
               fi
}

(From OE-Core rev: 9b34a810496f4b769394aa6ba7c0f6013d18ccc8)

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Zoltán Böszörményi
918a0003e5 tiff: Add PACKAGECONFIG for liblerc
tiff-native may pick up liblerc from the host using the .so
symlink, in which case it's added as a private requirement
in libtiff-4.pc. That in turn causes a build error in
gtk4-native in Yocto because Lerc.pc does not exist.

This was observed on Fedora 42 with gdk-pixbuf2-devel installed
on the host where libtiff is a dependency of gdk-pixbuf2 and
libtiff 4.7.0 is built with liblerc enabled.

Add a new PACKAGECONFIG setting for liblerc but keep it disabled
since liblerc does not exist in Yocto at the moment.

(From OE-Core rev: c95048a1a78522fa5a8fb128dfe6fe2442cd61d2)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Backport-to: walnascar
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Yogita Urade
41bf6100cd tiff: fix CVE-2025-8534
A vulnerability classified as problematic was found in libtiff
4.6.0. This vulnerability affects the function PS_Lvl2page of
the file tools/tiff2ps.c of the component tiff2ps. The
manipulation leads to null pointer dereference. It is possible
to launch the attack on the local host. The complexity of an
attack is rather high. The exploitation appears to be difficult.
The exploit has been disclosed to the public and may be used.
The name of the patch is 6ba36f159fd396ad11bf6b7874554197736ecc8b.
It is recommended to apply a patch to fix this issue. One of the
maintainers explains, that "[t]his error only occurs if
DEFER_STRILE_LOAD (defer-strile-load:BOOL=ON) or TIFFOpen( .. "rD")
option is used."

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-8534

Upstream patch:
6ba36f159f

(From OE-Core rev: 7eb475c8c58c70dbb123de7c94af59c7f67521c9)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Kyungjik Min
c6da5d6a7b pulseaudio: Add audio group explicitly
Since pulseaudio-server requires the audio group, we explicitly add it.

When use useradd-staticids or do not use the default group in
base-passwd, an error will occur because the audio group is not defined.

NOTE: pulseaudio: Performing useradd with [--root
TOPDIR/tmp/work/cortexa72-poky-linux/pulseaudio/17.0/recipe-sysroot
--home-dir /var/run/pulse --gid 998 --groups audio,pulse
--no-create-home --system --shell /bin/false --uid 998 pulse]
useradd: group 'audio' does not exist
ERROR: pulseaudio: useradd command did not succeed.

(From OE-Core rev: 9a6c66d9b82920d8e634450b051df5dcf6bffc26)

Signed-off-by: Kyungjik Min <dpmin7@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Ross Burton
f707ea0d72 tcl: also skip chanio-13.6
The io-* tests and chanio-* tests are in sync, so we should skip both
io-13.6 and chanio-13.6.

[ YOCTO #15421 ]

(From OE-Core rev: e7686fbfb2cb630b33edce48bf1982044d0bf3ea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Khem Raj
e7353e5beb lttng-tools: Add link to issue reported upstream for musl failures
(From OE-Core rev: 50e2b9ef5cee80d52eea2badb789144fdcf8a01a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Markus Kurz
7b3b1f369e libpcre2: upgrade 10.45 -> 10.46
For the changelog see:
https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.46

This is a security-only release, to address CVE-2025-58050:
https://nvd.nist.gov/vuln/detail/CVE-2025-58050

(From OE-Core rev: d5b45d0db9ed40b3eef2e6a076c94da3ecc48acf)

Signed-off-by: Markus Kurz <m.kurz92@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:11 +01:00
Peter Tatrai
3dafec98e2 connman: Revert removal of no-version-scripts patch
This commit restores the no-version-scripts.patch for ConnMan,
which was removed in the commit (5c269ba9a396832af3f8139ecaa0cfd9f7d4d1b5)
as part of cleaning up gold and MIPS binutils workarounds.

The removal of this patch caused runtime crashes (segfaults)
on the powerpc target due to symbol visibility issues with glib
and stdio. Re-adding the patch resolves these crashes by disabling
version scripts in the linker flags.

(From OE-Core rev: 6ba2c24b8e063afec0041c54bb80a2f4f44b526c)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Ovidiu Panait
70e8497ce5 rust-target-config: fix nativesdk-libstd-rs build with baremetal
If TCLIBC='baremetal' is set in local.conf, nativesdk-libstd-rs build fails
with:

| error[E0412]: cannot find type `c_char` in the crate root
|   --> /usr/src/debug/libstd-rs/1.75.0/rustc-1.75.0-src/vendor/libc/src/unix/mod.rs:56:29
|    |
| 6  | pub type c_schar = i8;
|    | ---------------------- similarly named type alias `c_schar` defined here
| ...
| 56 |         pub gr_name: *mut ::c_char,
|    |                             ^^^^^^

This happens because rust_gen_target() sets os="none" when TCLIBC is
'baremetal' - even for nativesdk targets. However, nativesdk packages are
built against glibc, so the correct 'os' value should be "linux".

Fix this by setting the os field based on {TARGET,HOST,BUILD}_OS variables,
as it is already done in rust_base_triple(), instead of relying on TCLIBC.

(From OE-Core rev: 3eaf2cd5647585a1e6df03fc20e2753da27bb692)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Keerthivasan Raghavan
f81b351440 coreutils_9.7.bb: fix update-alternative support for base32
base32 is listed as update-alternative binary but does not
set the alternatie variables for it to take effect causing
the original ELF file to be installed in the destination
instead of the symlink. Fix this by setting the alternative
variables and by moving the original binary into subdir.

(From OE-Core rev: 1eff156c4fe408699e3489cf125f30e0af94d8fd)

Signed-off-by: Keerthivasan Raghavan <kraghava@qti.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Markus Kurz
ac3e32c0e0 repo: upgrade 2.56 -> 2.58
For changelog, check https://gerrit.googlesource.com/git-repo

(From OE-Core rev: 1c4566ee134a055f5eb1038fb7b216b68c83089f)

Signed-off-by: Markus Kurz <m.kurz92@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Randy MacLeod
01a220e1a7 stress-ng: upgrade 0.19.02 -> 0.19.03
Improvements
    More progress feedback when sending ^C (SIGINT)
    Clean up manual
    Improved portability

Changelog:
   https://github.com/ColinIanKing/stress-ng/releases/tag/V0.19.03

Re-enable DEBUG_BUILDs since the upstream defect:
   https://github.com/ColinIanKing/stress-ng/issues/315
is resolved by:
   6e62dc1fb   2023-08-31   Makefile: force vnni to be built with at least -O2

(From OE-Core rev: 2da1f23049721278ce70d64b807b4dd86178d39e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Randy MacLeod
7cab6f4f00 util-linux: include/mount-api-utils: avoid using sys/mount.h
Avoid compile error:
| In file included from /usr/include/linux/fs.h:19,
|                  from /usr/include/linux/btrfs.h:29,
|                  from ../sources/util-linux-2.41.1/libmount/src/btrfs.c:18:
| /usr/include/x86_64-linux-gnu/sys/mount.h:35:3: \
                   error: expected identifier before numeric constant
|    35 |   MS_RDONLY = 1,                /* Mount read-only.  */
|       |   ^~~~~~~~~

This is seen on PopOS 22.04, an Ubuntu/Debian-based distro.

(From OE-Core rev: 67f17867c605bc0e1ca69ab9dec6209e85c38c1e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Osama Abdelkader
a3c741b07c strace: skip nanosleep test
Add nanosleep to the skipped tests since it's load-sensitive

fixes:

failed ptests {'strace': ['nanosleep.gen.test', 'nanosleep.gen']}
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15524

(From OE-Core rev: b145720a0ceb1eb8eec33a62330f2b13891c508c)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Gyorgy Sarvari
d18cce7914 hwdata: upgrade 0.397 -> 0.398
Changelog: Update pci, usb and vendor ids

(From OE-Core rev: 3a507f924d9033695b84a25c1de06446bf805c1e)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-08 14:05:10 +01:00
Gyorgy Sarvari
4ad510a63f vte: upgrade 0.78.2 -> 0.80.3
0004-fast_float-Add-single-header-library-for-from_char-i.patch
and 0005-color-parser-Use-fast_float-implementation-for-from_.patch
patches dropped: upstream has adopted the changes, and oe-core also
provides now fastfloat, no need to vendor it with a patch.

0002-lib-Typo-fix.patch is dropped, because it was a backport, and
it is included in this release.

Shortlog: https://gitlab.gnome.org/GNOME/vte/-/compare/0.80.3...0.78.2

(From OE-Core rev: 0a849dc7edeecb6c16a8a0fe347015d6d85e9dfd)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Martin Jansa
8ebdd79442 license.py: drop visit_Str
In https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=abc93390a3f19bc4cc159c5690a478b9e2270906
visit_Constant was added for compatibility with Python 3.8 and newer, but
visit_Str was kept, because at that time bitbake did require Python 3.6.

Now latest bitbake requires 3.9 and even version 2.4 used in mickledore
builds requires 3.8 since:
https://git.openembedded.org/bitbake/commit/?h=2.4&id=744310f360d2288ac2ef07745abc86852126b5b9
so we can safely remove these.

(From OE-Core rev: 6d3da37adbcaf5a7a3dade08f9d052571b195249)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Khem Raj
b0fa96930e babeltrace2: Disable ccache explicitly and inherit setuptools3-base
ccache does not work with this package

python plugins use setuptools/distutils to build and it tries to compute
LDCXXSHARED as described in [1] in /src/bindings/python/bt2/setup.py.in
It gets confused and ends up specifying compiler twice and the result is
that linker fails with cryptic errors e.g.

| /mnt/b/yoe/master/sources/poky/build/tmp/work/x86-64-v3-poky-linux-musl/babeltrace2/2.1.1/recipe-sysroot-native/usr/bin/x86_64-poky-linux-musl/../../libexec/x86_64-poky-linux-musl/gcc/x86_64-poky-linux-musl/15.2.0/ld: cannot find x86_64-poky-linux-musl-g++: No such file or directory
| collect2: error: ld returned 1 exit status
| error: command '/mnt/b/yoe/master/sources/poky/build/tmp/hosttools/ccache' failed with exit code 1
| make[3]: *** [Makefile:741: build-python-bindings.stamp] Error 1
| make[3]: Leaving directory '/mnt/b/yoe/master/sources/poky/build/tmp/work/x86-64-v3-poky-linux-musl/babeltrace2/2.1.1/build/src/bindings/python/bt2'

This is because first occurance of linker is encountering second linker on its
cmdline and tries to treat it as an input object to linker

It seems LDCXXSHARED computation gets confused when CXX contains ccache

[1] 2c937116cc

(From OE-Core rev: 7a7eeca4b951e58242b77e410eb10577ea615066)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Gyorgy Sarvari
9995dbc38a libffi: upgrade 3.5.1 -> 3.5.2
Changelog:
-fix: enable FFI_MMAP_EXEC_WRIT for DragonFly BSD
-Emscripten: Add wasm64 target
-fix: Ensure trampoline file descriptors are closed on exec.

(From OE-Core rev: dc4f97acb91e54444cff02aa574d12121348e756)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Gyorgy Sarvari
fe86f45380 xf86-input-vmmouse, xf86-input-mouse: drop recipes
xf86-input-mouse has dropped Linux support[1], so drop the obsolete
recipe. Only xf86-input-vmmouse is dependent on this recipe, so drop
that also. Could not find recipes depending on on xf86-input-vmmouse.

[1]: d719d0588c

(From OE-Core rev: 7c86172b7353b17ffbf8f277c1b8cc082a73c6a9)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Yoann Congal
aed2ed1cd2 rpm-sequoia: remove rc initialisation from run-ptest
With the previous patch "ptest-cargo: move run-ptest rc variable
initialisation", rc is initialised by the ptest-cargo class.
Remove the (now) redundant initialisation and the related comment.

(From OE-Core rev: 004df6e50d37a68e37d800d9470d8716abaa6d44)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Yoann Congal
4b099343bb ptest-cargo: move run-ptest rc variable initialisation
ptest-cargo run-ptest can be generated in two fashions: generated from
scratch or appended to an exiting run-ptest file. The rc variable used
to track tests failure was only initialized in "generated from scratch"
case. Which lead to errors in the "appended" case.

Move the rc variable initialisation to the common code of both case to
fix this problem.

Only initialize rc if it was not already affected in the recipe provided
run-ptest.

(From OE-Core rev: 177c47b7decd8e2d1e24738d10b0f7db2777a772)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Cc: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Gyorgy Sarvari
60eb2be65c puzzles: upgrade to latest revision
(From OE-Core rev: ac2fa7cdccf93858c98e03dd05bff1db7116ee79)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Trevor Gamblin
218348be56 python3-numpy: upgrade 2.3.1 -> 2.3.2
Release notes (https://github.com/numpy/numpy/releases/tag/v2.3.2):

|The NumPy 2.3.2 release is a patch release with a number of bug fixes
|and maintenance updates. The highlights are:
|
|    Wheels for Python 3.14.0rc1
|    PyPy updated to the latest stable release
|    OpenBLAS updated to 0.3.30
|
|This release supports Python versions 3.11-3.14

Reproducibility OK:

|2025-08-28 05:50:44,703 - oe-selftest - INFO - ----------------------------------------------------------------------
|2025-08-28 05:50:44,703 - oe-selftest - INFO - Ran 1 test in 1440.103s
|2025-08-28 05:50:44,703 - oe-selftest - INFO - OK
|2025-08-28 05:50:49,531 - oe-selftest - INFO - RESULTS:
|2025-08-28 05:50:49,531 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1400.47s)
|2025-08-28 05:50:49,724 - oe-selftest - INFO - SUMMARY:
|2025-08-28 05:50:49,724 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1440.103s
|2025-08-28 05:50:49,724 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

ptests OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48921
|# PASS: 46457
|# SKIP: 2426
|# XFAIL: 33
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 193
|END: /usr/lib/python3-numpy/ptest
|2025-08-28T09:14
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
|root@qemux86-64:~#

(From OE-Core rev: 457ed4e564cc4535694aea8faa55a992419be07c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Peter Tatrai
d4b5fb23bb sdk: Remove go from SDK_TOOLCHAIN_LANGS for powerpc
PowerPC 32bit port of go compiler does not exist, remove it from list
Fixes SDK builds for qemupowerpc and other powerpc machines

(From OE-Core rev: 7308913fc007d1d5ea719aef6cb48079f402f417)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:07:06 +01:00
Khem Raj
7b048095a7 lttng-tools: Filter out regression testsuite on musl systems
regression testsuite does not run to finish on musl systems, some of
the issues seen

* python is OOM'ing which is fixed by asking for 8G memory for qemu
* It hits the timeout limits of ptest-runner even -t 2400 does not finish it
* Use make -j1 and running run-ptest script directly ( outside
  ptest-runner to avoid timeout limit) causes it to run forever

Lets disable this testsuite for musl systems for now.

(From OE-Core rev: b97dcec2bce26f0eb2a9a842cd20637ab1f17d0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:00:02 +01:00
Khem Raj
d362a342e1 kea: Upgrade to 2.6.4 release
The following bug fixes have been implemented since the previous stable
release, version 2.6.3:

1. **Syslog logging fix**: We corrected an issue in logging
configuration when parsing "syslog:<facility name>" [#3921, #3992].

2. **Fix for misconfigured global reservations**: Earlier Kea versions
could crash when handling misconfigured global reservations. The problem
is now fixed [#3910, #3911, #4001].

3. **Recent Sphinx support**: Support for recent versions of Sphinx, a
tool used to generate documentation, was added. This allows Kea
documentation and packages to be built on recent systems, while
maintaining compatibility with older versions. This fix was tested with
Sphinx 1.8.4 on Debian 10, 8.1.3 on Fedora 42, and 8.2.3 on ArchLinux
[#3800].

(From OE-Core rev: 692aef87a93b8b7ca45be8fdda8726021c870c6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-09-01 23:00:02 +01:00
Deepak Rathore
ee16a5b7c1 default-distrovars.inc: Fix CONNECTIVITY_CHECK_URIS redirect issue
The default CONNECTIVITY_CHECK_URIS uses "https://yoctoproject.org/connectivity.html"
which redirect to "https://www.yoctoproject.org/connectivity.html".

Some network configurations with proxies or restricted internet access
don't handle HTTP redirects properly during the sanity check phase,
causing build failures with:

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

Fetcher failure for URL: 'https://yoctoproject.org/connectivity.html'. URL doesn't work.

Updated the default URL to use the final destination directly to avoid
redirect-related connectivity check failures.

Also updated SDK test cases in https.py to use the corrected URL for
consistency.

(From OE-Core rev: 60cdf960a3560f391babd559737f1afb31fb2c5c)

Signed-off-by: Deepak Rathore <deeratho@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 17:06:59 +01:00
Peter Marko
87a25268ba rust: handle softfp fpu
With TARGET_FPU set to "softfp" stdlib-rs fails with:
error: Error loading target specification: ARM targets must specify their float ABI. Run `rustc --print target-list` for a list of built-in targets

This fpu type is set for example for arm in file
meta/conf/machine/include/arm/feature-arm-vfp.inc
when TUNE_FEATURES do not contain "callconvention-hard",
e.g. when using tune
DEFAULTTUNE = "cortexa8"

(From OE-Core rev: 4d50135cb902037380915966ecc97399d32e9f74)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Khem Raj
d53b664bc2 libnss-nis: Do not export _nss_nis_getsecretkey when libc does not have xdecrypt
Fixes build errors ( seen with lld particularly )

| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'NSS_NIS_PRIVATE_2.0' to symbol '_nss_nis_getsecretkey' failed: symbol not defined
| x86_64-yoesdk-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)
| make[3]: *** [Makefile:642: libnss_nis.la] Error 1
| make[3]: Leaving directory '/mnt/b/yoe/master/build/tmp/work/x86_64-nativesdk-yoesdk-linux/nativesdk-libnss-nis/3.2/build/src'

(From OE-Core rev: 183d0644fb528c45a88a33e1ecf923f751e6ad3f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Hongxu Jia
56ab4e9e71 libgcrypt: 1.11.1 -> 1.11.2
Refresh patches:
- 0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
- 0001-tests-Fix-link-errors-for-t-thread-local.patch

(From OE-Core rev: 3fd1cfadefa876b403c7d8dfe6169f4c429fe78e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Hongxu Jia
ba5d9c602b man-pages: 6.14 -> 6.15
License-Update: No change, `README: Files: Update man/ path'

(From OE-Core rev: 8e0367313cba61f2433cbb00d68f3f69d5e29c6d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Hongxu Jia
6185117653 rpcbind: 1.2.7 -> 1.2.8
Refresh patches
- rpcbind_add_option_to_fix_port_number.patch
- 0001-systemd-use-EnvironmentFile.patch

(From OE-Core rev: dd4182a2697707491c61bd0b8c40ad063bed9a24)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Liu Yiding
7001bdc3d7 readline: backport a patch to fix issue that readline can't work with samba
smbclient can't accept input after readline upgrade to 8.3
| root # smbclient //192.168.2.16/test -N
|       Try "help" to get a list of possible commands.
|       smb: \>

similar issue has been reported:
https://lists.gnu.org/archive/html/bug-readline/2025-07/msg00011.html

(From OE-Core rev: e2478467b45ed2a80c32a7ee0a673555a3c98bf5)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Khem Raj
d0403b973f sdk: Remove go from SDK_TOOLCHAIN_LANGS for rv32
RISCV32 port of go compiler does not yet exist remove it from list
Fixes SDK builds for qemuriscv32 and other rv32 machines

(From OE-Core rev: 9af3029cb19fd644d17f54a54da3806b7aa3e244)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:09 +01:00
Ola x Nilsson
f8be2d88cd sstate: Open file with context manager
In sstat_install and sstate_clean_cache.

(From OE-Core rev: 040aeaf3a4fbc780148d725aa666954ad1ab20e7)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Bruce Ashfield
1bfd9be4dc linux-yocto/6.16: cfg fix configuration audit warnings
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: arm/6.16: remove unsettable and obsolete options
    Date: Tue, 26 Aug 2025 22:43:01 -0400

    These crypto options are only selected or have been dropped
    from 6.16, so we drop them from our configs.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 1c2000e38c94702da20ecf224dc0e5c1624bb8a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Bruce Ashfield
b508930714 linux-yocto/6.12: update CVE exclusions (6.12.42)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 2 changes (2 new | 0 updated): - 2 new CVEs: CVE-2025-47184, CVE-2025-9300 - 0 updated CVEs:
        Date: Thu, 21 Aug 2025 13:06:23 +0000

    ]

(From OE-Core rev: eacbb65bcf73540c7ea07cc4b9513cde898368c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Bruce Ashfield
ef41784215 linux-yocto/6.12: update to v6.12.42
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

no ids found, dumping:
    880e4ff5d6c8 Linux 6.12.42
    5f06ee9f9a36 usb: gadget : fix use-after-free in composite_dev_cleanup()
    0ab3ae768c48 USB: gadget: f_hid: Fix memory leak in hidg_bind error path
    ba08cc6801ec HID: apple: validate feature-report field count to prevent NULL pointer dereference
    68e5579f4de1 media: ti: j721e-csi2rx: fix list_del corruption
    efee62c5fc8c perf/arm-ni: Set initial IRQ affinity
    91b370800b3f mm: swap: fix potential buffer overflow in setup_clusters()
    f7c75406b7e6 mm: swap: correctly use maxpages in swapon syscall to avoid potential deadloop
    b85fe4c7403f mm/hmm: move pmd_to_hmm_pfn_flags() to the respective #ifdeffery
    1beca07bd954 MIPS: mm: tlb-r4k: Uniquify TLB entries on init
    082a639b1c67 s390/mm: Remove possible false-positive warning in pte_free_defer()
    296742ab73c2 x86/fpu: Delay instruction pointer fixup until after warning
    860d93bd6a21 platform/x86/intel/pmt: fix a crashlog NULL pointer access
    76563060ec75 ALSA: hda/realtek - Fix mute LED for HP Victus 16-d1xxx (MB 8A26)
    9fb7f010eb2e ALSA: hda/realtek - Fix mute LED for HP Victus 16-s0xxx
    0e1c67e9b8bb ALSA: hda/realtek - Fix mute LED for HP Victus 16-r1xxx
    e1c508818cba ALSA: scarlett2: Add retry on -EPROTO from scarlett2_usb_tx()
    0f158abad0ce ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe()
    aed15fc08f15 x86/sev: Evict cache lines during SNP memory validation
    c884cab3bb60 net: usbnet: Fix the wrong netif_carrier_on() call
    d68a867d7401 net: usbnet: Avoid potential RCU stall on LINK_CHANGE event
    8c2b840c5443 Bluetooth: btusb: Add USB ID 3625:010b for TP-LINK Archer TX10UB Nano
    1331e908f2f4 PCI/ASPM: Fix L1SS saving
    78b3007eb08b PCI/ASPM: Save parent L1SS config in pci_save_aspm_l1ss_state()
    8d2026704a79 USB: serial: option: add Foxconn T99W709
    f54eef9be3cf smb: server: Fix extension string in ksmbd_extract_shortname()
    7e5d91d3e6c6 ksmbd: limit repeated connections from clients with the same IP
    68300f2738e0 ksmbd: fix corrupted mtime and ctime in smb2_open
    edeecc7871e8 ksmbd: fix Preauh_HashValue race condition
    2a30ed6428ce ksmbd: fix null pointer dereference error in generate_encryptionkey
    7384e0637fa8 drm/i915/ddi: only call shutdown hooks for valid encoders
    4a764acf4ab3 drm/i915/display: add intel_encoder_is_hdmi()
    428434769e45 drm/i915/ddi: gracefully handle errors from intel_ddi_init_hdmi_connector()
    743de353a434 drm/i915/hdmi: add error handling in g4x_hdmi_init()
    7edff90dc154 drm/i915/hdmi: propagate errors from intel_hdmi_init_connector()
    5913410e4962 drm/i915/ddi: change intel_ddi_init_{dp, hdmi}_connector() return type
    acd6f757f66c selftests/bpf: Fix build error with llvm 19
    01d1f298ba86 selftests/bpf: Add a test for arena range tree algorithm
    22d89925e37e ice/ptp: fix crosstimestamp reporting
    43a27836ac98 Revert "bcache: remove heap-related macros and switch to generic min_heap"
    be8a5602b05b accel/ivpu: Fix reset_engine debugfs file logic
    32950b190791 vsock: Do not allow binding to VMADDR_PORT_ANY
    f2e8fcfd2b1b net/packet: fix a race in packet_set_ring() and packet_notifier()
    15a77e9cb924 selftests/perf_events: Add a mmap() correctness test
    e529888b7e80 perf/core: Prevent VMA split of buffer mappings
    92043120a2e9 perf/core: Exit early on perf_mmap() fail
    8c67899a5295 perf/core: Don't leak AUX buffer refcount on allocation failure
    25bb3647d30a sunrpc: fix handling of server side tls alerts
    39f8e0cf1798 smb: client: return an error if rdma_connect does not return within 5 seconds
    8cb7f685af10 pptp: fix pptp_xmit() error path
    7d0f3072f999 nvmet: exit debugfs after discovery subsystem exits
    8c221b55d0c2 smb: client: let recv_done() avoid touching data_transfer after cleanup/move
    c5b3ce5cc7f6 smb: client: let recv_done() cleanup before notifying the callers.
    501eed35cac6 smb: client: make sure we call ib_dma_unmap_single() only if we called ib_dma_map_single already
    d6917b434919 smb: client: remove separate empty_packet_queue
    0d6d86b0a575 smb: server: let recv_done() avoid touching data_transfer after cleanup/move
    3d970a2f2472 smb: server: let recv_done() consistently call put_recvmsg/smb_direct_disconnect_rdma_connection
    896af4c26100 smb: server: make sure we call ib_dma_unmap_single() only if we called ib_dma_map_single already
    17d675f6390b smb: server: remove separate empty_recvmsg_queue
    b9a8a3f60b9c ALSA: hda/ca0132: Fix missing error handling in ca0132_alt_select_out()
    02541f9d5c58 irqchip: Build IMX_MU_MSI only on ARM
    04d5f4dbef26 eth: fbnic: remove the debugging trick of super high page bias
    9432bcabeeee s390/mm: Allocate page table with PAGE_SIZE granularity
    d00e4125680f net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing
    0ddfe8b127ef benet: fix BUG when creating VFs
    788c5e28cf48 x86/irq: Plug vector setup race
    c36b2fbd60e8 sunrpc: fix client side handling of tls alerts
    034d210f9d56 net/sched: taprio: enforce minimum value for picos_per_byte
    c0ec2e47f1e9 net: drop UFO packets in udp_rcv_segment()
    714b84653841 net: mdio: mdio-bcm-unimac: Correct rate fallback logic
    5489e7fc6f8b ipv6: reject malicious packets in ipv6_gso_segment()
    15c0847df624 net/mlx5: Correctly set gso_segs when LRO is used
    674328102baa spi: cs42l43: Property entry should be a null-terminated array
    e1e15033dfba ASoC: tas2781: Fix the wrong step for TLV on tas2781
    0257dc08a404 block: ensure discard_granularity is zero when discard is not supported
    3ff8fe9194a7 block: Fix default IO priority if there is no IO context
    495cb1e8ec8a netlink: specs: ethtool: fix module EEPROM input/output arguments
    7175bf8a2af5 s390/ap: Unmask SLCF bit in card and queue ap functions sysfs
    929aa980dacf nvmet: initialize discovery subsys after debugfs is initialized
    ea99b88b1999 pptp: ensure minimal skb length in pptp_xmit()
    39468480b321 net: ipa: add IPA v5.1 and v5.5 to ipa_version_string()
    e56e1842289d phy: mscc: Fix parsing of unicast frames
    75b59af723c4 netpoll: prevent hanging NAPI when netcons gets enabled
    1f3a7f53874a md/md-cluster: handle REMOVE message earlier
    b6f47385e457 NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY
    d4ebe94673b3 NFSv4.2: another fix for listxattr
    2ad40b7992aa NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
    bb96d6dbd005 NFS: Fix wakeup of __nfs_lookup_revalidate() in unblock_revalidate()
    ac9a6b863827 sched: Add test_and_clear_wake_up_bit() and atomic_dec_and_wake_up()
    531914fd74e8 pNFS/flexfiles: don't attempt pnfs on fatal DS errors
    48c6935a3498 PCI: pnv_php: Fix surprise plug detection and recovery
    d2c60a8a387e powerpc/eeh: Make EEH driver device hotplug safe
    5ea0d23aa954 powerpc/eeh: Export eeh_unfreeze_pe()
    11fa01706a4f PCI: pnv_php: Work around switches with broken presence detection
    28aa3cfce124 PCI: pnv_php: Clean up allocated IRQs on unplug
    3df959fd51d6 sched/psi: Fix psi_seq initialization
    c4a0d62bbe99 kconfig: qconf: fix ConfigList::updateListAllforAll()
    74b3fedc57d1 scsi: sd: Make sd shutdown issue START STOP UNIT appropriately
    d710ed68c54a scsi: ufs: core: Use link recovery when h8 exit fails during runtime resume
    13a501f95e22 scsi: Revert "scsi: iscsi: Fix HW conn removal use after free"
    13510a36a22f scsi: mpt3sas: Fix a fw_event memory leak
    fa1607f943f4 vfio/pci: Separate SR-IOV VF dev_set
    1df8150ab4cc vfio/pds: Fix missing detach_ioas op
    12964e77c8c1 vfio: Prevent open_count decrement to negative
    7b2db63ad836 vfio: Fix unbalanced vfio_df_close call in no-iommu mode
    89efd90ec672 i2c: muxes: mule: Fix an error handling path in mule_i2c_mux_probe()
    6038537c4a26 exfat: fdatasync flag should be same like generic_write_sync()
    82765ce5c7a5 f2fs: fix to trigger foreground gc during f2fs_map_blocks() in lfs mode
    4b069ec86c33 f2fs: fix to calculate dirty data during has_not_enough_free_secs()
    3908f15df598 f2fs: fix to update upper_p in __get_secs_required() correctly
    0fe7976b6254 f2fs: vm_unmap_ram() may be called from an invalid context
    70849d33130a f2fs: fix to avoid out-of-boundary access in devs.path
    97df495d7541 f2fs: fix to avoid panic in f2fs_evict_inode
    dea243f58a83 f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
    09a8915e0fcc f2fs: doc: fix wrong quota mount option description
    ca525a64bb92 f2fs: fix to check upper boundary for gc_no_zoned_gc_percent
    1f1efc11132a f2fs: fix to check upper boundary for gc_valid_thresh_ratio
    46f24b1fbf6b f2fs: fix to check upper boundary for value of gc_boost_zoned_gc_percent
    44a79437309e f2fs: fix KMSAN uninit-value in extent_info usage
    334afc40c41c f2fs: fix bio memleak when committing super block
    8b1f1f83e377 f2fs: turn off one_time when forcibly set to foreground GC
    b0002acbec11 rtc: rv3028: fix incorrect maximum clock rate handling
    b6612b05de8e rtc: pcf8563: fix incorrect maximum clock rate handling
    b82c5074f6fc rtc: pcf85063: fix incorrect maximum clock rate handling
    e57edc34bcf7 rtc: nct3018y: fix incorrect maximum clock rate handling
    189ddb44f88c rtc: hym8563: fix incorrect maximum clock rate handling
    6ccd7f451e0e rtc: ds1307: fix incorrect maximum clock rate handling
    a721da19eac7 ucount: fix atomic_long_inc_below() argument type
    db38ade47be4 module: Restore the moduleparam prefix length check
    ff24854e8547 apparmor: Fix unaligned memory accesses in KUnit test
    277bb68f6576 apparmor: fix loop detection used in conflicting attachment resolution
    991a32f71538 apparmor: ensure WB_HISTORY_SIZE value is a power of 2
    258d42024fad bpf: Check netfilter ctx accesses are aligned
    eb2035c1adeb bpf: Check flow_dissector ctx accesses are aligned
    b2a3018e8325 vhost: Reintroduce kthread API and add mode selection
    3c8a15f2229d vdpa: Fix IDR memory leak in VDUSE module exit
    37f26b9013b4 vdpa/mlx5: Fix release of uninitialized resources on error path
    8ed657604bfd vhost-scsi: Fix log flooding with target does not exist errors
    65c9eeff9308 vdpa/mlx5: Fix needs_teardown flag calculation
    966460bace9e perf record: Cache build-ID of hit DSOs only
    0a98771d1e50 selftests: ALSA: fix memory leak in utimer test
    6f7ac9c5ad75 drm/xe/vf: Disable CSC support on VF
    81b117f4a5a3 mtd: rawnand: atmel: set pmecc data setup time
    2529fc0a1873 mtd: rawnand: rockchip: Add missing check after DMA map
    3e2d8d39a328 mtd: rawnand: atmel: Fix dma_mapping_error() address
    3406bd02dee3 jfs: fix metapage reference count leak in dbAllocCtl
    40f0a51f6c54 fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref
    a434ce6643de crypto: qat - fix seq_file position update in adf_ring_next()
    71c31562d23b crypto: qat - fix DMA direction for compression on GEN2 devices
    309b23f7b5bc perf tools: Remove libtraceevent in .gitignore
    112ed94f2a45 sh: Do not use hyphen in exported variable name
    32b106dc4622 ASoC: fsl_xcvr: get channel status data when PHY is not exists
    a5f147a934ef dmaengine: nbpfaxi: Add missing check after DMA map
    2c0b57e55d89 dmaengine: mv_xor: Fix missing check after DMA map and missing unmap
    39c4454ed669 fs/orangefs: Allow 2 more characters in do_c_string()
    e3d729db128d remoteproc: xlnx: Disable unsupported features
    c1dead8bb303 clk: imx95-blk-ctl: Fix synchronous abort
    875bdd2f9bbc PCI: endpoint: pci-epf-vntb: Fix the incorrect usage of __iomem attribute
    9cf0d1dbfa44 soundwire: stream: restore params when prepare ports fail
    a510a9869d21 crypto: qat - disable ZUC-256 capability for QAT GEN5
    bcd9cdc74974 crypto: img-hash - Fix dma_unmap_sg() nents value
    44b07ee87c4f crypto: keembay - Fix dma_unmap_sg() nents value
    f63bd615e58f hwrng: mtk - handle devm_pm_runtime_enable errors
    1a43f53b0e9e clk: at91: sam9x7: update pll clk ranges
    b2e294216bf1 ext4: Make sure BH_New bit is cleared in ->write_end handler
    0a844a32e07a watchdog: ziirave_wdt: check record length in ziirave_firm_verify()
    7aa077df2357 scsi: isci: Fix dma_unmap_sg() nents value
    ef42bea6c105 scsi: mvsas: Fix dma_unmap_sg() nents value
    ad1fbfab0dcf scsi: elx: efct: Fix dma_unmap_sg() nents value
    6a9f573ebdb6 scsi: ibmvscsi_tgt: Fix dma_unmap_sg() nents value
    49a6266113f0 clk: sunxi-ng: v3s: Fix de clock definition
    ea11b0d213cc clk: thead: th1520-ap: Correctly refer the parent of osc_12m
    87be3d8ca00b RDMA/mana_ib: Fix DSCP value in modify QP
    c149e3475cac perf tests bp_account: Fix leaked file descriptor
    9ea3f6b9a67b pinmux: fix race causing mux_owner NULL with active mux_usecount
    fc1072d934f6 proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al
    ec437d015968 kernel: trace: preemptirq_delay_test: use offstack cpu mask
    5f3c0301540b RDMA/hns: Fix -Wframe-larger-than issue
    81c0bdb09cfa RDMA/hns: Drop GFP_NOWARN
    bb8899d40600 RDMA/hns: Fix accessing uninitialized resources
    1209e33fe3af RDMA/hns: Get message length of ack_req from FW
    9dea08eac4f6 crypto: ccp - Fix crash when rebind ccp device for ccp.ko
    c88a902cc5d3 crypto: inside-secure - Fix `dma_unmap_sg()` nents value
    155c1d4c4907 crypto: ccp - Fix locking on alloc failure handling
    88d4191073a5 RDMA/hns: Fix HW configurations not cleared in error flow
    dab173bae330 RDMA/hns: Fix double destruction of rsv_qp
    ffc3c00a0e83 perf sched: Fix memory leaks in 'perf sched latency'
    f7786e6a4f9c perf sched: Use RC_CHK_EQUAL() to compare pointers
    f34d54d2c276 perf sched: Fix memory leaks for evsel->priv in timehist
    31a549b3a294 perf sched: Fix memory leaks in 'perf sched map'
    4b3ab5f3639e perf sched: Free thread->priv using priv_destructor
    5c42686e56fc perf sched: Make sure it frees the usage string
    c2e061c2a5ec mtd: spi-nor: spansion: Fixup params->set_4byte_addr_mode for SEMPER
    ea90bb43be7c perf dso: Add missed dso__put to dso__load_kcore
    e9136a4afe3b perf tools: Fix use-after-free in help_unknown_cmd()
    16ab43828c48 Fix dma_unmap_sg() nents value
    40fd96ce4e60 clk: clk-axi-clkgen: fix fpfd_max frequency for zynq
    de07e1183139 fanotify: sanitize handle_type values when reporting fid
    faa05c6d5ae1 phy: qualcomm: phy-qcom-eusb2-repeater: Don't zero-out registers
    e7d11d7da5e0 dmaengine: mmp: Fix again Wvoid-pointer-to-enum-cast warning
    b2b740a884eb pinctrl: berlin: fix memory leak in berlin_pinctrl_build_state()
    230b23da10d5 pinctrl: sunxi: Fix memory leak on krealloc failure
    c63ca4d3870c PCI: endpoint: pci-epf-vntb: Return -ENOENT if pci_epc_get_next_free_bar() fails
    0e29430d700a crypto: arm/aes-neonbs - work around gcc-15 warning
    99490f243390 power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set
    f642500aa7ed power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
    f1a1be99d5ae clk: xilinx: vcu: unregister pll_post only if registered correctly
    1ff541ea9e0c media: v4l2-ctrls: Fix H264 SEPARATE_COLOUR_PLANE check
    7943ed1f05f5 clk: davinci: Add NULL check in davinci_lpsc_clk_register()
    a508da16feac mtd: fix possible integer overflow in erase_xfer()
    55ece6d9c370 crypto: qat - fix state restore for banks with exceptions
    a32cd73f66b7 crypto: qat - allow enabling VFs in the absence of IOMMU
    bfd78c42f0d7 crypto: marvell/cesa - Fix engine load inaccuracy
    e555e28232b3 crypto: qat - use unmanaged allocation for dc_data
    beea9197b2e9 crypto: sun8i-ce - fix nents passed to dma_unmap_sg()
    e3992ee81eba clk: renesas: rzv2h: Fix missing CLK_SET_RATE_PARENT flag for ddiv clocks
    a0acd38f75de PCI: rockchip-host: Fix "Unexpected Completion" log message
    5f176b9ea18c fortify: Fix incorrect reporting of read buffer size
    3d672fe065aa staging: media: atomisp: Fix stack buffer overflow in gmin_get_var_int()
    0dbef493cae7 bpf, arm64: Fix fp initialization for exception boundary
    87b34d935109 bpf/preload: Don't select USERMODE_DRIVER
    0c58f74f8aa9 ipv6: annotate data-races around rt->fib6_nsiblings
    db65739d406c ipv6: fix possible infinite loop in fib6_info_uses_dev()
    cd8d8bbd9ced ipv6: prevent infinite loop in rt6_nlmsg_size()
    c2241478d248 vrf: Drop existing dst reference in vrf_ip6_input_dst
    f4f5a1a751aa selftests: rtnetlink.sh: remove esp4_offload after test
    77b05e7a2d66 stmmac: xsk: fix negative overflow of budget in zerocopy mode
    5d761dc79f4a net: dsa: microchip: Fix wrong rx drop MIB counter for KSZ8863
    781a0bbf3774 net/mlx5e: Remove skb secpath if xfrm state is not found
    c04bc84aa5e9 net/mlx5e: Clear Read-Only port buffer size in PBMC before update
    7c1ae471da69 netfilter: xt_nfacct: don't assume acct name is null-terminated
    bd5908c1f60d can: kvaser_usb: Assign netdev.dev_port based on device channel index
    4bee385bc330 can: kvaser_pciefd: Store device channel index
    f2880c9cf1ed can: peak_usb: fix USB FD devices potential malfunction
    176784dc75ae selftests: drv-net: Fix remote command checking in require_cmd()
    208040490a4f tools/rv: Do not skip idle in trace
    62f6175d145e bpf: Disable migration in nf_hook_run_bpf().
    cca34a0a767f Bluetooth: hci_event: Mask data status from LE ext adv reports
    16852eccbdfa Bluetooth: hci_sync: fix double free in 'hci_discovery_filter_clear()'
    f15d94491094 memcg_slabinfo: Fix use of PG_slab
    1e30043ee358 kcsan: test: Initialize dummy variable
    5763daf5ca4f ring-buffer: Remove ring_buffer_read_prepare_sync()
    24bf1d10a04a wifi: nl80211: Set num_sub_specs before looping through sub_specs
    471a7904f82f wifi: mac80211: Write cnt before copying in ieee80211_copy_rnr_beacon()
    27244ed7403c wifi: brcmfmac: fix P2P discovery failure in P2P peer due to missing P2P IE
    0c5c0c898314 wifi: ath12k: fix endianness handling while accessing wmi service bit
    f0a0bc39fc52 Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"
    01aa86f93e70 wifi: mac80211: Check 802.11 encaps offloading in ieee80211_tx_h_select_key()
    f92ad4f8ecb9 wifi: mac80211: Don't call fq_flow_idx() for management frames
    eadf83a687fd wifi: mac80211: Do not schedule stopped TXQs
    ad1c484f1b81 wifi: plfxlc: Fix error handling in usb driver probe
    af72badd5ee4 wifi: mac80211: reject TDLS operations when station is not associated
    c200ecdd820f rcu: Fix delayed execution of hurry callbacks
    f14341cf874e iommu/amd: Fix geometry.aperture_end for V2 tables
    39dfbf77c6e4 drm/amdgpu/gfx10: fix kiq locking in KCQ reset
    6db9f958b43f drm/amdgpu/gfx9.4.3: fix kiq locking in KCQ reset
    b9f5d112e5e3 drm/amdgpu/gfx9: fix kiq locking in KCQ reset
    9c0e3144924c wifi: ath11k: fix sleeping-in-atomic in ath11k_mac_op_set_bitrate_mask()
    da4d3fd5920a mwl8k: Add missing check after DMA map
    4db9ac2246a7 wifi: rtw88: Fix macid assigned to TDLS station
    2bc4c07394cb wifi: rtl8xxxu: Fix RX skb size for aggregation disabled
    e9c3ae88e4f4 tcp: call tcp_measure_rcv_mss() for ooo packets
    81990ac1d1f0 xen/gntdev: remove struct gntdev_copy_batch from stack
    e59078852604 xen: fix UAF in dmabuf_exp_from_pages()
    19c262401e12 RDMA/mlx5: Fix UMR modifying of mkey page size
    bdb956891c9c net_sched: act_ctinfo: use atomic64_t for three counters
    795cb393e389 net/sched: Restrict conditions for adding duplicating netems to qdisc tree
    6aa95f56a6a7 iommu/amd: Enable PASID and ATS capabilities in the correct order
    67925d8b0d63 um: rtc: Avoid shadowing err in uml_rtc_start()
    fe6345dbae40 arch: powerpc: defconfig: Drop obsolete CONFIG_NET_CLS_TCINDEX
    a9ca56ca4f19 netfilter: nf_tables: adjust lockdep assertions handling
    765eeb44b1a3 netfilter: nf_tables: Drop dead code from fill_*_info routines
    69be0a3c4e5b fbcon: Fix outdated registered_fb reference in comment
    c1cbee3aae2a sched/psi: Optimize psi_group_change() cpu_clock() usage
    82f2cd70222c drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value
    08cfbe7acac0 refscale: Check that nreaders and loops multiplication doesn't overflow
    ac984f610628 m68k: Don't unregister boot console needlessly
    d89943d1e3a0 drm/msm/dpu: Fill in min_prefill_lines for SC8180X
    6434ca4429eb bpf: Ensure RCU lock is held around bpf_prog_ksym_find
    7989a6056c7e kselftest/arm64: Fix check for setting new VLs in sve-ptrace
    939135ddeae2 net: dst: annotate data-races around dst->output
    002bb5722d7e net: dst: annotate data-races around dst->input
    4249f1307932 net/mlx5: Check device memory pointer before usage
    bfb595e79319 tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK range
    72a48be1f539 wifi: ath11k: clear initialized flag for deinit-ed srng lists
    7dd6350307af iwlwifi: Add missing check for alloc_ordered_workqueue
    a84858649b32 wifi: iwlwifi: Fix memory leak in iwl_mvm_init()
    7858a95566f4 wifi: rtl818x: Kill URBs before clearing tx status queue
    77a7a48f87d6 wifi: rtw89: avoid NULL dereference when RX problematic packet on unsupported 6 GHz band
    1b8397c2d14e caif: reduce stack size, again
    3f91bec30811 powerpc/pseries/dlpar: Search DRC index from ibm,drc-indexes for IO add
    c9c7b91bc1a0 bpftool: Fix memory leak in dump_xx_nlmsg on realloc failure
    bcdd7499bdef drm/amdgpu: Remove nbiov7.9 replay count reporting
    b56acee24e33 drm/vmwgfx: Fix Host-Backed userspace on Guest-Backed kernel
    94927ae3d5c1 net: ipv6: ip6mr: Fix in/out netdev to pass to the FORWARD chain
    443430e67868 selftests/bpf: Fix unintentional switch case fall through
    274bf55fcd3f selftests/bpf: fix signedness bug in redir_partial()
    ee03766d79de bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls
    538b19886ca0 bpf, sockmap: Fix psock incorrectly pointing to sk
    66d64d42d297 drm/panthor: Add missing explicit padding in drm_panthor_gpu_info
    de7834d100f2 drm/panfrost: Fix panfrost device variable name in devfreq
    439b30af0ea9 drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed
    33cb946a8c73 selftests/tracing: Fix false failure of subsystem event test
    e7d59358a7e3 staging: nvec: Fix incorrect null termination of battery manufacturer
    c458492e2ab8 bus: mhi: host: pci_generic: Fix the modem name of Foxconn T99W640
    7d4f49b9141a interconnect: qcom: sc8180x: specify num_nodes
    3f693357f551 interconnect: qcom: sc8280xp: specify num_links for qnm_a1noc_cfg
    8eaeb8df9159 soc: qcom: pmic_glink: fix OF node leak
    4c80835f6af4 samples: mei: Fix building on musl libc
    c2f05fc69f4a staging: greybus: gbphy: fix up const issue with the match callback
    8e4b38710dd4 cpufreq: Init policy->rwsem before it may be possibly used
    494c213792f3 cpufreq: Initialize cpufreq-based frequency-invariance later
    667eb5aeecd2 cpufreq: intel_pstate: Always use HWP_DESIRED_PERF in passive mode
    7db3a7b2e413 PM / devfreq: Fix a index typo in trans_stat
    d5632359dbc4 PM / devfreq: Check governor before using governor->name
    a7d23e71a66e arm64: dts: imx8mn-beacon: Fix HS400 USDHC clock speed
    6e6c9e2d29b5 arm64: dts: imx8mm-beacon: Fix HS400 USDHC clock speed
    6d5a85e3bb67 ARM: dts: imx6ul-kontron-bl-common: Fix RTS polarity for RS485 interface
    11be9a6e3483 selftests: breakpoints: use suspend_stats to reliably check suspend success
    bed9fa51068f arm64: dts: st: fix timer used for ticks
    e2a57054e999 soc/tegra: cbb: Clear ERR_FORCE register with ERR_STATUS
    bf8d808f77b9 arm: dts: ti: omap: Fixup pinheader typo
    cd865df971c6 usb: early: xhci-dbc: Fix early_ioremap leak
    8374ac7d69a5 powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()
    3e3ebf358cda Revert "vmci: Prevent the dispatching of uninitialized payloads"
    576fc220fb6c selftests: vDSO: chacha: Correctly skip test if necessary
    6ee761012d1a pps: fix poll support
    87f8f8654e55 vmci: Prevent the dispatching of uninitialized payloads
    a3177955f8da staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()
    a7645815edf4 spi: stm32: Check for cfg availability in stm32_spi_probe
    5786ccbd317c mei: vsc: Unset the event callback on remove and probe errors
    173a7f17103c mei: vsc: Event notifier fixes
    4a958702b7cc mei: vsc: Destroy mutex after freeing the IRQ
    ae77ebdc4822 usb: typec: ucsi: yoga-c630: fix error and remove paths
    7101b26f7e96 firmware: arm_scmi: Fix up turbo frequencies selection
    e579ab62fefd cpufreq: armada-8k: make both cpu masks static
    1de0e54aaf49 arm64: dts: ti: k3-am62p-j722s: fix pinctrl-single size
    ac0f8fca09f2 arm64: dts: ti: k3-am642-phyboard-electra: Fix PRU-ICSSG Ethernet ports
    8209fc45b04e usb: misc: apple-mfi-fastcharge: Make power supply names unique
    1d88e8e66b68 usb: host: xhci-plat: fix incorrect type for of_match variable in xhci_plat_probe()
    d9632823a400 ARM: dts: vfxxx: Correctly use two tuples for timer address
    e7e370264098 arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely
    cac895bcbcf2 arm64: dts: qcom: sa8775p: Correct the interrupt for remoteproc
    0f35f4df0590 arm64: dts: exynos: gs101: Add 'local-timer-stop' to cpuidle nodes
    72ee9c7b7c61 arm64: dts: qcom: sc7180: Expand IMEM region
    db9d963622d9 arm64: dts: qcom: sdm845: Expand IMEM region
    04e7717dddc0 soc: qcom: QMI encoding/decoding for big endian
    90040a48030e selftests: Fix errno checking in syscall_user_dispatch test
    c814023c82ae arm64: dts: freescale: imx93-tqma9352: Limit BUCK2 to 600mV
    3b13b5a4f29e ASoC: mediatek: use reserved memory or enable buffer pre-allocation
    a9d00b7f374b ASoC: ops: dynamically allocate struct snd_ctl_elem_value
    2d9ee65b6d84 ASoC: soc-dai: tidyup return value of snd_soc_xlate_tdm_slot_mask()
    cd89d86dd1d5 io_uring: fix breakage in EXPERT menu
    f5426ffbec97 gfs2: No more self recovery
    b356ee013a79 Revert "fs/ntfs3: Replace inode_trylock with inode_lock"
    5055b7db9411 hfsplus: remove mutex_lock check in hfsplus_free_extents
    b53a10073f28 hfs: make splice write available again
    248d605319fe hfsplus: make splice write available again
    0e5c17c2376b ublk: use vmalloc for ublk_device's __queues
    3ed2cc6a6e93 fs/ntfs3: cancle set bad inode after removing name fails
    47706f9acfee fs_context: fix parameter name in infofc() macro
    bb80f7618832 parse_longname(): strrchr() expects NUL-terminated string
    2f6c33b9fab0 audit,module: restore audit logging in load failure case
    6b4b30b863ee ASoC: amd: yc: add DMI quirk for ASUS M6501RM
    362ea99022c9 ASoC: Intel: fix SND_SOC_SOF dependencies
    9b25e1643cc7 ALSA: hda/cs35l56: Workaround bad dev-index on Lenovo Yoga Book 9i GenX
    bf0d05941955 ASoC: amd: yc: Add DMI entries to support HP 15-fb1xxx
    f13486ac6b5b ethernet: intel: fix building with large NR_CPUS
    60291de0c56c ASoC: amd: yc: Add DMI quirk for HP Laptop 17 cp-2033dx

(From OE-Core rev: 940556e3d828e80af9b9cc8c56357c6bf0adfc83)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Jayasurya Maganuru
917430ed34 rust: Upgrade 1.88.0 -> 1.89.0
Rust stable version upgraded to 1.89.0
https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/

* Drop merged patches with rust v1.89.0.
  - 0001-Disable-libunwind-cross-architecture-unwinding.patch
  - triagebot.patch

* Update and rebase existing patches with rust v1.89.0.
  - revert-link-std-statically-in-rustc_driver-feature.patch
  - rust-oe-selftest.patch
  - 0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
  - 0001-riscv32-Define-plain-syscalls-as-their-time64-varian.patch
    (To fix build failures for riscv with musl, this patch adds
     aliases for plain syscalls to their time64 variants in libc-0.2.174,
     These changes are in addition to similar fixes already applied
     to libc-0.2.172)
  - 0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
    (Changes for libc-0.2.170 are no longer needed, as that version
     is not present in rust v1.89.0 vendor sources)

* OE-selftests:
  - Doc-tests fail in 55 crates,test-float-parse tests also fail.
    These tests are excluded to ensure the overall test suite passes.

   Test Results Summary:
   +-----------+--------+---------+
   | Machine   | Passed | Ignored |
   +-----------+--------+---------+
   | arm-32    | 29,239 | 1,468   |
   | arm-64    | 29,329 | 1,412   |
   | x86-32    | 29,231 | 1,449   |
   | x86-64    | 29,484 | 1,225   |
   | riscv-64  | 29,304 | 1,436   |
   +-----------+--------+---------+

(From OE-Core rev: fca454a188592c9fa854e93ff1a9c3e70a681e23)

Signed-off-by: Jayasurya Maganuru <Maganuru.Jayasurya@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Khem Raj
a90f86a684 spirv-tools: Add SPV_INTEL_function_variants
Needed for compiling clang-21

(From OE-Core rev: c0839647ebd4aca135e965d0bd66c5f6e409b44f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Khem Raj
07a6f2bbe3 spirv-headers: Add SPV_INTEL_function_variants
Needed for the clang 21 upgrade

(From OE-Core rev: 79c1594bb0a8075a0d7b5c281f996e54c5351630)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
24253d8818 openmp: add openmp to CVE_PRODUCT
Currently CVE_PRODUCT is set to llvm:llvm from common.inc.
There is historical entry for openmp in the DB.
This entry is ignored, but it shows that there can also be future ones.

(From OE-Core rev: ba94d5f1756647ce9d4ddd664bdf6fc975f952cd)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
ec1ae11f78 recipes: cleanup CVE_STATUS which are resolved now
The don't show up in CVE metrics anymore since they were either fixed
upstream or recipe version was upgraded meanwhile.

* bind CVE-2019-6470: cpe got corrected in nvd db
* libxml2 CVE-2023-45322: version is now higher than NVD cpe
* zlib CVE-2023-45853: version is now higher than NVD cpe
* gcc CVE-2021-37322: version is now higher than NVD cpe
* python3
  * CVE-2007-4559: version is now higher than NVD cpe
  * CVE-2019-18348: version is now higher than NVD cpe
  * CVE-2020-15523: version is now higher than NVD cpe
  * CVE-2022-26488: version is now higher than NVD cpe
  * CVE-2015-20107: version is now higher than NVD cpe
  * CVE-2023-36632: version is now higher than NVD cpe
* rust
  * CVE-2024-24576: NVD has no cpe, but we have newer version as fix
  * CVE-2024-43402: version is now higher than NVD cpe
* cups CVE-2021-25317: version is now higher than NVD cpe
* ghostscript CVE-2023-38559: version is now higher than NVD cpe
* libtirpc CVE-2021-46828: version is now higher than NVD cpe
* unzip CVE-2008-0888: version is now higher than NVD cpe
* ffmpeg CVE-2023-39018: cpe got corrected in nvd db
* libxslt CVE-2022-29824: version is now higher than NVD cpe
* libyaml
  * CVE-2024-35325: CVE is now rejected in NVD DB
  * CVE-2024-35326: CVE is now rejected in NVD DB
  * CVE-2024-35328: CVE is now rejected in NVD DB

Also add comment for iputils regarding reports for FKIE/NVD2.

Also remove some trailing spaces in python recipe.

(From OE-Core rev: 73ee9789183aa95072af2b51ac9e08203f4e33f9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
ef86bd8979 python3-jsonschema: upgrade 4.24.0 -> 4.25.0
Changelog:
=========
- Add support for the iri and iri-reference formats to the format-nongpl

(From OE-Core rev: 875e622eaa318eecd8214c2481d431e6a88e8419)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
228346b043 python3-hatch-vcs: upgrade 0.4.0 -> 0.5.0
Changelog:
==========
- Drop support for Python 3.8
- Officially support Python 3.13
- Avoid a deprecation warning emitted by a dependency when using the tag-pattern option

(From OE-Core rev: bbc00f129553e3c9ccaca0a62afdbc22eb573590)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
27d9b0412c python3-dtschema: upgrade 2025.6.1 -> 2025.8
Changelog:
==========
- Add /chosen bootsource property
- Add /chosen KHO (for Linux kernel kexec) properties
- Extend wakeup-source property to define modes
- Add system level idle states
- Add '-db' property unit suffix

(From OE-Core rev: 77bc2f5c1dad9ed4d8a269c9cb3dc8f1c63a1d86)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
434aec2b9a python3-cython: upgrade 3.1.2 -> 3.1.3
Changelog:
==========
- Some method calls with 0 or 1 argument failed to use ``PyObject_VectorCallMethod()``.
- Walrus assignments of literal Python integers could generate invalid C code.
  (Github issue :issue:`6989`)
- ``cython.pythread_type_lock`` (also used as fallback for ``cython.pymutex``)
  could stall on heavily contended locks.
  (Github issue :issue:`6999`)
- C string arrays (not pointers) always coerced to the Python default string type,
  even on explicit casts to other string types.
  (Github issue :issue:`7020`)
- Unterminated ``\N{}`` character escapes in strings could unrail the parser.
  (Github issue :issue:`7056`)
- An internal C function was not marked as ``static`` and leaked a linker symbol.
  (Github issue :issue:`6957`)
- Some Unicode letters were not recognised as lexically valid name parts.
  (Github issue :issue:`7059`)
- Compatibility with PyPy3.8 was lost by accident.
- The Linux binary wheels of 3.1.2 used SSSE3 CPU instructions which are not available on some CPUs.
  (Github issue :issue:`7038`)

(From OE-Core rev: 14c2006bce8861eaf2b65d5c71097e67d1af19cf)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
7e512323e9 python3-click: upgrade 8.2.1 -> 8.2.2
Changelog:
==========
- Fix reconciliation of default, flag_value and type parameters for
  flag options, as well as parsing and normalization of environment variables.
- Fix typing issue in BadParameter and MissingParameter exceptions for the
  parameter param_hint that did not allow for a sequence of string where the
  underlying functino _join_param_hints allows for it.
- Use the value of Enum choices to render their default value in help
  screen.
- Fix completion for the Z shell (zsh) for completion items containing
  colons.
- Don't include envvar in error hint when not configured.
- Fix a rare race in click.testing.StreamMixer's finalization that manifested
  as a ValueError on close in a multi-threaded test session.

(From OE-Core rev: 8a5a2fabac46df8ce22c6d645af6b278283c9c00)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
3e75f32021 libxmlb: upgrade 0.3.22 -> 0.3.23
Changelog:
- Do not reallocate the final silo blob when compiling to reduce peak RSS by about ~6%

(From OE-Core rev: 2f0d4d08a79a84c35d8867d06c9e8c58d8a25baa)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
68ab4b97ce libxkbcommon: upgrade 1.10.0 -> 1.11.0
Release notes:
https://github.com/xkbcommon/libxkbcommon/blob/master/NEWS.md#libxkbcommon-1110--2025-08-08

(From OE-Core rev: d9c858b5d0b981b0d37ee1e75e22132c6b1b3a64)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
1b092cd0fc librsvg: upgrade 2.60.0 -> 2.61.0
Changelog:
============
- The minimum supported Rust version (MSRV) is 1.85.1.
- #1178: Improved performance when using an application-supplied
  stylesheet for an SVG handle - do cascading only once in that case
  instead of twice.
- #1164: Don't panic if there are no fonts installed - this happens
  easily in Alpine containers (Lovell Fuller).
- Update to gtk-rs-core 0.21 (Maximiliano Sandoval).
- Vastly improved infrastructure to generate the development guide and
  the rsvg-convert manual page (Toluwaleke Ogundipe).
- Start implementing the SVG2 text stack (Adetoye Anointing, from his
  Outreachy internship).
- Fixed the Windows CI (Chun-wei Fan).
- Lots of internal cleanups to make it easier to remove Cairo in the future.

(From OE-Core rev: 1b3a9e18e55d4853c2ce34f131e109c21a5fa943)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
4233e7243c libinput: upgrade 1.28.1 -> 1.29.0
Changelog:
===========
- High-resolution scroll wheels have better heuristics to avoid inadvertent
  scrolls. This should also help with not-so-high-resolution scroll wheels which
  can skip those heuristics now, resulting in better responsiveness.
- Virtual devices (e.g. uinput) are now detected in libinput and some internal
  heuristics are disabled for those (e.g. tablet smoothing)
- Tablet tools with an fixed eraser button (almost all these days) can now
  configure that eraser button to be a regular button instead.
- Jumping cursors on Asus "ASUE..." touchpads have lost their excitement and
  are no longer jumping.
- libinput now uses a plugin pipeline internally. This prepares the way for
  public plugins, planned for libinput 1.30.
- mtdev is now an optional dependency
- libinput debug-tablet-pad is a new tool for interactive tablet pad debugging
- a lot of internal code modernization, making the code nicer to work on and
  test cases easier to write

Release notes:
https://gitlab.freedesktop.org/libinput/libinput/-/releases/1.29.0

(From OE-Core rev: 604373553a0ed8727182a456f993593ece3f6f5e)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Liu Yiding
6af04b3b2a harfbuzz: upgrade 11.2.1 -> 11.4.1
Changelog:
=============
- Speed up handling fonts with very large number of variations:
  - Drawing by up to 40%.
  - Calculating glyph extents by up to 15%.
  - Getting horizontal glyph advances by up to 45%.
  - Speed up getting horizontal and vertical glyph advances by up to 24%.
- Significantly speed up vertical text shaping.
- Various documentation improvements.
- Various build improvements.
- Various subsetting improvements.
- Various improvements to Rust font functions (fontations integration) and shaper (HarfRust integration).
- Rename harfruzz option and shaper to harfrust following upstream rename.
- Implement hb_face_reference_blob() for DirectWrite font functions.
- New API:
  +hb_font_get_glyph_origins_func_t
  +hb_font_get_glyph_h_origins_func_t
  +hb_font_get_glyph_v_origins_func_t
  +hb_font_funcs_set_glyph_h_origins_func()
  +hb_font_funcs_set_glyph_v_origins_func()
  +hb_font_get_glyph_h_origins()
  +hb_font_get_glyph_v_origins()
- Fix crasher in the glyph_v_origin function introduced in 11.3.0
- Fix build with non-compliant C++11 compilers that don't recognize the "and" keyword
- Fix bug in vertical shaping of fonts without the vmtx table
- General shaping and subsetting speedups.
- Fix in Graphite shaping backend when glyph advances became negative.
- Subsetting improvements, pruning empty mark-attachment lookups.
- Don't use the macro name _S, which is reserved by system liberaries.
- Build fixes and speedup.
- Add a kbts shaping backend that calls into the kb_text_shape
  single-header shaping library.

(From OE-Core rev: 791fd2b2a639af751a8b9a9bce142463a08347aa)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
9d2dcd7983 cve-update: log timestamps and add force update for future time
CVE update is currently not working properly on autobuilder.
This improves logging for problem analysis.

Future time is something which could be reason for current autobuilder
problems since the DB was not updated for more than 3 months by now.

(From OE-Core rev: 0098a05116624d019f8c5107940e910d867f3afc)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Jonathan Schnitzler
52696e1d4a cve-update-db-native: FKIE CVE parsing: Use Secondary metric
If there is no primary metric use the Secondary one.

(From OE-Core rev: 5ad0516aba120d9eba5f10afa3a4de3d25fd31fc)

Signed-off-by: Jonathan Schnitzler <jonathan.schnitzler@faro.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Jonathan Schnitzler
8b5c222b08 cve-update-db-native: Fix FKIE CVE accessVector parsing
Use "attackVector" for CVSS >= 3 as it only CVSS v2 uses "accessVector".

(From OE-Core rev: 7e4d566445a8cbe1e540e20837d45692d81af77f)

Signed-off-by: Jonathan Schnitzler <jonathan.schnitzler@faro.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
bb037c228c cve-update: remove cleanup of db_file in downloads
Since the code was changed to update the DB in temporary file, code
cleaning the final file in downloads is never executed.
Remove it.

Since the code always removes both files in temporary directory, remove
also comment which is trying to differentiate this code from code just
removed.

(From OE-Core rev: bece6dbf5d0e89b2e846587e1b89766e16dd9253)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
c291b03a40 cve-update: decrease update interval to 23 hours
If the job runs every day at the same time, it usually updates only
every second day, because it takes non-0 time for DB update and set the
timestamp. So it does not take full 24-hours from time when the DB was
updated until the next job starts.

(From OE-Core rev: 4a82ae1315b034b6386a82127e1ec8d6f504ec89)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
0844840c7d cve-update-db-native: log a little more
OE-Core rev: b64a869b9c5e1d504f1011da16b5c5ff721afbf0

This commit was not applied on nvd1/fkie fetcher.

(From OE-Core rev: dd5efc4a242ec918dd276d10da8c68f606ba8809)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
42b14b33d0 cve-update-db-native: Handle BB_NO_NETWORK and missing db
OE-Core rev: 337c0806d2784d74bee8d6420fb8b4d48795d5fa

This commit was not applied on nvd1/fkie fetcher.

(From OE-Core rev: 749c8e266ded2fa81e0e0ebbfa8f1ba164a062f2)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
892b934e55 cve-update-db-native: Use a local copy of the database during builds
OE-Core rev: 03596904392d257572a905a182b92c780d636744

This seems to be misimplemented when re-adding update from nvd1 feed.
Use file in temporary directory instead of downloads directory for
update process.

(From OE-Core rev: e5b0a74810fdd3f72fe61e0ae1f859a444dc1fa5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Peter Marko
21cedd6086 binutils: set status for CVE-2025-7545 and CVE-2025-7546
The patches linked in NVD reports are present in binutils-2_45-branch.
Technically the NVD is wrong (=2.45 should be <2.45), but fixing it in
the recipe is not problematic as all cpe-stable-backport will be
automatically removed in next upgrade so will not be "kept forever".

CVE-2025-7545
* https://nvd.nist.gov/vuln/detail/CVE-2025-7545
* https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=08c3cbe5926e4d355b5cb70bbec2b1eeb40c2944

CVE-2025-7546
* https://nvd.nist.gov/vuln/detail/CVE-2025-7546
* https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41461010eb7c79fee7a9d5f6209accdaac66cc6b

(From OE-Core rev: 0fb876e247faea84dfa8fd302b80cb7afdc575d9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-28 10:47:08 +01:00
Diego Sueiro
fb4ebd6053 wic: Fix --overhead-factor and --extra-space checks
If --overhead-factor and --extra-space are passed with =FOO the
check fails. Fix this by checking parsed.overhead_factor and
parsed.extra_space instead.

(From OE-Core rev: 46c24b67d4e9d28e7216a7394090d807cf879fa7)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Peter Marko
e29b37130f libxml2: mark CVE-2025-6170 as fixed
As shown in [1] when expanding tags including it.

NVD tracks this CVE as version-less.

[1] c340e41950

(From OE-Core rev: d8a9c190811ad9658a74502a371c110f4d24d68f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Peter Marko
66e1a79063 icu: mark CVE-2025-5222 as fixed
Commit mentioned in [1] is included in 77-1.
This comit was also backported to Yocto all stable/LTS releases.

[1] https://security-tracker.debian.org/tracker/CVE-2025-5222

(From OE-Core rev: 69c2956d6af3ffdedc77649ea833dc04ab62b8d3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Peter Marko
0a05bf16db gnutls: mark CVE-2025-32989 and CVE-2025-32990 as fixed
This is mentioned in [1].
NVD tracks this as version-less CVE.

[1] https://gitlab.com/gnutls/gnutls/-/blob/3.8.10/NEWS?ref_type=tags#L8

(From OE-Core rev: 8367ddb87a51abaa8949614faabc146f40f518a1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Peter Marko
4ad2a935c7 cve-update-db-native: fix fetcher for CVEs missing nodes
As of now, update of CVE DB from FKIE source (which is the defailt)
fails with following error:

File: '<build>/poky/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 393, function: update_db_fkie
     0389:                [cveId, cveDesc, cvssv2, cvssv3, cvssv4, date, accessVector, vectorString]).close()
     0390:
     0391:        for config in elt['configurations']:
     0392:            # This is suboptimal as it doesn't handle AND/OR and negate, but is better than nothing
 *** 0393:            for node in config["nodes"]:
     0394:                parse_node_and_insert(conn, node, cveId, False)
     0395:
     0396:def update_db(d, conn, jsondata):
     0397:    if (d.getVar("NVD_DB_VERSION") == "FKIE"):
Exception: KeyError: 'nodes'

Entry for new CVE-2025-32915 is broken.

(From OE-Core rev: 152be29f6a732b2ba1c95bcf465455d2a5a3f33a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
9cb33630b0 libseccomp: fix seccomp_export_bpf_mem out-of-bounds read
Fixes segfaults in ptests on musl
Failed ptests:
{'libseccomp': ['11-basic-basic_errors%%001-00001_11-basic-basic_errors_rc=139']}

(From OE-Core rev: 4f26edb6fd7e3dc5f81c56faed3a0edd9264bf66)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
6471b9a898 python3: Address failing ptests on musl
Take a partial patch to disable portion of test_makedev, its also applied
in alpine. NODEV does not exist on musl

Add test_null_dlsym to ignore list on musl, it needs GNU ifunc support
and musl does not implement GNU ifuncs

fixes
Failed ptests:
{'python3': ['test_null_dlsym', 'test_makedev', 'python3']}

(From OE-Core rev: c197de49d6b406be5fc79b6e17c397c834efc1b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Siddharth Doshi
d566c7bb8d tiff: Security fix for CVE-2024-13978, CVE-2025-8176, CVE-2025-8177
Upstream-Status: Backport from [7be20ccaab, 2ebfffb0e8, 3994cf3b3b, ce46f002ec, ecc4ddbf1f, 75d8eca6f1, e8c9d6c616]

CVE's Fixed:
CVE-2024-13978 libtiff: LibTIFF Null Pointer Dereference
CVE-2025-8176 libtiff: LibTIFF Use-After-Free Vulnerability
CVE-2025-8177 libtiff: LibTIFF Buffer Overflow

(From OE-Core rev: 16d8a873c57b174e4d6581b58d890f2157aa2f2c)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Tim Orling
8f2adecb3a at-spi2-core: upgrade 2.56.3 -> 2.56.4
What's new in at-spi2-core 2.56.4:

* Fix key grabs when num lock or caps lock are on under Wayland.

    atk-bridge: Don't crash when requesting a plug if not activated

* Add sanity checks for child indices received via DBus.

https://gitlab.gnome.org/GNOME/at-spi2-core/-/blob/2.56.4/NEWS?ref_type=tags

Comparing changes:
https://github.com/GNOME/at-spi2-core/compare/2.56.3...2.56.4

(From OE-Core rev: 59c9aa2411514f448cec23c0ceefeada2a103d85)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Michael Opdenacker
4cc9096122 lighttpd: upgrade 1.4.79 -> 1.4.81
Remove "libev" configuration option, no longer in use since 1.4.80

Upstream changes

1.4.81:
- security: fix to reject disallowed trailers

1.4.80:
- detect and issue error trace for HTTP/2 MadeYouReset VU#767506 CVE-2025-8671
- stricter HTTP request/response header, trailer, and chunked validation/parsing
- support HTTP response trailers
- support HTTP request trailers merge to headers (if not streaming request body)
- bug fixes

(From OE-Core rev: 6054ad0b7a3cf8a6853bdedfdbf973742af58fea)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Per x Johansson
391c628379 rust-target-config: Add has-thread-local option
The "has-elf-tls" option was removed by the commit
8e1614a906086fb46c5dd7b7f2dffab91194165c. However is should have been
renamed to "has-thread-local", since it was renamed and not removed in
rust by this commit.
391332c5d9

Change-Id: Ia1fdf7698ebeef62a88052713645d5b499164353
(From OE-Core rev: 18a87dd1724e0934a669aefae36d20374c06c493)

Signed-off-by: Per x Johansson <perxjoh@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Harish Sadineni
9be7072616 gcc-testsuite: Fix test failures with output pattern due to ssh warning.
when running oe-selftest for gcc some of the output pattern matchng test cases
were getting failed due to below issue.

Output line 1 was:
Warning: Permanently added '192.168.7
Should match (from /poky/poky/build-st/tmp/work-shared/gcc-15.1.0-r0/sources/
gcc-15.1.0/gcc/testsuite/gcc.dg/dg-output-file-1-lp64.txt):
This is a test output for lp64 target
Failed test for output line 1 This is a test output for lp64 target

(From OE-Core rev: 08200d7ac9d96996dbc1f913bcc0c8bee13592f8)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Harish Sadineni
9284af07f5 oeqa/selftest/cases/gcc.py: Increase QEMU RAM to 4GB
The test pr61599-1.c fails because it requires more than 3GB of RAM.
This change increases the allocated RAM to 4GB to prevent test failures.

(From OE-Core rev: 745eedb1afcb4f8e28ca560ae41d3297bb63cdd4)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Harish Sadineni
a6ce306fd3 gcc: Oe-selftest failure analysis - fix for pr90579.c test failures
When gcc build with PIE enabled the following tests
were getting failed:
 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+40
 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+32
 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+24
 FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+16

Detailed bug info & upstream fix is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118885

Upstream Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=679e24f5a751663998ff7202149a749e0f7251f9]

(From OE-Core rev: 7641e08044203ac9dde9a53b91bd01f9432d11f2)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
920334997f gettext: Force UTF-8 runtime and skip requiring ISO-8859-1
On musl, there is no real legacy (non-UTF-8) fr_FR locale.
These tests are designed for libcs that ship both fr_FR (ISO-8859-1)
and fr_FR.UTF-8. So the right thing will be to SKIP these tests

Unsetting LOCALE_FR will ensure that it does not enable ISO-8859-1
path, so reset it in run-ptest but thats not enough because it is
being set in the test's own init-env file as well so clear it in that
file as well.

Fixes
Failed ptests:
{'gettext': ['intl-2', 'intl-4', 'intl-thread-3', 'lang-sh', 'lang-bash']}

(From OE-Core rev: 0fe96efea084f4594df43f57e121cb2353bfafa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
1854cd6d37 gettext: Skip test known to fail on musl
* Use posix thread on musl and cache
* Force using system posix complaint printf
* Add coreutils to ptest dependencies

(From OE-Core rev: 16b1fff0dc3f95d2f52106b0133133d175725d52)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
02bf521a23 elfutils: Remove run-backtrace-dwarf from musl ptest XFAILs list
This is passing ok with gcc/libgcc on YP AB

(From OE-Core rev: c1bb95055810b272237d5a143f7e01a270e74868)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Martin Jansa
44fbbe97c6 license.py: avoid deprecated ast.Str
* it's deprecated since python-3.12 and removed in 3.14 causing:

openembedded-core/meta/lib/oe/license.py', lineno: 176, function: visit
     0172:
     0173:        LicenseVisitor.__init__(self)
     0174:
     0175:    def visit(self, node):
 *** 0176:        if isinstance(node, ast.Str):
     0177:            lic = node.s
     0178:
     0179:            if license_ok(self._canonical_license(self._d, lic),
     0180:                    self._dont_want_licenses) == True:
Exception: AttributeError: module 'ast' has no attribute 'Str'

(From OE-Core rev: 1eb2137324202107baa5cadcfdd682629a9cc269)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Leon Anavi
e91bc261dc connman: Upgrade 1.44 -> 1.45
Upgrade to release 1.45:

- Add missing newlines on error messages
- timezone: Replace Localtime file copy with symbolic link
- Fix CVE-2025-32366 vulnerability
- Fix CVE-2025-32743 vulnerability
- vpn: Fix extracting of PrefixLength D-Bus value
- vpn: Fix mem leak of gid_list in task setup
- dchpv6: Set err to 0 when client creation succeeds

(From OE-Core rev: c5fd636aa6f310e868ea29a72913ea96edcf57c5)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Peter Marko
4f531677b8 vim: upgrade 9.1.1198 -> 9.1.1652
Handles CVE-2025-53905, CVE-2025-53906, CVE-2025-55157, CVE-2025-55158.

Changes between 9.1.1198 -> 9.1.1652
====================================
https://github.com/vim/vim/compare/v9.1.1198...v9.1.1652

Refresh patches.
Add tag to SRC_URI.

Disable newly introduced wayland support (in patch version 1485).
To this belongs also adding recursion in delete command for dir auto
which was newly failing as there is wayland directory inside now.
If someone is interested, this can be probably enabled, but without
additional work it results in compilation error due to function
redefinition conflicts.

(From OE-Core rev: e87d427d928234ef0441f9ce1fe8631fbe471094)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
851c7e56c3 findutils: Use C locale to run ptests
Ensure consistent locale setting, since we are not
using make environemnt to run the tests like
upstream does. The test scripts are run explicitly

This fixes a problem with musl ptest runs where the
locale-driven quoting ends up using C.UTF-8 quotes
in gnulib’s quotearg() end up with curly quotes
instead of ASCII quote character which is expected
and result is reported as failure even though numbers
are matching.

Fixes:

-find: invalid group name or GID argument to -group: '4294967296'
+find: invalid group name or GID argument to -group: ‘4294967296’

FAIL: tests/find/user-group-max.sh

(From OE-Core rev: 0e60d1169ee0ae0e6651951e9a917a0e24bee157)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Khem Raj
93ba61423c findutils: Drop setting gl_cv_func_wcwidth_works=yes
The issue seems to be have been fixed for long time since 4.5.3 onwards

(From OE-Core rev: 6637e59d6bc03f8eb7cf75bc506307e249809ada)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Ross Burton
672c55172d babeltrace2: don't install static modules
There's no point building or installing static plugins, so apply a patch
to only build shared plugins.

Poky passes --disable-static via no-static-libs.inc, but anyone building
babeltrace2 with nodistro or another distro that doesn't use
no-static-libs.inc will fail to build babeltrace2 because of packaging
errors around the static version of the python plugin.

(From OE-Core rev: cf5ef8a2b6f509c348b9cf800a8534a4e8702103)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Ross Burton
dae1dcaa8f nghttp2: rewrite recipe to be an idiomatic library recipe
This recipe for nghttp2 doesn't build any of the binaries, just the core
library, but is structured like a recipe that is primarily an application
that happens to ship libraries.

Remove the lib${BPN} package and put the library into PN (which will then
be debian-renamed).

Use the shorthand option to just build the library.

Add documentation enabling/disabling options so we don't install the
docs if not needed. Currently there are no extra dependencies as the
sphinx-generated manpages are pre-built in the tarballs, but this could
change.

(From OE-Core rev: 0fe1fb05cf6b36d70d43b3bd245a53ac36d389fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:21 +01:00
Falk Bauer
47b1a709ab psplash: Do not mount PSPLASH_FIFO_DIR if the env variable is empty
The script file psplash.sh tries to mount the PSPLASH_FIFO_DIR variable.
If the variable is empty, the mountpoint command returns a usage text
(busybox mountpoint here, util-linux mountpoint behaves the same):

BusyBox v1.37.0 () multi-call binary.
Usage: mountpoint [-q] { [-dn] DIR | -x DEVICE } :~# BusyBox v1.37.0
() multi-call binary

The return code with this console output is 0 and the mount command in the
if statement is executed.
Then this mount also fails with an empty mountpoint argument.
The source code of psplash respects an empty PSPLASH_FIFO_DIR variable
(see psplash.c) and makes a fallback to "/run". So the psplash.sh script should
also respect the empty var.

Try to mount the PSPLASH_FIFO_DIR only if the variable is not empty.

(From OE-Core rev: 85a5e562c5969c407a222966ccb3170cb41fed2f)

Signed-off-by: Falk Bauer <falkbauer.git@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
0a8268ebd0 python3-rpds-py: Upgrade to 0.27.0
Allow packaging of wheels for riscv64 architecture

(From OE-Core rev: 56a32c0b0294d55e75ea54046fb1508f9ff17e4b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
efbba14b4d python3: Pass PLATFORM_TRIPLET explicitly when cross compiling
Do not rely on how python detects the platform triplet

We have been lucky to get it cross-compiling since our build hosts
are also using glibc, so the headers and gcc install locations match
and the values it detects are mostly what we will need for glibc
based targets, but when we use musl e.g. the problems show up where
python3 is not able to automitically discover python modules so any
python package having compiled .so modules fail to load.

Example is ptest failures with TCLIBC = "musl"
and running core-image-ptest-python3-rpds-py

This is revamp of patch [1], currently its working for glibc
based cross-compiling because we build on linux systems which are also
glibc based, but python on musl shows the problem.
When python was upgraded to 3.12 [2], this patch was wrongly dropped
and sadly regression went unnoticed, without this patch
Python's automatic module discovery does not work when it is cross-compiled
this is because it tries host tools and compiler installation during configure
to detect it. .so modules e.g. modulename.cpython-*.so are not seen as a result.

This is seen when running python3-rpds-py ptests where it should load
rpds.cpython-313-x86_64-linux-musl.so rpds.so but it does not and the module test
fail.

root@qemux86-64:/usr/lib/python3-rpds-py/ptest# python3 -c "
 import sysconfig
 import importlib.machinery
 print('Extension suffixes:', importlib.machinery.EXTENSION_SUFFIXES)
 print('Soabi:', sysconfig.get_config_var('SOABI'))
 print('Ext suffix:', sysconfig.get_config_var('EXT_SUFFIX'))
 print('Module suffix:', sysconfig.get_config_var('SO'))
 "
Extension suffixes: ['.cpython-313.so', '.abi3.so', '.so']
Soabi: cpython-313
Ext suffix: .cpython-313.so
Module suffix: None

And after fix it is.

root@qemux86-64:~# python3 -c "
 import sysconfig
 import importlib.machinery
 print('Extension suffixes:', importlib.machinery.EXTENSION_SUFFIXES)
 print('Soabi:', sysconfig.get_config_var('SOABI'))
 print('Ext suffix:', sysconfig.get_config_var('EXT_SUFFIX'))
 print('Module suffix:', sysconfig.get_config_var('SO'))
 "
Extension suffixes: ['.cpython-313-x86_64-linux-musl.so', '.abi3.so', '.so']
Soabi: cpython-313-x86_64-linux-musl
Ext suffix: .cpython-313-x86_64-linux-musl.so
Module suffix: None

[1] https://git.openembedded.org/openembedded-core/commit/?id=407744b00d702e3133304e1b43064a5634ca02cf
[2] https://git.openembedded.org/openembedded-core/commit/?id=716d82352545d3667a658b69d65d6127678dd150

(From OE-Core rev: 7bb157e48f5e5272db7506c7eb3118209dc3b35f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
86f54ee3cd libc-test: Ignore fma math tests
(From OE-Core rev: 135a572cdb7c7cf487aa46ef1a5500b81593a30a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
28eb7f6633 libc-test: Fix strptime and api/main tests
(From OE-Core rev: 124921683e9a0a1d981eaeea717c5dd7d35abf90)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
fa6f6b182c libc-test: Upgrade to tip of trunk
Brings following changes

functional: add mntent test
fix malloc-brk-fail
math: add fma(x,y,z) test cases for z=0 and x*y rounds to -0

(From OE-Core rev: 393ecfe64065aafdcc6c37d8374c9a3ece748d7a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
a0c40abc3c elfutils: Add run-backtrace-{native|data}.sh to known failures
musl's thread startup/teardown sequences and frame-pointer handling
differ from glibc. elfutils can fail to terminate unwinds properly
in multithreaded musl apps which leads to truncated or bogus traces
and then the test's "must contain main" assertion fails.

Skip this test on musl systems

(From OE-Core rev: 6f89b8386b70d35cb27bb90348857ddecda5ed3e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
542af25cfa lttng-tools: Fix build with libcxx runtime
(From OE-Core rev: d66afee0a040e4417db774425297ca43497f5386)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
fd0ba87ae0 lltng-tools: Fix build with lld linker
liblttng-ctl is exposting undefined symbols which are provided by
libcommon-gpl.a and is not linked into liblttng-ctl.so

(From OE-Core rev: a555a7525beebd4a6103755a6e6df6aa2e4ee7de)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
72d1535163 m4: Fix ptest on musl
Fixes
../../sources/m4-1.4.20/tests/test-c32ispunct.c:261: assertion 'is == 0' failed
./test-c32ispunct.sh: line 36:   402 Aborted
(core dumped) LC_ALL="$testlocale" ${CHECKER} ./test-c32ispunct${EXEEXT} 3

FAIL: test-c32ispunct.sh

(From OE-Core rev: f39537e8b84d0640fb8a7406ebf2396b532cdb57)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Peter Marko
16287e7cb4 Revert "dpkg: set status for CVE-2025-6297"
This reverts commit 5dce840ba8.

CVE entry was corrected in NVD DB.
It looks like NVD is now getting faster and more reliable with
annotations...

(From OE-Core rev: 3a5bfe4c4db692f10aab090a73c412eb75ea1bb5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Bruce Ashfield
5c6a3df824 linux-yocto/6.16: update CVE exclusions (6.16.2)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 2 changes (2 new | 0 updated): - 2 new CVEs: CVE-2025-9248, CVE-2025-9249 - 0 updated CVEs:
        Date: Wed, 20 Aug 2025 21:10:37 +0000

    ]

(From OE-Core rev: f7779d034bffcfacfb2c01daa6cdfbe2e412396c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Bruce Ashfield
9cd0057980 linux-yocto: introduce 6.16 reference kernels
Adding the 6.16 reference kernels as our latest reference for
the fall 2025 release.

This has been tested against:

  - x86, x86-64
  - ppc
  - mips, mips64
  - arm, arm64
  - riscv32, riscv64

The -standard, -rt and -tiny variantes have been validated.

For various iamges. All testing done under qemu, hardware
references will follow later.

(From OE-Core rev: 9b15846663bb4997403f3692c4b6b5a80dd90d52)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-25 17:47:20 +01:00
Khem Raj
e7423ae09e strace: Fix uio test and ignore pwritev|pwrite64 tests on musl
The pwritev and pwrite64 are wrappers over pwritev2 syscall in
musl but strace assumes glibc behavior, ignore them for now

(From OE-Core rev: 38f4f3bfbe2f9625737af15422423b00c32ee076)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
9bdc31dcc9 nghttp2: remove nghttp2-proxy
fix issue that:
 | nothing provides nghttp2-proxy >= 1.66.0 needed by nghttp2-1.66.0-r0.core2_64 from base

nghttp2-proxy is supposed to involve files ${bindir}/nghttpx and ${datadir}/${BPN}/fetch-ocsp-response

But now nghttp2-proxy will not be created because:
1. ENABLE_APP=OFF in EXTRA_OECMAKE makes ${bindir}/nghttpx not be produced
2. 1.66.0 version has removed fetch-ocsp-response-file according to the Changelog

| cat /tmp/work/aarch64-ubinux-linux/nghttp2/1.66.0/sources/nghttp2-1.66.0/ChangeLog
| ....
| nghttpx: Remove OCSP stapling
|
| This commit removes OCSP stapling features and the following options
| are deprecated and have no effect:
|
| - fetch-ocsp-response-file
| - no-ocsp
| - no-verify-ocsp
| - ocsp-update-interval

(From OE-Core rev: 7008e2d00165991bf218ca2f96fb34244e518456)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Khang D Nguyen
2ba3de2078 systemd.bbclass: deduplicate template and instance lines in preset file
If SYSTEMD_SERVICE contains both template and instance names, the
preset file will contain two lines: one describing the template name
and one describing the instance names.

This is problematic because systemd.preset only use the first matching
one [1], leading to the instances not getting enabled.

For example, openbmc's obmc-console recipe has the following
final SYSTEMD_SERVICE variable:

```
SYSTEMD_SERVICE:obmc-console = " \
obmc-console@.service \
obmc-console-ssh@.service \
obmc-console-ssh@2200.service \
"
```

The resulting preset file will contain lines with the same name:

```
enable obmc-console@.service
enable obmc-console-ssh@.service
enable obmc-console-ssh@.service 2200
```

Fix this by interpreting the template name as a special case of empty
instances.

Tested: preset files are generated correctly:

```
enable obmc-console@.service
enable obmc-console-ssh@.service 2200
```

[1]: https://www.freedesktop.org/software/systemd/man/257/systemd.preset.html#Preset%20File%20Format

Fixes: f33d9b1f434e ("systemd.bbclass: generate preset for templates")
(From OE-Core rev: 7cdf10840c200a327b6336775698342af7212ee4)

Signed-off-by: Khang D Nguyen <khangng@os.amperecomputing.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Alexander Kanavin
11817b180e fragments/autobuilder: add go to SDK_TOOLCHAIN_LANGS
For reasons unknown, only rust was listed, which means
nativesdk-go was not built or tested, which lead to
breakage like one fixed in
https://git.yoctoproject.org/poky/commit/?id=a669cd2e0c760da9d7e872daea9590fc9e86d766

Note that with this change only building and installing go
into SDKsis tested, but no tests are performed with the
toolchain itself in testsdk/testimage.

For that, a bug has been filed:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15953

Remove go from x32 and mingw targets as it will not build for them.
(next to similar removals for rust)

(From OE-Core rev: 7f9e3c2c60a2d73b3728d07519471f0614c03130)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Alexander Kanavin
5f1aeaf606 goarch.bbclass: do not leak TUNE_FEATURES into crosssdk task signatures
The default assignments look like this:
TARGET_GO386 = "${@go_map_386(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}"

TUNE_FEATURES is a target-specific variable, and so should be used
only for target builds. The change is similar to what is already done
for native packages.

(From OE-Core rev: cfff8e968257c44880caa3605e158764ed5c6a2a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Osama Abdelkader
62e64c4a64 init-system-helpers: upgrade 1.68 -> 1.69
Changes:
Add postinst to hotfix an upgrade bug on certain newly live-installed
systems built using Trixie's live-build (Closes: #1111039)

Full changelog:
https://salsa.debian.org/debian/init-system-helpers/-/blob/debian/1.69/debian/changelog

(From OE-Core rev: 99a1a0a8116eabd31bc25252fdea9aee287d158b)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Joshua Watt
02c8355a81 spdx30_tasks: Change package license to declared
Per discussion with SPDX licensing group, the package license statements
classify as declared licenses, not concluded licenses.

Note that this is the same as a change made to the recipe licenses, just
for packages.

(From OE-Core rev: 61ba0ef1400a2fa3729473e496e8459cbbba73ad)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Peter Marko
a1a8e1ee3e glib-2.0: patch CVE-2025-6052
Backport commits from [1] which references this CVE.

[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4681

(From OE-Core rev: 4b1166dd58cfd672ae326d0a1b1f6167be4877c5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Peter Marko
48b9d34450 glib-2.0: update 2.84.2 -> 2.84.4
Overview of changes in GLib 2.84.4, 2025-08-08
==============================================
* Bugs fixed:
  - #3716 (CVE-2025-7039) (#YWH-PGM9867-104) Buffer Under-read on GLib through
    glib/gfileutils.c via get_tmp_file() (Michael Catanzaro)
  - #3721 GFile leak in g_local_file_set_display_name during error handling
    (Philip Withnall, Michael Catanzaro)
  - !4668 Backport !4667 “Incorrect output parameter handling in closure helper
    of g_settings_bind_with_mapping_closures” to glib-2-84
  - !4675 Backport !4674 “gfileutils: fix computation of temporary file name” to
    glib-2-84
  - !4679 Backport !4677 and !4678 “Fix GFile leak in
    g_local_file_set_display_name()” to glib-2-84
  - !4697 Backport !4696 “gthreadpool: Catch pool_spawner creation failure” to
    glib-2-84
  - !4705 Backport !4702 “gio/filenamecompleter: Fix leaks” to glib-2-84
  - !4711 Backport !4708 “gfilenamecompleter: Fix g_object_unref() of undefined
    value” to glib-2-84

Overview of changes in GLib 2.84.3, 2025-06-13
==============================================
* Bugs fixed:
  - !4656 Backport !4655 “gstring: Fix overflow check when expanding the string”
    to glib-2-84

!4656 solves first half of CVE-2025-6052

(From OE-Core rev: 1b78742a8685b43df82b74baf4518b3437472d93)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Osama Abdelkader
2610ae9e28 squashfs-tools: upgrade 4.7 -> 4.7.2
Changes:
Fix build with non-static include
print_pager: make inline quoted_bs_char() static

Release notes:
https://github.com/plougher/squashfs-tools/releases/tag/4.7.2

(From OE-Core rev: ccba60186ba9b71bce8f5158b423d09d9d1bb851)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Ricardo Salveti
34df6b71b9 initramfs-framework: mount /run and move to rootfs before switch_root
Mount /run as tmpfs during early init and include it in the set of
mounts moved to $ROOTFS_DIR prior to exec switch_root.

Having /run available early lets initramfs modules stamp state that can
later influence systemd service jobs, since systemd will reuse the mount
point instead of creating a new one during boot.

This is particularly useful with ostree, as it uses /run/ostree-booted
as way to describe that the rootfs comes from an ostree deployment.

(From OE-Core rev: 3a4bd7ddefbf5b412a2b4031d491f5a50f1908cd)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
81d31fbd6a gst-examples: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 72c3e493ab1899f39b89de9c41f5af2b0178f61b)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
7050b09926 gstreamer1.0-plugins-ugly: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: b67f93b12533a449e6cc43e4a19ee35b64299967)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
4e6176c047 gstreamer1.0-plugins-bad: upgrade 1.26.3 -> 1.26.5
Changelog:
===========
- av1parse: Don't error out on "currently" undefined seq-level indices
- av1parse: fails to parse AV1 bitstreams generated by FFmpeg using the av1_nvenc hardware encoder
- d3d12screencapturedevice: Avoid false device removal on monitor reconfiguration
- d3d12screencapturesrc: Fix OS handle leaks/random crash in WGC mode
- meson: d3d12: Add support for MinGW DirectXMath package
- va: Re-negotiate after FLUSH
- vaXXXenc: calculate latency with corrected framerate
- vaXXXenc: fix potential race condition
- vkphysicaldevice: enable sampler ycbcr conversion, synchronization2 and timeline semaphore features
- vulkan: ycbcr conversion extension got promoted in 1.1.0
- wasapi2: Port to IMMDevice based device selection

Release note:
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 90d9bc31804486a3ddfb9e22b09735347a2f982a)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
255a288815 gstreamer1.0-plugins-good: upgrade 1.26.3 -> 1.26.5
Changelog:
==========
- v4l2: fix memory leak for dynamic resolution change
- videorate, imagefreeze: add support for JPEG XS

Release note:
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 14411ae154e42fb5b1cbb9b88c4f1ea1e1df2d42)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
f05e480625 gstreamer1.0-plugins-base: upgrade 1.26.3 -> 1.26.5
Changelog:
=================
- audioconvert: Fix regression when using a mix matrix
- audioconvert: mix-matrix causes caps negotiation failure
- decodebin3: Don't error on an incoming ONVIF metadata stream
- gloverlay: Recompute geometry when caps change, and load texture after stopping and starting again
- uridecodebin3: Add missing locking and NULL checks when adding URIs to messages
- uridecodebin3: segfault in update_message_with_uri() if no decoder available
- videorate, imagefreeze: add support for JPEG XS
- gst-device-monitor-1.0: Add shell quoting for launch lines
- gst-device-monitor-1.0: Fix criticals, and also accept utf8 in launch lines
- gst-device-monitor-1.0: Use gst_print instead of g_print

Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: e6822a050a3aeaa6a29a6a0210e3fdcd8180dc74)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
43a487b04d gstreamer1.0-rtsp-server: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 02db2caf16e9655e409361dd97a369a0d38df2ac)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
ea6d2ad808 gstreamer1.0-vaapi: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: bedfd3da7a75fad707c87f27343e6034d384dd99)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
d172579b68 gstreamer1.0: upgrade 1.26.3 -> 1.26.5
Changelog:
==================
- aggregator: add sub_latency_min to pad queue size
- build: Disable C5287 warning on MSVC

Release note:
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 2a2ba99ff12b7c91cb6643551320b14fb9f8d2c9)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
73db6f3f31 gstreamer1.0-python: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 567d5bc1da4ee53d0d354472ee9146f845fe5ea6)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
d1b7468982 gstreamer1.0-libav: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: d83ef61767d235979282fe98b3074704583a29da)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Liu Yiding
00002627a9 gst-devtools: upgrade 1.26.3 -> 1.26.5
Refer to release note, no changes this time
https://gstreamer.freedesktop.org/releases/1.26/#1.26.5

(From OE-Core rev: 2be75a9d629495290f95322bb9400fada7cc99c8)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Moritz Haase
20ed34abb6 libcomps: upgrade 0.1.21 -> 0.1.22
The project did not publish release notes, but the list of changes is available
at [0]. The new release brings a fix for [1] and ships the patch to build with
CMake 4+.

[0]: https://github.com/rpm-software-management/libcomps/compare/0.1.21...0.1.22
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2331665

(From OE-Core rev: c780e8a17d80de4d2845092874153a4bb29f7493)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Richard Purdie
4a2831e872 distro_alias: Remove file
This had specific uses a long time ago but hasn't been maintained and is now out
of date to the point of being questionable value. Drop it.

(From OE-Core rev: f911cf3beb9b7a761b75c676238df69eb92a6c2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Richard Purdie
fe518d0d10 babeltrace: Remove in favour of babeltrace2
This version is deprecated and replaced by babeltrace2. Drop the older version
so we can focus efforts around the newer one.

(From OE-Core rev: d16a5e05b3f383d21a1970c6613494416a7503c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:29:56 +01:00
Jon Mason
08d87537b8 genericarm64: change QB_DEFAULT_FSTYPE to wic.zst
meta-yocto rev 506379cb241e6a865139307e06216a07f737b602
changed the IMAGE_FSTYPES to wic.zst but did not change
QB_DEFAULT_FSTYPE to match.  This is causing the error:
runqemu - ERROR - Failed to find rootfs

Change the QB_DEFAULT_FSTYPE and it works as before (only now runqemu
requires the 'snapshot' parameter).

(From meta-yocto rev: 24857a05b0c2cc70733f245cf9614ef5fb126647)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-21 10:09:47 +01:00
Richard Purdie
5424fc6186 lttng-tools: Disable slow tests to fix ptest runs
Add a patch disabling some ptests in lttng-tools since they are slow, give
no output on the console and cause the ptest run to error due to our 450s
inactivity timeout.

(From OE-Core rev: 328d5c9a1dcfa4c636fd6d6e05f2474c15dc9f7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:48:50 +01:00
Mingli Yu
c251eba521 lttng-tools: Remove the scope resolution operator
Remove the scope resolution operator :: to fix the below build failure.
 | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:18:31: error: expected id-expression before numeric constant
 |    18 |                 int flags = ::EFD_CLOEXEC;
 |       |                               ^~~~~~~~~~~
 | ../../../sources/lttng-tools-2.14.0/src/common/eventfd.cpp:21:36: error: expected id-expression before numeric constant
 |    21 |                         flags |= ::EFD_SEMAPHORE;
 |       |

(From OE-Core rev: 607b27a42a53377e9d4cc6fa1abe335dde5c770b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:48:50 +01:00
Mingli Yu
4fd63f7ec3 lttng-tools: Upgrade 2.13.15 -> 2.14.0
* Remove 3 backported patch.
0001-Fix-rotation-destroy-flush-fix-session-daemon-abort-.patch
0001-compat-Define-off64_t-as-off_t-on-linux.patch
0001-tests-add-check_skip_kernel_test-to-check-root-user-.patch

* Remove 0001-fix-lttng-tools-fails-to-compile-with-libxml2-2.14.0.patch
as the issue has been fixed in another way as [1].

* Rebase 0001-tests-do-not-strip-a-helper-library.patch and disable-tests.patch
to fuzz issue.

* Add babeltrace2 to DEPENDS to fix below configure error.
 | configure: error: libbabeltrace2 is required to build tests

* src/common/config/session.xsd is restructured to src/common/session.xsd [2].

* Add 0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch to fix
the below buildpath QA issue.
ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: File /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-c-constructor-so in package lttng-tools-ptest contains reference to TMPDIR [buildpaths]
ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: lttng-tools-ptest: /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-c-constructor-so contains bad RPATH /buildarea3/myu2/yocto/builds/ptest-2025-07-09/tmp/work/core2-64-poky-linux/lttng-tools/2.14.0/build/tests/utils/testapp/gen-ust-events-constructor [rpaths]
ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: File /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-constructor-so in package lttng-tools-ptest contains reference to TMPDIR [buildpaths]
ERROR: lttng-tools-2.14.0-r0 do_package_qa: QA Issue: lttng-tools-ptest: /usr/lib/lttng-tools/ptest/tests/utils/testapp/gen-ust-events-constructor/gen-ust-events-constructor-so contains bad RPATH /buildarea3/myu2/yocto/builds/ptest-2025-07-09/tmp/work/core2-64-poky-linux/lttng-tools/2.14.0/build/tests/utils/testapp/gen-ust-events-constructor [rpaths]

* Add the redpends for lttng-tools-ptest to fix the test failure.
 ERROR: tools/live/test_early_inactive_app.py
============================================

Traceback (most recent call last):
  File "/usr/lib/lttng-tools/ptest/tests/regression/./tools/live/test_early_inactive_app.py", line 21, in <module>
    import lttngtest
  File "/usr/lib/lttng-tools/ptest/tests/utils/lttngtest/__init__.py", line 9, in <module>
    from .environment import *
  File "/usr/lib/lttng-tools/ptest/tests/utils/lttngtest/environment.py", line 13, in <module>
    import random
ModuleNotFoundError: No module named 'random'
ERROR: tools/live/test_early_inactive_app.py - missing test plan

ModuleNotFoundError: No module named 'random'
ModuleNotFoundError: No module named 'xml'
ModuleNotFoundError: No module named 'tempfile'
ModuleNotFoundError: No module named 'json'
ModuleNotFoundError: No module named 'bt2'

[1] 2d2e77ddc9
[2] 4ae042345b

RP: Added install of missing expect scripts
    Add new dependency on lttng-ust-dev due to test requirement (and remove QA check warning)
    Add missing dependency on python3-asyncio for concurency module

(From OE-Core rev: a09c0fa79cba48c76ed9b582e42becff91f32435)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:48:50 +01:00
Michael Jeanson
975fd7de31 babeltrace2: Fix python bindings ptests
The python bindings ptests weren't functional. This patch:

  * Adds a patch to allow the tests to be executed on target standalone
  * Sets a variable to allow the right install path to be passed to setup.py
  * Sets the right paths in the ptest runner script for the python modules
  * Installs the missing data needed to run the tests

Base patch was written by Michael Jeanson, RP then tweaked wording
and formatting and added config to complete the work on all arches.

(From OE-Core rev: 459ca12493a69402c1a0eaa367d8122c3e8c6acc)

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:48:50 +01:00
Mingli Yu
e8f302c927 babeltrace2: Enable python plugins
* The lttng-tools test fails as below as it needs bt2 module.
ERROR: ust/high-throughput/test_high_throughput_snapshot.py
===========================================================

Traceback (most recent call last):
  File "/usr/lib/lttng-tools/ptest/tests/regression/./ust/high-throughput/test_high_throughput_snapshot.py", line 26, in <module>
    import bt2
ModuleNotFoundError: No module named 'bt2'

Enable python plugins for babeltrace2 to provide the above support.

* Add swig-native to DEPENDS to fix the below configure error.
 | configure: error: SWIG 2.0.0 or newer is required to build the python bindings

* There are some ptest failed cases after enable python plugins and
track the failed ptest as https://bugs.lttng.org/issues/1430.

(From OE-Core rev: 194470edf300ae5fd800374c15ef74005d8ca307)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:48:50 +01:00
Mingli Yu
9231eee7e3 lttng-ust: Upgrade 2.13.9 -> 2.14.0
License-Update:
  implement REUSE with SPDX identifiers [1]

[1] e03d7c66c5

(From OE-Core rev: 0375a3dd7c25fdacebfaff283e8c1e9e52f1d2d3)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:48:50 +01:00
Gyorgy Sarvari
3d451f3452 bitbake: fetch2/git: verify if local clone contains tag
In case a recipe specifies a git SRC_URI along with revision and tag, but only the
revision is present in the local clone without the tag (because it was tagged after
it was cloned), then unpacking fails with the following error:

... rev-list -n 1 1.0 failed with exit code 128, output:\nfatal: ambiguous argument \'1.0\': unknown revision or path not in the working tree

This happens because the during the download step only the revision's presence is
verified to decide if the repository needs to be updated.

To avoid this, check also if the tag is present in the local repository, when the "tag"
tag is specified.

(Bitbake rev: 546b347b4d3d82c01ecc99f45296f66e44638adc)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:35:52 +01:00
Peter Marko
2f808c92cc bitbake: doc/bitbake-user-manual-ref-variables: update BB_TASK_IONICE_LEVEL
Provided example does not work due to two problems.

CFQ scheduler was removed in kernel 4.20 (per [1])
Replace it with BFQ scheduler.

Also fix typo "queu" -> "queue".

[1] https://en.wikipedia.org/wiki/I/O_scheduling

(Bitbake rev: 6716853e35ebc2e1523210a83b483cdacb600295)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:35:52 +01:00
Benjamin Szőke
576d8e4b40 bitbake: knotty: print() was eliminated from all loops for better performance.
Refactoring prints, print() functions were eliminated from all loops and it uses
"\n".join(...) in a single print() call for better performance.

(Bitbake rev: c32c3d9b83818661e12f3e437563ab4e1fa05e15)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:33:23 +01:00
Benjamin Szőke
48e771c4a6 bitbake: knotty: Use 40 Hz refresh rate (FPS) for footer update.
Refresh footer in 40 Hz to avoid heavy print() flooding but keep it fluent for human eyes.

(Bitbake rev: c36efdf642d858c6997819744d00a3c1965c6417)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:33:23 +01:00
Benjamin Szőke
c5977954a8 bitbake: knotty: Use a StringIO buffer for update footer.
Optimize printing in footer update with use a StringIO buffer and it
prints content to terminal in a single call in every cycle.

(Bitbake rev: 32ba622d78f20b231f30f848379b4bbc3d7414da)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:33:23 +01:00
Benjamin Szőke
d23ce1b4db bitbake: progressbar: Add self._fd_console to use for self._handle_resize()
Introduce self._fd_console as a dedicated attribute of self._handle_resize().

(Bitbake rev: f8c76eb89d52b1c28407f0b52dfe4318faa47cd2)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 11:33:23 +01:00
Peter Marko
5dce840ba8 dpkg: set status for CVE-2025-6297
NVD tracks this CVE as "Up to (excluding) 2025-06-30"
(which is fix commit date, not dpkg version)

(From OE-Core rev: 75859969b5ed7359124198eb48c480b8f6fe6f8f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Philip Lorenz
6f397c72f4 shared-mime-info: Handle USE_NLS
Skip building of translations when NLS is disabled.

(From OE-Core rev: b58a3f4e9c78522423a94821b7ba7a35eb18f75a)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Philip Lorenz
eeb3974472 p11-kit: Handle USE_NLS
Disable NLS in the build when USE_NLS is off.

(From OE-Core rev: b94798ecd535956ef4565663710ea9a701ff21ed)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Philip Lorenz
d848b454e6 systemd: Handle USE_NLS
Do not build translations when NLS is disabled.

(From OE-Core rev: 83795ef6c3fa12a863cd20b7ec1a2607606987b6)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Alexander Kanavin
0c1cfdedd5 python3-coherent-licensed: fix upstream version check
(From OE-Core rev: f9235cef554a5fc9db474edea5fe13a78fc6b12f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Alexander Kanavin
d6ff52a63b gcr: fix upstream version check
Add a provision for an optional fourth version component.

(From OE-Core rev: 52e0be1ed09eeab93f12a8c3f0e5b991d80d570d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-19 09:48:36 +01:00
Simone Weiß
a2d9103bcd libadwaita: upgrade 1.7.5 -> 1.7.6
Changes:
- AdwAlertDialog/AdwMessageDialog
  - Emit ::response when cancelled after calling choose()
- AdwDialog
  - Fix widget activation in window-backed dialogs
  - Fix set_focus() in window-backed dialogs
- AdwLayoutSlot
  - Error out if ID is not set
- AdwNavigationView
 - Defer swipe start to ::begin-swipe
- AdwTabOverview
  - Make button hitboxes larger
- AdwWrapLayout
  - Fix a memory leak
- Various fixes

(From OE-Core rev: e861561b354309b68fdfc11acd880b4beb90032c)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Peter Marko
cfb073841d python3: upgrade 3.13.6 -> 3.13.7
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-7-final

Refresh patches via devtool.

(From OE-Core rev: dea1e3d080631d71150e4078a7cadcb1ef6f097a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Peter Marko
02544f6e75 go: upgrade 1.24.6 -> 1.25.0
Release Announcement: [1]
Release notes: [2]
Refreshes all patches.

[1] https://groups.google.com/g/golang-announce/c/BVrdugXW05c
[2] https://go.dev/doc/go1.25

(From OE-Core rev: 89770e94434253f1b08cea542cd7bb0d553dac09)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Richard Purdie
f822e9e522 nfs-utils: Fix do_configure when switching configurations
On the autobuilder we saw:
ERROR: nfs-utils-2.8.3-r0 do_package_qa: QA Issue: nfs-utils package is not obeying usrmerge distro feature. /lib should be relocated to /usr. [usrmerge]

This can be reproduced by running do_configure with sysvinit, switching to
systemd and re-running do_configure. udev_rulesdir will then have the wrong
value.

Fix the sed expressions so the task can rerun correctly and update as
desired.

(From OE-Core rev: e2f74b9ceeb4e9bf770f65db16a19b1ae1a28f2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Richard Purdie
e620ace671 Revert "qemux86-64: Reduce tuning to core2-64"
This was originally applied as our autobuilder had older hardware and couldn't
cope with the newer settings. This has been resolved in the new cluster so we
can go back to the newer tuning, which software is now more likely to need.

This reverts commit 369b1dfa28b1791d45f068acc765190defecd460.

(From OE-Core rev: c9585bb8689b6089ce3870910b2dbdb7e9aa547a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Khem Raj
36c6209b32 perl: Disable builtin memcpy & string inlines with gcc/x86-64-v3
PERL built with GCC 15 and -march=x86-64-v3 fails several
op/pack.t cases due to aggressive lowering of __builtin_memcpy
and inlined/fortified string ops. In pp_pack, some in-place copies
can overlap, treating memcpy as non-overlapping yields corrupted
bytes (zeros or wrong prefixes).

The issue does not reproduce with -march=core2.

When using x86-64-v3 memcpy gets emitted very aggressively
(vectorized / reordered) and assumes no overlap.

The flags force calls through libc (overlap-safe behavior),
restoring deterministic pack/unpack and fixing the test failures.

Inline functions could be faster in execution but correctness is
more important

Fixes [YOCTO #15950]

(From OE-Core rev: 6d557b16f1e45e616c6eb208e4d7a2f2839a2e4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-18 21:14:07 +01:00
Vincent Davis Jr
f9e0afedea oe-selftest: add wic.Wic.test_grub_install_pcbios
wic.Wic.test_grub_install_pcbios test

Test updates to the bootimg_pcbios plugin that
enables support for installing grub directly
to the resulting wic image.

The test checks to see if the wics plugin
generates a wic image. Then see's if normal.mod
and grub.cfg are located in the boot partition.

(From OE-Core rev: 23b2a406c7d83f7b81aed85819b4643b93978ac9)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
c74dfd8f81 bootimg_pcbios: add help and usage comments
Adds comments underneath class declaration
defining plugin usage and potential
optional variables to set.

(From OE-Core rev: 6a8c350f595255b6febfdbc5af668286ccb973df)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
a495fec1bf bootimg_pcbios: include grub as an optional bootloader
Commit adds in support for installation of both
grub and syslinux using newly added grub functions.

Due to the bootimg_biosplusefi source_params['loader']
had to be named source_params['loader-bios'] so not
to create conflict in the wics plugin.

Commits also adds ability to set and or not set
source_params. If source_params set check
for both
	* syslinux
	* grub

if not set default to using syslinux as bootloader.

(From OE-Core rev: 5caf6fe32aa4655f46fb7b490a22778c59b2efc0)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
7f522461d2 bootimg_pcbios: add funcs to configure booting with grub
Functions added, but not executed during
wic image creation include:

_get_staging_libdir
	* Finds target lib directory if for some
	  reason STAGING_LIBDIR isn't set.

_do_configure_grub
	* Will search for a grub configuration passed via
	  bootloader --configfile. If not found build a
	  default one which searches for partition that
	  contains the given the kernel name via grub
	  search module.

_do_prepare_grub
	1. Sets default values for GRUB_MKIMAGE_FORMAT_PC
	   and GRUB_PREFIX_PATH if none specified. Both
	   variables are required by grub-mkimage.
	   * GRUB_MKIMAGE_FORMAT_PC is used to define
	     target platform.
	   * GRUB_PREFIX_PATH is used to define which
	     directory grub config and modules are going
	     to reside in.
	2. Generates grub config to embed into core.img.
	   This config is used to search for partition
	   containing grub config.
	3. Creates a custom core.img or grub stage 1.5
	   with an embedded grub config.
	4. Copies all the target built grub modules into
	   GRUB_PREFIX_PATH directory.
	5. Creates boot partition

_do_install_grub
	1. dd target platform specific boot.img to the first
	   0-440 bytes of the resulting wic image. dd grub
	   stage 1 to wic image. If this wics plugin is used
	   with GPT as partition table format and grub selected
	   as bootloader it's more than likely for grub hybrid
	   booting because bootimg_efi plugin should and more
	   than likely will be used in that case. So, boot.img
	   may be dd regardless if partition table format is
	   GPT or MBR.
	2. dd custom core.img (grub stage 1.5) with embedded
	   configuration to the resulting wic image starting
	   at byte 512 up to sizeof(core.img).
	3. Both boot.img and core.img are required for legacy
	   bios boot. See grub Wiki for more details on
	   boot.img and core.img.

	   https://en.wikipedia.org/wiki/GNU_GRUB

Commit also imports python modules required by the
above implemented functions.

(From OE-Core rev: 27c56962f47303cf49a4cf641e85239e4d7779b5)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
8b64e77f00 bootimg_pcbios: cleanup prepare and install syslinux funcs
This commit:

1. Removes unrequired function params from
   	* _do_prepare_syslinux
   	* _do_install_syslinux
   Reason is that they aren't required by
   the function.
2. Moves finding of resulting wic image
   back into do_install_disk task. As
   the same code may be leverage to install
   other bootloaders to the resulting disk.

(From OE-Core rev: 27e3fc1ef5304278254d2288ffc99e1757dd4053)

Signed-off-by: Vincent Davis Jr. <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
a51e188be3 bootimg_pcbios: cleanup _do_configure_syslinux function
This commit:

1. Removes all unrequired function parameters.
   The part parameter was kept due to it's potential
   future usage in _do_configure_syslinux function.
   part.fstype specifically may be used with the
   rootfstype kernel paramater.

2. Sets a default timeout to 500 if bootloader --timeout
   not specified. To avoid 'None' being placed
   as the value in resulting configuartion file.
3. Sets a default kernel parameter string if
   bootloader --append not specified. This also
   helps avoid 'None' being places as the value
   in resulting configuration file.
4. Replace all instances of

   cr_workdir, "/hdd/boot"

   with variable

   hdddir

   as it's set at the top of the function. No,
   need to re-implement what the variable is
   already defined to store.

(From OE-Core rev: 5e17a1cf73d0542e0c7ec9333aaf20bbc45df8de)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
2bcf99792b bootimg_pcbios: seperate bootloader config creation
Most bootloaders that will be included in this
wics plugin will require a configuration file
to define kernel params, execute custom
modules, or enable the ability to select
one of multiple boot entries.

Create a seperate generic function to facilitate
finding if a bootloader config file passed through
bootloader --configfile flag. So, that other functions
that are used to create/install a bootloader boot
configuration file can leverage the function.

(From OE-Core rev: 7944e29eb6ab7b80ad3847686dd780100623b196)

Signed-off-by: Vincent Davis Jr. <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
eb3df0324a bootimg_pcbios: move syslinux funcs to end of file
This commit moves the seperated syslinux creation
functions from their current position to end of
file in the order

	1. _do_configure_syslinux
	2. _do_prepare_syslinux
	3. _do_install_syslinux

This is to prepare for inclusion of other
bootloaders. It also makes reading
through the wics plugin much easier if
you group bootloader specific partition
creation functions together and place them
at the bottom of the file versus leaving
them in their current position.

(From OE-Core rev: 9034dd23e4240536a37a2290f2f2dd48d9bddd29)

Signed-off-by: Vincent Davis Jr. <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Vincent Davis Jr
336a252dbb bootimg_pcbios: move syslinux install into seperate functions
Current oe-core bootimg_pcbios wics plugin
only supports installing syslinux directly
into the resulting wic image.

This commit seperates syslinux installation from
class BootimgPcbiosPlugin(SourcePlugin) override
functions in preparation of supporting the installation
of other bootloaders to the resulting wics plugin
such as:
	* grub
	* extlinux

Being moved now to make it easier to include
future bootloaders.

(From OE-Core rev: 78addc3a7c2f036e8932305368acd6090937b62d)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
45911b595a linux-yocto/6.12: update CVE exclusions (6.12.41)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 3 changes (2 new | 1 updated): - 2 new CVEs: CVE-2025-8707, CVE-2025-8708 - 1 updated CVEs: CVE-2025-2586
        Date: Fri, 8 Aug 2025 02:36:59 +0000

    ]

(From OE-Core rev: 08be226ec7d26018f8ca0240a7c3a98f201b94d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
4cac2633db linux-yocto/6.12: update to v6.12.41
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

no ids found, dumping:
    8f5ff9784f32 Linux 6.12.41
    c0c21293d0c2 mm: khugepaged: fix call hpage_collapse_scan_file() for anonymous vma
    c60f5156e62d KVM: x86: Free vCPUs before freeing VM state
    d8b3dfd4d36c Revert "drm/xe/forcewake: Add a helper xe_force_wake_ref_has_domain()"
    ffbedb4ad984 Revert "drm/xe/devcoredump: Update handling of xe_force_wake_get return"
    5a276d341c8e Revert "drm/xe/tests/mocs: Update xe_force_wake_get() return handling"
    c72303e7eb49 Revert "drm/xe/gt: Update handling of xe_force_wake_get return"
    69fbb3f1740b drm/i915/dp: Fix 2.7 Gbps DP_LINK_BW value on g4x
    bc9abdf6bce8 ALSA: hda: Add missing NVIDIA HDA codec IDs
    beb314a55e1e ALSA: hda/tegra: Add Tegra264 support
    c7f864d34529 Drivers: hv: Make the sysfs node size for the ring buffer dynamic
    beddf74e4064 ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS
    90d5cd64f46d iio: hid-sensor-prox: Fix incorrect OFFSET calculation
    05847477ff8a iio: hid-sensor-prox: Restore lost scale assignments
    86dca1cb4804 wifi: mt76: mt7925: adjust rm BSS flow to prevent next connection failure
    b63eb95856c0 Revert "wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO"
    98937588ff9c arm64: dts: qcom: x1-crd: Fix vreg_l2j_1p2 voltage
    3d12349ade54 x86/hyperv: Fix APIC ID and VP index confusion in hv_snp_boot_ap()
    f1b3ad11ec11 KVM: x86/hyper-v: Skip non-canonical addresses during PV TLB flush
    d483bf624f22 KVM: x86: model canonical checks more precisely
    c0c82c2adc22 KVM: x86: Add X86EMUL_F_MSR and X86EMUL_F_DT_LOAD to aid canonical checks
    62dd9132a458 KVM: x86: Route non-canonical checks in emulator through emulate_ops
    94620f95f6cd KVM: x86: drop x86.h include from cpuid.h
    a4d60ba277ec ext4: fix out of bounds punch offset
    51492e99894a ext4: correct the error handle in ext4_fallocate()
    85defb9933f6 ext4: fix incorrect punch max_end
    35bd33e3ef09 ext4: move out common parts into ext4_fallocate()
    8a98313caa3a ext4: move out inode_lock into ext4_fallocate()
    1697ca500a84 ext4: factor out ext4_do_fallocate()
    2cbc4d640d40 ext4: refactor ext4_insert_range()
    8bb93d988212 ext4: refactor ext4_collapse_range()
    db1fcf7fd51c ext4: refactor ext4_zero_range()
    33f61ecabb10 ext4: refactor ext4_punch_hole()
    d9116d28538a ext4: don't explicit update times in ext4_fallocate()
    a5ae7fa30cd9 erofs: fix large fragment handling
    41485d7c637b erofs: clean up header parsing for ztailpacking and fragments
    f9b2cb6fff33 erofs: simplify tail inline pcluster handling
    516fabf34173 erofs: use Z_EROFS_LCLUSTER_TYPE_MAX to simplify switches
    9a84e212e334 erofs: refine z_erofs_get_extent_compressedlen()
    4d0f12dc8335 erofs: simplify z_erofs_load_compact_lcluster()
    1e5a88732ace arm64: dts: qcom: x1e78100-t14s: mark l12b and l15b always-on
    4a7b64ba0cca mtd: rawnand: qcom: Fix last codeword read in qcom_param_page_type_exec()
    a1bc9a394a27 crypto: powerpc/poly1305 - add depends on BROKEN for now
    b49b543f4e0b comedi: comedi_test: Fix possible deletion of uninitialized timers
    28419a4f3a1e jfs: reject on-disk inodes of an unsupported type
    3ad50c7c66cc x86/bugs: Fix use of possibly uninit value in amd_check_tsa_microcode()
    b85815675fc5 spi: cadence-quadspi: fix cleanup of rx_chan on failure paths
    a7c6de9f8467 usb: typec: tcpm: apply vbus before data bringup in tcpm_src_attach
    27e423886a7a usb: typec: tcpm: allow switching to mode accessory to mux properly
    a9a1eb410f35 usb: typec: tcpm: allow to use sink in accessory mode
    77a4a907cc53 selftests/bpf: Add tests with stack ptr register in conditional jmp
    bafb375c4606 rust: give Clippy the minimum supported Rust version
    4c8f15e770fb mm/zsmalloc: do not pass __GFP_MOVABLE if CONFIG_COMPACTION=n
    656eaddbc952 mm/vmscan: fix hwpoisoned large folio handling in shrink_folio_list
    140edd5adf6d selftests: mptcp: connect: also cover checksum
    219c4eb6c3f0 selftests: mptcp: connect: also cover alt modes
    1bff28ea4b11 resource: fix false warning in __request_region()
    79663a15a1c7 nilfs2: reject invalid file types when reading inodes
    27e740614df8 kasan: use vmalloc_dump_obj() for vmalloc error reports
    0fde7dccbf4c ice: Fix a null pointer dereference in ice_copy_and_init_pkg()
    44af78621c09 gve: Fix stuck TX queue for DQ queue format
    50c61f55b6b9 e1000e: ignore uninitialized checksum word on tgp
    78328fad6c49 e1000e: disregard NVM checksum on tgp when valid checksum bit is not set
    a3bba0205830 dpaa2-switch: Fix device reference count leak in MAC endpoint handling
    4dd56cabfbe5 dpaa2-eth: Fix device reference count leak in MAC endpoint handling
    708fd522b86d arm64/entry: Mask DAIF in cpu_switch_to(), call_on_irq_stack()
    060a28e39053 ALSA: hda/realtek - Add mute LED support for HP Victus 15-fa0xxx
    d3f60054b6a0 ALSA: hda/realtek - Add mute LED support for HP Pavilion 15-eg0xxx
    ba8e8a8a2e19 sprintf.h requires stdarg.h
    cf8e62f6e1b2 bus: fsl-mc: Fix potential double device reference in fsl_mc_get_endpoint()
    5b8d6cb9a03d i2c: virtio: Avoid hang by using interruptible completion wait
    5622108c3041 i2c: tegra: Fix reset error handling with ACPI
    42c4471b30fa i2c: qup: jump out of the loop in case of timeout
    9ea8a9ebbea8 timekeeping: Zero initialize system_counterval when querying time from phc drivers
    6ed79cf1183a ARM: 9450/1: Fix allowing linker DCE with binutils < 2.36
    f7ff03247600 mm/ksm: fix -Wsometimes-uninitialized from clang-21 in advisor_mode_show()
    f5ee8a39f03e drm/sched: Remove optimization that causes hang when killing dependent jobs
    198604687f19 drm/amdgpu: Reset the clear flag in buddy during resume
    d2a6a3543fd2 platform/x86: ideapad-laptop: Fix kbd backlight not remembered among boots
    616ca3c4d11e platform/x86: ideapad-laptop: Fix FnLock not remembered among boots
    4de81eb46284 net: hns3: default enable tx bounce buffer when smmu enabled
    68494b2ca295 net: hns3: fixed vf get max channels bug
    952cd60f695b net: hns3: disable interrupt when ptp init failed
    7676d652801c net: hns3: fix concurrent setting vlan filter issue
    1194ad0d44d6 s390/ism: fix concurrency management in ism_cmd()
    de5aaea0384c selftests: drv-net: wait for iperf client to stop sending
    61baf2a43d45 ALSA: hda/realtek: Fix mute LED mask on HP OMEN 16 laptop
    5c25b4f2769e drm/bridge: ti-sn65dsi86: Remove extra semicolon in ti_sn_bridge_probe()
    0ca816a96fdc can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode
    11a2eadf0bd2 net/sched: sch_qfq: Avoid triggering might_sleep in atomic context in qfq_delete_class
    5f02ea0f63dd net: appletalk: Fix use-after-free in AARP proxy probe
    18617f4063e5 i40e: When removing VF MAC filters, only check PF-set MAC
    dc08e1772566 i40e: report VF tx_dropped with tx_errors instead of tx_discards
    ebd24581e055 net/mlx5: E-Switch, Fix peer miss rules to use peer eswitch
    6b1f7194d02c net/mlx5: Fix memory leak in cmd_exec()
    07759e28a3b5 net: ti: icssg-prueth: Fix buffer allocation for ICSSG
    1dc0ed16cfbc ASoC: mediatek: mt8365-dai-i2s: pass correct size to mt8365_dai_set_priv
    5918c3f4800a xfrm: interface: fix use-after-free after changing collect_md xfrm interface
    07ab45902446 xfrm: Set transport header to fix UDP GRO handling
    085f24f0be55 xfrm: state: use a consistent pcpu_id in xfrm_state_find
    6bf2daafc51b xfrm: state: initialize state_ptrs earlier in xfrm_state_find
    80d66be8a04f staging: vchiq_arm: Make vchiq_shutdown never fail
    0fb8478fb0ea platform/x86: Fix initialization order for firmware_attributes_class
    9128b2dbe510 x86/hyperv: Fix usage of cpu_online_mask to get valid cpu
    ef3bee8d1da1 tools/hv: fcopy: Fix incorrect file path conversion
    8a1fbb642b74 platform/mellanox: mlxbf-pmc: Use kstrtobool() to check 0/1 input
    d38e1e0a64a9 platform/mellanox: mlxbf-pmc: Validate event/enable input
    f0580af3d3ec platform/mellanox: mlxbf-pmc: Remove newline char from event name input
    1b102d2cc4bc regmap: fix potential memory leak of regmap_bus
    be4f30f7c178 iio: adc: ad7949: use spi_is_bpw_supported()
    5aa9a2d57899 interconnect: qcom: sc7280: Add missing num_links to xm_pcie3_1 node
    3fd782ceabea RDMA/core: Rate limit GID cache warning messages
    96876f6e859e platform/x86: asus-nb-wmi: add DMI quirk for ASUS Zenbook Duo UX8406CA
    5d4261dbb333 regulator: core: fix NULL dereference on unbind due to stale coupling data
    bf812206f2d0 virtio_ring: Fix error reporting in virtqueue_resize
    30ce52f1616e virtio_net: Enforce minimum TX ring size for reliability
    a7b79db25846 Input: gpio-keys - fix a sleep while atomic with PREEMPT_RT
    2bf554c820f1 x86/traps: Initialize DR7 by writing its architectural reset value

(From OE-Core rev: 97e62663b3f94fbe6429ce6f40a84974aac81471)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
ef6155e70f lttng-modules: update to v2.14.0
As part of this update:

  - drop one patch that is upstream now
  - refresh one patch for new context
  - backport two patches to fix the build against 6.16 (drop them in
    2.14.1+

  - update the license checksum, as the following change has been made
    to the license:

    commit 61baff6e8de2462f45006662bc34bcbf5f645ba0
    Author: Michael Jeanson <mjeanson@efficios.com>
    Date:   Tue Jun 18 14:35:38 2024 -0400

        Implement REUSE 3.0 with SPDX identifiers

        Implement the full REUSE spec [1] to help with copyright and licensing
        audits and compliance. This will reduce a lot of manual work for the
        licensing audit required in Debian on each update and also allow using
        automated tools.

        For files that lacked copyright and licensing information, I used the
        following guidelines. If a clear author could be determined from the git
        history use it, otherwise use 'EfficiOS Inc.'. For code use
        'GPL-2.0-only OR LGPL-2.1-only' unless otherwise stated, for
        documentation 'CC-BY-SA-4.0' and for data files 'CC0-1.0'.

        Freeform text files were converted to Markdown to allow licensing
        comments.

        Running the reuse tool on the repo is now succesful:

          $ reuse lint

          # SUMMARY

          * Bad licenses: 0
          * Deprecated licenses: 0
          * Licenses without file extension: 0
          * Missing licenses: 0
          * Unused licenses: 0
          * Used licenses: CC0-1.0, GPL-2.0-only, CC-BY-SA-4.0, MIT, LGPL-2.1-only
          * Read errors: 0
          * files with copyright information: 358 / 358
          * files with license information: 358 / 358

          Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)

        [1] https://reuse.software/tutorial/

        Change-Id: I1755cab24a6fcec7a6c9a2136891418203ec34b8
        Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
        Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

(From OE-Core rev: 114bc08add61adfa72470767f583eeafeb51331c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
80b3439164 linux-libc-headers: update to v6.16
6.16 will be the reference kernel for the fall 2025 release, bumping
our libc-headers to match.

(From OE-Core rev: 92b49108d6b7cda3e2705f4687b43809922c83ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Osama Abdelkader
c4af97420a strace: upgrade 6.15 -> 6.16
Upgrade to the latest upstream release (2025-08-05), which includes:
- Added new -N/--arg-names option to show syscall argument names
- Implemented PTRACE_SET_SYSCALL_INFO ptrace API support from Linux 6.16
- Decoding updates for SO_RCVPRIORITY, SO_PASSRIGHTS, RTA_NH_ID, RTA_FLOWLABEL
- Enhanced statx syscall decoding and numerous new constant/ioctl updates

(From OE-Core rev: de55fbe7f8ca2567a8743dcbcd533430cc642ca4)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
d92219a36f linux-yocto/6.12: update CVE exclusions (6.12.40)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 4 changes (1 new | 3 updated): - 1 new CVEs: CVE-2025-8126 - 3 updated CVEs: CVE-2025-31952, CVE-2025-31953, CVE-2025-31955
        Date: Fri, 25 Jul 2025 02:18:30 +0000

    ]

(From OE-Core rev: e504bd7a9e908be0937d6fc9f6b9699b0acdc2aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
b7b2f39484 linux-yocto/6.12: update to v6.12.40
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    d90ecb2b1308 Linux 6.12.40
    fd627ac8a5cf KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls
    ff7ccaadb0bf iommu/vt-d: Fix misplaced domain_attached assignment
    e82d8825f712 smb: client: let smbd_post_send_iter() respect the peers max_send_size and transmit all data
    11f430b8f5fc drm/xe: Move page fault init after topology init
    ce7585324b20 drm/xe/mocs: Initialize MOCS index early
    8fc25d3055ba sched,freezer: Remove unnecessary warning in __thaw_task
    7258b437d55d i2c: omap: fix deprecated of_property_read_bool() use
    f701716812cb i2c: omap: Handle omap_i2c_init() errors in omap_i2c_probe()
    ba35cc0598f3 i2c: omap: Fix an error handling path in omap_i2c_probe()
    c1a786faa6ec i2c: omap: Add support for setting mux
    35fdf1093109 selftests/bpf: Set test path for token/obj_priv_implicit_token_envvar
    d9ebd928288b rust: use `#[used(compiler)]` to fix build and `modpost` with Rust >= 1.89.0
    affb46db59f9 net: libwx: fix multicast packets received count
    75747e25beca usb: dwc3: qcom: Don't leave BCR asserted
    c45b48b4f4c0 usb: hub: Don't try to recover devices lost during warm reset.
    bf71baa3cfe7 usb: hub: Fix flushing of delayed work used for post resume purposes
    e11359640090 usb: hub: Fix flushing and scheduling of delayed work that tunes runtime pm
    aec11e5f9c45 usb: hub: fix detection of high tier USB3 devices behind suspended hubs
    ee56da95f896 btrfs: fix block group refcount race in btrfs_create_pending_block_groups()
    e77078e52fbf clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns
    7fc808d98215 sched: Change nr_uninterruptible type to unsigned long
    816d36973467 efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths
    44e73241b8be libbpf: Fix handling of BPF arena relocations
    f0de9702f9b2 drm/mediatek: only announce AFBC if really supported
    40b5b4ba8ed8 drm/mediatek: Add wait_event_timeout when disabling plane
    b04fb2628b28 Revert "cgroup_freezer: cgroup_freezing: Check if not frozen"
    d7c1098787a6 rxrpc: Fix transmission of an abort in response to an abort
    839fe96c1520 rxrpc: Fix recv-recv race of completed call
    e5c480dc62a3 net/sched: Return NULL when htb_lookup_leaf encounters an empty rbtree
    71f435f846b0 net: bridge: Do not offload IGMP/MLD messages
    8984bcbd1edf net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime
    cdb767915fc9 tls: always refresh the queue when reading sock
    4e7c46362550 virtio-net: fix recursived rtnl_lock() during probe()
    1a71bf5c91ab hv_netvsc: Set VF priv_flags to IFF_NO_ADDRCONF before open to prevent IPv6 addrconf
    5db93cbd7d50 Bluetooth: L2CAP: Fix attempting to adjust outgoing MTU
    1259b780e7b9 drm/xe/pf: Prepare to stop SR-IOV support prior GT reset
    be77ce6b3a6b drm/xe/pf: Move VFs reprovisioning to worker
    abe59c53b626 drm/xe/pf: Sanitize VF scratch registers on FLR
    fc38c249c622 netfilter: nf_conntrack: fix crash due to removal of uninitialised entry
    7c532f222361 net: fix segmentation after TCP/UDP fraglist GRO
    7929d27c747e ipv6: mcast: Delay put pmc->idev in mld_del_delrec()
    35b501a2393a net/mlx5: Correctly set gso_size when LRO is used
    f47400547a95 Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID
    f5a40e54cd6c Bluetooth: hci_core: add missing braces when using macro parameters
    db386fc5fa65 Bluetooth: SMP: Fix using HCI_ERROR_REMOTE_USER_TERM on timeout
    6c586fcb880a Bluetooth: SMP: If an unallowed command is received consider it a failure
    05ab8da312ec Bluetooth: hci_sync: fix connectable extended advertising when using static random address
    b97be7ee8a1c Bluetooth: Fix null-ptr-deref in l2cap_sock_resume_cb()
    95a13b0a6b04 riscv: traps_misaligned: properly sign extend value in misaligned load handler
    32b14e757404 riscv: Enable interrupt during exception handling
    efad4e2a0fa7 loop: use kiocb helpers to fix lockdep warning
    65c666aff44e usb: net: sierra: check for no status endpoint
    cd469b173d14 ice: check correct pointer in fwlog debugfs
    5a5d64f0eec8 ice: add NULL check in eswitch lag check
    3c4bdc8a852e hwmon: (corsair-cpro) Validate the size of the received input buffer
    dcf0f03d7f74 selftests: net: increase inter-packet timeout in udpgro.sh
    33711db90bd5 can: tcan4x5x: fix reset gpio usage during probe
    d587e6929b7c can: tcan4x5x: add option for selecting nWKRQ voltage
    d57dda2056fa wifi: cfg80211: remove scan request n_channels counted_by
    6a466ac72fd4 nvmet-tcp: fix callback lock for TLS handshake
    f9a90478207a nvme: fix misaccounting of nvme-mpath inflight I/O
    fd6493533af9 net: phy: Don't register LEDs for genphy
    5b02e397929e smc: Fix various oops due to inet_sock type confusion.
    124765c20603 nvme: fix endianness of command word prints in nvme_log_err_passthru()
    8184ee3c667d nvme: fix inconsistent RCU list manipulation in nvme_ns_add_to_ctrl_list()
    9a7de97b915a fix a leak in fcntl_dirnotify()
    09bce2138a30 smb: client: fix use-after-free in cifs_oplock_break
    06ec83b6c792 rpl: Fix use-after-free in rpl_do_srh_inline().
    a6d735100f60 net/sched: sch_qfq: Fix race condition on qfq_aggregate
    e8767b89cd82 block: fix kobject leak in blk_unregister_queue
    20648ff4a203 net: emaclite: Fix missing pointer increment in aligned_read()
    894780d6dd3e cachefiles: Fix the incorrect return value in __cachefiles_write()
    dc05051dd10d selftests/sched_ext: Fix exit selftest hang on UP
    6952aeace93f bpf: Reject %p% format string in bprintf-like helpers
    e80692789679 arm64: dts: imx95: Correct the DMA interrupter number of pcie0_ep
    6353bf36f56b soundwire: amd: fix for clearing command status register
    a6e232ee0f86 soundwire: amd: fix for handling slave alerts after link is down
    8814cbbddcaf arm64: dts: rockchip: Add cd-gpios for sdcard detect on Cool Pi 4B
    6cb38e5d359a arm64: dts: rockchip: Add cd-gpios for sdcard detect on Cool Pi CM5
    c42116dc70af comedi: Fix initialization of data for instructions that write to subdevice
    2af1e7d389c2 comedi: Fix use of uninitialized data in insn_rw_emulate_bits()
    8c20a5cb9879 comedi: Fix some signed shift left operations
    992d600f284e comedi: Fail COMEDI_INSNLIST ioctl if n_insns is too large
    3eab654f5d19 comedi: das6402: Fix bit shift out of bounds
    076b13ee60eb comedi: das16m1: Fix bit shift out of bounds
    e0f3c0867d7d comedi: aio_iiro_16: Fix bit shift out of bounds
    a27e27eee313 comedi: pcl812: Fix bit shift out of bounds
    610615c96680 iio: common: st_sensors: Fix use of uninitialize device structs
    6eea9f7648dd iio: backend: fix out-of-bound write
    404b1d0fe0c6 iio: adc: stm32-adc: Fix race in installing chained IRQ handler
    07c9a0617d9a iio: adc: max1363: Reorder mode_list[] entries
    0ceb2893d360 iio: adc: max1363: Fix MAX1363_4X_CHANS/MAX1363_8X_CHANS[]
    086a76474121 iio: adc: axp20x_adc: Add missing sentinel to AXP717 ADC channel maps
    bfcda3e10157 iio: accel: fxls8962af: Fix use after free in fxls8962af_fifo_flush
    b361598b7352 soc: aspeed: lpc-snoop: Don't disable channels that aren't enabled
    855d4da5f270 soc: aspeed: lpc-snoop: Cleanup resources in stack-order
    2a76bc2b24ed smb: client: fix use-after-free in crypt_message when using async crypto
    d5629d1af060 s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again
    11c19d42d3a7 pmdomain: governor: Consider CPU latency tolerance from pm_domain_cpu_gov
    10e27b2a6ebe net: libwx: properly reset Rx ring descriptor
    ba7c793f96c1 net: libwx: fix the using of Rx buffer DMA
    08d18bda0d03 net: libwx: remove duplicate page_pool_put_full_page()
    74cb0f102d4b net: stmmac: intel: populate entire system_counterval_t in get_time_fn() callback
    516cd0943a22 mmc: sdhci_am654: Workaround for Errata i2312
    5280e0b8bc69 mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models
    6198bfe1af77 mmc: bcm2835: Fix dma_unmap_sg() nents value
    a25ebc337022 memstick: core: Zero initialize id_reg in h_memstick_read_dev_id()
    2594d5ffc081 isofs: Verify inode mode when loading from disk
    122160289adf dmaengine: nbpfaxi: Fix memory corruption in probe()
    573f1e59024c cpuidle: psci: Fix cpuhotplug routine with PREEMPT_RT=y
    9e11e0db4e27 Bluetooth: btintel: Check if controller is ISO capable on btintel_classify_pkt_type
    1ddedbd8087d af_packet: fix soft lockup issue caused by tpacket_snd()
    fa0796cd62c2 af_packet: fix the SO_SNDTIMEO constraint not effective on tpacked_snd()
    0e9c4b36ad0c arm64: dts: rockchip: use cs-gpios for spi1 on ringneck
    b0c7f2984356 arm64: dts: imx8mp-venice-gw73xx: fix TPM SPI frequency
    9650e49db619 arm64: dts: imx8mp-venice-gw72xx: fix TPM SPI frequency
    a3964e87cf15 arm64: dts: imx8mp-venice-gw71xx: fix TPM SPI frequency
    1a54317f3868 arm64: dts: freescale: imx8mm-verdin: Keep LDO5 always on
    a86ea423dc13 arm64: dts: add big-endian property back into watchdog node
    c70000779432 arm64: dts: imx8mp-venice-gw74xx: fix TPM SPI frequency
    5419adaef571 net/mlx5: Update the list of the PCI supported devices
    837a9631f180 phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept()
    938126995e64 mptcp: reset fallback status gracefully at disconnect() time
    f81b6fbe13c7 mptcp: plug races between subflow fail and subflow creation
    54999dea879f mptcp: make fallback action and fallback decision atomic
    f28044a60506 io_uring/poll: fix POLLERR handling
    134ec1ed468f ALSA: hda/realtek: Add quirk for ASUS ROG Strix G712LWS
    61e867574444 ALSA: hda/realtek - Fix mute LED for HP Victus 16-r0xxx
    084eb54b820f drm/amd/display: Free memory allocation
    74162dda80e7 drm/amd/display: Disable CRTC degamma LUT for DCN401
    62f2a58a4cb0 drm/amdgpu: Increase reset counter only on success
    228ad2ab5b33 drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume
    21e649b0bd1a objtool/rust: add one more `noreturn` Rust function for Rust 1.89.0
    7bb9ea515cda tracing/osnoise: Fix crash in timerlat_dump_stack()
    33e20747b47d tracing: Add down_write(trace_event_sem) when adding trace event
    692cfff241f1 tracing/probes: Avoid using params uninitialized in parse_btf_arg()
    d18f63e84884 HID: core: do not bypass hid_hw_raw_request
    953af3c0814a HID: core: ensure __hid_request reserves the report ID as the first byte
    a262370f385e HID: core: ensure the allocated report buffer can contain the reserved report ID
    68860d1ade38 dm-bufio: fix sched in atomic context
    0758f7ef402b spi: Add check for 8-bit transfer with 8 IO mode support
    40f79e2bf6a4 pch_uart: Fix dma_sync_sg_for_device() nents value
    9ecfed987bc8 Input: xpad - set correct controller type for Acer NGR200
    c29a2328af96 nvmem: layouts: u-boot-env: remove crc32 endianness conversion
    c85295f624db nvmem: imx-ocotp: fix MAC address byte length
    ff628593ba7c Revert "staging: vchiq_arm: Create keep-alive thread during probe"
    970635ed63da thunderbolt: Fix bit masking in tb_dp_port_set_hops()
    17a6ea23890e thunderbolt: Fix wake on connect at runtime
    1a1190b4ba7b i2c: stm32f7: unmap DMA mapped buffer
    79b63523bfdc i2c: stm32: fix the device used for the DMA map
    783ea37b237a usb: gadget: configfs: Fix OOB read on empty string write
    032f22962bfc usb: dwc2: gadget: Fix enter to hibernation for UTMI+ PHY
    231bf7e839a8 usb: musb: fix gadget state on disconnect
    951dd99ac05a USB: serial: ftdi_sio: add support for NDI EMGUIDE GEMINI
    8b8cb0c34c66 USB: serial: option: add Foxconn T99W640
    ba1d8dc87ae7 USB: serial: option: add Telit Cinterion FE910C04 (ECM) composition
    248ba00d13ff phy: tegra: xusb: Disable periodic tracking on Tegra234
    2f2a375304b0 phy: tegra: xusb: Decouple CYA_TRK_CODE_UPDATE_ON_IDLE from trk_hw_mode
    ec7f98ff05f0 phy: tegra: xusb: Fix unbalanced regulator disable in UTMI PHY mode

(From OE-Core rev: a4a28bbc46597c95f76972d68b39591da77b1b59)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
2a76e2027a linux-yocto/6.12: update CVE exclusions (6.12.39)
Data pulled from: https://github.com/CVEProject/cvelistV5

    1/1 [
        Author: cvelistV5 Github Action
        Email: github_action@example.com
        Subject: 4 changes (1 new | 3 updated): - 1 new CVEs: CVE-2025-46002 - 3 updated CVEs: CVE-2025-5752, CVE-2025-6717, CVE-2025-7397
        Date: Fri, 18 Jul 2025 14:11:28 +0000

    ]

(From OE-Core rev: a58b2c6f20ad6257036e144bee2eec1375e1a799)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Bruce Ashfield
7d70f3fd46 linux-yocto/6.12: update to v6.12.39
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    cdf264c0a590 Linux 6.12.39
    f3f9deccfc68 KVM: SVM: Set synthesized TSA CPUID flags
    f004f58d18a2 rseq: Fix segfault on registration when rseq_cs is non-zero
    f2133b849ff2 crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP()
    59923d508bd2 arm64: Filter out SME hwcaps when FEAT_SME isn't implemented
    815f1161d6db ksmbd: fix potential use-after-free in oplock/lease break ack
    2d89dab1ea60 kasan: remove kasan_find_vm_area() to prevent possible deadlock
    e1aec954583f net: wangxun: revert the adjustment of the IRQ vector sequence
    5244536e650c erofs: fix rare pcluster memory leak after unmounting
    5ea53aa71c2c selftests/bpf: adapt one more case in test_lru_map to the new target_free
    7b4a02631352 HID: nintendo: avoid bluetooth suspend/resume stalls
    c72536350e82 HID: quirks: Add quirk for 2 Chicony Electronics HP 5MP Cameras
    716a0c8dedc6 HID: Add IGNORE quirk for SMARTLINKTECHNOLOGY
    70685fb6216f riscv: vdso: Exclude .rodata from the PT_DYNAMIC segment
    9ef5d4748dfe bpf: Adjust free target to avoid global starvation of LRU map
    c23e0792b77d vt: add missing notification when switching back to text mode
    0bcc14f36c7a btrfs: fix assertion when building free space tree
    589b290d0935 net: mana: Record doorbell physical address in PF mode
    921fffa1d8bc HID: lenovo: Add support for ThinkPad X1 Tablet Thin Keyboard Gen2
    e46cf2943f91 driver: bluetooth: hci_qca:fix unable to load the BT driver
    a9c357b08672 net: usb: qmi_wwan: add SIMCom 8230C composition
    e55b2126961b ALSA: hda/realtek: Add quirks for some Clevo laptops
    01b0312a4a3a ALSA: hda/realtek - Enable mute LED on HP Pavilion Laptop 15-eg100
    72aad5cf5790 ASoC: amd: yc: add quirk for Acer Nitro ANV15-41 internal mic
    383b2399d586 io_uring: make fallocate be hashed work
    67be7e6c55a9 ALSA: hda/realtek: Add mic-mute LED setup for ASUS UM5606
    68397fda2caa ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak.
    dd072fa64715 um: vector: Reduce stack usage in vector_eth_configure()
    7df2295c036b atm: idt77252: Add missing `dma_map_error()`
    25cab1b83d66 ublk: sanity check add_dev input for underflow
    f154e41e1d9d bnxt_en: Set DMA unmap len correctly for XDP_REDIRECT
    b4e7e3f4e9d2 bnxt_en: Fix DCB ETS validation
    948ab36ed249 net: ll_temac: Fix missing tx_pending check in ethtools_set_ringparam()
    bbd385b65f9e net/mlx5e: Add new prio for promiscuous mode
    7581afc05154 net/mlx5e: Fix race between DIM disable and net_dim()
    c4270235db92 can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level
    90d0d5a439f5 drm/xe/pm: Correct comment of xe_pm_set_vram_threshold()
    ec4014566377 selftests: net: lib: fix shift count out of range
    182c9f38c367 selftests: net: lib: Move logging from forwarding/lib.sh here
    e3647c40bea2 net: phy: microchip: limit 100M workaround to link-down events on LAN88xx
    b215e916336f net: phy: microchip: Use genphy_soft_reset() to purge stale LPA bits
    4c934e0cac61 ibmvnic: Fix hardcoded NUM_RX_STATS/NUM_TX_STATS with dynamic sizeof
    473f3eadfc73 net: appletalk: Fix device refcount leak in atrtr_create()
    e0dd2e972966 netfilter: flowtable: account for Ethernet header in nf_flow_pppoe_proto()
    fd67f52eea80 erofs: fix to add missing tracepoint in erofs_readahead()
    ea2350dfa378 erofs: refine readahead tracepoint
    9493b5f9ad07 erofs: tidy up zdata.c
    71e4f033a90d erofs: get rid of `z_erofs_next_pcluster_t`
    16396885c26a erofs: free pclusters if no cached folio is attached
    ff4b8c9ade1b drm/xe/pf: Clear all LMTT pages on alloc
    8586552df591 nbd: fix uaf in nbd_genl_connect() error path
    1bbdf4213711 wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
    fa7e9a15460a drm/nouveau/gsp: fix potential leak of memory used during acpi init
    06c566371f8a wifi: rt2x00: fix remove callback type mismatch
    d21eeb050599 wifi: mac80211: fix non-transmitted BSSID profile search
    d4a7056ca9ab wifi: mac80211: correctly identify S1G short beacon
    2941155d9a5a raid10: cleanup memleak at raid10_make_request
    776e6186dc9e md/raid1: Fix stack memory use after return in raid1_reshape
    a560de522374 drm/tegra: nvdec: Fix dma_alloc_coherent error check
    fcd9c923b58e wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev()
    c6625c21ea66 wifi: cfg80211: fix S1G beacon head validation in nl80211
    8d4d00ea6038 netfs: Fix ref leak on inserted extra subreq in write retry
    42baf997722c netlink: make sure we allow at least one dump skb
    f98c4cec7504 netlink: Fix rmem check in netlink_broadcast_deliver().
    cecc9146d244 ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count
    19ff875dc516 erofs: address D-cache aliasing
    4745bfd34ae7 erofs: fix to add missing tracepoint in erofs_read_folio()
    3b16c9b8ba71 ksmbd: fix a mount write count leak in ksmbd_vfs_kern_path_locked()
    92c2c005a8ba smb: server: make use of rdma_destroy_qp()
    1d219778281e clk: scmi: Handle case where child clocks are initialized before their parents
    971da696abf0 x86/mm: Disable hugetlb page table sharing on 32-bit
    a68b85855732 x86/rdrand: Disable RDSEED on AMD Cyan Skillfish
    fcee75daecc5 clk: imx: Fix an out-of-bounds access in dispmix_csr_clk_dev_data
    5d2d34f36724 rust: init: allow `dead_code` warnings for Rust >= 1.89.0
    febc0b5dbabd lib/alloc_tag: do not acquire non-existent lock in alloc_tag_top_users()
    4c39dfd13beb mm/vmalloc: leave lazy MMU mode on PTE mapping error
    92ed107cd26d scripts/gdb: fix interrupts.py after maple tree conversion
    62720dc3cfd9 scripts/gdb: de-reference per-CPU MCE interrupts
    cb89f9bf6c3a scripts/gdb: fix interrupts display after MCP on x86
    ee6c677ef318 mm: fix the inaccurate memory statistics issue for users
    839d8682732e maple_tree: fix mt_destroy_walk() on root leaf node
    92db42e201f4 kallsyms: fix build without execinfo
    7dccd5eb5343 Revert "PCI/ACPI: Fix allocated memory release on error in pci_acpi_scan_root()"
    e4172522d594 Revert "ACPI: battery: negate current when discharging"
    ee6f6138d5f2 drm/xe: Allocate PF queue size on pow2 boundary
    065bd940ee0a drm/framebuffer: Acquire internal references on GEM handles
    9e4af87bd08d Revert "usb: gadget: u_serial: Add null pointer check in gs_start_io"
    abf3620cba68 usb: gadget: u_serial: Fix race condition in TTY wakeup
    48007d6e7bdb Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2"
    57b7c27ef5e7 drm/xe/bmg: fix compressed VRAM handling
    2d2f07a99487 drm/gem: Fix race in drm_gem_handle_create_tail()
    38df1a5053bc drm/ttm: fix error handling in ttm_buffer_object_transfer
    e2d6547dc8b9 drm/sched: Increment job count before swapping tail spsc queue
    08480e285c6a drm/gem: Acquire references on GEM handles for framebuffers
    e90ee15ce28c drm/amdkfd: Don't call mmput from MMU notifier callback
    9f852d301f64 drm/imagination: Fix kernel crash when hard resetting the GPU
    a7b2f250ffcd wifi: mt76: mt7925: fix invalid array index in ssid assignment during hw scan
    fad0f6fcdae0 wifi: mt76: mt7925: fix the wrong config for tx interrupt
    9b50874f297f wifi: mt76: mt7925: prevent NULL pointer dereference in mt7925_sta_set_decap_offload()
    9639e54025f1 wifi: mt76: mt7921: prevent decap offload config before STA initialization
    a963819a121f wifi: mwifiex: discard erroneous disassoc frames on STA interface
    e01851f6e9a6 wifi: prevent A-MSDU attacks in mesh networks
    373caeec3651 pwm: mediatek: Ensure to disable clocks in error path
    d526e11ab274 pwm: Fix invalid state detection
    275605a8b480 pinctrl: qcom: msm: mark certain pins as invalid for interrupts
    3e0542701b37 md/md-bitmap: fix GPF in bitmap_get_stats()
    9f260e16b297 net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe()
    8f65277317a8 gre: Fix IPv6 multicast route creation.
    199af064babb ASoC: fsl_sai: Force a software reset when starting in consumer mode
    e14bffc90866 ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp()
    d9bd1163c8d8 KVM: Allow CPU to reschedule while setting per-page memory attributes
    fd044c99d831 KVM: SVM: Reject SEV{-ES} intra host migration if vCPU creation is in-flight
    5cb498b20bff KVM: SVM: Add missing member in SNP_LAUNCH_START command structure
    55f568521e0b KVM: x86/xen: Allow 'out of range' event channel ports in IRQ routing table.
    291eff10b197 x86/mce: Make sure CMCI banks are cleared during shutdown on Intel
    8ed7f3de93e1 x86/mce: Ensure user polling settings are honored when restarting timer
    55ea884c0dce x86/mce: Don't remove sysfs if thresholding sysfs init fails
    afcf4f4e7062 x86/mce/amd: Fix threshold limit reset
    e01d5e33645d x86/mce/amd: Add default names for MCA banks and blocks
    9e0d33e75c16 ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()
    d1ff5f9d2c54 rxrpc: Fix oops due to non-existence of prealloc backlog struct
    5385ad53793d rxrpc: Fix bug due to prealloc collision
    8ecd651ef24a net/sched: Abort __tc_modify_qdisc if parent class does not exist
    fc2fffa2faca net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info
    34a09d6240a2 atm: clip: Fix NULL pointer dereference in vcc_sendmsg()
    024876b247a8 atm: clip: Fix infinite recursive call of clip_push().
    9f771816f14d atm: clip: Fix memory leak of struct clip_vcc.
    36caab990b69 atm: clip: Fix potential null-ptr-deref in to_atmarpd().
    4d5476fa3931 net: phy: smsc: Fix link failure in forced mode with Auto-MDIX
    6fb4cd247cda net: phy: smsc: Force predictable MDI-X state on LAN87xx
    850812bd2a15 net: phy: smsc: Fix Auto-MDIX configuration when disabled by strap
    be8792c6702b net: stmmac: Fix interrupt handling for level-triggered mode in DWC_XGMAC2
    41a741c476e1 vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local`
    ae2c712ba39c vsock: Fix transport_* TOCTOU
    3734d78210cc vsock: Fix transport_{g2h,h2g} TOCTOU
    62e6160cfb55 tcp: Correct signedness in skb remaining space calculation
    50aa2d121bc2 tipc: Fix use-after-free in tipc_conn_close().
    8fb2802a1654 vsock: fix `vsock_proto` declaration
    4b8e18af7bea netlink: Fix wraparounds of sk->sk_rmem_alloc.
    b90129445f50 net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol()
    31db4223db33 net: phy: qcom: move the WoL function to shared library
    778f4e173020 arm64: poe: Handle spurious Overlay faults
    2e0cb0c74d96 bnxt_en: eliminate the compile warning in bnxt_request_irq due to CONFIG_RFS_ACCEL
    0caba66f0073 sched/deadline: Fix dl_server runtime calculation formula
    35bda158da39 fix proc_sys_compare() handling of in-lookup dentries
    df1d6801f16a pinctrl: amd: Clear GPIO debounce for suspend
    cdbcde935e72 Bluetooth: hci_event: Fix not marking Broadcast Sink BIS as connected
    32fa1f92a40e Bluetooth: hci_sync: Fix not disabling advertising instance
    0cd863ab4204 ASoC: cs35l56: probe() should fail if the device ID is not recognized
    a0a8009083e5 perf: Revert to requiring CAP_SYS_ADMIN for uprobes
    f7fe33f629bb sched/core: Fix migrate_swap() vs. hotplug
    1207f57be07f irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ
    bc179aa79a20 perf/core: Fix the WARN_ON_ONCE is out of lock protected region
    8f4c7131721a ASoC: Intel: soc-acpi: arl: Correct order of cs42l43 matches
    cca47e6e1f78 ASoC: Intel: soc-acpi-intel-arl-match: set get_function_tplg_files ops
    fc3a8a5e8f8e ASoC: Intel: add sof_sdw_get_tplg_files ops
    36536435849b ASoC: soc-acpi: add get_function_tplg_files ops
    06e0b070eb97 ASoC: Intel: soc-acpi: arl: Add match entries for new cs42l43 laptops
    97d14c04610c ASoC: Intel: soc-acpi: arl: Correct naming of a cs35l56 address struct
    724b93a6a694 ASoC: Intel: SND_SOC_INTEL_SOF_BOARD_HELPERS select SND_SOC_ACPI_INTEL_MATCH
    d4f6a267cc07 ASoC: fsl_asrc: use internal measured ratio for non-ideal ratio mode
    07ed75bfa7ed drm/amdgpu: Replace Mutex with Spinlock for RLCG register access to avoid Priority Inversion in SRIOV
    56ea7746045a crypto: s390/sha - Fix uninitialized variable in SHA-1 and SHA-2
    04513cf1581b drm/amdgpu/ip_discovery: add missing ip_discovery fw
    39d6a607d531 drm/amdgpu/discovery: use specific ip_discovery.bin for legacy asics
    e9d9b25f3767 drm/exynos: exynos7_drm_decon: add vblank check in IRQ handling
    6dee745bd0ae eventpoll: don't decrement ep refcount while still holding the ep mutex

(From OE-Core rev: 25fd1e5999398cc81201379b51d676356e4d102b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Gyorgy Sarvari
4a3ba728e8 sysstat: upgrade 12.7.7 -> 12.7.8
Changelog:
* sar/sadf: Add new metric kbshmem.
* sar/sadf: Now compute used memory as total memory - available memory.
* sadf: Set availablekb to frmkb during conversion.
* cifsiostat, iostat, mpstat, tapestat: Add new option -U to display
  timestamps in seconds since the Epoch.
* Trap SIGTERM with all sysstat commands.
* mpstat: Go to next line when Ctrl/C is pressed.
* Add support for out-of-tree building and testing.
* sar: A_PWR_BAT: Fix wrong size used in memory initialization.
* Makefile.in: Update dependencies for install_man target.
* Makefile.in: Remove unused TFLAGS variable.
* Makefile.in: Remove old references to nfsiostat.
* DTD and XSD documents updated.
* NLS translations updated.
* sar, mpstat, iostat, cifsiostat and tapestat manual pages updated.
* Various cosmetic changes in code and Makefile.
* do_test: Add test target for out-of-tree build.
* systest: Explicitly set signal to SIGINT.
* Non regression tests: Remove root symlink in tests directory.
* Non regression tests updated.

(From OE-Core rev: 7635552654b5e60c1fb04534e6cfff6def7b7ec6)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Gyorgy Sarvari
605373567b python3-click: upgrade 8.1.8 -> 8.2.1
Some new tests use pytest's terminal reporter internally, which requires full
"cat" and "less", busybox isn't enough - RDEPENDS is adapted accordingly.

ptest passed:
====================================
Testsuite summary
 TOTAL: 761
 PASS: 739
 SKIP: 21
 XFAIL: 1
 FAIL: 0
 XPASS: 0
 ERROR: 0
DURATION: 2
END: /usr/lib/python3-click/ptest
2025-08-13T15:51
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Changelog: https://click.palletsprojects.com/en/stable/changes/

(From OE-Core rev: 37edc3bbe87831ff08aec5d7c71f3edf92496ab0)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Gyorgy Sarvari
d729ce0750 kmscube: update to latest revision
Changelog:
311eaaaa...afedb425

(From OE-Core rev: 7f13cbb5156559a983f358de0e00c26208b883b5)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Gyorgy Sarvari
129d363027 bind: upgrade 9.20.10 -> 9.20.11
Changelog:
https://downloads.isc.org/isc/bind9/9.20.11/doc/arm/html/changelog.html#bind-9-20-11

(From OE-Core rev: 5ca636ac567f6085f62b55bc3b7de4155af9c593)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:11 +01:00
Tobias Pistora
921faf3246 selftest/devtool: add devtool upgrade selftest for recipes with git submodules
Tests [YOCTO #15943]

Move code from test_devtool_upgrade_git() into separate, local function.
Add a test_devtool_upgrade_gitsm() selftest for devtool.
Add recipes for testing gitsm components.

(From OE-Core rev: c996801af3a22f50955ed4e47220461d6d243a3b)

Signed-off-by: Tobias Pistora <pistora.tobias@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Tobias Pistora
4c7b000732 devtool: fix upgrade for recipes with git submodules
Fixes [YOCTO #15943]

Fixes invalid path argument while calling "git rev-list" from submodule folders.
Replaced the local __run() wrapper function with _run() at "git rev-list" command calls.

(From OE-Core rev: c1839a24f08a87984d475d23f37a7c923d424267)

Signed-off-by: Tobias Pistora <pistora.tobias@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Gyorgy Sarvari
0edb9bfda1 ell: upgrade 0.78 -> 0.79
Changelog:
Fix issue with D-Bus client and watch removal handling.
Fix issue with D-Bus client and service name handling.
Fix issue with D-Bus proxy and filter rule handling.

(From OE-Core rev: c03f726d8d43c82fba69499f7dffdb81cca048b9)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
f852c4e31d elfutils: Mark failing ptests on musl as xfails
Elfutils tests do not all run cleanly on musl systems. Make the current set
as baseline by making the failing tests as XFAILS. This helps to not regress
further more.

(From OE-Core rev: c962949c7d70a40f94fb41c342b7a282578069ed)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
7810f55a15 elfutils: Add provisions for marking XFAILS in ptests
elfuitls testsuites do not pass on all kind of distro features e.g.
with musl there are failures and with ld-is-lld less numer but it shows
failures too. Make run-ptest treat these as known failures.

(From OE-Core rev: 54f4588d49f5164aa8a404a1cb6a9984fd2b49cd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
421747c600 tune-cortexa53: Add nocrypto tune variant
crypto is optional on armv8a and Broadcom BCM2837 SoC found on
rpi3 does not have hardware acceleration for cryptographic operations.

(From OE-Core rev: ef0a34580e71b28a27dcf75285c727fc55c240fc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
270affaf81 tune-cortexa72: Add nocrypto tune variant
crypto is optional on cortexa72 and some SOCs e.g. BCM2711 (RPI4-fame)
do take that option to exclude it.

(From OE-Core rev: 3d0de63d07f27e6ce5d58b34c95f90282422c3e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Chen Qi
4bae5ef54c util-linux/util-linux-libuuid: upgrade from 2.41 to 2.41.1
Upgrade util-linux and util-linux-libuuid from 2.41 to 2.41.1.

(From OE-Core rev: 3c9efca59d19eab88b8e1ce59b246c4d297b863d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Jon Mason
fcc2ee6aa9 arm: add nocrypto TUNE_FEATURE to complement crypto
Add a `nocrypto` TUNE_FEATURE option to `feature-arm-crypto.inc`
to explicitly disable ARM crypto extensions via GCC flags. This
provides an opposing state to the existing `crypto` feature,
enabling more explicit control over crypto-related tuning.

Some vendors ship cores without crypto support, and this change
allows disabling it without requiring extensive audits of
dependent code paths. This approach avoids the knock-on effects
caused when `nocrypto` is applied implicitly in the absence of
`crypto` in TUNE_FEATURES.

TUNECONFLICTS was added to prevent both features from being
enabled simultaneously. When both are added, the following error
is seen during build:

  Feature 'nocrypto' conflicts with 'crypto'.
  Feature 'crypto' conflicts with 'nocrypto'.

(From OE-Core rev: 51e0da4db61abcc546af216609f172204ddb17ab)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Cc: Ryan Eatmon <reatmon@ti.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Jon Mason
f92aafa056 Revert "feature-arm-crypto: Add +nocrypto to -mcpu when crypto not in features"
This reverts commit db1b355b2b15ba57bd89c2dfb88c2c667551863e.

(From OE-Core rev: 91615ef0cb1cc1bd20affe03cd98219a9385cb48)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
71cca07bf1 libtirpc: Fix version scripts to work with lld linker
Since bfd linker does not enable string checking for versioned symbols, build is generating
undefined versioned symbols, which LLD does not allow by default. Actually these symbols
should not be generated at all when given features are not enabled

Fixes link errors with lld

aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol '_svcauth_gss' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_create' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_create_default' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_free_private_data' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_get_private_data' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_service' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'cbc_crypt' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'ecb_crypt' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'endrpcent' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'getrpcent' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'getrpcbynumber' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'getrpcbyname' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'gss_log_debug' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'gss_log_hexdump' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'gss_log_status' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_error' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_mech_info' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_mechanisms' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_principal_name' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_versions' failed: symbol not defined

Add packageconfig for rpcdb

Enable it by default on musl, these functions are needed by
packages e.g. quote, nfs-utils, snort3 on musl

(From OE-Core rev: c50a6ec80b125f3405da2d54fee0a5309b40c1c1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Osama Abdelkader
a669cd2e0c go-cross-canadian: fix binaries install and GOARCH
set GOARCH to HOST_GOARCH which is set from SDKMACHINE,
since GOARCH defaults to TARGET_GOARCH, which is set from MACHINE (wrong arch).

Also fix do_install to correctly install all binaries from
${GO_BUILD_BINDIR} by using 'find -type f' to avoid issues when the
directory contains subdirectories (e.g. "linux_arm").

(From OE-Core rev: 31e3bd61c7986bc044e547aa5cb9caba7b32bf22)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Martin Jansa
74befedd66 lib/oe/utils: use multiprocessing from bb
Fixes build with python-3.14

It was added to bitbake in 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6
and oe-core now requires latest bitbake already, so we can use this.

[YOCTO #15858]

(From OE-Core rev: 75b39bf4b0cbf0884ce5c7209f3ae9420a86316e)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Gyorgy Sarvari
9f694e7ab4 logrotate: avoid testing localized strings
During running ptests, the test suite checks for a localized error string
which is different between libc and musl, making this test to fail.

Backport an upstream patch that fixes this by not checking for this particular
error message.

This fixes partially https://bugzilla.yoctoproject.org/show_bug.cgi?id=15811
[YOCTO #15811]

(From OE-Core rev: 8b415d9cfe4f8527c4fae23ebdc961499fe85cc4)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
a61f4e9fa4 zlib: Always use GNU ld for linking
Linking does not yet work with LLD

Fixes
aarch64-yoesdk-linux-ld.lld: error: undefined symbol: gzopen
>>> referenced by minigzip.c
>>>               minigzip.o:(main)

(From OE-Core rev: be5856616aee1d2134e6aedefc5fe664ad5e2a7d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
a8646063a5 libxcrypt: Allow undefined symbols in version scripts with lld linker
Unlike GNU ld, LLD defaults to erroring about undefined version symbols
add commandline parameter to sush lld here

Fixes
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'crypt_gensalt_r' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_gensalt' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_gensalt_r' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_r' failed: symbol not defined
| x86_64-yoesdk-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)

LLD has stricter defaults and strict symbol versioning enforcement.
LLD requires that all symbols
referenced in version scripts actually exist in the object files being
linked Same errors/behavior can be
seen with GNU linker as well if we add -Wl,--undefined-version to LDFLAGS
GNU linker chooses to be a bit lenient with defaults.

Having LLD to lower its barrier does not change the output it
produces, it's the same as GNU ld

This is known issue seen with other distros e.g. NixOS upstream [1]

[1] https://github.com/besser82/libxcrypt/issues/181

(From OE-Core rev: 26a293d639ab88db84137e9df1d608dfa15aba5f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
4d0f99a61f gcc: Upgrade to 15.2.0 release
This is a point release in GCC-15 release series with
number of bugfixes ( 123 to be exact ) as detailed here [1]

Drop backports available in this release

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=485623&resolution=FIXED&target_milestone=15.2

(From OE-Core rev: a7ed61f7b16fddce40c9b2f420783ca8838a2751)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Khem Raj
e9e5247f44 python3-numpy: Skip running test_validate_transcendentals ptest
This test fails [1] with x86-64-v3, surfaces when we switch default
tune for qemux86-64 to be x86-64-v3 or newer

Test seems to compare exact floating point numbers but it might not be
precise enough and comparison may fail.

[1] https://github.com/numpy/numpy/issues/27460

(From OE-Core rev: aaf986bfa93b91a64cbf1c4e23b7fe961bdbb1f7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Vivek Puar
3e73d96d1b linux-firmware: upgrade 20250708 -> 20250808
Add package ${PN}-qcom-adreno-a612 to include RGMU firmware for QCS615
chipset. Extend QCS6490 RB3Gen2 firmware to include audio topology.

Add new LICENSE files.

License-Update: additional files

(From OE-Core rev: 50b15d47f266af520fe3e6167edbf8184f0292ce)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Gyorgy Sarvari
824d0e8401 go-helloworld: update to latest revision
Shortlog:
- go.mod: update golang.org/x dependencies
- weave: fix %include parsing, add highlighting
- example/slog-handler-guide: run `make`
- example/weave: update TOC anchors to remove **, _, and `
- slog-handler-guide: remove doubled word
- slog-handler-guide: warn against embedding
- slog-handler-guide: fix typo, tweak phrasing

(From OE-Core rev: cfc6da6d0226d9d2ba1d59ecb1c86358be5daab2)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Gyorgy Sarvari
fddc590bb0 lua: upgrade 5.4.7 -> 5.4.8
License-Update: copyright year bump

ptests passed:

PASS: lua
DURATION: 0
END: /usr/lib/lua/ptest
2025-08-11T12:07
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Changelog:
https://github.com/lua/lua/compare/v5.4.7...v5.4.8

(From OE-Core rev: e44aec2610deffc5af2873cf4067a03142dfa384)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Gyorgy Sarvari
b78c5c2d98 gperf: upgrade 3.1 -> 3.3
Both patches were dropped, because they are included in this release.

License-Update: copyright date Update

Changelog:
3.3:
* Speedup: gperf is now between 2x and 2.5x faster.

3.2:
* The generated code avoids several types of warnings:
  - "implicit fallthrough" warnings in 'switch' statements.
  - "unused parameter" warnings regarding 'str' or 'len'.
  - "missing initializer for field ..." warnings.
  - "zero as null pointer constant" warnings.

* The input file may now use Windows line terminators (CR/LF) instead of
  Unix line terminators (LF).
  Note: This is an incompatible change. If you want to use a keyword that
  ends in a CR byte, such as xyz<CR>, write it as "xyz\r".

(From OE-Core rev: f1c23e1fffb6392a510f897f2141298981e5e75e)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Peter Tatrai
125ff9747b rust: backport cstring-merging test fix for PowerPC targets
The Rust cstring-merging assembly test was failing on PowerPC targets due to
LLVM's GlobalMerge optimization pass merging all global string constants into
a single merged global. This caused the test's CHECK directives to fail as
they expected separate .Lanon labels for each string literal ("foo", "bar",
"baz").

The test verifies that C-style string literals are correctly placed in
mergeable read-only sections (.rodata.str1.1) with proper section flags
(aMS - Allocatable, Merge, Strings) for linker optimization.

This backports the upstream fix that disables the GlobalMerge pass
(-Cllvm-args=-enable-global-merge=0) specifically for this test, allowing
it to verify the expected assembly structure without interference from
the optimization.

Fixes test failure:
- tests/assembly/cstring-merging.rs on powerpc-poky-linux-gnu

Backport of 2d51acd2fb

(From OE-Core rev: 2435b16b050ebdca0f70fe9ed1eebfdd3bacf19d)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Tested-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Peter Tatrai
65e4a4739e rust: disable executable-no-mangle-strip test on PowerPC due to linker issue
The executable-no-mangle-strip test fails on PowerPC target with an undefined
reference error when linking. The linker attempts to resolve this undefined symbol
at link time, causing the test to fail with:
  undefined reference to `THIS_SYMBOL_SHOULD_BE_UNDEFINED'

The test is designed to verify garbage collection behavior of #[no_mangle]
functions and used(compiler)] statics. This appears to be a PowerPC-specific
linker behavior issue.

Temporarily disable this test on PowerPC until the underlying issue is
resolved upstream.

Related upstream issue: https://github.com/rust-lang/rust/issues/144777

Fixes oe-selftest failure:
- tests/ui/linking/executable-no-mangle-strip.rs on powerpc-poky-linux-gnu

(From OE-Core rev: 58ccb78de7e87f2f17d8ee47be545de49b8e2450)

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Tested-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Moritz Haase
222d084261 cmake: upgrade 4.0.3 -> 4.1.0
Release notes are available at [0].

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

(From OE-Core rev: 438294125d577754e2cb0447ab989e0341f5c342)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Tim Orling
f8d9e4711a python3-zipp: upgrade 3.21.0 -> 3.23.0
* Add python3-coherent-licensed-native to DEPENDS

License-Update: add copyright year; update to match SPDX license text

v3.23.0
* Features
  - Add a compatibility shim for Python 3.13 and earlier. (#145)

v3.22.0
* Features
  - Backported simplified tests from python/cpython#123424. (#142)
* Bugfixes
  - Fixed .name, .stem, and other basename-based properties on Windows when
    working with a zipfile on disk. (#133)

https://github.com/jaraco/zipp/blob/main/NEWS.rst#v3230
https://github.com/jaraco/zipp/blob/main/NEWS.rst#v3220

Comparing changes:
https://github.com/jaraco/zipp/compare/v3.21.0...v3.23.0

(From OE-Core rev: f4f9a226ed779740d32998caf16f3310ab7dfaa4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Tim Orling
1e02ac3552 python3-coherent-licensed: add at 0.5.2
License management tooling for Coherent System and skeleton projects

https://pypi.org/project/coherent.licensed/
https://github.com/coherent-oss/coherent.licensed

*Dependency for latest python3-zipp
*Add self as maintainer

(From OE-Core rev: 7bcbf0350d7a4495043e5918ae62f03b0fb1eb01)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-14 10:31:10 +01:00
Richard Purdie
1dec53b350 conf/sanity: Increase bitbake minimum version requirement
We now need the new bitbake setVarFilter function. There was also some
changes to bb.event.check_for_interrupts() which changed in an
incompatible way.

(From OE-Core rev: 9840877cb7dc9c57c65a2b2740121a8c56b9985b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Chris Laplante
45c3fbcea3 sstate: fixup calls to bb.event.check_for_interrupts to remove unused argument
This commit should come along with this associated commit in bitbake: https://patchwork.yoctoproject.org/project/bitbake/patch/20250806145308.2052128-2-chris.laplante@agilent.com/

(From OE-Core rev: b0438b744800af60037ecc585c659be05a50d419)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Richard Purdie
bdb5e99854 classes/lib: Switch classextend to use new filter API
Currently, class extensions are implmented using shadow variables and
access indirection which is horribly ineffient and ugly.

Switch to using the new bitbake filter API, which allows a translation
of the variable before the expanded value is returned. This allows us
to drop the shadow variable accesses. It also avoids the need to iterate
PACKAGES and make many variable changes since a filter against RDEPENDS
applies to RDEPENDS:${PN} and all of it's other overridden values.

Since data expansion happens at access, it also avoids many of the race
conditions this code has tranditionally been plagued with.

(From OE-Core rev: 24a9858a8927e91d499ee342ed93a0dbb44d83bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Richard Purdie
7c9a1f20f1 bitbake: bitbake: Update version to 2.15.2
(Bitbake rev: 7ad404fd1aa0a48978c0351c5f52f17b8992c8b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Chris Laplante
6083700993 bitbake: runqueue: use enum to represent runQueue state to improve readability
(Bitbake rev: e61265570f5415d647666891d806836437330219)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Chris Laplante
f4a8ddd6c8 bitbake: event/runqueue: remove unused 'd' arg from check_for_interrupts
(Bitbake rev: e0c5e94cc14dd6b1cbde491073c1f9407c97e428)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Chris Laplante
b25ebbc408 bitbake: cooker: remove some redundant control flow
Prior to commit aa84a900e ("cooker: Ensure delays are accurately transfered to
the idle loops from runqueue"), this was necessary. But now retval is returned
directly.

(Bitbake rev: c2eb4336fe10b1bf8bbc6291c32ca362840f39e1)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Joshua Watt
a0c4688a35 bitbake: Add bb.utils.explode_deps as a filter function
Marks bb.utils.explode_deps as callable from filter functions

(Bitbake rev: bb07003641e76de994482f7835a432f20297af96)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Richard Purdie
c69a1aed4a bitbake: data_smart: Add setVarFilter function to implement variabl filtering
Adds a new setVarFilter() API to the data store allowing filters to be
applied to variables.

Note that filters are applied to the non-override part of the variable name
so a filter set against RDEPENDS would apply against RDEPENDS:${PN} and
friends.

The filter function is applied before returning the final variable value.

(Bitbake rev: a9471c10d1de039474ddb4738abd286b928d82f4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Joshua Watt
6fcda5cecd bitbake: lib/bb: Add filter support
Add the python API for applying filters to a string and being able to
register functions as filters.

Filter functions are pure functions where an input is translated into
an output and there are no external data accesses. This means translations
can be cached as they won't change.

(Bitbake rev: 7d25d7511ca14213eea78ee739d260295cfa4045)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-12 10:05:11 +01:00
Khem Raj
2a3ec28060 binutils-cross-canadian: Always use GNU linker
LLD fails to link gprofng
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'dlclose' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'dlopen' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fclose' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fdopen' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fgetpos' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fopen' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fsetpos' failed: symbol not defined

(From OE-Core rev: 2ba5473dd7747a51e611638b712b2b5a10485dbe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Khem Raj
dd7fa90e0d go-cross: Disable build with ccache
go compiler does not work reliably with ccache
gcc: fatal error: no input files

(From OE-Core rev: 136743fe72591b90794ec30b9a3fbb41fe6a66aa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
5ca542cadf python3: Upgrade 3.13.5 -> 3.13.6
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-6-final

Handles CVE-2025-8194 and 4 other vulnerabilities without CVE numbers.

Refresh patches via devtool.

(From OE-Core rev: 55b31ad3cf221dc07ef0ef1bc50c02f7c2e628ef)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
36cf5fc27b rpm-sequoia: upgrade 1.7.0 -> 1.9.0
The upstream project has extended the tests slightly, by adding a cargo command
to ensure that the library is built before the tests would be executed. This
doesn't really work for ptests, since it rebuilds the library from scratch on the
target. As an attempt to solve this issue, introduce an environment variable with
a patch, which, if present, will skip building the library before executing the test.

Changelog:
https://github.com/rpm-software-management/rpm-sequoia/compare/v1.7.0...v1.9.0

(From OE-Core rev: 1f070ae58b87183aaecd8c847a73081d680bdab6)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
8bcfc57351 webkitgtk: fix compiling for 32-bit Arm
When compiling for 32-bit Arm target, the compilation fails with the
following error:

| .../webkitgtk/2.48.5/sources/webkitgtk-2.48.5/Source/JavaScriptCore/offlineasm/ast.rb:1004:in 'Instruction#lowerDefault': Unhandled opcode addq at WebAssembly.asm:739 (due to WebAssembly.asm:739) (LoweringError)

Add backported patch to fix this error.

(From OE-Core rev: 37c18b2e215fd9d171742d664939519209be1c56)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Osama Abdelkader
9c80fe3e6e curl: upgrade 8.14.1 -> 8.15.0
Upgrade curl to the latest release.

Release notes:
https://curl.se/changes.html#8_15_0

This version includes bug fixes and security updates.

(From OE-Core rev: ead10dcf9876a745224e3ff683ee5f687b13da03)

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Dmitry Baryshkov
b96f7ed4be mesa: upgrade 25.1.6 -> 25.2.0
Upgrade Mesa to the latest release. Refresh remaining patches and drop
ones applied upstream.

(From OE-Core rev: 4000f9ec48d87e0ac765205c1b8096c352d2a301)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
23340e61cd openssl: upgrade 3.5.1 -> 3.5.2
Release information:
https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md#major-changes-between-openssl-351-and-openssl-352-5-aug-2025

OpenSSL 3.5.2 is a bug fix release.

This release incorporates the following bug fixes and mitigations:
* Miscellaneous minor bug fixes.
* The FIPS provider now performs a PCT on key import for RSA, EC and ECX.
  This is mandated by FIPS 140-3 IG 10.3.A additional comment 1.

(From OE-Core rev: bbe3a09beb5e9d6008ac306c82647bb22a5c3210)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
70530d7b39 rpm-sequoia-crypto-policy: update to latest revision
0001-libreswan-Allow-skipping-test_config-for-old-ipsec.patch
patch was dropped, as it is included in this revision.

(From OE-Core rev: f9d328b0f3a87b3aeb5fd7193429482cbc2220af)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
98f4b6dce0 ed: upgrade 1.21.1 -> 1.22.1
Changelog:
1.22.1:
Ed now departs from POSIX and ignores SIGPIPE to prevent commands like
'w !:' or ',!:' from terminating ed. A broken pipe is now detected as any
other write error. (Reported by Sergei Trofimovich).

1.22.0:
An ex(1) style filter has been implemented; the shell escape command
(!) now accepts line addresses to filter the addressed lines through a shell
command. (Suggested by Shawn Wagner, Andrew L. Moore, and John Cowan).

(From OE-Core rev: 8971dac2b1200a975a0c7a1477eb998c770675c6)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
18358ab6cb tcf-agent: upgrade 1.8.0 -> 1.9.0
Changelog:
https://gitlab.eclipse.org/eclipse/tcf/tcf.agent/-/compare/1.8...1.9

(From OE-Core rev: e2413eb29f0045be441305ccb9e4740a3c9dfe85)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
815fc0d4d8 libsecret: upgrade 0.21.6 -> 0.21.7
Changelog:
- docs: Fix return comment of secret_value_get_text
- bash-completion: Fix man section number in secret-tool completion file
- bash-completion: Integrate external extended bash-completion script
- bash-completion: Require minimal version for bash-completion
- meson: Use newlines for build options

(From OE-Core rev: e64c1bf23144c53c39f8fc2869cfd0be965dbc04)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
660b68d5f8 gcr: upgrade 4.3.1 -> 4.4.0.1
Due to a version number that has 4 sections, the recipe needs to override
gnome_gverdir function from gnomebase.bbclass to construct a valid download url.

Changelog:
gcr 4.4.0.1:
- meson: Fix gck vesion

gcr 4.4.0:
- gcr: Add OID for Extended Key Usage
- gcr: Avoid g_strv_builder_unref_to_strv()
- gck: Disable parallel tests using gck-mock module
- meson: Do a stricter check on GLib version
- gcr: Support parsing ed25519 SSH public keys
- Updated translations

gcr 4.3.90.3:
- ci: Another tarball publish fix

gcr 4.3.90.2:
- meson: fix library version

gcr 4.3.90.1:
- ci: Tarball publish fix

gcr 4.3.90:
- gcr: Add new GcrCertificateExtension API
- gcr: Vala override for CertificateField.get_value
- Fix meson test failures in FIPS mode
- doap: Remove invalid maintainer entry
- tests: Replace echo -n by printf
- build: Avoid redundant libegg linking into gck tests
- build: Fix some GLib/GTK deprecation warnings
- ssh-agent: Request rsa-sha2-256 signature in tests
- Updated translations

gcr 4.3.91:
- Several updates to the CI
- gcr: Implement Certificate Policies extension
- gcr: Implement Authority Information Access (AIA) extension
- gcr: Implement Authority Key Identifier extension
- gcr: Implement CRL Distribution Points extension
- gcr: Add GcrGeneralNames helper object
- gck: Add missing finish-func annotation to gck_slot_open_session_full_async
- Migrate away from g_assert() in some unit tests
- Updated translations

(From OE-Core rev: 32e9d178c114bd315cbbd5f00c00ec064ead5102)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
fb94528d8f oeqa: fix parallel make settings
These testcases are running with make or cmake "-j" without number,
which means that the build will spawn unlimited number of compiler
processes which may lead to oomkills and general build machine cpu
overload.

(From OE-Core rev: c7afa4fcdcf4409dcc7c2bf9cba34d30b7d42a39)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
8997ef5447 oeqa: rename variable dirs to opts is cases with parallel make
This is a refactoring commit so that next commit which is fixing
parallel make settings is readable.

Rename makes sense as the variable will contain not only directories but
also parallel make settings afterwards.

(From OE-Core rev: a13fc7b6f813ce7bd9991aed8f03351bdf5596f2)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
ed49517562 oe/utils: extract method for parallel_make without d context
oeqa does not have general access to d variable context and needs to
determine parallel make settings.
Extract the code from parallel_make into reusable parallel_make_value.

Also correct function description of return value from None to empty
string.

(From OE-Core rev: c8670e9c7db565401412dad979c2ee53a586b59d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
22dfa89719 glib-networking: upgrade 2.80.0 -> 2.80.1
eagain.patch is dropped, as it is included in this release.

Changelog:
 - OpenSSL: fix crash in complete_handshake (!251, Dario Saccavino)
 - OpenSSL: fix invalid free in openssl_get_binding_tls_server_end_point() (!255)
 - TLS test should handle G_IO_ERROR_WOULD_BLOCK (!253, Richard Purdie and Alexander Kanavin)
 - Updated translations

(From OE-Core rev: 47095302f235250af0134a3d041bb4dbf228bca1)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
2c45ddc4b1 go: upgrade 1.24.5 -> 1.24.6
Upgrade to latest 1.24.x release [1]:

$ git --no-pager log --oneline go1.24.5..go1.24.6
7f36edc26d [release-branch.go1.24] go1.24.6
83b4a5db24 [release-branch.go1.24] database/sql: avoid closing Rows while scan is in progress
0f5133b742 [release-branch.go1.24] os/exec: fix incorrect expansion of "", "." and ".." in LookPath
6e1c4529e4 [release-branch.go1.24] cmd/compile: for arm64 epilog, do SP increment with a single instruction
731de13dc3 [release-branch.go1.24] os/user: user random name for the test user account
390ffce7d6 [release-branch.go1.24] runtime: prevent unnecessary zeroing of large objects with pointers
b454859a8a [release-branch.go1.24] runtime: stash allpSnapshot on the M

Fixes CVE-2025-47906 and CVE-2025-47907 [2].

[1] https://github.com/golang/go/compare/go1.24.5...go1.24.6
[2] https://groups.google.com/g/golang-announce/c/x5MKroML2yM

(From OE-Core rev: f3072c210ac0a1e4d8046d920c3ebc29f9916b72)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Khem Raj
b7158ac865 clang: Fix GCS annotations in compiler-rt on aarch64
Fixes builds for Distros with

TC_CXX_RUNTIME = "llvm"

(From OE-Core rev: 44a550ef2a32eb00dcf5d7efd475d9916548e031)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
434d647efa dpkg: add ptest support
Added it to slow tests, as it takes betwen 165 and 190 seconds on my
machine to execute (qemux86-64 + kvm).

The test folder's Makefile contains a list of passing, failing and manual
tests. By default, only the expected-to-pass tests are executed by the
Makefile (unless magic environment variable is set).

The run-ptest script mimics the default behavior of executing the
expected-to-pass tests, however they are executed one by one, instead of
running them as one batch - that way it is easier to determine exactly
which tests pass and which fail.

One other thing that might worth a note, is that the tests folder that needs to be
installed contains a number of subfolders called "DEBIAN". When packaging them
at least with rpm, these folders are omitted from the package.
However these are essential for the tests, as they contain test data. As a
workaround, these folders are renamed during installation to DEBIAN-ptest,
and before execution the run-ptest script restores their names.

(From OE-Core rev: 02ed7fad85463840c46b6c0fa0ac9decef77c503)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Tim Orling
45c3732ab4 python3-certifi: upgrade 2025.7.9 -> 2025.8.3
2025.08.03:
https://github.com/certifi/python-certifi/pull/362
4c1bfa53ef

2025.07.14:
https://github.com/certifi/python-certifi/pull/359
1c50d2bb6a

Comparing changes:
https://github.com/certifi/python-certifi/compare/2025.07.09...2025.08.03

(From OE-Core rev: 6067498b14ca5d90640169384e51aa9cf5c1b8e2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Tim Orling
bcb744a1e2 python3-cryptography{-vectors}: upgrade to 45.0.6
* Refresh 0001-pyproject.toml-remove-benchmark-disable-option.patch

45.0.6 - 2025-08-05
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.2.

45.0.5 - 2025-07-02
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.1.

https://cryptography.io/en/latest/changelog/#v45-0-6
https://cryptography.io/en/latest/changelog/#v45-0-5

Comparing changes:
https://github.com/pyca/cryptography/compare/45.0.4...45.0.6

(From OE-Core rev: d2a6a7ef8b7149c9fc2cf497f33612720c1962b7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Tim Orling
c4231a8ffd python3-maturin: upgrade 1.9.1 -> 1.9.3
[1.9.3]
* Fix adding project.license-files to source distributions.
* Fix relative Readme rewrite of the root crate in source distributions.

[1.9.2]
* Fix PEP 639 implementation, use License-Expression over License.

https://www.maturin.rs/changelog.html#193
https://www.maturin.rs/changelog.html#192

Comparing changes:
bitbake -c update_crates python3-maturin

(From OE-Core rev: 2c38b0a24c38743a07d88f8cd2c04d502dd69248)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Peter Marko
530ceee676 ccache: do not use ccache if it is explicitly forbidden
Some recipes explicitly disable ccache via CCACHE_DISABLE variable since
they are known issues with ccache in those recipes.
This setting should not be ignored also when ccache in in HOSTOOLS.

Rework a hard to read if clause so that it is in format
if (not CCACHE_DISABLE and (cond1 or cond2 or cond2)):

(From OE-Core rev: 2ea0f82e5f9bb21d21503ed06cf74153ae8cbcc7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Khem Raj
caf58debdd python3-numpy: Always use libgcc for unwinder on aarch64
With libgcc (working):

Result: inf
Warnings: ['overflow encountered in cast']

With compiler-rt (failing):

Result: inf (probably still correct)
Warnings: [] (no warnings generated)

The issue is likely that compiler-rt on AArch64 doesn't trigger
the floating-point exceptions that NumPy expects for overflow
detection in type casting operations.

(From OE-Core rev: a85f07858b7cf8353541cbe72e2b1a95982d06f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Khem Raj
324b1bfa0d perl: Disable strict aliasing with clang
clang-21+ compiled perl ends up with segfults in
various places if this optimization is enabled

panic: del_backref, svp=0 at /usr/lib/perl5/5.40.2/warnings.pm line 622.
Compilation failed in require at /usr/lib/perl5/5.40.2/Getopt/Std.pm line 4.

The crash starts at frame #0 in Perl_sv_kill_backrefs() at sv.c:6420
called during magic cleanup (Perl_magic_killbackrefs)

(From OE-Core rev: d4af9e6a1c0090e4ee9b1199adf2144636997f03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Liu Yiding
d2edf7d352 vulkan: upgrade 1.4.313 -> 1.4.321
vulkan-headers Changelog:
https://github.com/KhronosGroup/Vulkan-Headers/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

vulkan-loader Changelog:
https://github.com/KhronosGroup/Vulkan-Loader/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

vulkan-tools Changelog:
https://github.com/KhronosGroup/Vulkan-Tools/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

vulkan-utility-libraries Changelog:
https://github.com/KhronosGroup/Vulkan-Utility-Libraries/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

vulkan-validation-layers Changelog:
https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

vulkan-volk Changelog:
https://github.com/zeux/volk/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

spirv-tools Changelog:
https://github.com/KhronosGroup/SPIRV-Tools/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

spirv-headers:
License-Update: add CC-BY-4.0
Changelog:
https://github.com/KhronosGroup/SPIRV-Headers/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

glslang Changelog:
https://github.com/KhronosGroup/Glslang/compare/vulkan-sdk-1.4.313.0...vulkan-sdk-1.4.321.0

(From OE-Core rev: 799bcefe5ba895dc47495d99745fea3327ace3af)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Khem Raj
57a4230055 clang-cross: Create <cross>-clang binary copy instead of symlink
With clang cleanup in [1] we ended up removing this logic, which
is still required.

This ensures that search path for subsequent tools e.g. linker
assembler are searched in the same dir where <cross>-clang is
installed. If its a symlink to ../clang then the reference
installation dir is ../ and all cross-tools are not there
so clang will fail to find assembler/linker from cross staging
area and use /usr/bin/ld or /usr/bin/as  which we do not want

[1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/clang/clang-cross_git.bb?id=5d96ed55acf7b9a908241222097ad809355de7cf

(From OE-Core rev: 3b0128fe6421e64674fd250e0b4e6afb1c8ce436)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Khem Raj
5b8fc98b57 libcxx: Create packageconfig for cross unwinder support
cross-unwinding can pass exception across runtimes e.g.
Multi-language applications ( nodejs native modules, python C extensions )

However, cross-unwinding is not default in libcxx for sometime [1]
it requires special handling at runtime by apps who use it
Switch recipe defaults to upstream defaults, which is to turn it off

This means native unwinding ( with in same runtime )
is build by default which is the most common case.

This also fixes libcxx/libunwind build errors
when enabling TC_CXX_RUNTIME = "llvm" on aarch64 particularly

[1] 85624c5de3

(From OE-Core rev: 88e1214e01c48b174aa9516c60e15a0dfb69e10f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Raphael Schlarb
ff5f922004 busybox-inittab: add -L flag for getty
The -L (force local line) flag is almost always required for serial consoles,
otherwise the terminal might hang.

In sysvinit-inittab this flag is added through start_getty.
Adding it here makes things more consistent.

This was likely just overlooked when start_getty was replaced
by getty in commit 7120278.

(From OE-Core rev: 2a9a5b275f067585275e53931ae5f0548bfaac53)

Signed-off-by: Raphael Schlarb <r.schlarb@instar.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Raphael Schlarb
66d77cf3e6 busybox-inittab: remove unused label variable
The label variable has been unused since commit 7120278.

(From OE-Core rev: ca5872e3b4b9b3cd09dd4e6e43688f1c2bd43514)

Signed-off-by: Raphael Schlarb <r.schlarb@instar.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Gyorgy Sarvari
8834954f5a librsvg: upgrade 2.59.2 -> 2.60.0
0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch and
0001-meson.build-do-not-force-disable-introspection-and-v.patch
patches were dropped, because they are included in this release.

======

Removed the CVE exception for CVE-2018-1000041, because it has been
fixed in 2017[1].

=====

During the do_configure step, the following error popped up:

| Program meson/query-rustc.py found: YES (/home/meeee/stuff/ptest-images/build/tmp/work/core2-64-poky-linux/librsvg/2.60.0/sources/librsvg-2.60.0/meson/query-rustc.py)
|
| ../sources/librsvg-2.60.0/meson.build:357:4: ERROR: Problem encountered: error[E0463]: can't find crate for `std`
|   |
|   = note: the `x86_64-poky-linux-gnu` target may not be installed
|   = help: consider downloading the target with `rustup target add x86_64-poky-linux-gnu`
|
| error: aborting due to 1 previous error
|
| For more information about this error, try `rustc --explain E0463`.

The meson script is trying to gather the static native libraries for the
target from rust, to link with them later. However it invokes rustc binary
directly without cargo, and the RUSTFLAGS environment variable is ignored,
which makes it to fail to find the Yocto targets.

To avoid this error, add a patch to append the RUSTFLAGS to the command
that calls rustc. (0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch)

======

During the development of this version, using gdk-pixbuf-loader was enabled
for non-cross builds also. Unfortunately gdk-pixbuf-loader however has no
cross-wrapper script support officially, so it fails the build if it can't
find the executable (which is not present in the target build's sysroot).

To avoid to error, add a patch that reverts this change.
(0001-Revert-meson.build-do-not-force-disable-gdk-pixbuf-l.patch)

=====

Changelog:

- The minimum supported Rust version (MSRV) is 1.77.2.
- Many build fixes for various platforms (Amyspark, Alexander Kanavin,
  Colin Sane).
- #414 - Basic support for the dominant-baseline property (Paul Melis).
- #1146 - Parse the white-space property.  It is not processed yet;
  this is part of the work to support SVG2 text layout (Adetoye Anointing).
- #1138 - Report errors correctly from the parsers for attribute values.
- Portability fixes to the C header files.

Version 2.59.91
===============
- #1147 - Fix linkage on Illumos.
- #1143 - Fix the build of the static library on MinGW (Amyspark).
- Fix versioning of library name (Amyspark).
- Enable cross-compilation of the gdk-pixbuf loader if meson/qemu can
  handle it (Colin Sane).

Version 2.59.90
===============
- #414 - Basic support for the dominant-baseline property (Paul Melis).
- #1138 - Report errors correctly from the parsers for attribute values.
- #951 - Slightly improved test coverage (Vaishnavi Nawghare).
- #1136 - Don't use defined() in C macro definitions, since it is not
  portable.
- #1146 - Parse the white-space property.  It is not processed yet;
  this will come after the Outreachy internship (Adetoye Anointing).
- Documentation fixes (Kleis Auke Wolthuizen).
- Many build fixes (Amyspark).
- Improvements for cross builds (Alexander Kanavin).
- Fix CRLF characters in Python sources (sulincix).

[1]: c6ddf2ed4d
(this fixed the CVE according to https://nvd.nist.gov/vuln/detail/CVE-2018-1000041 )

(From OE-Core rev: b0691bbbdf31b0e5c50ba319bdf6d16a278c8b5a)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Martin Siegumfeldt
7103b25e57 systemd: upgrade 257.6 -> 257.8
(From OE-Core rev: aade7be9a260d2c68e10fc9390b8e72943536ba6)

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-11 18:04:25 +01:00
Antonin Godard
3b2f9c31dc poky.yaml.in: increase required disk space to 140G
Increase the minimum size requirement to 140G, after running a build
with distro Poky. The size after rm_work has increase of only 1G, so
leave the current value for MIN_DISK_SPACE_RM_WORK.

Also, update the comment to mention that this is for distro Poky. It was
mentioned in commit message 285ba689ce3a ("manuals: update disk space
requirements"), but not in the comment here.

(From yocto-docs rev: dbc6137cd13f982a7fd4d1b2df79dccb177db0fc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
7429ea09df ref-manual/terms.rst: sort entries
documentation/scripts/check-glossaries returns:

  WARNING: ref-manual/terms.rst: entries are not properly sorted:
  --- original_list
  +++ sorted_list
  @@ -17,8 +17,8 @@
   LTS
   Metadata
   Mixin
  +OpenEmbedded Build System
   OpenEmbedded-Core (OE-Core)
  -OpenEmbedded Build System
   Package
   Package Groups
   Poky

(From yocto-docs rev: e3c05f82596239c12dcb9871e6dac434c46bacec)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
215c63ed3c ref-manual/variables.rst: sort variables
documentation/scripts/check-glossaries returns:

  WARNING: ref-manual/variables.rst: entries are not properly sorted:
  --- original_list

  +++ sorted_list

  @@ -12,8 +12,8 @@

  ASSUME_PROVIDED
  ASSUME_SHLIBS
  AUTO_LIBNAME_PKGS
  +AUTO_SYSLINUXMENU
  AUTOREV
  -AUTO_SYSLINUXMENU
  AUTOTOOLS_SCRIPT_PATH
  AVAILTUNES
  AZ_SAS
  @@ -28,8 +28,8 @@

  BB_CACHEDIR
  BB_CHECK_SSL_CERTS
  BB_CONSOLELOG
  +BB_CURRENT_MC
  BB_CURRENTTASK
  -BB_CURRENT_MC
  BB_DEFAULT_TASK
  BB_DEFAULT_UMASK
  BB_DEFER_BBCLASSES
  @@ -188,13 +188,13 @@

  CVE_CHECK_REPORT_PATCHED
  CVE_CHECK_SHOW_WARNINGS
  CVE_CHECK_SKIP_RECIPE
  +CVE_CHECK_STATUSMAP
  +CVE_CHECK_VEX_JUSTIFICATION
  CVE_DB_INCR_UPDATE_AGE_THRES
  CVE_DB_UPDATE_INTERVAL
  CVE_PRODUCT
  CVE_STATUS
  CVE_STATUS_GROUPS
  -CVE_CHECK_STATUSMAP
  -CVE_CHECK_VEX_JUSTIFICATION
  CVE_VERSION
  CVSDIR
  CXX
  @@ -254,9 +254,8 @@

  EXCLUDE_FROM_WORLD
  EXTENDPE
  EXTENDPKGV
  +EXTERNAL_KERNEL_DEVICETREE
  EXTERNAL_KERNEL_TOOLS
  -EXTERNAL_KERNEL_DEVICETREE
  -KERNEL_LOCALVERSION
  EXTERNAL_TOOLCHAIN
  EXTERNALSRC
  EXTERNALSRC_BUILD
  @@ -267,8 +266,8 @@

  EXTRA_OECMAKE
  EXTRA_OECONF
  EXTRA_OEMAKE
  +EXTRA_OEMESON
  EXTRA_OESCONS
  -EXTRA_OEMESON
  EXTRA_USERS_PARAMS
  EXTRANATIVEPATH
  FAKEROOT
  @@ -300,8 +299,8 @@

  FIT_KEY_GENRSA_ARGS
  FIT_KEY_REQ_ARGS
  FIT_KEY_SIGN_PKCS
  +FIT_PAD_ALG
  FIT_SIGN_ALG
  -FIT_PAD_ALG
  FIT_SIGN_INDIVIDUAL
  FIT_SIGN_NUMBITS
  FIT_UBOOT_ENV
  @@ -431,6 +430,7 @@

  KERNEL_IMAGE_NAME
  KERNEL_IMAGETYPE
  KERNEL_IMAGETYPES
  +KERNEL_LOCALVERSION
  KERNEL_MODULE_AUTOLOAD
  KERNEL_MODULE_PROBECONF
  KERNEL_PACKAGE_NAME
  @@ -505,15 +505,15 @@

  OBJCOPY
  OBJDUMP
  OE_BINCONFIG_EXTRA_MANGLE
  -OECMAKE_GENERATOR
  OE_INIT_ENV_SCRIPT
  OE_SHARED_UMASK
  OE_TERMINAL
  -OEROOT
  +OECMAKE_GENERATOR
  OEQA_REPRODUCIBLE_TEST_LEAF_TARGETS
  OEQA_REPRODUCIBLE_TEST_PACKAGE
  +OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS
  OEQA_REPRODUCIBLE_TEST_TARGET
  -OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS
  +OEROOT
  OLDEST_KERNEL
  OPKG_MAKE_INDEX_EXTRA_PARAMS
  OPKGBUILDCMD
  @@ -691,11 +691,11 @@

  SPDX_ARCHIVE_PACKAGED
  SPDX_ARCHIVE_SOURCES
  SPDX_CUSTOM_ANNOTATION_VARS
  +SPDX_INCLUDE_COMPILED_SOURCES
  SPDX_INCLUDE_SOURCES
  -SPDX_INCLUDE_COMPILED_SOURCES
  SPDX_NAMESPACE_PREFIX
  +SPDX_PACKAGE_URL
  SPDX_PACKAGE_VERSION
  -SPDX_PACKAGE_URL
  SPDX_PRETTY
  SPDXLICENSEMAP
  SPECIAL_PKGSUFFIX
  @@ -707,12 +707,12 @@

  SPL_SIGN_KEYNAME
  SPLASH
  SPLASH_IMAGES
  -SRCREV_FORMAT
  SRC_URI
  SRC_URI_OVERRIDES_PACKAGE_ARCH
  SRCDATE
  SRCPV
  SRCREV
  +SRCREV_FORMAT
  SRCTREECOVEREDTASKS
  SSTATE_DIR
  SSTATE_EXCLUDEDEPS_SYSROOT
  @@ -779,9 +779,9 @@

  TARGET_PREFIX
  TARGET_SYS
  TARGET_VENDOR
  +TC_CXX_RUNTIME
  TCLIBC
  TCMODE
  -TC_CXX_RUNTIME
  TEMPLATECONF
  TEST_EXPORT_DIR
  TEST_EXPORT_ONLY
  @@ -804,9 +804,9 @@

  TOOLCHAIN
  TOOLCHAIN_HOST_TASK
  TOOLCHAIN_HOST_TASK_ESDK
  +TOOLCHAIN_NATIVE
  TOOLCHAIN_OPTIONS
  TOOLCHAIN_OUTPUTNAME
  -TOOLCHAIN_NATIVE
  TOOLCHAIN_TARGET_TASK
  TOPDIR
  TRANSLATED_TARGET_ARCH
  @@ -860,13 +860,13 @@

  UBOOT_SUFFIX
  UBOOT_TARGET
  UBOOT_VERSION
  -UKIFY_CMD
  UKI_CMDLINE
  UKI_CONFIG_FILE
  UKI_FILENAME
  UKI_KERNEL_FILENAME
  UKI_SB_CERT
  UKI_SB_KEY
  +UKIFY_CMD
  UNKNOWN_CONFIGURE_OPT_IGNORE
  UNPACKDIR
  UPDATERCPN
  @@ -897,7 +897,7 @@

  WKS_FILES
  WORKDIR
  XSERVER
  +XZ_MEMLIMIT
  XZ_THREADS
  -XZ_MEMLIMIT
  ZSTD_COMPRESSION_LEVEL
  ZSTD_THREADS

(From yocto-docs rev: 5cc4f262844a202553112a01f7203c9220d30fae)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
e2af607785 ref-manual/variables.rst: fix the glossary
documentation/scripts/check-glossaries returns:

  WARNING: ref-manual/variables.rst: The variable EFI_PROVIDER shouldn't be in the glossary.
  WARNING: ref-manual/variables.rst: The variable ZSTD_THREADS shouldn't be in the glossary.

(From yocto-docs rev: 4d3952414d109f9c9ebb029f3e20018664eacc86)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
facbd11e90 Makefile: add a checks rule
The checks rule can be run to perform some checks on the docs.
For now it only includes running the check-glossaries script.

This rule should only run basic checks or should not prevent the user
from building the docs in case of failure.

This rule can be used in the future to run additional checks on the
documentation.

(From yocto-docs rev: 1d9a4a52fa9f2e2eb7f282324f85a46b28128fbf)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
dc768a3d9d Add a script to validate documentation glossaries
Instead of tracking the glossary manually, add a small script that
checks if it is properly sorted.

Add two comments between the start and end of the glossary for the
script to know where it's located.

The script also checks if the variables are properly sorted. It uses
difflib and returns the diff if there's a difference between the
unsorted and sorted list.

Messages beginning with "WARNING:" are reported by the Autobuilder,
which is the reason for this format.

(From yocto-docs rev: 416d50c0c322eb88bf13353a198db7211e4d665a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
6217bbbe7e migration-guides/release-notes-5.3: updates
Update the release notes and migration manual for 5.3.

This covers commits from c4a5e590b5 ("rust-llvm: Compile llvm to use
dynamic libraries") to 2a832e6af1 ("orc: set CVE_PRODUCT") in Poky.

(From yocto-docs rev: c8d852ad63219d067e497a77d489a4011b0d0a26)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
89fd9dd17a docs-wide: fix space around equal assignments
Since commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage") in BitBake, a warning is printed when
there are no spaces around an `=` assignment.

Adjust the documentation to show good examples only.

(From yocto-docs rev: 77ce1544dd793036b1135817c02e090138fe6407)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
e9042fee71 ref-manual/qa-checks.rst: add space around equal warning
After commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage") in BitBake, a warning is printed is
there's a missing space around an equal assignment in recipes.

Add a qa-check entry to qa-checks.rst.

(From yocto-docs rev: da2e9d45a4c70c5d78d225277a85cc4173e4ee7a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:11 +01:00
Antonin Godard
ee6fec0ce5 ref-manual/tasks.rst: do_package_qa: update link to qa checks
Link to the updated qa-checks document that contains the entire list of
checks. The insane class was recently updated to remove all its checks
description and move them to qa-checks.rst.

(From yocto-docs rev: 0fcd1a352ae364bee191e7d160b2fec35431fcfd)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
1887b330c3 docs-wide: update wic source plugin names
WIC plugins were renamed after commit 2de444fc3ef4 ("wic: plugins source
bootimage/isoimage rename to allow be imported") in OE-Core. They no
longer contain dashes, but underscores.

(From yocto-docs rev: 7224d7733e9e0f423475e1b9c5b48aff0de1f744)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
7dc3a0be6f ref-manual/classes.rst: document the testexport class
This class has been in OE-Core for a while but never documented in the
reference manual. Add some description for it and link to the existing
documentation on it.

(From yocto-docs rev: 362a331255525fc853dab3af4ec905c417fabb0b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
5d32fd15c2 ref-manual/variables.rst: document CVE_CHECK_VEX_JUSTIFICATION
Added by commit c0fa3d92cefa ("spdx30: Allow VEX Justification to be
configurable") in OE-Core.

(From yocto-docs rev: cee3eb30cc736d990f2232ede0bc6d9686a63713)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
1d54ab1f9d ref-manual/variables.rst: document OE_SHARED_UMASK
Added by commit ce32daa9843b ("bitbake.conf/sstate: Introduce
OE_SHARED_UMASK to standarise shared area umask") in OE-Core.

(From yocto-docs rev: b0a6f80a3216faf6c6add785aab2257a53b667dc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
f191e6fe98 ref-manual/classes.rst: document the go-mod-update-modules class
Added by commit 34bb889ffaae ("classes/go-mod-update-modules: add class
to generate module list") in OE-Core.

(From yocto-docs rev: b1a9848d2bba9e1392d153ff992304b83b259318)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
ba0d3de2d7 ref-manual/variables.rst: document UBOOT_VERSION
Added by commit debc691853e2 ("u-boot: Allow for customizing
installed/deployed file names") in OE-Core.

(From yocto-docs rev: a9a4bcc754b9400fa6d3c0297e86771f03325590)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
fc7f9d9296 ref-manual/variables.rst: document SPL_DTB_BINARY
This variable is part of uboot-sign but not documented.

(From yocto-docs rev: 05eb461cb1da76ad9cbaf634da7f47447b3f6765)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
d84f3ad5a4 ref-manual/variables.rst: add link for BB_DEFER_BBCLASSES
Added by commit 8e741b2e885a ("ast/BBHandler: Add support for
BB_DEFER_BBCLASSES") in BitBake.

(From yocto-docs rev: bf3c2ade55e4d90dd50f39d01405352cd48c1703)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
d5da98d680 ref-manual/variables.rst: document the FIT_CONF_PREFIX variable
Added by commit 7892ee3dc37d ("kernel-fitimage: allow overriding FIT
configuration prefix") in OE-Core, but never documented.

(From yocto-docs rev: 860891492b96eb127af5e7bab6348fca12167c68)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
a15109ab52 Drop the icecc class and related variables
Dropped by commit ecf8c386cf83 ("classes/recipes-devtools: Drop icecc
from OE-Core") in OE-Core.

Remove documentation for the class and the related variables. Remove the
references to this class.

(From yocto-docs rev: 30c9413c5106bcbcc1600ef16b8d0cece86d8158)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
16d3f5b3b0 ref-manual/variables.rst: document PSEUDO_INCLUDE_PATHS
Added by commit 2502da81709f ("bitbake.conf/pseudo: Switch from
exclusion list to inclusion list") in OE-Core.

(From yocto-docs rev: 5fc49ee007d22c7dc28c11ea579c804881b9cb8f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
a0fc4c939e ref-manual/variables.rst: document TESTSDK_SUITES
The TESTSDK_SUITES variable can be used to control the list of test
modules run with the testsdk class.

(From yocto-docs rev: fbc6db0ab525c7e46774c01fc595f30d6d0fe3c1)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
9e6c4bafe8 ref-manual/variables.rst: document KMETA_CONFIG_FEATURES
The KMETA_CONFIG_FEATURES variable defines kernel-yocto features to
enable.

(From yocto-docs rev: 1a9f68b875a78c1c7681ed300111399de97631e6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
5cf19087d5 ref-manual/variables.rst: document SPDX_PACKAGE_URL
Used for SPDX3 software_packageUrl field.

(From yocto-docs rev: 108549dae76a582bc98d3b7bd976e0239a6b92a6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
fe955396c1 ref-manual/tasks.rst: add documentation for do_recipe_qa
Document the do_recipe_qa task in classes.rst and link to the insane
class documentation.

(From yocto-docs rev: d3f172b600413b58ee51c70e9dd4f69b32fdc5f8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
e18b593172 dev-manual: add a hash equivalence server setup document
Add a small document to describe how to start a Hash Equivalence server
with bitbake-hashserv, the reference server provided by BitBake.

Update reference to hash equivalence in other places in the
documentation to mention this document.

Move the note from the concepts document to the new document, as a
warning note.

[YOCTO #15921]

(From yocto-docs rev: 4ff998336efdc507de1311e43bf8f4a6258c610a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
a4d83b4986 ref-manual/system-requirements.rst: update supported distributions
Update the distributions to match the list of workers on the
Autobuilder. This list was generated with the help of
yocto-autobuilder-helper/scripts/yocto-supported-distros.

Also:

- Sort the lists alphabetically.
- Decrease spacing between entries for readability.
- Remove older Ubuntu distributions that are not tested on the
  Autobuilder anymore.
- Fill the second list with EOL distros still running on the
  Autobuilder.
- Empty the third list as it does not make sense to maitain on the
  master branch.

(From yocto-docs rev: 56a7e8c209e804896558d759525d0c0317ac0ff5)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Erik Lindsten
a59d042448 overview-manual/yp-intro.rst: fix broken link to article
(From yocto-docs rev: b9680ad83ad3fc5e2b87594f7c62c057134d198b)

Signed-off-by: Erik Lindsten <erik@awto.se>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 23:41:10 +01:00
Antonin Godard
b64d1b1ff3 poky: remove Ubuntu 20.04 from supported distribtions
This distribution will not be supported for the next release, so remove
it from SANITY_TESTED_DISTROS. The worker on the Autobuilder has been
disconnected soon after Ubuntu 20.04 reached EOL.

(From meta-yocto rev: 85967da38d59f4dd3a445b094a9d64275f66af95)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-08 16:14:52 +01:00
Libo Chen
b36799ea7d runqemu: fix special characters bug
Fix the bug in runqemu that happens when the file path contains
the specific words such as 'vmlinux', e.g. /home/frank/vmlinux.

runqemu - ERROR - wic doesn't need kernel

(From OE-Core rev: 3c186fe7741adecb0887e36c8a9164a58fc16437)

Signed-off-by: Libo Chen <libo.chen.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Yoann Congal
938abd7c30 runqemu: refactor a duplicated cleanup statement
Refactor using a "finally:" instead of a duplicated statement inside and
outside of the try/except block.

(From OE-Core rev: c92399c355d1333eff37ea799832a8890acd0d74)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Yoann Congal
b4eacbf7c1 runqemu: use "zstd -o" to preserve sparse images
wic images can be sparse. Using "zstd -o" preserves the sparse state of
the image and should decrease decompression time.

Suggested-by: Adrian Freihofer <adrian.freihofer@gmail.com>
(From OE-Core rev: 27d156d85f13131ea4c5d766ddaa2d18b88d7577)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
5de44144cf dbus: add message-bus PACKAGECONFIG
There's no need to build an actual message bus in native or nativesdk
environments, as if DBus is needed in those environments then it will be
used to connect to the existing session or system bus.

Add a PACKAGECONFIG for the message bus, and wrap the packaging logic
with a PACKAGECONFIG check.

Expat is only needed by the bus, so this reduces the mandatory build
dependencies in the native case.

This means we can merge the overridden do_install appends, as native and
nativesdk don't have the message bus enabled so they don't install
dbus-launch.

(From OE-Core rev: dc674bf44fc757a4ffe7577a4d106ae729048013)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
f266b93299 dbus: use the systemd class to handle the unit files
Originally, the dbus recipe couldn't use the systemd class because there
was a circular dependency between systemd and dbus.

However, since systemd v209 in 2014[1] systemd hasn't needed libdbus, as
it has it's own implementation of the client library. DBus does not use
the systemd libraries, so there is no circular dependency.

The dbus build was already was installing the service and socket files,
so we are installing them again. Remove the installation of the units.

Manually mask dbus-1.service by simply creating a symlink, instead of
depending on systemctl and using an postinstall script.

(From OE-Core rev: a296b0623eb23300751b8c571ad804884d1fbd4f)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] dbus: 718db96199 ("core: convert PID 1 to libsystemd-bus")

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
3f2e437a11 dbus: glib is only used in the test suite
The glib/gio libraries are only used in a few of the tests:

$ grep use_glib
meson.build:use_glib = glib.found() and gio.found()
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib

So there's no need to depend on glib if we're not building the tests.
Explicitly enable/disable the modular tests option to ensure that when
the tests are not being installed we don't still need glib to build them.

(From OE-Core rev: f8908b147d888426811356d7ccd7547f3519fe29)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Yi Zhao
32a35e07a0 debianutils: upgrade 5.23.1 -> 5.23.2
ChangeLog:
* run-parts: Remove warning on non-existing directory with `--list`. It
  was emitted to `stdout` and even on `stderr` it would cause issues.

(From OE-Core rev: f7417aa1629b5f2276e39a382485b9ff25b0fe4a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Yi Zhao
de8406c8b2 gnu-efi: upgrade 4.0.1 -> 4.0.2
ChangeLog:
https://github.com/ncroxon/gnu-efi/releases/tag/4.0.2
* Fix syslinux issue + user CFLAGS/LDFLAGS
* Shim 16 updates + IsZeroGuid

(From OE-Core rev: 2f5c7aa53864a9bb6227a7731fcd58d1dc72633f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Nikhil R
d0d9cf0746 cmake: Add PACKAGECONFIG option for debugger support
Starting from CMake version 2.27 support for interactive debugging of CMake
scripts and configurations was added. However, by default the `nativesdk-cmake`
is compiled with debugger support turned off.

This change adds debugger support for cmake

(From OE-Core rev: 8acfca456c3502f0d097ba01a2d08f83fb75ab60)

Signed-off-by: Nikhil R <nikhilr5@kpit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
e8fc876ada python3-jsonschema: clean up dependencies
pyrsistent was replaced with rpds in 4.18.0.

zipp doesn't appear to have ever been a dependency, remove. Maybe it was
a transient dependency.

(From OE-Core rev: bc0565683fdc78df8ec58beb4872646c48274e5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
c816ec83a2 python3-setuptools-scm: clean up dependencies
typing-extensions is only needed with Python <3.10 we have 3.13, remove.

pyparsing and pip are not dependencies, not sure why they're here so
remove.

(From OE-Core rev: 101f2f9f9bf4ea0211963792633dd3c68660132c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
b091188175 gdk-pixbuf: drop GDK_PIXBUF_LOADERS
We have a PACKAGECONFIG, there's no need for this to be a dedicated
variable.

(From OE-Core rev: 284d59152a81a20d2ebfa07bb0fec28c8485db22)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
5b29e82892 gdk-pixbuf: clean up PACKAGECONFIG
PTEST_ENABLED is always false in native builds, so there's no need for
an explict native override.

Use ??= as that is the idiomatic way to assign to PACKAGECONFIG.

(From OE-Core rev: 7d5682cb026dcb16aabbe02113c9635704bbccae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
f42421f09e gtk: set correct bug tracker
GTK hasn't used bugzilla for many years, switch the bug tracker fields
to gitlab.gnome.org.

(From OE-Core rev: 87e42afb25b3faa8dfae1e37118bf18b9f8b6531)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
eb59419107 glib-2.0: -dev should depend on -utils
The -dev package should depend on -utils, as there are a number of
utilities in that package which are needed when compiling GLib-using code,
such as glib-genmarshal and glib-compile-resources.

(From OE-Core rev: 442c24ceabcb2bf5b585972280f7a8ab90dfbf38)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
2bb65c29c8 dbus-glib: remove no-examples.patch
This patch has been in OpenEmbedded since 2006 with no explanation[1].

Possibly the intention was to reduce build time slightly or remove some
breakage, but it's useful to link the library we're building against a
test binary.

[1] oe-classic cc5c376f17 ("dbus: add 0.90, dbus-glib and dbus-python bindings 0.70")

(From OE-Core rev: a2041b1a2fd2ed508ab891e909c8ade1d31e3654)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
c649d30e30 dbus-glib: remove unused packaging of tests
We're carrying a patch to install the tests, but we don't actually
install them by default or have any ptest infrastructure to run them.

As this is complicating the recipe for no reason, remove it all. If
someone in the future wants to run the tests they can do it with ptest
so they're exercised correctly.

(From OE-Core rev: bbb68c3b333e4da7141f0d17f9195dd0c8b80267)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00
Ross Burton
cb829cdd75 dbus-glib: package the binding tool into PN-tools, enable nativesdk
In a SDK environment we need a nativesdk build of dbus-glib for the
dbus-binding-tool binary.  Add a nativesdk variation and put the tool into
a -tools subpackage so it can be installed if needed.

(From OE-Core rev: bce011ebc21b402cc83c3b17063d2277b6347a68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Gyorgy Sarvari
a78cf57aa3 dpkg: upgrade 1.22.11 -> 1.22.21
All executables and scripts (except for start-stop-daemon script)
were moved from sbin to bin after the following commit:
12e3bc2991

Changelog: https://salsa.debian.org/dpkg-team/dpkg/-/blob/main/debian/changelog

(From OE-Core rev: b48858e1a4cafebd96c1f92a6fd5ee963e10e590)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Wang Mingyu
a49fb701de python3-license-expression: upgrade 30.4.3 -> 30.4.4
(From OE-Core rev: 8a5bc8e1fcbb136433c2690908a92c2d3cb72840)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Mikko Rapeli
a5eeb352d8 u-boot: update build racecondition patches
A different patch was applied upstream after reviews
and testing.

(From OE-Core rev: 4291be42e862b4fa748a7245811aae8fd4ffed8a)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Markus Volk
21ac8be01f autoconf-archive: add backport patches to fix gl and glx detection
Detecting opengl using autoconf-archive currently fails:
| aclocal: warning: couldn't open directory 'm4': No such file or directory
| configure.ac:306: error: _AX_CHECK_GL_MANUAL_LIBS_GENERIC: argument must not be empty
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/cava/0.10.4/recipe-sysroot-native/usr/share/aclocal/ax_check_gl.m4:187: _AX_CHECK_GL_MANUAL_LIBS_GENERIC is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:595: AS_CASE is expanded from...
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/cava/0.10.4/recipe-sysroot-native/usr/share/aclocal/ax_check_gl.m4:253: AX_CHECK_GL is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| configure.ac:306: the top level
| autom4te: error: m4 failed with exit status: 1

This issue has already been fixed upstream, but there has been no new release since then.

(From OE-Core rev: a1dce757f95fd13d80593bb6227315aacd29f5aa)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Mingli Yu
dd43f638e9 ovmf: Don't define bool type if building in C23 mode
Backport a patch [1] to fix the below build failure:
 /buildarea/tmp/work/corei7-64-wrs-linux/ovmf/edk2-stable202502/sources/ovmf-edk2-stable202502/SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h:13:17: error: two or more data types in declaration specifiers
 13 | typedef BOOLEAN bool;
 | ^~~~
  /buildarea/tmp/work/corei7-64-wrs-linux/ovmf/edk2-stable202502/sources/ovmf-edk2-stable202502/SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h:13:1: error: useless type name in empty declaration [-Werror]
  13 | typedef BOOLEAN bool;

[1] 772fa11ac8

(From OE-Core rev: 24600013b65c954bd704a6eb673197ac06b87f69)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Gyorgy Sarvari
cf32779ebd webkitgtk: upgrade 2.48.2 -> 2.48.5
Changelog:
2.48.5:
Fix several crashes.

2.48.4:
Improve emoji font selection with USE_SKIA=ON.
Improve playback of multimedia streams from blob URLs.
Fix the build with USE_SKIA_OPENTYPE_SVG=ON and USE_SYSPROF_CAPTURE=ON.
Fix the build on LoongArch with USE_SKIA=ON.
Fix crash when using a WebKitWebView widget in an offscreen window.
Fix several crashes and rendering issues.

2.48.3:
Fix a crash introduced by the new threaded rendering implementation using Skia API.
Improve rendering performance by recording layers once and replaying every dirty region in different worker threads.
Fix a crash when setting WEBKIT_SKIA_GPU_PAINTING_THREADS=0.
Fix a reference cycle in webkitmediastreamsrc preventing its disposal.

(From OE-Core rev: 0b1828a3f6cbdf3b4d444d30ca3ab37bd98bb419)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Khem Raj
ea62c089c8 musl: Update to tip of trunk
Brings following fixes

* 8fd5d031 aarch64: mask off SME and unknown/future hwcap bits
* 709fee55 aarch64: replace asm source file for __set_thread_area with inline asm
* bd981f33 elf.h: add AT_HWCAP3 and AT_HWCAP4
* f96e47a2 printf: fix regression in large double formatting on ld128 archs
* caae5a8b fix register name usage in aarch64 clone.s
* ab4635fb make __getauxval a public ABI symbol
* fcdff46a statx: add Linux 6.11 fields/constants
* 18289e5d ldso: fix typo in comment
* 86373b49 powerpc: update HWCAP bits for Power10
* fde29c04 stdio: skip empty iovec when buffering is disabled

(From OE-Core rev: 933f03de1bdbb2f28baa18081b9c5925978f28e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Gyorgy Sarvari
294a018390 quota: upgrade 4.09 -> 4.10
Drop 0001-Fix-building-on-musl.patch, because it is included in this release.
Add backported 0001-setproject-Fix-openWRT-build.patch, which adds a missing header
to prevent build failure with musl.

Changelog:
- Update Polish translation
- quotasys: Make detection of QF_META format work for bcachefs
- quotaio_xfs: Fix memory leak
- setproject: Add support for bcachefs REINHERIT_ATTRS ioctl
- setproject: Simple utility for setting projects on files/directories
- Move user/group/project name translation into common.[ch]
- Add support for bcachefs
- Fix building on musl
- quotaio_xfs: Convert remaining quotactl(2) calls to quotactl_handle()
- quotaio_xfs: Fix quota-tools on XFS
- quotaio_xfs: Fix error handling in xfs_read_dquot()
- Disable BSD_BEHAVIOUR by default
- quotaops: Checking egid with BSD_BEHAVIOR
- Enable support for tmpfs quotas
- Add quotactl_fd() support
- Rename searched_dir->sd_dir to sd_isdir
- quota-nld: fix open PID file failed when systemd read it
- edquota: Fix editing of individual user grace times
- setquota: Avoid false error messages when setting grace times
- Make configure.ac POSIX compliant
- Update required gettext version

(From OE-Core rev: 5b969aad69649ce2e06ccbb62ca3afa49c3aea37)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Gyorgy Sarvari
ee32575f2a gnutls: upgrade 3.8.9 -> 3.8.10
Skip compress-cert-conf test when running ptests, because it requires
gnutls to be compiled with brotli PACKAGECONFIG, however brotli is not
part of oe-core.

Changelog: https://gitlab.com/gnutls/gnutls/-/blob/master/NEWS

(From OE-Core rev: 2ad41436acdc5f37803ade51c98ae0dc06103e45)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Khem Raj
bcdcc5e169 fmt: Fix build with clang-21
Backport a fix from upstream master branch

(From OE-Core rev: 9cc8092b287b8df957c5ae6503f4ef35edba5871)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Khem Raj
02b3910444 cargo-c: Update patches to latest versions
getrandom patch is accepted upstream with minor changes
parking_lot patch has addressed upstream feedback

(From OE-Core rev: 9f0f41d8e3fe00df37d926d99fb490614b51dde7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Khem Raj
d77397719e toolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS
BUILD_LDFLAGS is used by other recipes to emit native LDFLAGS
into their cmake toolchain files especially in QT layers. it
will usually be inherited by recipes wanting clang provide
BUILD_* variables so this is more appropriate than LDFLAGS to
pass these options.

(From OE-Core rev: f258d6e437a68bfd8a46f185cbeb17bfcccf940b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
9814623387 python3-unittest-automake-output: upgrade to 0.3
The patch is merged in this upgrade, so remove.

(From OE-Core rev: 61e6a3b59fa4679a0259a92cc82554f59d3d7fd0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Gyorgy Sarvari
8bb6f70acb nettle: upgrade 3.10.1 -> 3.10.2
dropped 0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch, as
it is fixed in this release.

Changelog:
https://git.lysator.liu.se/nettle/nettle/-/blob/master/ChangeLog

ptests passed:
All 116 tests passed
DURATION: 2
END: /usr/lib/nettle/ptest
2025-08-01T14:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: e02f67fadd6310e1ce9d2313b3b3f9cad59f3696)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
8369e8c4c2 python3-build: simplifly native bootstrap
The pep517 class no longer called the "build" module directly, so we
can't play games with PYTHONPATH here.

However, the flit_core class has a bootstrap method so this recipe can
use that instead.

(From OE-Core rev: ae85c85b28fd01591ace2f48159cdc7fbc05a26a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
f695ef07d3 classes/python_pep517: use pyproject-build instead of nativepython3
The build package installs an entry point now, so we run that instead of
calling the module directly.

(From OE-Core rev: e064e71b4003666de1644f8e3c08ed6844d710e5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
5e22ec20b4 Revert "python_setuptools_build_meta: clean the build directory in configure"
This is not needed: setuptools.build_meta does the build under a new
temporary directory.

This reverts commit ad488915b0.

(From OE-Core rev: a532cb50151d773c1c351ffccf4d47a37f26f8aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
ceb9efb446 mpfr: drop dependency on autoconf-archive-native
The tarball includes the relevant M4 macros, so autoconf-archive is not
needed to reconfigure.

(From OE-Core rev: 82c96be0ccda5077d279c1182875d14f16bb6e7b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
4d6f66bd81 icu: drop dependency on autoconf-archive-native
The tarball includes the relevant M4 macros, so autoconf-archive is not
needed to reconfigure.

(From OE-Core rev: fedce59511b41d772a394dba5a5abf27e0a0ac05)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
18fba5eb05 libx11: drop dependency on autoconf-archive-native
The tarball includes the relevant M4 macros, so autoconf-archive is not
needed to reconfigure.

(From OE-Core rev: 587c42e7f61a0bda04add1e8252f049a8ddf4087)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
4b6da73a2c dbus: remove autoconf-archive-native DEPENDS
This recipe uses Meson to build now, so it doesn't need autoconf-archive
anymore.

(From OE-Core rev: a310fc7520d057079d7a771aaa93fc7678eabb72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
396e0cdd2d neard: recipe tweaks
The canonical git repository is on GitHub now, 01.org doesn't exist, and
one of the patches has been upstreamed.

(From OE-Core rev: cf9c56d772443ee79cf9ad6e40061b6399ceccdf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Khem Raj
3f941cbcb8 clang: Add packageconfig knob for opt-viewer
The optimization viewer is a web-based tool that helps developers visualize
and analyze LLVM's optimization passes. It generates reports showing
Which optimizations were applied to specific functions.
Why certain optimizations were or weren't performed.
Performance remarks and missed optimization opportunities
Interactive views of the optimization pipeline.

Its a nice add-on, keep it disabled by default.

(From OE-Core rev: 70c43e35fb7ce0b71f28a91a1864f02338545522)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Ross Burton
f7a6163d4f libclc: do native build of prepare_builtins in a fresh environment
The environment has variables like LDFLAGS set which CMake will try and
use, so until our cmake class is comprehensive enough to nuke those in
the native toolchain file (if that is possible) do a build inside a
clean (apart from PATH) environment to avoid cross-contamination.

As noticed by Khem Raj, this can fail in nativesdk builds as the target
flags will be passed to the native link resulting in failures like:

  Requesting program interpreter: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-yoesdk-linux/lib/ld-linux-x86-64.so.2

(From OE-Core rev: 0013f501d1de01606b812d930ef6ca842633f551)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00
Richard Purdie
b3991a4554 genericarm64/genericx86-64/heabglebone-yocto: Default to zstd compressed image output
We want to release compressed images since these are much easier for
users to download. Change the default generated output to match this
and build the output we want to release directly.

One test needs tweaking to since it uses an uncompressed image.

(From meta-yocto rev: 506379cb241e6a865139307e06216a07f737b602)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:33:00 +01:00
Richard Purdie
45f3bdce44 bitbake/conf: Default to zstd compressed image output
Switch our default qemu images to use .zst compressed images by default
since this is the output format we release during the release process
and is the one that users would prefer to download. This makes the release
process use the actual generated output from the system and avoids post
processing.

(From OE-Core rev: aa5f60d1fcb716a2b2174dffcaf35442bff1f1fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:42 +01:00
Richard Purdie
b5f38c5ce3 oeqa/selftest/runqemu: Use snapshot mode for image testing
We don't need to preserve changes to these images so use snapshot mode
so we don't save writes to them.

(From OE-Core rev: da939d122fc77c86f13a087a387edaa8d39d9dbb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Richard Purdie
23174f6494 scripts/runqemu: Update the fstypes list with newly supported compressed images types
Update the interal list of types within runqemu with the newly added
compression formats it supports.

This fixes autodetection of qemuboot file locations.

(From OE-Core rev: 46b9a1c74df00f76f7c19b5ed27e6a569aaabb5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Richard Purdie
b8fef12210 oeqa/qemu: Add compressed image types that are now supported
Add compressed image types that are now supported to the supported
fstypes list.

(From OE-Core rev: 2e2406213347ad294e301de45ff5be59292bdc3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Yoann Congal
b034dcc314 runqemu: print snapshot mode state in console
With snapshot enabled, no change on rootfs will be saved after qemu
shutdown. Since this is not what a user might expect, print the snapshot
mode state and its consequence in console at runqemu start.

(From OE-Core rev: 57fe8538a87ff1f69f274d9692f038caed6cb5cd)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Yoann Congal
60676f12f2 runqemu: accept vmtypes and wictypes for rootfs paths extensions
When using a .wic.zst image, its fstype is detected by default as
".zst" which prevent booting correctly.

Fix this by adding wictypes (and vmtypes while at it) to the list of
known fstypes. After this fix, the initial fstype is correctly ".wic.zst".

(From OE-Core rev: 26b0922977d1bfcf47bbccf624be86e9e2b8815a)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Yoann Congal
89bd495091 selftest: runqemu: add tests for booting zst compressed image
Add a simple tests booting a compressed image given to runqemu as path
and as image recipe name.

(From OE-Core rev: b5f8c3e02980df0e8e44de32ed8b3b869a1fcd83)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Lamine REHAHLIA
820a6edcec runqemu: Add support for running compressed .zst rootfs images
Enhance runqemu to detect and decompress .zst-compressed rootfs images
(e.g. ext4.zst, wic.zst) automatically. If a decompressed image already
exists in the original directory, it will be reused to avoid overwriting
build artifacts. Otherwise, the image is decompressed and removed after
the QEMU session ends.

This allows runqemu to be used seamlessly with compressed image formats
generated by the build system or during releases.

Note: support for .zst images is only available when snapshot mode is
enabled

IMPORTANT:
This patch assumes that the original directory of the .zst-compressed
image is writable. If, for some reason, the path passed from CI or
another system to the script is read-only, the decompression step will
fail when trying to write the uncompressed image to the same directory.

(From OE-Core rev: e069fe2480c871c649b83f6278564a553cc3dd58)

Signed-off-by: Lamine REHAHLIA <lamine.rehahlia@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:32:41 +01:00
Michael Halstead
d4b949b178 yocto-uninative: Update to 4.9 for glibc 2.42
(From OE-Core rev: 3bf918491375db55de00e8fe9c501f63759eedd9)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 22:30:36 +01:00
Khem Raj
531cce6878 glibc: Upgrade to 2.42 release
* GCC 12.1 or later is now required to build the GNU C Library.
* GNU Binutils 2.39 or later is now required to build the GNU C Library.
* Support for lightweight stack guard pages via madvise and the
  MADV_GUARD_INSTALL flag has been added to pthread_create.
* This is major release, changelog [1]

[1] https://sourceware.org/pipermail/libc-announce/2025/000048.html

(From OE-Core rev: 7c55e2da96f40ee0e40f6fd534573ce64013145c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-06 17:01:23 +01:00
Richard Purdie
903710ab5c clang/meta-ide-support/meta-extsdk-toolchain: Add missing MLPREFIX
'cross' dependencies are hard, the code currently handles adding MLPREFIX
in these cases but may not in future depending upon implementation.

Add the correct value explictly.

(From OE-Core rev: 8393be1792cee0fbe76d75fd20a97dda41134880)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
844e2ebbfc clang: split lld into a separate lld recipe
The lld linker is a standalone project under the LLVM umbrella that just
depends on libLLVM and nothing else, such as clang.

To reduce the build time of clang if lld is not being used, split it out
into a separate recipe.

To ensure that lld is present if needed, the clang-cross recipe will
depend on lld-native if ld-is-lld is enable.

(From OE-Core rev: 5212b69f892af8c9b080fee2c21533a2bbdd2755)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Peter Marko
2239c2c91a oeqa: do not fail when sdk package is not available
Prior to commits:
* 11277efd057685558a744e98082b5709e849dd2a
* d0e8b83d05957b1f22d08582e364afa4b522801e
the tests were skipped if package was not available.
Now the code calls function ensure_host_package which says
"try to sdk-install missing dependencies", however in fact for sdkext it
causes a failure if the installation is not available.

Since maturin is not installed in any image, it cannot be installed
unless it's downloaded from sstate-cache mirror populated by a world
build. These builds are however now not done for powerpc and mips.
IT also does not work in local builds without sstate-cache mirror.

Fix this by skipping the test if the package cannot be installed to
match the original behavior before those commits.

(From OE-Core rev: bd2096c89a4a00927a52d07145aad528dc86b81c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Peter Marko
1987d7943e oeqa: fix OETestCalledProcessError for check_output method
Per documentation, subprocess.CalledProcessError exception has stderr
filled out only for run method, it's None for check_output method.
So serialize it only if it's not None.

Avoids:
  File "<poky-dir>/meta/lib/oeqa/utils/subprocesstweak.py", line 15, in __str__
    s = s + "\nStandard Error: " + strify(self.stderr)
        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str

(From OE-Core rev: d13f444468b4b10f913b3cf01d7d13ef9d42838e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
752eca419d dbus: remove obsolete cleanups
The removal of the Red Hat initscript has been redundant since 2017[1].

The test directory is not installed, so there's no need to remove it.

(From OE-Core rev: 904b6967ad4730ae32aad785d6b53ca3f5af2cd4)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] dbus: 708a44d0 ("Remove distribution-specific init-scripts")

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
ab1c97e4e9 systemd: explicitly disable dbus
This is actually only used in a single test that we don't build, so
explicitly disable DBus instead of offering a PACKAGECONFIG that doesn't
do what you might expect (enable some systemd/dbus integration).

This doesn't change behaviour as this option wasn't enabled by default.

(From OE-Core rev: bed605e7cd095f210e24f1e07dab6f814d0bbb59)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Gyorgy Sarvari
bb51be6fbf gdbm: upgrade 1.24 -> 1.26
Removed c11 flag, as it seems to build fine now with default flags.

ptests passed:

All 38 tests were successful.
DURATION: 11
END: /usr/lib/gdbm/ptest
2025-08-01T18:37
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Changelog:

1.26:
- Fixed build with musl libc
- Fixed build on MacOS
- Improved testsuite

1.25:
- New function: gdbm_open_ext
This function provides a general-purpose interface for opening and
creating GDBM files.  It combines the possibilities of gdbm_open and
gdbm_fd_open and provides detailed control over database file locking.

- New gdbmtool command: collisions
The command prints the collision chains for the current bucket, or for
buckets identified by its arguments.

- Pipelines in gdbmtool
The output of a gdbmtool command can be connected to the input of a
shell command using the traditional pipeline syntax.

- Fix a bug in block coalescing code

(From OE-Core rev: 5f4c806ba9fe2385891b46098b313a858daf8103)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Khem Raj
474e912372 libstd-rs: Fix build regression on rv32
This started to fail with rust 1.88, due to rust libc
upgrade

(From OE-Core rev: f9145bc8bec77e1f454f80c4e5576567daa99ac8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Khem Raj
55c607068e clang: Remove dependency on swig-native
LLDB Uses SWIG to generate python bindings, however
LLDB is no longer part of clang anymore, its a
separate recipe.

(From OE-Core rev: deda1e227dbdcb04c7bfb0ad0afef6ff05674c4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
82e0770588 clang: remove bootstrap logic
We don't bootstrap clang, so remove the logic to do so as it just
complicates the recipe.

(From OE-Core rev: 8fc6dd715debb242cf22e60078039c81d4da7c13)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
329d1b4dbe clang: remove ninja-native DEPENDS
The cmake class depends on ninja-native already.

(From OE-Core rev: 8ed6ce66de1b54b8129a9895d8cfaf2bb3c3bbb2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
455e89f658 clang: remove redundant python3native inherits
None of these recipes need a native build of Python as they don't depend
on native Python modules, nor build Python modules against the target.

(From OE-Core rev: e0da53fca5ec30d883216bfb0be7d96ad597aa69)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
361b6482c0 clang: no need to depend on python3native/python3targetconfig
Now that lldb has been split out of the clang recipe, there's no need
for the clang recipe to have Python integration beyond the current
Python major version for installing the libclang bindings, which can be
done by simply inheriting python3-dir.

The installation of six.py was done by lldb, and was removed in LLVM 16.

(From OE-Core rev: 5cbe58c604233a0d367e1bb1e3fce0492ae0e836)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
dc1dd78b70 clang: don't install c-index-test
Specifically, c-index-test is a 35MB binary which isn't needed if we're
not running the tests.

(From OE-Core rev: a61c3ab08039d382ec2216b8a5deaf256d7bf9c5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:04 +01:00
Ross Burton
24540125e3 clang: remove obsolete OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM
This was added by a certain Mr Burton back in 2016[1] to avoid needing
to depend on perl-native or python3-native, and use the host perl and
python.

However, perl is no longer needed and python3-native is depended on
because the Python bindings are build, so this is now redundant.

[1] meta-clang: 2e003cc ("clang: don't depend on native perl or python")

(From OE-Core rev: 540b02e0fb168fade2afc1d657463c7e0248ae94)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
aa1c6f7519 clang-cross: trim the recipes
As a single clang-native build is a cross-compiler for all targets, this
recipe should simply create target-prefixed symlinks.

As such, it doesn't need to pull in the common clang include files, or
set TOOLCHAIN.

Unsetting PACKAGES isn't needed as cross inherits nopackages.

The sysroot preprocessing is used to stage bindir, but cross recipes
already stage this directory.

There doesn't appear to be a need to copy clang, so these are now linked
too.

SSTATE_SCAN_FILES only works on actual files not symlinks, so setting it
is pointless.

(From OE-Core rev: 5d96ed55acf7b9a908241222097ad809355de7cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
c77b545ae1 classes/toolchain/clang: compiler-rt and libcxx are not target-specific
This file can be used for nativesdk builds, which if they are using the
clang toolchain will also need compiler-rt and libcxx.

(From OE-Core rev: 24c32edb1b29a0746bb4470fea11e87b8027d9f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
1722c4162c ccache: enable ccache for all recipes if it is in HOSTTOOLS
At the moment we don't allow ccache for native recipes to avoid the
dependency loop of native recipes needing ccache-native which then
depends on itself.

One way to avoid this dependency loop is to just provide a host ccache,
so enable ccache globally if ccache is in HOSTTOOLS.  This isn't set
out of the box, but does work.

(From OE-Core rev: cc91a0f6500e88dd96a56307226fcfd16c60c342)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Jason Schonberg
094349b4c4 libsdl2: update SRC_URI to use https
This fixes :
WARNING: libsdl2-native-2.32.8-r0 do_fetch: Failed to fetch URL http://www.libsdl.org/release/SDL2-2.32.8.tar.gz, attempting MIRRORS if available

(From OE-Core rev: 632bcc9acba076a81b7e58918362767bddcd6460)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
d464939140 python3-docutils: upgrade to 0.22
License-Update: the code that was ZPL-licensed has been removed[1].

Explicitly set a non-GPLv3 LICENSE on the output package as we don't
actually ship the GPLv3 file.

This fixes the incorrect hashbangs, so we can remove the manual seds.

(From OE-Core rev: b2a105d753310eda94ccf22ec89c276fd2b30dd9)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] https://sourceforge.net/p/docutils/code/9977/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
c18cd0263f python3-docutils: use correct build backend
This package uses flit, not setuptools.

(From OE-Core rev: 95ab9d4f924bf5cd7ac0e8ac5086dafc90cdd938)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
d3f9ec4092 python3-webcolors: use new python_pdm class
Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

(From OE-Core rev: 8f8e4c3e49254853e90080494f2a77b7bdb14921)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
0473ffa836 python3-pyproject-metadata: use correct build backend
This package uses flit, not setuptools.

(From OE-Core rev: a29434f87aac2e3e5cacffeac62cd130d9e410cc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
827bcd4b08 python3-pdm-build-locked: use new python_pdm class
Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

(From OE-Core rev: bfd94bb972e5a1a4054891694c1b4e674eeb2bb8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
6e1194dbc0 python3-pdm-backend: don't inherit python_setuptools_build_meta
This package uses itself to build as it is the build backend, so just
inherit python_pep517.

(From OE-Core rev: 183f6c87f955c5ec0223231fd4736f551c619f80)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
dcbfa83f5c python3-pdm: use new python_pdm class
Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

(From OE-Core rev: 70510190463df42db0424d44ebf96d42f4ba4add)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
c30b49a0fe python3-editables: use correct build backend
This package uses flit, not setuptools.

(From OE-Core rev: d26a783ca320b99a7aa8278e00cf629897859f7f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
38f1709ac4 python3-cryptography-vectors: use correct build backend
This package uses flit, not setuptools.

Also there's no need for it to depend on python3-cryptography.

(From OE-Core rev: 926935eb872408da733103c1d632a901acfd6e69)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
e765f015d4 python3-cryptography: add missing openssl DEPENDS
This package links to openssl, so add it to the dependencies explicitly.

(From OE-Core rev: 01e48ee4ade862c75cc73202b65842de940348ef)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
b1e50dae49 classes/python_pdm: add PEP517 build class for PDM
PDM[1] is yet another build/package manager for Python that is fairly
common now, so add a class for it.

(From OE-Core rev: 20758865e9e0598966a1c678fd4aebe384a99765)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] https://pdm-project.org/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
da54ae0126 classes/python_maturin: don't pull in setuptools
There's no need to pull in python_setuptools_build_meta as maturin is a
build system of its own.

(From OE-Core rev: ea639b83816ae89c0da0a0695ac80f4d678b33db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Ross Burton
3ca199c5f8 classes/python_pep517: centralise shared inherits
For the build process to actually work some inherits are always needed:

- python3native for the python that is actually running build.
- setuptools3-base (badly named) defines how to build extensions and
  where to put modules.

Instead of inheriting these in every class, inherit them once in the
python_pep517 class.

(From OE-Core rev: 449b226aca6a5db378dc5576dde47499925dfb26)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Khem Raj
7a3cf79a8e binutils: Drop CVE_STATUS for CVE-2025-1153
binutils 2.45 has all the needed fixes for this CVE [1]

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150

(From OE-Core rev: 37215b6be9432da060eb20540c319b9b4967c8ec)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Khem Raj
6f31ea9a5e glibc: Refresh CVE backports after 2.42 release
CVE-2025-4802 is already addressed in 2.39+ [1]
Other two are part of 2.42 release

[1] https://sourceware.org/cgit/glibc/commit/?id=1e18586c5820e329f741d5c710275e165581380e

(From OE-Core rev: 728911c19c7bf6518d437999cb2f39e09bc8f3e4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Khem Raj
754345d606 feature-arm-crypto: Add +nocrypto to -mcpu when crypto not in features
When crypto is not in tune features then add +nocryto to
-mcpu explicitly. This makes the behavior between clang
and gcc match. Currently -mcpu=cortex-a72 has different
behavior in clang and gcc in terms of what features are
considered default. Clang enables different set of common
features than gcc on other hand. For example clang
enables crypto with default set but gcc
does not, gcc recommends to disable unavailable extensions
in -mcpu [1] explicitly. crypto is optional on cortex-a53
and cortex-a72. This is not as common but Broadcom
SOCs in raspberrypi3/4 have dropped crypto for cost
reasons [2]. This results in illegal instruction
traps [3] [4] when building components e.g. chromium,
qtwebengine, weston etc. with clang using -mcpu=cortex-a72
for rpi4 target.

Adding +nocrypto makes clang behave like gcc does today. We
do have separate tune if crypto enabled cortex-a72 cores
are to be targeted (cortexa72-cryto) as DEFAULTTUNE

They are added to default feature file since crypto extension
is available in multiple arm architecture versions e.g. armv8,
armv9. It is optional extension as per spec [5]

Extensions can be enabled and disabled with -mcpu using the same
syntax as with -march, and have same effect thats why it is
intrumented via TUNE_CCARGS_MARCH_OPTS

[1] https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mcpu-2
[2] https://forums.raspberrypi.com/viewtopic.php?f=63&t=207888#p1332960
[3] https://github.com/llvm/llvm-project/issues/85699
[4] https://github.com/llvm/llvm-project/issues/90365
[5] https://developer.arm.com/documentation/109697/2025_06/Feature-descriptions/The-Armv9-0-architecture-extension

(From OE-Core rev: db1b355b2b15ba57bd89c2dfb88c2c667551863e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Quentin Schulz <quentin.schulz@cherry.de>
Acked-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 18:04:03 +01:00
Richard Purdie
9b68f96061 bitbake: cooker: Ignore KeyErrors during shutdown
When parsing failures occur, trap KeyError to avoid these kinds
of tracebacks (from a parsing error in meta-ti).

bb.parse.ParseError: ParseError at /srv/pokybuild/yocto-worker/check-layer-nightly/build/meta-ti/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb:6: Could not inherit file classes/${KERNEL_BASE_CLASS}.bbclass

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/command.py", line 123, in runAsyncCommand
    self.cooker.updateCache()
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/cooker.py", line 1639, in updateCache
    if not self.parser.parse_next():
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/cooker.py", line 2314, in parse_next
    self.shutdown(clean=False, eventmsg=str(exc))
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/cooker.py", line 2209, in shutdown
    read_results()
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/cooker.py", line 2195, in read_results
    self.result_queue.get(timeout=0.25)
  File "/usr/lib/python3.10/multiprocessing/queues.py", line 122, in get
    return _ForkingPickler.loads(res)
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/cache.py", line 338, in __setstate__
    setattr(self, key, self._restore(state[key], pid))
  File "/srv/pokybuild/yocto-worker/check-layer-nightly/build/lib/bb/cache.py", line 318, in _restore
    ret[dep] = map[mapnum]
KeyError: 156

(Bitbake rev: 750c68ee7ee3f3d4518348e4c948243504880770)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-04 17:04:43 +01:00
Antonin Godard
3dd31d3b29 ref-manual: gather all QA checks in qa-checks.rst
There was duplication between qa-checks.rst and the doc for the insane
class, so move all of the QA checks in this qa-checks.rst. Remove the
documentation for these checks from classes.rst and link to the
qa-checks.rst document from there.

For QA checks that were only documented only in classes.rst, add them to
qa-checks.rst.

Also sort qa-checks by their names in qa-checks.rst.

(From yocto-docs rev: dc984e5f54c38748603243053fde8b4d078ba586)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Antonin Godard
9e6ab8e80f ref-manual/classes.rst: drop obsolete QA errors
Drop after commit 068d38214307 ("insane: remove obsolete QA errors")
from OE-Core.

(From yocto-docs rev: e5667ae2da1805327ecfff68300c0c460da49b91)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Antonin Godard
318738db38 ref-manual/classes.rst: insane: drop cve_status_not_in_db
This was dropped by commit 452e605b55ad ("cve-check: annotate CVEs
during analysis").

(From yocto-docs rev: 55aedec94dce3e3c0541ffaea666cff02d63a708)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Antonin Godard
649c93080f ref-manual: document new toolchain classes and variables
Document the new classes under classes/toolchain as well as
PREFERRED_TOOLCHAIN* and TOOLCHAIN variables, which allow selecting the
toolchain. For now there's "gcc" and "clang" as available toolchain.

(From yocto-docs rev: 69a9568f8bd7ed57efddab507a4294ad3408f4dd)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Robert P. J. Day
e9a49660a5 variables.rst: remove references to obsolete tar packaging
The tar packaging format was removed some time ago. Also, add some
minor grammatical tweaking.

(From yocto-docs rev: 8e9fd1ca232f3c1e8be51cb881a68b4745ee548a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Lee Chee Yang
47ded82a50 migration-guides: add release notes for 5.0.11
(From yocto-docs rev: a17f47f21805cf636a0568b46bd5a6ed5cfd7306)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Lee Chee Yang
29e5c6eba5 migration-guides: add release notes for 5.2.2
(From yocto-docs rev: a9da828a7a10a5a2c2dbed6c4bba8aac0517cd51)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Marco Cavallini
a1ed615a2d dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart
After compact vsdisk you have to detach it before exiting
  otherwise the vdisk remains attached.

  DISKPART> select vdisk file="<path_to_VHDX_file>"
  DISKPART> attach vdisk readonly
  DISKPART> compact vdisk
  DISKPART> detach     <------------ new missing command
  DISKPART> exit

(From yocto-docs rev: 1cc65ddf1a074f61fe5a63d222f3079b7fcb4c1e)

Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Antonin Godard
6e5d021cd6 dev-manual/start.rst: remove basic setup for hash equivalence
Quoting Alexander Kanavin [1]:

> 1. BB_HASHSERVE and BB_SIGNATURE_HANDLER do not set up or start a
> server, they set up the hash equivalence client built into bitbake.
>
> 2. The above client configuration (used by poky) also starts a private
> server that is specific to a particular build directory. So hash equiv
> information would not be shared between multiple build directories,
> and this will cause sstate mismatches (as reported in the bug), if
> sstate is shared.

This setup does not shed light on the potential of the hash equivalence
feature. So for now, remove this basic setup, and later rework the
concepts (or create a new) document that explains how to set up a hash
equivalence server shared between builds.

[1]: https://lore.kernel.org/r/CANNYZj_kvLsZG3sgH+nPu9B=pqWBU785w0SGHGdQqB4UW-DtmA@mail.gmail.com

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 231fc9e710ab34db60263f8ae01d4f5970579203)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-01 11:59:18 +01:00
Ross Burton
237c6b629a bash: update source checksum
The bash-5.3 tarball was regenerated, so update the checksum.

(From OE-Core rev: 9aad14106dce998aeccfbd0567256cabbe71ed72)

Signed-off-by: Ross Burton <ross.burton@arm.com>

[1] https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00156.html

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 22:14:49 +01:00
Khem Raj
d1afce3aa0 binutils: Upgrade to 2.45 release
Added support for SFrame stack tracing with ELF binaries on x86 and AArch64 architectures.
Support for various new RISC-V extensions
Support for most Armv9.6 extensions.

Detailed release notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2025-07/msg00009.html

(From OE-Core rev: a03cc7e39ea182d4818bc6a2b0fe7d355e5c44b3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:36 +01:00
Liu Yiding
1c37110a9d oeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version
ipc has been moved into syscalls
upstream commit: 80fd2d673b

(From OE-Core rev: 9abe5ae443b9f3855475572a3e11c191d15039e4)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:36 +01:00
Liu Yiding
e877ddb215 ltp: upgrade 20250130 -> 20250530
Changelog: https://github.com/linux-test-project/ltp/releases/tag/20250530

(From OE-Core rev: 6ad236f2fb724798ed62f6ad5f78b51d57496caa)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
3e62ff66bc libclc: Point to native prepare_builtins binary for target and nativesdk
This is not needed for native version

This will be in utils/ directory starting with clang-22

(From OE-Core rev: c1880494a984ed582e873bbf24fc5f1c000d0bc9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Hongxu Jia
55359a65a1 bash: upgrade 5.2.37 -> 5.3
Refresh patch to 5.3
- mkbuiltins_have_stringize.patch

Drop backport patch
- 0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch
- fix-filesubst-errexit.patch

(From OE-Core rev: 208e98f471b2329d07c216d135d238a1f74f0a2e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
94ec6a38c9 libcxx,compiler-rt: Remove use of non-existing runtime-llvm override
Provide libunwind based on TC_CXX_RUNTIME
When TC_CXX_RUNTIME is set to be 'llvm' distro wants
to use llvm provided runtime elements therefore provide
libunwind when TC_CXX_RUNTIME = "llvm"

(From OE-Core rev: 61cf402d5bf95094a02d4ea3b1a60cecc04aa0f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
e418232bf4 mesa: Fix a build issue with clang-21
This is a backport, helps compiling with upcoming clang-21

(From OE-Core rev: 5b25a4fa6ab3a149e1dcf18826b78617f8c1acf7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
4c42f1ee74 compiler-rt: Add missing VER_SUFFIX to installation directory name
This helps building, pre-release snapshots e.g. -rc1 etc.

(From OE-Core rev: 98990b73849e5dc8a8af53f21ef6b922ef74b0d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
f7735d5ee0 clang: Drop dependency on spirv-tools-native
spirv is now a separate recipe.

(From OE-Core rev: 3d0609be2240d728de27c27cbc2f17cfc264cca0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Hongxu Jia
a1a63267f0 util-linux: correct test case kill/decode for bash 5.3
After upgrading bash to 5.3 to contain commit [1], if SIGINT was trapped in
asynchronous subshell, bash called set_signal_async_ignored to make sure
processes that are created by this asynchronous subshell to ignore SIGINT.

And it caused test case `kill/decode' failed, the signal INT was existed in
both of Blocked and Ignored

root@qemux86-64:~# cd /usr/lib/util-linux/ptest/
root@qemux86-64:/usr/lib/util-linux/ptest# ./run-ptest
...
diff-{{{
|--- /usr/lib/util-linux/ptest/tests/expected/kill/decode        2011-04-05 23:00:00.000000000 +0000
|+++ /usr/lib/util-linux/ptest/tests/output/kill/decode  2025-07-28 12:09:46.279000000 +0000
@@ -16,5 +16,5 @@
 Pending (thread): INT ILL
 Pending (process): USR1
 Blocked: INT ILL ABRT FPE USR1 SEGV TERM
-Ignored: HUP QUIT TRAP PIPE ALRM
+Ignored: HUP INT QUIT TRAP PIPE ALRM
 Caught: ILL USR1
}}}-diff
...

Explicitly reset SIGINT to default action after trapping, then the
test case `kill/decode' works on both of old (<5.3) and new (>=5.3) bash

[1] https://cgit.git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=a5d2617c7a7e602ace1f4149987cdfd075c4e762

(From OE-Core rev: 175f5a5bba6204cbcfbdeabb6c6b98f0f7453558)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
ad488915b0 python_setuptools_build_meta: clean the build directory in configure
It's not currently possible to set the build tree to be somewhere we
control, but we know it will always be in the build directory alongside
the pyproject.toml so we can [cleandirs] that.

(From OE-Core rev: 383862cfe4c5acf04124080827c8bc6d00b2e86d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
6c0b36feb9 setuptools3: clean the build directory in configure
It's not currently possible to set the build tree to be somewhere we
control, but we know it will always be in the build directory alongside
the setup.py so we can [cleandirs] that.

(From OE-Core rev: f3854f4f60801e3b6788bee3a0a1850fc498d536)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
409d49c670 setuptools3: pass -j to build step
Explicitly call the build command, as by doing this we get to pass -j.

In packages without any C extensions this is mostly a no-op as
bdist_wheel will call it anyway. However, this does make a big
difference to build time for packages with non-trivial C extensions:

  python3-cython:do_compile     204.8s -> 70.9s
  python3-lxml:do_compile       157.5s -> 92.4s

(From OE-Core rev: 96d13feaa881ae4d275d16f7efca92dbd075241b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
20c2eb15db setuptools3: tidy up do_compile
This function was untidy and has pointless logging, rewrite.

(From OE-Core rev: d508ee5c7bb03da5ae37bd098fa4ef8a5128e398)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
4c2e3f1a59 setuptools3_legacy: add pyproject.toml check
Copy the pyproject.toml check from setuptools3.bbclass so that the legacy
class will also warn if there's a modern build framework available.

(From OE-Core rev: f524589f3d35475600954f5b27b4b74ea079e13c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
f15ee6b099 setuptools3_legacy: ensure ${B} is clean
We do builds in a separate directory in this class, so add it to cleandirs
to ensure that it is empty.

(From OE-Core rev: 2575adeceedae72f6359c0a35ec5c5325a4ec363)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Ross Burton
dfa34c27bd python_pep517: set CONFIGURE_FILES
Move the CONFIGURE_FILES assignment from python_mesonpy to the common
class, as it isn't specific to mesonpy.

Also extend, so that it doesn't clobber existing settings.

(From OE-Core rev: 049cd6b62853c020b0c85ccee18638ec58887866)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Robert Yang
c31d01e013 bitbake.conf: Add xz to HOSTTOOLS
The uninative tarball requires xz to decompress:
WARNING: Disabling uninative as unable to install uninative tarball:
WARNING: tar (child): xz: Cannot exec: No such file or directory

(From OE-Core rev: 9c0bc6edf5e6706597563924f62bbab6fdd38ac2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Robert Yang
0eb0473883 e2fsprogs: Fix native build errors on old kernel such as 5.10
* Fix e2fsprogs-native do_compile error with old kernel such as 5.10
  (Debian 11):
  ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:600:20: error: FS_IOC_READ_VERITY_METADATA undeclared (first use in this function)

* And its version should be 1.47.3, not 1.47.2.

(From OE-Core rev: 52cd80f2c88e298d5538a9e426e681b288f39244)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
fbea5117e2 gcc: Fix libsanitizers build with glibc 2.42
(From OE-Core rev: 8246f879dcfb9ed2d674dfbc3590769ecef31a74)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
9e143f4650 nfs-utils: Fix build with glibc 2.42
(From OE-Core rev: 1f968715a1577939bdf9fd99006ca44aaf9c7a9d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Khem Raj
1d7c3515ca tune-octeonx2: Do not use -mcpu=octeontx2 with clang
-mcpu=octeontx2 is not implemented in clang, therefore
replace it with -march option denoting underlying
armv8 architecture revision.

 Fixes:

    |   error: unsupported argument 'octeontx2+crypto' to option '-mcpu='
    |   error: unknown target CPU 'octeontx2'

(From OE-Core rev: 64df77a396923a119544cc6842eb7b9ba955126c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Fabio Estevam
cfa0c48ca3 maintainers: Use my personal e-mail address
Switch to my personal e-mail address for OE related work.

(From OE-Core rev: f30d945ea0983b71d84bf45c7da8603686088a5e)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Dario Binacchi
f50bbb4b49 mmc-utils: properly set sparse option
Commit [1] fixes the conditional invocation of sparse properly handling
the corresponding 'C' option. Hence, the related change in the
EXTRA_OEMAKE (i.e. C=0).

[1] https://web.git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/commit/?id=a89cba2a0f8c6a19aa6b804877241170f5b6bdd2

(From OE-Core rev: 6fec97d6f0326989d37f9e20cf177d3c260979f7)

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Michael Tretter
ff0bc4bba0 barebox-tools: install rk-usb-loader
The rk-usb-loader is already enabled in the hosttools_defconfig and
targettools_defconfig and compiled by the recipe.

Add it to the BAREBOX_TOOLS list to actually install it.

(From OE-Core rev: f5e182589b46ebd862721d5e24005d56cdddbe07)

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Jayasurya Maganuru
006da82356 rust: Upgrade 1.87.0 -> 1.88.0
Rust stable version updated to 1.88.0.
https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/

* Rebase existing patches with v1.88.0

* Exclude tidy and coverage-dump from OE self-tests due to test failures
  Although the build completes successfully, OE self-tests fail:
  tools/coverage-dump panics during test execution.
  tools/tidy fails due to a mismatched GCC submodule commit.
  These tests are excluded to allow successful OE self-test runs.

* Two tests from the`codegen` modules now fail only on riscv64.
  Enable them on arm32/64 and x86-32/64 targets, while restricting
  them on riscv64 via `only-<target_arch>` tags.

  Bugzilla link - https://bugzilla.yoctoproject.org/show_bug.cgi?id=15944

  Test Results Summary:
  +-----------+--------+---------+
  | Machine   | Passed | Ignored |
  +-----------+--------+---------+
  | arm-32    | 28,664 | 1,451   |
  | arm-64    | 28,748 | 1,396   |
  | x86-32    | 28,657 | 1,432   |
  | x86-64    | 28,904 | 1,213   |
  | riscv-64  | 28,722 | 1,421   |
  +-----------+--------+---------+

(From OE-Core rev: 5afc9bdbabfdbcb784ceb637926111e6c7648f41)

Signed-off-by: Jayasurya Maganuru <Maganuru.Jayasurya@windriver.com>
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Philip Lorenz
03f7151e01 setuptools3: Add missing call to exit_if_errors
`exit_if_errors` must be called explicitly at the end of the task
execution to ensure that QA issues categorized as errors fail the task.

(From OE-Core rev: acc0c57e455670501433ba4514a977e16dc88c34)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Philip Lorenz
c4110987b1 package: Drop var-undefined QA check
The variables checked for are mandatory in all cases so a QA check does
not seem to be the right choice for this. Additionally, the code never
called `exit_if_errors` so the reported QA issue didn't actually fail
the task.

(From OE-Core rev: cb69d7eba80215f9f8b74dafe40ca2289fa294aa)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:48:35 +01:00
Gyorgy Sarvari
5bdce86cde bitbake: fetch2/git: ignore comments in .gitattributes when detecting LFS
Fixes [YOCTO 15917]

When fetching a git repository the .gitattributes file is scanned, checking if LFS
support is required for the repository. This scan checks if the word "lfs" is present
in the file, however the used regex doesn't account for comments, which makes some
repositories[1] be to misidentified as requiring LFS support (which fails fetching, in case
lfs support isn't installed on the build host).

To avoid it, change the used regex to ignore lines starting with "#".

[1]: e.g. https://github.com/MicrochipTech/cryptoauthlib

(Bitbake rev: 7917a758fc328747116c7899e689171bd0efc883)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:07:21 +01:00
Antonin Godard
731b1f50c8 bitbake: doc/bitbake-user-manual-ref-variables: document BB_DEFER_BBCLASSES
Document the BB_DEFER_BBCLASSES variable added in 8e741b2e885a
("ast/BBHandler: Add support for BB_DEFER_BBCLASSES").

(Bitbake rev: 3f9eba26b29db526fed263a7e70b824988e17656)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:07:21 +01:00
Robert P. J. Day
5db9e93fa7 bitbake: doc/bitbake-user-manual-intro: Mention existence of three supported "classes" directories
Early in Section 1, mention that BitBake supports three related
classes directories.

(Bitbake rev: 0d5201e904b0e6f4dd9f7bb116dda508ec09b78a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:07:21 +01:00
Robert P. J. Day
716aa85284 bitbake: doc/bitbake-user-manual-intro: Add examples to show general wildcarding
Add a couple more examples to the wildcarding section to make sure
readers understand it's not just a single character wildcard.

(Bitbake rev: 572062ba1f0a2953a62ef1974e35134fcb462f5e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:07:21 +01:00
Antonin Godard
16dcfbca42 bitbake: doc/bitbake-user-manual-ref-variables: fixups
Fix typos reported by Quentin here:
https://lore.kernel.org/r/cee995db-4c3d-4bf0-813d-ce3f5f8f92e3@cherry.de
https://lore.kernel.org/r/73497b5e-721e-4e5f-beb4-c56ab9178c9f@cherry.de

Cc: Quentin Schulz <quentin.schulz@cherry.de>
(Bitbake rev: add8a7ac093d60e731a638c25ec15efcc3988781)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-31 10:07:21 +01:00
Khem Raj
3475f39be4 qemu: Remove deprecated asyncio calls in qmp python module
Fixes deprecation warning seen with python 3.13

DEBUG: QMP Initializing to /mnt/b/yoe/master/build/tmp/.sv4_k_q4

recipe-sysroot-native/usr/lib/qemu-python/qmp/legacy.py:89: DeprecationWarning: There is no current event loop
  self._aloop = asyncio.get_event_loop()

(From OE-Core rev: 249e42a02c412454cfed9d58e27a054dfa5d2b06)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Robert P. J. Day
13d6d57e43 documentation.conf: drop reference to tar IMAGE_PKGTYPE
tar packaging was removed some time ago.

(From OE-Core rev: 137f75d7289169f835a9f522530d8abf050e060a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Peter Marko
5feae49392 ncurses: patch CVE-2025-6141
Pick relevant part of snapshot commit 20250329, see [1].

That has:
add a buffer-limit check in postprocess_termcap (report/testcase by
Yifan Zhang).

[1] https://invisible-island.net/ncurses/NEWS.html#index-t20250329

(From OE-Core rev: fdd7b720b996d7df771fe04ff94ceb62498ac6a9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Aleksandar Nikolic
4070d8ec2a scripts/install-buildtools: Update to 5.2.2
Update to the 5.2.2 release of the 5.2 series for buildtools

(From OE-Core rev: 9a79f2b1b81a27e740d7e5e59d07a38da12faf7d)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Ross Burton
5212115f5b spirv-llvm-translator: depend on llvm, not clang
At the moment the clang recipe provides llvm, but they could be split
in the future and this makes it clear that the translator just needs
libllvm and not the clang tools.

(From OE-Core rev: bf186c6b99fa6c986abe0bf00dce22dd8a68fad6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Ross Burton
0747e2d25f clang: move get_clang_arch() functions to the common inc file
These functions are useful outside of just the clang recipe, so move
them to a common .inc file so they can be used by other clang-related
recipes.

Also make the function fail if it doesn't recognise the architecture,
instead of returning the empty string and causing mysterious fails later.

(From OE-Core rev: 1d5298533e97dab7636f885ddd740352782395b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Ross Burton
831a22fa5a ccache: drop CCACHE_COMPILERCHECK
This variable controls how ccache determines if the cache is valid or not
for a given compiler.

By default, ccache looks at the mtime of the compiler binary. This should
be sufficient for our purposes as the mtime is preserved from sstate
and will only be changed on rebuilds if the binary is actually different.

(From OE-Core rev: 27aec0bab6fcb19c5d5be30763f4038a46922e8f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Ross Burton
ddb29ce831 ccache: move environment variables to the configuration file
Move some environment variables to the configuration file, so there's
less happening in the class.

Max_size was removed so that the per-recipe caches don't grown without
limit. The default cache is 5GB.

(From OE-Core rev: 8c1c38a6b3073d2dd34514f5a90805c12c0f42dd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Khem Raj
1f9f818787 bluez: Fix invalid-pp-token warning found with clang
We add FIRMWARE_DIR via CFLAGS using escapes for string and clang
option parser flags it

<command line>:4:23: warning: missing terminating '"' character [-Winvalid-pp-token]
    4 | #define FIRMWARE_DIR \"/usr/lib/firmware\"
      |                       ^

emitting this warning during configure means some tests fail wrongly. e.g.
test for enable -fPIC -DPIC, which results in textrels in libbbluetooth.so

Pass the string definition using single quotes to avoid the shell
"eating" the quotes and other characters

This works well across gcc and clang

(From OE-Core rev: 23a87f27b1837bd35bea356f0a10816fb35826f2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Khem Raj
7e36ded417 busybox: Skip a non-posix awk ptest on musl systems
The test depends on BSD extension REG_STARTEND which
is not in POSIX, glibc does implement this extention so it
works on glibc systems but musl does not and it needs to
be skipped and LIBC environment variable is used in this
test as well to run it conditionally.

(From OE-Core rev: a74eaca8e1830d09c5ff678c7d361cedbfc6f68a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Robert Yang
3d691e6740 e2fsprogs: 1.47.1 -> 1.47.3
* Remove backported patch 0001-libext2fs-fix-std-c23-build-failure.patch
* Fixed QA Issue:
  ERROR: e2fsprogs-1.47.2-r0 do_package_qa: QA Issue: File /usr/lib/e2fsprogs/ptest/test/test_one in package e2fsprogs-ptest contains reference to TMPDIR [buildpaths]

(From OE-Core rev: 27b191cd6f53a444efbf82f58d86bf0dc5c1a048)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 17:37:02 +01:00
Fabio Estevam
2f75d95487 u-boot: upgrade 2025.04 -> 2025.07
Upgrade to U-Boot 2025.07.

Add patches for build race conditions.
Remove the QEMU KVM USB workaround since the issue is fixed upstream.

(From OE-Core rev: bb287fade558d0138f7254876c9029da63e3087f)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:51 +01:00
Liu Yiding
7b64858631 xwayland: upgrade 24.1.6 -> 24.1.8
- 24.1.8
  * CVE-2025-49176
  Changelog: https://lists.x.org/archives/xorg-announce/2025-June/003613.html

- 24.1.7
  * CVE-2025-49175
  * CVE-2025-49176
  * CVE-2025-49177
  * CVE-2025-49178
  * CVE-2025-49179
  * CVE-2025-49180
  Changelog: https://lists.x.org/archives/xorg-announce/2025-June/003610.html

(From OE-Core rev: a76d00eeab2ff7e7e3ffaa0a00f6824b87517b93)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:51 +01:00
Liu Yiding
63bcb92113 wireless-regdb: upgrade 2025.02.20 -> 2025.07.10
(From OE-Core rev: 5e06f2cf6911ca91595dc2605af9a1f4c2def4c8)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:51 +01:00
Liu Yiding
5579f90f5f python3-typing-extensions: upgrade 4.14.0 -> 4.14.1
Changelog:
==========
- Fix usage of typing_extensions.TypedDict nested inside other types
(e.g., typing.Type[typing_extensions.TypedDict]). This is not allowed by the
type system but worked on older versions, so we maintain support.

(From OE-Core rev: a92c8559ea91dc5b4a37e104715d32135341c7cb)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:51 +01:00
Liu Yiding
8207c0107c python3-rpds-py: upgrade 0.25.1 -> 0.26.0
ptest ok:
============================================================================
 Testsuite summary
 # TOTAL: 116
 # PASS: 116
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0
 # ERROR: 0
 DURATION: 14
 END: /usr/lib/python3-rpds-py/ptest
 2025-07-22T09:57
 STOP: ptest-runner
 TOTAL: 1 FAIL: 0

Changelog:
===========
- Build CPython 3.14 wheels
- Require maturin>=1.9.0 to ensure support for PEP 639

(From OE-Core rev: bccaf039ce6b736ddb2bf5c3b20026f39a27f00f)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:51 +01:00
Liu Yiding
e9a05a99de python3-maturin: upgrade 1.9.0 -> 1.9.1
Changelog:
==========
- Fix absolute license file path from Cargo.toml

(From OE-Core rev: 4f817e8eb8ae5ddbc182e13a6fea7bb9437ed144)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Liu Yiding
8e52670f0f erofs-utils: upgrade 1.8.5 -> 1.8.10
Changelog:
==========
- Fix extent-based deduplication which can cause data corruption if target images are larger than 4GiB
- Switch to on-heap temporary buffers for libzstd and libdeflate to replace on-stack VLAs
- Fix large compressed fragment handling, which could be generated by the `-Eall-fragments` option (though rare) and was rejected by mistake
- Fix corrupted small fragments introduced in erofs-utils 1.8.8
- Fix AUFS whiteout handling
- Properly handle negative GNU mtime
- Fix superblock checksum for small fs block size filesystems
- Fix temporary memory leak from small fragments
- Handle crafted Z_EROFS_COMPRESSION_INTERLACED extents
- Speed up multi-threaded `-Efragments` even further
- Fix DEFLATE due to incorrect maximum Huffman length
- Support `--fsalignblks` to align filesystem sizes
- Support `--vmdk-desc` to generate VMDK for flattened block devices
- Fix image reproducibility of `-E(all-)fragments`
- Support per-segment reaper for multi-threaded compression
- Support multi-threaded fragments
- Support extent-based deduplication for `-Efragments`
- Optimize space allocation performance

(From OE-Core rev: a29c24e540ce6cd70ae7889f69ebe14e024d5507)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Liu Yiding
eeaae826c0 epiphany: upgrade 48.3 -> 48.5
Changelog:
==========
- appstream: Fix app id
- window: rearrange disconnect_active_embed
- window: disconnect correct callback in unregister embed function
- window: also disconnect sync_tab_bookmarked_status
- Simplify decision to remember passwords
- web-view: don't use saved HTTP auth credentials in private modes
- web-view: relocate authenticate_succeeded_cb
- web-view: fix HTTP auth on authenticationtest.com
- web-extension-manager: fix web process extension init regression
- Show created instead of modified time in webapp overview
- Don't consider og:image for web app icon
- window-commands: unref window in case of error
- Update Chinese (Taiwan) translation
- Update Slovak translation
- Fix logic error breaking the password manager
- Update Japanese translation
- shell: Fix startup crash on Pantheon
- action-bar-end: Fix startup crash on Pantheon
- ephy-password-import: improve robustness
- ci: generate new image for style checker
- Fix PKCS #11 login for invalid cert/priv pairs
- Update Romanian translation
- Attempt to fix release CI

(From OE-Core rev: 45b56dd036d6c0b6d843d241065b47f86c07b82f)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Liu Yiding
665eadec0c at-spi2-core: upgrade 2.56.2 -> 2.56.3
Changelog:
==========
- DeviceEventController: update mouse coordinates before sending button events
- Return localized role name for ATSPI_ROLE_EDITBAR
- Revert "Return localized role name for ATSPI_ROLE_EDITBAR"
- Return localized role name for ATSPI_ROLE_EDITBAR
- atspi-device-legacy: Don't crash when XkbGetMap fails

(From OE-Core rev: 9db21ce6bf37541b089751311a4b8781adb0263c)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Liu Yiding
a73b972921 less: upgrade 678 -> 679
Changelog:
==========
- Fix bad parsing of lesskey file an env var is a prefix of another env var
- Fix unexpected exit using -K if a key press is received while reading the input file

(From OE-Core rev: 25f101eecdb9921bf42c99b63dd6f036ceff00b5)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Liu Yiding
9be12479df ell: upgrade 0.76 -> 0.78
Changelog:
==========
- ecc: Check return value of l_getrandom()
- unit: test-ecdh: Add bytes to l_getrandom wrapper
- unit: Convert UUID test cases to use precheck feature
- unit: Convert PBKDF2 test cases to use precheck feature
- unit: Convert check for random support to use test precheck feature
- unit: Make the failed precheck test case a success
- test: Add flag for indication of inverted precheck results
- unit: Use the precheck handler for testing available key support
- unit: Use the precheck handler for testing available getrandom support
- unit: Use the precheck handler for testing available checksum support
- unit: Use the precheck handler for testing available cipher support
- test: Provide test data also to the precheck function
- unit: Add test cases for precheck of unit tests
- test: Add support for precheck handler for unsupported kernel features
- Add License variable to pkg-config file

(From OE-Core rev: 07b4a4dd2c9e109939cff5a8c58fdf1d01c4d24a)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Liu Yiding
39297bbd08 barebox-tools: upgrade 2025.06.0 -> 2025.07.0
Changelog:  https://lore.barebox.org/barebox/aGUtKn1BbPXi4Y9m@pengutronix.de/T/#u
Migration Guide: https://barebox.org/doc/latest/migration-guides/migration-2025.07.0.html

(From OE-Core rev: 3f809d8b0f1f8c65adf0dcdd296cec93978f3b0b)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Gyorgy Sarvari
68f4beb353 libmicrohttpd: upgrade 1.0.1 -> 1.0.2
Changelog: It primarily fixes a double-close() bug on bind() errors.

(From OE-Core rev: 14f061b792318349bbd4153f1c6ad5b43af65a41)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Leon Anavi
654579dd5f mesa: Upgrade 25.1.5 -> 25.1.6
- v3dv: regression in vkAllocateMemory importing gbm bo
- Vulkan WSI (and zink) use threads on X11 even when the X
  connection isn't thread-safe
- sddm-greeter-qt segfault when using nvk+zink
- [regression][bisected] [FirePro W4100]: crashing/rebooting
- Descriptor set layout with binding flags fails due to indices
  not matching bindings
- piglit bindless texture tests crash
- [radeonsi] Artifacts in Team Fortress 2 (bisected)
- eglgears_wayland segfault on zink+nvk with PRIME
- vn_renderer_virtgpu.c:13:10: fatal error: 'xf86drm.h' file not
  found
- brw: mad instruction printing broken on Gfx11
- radv: RGB9E5 rendering does not ignore alpha write mask

(From OE-Core rev: 0f43573fce7074dfe462e8f6df50404e7dc391c8)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Deepesh Varatharajan
7623ca1cbd glibc: stable 2.41 branch updates
$ git log --oneline 0c76c951620f9e12df2a89b2c684878b55bb6795..6e489c17f827317bcf8544efefa65f13b5a079dc
6e489c17f8 Fix error reporting (false negatives) in SGID tests
11e634ccf3 support: Pick group in support_capture_subprogram_self_sgid if UID == 0
61e461ed0c sparc: Fix sparc32 Fix argument passing to __libc_start_main (BZ 32981)

Testing Results:
           Before     After   Diff
PASS         5801      5809     +8
XPASS        4         4         0
FAIL         266       261      -5
XFAIL        16        16        0
UNSUPPORTED  164       161      -3

6e489c17f8 Fix error reporting (false negatives) in SGID tests
Improved SGID test handling by unifying error reporting and using secure temporary directories.
Replaced non-standard exit codes and fixed premature exits to avoid masking failures.
These changes reduced false negatives, increasing overall test pass rates.

UNSUPPORTED tests changes
-UNSUPPORTED: stdlib/tst-secure-getenv
-UNSUPPORTED: elf/tst-env-setuid-static
-UNSUPPORTED: elf/tst-env-setuid-tunables

FAILed tests changes
-FAIL: stdio-common/bug22
-FAIL: stdio-common/tst-printf-format-f-char
-FAIL: stdio-common/tst-printf-format-v-uchar
-FAIL: stdio-common/tst-printf-format-v-ullong
-FAIL: stdio-common/tst-printf-format-vas-double-F

PASSed tests changes
+PASS: stdlib/tst-secure-getenv
+PASS: elf/tst-env-setuid-static
+PASS: elf/tst-env-setuid-tunables
+PASS: stdio-common/bug22
+PASS: stdio-common/tst-printf-format-f-char
+PASS: stdio-common/tst-printf-format-v-uchar
+PASS: stdio-common/tst-printf-format-v-ullong
+PASS: stdio-common/tst-printf-format-vas-double-F

(From OE-Core rev: 33b8431a1eaff6b01f1b2f89c27b5cff93154dae)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Robert Yang
0dbbf3252f gnu-config: Update to 20250709
The version 20250709 is the author date.

* The changes are:
a2287c3 Adjust 'time-stamp' variables to modern Emacs
973e3e6 config.sub: Add Tock OS support
3a71dc1 config.sub: recognize banan_os
f91a544 config.sub: fix a duplicated case pattern
484648c config.sub: Include support for arm64_32 and iOS/tvOS/watchOS simulators
84cc2cc Update copyright years
7f41495 config.sub: add intelgt as a basic machine
9f6e0fe ironclad: change ironclad to ironclad-mlibc

(From OE-Core rev: 28372102300a1c670a6a4fcea3f2f527c73aee56)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Khem Raj
b9a5653912 pbzip2: Do not depend on char_trait template from stdlib
This implementation is not part of standard and some implementations
e.g. libc++ have removed it starting with 19.x release

(From OE-Core rev: 66faa33a0a6d046f01c4bff26012cb3b1e11dba6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Gyorgy Sarvari
1c80c3cb74 virglrenderer: upgrade 1.1.0 -> 1.1.1
Dropped 0001-vrend-Fix-int-conversion-fatal-build-error-with-GCC-.patch
because it is indluded in this release.

Added python3-pyyaml as a build dependency - dependency was introduced in
194c75946a

Changelog: https://gitlab.freedesktop.org/virgl/virglrenderer/-/releases/1.1.1

(From OE-Core rev: 37ecce70b675733997c9c9e883a9c8a6176f7931)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Jiaying Song
a3e207f00d ltp: Skip semctl08 when __USE_TIME64_REDIRECTS is defined
When __USE_TIME64_REDIRECTS is defined, glibc redirects struct semid_ds
to a 64-bit time-safe version that omits the sem_otime_high and
sem_ctime_high fields. As a result, the case becomes invalid, leading to
incorrect behavior.

This patch adds a check to skip the test when __USE_TIME64_REDIRECTS is
defined, ensuring the test only runs when the semid_ds structurally
matches semid64_ds and the *_high fields are accessible.

(From OE-Core rev: 07410b54660f75465df8d428844893cbd0c295ea)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Ross Burton
9eb9f13198 pybootchartgui: account for network stats when calculating extents
We could take into account the network device statistics when calculating
the size of the image, otherwise charts will be truncated.

(From OE-Core rev: 52806c2555d02d4a12e7419520a2aba05f7aaa06)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Ross Burton
ac05e72f87 pybootchartgui: mark a regex as a raw string
Otherwise Python tries to unescape the \s and warns that it can't.

(From OE-Core rev: 45435a18f6ce665eba5b2e708a72a4f596deb017)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Hongxu Jia
efbd99e462 libxml2: upgrade 2.14.3 -> 2.14.5
Release notes:

    https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.5

(From OE-Core rev: b82cb6d55033ffff79b5a767bd50b06989c0acfc)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Chen Qi
8808d15b02 kernel-devsrc: copy arch/powerpc/tools contents
For now, using qemuppc64 as MACHINE and building things inside SDK,
we'll get the following error:

  ERROR: modpost: "_mcount" undefined

This is because after [1], MPROFILE_KERNEL is using arch/powerpc/tools/
contents to do the check. This in turn affects HAVE_OBJTOOL.
"""
arch/powerpc/Kconfig:   select HAVE_OBJTOOL                     if ARCH_USING_PATCHABLE_FUNCTION_ENTRY || MPROFILE_KERNEL || PPC32
"""

The current MPROFILE_KERNEL for powerpc:
"""
config MPROFILE_KERNEL
            depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
            def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endian) if CPU_LITTLE_ENDIAN
            def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) if CPU_BIG_ENDIAN
"""

If MPROFILE_KERNEL is disabled, thus HAVE_OBJTOOL being disabled, then
FTRACE_MCOUNT_USE_RECORDMCOUNT will be enabled, causing this error.

The scripts are listed and copied one by one. Their names and the reasons why
they are copied are as below:
  gcc-check-mprofile-kernel.sh: needed by MPROFILE_KERNEL
  gcc-check-fpatchable-function-entry.sh: needed by ARCH_USING_PATCHABLE_FUNCTION_ENTRY
  head_check.sh/relocs_check.sh/unrel_branch_check.sh: needed by Makefile.postlink

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=abba759796f9b73eb24df9b734dd063839fc62e0

(From OE-Core rev: df1c7c276422eeaf0eac178aec377a315a249c52)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Khem Raj
c148c8fc79 gcc: Fix fma steering segfault due to on aarch64
Seen with opengl-es-cts compilation for qemuarm64

(From OE-Core rev: 79fb0c1a73e659f32bd5d86d84c583233d09e473)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Khem Raj
615eb70d5a cargo-c: Upgrade to 0.10.14+cargo-0.89.0
Fix build on riscv32 while here.

(From OE-Core rev: 34b07ad6330173fc8319b8db69410cf72af48395)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Khem Raj
dd39bbd9c2 rust: Update riscv32 patch with the backport
This is the patch that got merged into libc finally

(From OE-Core rev: eb79f29c5c2bf8fce13c02c7d7ca362c61e2b0ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Khem Raj
804afb81fa toolchain/clang: Add clang specific sysroot dependencies
Add clang-cross to sysroot via POPULATESYSROOTDEPS to get llvm tools
e.g. llvm-strip, llvm-nm etc when they are used at default STRIP/NM etc.

(From OE-Core rev: 0d239586ec2f258a42d60f9fb6a058344516218a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
hongxu
77c0667321 readline: 8.2.13 -> 8.3
Remove obsolete patch:
- 0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch

(From OE-Core rev: 3e76f0f19c763ccf265ba9a5efe16fa9095ec76b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
hongxu
04e9297cc5 gpgme: upgrade 1.24.3 -> 2.0.0
Refresh 0001-pkgconfig.patch

Due to upstream [python: Remove Python bindings][1], remove
following patches
- 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch
- 0003-Correctly-install-python-modules.patch
- 0006-fix-build-path-issue.patch

Due to upstream [cpp,qt: Remove C++ and Qt bindings][2],
remove cpp and qt bindings

License-Update: copyright years updated, remove blank line

[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=932caf37d36eca2caec59bf48bc505364a5765bb
[2] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=763d5f5d6a88ec938b8678ab597e1404af724553

(From OE-Core rev: ce7b5d5544a9acf342ef4a8f90a353399e3c2cb6)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Khem Raj
c0d815823f apt: Fix build with clang and libc++
Backport a fix to address random access iterator's expectation of
being const-qualified inside libc++ std::__insertion_sort_unguarded
implementation

(From OE-Core rev: cfd74da11a5290b2e555e2f9f06779f816324ee1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Weisser, Pascal.ext
78f97b8762 dbus: add traditional-activation PACKAGECONFIG
Add traditional-activation PACKAGECONFIG to DBus recipe in order to allow
users to enable or disable traditional DBus service activation.

DBus service activation refers to automatically starting an application
when a DBus message is sent to a service provided by that application.
Traditionally, this is done by the DBus-daemon, thus, the term traditional
here. On systems using systemd, systemd can do this, instead.

On some systems it might be of interest to disable the traditional service
activation in order to ensure that services are always started via systemd.

Per default, traditional service activation is enabled for DBus. Thus, the
traditional-activation PACKAGECONFIG is added to the default PACKAGECONFIG.
Otherwise, we might introduce a breaking change here.

The binary dbus-daemon-launch-helper isn't created in case DBus is built
with traditional service activation disabled, so we change its attributes
only when traditional service activation is turned on.

(From OE-Core rev: 272aafbf0a2a1a158fdff42b6ce295fe861f1327)

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Robert P. J. Day
6003a9615d bitbake: bitbake: clarify significance of "include_all" directive
Rewrite the include and include_all sections to drive home the fact
that the include_all directive is relevant in only very specific
cases, and not something developers should expect to use in normal
operation.

(Bitbake rev: 4b3bfe70d02cc1c11972357e2dc595acc75056e5)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Philippe-Alexandre Mathieu
18c6ff0ae1 bitbake: fetch2/wget: Keep query parameters in URL during checkstatus
When recreating the uri in wget's checkstatus method, we only use the
scheme, netloc and path. This completely strips the query parameters
from the final URI and potentially breaks the checking functionality
from certain fetchers.

This is the case for the Azure storage fetcher, as it requires a SAS
token that is formatted as a series of query parameters. The error
manifests itself when using a private storage account as a PREMIRROR or
SSTATE_MIRROR (since regular SRC_URI won't run the checkstatus).

This problem is present in scarthgap, but wasn't in kirkstone.

CC: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
(Bitbake rev: 096301250455e2a83bdd818a56317c62436c9981)

Signed-off-by: Philippe-Alexandre Mathieu <pamathieu@poum.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-28 14:51:50 +01:00
Richard Purdie
bd4625cd4d build-appliance-image: Update to master head revision
(From OE-Core rev: fed2692c4e7b87fd2bf08a5abb4391b79bbfc982)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-24 10:47:26 +01:00
Peter Marko
2a832e6af1 orc: set CVE_PRODUCT
There are new CVEs reported for this recipe which are not for this
componene, but for a component with same name from apache.

sqlite> select vendor, product, id, count(*) from products where product like 'orc' group by vendor, product, id;
apache|orc|CVE-2018-8015|1
apache|orc|CVE-2025-47436|4
gstreamer|orc|CVE-2024-40897|1

(From OE-Core rev: 683f19c2e3337784e50134b6a1331b4b9626894d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-24 10:29:53 +01:00
Ross Burton
f3a6413ee4 Revert "systemd: add libblkid and libfdisk PACKAGECONFIG options"
The fdisk option is not enabled by default when it should be as that was
the existing behaviour.

Neither of the RDEPENDS are needed, as systemd doesn't call the tools
directly and the library dependencies will be generated automatically.

This reverts commit 4ec67113e1e7e1ecea9cde33ef4d3962dad5f2ad.

(From OE-Core rev: fac80672339bce66dc551c659932aa728478ffaf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-24 10:29:53 +01:00
Richard Purdie
9afb1bb8a5 build-appliance: Fix url breakage from automated scripts
(From OE-Core rev: bbb19444c0c997529f7a739359766d143fd72c39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-24 10:02:46 +01:00
Richard Purdie
b5ba3223c8 build-appliance-image: Update to master head revision
(From OE-Core rev: 4908c71e25fa480c277350dd46d4199b29675440)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 22:31:54 +01:00
Ross Burton
dd862931b5 lldb: don't build rpaths into binaries
LLDB defaults to adding rpaths into the binaries which are then stripped
by CMake on install.

However, this rpath removal is implemented by editing the binary instead
of relinking at install time, so the final binary will have an entry in
the dynstr section which is all nulls but is as long as the build path.

Obviously this breaks reproducibility, so disable the use of rpaths in
LLDB to remove this problem.

(From OE-Core rev: d96e0458b696a7359d310cbe112c5dc2fc60f97d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 18:00:50 +01:00
Ross Burton
664fa0ede2 lldb: remove incorrect comment about llvm vs clang
LLDB links to clang libraries, so it really does need clang and not just
LLVM.

(From OE-Core rev: 1a37bb2f0bbdbd599e1d5967eae1ecde4eff6a80)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 18:00:50 +01:00
Pedro Ferreira
921c46de4f bitbake: sigen: Avoid bitbake abort with EOFerror from an incomplete hashserv communication
The issue itself is sporadic but aborts the build with an uncaught exception.

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_report_unihash(d)
     0003:
File: '(...)/poky/meta/classes/sstate.bbclass', lineno: 882, function: sstate_report_unihash
     0878:    report_unihash = getattr(bb.parse.siggen, 'report_unihash', None)
     0879:
     0880:    if report_unihash:
     0881:        ss = sstate_state_fromvars(d)
 *** 0882:        report_unihash(os.getcwd(), ss['task'], d)
     0883:}
     0884:
     0885:#
     0886:# Shell function to decompress and prepare a package for installation
File: '(...)/poky/lib/bb/siggen.py', lineno: 651, function: report_unihash
     0647:                method = self.method
     0648:                if tid in self.extramethod:
     0649:                    method = method + self.extramethod[tid]
     0650:
 *** 0651:                data = self.client().report_unihash(taskhash, method, outhash, unihash, extra_data)
     0652:                new_unihash = data['unihash']
     0653:
     0654:                if new_unihash != unihash:
     0655:                    hashequiv_logger.debug('Task %s unihash changed %s -> %s by server %s' % (taskhash, unihash, new_unihash, self.server))
File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 139, function: wrapper
     0135:        pass
     0136:
     0137:    def _get_downcall_wrapper(self, downcall):
     0138:        def wrapper(*args, **kwargs):
 *** 0139:            return self.loop.run_until_complete(downcall(*args, **kwargs))
     0140:
     0141:        return wrapper
     0142:
     0143:    def _add_methods(self, *methods):
File: '/usr/lib/python3.9/asyncio/base_events.py', lineno: 642, function: run_until_complete
     0638:            future.remove_done_callback(_run_until_complete_cb)
     0639:        if not future.done():
     0640:            raise RuntimeError('Event loop stopped before Future completed.')
     0641:
 *** 0642:        return future.result()
     0643:
     0644:    def stop(self):
     0645:        """Stop running the event loop.
     0646:
File: '(...)/poky/lib/hashserv/client.py', lineno: 70, function: report_unihash
     0066:        m["taskhash"] = taskhash
     0067:        m["method"] = method
     0068:        m["outhash"] = outhash
     0069:        m["unihash"] = unihash
 *** 0070:        return await self.invoke({"report": m})
     0071:
     0072:    async def report_unihash_equiv(self, taskhash, method, unihash, extra={}):
     0073:        await self._set_mode(self.MODE_NORMAL)
     0074:        m = extra.copy()
File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 104, function: invoke
     0100:        async def proc():
     0101:            await self.socket.send_message(msg)
     0102:            return await self.socket.recv_message()
     0103:
 *** 0104:        return await self._send_wrapper(proc)
     0105:
     0106:    async def ping(self):
     0107:        return await self.invoke({"ping": {}})
     0108:
File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 82, function: _send_wrapper
     0078:    async def _send_wrapper(self, proc):
     0079:        count = 0
     0080:        while True:
     0081:            try:
 *** 0082:                await self.connect()
     0083:                return await proc()
     0084:            except (
     0085:                OSError,
     0086:                ConnectionError,
File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 70, function: connect
     0066:        await self.socket.send("")
     0067:
     0068:    async def connect(self):
     0069:        if self.socket is None:
 *** 0070:            self.socket = await self._connect_sock()
     0071:            await self.setup_connection()
     0072:
     0073:    async def close(self):
     0074:        if self.socket is not None:
File: '(...)/poky/lib/bb/asyncrpc/client.py', lineno: 55, function: connect_sock
     0051:        import websockets
     0052:
     0053:        async def connect_sock():
     0054:            try:
 *** 0055:                websocket = await websockets.connect(uri, ping_interval=None)
     0056:            except (OSError, asyncio.exceptions.TimeoutError, websockets.InvalidHandshake, websockets.InvalidURI) as exc:
     0057:                raise ConnectionError("Could not connect to websocket: %s" % exc) from exc
     0058:            return WebsocketConnection(websocket, self.timeout)
     0059:
File: '/usr/local/lib/python3.9/dist-packages/websockets/asyncio/client.py', lineno: 444, function: __await_impl__
     0440:            async with asyncio_timeout(self.open_timeout):
     0441:                for _ in range(MAX_REDIRECTS):
     0442:                    self.connection = await self.create_connection()
     0443:                    try:
 *** 0444:                        await self.connection.handshake(*self.handshake_args)
     0445:                    except asyncio.CancelledError:
     0446:                        self.connection.close_transport()
     0447:                        raise
     0448:                    except Exception as exc:
File: '/usr/local/lib/python3.9/dist-packages/websockets/asyncio/client.py', lineno: 104, function: handshake
     0100:        # receiving a response, when the response cannot be parsed, or when the
     0101:        # response fails the handshake.
     0102:
     0103:        if self.protocol.handshake_exc is not None:
 *** 0104:            raise self.protocol.handshake_exc
     0105:
     0106:    def process_event(self, event: Event) -> None:
     0107:        """
     0108:        Process one incoming event.
File: '/usr/local/lib/python3.9/dist-packages/websockets/client.py', lineno: 315, function: parse
     0311:
     0312:    def parse(self) -> Generator[None]:
     0313:        if self.state is CONNECTING:
     0314:            try:
 *** 0315:                response = yield from Response.parse(
     0316:                    self.reader.read_line,
     0317:                    self.reader.read_exact,
     0318:                    self.reader.read_to_eof,
     0319:                )
File: '/usr/local/lib/python3.9/dist-packages/websockets/http11.py', lineno: 238, function: parse
     0234:
     0235:        try:
     0236:            status_line = yield from parse_line(read_line)
     0237:        except EOFError as exc:
 *** 0238:            raise EOFError("connection closed while reading HTTP status line") from exc
     0239:
     0240:        try:
     0241:            protocol, raw_status_code, raw_reason = status_line.split(b" ", 2)
     0242:        except ValueError:  # not enough values to unpack (expected 3, got 1-2)
Exception: EOFError: connection closed while reading HTTP status line

(Bitbake rev: 5ba7c2f0797a72536a81f57276d4e5c75f23011c)

Signed-off-by: Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 11:34:31 +01:00
Joshua Watt
c54fbf6761 bitbake: utils: Remove multiprocessingpool
This API is no longer used and bitbake has moved beyond Python 2.7.3 as
the minimum version, so remove it.

(Bitbake rev: 0eb7b5dd512ed8d8b77b5779858b9fbd99edb4a4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 11:34:31 +01:00
Joshua Watt
d363bc475a bitbake: Use a "fork" multiprocessing context
Python 3.14 changes the default multiprocessing context from "fork" to
"forkserver"; however bitbake heavily relies on "fork" to efficiently
pass data to the child processes. As such, make "fork" context in the bb
namespace and use it in place of the normal multiprocessing module.

Note that multiprocessing contexts were added in Python 3.4, so this
should be safe to use even before Python 3.14

[YOCTO #15858]

(Bitbake rev: 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-23 11:34:31 +01:00
Antonin Godard
92b07bd4ab bitbake: doc/bitbake-user-manual-fetching: update the Git fetcher tag description
After commit d591d7633fe8 ("fetch/git: Rework tag parameter handling"),
update the description of the tag= parameter for the Git fetcher.

(Bitbake rev: 85b31a55d114a1430868233d56573b470fef8908)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-22 14:19:25 +01:00
Richard Purdie
b0f8af26a7 bitbake: test/fetch: Switch u-boot based test to use our own mirror
The upstream servers are having issues so switch to our own shadow copy
of the repo.

(Bitbake rev: e910c7cd24fd366d6756641cd599c4efeb492e2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-22 11:14:21 +01:00
Vijay Anusuri
4b2f908aaa xserver-xorg: upgrade 21.1.6 -> 21.1.18
xorg-server 21.1.17
This release contains the fixes for the issues reported in today's security
advisory: https://lists.x.org/archives/xorg/2025-June/062055.html

   * CVE-2025-49175
   * CVE-2025-49176
   * CVE-2025-49177
   * CVE-2025-49178
   * CVE-2025-49179
   * CVE-2025-49180

Additionally, this release includes a fix for CVE-2022-49737 which was
issued after the fix was merged back in 2022 and several other various fixes.

Ref: https://lists.x.org/archives/xorg-announce/2025-June/003609.html

xorg-server 21.1.18
This release contains an additional fix for CVE-2025-49176 from June 17
security advisory: https://lists.x.org/archives/xorg/2025-June/062055.html

Ref: https://lists.x.org/archives/xorg-announce/2025-June/003612.html

(From OE-Core rev: a59b385184fb3a548dc27310fd04d64351d8dfba)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
c6671e2a78 clang: ensure the native-built tblgen binaries are used
Set LLVM_HEADERS_TBLGEN so that we don't build another copy of tblgen.

Also remove LLVM_OPTIMIZED_TABLEGEN, this is redundant as we're not
building a tablegen binary in this recipe anymore.

(From OE-Core rev: 259a3e9a8281c4e9ab73dee82738f359f029b78d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
e25f19c253 clang: remove PYTHON_EXECUTABLE assignments
The cmake.bbclass already does this.

(From OE-Core rev: 85c1aecdf847b97409930d915a90ab850e92bc38)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
cdc1a949c0 clang: improve LLVM target selection logic
The GPU targets are incredibly slow to build, so if the DISTRO_FEATURES
doesn't include opengl or vulkan assume that the user will not be using
a GPU and disable them.

Alternatively, a distribution could state that they'll only be using
one of the backends, and set LLVM_TARGETS_GPU explicitly.

On my build machine, disabling the GPU targets reduces the build time of
clang-native from 21m to 16m.

(From OE-Core rev: 2273a0685757421f39541a352d77b67e5ba604d3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
56e1ae0ccf libclc: split out of clang
Split the libclc subproject out of the clang recipe and into a dedicated
libclc recipe.

This is useful because libclc is the OpenCL runtime library and as such
isn't target-specific and needs a native clang to build, not a target
libllvm.

Verified that nothing is dropped by adding clang and libclc to an image
and verifying that the file list is the same before and after this
change.

We need to patch the libclc CMakeLists to allow it to use an out-of-tree
prepare_builtins binary, discussion is ongoing with upstream to resolve
this properly.

(From OE-Core rev: 33a8742a1280b4c6779a7aa487c2dd4a713babe6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
208693b05c cmake: remove CMAKE_SYSTEM_* from the native toolchain
If these variables are set explictly then CMake assumes that it is
cross-compiling[1]. We don't need to set them as the default values as
detected by CMake are correct for native.

[1] https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING.html

(From OE-Core rev: 0ea50cba64b5004722051c0ece900443dc4ca929)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Khem Raj
736521296c clang: Add libcxx to default base dependencies
When TC_CXX_RUNTIME is set to be 'llvm' then clang looks for
libcxx to provide C++ runtime and unwinding library

(From OE-Core rev: aba2d949818b032222dbaed98e38cd29e3c992b6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Khem Raj
1a1be57b2e clang: Default to use lld if ld-is-lld is in DISTRO_FEATURES
This ensures that default system linker is used correctly based upon
distro features, current default remain same i.e. uses BFD linker

(From OE-Core rev: 33e7c85e92ddbc35989e7afcaf5fe4c14efdefab)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Khem Raj
b3d2adcb64 cmake: Define CMAKE_CLANG_TIDY with toolchain-clang
clang-tidy is used by many packages these days and probed during
build.

(From OE-Core rev: 71ff6d6d1b152076e6dbf03a146f6a9fd2a9c065)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Khem Raj
f5c0e86cc0 toolchain-scripts: Make -mmusl apply only for gcc toolchains
This option is not respected by clang

(From OE-Core rev: 82484ccb3eb1a7b5562131881b5ed6545144e5eb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Hiago De Franco
831c551d0f systemd: add libblkid and libfdisk PACKAGECONFIG options
Introduce new PACKAGECONFIG options in systemd for both libblkid and
libfdisk [1][2].

Set blkid as enabled by default because the bootctl command depends
on it to be built. For example, images like core-image-sato-sdk rely on
bootctl and have specific tests for it.

Previously this worked implicitly because the upstream Meson option
defaulted to auto, which enabled the dependency if libblkid was present.
Now, without explicitly enabling it via PACKAGECONFIG, the feature would
be disabled, which triggers testimage errors.

[1] https://github.com/systemd/systemd/blob/main/README#L219
[2] https://github.com/systemd/systemd/blob/main/README#L228

(From OE-Core rev: 4ec67113e1e7e1ecea9cde33ef4d3962dad5f2ad)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Gyorgy Sarvari
bb3fedb067 diffoscope: upgrade 298 -> 301
Changelog 301:
- Avoid spurious differences in h5dump output caused by exposure of absolute
  internal extraction paths.
- Use our_check_output in the ODT comparator.
- Memoize a number of calls to --version.

Changelog 300:
- Fix a regression and add a test so that diffoscope picks up differences
  in metadata for identical files again.

Changelog 299:
- Add python3-defusedxml to the Build-Depends in order to include it in the
  Docker image.

(From OE-Core rev: b740601fd6b523e09c2d22e83aed1c0589a8203d)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Deepesh Varatharajan
5004d1075a binutils: Fix CVE-2025-7545
objcopy: Don't extend the output section size
Since the output section contents are copied from the input, don't
extend the output section size beyond the input section size.

Backport a patch from upstream to fix CVE-2025-7545
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=08c3cbe5926e4d355b5cb70bbec2b1eeb40c2944]

(From OE-Core rev: 3af3d09684caddb4c4dfd45a30e3721f8f6140e4)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Gyorgy Sarvari
fe4e74cbe9 tunes: set valid clang tune for big.LITTLE Arm SoCs
clang doesn't have Arm big.LITTLE specific tune options - when such an option is used,
the compilation fails with an error like this:

aarch64-poky-linux-clang: error: unsupported argument 'cortex-a72.cortex-a53+crc+crypto' to option '-mcpu='

To avoid this, in case a big.LITTLE SoC is the target and the toolchain is clang, select
the tune corresponding to the LITTLE core.

(From OE-Core rev: 12c820f624730a04a17ae2cdbecc4e6987c45cf7)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Yash Shinde
e5cc507a3e binutils: Fix CVE-2025-7546
Report corrupted group section instead of trying to recover.

CVE: CVE-2025-7546
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41461010eb7c79fee7a9d5f6209accdaac66cc6b]
PR  33050 [https://sourceware.org/bugzilla/show_bug.cgi?id=33050]

(From OE-Core rev: e65073ff67e715999f6ab3906ead181e26c57360)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Wang Mingyu
dc28d83245 rt-tests: upgrade 2.8 -> 2.9
0001-sched_attr-Do-not-define-for-glibc-2.41.patch
removed since it's included in 2.9

(From OE-Core rev: b02c62abe932322ef99fd03c948c745e4088a645)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Gyorgy Sarvari
aa45e4ed4e libgit2: upgrade 1.9.0 -> 1.9.1
Dropped 0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch
because it's included in this release.

Changelog: see https://github.com/libgit2/libgit2/releases/tag/v1.9.1

(From OE-Core rev: 92bfe7333748bf52a436f03452fecacd95b6b0bf)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Gyorgy Sarvari
486735a5e6 stress-ng: upgrade 0.18.12 -> 0.19.02
Changelog:
https://github.com/ColinIanKing/stress-ng/blob/master/debian/changelog

(From OE-Core rev: 67169214af753c7dac4e9d0aff0a1c684125fc9e)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
f1035d5f50 harfbuzz: build with -Os
Upstream explicitly say in their CONFIG.md file to build with -Os:

  Make sure you build with your compiler's "optimize for size" option.
  On `gcc` this is `-Os` [ ... ] HarfBuzz heavily uses inline functions
  and the optimize-size flag can make the library smaller by 20% or
  more. Moreover, sometimes, based on the target CPU, the optimize-size
  builds perform *faster* as well, thanks to lower code footprint and
  caching effects

Drop the patch to build just hb-subset-plan-layout.cc with -Os (which
was a workaround for a GCC bug), and pass -Os globally.

This manages to reduce the duration to harfbuzz:do_compile on my machine
from 75s to 47s, and has a big impact on the library sizes:

  harfbuzz: PKGSIZE changed from 1769358 to 1237070 (-30%)
  harfbuzz-dbg: PKGSIZE changed from 84920168 to 71203208 (-16%)
  harfbuzz-subset: PKGSIZE changed from 1579247 to 940191 (-40%)

(From OE-Core rev: d795b3e16ed01d7273d4f3779684eb41cc16f809)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Ross Burton
a52e89ba8e harfbuzz: disable building the tests
We don't (yet) install these, so don't build them.

(From OE-Core rev: 5db0a59d09bbab63d48c03d5fa4bfb7c89d6a3b1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Richard Purdie
654f3ed7ec gst-examples: Fix buttons in gtk-play at runtime
The media player buttons weren't working. At runtime there were warnings
like:

(gtk-play:824): Gtk-WARNING **: 12:37:53.946: Could not find signal handler 'next_button_clicked_cb'.  Did you compile with -rdynamic?

Add the missing linker option to make the buttons work.

[YOCTO #15915]

(From OE-Core rev: 5571061e26a98804670b0d39b86f3b3b205061b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Daisuke Yamane
4b83fe5745 icu: Add ptest support
Add following patches.
  - 0001-test-Add-support-ptest.patch
    - Some default paths in test code are invalid at runtime and cause
    - test failures. So add a patch to adjust path to test data for ptest
    - environment.
  - 0001-ICU-23120-Mask-UnicodeStringTest-TestLargeMemory-on-.patch
    - Since ICU-77.1, a test case (TestLargeMemory) that fails to build
    - in a 32-bit environment. So add a patch to skip this test case.
    - This bug has been reported to upstream. See https://unicode-org.atlassian.net/browse/ICU-23120.
Install icu test-suite to run it as a ptest.
Add icu to PTESTS_FAST because it takes 27sec (less than 30sec) to complete on
qemux86-64 with kvm enabled.

root@qemux86-64:~# ptest-runner icu
START: ptest-runner
2025-07-06T00:46
BEGIN: /usr/lib/icu/ptest
___(snip)___
--------------------------------------
Elapsed Time: 00:00:23.070
PASS: ./intltest
DURATION: 27
END: /usr/lib/icu/ptest
2025-07-06T00:47
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 4a729a529067a5ba7036a224cf330e31b8a5f838)

Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
CC: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 23:00:18 +01:00
Richard Purdie
cdb6e3e5c5 bitbake: utils: Split profile reports into separate files
Use a more logical name for the profile reports and put each report
into a separate file since people struggle to discover them currently.

(Bitbake rev: a8145c84e0899285a5e6a809f1515118b002b106)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 17:49:04 +01:00
Richard Purdie
49d0abc5c8 bitbake: utils: Optimise signal/sigmask performance
Running "time bitbake -pP idle" with a valid cache shows around 800,000
calls to enum creation from python's signal.py. We don't care about this
overhead and it adversely affects cache load time quite badly.

Try and use _signal directly, falling back to signal, which avoids
this overhead we don't need and makes cache loading much faster.

(Bitbake rev: ee5fce67ce35b025c68aa61e2e758903269ee346)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-21 17:49:04 +01:00
Antonin Godard
66f04cba71 bitbake: doc/bitbake-user-manual-fetching: remove 'rev' default value
Remove rev's "master" default value. Mention that it must match SRCREV,
if set.

Reported-by: Quentin Schulz <quentin.schulz@cherry.de>
(Bitbake rev: 2519b317e4afb1686f907274715a9e2b9c6457f4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-18 15:56:17 +01:00
Richard Purdie
f209f127e6 bitbake: main: Add an option to specify what to profile
Starting with python 3.12, profiling now stays enabled over threads yet
you can't extract the profile data in the threads themselves, which makes it
difficult to use for our use case.

Our main loop starts the idle loop which starts the parsing threads and this
means we can't profile in the main loop and the parsing threads or the idle
loop at the same time due to this.

Add options to the commandline so you can specify which piece of bitbake
you want to enable profiling for. This allows some profiling with python 3.12
onwards rather than crashing.

(Bitbake rev: 09f29a4968841ee5070f70277ba8c253bb14f017)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:45:57 +01:00
Richard Purdie
b7173ca225 bitbake: event: Fix an event duplication race
It is possible for multple bitbake threads to empty ui_queue in parallel
leading to duplicate console messages and much confusion when debuging.

Use the lock to extract the queue data which means only one thread will
processing, removing the duplicate out of order messages.

(Bitbake rev: 945095602e40d54efb8de494218f4a2b25c9969f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:45:57 +01:00
Richard Purdie
e16dd31445 bitbake: cooker/process/utils: Create profiling common function to remove code duplication
We have code duplication in the way we handle profiling of code sections.
Create a common function in utils which covers this.

The main loop and idle loop profile files were also reversed. Fix this and the naming,
removing a couple of unused variables containing the profile log names in the process too.

(Bitbake rev: b4f6bae97ac9607420fc49fd4c9e957d89c9a5f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:45:57 +01:00
Richard Purdie
6933d4b57e bitbake: asyncrpc: Avoid file not found traceback in logs
If the server is quickly stopped, we see tracebacks in the locks
due to the file not existing. Hide these as they're not errors.

(Bitbake rev: a7e1a07e9ef7e6f6a1bcaf567d7916a8ee1ef087)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:45:57 +01:00
Ross Burton
600aaa78c1 clang: remove obsolete 'terminfo' PACKAGECONFIG
Neither LLVM_ENABLE_TERMINFO or COMPILER_RT_TERMINFO_LIB are used in the
current CMakeLists.

(From OE-Core rev: 134880baa4a971660e0800f70404d15c758fb7db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Ross Burton
88d2cceec0 lldb: fix typo in lzma PACKAGECONFIG
Accidentally duplicated the beginning of the variable name.

(From OE-Core rev: 1484e2cf36428fbe7f5095ec881fdd018eea344b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Khem Raj
ac5f388cc8 clang: Upgrade to 20.1.8 release
Brings following fixes

* 87f0227cb601 [InstCombine] Avoid folding `select(umin(X, Y), X)` with min/max values in false arm (#143020)
* df43f93388b7 [PhaseOrdering] Add test for #139050 (NFC)
* 25bcf1145fd7 [RISCV] Fix assertion failure when using -fstack-clash-protection (#135248)
* 6fb913d3e2ec [RelLookupTableConverter] Drop unnamed_addr for GVs in entries to avoid generating GOTPCREL relocations (#146068)
* 0c9f909b7976 [AArch64][SME] Fix restoring callee-saves from FP with hazard padding (#143371)
* fa792cd4c630 [AsmPrinter] Always emit global equivalents if there is non-global uses (#145648)
* ce455b382c08 [objcopy][MachO] Revert special handling of encryptable binaries (#144058)
* 0de59a293f7a [X86] Ignore NSW when DstSVT is i32 (#131755)
* 9af763f038f7 [gtest] Fix building on OpenBSD/sparc64 (#145225)
* 1daceb20611f [LoongArch] Pass OptLevel to LoongArchDAGToDAGISel correctly
* b21155f97a0a [LoongArch] Precommit test case to show bug in LoongArchISelDagToDag
* da18fb9f04ce [LoongArch] Fix xvshuf instructions lowering (#145868)
* 65ce78f338cf [LoongArch] Pre-commit test for fixing xvshuf instructions. NFC
* 5532d5b745e4 [AArch64] Ensure the LR is preserved if we must call __arm_get_current_vg (#145760)
* 5ac3ce819688 [WebAssembly] Fix inline assembly with vector types (#146574)
* b83658b7e2c8 Bump version to 20.1.8

(From OE-Core rev: 4c6e132d6e5e49426c911d0fa9215957eb43f186)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Khem Raj
271a42d7fd bindgen-cli: Upgrade to 0.72.0
Changes are here [1]

[1] https://github.com/rust-lang/rust-bindgen/compare/v0.71.1...v0.72.0

(From OE-Core rev: 7e997bce2b2b059a6a81903f8c4e8c59535ccc98)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Guðni Már Gilbert
2f14bbb61f bluez5: remove bluez4 from RCONFLICTS
There is currently no recipe for bluez4 in openembedded-core.

BlueZ 4 hasn't had any updates/support since it's last point release 4.101 back
in 2012.

(From OE-Core rev: d2de6ae13cbd3f4ade218037ebcfd55d86961a5a)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Ross Burton
e3220f1648 clang: set CVE_PRODUCT
There are a number of recipes that are part of the LLVM Project, so set
CVE_PRODUCT to llvm:llvm in common.inc to ensure that all of the recipes
are covered.

Also add llvm:clang in the clang recipe, as there are a number of CVEs
with that product name.

(From OE-Core rev: 319e97643c1e342491931b6274996d1c8caa7d33)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Deepesh Varatharajan
a83b6c53e0 binutils: stable 2.44 branch updates
Below commits on binutils-2.44 stable branch are updated.

b09cf42d51e ld/PE: special-case relocation types only for COFF inputs
f0019390d12 s390: Prevent GOT access rewrite for misaligned symbols
452f5511154 x86: Check MODRM for call and jmp in binutils older than 2.45
4058d5a38a1 ld: fix C23 issue in vers7 test
33578177adc dwarf: Dump .debug_loclists only for DWARF-5

Test Results:
                                 Before  After  Diff
No. of expected passes            310     310    0
No. of unexpected failures        1       1      0
No. of untested testcases         1       1      0
No. of unsupported tests          9       9      0

Testing was done and there were no regressions found

(From OE-Core rev: 3bd3ea6ea53e5ff553b7dd785ba1bc973e72d09e)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Ricardo Simoes
9a0cd394a0 dosfstools: Add ptests
(From OE-Core rev: 875b8961221875e6a809d15b7d3b83ea00da0c0e)

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Vivek Puar
2844ea2514 linux-firmware: upgrade 20250627 -> 20250708
Add package ${PN}-qcom-sdx61-foxconn-firehose for sdx61 Foxconn vendor
firmware

License-Update: additional files

(From OE-Core rev: fd5176a6f9c8d8b45548eb0c148dc637cfb60dc6)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Hiago De Franco
57fde8fce9 mtd-utils: add optional systemd service for ubihealthd
Add support for deploying a ubihealthd.service systemd unit through a
new 'ubihealthd-service' PACKAGECONFIG option.

This change allows systems using systemd to easily enable and manage the
UBI health monitoring daemon as a background service.

(From OE-Core rev: cdf5b47cb640a0a981783d1078625ccacf3b8948)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Bruce Ashfield
da1033ecfb linux-yocto/6.12: update CVE exclusions (6.12.38)
Data pulled from: https://github.com/CVEProject/cvelistV5

(From OE-Core rev: 00087de9bcdd96a75ec143abb7b8312c815eca53)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Bruce Ashfield
1239842fde linux-yocto/6.12: update to v6.12.38
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    259f4977409c Linux 6.12.38
    faac2abe895d x86/CPU/AMD: Properly check the TSA microcode
    fbad404f04d7 Linux 6.12.37
    0029b3c1320b x86/process: Move the buffer clearing before MONITOR
    331cfdd27429 x86/microcode/AMD: Add TSA microcode SHAs
    d5d66e31fd9a KVM: SVM: Advertise TSA CPUID bits to guests
    7a0395f6607a x86/bugs: Add a Transient Scheduler Attacks mitigation
    0720e436e594 x86/bugs: Rename MDS machinery to something more generic
    4c443046d8c9 mm: userfaultfd: fix race of userfaultfd_move and swap cache
    ead91de35d9c mm/vmalloc: fix data race in show_numa_info()
    679bf9a0ccb8 powerpc/kernel: Fix ppc_save_regs inclusion in build
    c782f98eef14 usb: typec: displayport: Fix potential deadlock
    f65ad436e4bc platform/x86: think-lmi: Fix sysfs group cleanup
    5805edbea588 platform/x86: think-lmi: Fix kobject cleanup
    b11397bf9ade platform/x86: think-lmi: Create ksets consecutively
    f5fe094f35a3 riscv: cpu_ops_sbi: Use static array for boot_data
    d8ca2036f30d powercap: intel_rapl: Do not change CLAMPING bit if ENABLE bit cannot be changed
    53892dc68693 iommu/rockchip: prevent iommus dead loop when two masters share one IOMMU
    5f28563f0c68 optee: ffa: fix sleep in atomic context
    ccdc472b4df6 Logitech C-270 even more broken
    4c37963d67fb i2c/designware: Fix an initialization issue
    c745744a8231 dma-buf: fix timeout handling in dma_resv_wait_timeout v2
    631f9de9a7f4 cifs: all initializations for tcon should happen in tcon_info_alloc
    7b02e09fc0ba smb: client: fix readdir returning wrong type with POSIX extensions
    7cb875016032 usb: acpi: fix device link removal
    c68a27bbebbd usb: chipidea: udc: disconnect/reconnect from host when do suspend/resume
    3b1407caac17 usb: dwc3: Abort suspend on soft disconnect failure
    27199ab79079 usb: cdnsp: Fix issue with CV Bad Descriptor test
    b68e355a6132 usb: cdnsp: do not disable slot for disabled slot
    46f758928156 Input: iqs7222 - explicitly define number of external channels
    dbdd2a232019 Input: xpad - support Acer NGR 200 Controller
    195597e0beb3 xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS
    8bfd11dae3fb xhci: dbc: Flush queued requests before stopping dbc
    9f3b2e497deb xhci: dbctty: disable ECHO flag by default
    fbebc2254af8 usb: xhci: quirk for data loss in ISOC transfers
    9f7589318928 Revert "usb: xhci: Implement xhci_handshake_check_state() helper"
    8caccd2eac33 usb: xhci: Skip xhci_reset in xhci_resume if xhci is being removed
    1a81dfc9d10a NFSv4/flexfiles: Fix handling of NFS level errors in I/O
    5e110e867941 drm/xe: Allow dropping kunit dependency as built-in
    994b0bc2a0e8 drm/xe/bmg: Update Wa_22019338487
    beb89ada5715 IB/mlx5: Fix potential deadlock in MR deregistration
    f6588557023e RDMA/mlx5: Fix cache entry update on dereg error
    f94c422157f3 fs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass
    cdd9862252a0 module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper
    e036efbe5822 add a string-to-qstr constructor
    42c5a4b47d4a rcu: Return early if callback is not specified
    c40b207cafd0 mtd: spinand: fix memory leak of ECC engine conf
    18ff4ed6a33a ACPICA: Refuse to evaluate a method if arguments are missing
    327997afbb5e wifi: ath6kl: remove WARN on bad firmware input
    1b1026563999 wifi: mac80211: drop invalid source address OCB frames
    3e554f115374 aoe: defer rexmit timer downdev work to workqueue
    7296c938df24 scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port()
    3d546c8b1070 regulator: fan53555: add enable_time support and soft-start times
    2ec1cc322a01 ASoC: amd: yc: update quirk data for HP Victus
    39e36a744ec3 powerpc: Fix struct termio related ioctl macros
    19bd7597858d genirq/irq_sim: Initialize work context pointers properly
    c584b9b62c0c platform/x86/amd/pmc: Add PCSpecialist Lafite Pro V 14M to 8042 quirks list
    f8155ee19ddc ASoC: amd: yc: Add quirk for MSI Bravo 17 D7VF internal mic
    c24c06bd14f2 ata: pata_cs5536: fix build on 32-bit UML
    3ce57d493dd8 ata: libata-acpi: Do not assume 40 wire cable if no devices are enabled
    f42b8e575395 ALSA: sb: Force to disable DMAs once when DMA mode is changed
    c5e0af68c899 ALSA: sb: Don't allow changing the DMA mode during operations
    3f6ce8433a90 drm/msm: Fix another leak in the submit error path
    0eaa495b3d57 drm/msm: Fix a fence leak in submit error path
    c0527f7534c0 scsi: lpfc: Restore clearing of NLP_UNREG_INP in ndlp->nlp_flag
    790ce73721ab sched_ext: Make scx_group_set_weight() always update tg->scx.weight
    7ccaa5fa5d25 drm/amdgpu/mes: add missing locking in helper functions
    238a218d422e arm64: dts: qcom: x1e80100-crd: mark l12b and l15b always-on
    646442758910 drm/amd/display: Add more checks for DSC / HUBP ONO guarantees
    81ebb8d755d9 drm/amdgpu: add kicker fws loading for gfx11/smu13/psp13
    710deaff6aeb drm/i915/dp_mst: Work around Thunderbolt sink disconnect after SINK_COUNT_ESI read
    b47a1f9323c2 drm/amdgpu: VCN v5_0_1 to prevent FW checking RB during DPG pause
    4f77d8f8a93e drm/simpledrm: Do not upcast in release helpers
    acf9ab15ec97 selinux: change security_compute_sid to return the ssid or tsid on match
    6d0b588614c4 drm/xe/guc: Explicitly exit CT safe mode on unwind
    ff6482fb4589 drm/xe/guc: Dead CT helper
    e595433c6399 drm/xe: Replace double space with single space after comma
    0dadcd17e212 drm/xe: move DPT l2 flush to a more sensible place
    1883a83695fe drm/xe: Allow bo mapping on multiple ggtts
    ce1ef3b64ef7 drm/xe: add interface to request physical alignment for buffer objects
    98e5c71e7e74 drm/xe: Move DSB l2 flush to a more sensible place
    e5f01b2b6771 drm/xe: Fix DSB buffer coherency
    61628111e74f mfd: exynos-lpass: Fix another error handling path in exynos_lpass_probe()
    e0fefe9bc07e netfs: Fix oops in write-retry from mis-resetting the subreq iterator
    c2a952fb41cc remoteproc: k3-r5: Refactor sequential core power up/down operations
    b14a64c1a97f remoteproc: k3-r5: Use devm_rproc_add() helper
    0ea3572c15ad remoteproc: k3-r5: Use devm_ioremap_wc() helper
    e392148f7fa0 remoteproc: k3-r5: Use devm_kcalloc() helper
    f802fb717dfd remoteproc: k3-r5: Add devm action to release reserved memory
    5eec92eb4fe7 remoteproc: k3: Call of_node_put(rmem_np) only once in three functions
    5b6eb04c0552 ubsan: integer-overflow: depend on BROKEN to keep this out of CI
    f3a472b91408 arm64: dts: qcom: sm8650: add the missing l2 cache node
    5a867d09f533 arm64: dts: renesas: white-hawk-single: Improve Ethernet TSN description
    7f0e93324122 arm64: dts: renesas: Factor out White Hawk Single board support
    b9baad894b27 arm64: dts: renesas: Use interrupts-extended for Ethernet PHYs
    d8b92a122aed arm64: dts: qcom: sm8650: Fix domain-idle-state for CPU2
    67b3bb57fa17 arm64: dts: qcom: sm8650: change labels to lower-case
    4265682c29c9 bpf: Do not include stack ptr register in precision backtracking bookkeeping
    c5474a7b04cc bpf: use common instruction history across all states
    be1e0287ac78 hisi_acc_vfio_pci: bugfix the problem of uninstalling driver
    bac4641756c2 hisi_acc_vfio_pci: bugfix cache write-back issue
    ea405fb41449 scsi: lpfc: Avoid potential ndlp use-after-free in dev_loss_tmo_callbk
    6857cbf0e4b3 scsi: lpfc: Change lpfc_nodelist nlp_flag member into a bitmask
    ae082dbcef5b scsi: lpfc: Remove NLP_RELEASE_RPI flag from nodelist structure
    8912b139a8d4 f2fs: zone: fix to calculate first_zoned_segno correctly
    ffbbe11577b7 f2fs: zone: introduce first_zoned_segno in f2fs_sb_info
    58330262213a f2fs: decrease spare area for pinned files for zoned devices
    81fdecac3f2c iommu: ipmmu-vmsa: avoid Wformat-security warning
    7d151bf9bd2b RDMA/rxe: Fix "trying to register non-static key in rxe_qp_do_cleanup" bug
    7e48e3ddf9e3 wifi: ath12k: fix wrong handling of CCMP256 and GCMP ciphers
    3fffbb8d33de wifi: ath12k: Handle error cases during extended skb allocation
    316060297e20 wifi: ath12k: fix skb_ext_desc leak in ath12k_dp_tx() error path
    b77a5ecb3d3b bonding: Mark active offloaded xfrm_states
    b24c3c5b421e ACPI: thermal: Execute _SCP before reading trip points
    0c44a4095803 ACPI: thermal: Fix stale comment regarding trip points
    da45b381aafa ASoC: tas2764: Reinit cache on part reset
    d1f8358c5d35 ASoC: tas2764: Extend driver to SN012776
    9468bcd92d64 gfs2: Don't start unnecessary transactions during log flush
    519aed5bdab7 gfs2: Move gfs2_trans_add_databufs
    a2562bdd35e9 sched/fair: Fixup wake_up_sync() vs DELAYED_DEQUEUE
    3edcabcfc253 sched/fair: Add new cfs_rq.h_nr_runnable
    0cc4721a7182 sched/fair: Rename h_nr_running into h_nr_queued
    2dc82f0d781b btrfs: fix wrong start offset for delalloc space release during mmap write
    5ff2ed0f0aca btrfs: prepare btrfs_page_mkwrite() for large folios
    cde7f9407884 gfs2: deallocate inodes in gfs2_create_inode
    8e753fc3d5fb gfs2: Move GIF_ALLOC_FAILED check out of gfs2_ea_dealloc
    24ae2de15bda gfs2: Move gfs2_dinode_dealloc
    4f66983aeb02 gfs2: Replace GIF_DEFER_DELETE with GLF_DEFER_DELETE
    7df46e6f8847 gfs2: Add GLF_PENDING_REPLY flag
    fbb2d296d4ad gfs2: Decode missing glock flags in tracepoints
    9649fec0f9c2 gfs2: Prevent inode creation race
    af2ce45c2824 gfs2: Rename dinode_demise to evict_behavior
    862ca0b49f1a gfs2: Rename GIF_{DEFERRED -> DEFER}_DELETE
    170af4314e4d gfs2: Initialize gl_no_formal_ino earlier
    33b65fcec79e kunit: qemu_configs: Disable faulting tests on 32-bit SPARC
    b70cda91569a kunit: qemu_configs: sparc: Explicitly enable CONFIG_SPARC32=y
    a55f301e607c kunit: qemu_configs: sparc: use Zilog console
    8a039506c032 crypto: zynqmp-sha - Add locking
    d78f79a2c1ff spinlock: extend guard with spinlock_bh variants
    9a0b8ef2a91b crypto: iaa - Do not clobber req->base.data
    e23ac0026624 crypto: iaa - Remove dst_null support
    3f4adfc58700 arm64: dts: rockchip: fix internal USB hub instability on RK3399 Puma
    2ba9db22d72a smb: client: fix race condition in negotiate timeout by using more precise timing
    4db893a9bf9e amd-xgbe: do not double read link status
    a553afd91f55 net/sched: Always pass notifications when child class becomes empty
    56aebaaa3adc nui: Fix dma_mapping_error() check
    446ac00b86be rose: fix dangling neighbour pointers in rose_rt_device_down()
    16858ab7fd61 enic: fix incorrect MTU comparison in enic_change_mtu()
    6074bff08ac2 amd-xgbe: align CL37 AN sequence as per databook
    f358d949cea2 lib: test_objagg: Set error message in check_expect_hints_stats()
    50c86c094533 netfs: Fix i_size updating
    9b55b7bdb0bb smb: client: set missing retry flag in cifs_writev_callback()
    590eb2574929 smb: client: set missing retry flag in cifs_readv_callback()
    cd8c8c20de3b smb: client: set missing retry flag in smb2_writev_callback()
    3eb39038dca3 igc: disable L1.2 PCI-E link substate to avoid performance issue
    9a36715cd6bc idpf: convert control queue mutex to a spinlock
    018ff57fd79c idpf: return 0 size for RSS key if not supported
    6a17e0d27fbe drm/i915/gsc: mei interrupt top half should be in irq disabled context
    5a7ae7bebdc4 drm/i915/gt: Fix timeline left held on VMA alloc error
    510a6095d754 net: usb: lan78xx: fix WARN in __netif_napi_del_locked on disconnect
    3f6932ef2537 smb: client: fix warning when reconnecting channel
    6a5348dbd745 drm/bridge: aux-hpd-bridge: fix assignment of the of_node
    800a6bde38f9 platform/mellanox: mlxreg-lc: Fix logic error in power state check
    206e2dca0ee5 platform/x86: dell-wmi-sysman: Fix class device unregistration
    8d6b2f704f6e platform/x86: dell-sysman: Directly use firmware_attributes_class
    48edcece52e0 platform/x86: think-lmi: Fix class device unregistration
    1cef9e9e0090 platform/x86: think-lmi: Directly use firmware_attributes_class
    b36faa83285f platform/x86: firmware_attributes_class: Simplify API
    b5c180ec1fbc platform/x86: firmware_attributes_class: Move include linux/device/class.h
    1958bccfa47a platform/x86: hp-bioscfg: Fix class device unregistration
    0386a68f959a platform/x86: hp-bioscfg: Directly use firmware_attributes_class
    5df3b870bc38 platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks
    431e58d56fcb nvmet: fix memory leak of bio integrity
    f0fee863a7cb nvme: Fix incorrect cdw15 value in passthru error logging
    9d4064787d8d drm/i915/selftests: Change mock_request() to return error pointers
    3832ddc2fae8 spi: spi-fsl-dspi: Clear completion counter before initiating transfer
    0a38b1836894 drm/exynos: fimd: Guard display clock control with runtime PM calls
    dbd187e8c18c dpaa2-eth: fix xdp_rxq_info leak
    91a6b86d5845 ethernet: atl1: Add missing DMA mapping error checks and count errors
    735ac80fa913 btrfs: use btrfs_record_snapshot_destroy() during rmdir
    bfd5c9e83d89 btrfs: propagate last_unlink_trans earlier when doing a rmdir
    1728fef7ca37 btrfs: record new subvolume in parent dir earlier to avoid dir logging races
    d6d806004605 btrfs: fix inode lookup error handling during log replay
    401d098f92ea btrfs: fix invalid inode pointer dereferences during log replay
    0502d1127436 btrfs: return a btrfs_inode from read_one_inode()
    56e9882ba22f btrfs: return a btrfs_inode from btrfs_iget_logging()
    7ac790dc2ba0 btrfs: fix iteration of extrefs during log replay
    e4c3176acecf btrfs: fix missing error handling when searching for inode refs during log replay
    381c1c121979 Bluetooth: Prevent unintended pause by checking if advertising is active
    b611a5bf44e2 platform/mellanox: nvsw-sn2201: Fix bus number in adapter error message
    4bbdb8dd35b4 platform/mellanox: mlxbf-pmc: Fix duplicate event ID for CACHE_DATA1
    bd69049f981d RDMA/mlx5: Fix vport loopback for MPV device
    3d8d401d3333 RDMA/mlx5: Fix CC counters query for MPV
    a33a0c15b762 RDMA/mlx5: Fix HW counters query for non-representor devices
    e4ff9dedeb56 scsi: ufs: core: Fix spelling of a sysfs attribute name
    b1abc5ab47d6 scsi: sd: Fix VPD page 0xb7 length check
    218ae6bfe253 scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu()
    350dae778b63 scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database()
    864a54c1243e NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
    3c94212b57be nfs: Clean up /proc/net/rpc/nfs when nfs_fs_proc_net_init() fails.
    93fccfa71c66 RDMA/mlx5: Initialize obj_event->obj_sub_list before xa_insert
    9d2ef890e499 RDMA/mlx5: Fix unsafe xarray access in implicit ODP handling
    f5fe78cfcba1 platform/mellanox: mlxbf-tmfifo: fix vring_desc.len assignment
    896e0d9337b5 arm64: dts: apple: t8103: Fix PCIe BCM4377 nodename
    31405510a48d firmware: arm_ffa: Replace mutex with rwlock to avoid sleep in atomic context
    2c07fd0eada8 firmware: arm_ffa: Move memory allocation outside the mutex locking
    076fa20b4f57 firmware: arm_ffa: Fix memory leak by freeing notifier callback node
    9ff95ed0371a drm/v3d: Disable interrupts before resetting the GPU
    ca40e57b22a0 mtk-sd: reset host->mrq on prepare_data() error
    3419bc6a7b65 mtk-sd: Prevent memory corruption from DMA map failure
    cfbdcabab2fb mtk-sd: Fix a pagefault in dma_unmap_sg() for not prepared data
    5581e694d3a1 usb: typec: altmodes/displayport: do not index invalid pin_assignments
    ea20568895c1 Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()
    e4d19e5d71b2 regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods
    dae12bc688b8 iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes
    a99f80c88a97 Bluetooth: MGMT: mesh_send: check instances prior disabling advertising
    44bb1e13b454 Bluetooth: MGMT: set_mesh: update LE scan interval and window
    3672fe9d1ed6 Bluetooth: hci_sync: revert some mesh modifications
    0698a2eb7d89 Bluetooth: HCI: Set extended advertising data synchronously
    50345c93698e mmc: core: sd: Apply BROKEN_SD_DISCARD quirk earlier
    ec9be081c577 Revert "mmc: sdhci: Disable SD card clock before changing parameters"
    cf7235914dc4 mmc: sdhci: Add a helper function for dump register in dynamic debug mode
    9546118ba789 net: libwx: fix the incorrect display of the queue number
    75705b44e0b9 vsock/vmci: Clear the vmci transport packet properly when initializing it
    e036b72d6a16 net: txgbe: request MISC IRQ in ndo_open
    a54280b0eb99 s390/pci: Do not try re-enabling load/store if device is disabled
    2640c230aac4 s390/pci: Fix stale function handles in error handling
    bc68bc356334 virtio-net: ensure the received length does not exceed allocated size
    892f6ed9a4a3 virtio-net: xsk: rx: fix the frame's length check
    bd6c1932ac9c rtc: cmos: use spin_lock_irqsave in cmos_interrupt
    ee61aec8529e rtc: pcf2127: fix SPI command byte for PCF2131
    669e6c723b32 rtc: pcf2127: add missing semicolon after statement

(From OE-Core rev: 8119f6a9983d3d6ba909a0c8ba916213db87270c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Bruce Ashfield
360c3cde36 kernel-devsrc/x86: add v6.16+ build requirements
We require cpufeaturemasks.awk to create the build components
for x86.

(From OE-Core rev: 59c72bf15088c7d5e29b63603630b40a44183e8c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Bruce Ashfield
d2b3ba3501 linux-yocto-dev: bump to v6.16
(From OE-Core rev: 70f78f1d4cd71fb364595ebc01b924ecdd795462)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
a189a2645c wayland: upgrade 1.23.1 -> 1.24.0
(From OE-Core rev: a4532861243573096f840d284fb40fe51068959a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
258fee17c9 tcl: upgrade 9.0.1 -> 9.0.2
(From OE-Core rev: 2cc8fae2116c2fb953282e336080e8fbdca67481)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
43041e7be4 taglib: upgrade 2.1 -> 2.1.1
(From OE-Core rev: a817e6190c89e9ce7d1aa6476d1b40d8ef764c1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
68e1468707 python3-pdm-backend: upgrade 2.4.4 -> 2.4.5
(From OE-Core rev: 76a1cdb0400806b19e4a912bff5f144abd786898)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
12c1b99eb1 python3-hypothesis: upgrade 6.135.16 -> 6.135.29
(From OE-Core rev: fa2cdb90fc6e28532b0b368a0aa4c00748e19061)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
1f4949949f python3-certifi: upgrade 2025.6.15 -> 2025.7.9
(From OE-Core rev: 99ce38d5ed6f27da5467d3053e80aefcd0184b37)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
d3a2e5b032 ninja: upgrade 1.13.0 -> 1.13.1
(From OE-Core rev: 4b0a2f67cba6d126f06d38413eab36eff09bd217)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
a4be3f9e7b mesa: upgrade 25.1.4 -> 25.1.5
(From OE-Core rev: 9109961657e6e96fde59b6e07e70af16a4ddfdfd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
b377cbfa38 lsof: upgrade 4.99.4 -> 4.99.5
Changelog:
===========
- fix legacy linux kernel compatibility due to missing /proc/self/ns
- fix potential null pointer deference

(From OE-Core rev: 45c438d0ddfde54546ff1b1a14999eaf8c67e4ef)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
7126930081 libwebp: upgrade 1.5.0 -> 1.6.0
(From OE-Core rev: 3ea48cca171de36f8028d01756f9c931e46bb02e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
b56f021e51 libsolv: upgrade 0.7.33 -> 0.7.34
- new features:
  * support product-obsoletes() provides in the product autopackage
    generation code

(From OE-Core rev: 2f83491f69116c5d606f801a619a5389fc97ea64)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
f2d59b18fa hwdata: upgrade 0.396 -> 0.397
Changelog:
 Update pci and vendor ids

(From OE-Core rev: 1b40d8baf0c7f95e43fe701ac03d01fe98a4a2f6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
2de249a7a3 git: upgrade 2.50.0 -> 2.50.1
(From OE-Core rev: 9599a316ff7fe629d2b89ae56cee525105defd0e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
53a78041dd gi-docgen: upgrade 2025.3 -> 2025.4
Changelog:
===========
Added:
- Add online attribute for devhelp index
- Include type data in the field template

Fixed:
- Use normal font size for enumeration values description

(From OE-Core rev: cd0f60afe129d31cdb25343ea7a96509cd14a16a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Wang Mingyu
5f3e6fc780 debugedit: upgrade 5.1 -> 5.2
0001-Add-option-to-allow-disabling-inlined-xxhash.patch
removed since it's included in 5.2

(From OE-Core rev: 15f6172eceea91a844114d8e13051131094232f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Hongxu Jia
403e50f043 rpm: keep leading `/' from sed operation
For /usr/lib/rpm/macros, Yocto explicitly set OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM
= "ONLY" [1][2] to search tools from CMAKE_FIND_ROOT_PATH [5] which locates in
native recipe sysroot or HOSTTOOLS_DIR. If found in native recipe sysroot or
HOSTTOOLS_DIR, the sed operation removed leading `/'

root@qemux86-64:~# vi /usr/lib/rpm/macros
...
%__xz                   usr/bin/xz
%__make                 usr/bin/make
%__zstd                 usr/bin/zstd
%__quilt                usr/bin/quilt
%__patch                usr/bin/patch
...

root@qemux86-64:~# rpm --eval "%{__xz} %{__make} %{__zstd} %{__quilt} %{__patch}"
usr/bin/xz usr/bin/make usr/bin/zstd usr/bin/quilt usr/bin/patch

This commit keeps leading `/' from sed operation, and similar reason for
/usr/lib/cmake/rpm/rpm-targets.cmake

After applying this commit:
root@qemux86-64:~# rpm --eval "%{__xz} %{__make} %{__zstd} %{__quilt} %{__patch}"
/usr/bin/xz /usr/bin/make /usr/bin/zstd /usr/bin/quilt /usr/bin/patch

[1] https://git.openembedded.org/openembedded-core/commit/?id=f4ea12f6635125ee793f4dd801c538c0186f9dc3
[2] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html

(From OE-Core rev: 0d0773879ab9520c475c4a8c930b2e663de0e032)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Ross Burton
0b200483ae clang: remove clang-lldb-python package
v1 of the lldb patchset was accidentally merged, which didn't remove
this package from the clang recipe.

(From OE-Core rev: f389f14983cf87238f9a073b50837583596735ea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Moritz Haase
2c9a6b4a81 cmake: upgrade 3.31.6 -> 4.0.3
This is the first major release bump for CMake since 3.0 was released in 2014.
Compatibility with versions of CMake older than 3.5 has been removed. Full
release notes are available at [0].

Obsolete patches have been removed and the few remaining ones have been
refreshed. We can now build cmake without patches, only cmake-native requires
two that are not suitable for upstreaming.

The main license file has been renamed from Copyright.txt to LICENSE.rst in [1].
References to the file have been updated, causing changes to the licensing
header in 'cmake.h' (see [2]).

Additionally, the '1996 - 2024' copyright statement in (cm)curl's COPYING was
updated to '1996 - 2025' in [3].

[0]: https://cmake.org/cmake/help/v4.0/release/4.0.html
[1]: 2d42a5444f
[2]: de273b2e11
[3]: 48b13baebc

License-Update: License file renamed; copyright years updated
(From OE-Core rev: fc7aafb30bc5fe83f8d2ed451cb6b4d68b131fb5)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
CC: alex.kanavin@gmail.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:41:18 +01:00
Mikko Rapeli
3bb9a31522 oeqa parselogs: add parselogs-ignores-genericarm64.txt
With safe to ignore pinctl and initrd warnings from
AMD kv260 boot.

(From meta-yocto rev: fe944133f3ad2f4c9f76e0c2d7109a35a179ff7c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:15:44 +01:00
Antonin Godard
853f8bfbb8 dev-manual/start.rst: remove shared PERSISTENT_DIR mentions
Remove the shared PERSISTENT_DIR mention introduced by 3954eda78f22
("dev-manual/start.rst: mention that PERSISTENT_DIR should be shared
too"), as it should _not_ be shared.

Instead recommend setting up a hash equivalence server.

(From yocto-docs rev: f9f1c87424d307d2df60024bc448bd6778605cf8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-15 13:57:32 +01:00
Antonin Godard
818d405494 ref-manual/structure.rst: remove shared PERSISTENT_DIR mentions
PERSISTENT_DIR should _not_ be shared, I got that wrong in my previous
commit 741aa29898dc ("ref-manual/structure.rst: update with info on
PERSISTENT_DIR"). Remove these mentions.

(From yocto-docs rev: 4c7fc7a6e9b0b957bcf0deb66adb0a6d9ebead00)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-15 13:57:32 +01:00
Michal Sieron
f3da837ad2 bitbake.conf: Remove PR glob part from STAMPCLEAN
Since OE-Core rev: cc83e45484656a6b577ff84817131735023daad4
the STAMP value and STAMPCLEAN glob have been mismatched. The
issue is present since the PR part was removed from the STAMP variable
in that comit.

An example use case that I found was broken due to this:

1. Have recipes foo_A.bb and foo_B.bb
2. Build foo-native with PREFERRED_VERSION_foo-native = "A"
3. ${COMPONENTS_DIR}/x86_64-linux/foo-native has version A
4. Build foo-native with PREFERRED_VERSION_foo-native = "B"
5. ${COMPONENTS_DIR}/x86_64-linux/foo-native has version B
6. Build foo-native with PREFERRED_VERSION_foo-native = "A"
7. ${COMPONENTS_DIR}/x86_64-linux/foo-native still has version B

In my case the PREFERRED_VERSION comes from different machines.
The issue showed itself when a bar-native compiled against foo-native
version A was pulled from sstate-cache and foo-native in version B was
kept in ${COMPONENTS_DIR} after previous build for a different machine.

The two variables should be in sync and this patch corrects that.

[RP: Tweak commit message]
(From OE-Core rev: 932be19f48735d72a72de2771911119433956f4f)

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:51:42 +01:00
Jiaying Song
8d33f1a30e ruby-ptest : some ptest fixes
- Skip the test_rm_r_no_permissions test under the root user, as
  deletion always succeeds.
- Filter out tests under the -ext- directory in run-ptest. Due to the
  commit [1],the packaging of .so test files under the .ext directory
  was removed. As a result, adjust the test filtering rules to avoid
  test failures caused by missing files.
- Add installation of rdoc.rb and did_you_mean.rb files in
  do_install_ptest to ensure complete test dependencies.

[1]
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/ruby?id=4d4485442830bb52b152f0419f4ff9f1d581d46a

(From OE-Core rev: a581617945848e5970859510e6fb8e4ccdb26f95)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Peter Marko
1eea8922a7 python3: update CVE product
There are two "new" CVEs reported for python3, their CPEs are:
* CVE-2020-1171: cpe:2.3🅰️microsoft:python:*:*:*:*:*:visual_studio_code:*:* (< 2020.5.0)
* CVE-2020-1192: cpe:2.3🅰️microsoft:python:*:*:*:*:*:visual_studio_code:*:* (< 2020.5.0)
These are for "Visual Studio Code Python extension".

Solve this by addding CVE vendor to python CVE product to avoid
confusion with Microsoft as vendor.

Examining CVE DB for historical python entries shows:
sqlite> select vendor, product, count(*) from products where product = 'python' or product = 'cpython'
   ...> or product like 'python%3' group by vendor, product;
microsoft|python|2
python|python|1054
python_software_foundation|python|2

Note that this already shows that cpython product is not used, so
CVE-2023-33595 mentioned in 62598e1138f21a16d8b1cdd1cfe902aeed854c5c
was updated.
But let's keep it for future in case new CVE starts with that again.

(From OE-Core rev: 446df2e29495e615dd6d95b158dd37363830cd3e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Peter Marko
80f02155ca go: upgrade 1.24.4 -> 1.24.5
Upgrade to latest 1.24.x release [1]:

$ git --no-pager log --oneline go1.24.4..go1.24.5
9d828e80fa (tag: go1.24.5) [release-branch.go1.24] go1.24.5
825eeee3f7 [release-branch.go1.24] cmd/go: disable support for multiple vcs in one module
dbf30d88f3 [release-branch.go1.24] cmd/link: permit a larger size BSS reference to a smaller DATA symbol
6b51660c8c [release-branch.go1.24] runtime: set mspan limit field early and eagerly
cc604130c8 [release-branch.go1.24] runtime: prevent mutual deadlock between GC stopTheWorld and suspendG
21b488bb60 [release-branch.go1.24] runtime: handle system goroutines later in goroutine profiling
e038690847 [release-branch.go1.24] cmd/go/internal/fips140: ignore GOEXPERIMENT on error
1575127ef8 [release-branch.go1.24] runtime: add missing unlock in sysReserveAlignedSbrk
7d08a16fba [release-branch.go1.24] cmd/compile/internal/ssa: fix PPC64 merging of (AND (S[RL]Dconst ...)
5f2cbe1f64 [release-branch.go1.24] cmd/compile: do nil check before calling duff functions, on arm64 and amd64

Fixes CVE-2025-4674 [2].

[1] https://github.com/golang/go/compare/go1.24.4...go1.24.5
[2] https://groups.google.com/g/golang-announce/c/gTNJnDXmn34

(From OE-Core rev: a3cc5038ea10a4857627e6f4de25bdc43023a349)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Richard Purdie
ea04bd1ee7 pseudo: Update to pull in memleak fix
(From OE-Core rev: 42137b6f97da0672af365cd841678f39ce5907d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Richard Purdie
1d723321a7 gcc: Tweak libtool patch documentation
Update the libtool patch description with a note about the patch not
being essential now due to .la file handling changes.

(From OE-Core rev: 1294542edf327fe782b5b9c0de3dd3d3c2e38af1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Richard Purdie
9bca79fdb4 glibc: Add flags to CFLAGS instead of CC
Recent changes mean toolchain variables are initialized via inherit_defer.
It is therefore no longer possible to add to CC using the += operator.
Instead, add to CFLAGS.

(From OE-Core rev: 7435a6317621f90b6f842a0a0f97c31f0d6d2424)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Weisser, Pascal.ext
69a0dcc37b systemd: add rdepends on libnss-resolve to nss-resolve PACKAGECONFIG
Add a runtime dependency on libnss-resolve to nss-resolve PACKAGECONFIG in
systemd recipe. libnss-resolve provides nss-resolve which is a plug-in
module for the GNU Name Service Switch (NSS) functionality of the GNU C
Library (glibc) enabling it to resolve hostnames via the systemd-resolved
local network name resolution service.

See https://man7.org/linux/man-pages/man8/nss-resolve.8.html.

Runtime dependencies on other NSS plug-in modules are provided via other
PACKAGECONFIG entries in a similar way (myhostname - libnss-myhostname,
nss - libnss-resolve).

(From OE-Core rev: e3558ccc2e75bcd09d4a02799df9615cfa92fdbb)

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Adrian Freihofer
6858e5f0c8 oeqa/utils/command: simplify tap detection
Simplify the code by removing the fallback to ifconfig if the ip command
is not available. ip commands are nowadays available on all host
machines. The transition from ifconfig to ip has taken place long time
ago e.g. for the runqemu-gen-tapdevs script.

This also fixes the detection of tap devices if the tap devices are not
named tap0, tap1, etc. but have a different name, e.g. foo0, foo1 which
is the case if the OE_TAP_NAME environment variable is set.

Some examples:

$ ip tuntap show mode tap
$ sudo ./scripts/runqemu-gen-tapdevs 1000 2
Creating 2 tap devices for GID: 1000...
Creating tap0
Creating tap1
...
$ ip tuntap show mode tap
tap0: tap persist group 1000
tap1: tap persist group 1000
$ sudo ./scripts/runqemu-gen-tapdevs 1000 0
Note: Destroying pre-existing tap interface tap0...
Note: Destroying pre-existing tap interface tap1...
$ ip tuntap show mode tap
$ sudo OE_TAP_NAME=foo ./scripts/runqemu-gen-tapdevs 1000 2
Creating 2 tap devices for GID: 1000...
Creating foo0
Creating foo1
...
$ ip tuntap show mode tap
foo0: tap persist group 1000
foo1: tap persist group 1000
$ sudo OE_TAP_NAME=foo ./scripts/runqemu-gen-tapdevs 1000 0
Note: Destroying pre-existing tap interface foo0...
Note: Destroying pre-existing tap interface foo1...
$ ip tuntap show mode tap

(From OE-Core rev: 6459ea7c019bcb7a486d286dd964eeeeab99c37d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Adrian Freihofer
873430ceca oe-selftest: devtool: split tap detection into function
Make the check for tap devices available as a function which can be used
by other tests as well.

(From OE-Core rev: ad8f3a8d959a245301118cf7b850f1a0ab567f01)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Adrian Freihofer
ad5df78c55 oe-selftest: devtool: run without poky
If DISTRO is set to poky, the ptest DISTRO_FEATURE is enable. However,
without meta-poky layer, ptest packages are not compiled and the tests
fail with:
   ERROR: Nothing RPROVIDES 'cmake-example-ptest'...

(From OE-Core rev: 7b5b0908a6acf43384a13f2e6801e014a61b8e8f)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Adrian Freihofer
55239572a4 oe-selftest: devtool deploy-target test --strip option
Extend the devtool deploy-target test to test with and without the
--strip option. The --strip code path recently broke unnoticed because
of changes in pseudo.

(From OE-Core rev: 4c586320e15d8d8b5b85e2da0b900dcc6a0fff3d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Ross Burton
322fc2fc75 lldb: add new recipe, split out of clang
LLDB takes a reasonable amount of time to compile, but also isn't an
essential component of the LLVM suite.

Instead of always building it when we build clang, split it out into a
separate recipe.

On my build machine where clang takes 21 minutes to build with lldb, it
takes 19 minutes without lldb.

(From OE-Core rev: 9da4900aa5a37718bd42f277d5a1805ec897b1b4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Ross Burton
bd3792a7ad llvm-tblgen-native: add new recipe
Building the LLVM projects often means using the TableGen tools
(llvm-tblgen etc).

We currently build them as part of clang-native, but I am teasing the
clang recipe into its component parts and having to build llvm-native
or lldb-native simply for one tool isn't ideal.

Instead, add a native recipe that simply builds the tablegen binaries
for llvm, clang, and lldb

(From OE-Core rev: fbf63e03fe09ca74022c9d06442b4f1021b71d57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Ross Burton
728d87c9bd clang: move BPN assignment from common.inc
There's a BPN assignment in common.inc which means all recipes need to
either be called clang, or set BPN themselves.

Move the assignment to the clang recipes. For now I'm leaving the
existing BPN assignments in the other recipes, in case there are complex
multilib-related reasons to retain them.

(From OE-Core rev: fc7e8c3e5c19a1885bec564c8fc07df5a13c8bd4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Khem Raj
5a8e96ed11 compiler-rt: Fix install location for native builds
Currently, clang when used for native builds and uses --rtlib=compiler-rt
does not find the LLVM runtime because its installed in different
directory than where compiler expects it to be. As a result, build fails
for packages using clang in both capacity ( native and cross )
e.g. qtwebengine

Make the build work across native sanitizers as well.

(From OE-Core rev: 4d55698330ce6720cab5dfe9b4e00efeb40ba6e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Khem Raj
ef31bc3074 compiler-rt: Use clang for native compile as well
(From OE-Core rev: 0c3ab984e72db424aa2684f5e2073a165b4b0910)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Peter Marko
510b5f71cc openssl: upgrade 3.5.0 -> 3.5.1
Release information:
https://github.com/openssl/openssl/blob/openssl-3.5/NEWS.md#major-changes-between-openssl-350-and-openssl-351-1-jul-2025

Handles CVE-2025-4575.

Refresh patches.

(From OE-Core rev: c030c9c31d27917fb45aaaa5ed174c16ca68ec9e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 17:49:48 +01:00
Gyorgy Sarvari
1f88be64bf bitbake: bitbake/tests: fix typo in test
The test behavior did not change visibly though.

"bitbake-selftest bb.tests.runqueue" passes completely, just like before.

(Bitbake rev: 1751aed08f8472f20fcfbadbb09d35f951904952)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-14 13:29:30 +01:00
Antonin Godard
217d5b3c3c overview-manual/concepts.rst: fix sayhello hardcoded bindir
Replace the hardcoded /usr/bin by ${bindir}, as it should be.

Reported-by: Thomas Perrot <thomas.perrot@bootlin.com>
(From yocto-docs rev: 576677eae6960dbc2d2ececeba0fde5bba7bb69f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
d4a065a7e8 overview-manual/concepts.rst: mention PERSISTENT_DIR for user configuration
The PERSISTENT_DIR directory can also be customized to be shared, so
mention it in the list of configuration variables in local.conf.

(From yocto-docs rev: f3aa0e8f0d15f036b65253c1e0036eb7e1e16088)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
1eab7980ae dev-manual/start.rst: mention that PERSISTENT_DIR should be shared too
In the "Development environment summary", we mention that the shared
state dir can be shared for developers, but PERSISTENT_DIR should be
shared as well, otherwise bugs described in [1] can happen.

[1]: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15921

[YOCTO #15921]

(From yocto-docs rev: 3954eda78f22f205cbd31857f5b0992900fe7b02)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
e790ad0f3e ref-manual/structure.rst: update with info on PERSISTENT_DIR
Since we mention that SSTATE_DIR can be shared for multiple builds, also
mention that PERSISTENT_DIR should be shared alongside SSTATE_DIR.

[YOCTO #15921]

(From yocto-docs rev: 741aa29898dc7f34ebd423ff7565334b2c89e18c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
cbbac30edb test-manual/understand-autobuilder.rst: mention hashequiv server
The autobuilder also uses a shared Hash Equivalence server, so mention
it here too.

(From yocto-docs rev: a96640f98c91f147e05cf132efab114b1e7dc8eb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
aaf748b28c poky.yaml.in: increase minimum RAM from 8 to 32
In the light of the recent LLVM addition, and other such heavier
recipes, increase the minimum RAM requirement from 8Gb to 32Gb.

(From yocto-docs rev: 3055affc8a37a40d03206140e47caf3d1437ec35)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Lee Chee Yang
8542be1726 migration-guides: add release notes for 4.0.28
(From yocto-docs rev: 6959193fddb039c34384fcc391195fdd7fd3dbb8)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
b578190fb4 ref-manual/variables.rst: make reference to new limiting-resources doc
For host resource limiting variables, make a reference to the new
"Limiting the Host Resources Usage" document.

(From yocto-docs rev: 161a8549441e8c38791ab7f63001b2a15a39d2f2)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Antonin Godard
919d227323 Add a document on limiting host resources
Add a "Limiting the Host Resources Usage" document to share the
different techniques that can be used to limit the host resources usage.
We do have a document to document how to speed up a build, so this
document comes right after.

[YOCTO #15111]

(From yocto-docs rev: 584b8b30cd884ff6c62efcff9e9b566476a84589)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-11 13:30:44 +01:00
Bruce Ashfield
86a4723a14 libc-headers: update to v6.15
kernel 6.15+ will be our next reference point, so we bump the libc
headers to match.

(From OE-Core rev: cf89a121f93e404485983b92abc88a46a7f24890)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 23:26:44 +01:00
Divya Chellam
58238ee55c screen: update 5.0.0 -> 5.0.1
This includes CVE-fix for CVE-2025-46805, CVE-2025-46804,
CVE-2025-46803, CVE-2025-46802 and CVE-2025-23395.

Changelog:
=========
https://cgit.git.savannah.gnu.org/cgit/screen.git/tree/src/ChangeLog?h=v.5.0.1

* Fixes:
	- CVE-2025-46805: do NOT send signals with root privileges
	- CVE-2025-46804: avoid file existence test information leaks
	- CVE-2025-46803: apply safe PTY default mode of 0620
	- CVE-2025-46802: prevent temporary 0666 mode on PTYs in attacher
	- CVE-2025-23395: reintroduce lf_secreopen() for logfile
	- buffer overflow due bad strncpy()
	- uninitialized variables warnings
	- typos
	- combining char handling that could lead to a segfault

(From OE-Core rev: 9e608022b287bfdb4f547f5e2d418536758bc82f)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Yi Zhao
ffe1dcbdca kea: set correct permissions for /var/run/kea
Set the permissions of /var/run/kea to 750 to fix kea server startup
error:

ERROR [kea-dhcp4.dhcp4/445.140718820303936] DHCP4_INIT_FAIL failed to
initialize Kea server: configuration error using file
'/etc/kea/kea-dhcp4.conf': 'socket-name' is invalid: socket
path:/var/run/kea does not exist or does not have permssions = 750

This permission check was introduced by commit[1] in kea 2.6.3.

[1] 43bba7799f

(From OE-Core rev: 7254a27cdf16a51b5247585d417f2e6afaf84b76)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Praveen Kumar
8f27a8f156 sudo: upgrade 1.9.17 -> 1.9.17p1
Changelog:
===========
* Fixed CVE-2025-32462.  Sudo's -h (--host) option could be specified
   when running a command or editing a file.  This could enable a
   local privilege escalation attack if the sudoers file allows the
   user to run commands on a different host.

* Fixed CVE-2025-32463.  An attacker can leverage sudo's -R
  (--chroot) option to run arbitrary commands as root, even if
  they are not listed in the sudoers file.  The chroot support has
  been deprecated an will be removed entirely in a future release.

(From OE-Core rev: 4ac42eefe6c1b5895a3334d7f90004fdc8a3267f)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Khem Raj
b92f52ef27 python3-pdm: Upgrade to 2.25.4
* Add credentials when passing source urls to uv resolver. (#3553)
* Redact credentials in source urls in the log output, and inject credentials into the source url for uv sync command as well. (#3555)
* Fix a bug that extra dependencies of transitive dependencies are not properly installed when USE_UV=true (#3558)
* Improve the terminal output when setting up a script environment. (#3560)
* Skip non-existent library paths in post-install steps when trying to fix the pth files. (#3561)

(From OE-Core rev: 5f203da704bb76d0521e274bea9499db15f62d8d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Khem Raj
f029ad05bf spirv-llvm-translator: upgrade 20.1.2 -> 20.1.4
Details of changes
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/compare/v20.1.2...v20.1.4

(From OE-Core rev: e3890983dbf422f2dad33267f7dbe12ae3aff7c8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Khem Raj
8d7e8bd2f7 re2c: upgrade to 4.3
It introduces new features, improvements, and bug fixes, including
- a new code generation model using recursive functions
- new block types
- improved compile-time performance

It also adds a new warning, -Wdeprecated-eof-rule, and improves
the handling of the end-of-input rule

(From OE-Core rev: 58d930580862af1f8db1e359f02a880695048025)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Adrian Freihofer
1ee1b5fee4 bitbake.conf: fix pseudo for devtool deploy-target --strip
Without this fix:

devtool deploy-target cmake-example qemu1 --strip
...
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped/usr/lib/libcmake-example-lib.so.1.0.0': Operation not permitted
cp: failed to preserve ownership for ...cmake-example/1.0/devtool-deploy-target-stripped/usr/lib/libcmake-example-lib.so.1: Operation not permitted
cp: failed to preserve ownership for ...cmake-example/1.0/devtool-deploy-target-stripped/usr/lib/libcmake-example-lib.so: Operation not permitted
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped/usr/lib': Operation not permitted
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped/usr/bin/cmake-example': Operation not permitted
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped/usr/bin/test-cmake-example': Operation not permitted
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped/usr/bin': Operation not permitted
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped/usr': Operation not permitted
cp: failed to preserve ownership for '.../cmake-example/1.0/devtool-deploy-target-stripped': Operation not permitted
tar: ./usr/lib/libcmake-example-lib.so.1.0.0: time stamp 2025-07-06 16:46:06 is 0.527890738 s in the future
tar: ./usr/lib/libcmake-example-lib.so.1: time stamp 2025-07-06 16:46:06 is 0.527462566 s in the future
tar: ./usr/lib/libcmake-example-lib.so: time stamp 2025-07-06 16:46:06 is 0.526732779 s in the future
tar: ./usr/lib: time stamp 2025-07-06 16:46:06 is 0.526415655 s in the future
tar: ./usr/bin/cmake-example: time stamp 2025-07-06 16:46:06 is 0.52568721 s in the future
tar: ./usr/bin/test-cmake-example: time stamp 2025-07-06 16:46:06 is 0.525054415 s in the future
tar: ./usr/bin: time stamp 2025-07-06 16:46:06 is 0.524821739 s in the future
INFO: Successfully deployed .../cmake-example/1.0/devtool-deploy-target-stripped

With this fix:

devtool deploy-target cmake-example qemu1 --strip
...
INFO: Successfully deployed .../cmake-example/1.0/devtool-deploy-target-stripped

This is most probably related to the commit:
  2502da81709f25de499277b28d33c915638c45f6
  bitbake.conf/pseudo: Switch from exclusion list to inclusion list

(From OE-Core rev: 8b42b698ea13e1951f7bac4ddd89e13c9b0cb3a6)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Dario Binacchi
b431b880ae mmc-utils: upgrade to 1.0
This is the first tagged version of the package.

Change log since last version bump:

  d8a8358a7207 mmc-utils: Pass key_mac buffer to rpmb_get_key()
  a23ad7875b89 mmc-utils: Start to use the generic print_usage function
  e769d44ecb77 mmc-utils: Introduce a generic print_usage function
  6586fa5535dc mmc-utils: Simplify and streamline print_help function
  ec75d4b3b671 mmc-utils: Remove unused adv_help member from struct Command

(From OE-Core rev: 3d4cc4ae897d48c8d8b1338020ea5251347cce59)

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Mark Hatle
cd389a7461 linux-yocto/6.12: riscv: Enable TUNE_FEATURES based KERNEL_FEATURES
Allow the risc-v TUNE_FEATURES to select specific ISA (kconfig) selections
in the kernel config via config fragments selected by KERNEL_FEATURES.

This allows the following items to be selected dynamically:

    CONFIG_ARCH_RV32I
    CONFIG_ARCH_RV64I
    CONFIG_FPU
    CONFIG_RISCV_ISA_C
    CONFIG_RISCV_ISA_V
    CONFIG_RISCV_ISA_ZBB
    CONFIG_RISCV_ISA_ZICBOM
    CONFIG_RISCV_ISA_ZICBOZ
    CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI

Note: Some ISA options, such as CONFIG_RISCV_ISA_C may be reenabled by other
options such as CONFIG_EFI.  This is properly reported by the configuration
tooling.

(From OE-Core rev: 45a1b5aa6abc9007d0d87efc2d740b5564a209dd)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Daniel Turull
348ef80f27 improve_kernel_cve_report: do not use custom version
When using the version specified in cve-summary.json, we need to
remove the suffix containing the custom version to match the
versions from the CVEs.

This patch truncates the version from cve-summary.json to use only
the base version of the kernel.

This is only applicable for kernels where the user has added their
own version.

(From OE-Core rev: 3942d40e96989268e8d1030f9d8c3859044d9635)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:31 +01:00
Daniel Turull
dac57535d9 improve_kernel_cve_report: do not override backported-patch
If the user has a CVE_STATUS for their own backported patch,
the backport takes priority over upstream vulnerable versions.

(From OE-Core rev: 0beef05be119ea465ba06553a42edea03dfc9fd3)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:30 +01:00
Benjamin Missey
dac5aaa117 kernel-fit-image: fix symbolic link fit-image.its
Bad symbolic link is used for kernel-fit-image. fit-image-its used
instead of fit-image.its.
Fix bad typo.

(From OE-Core rev: 1938864012ed5e9bae274ea1710802d8f4606bb6)

Signed-off-by: Benjamin Missey <benjamin.missey@non.se.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:30 +01:00
Enrico Jörns
de46ad45f6 openssl: add workaround for broken paths in native libcrypto.pc
Since d1b29222 ("openssl-native(sdk): poision built in paths") the
workaround for host path contamination in native(sdk) openssl is fixed.
But an unfortunate side-effect of forcing the directory variables
(OPENSSLDIR, ENGINESDIR, MODULESDIR) to be invalid is that it renders
the generated native pkg-config file (libcrypto.pc) unusable:

  [..]
  includedir=${prefix}/include
  enginesdir=${libdir}/../../../../../../../../../../../../../../../../not/builtin
  modulesdir=${libdir}/../../../../../../../../../../../../../../../../not/builtin

  Name: OpenSSL-libcrypto
  [..]

This will prevent other native tools (like libp11-native) from
installing their (.so) files into valid OpenSSL directories.

The strange paths are a result of OpenSSL's build system attempting to
resolve the dummy path "/not/builtin" relative to ${libdir} for
libcrypto.pc.in:

| enginesdir=${libdir}/{- $OpenSSL::safe::installdata::ENGINESDIR_REL_LIBDIR[0] -}

There doesn't appear to be a straightforward way to avoid embedding a
built-in host path while still generating a valid libcrypto.pc file.

This workaround now post-fixes the .pc files for openssl-native by using
two sed calls to replace the invalid paths with the valid ones.
(To prevent bitbake from early expanding the libdir variables, use a
group as a simple hack.)

(From OE-Core rev: 4d4af8d1cb272369eb4ddcc489e90831c9c2c8c7)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:30 +01:00
Mikko Rapeli
e5e8f2aa0a testexport.bbclass oe-test: capture all tests and data from all layers
testexport.bbclass only copied files from core layer to
the testexport.tar.gz to run tests. Then it filtered
out tests and files which were not specified in
TEST_SUITES variable.

Remove filtering of files to include parselogs.py
test data files which are machine and/or layer specific.
TEST_SUITES variable is now read from build time exported
data store when running tests so there is no need to remove
files from exported tests in testexport.bbclass.

Adapt oe-test script to find "lib" directories from
the new structure with layer specific paths which are
used to find tests and test data files.

(From OE-Core rev: 5c39fedee1dd0e101e2611b71a895c0251ba968d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-10 10:47:30 +01:00
Richard Purdie
458c39ac1f linux-yocto-6.12: Update CVE list for 6.12.36
(From OE-Core rev: 70f8975e142345a11905d6949f2ef4071baa8e77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 09:00:06 +01:00
Richard Purdie
0a9668e192 sanity: Add sanity test for 'bad' gcc installs on ubuntu 24.04
Installing emacs on Ubuntu 24.04 pulls in emacs-gtk which leads to libgcc-14-dev
despite gcc being 13. This breaks libcxx-native and compiler-rt-native builds.
We've tried various ways of addressing this buit they don't work. Instead, detect
this situation and tell the user to either install or remove a package.

(From OE-Core rev: 087b2730bb2446ad5ea98c233e349d2787c17ff1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Bruce Ashfield
1b27784bf7 linux-yocto/6.12: update to v6.12.36
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    df64e51d4ab83 Linux 6.12.36
    2701654671697 spi: fsl-qspi: Fix double cleanup in probe error path
    07836bc18f4ae btrfs: fix use-after-free on inode when scanning root during em shrinking
    5f4863cfb29a7 btrfs: zoned: fix extent range end unlock in cow_file_range()
    f68b27d82a749 spi: fsl-qspi: use devm function instead of driver remove
    442312c2a90d6 net: stmmac: Fix accessing freed irq affinity_hint
    725a59d29adb5 drm/amdkfd: Fix instruction hazard in gfx12 trap handler
    6c7dc7ad867c1 drm/amdkfd: remove gfx 12 trap handler page size cap
    37d28309ee8b9 ALSA: hda/realtek: Bass speaker fixup for ASUS UM5606KA
    4ea0883b5af75 arm64: dts: rockchip: Add avdd HDMI supplies to RockPro64 board dtsi
    1fc00e1451720 riscv/atomic: Do proper sign extension also for unsigned in arch_cmpxchg
    fbbb0e0de97f6 btrfs: do regular iput instead of delayed iput during extent map shrinking
    fef55c4d9c9c2 btrfs: make the extent map shrinker run asynchronously as a work queue job
    c223f378b6956 btrfs: skip inodes without loaded extent maps when shrinking extent maps
    0d087de947bab drm/fbdev-dma: Add shadow buffering for deferred I/O
    8e2dcdf22c8b2 drm/msm/dp: account for widebus and yuv420 during mode validation
    287b9cec2eef6 usb: typec: tcpm: PSSourceOffTimer timeout in PR_Swap enters ERROR_RECOVERY
    ab64e42864c98 drm/xe: Carve out wopcm portion from the stolen memory
    b2d2be772d50d iio: dac: ad3552r-common: fix ad3541/2r ranges
    c890a5b80d1f2 iio: dac: ad3552r: extract common code (no changes in behavior intended)
    0a8ac8f8430db iio: dac: ad3552r: changes to use FIELD_PREP
    10b3772292bf1 btrfs: do proper folio cleanup when cow_file_range() failed
    5d479182d4ccd net: phy: realtek: add RTL8125D-internal PHY
    5eb0b10eea271 net: phy: realtek: merge the drivers for internal NBase-T PHY's
    37cb5967bd251 r8169: add support for RTL8125D
    1f4b030e08391 mm/vma: reset VMA iterator on commit_merge() OOM failure
    560c3b51c799e io_uring/kbuf: flag partial buffer mappings
    c8d152b8c1968 io_uring/net: mark iov as dynamically allocated even for single segments
    b8be3ae062e63 io_uring/net: always use current transfer count for buffer put
    725fcba8bd2e3 io_uring/net: only consider msg_inq if larger than 1
    0c07f2bf49f26 io_uring/net: only retry recv bundle for a full transfer
    399214d70304a io_uring/net: improve recv bundles
    50998b0ae7d9d io_uring/rsrc: don't rely on user vaddr alignment
    53fd75f25b223 io_uring/rsrc: fix folio unpinning
    8b8a366e8cb26 io_uring: fix potential page leak in io_sqe_buffer_register()
    6d56ea133adf0 net: libwx: fix Tx L4 checksum
    c216c235ac1b3 x86/pkeys: Simplify PKRU update in signal frame
    f609cebca1e29 x86/fpu: Refactor xfeature bitmask update code for sigframe XSAVE
    0519b6107583c media: uvcvideo: Rollback non processed entities on error
    8cd7ee9cd7dec drm/amd/display: Fix mpv playback corruption on weston
    5f2e040f19c4d drm/amdgpu: switch job hw_fence to amdgpu_fence
    9cfa2fea2566f drm/amdgpu: Fix SDMA UTC_L1 handling during start/stop sequences
    cc0a3fd781bf8 drm/i915/dsi: Fix off by one in BXT_MIPI_TRANS_VTOTAL
    e5e1996780292 drm/xe: Fix early wedge on GuC load failure
    a6d81b2d7037e drm/xe: Fix taking invalid lock on wedge
    57e044005e9ed drm/xe: Fix memset on iomem
    e881b82f5d3d8 drm/amd/display: Check dce_hwseq before dereferencing it
    593517e5561cb drm/amdgpu: Add kicker device detection
    ba1ffc32bda79 drm/amd/display: Fix RMCM programming seq errors
    57f1ed963cb26 drm/xe/guc_submit: add back fix
    f684192fca915 drm/xe/sched: stop re-submitting signalled jobs
    0bc8ad50f0768 drm/xe/vm: move rebind_work init earlier
    ca8efc6a89716 drm/amd/display: Correct non-OLED pre_T11_delay.
    e2c3133ff4d59 drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram
    4ce9f2dc9ff7c drm/amd/display: Add null pointer check for get_first_active_display()
    b7e273ebb3992 drm/bridge: cdns-dsi: Wait for Clk and Data Lanes to be ready
    88189662ade0b drm/bridge: cdns-dsi: Check return value when getting default PHY config
    40261f044793d drm/bridge: cdns-dsi: Fix connecting to next bridge
    750442b99e0a5 drm/bridge: cdns-dsi: Fix phy de-init and flag it so
    0d11689681d90 drm/bridge: cdns-dsi: Fix the clock variable for mode_valid()
    b681e2a8a7595 drm/amdkfd: Fix race in GWS queue scheduling
    1847ea44e3bdf drm/msm/gpu: Fix crash when throttling GPU immediately during boot
    4da83f06c3ed7 drm/udl: Unregister device before cleaning up on disconnect
    31ac2c680a8ac drm/tegra: Fix a possible null pointer dereference
    7271a32074ebf drm/tegra: Assign plane type before registration
    b464edc12d5bd drm/etnaviv: Protect the scheduler's pending list with its lock
    2dae4a71a1365 drm/cirrus-qemu: Fix pitch programming
    3d379b2a73282 drm/ast: Fix comment on modeset lock
    6a87e794046f5 scsi: ufs: core: Fix clk scaling to be conditional in reset and restore
    19a47c966deb3 scsi: megaraid_sas: Fix invalid node index
    70017f56b1207 HID: wacom: fix kobject reference count leak
    2746d020667ef HID: wacom: fix memory leak on sysfs attribute creation failure
    a85999b987654 HID: wacom: fix memory leak on kobject creation failure
    4b4b639cc50a8 HID: lenovo: Restrict F7/9/11 mode to compact keyboards only
    c465f523333ec f2fs: fix to zero post-eof page
    7b4ac8433c7d6 mm/gup: revert "mm: gup: fix infinite loop within __get_longterm_locked"
    cf95f8426f889 maple_tree: fix MA_STATE_PREALLOC flag in mas_preallocate()
    db0035ec7a6bb net: libwx: fix the creation of page_pool
    74b0b4cf13fc0 spi: spi-cadence-quadspi: Fix pm runtime unbalance
    6c59782898d44 btrfs: update superblock's device bytes_used when dropping chunk
    2088895d59030 btrfs: fix a race between renames and directory logging
    b9f78c36c095c dm-raid: fix variable in journal device check
    5a8400ebc2463 Bluetooth: L2CAP: Fix L2CAP MTU negotiation
    765af231964d6 serial: imx: Restore original RXTL for console to fix data loss
    2b8788496f132 serial: core: restore of_node information in sysfs
    1f6e759907003 dt-bindings: serial: 8250: Make clocks and clock-frequency exclusive
    379cca2ad9da4 staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher()
    2b9052d88de72 x86/traps: Initialize DR6 by writing its architectural reset value
    8ed96d8e0559b EDAC/amd64: Fix size calculation for Non-Power-of-Two DIMMs
    bced02aca3437 cifs: Fix reading into an ITER_FOLIOQ from the smbdirect code
    87dcc7e33fc3d cifs: Fix the smbd_response slab to allow usercopy
    b8ddcca4391ee smb: client: make use of common smbdirect_socket_parameters
    69cafc413c2d8 smb: smbdirect: introduce smbdirect_socket_parameters
    c39639bc77232 smb: client: make use of common smbdirect_socket
    f4b05342c2937 smb: smbdirect: add smbdirect_socket.h
    a6ec1fcafd411 smb: smbdirect: add smbdirect.h with public structures
    6509de31b1b67 smb: client: make use of common smbdirect_pdu.h
    a9bb4006c4f3a smb: smbdirect: add smbdirect_pdu.h with protocol definitions
    7f3ead8ebc0ef smb: client: fix potential deadlock when reconnecting channels
    1b12f8dabbb8f drm/xe: Process deferred GGTT node removals on device unwind
    3549ad85aaf33 drm/bridge: ti-sn65dsi86: Add HPD for DisplayPort connector type
    29a7c0b653162 drm/bridge: ti-sn65dsi86: make use of debugfs_init callback
    18ec560e3e9b4 drm/i915: fix build error some more
    23116bf9a3d04 drm/amd: Adjust output for discovery error handling
    840fe792a1706 drm/amdgpu/discovery: optionally use fw based ip discovery
    104048a4a49e5 net: selftests: fix TCP packet checksum
    3b6a9d35defb4 ALSA: hda/realtek: Fix built-in mic on ASUS VivoBook X507UAR
    ae539d963a174 atm: Release atm_dev_mutex after removing procfs in atm_dev_deregister().
    12bcb7eb0fb96 netlink: specs: tc: replace underscores with dashes in names
    a493e780b53a8 net: enetc: Correct endianness handling in _enetc_rd_reg64
    11b3e07e7d6a2 libbpf: Fix possible use-after-free for externs
    e1f6654f22994 um: ubd: Add missing error check in start_io_thread()
    c6665b8f0f580 bnxt: properly flush XDP redirect lists
    dbcd546400ead vsock/uapi: fix linux/vm_sockets.h userspace compilation errors
    353739da693e7 wifi: mac80211: finish link init before RCU publish
    d383657857385 wifi: mac80211: Create separate links for VLAN interfaces
    a4afc3d522ca0 wifi: mac80211: Add link iteration macro for link data
    949060a62399f af_unix: Don't set -ECONNRESET for consumed OOB skb.
    8d049443f7e5b wifi: mac80211: fix beacon interval calculation overflow
    715f6dbe9bdf6 ethernet: ionic: Fix DMA mapping tests
    5b7d9b26a177a libbpf: Fix null pointer dereference in btf_dump__free on allocation failure
    b10a7953649b1 attach_recursive_mnt(): do not lock the covering tree when sliding something under it
    0ee87c2814deb ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()
    ce23b73f0f27e Bluetooth: hci_core: Fix use-after-free in vhci_flush()
    a07005a77b18a atm: clip: prevent NULL deref in clip_push()
    a4f182ffa30c5 HID: wacom: fix crash in wacom_aes_battery_handler()
    ac758d459642b drm/xe/display: Add check for alloc_ordered_workqueue()
    874b5818ca355 Revert "riscv: misaligned: fix sleeping function called during misaligned access handling"
    fe30c30bf3bb6 Revert "riscv: Define TASK_SIZE_MAX for __access_ok()"
    29d39e0d5f16c lib/group_cpus: fix NULL pointer dereference from group_cpus_evenly()
    93abf5e0d584b fs/proc/task_mmu: fix PAGE_IS_PFNZERO detection for the huge zero folio
    f855b119e62b0 s390/pkey: Prevent overflow in size calculation for memdup_user()
    13e23872a9615 ASoC: amd: yc: Add DMI quirk for Lenovo IdeaPad Slim 5 15
    c5d5b0047b0c0 mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
    f85c7138f786f smb: client: remove \t from TP_printk statements
    59e31c92b3bc4 ata: ahci: Use correct DMI identifier for ASUSPRO-D840SA LPM quirk
    28f0c4c93a1d0 i2c: robotfuzz-osif: disable zero-length read messages
    a4dae6cbd23b0 i2c: tiny-usb: disable zero-length read messages
    61a9ad7b69ce6 af_unix: Don't leave consecutive consumed OOB skbs.
    6420a8d27ef3f accel/ivpu: Trigger device recovery on engine reset/resume failure
    397f3a7402fae accel/ivpu: Add debugfs interface for setting HWS priority bands
    d80302350c32c accel/ivpu: Separate DB ID and CMDQ ID allocations from CMDQ allocation
    fbc93866b0cf0 accel/ivpu: Make command queue ID allocated on XArray
    0c3fa6e8441b1 accel/ivpu: Remove copy engine support
    341de32ea4d6e accel/ivpu: Do not fail on cmdq if failed to allocate preemption buffers
    fe82323201257 PCI: apple: Set only available ports up
    b5939ac40380f PCI: apple: Use helper function for_each_child_of_node_scoped()
    4149f0ee5e085 f2fs: don't over-report free space or inodes in statvfs
    a8795f3cd289c ASoC: codecs: wcd9335: Fix missing free of regulator supplies
    2dc8ebfb69559 ASoC: codec: wcd9335: Convert to GPIO descriptors
    8b69608c6b677 jfs: validate AG parameters in dbMount() to prevent crashes
    4b58be1bc4228 fs/jfs: consolidate sanity checking in dbMount
    f51efc4606e44 btrfs: fix qgroup reservation leak on failure to allocate ordered extent
    4cce1b05eb950 btrfs: use unsigned types for constants defined as bit shifts
    1fe766ddb90cf btrfs: factor out nocow ordered extent and extent map generation into a helper
    7952c4bb50925 Revert "drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1"
    5b930e72aaeaf drm/i915/gem: Allow EXEC_CAPTURE on recoverable contexts on DG1
    bbe9231fe611a btrfs: handle csum tree error with rescue=ibadroots correctly
    04373900864e2 ovl: Check for NULL d_inode() in ovl_dentry_upper()
    ae2353d862eb0 scsi: ufs: core: Don't perform UFS clkscaling during host async scan
    a52f78bc8bb1a ceph: fix possible integer overflow in ceph_zero_objects()
    7d468ca41a159 ASoC: rt1320: fix speaker noise when volume bar is 100%
    1818fc3602e87 ALSA: usb-audio: Add a quirk for Lenovo Thinkpad Thunderbolt 3 dock
    2b331e7b6cc57 ALSA: hda: Add new pci id for AMD GPU display HD audio controller
    c863f7e08f6e5 ALSA: hda: Ignore unsol events for cards being shut down
    1346d12e4658c riscv: add a data fence for CMODX in the kernel mode
    1ef2737432fcc usb: typec: mux: do not return on EOPNOTSUPP in {mux, switch}_set
    10cc2cfd3e5d0 usb: typec: displayport: Receive DP Status Update NAK request exit dp altmode
    cf69fedbb1192 usb: gadget: f_hid: wake up readers on disable/unbind
    43ea23645b16b usb: cdc-wdm: avoid setting WDM_READ for ZLP-s
    53809d38ec364 usb: Add checks for snprintf() calls in usb_alloc_dev()
    4fb6703824793 usb: common: usb-conn-gpio: use a unique name for usb connector device
    685d29f2c5057 tty: serial: uartlite: register uart driver in init
    358d5ba08f160 usb: potential integer overflow in usbg_make_tpg()
    a10c8bff454b1 misc: tps6594-pfsm: Add NULL pointer check in tps6594_pfsm_probe()
    71f79ec25a5a4 iio: adc: ad_sigma_delta: Fix use of uninitialized status_pos
    ba78c2b3254c4 usb: dwc2: also exit clock_gating when stopping udc while suspended
    c7bfbba30fd10 coresight: Only check bottom two claim bits
    a0baf4d78b2be 8250: microchip: pci1xxxx: Add PCIe Hot reset disable support for Rev C0 and later devices
    cf6d532de4423 um: use proper care when taking mmap lock during segfault
    4f95f49d2bd02 um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h
    6795442e6ae57 iio: pressure: zpa2326: Use aligned_s64 for the timestamp
    aefd0a9356251 drm/scheduler: signal scheduled fence when kill job
    777580609d578 drm/amdgpu: seq64 memory unmap uses uninterruptible lock
    667c3f52373ff bcache: fix NULL pointer in cache_set_flush()
    861204dce6ed0 amd/amdkfd: fix a kfd_process ref leak
    3b611834b9386 md/md-bitmap: fix dm-raid max_write_behind setting
    78a4adcd3fedb nvme-tcp: sanitize request list handling
    7b86ce16706b9 nvme-tcp: fix I/O stalls on congested sockets
    519ab9c725db7 PCI: imx6: Add workaround for errata ERR051624
    1d34f7fb7a7e7 PCI: apple: Fix missing OF node reference in apple_pcie_setup_port
    9f0fa01811114 PCI: dwc: Make link training more robust by setting PORT_LOGIC_LINK_WIDTH to one lane
    80fb5c71ae214 dmaengine: xilinx_dma: Set dma_device directions
    98fd66c8ba77e dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using
    6298a28a2c2ad rust: arm: fix unknown (to Clang) argument '-mno-fdpic'
    58364e74070bf rust: module: place cleanup_module() in .exit.text section
    229aa5b810e0b ksmbd: provide zero as a unique ID to the Mac client
    0fce0027a56a2 ksmbd: allow a filename to contain special characters on SMB3.1.1 posix extension
    2414d3452ae6d hwmon: (pmbus/max34440) Fix support for max34451
    9453ce2dd672b NFSv4: xattr handlers should check for absent nfs filehandles
    b3dc5c735a754 cxl/region: Add a dev_err() on missing target list entries
    3a0f33c420c5f fuse: fix race between concurrent setattrs from multiple nodes
    dcd5b32139cd6 leds: multicolor: Fix intensity setting while SW blinking
    77da618098531 dm vdo indexer: don't read request structure after enqueuing
    5fc29fb747a11 sunrpc: don't immediately retransmit on seqno miss
    b9c7bc45ead8c mfd: max14577: Fix wakeup source leaks on device unbind
    8a997e1ab550f mailbox: Not protect module_put with spin_lock_irqsave
    7dd032d124056 NFSv4.2: fix setattr caching of TIME_[MODIFY|ACCESS]_SET when timestamps are delegated
    871d1d7f374e7 NFSv4.2: fix listxattr to return selinux security label
    605daf6ae663e NFSv4: Always set NLINK even if the server doesn't support it
    61dd1dcf0549f cifs: Fix encoding of SMB1 Session Setup NTLMSSP Request in non-UNICODE mode
    ef4b3a7bf95bb cifs: Fix cifs_query_path_info() for Windows NT servers
    f80fdf48b80c2 cifs: Correctly set SMB1 SessionKey field in Session Setup Request
    783cd2c3dca8b Linux 6.12.35
    da70cb95b8b56 bpftool: Fix cgroup command to only show cgroup bpf programs
    f4d483852a455 cifs: Remove duplicate fattr->cf_dtype assignment from wsl_to_fattr() function
    fddf20b3341d8 gpio: mlxbf3: only get IRQ for device instance 0
    b99cf44daacfd perf test: Directory file descriptor leak
    e6386adcb435e perf evsel: Missed close() when probing hybrid core PMUs
    1afda9f2bd854 gpio: pca953x: fix wrong error probe return value
    ca1f9cc89ca94 RISC-V: KVM: Don't treat SBI HFENCE calls as NOPs
    ee85e957f6d74 RISC-V: KVM: Fix the size parameter check in SBI SFENCE calls
    38cd10628252f scsi: elx: efct: Fix memory leak in efct_hw_parse_filter()
    22f935bc86bdf arm64/ptrace: Fix stack-out-of-bounds read in regs_get_kernel_stack_nth()
    fd199366bf386 perf/core: Fix WARN in perf_cgroup_switch()
    7335c33d621fd perf: Fix cgroup state vs ERROR
    456019adaa2f5 perf: Fix sample vs do_exit()
    989c77a3dec8b s390/pci: Fix __pcilg_mio_inuser() inline assembly
    8ae7814589d7b smb: client: fix max_sge overflow in smb_extract_folioq_to_rdma()
    e27cb3ac5a83e smb: client: fix first command failure during re-negotiation
    977b7cc77852d serial: sh-sci: Increment the runtime usage counter for the earlycon device
    966dbf35e36f8 serial: sh-sci: Clean sci_ports[0] after at earlycon exit
    43f26094d6702 smb: Log an error when close_all_cached_dirs fails
    a5b7c237ea36c dt-bindings: i2c: nvidia,tegra20-i2c: Specify the required properties
    031d274c7bc2f EDAC/amd64: Correct number of UMCs for family 19h models 70h-7fh
    5fe1b23a2f87f net: atm: fix /proc/net/atm/lec handling
    f4d80b16ecc42 net: atm: add lec_mutex
    b4603bf956c42 mlxbf_gige: return EPROBE_DEFER if PHY IRQ is not available
    988edde4d52d5 calipso: Fix null-ptr-deref in calipso_req_{set,del}attr().
    929544ba3c35a drm/xe/bmg: Update Wa_16023588340
    d42b44736ea29 drm/xe/gt: Update handling of xe_force_wake_get return
    abf32d8fa1032 drm/xe: Wire up device shutdown handler
    0f8df5d6f25ac ublk: santizize the arguments from userspace when adding a device
    41017bd66c533 net: lan743x: fix potential out-of-bounds write in lan743x_ptp_io_event_clock_get()
    670179265ad78 eth: fbnic: avoid double free when failing to DMA-map FW msg
    31d50dfe9c602 tcp: fix passive TFO socket having invalid NAPI ID
    0d3d91c3500f0 tipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer
    397c1faf8fde7 tcp: fix tcp_packet_delayed() for tcp_is_non_sack_preventing_reopen() behavior
    e996507f59610 atm: atmtcp: Free invalid length skb in atmtcp_c_send().
    517bc6836ee9f mpls: Use rcu_dereference_rtnl() in mpls_route_input_rcu().
    301268dbaac8e wifi: carl9170: do not ping device which has failed to load firmware
    61b39e189d5c9 ptp: allow reading of currently dialed frequency to succeed on free-running clocks
    11e25a2b5d36e ptp: fix breakage after ptp_vclock_in_use() rework
    1f755ba8abdc4 bnxt_en: Update MRU and RSS table of RSS contexts on queue reset
    672b9d85bdd2b bnxt_en: Add a helper function to configure MRU and RSS
    e1724f0769343 eth: bnxt: fix out-of-range access of vnic_info array
    6f2cd30949292 bnxt_en: Fix double invocation of bnxt_ulp_stop()/bnxt_ulp_start()
    ac462a75fd38e net: netmem: fix skb_ensure_writable with unreadable skbs
    3890da762a661 ksmbd: add free_transport ops in ksmbd connection
    8873080b88514 workqueue: Initialize wq_isolated_cpumask in workqueue_init_early()
    b268e43012ef3 e1000e: set fixed clock frequency indication for Nahum 11 and Nahum 13
    d6715193de439 ice: fix eswitch code memory leak in reset scenario
    cbea0cace663d net: ice: Perform accurate aRFS flow match
    6b358b3adfb9b io_uring/sqpoll: don't put task_struct on tctx setup failure
    fa2a79f0da926 aoe: clean device rq_list in aoedev_downdev()
    35d78d9eb58d5 pldmfw: Select CRC32 when PLDMFW is selected
    fddf0d0d6cc92 hwmon: (ltc4282) avoid repeated register write
    6869a79da2791 hwmon: (occ) fix unaligned accesses
    bf41b962bd0e2 hwmon: (occ) Rework attribute registration for stack usage
    fcc95344aa1c4 drm/i915/pmu: Fix build error with GCOV and AutoFDO enabled
    880902675299a drm/nouveau/bl: increase buffer size to avoid truncate warning
    114370b2717b0 ionic: Prevent driver/fw getting out of sync on devcmd(s)
    9216ca340bf6c drm/ssd130x: fix ssd132x_clear_screen() columns
    8a1f52651dd82 drm/msm/a7xx: Call CP_RESET_CONTEXT_STATE
    0c76d70fc3fd5 drm/msm: Fix CP_RESET_CONTEXT_STATE bitfield names
    64fe4cd99515d drm/msm/dsi/dsi_phy_10nm: Fix missing initial VCO rate
    1bb894c1608cf drm/msm/disp: Correct porch timing for SDM845
    9411a9909e9da smb: fix secondary channel creation issue with kerberos by populating hostname when adding channels
    3c44ebad5aed3 ipv6: replace ipcm6_init calls with ipcm6_init_sk
    348e541fef1d4 ipv6: remove leftover ip6 cookie initializer
    c426f8c4ac47e x86/tools: Drop duplicate unlikely() definition in insn_decoder_test.c
    b8abcba6e4aec Kunit to check the longest symbol length
    c886784000934 drm/v3d: Avoid NULL pointer dereference in `v3d_job_update_stats()`
    353e75b55e583 sunrpc: handle SVC_GARBAGE during svc auth processing as auth error
    0174154fafaf2 nfsd: use threads array as-is in netlink interface
    50189d9c5eb5c erofs: remove unused trace event erofs_destroy_inode
    251629918451c bpf: Fix L4 csum update on IPv6 in CHECKSUM_COMPLETE
    dc5f0aef9ebdf net: Fix checksum update for ILA adj-transport
    60d8db49ef143 rust: compile libcore with edition 2024 for 1.87+
    1814e71a4e9c2 kbuild: rust: add rustc-min-version support function
    cef081c8231b5 drm/amdgpu: read back register after written for VCN v4.0.5
    9cf5b2a3b72c2 mm/hugetlb: unshare page tables during VMA split, not before
    5cfc95dc2f018 iio: accel: fxls8962af: Fix temperature calculation
    d488691a4a8c0 ALSA: hda/realtek: Add quirk for Asus GU605C
    b09323c6e8f2e ALSA: hda/realtek: Fix built-in mic on ASUS VivoBook X513EA
    9ef0b695a9d12 ALSA: hda/realtek: enable headset mic on Latitude 5420 Rugged
    96fe253552c26 ALSA: hda/realtek - Add mute LED support for HP Victus 16-s1xxx and HP Victus 15-fa1xxx
    cb078e238054c ALSA: hda/intel: Add Thinkpad E15 to PM deny list
    c4f7e90e66b6d ALSA: usb-audio: Rename ALSA kcontrol PCM and PCM1 for the KTMicro sound card
    47f34289d1006 arm64: Restrict pagetable teardown to avoid false warning
    60606efbf5258 wifi: cfg80211: init wiphy_work before allocating rfkill fails
    a69a594794fca wifi: ath12k: Clear affinity hint before calling ath12k_pci_free_irq() in error path
    f6ac7d68bbde9 Input: sparcspkr - avoid unannotated fall-through
    82b6dfff0d600 cpufreq/amd-pstate: Add missing NULL ptr check in amd_pstate_update
    44b25cc82574e wifi: rtw89: phy: add dummy C2H event handler for report of TAS power
    3d828519bd69b atm: Revert atm_account_tx() if copy_from_iter_full() fails.
    57ec0818698c7 sched_ext, sched/core: Don't call scx_group_set_weight() prematurely from sched_create_group()
    6e7a2d38816d1 platform/x86/intel-uncore-freq: Fail module load when plat_info is NULL
    870dd7e7840cd selinux: fix selinux_xfrm_alloc_user() to set correct ctx_len
    ff67d178c64de platform/x86: ideapad-laptop: use usleep_range() for EC polling
    1193486dffb74 ksmbd: fix null pointer dereference in destroy_previous_session
    2cb89aef981ef selftests/x86: Add a test to detect infinite SIGTRAP handler loop
    47bf9d03a969d x86/virt/tdx: Avoid indirect calls to TDX assembly functions
    5ec6148cb8378 udmabuf: use sgtable-based scatterlist wrappers
    510a29d776990 mm: close theoretical race where stale TLB entries could linger
    2a3ad42a57b43 net: clear the dst when changing skb protocol
    f9b97d466e602 net_sched: sch_sfq: reject invalid perturb period
    4220cc0b98c9d nvme: always punt polled uring_cmd end_io work to task_work
    c455ae2ce09ce scsi: s390: zfcp: Ensure synchronous unit_add
    dba20f641872f scsi: storvsc: Increase the timeouts to storvsc_timeout
    3a83a904bf9a2 smb: improve directory cache reuse for readdir operations
    2c34f1e095a12 cifs: do not disable interface polling on failure
    3b2bec886f554 cifs: serialize other channels when query server interfaces is pending
    b735c8dfbf5ce cifs: deal with the channel loading lag while picking channels
    d1b81776f337a jffs2: check jffs2_prealloc_raw_node_refs() result in few other places
    da12ef7e19048 jffs2: check that raw node were preallocated before writing summary
    985f086f281b7 LoongArch: Fix panic caused by NULL-PMD in huge_pte_offset()
    d46f8f1ede200 LoongArch: Avoid using $r0/$r1 as "mask" for csrxchg
    c7a6bd2019e73 LoongArch: vDSO: Correctly use asm parameters in syscall wrappers
    ec401f84e78e0 platform/loongarch: laptop: Add backlight power control support
    141523e6fd5e7 platform/loongarch: laptop: Unregister generic_sub_drivers on exit
    30cfeebdadd3c platform/loongarch: laptop: Get brightness setting from EC on probe
    1cce6ac47f4a2 drivers/rapidio/rio_cm.c: prevent possible heap overwrite
    1a4254ab06740 io_uring: fix task leak issue in io_wq_create()
    2e10dc9c2a87e io_uring/kbuf: don't truncate end buffer for multiple buffer peeks
    50452fe7caf0c powerpc/eeh: Fix missing PE bridge reconfiguration during VFIO EEH recovery
    7518ef0f79b57 powerpc/vdso: Fix build of VDSO32 with pcrel
    5807588a54abb platform/x86: dell_rbu: Stop overwriting data buffer
    4d71f2c1e5263 platform/x86: dell_rbu: Fix list usage
    78f8e25442825 platform/x86/amd: pmf: Prevent amd_pmf_tee_deinit() from running twice
    c4972e77236c0 platform/x86/amd: pmc: Clear metrics table at start of cycle
    7c41f73b64baa fs/xattr.c: fix simple_xattr_list()
    311389a799d1b Revert "bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first"
    7109ae53f971b tee: Prevent size calculation wraparound on 32-bit kernels
    69e888cbae9fc ARM: OMAP2+: Fix l4ls clk domain handling in STANDBY
    d9ab5bad38136 bus: fsl-mc: increase MC_CMD_COMPLETION_TIMEOUT_MS value
    a1a63a270e438 watchdog: da9052_wdt: respect TWDMIN
    f28f1f578cd81 fbcon: Make sure modelist not set on unregistered console
    4930ac3bc0368 net/mlx5: HWS, Harden IP version definer checks
    4752355037ea7 wifi: ath12k: Pass correct values of center freq1 and center freq2 for 160 MHz
    11127b08210bc wifi: ath12k: fix incorrect CE addresses
    edbfb9752ede0 wifi: ath12k: fix link valid field initialization in the monitor Rx
    f9eee822b4205 wifi: ath11k: determine PM policy based on machine model
    21b5d9a2b63da octeontx2-pf: Add error log forcn10k_map_unmap_rq_policer()
    2bd434bb0eeb6 net: ethernet: cortina: Use TOE/TSO on all TCP
    b8b4b8bb346a8 bpf, sockmap: Fix data lost during EAGAIN retries
    a58f0a0e99139 f2fs: fix to set atomic write status more clear
    3d2fdb77cea5a usbnet: asix AX88772: leave the carrier control to phylink
    7a08a9d6f5575 ice: fix check for existing switch rule
    94bf4146af0f6 RDMA/hns: initialize db in update_srq_db()
    098983de3f692 ixgbe: Fix unreachable retry logic in combined and byte I2C write functions
    3502dd42f178d i40e: fix MMIO write access to an invalid page in i40e_clear_hw
    b7129ef57d967 sock: Correct error checking condition for (assign|release)_proto_idx()
    2f63bf0d2b146 scsi: lpfc: Use memcpy() for BIOS version
    41afa1abc1cd1 wifi: ath12k: fix failed to set mhi state error during reboot with hardware grouping
    d728dfafc10a9 pinctrl: mcp23s08: Reset all pins to input at probe
    7e73f517ca7ef isofs: fix Y2038 and Y2156 issues in Rock Ridge TF entry
    4b3383110b6df software node: Correct a OOB check in software_node_get_reference_args()
    d589b45b7ca62 net: ethernet: ti: am65-cpsw: handle -EPROBE_DEFER
    f66971c608c49 wifi: ath12k: using msdu end descriptor to check for rx multicast packets
    9f20f96511657 bnxt_en: Remove unused field "ref_count" in struct bnxt_ulp
    1baee1365c631 vxlan: Do not treat dst cache initialization errors as fatal
    78f768e36c065 net: bridge: mcast: re-implement br_multicast_{enable, disable}_port functions
    23d336e8a28b8 net: bridge: mcast: update multicast contex when vlan state is changed
    0388a85971245 wifi: iwlwifi: Add missing MODULE_FIRMWARE for Qu-c0-jf-b0
    2112fba7b7799 Revert "mac80211: Dynamically set CoDel parameters per station"
    e0e8f580d5ce9 wifi: mac80211: VLAN traffic in multicast path
    448dc45eeacd3 bpf: Use proper type to calculate bpf_raw_tp_null_args.mask index
    b562ceee43c0a net/mlx5: HWS, Fix IP version decision
    4e42f355c5105 netdevsim: Mark NAPI ID on skb in nsim_rcv
    606b577368a2b wifi: mac80211_hwsim: Prevent tsf from setting if beacon is disabled
    f92312f6dd070 wifi: rtw89: 8922a: fix TX fail with wrong VCO setting
    aa3e56caf6f22 wifi: iwlwifi: pcie: make sure to lock rxq->read
    91ef6a152768b iommu/amd: Ensure GA log notifier callbacks finish running before module unload
    57a85eb125656 scsi: smartpqi: Add new PCI IDs
    ab3f6cf370a38 scsi: lpfc: Fix lpfc_check_sli_ndlp() handling for GEN_REQUEST64 commands
    d003ff1f0a32e libbpf: Add identical pointer detection to btf_dedup_is_equiv()
    0ab3de047808f netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
    f0023d7a2a869 f2fs: fix to bail out in get_new_segment()
    85d6986da04ef wifi: iwlwifi: mvm: fix beacon CCK flag
    ff38cf0bd888f hid-asus: check ROG Ally MCU version and warn
    6f84ec0a5ac7e clk: rockchip: rk3036: mark ddrphy as critical
    4c43d2c649269 wifi: mac80211: do not offer a mesh path if forwarding is disabled
    bc4abf1f2fb0e wireless: purelifi: plfxlc: fix memory leak in plfxlc_usb_wreq_asyn()
    07693edecfa13 net: vertexcom: mse102x: Return code for mse102x_rx_pkt_spi
    4d19bf267430a net: mlx4: add SOF_TIMESTAMPING_TX_SOFTWARE flag when getting ts info
    2cd2022c38fa2 pinctrl: armada-37xx: propagate error from armada_37xx_gpio_get()
    ddead1832f0ac libbpf: Check bpf_map_skeleton link for NULL
    133f17922b3db pinctrl: armada-37xx: propagate error from armada_37xx_pmx_gpio_set_direction()
    b241b5fde0ef0 net: stmmac: generate software timestamp just before the doorbell
    8fdf2f79ebf06 bpf: Pass the same orig_call value to trampoline functions
    aefe45843ea66 pinctrl: armada-37xx: propagate error from armada_37xx_gpio_get_direction()
    461d5a73ae45f pinctrl: armada-37xx: propagate error from armada_37xx_pmx_set_by_name()
    01ed9a06e5909 net: atlantic: generate software timestamp just before the doorbell
    8b0741b167c6e xfrm: validate assignment of maximal possible SEQ number
    5eb9c50e0c6d3 net: page_pool: Don't recycle into cache on PREEMPT_RT
    3a9e74d158a97 ipv4/route: Use this_cpu_inc() for stats on PREEMPT_RT
    dc5de5bd6deab x86/sgx: Prevent attempts to reclaim poisoned pages
    84c156a351459 tcp: add receive queue awareness in tcp_rcv_space_adjust()
    89b20c406ea1a tcp: fix initial tp->rcvq_space.space value for passive TS enabled flows
    f97085d365eae tcp: remove zero TCP TS samples for autotuning
    0a8446058c6e3 tcp: always seek for minimal rtt in tcp_rcv_rtt_update()
    72b03d8abcd23 wifi: rtw89: leave idle mode when setting WEP encryption for AP mode
    3cb5d934e074d iommu/amd: Allow matching ACPI HID devices without matching UIDs
    847f414bf9812 wifi: ath11k: Fix QMI memory reuse logic
    4585e37d0846e wifi: ath12k: fix a possible dead lock caused by ab->base_lock
    fd1bf3985d4a9 wifi: ath12k: fix macro definition HAL_RX_MSDU_PKT_LENGTH_GET
    7c6b9f6a53357 net: dlink: add synchronization for stats update
    a856d71fbb5f5 clk: qcom: gcc-x1e80100: Set FORCE MEM CORE for UFS clocks
    cb8484d1ba71c i2c: npcm: Add clock toggle recovery
    75a864f21ceeb i2c: tegra: check msg length in SMBUS block read
    77ff6aec7c319 cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs
    45251bcfe031d libbpf/btf: Fix string handling to support multi-split BTF
    ec7d08ad9a00e sctp: Do not wake readers in __sctp_write_space()
    cba1b82bdc992 wifi: mac80211: validate SCAN_FLAG_AP in scan request during MLO
    84feb629fc10b wifi: mt76: mt7925: introduce thermal protection
    7f622bb3b5bc8 wifi: mt76: mt7921: add 160 MHz AP for mt7922 device
    e7a18650568a4 wifi: mt76: mt76x2: Add support for LiteOn WN4516R,WN4519R
    b5e792c206d2a Bluetooth: btusb: Add new VID/PID 13d3/3630 for MT7925
    57cfe4a06d25f emulex/benet: correct command version selection in be_cmd_get_stats()
    d4b93f9c2f666 wifi: mt76: mt7996: drop fragments with multicast or broadcast RA
    4d56803464991 i2c: designware: Invoke runtime suspend on quick slave re-registration
    0cc5c7c14fbbf Bluetooth: btusb: Add new VID/PID 13d3/3584 for MT7922
    2d834477bbc1e bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()
    b0e647442c08b f2fs: use vmalloc instead of kvmalloc in .init_{,de}compress_ctx
    6c1151d53ca73 tipc: use kfree_sensitive() for aead cleanup
    51318d644c993 net: lan743x: Modify the EEPROM and OTP size for PCI1xxxx devices
    2d15f5e448eff net: macb: Check return value of dma_set_mask_and_coherent()
    e8cd4a8d5b885 ACPI: battery: negate current when discharging
    05713a9fc20a0 power: supply: max17040: adjust thermal channel scaling
    1f152ae557d6d PM: runtime: fix denying of auto suspend in pm_suspend_timer_fn()
    c519f81e9c08a gpiolib: of: Add polarity quirk for s5m8767
    8975b40c07502 Make 'cc-option' work correctly for the -Wno-xyzzy pattern
    bf6a433b884fe ASoC: tegra210_ahub: Add check to of_device_get_match_data()
    f34e0c15561d8 platform-msi: Add msi_remove_device_irq_domain() in platform_device_msi_free_irqs_all()
    9281360d1c9a0 ACPICA: utilities: Fix overflow check in vsnprintf()
    33cd650d38e49 pmdomain: core: Reset genpd->states to avoid freeing invalid data
    02de16babe53c power: supply: bq27xxx: Retrieve again when busy
    bc51712997e70 ALSA: hda: cs35l41: Fix swapped l/r audio channels for Acer Helios laptops
    7efa7856f460a ACPICA: Apply pack(1) to union aml_resource
    198c2dab022e5 ACPICA: fix acpi parse and parseext cache leaks
    66613b13cde9d ACPI: Add missing prototype for non CONFIG_SUSPEND/CONFIG_X86 case
    b01a29a80cca2 ACPI: bus: Bail out if acpi_kobj registration fails
    7fe1b9381b03d ASoC: intel/sdw_utils: Assign initial value in asoc_sdw_rt_amp_spk_rtd_init()
    c0a6053f90425 ASoC: tas2770: Power cycle amp on ISENSE/VSENSE change
    c05aba32a9ad9 ACPICA: Avoid sequence overread in call to strncmp()
    ddec63e2dd496 mmc: Add quirk to disable DDR50 tuning
    0cd0ef0a0a98b power: supply: collie: Fix wakeup source leaks on device unbind
    7b45d2401d9b9 clocksource: Fix the CPUs' choice in the watchdog per CPU verification
    6cd75d8f0b5b2 ASoC: amd: yc: Add quirk for Lenovo Yoga Pro 7 14ASP9
    76d3716815588 ACPICA: fix acpi operand cache leak in dswstate.c
    0c81bcc14bd6a iio: adc: ad7606_spi: fix reg write value mask
    399e325f3f0fc iio: adc: ti-ads1298: Kconfig: add kfifo dependency to fix module build
    aaa25db0b8a35 iio: adc: ad7944: mask high bits on direct read
    ea66a9effa485 iio: imu: inv_icm42600: Fix temperature calculation
    034a52b5ef57c mm/hugetlb: fix huge_pmd_unshare() vs GUP-fast race
    acbe1597e358a dummycon: Trigger redraw when switching consoles with deferred takeover
    de72e0a13e0f2 accel/ivpu: Fix warning in ivpu_gem_bo_free()
    d2551a6178049 accel/ivpu: Use dma_resv_lock() instead of a custom mutex
    954b19010691f accel/ivpu: Use firmware names from upstream repo
    648f1d5446dde accel/ivpu: Improve buffer object logging
    2facd42665949 iio: accel: fxls8962af: Fix temperature scan element sign
    ae3c4187640c3 PCI: dw-rockchip: Fix PHY function call sequence in rockchip_pcie_phy_deinit()
    0835fbe0d1182 PCI: dw-rockchip: Remove PCIE_L0S_ENTRY check from rockchip_pcie_link_up()
    be0cf75cbd37f PCI: Fix lock symmetry in pci_slot_unlock()
    b20701d594d10 PCI: Add ACS quirk for Loongson PCIe
    68e58f5791214 PCI: dwc: ep: Correct PBA offset in .set_msix() callback
    523815857b1e7 PCI: cadence-ep: Correct PBA offset in .set_msix() callback
    bf1299797c3c4 uio_hv_generic: Align ring size to system page
    157b0827d7f04 uio_hv_generic: Use correct size for interrupt and monitor pages
    704cd2f207420 Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary
    a9e916fa5c7d0 smb: client: add NULL check in automount_fullpath
    dba032110b231 cifs: dns resolution is needed only for primary channel
    e2328267d00af cifs: update dstaddr whenever channel iface is updated
    180079e4da0a6 cifs: reset connections for all channels when reconnect requested
    30b031c0bd4fe remoteproc: k3-m4: Don't assert reset in detach routine
    f4ef928ca504c remoteproc: core: Release rproc->clean_table after rproc_attach() fails
    92776ca0ccfe7 remoteproc: core: Cleanup acquired resources when rproc_handle_resources() fails in rproc_attach()
    20462b6111a39 regulator: max14577: Add error check for max14577_read_reg()
    ec5f0b44125c0 ovl: Fix nested backing file paths
    6dbda47fe8bd6 mips: Add -std= flag specified in KBUILD_CFLAGS to vdso CFLAGS
    bf1605e2eaaa1 staging: iio: ad5933: Correct settling cycles encoding per datasheet
    4df6f2a167bbc pwm: axi-pwmgen: fix missing separate external clock
    5c70e3ad85d28 video: screen_info: Relocate framebuffers behind PCI bridges
    337bf0bbb0425 sysfb: Fix screen_info type check for VGA
    ce4ef0274cb66 KVM: s390: rename PROT_NONE to PROT_TYPE_DUMMY
    4da7fcc098218 net: ch9200: fix uninitialised access during mii_nway_restart
    5572d21a72bb0 phy: fsl-imx8mq-usb: fix phy_tx_vboost_level_from_property()
    f2986bccf250f dm: lock limits when reading them
    8e89c17dc8970 ftrace: Fix UAF when lookup kallsym after ftrace disabled
    d6bf5ad1a5e30 mtd: rawnand: qcom: Fix read len for onfi param page
    e3cf1ef5717e2 dm-verity: fix a memory leak if some arguments are specified multiple times
    e93624e6458df dm-mirror: fix a tiny race condition
    a9a76d58ba587 KVM: VMX: Flush shadow VMCS on emergency reboot
    264edbfc3ba16 KVM: SVM: Clear current_vmcb during vCPU free for all *possible* CPUs
    850931ba01c88 mtd: nand: sunxi: Add randomizer configuration before randomizer enable
    bb2c7c5e30a13 mtd: rawnand: sunxi: Add randomizer configuration in sunxi_nfc_hw_ecc_write_chunk
    462eee6d42485 firmware: arm_scmi: Ensure that the message-id supports fastchannel
    015f04ac884a4 configfs-tsm-report: Fix NULL dereference of tsm_ops
    a8ec526969cf2 soc: qcom: pmic_glink_altmode: fix spurious DP hotplug events
    02137179ffc92 mm: fix ratelimit_pages update error in dirty_ratio_handler()
    764c9f69beabe RDMA/iwcm: Fix use-after-free of work objects after cm_id destruction
    f16a797dce66e watchdog: fix watchdog may detect false positive of softlockup
    68c173ea138b6 ipc: fix to protect IPCS lookups using RCU
    9f019fcb73661 clk: meson-g12a: add missing fclk_div2 to spicc
    1aa41444c5105 parisc: fix building with gcc-15
    f20fd54af4e10 vgacon: Add check for vc_origin address range in vgacon_scroll()
    8d0645b59b19d parisc/unaligned: Fix hex output to show 8 hex chars
    b3071bb463ea1 fbdev: Fix fb_set_var to prevent null-ptr-deref in fb_videomode_to_var
    4904bd82673b5 EDAC/altera: Use correct write width with the INTTEST register
    3f2098f4fba77 fbdev: Fix do_register_framebuffer to prevent null-ptr-deref in fb_videomode_to_var
    fb5873b779dd5 iommu/vt-d: Restore context entry setup order for aliased devices
    81c64c2f84ab5 net: ftgmac100: select FIXED_PHY
    8a008c89e5e5c net/sched: fix use-after-free in taprio_dev_notifier
    55c3dbd838963 NFC: nci: uart: Set tty->disc_data only in success path
    83e2ba8971ccd hwmon: (ftsteutates) Fix TOCTOU race in fts_read()
    ee1b421c46987 f2fs: fix to do sanity check on sit_bitmap_size
    aaa644e7ffff0 f2fs: prevent kernel warning due to negative i_nlink from corrupted image
    fed611bd8c7b7 f2fs: fix to do sanity check on ino and xnid
    a0b1c91ada45b Input: gpio-keys - fix possible concurrent access in gpio_keys_irq_timer()
    5a8cd6ae8393e Input: ims-pcu - check record size in ims_pcu_flash_firmware()
    be5f3061a6f90 ext4: only dirty folios when data journaling regular files
    4b36399711c43 ext4: ensure i_size is smaller than maxbytes
    b841ca8c8fa93 ext4: factor out ext4_get_maxbytes()
    796632e6f8298 ext4: fix calculation of credits for extent tree modification
    5766da2237e53 ext4: inline: fix len overflow in ext4_prepare_inline_data
    63e50525b5ab3 bus: fsl-mc: fix GET/SET_TAILDROP command ids
    2de74c25e7522 bus: fsl-mc: do not add a device-link for the UAPI used DPMCP device
    4d0686b53cc93 ata: ahci: Disallow LPM for Asus B550-F motherboard
    cf4f7511f8385 ata: ahci: Disallow LPM for ASUSPRO-D840SA motherboard
    947f9304d3c87 ata: pata_via: Force PIO for ATAPI devices on VT6415/VT6330
    a0890b7805d24 bus: firewall: Fix missing static inline annotations for stubs
    1c71f3cf5f91b cgroup,freezer: fix incomplete freezing when attaching tasks
    5d555f17d18bd ceph: set superblock s_magic for IMA fsmagic matching
    75583606aeef3 ceph: avoid kernel BUG for encrypted inode with unaligned file size
    04e93f75b1e57 can: tcan4x5x: fix power regulator retrieval during probe
    d8a054b6e6824 can: kvaser_pciefd: refine error prone echo_skb_max handling logic
    896bbceebf99d bus: mhi: host: Fix conflict between power_up and SYSERR
    f704a80d9fa26 bus: mhi: ep: Update read pointer only after buffer is written
    943801c380059 block: Clear BIO_EMULATES_ZONE_APPEND flag on BIO completion
    5538af384318b block: use plug request list tail for one-shot backmerge attempt
    6e1276195f176 ASoC: codecs: wcd937x: Drop unused buck_supply
    c8228b5f3d74f ASoC: codecs: wcd9375: Fix double free of regulator supplies
    5626fefb46aef ARM: omap: pmic-cpcap: do not mess around without CPCAP or OMAP4
    1c40263443109 ARM: 9447/1: arm/memremap: fix arch_memremap_can_ram_remap()
    86d9837e46c09 arm64/mm: Close theoretical race where stale TLB entry remains valid
    aac91ae06c473 media: uvcvideo: Fix deferred probing error
    6d2b12e7c5216 media: uvcvideo: Send control events for partial succeeds
    b52dc88361299 media: uvcvideo: Return the number of processed controls
    0ee9469f818a0 media: imx-jpeg: Cleanup after an allocation error
    9df9d453651e7 media: imx-jpeg: Reset slot data pointers when freed
    c8332e6a0ba52 media: imx-jpeg: Move mxc_jpeg_free_slot_data() ahead
    314893d15a898 media: imx-jpeg: Drop the first error frames
    00da1c767a656 media: vivid: Change the siize of the composing
    72541cae73d08 media: vidtv: Terminating the subsequent process of initialization failure
    5d8b057ed735c media: videobuf2: use sgtable-based scatterlist wrappers
    742c60333bef5 media: venus: Fix probe error handling
    2429bb9fad88c media: v4l2-dev: fix error handling in __video_register_device()
    63ea94aa72e4d media: omap3isp: use sgtable-based scatterlist wrappers
    f3033169d1474 media: mediatek: vcodec: Correct vsi_core framebuffer size
    831b460e923aa media: ipu6: Remove workaround for Meteor Lake ES2
    a2d4fdef06669 media: intel/ipu6: Fix dma mask for non-secure mode
    2a2bd7df402de media: imagination: fix a potential memory leak in e5010_probe()
    1f78790d988c9 media: i2c: imx335: Fix frame size enumeration
    5ae9ff1ee2be8 media: gspca: Add error handling for stv06xx_read_sensor()
    ca43a9386c0b5 media: davinci: vpif: Fix memory leak in probe error path
    9bff888c92f5c media: cxusb: no longer judge rbuf when the write fails
    c89339591b324 media: ccs-pll: Check for too high VT PLL multiplier in dual PLL case
    dc723f6c8d8d5 media: ccs-pll: Correct the upper limit of maximum op_pre_pll_clk_div
    e251f4fe65808 media: ccs-pll: Start OP pre-PLL multiplier search from correct value
    6216c67c90e24 media: ov2740: Move pm-runtime cleanup on probe-errors to proper place
    d0e6032ee06f0 media: ccs-pll: Start VT pre-PLL multiplier search from correct value
    eda32d4432357 media: i2c: ds90ub913: Fix returned fmt from .set_fmt()
    fb50ee19aa69f media: nxp: imx8-isi: better handle the m2m usage_count
    b93864e0865f2 media: imx335: Use correct register width for HNUM
    2f4c2c6bde6e6 media: ov5675: suppress probe deferral errors
    ceb901f795718 media: ov8856: suppress probe deferral errors
    ac93035040672 wifi: rtlwifi: disable ASPM for RTL8723BE with subsystem ID 11ad:1723
    b88447ce11eb5 wifi: rtw88: usb: Reduce control message timeout to 500 ms
    cb3cba0ec372f svcrdma: Unregister the device if svc_rdma_accept() fails
    f78b38af3540b jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata()
    d35e6c3616b6f wifi: ath12k: fix ring-buffer corruption
    5bf0b9eeb0174 fs/nfs/read: fix double-unlock bug in nfs_return_empty_folio()
    95c4322c2a7e9 NFSv4: Don't check for OPEN feature support in v4.1
    c08e00a416a8c SUNRPC: Prevent hang on NFS mount with xprtsec=[m]tls
    d622c2ee6c081 nfsd: Initialize ssc before laundromat_work to prevent NULL dereference
    7a75a956692aa nfsd: nfsd4_spo_must_allow() must check this is a v4 compound request
    07862d4f7c357 NFSD: Implement FATTR4_CLONE_BLKSIZE attribute
    2029ca75cdfa6 NFSD: fix race between nfsd registration and exports_proc
    3f3eb3c3420d4 NFSD: unregister filesystem in case genl_register_family() fails
    763d1789c03f8 wifi: ath11k: fix ring-buffer corruption
    09f7616cb5fe3 wifi: rtw88: usb: Upload the firmware in bigger chunks
    314053de3a917 wifi: ath11k: fix rx completion meta data corruption
    7a20cdb55c295 wifi: mt76: mt7925: fix host interrupt register initialization
    6d05390d20f11 wifi: p54: prevent buffer-overflow in p54_rx_eeprom_readback()
    c3afa81f2ef1c net/mlx5: Add error handling in mlx5_query_nic_vport_node_guid()
    5297c5cf2620e net/mlx5_core: Add error handling inmlx5_query_nic_vport_qkey_viol_cntr()
    b96ba2d1fb6c6 regulator: max20086: Change enable gpio to optional
    028bb7b658114 regulator: max20086: Fix MAX200086 chip id
    f2e8a863fdc93 s390/pci: Serialize device addition and removal
    31a7dc5a24c06 s390/pci: Allow re-add of a reserved but not yet removed device
    f86ca2b55309f s390/pci: Prevent self deletion in disable_slot()
    94c0731dbf3e8 s390/pci: Remove redundant bus removal and disable from zpci_release_device()
    0b42b68cec822 powerpc/pseries/msi: Avoid reading PCI device registers in reduced power states
    c58b577cf7576 io_uring/kbuf: account ring io_buffer_list memory
    ba789be63d956 io_uring: account drain memory to cgroup
    082b0ca9a79d7 ASoC: amd: sof_amd_sdw: Fix unlikely uninitialized variable use in create_sdw_dailinks()
    2864c19ae9e62 ASoC: meson: meson-card-utils: use of_property_present() for DT parsing
    98640457c02c5 ASoC: qcom: sdm845: Add error handling in sdm845_slim_snd_hw_params()
    d765505bca3cf crypto: qat - add shutdown handler to qat_dh895xcc
    eb94a34c276dd crypto: qat - add shutdown handler to qat_c62x
    59fd1b29092ce crypto: qat - add shutdown handler to qat_4xxx
    5e4e6d0cae11f crypto: qat - add shutdown handler to qat_420xx
    261f2a655b709 crypto: qat - add shutdown handler to qat_c3xxx
    f2cc87bf3e3a6 gfs2: move msleep to sleepable context
    ea3c81acb041a crypto: marvell/cesa - Do not chain submitted requests
    bdb71ee651318 configfs: Do not override creating attribute file failure in populate_attrs()

(From OE-Core rev: 48277f45cfd497ebceeb1bfffdefce094fac13c2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Bruce Ashfield
6512a62152 linux-yocto/6.12: update to v6.12.34
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    23fdf46589db Linux 6.12.34
    fe794d1f9bd1 thermal/drivers/mediatek/lvts: Remove unused lvts_debugfs_exit
    6695a1fa988e drm/meson: Use 1000ULL when operating with mode->clock
    da728507b071 gfs2: Don't clear sb->s_fs_info in gfs2_sys_fs_add
    ab20b0bdb01f overflow: Introduce __DEFINE_FLEX for having no initializer
    5ed1d7a70000 net: usb: aqc111: debug info before sanitation
    b4a86d64e487 usb: misc: onboard_usb_dev: fix build warning for CONFIG_USB_ONBOARD_DEV_USB5744=n
    d4724213c82b regulator: dt-bindings: mt6357: Drop fixed compatible requirement
    77e1bf9dad14 calipso: unlock rcu before returning -EAFNOSUPPORT
    ea50a9c348dc x86/fred/signal: Prevent immediate repeat of single step trap on return from SIGTRAP handler
    b3b3b6366dc8 x86/iopl: Cure TIF_IO_BITMAP inconsistencies
    dbbad9a0162c xen/arm: call uaccess_ttbr0_enable for dm_op hypercall
    9332b7a8364e xfs: don't assume perags are initialised when trimming AGs
    2d6a6cfe969f ring-buffer: Move cpus_read_lock() outside of buffer->mutex
    e09c0600beea ring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()
    b8df8cb8f7ee ring-buffer: Do not trigger WARN_ON() due to a commit_overrun
    6a6ce20657a9 9p: Add a migrate_folio method
    7bdd712abefb usb: typec: tcpm: move tcpm_queue_vdm_unlocked to asynchronous work
    9f907ee83fee usb: typec: tcpm/tcpci_maxim: Fix bounds check in process_rx()
    657003ced7f5 usb: Flush altsetting 0 endpoints before reinitializating them after reset.
    921b3c8050fe usb: cdnsp: Fix issue with detecting USB 3.2 speed
    c7862978b405 usb: cdnsp: Fix issue with detecting command completion event
    3cce1734776d usb: misc: onboard_usb_dev: Fix usb5744 initialization sequence
    393abb68b9ec tty: serial: 8250_omap: fix TX with DMA for am33xx
    00ddc7dad55b VMCI: fix race between vmci_host_setup_notify and vmci_ctx_unset_notify
    6327884fbabd usb: usbtmc: Fix read_stb function and get_stb ioctl
    c8bb1bcea877 nvmem: zynqmp_nvmem: unbreak driver after cleanup
    c29d5318708e posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()
    74388368927e HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse()
    84e9f0a2c253 ALSA: usb-audio: Add implicit feedback quirk for RODE AI-1
    81515a447932 Revert "wifi: mwifiex: Fix HT40 bandwidth issue."
    1ed18c90f6d9 tools/resolve_btfids: Fix build when cross compiling kernel with clang.
    403bbbe2fad6 objtool/rust: relax slice condition to cover more `noreturn` Rust functions
    4b1ef15ffd9f block: Fix bvec_set_folio() for very large folios
    a9022c86312c bio: Fix bio_first_folio() for SPARSEMEM without VMEMMAP
    48f33ec14107 io_uring: consistently use rcu semantics with sqpoll thread
    0fccb6773b1f block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work
    af8c13f9ee04 io_uring: fix use-after-free of sq->thread in __io_uring_show_fdinfo()
    a5c7b61eed6d block: use q->elevator with ->elevator_lock held in elv_iosched_show()
    f351bb308501 perf: Ensure bpf_perf_link path is properly serialized
    1c09795ecee8 nvmet-fcloop: access fcpreq only when holding reqlock
    3c04fafeb3ee btrfs: exit after state split error at set_extent_bit()
    7b4bf4d89683 gfs2: pass through holder from the VFS for freeze/thaw
    0a2500782f4d fs/filesystems: Fix potential unsigned integer underflow in fs_name()
    58c50f45e182 btrfs: exit after state insertion failure at btrfs_convert_extent_bit()
    a8ff2e362d90 net: drv: netdevsim: don't napi_complete() from netpoll
    073f64c03516 net_sched: ets: fix a race in ets_qdisc_change()
    180b12eafa8f net_sched: tbf: fix a race in tbf_change()
    4b755305b2b0 net_sched: red: fix a race in __red_change()
    e3f6745006dc net_sched: prio: fix a race in prio_tune()
    62ef4761bb9a net/mlx5e: Fix leak of Geneve TLV option object
    eb4b59491fea net/mlx5: HWS, fix missing ip_version handling in definer
    5932b1972dbe net/mlx5: Fix return value when searching for existing flow group
    da15ca055332 net/mlx5: Fix ECVF vports unload on shutdown flow
    adb56e5a7199 net/mlx5: Ensure fw pages are always allocated on same NUMA
    7a41744e3854 Bluetooth: MGMT: Fix sparse errors
    2af40d795d3f Bluetooth: eir: Fix possible crashes on eir_create_adv_data
    907ef6e12fb5 Bluetooth: hci_sync: Fix broadcast/PA when using an existing instance
    842f7c3154d5 Bluetooth: Fix NULL pointer deference on eir_get_service_data
    31bf7b2b9256 net/mdiobus: Fix potential out-of-bounds clause 45 read/write access
    b02d9d273248 net/mdiobus: Fix potential out-of-bounds read/write access
    78fa7b723e4e macsec: MACsec SCI assignment for ES = 0
    1e0de7582cec net: Fix TOCTOU issue in sk_is_readable()
    32a48db4cf28 ACPI: CPPC: Fix NULL pointer dereference when nosmp is used
    c3892f1ba0bc i40e: retry VFLR handling if there is ongoing VF reset
    60592d381f12 i40e: return false from i40e_reset_vf if reset is in progress
    0440186a9c1c drm/meson: fix more rounding issues with 59.94Hz modes
    e44408a31774 drm/meson: use vclk_freq instead of pixel_freq in debug print
    dd8d64e91047 drm/meson: fix debug log statement when setting the HDMI clocks
    d7aa2e4b808e drm/meson: use unsigned long long / Hz for frequency types
    c79a1ac2a053 powerpc/vas: Return -EINVAL if the offset is non-zero in mmap()
    9c340b56d605 powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap
    d1bc80da75c7 net_sched: sch_sfq: fix a potential crash on gso_skb handling
    98e46d77cd8b scsi: iscsi: Fix incorrect error path labels for flashnode operations
    8a8380773f85 pinctrl: qcom: pinctrl-qcm2290: Add missing pins
    cce3ea5f48c6 spi: omap2-mcspi: Disable multi-mode when the previous message kept CS asserted
    01a968b1c421 spi: omap2-mcspi: Disable multi mode when CS should be kept asserted after message
    f74abf2cdd23 regulator: max20086: Fix refcount leak in max20086_parse_regulators_dt()
    569972c5bdb8 wifi: ath12k: fix GCC_GCC_PCIE_HOT_RST definition for WCN7850
    4c0153d7a19d wifi: ath12k: refactor ath12k_hw_regs structure
    6dabf9e05497 wifi: ath11k: validate ath11k_crypto_mode on top of ath11k_core_qmi_firmware_ready
    7b1a7d35eef5 wifi: ath11k: move some firmware stats related functions outside of debugfs
    d849e671fffa wifi: ath11k: don't wait when there is no vdev started
    b18918782eb6 wifi: ath11k: don't use static variables in ath11k_debugfs_fw_stats_process()
    784cb1c1b8c5 wifi: ath11k: avoid burning CPU in ath11k_debugfs_fw_stats_request()
    b208c674f5c3 wifi: ath11k: convert timeouts to secs_to_jiffies()
    ef8e4aeab3b5 ath10k: snoc: fix unbalanced IRQ enable in crash recovery
    b93e6fef4eda ptp: remove ptp->n_vclocks check logic in ptp_vclock_in_use()
    6c8d3d7c368d net: dsa: b53: fix untagged traffic sent via cpu tagged with VID 0
    4e83f2dbb2bf Bluetooth: MGMT: Protect mgmt_pending list with its own lock
    84ab1283eb5f Bluetooth: MGMT: Remove unused mgmt_pending_find_data
    9df3e5e7f7e4 Bluetooth: MGMT: Fix UAF on mgmt_remove_adv_monitor_complete
    fbf95f446bd6 Bluetooth: btintel_pcie: Reduce driver buffer posting to prevent race condition
    b104a6f5d572 Bluetooth: btintel_pcie: Increase the tx and rx descriptor count
    a075e10cfb6f Bluetooth: btintel_pcie: Fix driver not posting maximum rx buffers
    99e3d6985339 Bluetooth: hci_core: fix list_for_each_entry_rcu usage
    3464a707d137 scsi: core: ufs: Fix a hang in the error handler
    21b2bca88e17 serial: sh-sci: Move runtime PM enable to sci_probe_single()
    e5250b861939 dt-bindings: pwm: adi,axi-pwmgen: Fix clocks
    df4f4cdb064c dt-bindings: pwm: Correct indentation and style in DTS example
    3e81a8c73207 dt-bindings: pwm: adi,axi-pwmgen: Increase #pwm-cells to 3
    595f83730b6d pinctrl: samsung: add gs101 specific eint suspend/resume callbacks
    f33266ec3500 pinctrl: samsung: add dedicated SoC eint suspend/resume callbacks
    d5d5193dde41 pinctrl: samsung: refactor drvdata suspend & resume callbacks
    cd9d354bdd28 arm64: dts: qcom: x1e80100: Add GPU cooling
    9cd06b2ebeb4 arm64: dts: qcom: x1e80100: Apply consistent critical thermal shutdown
    b8de1a502971 mmc: sdhci-of-dwcmshc: add PD workaround on RK3576
    80f7c5be4fe5 pmdomain: core: Introduce dev_pm_genpd_rpm_always_on()
    eccd1fc1b0e1 Input: synaptics-rmi - fix crash with unsupported versions of F34
    59cb05c80448 ALSA: hda/realtek: Add support for HP Agusta using CS35L41 HDA
    0da3314630b9 ALSA: hda/realtek - Add new HP ZBook laptop with micmute led fixup
    c4cc8f6c3126 ALSA: hda/realtek - Support mute led function for HP platform
    410156098b0d ALSA: hda/realtek: Add support for various HP Laptops using CS35L41 HDA
    95e01b950c09 ALSA: hda/realtek: fix micmute LEDs on HP Laptops with ALC3247
    8b8b33ae372d ALSA: hda/realtek: fix micmute LEDs on HP Laptops with ALC3315
    0ce600d7179d tools/power turbostat: Fix AMD package-energy reporting
    9c1ddfeb662b do_change_type(): refuse to operate on unmounted/not ours mounts
    e1d02fe5040d fix propagation graph breakage by MOVE_MOUNT_SET_GROUP move_mount(2)
    1d792307191c path_overmount(): avoid false negatives
    1be1f3b8487c iov_iter: use iov_offset for length calculation in iov_iter_aligned_bvec
    569fb8c12237 ASoC: ti: omap-hdmi: Re-add dai_link->platform to fix card init
    18ff538aac63 ASoC: Intel: avs: Verify content returned by parse_int_array()
    cabc3dc410e8 ASoC: Intel: avs: Fix deadlock when the failing IPC is SET_D0IX
    3668296690e4 ASoC: codecs: hda: Fix RPM usage count underflow
    1cda72119b31 scsi: ufs: qcom: Prevent calling phy_exit() before phy_init()
    e01987354098 riscv: misaligned: fix sleeping function called during misaligned access handling
    d5d9fd13bc19 seg6: Fix validation of nexthop addresses
    933466fc50a8 wireguard: device: enable threaded NAPI
    031f5c5ca097 net: wwan: mhi_wwan_mbim: use correct mux_id for multiplexing
    4f0fcdb8357d wifi: cfg80211/mac80211: correctly parse S1G beacon optional elements
    b2fc08d27679 net: dsa: b53: do not touch DLL_IQQD on bcm53115
    1aa31695bf0d net: dsa: b53: allow RGMII for bcm63xx RGMII ports
    6d1c93a5c6b0 net: dsa: b53: do not enable RGMII delay on bcm63xx
    6c2e06200216 net: ti: icssg-prueth: Fix swapped TX stats for MII interfaces.
    f34dc858e69b netfilter: nf_nat: also check reverse tuple to obtain clashing entry
    251496ce1728 netfilter: nf_set_pipapo_avx2: fix initial map fill
    f33277cda6e8 drm/panel-simple: fix the warnings for the Evervision VGG644804
    a0319c9b1648 gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
    8cb645117aab nvme: fix command limits status code
    0cffc6e40d5d PM: sleep: Fix power.is_suspended cleanup for direct-complete devices
    1184f7df1d08 selftests: net: build net/lib dependency in all target
    6d300675dc38 vmxnet3: correctly report gso type for UDP tunnels
    e2df04e69c3f net: wwan: t7xx: Fix napi rx poll issue
    4399f59a9467 net: fix udp gso skb_segment after pull from frag_list
    798fd944fbcf drm/i915/guc: Handle race condition where wakeref count drops below 0
    ba282cfba33c drm/i915/psr: Fix using wrong mask in REG_FIELD_PREP
    2679bb2f692e drm/i915/guc: Check if expecting reply before decrementing outstanding_submission_g2h
    451ee661d0f6 net: stmmac: make sure that ptp_rate is not 0 before configuring EST
    bb033c6781ce net: stmmac: make sure that ptp_rate is not 0 before configuring timestamping
    2c32fc56c05a net: dsa: tag_brcm: legacy: fix pskb_may_pull length
    e653c298c5fd idpf: avoid mailbox timeout delays during reset
    12e40d01d6d1 idpf: fix a race in txq wakeup
    635fd9cead3d ice: fix rebuilding the Tx scheduler tree for large queue counts
    f9c3e8573b65 ice: create new Tx scheduler nodes for new queues only
    276849954d7c ice: fix Tx scheduler error handling in XDP callback
    b788cebf72f3 Bluetooth: L2CAP: Fix not responding with L2CAP_CR_LE_ENCRYPTION
    2a98786e2587 spi: bcm63xx-hsspi: fix shared reset
    408ca1d1803b spi: bcm63xx-spi: fix shared reset
    df376638df5f net: lan966x: Make sure to insert the vlan tags also in host mode
    095fe646f8e3 net/mlx4_en: Prevent potential integer overflow calculating Hz
    4c597fb29034 driver: net: ethernet: mtk_star_emac: fix suspend/resume issue
    c762fc79d710 net: tipc: fix refcount warning in tipc_aead_encrypt
    5910cbbfad5a gve: Fix RX_BUFFERS_POSTED stat to report per-queue fill_cnt
    74882beda3a7 net: stmmac: platform: guarantee uniqueness of bus_id
    e869a85acc2e page_pool: Fix use-after-free in page_pool_recycle_in_ring
    90891eadb825 Fix sock_exceed_buf_limit not being triggered in __sk_mem_raise_allocated
    35f116a4658f drm/xe: Make xe_gt_freq part of the Documentation
    3091d4c0d069 loop: add file_start_write() and file_end_write()
    4bd30962f308 USB: typec: fix const issue in typec_match()
    9f40ae8310a7 USB: gadget: udc: fix const issue in gadget_match_driver()
    ad2fc59a6703 iio: adc: mcp3911: fix device dependent mappings for conversion result registers
    9d6c8f561219 iio: adc: PAC1934: fix typo in documentation link
    03eb28352302 mei: vsc: Cast tx_buf to (__be32 *) when passed to cpu_to_be32_array()
    130e134f6eca vt: remove VT_RESIZE and VT_RESIZEX from vt_compat_ioctl()
    31028812724c coresight: prevent deactivate active config while enabling the config
    8b2230ac7ff0 fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt()
    8d47a0354407 counter: interrupt-cnt: Protect enable/disable OPs with mutex
    b9c6d66810c4 coresight: catu: Introduce refcount and spinlock for enabling/disabling
    1183a72221d5 coresight: Fixes device's owner field for registered using coresight_init_driver()
    677da45548ec MIPS: Loongson64: Add missing '#interrupt-cells' for loongson64c_ls7a
    8fa544bff846 usb: acpi: Prevent null pointer dereference in usb_acpi_add_usb4_devlink()
    122bbc57cb13 iio: adc: ad7124: Fix 3dB filter frequency reading
    46dd5892ea17 iio: filter: admv8818: Support frequencies >= 2^32
    5bd5808b36e2 iio: filter: admv8818: fix range calculation
    c065694b8d5b iio: filter: admv8818: fix integer overflow
    ba9a3d356bfb iio: filter: admv8818: fix band 4, state 15
    74aca5ca341d thunderbolt: Fix a logic error in wake on connect
    c23d87b43f7d serial: Fix potential null-ptr-deref in mlb_usio_probe()
    d4c368e4a638 usb: renesas_usbhs: Reorder clock handling and power management in probe
    0a3e2ec5085a PCI: endpoint: Retain fixed-size BAR size as well as aligned size
    9137bd312b28 rtc: loongson: Add missing alarm notifications for ACPI RTC events
    7b264700708e PCI/DPC: Log Error Source ID only when valid
    642962fe3f73 PCI/DPC: Initialize aer_err_info before using it
    3d159ffc160f PCI/ACPI: Fix allocated memory release on error in pci_acpi_scan_root()
    bc6ddff79835 dmaengine: ti: Add NULL check in udma_probe()
    5072c1749197 phy: qcom-qmp-usb: Fix an NULL vs IS_ERR() bug
    8da884ec36df PCI: apple: Use gpiod_set_value_cansleep in probe flow
    8c839e71c413 PCI: cadence: Fix runtime atomic count underflow
    d9342fced7da PCI: rcar-gen4: set ep BAR4 fixed size
    17e4b0fcd234 PCI: Print the actual delay time in pci_bridge_wait_for_secondary_bus()
    5aac41632fff phy: rockchip: samsung-hdptx: Do no set rk_hdptx_phy->rate in case of errors
    e3f71127c6d9 phy: rockchip: samsung-hdptx: Fix clock ratio setup
    1dfeafe5850f rtc: sh: assign correct interrupts with DT
    6635bb78eb7d rust: alloc: add missing invariant in Vec::set_len()
    48ca7139ab7f cifs: Fix validation of SMB1 query reparse point response
    f7d9f4fa5385 perf callchain: Always populate the addr_location map when adding IP
    da9addeabdda perf trace: Set errpid to false for rseq and set_robust_list
    afa06f26057e nfs: ignore SB_RDONLY when remounting nfs
    877a3f1be3f0 nfs: clear SB_RDONLY before getting superblock
    aaea7a783d6e perf trace: Always print return value for syscalls returning a pid
    8d313634e67e perf record: Fix incorrect --user-regs comments
    20eafb4e59b3 perf symbol: Fix use-after-free in filename__read_build_id
    3196b6c70853 mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting
    0acd44a8d7ee mailbox: imx: Fix TXDB_V2 sending
    28f3b29e74de perf tests switch-tracking: Fix timestamp comparison
    9970210eb1a4 mfd: stmpe-spi: Correct the name used in MODULE_DEVICE_TABLE
    fc66342db730 mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove()
    d374cd56df23 mfd: exynos-lpass: Fix an error handling path in exynos_lpass_probe()
    1fbee9f1856f rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send()
    4ce341e63936 remoteproc: k3-dsp: Drop check performed in k3_dsp_rproc_{mbox_callback/kick}
    3a4afda6fd3f remoteproc: k3-r5: Drop check performed in k3_r5_rproc_{mbox_callback/kick}
    9b15fcdba919 remoteproc: qcom_wcnss_iris: Add missing put_device() on error in probe
    6a6070d94323 perf scripts python: exported-sql-viewer.py: Fix pattern matching with Python 3
    3b7d37c49f15 perf intel-pt: Fix PEBS-via-PT data_src
    5c37bd26509e perf tests: Fix 'perf report' tests installation
    47eee86e45b0 perf trace: Fix leaks of 'struct thread' in set_filter_loop_pids()
    f481bf3e024e dm-flakey: make corrupting read bios work
    9091c9e039e8 dm-flakey: error all IOs when num_features is absent
    f9c1bdf24615 dm: fix dm_blk_report_zones
    dc16583d21c4 perf symbol-minimal: Fix double free in filename__read_build_id
    19bd9cde38dd hwmon: (asus-ec-sensors) check sensor index in read_string()
    7a23cc510eca mtd: nand: ecc-mxic: Fix use of uninitialized variable ret
    2967178d30ee x86/irq: Ensure initial PIR loads are performed exactly once
    1be2000b703b backlight: pm8941: Add NULL check in wled_configure()
    48e0b54be49d dm: free table mempools if not used in __bind
    2eeb181e76d4 dm: don't change md if dm_table_set_restrictions() fails
    baf8a7fed0ea perf ui browser hists: Set actions->thread before calling do_zoom_thread()
    a951f9a3d912 perf build: Warn when libdebuginfod devel files are not available
    5934a8fab358 randstruct: gcc-plugin: Fix attribute addition
    ab6db95940bd randstruct: gcc-plugin: Remove bogus void member
    b235393b9f43 fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod()
    f697ef117ecb soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()
    7ce3063fd85a soc: aspeed: lpc: Fix impossible judgment condition
    ffbfe7b0ce9b ARM: aspeed: Don't select SRAM
    0007761ff51f arm64: dts: mt6359: Rename RTC node to match binding expectations
    0e0081991469 arm64: dts: renesas: white-hawk-ard-audio: Fix TPU0 groups
    81f52f39edce arm64: dts: qcom: qcm2290: fix (some) of QUP interconnects
    16f35dcfe37e arm64: dts: rockchip: disable unrouted USB controllers and PHY on RK3399 Puma with Haikou
    318d0f2adc67 arm64: defconfig: mediatek: enable PHY drivers
    833388013346 ARM: dts: qcom: apq8064: move replicator out of soc node
    99f2ee48e945 ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device
    36a1fdd5d55c ARM: dts: qcom: apq8064: add missing clocks to the timer node
    2a8d4567aaa0 dt-bindings: vendor-prefixes: Add Liontron name
    1d5baab39e5b bus: fsl-mc: fix double-free on mc_dev
    9abbace40030 nilfs2: do not propagate ENOENT error from nilfs_btree_propagate()
    ecfc9dfae9f8 nilfs2: add pointer check for nilfs_direct_propagate()
    f6fae70f830d ocfs2: fix possible memory leak in ocfs2_finish_quota_recovery
    0aff95d9bc7f Squashfs: check return result of sb_min_blocksize
    e318a7bd2db5 soc: qcom: smp2p: Fix fallback to qcom,ipc parse
    14f2820a5db6 arm64: dts: ti: k3-j721e-common-proc-board: Enable OSPI1 on J721E
    2e39a12c45d4 arm64: tegra: Add uartd serial alias for Jetson TX1 module
    39ecf2ad203c arm64: tegra: Drop remaining serial clock-names and reset-names
    827746ce8b81 arm64: dts: rockchip: Update eMMC for NanoPi R5 series
    4fd50f6980e2 arm64: dts: rockchip: Add vcc-supply to SPI flash on rk3566-rock3c
    f924280cf4cb arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning
    2533efb0d6dd arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply
    3c8f511a658d arm64: dts: mt6359: Add missing 'compatible' property to regulators node
    e2df43c9422e arm64: dts: mediatek: mt6357: Drop regulator-fixed compatibles
    66a6daa0ef72 arm64: dts: imx8mn-beacon: Set SAI5 MCLK direction to output for HDMI audio
    b9c7c4e6c8bb arm64: dts: imx8mm-beacon: Set SAI5 MCLK direction to output for HDMI audio
    c48fe69e1748 arm64: dts: imx8mp-beacon: Fix RTC capacitive load
    69120f3767b7 arm64: dts: imx8mn-beacon: Fix RTC capacitive load
    33ff1f13291b arm64: dts: imx8mm-beacon: Fix RTC capacitive load
    e1c84dd136bf arm64: dts: mt8183: Add port node to mt8183.dtsi
    a39ba524fb9e arm64: dts: qcom: sdm660-xiaomi-lavender: Add missing SD card detect GPIO
    269df4263e5e arm64: dts: mediatek: mt8195: Reparent vdec1/2 and venc1 power domains
    5b5a538aad91 ARM: dts: at91: at91sam9263: fix NAND chip selects
    037a3a256791 ARM: dts: at91: usb_a9263: fix GPIO for Dataflash chip select
    3682d4dd0e8d arm64: dts: rockchip: Move SHMEM memory to reserved memory on rk3588
    3d36b1baf038 arm64: dts: qcom: ipq9574: Fix USB vdd info
    79c837807058 arm64: dts: qcom: sc8280xp-x13s: Drop duplicate DMIC supplies
    6e65650cee28 arm64: dts: qcom: sm8250: Fix CPU7 opp table
    3c4aaf3e7665 arm64: dts: qcom: sm8350: Reenable crypto & cryptobam
    9164f9ae3f49 arm64: dts: qcom: sdm845-starqltechn: remove excess reserved gpios
    d997703f9d75 arm64: dts: qcom: sdm845-starqltechn: refactor node order
    83f1b473bb31 arm64: dts: qcom: sdm845-starqltechn: fix usb regulator mistake
    caecebc6b943 arm64: dts: qcom: sdm845-starqltechn: remove wifi
    bdf8915dad6b arm64: dts: qcom: x1e80100-romulus: Keep L12B and L15B always on
    5c721b58d301 arm64: dts: qcom: sm8650: add missing cpu-cfg interconnect path in the mdss node
    a999df6f45a3 arm64: dts: qcom: sm8650: setup gpu thermal with higher temperatures
    4e95465ab940 arm64: dts: qcom: x1e80100: Mark usb_2 as dma-coherent
    0befc3005db9 f2fs: fix to correct check conditions in f2fs_cross_rename
    532601e783b5 f2fs: use d_inode(dentry) cleanup dentry->d_inode
    a3eeaea04e57 net: phy: mscc: Stop clearing the the UDPv4 checksum for L2 frames
    69541e58323e net: openvswitch: Fix the dead loop of MPLS parse
    dd8928897594 calipso: Don't call calipso functions for AF_INET sk.
    ec62c99914a7 octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback
    91bed4ccae01 octeontx2-pf: QOS: Perform cache sync on send queue teardown
    66abe2201752 net: phy: mscc: Fix memory leak when using one step timestamping
    4b073a575b7f net: lan743x: Fix PHY reset handling during initialization and WOL
    0e5c90c2ae50 net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
    f15ed37dd3af net: phy: fix up const issues in to_mdio_device() and to_phy_device()
    ddc654e89ace net: phy: clear phydev->devlink when the link is deleted
    2bc6dffb4b72 bpf: Avoid __bpf_prog_ret0_warn when jit fails
    3a92988a7695 net: xilinx: axienet: Fix Tx skb circular buffer occupancy check in dmaengine xmit
    f066d85170bd net: lan966x: Fix 1-step timestamping over ipv4 or ipv6
    02e45168e0fd RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work
    7893a41deaf2 vsock/virtio: fix `rx_bytes` accounting for stream sockets
    30a9e834c74e net: usb: aqc111: fix error handling of usbnet read calls
    82fe7fbc21f4 RISC-V: KVM: lock the correct mp_state during reset
    9d04742f3e2d netfilter: nft_tunnel: fix geneve_opt dump
    09ecfdff49d3 netfilter: nf_tables: nft_fib: consistent l3mdev handling
    15c0250dae3b bpf, sockmap: Avoid using sk_socket after free when sending
    9427f6081f37 Bluetooth: btintel: Check dsbr size from EFI variable
    1750c3f1d945 Bluetooth: MGMT: iterate over mesh commands in mgmt_mesh_foreach()
    46e68224893b vfio/type1: Fix error unwind in migration dirty bitmap allocation
    fd125f1eefbc netfilter: nf_tables: nft_fib_ipv6: fix VRF ipv4/ipv6 result discrepancy
    c4c18cf58910 netfilter: xtables: support arpt_mark and ipv6 optstrip for iptables-nft only builds
    1d249cc92d08 bpf: Revert "bpf: remove unnecessary rcu_read_{lock,unlock}() in multi-uprobe attach logic"
    7e4835863950 wifi: mt76: mt7996: fix RX buffer size of MCU event
    3fc202198479 wifi: mt76: mt7996: set EHT max ampdu length capability
    ba9bf458fa11 wifi: mt76: mt7925: ensure all MCU commands wait for response
    52ffee9fea8d wifi: mt76: mt7925: refine the sniffer commnad
    17e939897e33 wifi: mt76: mt7925: prevent multiple scan commands
    790d05cde359 wifi: mt76: mt7915: Fix null-ptr-deref in mt7915_mmio_wed_init()
    1072fc0ca1f8 wifi: mt76: mt7996: Fix null-ptr-deref in mt7996_mmio_wed_init()
    df00f9147e6c Bluetooth: ISO: Fix not using SID from adv report
    6bfb154f95d5 kernfs: Relax constraint in draining guard
    e0657136ae94 scsi: ufs: mcq: Delete ufshcd_release_scsi_cmd() in ufshcd_mcq_abort()
    ee5ee646385f wifi: ath9k_htc: Abort software beacon handling if disabled
    59a834592dd2 hisi_acc_vfio_pci: bugfix live migration function without VF device driver
    89729b815292 hisi_acc_vfio_pci: add eq and aeq interruption restore
    884a76e81317 hisi_acc_vfio_pci: fix XQE dma address error
    3a392f874ac8 wifi: ath12k: fix memory leak in ath12k_service_ready_ext_event
    b4f6605dc276 iommu: remove duplicate selection of DMAR_TABLE
    e966a3c01ca1 wifi: rtw89: fix firmware scan delay unit for WiFi 6 chips
    c13255389499 wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds
    8ffad7be09c5 wifi: rtw89: pci: enlarge retry times of RX tag to 1000
    78a327ef0a78 s390/bpf: Store backchain even for leaf progs
    d32f9927f400 clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz
    e660e75f845f dt-bindings: soc: fsl,qman-fqd: Fix reserved-memory.yaml reference
    c98cdf6795a3 bpf: Fix WARN() in get_bpf_raw_tp_regs
    e02e12d6a7ab pinctrl: at91: Fix possible out-of-boundary access
    b7384eab8785 libbpf: Use proper errno value in nlattr
    c13e3174991c ktls, sockmap: Fix missing uncharge operation
    64f8f2a93358 of: unittest: Unlock on error in unittest_data_add()
    709412b92a7a tracing: Fix error handling in event_trigger_parse()
    4839a4a6ab9a tracing: Rename event_trigger_alloc() to trigger_data_alloc()
    ec913bc18b45 selftests/bpf: Fix caps for __xlated/jited_unpriv
    69a995644a42 efi/libstub: Describe missing 'out' parameter in efi_load_initrd
    a82f49df6bd6 wifi: iwlfiwi: mvm: Fix the rate reporting
    0a2712cd24ec clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()
    d969194bdae6 bpftool: Fix regression of "bpftool cgroup tree" EINVAL on older kernels
    41c5158d36a5 clk: qcom: gpucc-sm6350: Add *_wait_val values for GDSCs
    45e1ff1284ac clk: qcom: gcc-sm6350: Add *_wait_val values for GDSCs
    a2874b73fdaa clk: qcom: dispcc-sm6350: Add *_wait_val values for GDSCs
    dcdce64095b4 clk: qcom: camcc-sm6350: Add *_wait_val values for GDSCs
    e53a8dcd36b9 tracing: Move histogram trigger variables from stack to per CPU structure
    94068a664aa5 bpf: Fix uninitialized values in BPF_{CORE,PROBE}_READ
    50ac361ff891 RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction
    c1360ac8156c netfilter: nft_set_pipapo: prevent overflow in lookup table allocation
    c7b7d63a3322 netfilter: nft_quota: match correctly when the quota just depleted
    de6edd32370f netfilter: bridge: Move specific fragmented packet to slow_path instead of dropping it
    c1f418cc278a bpf: Allow XDP dev-bound programs to perform XDP_REDIRECT into maps
    277f9ffe873a libbpf: Use proper errno value in linker
    6589bc3699bc scsi: smartpqi: Fix smp_processor_id() call trace for preemptible kernels
    4248ba53e471 f2fs: fix to detect gcing page in f2fs_is_cp_guaranteed()
    04daca601252 f2fs: clean up w/ fscrypt_is_bounce_page()
    83563a166ca4 bonding: assign random address if device address is same as bond
    88f65bb66d75 iommu: Protect against overflow in iommu_pgsize()
    cc26bc26bebb Use thread-safe function pointer in libbpf_print
    30d80c636ec0 libbpf: Remove sample_period init in perf_buffer
    3587bee963f7 libbpf: Fix event name too long error
    034c1796f176 scsi: hisi_sas: Call I_T_nexus after soft reset for SATA disk
    0e7792a3001d RDMA/hns: Include hnae3.h in hns_roce_hw_v2.h
    6285516170f9 wifi: ath12k: fix node corruption in ar->arvifs list
    6a6307f8661d wifi: ath12k: Fix the QoS control field offset to build QoS header
    0c2de959f168 wifi: ath12k: Add MSDU length validation for TKIP MIC error
    371b340affa5 wifi: ath12k: fix invalid access to memory
    bba24336b9df wifi: rtw88: do not ignore hardware read error during DPK
    c5b738a1d993 wifi: rtw88: sdio: call rtw_sdio_indicate_tx_status unconditionally
    308ba450ea57 wifi: rtw88: sdio: map mgmt frames to queue TX_DESC_QSEL_MGMT
    5063fe878974 xfrm: Use xdo.dev instead of xdo.real_dev
    08784c73454c net/mlx5: Avoid using xso.real_dev unnecessarily
    9d57de88d940 libbpf: Fix buffer overflow in bpf_object__init_prog
    cf11bd435ff1 net: ncsi: Fix GCPS 64-bit member variables
    4f51fb0d257f page_pool: Track DMA-mapped pages and unmap them when destroying the pool
    25a912b3e0c5 page_pool: Move pp_magic check into helper functions
    65b3f76592ae f2fs: fix to do sanity check on sbi->total_valid_block_count
    a4d80521352e f2fs: prevent the current section from being selected as a victim during GC
    2fa8d128eced f2fs: clean up unnecessary indentation
    0c57aa8ef94c wifi: ath12k: Fix buffer overflow in debugfs
    827ff610afbb wifi: ath12k: Fix WMI tag for EHT rate in peer assoc
    553c265cd659 wifi: ath12k: fix cleanup path after mhi init
    44a51592ac65 f2fs: zone: fix to avoid inconsistence in between SIT and SSA
    3d25fa2d7f12 bpf, sockmap: Fix panic when calling skb_linearize
    3a8e680f7d7c bpf, sockmap: fix duplicated data transmission
    57fbbe29e860 bpf: fix ktls panic with sockmap
    f1b0b9b71265 selftests/bpf: Fix bpf_nf selftest failure
    671dd1fb8769 bpf: Check link_create.flags parameter for multi_kprobe
    fa5977d89d31 IB/cm: use rwlock for MAD agent lock
    a284820a1c97 wifi: ath12k: Fix invalid memory access while forming 802.11 header
    5a1210a69cc5 wifi: ath12k: Fix memory leak during vdev_id mismatch
    f5d77d0d41ea wifi: ath11k: fix node corruption in ar->arvifs list
    80a81375ef5a xen/x86: fix initial memory balloon target
    7051a80916ce svcrdma: Reduce the number of rdma_rw contexts per-QP
    9e710dc96f9c media: verisilicon: Free post processor buffers on error
    7b6050a9efc3 drm/mediatek: mtk_drm_drv: Unbind secondary mmsys components on err
    62df1ba66839 drm/mediatek: Fix kobject put for component sub-drivers
    ad426a7c3dda drm/mediatek: mtk_drm_drv: Fix kobject put for mtk_mutex device ptr
    5c2efbb3725d drm/msm/a6xx: Disable rgb565_predicator on Adreno 7c3
    295f1b128c9f selftests/seccomp: fix negative_ENOSYS tracer tests on arm32
    b038ffbd49e4 perf/amlogic: Replace smp_processor_id() with raw_smp_processor_id() in meson_ddr_pmu_create()
    c79bee34566d scsi: qedf: Use designated initializer for struct qed_fcoe_cb_ops
    e55f46a11ba5 overflow: Fix direct struct member initialization in _DEFINE_FLEX()
    b3cfc1f9f584 arm64/fpsimd: Do not discard modified SVE state
    7e16ba331ed2 firmware: SDEI: Allow sdei initialization without ACPI_APEI_GHES
    451335c867a7 drm/tegra: rgb: Fix the unbound reference count
    c4487e35d35f drm/vkms: Adjust vkms_state->active_planes allocation type
    7de22bbc5827 drm: rcar-du: Fix memory leak in rcar_du_vsps_init()
    3d0ae6b51141 drm/msm/dpu: enable SmartDMA on SC8180X
    5301f110b965 drm/msm/dpu: enable SmartDMA on SM8150
    ebf467c0ba35 selftests/seccomp: fix syscall_restart test for arm compat
    64a9ee6e111e arm64/fpsimd: Avoid warning when sve_to_fpsimd() is unused
    a4ea74086237 arm64: Support ARM64_VA_BITS=52 when setting ARCH_MMAP_RND_BITS_MAX
    0860d48b70fd firmware: psci: Fix refcount leak in psci_dt_init
    7ccf0c4070c2 m68k: mac: Fix macintosh_config for Mac II
    214307d69b2c watchdog: exar: Shorten identity name to fit correctly
    980b0895a08c kunit/usercopy: Disable u64 test on 32-bit SPARC
    e2bbe6336d15 fs/ntfs3: Add missing direct_IO in ntfs_aops_cmpr
    2d5879f64554 fs/ntfs3: handle hdr_first_de() return value
    33c9956b46be drm/bridge: lt9611uxc: Fix an error handling path in lt9611uxc_probe()
    8a88840699df drm/panel: samsung-sofef00: Drop s6e3fc2x01 support
    8e43fa9c713a perf: arm-ni: Fix missing platform_set_drvdata()
    7e958e116e3b perf: arm-ni: Unregister PMUs on probe failure
    8e6a63acc468 drm/panthor: Update panthor_mmu::irq::mask when needed
    d94b25ac50bc drm/panthor: Fix GPU_COHERENCY_ACE[_LITE] definitions
    f5ffc750dbfb arm64/fpsimd: Fix merging of FPSIMD state during signal return
    2756dac03611 arm64/fpsimd: Reset FPMR upon exec()
    55d52af498da arm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP
    945d247d1ca2 arm64/fpsimd: Don't corrupt FPMR when streaming mode changes
    6103f9ba51a5 arm64/fpsimd: Discard stale CPU state when handling SME traps
    fa65c89f3fc1 arm64/fpsimd: Avoid RES0 bits in the SME trap handler
    9d6e355a26fb media: rkvdec: Fix frame size enumeration
    64f3acc8c7e6 drm/amd/pp: Fix potential NULL pointer dereference in atomctrl_initialize_mc_reg_table
    aba86d49e5ac drm/vc4: tests: Use return instead of assert
    bf694844daa0 drm/xe/d3cold: Set power state to D3Cold during s2idle/s3
    67ea6af4264a drm/vmwgfx: Fix dumb buffer leak
    af713f6af6fd drm/vmwgfx: Add error path for xa_store in vmw_bo_add_detached_resource
    aa02817f7add drm/vmwgfx: Add seqno waiter for sync_files
    45844a940331 ALSA: core: fix up bus match const issues.
    9bad55fc4a9c ASoC: apple: mca: Constrain channels according to TDM mask
    5787ff1acef2 spi: sh-msiof: Fix maximum DMA transfer size
    c9c8cb0f280b ACPI: OSI: Stop advertising support for "3.0 _SCP Extensions"
    0440baa4d42a thermal/drivers/mediatek/lvts: Fix debugfs unregister on failure
    77d45ba1bec4 PM: sleep: Print PM debug messages during hibernation
    d3cc08bad4b7 x86/mtrr: Check if fixed-range MTRRs exist in mtrr_save_fixed_ranges()
    f551f0e630a7 ACPI: resource: fix a typo for MECHREVO in irq1_edge_low_force_override[]
    0426e929700b PM: wakeup: Delete space in the end of string shown by pm_show_wakelocks()
    06c74bd58783 ASoC: SOF: amd: add missing acp descriptor field
    be0dc3e91952 ASoC: SOF: ipc4-pcm: Adjust pipeline_list->pipelines allocation type
    81d72f9241d8 PM: EM: Fix potential division-by-zero error in em_compute_costs()
    d05c33c14f09 power: reset: at91-reset: Optimize at91_reset()
    109d6bc57931 spi: tegra210-quad: modify chip select (CS) deactivation
    688d0b0d94b3 spi: tegra210-quad: remove redundant error handling code
    6accf99a2e21 spi: tegra210-quad: Fix X1_X2_X4 encoding and support x4 transfers
    29ce9e71e95a EDAC/{skx_common,i10nm}: Fix the loss of saved RRL for HBM pseudo channel 0
    a13e8343ffcf EDAC/skx_common: Fix general protection fault
    87dbfe2b392d ASoC: mediatek: mt8195: Set ETDM1/2 IN/OUT to COMP_DUMMY()
    b49ff1c5e935 ASoC: tas2764: Enable main IRQs
    594380c4b51a ACPICA: exserial: don't forget to handle FFixedHW opregions for reading
    9c094deb6b13 crypto: api - Redo lookup on EEXIST
    e9ecaeaf4136 kunit: Fix wrong parameter to kunit_deactivate_static_stub()
    53bedcd2d2aa crypto: sun8i-ce - move fallback ahash_request to the end of the struct
    5ed92ad1b7d1 crypto: xts - Only add ecb if it is not already there
    b7c09d213119 crypto: lrw - Only add ecb if it is not already there
    58beaa1aee55 rcu/cpu_stall_cputime: fix the hardirq count for x86 architecture
    60f95458154b btrfs: fix invalid data space release when truncating block in NOCOW mode
    7f45183ceab8 btrfs: scrub: fix a wrong error type when metadata bytenr mismatches
    5bd799d2ac6e btrfs: scrub: update device stats when an error is detected
    5539216f734b powerpc/pseries/iommu: Fix kmemleak in TCE table userspace view
    65115472f741 erofs: avoid using multiple devices with different type
    9cfca45aecc9 erofs: fix file handle encoding for 64-bit NIDs
    47810c61475c crypto: marvell/cesa - Avoid empty transfer descriptor
    7894694b5d5b crypto: marvell/cesa - Handle zero-length skcipher requests
    bf3cbf2805b4 kselftest: cpufreq: Get rid of double suspend in rtcwake case
    48e11bcee974 brd: fix discard end sector
    5b814cde622b brd: fix aligned_sector from brd_do_discard()
    7778a6767869 x86/insn: Fix opcode map (!REX2) superscript tags
    a18f8b1092d9 x86/cpu: Sanitize CPUID(0x80000000) output
    c93930857f06 crypto: sun8i-ce - undo runtime PM changes during driver removal
    57a52d74498c x86/microcode/AMD: Do not return error when microcode update is not necessary
    451a18d71bd9 sched/core: Tweak wait_task_inactive() to force dequeue sched_delayed tasks
    f54d2b7ac42b powerpc/crash: Fix non-smp kexec preparation
    4de0bb505fba powerpc: do not build ppc_save_regs.o always
    50de02375fac crypto: sun8i-ss - do not use sg_dma_len before calling DMA functions
    19d267d9fad0 crypto: sun8i-ce-cipher - fix error handling in sun8i_ce_cipher_prepare()
    781bbc8252f7 perf/core: Fix broken throttling when max_samples_per_tick=1
    5cd98656bcbc gfs2: gfs2_create_inode error handling fix
    271e6bf41afa gfs2: replace sd_aspace with sd_inode
    88ab25d7180c perf/x86/amd/uncore: Prevent UMC counters from saturating
    18807198d5db perf/x86/amd/uncore: Remove unused 'struct amd_uncore_ctx::node' member
    623074162b88 sched: Fix trace_sched_switch(.prev_state)
    e8d0d9ae998e crypto: sun8i-ce-hash - fix error handling in sun8i_ce_hash_run()
    41f76e98913a x86/idle: Remove MFENCEs for X86_BUG_CLFLUSH_MONITOR in mwait_idle_with_hints() and prefer_mwait_c1_over_halt()
    25027501e66a tools/x86/kcpuid: Fix error handling

(From OE-Core rev: 4d2dc369ca0a7744fb7124d5e4f2e18a4fadcc99)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Bruce Ashfield
f6828223c8 linux-yocto/6.12: riscv tune fragments
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Mark Hatle
    Email: mark.hatle@amd.com
    Subject: arch/riscv/tunes: Implement RISC-V ISA selection
    Date: Wed, 18 Jun 2025 18:20:08 -0500

    You need to first clear (risc-isa-clear) the defaults, and then apply the
    ISA components starting with the base ISA and extensions (riscv-isa-...).

    Only ISA extensions available in TUNE_FEATURES are currently
    implemented.

    Signed-off-by: Mark Hatle <mark.hatle@amd.com>
    Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 2080c8f215ca71d526c39a87d3307e4c65476a39)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Bruce Ashfield
18b1f0c340 linux-yocto/6.12: update to v6.12.33
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    e03ced99c437 Linux 6.12.33
    80fe1ebc1fbc Revert "drm/amd/display: more liberal vmin/vmax update for freesync"
    d452b168da17 dt-bindings: phy: imx8mq-usb: fix fsl,phy-tx-vboost-level-microvolt property
    1ed84b17fa9b dt-bindings: usb: cypress,hx3: Add support for all variants
    eb2d5e794fb9 thunderbolt: Do not double dequeue a configuration request
    b4fac3f172f2 usb: usbtmc: Fix timeout value in get_stb
    985961dd2688 serial: jsm: fix NPE during jsm_uart_port_init
    e428b7e205ed Bluetooth: hci_qca: move the SoC type check to the right place
    4490c7951898 usb: typec: ucsi: fix Clang -Wsign-conversion warning
    1a51004aa046 USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
    393ad978388e usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device
    23179d009cf5 usb: quirks: Add NO_LPM quirk for SanDisk Extreme 55AE
    a347664312be Revert "cpufreq: tegra186: Share policy per cluster"
    0c60158ff14d block: fix adding folio to bio
    3c4fed940db2 PCI/ASPM: Disable L1 before disabling L1 PM Substates
    4685153b121e accel/ivpu: Update power island delays
    f4deea418499 accel/ivpu: Add initial Panther Lake support
    6b482b16f32e rtc: Fix offset calculation for .start_secs < 0
    a6a55fe660f8 rtc: Make rtc_time64_to_tm() support dates before 1970
    f28fae36bad3 Documentation: ACPI: Use all-string data node references
    32b7c46c4dae acpi-cpufreq: Fix nominal_freq units to KHz in get_max_boost_ratio()
    614456f1a0fe pinctrl: armada-37xx: set GPIO output value before setting direction
    f49c751d6000 pinctrl: armada-37xx: use correct OUTPUT_VAL register for GPIOs > 31
    bf49527089ec f2fs: fix to avoid accessing uninitialized curseg
    db758487f3dd tracing: Fix compilation warning on arm32

(From OE-Core rev: f51d876fdf243ec4fb0907e870803ecbdb12ca97)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Bruce Ashfield
ae0bf31ba7 linux-yocto/6.12: yaffs2: silence warnings
Integrating the following commit(s) to linux-yocto/6.12:

1/4 [
    Author: Bin Lan
    Email: bin.lan.cn@windriver.com
    Subject: fs/yaffs2: fix build warnings in yaffs_vfs.c when running make allyesconfig
    Date: Mon, 9 Jun 2025 14:51:47 +0800

    When building linux yocto with allyesconfig, some build warnings are found:

    fs/yaffs2/yaffs_vfs.c:1292:15: error: no previous prototype for
    ‘yaffs_get_inode’ [-Werror=missing-prototypes]
     1292 | struct inode *yaffs_get_inode(struct super_block *sb, int mode,
          int dev,
          |               ^~~~~~~~~~~~~~~
    fs/yaffs2/yaffs_vfs.c: In function ‘yaffs_iterate’:
    fs/yaffs2/yaffs_vfs.c:1841:13: error: unused variable ‘i_version’
    [-Werror=unused-variable]
     1841 |         u64 i_version;
          |             ^~~~~~~~~
    fs/yaffs2/yaffs_vfs.c: At top level:
    fs/yaffs2/yaffs_vfs.c:2441:16: error: no previous prototype for
    ‘yaffs2_get_parent’ [-Werror=missing-prototypes]
     2441 | struct dentry *yaffs2_get_parent(struct dentry *dentry)
          |                ^~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

    Inspect the code that the two functions yaffs_get_inode() and
    yaffs2_get_parent() are only used in the current file, i_version is not
    used in the function yaffs_iterate(). So add the static modifier to the
    two functions and remove the variable i_version.

    Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/4 [
    Author: Bin Lan
    Email: bin.lan.cn@windriver.com
    Subject: fs/yaffs2: fix a build warning in yaffs_tagsmarshall.c when running make allyesconfig
    Date: Mon, 9 Jun 2025 14:51:48 +0800

    When building linux yocto with allyesconfig, a build warning is found:

    fs/yaffs2/yaffs_tagsmarshall.c:188:6: error: no previous prototype for
    ‘yaffs_tags_marshall_install’ [-Werror=missing-prototypes]
      188 | void yaffs_tags_marshall_install(struct yaffs_dev *dev)
          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

    Inspect the code that the function yaffs_tags_marshall_install() is
    declared in this header file yaffs_tagsmarshall.h. So include the
    header file in yaffs_tagsmarshall.c.

    Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/4 [
    Author: Bin Lan
    Email: bin.lan.cn@windriver.com
    Subject: fs/yaffs2: fix a build warning in yaffs_yaffs2.c when running make allyesconfig
    Date: Mon, 9 Jun 2025 14:51:49 +0800

    When building linux yocto with allyesconfig, a build warning is
    found:

    fs/yaffs2/yaffs_yaffs2.c:557:21: error: no previous prototype for
    ‘yaffs2_do_endian_tnode_copy’ [-Werror=missing-prototypes]
      557 | struct yaffs_tnode *yaffs2_do_endian_tnode_copy(struct yaffs_dev
          *dev,
          |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

    Inspect the code that the function yaffs2_do_endian_tnode_copy() is
    only used in the current file. So add the static modifier to it.

    Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

4/4 [
    Author: Bin Lan
    Email: bin.lan.cn@windriver.com
    Subject: fs/yaffs2: fix a build warning in yaffs_mtdif.c when running make allyesconfig
    Date: Mon, 9 Jun 2025 14:51:50 +0800

    When building linux yocto with allyesconfig, a build warning is
    found:

    fs/yaffs2/yaffs_mtdif.c:48:5: error: no previous prototype for
    ‘nandmtd_erase_block’ [-Werror=missing-prototypes]
       48 | int nandmtd_erase_block(struct yaffs_dev *dev, int block_no)
          |     ^~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

    Inspect the code that the function nandmtd_erase_block() is
    not used by yaffs2. So remove it.

    Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 9b877748ef7a789fb75db525fec5568691745fef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Bruce Ashfield
1d618767fc linux-yocto/6.12: update to v6.12.32
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    ba9210b8c9635 Linux 6.12.32
    334da674b25fd ksmbd: use list_first_entry_or_null for opinfo_get_list()
    4a72fa2f59874 net: ethernet: ti: am65-cpsw: Lower random mac address error print to info
    b4b163b0e7fab platform/x86: thinkpad_acpi: Ignore battery threshold change event notification
    f9adb4a16225d ALSA: hda/realtek - restore auto-mute mode for Dell Chrome platform
    5277bc961cf53 platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys
    c7ce21b85a5a4 NFS: Avoid flushing data while holding directory locks in nfs_rename()
    87129b9342dbe char: tpm: tpm-buf: Add sanity check fallback in read helpers
    fe7879e5eb3f4 drm/xe: Save the gt pointer in lrc and drop the tile
    089e980525136 drm/xe/xe2hpg: Add Wa_22021007897
    3b3d3174d1b37 nvme-pci: add NVME_QUIRK_NO_DEEPEST_PS quirk for SOLIDIGM P44 Pro
    8c7ecba772bfb spi: spi-sun4i: fix early activation
    44a4a01e91ae0 phy: phy-rockchip-samsung-hdptx: Fix PHY PLL output 50.25MHz error
    2c09a5cbc0100 phy: starfive: jh7110-usb: Fix USB 2.0 host occasional detection failure
    6f47d74081336 drm/amd/display: check stream id dml21 wrapper to get plane_id
    02ed7c617fa36 drm/amd/display: fix link_set_dpms_off multi-display MST corner case
    afe090366f470 gpio: virtuser: fix potential out-of-bound write
    cef4f57980d0e um: let 'make clean' properly clean underlying SUBARCH as well
    cb5d7e7a6f790 platform/x86: thinkpad_acpi: Support also NEC Lavie X1475JAS
    16ed9db158efd nfs: don't share pNFS DS connections between net namespaces
    f7cbb7035c858 HID: quirks: Add ADATA XPG alpha wireless mouse support
    141054adba2f3 dmaengine: idxd: cdev: Fix uninitialized use of sva in idxd_cdev_open
    510cf09f2dedf coredump: hand a pidfd to the usermode coredump helper
    8fdca436d8f2a coredump: fix error handling for replace_fd()
    a6d87cce788d2 perf/arm-cmn: Add CMN S3 ACPI binding
    d96289fcac263 perf/arm-cmn: Initialise cmn->cpu earlier
    c6d2c0d46121f perf/arm-cmn: Fix REQ2/SNP2 mixup
    2f2190ce4ca97 net_sched: hfsc: Address reentrant enqueue adding class to eltree twice
    b7550a25840a2 arm64: dts: ti: k3-j784s4-j742s2-main-common: Fix length of serdes_ln_ctrl
    2ee377336c731 arm64: dts: ti: k3-j722s-main: Disable "serdes_wiz0" and "serdes_wiz1"
    07f51c8f01f9e arm64: dts: ti: k3-j722s-evm: Enable "serdes_wiz0" and "serdes_wiz1"
    5b9e29e74d4ac arm64: dts: ti: k3-j721e-sk: Add requiried voltage supplies for IMX219
    110875e707022 arm64: dts: ti: k3-j721e-sk: Remove clock-names property from IMX219 overlay
    8a26672180a04 arm64: dts: ti: k3-j721e-sk: Add DT nodes for power regulators
    7d6fd34220a75 arm64: dts: ti: k3-am68-sk: Fix regulator hierarchy
    a15e5630133b3 arm64: dts: ti: k3-am65-main: Add missing taps to sdhci0
    e539e3e611183 arm64: dts: ti: k3-am62x: Rename I2C switch to I2C mux in OV5640 overlay
    0451eef436181 arm64: dts: ti: k3-am62x: Rename I2C switch to I2C mux in IMX219 overlay
    8c32e3ca0e1ad arm64: dts: ti: k3-am62x: Remove clock-names property from IMX219 overlay
    8cc39fa7ddaba arm64: dts: ti: k3-am62p-j722s-common-main: Set eMMC clock parent to default
    b605a449b689b arm64: dts: ti: k3-am62a-main: Set eMMC clock parent to default
    ef60b9ba0df95 arm64: dts: ti: k3-am62-main: Set eMMC clock parent to default
    1e5144b53cec2 arm64: dts: qcom: x1e80100: Fix video thermal zone
    fc54ce9d78dec arm64: dts: qcom: x1e80100-yoga-slim7x: mark l12b and l15b always-on
    660baafc99174 arm64: dts: qcom: x1e80100-qcp: mark l12b and l15b always-on
    fa8939991bc4f arm64: dts: qcom: x1e80100-qcp: Fix vreg_l2j_1p2 voltage
    b2f571e0ba1d9 arm64: dts: qcom: x1e80100-lenovo-yoga-slim7x: Fix vreg_l2j_1p2 voltage
    a5c10cc63dc68 arm64: dts: qcom: x1e80100-asus-vivobook-s15: Fix vreg_l2j_1p2 voltage
    d3400824e096b arm64: dts: qcom: sm8650: Add missing properties for cryptobam
    2a539505321a5 arm64: dts: qcom: sm8550: Add missing properties for cryptobam
    b4412e855317e arm64: dts: qcom: sm8450: Add missing properties for cryptobam
    87ec68b7e92cc arm64: dts: qcom: sm8350: Fix typo in pil_camera_mem node
    c96762b6837d5 arm64: dts: qcom: sa8775p: Remove cdsp compute-cb@10
    920c14a3772dd arm64: dts: qcom: sa8775p: Remove extra entries from the iommus property
    61ffb2e73d753 arm64: dts: qcom: ipq9574: Add missing properties for cryptobam
    e3dfd77a7fca7 can: kvaser_pciefd: Force IRQ edge in case of nested IRQ

(From OE-Core rev: fc7c10c0a4cc9e95d8d41b0f77a89aad8c23f9c1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 08:48:04 +01:00
Joshua Watt
5adeefd63f bitbake: cooker: Use shared counter for processing parser jobs
Instead of pre-partitioning which jobs will go to which parser
processes, pass the list of all jobs to all the parser processes
(efficiently via fork()), then used a shared counter of the next index
in the list that needs to be processed. This allows the parser processes
to run independently of needing to be feed by the parent process, and
load balances them much better.

(Bitbake rev: 373c4ddaf0e8128cc4f7d47aefa9860bd477a00f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-09 06:40:58 +01:00
Richard Purdie
51d825b367 bitbake: cooker: Add better parse debug
If parsing ends early and unexpectedly, add some internal values
to better understand why/how it failed.

(Bitbake rev: 775f9720a17c9f3d6815d42c733ab5aaaa53749c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:13:14 +01:00
Richard Purdie
a8b57414cf bitbake: cooker: Try and avoid parsing hangs
We sometimes see hangs in parsing during automated testing. It appears that
SIGINT was sent to the underlying processes which see KeyboardInterrupt but
they're stuck trying to write into the results pipe. The SIGINT was probably
from some kind of parsing failure which doens't happen often, hence the hang
being rare (in the incompatible license selftests from OE).

This patch:
  * sets a flag to indicate exit upon SIGINT so the exit is more graceful
    and a defined exit path
  * empties the results queue after we send the quit event
  * empties the results queue after the SIGINT for good measure
  * increases the 0.5s timeout to 2s since we now have some very slow to
    parse recipes due to class extensions (ptests)

This should hopefully make the parsing failure codepaths more robust.

(Bitbake rev: 5b533370595f83b87e480bace3e0b42c9ba61e22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:13:14 +01:00
Moritz Haase
3350021579 libwpe: Add patch to support builds with CMake 4+
PR [0] has been filed upstream, but isn't merged yet.

[0]: https://github.com/WebPlatformForEmbedded/libwpe/pull/136

(From OE-Core rev: e4349257cbd5d2ba91e2f7aa176513209867b465)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Moritz Haase
49bebc51cf musl-locales: Add patch to support builds with CMake 4+
PR [0] has been filed upstream, but isn't merged yet.

[0]: https://git.adelielinux.org/adelie/musl-locales/-/merge_requests/10

(From OE-Core rev: ab7c39ac6d3145b8f711282ebd2c6da5ebfb3de1)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Moritz Haase
c20a75dd5b libubootenv: Backport patch to support builds with CMake 4+
Commit [0] has been merged upstream, but there hasn't been a release containing it
yet.

[0]: cd12d9dd2b

(From OE-Core rev: 133b793830b1a30a79465fe4511029010f9a2c68)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Moritz Haase
94dc7be66d apt: Backport patch to support builds with CMake 4+
There have been a number of upstream releases that ship this patch already, but
given that the most recent ones are considered experimental, I opted to backport
instead.

(From OE-Core rev: 84c1e99b74322b2f0fd2ecf256586ea618153547)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Moritz Haase
b64a3a3d60 createrepo-c: Backport patches to support builds with CMake 4+
There hasn't been a new upstream release yet that ships the required changes.

(From OE-Core rev: 79b17a3ef8756373c1500f20ab69b228b2bf0902)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Moritz Haase
6e416d9247 libcomps: Backport patch to support builds with CMake 4+
PR [0] has been merged upstream, but there hasn't been a release containing it
yet.

[0]: https://github.com/rpm-software-management/libcomps/pull/119

(From OE-Core rev: 42e8b8085abcbdacb664645fd7c2d61511ee95f7)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Robert Yang
2d8d90d051 pseudo: 1.9.0 -> 1.9.2
(From OE-Core rev: 48a42747fd280ce68283e1491971d22273e3bdf2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Robert Yang
7a0402c608 git: 2.49.0 -> 2.50.0
* Rebased fixsort.patch

(From OE-Core rev: 481b051a2c6a17ad2e191f1ab0f71b976c285ecd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
31acfe2c3c pango: upgrade 1.56.3 -> 1.56.4
Changelog:
===========
- fontconfig: Improve the add_font_file implementation
- fontconfig: Combine font features and style variants
- fontconfig: Make sure font faces stay alive
- win32: Drop some caching
- win32: Make sure font faces stay alive
- win32: Modernize and simplify the code
- win32: Stop synthesizing fonts
- win32: Implement list models
- coretext: Support synthetic small caps
- layout: Avoid assertions in line breaking
- build: Require GLib 2.82

(From OE-Core rev: c2658fb4b877fe5144446f5498cd3115418dbf15)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
7851c4caf8 nghttp2: upgrade 1.65.0 -> 1.66.0
(From OE-Core rev: 9ae7de2eca0c26f574b3484665ec2a39a0a4544a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
eef530b574 python3-lxml: upgrade 5.4.0 -> 6.0.0
(From OE-Core rev: c96f8b1a8f5134def0f765bc1320771c6140cccd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
940f1fdca2 python3-license-expression: upgrade 30.4.1 -> 30.4.3
Changelog:
=============
- Fix missing release wheels
- Fix typo in README.rst for SPDX license list version
- Fix LicenseWithExceptionSymbol missing Expression class variables
- Depcreated licenses are loaded by default.

(From OE-Core rev: 10e7563b49bafb6c496de40435d12a676c9a2632)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
8297100647 python3-hypothesis: upgrade 6.135.9 -> 6.135.16
(From OE-Core rev: 2fc7c4917c33c84573e842f847d1df725e09d9cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
ac768741b4 pkgconf: upgrade 2.4.3 -> 2.5.1
(From OE-Core rev: b188dbc6986f2ba141e0399f2f9b6ec76d4eeeee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
a6e7f4015f libpam: upgrade 1.7.0 -> 1.7.1
0001-meson.build-correct-check-for-existence-of-two-prepr.patch
removed since it's included in 1.7.1

Changelog:
===============
* pam_access: do not resolve ttys or display variables as hostnames.
* pam_access: added "nodns" option to disallow resolving of tokens as hostnames
  (CVE-2024-10963).
* pam_limits: added support for rttime (RLIMIT_RTTIME).
* pam_namespace: fixed potential privilege escalation (CVE-2025-6020).
* meson: added support of elogind as a logind provider.
* Multiple minor bug fixes, build fixes, portability fixes,
  documentation improvements, and translation updates.

(From OE-Core rev: 5e77c48e074a20e58a233ab5ed6d8ef09bbd55c8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
2527b0cd8e libogg: upgrade 1.3.5 -> 1.3.6
Changelog:
===========
 * Update minimum cmake version to 3.6
   This fixes incompatibility with cmake >= 4.0
 * Fix UBsan issues
 * Improve allocation failure handling
 * Fix various compiler warnings
 * Fix various autotool warnings
 * Improve continuous integration testing scripts

(From OE-Core rev: a8fcf5eef3a19fafb09e8c89a67efb98fe9eea8c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
d5e4a783cb ethtool: upgrade 6.14 -> 6.15
avoid_parallel_tests.patch
refreshed for 6.15

(From OE-Core rev: a1b0874b9241e9c4c476c3d1ed937770c082fa01)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
ce4bf01c1a enchant2: upgrade 2.8.6 -> 2.8.10
(From OE-Core rev: 9183787f5bd5ffd266fa3712c5bb7f8c891f132d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
330859c3df btrfs-tools: upgrade 6.14 -> 6.15
Changelog:
===========
- mkfs: new option --inode-flags to specify flags/attributes for inodes/directories/subvolumes
- check:
  fix false alert on missing checksum for hole
  in lowmem mode, fix false alerts when checking refs
- convert: check feature compatibility when enabling block-group-tree
- tune convert-bgt: fix resume of conversion
- rescue: add new command fix-data-checksum, selectively fix or find mismatching checksums
- other:
  new and updated tests
  documentation updates

(From OE-Core rev: 1a5ede3b39410854dd306799c0e384718778709b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Chen Qi
25ceb023e6 pciutils: upgrade from 3.13.0 to 3.14.0
Upgrade pciutils from 3.13.0 to 3.14.0.

(From OE-Core rev: 94565f08cfc8273fbe282f03237bd0c8b49d16fb)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Louis Rannou
2ff9b7b6c6 openssh: limit read access to sshd_config
Enhance security by limiting read access for /etc/sshd_config to user root as it
may reveal unsecure configurations.

Reading access is limited in the install append as the default value 0644 is
hardcoded in the openssh makefile and is not configurable. Therefore the
permissions are modified in the install append.

(From OE-Core rev: 99c09d29d56cb98f749c2283b5b800de9af98745)

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Yash Shinde
9a084b728e rpm-sequoia: Use DEBUG_BUILD to determine build directory
Debug builds fail with a panic in build.rs when attempting
to create rpm-sequoia.pc in a non-existent target/debug directory:

process didn't exit successfully: `TOPDIR/tmp/work/core2-32-wrs-linux/rpm-sequoia/1.7.0/build/target/debug/build/rpm-sequoia-d2609670a855c0b5/build-script-build` (exit status: 101)
— stderr
thread 'main' panicked at build.rs:125:36:
Creating "TOPDIR/tmp/work/core2-32-wrs-linux/rpm-sequoia/1.7.0/sources-unpack/git/target/debug/rpm-sequoia.pc" (CARGO_TARGET_DIR: None): Os
{ code: 2, kind: NotFound, message: "No such file or directory" }

This was caused by the build and install logic assuming a fixed release directory
in rpm-sequoia recipe.

Update build and install steps to use the ${BUILD_DIR} variable,
which is set based on the value of DEBUG_BUILD from cargo.bbclass.
(rpm-sequoia inherits cargo)
This ensures paths used for rpm-sequoia.pc generation and installation
are valid in both debug and release configurations.

(From OE-Core rev: 2d21762d6f163c7fb8796d1035b0e25e21a3350b)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Mark Hatle
6cc72bc5b3 kernel.bbclass: State riscv required tune_features for Linux
Required:
   rv32ima_zicsr_zifencei
   rv64ima_zicsr_zifencei

See the arch/riscv/Makefile:

riscv-march-$(CONFIG_ARCH_RV32I)	:= rv32ima
riscv-march-$(CONFIG_ARCH_RV64I)	:= rv64ima
riscv-march-$(CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI) := $(riscv-march-y)_zicsr_zifencei

(From OE-Core rev: 6fd37774eda090951c48a3d9ad482e53f98b0529)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Mark Hatle
e02671f840 features_check.bbclass: Add support for required TUNE_FEATURES
(From OE-Core rev: a8ef7339ecb9eee909224e7cf23ccd48ef105d93)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Mark Hatle
7c354e6e24 u-boot: Dynamic RISC-V ISA configuration
Allow the risc-v TUNE_FEATURES to select specific ISA (kconfig) selections
via config fragments.

This allows the following items to be selected dynamically:

    CONFIG_RISCV_ISA_C
    CONFIG_RISCV_ISA_F
    CONFIG_RISCV_ISA_D
    CONFIG_RISCV_ISA_ZBB
    CONFIG_RISCV_ISA_A
    CONFIG_RISCV_ISA_ZICBOM

(From OE-Core rev: de890297b392fcf7f5bd2d25d3c173373b93dd36)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Simone Weiß
f4f2cdb39b libadwaita: upgrade 1.7.4 -> 1.7.5
Changelog:
- AdwAboutDialog/AdwAboutWindow
  - Fix a leak
- AdwAvatar
  - Fix custom image size with GTK 4.19.2
- AdwStyleManager
  - Fix loading font names when debug variables are set
- AdwTabOverview
  - Update window radius
- AdwToastOverlay
  - Fix a critical when showing a toast while hiding it
- Tests
  - Fix a leak

(From OE-Core rev: d91dde9e937be8fd4e88e55d3a6e614dd74502d3)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Joshua Watt
f5bc5c3443 devtool: Handle workspaces for multiconfig
If a multiconfig recipe is passed to devtool, find the correct workspace
name by removing the multiconfig prefix

(From OE-Core rev: 42c0c25428be329101a920d31c5fa8cf1e04ee38)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Mike Crowe
7ec0bdc24a externalsrc: Always ask Git for location of .git directory
externalsrc_configure_prefunc assumed that the .git directory is
${S}/.git. This isn't true for submodules at least.

srctree_hash_files already contained code to ask Git for the correct
path to the .git directory. Let's move that code to a new find_git_dir
function and call it from both places and make the behaviour consistent.

(From OE-Core rev: 47891e200e92ba34a6ff2df2fba1032738f52f98)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
08c8e9066d shaderc: upgrade 2025.2 -> 2025.3
0001-cmake-disable-building-external-dependencies.patch
refreshed for 2025.3

(From OE-Core rev: 3e95f13bd5547bf3d555d8344e47912bd94d07f8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
fbe9a3df9f repo: upgrade 2.55.2 -> 2.56
(From OE-Core rev: 5c981658f1e8012c84d1795c83e694175f297471)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
e6bfb24794 python3-pygments: upgrade 2.19.1 -> 2.19.2
Changelog:
  Lua: Fix regression introduced in 2.19.0

(From OE-Core rev: 822abe77e502ce71bb135e49696c6bdaea0c73da)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
0ca584c65c python3-pdm: upgrade 2.25.1 -> 2.25.3
Changelog:
=============
- Fix a bug that local file package metadata was missing when reading the lockfile.
- Extract dependency-groups and extras markers from marker value when parsing pylock.toml.

(From OE-Core rev: 81bdaa7dca8715d94f230b3698f519743765210e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
a582230cf9 python3-numpy: upgrade 2.3.0 -> 2.3.1
(From OE-Core rev: 3d708d283303aec17785e56d03e7e8884fb9c061)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Wang Mingyu
21cdff400c python3-markdown: upgrade 3.8 -> 3.8.2
Changelog:
============
- Fix codecs deprecation in Python 3.14.
- Fix issue with unclosed comment parsing in Python 3.14.
- Fix issue with unclosed declarations in Python 3.14.
- Fix issue with unclosed HTML tag < foo and Python 3.14.
- Ensure incomplete markup declaration in raw HTML doesn't crash parser (#1534).
- Fixed dropped content in md_in_html (#1526).
- Fixed HTML handling corner case that prevented some content from not being rendered

(From OE-Core rev: 665b9720b0f5630090f0345abf6b49a3eda77608)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:50 +01:00
Chen Qi
6a6b2433a2 shadow: upgrade from 4.17.4 to 4.18.0
Upgrade shadow from 4.17.4 to 4.18.0.

Full change log:
https://github.com/shadow-maint/shadow/compare/4.17.4...4.18.0

(From OE-Core rev: 31574716b01e05967eb30656eaf156f6b5e6aba7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:49 +01:00
Mikko Rapeli
05e97d5e6e oeqa context.py: use TEST_SUITES if set
If build target has set TEST_SUITES, then that should
be the default test modules to execute. Fixes testexport.bbclass
to run same tests as testimage.bbclass which already
uses TEST_SUITES.

(From OE-Core rev: c66b1dc0a2f973a84dc38b7cc27ae823e0f0a916)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:49 +01:00
Vivek Puar
091c369009 linux-firmware: upgrade 20250613 -> 20250627
Add packages ${PN}-qcom-x1p42100-adreno and ${PN}-qcom-adreno-g715 for
Snapdragon X1 Plus (X1P42100) GPU firmware.

Add new LICENSE files.

License-Update: additional files

(From OE-Core rev: 9c2e2e16e9208779fc7922ff801164d2e2498090)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:49 +01:00
Vivek Puar
1ec6238041 linux-firmware: upgrade 20250509 -> 20250613
Adding QUPv3 firmware for QCM6490 and QCS8300 platforms.

Add package ${PN}-qcom-sc8280xp-lenovo-x13s-vpu for Lenovo X13s
laptop.

License-Update: additional files

(From OE-Core rev: a7ad02364ac54f9895d8a7fef3029d6a96a851b6)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:49 +01:00
Vivek Puar
9409cd74b5 linux-firmware: add missing license
Some license were part of the linux-firmware but were not added to the
recipe, so adding those missing license

(From OE-Core rev: 45361e2e6cafbaf60d1e3b815b96e4874214d49c)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-07 22:12:49 +01:00
Enrico Jörns
b1acce1955 conf.py: improve SearchEnglish to handle terms with dots
While search queries already handled words with hyphens correctly, they
did not do so for words with dots.

To fix this, we

- enhance the word tokenizer to treat both dots ('.') and hyphens ('-')
  as valid characters within words.
  (For robustness, explicitly exclude dots/hyphens at the start or end
  of a word from indexing.)
- adjust query processing to avoid splitting on dots in search input

This allows search queries to correctly match terms such as
'local.conf', 'site.conf', and similar ones now.

Fixes: [YOCTO #14534]

(From yocto-docs rev: 80084a4cabdf7f61c7e93eda8ddbd5bc7d54e041)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 22:48:21 +01:00
Bo Sun
eab29e5b54 bsp-guide: fix branch listing command
Replace 'git branch -al' with 'git branch -a' to correctly show both
local and remote branches. The '-l' option is unnecessary and may cause
confusion.

(From yocto-docs rev: 46aa3bb398c50af0f29acd2c1a05ee232d0de5b9)

Signed-off-by: Bo Sun <bo@mboxify.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 22:48:21 +01:00
Bo Sun
d028bde750 bsp-guide: fix README link for meta-intel layer
Update the meta-intel BSP layer reference to point to README.md
instead of README, reflecting the actual file name in the repository.

(From yocto-docs rev: 32eb132ad69a0722e0075404f809bfe9df06adee)

Signed-off-by: Bo Sun <bo@mboxify.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 22:48:21 +01:00
Lee Chee Yang
540f09ad91 ref-manual/yocto-project-supported-features: update contact for meta-intel
(From yocto-docs rev: 083f4c60128d16756c78f61c4cade49e11764034)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 22:48:21 +01:00
Ross Burton
c2a375b1fa ref-manual: classes: add recipe-naming QA test
Add documentation for the new recipe-naming recipe QA test.

(From yocto-docs rev: 8f9ad9681c18412e9eedc014e686b1b72e458687)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 22:48:21 +01:00
Khem Raj
c69887224f base.bbclass: Deferred inherit native toolchain class
use TOOLCHAIN_NATIVE variable for selecting native compiler

Default it to PREFERRED_TOOLCHAIN_NATIVE, a recipe which wants
to enforce a toolchain can do so with

for cross toolchains ( e.g. target, nativesdk )

TOOLCHAIN = "gcc"

For native

TOOLCHAIN_NATIVE = "gcc"

This helps build native recipe with clang as native compiler.

(From OE-Core rev: 546baa210acacff5dde6ce55e9842b90277bc9a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 14:56:41 +01:00
Khem Raj
582664d64d compiler-rt,libcxx: Use clang for native-libcxx and gcc for compiler-rt-native
compiler-rt configure calls for c++ compiler which can cause C++ runtime to
not be detected on some Yocto autobuilder workers running ubuntu 24.04
therefore let it use gcc for native version

Set TOOLCHAIN_NATIVE for using clang for libcxx

(From OE-Core rev: d54512c1c0a98516077b77d5414af47d8c2b8c39)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-04 14:56:41 +01:00
Hongxu Jia
37dd8810df kernelsrc/perf: clean up package version while using kernel source
If recipe inherits bbclass kernelsrc to use kernel sources,
the recipe should explicitly set ${KERNEL_VERSION} to ${PKGV}
in task do_package, otherwise package version (${PV} is usually
default 1.0) is not consistent with kernel source.

For example, there are 5 recipes in meta-openembedded to inherit
kernelsrc, but 4 recipes explicitly set PKGV.

meta-openembedded$ grep -e "setVar(.*PKGV.*KERNEL_VERSION" -e kernelsrc -rn *
meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb:9:inherit kernelsrc
meta-oe/recipes-kernel/bpftool/bpftool.bb:8:inherit bash-completion kernelsrc kernel-arch
meta-oe/recipes-kernel/bpftool/bpftool.bb:44:    d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
meta-oe/recipes-kernel/cpupower/cpupower.bb:8:inherit kernelsrc kernel-arch bash-completion
meta-oe/recipes-kernel/cpupower/cpupower.bb:32:    d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
meta-oe/recipes-kernel/turbostat/turbostat.bb:98:    d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb:25:inherit kernelsrc autotools-brokensep
meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb:68:    d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
meta-oe/recipes-kernel/spidev-test/spidev-test.bb:7:inherit bash-completion kernelsrc kernel-arch
meta-oe/recipes-kernel/spidev-test/spidev-test.bb:26:    d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])

This commit clean up the setting of PKGV, move it to kernelsrc.bbclass
for common use, the recipe (such as intel-speed-select) that inherited
kernelsrc will not be required to explicitly set ${PKGV} with
${KERNEL_VERSION}

(From OE-Core rev: 77a93e8cf1da4231341c56f64f9d4d474f9f2bb7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Hongxu Jia
1fb4a71811 kernel-devsrc: make package version consistent with kernel source
The package version of kernel-devsrc is 1.0 which is not consistent
with kernel source

$ bitbake kernel-devsrc
$ ls tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-*
tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-1.0-r0.qemux86_64.rpm
tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-dbg-1.0-r0.qemux86_64.rpm
tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-dev-1.0-r0.qemux86_64.rpm

After commit [kernelsrc.bbclass/perf: make package version consistent
with kernel source] applied, it moved the setting of PKGV to
kernelsrc.bbclass for common use. And bbclass kernelsrc has already
inherited linux-kernel-base, this commit uses bbclass kernelsrc to
instead of linux-kernel-base, and remove duplicated settings.

After applying this commit:
$ ls tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-*
tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-6.12.31-r0.qemux86_64.rpm
tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-dbg-6.12.31-r0.qemux86_64.rpm
tmp/work/qemux86_64-poky-linux/kernel-devsrc/1.0/deploy-rpms/qemux86_64/kernel-devsrc-dev-6.12.31-r0.qemux86_64.rpm

(From OE-Core rev: ceff363630ac0397c40be4a5ce54a6c20f901c40)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Jon Mason
39c22500c1 libucontext: use hard/soft float
When building for qemuarm-secureboot in meta-arn with musl and clang,
the following compile error is seen:
- | ../sources/libucontext-1.3.2/arch/arm/swapcontext.S:23:11: error: unknown token in expression
- |  ldr r4, =#0x56465001
- |           ^

This is happening because 1.3 added ifdefs for assembly code for both
hard and soft float, and bcause neither is being defined, it is taking
this path with the issue.

Since we can tell if soft or hard float is being used via the TARGET_FPU
variable, use that and set the relevant makefile flag.

(From OE-Core rev: 61c54f169db74b818f587b3147c9abb611f64e0d)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Thomas Perrot
35c7f98770 opensbi: bump to 1.7
This release has:
- New parameter in top-level Makefile for reproducible builds
- Added MIPS P8700 platform support
- Allow arbitrary path in LLVM parameter of top-level Makefile
- Improved SBI v3.0 extensions to match frozen specification
-  Emulate AMO instructions when Zaamo is not available
- Stop the harts waiting for HSM start from supervisor software
- Improved generic platform overrides to use common fdt_driver helpers
- Improved SBI MPXY framework to use per-domain data
- Added support for control transfer records (CTR) ISA extension
- Use LR and SC when Zaamo ISA extension is not available
- Added PXA UART support
- Added support for double-trap ISA extensions
- Optimized hartid and scratch lookup
- Added unit tests for bitwise operations
- Added unit tests for SBI ecall functionality
- Constify various FDT driver definitions
- Added MPXY RPMI mailbox driver for System MSI service group
- Improved RPMI drivers to match frozen specifications
- Initialize miscellaneous early drivers in one pass
- Use fdt_driver helpers for irqchip driver framework
- Allow adding SSE events dynamically at boot-time
- Simple singly linked list implementation

Overall, this release adds more ISA extensions and does many device driver
improvements.

(From OE-Core rev: 4278b9dde47957393fee46dfcc6620c3838cc73d)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Alexander Kanavin
42f689355a libarchive: correct upstream version check
The directory index is missing the latest release:
https://www.libarchive.org/downloads/

Ticket (which I do not believe will be quickly fixed, considering
other similar open tickets):
https://github.com/libarchive/libarchive/issues/2693

(From OE-Core rev: e3b3c85f026ffba772c1cc6918113274e13002e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Joshua Watt
860aedadc9 spdx30: Allow VEX Justification to be configurable
Instead of hard coding the VEX justifications for "Ignored" CVE status,
add a map that configures what justification should be used for each
status.

This allows other justifications to be easily added, and also ensures
that status fields added externally (by downstream) can set an
appropriate justification if necessary.

(From OE-Core rev: c0fa3d92cefa74fa57c6c48c94acc64aa454e781)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Wang Mingyu
2fef1b9af0 ttyrun: upgrade 2.37.0 -> 2.38.0
(From OE-Core rev: 02fbee02aae3ee60391c9105bc2450fe260aaeb7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Wang Mingyu
c772dc48e3 mobile-broadband-provider-info: upgrade 20240407 -> 20250613
(From OE-Core rev: 7ee122c35701bdf4cda4c72757ff8c85e07de5d3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Wang Mingyu
cfd1026ec5 mesa: upgrade 25.1.3 -> 25.1.4
(From OE-Core rev: c1d7829b9873f1037dab1ddc200a3da68337f909)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Wang Mingyu
aa704965f1 libproxy: upgrade 0.5.9 -> 0.5.10
Changelog:
==========
- kde: Support Proxy Config Script value without scheme
- Create codeql.yml
- Add MATE and Cinnamon check to gnome plugin
- Support -M option for Solaris/illumos ld
- Fix symbol versioning with LLD
- Create SECURITY.md

(From OE-Core rev: 0a5d1049f9cce5bb1d0217fb1c6eea7fbf469aee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Wang Mingyu
9ad3bf5ed6 libmodulemd: upgrade 2.15.1 -> 2.15.2
Fixes:
-----------
module_index test now passes if RPM library is built without bzip2 or xz
compression support and libmodulemd is configured to support decompression
using the RPM library.

(From OE-Core rev: e5b3a65b88bd0546d6082d59d1c41505c4efc32d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Markus Volk
99c656f51c tcl: fix tclConfig.sh after UNPACKDIR change
Adapt the  sed command that edits TCL_SRC_DIR in tclConfig.sh
This is needed so that tk in meta-oe is capable of reading
the required header file

Remove buildpath from TCL_BUILD_STUB_LIB_PATH in tclConfig.sh

(From OE-Core rev: f04b0b2b42f4b4e689b9cf1b6e394159f0710122)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Khem Raj
53d01ed4f4 clang-native: Add class to use clang as native compiler
Some recipes demand full clang/llvm builds e.g. chromium we need to use
clang as native toolchain. This class collects all needed bits to enable
OE built clang to provide the clang native toolchain

Setting

TOOLCHAIN_NATIVE = "clang"

in recipe will chose clang for native toolchain

(From OE-Core rev: 43ba5ed17e069b13cd43c36650524a0113c81955)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Changqing Li
83fb170a09 mingetty: fix do_package warning
Reproduce steps(Under the same project dir):
1. enable DISTRO_FEATURES usrmerge,  bitbake mingetty
2. disable DISTRO_FEATURES usrmerge, bitbake mingetty

Result in step 2:
WARNING: mingetty-1.08-r3 do_package: mingetty: NOT adding alternative provide /usr/sbin/getty: /usr/sbin/mingetty does not exist
WARNING: mingetty-1.08-r3 do_package: QA Issue: mingetty: Files/directories were installed but not shipped in any package:
  /sbin
  /usr/sbin

In step1, Line SBINDIR=/sbin is replaced to SBINDIR=/usr/sbin, in step2,
since do_fetch does not rerun, Makefile still has SBINDIR=/usr/sbin, so
sed not works as expected, SBINDIR still equal to /usr/sbin when disable
usrmerge. And cause above two warnings.

(From OE-Core rev: 12539d529c6af3d4a56ff4f1e1420e7e4d169804)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Mikko Rapeli
2d900c3061 oeqa/runtime: set self.runner and handle None
Set default self.runner to None. qemu target sets
the runner to qemu. Then handle self.runner None in
run_network_serialdebug(). This way ssh runner
and failing ping or ssh tests handle the error cases.

(From OE-Core rev: 39f72147ef402bea54a66abf984315c1f93aa141)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:17 +01:00
Wang Mingyu
12a735bf25 bind: upgrade 9.20.9 -> 9.20.10
(From OE-Core rev: 87a70365d16f740c9ad720c6e4a134c0e88ce325)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
e13a21e772 gst-examples: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 684b26f1497ddba682c5d0dd011ff6b9d000dbe4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
f1f1ebd5e5 gstreamer1.0-vaapi: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 031b429391826c7b12f87cba30a42dc7eedf76d0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
f8ff9d2c88 gstreamer1.0: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 9726eb4bf3bae147730de79e79185452d46f4d69)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
c51bebcc65 gstreamer1.0-rtsp-server: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 68256d1c551be1682c0a211cb9b94619d08c6cd3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
4eb760e85e gstreamer1.0-python: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 1d2557877feeb983ad86366f30f69dc801bf221c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
200c571cc2 gstreamer1.0-plugins-ugly: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: d66f5e29a196d890b375297eab415dd854fb8b82)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
c3d001a9cd gstreamer1.0-plugins-good: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 8cc4f2f479baada07badd36461e9f659f8525e87)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
52edc1bb98 gstreamer1.0-plugins-base: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: b47886f9bf9dd245283377428aa67df60d4ba4c0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
766e81f783 gstreamer1.0-plugins-bad: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: f6179bec080b18b3d0503de89198623ccd30a386)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
1ef6be8b8b gstreamer1.0-libav: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: c6cd47286e3592ccaeca094626fd1a0163efd4df)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
1aea972edb gst-devtools: upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: df0b4cce448553d8c2b26be86c2d2e3be8ffd4e0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Wang Mingyu
9d41127b24 sudo: upgrade 1.9.16p2 -> 1.9.17
License-Update: Copyright updated to 2025

0001-sudo.conf.in-fix-conflict-with-multilib.patch
refreshed for 1.9.17

(From OE-Core rev: c21ed3c8f4ca76ff7c65cf71a93759fad8846386)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Khem Raj
4263516a5b clang: Upgrade to 20.1.7
Brings following fixes

* 6146a88f6049 [LoongArch] Fix '-mno-lsx' option not disabling LASX feature (#143821)
* 9ba132be8eea [clan-reply] Backport PTU error recovery to 20.x
* 199e02a36433 Disable clangd/test/module_dependencies.test on Windows
* 02aec86e4d0d [clangd] [Modules] Fix to correctly handle module dependencies (#142828)
* c4f257cb74b5 [llvm-rc] Allow ALT on non-virtkey accelerators (#143374)
* 6fa0cdf3720b release/20.x: [clang] Don't evaluate the initializer of constexpr-unknown parameters. (#142498)
* 337beb73abfe [libc++] Add _LIBCPP_NO_UNIQUE_ADDRESS to flat_{,multi}map::value_compare (#137594)
* b8e10ca59b6a [libc++] Fix check for _LIBCPP_HAS_NO_WIDE_CHARACTERS in features.py (#131675)
* 2da24c36c7df [libcxx] Provide locale conversions to tests through lit substitution (#105651)
* 253e9321c8b6 [release/20.x] Update release notes for SystemZ changes (#140060)
* acf86c5c4dbe [CVP] Keep `ReachableCaseCount` in sync with range of condition (#142302)
* 2481e590eec7 [AArch64][SME] Fix accessing the emergency spill slot with hazard padding (#142190)
* 22a3e6b19409 release/20.x: [AArch64] Handle XAR with v1i64 operand types (#141754)
* e5dd4f129454 [clangd] Guard against trivial FunctionProtoTypeLoc when creating inlay hints (#143087)
* f6532710ace8 [clang-format] Correctly annotate token-pasted function decl names (#142337)
* e0586e278f96 [RelLookupTableConverter] Drop unnamed_addr to avoid generating GOTPCREL relocations (#142304)
* 7759bb57c243 (origin/users/mizvekov/GH139019) [clang] Serialization: support hashing null template arguments
* 7cf14539b644 Bump version to 20.1.7

(From OE-Core rev: 293a471e0ee8c7f487b138d858c9b87a0e61c063)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
f551a5e368 libksba: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix from version in
pc file.

Befor the fix:
$ cat /usr/lib/pkgconfig/ksba.pc
[snip]
Name: ksba
Description: X.509 and CMS support library
Requires: gpg-error
Version: 1.6.7-unknown
Cflags: -I${includedir}
[snip]

After the fix:
$ cat /usr/lib/pkgconfig/ksba.pc
[snip]
Name: ksba
Description: X.509 and CMS support library
Requires: gpg-error
Version: 1.6.7
Cflags: -I${includedir}
[snip]

(From OE-Core rev: e4a81e02f0d6c7d2738fee2dee9e3aaf920ae0b2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
cd6104d347 libassuan: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix from version in
pc file.

Befor the fix:
$ cat /usr/lib/pkgconfig/libassuan.pc
[snip]
Name: libassuan
Description: IPC library for the GnuPG components
Requires.private: gpg-error
Version: 3.0.2-unknown
Cflags: -I${includedir}
[snip]

After the fix:
$ cat /usr/lib/pkgconfig/libassuan.pc
[snip]
Name: libassuan
Description: IPC library for the GnuPG components
Requires.private: gpg-error
Version: 3.0.2
Cflags: -I${includedir}
[snip]

(From OE-Core rev: 531a71a265c1db25ebea86f6d8c6b2f436145858)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
87af74ba63 libgcrypt: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix in runtime
version.

Befor the fix:
$ mpicalc --version
mpicalc 2.0
libgcrypt 1.11.0-unknown

After the fix:
$ mpicalc --version
mpicalc 2.0
libgcrypt 1.11.0

(From OE-Core rev: 62e82a9410c66fa3f7607243bfc44faa159edbe2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
c2febebbf1 pinentry: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix in runtime
version.

Befor the fix:
$ pinentry --version
pinentry-curses (pinentry) 1.3.1-unknown

After the fix:
$ pinentry --version
pinentry-curses (pinentry) 1.3.1

(From OE-Core rev: 752b55a9eb631eb48e3dd87062ee0728e67d41a6)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
5396fc04ae libgpg-error:: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix in runtime
version.

Befor the fix:
$ gpg-error --version
gpg-error (libgpg-error) 1.55-unknown

After the fix:
$ gpg-error --version
gpg-error (libgpg-error) 1.55

(From OE-Core rev: 8477ce3bbd1abf6d7c88ea33696503b5454e5d93)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
7e3e3feb5a gnupg: drop -unknown suffix from version number
For gnupg and related packages, if autogen.sh is run outside of a git
repo, the find-version function always assumes that the package is a
beta version and adds the suffix '-unknown' to the version number.

Add drop-unknow-suffix.inc file that can be included by gnupg and other
recipes. This file is used to modify autogen.sh:
1. Replace beta=yes with beta=no.
2. Replace tmp="-unknown" with tmp=""

Also remove 0004-autogen.sh-fix-find-version-for-beta-checking.patch as
it is no longer needed.

Befor the fix:
$ gpg --version
gpg (GnuPG) 2.5.5-unknown

After the fix:
$ gpg --version
gpg (GnuPG) 2.5.5

(From OE-Core rev: f6efe56a8c73ae9f58cb70f1469c617ff0647b49)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
bb59fbb5e6 psmisc: fix runtime version when using git shallow tarball
Add tag to SRC_URI to fix runtime version when using git shallow
tarball.

Before the fix:
root@intel-x86-64:~# pslog -V
pslog (PSmisc) UNKNOWN

After the fix:
root@intel-x86-64:~# pslog  -V
pslog (PSmisc) 23.7

(From OE-Core rev: f149a9541789286299c1afb84f61df0484d0f72e)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Yi Zhao
45f527d299 procps: fix runtime version when using git shallow tarball
Add tag to SRC_URI to fix runtime version when using git shallow
tarball.

Before the fix:
root@intel-x86-64:~# ps -V
ps from procps-ng UNKNOWN
root@intel-x86-64:~# sysctl -V
sysctl from procps-ng UNKNOWN

After the fix:
root@intel-x86-64:~# ps -V
ps from procps-ng 4.0.5
root@intel-x86-64:~# sysctl -V
sysctl from procps-ng 4.0.5

(From OE-Core rev: 02f944088430c7cc023366d7cb5f92d7dcb62dfb)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Richard Purdie
57f1eb2e66 sanity: Reference gcc/g++ directly
BUILD_CC and BUILD_CXX can be overridden on a per recipe context now so
these tests don't make sense in this form any more. They assume gcc/g++
so lets just use those directly.

This fixes things to work with toolchain selection for the native
case.

(From OE-Core rev: cc93781667cf4f6971bcb9319ab8ab21320852de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Richard Purdie
8624474277 sanity/utils: Directly use gcc, not BUILD_CC
The test/helper is written assuming gcc, so just call that and stop
accessing BUILD_CC which may be set to clang.

(From OE-Core rev: 0a165a93693a293f08cb0d7e2dfa1016803a917a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Richard Purdie
204653a519 uninative/utils: Drop workarounds for gcc 4.8/4.9
We require at least gcc 8.0 in sanity.bbclass so drop the 4.8/4.9
special case handling in uninative.

(From OE-Core rev: 552e037bf598ac523f35b69d2dafc99e5ba59c5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-03 10:40:16 +01:00
Richard Purdie
243d54fd46 sanity: Require minimum of bitbake 2.15.1
This is needed for tinfoil and umask helper function changes.

(From OE-Core rev: d1c39b29f21719b349072c51a761fa19770a49ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:51:50 +01:00
Richard Purdie
5336309d6f bitbake: bitbake: Bump version to 2.15.1
(Bitbake rev: f68b513c38fa33c89236efbaab2674a25983d5e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:50:51 +01:00
Richard Purdie
f47786d66f base: Use OE_SHARED_UMASK for do_fetch
The intent has always been to share DL_DIR, so set the umask accordingly
to the new OE_SHARED_UMASK variable and match expectations.

(From OE-Core rev: 00e9bfbd29f3959adfc2c64ec78285a11ff83821)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Richard Purdie
6c8292de85 bitbake.conf/sstate: Introduce OE_SHARED_UMASK to standarise shared area umask
Currently, the "shared" directory permissions of sstate are hardcoded. Since
multiple areas of the code reference this, separate it out to a variable to
allow the behaviour to be configurable. Initially this applies to SSTATE_DIR.

(From OE-Core rev: ce32daa9843bcb5f6daf3560c64ca9e5144adcb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Tim Orling
99d0842f16 python3-wheel: upgrade 0.45.1 -> 0.46.1; add ptest
* Add python3-packaging to RDEPENDS
* Enable ptest:
  - Add to ptest-packagelists.inc PTESTS_FAST
  - inherit ptest-python-pytest
  - Add python3-setuptools to ptest RDEPENDS
  - One test is skipped, but it requires the "full" python3-flit,
    not just python3-flit-core.

Comparing changes since 0.45.1:
https://github.com/pypa/wheel/compare/0.45.1...0.46.1

Release notes [1]:

0.46.1 (2025-04-08)
* Temporarily restored the wheel.macosx_libfile module (#659)

0.46.0 (2025-04-03)
* Dropped support for Python 3.8
* Removed the bdist_wheel setuptools command implementation and entry
  point. The wheel.bdist_wheel module is now just an alias to
  setuptools.command.bdist_wheel, emitting a deprecation warning on import.
* Removed vendored packaging in favor of a run-time dependency on it
* Made the wheel.metadata module private (with a deprecation warning if
  it’s imported
* Made the wheel.cli package private (no deprecation warning)
* Fixed an exception when calling the convert command with an empty
  description field

[1] https://wheel.readthedocs.io/en/stable/news.html

(From OE-Core rev: 610ca66283b6a440a1cde4c26945392ed15ac3e0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Moritz Haase
81d51469f6 json-c: Remove icecc specific comment
6481e8b209 ("json-c: fix icecc compilation") disabled '-Werror' unconditionally
for all compilers. We want to keep it disabled to reduce efforts when updating
or adding support for new toolchains (see [0]), but since support for icecc has
been removed via ba4fd52298 ("classes/recipes-devtools: Drop icecc from
OE-Core") recently, we can drop the comment referencing it.

[0]: https://lists.openembedded.org/g/openembedded-core/message/219364

(From OE-Core rev: 8b5466701979931506bb179812a0a66ed9b43c1c)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
CC: quentin.schulz@cherry.de
CC: m.felsch@pengutronix.de
CC: ross.burton@arm.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Randy MacLeod
5a87cb6679 ninja: upgrade 1.12.1 -> 1.13.0
Changelog:
==========
 - Ninja now automatically joins a GNU Make jobserver as a client
   (version 4.4 on non-Windows systems required for "fifo" style) #1139
 - Print exit code of failed subcommands #1507
 - ninja -t compdb accepts a target #1544
 - Support for ANSI (color) escape codes in NINJA_STATUS #713

See:
   https://github.com/ninja-build/ninja/milestone/8?closed=1
for a complete list of changes.

Add tag to SRC_URI as is now required.
Also line-wrap the DESCRIPTION.

(From OE-Core rev: 79f1b70dacfcd841aa8252fba77df5f6b11e3c96)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Thune Tran
041ba867db oeqa/sdk: Simplify test specification and discovery
Simplify how tests are specified and discovered for different SDK configurations
to allow per-layer customization.

* Introduce `TESTSDK_CASE_DIRS` variable to specify test directory types,
  replacing the need to modify the default_cases class member

* Discover tests from configured layers using a common discovery pattern
  (`<LAYER_DIR>/lib/oeqa/<dirname>/cases`) where `<dirname>` is specified in `TESTSDK_CASE_DIRS`

* The buildtools directories were renamed to follow the common discovery pattern
(`<LAYER_DIR>/lib/oeqa/<dirname>/cases`) for consistency across all SDK configurations.

  meta/lib/oeqa/
  ├── sdk/cases/              # Standard SDK: dirname="sdk"
  ├── buildtools/cases/       # Buildtools: dirname="buildtools"
  └── buildtools-docs/cases/  # Buildtools-docs: dirname="buildtools-docs"

  meta-mingw/lib/oeqa/
  └── sdkmingw/cases/         # MinGW: dirname="sdkmingw"

  meta-foo/lib/oeqa/
  └── sdk/cases/              # Standard SDK: dirname="sdk"

Tested by:

1. Adding new tests using the default discovery pattern `<LAYER_DIR>/lib/oeqa/sdk/cases` and
   verifying they are discovered and executed.

2. Verifying existing SDK configuration tests work (requires -c populate_sdk first):
   * Standard SDK: `bitbake core-image-minimal -c testsdk`
   * Buildtools tarball: `bitbake buildtools-tarball -c testsdk`
   * Buildtools docs tarball: `bitbake buildtools-docs-tarball -c testsdk`
   * Mingw SDK: (SDKMACHINE = "x86_64-mingw32") `bitbake core-image-minimal -c testsdk`

(From OE-Core rev: bde94c128c0b4e7e1ebea40f582b4dd6dcc965ff)

Signed-off-by: Thune Tran <thune.a.tran@boeing.com>
Signed-off-by: Chuck Wolber <chuck.wolber@boeing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
ece7bb5490 oeqa/selftest/devtool: update create_go test to match the new behaviour
Update the test now that the recipe uses go-mod-update-modules.

(From OE-Core rev: 1030223a43aa4500c0d4ebd9dfacf60b44239481)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
ebfdda93b4 oeqa/sefltest/devtool: improve assignment matching in _test_recipe_contents
This function assumed that all assignments are done with just "=".

However, being able to check += or ?= is also useful, so use a regex to
split the line and be more flexible about what an assignment operator
looks like.

(From OE-Core rev: bee528f38d39ed1f91319201e8a99c0b65c9f975)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
43434a79c0 recipetool/create_go: proxy module fetching to go-mod-update-modules
Now that the go-mod-update-modules class exists, this Go handler can
create a stub recipe and then proxy the module handling to the class.

(From OE-Core rev: 0aa406d0582d32399c48dfa78f24adc75696112c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
9291f67f1e classes/go-mod-update-modules: add class to generate module list
Almost entirely based on the create_go.py module for recipetool by
Christian Lindeberg <christian.lindeberg@axis.com>, this instead has the
logic inside a class that can be used to update the list of Go modules
that are used, both SRC_URI and LICENSE.

Integration with devtool upgrade will come shortly, but it needs a bit
more work.

(From OE-Core rev: 34bb889ffaae15f89c5627610826b498697c51f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
72486700fb oe/licenses: move tidy_licenses from recipetool
This function, to tidy a license string, is useful outside of recipetool
so move it to oe.license.

(From OE-Core rev: 9d57b53169bc60b281510c49e54123941a17a8f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Christian Lindeberg
90cc27f8ce recipetool: create_go: Use gomod fetcher instead of go mod vendor
Use the go-mod bbclass together with the gomod fetcher instead of the
go-vendor bbclass.

(From OE-Core rev: 42b46ab3b92a4f011592e8efcedead075731b8bd)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
45eb6f8188 recipetool: allow recipe create handlers to specify bitbake tasks to run
When creating a recipe there can be cases where there is a class that
does some of the recipe creation (such as cargo-update-recipe-crates).

To avoid duplication of code, look for run_task assignments in the
extravalues dictionary returned by the handler, and if it is set then
call that task after writing the recipe.

(From OE-Core rev: 629184de671cf7b86fe95fcce788dffcc3a4da8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Peter Kjellerstedt
1e3a4a08a2 recipetool: create: Support creating extra files named after the recipe
(From OE-Core rev: ea26eb8e4a00a63700a95c2c848272b170154294)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Peter Kjellerstedt
a9e835dbe6 go-mod.bbclass: Calculate GO_MOD_CACHE_DIR relative to ${UNPACKDIR}
Adapt to the recent move of S from ${WORKDIR} to ${UNPACKDIR}.

(From OE-Core rev: 5f8218c62637208259a94979fe9a8a9b672e4ea4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ricardo Simoes
bd91904755 dosfstools: Use standard fsck exit codes
This commit brings in `dosfstools` patches to make `fsck.vfat` exit
codes adhere to the standard exit codes defined by `fsck`. See [1].

These will fix the interaction of `fsck.vfat` with other tools like
`systemd-fsck` which expect the exit codes to be in line with the
standard [2].

However, as of today the dosfstools maintainer(s) are invisible for over
a year [3]. Thus, if upstream ever becomes active again, these patches
should be reassessed.

[1] https://github.com/dosfstools/dosfstools/issues/89

[2] https://man7.org/linux/man-pages/man8/systemd-fsck@.service.8.html

[3] https://github.com/dosfstools/dosfstools/issues/210

(From OE-Core rev: d344a9d806b0a3ec1d14fe810c37592775075e9b)

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Antonin Godard
6c56844f83 buildtools-docs-tarball: add sphinx-argparse and sphinx-copybutton
Include these sphinx extensions in the buildtools tarball to make them
available when building the documentation.

(From OE-Core rev: 2221a66a9d8d13a2d6040ab55f066ca39b1a6ea4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Antonin Godard
d63c1d406f python3-sphinx-copybutton: add recipe
The sphinx-copybutton extension can be used to add a copy button to code
blocks in the documentation.

(From OE-Core rev: ebf14a6dc1a5fd041f4df4fd8c6f28da9d15c8f6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Antonin Godard
8a2e01564b python3-sphinx-argparse: add recipe
This Sphinx extension can be used to autogenerate documentation for any
python module returning an argument parser from argparse. It can used in
places of the documentation where the --help output is currently
hardcoded, and generate formatted documentation instead.

(From OE-Core rev: 84d1a347195a3cd702468b01a71e787c3e007488)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Yogita Urade
adf4e0facb python3-urllib3: upgrade 2.4.0 -> 2.5.0
Includes fix for CVE-2025-50181 and CVE-2025-50182

Changelog:
https://urllib3.readthedocs.io/en/stable/changelog.html#id1
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#250-2025-06-18

(From OE-Core rev: 4bd2fbd3f0e44f42b0abc6e32348aa915d98b87b)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Jinfeng Wang
5922a61332 mtools: upgrade 4.0.48 -> 4.0.49
New version includes check for overlong file names, see [1].

[1] https://lists.gnu.org/archive/html/info-mtools/2025-06/msg00005.html

(From OE-Core rev: 044c2bceefcc12262cb2421e8f1da5f6c2ed9f72)

Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Hongxu Jia
5a6f74d4fc create-spdx-2.2: support to override the version of a package in SPDX 2
By default, still use ${PV} as the the version of a package in SPDX 2

$ echo 'INHERIT:remove = "create-spdx"' >> conf/local.conf
$ echo 'INHERIT += "create-spdx-2.2"' >> conf/local.conf
$ bitbake acl
$ jq . tmp/deploy/spdx/2.2/core2-64/recipes/recipe-acl.spdx.json
...
      "name": "acl",
      "summary": "Utilities for managing POSIX Access Control Lists",
      "supplier": "Organization: OpenEmbedded ()",
      "versionInfo": "2.3.2"
    },
...

Support to override it by setting SPDX_PACKAGE_VERSION, such as
set SPDX_PACKAGE_VERSION = "${EXTENDPKGV}" in local.conf to append
PR to versionInfo in SBOM 2
$ echo 'SPDX_PACKAGE_VERSION = "${EXTENDPKGV}"' >> conf/local.conf
$ bitbake acl
$ jq . tmp/deploy/spdx/2.2/core2-64/recipes/recipe-acl.spdx.json
...
      "name": "acl",
      "summary": "Utilities for managing POSIX Access Control Lists",
      "supplier": "Organization: OpenEmbedded ()",
      "versionInfo": "2.3.2-r0"
    },
...

(From OE-Core rev: 0bd069f526ee0d535477b75a4aa825b4cb589423)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Khem Raj
e065efc71d tcf-agent: Add $@ to RANLIB
tcf-agent calls RANLIB ( if defined ) after calling AR to
create the archive [1], when RANLIB is set to gcc-ranlib this goes
unnoticed, since calling gcc-ranlib without any arguments silenlty
does nothing and exits with return code 0, however, calling binutils
ranlib or llvm-ranlib does demand library name as commandline option
and since it is not there it exits with code 1

aarch64-poky-linux-musl-llvm-ranlib
OVERVIEW: LLVM ranlib

Generate an index for archives

USAGE: aarch64-poky-linux-musl-llvm-ranlib archive...

OPTIONS:
   -h --help             - Display available options
   -V --version          - Display the version of this program
   -D                    - Use zero for timestamps and uids/gids (default)
   -U                    - Use actual timestamps and uids/gids
   -X{32|64|32_64|any}   - Specify which archive symbol tables should be
generated if they do not already exist (AIX OS only)
aarch64-poky-linux-musl-llvm-ranlib: error: an archive name must be
specified
make: *** [Makefile:53: obj/GNU/Linux/a64/Debug/libtcf.a] Error 1

When we add $@, to RANLIB then it becomes the make variable,
$@ - An automatic Makefile variable that expands to the target name (the
file being built)

so the makefile target now rightly adds the .a filename to RANLIB call.

Sent a patch upstream to add RANLIB for linux [2]

[1] https://gitlab.eclipse.org/eclipse/tcf/tcf.agent/-/blob/master/agent/Makefile?ref_type=heads#L53
[2] https://gitlab.eclipse.org/eclipse/tcf/tcf.agent/-/merge_requests/7

(From OE-Core rev: ee2df4554804cc08906cf7b5c734b234c7913c5f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Richard Purdie
58b0a65ada bitbake: utils: Refactor filemode variable conversion to a function
We have other places in the code where we need to take filemode/mask
information from a bitbake variable and turn it into a real python
number. Turn this internal code into public API in bb.utils and
add some tests for it.

(Bitbake rev: d89e30fb2fb15b09f2cb95c4e5aa9f749ca257ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Ross Burton
c02b7accd5 bitbake: tinfoil: add wait_for decorator and build_file_sync() helper
The bitbake worker/server IPC is asynchronous, but tinfoil only has
functionality to wait for a response on the build_targets() call.

Extract the bulk of the "wait for events and handle errors" logic to a
standalone wait_for wrapper, which is the build_targets code without the
extra_events or event_callback arguments (for now).

Then use this to create a build_file_sync() helper that just wraps the
existing build_file() with @wait_for.

(Bitbake rev: bacd125a9da66cd205f6ba2ab17930b976e82150)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-01 08:49:37 +01:00
Robert P. J. Day
9a6cf0d455 dev-manual: update list of recipe files showing version numbers
Update the short list of recipe files showing examples of proper
naming, and replace obsolete "irssi" example with example using "_git"
as a version.

(From yocto-docs rev: 95691fa4e7d30ee27cb1280df20751bf449538a4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
3be97486e3 dev-manual: simplify recipe names to use "oe_git" links
Shorten a small number of cumbersome recipe names by replacing them
with :oe_git: markup to link to their repositories.

(From yocto-docs rev: bdcc97d4d605c3de9682b9cb055c253547397f13)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Adrian Freihofer
c9f2036a56 ref-manual/yocto-project-supported-features: add ppc maintainers
PowerPC (32-bit) remains relevant for our use cases, and we aim to
maintain support as long as it is feasible with reasonable effort.

For transparency, our primary focus is on maintaining
core-image-minimal. Support for more complex images may be limited
unless additional contributors join, as ongoing testing and maintenance
of these images may not be feasible otherwise.

(From yocto-docs rev: 63f0053f0f0201529bfad3e3f1b0211ac40ad1c2)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Alexander Kanavin
c6d279acfa migration-guides/migration-5.3.rst: add guidance for breaking WORKDIR changes
(From yocto-docs rev: f59504d8706a817e0b5a6235ebb69cb3b3ebb277)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Antonin Godard
7367292190 ref-manual/variables.rst: document BB_GIT_DEFAULT_DESTSUFFIX
Recently added in BitBake with 378db0fdd95f ("fetch2/git: allow
overriding default unpack directory with a variable").

(From yocto-docs rev: c696f78107a4e0a26329faad11212eb7949e0c70)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
f9277f9694 dev-manual: fix rendering of ${PN}
Current markup generates italic, not monospaced.

(From yocto-docs rev: 859ba2ea1014c351a43a59c481c4498d79f30139)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
5b261b188f dev-manual: correct statements that source is always tarballs
Correct two occurrences that imply source is always fetched as
tarballs.

(From yocto-docs rev: 57490852e6446672fd2cd0f3ee0befd9714c909f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
c11621b39b dev-manual: show bin_package example wireless-regdb recipe
Add a snippet from the wireless-regdb recipe to demonstrate a simple
example of a bin_package recipe.

(From yocto-docs rev: cbe3e272965cb706a73de36af01e1e0c65ea4efa)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
2e386aea79 dev-manual: fix broken rendering of bullet point
Tweak the formatting of the bullet point title so that it renders both
the term and the bolding properly.

(From yocto-docs rev: 68068c5ab4f4c46c57bc055bd663f8e66096dd20)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
a9f3aa89b3 dev-manual: replace "on the contrary" with "by contrast"
The qualifier "By contrast" is more appropriate here, since that
phrase is used to introduce a point that is strikingly different from
what was just discussed, that being the substantial systemd.

(From yocto-docs rev: 3e73c7985dceb865e648f86ccd82aa0e7fc6668e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
976f8fceb4 dev-manual: shorten bitbake.conf snippet related to static libs
Much of the reproduced bitbake.conf has nothing to do with showing how
the ${PN}-staticdev is defined, so delete most of it.

(From yocto-docs rev: e235ae40db8f4e7088b2e99e678cdf31b5e216c8)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
034a6278ce dev manual, CH 3: update code snippets to be more current
Nothing major, just copy-and-paste from master branch to replace aging
code examples, and a little grammmar cleanup.

(From yocto-docs rev: 74057a1ffd682754e81f5f7fbde9f233e14a0d00)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
06595cf590 dev-manual: CH 2, small number of clarifications
- drop reference to "opkg", just refer in general to packagers
  - correct what "QEMU" stands for (missing space)
  - correct version conditional
  - add a couple extra steps to typical workflow
  - drop implication that one can modify local poky checkout

(From yocto-docs rev: 4fea81e42c41fc42548dd9e2b42f836daba5ac6b)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
d06769ae03 dev-manual: correct misspelled reference to sstate-cache-management.py
(From yocto-docs rev: 3728eea352f8b326ff411aa0f20bfd433ccc7cfa)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Robert P. J. Day
f36b7525bb dev-manual: minor grammar correction
(From yocto-docs rev: 4e06c7f08a36c54a7f14760e609058468fab112f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Alexander Kanavin
3b41841b27 migration-guides/migration-5.1.rst: correct S/UNPACKDIR patterns for file-only recipes
It is not necessary to set both; just setting S to UNPACKDIR is enough.

This has already been done across oe-core master, and correct advice
should be given for those who need to adjust recipes during migration.

(From yocto-docs rev: e69144a2420cf412ff62a394583acc3f82413c69)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:22 +01:00
Alexander Kanavin
73ecebe8a6 ref-manual: correct references to WORKDIR to account for recent do_unpack changes
(From yocto-docs rev: 2e83260484c102fe7b788585cbdd7ca91ba91d85)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Alexander Kanavin
5ebf08ad8d overview-manual: correct the bitbake tasks map section and diagram to account for sources in UNPACKDIR
(From yocto-docs rev: 52a6a642b56beb3dcf22de5ff9568f50ac138500)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Alexander Kanavin
1180a5b591 dev-manual: replace WORKDIR with UNPACKDIR where appropriate
(From yocto-docs rev: 25ea8e2a0428b6cb66402283e64144d5ce61daf6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Alexander Kanavin
f4447244f5 ref-manual: drop a sentence about a 'legacy way' to specify UNPACKDIR
This wasn't specific, and is obsolete: UNPACKDIR should not be
set by recipes at all, except in very special circumstances
(e.g. gcc/clang unpacking into work-shared).

(From yocto-docs rev: a880d94d70c7ed1da8e40a02dae43ff1699941a6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Alexander Kanavin
75d8886ac2 overview-manual: correct value of UNPACKDIR and put S under it
(From yocto-docs rev: ec38f3c5a51887175a2cf3397c07c13c17ca2e9d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Dixit Parmar
d3d8d21fef ref-manual: document KERNEL_SPLIT_MODULES variable
This variable controls the kernel module spliting.

[YOCTO #15771]

(From yocto-docs rev: 198179d9c6231b5934d4fb6ede716d1dcb1442bb)

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Anibal Limon
a904fe5a03 test-manual/ptest: Add info about fail state of ptest-runner/ptests
On the ML was pointed about no specific information about
ptest-runner/ptests so improve docs around.

https://lists.yoctoproject.org/g/yocto-patches/message/1622

[YOCTO #15832]

(From yocto-docs rev: 0d1fd79019883f366d796b58a01679297d7a5508)

Signed-off-by: Anibal Limon <anibal@limonsoftware.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-30 17:44:21 +01:00
Khem Raj
c1ffedae46 systemd: Refresh patch to remove patch fuzz on musl
(From OE-Core rev: 1f40f932309a1d3f8ac316016f2ba1e3b6b4b92a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-29 07:58:48 +01:00
Robert P. J. Day
fef1dcbd15 local.conf.sample: drop MIPS, PPC entries; add 64-bit RISC-V
1) Drop MIPS and PPC lines since we should refer to only those arches
   tested by the autobuilder.
2) Add entry for 64-bit RISC-V.

[RP: Tweak ordering]
(From meta-yocto rev: ec2b74877d3732b6ea927cb9ea8c726e0568d65e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-29 07:58:02 +01:00
Joshua Watt
e4a79c9a60 spdx30_tasks: Change recipe license to declared
Per discussion with the SPDX licensing group, recipe LICENSE statements
classify as a declared license, not a concluded license.

(From OE-Core rev: 561447c7cc1485366dbf41cfbf8dcc1cbf29d043)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 15:28:44 +01:00
Liu Yiding
ff5f8a4744 clang: multilib-header fix for llvm/Config/llvm-config.h and clang/Config/config.h
Error: Transaction test error:
  file /usr/include/clang/Config/config.h conflicts between attempted installs of
lib32-clang-dev-20.1.4-r0.core2_32 and clang-dev-20.1.4-r0.core2_64
  file /usr/include/llvm/Config/llvm-config.h conflicts between attempted
installs of lib32-clang-dev-20.1.4-r0.core2_32 and clang-dev-20.1.4-r0.core2_64

reproduce steps:
1. Add in local.conf the following lines:

  MACHINE ?= "qemux86-64"

  require conf/multilib.conf

  MULTILIBS ?= "multilib:lib32"

  DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"

2. add lib32-llvm-dev llvm-dev to core-image-minimal.bb

  IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL} lib32-clang-dev clang-dev"

3. $ bitbake core-image-minimal

(From OE-Core rev: e2631fd1b47ed2d2b877426c4f253e6edea24ece)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 15:11:10 +01:00
Alexander Kanavin
6ae605e343 selftest: move pokybleeding selftest from meta to meta-poky
meta/ is 'owned' by oe-core and meta-yocto repo should not be
putting files in it.

(From meta-yocto rev: 83be7b1c70a7f90f611ad33284d0b8f963552eae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:03:12 +01:00
Antonin Godard
3546e9d522 bitbake: doc: bitbake-user-manual-ref-variables: improve BB_PRESSURE_* doc
The current default value for BB_PRESSURE_MAX_CPU is 500, which is
really low for most systems. Provide a value of 15000 which limits the
load average without being extremely slow either.

Provide similar values for BB_PRESSURE_MAX_IO and
BB_PRESSURE_MAX_MEMORY. Mention that these should be adjusted depending
on the need, and warn about the potential spam of messages when the
value is too low.

(Bitbake rev: 09baa527dafca4bdf56a9189f6b3f7512886cbfb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:55 +01:00
Antonin Godard
e9754adb05 bitbake: doc: bitbake-user-manual-ref-variables: document BB_GIT_DEFAULT_DESTSUFFIX
This variable was recently added with 378db0fdd95f ("fetch2/git: allow
overriding default unpack directory with a variable").

(Bitbake rev: a569be0d369cb8b9457beedfeb75b984f751ba5a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:55 +01:00
Richard Purdie
2e234162da bitbake: fetch2/git: Add tag to shallow clone tarball name
It makes sense to allow the shallow clone mirror tarball name to include the tag
name so that tags can be added to existing urls and the tarballs will be maintained
correctly. The code already allows this to be done easily just by moving the tag
handling code.

(Bitbake rev: 68fce3be14e4dd801661f4ef302d229fb16a04b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:55 +01:00
Richard Purdie
5683fdc866 bitbake: fetch2/git: Improve shallow clone tag fetching
Currently, tags are fetched as just a name, which works but means they're not
seen as tags by git commands like git describe. Instead, fetch them as refs/tags/XXX
which means such commands then work correctly.

(Bitbake rev: c1f30ad61f5e55beb377451887bbbc5cb569f2e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:55 +01:00
Alexander Kanavin
6c424ef64a bitbake: bitbake-user-manual: correctly reference UNPACKDIR when describing unpacking
Also, drop an obsolete S = WORKDIR/git note.

(Bitbake rev: 3884b386cda649030f59e3040dd08e6aa2ec50cf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:55 +01:00
Jimmy Ho
4333921896 nfsrootfs: disable warning message if bootargs root parameter have not been defined
we have case that don't define root in bootargs,
if [ ${bootparam_root} != "/dev/nfs" ] will output warning "/init.d/85-nfsrootfs: line 4: [: !=: unary operator expected"
let variable expension result become string to solve this problem

(From OE-Core rev: d50e12e5ae6a72535cacd0f767b1be1f89278f79)

Signed-off-by: Jimmy Ho <jimmy.ho@sifive.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Hongxu Jia
6b81d5c64e image-live.bbclass: support disable isohybrid for EFI-only boot
While NO PCBIOS and EFI only for ISO 9660 image, burn the image
to SandDisk USB stick, plug it into laptop, then boot laptop and
enter UEFI mode, there are two boot options in UEFI system.

Here is the steps:

$ echo 'MACHINE = "genericx86-64"' >> conf/local.conf
$ echo 'MACHINE_FEATURES:remove = "pcbios"' >> conf/local.conf
$ echo 'IMAGE_FSTYPES:pn-core-image-minimal = " live"' >> conf/local.conf
$ bitbake core-image-minimal
$ sudo dd if=tmp/deploy/images/genericx86-64/core-image-minimal-genericx86-64.rootfs.iso of=/dev/sda

Boot laptop and entery UEFI mode
...
Boot mode is set to: UEFI

UEFI BOOT:
    UEFI: SanDisk
    UEFI: SanDisk 2
...

In this case, PCBIOS is not used, calling isohybrid for ISO 9660 image
is not necessary, and do not call isohybrid for ISO 9660 image could
remove duplicated boot option in UEFI mode.

According to [1][2], use `[ "${PCBIOS}" != "1" ] && [ "${EFI}" = "1" ]' as the
EFI-only condition, the revert condition is `[ "${PCBIOS}" = "1" ] || [ "${EFI}" != "1" ]'

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

(From OE-Core rev: 4ea24276ad3b6cf3d63a839f3c5fbe697ccd28cd)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Chen Qi
b19a6de1c4 util-linux: replace submitted patches with a merged one
The original PR, https://github.com/util-linux/util-linux/pull/3605,
was updated. Use the merged patch to avoid any confusion.

(From OE-Core rev: ae5a6fe3bb1bb5f42eb653aeccb2d76ab142d6fe)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Mikko Rapeli
0fa5032fbe oeqq/runtime/ethernet_ip_connman: remove test_set_virtual_ip reference
It was removed. Fixes test loading after testexport.bbclass
has exported the tests:

oeqa.core.exception.OEQADependency: TestCase ethernet_ip_connman.Ethernet_Test.test_get_ip_from_dhcp depends on ethe
rnet_ip_connman.Ethernet_Test.test_set_virtual_ip and isn't available, cases available odict_keys(['apt.AptRepoTest.
test_apt_install_from_repo', 'boot.BootTest.test_reboot', 'buildcpio.BuildCpioTest.test_cpio', ...

(From OE-Core rev: 6112eb97e20c1fb38acb9e78e89876c4302f65b8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Michael Halstead
9d336521db yocto-uninative: Update to 4.8 for GCC 15.1
(From OE-Core rev: f3bff45196bb8228d0133b6cd4444e5ddc68dbc2)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Trevor Gamblin
33d128592f python3-smartypants: upgrade 2.0.0 -> 2.0.2
Changelog (https://github.com/justinmayer/smartypants.py/blob/main/CHANGES.rst#releases-20-and-greater):

Release 2.0.2 (2025-06-17)

- Fix double closing quotes after an HTML block
- Fix regular expressions and tests for Python 3.12+
- Move documentation to ReadTheDocs

Release 2.0.1 (2017-12-20)

- use re.match instead of re.search to improve performance on large strings

The patch '0001-Change-hash-bang-to-python3.patch' needed a refresh to
apply on the latest version.

License-Update: Update and granularize copyright years

(From OE-Core rev: ebb83ce10fecd1a4378a238191f1e012f0c849b7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Tim Orling
bf9c285a10 python3-pytest-subtests: upgrade 0.14.1 -> 0.14.2
Highlights from commit logs:
* Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#177)
* Bump hynek/build-and-inspect-python-package from 2.10 to 2.11 (#178)
* Consistently use raw strings for line-matching regexes (#180)
* Ensure advertised pytest 7.4 compatibility (#182)
* Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 (#185)
* Bump hynek/build-and-inspect-python-package from 2.11 to 2.12 (#186)
* Print output "dots" for successful unittest subtests (#164) (#190)
* Improve reporting in case of xfail (#194)

Comparing changes from 0.14.1 -> 0.14.2:
https://github.com/pytest-dev/pytest-subtests/compare/v0.14.1...v0.14.2

(From OE-Core rev: 91eaaf0672c5e811fa51d6c4181bd5faf10c2201)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Tim Orling
c035ea78e8 python3-certifi: upgrade 2025.4.26 -> 2025.6.15
* Switch to PEP-517 backend with inherit python_setuptools_build_meta

Commit log highlights:
* Declare setuptools as the build backend in pyproject.toml (#350)
* remove code that's no longer required that 3.7 is our minimum (#351)

Comparing changes from 2025.4.26 -> 2025.6.15:
https://github.com/certifi/python-certifi/compare/2025.04.26...2025.06.15

(From OE-Core rev: fa38fa24ad26f8bf68fd139b5e8496144987326b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Tim Orling
3982111d24 python3-cryptography{-vectors}: upgrade 45.0.3 -> 45.0.4
https://cryptography.io/en/latest/changelog/#v45-0-4

45.0.4 - 2025-06-09
Fixed decrypting PKCS#8 files encrypted with SHA1-RC4. (This is not
considered secure, and is supported only for backwards compatibility.)

(From OE-Core rev: fbed96588a48c8d9bb9fe617d9d71168cef01e5c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Tim Orling
dd5f43145a python3-maturin: upgrade 1.8.7 -> 1.9.0
* Update crates

1.9.0
* Add full PEP 639 support for project.license and project.license-files
  in #2647.
* Add --compatiblity pypi to only build wheels with platform tags that can
  also be uploaded to PyPI. This blocks e.g. building for riscv64, which is
  supported by manylinux, but not by PyPI.

Comparing changes from v1.8.7 -> v1.9.0:
https://github.com/pyo3/maturin/compare/v1.8.7...v1.9.0

(From OE-Core rev: 4b8a23ed81ef08de8542da59027c929ad623e804)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Tim Orling
d8550091fb python3-maturin: upgrade 1.8.6 -> 1.8.7
* Drop riscv32 patch as it has been fixed upstream
90b30a4e94
* Update crates

https://www.maturin.rs/changelog.html

1.8.7
Allow specifying compression method and level, in both build and develop modes, in #2625.
Fix Windows free-threaded builds on Python 3.14 in #2632

Comparing changes from v1.8.6 to v1.8.7:
https://github.com/PyO3/maturin/compare/v1.8.6...v1.8.7

(From OE-Core rev: 61d2e2f67c387f976a3c6a165243c74bca66b3f4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Richard Purdie
a2d6695088 oeqa/sstatetests: Improve/fix sstate creation tests
There are multiple problems with the sstate creation tests. They currently both execute
twice, once to check one set of files, then another. We can do this together in one
test which makes the code easier to follow.

The common test function also has parameters which were always the same value, so
those can be simplified.

We can use the umask context manager from bb.utils to simplfy the umask code.

The badperms test was actually broken, it was detecting bad permissions, then
ignoring them. This patch fixes that regression too and allows the check to
operate (relying on a separate fix to sstate umask handling).

The result should be an easier to understand couple of test cases which should
also function correctly and be more reliable.

(From OE-Core rev: 5b9263040013199c5cb480125d5ca349f5d6dc55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Richard Purdie
6e32bd92ef oeqa/sstatetests: Fix NATIVELSBSTRING handling
The NATIVELSBSTRING variable changes value once a BuildStarted event occurs in a build
directory. This meant running some of the tests directly in a fresh build directory
would fail but they'd pass when run as a group of tests. This is clearly suboptimal.

Move the NATIVELSBSTRING handling to a location where the value is consistent
and a comment about the interesting behaviour of the variable so it hopefully doesn't
catch out others in future.

(From OE-Core rev: e1c46fdb44fed18909d9ff4b43b4e445c5a22d33)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Rasmus Villemoes
ba290e7ec8 sstate: apply proper umask when fetching from SSTATE_MIRROR
Currently, files and directories created under ${SSTATE_DIR} when
fetching from an sstate mirror are not created with group write,
unlike when the sstate artifacts are generated locally. That's
inconsistent, and problematic when the local sstate dir is shared
among multiple users.

Wrap the fetching in a bb.utils.umask() context manager, and for simplicity
move the mkdir of SSTATE_DIR inside that.

(From OE-Core rev: a6038553aaef3b88b834a09018c524c4fa41e625)

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Yash Shinde
24cab297ed cargo-c-native: Update 0.10.5 -> 0.10.13
cargo-c native version updated to stable version 0.10.13+cargo-0.88.0.
https://crates.io/crates/cargo-c

Drop the merged patch defining ioctl codes for riscv32
after the verion upgrade.

(From OE-Core rev: 56abe99a953873853c726ee5a6458c4a65298a9c)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Yash Shinde
6c529c908c rust: Upgrade 1.86.0 -> 1.87.0
Rust stable version updated to 1.87.0.
https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/

* Update LLVM data-layout for arm64.
  LLVM requires matching data layouts and
  the aarch64 llvm data-layout was updated to to allow using
  32-bit signed/unsigned pointers when building 64-bit targets
  using 270, 271 and 272 address spaces.

  e985396145
  c9f27275c1

* Rebase existing patches with v1.87.0.

* Two tests from the `ui` and `codegen` modules now fail only on riscv64.
  Enable them on arm32/64 and x86-32/64 targets, while restricting
  them on riscv64 via `only-<target_arch>` tags.

  Test Results Summary:

  +-----------+--------+---------+
  | Machine   | Passed | Ignored |
  +-----------+--------+---------+
  | arm-32    | 28,320 | 901     |
  | arm-64    | 28,400 | 849     |
  | x86-32    | 28,285 | 885     |
  | x86-64    | 28,518 | 676     |
  | riscv-64  | 27,845 | 868     |
  +-----------+--------+---------+

* Backport triagebot.patch to skip tidy linkcheck when triagebot.toml
  is not present. Distribution tarballs won't include triagebot.toml,
  which causes tidy checks to fail.
  This backport ensures tidy checks can still run successfully
  even when the file is missing.

  https://github.com/rust-lang/rust/pull/142666/commits

* During rust installation, some binaries were installed from
  'stage2-tools' built path to '${D}${bindir}'. However, from
  v1.87 the stage2-tools are no longer built by default.
  Update logic to install from `stage1-tools` instead.

(From OE-Core rev: 16ce25e6970b4a50f6433606a0c87d22ec74ea5a)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Yash Shinde
6f39c76f60 rust: Drop obsolete rust-lld and extended tools dependencies
Some dependencies introduced during the v1.86 upgrade
were needed only for rust-lld and certain LLVM extended tools,
not for the Rust compiler itself.

Since rust-lld and the extended tools are now disabled, these
dependencies have become obsolete. Additionally, related tasks
such as packaging zsh files and removing cargo binaries are no longer relevant.
They can be re-enabled later if needed.

(From OE-Core rev: 42141da566c9512b338900967e7e81e9e8b49150)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Victor Kamensky
a582977bbc oeqa/runtime/stap: fix script logic problem
Looks as a typo introduced by "6cf4d23a2d26c2767edd93f2eb317ff759b5a992
(oeqa/runtime/stap: improve systemtap test)" - when original command was
split into two parts 'self.target.run' was missed for the second part.

Note this and previos commit issues were masked because mentioned
commit has try/except around tests, so failures that normally are
reported when test assertEqual throw an exception never reached oeqa
infra.

Effectively, this test was broken for the last 3 years. I will leave
blanket try/except around test for now, so this test will pass all
the time as long as dmesg is working. But at least with the fixes
one can inspect log.do_testimage output and check that all steps
are successful or not.

(From OE-Core rev: ec6e4fa83b8d64035b61c080402151af04b3d137)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Victor Kamensky
f1ee6c0935 oeqa/runtime/stap: fix module name: stap-hello -> stap_hello
Systemtap refuses modules names like stap-hello, it says:
> ERROR: Safety pattern mismatch for -m parameter ('stap-hello' vs. '^[a-z0-9_]+$') rc=1

'stap-hello' was introduced by:
6cf4d23a2d26c2767edd93f2eb317ff759b5a992 (oeqa/runtime/stap: improve systemtap test)
and '-m parameter' regexp check was in SystemTap from 2010,
not sure how this test case ever passed after mentioned change.

(From OE-Core rev: bb916c60a32be57babaf67d0bcad4724547feb31)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Victor Kamensky
a226578881 systemtap: upgrade 5.2 -> 5.3
* fixed patch fuzz issue

[RP: Set tag in SRC_URI to match version]
(From OE-Core rev: fe684159ce99c83d87486142c1bd9fe3516f2984)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Moritz Haase
56afa4b4c6 dnf: upgrade 4.22.0 -> 4.23.0
New version includes support to build against CMake 4+, see [0].

Release notes are available at [1].

Python's 'ctypes' module is a new runtime dependency, added via [2].

[0]: https://github.com/rpm-software-management/dnf/pull/2217
[1]: https://github.com/rpm-software-management/dnf/releases/tag/4.23.0
[2]: fa47a256ae

(From OE-Core rev: c3efca7495889f3682225af8c9e01ceb094b1bb7)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
CC: richard.purdie@linuxfoundation.org
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Moritz Haase
22f513741d json-c: Don't build unneeded apps to unblock builds with CMake 4+
Disable build of the apps, as we don't seem to package them (upstream says they
aren't ready, see [0]). They are the only part of the code that doesn't build
yet with CMake 4+. One alternative would be to apply [1], but the PR hasn't been
merged yet by upstream, so we keep it simple.

[0]: 7cee5237dc/apps/CMakeLists.txt (L119-L121)
[1]: https://github.com/json-c/json-c/pull/888

(From OE-Core rev: cb5234acdab200bd43b89416d8d7e9df91af58cc)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Hongxu Jia
2768d6f676 wic-image-minimal, oeqa/selftest/wic: run 'wic ls/cp/rm' in bitbake task
Due to commit [2255f28b57 wic: add WIC_SECTOR_SIZE variable][1] applied,
call `wic ls|cp|rm|write' in bitbake task will hung, but we have no scenario
case to cover it

After commit [scripts/wic: fix calling wic ls|cp|rm|write hung in bitbake task] applied,
this commit run `wic cp|ls|rm' in case wic.Wic2.test_wic_image_type and wic.Wic2.test_qemu,
at post function of with do_image_wic in image wic-image-minimal, and
check if file is there

$ echo 'SANITY_TESTED_DISTROS = ""' >> conf/local.conf
$ oe-selftest -r wic.Wic2.test_wic_image_type wic.Wic2.test_qemu
...
2025-06-23 15:46:22,157 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/hjia/poky/build-st/conf/local.conf
2025-06-23 15:46:22,157 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2025-06-23 15:46:22,157 - oe-selftest - INFO - test_qemu (wic.Wic2)
The variable 'TEST_RUNQEMUPARAMS' is not defined
2025-06-23 15:56:46,319 - oe-selftest - INFO -  ... ok
2025-06-23 15:56:46,324 - oe-selftest - INFO - test_wic_image_type (wic.Wic2)
2025-06-23 15:57:17,780 - oe-selftest - INFO -  ... ok
2025-06-23 15:57:17,781 - oe-selftest - INFO - ----------------------------------------------------------------------
2025-06-23 15:57:17,781 - oe-selftest - INFO - Ran 2 tests in 655.792s
2025-06-23 15:57:17,781 - oe-selftest - INFO - OK
2025-06-23 15:57:25,743 - oe-selftest - INFO - RESULTS:
2025-06-23 15:57:25,743 - oe-selftest - INFO - RESULTS - wic.Wic2.test_qemu: PASSED (624.16s)
2025-06-23 15:57:25,744 - oe-selftest - INFO - RESULTS - wic.Wic2.test_wic_image_type: PASSED (31.46s)
2025-06-23 15:57:25,746 - oe-selftest - INFO - SUMMARY:
2025-06-23 15:57:25,746 - oe-selftest - INFO - oe-selftest () - Ran 2 tests in 655.793s
2025-06-23 15:57:25,746 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=2, skipped=0, failures=0, errors=0)

(From OE-Core rev: 18d774eafb7fba720882fcdb945d145b82fa1dd4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Hongxu Jia
e2e709d85e scripts/wic: fix calling wic ls|cp|rm|write hung in bitbake task
While calling wic ls/cp/rm/write in bitbake task along with do_image_wic,
it hung without return.

Due to commit [2255f28b57 wic: add WIC_SECTOR_SIZE variable][1] applied,
It calls get_bitbake_var in `wic ls|cp|rm|write' to define sector size.
By default, get_bitbake_var starts a `bitbake -e' to get variables which
triggers nested bitbake in this situation

Refer `wic create', adds option --vars and --image-name to support to
read bitbake variables from <image>.env files

NOTE: This commit does not add -e for `wic write' to avoid confliction
with existed option -e/--expand

[1] 2255f28b57

(From OE-Core rev: 793732a6ac2b3788d6c6635e5a496b117bd60584)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
Dmitry Baryshkov
3bef3d2ee1 libglvnd: drop S assignment
libglvnd recipe was sent before the OE-Core changes reworking S /
UNPACKDIR rework. Drop S assignment which is now being rejected by OE /
bitbake.

Fixes: 621e9be9663e ("libglvnd: migrate from meta-oe")
(From OE-Core rev: ec3cd6a73468510e57c4cda874dc3cb20afef9c2)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-25 07:34:20 +01:00
Richard Purdie
ea4b963d9a buildhistory: Drop BUILDHISTORY_RESET due to reliability issues
The implementation of BUILDHISTORY_RESET is problematic, particlarly given that
people are trying to create an API with it alongside BUILDHISTORY_PRESERVE
which simply doesn't exist and can't work reliably. Worse, the code paths with
this bolted on implementation are convoluted and near impossible to follow.

BUILDHISTORY_PRESERVE is effectively internal API, used to stop buildhistory
removing some files which are needed for data, or are created at different
parts of the build. Add a comment to explain what it is doing and why these files
are listed.

Commit 9f68a45aa238ae5fcdfaca71ba0e7015e9cb720e tried to "fix" preserve support
with the reset functionality but it didn't fully work and has just exposed futher
issues. There is a further fix however I can brely follow the code and in reviewing
it, I've concluded we shouldn't be doing this at all.

Due to the way BUILDHISTORY_RESET was implemented, horrible races were introduced
making it unclear what happens to the data if builds fail for example, or how sstate
interacts with the build since things get reset but stamps do not and tasks may not
rerun. It also interacts badly with any additions to the preserve list, due to
misunderstandings on what that variable does.

Having stared long and hard at the code, and really struggled to understand it, I',
of the view that "reset" for CI purposes should be done by the CI itself. The CI can
choose to remove some files or all files and decide how to handle failures. It has
to handle the buildhistory directory anyway.

Therefore drop BUILDHISTORY_RESET support, allowing the "old" codepaths to be dropped.
BUILDHISTORY_PRESERVE is better documented to hint that it is internal API and to
show what it is really for.

If we really do want some functionality list this, it needs to be implemented in a
way you can follow the code, and have tests.

(From OE-Core rev: 15c5258fd0063ace425b7e904521f1695ffb2a85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:53:23 +01:00
Richard Purdie
838d7a5013 image_types_wic: Fix file-checksums for missing files in search path
When we tell bitbake about file-checksums, we need to tell it both the files
we look at that exist, but also the ones we looked for but aren't present.

This means that if files appear earlier in the search path, bitbake can then
do the correct things like updating the taskhash and re-running the recipe/task.

In this case, wic was only signalling file presence. This patch adds in the
files it looked at but didn't find too.

(From OE-Core rev: ef96e2efcd95785e29ff7c62b2cb76e26f46f5ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:53:23 +01:00
Dmitry Baryshkov
0d201a6fd7 default-providers: handle GLVND-related providers
If GLVND is enabled, then libglvnd is providing all OpenGL / ES
libraries. Tune default-providers.inc to select a correct package in
this case.

(From OE-Core rev: 28bc66ade84241f3f9b680d5c1fd8d261da4b413)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
717a75c170 mesa: enable glvnd if it is enabled in DISTRO_FEATURES
Let the distro to be a central authority regarding GLVND feature.
Make mesa.inc enable glvnd PACKAGECONFIG if it is enabled in
DISTRO_FEATURES.

(From OE-Core rev: 25d29420919caadae4d35e7eb0291dd3504d8552)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
e9d69043cf libglvnd: migrate from meta-oe
libglvnd is a vendor-neutral approach to handling OpenGL / OpenGL ES /
EGL / GLX libraries. It has been proposed and initially implemented by
NVIDIA in order to simplify coinstallation of GL drivers provided by
different vendors. Major Linux distributions (Debian, Ubuntu, Fedora,
etc.) have already switched to libglvnd.

Having libglvnd in OE-Core simplifies integration of this ABI into
distro and BSP layers (e.g. it will help meta-tegra, which currently
provides its own version of the recipe).

Import recipe for libglvnd from the meta-oe layer (changes: fix virtual
package names, add add the SUMMARY data, drop git@ from SRC_URI, require
glvnd DISTRO_FEATURE).

(From OE-Core rev: 621e9be9663e448dde3f6b6a02b413fd65983e6c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
9941e6f292 qemux86-64: drop duplicates with default-providers.inc
default-providers.inc already includes PREFERRED_PROVIDER values for
xserver and GL libraries. Drop the same values being set in the machine
config.

(From OE-Core rev: 973875c79476b70edbef8976446de1be29d50910)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
fa7c6cb96b qemux86: drop duplicates with default-providers.inc
default-providers.inc already includes PREFERRED_PROVIDER values for
xserver and GL libraries. Drop the same values being set in the machine
config.

(From OE-Core rev: 589a49c7bd68465163a86e71a67f518849860804)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
6f014d1a53 qemu.inc: drop duplicates with default-providers.inc
default-providers.inc already includes PREFERRED_PROVIDER values for
xserver and GL libraries. Drop the same values being set in the machine
config.

(From OE-Core rev: 882e8c3cf28b33cdd6cb26ec412e63a0da8a3199)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
67bc6419f0 default-providers: fix GLVND providers to be selected at runtime
The virtual-{libegl,libglx}-icd names are RPROVIDES, not PROVIDES,
because they are a runtime dependency of libglvnd. Make
default-providers follow that and specify PREFERRED_RPROVIDER instead of
PREFERRED_PROVIDER for those names.

Fixes: 9d3b4c9bc403 ("mesa: sort out PROVIDES for the glvnd case")
(From OE-Core rev: c2b4971e79ece23c43639865a617ee4c248fa981)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Dmitry Baryshkov
160c0711ff mesa: fix RPROVIDEd package names
The BCP for virtual runtime package names is virtual-foo. Make mesa
follow the established convention and change the names of the provied
packages to virtual-foo-icd.

Fixes: 9d3b4c9bc403 ("mesa: sort out PROVIDES for the glvnd case")
(From OE-Core rev: d69e06dbd8575e258a4542f34c5eaba413da7750)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 13:51:31 +01:00
Richard Purdie
60e8db8588 ref-manual/yocto-project-supported-features: Set riscv32 maintainers as TBD
This isn't committed to by anyone at this point to mark as TBD.

(From yocto-docs rev: 6b45207c8db40ef416f12348e066601975a0ca36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 11:29:26 +01:00
Ryan Eatmon
d87b8dbeb0 u-boot: Allow for customizing installed/deployed file names
When assembling all of the various filenames that are installed/deployed
from u-boot, we have been including the PV and PR in the filenames.  This
change introduces a single variable to replace these two in the
filenames.

This change should not be disruptive since the default value for the new
UBOOT_VERSION variable is "${PV}-${PR}".

In one case (UBOOT_EXTLINUX_SYMLINK [1]), PR was used without PV, this
patch assumes this was a mistake and corrects it as PR would not be of
much use alone.

[1] https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=33df3a65f3e8e136811da715d0cc247ce66ae0ea

(From OE-Core rev: debc691853e2954bd325bad395b8829939afaa08)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 22:13:08 +01:00
Robert Yang
2156cb9598 rpm: Update 0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
The patch merged by upstream is different, so backport the one from upstream.

(From OE-Core rev: 65fd3c93285e0a166f0d77a92cc42680d72a6bd1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Ross Burton
6091ebc9c5 oeqa/core/case: add file exists assertion
Add assertFileExists() to simply tests that want to check that a file
exists.

(From OE-Core rev: b62e53a0cff2522fef3b89de875c9526a626d7dd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Ross Burton
8e70eeb0b1 files/license-hashes.csv: add more hashes
Add a slew of license hashes harvested by building some Go recipes in
meta-oe.

(From OE-Core rev: b281340ac099058e3483419366c25c9e28839aef)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Ross Burton
18319c08ad lib/oe/go: document map_arch, and raise an error on unknown architecture
Add a comment explaining what this function does and where the values
come from.

If the architecture isn't know, instead of returning an empty string
which could fail mysteriously, raise a KeyError so it fails quickly.

(From OE-Core rev: 025414c16319b068df1cd757ad9a3c987a6b871d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Richard Purdie
81ad1de523 selftest/buildhistory: Move test cases to common location
Having the test cases split in different places makes no sense. Move them
all to the place you'd expect to find them. Drop the base class as it
is no longer needed.

(From OE-Core rev: c5a8a1dc637206fa398c639c49531f709e5b002f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Richard Purdie
b52d2a985c libarchive: upgrade 3.7.9 -> 3.8.1
Includes bugfixes for issues introduced in 3.8.0

License-Update: Public Domain file changed from libarchive/archive_getdate.c
    to libarchive/archive_parse_date.c
    c26f037745

(From OE-Core rev: 49d07ca1e4f41e33e82666dadbaedcec7f2822cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Enrico Jörns
17fc330236 barebox: upgrade 2025.04.0 -> 2025.06.0
Changes in 2025.06.0
--------------------

* Fixed FIT image decompression regression introduced in 2025.05.0
* Fixed filesystem unmount issues caused by incorrect reference counting
* Fixed unmount failures after using findmnt
* Added eMMC HS200 support for i.MX with generic SDHCI/MCI rework

Changelog: https://lore.barebox.org/barebox/aEwKEf9V0V9tbD5p@pengutronix.de/

Migration Guide:
https://barebox.org/doc/latest/migration-guides/migration-2025.06.0.html

Changes in 2025.05.0
--------------------

* RPMB support added for eMMC, enabling AVB persistent value storage
* New commands: 'tree', 'truncate', 'varinfo' (variable inspection)
* Added board support: STM32MP1-based Linux Automation TAC, FairyTux 2,
  Protonic MECT1S
* Unified Beaglebone build now produces MLO first‐stage image
* TLSF allocator becomes the default, replacing dlmalloc
* Various filesystem, CI, and driver cleanups and improvements

Changelog: https://lore.barebox.org/barebox/aC2N-bXXRByPYqiM@pengutronix.de/

Migration Guide:
https://barebox.org/doc/latest/migration-guides/migration-2025.05.0.html

(From OE-Core rev: 92e73233efc9f4954251567a23b67531702e078d)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Peter Marko
e869572d24 glibc: stable 2.41 branch updates
$ git log --oneline 5b4c4617016d28569106549dff6f9fec73eed5ce..0c76c951620f9e12df2a89b2c684878b55bb6795
0c76c95162 ppc64le: Revert "powerpc: Optimized strcmp for power10" (CVE-2025-5702)
b48d7ab036 ppc64le: Revert "powerpc : Add optimized memchr for POWER10" (Bug 33059)
55cdcadf73 ppc64le: Revert "powerpc: Fix performance issues of strcmp power10" (CVE-2025-5702)
84bdbf8a6f ppc64le: Revert "powerpc: Optimized strncmp for power10" (CVE-2025-5745)
d952c6efaa sparc: Fix argument passing to __libc_start_main (BZ 32981)
515d4166f4 elf: Fix subprocess status handling for tst-dlopen-sgid (bug 32987)
899dd3ab2f x86_64: Fix typo in ifunc-impl-list.c.
624285af3b elf: Test case for bug 32976 (CVE-2025-4802)
2ca34d7627 support: Use const char * argument in support_capture_subprogram_self_sgid
dab44a3b2b elf: Keep using minimal malloc after early DTV resize (bug 32412)
5cf17ebc65 hurd: Fix tst-stack2 test build on Hurd

test results:
            Before After  Diff
FAIL           140   142    +2
PASS          5846  5846     0
UNSUPPORTED    243   243     0
XFAIL           16    16     0
XPASS            4     4     0

failed test changes:
-elf/tst-audit21
+elf/tst-audit-tlsdesc-dlopen2
+elf/tst-dlopen-sgid
-malloc/tst-free-errno-malloc-hugetlb1
+malloc/tst-free-errno
+malloc/tst-malloc-tcache-leak
-nptl/tst-mutex10
+nptl/tst-mutexpi8-static

(From OE-Core rev: 6909a0b598fdb86c0cfa1f6e9ef90ed42bb3069c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-23 21:42:54 +01:00
Richard Purdie
b88519519f bitbake: toaster/tests: Fix automated testing failures
The display window scrolling mechanism we were using was failing in one case
and needed in another. After trying various approaches, this one with
window.scrollTo seems to work and fixes the test failures.

(Bitbake rev: f1175778108a559e1dd0d55cb68f42816c86f393)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-21 15:35:49 +01:00
Richard Purdie
5049bc18a8 poky: Update version/codename post release to whinlatter
(From meta-yocto rev: 69a795323a5edf42bcc8f002eb33666d78165d33)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-21 15:09:53 +01:00
Richard Purdie
5e22c4e351 ref-manual/yocto-project-supported-features: Update to match current status
A few items were in the wrong sections or needed clarification, tweak accordinly.

(From yocto-docs rev: 85e58c4fc5d1be9a2ea9ed6b813d0168e3162dab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 14:28:27 +01:00
Richard Purdie
448af7ef00 layer.conf: Update to whinlatter release series
Since there are currently multiple breaking changes, update to a new
release series for the next release so layers can show compatibility
correctly.

(From meta-yocto rev: a67bb58ee119d68c4b72bf954b4eb613612a8cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 13:07:15 +01:00
Richard Purdie
ec157ae344 layer.conf: Update to whinlatter release series
Since there are currently multiple breaking changes, update to a new
release series for the next release so layers can show compatibility
correctly.

(From OE-Core rev: 75eb26e71dba4096d5632b7f6b13db4f13aa6d7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 13:07:15 +01:00
Alexander Kanavin
842ef50329 meta-poky: set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from
UNPACKDIR (and not vice versa) is more logical as unpack
task comes first, and tasks that come after unpack use S to access
unpack results.

(From meta-yocto rev: 9fb052b0f19bdd4e1b1625865c41ab8a35d7b669)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:29:47 +01:00
Alexander Kanavin
dc9faa3cdc meta: remove consecutive blank lines
Some of them were introduced by mass-removal of S = WORKDIR/git assignments;
rather than try to fix up (or redo) just these, I've run this sed command over
the whole tree:

sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc`

The rationale is that more than one empty line is wasting vertical screen space, and
does nothing for readability.

(From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:27 +01:00
Alexander Kanavin
0ad5fb3431 base.bbclass: drop compatibility moving of sources into workdir
Potentially there could be a grace period for fixing recipes (with warnings, etc),
on the other hand, changes to git unpacking destination would already
break various layers, so we might as well make this a hard qa error and drop
the magic at the same time.

I commit to sending fixes for layers included in autobuilder testing
(meta-oe/arm/intel/virt/agl/aws/mingw/etc).

SOURCE_BASEDIR is at the same time adjusted to be calculated relative
to UNPACKDIR (previously it only worked if S was set to
WORKDIR/something/otherthing, and that is no longer working). It is also
no longer removed from the filesystem, as content of unpackdir is managed elsewhere.

(From OE-Core rev: 53e9ea30aaf48292307b4cff6964bead74c69fff)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:27 +01:00
Alexander Kanavin
4dd321f8b8 insane/do_qa_unpack: add checks that ensure S is set correctly
The checks are fatal, as this avoids rather more cryptic errors further
down the build. Example:

ERROR: gnu-config-native-20240823+git-r0 do_unpack: Recipes that set S = "${WORKDIR}/git" or S = "${UNPACKDIR}/git" should remove that assignment, as S set by bitbake.conf in oe-core now works.
ERROR: perlcross-native-1.6.2-r0 do_unpack: S should be set relative to UNPACKDIR, e.g. replace WORKDIR with UNPACKDIR in "S = ${WORKDIR}/perl-cross-${PV}"

Dropping the S = ${WORKDIR}/git assignment (addressing the first error) can be done
with a single sed command when there is a lot of recipes:

sed -i "/^S = \"\${WORKDIR}\/git\"/d" `find . -name *.bb -o -name *.inc -o -name *.bbclass`

Replacing WORKDIR with UNPACKDIR can be done similarly, but should be done after
the removals:

sed -i "s/^S = \"\${WORKDIR}\//S = \"\${UNPACKDIR}\//g" `find . -name *.bb -o -name *.inc -o -name *.bbclass`

(From OE-Core rev: 46480a5e66747a673041fe4452a0ab14a1736d5e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
4547232c71 recipetool/devtool: calculate source paths relative to UNPACKDIR
Now that recipes default to S in UNPACKDIR, recipetool and devtool should
do the same.

There was some discussion about changing devtool to simply setting
UNPACKDIR via bbappend to a workspace and running unpack task directly;
currently it has a bunch of convoluted path calculations, substitutions,
moving source trees around and and special casing (devtool-source.bbclass
in particular is an unpleasant hack).

This should definitely be done; but right now we can simply tweak existing
code which at least doesn't make it worse.

(From OE-Core rev: c326ca8aeb2bf0f7719e43921d10efd5dedc7b2a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
efb0410d38 meta: set S from UNPACKDIR in recipes that use only local files
There is no need to have two assignments; also setting S from
UNPACKDIR (and not vice versa) is more logical as unpack
task comes first, and tasks that come after unpack use S to access
unpack results.

Also adjust reference test data in selftest/recipeutils to reflect changes in test recipes.

(From OE-Core rev: f64b7e5fb3181734c8dde87b27e872a026261a74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
e1f059f34e meta: set S to be in UNPACKDIR in recipes that explicitly set S
(From OE-Core rev: 7321cc17ae5483f17fe9cdffea7b62acd9d9c3a2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
910442fedc gcc/clang: set S to be in UNPACKDIR
This and some further commits allows removing the 'backwards
compatibility magic' in do_unpack that moves unpacked sources
to where S is set to.

(From OE-Core rev: 6b2f14cd2d110113f1065bdc818ec4e9dbd4b054)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
fc0f1b61c6 bitbake.conf: set S to be in UNPACKDIR rather than WORKDIR
This transitions most of the recipes to have their sources
in UNPACKDIR, which over time will allow more simple and logical
source code handling in various pieces of the Yocto project.

(From OE-Core rev: 50439f56b2d94769de928c70eebdfd4b47794fb4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
92dfe6e2f5 bitbake.conf: set UNPACKDIR to just 'sources' and not 'sources-unpack'
This is shorter and doesn't include the unnecessary task name, just the
result of it: source trees and files.

(From OE-Core rev: f19ea21c8ebf8ce211b14e69b27c82faf080185a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
f59a7df3fe meta: remove S in recipes that fetch from git via setting BB_GIT_DEFAULT_DESTSUFFIX
Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX
is set to match S from bitbake.conf (which itself is set to match typical tarball
releases).

A few recipes are setting S to a sub-directory of the git tree and need
to be adjusted accordingly.

bzip2 recipe is fetching a tarball and separately cloning tests;
adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'.

devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly.

Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack
destination.

Adjust kernel-yocto.bbclass to use the git unpack variable instead
of hardcoding 'git' (there's also removal of repetition of
string constants and a correction of workdir/unpackdir mismatch in
one of the if-else branches).

Ensure build-appliance-image recipe does not use 'git' as checkout directory for
poky repo, but rather explicitly name it 'poky'.

Ensure reproducible.py code that looks for git repositories does not
hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX.

Ensure recipetool does not write out unneeded S settings into newly
created recipes that fetch from git.

Adjust selftest to not hardcode 'git' as unpack directory.

(From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:07:26 +01:00
Alexander Kanavin
724b86c08a lib/bbconfigbuild/configfragments: add support for listing and enabling built-in fragments
Sample output:

$ bitbake-config-build enable-fragment machine/qemuarm
Fragment machine/qemuarm added to /srv/storage/alex/yocto/build-64-alt/conf/auto.conf.

$ bitbake-config-build list-fragments
Available built-in fragments:
machine/...	Sets MACHINE = ...
distro/...	Sets DISTRO = ...

Enabled built-in fragments:
machine/qemuarm	Sets MACHINE = "qemuarm"

... (standard on-disk fragments output follows)

(From OE-Core rev: 47cb11db810bef36e791af84be1d680fd99301c7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:03:37 +01:00
Alexander Kanavin
41de71e062 bitbake.conf: enable built-in fragments for MACHINE and DISTRO
Please see the patch for bitbake for rationale. With this
setting in place, it's possible to set

OE_FRAGMENTS += "distro/poky machine/qemuarm"

and bitbake will interpret that as

DISTRO = "poky"
MACHINE = "qemuarm"

(From OE-Core rev: e959f916b4d2bb8af2e6a04116de9430bbde0c9f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:03:37 +01:00
Alexander Kanavin
941ac7d256 bitbake: parse/ast: add support for 'built-in' fragments
When reviewing proposed fragments to add settings for DISTRO and MACHINE,
RP noted that such fragments only add clutter and overhead, and there's
no need to maintain them as separate files.

Rather when bitbake sees 'fragmentvar/fragmentvalue' it can expand that into
FRAGMENTVAR = "fragmentvalue".

To achieve that, 'addfragments' directive is extended with a parameter
that sets the name of the variable that holds definitions of such
built-in fragments, for example like this:

"machine:MACHINE distro:DISTRO"

Then each enabled fragment name is matched against these definitions and the
respective variable is set, e.g. 'machine/qemuarm' would match
'machine:MACHINE' and result in MACHINE set to 'qemuarm'.

This happens before any fragment files are looked up on disk,
and no such lookup happens if there was a match, which should prevent
possible misuse of the feature. So the builtin fragment definition
is also an allowlist for them.

Please also see the patches for oe-core that show an application of the feature.

(Bitbake rev: 3b9d7bea915dc7f10e845854f1dae325743f9456)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:03:37 +01:00
Alexander Kanavin
be8123d8df bitbake: fetch2/git: allow overriding default unpack directory with a variable
This will allow setting the variable in oe-core such that it matches
S, which in turn will allow dropping S from almost all git:// fetching recipes,
and not having to set it in newly written ones.

(Bitbake rev: 378db0fdd95f8704fccd852452555bfddcad384d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 12:03:37 +01:00
Ross Burton
55c4f54106 oeqa/utils/command: fast-path get_bb_var()
get_bb_var() currently end up calling 'bitbake -e' and parsing the whole
output. However if postconfig isn't set then we can speed this up by
just calling bitbake-getvar.

The complication with failing bitbake-getvar calls is because we need to
be careful to return None instead of the empty string when the variable
doesn't exist.

(From OE-Core rev: fafe77879aa6225aa8b5187ff590bb4998cbf987)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:52:28 +01:00
Mark Hatle
d56b141a4e rust-target-config.bbclass: Update for new riscv TUNE_FEATURES
Add the new TUNE_FEATURES to the 'features:' list, based on matching output
with:

   rustc --target=riscv32i-unknown-none-elf -Ctarget-feature=help

Use the TUNE_RISCV_ABI instead of guessing for the ABI.

Pass the arch "as-is", since it should now be riscv32 or riscv64.

(From OE-Core rev: 88b59db87d2c65e5be0f3fee1ebf4ee64ef05f18)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:52:28 +01:00
Mark Hatle
3c5c4cfa6b riscv tunes: ISA Implementation of RISC-V tune features
This implements the following base ISAs:

* rv32i, rv64i
* rv32e, rv64i

The following ABIs:
* ilp32, ilp32e, ilp32f, ilp32d
* lp64, lp64e, lp64f, lp64d

The following ISA extension are also implemented:
* M - Integer Multiplication and Division Extension
* A - Atomic Memory Extension
* F - Single-Precision Floating-Point Extension
* D - Double-Precision Floating-Point Extension
* C - Compressed Extension
* B - Bit Manipulation Extension (implies Zba, Zbb, Zbs)
* V - Vector Operations Extension
* Zicsr - Control and Status Register Access Extension
* Zifencei - Instruction-Fetch Fence Extension
* Zba - Address bit manipulation extension
* Zbb - Basic bit manipulation extension
* Zbc - Carry-less multiplication extension
* Zbs - Single-bit manipulation extension
* Zicbom - Cache-block management extension

The existing processors tunes are preserved:
* riscv64 (rv64gc)
* riscv32 (rv32gc)
* riscv64nf (rv64imac_zicsr_zifencei)
* riscv32nf (rv32imac_zicsr_zifencei)
* riscv64nc (rv64imafd_zicsr_zifencei)

Previously defined feature 'big-endian' has been removed as it was not used.

(From OE-Core rev: bcaf298a146dfd10e4c8f44223ea083bc4baf45c)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:52:28 +01:00
Daniel Turull
63fb85ec37 Add SPDX_INCLUDE_COMPILED_SOURCES documentation
Adding documentation for the new feature to store in SPDX
only the compiled sources.

Merged in oe-core: c6a2f1fca76fae4c3ea471a0c63d0b453beea968
 - spdx: add option to include only compiled sources

CC: Antonin Godard <antonin.godard@bootlin.com>
(From yocto-docs rev: 4dbc63ed1381fe47723d6ba5b7baf2a3b7fd19aa)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Robert P. J. Day
7d68886200 bsp-guide: update all of section 1.8.2 to reflect current beaglebone conf file
(From yocto-docs rev: 5fc7794e9ae326eead16552726d74ea801fe535b)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Robert P. J. Day
c6be4ac032 bsp-guide: update lonely "4.12" kernel reference to "6.12"
To accompany earlier updating of kernel version, update this lonely
reference to be consistent.

(From yocto-docs rev: e26c2018cd663de91ee08e0cba55eda1a4c30210)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Quentin Schulz
e60c9d753c document how to use :doc: directive
Let's specify that we are only expecting "absolute" paths in the docs
directive for local document referencing.

(From yocto-docs rev: 2729250bf1068814e5106d1e71796e8a505963d7)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Quentin Schulz
bebe66feae tree-wide: make the :doc: directive use absolute paths
This makes all :doc: directives use an absolute paths (with the root
directory being documentation/ in the repo).

This is then consistent across the whole source and is easier to review
and move files around, you just need to know where a file is located
relative to documentation/ directory and use that.

This gets rid of paths looking in parent directory with '..' as well as
expecting a file to be in the same directory as the other file it points
to via the :doc: directive.

(From yocto-docs rev: b9457f2005b0bea49c54e9727eb30e9458084886)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Robert P. J. Day
931db3845c bsp guide: update kernel version example to 6.12
Change the sample kernel version being used from 4.4 to a more modern
6.12.

(From yocto-docs rev: 1bad12b6ccfe1c0d26918926176a0c743568de26)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Robert P. J. Day
a55b16b5c1 yp-intro: new doc reference is missing leading slash
The new ":doc:" reference for yocto-project-supported-features appears
to be missing a leading slash, causing HTML generation to fail.

(From yocto-docs rev: 4114399711ff82893a10c9eba0ff66c9af7b1c9e)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Lee Chee Yang
7e530df240 migration-guide: add release notes for 5.0.10
(From yocto-docs rev: 5bc4c98987ff809294541657b20d2e44f70e1d2c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Robert P. J. Day
f4d83e7685 overview-manual: small number of pedantic cleanups
In Sections 4.3.1 and 4.3.2 of the Overview Manual, a bit of tidying
including:

  - provide full list of packaging options
  - add monospaced rendering where appropriate
  - fix broken "ref"
  - make capitalization consistent

(From yocto-docs rev: 1cf769e3c8a8442cd05449dc97e91ad482d635f3)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Adrian Freihofer
d01f9c44ed migration-5.3: replace kernel-fitimage by kernel-fit-image
Add migration documentation for users moving from the removed
kernel-fitimage.bbclass to the new kernel-fit-image.bbclass.

(From yocto-docs rev: 4c3552940a6ff89824845473317b7f5d741d4635)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Adrian Freihofer
a8683de719 release-notes: drop references to kernel-fitimage
This commit drops references to the kernel-fitimage.bbclass to prevent
from build errors when the label is no longer available.

(From yocto-docs rev: 3610cfd76d1491d9ecff9816ab36df8d1b2a83c6)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:15 +01:00
Adrian Freihofer
7a01d262a1 ref-manual: replace kernel-fitimage by kernel-fit-image
(From yocto-docs rev: 93c92dd2837708ba00a4ca47667e60d7bb09430b)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:14 +01:00
Quentin Schulz
474742f808 ref-manual: classes: nativesdk: move note to appropriate section
The nativesdk- prefix to the recipe filename should only be used when
using the inherit method as the BBCLASSEXTEND method will do some magic
when generating the "implicit" name of the recipe.

This matches the instructions for the native class.

(From yocto-docs rev: 15fe239e1e62b9add737aa732dd7f5e9948ee03d)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:14 +01:00
Quentin Schulz
d349e792c1 ref-manual: classes: reword to clarify that native/nativesdk options are exclusive
We explain how to create a native (nativesdk) recipe in two different
ways via a bullet list but reading quickly the instructions may mislead
one into doing both options whereas they are incompatible.

This rewords both the nativesdk and native sections so that the second
bullet point starts with an Or and explicit that this applies to target
recipes.

(From yocto-docs rev: 6d0d338a5f2686ddeee5eed7b6e05f3db800d33a)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-20 09:48:14 +01:00
Peter Marko
ea635ace50 go: set status of CVE-2024-3566
NVD ([1]) tracks this as:
cpe:2.3🅰️golang:go:*:*:*:*:*:*:*:*
Running on/with
  cpe:2.3microsoft:windows:-:*:*:*:*:*:*:*

Yocto cve-check ignores the "Running on/with", so it needs to be ignored
explicitly.

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-3566

(From OE-Core rev: c8ce6710d864d237fdf67d2c3d3aa0f0970a2a05)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 22:00:10 +01:00
Trevor Gamblin
0a6432ac3f python3-pytest: upgrade 8.3.5 -> 8.4.1
Changelog for 8.4.0: https://docs.pytest.org/en/stable/changelog.html#pytest-8-4-0-2025-06-02

Add colorama (moved to oe-core from meta-python) and pygments to
RDEPENDS.

Note that 8.4.0 accidentally removed pytest.PytestReturnNotNoneWarning,
which seems to have broken some tests (e.g. python3-pytz). See:
https://github.com/pytest-dev/pytest/releases/tag/8.4.1

(From OE-Core rev: 908c5535506592af654e7efac5b4a28a05da23f6)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Trevor Gamblin
e7c2d33df4 maintainers.inc: sort Python recipes alphabetically
There are a small number of these that are out of place, so re-sort the
entire list to clean it up.

(From OE-Core rev: 76d681c4b17c9169238c571bae7e25df2040960c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Trevor Gamblin
f477b606ff python3: upgrade 3.13.4 -> 3.13.5
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-5-final

ptests look OK:

|443 tests OK.
|
|Total duration: 2 min 43 sec
|Total tests: run=44,050 skipped=2,309
|Total test files: run=471/480 skipped=28 resource_denied=9
|Result: SUCCESS
|DURATION: 164
|END: /usr/lib/python3/ptest
|2025-06-17T14:05
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Reproducibility OK:

|2025-06-17 10:34:28,071 - oe-selftest - INFO -  ... ok
|2025-06-17 10:35:04,539 - oe-selftest - INFO - ----------------------------------------------------------------------
|2025-06-17 10:35:04,539 - oe-selftest - INFO - Ran 1 test in 1429.952s
|2025-06-17 10:35:04,539 - oe-selftest - INFO - OK
|2025-06-17 10:35:08,924 - oe-selftest - INFO - RESULTS:
|2025-06-17 10:35:08,924 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1393.34s)
|2025-06-17 10:35:08,925 - oe-selftest - INFO - SUMMARY:
|2025-06-17 10:35:08,925 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1429.952s
|2025-06-17 10:35:08,925 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: 10a6b07637ac818a28da5117b1f46f9563453486)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Trevor Gamblin
633dffe6f8 python3-setuptools-scm: upgrade 8.2.1 -> 8.3.1
Changelog: https://github.com/pypa/setuptools-scm/compare/v8.3.0...v8.3.1

(From OE-Core rev: 7ebc8e0b7a18ec28c9c89e3986bd479085abe9dd)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Trevor Gamblin
474ffe5684 python3-colorama: add recipe
Add existing recipe from meta-python, since pytest lists it as a
dependency. This also puts it in maintainers.inc with myself as
maintainer.

[RP: Switch to use hatching directly]
(From OE-Core rev: 8c06239fdcf983dac759c7d80d6326807c993622)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Ross Burton
f54c9067a0 oeqa/selftest: add new test for toolchain switching
Add a basic test for the toolchain switching code: set the
toolchain to GCC by default but Clang for a specific recipe, and verify
that two recipes are built with the expected compiler.

This works because before we strip the installed binaries there is a
.comment segment that contains the list of toolchains used.

(From OE-Core rev: 7988c32191927f1c6db422c959eab7a03dfeda04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Ross Burton
6355ba2cad oeqa/selftest/esdk: remove postconfig argument
Discovered when looking for users of get_bb_var()'s postconfig argument,
this wrapper around runCmd() has a postconfig argument that has odd
behaviour: it _appends_ the new configuration to local.conf instead of
having them used for this specific run (unlike the other functions in
commands.py)

None of the eSDK tests use this functionality, so remove it. Future test
cases that need to write further configuration should do so directly.

(From OE-Core rev: 6196d096b95b36f8b72b4049d5479f8f23e7891d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Ross Burton
5097aaeafa scripts/test-remote-image: remove useless postconfig arguments
I can't see a reason for this script to need to use postconfig files
to bounce a variable assignment through another, so remove them.

(From OE-Core rev: 4a919459feb90ab8a8b9d10381486b77ad5aec52)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:44 +01:00
Moritz Haase
f6fb4c7273 cmake: Correctly handle cost data of tests with arbitrary chars in name
ctest automatically optimizes the order of (parallel) test execution based on
historic test case runtime via the COST property (see [0]), which can have a
significant impact on overall test run times. Sadly this feature is broken in
CMake < 4.0.0 for test cases that have spaces in their name (see [1]).

This commit backports the upstream fix. As repeated test runs are expected to
mainly take place inside the SDK, the patch is only applied to 'nativesdk'
builds.

[0]: https://cmake.org/cmake/help/latest/prop_test/COST.html
[1]: https://gitlab.kitware.com/cmake/cmake/-/issues/26594

Reported-By: John Drouhard <john@drouhard.dev>
(From OE-Core rev: dcbaf42dd74cc0bda7254856589613718ed3f057)

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Andrej Valek
a2dad2ce9a dropbear: add xauth runtime recommends dependency on x11 DISTRO_FEATURE
Change enable-x11-forwarding PACKAGECONFIG to x11, while we can rely
directly on X11 DISTRO_FEATURE. Previously when enable-x11-forwarding was
used, the XAUTH_COMMAND failed due to missing xauth. So add xauth to
runtime recommends dependency and enable this behavior as default.

(From OE-Core rev: f0d2374b94a0e5d60ceed17998cd97f85b0486f6)

Signed-off-by: Andrej Valek <andrej.v@skyrain.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Alexander Kanavin
2fad5f4f04 gst-examples: correct upstream version check
If start-of-line is not enforced, then bogus tag 'gstreamer-sharp-1.13.0.1' would
match as 13.0.1.

(From OE-Core rev: 094cbd4f6a9f57eb146207355a921eaae44012ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Jamin Lin
856ed381c5 oe-selftest: fitimage: Add test for signing U-Boot FIT image without SPL
This adds a new selftest case `test_sign_uboot_fit_image_without_spl` to verify
that the build can correctly generate and sign a U-Boot FIT image in a scenario
where no SPL is used.

Background:
- Some boards build only the U-Boot proper FIT image and do not require an SPL.
- The signing flow must handle this case gracefully: generate the ITS, sign
  the FIT image, and skip signing/injecting a key into the SPL DTB.

What this test does:
1) Enables `UBOOT_FITIMAGE_ENABLE` and `SPL_SIGN_ENABLE` but explicitly sets
   `SPL_DTB_BINARY` to an empty string to indicate that no SPL is present.
2) Verifies that the U-Boot ITS and FIT image are built successfully.
3) Confirms that the generated ITS file includes signature metadata as requested.
4) Dumps the FIT image to ensure that the signature nodes exist.
5) Confirms that the log for `do_uboot_assemble_fitimage` shows the expected
   mkimage/mkimage_sign invocation.

This ensures that signing works correctly even when only the U-Boot proper is built,
which matches real-world configurations that do not require an SPL.

(From OE-Core rev: cdb4f4249a386113bebc65918a1b088c64e59182)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Jamin Lin
6d3b93af2e uboot-sign.bbclass: Refactor condition checks to use && and || instead of -a and -o
This commit cleans up and modernizes the shell condition expressions in
`uboot-sign.bbclass` to follow best practices for portable and reliable shell usage.

Key changes:
- Replace legacy `[ -a ]` and `[ -o ]` with explicit `[ ] && [ ]` and `[ ] || [ ]`.
  Modern POSIX and busybox sh recommend using `&&` and `||` instead of `-a` and `-o`
  because `-a` and `-o` are less robust and can cause parsing ambiguities in some shells.
- Simplify `concat_dtb()` by moving the DTB existence check to the top and using
  early `return` to avoid deep nesting.
- Remove redundant fallback `else` blocks; use clearer control flow with direct checks.

This improves maintainability, reduces shell syntax pitfalls, and aligns with
current shell scripting best practices.

References:
- POSIX recommends avoiding `-a` and `-o` in `[ ]` and using explicit `&&` and `||`:
  https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html

(From OE-Core rev: d2740e39800a044d557b620e38ca0ac1b8c6d030)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Jamin Lin
d8cd58cc7a uboot-sign: Support signing U-Boot FIT image without SPL
Previously, the signing flow in "uboot-sign.bbclass" assumed that SPL was always
present and that the FIT signing process must inject the public key into the
SPL DTB. This made it inflexible for use cases where only the U-Boot proper
FIT image is built and signed, with no SPL binary at all.

This change introduces the following adjustments:
- The `SPL_DTB_BINARY` variable can be explicitly set to an empty string
  to indicate that no SPL is present.
- The signing logic checks `SPL_DTB_BINARY` and skips injecting the
  key or verifying the SPL DTB if it is empty.
- The FIT image generation and deployment are always performed if
  `UBOOT_FITIMAGE_ENABLE` is enabled, regardless of the SPL settings.
- The deploy helper now uses a single check on `SPL_DTB_BINARY` to decide
  whether to deploy the signed SPL DTB.

Now the sign step checks if SPL_DTB_BINARY is empty:
If present, it signs the FIT image and injects the public key into the SPL DTB,
then verifies both.
If empty, it only signs the FIT image and generates the ITS with the signature
node, but does not attempt to verify or add the key to a non-existent SPL DTB.

Key Behavior Explained
If SPL_DTB_BINARY is empty, we assume there is no SPL.
If UBOOT_FITIMAGE_ENABLE=1, we always create the FIT image and ITS.
If SPL_SIGN_ENABLE=1, we always sign the FIT image, but only inject the key into
the SPL DTB if it exists.

Example usage:
  UBOOT_FITIMAGE_ENABLE = "1"
  SPL_SIGN_ENABLE = "1"
  SPL_DTB_BINARY = ""

This means:
  - Generate and sign the FIT image.
  - Do not attempt to sign or deploy an SPL DTB.

This aligns the implementation with real scenarios where some boards do not
require an SPL.

(From OE-Core rev: 7ad6acd8841752a5b75b8e2666bca5b609347cc1)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Poonam Jadhav
eb9b83d6c9 libpng: Add ptest
Install libpng test-suite to run it as a ptest.
As the test-suite takes more than 30 seconds to run,
add libpng-ptest to PTESTS_SLOW in ptest-packagelists.inc

(From OE-Core rev: 8dca5305c950e6a06b3f344ffdbbb7386d802095)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Daniel Turull
5dff1c40db improve_kernel_cve_report: add script for postprocesing of kernel CVE data
Adding postprocessing script to process data from linux CNA that includes more accurate metadata and it is updated directly by the source.

Example of enhanced CVE from a report from cve-check:

{
  "id": "CVE-2024-26710",
  "status": "Ignored",
  "link": "https://nvd.nist.gov/vuln/detail/CVE-2024-26710",
  "summary": "In the Linux kernel, the following vulnerability [...]",
  "scorev2": "0.0",
  "scorev3": "5.5",
  "scorev4": "0.0",
  "modified": "2025-03-17T15:36:11.620",
  "vector": "LOCAL",
  "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "detail": "not-applicable-config",
  "description": "Source code not compiled by config. ['arch/powerpc/include/asm/thread_info.h']"
},

And same from a report generated with vex:
{
  "id": "CVE-2024-26710",
  "status": "Ignored",
  "link": "https://nvd.nist.gov/vuln/detail/CVE-2024-26710",
  "detail": "not-applicable-config",
  "description": "Source code not compiled by config. ['arch/powerpc/include/asm/thread_info.h']"
},

For unpatched CVEs, provide more context in the description:
Tested with 6.12.22 kernel
{
  "id": "CVE-2025-39728",
  "status": "Unpatched",
  "link": "https://nvd.nist.gov/vuln/detail/CVE-2025-39728",
  "summary": "In the Linux kernel, the following vulnerability has been [...],
  "scorev2": "0.0",
  "scorev3": "0.0",
  "scorev4": "0.0",
  "modified": "2025-04-21T14:23:45.950",
  "vector": "UNKNOWN",
  "vectorString": "UNKNOWN",
  "detail": "version-in-range",
  "description": "Needs backporting (fixed from 6.12.23)"
},

CC: Peter Marko <peter.marko@siemens.com>
CC: Marta Rybczynska <rybczynska@gmail.com>
(From OE-Core rev: e60b1759c1aea5b8f5317e46608f0a3e782ecf57)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-19 21:54:43 +01:00
Richard Purdie
7733ddf733 build-appliance-image: Update to master head revision
(From OE-Core rev: 826ab8dde34882c3ef705f715d8808e46bbedcde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-18 14:08:15 +01:00
Ross Burton
b1b3318eff libcheck: disable subunit support
We don't have a recipe for subunit in core (or any layer in the layer
index), and unfortunately a bug in the CMakeLists means that the native
build can detect subunit on the host (so host contamination) and only
half-enable it, so the build fails.

Take a patch from upstream's github to add an option for subunit, and
explicitly disable it.

(From OE-Core rev: 155f0f65fa0f08a4586d3c9a02976f43a10b08aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-18 14:04:17 +01:00
Ross Burton
27c5b245aa libcheck: remove obsolete patch
This patch is specific to the autotools build of libcheck, but we use
CMake now.

(From OE-Core rev: 98091331829bd88b57fef5b811a4117b8db16032)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-18 14:04:17 +01:00
Chen Qi
412c6ed99f coreutils: fix CVE-2025-5278
Backport patch to fix CVE-2025-5278.

(From OE-Core rev: 1bada55b3e76d9e5e7989f7229d5f25c8fd5ea89)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-18 14:04:17 +01:00
Daniel Turull
33fd6f6e82 spdx: add option to include only compiled sources
When SPDX_INCLUDE_COMPILED_SOURCES is enabled, only include the
source code files that are used during compilation.

It uses debugsource information generated during do_package.

This enables an external tool to use the SPDX information to disregard
vulnerabilities that are not compiled.

As example, when used with the default config with linux-yocto, the spdx size is
reduced from 156MB to 61MB.

Tested with bitbake world on oe-core.

CC: Quentin Schulz <quentin.schulz@cherry.de>
CC: Joshua Watt <JPEWhacker@gmail.com>
CC: Peter Marko <peter.marko@siemens.com>
(From OE-Core rev: c6a2f1fca76fae4c3ea471a0c63d0b453beea968)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-17 23:38:18 +01:00
Antonin Godard
5132c991e6 ref-manual/yocto-project-supported-features: move meta-exein to primary
Exein is a platinum member and has primary support
(https://www.yoctoproject.org/members).

(From yocto-docs rev: b13bccbf3fb1890ac428a396f8c5081057edf555)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-17 10:25:50 +01:00
Antonin Godard
b42dc83ef7 overview-manual/yp-intro.rst: add RISC-V to supported archs
And mention the new supported features document.

Suggested-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: d852a2d20e876440a48a240ca68d5f440ef2cfbe)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-17 10:25:50 +01:00
Ross Burton
a49e9d5d9d ref-manual/yocto-project-supported-features: add a contact for meta-arm
Set the contact address for meta-arm.

(From yocto-docs rev: 8ad91366ed89204affef6a72bd403b0d0a4525fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-17 10:25:50 +01:00
Richard Purdie
98797b59d8 cross/crosssdk: Allow deferring of these classes too
(From OE-Core rev: 2e568ba8607a6f65caea891df9bc9341988aaf37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:26:38 +01:00
Richard Purdie
5d2e514373 bitbake.conf: Automatically defer native and nativesdk inherits
(From OE-Core rev: ede97945ccabc7ace79a380be400357bbb8df80d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:26:38 +01:00
Richard Purdie
d58d212bb5 toolchain/gcc/clang: Update PREFERRED_PROVIDER to work with multilibs
As currently written, the PREFERRED_PROVIDER entries don't work with multilib
since they are added after the manipulations by multilib_global at ConfigParsed
time. We therefore need to spell out the configs correctly for multilib.

To avoid variable overwritten warnings from the expansion, we then have to
expand out the nativesdk providers usng class overrides.

(From OE-Core rev: 1f69850b62d1e022055d0f3b93ad270c2980462e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:26:38 +01:00
Richard Purdie
5317a214c5 toolchain: Provide abstraction for recipe specific toolchain selection
This change implements a toolchain selection mechanism. Selection is
made using a set of variables, primarily PREFERRED_TOOLCHAIN_TARGET which
defaults to gcc.

It uses the familiar name for toolchain e.g. "gcc" which selects GNU
compiler + binutils as default C/C++ toolchain or "clang" which will
use LLVM/Clang Compiler. Layers an add their own toolchain definitions
too.

There are also PREFERRED_TOOLCHAIN_NATIVE and PREFERRED_TOOLCHAIN_SDK
which will ulitmately allow selection of the toolchain used for the
native/cross and nativesdk/crosssdk compilers. This currently isn't
functional but is essential to the patch to ensure things are set
to the existing gcc support in those cases.

Users would most commonly want to set:

PREFERRED_TOOLCHAIN_TARGET ?= "clang"

in local.conf or other distro specific global configuration metadata.

It is also selectable at recipe scope, since not all packages are
buildable with either clang or gcc, a recipe can explicitly require
a given toolchain using the TOOLCAHIN variable, e.g. glibc can not
be built with clang therefore glibc recipe sets:

TOOLCHAIN = "gcc"

The TOOLCHAIN variable is distinct from the user preference so recipes
with specific requirements can be identified. This also allows different
polcies to be be specified for native/SDK cases in the future.

(From OE-Core rev: 45bdedd213aff8df3214b95ef2a8551c0abd93a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:26:38 +01:00
Richard Purdie
c49991441c base: Add deferred class event handler
Use the new deferred class event to set the class overrides earlier.
This improves interaction of the override with PACKAGECONFIG values
that control conditional inherits (such as python support).

This also allows toolchain configuration in an easier and more user
friendly way.

(From OE-Core rev: d58f94d5684332bd4fac3747688558bb261b9c63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:26:38 +01:00
Richard Purdie
bb4dd2e54d sanity.conf: Bump bitbake requirement to 2.15.0
This brings in the features we need to toolchain selection.

(From OE-Core rev: 78c1061dc3916677bd9c2825820a1bab7e75f28a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:26:38 +01:00
Richard Purdie
30fe072f6a bitbake: bitbake: Bump to version 2.15.0
Update version to 2.15.0 for the development series and features needed for
toolchain selection in OE.

(Bitbake rev: c2f29c9475c4b9cdd12af1f8610f2675f8fdd964)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:23:18 +01:00
hongxu
8bd8461212 bitbake: bitbake-getvar: skip info output of bitbake for quiet
Calling oe-debuginfod in a build failed:
...
$ oe-debuginfod
|Getting sysroot...
|Error: NOTE: Reconnecting to bitbake server...
|NOTE: Retrying server connection (#1)... (18:55:53.009687)
|path-to-build/tmp/work/x86_64-linux/elfutils-native/0.192/recipe-sysroot-native doesn't exist.
|Have you run 'bitbake elfutils-native -caddto_recipe_sysroot'?
...

The script oe-debuginfod calls bitbake-getvar to get sysroot, the
output of bitbake-getvar was mixed with info output of bitbake
...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)... (18:55:53.009687)
...

Set logger level to logging.WARNING to skip info output
for quiet

(Bitbake rev: 873c524e1a33846df8f34b7c87b298349277b3d5)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:23:18 +01:00
Richard Purdie
32e44e2866 bitbake: ast/BBHandler: Add support for BB_DEFER_BBCLASSES
Add support for automatically promoting class inherits to deferred inherits
by listing them in the BB_DEFER_BBCLASSES variable.

(Bitbake rev: 8e741b2e885a12d119788d04aa4efcd724dd6bfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:23:18 +01:00
Richard Purdie
e20af03c02 bitbake: event: Add event for deferred inherits
Now that deferred inherits are extension specific, we can pass this
list to an event, which our metadata can use to set class overrides
earlier (as an example).

There are limitations to this, the list of classes is unexpanded and
recursive classes are not visible. There isn't much that can be done
about this, the ones we are interested in would usually be visible
at the top level (such as class extensions).

(Bitbake rev: 205d461c05fc7b4a7c81039af3bc3fd71cbb982c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:23:18 +01:00
Richard Purdie
f2a15854e2 bitbake: ast: Change deferred inherits to happen per recipe
Currently deferred inherits get processed once for all class extensions
as a minor speed optimisation. Unfortunately this limits our options for
being able to report deferred classes to our code.

There are two challenges with using our deferred classes in OE at present.
One is that PACKAGECONFIG values don't work well with class overrides like
class-native if there are deferred classes based on PACKAGECONFIG, such
as python support. The second is that toolchain selection is proving
problematic to implement due to interactions between the toolchain deferred
inherit, the class extensions and class overrides being very late.

By changing deferred inherits to be recipe extension specific, we open
the way to generate events and "peek" at where things will end up,
allowing the class overrides to be set earlier.

The class extension code is updated to use a deferred inherit for the
class extension inheriting so that it is still inherited last.

(Bitbake rev: 29277cf4d88eb4dfa9572851177d009eab5afd0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 22:23:18 +01:00
Richard Purdie
e000d803bf wic: Update after plugin name changes
Update the plugin names to account for the "-" to "_" plugin name change.

(From meta-yocto rev: ff4a8af7917d2e7c862d381577219f2c7beff669)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Richard Purdie
d672a6c43f wic: Avoid problems with "-" characters in plugin names
Remap "-" characters in plugin names to "_" so wic plugins
can be extended using standard python class inheritance.

This change means wic files can be incrementally updated over time
to the correct name rather than breaking everything. Actual plugin
module files will need to be renamed as done in previous patches.

Also remove a double call to get_plugins() which isn't needed.

(From OE-Core rev: 6d9c76196ffad39e628aff76d53d6ecbb517cfa1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Richard Purdie
a65fd2b9d5 wic: Update after plugin name changes
Update the plugin names to account for the "-" to "_" plugin name change.

(From OE-Core rev: afa1b5c9f6ed17c021e37a54d0d6abee50a60bf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Anibal Limon
26694f2009 wic: plugins source bootimage/isoimage rename to allow be imported
Python not support importing modules with - so change to _.

(From OE-Core rev: 2de444fc3ef450f45f8f93403544e8f7461657b0)

Signed-off-by: Anibal Limon <anibal@limonsoftware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Anibal Limon
c284a6c9ce wic: pluginbase ensure layer order when load plugins
To support extensions on wic plugins, the load order needs
to be grauntee matching BBLAYERS variable.

Fix cases when try to import a plugin from another layer,
example of the case to fix,

```
Traceback (most recent call last):
  File "/workspaces/ls/linux/layers/openembedded-core/scripts/wic",line
547, in <module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
...
  File "/workspaces/ls/linux/layers/openembedded-core/scripts/lib/wic/
engine.py", line 137, in list_source_plugins
    plugins = PluginMgr.get_plugins('source')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/ls/linux/layers/openembedded-core/scripts/lib/wic/
pluginbase.py", line 73, in get_plugins
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/workspaces/ls/linux/limonsoftware/bsp/scripts/lib/wic/plugins/
source/bootimg_rpi_autoboot_partition.py", line 1, in <module>
    from wic.plugins.source.bootimg_partition import BootimgPartitionPlugin
ModuleNotFoundError: No module named 'wic.plugins.source.bootimg_partition'
```

(From OE-Core rev: 16c8251e5272510ad96613b8c6623550c5a72a34)

Signed-off-by: Anibal Limon <anibal@limonsoftware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
57b45c9227 wayland-protocols: upgrade 1.44 -> 1.45
(From OE-Core rev: 6d158db297a1b790fdf7f201eb3a1e47bb9bc272)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
aa8425e556 repo: upgrade 2.55 -> 2.55.2
(From OE-Core rev: 38cd05c628b3528db360ac2d3b8f40de124cda74)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
4c87de868f python3-typing-extensions: upgrade 4.13.2 -> 4.14.0
(From OE-Core rev: 590cac310ae962aade2bc2c8c1dcdd83d5c548b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
e6656c1ec4 python3-ruamel-yaml: upgrade 0.18.12 -> 0.18.14
(From OE-Core rev: bb219001f206b437fdf862b29a403db4bb65055c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
2b1a8bd74d python3-pdm: upgrade 2.24.2 -> 2.25.1
Changelog:
=============
- Fix duplicated dependencies added to the lock file when the same dependency with extras is requested.
- Stabilize order of the extras and dependency-groups fields in pylock output.
- Fix Windows 11 install pdm error, which is because of msgpack install failure.
- Change the return type of array_of_inline_tables to list[dict] from list[str]
- Ensure uv resolver to include hash for package files.
- Avoid infinite recursion when reading pyproject.toml with circular file dependencies.
- Support pylock as alternative lock format and make it opt-in by config.
- Search for package metadata in lock file first when reuse strategy is used.

(From OE-Core rev: 121c609e91dd7eb72670513eef8c31a5f2271c89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
01fc2d7d9f python3-numpy: upgrade 2.2.6 -> 2.3.0
License-Update: Copyright year updated to 2025

(From OE-Core rev: 2ac6a959f32214d958a7a0cf1973a9bc66839a9b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
733b8b5460 python3-hypothesis: upgrade 6.132.0 -> 6.135.9
(From OE-Core rev: 9e861a62b8bd86419b93b1dc697ea990d03b565a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
c97ee5e3b9 python3-dtschema: upgrade 2025.2 -> 2025.6.1
Changelog:
===========
- Fix a longstanding ordering issue with extracting type information
  from properties which have a reference to another property. 'mac-mode'
  is the one in the Linux kernel.

- Fix a false positive warning about missing
  unevaluatedProperties/additionalProperties

(From OE-Core rev: e36601ca6454ec62ad2dd0db47724e2ad4c240cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
51897427a3 python3-cython: upgrade 3.1.1 -> 3.1.2
Bugs fixed
----------
* Attribute lookups failed on the "bool" builtin type.
* Type checks on or-ed union types could incorrectly return false.
* Negative list indexing could accidentally wrap around twice in PyPy and the Limited API.
* Iterating over literal sequences with starred (unpacked) items could infer a wrong
  type for the loop variable and fail to assign the values.
* Calls to C functions taking exception types failed to check for a 'None' argument.
* Fused functions had an incorrect "__module__" attribute.
* The type of Cython implemented functions had an incorrect "__module__" attribute.
* Errors while indexing into "bytearray" or "str" in "nogil" sections could crash.
* "bytearray.append()" could silently accept some invalid character numbers.
* The C++11 "<type_traits>" header was included regardless of the C++ version.
* "PyDict_GetItemStringRef()" was accidentally used in older Limited API versions.
* "abort()" was used but not always available in the Limited API.
* Some dependencies were missing from the "depfile".
* Embedded function signatures were not always separated from the existing docstring.
* "numpy.math" was missing from "Cython/Includes/" and could not be cimported.
* Some tests were adapted for NumPy 2.x.
* Some C compiler warnings were fixed.
* "Cython.Build" was not officially exposing the "cythonize" function.

(From OE-Core rev: ad9e2ba3d7c1af3f7084427eb9ddb0822460b108)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
e7dddda7f3 pixman: upgrade 0.46.0 -> 0.46.2
(From OE-Core rev: d2175b47535ef684779ce9c454dca81255781420)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
bb2a96d1aa mpg123: upgrade 1.32.10 -> 1.33.0
(From OE-Core rev: 9753a910240a5040af8f3a5ff679fcc1c3cfa6ef)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
2b1232c314 meson: upgrade 1.8.1 -> 1.8.2
(From OE-Core rev: b585d1cb1d655f191018a50fe3483a5228e68ad6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
e51ff6774e lttng-modules: upgrade 2.13.18 -> 2.13.19
Changelog:
===========
* Fix missing override when CONFIG_COMPAT_OLD_SIGACTION is not defined
* fix: writeback: 'balance_dirty_pages' Respect 'CONFIG_CGROUP_WRITEBACK'
* Fix: scsi: RESERVE and RELEASE renamed in Linux v6.15-rc1
* Fix: del_timer[_sync] deleted in linux v6.15-rc1
* Fix: Use 'nonseekable_open' for proc files
* Fix: trace_balance_dirty_pages in Linux v6.14.2
* fix: version constraint for building lttng-probe-9p

(From OE-Core rev: 8f8b8e72ff4ea562630b428ff8ab7f163d0c7084)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
cb6bf212b1 libsolv: upgrade 0.7.32 -> 0.7.33
Changelog:
===========
- selected bug fixes:
  * improve transaction ordering by allowing more uninst->uninst
    edges
  * implement color filtering when adding update targets
- new features:
  * support orderwithrequires dependencies in susedata.xml

(From OE-Core rev: 000d105135c6ae871bfa8699d9008a1f4324c7f7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
9b9e06f104 libsdl2: upgrade 2.32.6 -> 2.32.8
(From OE-Core rev: 69e484a295676be0dfb1037006e9748cdc937b50)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
b1e484e363 libjpeg-turbo: upgrade 3.1.0 -> 3.1.1
Changelog:
- Hardened the libjpeg API against hypothetical calling applications that may
  erroneously change the value of the 'data_precision' field in
  'jpeg_compress_struct' or 'jpeg_decompress_struct' after calling
  'jpeg_start_compress()' or 'jpeg_start_decompress()'.

(From OE-Core rev: 49a69532bc2b4a7d6ae8136123e92b10b5e657f5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
926e352d74 libffi: upgrade 3.4.8 -> 3.5.1
License-Update: Copyright year updated to 2025

not-win32.patch
refreshed for 3.5.1

(From OE-Core rev: 4c32496a8b89cb1355672d6b7159aff09c69797b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
b60c9ab487 libdrm: upgrade 2.4.124 -> 2.4.125
(From OE-Core rev: 04d9c957d70d1ea8861c0b85a8df2f7952cd80f8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
b80dfd18ae hwdata: upgrade 0.395 -> 0.396
(From OE-Core rev: 7244dd4cd46ed8cd2a99b353e53937045ddf96cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
b866865b15 gtk4: upgrade 4.18.5 -> 4.18.6
Bugs fixed:
- Wrong behavior of GdkKeymap on macOS
- cups: NULL-terminate array of choices
- Fix the android build
- icontheme: Load the missing image icon from the theme

(From OE-Core rev: 1a31f269130429b7c690340c688c1f503f6473d3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
4fed67428c diffoscope: upgrade 297 -> 298
(From OE-Core rev: 3c8eb3db55c7bc757a0426d7682dc29dfa9c68dd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Wang Mingyu
1be4bd80fc debianutils: upgrade 5.22 -> 5.23.1
(From OE-Core rev: 786bbdf0ae6e30c09040d3dbdc226e2fe5296148)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
hongxu
134890aca0 libxml2: fix CVE-2025-6021
According to [1]

A flaw was found in libxml2's xmlBuildQName function, where integer overflows
in buffer size calculations can lead to a stack-based buffer overflow. This
issue can result in memory corruption or a denial of service when processing
crafted input.

Refer debian [2], backport a fix [3] from upstream

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-6021
[2] https://security-tracker.debian.org/tracker/CVE-2025-6021
[3] acbbeef9f5

(From OE-Core rev: e3a6bf785656243b5adc0775f7480a1eb0e4ae4c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
32232d2ec1 oe/license_finder: support extra hashes being passed to find_licenses
When using the license finder the caller might know some more license
hashes, for example if it is updating existing metadata.

Allow the caller to pass more hashes that can be used when identifying
licenses.

(From OE-Core rev: 9011bc307fcdccb144b75d77b36bbc5c8d4bd96d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
06f91813cc oe/license_finder: rewrite license checksum loading, scan more licenses
Rewrite the license checksum generation and loading of CSV files to be
clearer.

This also expands the scan of COMMON_LICENSE_DIR to include LICENSE_PATH,
which can be extended by layers to provide more license texts.

(From OE-Core rev: 417240ba7a9b3985530988940a222b079b503b64)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
dd8f320184 oe/license_finder: don't return the "crunched" license text in crunch_license
crunch_license() will perform some basic text manipulation to try and
canonicalise the license texts. It also returns the new license text but
none of the callers use this, and as a slightly mangled version of the
original it has no real purpose.

Remove this return value and clean up the callers.

(From OE-Core rev: 34603ed3b4919dcfba19ef57db11a6d3bb2704f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
0d175076fe oe/license_finder: remove unused arguments in get_license_md5sums
get_license_md5sums() has two optional arguments:

- static_only: if set, don't checksum the licenses in COMMON_LICENSE_DIR
- linenumbers: if set, the CSV file can contain begin/end/md5 values as
  used in LIC_FILES_CHKSUM.

Neither of these are used and complicate the logic, so remove them.

(From OE-Core rev: 148e501bd4fe65e7bed68d086ba98180a9b2483c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
6496804bac oe/license_finder: consolidate hash->license maps
There are two locations where mappings of checksums to license names
are: the license-hashes.csv file and a hard-coded set of assignments in
the code.

There's no need for two, so remove the assignments and move the hashes
into the CSV file.

(From OE-Core rev: a775c6cb5a2bf1f30a94ba3b88af9aa491e98b1a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
f516c4ccf5 oe/license_finder: add first_only argument to find_licenses()
It may be desired to find only the "top-level" license file instead of
every potential candidate, so add a first_only argument (defaulting to
False to preserve existing behaviour) to return just the first license
found.

(From OE-Core rev: 995936ffda02a1def1863490ec315783a7470c72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
dc73e3083c oe/license_finder: skip .sh files when looking for licenses
Shell scripts are not licenses, so skip them.

(From OE-Core rev: 0ce9ad80d3b90edc1d1e690763e8f3d9f0cd523d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
e9932fca23 recipetool: use oe.license_finder
Delete the now redundant code, and import oe.license_finder instead.

(From OE-Core rev: 8bba98be5c87dd6749e5cc95e9553dffc23ada73)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
36adc8135d lib/oe/license_finder: extract license finding code from recipetool
This code is 99% identical to the original code in recipetool/create.py,
but with two minor changes:
- The implicit recipetool logger is changed to an explicit logger
- The CSV of license hashes is moved to meta/files/

(From OE-Core rev: b132652c6e520121c6b0e7e873b0d33ede0309b5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Ross Burton
19953c90ce default-distrovars: set an empty default for LICENSE_PATH
This variable is a list of paths that contain extra license texts. It
doesn't have a default so can be unset.

(From OE-Core rev: 9c8e180d8d2637307cd7deeec5b2df7dbc946221)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Adrian Freihofer
4f6292a012 oe-selftest: fitimage: replace cleansstate with compile -f
Avoid using "cleansstate" in tests, as it can remove files from
SSTATE_DIR and disrupt parallel builds on autobuilders. Use
"bitbake kernel-signing-keys-native -c compile -f" to force key
regeneration without affecting shared state.

This issue was introduced in:
oe-selftest: fitimage: cleanup FIT_GENERATE_KEYS
OE-Core rev: 97e58d7c2bc1943f0696fc72984788f459f7f7c4

(From OE-Core rev: 917e2989f34fde12d3f039744fca1d5ab5b4a7a8)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Adrian Freihofer
d8bbd453ab devtool: ide-sdk code remove twxs.cmake
Do no longer recommend the twxs.cmake VSCode plugin. There is now a
language server built into the ms-vscode.cmake-tools plugin as well.

>From Release notes 1.20.53
https://marketplace.visualstudio.com/items/ms-vscode.cmake-tools/changelog
Add notification suggesting users to uninstall twxs.cmake now that we
have built-in Language Services. Follow this advice.

(From OE-Core rev: 83d3465a0536a2ffa9c2b6f042051881ec055f5a)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Peter Marko
df52422072 systemd: upgrade 257.5 -> 257.6
Handles CVE-2025-4598

Rebase patches

(From OE-Core rev: fddfca638818e16bf4d2486f5a5e0bbaaaa0a20f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Aleksandar Nikolic
2837c4ab1d scripts/install-buildtools: Update to 5.2.1
Update to the 5.2.1 release of the 5.2.1 series for buildtools

(From OE-Core rev: 55d7679864af7658aa470238a1f91c5fa8160f88)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Adrian Freihofer
b92a5e9782 oe-selftest: fitimage: fix new parser compatibility
Recent parser changes throw a warning if there is no space around the
= operator.

(From OE-Core rev: 518df809354a745deebe3c85b1390557398c8893)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Adrian Freihofer
faae7a783d packagegroup-base: fix override syntax
Looks like one more left over from the override syntax change.

(From OE-Core rev: 2c83ae62584f73a09a6201541cac27910513e554)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:30 +01:00
Richard Purdie
d5d35a27b4 lib/oe: Move vardepexclude entries alongside functions
Now we have decorators that can do this, move the variable dependencies
exclusions alongside the code that needs them for maintainability.

(From OE-Core rev: e522169c5f95de6fc74b43672573700d8eb8e082)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Gyorgy Sarvari
c5d7c7a230 weston: upgrade 14.0.1 -> 14.0.2
While at it, also add libpam as a dependency to the vnc pkgconf, to
avoid the following error:

| Run-time dependency pam found: NO (tried pkgconfig and cmake)
|
| ../weston-14.0.2/libweston/meson.build:95:15: ERROR: C shared or static library 'pam' not found

Changelog:
 - frontend: Fix crash in output resize handler
 - libweston: fix bitshift in weston_idalloc_get_id()
 - libweston: fix realloc in weston_idalloc
 - libweston: refactor update_lowest_free_bucket()
 - libweston-desktop: don't try to move child surfaces to not existing layer
 - libweston/input.c: Fix weston crash with the mouse event
 - windowed-output-api.h: Provide ARRAY_LENGH() for windowed-output-api
 - drm: Fix underlay test
 - compositor: Mark pnode accordingly when buffer type is direct
 - compositor: re-order paint node placeholder checks
 - gl-renderer: Take direct-display into consideration
 - shared: fix binding-modifier none
 - vnc: Allow neatvnc in version 0.9.0
 - compositor: Prevent startup crash when hdcp mode is set on display
 - libweston/desktop: Avoid a potential crash on invalid resource
 - libweston/desktop: Don't destroy the xdg_surface

(From OE-Core rev: 0ebf7dc82498e7dfabb45fd4e6f7b80375a93835)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Ryan Eatmon
12b533e120 insane: Fix debug-deps check
Fixes bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15901

The cheeck for debug-deps is looking for the mere existence of the
substring "-dbg" inside of the name of an RDEPENDS package, but it should be
an endswith check.  This helps with some eroneous errors in kernel
module names like:

ERROR: linux-xxx do_package_qa: QA Issue: kernel-modules rdepends on kernel-module-g-dbgp-6.12.22-ti [debug-deps]

and

ERROR: QA Issue: kernel-module-mtk-vcodec-dec-6.16.0-rc1-next-20250610-dirty rdepends on kernel-module-mtk-vcodec-dbgfs-6.16.0-rc1-next-20250610-dirty [debug-deps]

(From OE-Core rev: 1b85d84c736a0fa5cb27b8716ca37f181464c85a)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Peter Marko
07e2320aa4 net-tools: patch CVE-2025-46836
Backport patch for this CVE and also patch for its regression.

(From OE-Core rev: 2d7662e5359b7490b3028ae2e7b002de5faa84da)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Ross Burton
fa5e85de48 libtheora: disable all 32-bit arm assembler
The 32-bit Arm assembler is mostly broken. In 1.1.0 it was never used,
and 1.2.0 tries to enable it and there are a number of different ways it
can fail (some gcc/architecture combinations, and all clang builds).

Until this is fixed upstream, simply disable assembler entirely.

(From OE-Core rev: 0ee2166f9d03ab01f2ea3dd29b8e76ae168fa9aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Jiaying Song
82ee4aeb28 python3-requests: upgrade 2.32.3 -> 2.32.4
Changelog:
https://requests.readthedocs.io/en/latest/community/updates/#release-history

(From OE-Core rev: 5d54d99fe6613062c7597fb2bbd23a641c76d8d4)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Quentin Schulz
795702eb0e mesa: do not build nouveau NVIDIA gallium-llvm driver if not requested
The Nouveau driver is used for NVIDIA GPUs and thus doesn't really need
to be always enabled when building gallium-llvm drivers.

So let's guard it with a nouveau PACKAGECONFIG.

The only intended change is nouveau not being build on target mesa on
non-x86/i686 machines when building gallium-llvm drivers as I assume
NVIDIA GPUs aren't that common on other CPU architectures (tegra already
bringing in the nouveau driver should handle the NVIDIA SoCs that would
benefit from nouveau driver and thus are not impacted by this change).

(From OE-Core rev: 22e7f562fb4b5becc342fe7d60c37c70e42ccf6b)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Quentin Schulz
1393f68da7 mesa: do not build r300 AMD gallium-llvm driver if not requested
It doesn't make much sense to always build the r300 AMD gallium LLVM
driver as that's HW-specific.

Instead, let's guard it with the amd PACKAGECONFIG.

This will only disable R300 for target mesa on non-x86/i686 machines
where gallium-llvm PACKAGECONFIG is selected but not amd, otherwise
behavior is left unchanged.

(From OE-Core rev: 28d41017ffd03d0bcc4ef0272a95d19412488624)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Markus Volk
bb4a993e25 libcheck: use cmake instead of autotools
- this fixes a build issue seen with current master-next branch:
| check.texi:1610: warning: node prev pointer for `Testing Signal Handling and Exit Values' is `Selective Running of Tests' but prev is `Selecting Tests Based on Arbitrary Tags' in menu
| check.texi:2051: warning: node prev pointer for `TAP Logging' is `Test Logging' but prev is `XML Logging' in menu
| make[2]: Leaving directory '/home/flk/poky/build/tmp/work/corei7-64-poky-linux/libcheck/0.15.2/build/doc'
| make[2]: *** [Makefile:452: ../../check-0.15.2/doc/check.info] Error 1
| make[1]: *** [Makefile:574: all-recursive] Error 1
| make[1]: Leaving directory '/home/flk/poky/build/tmp/work/corei7-64-poky-linux/libcheck/0.15.2/build'
| make: *** [Makefile:420: all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/flk/poky/build/

- checkmk adds a reproducibility issue. @AWK_PATH@ is  unique, because awk is
  in hosttools. We dont want it that way for target. Use a '-D' assignment to
  fix this (Thanks to Ross.Burton@arm.com).

(From OE-Core rev: a61ed8dc5449bfb871379c6afd03c94ff27ca1fe)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Hongxu Jia
c169e5d26a ovmf: fix CVE-2024-38797
According to [1]:

EDK2 contains a vulnerability in the HashPeImageByType(). A user may cause a read out of
bounds when a corrupted data pointer and length are sent via an adjecent network.
A successful exploit of this vulnerability may lead to a loss of Integrity and/or
Availability.

Backport fixes from upstream edk2 [2][3]

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-38797
[2] https://github.com/tianocore/edk2/security/advisories/GHSA-4wjw-6xmf-44xf
[3] https://github.com/tianocore/edk2/pull/10928

(From OE-Core rev: a94550098d821e0055020a7d866648a761efcade)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Osose Itua
6ed03701e3 toaster.bbclass: fix toaster error caused by tabs in BBLAYERS
Users may unknowingly put tabs in BBLAYERS instead of spaces, and this is
interpreted as a literal "\t" at the start of the filepath which causes
_get_layer_dict() function to fail at finding the filepath.

Instead of using split(" "), which restricts it to split on just spaces
replace with split() as this handles spaces, tabs and newlines.

Min steps to reproduce:
- Clone the poky repo:
    git clone git://git.yoctoproject.org/poky
    cd poky
    source oe-init-build-env
- Insert tabs in the BBLAYERS variable in bblayers.conf
  - Note: tab needs to be in the recipe that is being built for the error to be observed
  - Ex: `	/home/<user>/src/poky/meta-skeleton \`
- Start toaster
  source toaster start
  bitbake hello

Error message:
FileNotFoundError: [Errno 2] No such file or directory: '\t/home/<user>/src/poky/meta-skeleton’

Fix by using split() instead of split(" ").

Suggested-by: Anakin Childerhose <anakin.childerhose@savoirfairelinux.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 5ef1adca618cbf2d3e9ad2e5d504728b91d15e85)

Signed-off-by: Osose Itua <osose.itua@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 17:57:29 +01:00
Antonin Godard
d3b7eb9fa5 Add a document to list supported Yocto features
Add a "Yocto Project Supported Architectures And Features" document that
aims at:

- Defining the different levels of support for features
- Listing the maintainers for a feature
- Listing the existing builders on the Autobuilder for the feature

Co-developed-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Yocto TSC <tsc@lists.yoctoproject.org>
(From yocto-docs rev: 197f28439c44e3fb7507f97be57a0c94be4a8eed)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-16 16:00:51 +01:00
Hongxu Jia
2922e9cebf sysfsutils: fix my_strncat function
The bug was introduced by upstream commit [1] where strncat was replaced with
internal my_strncat function, such as:

  char dest[32] = "/sys/devices/platform/axi";
  my_strncat(dest, "/", sizeof(dest) - strlen(dest) - 1);

Will result in dest string being:

  /sys/

and not the expected:

  /sys/devices/platform/axi/

The meaning of the "len" parameter in the my_strncat function is the size limit for
copying characters from "from", not the size limit for "to" after copying. Also,
the "#define safestrcat(to, from) my_strncat(to, from, sizeof(to) - strlen(to) - 1)"
has already imposed a limit on max based on the size of "to". Modify the function
to prevent truncation of content when too many bytes are passed to the my_strcat function.

[1] 0719881cad

(From OE-Core rev: a5d2a5ce94b82957e2a9336c18dce9b28073cd71)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 14:22:59 +01:00
Yash Shinde
72d932cc5b rust: Upgrade 1.85.1->1.86.0
Rust stable version updated to 1.86.0.
https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html

* Add pkgconfig-native and openssl to resolve openssl-sys crate
dependency on pkg-config. As per rust document this is a required dependency.

Fixes:
| error: failed to run custom build command for `openssl-sys v0.9.106`
| Could not find openssl via pkg-config:
|   The pkg-config command could not be found.
|
|   Most likely, you need to install a pkg-config package for your OS.
|   Try `apt install pkg-config`, or `yum install pkg-config`,
|   or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution

https://crates.io/crates/openssl-sys/0.9.108/dependencies
https://github.com/rust-lang/rust/blob/master/INSTALL.md#dependencies

* Add Ninja as a dependency for building Rust to prevent bootstrap
  build regression.

Fixes:
| Building LLD for x86_64-unknown-linux-gnu
|
| Couldn't find required command: ninja (or ninja-build)
|
| You should install ninja as described at
| <https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages>,
| or set `ninja = false` in the `[llvm]` section of `config.toml`.
| Alternatively, set `download-ci-llvm = true` in that `[llvm]` section
| to download LLVM rather than building it.

* Add bash to DEPENDS to resolve missing dependency for subtree-sync.sh
Fixes:
ERROR: rust-1.86.0-r0 do_package_qa: QA Issue: /usr/lib/rustlib/src/rust/library/portable-simd/subtree-sync.sh
contained in package rust requires /bin/bash, but no providers found in RDEPENDS:rust? [file-rdeps]

* Add do_install:append() task to remove cargo bin from rust native builds.
This resolves the following conflict:

Fixes:
ERROR: libstd-rs-1.86.0-r0 do_prepare_recipe_sysroot: The file /usr/bin/cargo is
installed by both rust-native and cargo-native, aborting

* Update Unicode-3.0 license checksums.
License-Update: Copyright and license files to distributions are updated.

f9c16997dc
  It adds copyright and license files (including HTML versions) to distributions,
  aligns with license compliance tools like reuse, and ensures all required
  license texts are properly included and formatted.

* Disable building of extended Rust tools to reduce build time and filesystem usage.
  Update config.toml to disable building of extended Rust tools that are not required.
  This helps minimize unnecessary build time and filesystem usage.

* The "remote-test-server" bin is now generated in stage2-tools-bin dir
  rather than stage1. Update the test suite accordingly.

* Fix do_package QA issue by packing missing zsh files and directories:

Fixes:
do_package: QA Issue: rust: Files/directories were installed but not shipped in any package:
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_cargo
Please set FILES such that these items are packaged. Alternatively if they are unneeded,
avoid installing them or delete them within do_install

* From v1.86.0, a "self-contained" LLD is built as part of rust
 bootstrap build. This results in additional build time and
 installations. Disable rust-lld in config.toml to prevent it.

 References: https://github.com/rust-lang/rust/pull/135001
             8744b44e6b

* Drop Zdual-proc-macros-additional-check.patch patch
 since it's merged with v1.86.0
 139d6ba054

* LTO config is applied to rustdoc from v1.86.0.
 Rebase 0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
 which disables it to avoid suffixes in binaries causing non-reproducibility.
 https://github.com/rust-lang/rust/commit/1fe351b

* Restrict tests using "//@only <target_arch>" to avoid failures on riscv64,
  which is now part of default AB testing. Since riscv64 is Tier 2
  with no automated testing, some tests may fail. This approach ensures tests continue
  running on supported architectures while skipping them on riscv64.
  https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools

(From OE-Core rev: c064ef18343a956aea397d36d2e7665d6c8afd7d)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 13:12:06 +01:00
Ross Burton
aad1f72e15 python3-ndg-httpsclient: remove unused recipe
The last dependency in core on this recipe was removed in May 2024[1],
and there don't appear to be any other users that I can find.  The last
upstream release was in 2018 so this is now obsolete.

[1] oe-core dfa482f199 ("python3-requests: cleanup RDEPENDS")

(From OE-Core rev: 48b6851420ac54b181647bf23fe1ad86c75fa650)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Peter Marko
7088d89aff go: upgrade 1.24.3 -> 1.24.4
Upgrade to latest 1.24.x release [1]:

$ git --no-pager log --oneline go1.24.3..go1.24.4
6796ebb2cb [release-branch.go1.24] go1.24.4
85897ca220 [release-branch.go1.24] net/http: strip sensitive proxy headers from redirect requests
9f9cf28f8f [release-branch.go1.24] os: don't follow symlinks on Windows when O_CREATE|O_EXCL
a31c931adf [release-branch.go1.24] cmd/link: allow linkname reference to a TEXT symbol regardless of size
03811ab1b3 [release-branch.go1.24] crypto/x509: decouple key usage and policy validation
04a9473847 [release-branch.go1.24] lib/fips140: set inprocess.txt to v1.0.0
db8f1dc948 [release-branch.go1.24] hash/maphash: hash channels in purego version of maphash.Comparable
664cf832ec [release-branch.go1.24] runtime/debug: document DefaultGODEBUG as a BuildSetting
431f75a0b9 [release-branch.go1.24] os: fix Root.Mkdir permission bits on OpenBSD

Fixes CVE-2025-4673, CVE-2025-0913 and CVE-2025-22874 [2].

[1] https://github.com/golang/go/compare/go1.24.3...go1.24.4
[2] https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A

(From OE-Core rev: 25aed3ec02c22857380957783e2926bf3368398c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Gyorgy Sarvari
7a6b41794e seatd: fix packaging error with systemd DISTRO_FEATURES
The systemd unit file for this recipe is only installed in case
the target system's init system is systemd. It is achieved by
inspecting the VIRTUAL-RUNTIME_init_manager variable.

However the systemd class was inherited unconditionally. This caused
a failure in do_package task, in case systemd is present in the
DISTRO_FEATURES but the system's init manager is sysvinit: in this case
the systemd unit file is not installed, however systemd.bbclass is
still trying to register is as a startup service. At this point
it failed:

ERROR: seatd-0.9.1-r0 do_package: Didn't find service unit 'seatd.service', specified in SYSTEMD_SERVICE:seatd.

To avoid this, install the systemd unit file unconditionally, regardless
of the used init system.

(From OE-Core rev: c7f157ad1207567ef3614ee4f6e755bccf60a3f4)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Daniel Turull
d0d9f1e88d package: export debugsources in PKGDESTWORK as json
The source information used during packaging can be use from other tasks to
have more detailed information on the files used during the compilation and
improve SPDX accuracy.

Source files used during compilation are store as compressed zstd json in
pkgdata/debugsources/$PN-debugsources.json.zstd
Format:
{ binary1: [src1, src2, ...], binary2: [src1, src2, ...] }

I checked the sstate size, and it slightly increases using core-image-full-cmdline:
without patch: 2456792 KB sstate-cache/
with patch:    2460028 KB sstate-cache/
(4236 KB or 0.17%)

CC: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: c507dcb8a8780a42bfe68b1ebaff0909b4236e6b)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Harish Sadineni
436bde4c5f binutils: Fix for CVE-2025-3198
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d]
CVE: CVE-2025-3198

(From OE-Core rev: 602d1cab0f8e11925244a27310086b195de70464)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Deepesh Varatharajan
3946dc51ac binutils: Fix CVE-2025-5244
PR32858 ld segfault on fuzzed object
We missed one place where it is necessary to check for empty groups.

Backport a patch from upstream to fix CVE-2025-5244
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=d1458933830456e54223d9fc61f0d9b3a19256f5]

(From OE-Core rev: 082c56061e910176dd464702a19858dc0d57431a)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Sandeep Gundlupet Raju
70800c9296 tune-cortexr52: Remove aarch64 for ARM Cortex-R52
Remove aarch64 for ARM Cortex-R52 processor as it supports only 32-bit
ISA but not 64-bit ISA. Also update ARMPKGARCH for cortexr52hf.

(From OE-Core rev: efe2e5289333bb6e7fca9cdeff784ab7e4872227)

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Sandeep Gundlupet Raju <grsandeep85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Yi Zhao
504405889f kea: upgrade 2.6.1 -> 2.6.3
ReleaseNotes:
https://downloads.isc.org/isc/kea/2.6.2/Kea-2.6.2-ReleaseNotes.txt
https://downloads.isc.org/isc/kea/2.6.3/Kea-2.6.3-ReleaseNotes.txt

Security fixes:
CVE-2025-32801
CVE-2025-32802
CVE-2025-32803

License-Update: Update copyright years

* Drop backport patches.

(From OE-Core rev: d09264ce0dbce31dcc50c44f350fad28c33503af)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Dixit Parmar
7f9f608d39 kernel-module-split: fix conf file generation when KERNEL_SPLIT_MODULES=0
KERNEL_MODULE_AUTOLOAD defines the list of the kernel modules to be autoloaded
on boot. kernel-module-split.bbclass generates the required modules.load.d and
conf files for each kernel module. This conf files inturn read by system service
to perform module loading and configuration. When a kernel module is added to
KERNEL_MODULE_AUTOLOAD the conf files must be generated in all cases.
When KERNEL_SPLIT_MODULES=0 modprobe and autoload conf files are not
getting generated for the kernel modules.
To fix that enhanced the class implementation by separating out conf
file handling mechanism in two functions, generate_conf_files() and
frob_metadata(). generate_conf_files() handles no-split case where as
frob_metadata() keeps handling the existing case for spliting the modules.
Splitted common handling/generation of conf files stuff in to handle_conf_files()
function which gets invoked by both frob_metadata() and generate_conf_files()
on top of the scenario specific handling done in respective functions.
This implementation covers generation of the conf files for in-tree kernel
modules as well as standalone kernel module built as seperate package/recipe.

[YOCTO #15145]

(From OE-Core rev: cf998576ccfd20a61a9afa6df27fb73d93c8ed9a)

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Gyorgy Sarvari
36b5c3e78c libtheora: upgrade 1.1.1 -> 1.2.0
Drop no-docs.patch, and use "--disable-doc" configuration instead.
Drop autoreconf.patch, because it is included in the release.

Add 0001-add-missing-files.patch to mitigate a release issue, which
caused some files to be missing from the tarball.

Major changes:
  - New 'ptalarbvorm' encoder
  - New th_encode_ctl option for copying configuration from an existing
    setup header, useful for splicing streams.
  - Added support for RISC OS.
  - Improved ARM support.
  - Various speed, bug fixes and code quality improvements.

See CHANGES file for full changelog.

(From OE-Core rev: c22fecbc89a3d1b22f12440fe4e3dbc3840b26a8)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Guðni Már Gilbert
70a9a1aeec piglit: drop python3-six dependency
six was dropped as a dependency five years ago:
288e7b3b74

(From OE-Core rev: 915acbfb2e10a3e50d1ddc984b8e9c363dac6f78)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Etienne Cordonnier
b44a11c71d Revert "coreutils: split out coreutils-getlimits"
This reverts commit 149584beef.

The coreutils-getlimits package is no longer needed since findutils-ptest
now uses its own getlimits implementation. This improves modularity and
makes it easier to use alternative coreutils implementations via PREFERRED_PROVIDER
(e.g. uutils-coreutils recipe in meta-openembedded).

(From OE-Core rev: 2d761482c353df8f0d7f4e56b004113bf351e1df)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Etienne Cordonnier
88dc0474de findutils: use getlimits from findutils
Having findutils depending on coreutils-getlimits makes it harder to replace GNU coreutils with uutils-coreutils
using PREFERRED_PROVIDER.
Also, the findutils repository contains a version of getlimits used for the tests, so there is no need to depend
on coreutils's version of getlimits.

(From OE-Core rev: 4e4149c13adda3dd3b07712b1025ef077dd460b4)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Alexander Kanavin
2db3a58bc7 systemtap: correctly set include location for the python module
This issue was as well exposed by setting S to be in UNPACKDIR.

(From OE-Core rev: a9b8cd548bc4f12b7aa28209d7c04181c95b7e7a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Peter Kjellerstedt
cab55df1ce util-linux: Improve the package licenses
The default license for util-linux is GPL-2.0-or-later.

Most of the applications and the libraries are also linked with
libcommon.la, which uses these licenses:
LGPL-2.1-or-later & BSD-2-Clause & BSD-3-Clause & MIT

Set the above licenses for all dynamic packages, unless explicitly
specified.

In particular, this avoids setting BSD-4-Clause-UC and EUPL-1.2 on
packages where they do not belong.

License-Update: See above
(From OE-Core rev: 4c3d56ab2caeedb79e493544e864fd8c2f5880cf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Peter Kjellerstedt
0e4ef3bed7 util-linux: Move the license information to the recipe
util-linux does not share the license information with
util-linux-libuuid so it makes no sense to have it in the util-linux.inc
file.

This also drops libuuid/COPYING from LIC_FILES_CHKSUM as libuuid is not
built by this recipe.

License-Update: See above
(From OE-Core rev: 8752842551ea4f8ae8d76befdf453a872908f173)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Peter Kjellerstedt
08bf2e18f7 util-linux-libuuid: Set LIC_FILES_CHKSUM
The license information is not the same as for util-linux, so set it in
the recipe rather than expecting util-linux.inc to set it.

License-Update: See above
(From OE-Core rev: 1942b97cdf04d260ed7e873ac24f935b9003e752)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Gyorgy Sarvari
894aefef66 piglit: upgrade to latest revision
Changelog:
  tests: Add test for GL_EXT_shader_clock
  tests: Add test for GL_EXT_shader_realtime_clock
  vulkan: Add cmat tests using constant as accumulator
  tests: test UBO and SSBO backed by the same buffer
  arb_direct_state_access: fix internaformat query behavior
  khr_texture_compression_astc: normalize error-color
  tests/util: provide simple array for cleanup handlers
  ext_external_objects: use piglit_set_destroy_func instead of atexit
  ext_external_objects: fix timeline semaphore validation error
  ext_external_objects: fix validation error with barriers
  ext_external_objects: fix validation error on cmdbuf usage
  ext_external_objects: fix validation error releasing resources
  ext_external_objects: fix validation error for cmdbuffer usage
  ext_external_objects: fix validation error with semaphore value
  arb_shading_language_420pack: test uniform block matching
  gl: test push pop attribute with color material
  GL_EXT_texture_integer: basic validation tests
  cmake: Fix mis-matching arguments warning
  fix invalid typecast

(From OE-Core rev: c09a0cec08e1212ba82d0702686e0e2991cfd03a)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Gyorgy Sarvari
bef2130eae puzzles: upgrade to latest revision
Changelog:
  Describe front-end pixel scaling in devel.but
  js: handle most of the device pixel ratio in the front end
  js: replace blitters array with a Map
  js: index blitters Map by C address of blitter structure
  js: trust CanvasRenderingContext2D.drawImage() to DTRT
  js: unwrap most drawing functions
  GTK: avoid explicitly using Cairo image surfaces
  Document getenv_bool()
  Update reference Git commit in devel.but
  Remove BLITTER_FROMSAVED from drawing API
  GTK: correct offset when copying backing to window
  GTK/Cairo: simplify do_blitter_load()
  GTK: add support for using a GdkFrameClock where available
  Mosaic: make solver notice when it gets stuck.
  Mines: put a warning on the web page about bug reports.
  Palisade: preference to clear complete regions.

(From OE-Core rev: 529cb047b392c4fd2645d9602c28ce16cecdb12e)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Chen Qi
e8aa0ee654 util-linux: fix ptest failure for musl
The kill/decode test case fails for musl. The root cause is the test
case only considers glibc and uses 34 as SIGRTMIN while musl uses 35.
Add patches to fix this issue.

(From OE-Core rev: 0a1dd5f04a843dfa0b1fc3ce0069e26bd0fbc48e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Guðni Már Gilbert
3580f89b06 bluez5: upgrade 5.82 -> 5.83
Changelog:
Fix issue with handling BAP and removal of PAC.
Fix issue with handling SID for broadcast receiver.
Fix issue with handling HSP/HFP reconnection policy.
Fix issue with handling cable pairing and Sixaxis controllers.
Fix issue with handling virtual cable unplug for HID devices.
Fix issue with handling service records for HID devices.
Add support for AVDTP and TX timestamps.

Full changelog:
https://github.com/bluez/bluez/compare/5.82...5.83

(From OE-Core rev: 83d217503d565ba60dcec9382afb828deefa962b)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Ross Burton
95ed7d9909 squashfs-tools: clean up PACKAGECONFIG
LZMA isn't supported by the mainline kernel driver, so there's no real
point in enabling it.

Disable LZO by default, as LZO is very obsolete (last released in 2017)
and there are better algorithms available.

Move xattr to the end so it's separate from the compression algorithms.

(From OE-Core rev: 6f65d9372ec639491920fd48df76dfea8afdbfd9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Ross Burton
b1eaa39797 squashfs-tools: update to 4.7
The REPRODUCIBLE_DEFAULT option was removed in 4.7[1].

Backport a patch to fix missing pthread typedefs, and a patch to fix
missing pid_t typedefs.

Also clean up the tasks to be neater and more concise.

[1] squash-tools ae9914d15293af7c596148aedd997b3058e35d9e

(From OE-Core rev: d588d0fbd8360cc999badaf4c4888be983c14b14)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Ross Burton
fe0b0ae081 squashfs-tools: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, drop the explicit PV, and set the tag
name in the SRC_URI to verify the SHA.

(From OE-Core rev: 8529dbae1b345d1517023dae09637a4baad9ffe8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 11:03:43 +01:00
Antonin Godard
4dc6974afe bitbake: doc: update releases.rst
Add Walnascar as a supported release manual, and move Styhead to the
outdated release manuals.

(Bitbake rev: 629aff734794568510c30939a4584cee2e0185ec)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-12 09:56:42 +01:00
Soumya Sambu
82ebd782f7 elfutils: Upgrade 0.192 -> 0.193
Refreshed patches:
0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
ptest.patch

Changelog:
Version 0.193 "Bugs erased, stacks traced"

debuginfod: Add CORS (webapp access) support to webapi and --cors option.

            Add --listen-address option for binding the HTTP listen socket
            to a specific IPv4 or IPv6 address.

            debuginfod client now caches x-debuginfod-* HTTP headers
            alongside downloaded files.

libdw: Add dwarf_language and dwarf_language_lower_bound functions.

       Improved support for DWARF6 language metadata as well as DWARF
       language constants for Nim, Dylan, Algol68, V and Mojo.

       dwarf_srclang is now forward-compatible with DWARF6 language
       constants.

libdwfl_stacktrace: Experimental new library interface for unwinding
                    stack samples into call chains, and tracking and
                    caching Elf data for multiple processes, building
                    on libdwfl.  Initially supports perf_events stack
                    sample data.

libelf: elf_scnshndx has been rewritten to be more robust, particularily
        for ELF files with more than 64K sections.

readelf: Improved handling of corrupt ELF data.

         --section-headers output now includes a "Key to Flags" explaining
         section flag meanings.

(From OE-Core rev: ca990ae5a14fa0899dee4fccacf4cac8f212e4e8)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-11 09:34:40 +01:00
Alexander Kanavin
d91c6dca44 templates/default: do not separately enable sdl in qemu-system-native
The recipe now does it directly.

(From meta-yocto rev: b12adb95ac7eceb7e5c5a111fb7a9450626d63ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
d304bce436 systemtap: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

(From OE-Core rev: bf866a99d920331bc5c08c3dccc86f71b2d1b3bb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
667be7b685 tcf-agent: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

(From OE-Core rev: b9eada4db556f06c5a76991db2220272cef66fa3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
bc9d4c7d6b unfs3: upgrade to 0.11
Drop all of the patches that have been merged upstream.

The build no longer needs the flex runtime library so remove flex from
DEPENDS.

License-Update: contributor list updated.

(From OE-Core rev: 3370ef98b6fe74b56b9e6b42b915a536195094cd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
872edf1865 unfs3: clean up DEPENDS
flex-nativesdk is both the wrong name (should be nativesdk-flex), and in
nativesdk builds it will be a dependency anyway thanks to the DEPENDS
remapping.

Merge multiple assignments into a single line.

(From OE-Core rev: 9a59d2c0be199c4f16143db6c70942fdedd0212c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
235fe2d9e7 unfs3: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

(From OE-Core rev: f288f7dc47a488eb3d388a2513f0908e09c0feca)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
87a7e8c244 mobile-broadband-provider-info: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

(From OE-Core rev: 9ffe55ae643fb606a8bec7e6ec7d15ca95cf9e2d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
d89ee3707e blktrace: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

(From OE-Core rev: f49df71b25d5370b191dccfee0c80559c6d42885)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
81998e407f sassc: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

(From OE-Core rev: 51d406b519360aa03c919d01d0d3c602cf17bd5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
7fb980ed73 libsass: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

(From OE-Core rev: e9494c0a30c3bf113542c1bca9283cb90570e5c5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
d79324557c libmodulemd: add manpages
Inherit manpages and optionally enable the manpages. They're in the
repository so don't need more tools to build.

(From OE-Core rev: 44ef85ac2b41e78888411cf4577b1128eced6909)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
789d8d0df1 libmodulemd: remove libmagic option
Meson shows this warning in do_configure:

  WARNING: libmagic option is obsolete. libmodulemd can detect
  compression formats without a magic library now. Please stop using
  this option. It will be removed in the future and will cause a meson
  failure.

Remove the option as it's now redundant.

(From OE-Core rev: c053dd1f2143e10d970db849d13df447e736169f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Ross Burton
f1181e56b0 libmodulemd: put version in recipe filename
A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

(From OE-Core rev: d3d2a8158b81920c51d366a5d38614bf7681e5b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Richard Purdie
0246851d8a toolchain/clang: Set compiler providers correctly
The clang toolchain include file contained some incorrect settings from
the initial draft of the file. Fix those to point at the correct compiler.

(From OE-Core rev: 265d1993669cba1ddf60a048798fe943a903c942)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Khem Raj
b34d2ad567 meta: Add TCOVERRIDE for toolchain selection at recipe scope
TCOVERRIDE is defined to toolchain-<TOOLCHAIN> and its added to OVERRIDES
that a recipe can see and it can use "toolchain-gcc" or "toolchain-clang"
to set specific metadata based upon global distro toolchain policy.

(From OE-Core rev: 6010f47124d9067609bbe5d9ff16193c8bf79acf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:42 +01:00
Richard Purdie
a7b3f80b1b ghostscript: Use TARGET_CFLAGS to pass compiler options
Passing compiler options via CC is error prone when we allow toolchain
selection. Use TARGET_CFLAGS instead.

(From OE-Core rev: 2091ebf845004040a6227d18cfa6bb508d1b9c9f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Richard Purdie
99e842451f compiler-rt/libcxx: Use clang as compiler
(From OE-Core rev: e75b2dee39fc0a35f764caa6b72af2a0b9beb165)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Richard Purdie
d497a3e6ee cross: Drop unneeded exports
These exports are made in bitbake.conf, we don't need to duplicate these
here. Clean up as was done in native/nativesdk.

(From OE-Core rev: 2ddf340be2c4f4b4424d137ba1e87269c2c36357)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Praveen Kumar
f64ec011d9 python3: upgrade 3.13.3 -> 3.13.4
Security content in this release:
- gh-135034: Fixes multiple issues that allowed tarfile extraction filters
  (filter="data" and filter="tar") to be bypassed using crafted symlinks and
  hard links. Addresses CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, and
  CVE-2025-4517.
- gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non-
  “strict” error handler.
- gh-128840: Short-circuit the processing of long IPv6 addresses early in
  ipaddress to prevent excessive memory consumption and a minor denial-of-service.

Includes additional standard library improvements and bug fixes.

References:
https://docs.python.org/3/whatsnew/changelog.html#python-3-13-4-final
https://www.python.org/downloads/release/python-3134/

(From OE-Core rev: d2bcfa826aa3a7bd5d6ab250fb8ba083e2688c8b)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Gyorgy Sarvari
a375cb15b9 bc: upgrade 1.08.1 -> 1.08.2
Changes:
  - Remove last vestages of K&R C; this allows gcc-15+ to compile
    the code without special options.
  - Some typo and formatting fixes in the documentation.

The above change also allowed dropping the relevant patch, that fixed
gcc15 compatibility: 0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch

License-Update: added copyright years to the file header.

(From OE-Core rev: 83886335bd08f5fa147694e957b2467b19aea6bd)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Markus Volk
5e6f966b91 mesa: update 25.1.1 -> 25.1.3
Mesa 25.1.3 Release Notes / 2025-06-07
Mesa 25.1.3 is a bug fix release which fixes bugs found since the 25.1.2 release.
Mesa 25.1.3 implements the OpenGL 4.6 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don’t support all the features required in OpenGL 4.6. OpenGL 4.6 is only available if requested at context creation. Compatibility contexts may report a lower version depending on each driver.
Mesa 25.1.3 implements the Vulkan 1.4 API, but the version reported by the apiVersion property of the VkPhysicalDeviceProperties struct depends on the particular driver being used.

New features
    None

Bug fixes
    25.1.2 - instant crash on upgrade, very first attempt at a new surface

Mesa 25.1.2 Release Notes / 2025-06-04
Mesa 25.1.2 is a bug fix release which fixes bugs found since the 25.1.1 release.
Mesa 25.1.2 implements the OpenGL 4.6 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don’t support all the features required in OpenGL 4.6. OpenGL 4.6 is only available if requested at context creation. Compatibility contexts may report a lower version depending on each driver.
Mesa 25.1.2 implements the Vulkan 1.4 API, but the version reported by the apiVersion property of the VkPhysicalDeviceProperties struct depends on the particular driver being used.

New features
    None

Bug fixes
    Confidential issue #13281
    anv, regression: Missing terrain in It Takes Two on BMG
    “breaking-limit” benchmark will Freeze before starting.
    rusticl: CL_MEM_HOST_READ_ONLY cl_image2d reads zeroes from host on AMD Vega8
    Bug (bad code optimization?) in the GLSL (compute) shader compiler
    nvk: Broken lighting in Trine 5
    RX9070 hard crash with Mafia Definitive Edition
    RADV: Potential bug with vulkan fragment shader interpolation (on outputs from mesh shaders?)
    In the game “Foundation” a buildings areas of effect is missing
    ANV: Dota 2 May 22 2025 update crashing in vkCmdBindDescriptorSets with no validation error
    Vulkan Video engages during playback of format which is not supported by my Fiji GPU
    Weston hangs on virtio (non-accelerated version) on QEMU with Mesa main
    KVM/qemu: GDM fails to start / gnome-shell crashes after update to mesa-dri-drivers-25.0.3

(From OE-Core rev: da2c318f530a29b42c36fe8d5015fcdd3e1c1420)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Robert Yang
bcf6af00f4 rpm: 4.20.0 -> 4.20.1
* Rebased:
  0001-When-cross-installing-execute-package-scriptlets-wit.patch
  0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch

* Removed the one which already merged:
  0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch

* Added a patch to fix rpm-native build error:
  gcc: error: unrecognized command-line option -fhardened
  0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch

* License-Update: Minor formatting changes as the commit messages said in
  41143b27b6f7320f280aea6014e8f532eb0239d6

(From OE-Core rev: 5d25e1ba4d8850e2c281fc7f24493239bf2f9866)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Peter Marko
140fde4c34 curl: upgrade 8.12.1 -> 8.14.1
Handle CVE-2025-4947 and CVE-2025-5025.

CVE-2025-5399 fixed in 8.14.1 was introduced only in 8.13.0, so Yocto
never had version vulnerable to it.

Rebase patches.

Add openssl-native dependency fo ptest to fix following error:

    Missing or broken 'openssl' tool. openssl 1.0.2+ is required.
    Without it, this script cannot generate the necessary certificates
    the curl test suite needs for all its TLS related tests. at
    ../../../curl-8.14.0/tests/certs/genserv.pl line 33.

Install curlinfo for tests required since 8.14.0
7a1211d474

(From OE-Core rev: d990ee6c49e3fcf969e54688397d47f0d0892ba1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Guðni Már Gilbert
9ec3fc636a python3: drop old nis module dependencies
libnsl2 and libtirpc were build dependencies for the nis module.

The nis module was deprecated in Python 3.11 and removed in Python 3.13

(From OE-Core rev: 742eca9cb56ab4ad10534181d28de1fdf3880b9f)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Richard Purdie
4e9458ef29 xwayland: Add missing libtirpc dependency
This was being pulled in through python by accident. It no longer needs
it but exposes this missing dependency.

(From OE-Core rev: 6334fac0a0b0783298957e2ccbe3a27490f7da09)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Richard Purdie
d78a0ab8df iputils: Drop obsolete gnutls dependency
To quote the maintainer, "md5 implementation was vendored in s20200821" so this
dependency hasn't been needed for a while.

(From OE-Core rev: bb33b4edf0f4aed3d61203b0bf428661f925b981)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Petr Vorel
a1dea36e9c iputils: upgrade 20240905 -> 20250605
Bugfix release:
https://github.com/iputils/iputils/releases/tag/20250605

This also includes security release update
https://github.com/iputils/iputils/releases/tag/20250602
Security release, fixes CVE-2025-47268 and CVE-2025-48964
(therefore remove backported fix CVE-2025-47268.patch

(From OE-Core rev: 846b7dcb5a41ec017581913bb438d43d1d59109f)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Ross Burton
ef6748323f oeqa/selftest: add test case for oeqa.utils.subprocesstweak
This class has a monkey-patched CalledProcessError instance that extends
the __str__ method. Add a test case to ensure that it behaves as
expected.

(From OE-Core rev: 3c0e7b537eac62fced196e82ede781d88e593a69)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Alexander Kanavin
dfaff44d8a m4: simplify path substitutions in ptest
There's no need to setup a fake 'source directory' and
redirect the tests to it; rather it's possible to point
them directly to ptest directory (this needs to be done
twice, in Makefile substitutions, and as a C define during
ptest compilation).

This also eliminates the assumption that S and B are in the
same directory (no longer true when S is in UNPACKDIR).

(From OE-Core rev: 4df67f54cc4f98b63e465fba3dc41ac9813a033e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Alexander Kanavin
e65d0d156d strace: better sed expression for ptest Makefile
The previous one wasn't particularly readable, and assumed
a particular relationship between S and B. The new one
also works when S is in UNPACKDIR, or anywhere else.

(From OE-Core rev: 584b039fe688ba85fb19b48f2c7209452e248c00)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Alexander Kanavin
b2a037780e piglit: replace setting PIGLIT_BUILD_DIR with a correct reproducibility fix
PIGLIT_BUILD_DIR was set to source tree location relative to B as a
reproducibility workaround some years ago. Aafter some investigation
I found where the actual issue is (addressed by the patch).

Also, setting PIGLIT_BUILD_DIR relative to ${B} in a hardcoded way
is problematic as S and B are not necessarily related that way (e.g. when
sources are in UNPACKDIR or somewhere else entirely).

(From OE-Core rev: 7625176fedacede86fda84a47dd76f62a14cb8e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Alexander Kanavin
637de32065 kea: correctly eliminate build host paths from installed file
Only the ${B} part should be trimmed, not what follows
(which is subject to change, depending on where the sources are).

(From OE-Core rev: 1e3fc9b7592956af9bd93e0a077c5b9f3fd9ca2e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Ross Burton
e493ed85a3 cpio: improve ptests
We don't need to run 'make check' across the source tree.

Forcibly regenerate tests/testsuite so it supports the --am-fmt option
that we patch into autoconf.

Add coreutils to ptest RDEPENDS as the symlink-bad-length test needs
base64.

Clean up run-ptest: there's no need to run atconfig manually, and use
--am-fmt instead of manually sedding the output.

(From OE-Core rev: 6829e353dd5a68c8d6b3ed07ae14bfe817e2156a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Ross Burton
f8d0b0127a tar: clean up run-ptest
I'm not sure why the script was running ./atconfig ./atlocal ./testsuite,
as atconfig just sets some variables and ignores the arguments.

(From OE-Core rev: 0e2c41724197de3de89d762cb1b648c09839af53)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Ross Burton
8644f202a1 insane: add test for recipe naming/class mismatches
It's not unheard of for new users to create a recipe called foo-native
that has BBCLASSEXTEND="native" instead of "inherit native". This will
result in a foo-native recipe that is actually a target recipe, and a
foo-native-native recipe for native builds.

Add a test in recipe_qa to verify that recipes called -native inherit
native, and recipes called nativesdk- inherit nativesdk.

As this behaviour is expected, add the new test to the set of tests
required to pass for Yocto Project Compatible status.

(From OE-Core rev: ec2c10a3e85d0772135289fe416d13fa3afca571)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Ross Burton
dfb58eeeab u-boot: move arm64 disabling fragments to versioned recipe
More than just the u-boot_2025.04.bb includes u-boot-common.inc, such as
u-boot_2023.07.02.bb in meta-arm.

To avoid other recipes having to carry patches that may not affect them,
move the files to be specific to the recipe itself.

(From OE-Core rev: 3bb0f87a1d13f86836dc44adee5621c3146863d3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Ross Burton
444371bee6 xinput-calibrator: upgrade to 0.8.0
Development has moved to freedesktop.org, so switch SRC_URI.

Drop an upstreamed patch.

(From OE-Core rev: 13f5ba6b9d5cee5d704e669fb80e953bd97b25f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Alexander Kanavin
3306e1eaf1 qemu-system-native: enable sdl by default
This is already done in target and nativesdk qemu, and in
default templates for both oe-core and poky. Let's just
make it universal.

This also simplifies configurations for bitbake-setup,
as they no longer have to enable sdl separately.

(From OE-Core rev: f52c9d5a59ac19fc6b68c175649697257a9ebdfd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Alexander Kanavin
3a48760dd8 lib/oeqa/utils/sshcontrol: correct condition for ending the select() loop
This was set backwards; per https://docs.python.org/3/library/subprocess.html#subprocess.Popen.returncode
a return code of None indicates the process is still running,
and so the code entered a busyloop that ended on timeout
5 minutes later, lengthening selftests significantly.

(From OE-Core rev: a6690deffd7ddbce0e784701ea3fdbb84313b009)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Bruce Ashfield
4161032918 linux-yocto/6.12: libbpf: silence maybe-uninitialized warning from clang
Integrating the following commit(s) to linux-yocto/6.12:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: libbpf: silence maybe-uninitialized warning from clang
    Date: Wed, 4 Jun 2025 21:22:23 +0100

    perf is build with -Werror, but clang 20.1.6 (incorrectly) finds that
    mod_len may be used uninitialized:

    libbpf.c: In function 'find_kernel_btf_id.constprop':
    libbpf.c:10009:33: error: 'mod_len' may be used uninitialized [-Werror=maybe-uninitialized]
    10009 |                 if (mod_name && strncmp(mod->name, mod_name, mod_len) != 0)
          |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    libbpf.c:9979:21: note: 'mod_len' was declared here
     9979 |         int ret, i, mod_len;
          |                     ^~~~~~~

    Inspecting the code it can be seen that mod_len is set if mod_name is
    set, and the strncmp() is only called if mod_name is set, so this is a
    false positive (interestingly, clang doesn't spot the same issue above).

    Silence the false positive by explicitly initializing mod_len to 0.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 43f6b7795170f0e571265f22bcef51554684206f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Dmitry Baryshkov
041b9f2755 mesa-demos: drop osmesa PACKAGECONFIG
Support for OSMesa has been removed in the latest Mesa versions, drop
corresponding PACKAGECONFIG option from mesa-demos. Note, there is no
need to pass -Dosmesa=disabled, meson will detect that the library is
not available.

Suggested-by: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: 27e7e3bff40a884044a19e52d0eaa35a80880464)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Dmitry Baryshkov
5a630619c2 mesa-gl: drop obsolete comment
Drop comment mentioning OSMesa (which was removed from mesa).

Fixes: 7ee8e99a5204 ("mesa-gl: Remove osmesa dependency")
(From OE-Core rev: f1b96c3009a2c21cf6f63cd07b7eee60da5cad34)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Gyorgy Sarvari
8d1fa3d126 diffoscope: upgrade 293 -> 297
Also, remove the musl restriction - it builds successfully with both glibc and musl.

Changelog:
294:
- Correct longstanding issue where many ">"-based version tests used in
  conditional fixtures were broken due to the lack of a __gt__ method.
  Thanks, Colin Watson! (Closes: #1102658)
- Address a long-hidden issue in the test_versions testsuite where we weren't
  actually testing ">" as it was masked by the tests for equality in the
  testsuite.
- Update copyright years.

295:
- Use --walk over the potentially dangerous --scan argument of zipdetails(1).
  (Closes: reproducible-builds/diffoscope#406)

296:
- Don't rely on zipdetails' --walk functionality to be available; only add
  that argument after testing for a new enough versions.
  (Closes: reproducible-builds/diffoscope#408)
- Disable and then re-enable failing on stable-bpo.
- Update copyright years.
- Add NuGet package support.

297:
- Add a LZMA comparator and tests.

(From OE-Core rev: 7ba8b83d4d24ce81bba971f8ca274f95d11996ba)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Deepesh Varatharajan
e71d2c0211 binutils: Fix CVE-2025-5245
PR32829, SEGV on objdump function debug_type_samep
u.kenum is always non-NULL, see debug_make_enum_type.

Backport a patch from upstream to fix CVE-2025-5245
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=6c3458a8b7ee7d39f070c7b2350851cb2110c65a]

(From OE-Core rev: f5fd6f691d62052ffddb13461cf221321ff127c3)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Khem Raj
18ec179172 gcc: Turn FORTRAN into a weak assignment
This ensures that it can be turned on from a distro layer
config metadata e.g. local.conf without forcing overrides

currently we have do something like

FORTRAN:forcevariable = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath "
TOOLCHAIN_TARGET_TASK:append = " gfortran"

to enabled fortran support from distro conf file.

After this change we can do it with

FORTRAN = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath "
TOOLCHAIN_TARGET_TASK:append = " gfortran"

(From OE-Core rev: 50abae55eda0115d073bbc6552f2fcb4ecbb7949)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Yannic Moog
3521e0b863 perf: add arm64 source files for unistd_64.h
kernel commit bfb713ea53c7 ("perf tools: Fix arm64 build by generating unistd_64.h")
introduces a new dependency on source files for arm64, specifically
include/uapi/asm-generic.

Build fails with:
[..]/perf/1.0/perf-1.0/scripts/Makefile.asm-headers:33: [...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild: No such file or directory
make[4]: *** No rule to make target '[...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild'.  Stop.

Add the directory to PERF_SRC.
Fix whitespace error while at it.

(From OE-Core rev: 7e24a0e9dd75070bff0c11c4db47a30b71afaa94)

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
hongxu
57f4fad751 rpm: correct tool path in macros for no usrmerge
While no usrmerge in sysvinit, some tools defined in rpm macro have wrong path

$ echo 'INIT_MANAGER="sysvinit"'  >> conf/local.conf
$ echo 'IMAGE_INSTALL:append = " rpm busybox"' >> conf/local.conf
$ bitbake core-image-minimal
$ runqemu tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.qemuboot.conf

root@qemux86-64:~# which sed tar rm mkdir cp cat chown chmod gzip grep mv
/bin/sed
/bin/tar
/bin/rm
/bin/mkdir
/bin/cp
/bin/cat
/bin/chown
/bin/chmod
/bin/gzip
/bin/grep
/bin/mv

root@qemux86-64:~# rpm --eval "%{__sed} %{__tar} %{__rm} %{__mkdir} %{__cp} %{__cat} %{__chown} %{__chmod} %{__gzip} %{__grep} %{__mv}"
/usr/bin/sed /usr/bin/tar /usr/bin/rm /usr/bin/mkdir /usr/bin/cp /usr/bin/cat /usr/bin/chown /usr/bin/chmod /usr/bin/gzip /usr/bin/grep /usr/bin/mv

Here to explain how __rm was set in rpm during build. The build system
of rpm is cmake. Take rpm rpm-4.19.x for example:

The '__RM rm' is defected by findutil [1], and function findutil
calls find_program to search for tool, if not found on host, then
hardcode with "/usr/bin" prefix [2]

Yocto explicitly set OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY" [3][4]
to search tools from CMAKE_FIND_ROOT_PATH [5] which locates in recipe sysroot,
if not found in recipe sysroot, hardcode with "/usr/bin" prefix

If "${base_bindir}" != "${bindir}, explicitly correct tools in rpm
macros, use ${base_bindir} to instead original ${bindir}. Only do the
operation for target, it is not necessary for native and nativesdk,
because most host distribution supports usrmerge

After applying this commit, on target:

root@qemux86-64:~# rpm --eval "%{__sed} %{__tar} %{__rm} %{__mkdir} %{__cp} %{__cat} %{__chown} %{__chmod} %{__gzip} %{__grep} %{__mv}"
/bin/sed /bin/tar /bin/rm /bin/mkdir /bin/cp /bin/cat /bin/chown /bin/chmod /bin/gzip /bin/grep /bin/mv

root@qemux86-64:~# ls /bin/sed /bin/tar /bin/rm /bin/mkdir /bin/cp /bin/cat /bin/chown /bin/chmod /bin/gzip /bin/grep /bin/mv
/bin/cat    /bin/chmod  /bin/chown  /bin/cp     /bin/grep   /bin/gzip   /bin/mkdir  /bin/mv     /bin/rm     /bin/sed    /bin/tar

In order to save size, this commit does not add these tools to
runtime depends, user should explicitly add them if necessary
(such as use rpm to build packages)

[1] https://github.com/rpm-software-management/rpm/blob/rpm-4.19.x/CMakeLists.txt#L121
[2] https://github.com/rpm-software-management/rpm/blob/rpm-4.19.x/CMakeLists.txt#L59
[3] https://git.openembedded.org/openembedded-core/commit/?id=f4ea12f6635125ee793f4dd801c538c0186f9dc3
[4] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html
[5] https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/cmake.bbclass?id=f4ea12f6635125ee793f4dd801c538c0186f9dc3#n123

(From OE-Core rev: c89c7177be2df5d2be44478a6ac43b35ad46db9e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-09 17:43:41 +01:00
Quentin Schulz
f98ab9c342 docs: remove lz4 from required packages
Since commit b13654a4fc2f ("bitbake.conf: Drop lz4 from HOSTTOOLS") in
OE-Core, lz4 isn't an expected host dependency anymore so let's drop it
from the list of required packages.

(From yocto-docs rev: 040556cc9bc998970eb6152f8748d359b15b4bf9)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Quentin Schulz
4549ff19aa docs: conf.py: silence SyntaxWarning on js_splitter_code
The js_splitter_code string contains backslashes that Python tries to
use as escape sequence but doesn't manage to, hence the following
SyntaxWarning message:

documentation/conf.py:188: SyntaxWarning: invalid escape sequence '\p'
  .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}-]+/gu)

Considering that we want this to be sent verbatim to the JS, let's make
this a raw string instead.

Fixes: d4a98ee19e0c ("conf.py: tweak SearchEnglish to be hyphen-friendly")
(From yocto-docs rev: c1056672ef45b197136eb8815728d426337a5901)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Quentin Schulz
ac52e9a94f docs: README: specify how to contribute instead of pointing at another file
This repository is partially included in another repository: poky.

However its README isn't making it, so documentation/README pointing at
the README at the root of the git repository would lead the contributor
nowhere.

Instead, let's include the appropriate information directly in
documentation/README which does make it to the poky git repo.

(From yocto-docs rev: 0298318cea2947e65754eab97255164e64a862de)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Lee Chee Yang
968fd3ad54 migration-guides: add release notes for 4.0.27
(From yocto-docs rev: 612f8c6f99297c1c3a7347be93fe713dccabeffb)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Lee Chee Yang
93968d1eba migration-guides: add release notes for 5.2.1
(From yocto-docs rev: 0624495c4584fafffaedcdef21d65686043f45b0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Carlos Sánchez de La Lama
7b5409b811 ref-manual: clarify KCONFIG_MODE default behaviour
KCONFIG_MODE defaults to 'allnoconfig' when not set, regardless of whether
KBUILD_DEFCONFIG points to an in-tree or a meta-layer defconfig.

(From yocto-docs rev: f374b9c426f6c10710e011a4ad660231ee26efb8)

Signed-off-by: Carlos Sánchez de La Lama <csanchezdll@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Robert P. J. Day
be420892fe Clean up explanation of minimum required version numbers
Some simple rendering and grammar fixes.

(From yocto-docs rev: 9a9624bfc4c523a6edf6f3f0c336e663cc939e75)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-06 22:22:43 +01:00
Richard Purdie
e492016a7b update-alternatives: Simplfy variable dependency logic
When looking at bitbake parsing speed issues, I noticed a lot of weird looking
variables from the update-alternatives class. It is possible this was written
before variable dependencies could handle flags. It can handle flags now so
simplfy the code to take advantage of that and avoid the indirection variables.

The win here is a significant reduction in the number of variables, which
in turn significantly reduces the looping bitbake's taskhash calculation code
needs to do.

(From OE-Core rev: bd8fc4c59a137a37bd7a54f398949617982d447e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 21:19:12 +01:00
Ross Burton
4c5831e8eb linux-yocto: refresh CVE exclusion list for 6.12.31
(From OE-Core rev: 890041f5ed06be1c0a655030af35484d98fe3e7a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 21:19:12 +01:00
Khem Raj
bb30b14ff1 musl-locale: Recommend musl-locale in every locale-base package
musl-locale installs a profile fragment in /etc/profile.d/
which sets MUSL_LOCPATH in environment. This is required for locale
to work correctly. e.g.

root@qemux86-64:~# date
Wed Jun  4 03:06:25 UTC 2025
root@qemux86-64:~# LC_ALL=fr_FR.UTF-8 date
Mer Jun  4 03:06:29 UTC 2025

Works out of box now.

(From OE-Core rev: e11cbc89d56da76585de97d62ef48ca860a05caf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
f8aa2f674e taglib: upgrade 2.0.2 -> 2.1
(From OE-Core rev: bfbbb897c0ab8366c762da134ffe53e915071557)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
80ed321a2f ruby: upgrade 3.4.3 -> 3.4.4
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
refreshed for 3.4.4

(From OE-Core rev: 33d75adff3c100d4c16a9dc51dd19f48e20cf328)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
531855f049 repo: upgrade 2.54 -> 2.55
(From OE-Core rev: 5f0b4819882386e6a9438509742c498108f42089)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
10a9a48f73 python3-setuptools: upgrade 80.8.0 -> 80.9.0
0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
refreshed for 80.9.0

(From OE-Core rev: 8c42a544180524dce3fcbca176db2689d21c084f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
6ad4c13fee python3-ruamel-yaml: upgrade 0.18.10 -> 0.18.12
(From OE-Core rev: eb59eff1d178764b7f8d243b825c28849a9d8c57)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
3b9110e893 python3-pycryptodomex: upgrade 3.22.0 -> 3.23.0
(From OE-Core rev: c5e94ebb197c59e7865516f0e591ddd7a60ab3bb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
2e0f5c8683 python3-pycryptodome: upgrade 3.22.0 -> 3.23.0
(From OE-Core rev: 7278fbe059769b949876988a9c05a073b7432d03)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
6cea7b6948 python3-pdm: upgrade 2.24.1 -> 2.24.2
(From OE-Core rev: 8f69823a32e957d39c1e98d55435e9a77018791c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
db72b55dbf python3-jsonschema: upgrade 4.23.0 -> 4.24.0
d71f96a6523875c9694fcdf468c9f458323d07f2.patch
removed since it's included in 4.24.0

(From OE-Core rev: a7c325f3d083b76842440aa1efa997fac53a36c9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
13f7f97c7b python3-hypothesis: upgrade 6.131.14 -> 6.132.0
(From OE-Core rev: 36c201daa68426caed2347c446ea3d70a43cae09)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
40083eb638 python3-cython: upgrade 3.1.0 -> 3.1.1
(From OE-Core rev: ad36020d46a5827e07da4dc5ca86874d5e704ffd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
507303f2cf python3-beartype: upgrade 0.20.2 -> 0.21.0
(From OE-Core rev: aebc6df71a513531a10949a15571fbeddd7c3ec4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
5d48331650 ofono: upgrade 2.16 -> 2.17
(From OE-Core rev: 04b5ed9746ce9af0375c6691038ef123e96bd192)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
ed1d2ab3cb msmtp: upgrade 1.8.28 -> 1.8.30
(From OE-Core rev: 6499d20a02c453f2e25a8727dff7342dda1c0842)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
9fd1484e9f meson: upgrade 1.8.0 -> 1.8.1
0001-Make-CPU-family-warnings-fatal.patch
0001-python-module-do-not-manipulate-the-environment-when.patch
refreshed for 1.8.1

(From OE-Core rev: f46572a8b55ee8676c518119b9953e0619f1daf3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
f420a74abe libxkbcommon: upgrade 1.9.2 -> 1.10.0
(From OE-Core rev: 3d6fdf1d94cfd33ecf8a2decedd3ffd87e186c7c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
1ba0338933 libusb1: upgrade 1.0.28 -> 1.0.29
(From OE-Core rev: 9b2a50cb8b59dd5a4e4382482c8401e185096e9b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
29972a8eaa liburcu: upgrade 0.15.2 -> 0.15.3
(From OE-Core rev: bebf4c689da174805e53f5f92462a15dda7ec6ac)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
1f51eca39c libunwind: upgrade 1.8.1 -> 1.8.2
0003-Fixed-miscompilation-of-unw_getcontext-on-ARM.patch
0004-Rework-inline-aarch64-as-for-setcontext.patch
removed since they're included in 1.8.2

libatomic.patch
malloc.patch
refreshed for 1.8.2

(From OE-Core rev: 02c3d8de66fa1342d729a17654b0ac14e07b8860)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
4d4c7852d0 libucontext: upgrade 1.2 -> 1.3.2
(From OE-Core rev: a2d010290c800901f644a6eb8edbc231054ef6a6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
3bf9b5b313 libslirp: upgrade 4.9.0 -> 4.9.1
(From OE-Core rev: ff1c0e329c7a80cea13e0071f21d00cd49aafb84)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
fd4b22bf6b libmodulemd: upgrade 2.15.0 -> 2.15.1
(From OE-Core rev: b9f5b4d09a3d088841687a156799ba22c87657a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:23 +01:00
Wang Mingyu
1ae968beb8 libadwaita: upgrade 1.7.2 -> 1.7.4
(From OE-Core rev: 8baf28fd47c7798a4735e3e5708e1ccb6192af20)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
903bb7b724 kbd: upgrade 2.7.1 -> 2.8.0
(From OE-Core rev: 14f3e3c59a503b2c7b8287ad627bca44802a3c4a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
4a58f2cb87 iproute2: upgrade 6.14.0 -> 6.15.0
(From OE-Core rev: 89f4616b7a6c68ddc74e67085cf9bae162ab03f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
5c50dc09b2 hwdata: upgrade 0.394 -> 0.395
(From OE-Core rev: e491c4274f309f00430673334cbdfacbfe773e63)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
317efba1a9 harfbuzz: upgrade 11.2.0 -> 11.2.1
0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch
refreshed for 11.2.1

(From OE-Core rev: ee08e9ee2ae9d6df1d939cc10b3944a1dda154e9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
4a913de4d9 gstreamer1.0-vaapi: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: 5007cc46d66c16b91c1a564351f7145bc4b7b63b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
0c9b803ee3 gstreamer1.0: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: 8b5fa818b2a4fa260988e1bb742d5b5c43932150)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
cfd4206eba gstreamer1.0-rtsp-server: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: fd0d520aa4a26b28b495cd42cb571f0e9d7f64ab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
586960366f gstreamer1.0-python: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: 89401f3790547c805ba439fc9d999f533b68464e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
abf4a32a7b gstreamer1.0-plugins-ugly: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: a6f95a9e1061acec779fe81c595d31bac3c3fd13)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
7d3e3705e7 gstreamer1.0-plugins-good: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: dcc7e70130724f50955cfb9105a485c58a652e62)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
b5b63865d6 gstreamer1.0-plugins-base: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: e927571985e44013aaa6f4268e52d35aea85c76a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
bcb17e2534 gstreamer1.0-plugins-bad: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: bd852a68d68fd693c5b51eea368fb2de493f6062)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
07cacaec09 gstreamer1.0-libav: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: ef3a9dfb7e031039efa9772fb07875f4095587fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
582e088530 gst-examples: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: e9b31ad868183348326645755c3cfa0c354c19b8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
d21f36ebe3 gst-devtools: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: b1647fde7840ca765640c9c1989a68ae28d3eac4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
fc8bc81c9c gpgme: upgrade 1.24.2 -> 1.24.3
(From OE-Core rev: fcac9a5b9a0803524bf644b97f7563cbc0c74140)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
4fef5e7fc7 enchant2: upgrade 2.8.4 -> 2.8.6
(From OE-Core rev: 861c8072698c97619888ca70528995b567c696ee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
91f8d07d38 dhcpcd: upgrade 10.2.2 -> 10.2.4
0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch
refreshed for 10.2.4

(From OE-Core rev: 7e74593f4b341deef995adba5790eacffcfd41f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Wang Mingyu
949e2cc738 apr: upgrade 1.7.5 -> 1.7.6
0001-Add-option-to-disable-timed-dependant-tests.patch
0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch
0002-apr-Remove-workdir-path-references-from-installed-ap.patch
0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
refreshed for 1.7.6

(From OE-Core rev: 21721ba0701acbb691d59da7892af10a222d3fcb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Khem Raj
fa2205efd5 m4: Adjust ptest dependencies
This ensures the dependencies match across musl and glibc

(From OE-Core rev: ad0b81bffc18f9bd60daac12dd00c56a6ef022f9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Gyorgy Sarvari
0c927ee90e python3-trove-classifiers: upgrade 2025.3.19.19 -> 2025.5.9.12
Changelog:
2025.04.11.15:
  - Add classifier for Wagtail 7 (#210)

2025.04.28.22:
  - Add entry point to enable installing with pipx or uvx
  - Tests added for running the module and calling the entry point.
  - Add return type annotation
  - reformat
  - Try adding BINDIR to python and entry point
  - Add missing BINDIR paths
  - Add docstring to test.

2025.5.1.12:
  - Don't assume basename of sys.executable is "python" (#212)
    On Debian, it's "python3" instead.

2025.5.7.19:
  - Add Trove classifier for Python 3.15 (#213)

2025.5.8.13:
  - Add several missing languages
  - Update src/trove_classifiers/__init__.py

2025.5.8.15:
  - feat: add free-threading classifiers (#195)
  - feat: add free-threading classifiers
  - refactor: add numbers to force correct sort
  - Update __init__.py

2025.5.9.12:
  - Add trove classifier for GraalPython (#188)
    GraalPython is an up-an-coming JIT-based implementation atop
    the Graal VM.

(From OE-Core rev: d45cd3844b9386bced24a2e1544ace79b78b17c0)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Gyorgy Sarvari
2f172b4016 python3-uritools: upgrade 4.0.3 -> 5.0.0
Changelog:
 -Require Python 3.9 or later (breaking change).
 -Update CI environment.

License-Update: update copyright year

(From OE-Core rev: 072b051c1fe34b01f617e2d8ea502b7f15d4e1de)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Robert Yang
65a681e192 nfs-utils: 2.8.2 -> 2.8.3
* Remove upstream merged patches:
0001-Fix-typecast-warning-with-clang.patch
0003-support-nfs-xcommon.c-fix-a-formatting-error-with-cl.patch

(From OE-Core rev: d3bc8591610733ba9145bb7f97b9490aeddad9c2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Robert Yang
6489e5cb80 quilt: 0.68 -> 0.69
Add 0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch to fix:
ERROR: quilt-0.69-r0 do_package_qa: QA Issue: /usr/share/quilt/spec-filters/obs contained in package quilt requires /usr/bin/sh, but no providers found in RDEPENDS:quilt? [file-rdeps]

(From OE-Core rev: 05665175f7f9ed75be226034434753ee9e0af3be)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Robert Yang
3d6ae7775c strace: 6.12 -> 6.15
* Rebased Makefile-ptest.patch for 6.15
* License-Update: Update copyright year from 2024 to 2025

(From OE-Core rev: 3cb2541fa48118fb545545670dae1cd39a9e7ee3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Ross Burton
d67bfdfa1a lib/oeqa/subprocesstweak: clean up __str__()
Call super().__str__ to get the bulk of the string representation, and
we don't need to guard on output/strerr existing as they always set.

(From OE-Core rev: 2adcac16dd26fd054ea779cc4e7aa32282d9bdde)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Ross Burton
97a4062189 scripts/scriptutils: silence warning about S not existing in emptysrc
This function creates an emptysrc recipe, but S points to a directory
that doesn't exist and bitbake warns about this.

As it is under the temporary working directory which will be deleted
later, create it to silence the warning.

(From OE-Core rev: 103cc8fa8a09b8e1fadeb0c8dde5f99eb9c24243)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Ross Burton
632bb571d7 recipetool/create: show more of the license path when it can't be identified
If there are multiple source trees in a project (incredibly common with
go-mod, for example) then the relative path of the LICENSE file from
the source tree could just be "LICENSE", which is not useful when there
are tens of files across the recipe with that name.

Show the parent directory name too, to clarify which file is unknown.

(From OE-Core rev: 9679f4055ad5a077c6b06aa6125cee4e8fa93471)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Alexander Kanavin
5de314ddb3 conf/fragments: add a fragment for CDN sstate mirror
This will be used in bitbake-setup official configurations and
it will be awesome.

(From OE-Core rev: ee80c4f013052950ebc4107a2aa4f9ffc1b28975)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Richard Purdie
0c7dc5bae1 bitbake.conf: Drop lz4 from HOSTTOOLS
As far as I can tell, we don't have anything using lz4 in our key
build dependencies. It isn't in ASSUME_PROVIDED and our code automatically
adds lz4-native dependencies where needed. Even then, it is very rarely
needed, mainly for some kinds of SRC_URI (none in OE-Core) and some
filesystems/images.

As such, drop this from HOSTTOOLS and rely on lz4-native, which is what
was already happening anyway. This simplies host setup slightly.

(From OE-Core rev: b13654a4fc2fe6397f1802c14b2c6ad44b59a45b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Richard Purdie
f06e2791e4 barebox: Add missing depndency on lz4-native
| /bin/sh: 1: lz4: not found
| make[4]: *** [scripts/Makefile.lib:413: common/boards/qemu-virt/fitimage-pubkey.dtb.z] Error 1
| make[3]: *** [tmp/work/qemuarm64-poky-linux/barebox/2025.04.0/barebox-2025.04.0/scripts/Makefile.build:293: common/boards/qemu-virt] Error 2

(From OE-Core rev: 4329b27773f20933bb47b9ebfc9695c04bdcd3b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Richard Purdie
ba4fd52298 classes/recipes-devtools: Drop icecc from OE-Core
There are reports this class has been broken since mickledore which suggests
there are limited numbers of users. It doesn't have any automated testing
and it would be hard to setup and maintain a testing environment for it. The
original users/manintainers aren't using it now.

For those reasons, drop from OE-Core as we're not in a good position to
maintain it. I'd suggest anyone wanting to use it creates a dedicated layer
with maintainers who are in a position to test/develop it appropriately since
it is standalone code.

(From OE-Core rev: ecf8c386cf83ea235bdc4ee0da6671a395a4c358)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Mikko Rapeli
b168cb4167 oeqa selftest uboot.py: add qemu KVM test case
Add a test case to boot target system via u-boot
using qemu with KVM. This was broken recently
and workaround proposed to u-boot. Test case
works with genericarm64 and qemuarm64 target machines
compiled and tested on aarch64 build host with KVM
support.

Test execution time with full sstate cache is
around 170 seconds. qemu boot itself takes just
a few seconds to full userspace.

(From OE-Core rev: dce900b029607d12ad55de35741f245beb409b47)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Mikko Rapeli
deffb5f00a oeqa decorator/data.py: add skipIfNotBuildArch decorator
To limit tests to specific build host architectures.
For example KVM testing will only work if target and
build architectures are the same.

(From OE-Core rev: c59b74b8bfd3b351a31204f33e00351ad5e5b657)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Mikko Rapeli
8a941848e7 u-boot: disable USB support on qemuarm64 and genericarm64
qemu USB devices under KVM currently cause reset loop
in u-boot. If u-boot USB support is disabled then
u-boot just ignores the qemu USB devices which
then work with Linux kernel as before.

Issue has been reported to u-boot upstream in:

https://lists.denx.de/pipermail/u-boot/2025-June/591233.html

(From OE-Core rev: ade1069ece5f964edaa7115681d8dbc484ff2c81)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Mikko Rapeli
953cb7b0c2 u-boot: disable CONFIG_BLOBLIST on genericarm64 and qemuarm64
Booting u-boot on qemu with kvm is currently hanging on aarch64
build host. Root cause is in u-boot and CONFIG_BLOBLIST can be
disabled as a workaround.

To reproduce, build on kvm enabled host where "kvm-ok"
succeeds. For example genericarm64 machine and core-image-base
should then boot with:

$ runqemu slirp nographic novga snapshot kvm

On qemuarm64, default kvm setup will boot directly to kernel
and is not affected by this. If build enables u-boot as bios
then the same issue happens.

Without this config workaround, the boot hangs without
any messages in qemu output but ctrl-a-c to qemu console
can shutdown the emulated machine.

This seems to have regressed after u-boot 2025.04 update.
KVM boot can be detected from speed, for example genericarm64
boots in 550 ms with KVM and without in over 5 seconds.

Fixes: [YOCTO #15872]

Upstream u-boot discussion:
https://lists.denx.de/pipermail/u-boot/2025-May/590101.html

Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
(From OE-Core rev: c5fa4320e666a0606b18be8f0a08e659170568f2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Richard Purdie
bcfe285bb1 kernel-fit-image: Exclude from world
Recipes using this class are designed to be pulled in by dependencies and
the recipe doesn't build unless the kernel is appropriately configured. Mark
as not suitable for world builds as a result to avoid world build failures.

(From OE-Core rev: fc4834a8deae27579897d86d82c6f2335636a092)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
1d8c78c8cd kernel-fitimage.bbclass: remove it
The integration of the FIT image-related build steps into the kernel
recipe has proven to be not very good. The new implementation with
kernel-fit-image.bbclass fixes some design issues:

* sstate does not work well when a fitImage contains an initramfs. The
  kernel is rebuilt from scratch if the build runs from an empty TMPDIR.
* A fitImage kernel is not available as a package, but all other kernel
  image types are.
* The task dependencies in the kernel are very complex and difficult to
  debug if something goes wrong. As a separate, downstream recipe, this
  is now much easier.

The long storry about this issue is here:
[YOCTO #12912]

(From OE-Core rev: deb6bc3bea30dadabdb580a7a58a3b2e277af400)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
18861ef0eb kernel.bbclass: remove support for type fitImage
kernel.bbclass is no longer involved in FIT image creation. Whether a
FIT image is built now depends entirely on whether the linux-yocto-fitimage
recipe (or any other recipe capable of producing a FIT image) is selected
for the build.
As a result, specifying the kernel image type "fitImage" in
KERNEL_IMAGETYPE or KERNEL_IMAGETYPES is no longer necessary and gets
removed.

(From OE-Core rev: ec606ef2879ddba750e275dae4dc8ab1e943b259)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
7114f4e07e oe-selftest: fitimage: remove kernel-fitimage tests
Remove the test cases for the kernel-fitimage.bbclass.

(From OE-Core rev: c699dc66fd30cdfc5a3d53997107b870b9e4af65)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
43949b9d08 kernel-fitimage: re-write its code in Python
Rewrite the kernel-fitimage.bbclass file in Python. This allows the
reuse of the new fitimage Python library and a clear alignment of the
two implementations.

Actually, the motivation for an implementation in Python was different.
During the transition from the kernel-fitimage.bbclass to the new
linux-yocto-fitimage.bb, the existing shell code was rewritten in Python
so that the fitimage.py library could be extracted. The new
kernel-fit-image.bbclass and linux-yocto-fitimage.bb were then developed
on this basis.
This approach makes it possible to run the same tests for all different
implementations:
- kernel-fitimage.bbclass in Shell
- kernel-fitimage.bbclass in Python
- linux-yocto-fitimage.bb

Changing the commit order now enables a smooth transition. The two
implementations can coexist. Maintenance and testing should be feasible
for a few months with reasonable effort as they share most of the code.
But of course, the goal is to remove the kernel-fitimage.bbclass as soon
as possible.

This commit opens the path for different strategies going forward:
- Just replace the old implementations with the new one and ignoring
  this commit.
- Add the new implementation and keep the old implementation without any
  change.
- Add the new implementation and this commit and support the old
  architecture sharing most of the code with the new architecture and
  implementatiion.

(From OE-Core rev: 6b513a530fcc6d99463fd824bb7208043f59414b)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
2b23528cde oe-selftest: fitimage refactor classes
Make the new KernelFitImageRecipeTests class the one that contains the
code, and keep the KernelFitImageTests class as the one that just adds
back the same tests. This will make it easier to delete the tests later,
which will hopefully become obsolete when the kernel-fitimage.bbclass
class is no longer needed.

(From OE-Core rev: 622c446c7c6139ed12c2fa2d9cffa108a85f4390)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
e339b99ca1 oe-selftest: fitimage: run all tests for both FIT implementations
Run all existing tests for kernel-fitimage.bbclass also with the new
linux-yocto-fitimage recipe.
Executing each test for both implementations helps ensure functional
compatibility and consistency between them.

This change will naturally double the test duration for FIT image-related
tests, as each test now runs against both implementations. However, the
goal is to eventually deprecate kernel-fitimage.bbclass, at which point
the duplicate tests can be removed.
Additionally, since the new implementation makes significantly more
efficient use of the sstate cache compared to the old one, the overall
test execution time may still be improved.

(From OE-Core rev: d966939e1758cb1a978f486219f642bf67c8ad48)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
0208abfd4b oe-selftest: fitimage: support new FIT recipe as well
Enable all existing tests to be compatible with FIT images generated
either by the new linux-yocto-fitimage recipe or the legacy
kernel-fitimage.bbclass approach.

- Make the following configurations optional:
  - KERNEL_IMAGETYPES += "fitImage"
  - KERNEL_CLASSES = "kernel-fitimage"
- Allow the tests to specify which kernel recipe should be used for the
  build (e.g., linux-yocto, linux-yocto-fitimage, etc.)

(From OE-Core rev: 20cbb095f8685848aa5e31d04006b9842b387912)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
Adrian Freihofer
87fc591150 oe-selftest: fitimage: add tests for fitimage.py
Having the FIT image generator code as a separate class, which is
essentially independent of BitBake, also allows testing the code
separately from BitBake. Take advantage of this enables testing more
use cases with significantly faster tests.

(From OE-Core rev: f990d95007a616bdafbe80c30877d3bdfd954c05)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
2dbbeb1d98 maintainers: add myself for linux-yocto-fitimage
(From OE-Core rev: 6fe5ca5bbbec2bce810aff9695963f4355f5095e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
36bea94fe7 kernel-fit-image.bbclass: add a new FIT image implementation
The new recipe linux-yocto-fitimage.bb and the new
kernel-fit-image.bbclass are intended to become successors of the
kernel-fitimage.bbclass.

Instead of injecting the FIT image related build steps into the kernel
recipe, the new recipe takes the kernel artifacts from the kernel recipe
and creates the FIT image as an independent task.

This solves some basic problems:
* sstate does not work well when a fitImage contains an initramfs. The
  kernel is rebuilt from scratch if the build runs from an empty TMPDIR.
* A fitImage kernel is not available as a package, but all other kernel
  image types are.
* The task dependencies in the kernel are very complex and difficult to
  debug if something goes wrong. As a separate, downstream recipe, this
  is now much easier.

The recipe takes the kernel artifacts from the deploy folder. There was
also a test implementation passing the kernel artifacts via sysroot
directory. This requires changes on the kernel.bbclass to make it
copying the artifacts also to the sysroot directory while the same
artifacts are already in the sstate-cached deploy directory.

The new class kernel-fit-extra-artifacts.bbclass generates and deploys
the kernel binary intended for inclusion in a FIT image.
Note that the kernel used in a FIT image is a stripped (and optionally
compressed) vmlinux ELF binary - not a self-extracting format like
zImage, which is already available in the deploy directory if needed
separately.
The kernel-fit-extra-artifacts.bbclass can be used like this:
    KERNEL_CLASSES += "kernel-fit-extra-artifacts"
(if uImage support is not needed, or with :append otherwise)

The long story about this issue is here:
[YOCTO #12912]

(From OE-Core rev: 05d0c7342d7638dbe8a9f2fd3d1c709ee87d6579)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
ceee257553 kernel-uboot.bbclass: do not require the kernel build folder
The function must be executed in CWD. Make it more flexible by
specifying the kernel build folder as a parameter.

This is a refactoring without functional change. But later this change
will allow to use this function also with a kernel from the sstate-cache
instead of requiring the full kernel build folder structure.

Another preparation for using a kernel from sstate-cache is to persist
the linux_comp variable in a file next to the linux.bin file rather than
using a global shell variable.

This change also requires to adapt the kernel-uimage.bbclass
accordingly. This change also fixes a minor detail:
the kernel-uimage.bbclass used ${ instead of $ for evaluatiing a local
shell variable.

(From OE-Core rev: 8ea95cd419ee4efac5f54124e2ce98304262e8c1)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
8263346476 kernel-fitimage: refactor order in its
When the ITS file is created, the mandatory properties are written first
before the optional properties are written.
This is not really useful for the current implementation. But it is a
preparation for a new Python-based implementation that will expect
mandatory properties first. This change makes it possible to run the
tests with both the old and the new implementation.

(From OE-Core rev: 1044366a32d544af53307a03d7d3b0aaf4519990)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
1e29226879 oe-selftest: fitimage: cleanup FIT_GENERATE_KEYS
It is closer to practice to use static and predictable keys to sign the
FIT images. In addition, the new kernel-signing-keys-native is only
reliable if the temporary directory is not deleted. However, depending
on how this test suite is started, this can happen.
There will therefore only be one test that uses the recipe to generate
the keys, which ensures that the recipe works in principle.
It is also ensured that no keys are present before the test and that the
recipe runs safely and is not skipped by Bitbake.

(From OE-Core rev: 97e58d7c2bc1943f0696fc72984788f459f7f7c4)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
d5c04a81ac maintainers: add myself for kernel-signing-keys-native
(From OE-Core rev: 43137f6e43c86404b3b720100fa2a2541071d866)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
29a931bfbf kernel-signing-keys-native: refactor key generation into a new recipe
The do_kernel_generate_rsa_keys function from kernel-fitimage.bbclass
is moved to a new recipe, kernel-signing-keys-native.bb. This
refactoring introduces no functional changes.

Intention this change:
- Remove the dependency of uboot-sign.bbclass on kernel-fitimage.bbclass.
- Simplify the use of custom key generation implementations by
  isolating the functionality into a separate recipe.

Known limitations of this (and also the previous) implementation:
- When generating from an existing TMPDIR, the existing key is reused.
  However, when generating from an empty TMPDIR or an SDK using the
  sstate-cache, a new key is generated, which may lead to
  inconsistencies.
- The use of random keys (via FIT_GENERATE_KEYS) is convenient for
  experiments but unsuitable for production environments requiring
  deterministic and secure key management.

Future improvements to consider:
- Ensure reproducibility, even when using the sstate-cache. However,
  simply storing the private key in a potentially shared sstate artifact
  may not always be ideal from a security perspective.
- Support encrypted keys via `SRC_URI` for reliable key updates.
- Enable signing with an HSM (Hardware Security Module) through
  mechanisms like PKCS#11 or post-processing scripts.

(From OE-Core rev: 88736bb53fd2f0ffa1d249fc1a37897d10c8be18)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
8b8bdc4a19 oe-selftest: fitimage: test FIT_CONF_DEFAULT_DTB
Add some test coverage for non default FIT_CONF_DEFAULT_DTB.

(From OE-Core rev: d9ae846307b640f6c85a67dee405cbaa6258efd4)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
5ab2cd7747 oe-selftest: fitimage: test FIT_CONF_PREFIX
Add a test which does not use the default FIT_CONF_PREFIX configuration.

(From OE-Core rev: 12f20ddefe0393eea8d1c3534058596f3407b5f5)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
62bd08a783 oe-selftest: fitimage: test external dtb
There are several ways to insert external devicetrees and devicetree
overlays into the kernel and thus at least to some extent into the FIT
image.
So far there is no test coverage. Let's improve this as much as possible
without fully understanding all use cases.

This first test adds a devicetree overlay to a build configuration
without signing, since signing is apparently not yet meaningful when
PREFERRED_PROVIDER_virtual/dtb = “bborg-relay-00a2” is used. It is also
not entirely clear how these external devicetree overlays are used by
the configuration nodes of the FIT image. Currently, one configuration
is created per dtb dtbo node, which is not really useful for dtbo nodes.
Before this test can be extended to test devicetree overlays and
signing, the code that creates the configuration nodes in its file
probably needs some improvements in terms of more flexibility in
defining the references from configuration nodes to image nodes.

(From OE-Core rev: 3442d9297dcab400dfe8db93790e049778e0abdb)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
c6a51f8c99 oe-selftest: add new ext dtb recipe
There is no test coverage for the devicetree.bbclass class. Add a
minimalist recipe that uses this class.
This recipe compiles a devicetree overlay that does not include any
sources from the kernel build folder to keep it simple and also usable
for testing a kernel from the sstate-cache.

(From OE-Core rev: 44b6eaf9fb408f2a7941e7ba8f2156cf2c7d4bae)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Adrian Freihofer
437043d9f3 devicetree: minor improvements
- Do not use the ${} bitbake syntax for shell internal variables
- Fix shellcheck SC2045 warning:
  Iterating over ls output is fragile. Use globs.
- Improve error handling for dtc. Print the output, not only the exit
  value.

(From OE-Core rev: f33ee0cfb3c664c4857c18271dd55981bc369cc1)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Bruce Ashfield
5b006dbc3d linux-yocto/6.12: update to v6.12.31
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    df3f6d10f353d Linux 6.12.31
    85fb1edd059bf drm/gem: Internally test import_attach for imported objects
    ee2a06bbbb8a0 x86/mm/init: Handle the special case of device private pages in add_pages(), to not increase max_pfn and trigger dma_addressing_limited() bounce buffers bounce buffers
    ae0d63ec39053 i3c: master: svc: Fix implicit fallthrough in svc_i3c_master_ibi_work()
    73c4707510f27 pinctrl: tegra: Fix off by one in tegra_pinctrl_get_group()
    ecb9d3123bef7 watchdog: aspeed: fix 64-bit division
    c3e1091eb054c drm/amdkfd: Correct F8_MODE for gfx950
    a8a34fbf915dd serial: sh-sci: Save and restore more registers
    80eb73778deba bpf: abort verification if env->cur_state->loop_entry != NULL
    fdee1dc816b4c drm/amd/display: Exit idle optimizations before accessing PHY
    dd8a734155ae2 kbuild: Properly disable -Wunterminated-string-initialization for clang
    3f856d5d84467 Fix mis-uses of 'cc-option' for warning disablement
    d66cf772bebd7 gcc-15: disable '-Wunterminated-string-initialization' entirely for now
    9f58537e9b8f0 gcc-15: make 'unterminated string initialization' just a warning
    d28b0305f711e err.h: move IOMEM_ERR_PTR() to err.h
    96537d8c67e5e spi: spi-fsl-dspi: Reset SR flags before sending a new message
    b1781bd47e6d4 spi: spi-fsl-dspi: Halt the module after a new message transfer
    b9fbbcf61e7c7 spi: spi-fsl-dspi: restrict register range for regmap access
    1d45e0170cf00 spi: use container_of_cont() for to_spi_device()
    92f077ff52f28 platform/x86: think-lmi: Fix attribute name usage for non-compliant items
    5c54a557bde18 ksmbd: fix stream write failure
    544ff7fb19727 Revert "arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection"
    111a892a235d5 Bluetooth: btmtksdio: Do close if SDIO card removed without close
    3e0dc2b4f678c Bluetooth: btmtksdio: Check function enabled before doing close
    fedd2a1443600 nilfs2: fix deadlock warnings caused by lock dependency in init_nilfs()
    483ac74183e1e mm: vmalloc: only zero-init on vrealloc shrink
    94efb0d656902 mm: vmalloc: actually use the in-place vrealloc region
    9f9517f156866 mm: mmap: map MAP_STACK to VM_NOHUGEPAGE only if THP is enabled
    9da33ce1142b5 mm/page_alloc.c: avoid infinite retries caused by cpuset race
    314bf771cb87c memcg: always call cond_resched() after fn()
    9b8263cae64a6 highmem: add folio_test_partial_kmap()
    cb9a1019a63fe Input: xpad - add more controllers
    7c220f89add8e Revert "drm/amd: Keep display off while going into S4"
    b4f801e8cfcc1 smb: client: Reset all search buffer pointers when releasing buffer
    56b06539b6782 arm64: dts: marvell: uDPU: define pinctrl state for alarm LEDs
    9bea368648ac4 smb: client: Fix use-after-free in cifs_fill_dirent
    dc9bdfb9b0286 drm/edid: fixed the bug that hdr metadata was not reset
    56081f5d14c67 thermal: intel: x86_pkg_temp_thermal: Fix bogus trip temperature
    8594a123cfa23 platform/x86: dell-wmi-sysman: Avoid buffer overflow in current_password_store()
    e78908caf17cb pmdomain: core: Fix error checking in genpd_dev_pm_attach_by_id()
    0ae82a7abff8f pmdomain: renesas: rcar: Remove obsolete nullify checks
    a6ddbf9ae7884 vmxnet3: update MTU after device quiesce
    ba689e089369d net: dsa: microchip: linearize skb for tail-tagging switches
    352fbde14177d can: kvaser_pciefd: Fix echo_skb race
    8654c8a0528d0 can: kvaser_pciefd: Continue parsing DMA buf after dropped RX
    80702f002b136 llc: fix data loss when reading from a socket in llc_ui_recvmsg()
    4e22325b98245 ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14ASP10
    bf85e49aaf3a3 ALSA: pcm: Fix race of buffer access at PCM OSS layer
    799d48c95f9b6 ASoC: SOF: ipc4-pcm: Delay reporting is only supported for playback direction
    20e3fa3b7df9d ASoc: SOF: topology: connect DAI to a single DAI link
    6a62b917fb55b ASoC: SOF: Intel: hda-bus: Use PIO mode on ACE2+ platforms
    964d355832700 ASoC: SOF: ipc4-control: Use SOF_CTRL_CMD_BINARY as numid for bytes_ext
    63567ecd99a24 can: bcm: add missing rcu read protection for procfs content
    cc55dd28c20a6 can: bcm: add locking for bcm_op runtime updates
    adb05149a9055 can: slcan: allow reception of short error messages
    5300e487487d7 padata: do not leak refcount in reorder_work
    2f45a8d64fb4e crypto: algif_hash - fix double free in hash_accept
    bcb1c946c761d clk: s2mps11: initialise clk_hw_onecell_data::num before accessing ::hws[] in probe()
    4a7261089d1aa octeontx2-af: Fix APR entry mapping based on APR_LMT_CFG
    92b04bac366f0 octeontx2-af: Set LMT_ENA bit for APR table entries
    689a205cd968a net/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done
    41678d7222850 octeontx2-pf: Add AF_XDP non-zero copy support
    49b21795b8e56 sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()
    0a2422f97651c idpf: fix idpf_vport_splitq_napi_poll()
    873ebaf3c1113 io_uring: fix overflow resched cqe reordering
    845ef0462ac70 net: lan743x: Restore SGMII CTRL register on resume
    8e4fd8e76dd7e net: dwmac-sun8i: Use parsed internal PHY address instead of 1
    3e79182c82a11 pinctrl: qcom: switch to devm_register_sys_off_handler()
    cd7f022296972 loop: don't require ->write_iter for writable files in loop_configure
    f6f5e9c8cb680 idpf: fix null-ptr-deref in idpf_features_check
    8c3b8ace9ce4a ice: Fix LACP bonds without SRIOV environment
    7191b69eae0f5 ice: fix vf->num_mac count with port representors
    233a227a317b0 bridge: netfilter: Fix forwarding of fragmented packets
    0b7d3e782027a ptp: ocp: Limit signal/freq counts in summary output functions
    6a1f9a709a616 Bluetooth: btusb: use skb_pull to avoid unsafe access in QCA dump handling
    1e8b7e96f71fe Bluetooth: L2CAP: Fix not checking l2cap_chan security level
    ca51db2316676 perf/x86/intel: Fix segfault with PEBS-via-PT with sample_freq
    1c1fb885e5885 irqchip/riscv-imsic: Start local sync timer on correct CPU
    2b49e68360eb6 ASoC: SOF: Intel: hda: Fix UAF when reloading module
    4a39fbffad5cd devres: Introduce devm_kmemdup_array()
    7207effe4743f driver core: Split devres APIs to device/devres.h
    ae344b9f842d9 dmaengine: fsl-edma: Fix return code for unhandled interrupts
    d31daa83efbab dmaengine: idxd: Fix ->poll() return value
    252f78a9317ac xfrm: Sanitize marks before insert
    ae5e975a46e26 clk: sunxi-ng: d1: Add missing divider for MMC mod clocks
    090aa8d51ec6c remoteproc: qcom_wcnss: Fix on platforms without fallback regulators
    447c8f0c06190 kernel/fork: only call untrack_pfn_clear() on VMAs duplicated for fork()
    7f5dc43b46205 x86/sev: Fix operator precedence in GHCB_MSR_VMPL_REQ_LEVEL macro
    d91576a2321d7 dmaengine: idxd: Fix allowing write() from different address spaces
    b1a687eb15bcf xfrm: Fix UDP GRO handling for some corner cases
    9cbca30102028 espintcp: remove encap socket caching to avoid reference leak
    28756f22de48d espintcp: fix skb leaks
    153bc79b5d02c soundwire: bus: Fix race on the creation of the IRQ domain
    8cafd7266fa02 __legitimize_mnt(): check for MNT_SYNC_UMOUNT should be under mount_lock
    a0c50c9f9c912 drm/amd/display: Call FP Protect Before Mode Programming/Mode Support
    211f589206459 xenbus: Allow PVH dom0 a non-local xenstore
    5a8d073d87da4 x86/Kconfig: make CFI_AUTO_DEFAULT depend on !RUST or Rust >= 1.88
    b8581b4e4d96e wifi: iwlwifi: add support for Killer on MTL
    1645fc1849ef0 block: only update request sector if needed
    511ea82e344e0 tools: ynl-gen: validate 0 len strings from kernel
    6e9770de02496 btrfs: avoid NULL pointer dereference if no valid csum tree
    230c94ca3527d btrfs: handle empty eb->folios in num_extent_folios()
    7f7c8c03feba5 btrfs: correct the order of prelim_ref arguments in btrfs__prelim_ref
    92dff981dddff btrfs: compression: adjust cb->compressed_folios allocation type
    5926bc887da2f ASoC: intel/sdw_utils: Add volume limit to cs42l43 speakers
    6b1a9a7647097 cifs: Fix changing times and read-only attr over SMB1 smb_set_file_info() function
    0a9920e1ff67d cifs: Fix and improve cifs_query_path_info() and cifs_query_file_info()
    ad3e83a6c8033 io_uring/fdinfo: annotate racy sq/cq head/tail reads
    ec462449f4cf6 nvmet-tcp: don't restore null sk_state_change
    6a09b6bad09a6 ALSA: usb-audio: Fix duplicated name in MIDI substream names
    6d196cae4b0b2 nvme-pci: add quirks for WDC Blue SN550 15b7:5009
    ff214b079d55e nvme-pci: add quirks for device 126f:1001
    35ec11b38588c ALSA: hda/realtek: Add quirk for HP Spectre x360 15-df1xxx
    8f76431c00b2d ASoC: Intel: bytcr_rt5640: Add DMI quirk for Acer Aspire SW3-013
    63affdae7ff49 ASoC: cs42l43: Disable headphone clamps during type detection
    4c7a0425fb620 platform/x86: ideapad-laptop: add support for some new buttons
    2418bf5d383fa platform/x86: asus-wmi: Disable OOBE state after resume from hibernation
    00fe4c0e46959 platform/x86/intel: hid: Add Pantherlake support
    aa000a4ee9897 smb: server: smb2pdu: check return value of xa_store()
    c134c62b9e97b pinctrl: meson: define the pull up/down resistor value as 60 kOhm
    5863bd44ed2fa book3s64/radix: Fix compile errors when CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=n
    b5aa85b9b0c4c ASoC: imx-card: Adjust over allocation of memory in imx_card_parse_of()
    9fddd1f15465f drm: Add valid clones check
    08150a6c83a9a drm/panel-edp: Add Starry 116KHD024006
    aa52c70ae1322 drm/buddy: fix issue that force_merge cannot free all roots
    135105287781e drm/atomic: clarify the rules around drm_atomic_state->allow_modeset
    6ceef704e2bce drm/xe: Reject BO eviction if BO is bound to current VM
    650c1769cfe9d drm/xe/sa: Always call drm_suballoc_manager_fini()
    1cc37163730aa wifi: rtw89: coex: Separated Wi-Fi connecting event from Wi-Fi scan event
    c9db43696ed0e drm/xe: Do not attempt to bootstrap VF in execlists mode
    274ae1044bd2c drm/xe: Move suballocator init to after display init
    115360031be90 wifi: ath11k: Use dma_alloc_noncoherent for rx_tid buffer allocation
    e1fffcd1d75db drm/nouveau: fix the broken marco GSP_MSG_MAX_SIZE
    878ccaf79c95f drm: bridge: adv7511: fill stream capabilities
    fb0d82562c078 wifi: ath12k: Fix end offset bit definition in monitor ring descriptor
    bb2d55681ee70 wifi: ath12k: Fetch regdb.bin file from board-2.bin
    a3f6e4682f3d4 wifi: ath9k: return by of_get_mac_address
    331c0af96c034 drm/xe/pf: Reset GuC VF config when unprovisioning critical resource
    63780d7352f0f accel/qaic: Mask out SR-IOV PCI resources
    a1e3f2ea66c0d wifi: ath12k: fix ath12k_hal_tx_cmd_ext_desc_setup() info1 override
    ff56fbf50eff9 regulator: ad5398: Add device tree support
    697a6f8a91063 spi: zynqmp-gqspi: Always acknowledge interrupts
    c533839e0a48d wifi: rtw89: add wiphy_lock() to work that isn't held wiphy_lock() yet
    9e9e974915908 wifi: rtw88: Don't use static local variable in rtw8822b_set_tx_power_index_by_rate
    0b63d246248f5 wifi: rtl8xxxu: retry firmware download on error
    ff5c6e3d251ea clk: renesas: rzg2l-cpg: Refactor Runtime PM clock validation
    3a95341c65e4e perf/amd/ibs: Fix ->config to sample period calculation for OP PMU
    e225dbb03af65 perf/amd/ibs: Fix perf_ibs_op.cnt_mask for CurCnt
    46f1c2b508e33 firmware: arm_scmi: Relax duplicate name constraint across protocol ids
    ff84436446a02 bpftool: Fix readlink usage in get_fd_type
    c80b2d159c31f bpf: Use kallsyms to find the function name of a struct_ops's stub function
    c3fd672e6644a drm/ast: Find VBIOS mode from regular display size
    538a82168e52b dm vdo: use a short static string for thread name prefix
    f8b4edbcf3531 dm vdo indexer: prevent unterminated string warning
    0cc2aa7472085 irqchip/riscv-aplic: Add support for hart indexes
    a3300021d4875 ASoC: rt722-sdca: Add some missing readable registers
    67f7080cb30e5 ASoC: codecs: pcm3168a: Allow for 24-bit in provider mode
    b99c2faf40215 arm64: zynqmp: add clock-output-names property in clock nodes
    9e3eaf7f750e1 HID: usbkbd: Fix the bit shift number for LED_KANA
    b5a1ef646ce13 wifi: ath12k: Avoid napi_sync() before napi_enable()
    dbb6efb3d8f34 scsi: st: Restore some drive settings after reset
    1be28b37a6a7b scsi: lpfc: Free phba irq in lpfc_sli4_enable_msi() when pci_irq_vector() fails
    609bc6e9c1869 scsi: lpfc: Ignore ndlp rport mismatch in dev_loss_tmo callbk
    c670902775c20 scsi: lpfc: Handle duplicate D_IDs in ndlp search-by D_ID routine
    f5ce5628576dd net/mana: fix warning in the writer of client oob
    7cc781374e20e drm/xe/relay: Don't use GFP_KERNEL for new transactions
    e2017f44c6d4a ice: count combined queues using Rx/Tx count
    887e39ac4704e perf: Avoid the read if the count is already updated
    d402437cde36c rcu: fix header guard for rcu_all_qs()
    fcabb696743a4 rcu: handle unstable rdp in rcu_read_unlock_strict()
    5cdaa970d73a4 rcu: handle quiescent states for PREEMPT_RCU=n, PREEMPT_COUNT=y
    65daba41f935e ice: treat dyn_allowed only as suggestion
    3c8b4657a6d75 ice: init flow director before RDMA
    58cdd1ee650b3 bridge: mdb: Allow replace of a host-joined group
    76e56dbe508b3 net: flush_backlog() small changes
    ba59747562c49 r8169: don't scan PHY addresses > 0
    ded26f9e4cdbe ipv4: ip_gre: Fix set but not used warning in ipgre_err() if IPv4-only
    a6644aeb8ddf1 vxlan: Annotate FDB data races
    61e931ee145ee cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost
    b82e496531c57 net/mlx5e: Avoid WARN_ON when configuring MQPRIO with HTB offload enabled
    91526279362d3 tools: ynl-gen: don't output external constants
    37c07516ac6a5 eth: fbnic: set IFF_UNICAST_FLT to avoid enabling promiscuous mode when adding unicast addrs
    d2b58a10228a9 drm/rockchip: vop2: Improve display modes handling on RK3588 HDMI0
    91c53b8cd81ce media: qcom: camss: Add default case in vfe_src_pad_code
    85e0e03303390 media: qcom: camss: csid: Only add TPG v4l2 ctrl if TPG hardware is available
    1d15319323d84 f2fs: introduce f2fs_base_attr for global sysfs entries
    77818483460b5 hwmon: (xgene-hwmon) use appropriate type for the latency value
    c4092cb06398f tools/power turbostat: Clustered Uncore MHz counters should honor show/hide options
    247b420fea798 net: page_pool: avoid false positive warning if NAPI was never added
    b063f36a929a3 clk: qcom: camcc-sm8250: Use clk_rcg2_shared_ops for some RCGs
    2368794c0cf41 wifi: rtw89: call power_on ahead before selecting firmware
    01edf9255f33d wifi: rtw89: fw: validate multi-firmware header before accessing
    f4c99c7b710b1 wifi: rtw89: fw: validate multi-firmware header before getting its size
    2eb2cfca35801 wifi: rtw89: coex: Assign value over than 0 to avoid firmware timer hang
    50f78100b9393 wifi: rtw88: Fix __rtw_download_firmware() for RTL8814AU
    1c564864438b2 wifi: rtw88: Fix download_firmware_validate() for RTL8814AU
    2a25d61107c6e ext4: remove writable userspace mappings before truncating page cache
    73733c2fdb378 ext4: don't write back data before punch hole in nojournal mode
    39255ab2edfb0 leds: trigger: netdev: Configure LED blink interval for HW offload
    16ddd67bb5579 pstore: Change kmsg_bytes storage size to u32
    556f53a8ec374 iio: adc: ad7944: don't use storagebits for sizing
    7fea5a914001a r8152: add vendor/device ID pair for Dell Alienware AW1022z
    9f2911868a733 ip: fib_rules: Fetch net from fib_rule in fib[46]_rule_configure().
    f9ab6efdee1ff arch/powerpc/perf: Check the instruction type before creating sample with perf_mem_data_src
    c2e02e2b21591 powerpc/pseries/iommu: create DDW for devices with DMA mask less than 64-bits
    9aeaf1956e75a powerpc/pseries/iommu: memory notifier incorrectly adds TCEs for pmemory
    701118e6f621f net: fec: Refactor MAC reset to function
    641ad8d64a08c wifi: mac80211: set ieee80211_prep_tx_info::link_id upon Auth Rx
    8315b79220d2d wifi: mac80211: remove misplaced drv_mgd_complete_tx() call
    26e384fafda89 wifi: mac80211: don't unconditionally call drv_mgd_complete_tx()
    8e1800f1db7eb wifi: iwlwifi: don't warn during reprobe
    15d8ceef9289f wifi: iwlwifi: use correct IMR dump variable
    4d8fd111e0f55 mptcp: pm: userspace: flags: clearer msg if no remote addr
    6a0997d78ffa3 wifi: ath12k: fix the ampdu id fetch in the HAL_RX_MPDU_START TLV
    06daedb4439bb xfrm: prevent high SEQ input in non-ESN mode
    bbd6dc1fb6c56 drm/v3d: Add clock handling
    e5a69d1696323 net/mlx5e: reduce the max log mpwrq sz for ECPF and reps
    74d153d8ec150 net/mlx5e: reduce rep rxq depth to 256 for ECPF
    af94d4f46c09a net/mlx5e: set the tx_queue_len for pfifo_fast
    a3a845ebc8f98 net/mlx5: Extend Ethtool loopback selftest to support non-linear SKB
    4a94ccac4930d net/mlx5: XDP, Enable TX side XDP multi-buffer support
    d4df87dae1444 scsi: target: spc: Fix loop traversal in spc_rsoc_get_descr()
    9acae6e987058 drm/amd/display/dm: drop hw_support check in amdgpu_dm_i2c_xfer()
    f5e9d0d206cbd drm/amdgpu: enlarge the VBIOS binary size limit
    7ef18e2ffdc12 drm/amdgpu: Use active umc info from discovery
    1bb46b5433a8a drm/amd/display: Populate register address for dentist for dcn401
    af3d57ea9ec74 drm/amd/display: Use Nominal vBlank If Provided Instead Of Capping It
    e55c5704b12ee drm/amd/display: Increase block_sequence array size
    17e40a52a1492 drm/amd/display: Initial psr_version with correct setting
    563adeeeb0ffa drm/amd/display: Update CR AUX RD interval interpretation
    47bfc7a02704f Revert "drm/amd/display: Exit idle optimizations before attempt to access PHY"
    45068cc170ebf drm/amd/display: Support multiple options during psr entry.
    4f4cb81def433 drm/amd/pm: Skip P2S load for SMU v13.0.12
    a25d045ebfbce drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
    ed2039d840a12 drm/amd/display: Don't try AUX transactions on disconnected link
    a8726bee7046d drm/amd/display: pass calculated dram_speed_mts to dml2
    452807a863018 drm/amdgpu: Set snoop bit for SDMA for MI series
    5ca70518bc23d drm/amdkfd: fix missing L2 cache info in topology
    365d302ac763d drm/amdgpu/mes11: fix set_hw_resources_1 calculation
    11c7fa11fa076 net: stmmac: dwmac-loongson: Set correct {tx,rx}_fifo_size
    97dba4472e484 soundwire: cadence_master: set frame shape and divider based on actual clk freq
    c043867b654ec soundwire: amd: change the soundwire wake enable/disable sequence
    164c9f5edf2ae phy: exynos5-usbdrd: fix EDS distribution tuning (gs101)
    ef31dc41cf67b phy: core: don't require set_mode() callback for phy_get_mode() to work
    afb512502f2d7 phy: phy-rockchip-samsung-hdptx: Swap the definitions of LCPLL_REF and ROPLL_REF
    a507a213e82ca pinctrl: renesas: rzg2l: Add suspend/resume support for pull up/down
    5de11f82cbfd1 serial: sh-sci: Update the suspend/resume support
    e6e31b0182de5 sched: Reduce the default slice to avoid tasks getting an extra tick
    9c5f85b72fa6d x86/traps: Cleanup and robustify decode_bug()
    eb6fd16b4fc4f x86/ibt: Handle FineIBT in handle_cfi_failure()
    b870651021223 drm/xe/debugfs: Add missing xe_pm_runtime_put in wedge_mode_set
    cf126a14584e5 drm/xe/debugfs: fixed the return value of wedged_mode_set
    6469a2b1140d0 clk: qcom: clk-alpha-pll: Do not use random stack value for recalc rate
    328a2ec198e70 clk: qcom: ipq5018: allow it to be bulid on arm32
    01d28e67f567b drm/xe: Fix xe_tile_init_noalloc() error propagation
    884d64e8e4dc6 drm/xe: Stop ignoring errors from xe_ttm_stolen_mgr_init()
    50c5bbb45c7df net/mlx4_core: Avoid impossible mlx4_db_alloc() order value
    69689d1138c85 media: v4l: Memset argument to 0 before calling get_mbus_config pad op
    9a981079097be media: i2c: imx219: Correct the minimum vblanking value
    12aeff4944dc6 kunit: tool: Use qboot on QEMU x86_64
    8f5ce688c8318 smack: Revert "smackfs: Added check catlen"
    316f2911fb11a smack: recognize ipv4 CIPSO w/o categories
    5b1b4cb46d951 pinctrl: devicetree: do not goto err when probing hogs in pinctrl_dt_to_map
    c4260bf83b429 ASoC: soc-dai: check return value at snd_soc_dai_set_tdm_slot()
    2ea042779621d ASoC: tas2764: Power up/down amp on mute ops
    409c12ce79b33 ASoC: tas2764: Mark SW_RESET as volatile
    8d8083881ecbb ASoC: tas2764: Add reg defaults for TAS2764_INT_CLK_CFG
    000dd6e3441fc ASoC: ops: Enforce platform maximum on initial value
    83ea947238953 firmware: xilinx: Dont send linux address to get fpga config get status
    e1c4bb3774421 firmware: arm_ffa: Handle the presence of host partition in the partition info
    3a3fab1be5a0c firmware: arm_ffa: Reject higher major version as incompatible
    587386c56fb88 net/mlx5: Apply rate-limiting to high temperature warning
    c4e1ce22b9ab9 net/mlx5: Modify LSB bitmask in temperature event to include only the first bit
    3770acff3110f media: test-drivers: vivid: don't call schedule in loop
    2fe6284364423 irqchip/riscv-imsic: Set irq_set_affinity() for IMSIC base
    dc5f5c9d2bbc6 hrtimers: Replace hrtimer_clock_to_base_table with switch-case
    7f131fda2654e vxlan: Join / leave MC group after remote changes
    1fb8106316a21 ACPI: HED: Always initialize before evged
    82b54455b6b7f PCI: Fix old_size lower bound in calculate_iosize() too
    161cc125043a2 eth: mlx4: don't try to complete XDP frames in netpoll
    46ba5757a7a47 bpf: copy_verifier_state() should copy 'loop_entry' field
    2b129e89b8c6e bpf: don't do clean_live_states when state->loop_entry->branches > 0
    eaeb67bd851ce can: c_can: Use of_property_present() to test existence of DT property
    a89326d35bf6f pmdomain: imx: gpcv2: use proper helper for property detection
    3ccfdd5b33742 RDMA/core: Fix best page size finding when it can cross SG entries
    e6a46719a2369 serial: mctrl_gpio: split disable_ms into sync and no_sync APIs
    b14e726d57f61 drm/amd/display: Don't treat wb connector as physical in create_validate_stream_for_sink
    cee5d56fa783f Revert "drm/amd/display: Request HW cursor on DCN3.2 with SubVP"
    775f3afa6ade1 drm/amd/display: Read LTTPR ALPM caps during link cap retrieval
    1e826acee1165 drm/amd/display: Fix BT2020 YCbCr limited/full range input
    2bba67f03071a drm/amd/display: Guard against setting dispclk low when active
    b02b561bf7692 drm/amd/display: Add support for disconnected eDP streams
    94e6687ceda91 drm/amd/pm: Fetch current power limit from PMFW
    098788e118d1e irqchip/riscv-imsic: Separate next and previous pointers in IMSIC vector
    d85004266a32c eeprom: ee1004: Check chip before probing
    011a62d2d79ac mfd: axp20x: AXP717: Add AXP717_TS_PIN_CFG to writeable regs
    a82c0c3996771 i3c: master: svc: Flush FIFO before sending Dynamic Address Assignment(DAA)
    7d0c92af8d355 EDAC/ie31200: work around false positive build warning
    4593aaf48fc16 power: supply: axp20x_battery: Update temp sensor for AXP717 from device tree
    6b1d3e9db82d0 net: pktgen: fix access outside of user given buffer in pktgen_thread_write()
    d37783f25a3c8 wifi: rtw89: 8922a: fix incorrect STA-ID in EHT MU PPDU
    7dafba4e854cd wifi: rtw89: fw: add blacklist to avoid obsolete secure firmware
    6ffcf25e63226 wifi: rtw89: fw: get sb_sel_ver via get_unaligned_le32()
    1cbef396c5f3b wifi: rtw89: fw: propagate error code from rtw89_h2c_tx()
    a4523765fa3a9 wifi: rtw88: Fix rtw_desc_to_mcsrate() to handle MCS16-31
    adcc65afaa979 wifi: rtw88: Fix rtw_init_ht_cap() for RTL8814AU
    9a3f80a727aac wifi: rtw88: Fix rtw_init_vht_cap() for RTL8814AU
    1653c72dabfd6 scsi: mpt3sas: Send a diag reset if target reset fails
    b5038d313a3b7 PCI: epf-mhi: Update device ID for SA8775P
    0b21e99cf638b clocksource: mips-gic-timer: Enable counter when CPUs start
    1a3529f36f26e MIPS: pm-cps: Use per-CPU variables as per-CPU, not per-core
    53f42776e435f genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie
    5111c2e0cf2b6 x86/locking: Use ALT_OUTPUT_SP() for percpu_{,try_}cmpxchg{64,128}_op()
    95b8f2b7d9312 drm/amdgpu: remove all KFD fences from the BO on release
    af706d0e279fc MIPS: Use arch specific syscall name match function
    9058b48578aea drm/xe/oa: Ensure that polled read returns latest data
    4d9fa2ebc01c4 net: ipv6: Init tunnel link-netns before registering dev
    897c98fb32801 crypto: skcipher - Zap type in crypto_alloc_sync_skcipher
    9f27b38771b05 crypto: ahash - Set default reqsize from ahash_alg
    562e512f6bf99 x86/kaslr: Reduce KASLR entropy on most x86 systems
    0bdaab17a2a17 net/mlx5: Change POOL_NEXT_SIZE define value and make it global
    d2d76fc02543a scsi: scsi_debug: First fixes for tapes
    b55a97d1bd408 dm: fix unconditional IO throttle caused by REQ_PREFLUSH
    2c600cbe33f20 libbpf: Fix out-of-bound read
    20a53c3689a20 loop: check in LO_FLAGS_DIRECT_IO in loop_default_blocksize
    5b62f941eae80 scsi: mpi3mr: Update timestamp only for supervisor IOCs
    a68686c08b70b net/mlx5e: Add correct match to check IPSec syndromes for switchdev mode
    c2aa6567a6a48 media: tc358746: improve calculation of the D-PHY timing registers
    bb8fb041cba26 media: adv7180: Disable test-pattern control on adv7180
    083383aba01f2 cpuidle: menu: Avoid discarding useful information
    0d508cefcd24a vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines
    6398dd09d50b4 vhost-scsi: Return queue full for page alloc failures during copy
    7eb29d704d276 x86/nmi: Add an emergency handler in nmi_desc & use it in nmi_shootdown_cpus()
    7bbfaa24c02f4 ASoC: mediatek: mt8188: Add reference for dmic clocks
    4a21b57d83c55 ASoC: mediatek: mt8188: Treat DMIC_GAINx_CUR as non-volatile
    6e5935b755b4a drm/amd/display: Fix mismatch type comparison
    990e4fb37bcd4 drm/amd/display: fix dcn4x init failed
    54dd746ed8a30 drm/amd/display: handle max_downscale_src_width fail check
    5cab1de0cea28 x86/build: Fix broken copy command in genimage.sh when making isoimage
    de48b82dcf583 Octeontx2-af: RPM: Register driver with PCI subsys IDs
    673dde8d3c3ec bpf: Search and add kfuncs in struct_ops prologue and epilogue
    06100e642f4b8 soc: ti: k3-socinfo: Do not use syscon helper to build regmap
    54ef1a89e287e wifi: ath12k: Improve BSS discovery with hidden SSID in 6 GHz band
    e39fd41117bd9 bonding: report duplicate MAC address in all situations
    f872f7aaa4cac net: xgene-v2: remove incorrect ACPI_PTR annotation
    459b3f7cf0dcf net: ethernet: mtk_ppe_offload: Allow QinQ, double ETH_P_8021Q only
    562b4f70bf88a leds: pwm-multicolor: Add check for fwnode_property_read_u32
    b8fcb1cdbfc0c drm/xe: xe_gen_wa_oob: replace program_invocation_short_name
    0d8562e358176 drm/amdkfd: KFD release_work possible circular locking
    1dd943dfb56f8 pinctrl: sophgo: avoid to modify untouched bit when setting cv1800 pinconf
    baaf3084c2cb9 selftests/net: have `gro.sh -t` return a correct exit code
    11e721443c564 net/mlx5: Avoid report two health errors on same syndrome
    1f512005f497d drm/xe/pf: Create a link between PF and VF devices
    df888ad55f8f8 drm/xe/vf: Retry sending MMIO request to GUC on timeout error
    3a3efeef64364 firmware: arm_ffa: Set dma_mask for ffa devices
    12153e3948c59 PCI: brcmstb: Add a softdep to MIP MSI-X driver
    3ffaa2e999380 PCI: brcmstb: Expand inbound window size up to 64GB
    7add9c10ca284 wifi: ath12k: Report proper tx completion status to mac80211
    1c2c538bbd602 soc: apple: rtkit: Implement OSLog buffers properly
    92c6687ba951f soc: apple: rtkit: Use high prio work queue
    e359d62886cb1 perf: arm_pmuv3: Call kvm_vcpu_pmu_resync_el0() before enabling counters
    b38fbf98645be fpga: altera-cvp: Increase credit timeout
    7857d8977e986 drm/mediatek: mtk_dpi: Add checks for reg_h_fre_con existence
    89800836bf32f ARM: at91: pm: fix at91_suspend_finish for ZQ calibration
    cd62e9d42fe76 hwmon: (gpio-fan) Add missing mutex locks
    e7e30a4a37d1e x86/bugs: Make spectre user default depend on MITIGATION_SPECTRE_V2
    0d232fa3b0769 clk: imx8mp: inform CCF of maximum frequency of clocks
    2d6231d5ce9b6 media: uvcvideo: Handle uvc menu translation inside uvc_get_le_value
    b98aad5e5ebf9 media: uvcvideo: Add sanity check to uvc_ioctl_xu_ctrl_map
    82209faa87f4a ublk: complete command synchronously on error
    564f03a7970c2 block: mark bounce buffering as incompatible with integrity
    f7226dedac039 drm/rockchip: vop2: Add uv swap for cluster window
    f33b310eac36a ipv4: fib: Move fib_valid_key_len() to rtm_to_fib_config().
    3de322a98b365 scsi: logging: Fix scsi_logging_level bounds
    500d22dbd9662 ALSA: hda/realtek: Enable PC beep passthrough for HP EliteBook 855 G7
    592ba27580364 perf/hw_breakpoint: Return EOPNOTSUPP for unsupported breakpoint type
    f9d15ef2e069d net: pktgen: fix mpls maximum labels list parsing
    8d7e13c31c526 media: imx335: Set vblank immediately
    4176d6f2a67b8 iommufd: Disallow allocating nested parent domain with fault ID
    af73c8fd7388d ublk: enforce ublks_max only for unprivileged devices
    c4f025a58eef1 dpll: Add an assertion to check freq_supported_num
    ebaed867bfd1e net: phy: nxp-c45-tja11xx: add match_phy_device to TJA1103/TJA1104
    94df9fd015ace net: ethernet: ti: cpsw_new: populate netdev of_node
    1a4a834f2af5b rcu: Fix get_state_synchronize_rcu_full() GP-start detection
    5aba8ac434d8b pinctrl: bcm281xx: Use "unsigned int" instead of bare "unsigned"
    4731d5328f507 media: cx231xx: set device_caps for 417
    f29c876d72d71 perf/core: Clean up perf_try_init_event()
    cc714c89ef5a9 drm/amd/display: Request HW cursor on DCN3.2 with SubVP
    1f2b3ea00717f drm/amd/display: Fix p-state type when p-state is unsupported
    e015cef8b78f6 drm/amd/display: Fix DMUB reset sequence for DCN401
    682c4226f317e drm/amd/display: Skip checking FRL_MODE bit for PCON BW determination
    5bf0fd2bd5efb drm/amd/display: Ensure DMCUB idle before reset on DCN31/DCN35
    a23f3910123b5 drm/amdgpu: Do not program AGP BAR regs under SRIOV in gfxhub_v1_0.c
    69bb5b3ae3480 remoteproc: qcom_wcnss: Handle platforms with only single power domain
    95080412e9304 blk-throttle: don't take carryover for prioritized processing of metadata
    c4525b513de39 net: phylink: use pl->link_interface in phylink_expects_phy()
    93f581d7634ff drm/gem: Test for imported GEM buffers with helper
    cd918ec24168f orangefs: Do not truncate file size
    6ad0673ab24f0 soc: mediatek: mtk-mutex: Add DPI1 SOF/EOF to MT8188 mutex tables
    cc80a5cc52093 dm cache: prevent BUG_ON by blocking retries on failed device resumes
    1c171908807cb usb: xhci: set page size to the xHCI-supported size
    5520fed18df86 media: c8sectpfe: Call of_node_put(i2c_bus) only once in c8sectpfe_probe()
    25056d1fe57eb ARM: tegra: Switch DSI-B clock parent to PLLD on Tegra114
    8fc16414c3ef7 soc: samsung: include linux/array_size.h where needed
    4943c0bae1248 drm/xe: Retry BO allocation
    623669ae7a820 drm/xe: Nuke VM's mapping upon close
    a3642d2d73a97 ieee802154: ca8210: Use proper setters and getters for bitwise types
    3afa1610e5a4e rtc: ds1307: stop disabling alarms on probe
    73d01bcbf2aad tcp: bring back NUMA dispersion in inet_ehash_locks_alloc()
    a06861298554b ALSA: seq: Improve data consistency at polling
    515a21a5e19ab powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7
    09193145d1180 arm64: tegra: Resize aperture for the IGX PCIe C5 slot
    2f0044e20fab1 arm64: tegra: p2597: Fix gpio for vdd-1v8-dis regulator
    ecaa856227ae4 drm/amdgpu: Fix missing drain retry fault the last entry
    c700730d816d6 drm/amdkfd: Set per-process flags only once cik/vi
    e1901e8e6bbc4 drm/amdkfd: Set per-process flags only once for gfx9/10/11/12
    6a1706dfe0569 crypto: mxs-dcp - Only set OTP_KEY bit for OTP key
    7caad075acb63 crypto: lzo - Fix compression buffer overrun
    f615e8d2dec67 misc: pci_endpoint_test: Give disabled BARs a distinct error code
    fe2329eff5bee PCI: endpoint: pci-epf-test: Fix double free that causes kernel to oops
    1e0398a349e85 watchdog: aspeed: Update bootstatus handling
    d95fdee2253e6 cpufreq: tegra186: Share policy per cluster
    11be3d3f956ba iommu/amd/pgtbl_v2: Improve error handling
    9032252905664 coresight-etb10: change etb_drvdata spinlock's type to raw_spinlock_t
    75ae2a3553611 badblocks: Fix a nonsense WARN_ON() which checks whether a u64 variable < 0
    7bd6061b0a44b ASoC: qcom: sm8250: explicitly set format in sm8250_be_hw_params_fixup()
    84c069dc5fc89 auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common"
    53ce754286180 gfs2: Check for empty queue in run_queue
    ff11cd673e477 drm/amd/display: Fix incorrect DPCD configs while Replay/PSR switch
    ed7eda66b20cb drm/amd/display: not abort link train when bw is low
    83e4f1de0802b drm/amd/display: calculate the remain segments for all pipes
    65e51bc2803bb drm/amd/display: remove minimum Dispclk and apply oem panel timing.
    c1502fc84d1c6 ipv6: save dontfrag in cork
    faba68a86ab79 wifi: cfg80211: allow IR in 20 MHz configurations
    22d8cc7f5d5a9 wifi: mac80211_hwsim: Fix MLD address translation
    07709d31829fd wifi: mac80211: fix warning on disconnect during failed ML reconf
    a791a6bf02c49 wifi: iwlwifi: fix the ECKV UEFI variable name
    7ce37a3ca0907 wifi: iwlwifi: mark Br device not integrated
    181e8b56b74ad wifi: iwlwifi: fix debug actions order
    1c55feb63827f wifi: iwlwifi: w/a FW SMPS mode selection
    0446d34a853d9 wifi: iwlwifi: don't warn when if there is a FW error
    101a3b9920a79 printk: Check CON_SUSPEND when unblanking a console
    063ad8885c7c6 iommu: Keep dev->iommu state consistent
    a21f1607d0b3c hwmon: (dell-smm) Increment the number of fans
    aef1b639ae2a8 wifi: iwlwifi: mvm: fix setting the TK when associated
    3a75fe58a164a usb: xhci: Don't change the status of stalled TDs on failed Stop EP
    28306c58daf81 mmc: sdhci: Disable SD card clock before changing parameters
    38828e0dc771c mmc: dw_mmc: add exynos7870 DW MMC support
    8ad58a7eba6db arm64/mm: Check PUD_TYPE_TABLE in pud_bad()
    6215143ad372d arm64/mm: Check pmd_table() in pmd_trans_huge()
    4f89f257f32da phy: rockchip: usbdp: Only verify link rates/lanes/voltage when the corresponding set flags are set
    236a87e9d2110 PNP: Expand length of fixup id string
    21153e0974fcc netfilter: conntrack: Bound nf_conntrack sysctl writes
    4210174827586 wifi: rtw89: set force HE TB mode when connecting to 11ax AP
    3fb9ee05ec15f timer_list: Don't use %pK through printk()
    6e816a97fa840 net: hsr: Fix PRP duplicate detection
    f933879c5b6a6 net: stmmac: dwmac-rk: Validate GRF and peripheral GRF during probe
    ae22452d15c89 posix-timers: Ensure that timer initialization is fully visible
    d0dc233fe2241 posix-timers: Add cond_resched() to posix_timer_add() search loop
    135dde13b96d5 RDMA/uverbs: Propagate errors from rdma_lookup_get_uobject()
    785ac69911332 ext4: do not convert the unwritten extents if data writeback fails
    2f5f326214321 ext4: reject the 'data_err=abort' option in nojournal mode
    3039f0c9c7554 clk: qcom: lpassaudiocc-sc7280: Add support for LPASS resets for QCM6490
    3673382803c51 ASoC: sun4i-codec: support hp-det-gpios property
    de3c09de746f7 drm/amdgpu: Update SRIOV video codec caps
    858425dc2df3e drm/amdgpu/gfx11: don't read registers in mqd init
    73d437ae63ce6 drm/amdgpu/gfx12: don't read registers in mqd init
    580750a317d7b mfd: tps65219: Remove TPS65219_REG_TI_DEV_ID check
    27b19f29c9a06 pinctrl-tegra: Restore SFSEL bit when freeing pins
    f5363ffdabc2a xen: Add support for XenServer 6.1 platform device
    8ef935698f3fd net/smc: use the correct ndev to find pnetid by pnetid table
    174dedce648aa dm: restrict dm device size to 2^63-512 bytes
    ee87fc3a1271f crypto: octeontx2 - suppress auth failure screaming due to negative tests
    572ed3fb99c4e kconfig: do not clear SYMBOL_VALID when reading include/config/auto.conf
    61d7c8a753445 kbuild: fix argument parsing in scripts/config
    555c0b713ca83 bpf: Allow pre-ordering for bpf cgroup progs
    6c303960b1443 ASoC: mediatek: mt6359: Add stub for mt6359_accdet_enable_jack_detect
    e8358aa00ea7b ASoC: pcm6240: Drop bogus code handling IRQ as GPIO
    0076b0423b2cd spi: spi-mux: Fix coverity issue, unchecked return value
    b35ccfdc8573e erofs: initialize decompression early
    c8c643809f4a1 thunderbolt: Do not add non-active NVM if NVM upgrade is disabled for retimer
    2585e6cbd96eb objtool: Fix error handling inconsistencies in check()
    a0d34b9be2bee rtc: rv3032: fix EERD location
    dab35f4921f85 tcp: reorganize tcp_in_ack_event() and tcp_count_delivered()
    50452704ecbad jbd2: do not try to recover wiped journal
    e2520cc19b758 PCI: dwc: Use resource start as ioremap() input in dw_pcie_pme_turn_off()
    e658f2d94a74c bpf: Return prog btf_id without capable check
    66e8f1d64b1b0 vfio/pci: Handle INTx IRQ_NOTCONNECTED
    0268f485aa69f scsi: st: ERASE does not change tape location
    c6d366f8d24ff scsi: st: Tighten the page format heuristics with MODE SELECT
    853a4e7439ef1 hypfs_create_cpu_files(): add missing check for hypfs_mkdir() failure
    94c3cbc69abbb ext4: reorder capability check last
    a55ebe30f17a0 riscv: Call secondary mmu notifier when flushing the tlb
    5cdd304662d54 bnxt_en: Query FW parameters when the CAPS_CHANGE bit is set
    34253084291cb wifi: mwifiex: Fix HT40 bandwidth issue.
    728945c962695 um: Update min_low_pfn to match changes in uml_reserved
    d6d2f664cbf3b um: Store full CSGSFS and SS register from mcontext
    7790a9449cf43 clocksource/drivers/timer-riscv: Stop stimecmp when cpu hotplug
    39ff1903246aa dlm: make tcp still work in multi-link env
    f3ea633a111e0 s390/tlb: Use mm_has_pgste() instead of mm_alloc_pgste()
    1ea4653cff35c i3c: master: svc: Fix missing STOP for master request
    94206e0d72f7a drm/amdgpu: adjust drm_firmware_drivers_only() handling
    85bda883a634c drm/amd/display: Guard against setting dispclk low for dcn31x
    ca8fcb8bcef33 drm/amdgpu: release xcp_mgr on exit
    a5a507fa5f223 blk-cgroup: improve policy registration error handling
    c60f8684a8118 btrfs: send: return -ENAMETOOLONG when attempting a path that is too long
    c4845a09a1edd btrfs: get zone unusable bytes while holding lock at btrfs_reclaim_bgs_work()
    0058c61d47ee1 btrfs: fix non-empty delayed iputs list on unmount due to async workers
    8629f9d9a92e8 btrfs: run btrfs_error_commit_super() early
    a4840945f514c btrfs: avoid linker error in btrfs_find_create_tree_block()
    1144874b41dcd btrfs: make btrfs_discard_workfn() block_group ref explicit
    477a412a2f6cc i2c: pxa: fix call balance of i2c->clk handling routines
    3b9cf1c0fafa2 i2c: qup: Vote for interconnect bandwidth to DRAM
    c6f2694c580c2 x86/mm: Check return value from memblock_phys_alloc_range()
    d0f9875257440 x86/microcode: Update the Intel processor flag scan check
    8973fb71c9269 x86/smpboot: Fix INIT delay assignment for extended Intel Families
    44e041675383b x86/stackprotector/64: Only export __ref_stack_chk_guard on CONFIG_SMP
    63b7dade892b6 x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in UAPI headers
    ac3af695c4b00 wifi: mt76: mt7925: fix fails to enter low power mode in suspend state
    8b526e4d944ae wifi: mt76: mt7925: load the appropriate CLC data based on hardware type
    c9c64da88e38d wifi: mt76: mt7996: revise TXS size
    1d58321192052 wifi: mt76: mt7996: fix SER reset trigger on WED reset
    fa6c05122fb82 wifi: mt76: only mark tx-status-failed frames as ACKed on mt76x0/2
    8f82cf305efd6 cgroup/rstat: avoid disabling irqs for O(num_cpu)
    dca76ee1f02ae drm/amdgpu: Skip pcie_replay_count sysfs creation for VF
    67bb2175095eb mmc: host: Wait for Vdd to settle on card power off
    4005036642a27 staging: vchiq_arm: Create keep-alive thread during probe
    123bcd8f42b7e pidfs: improve multi-threaded exec and premature thread-group leader exit polling
    1d1e1efad1cf0 libnvdimm/labels: Fix divide error in nd_label_data_init()
    37ac2434aae16 ext4: on a remount, only log the ro or r/w state when it has changed
    3e10592b477ec xen/pci: Do not register devices with segments >= 0x10000
    2a8bedeb963f0 PCI: vmd: Disable MSI remapping bypass under Xen
    8b80fd3f76f2a drm/amdkfd: set precise mem ops caps to disabled for gfx 11 and 12
    98e38fe7d3557 drm/amdgpu/discovery: check ip_discovery fw file available
    1630224189cc4 pNFS/flexfiles: Report ENETDOWN as a connection error
    a1596965a7c82 tools/build: Don't pass test log files to linker
    2780aa8394415 r8169: disable RTL8126 ZRX-DC timeout
    e63b634806a1d PCI: dwc: ep: Ensure proper iteration over outbound map windows
    c0c59a1f77665 objtool: Properly disable uaccess validation
    ac30595154da0 lockdep: Fix wait context check on softirq for PREEMPT_RT
    44b79041c44ae dql: Fix dql->limit value when reset.
    f48ee562c095e Bluetooth: Disable SCO support if READ_VOICE_SETTING is unsupported/broken
    7ec409ee15ac1 Bluetooth: btmtksdio: Prevent enabling interrupts after IRQ handler removal
    7cfde2a482800 thermal/drivers/qoriq: Power down TMU on system suspend
    c347928320080 thermal/drivers/mediatek/lvts: Start sensor interrupts disabled
    7b32d4e62c871 net: tn40xx: create swnode for mdio and aqr105 phy and add to mdiobus
    b07ba838aded8 net: tn40xx: add pci-id of the aqr105-based Tehuti TN4010 cards
    9e542640c2e59 mctp: Fix incorrect tx flow invalidation condition in mctp-i2c
    c0d63ee0dd063 ASoC: codecs: wsa883x: Correct VI sense channel mask
    780699001b8e2 ASoC: codecs: wsa884x: Correct VI sense channel mask
    ace57bd1fb49d spi-rockchip: Fix register out of bounds access
    dac9e6af5328f SUNRPC: rpcbind should never reset the port to the value '0'
    984d8a392f6b3 SUNRPC: rpc_clnt_set_transport() must not change the autobind setting
    71e07bb1556c7 NFSv4: Treat ENETUNREACH errors as fatal for state recovery
    1e317f5781160 cifs: Fix establishing NetBIOS session for SMB2+ connection
    51d44dba94e79 cifs: add validation check for the fields in smb_aces
    15c961d7a9e5f cifs: Set default Netbios RFC1001 server name to hostname in UNC
    ff968e486e420 fbdev: core: tileblit: Implement missing margin clearing for tileblit
    8c912c0a6860c fbcon: Use correct erase colour for clearing in fbcon
    230abe5d3f68b fbdev: fsl-diu-fb: add missing device_remove_file()
    6427b5c0f0aae riscv: Allow NOMMU kernels to access all of RAM
    15787ab82a461 mailbox: use error ret code of of_parse_phandle_with_args()
    2c80f975e94d5 mailbox: pcc: Use acpi_os_ioremap() instead of ioremap()
    2d21895e77c64 tpm: Convert warn to dbg in tpm2_start_auth_session()
    2eb8f4701961b ACPI: PNP: Add Intel OC Watchdog IDs to non-PNP device list
    4f427ca9edf89 tracing: Mark binary printing functions with __printf() attribute
    b4c11dd41c40c iommufd: Extend IOMMU_GET_HW_INFO to report PASID capability
    e506751b7dd98 arm64: Add support for HIP09 Spectre-BHB mitigation
    1a9b696a003ae SUNRPC: Don't allow waiting for exiting tasks
    ac83bf58f6876 NFS: Don't allow waiting for exiting tasks
    46a47dc10fa78 NFSv4: Check for delegation validity in nfs_start_delegation_return_locked()
    01677e7ee12f2 io_uring/msg: initialise msg request opcode
    bab0bd138910e exfat: call bh_read in get_block only when necessary
    d40ca27602eab fuse: Return EPERM rather than ENOSYS from link()
    c9a508b6bbd2f smb: client: Store original IO parameters and prevent zero IO sizes
    150f38eddefc4 cifs: Fix negotiate retry functionality
    0705b6d5bc328 cifs: Fix querying and creating MF symlinks over SMB1
    6ebb9d54eccc8 cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES
    100b452e0eeda s390/vfio-ap: Fix no AP queue sharing allowed message written to kernel log
    c42f740a07eea x86/fred: Fix system hang during S4 resume with FRED enabled
    192b02f8c7ba8 kconfig: merge_config: use an empty file as initfile
    dac9d6ad5eaf7 samples/bpf: Fix compilation failure for samples/bpf on LoongArch Fedora
    8014d3e56ec0c bpf: fix possible endless loop in BPF map iteration
    218c838d0356a io_uring: don't duplicate flushing in io_req_post_cqe
    64f505b08e0cf block: fix race between set_blocksize and read paths
    e9f646f089bc3 selftests/bpf: Mitigate sockmap_ktls disconnect_after_delete failure
    cd39fae34f094 drm/amdgpu: Allow P2P access through XGMI
    36cb568f559ad drm/amd/display: Enable urgent latency adjustment on DCN35
    9ece099e951a5 fs/ext4: use sleeping version of sb_find_get_block()
    f1c5aa614b5c2 fs/jbd2: use sleeping version of __find_get_block()
    aafc270531431 fs/ocfs2: use sleeping version of __find_get_block()
    a49a4a87cea36 fs/buffer: use sleeping version of __find_get_block()
    e138fc2316c32 fs/buffer: introduce sleeping flavors for pagecache lookups
    4f5553a08fb74 fs/buffer: split locking for pagecache lookups
    836917e7a65cd ima: process_measurement() needlessly takes inode_lock() on MAY_READ
    e22034cbee52b dma-mapping: Fix warning reported for missing prototype
    7f7f70c316976 net: enetc: refactor bulk flipping of RX buffers to separate function
    523c08f630a3d scsi: mpi3mr: Add level check to control event logging
    bd8c9404e44ad vhost-scsi: protect vq->log_used with vq->mutex
    f93675793bdcd vhost_task: fix vhost_task_create() documentation
    97edaa0ec64c5 cgroup: Fix compilation issue due to cgroup_mutex not being exported
    3eec42a17ad4d dma-mapping: avoid potential unused data compilation warning
    a8dd6b7b391d9 mei: vsc: Use struct vsc_tp_packet as vsc-tp tx_buf and rx_buf type
    de8c0b93a63cf intel_th: avoid using deprecated page->mapping, index fields
    299881317756d dma/mapping.c: dev_dbg support for dma_addressing_limited
    b730cb109633c virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN
    7aea1517fb6c9 scsi: ufs: Introduce quirk to extend PA_HIBERN8TIME for UFS devices
    87389bff743c5 scsi: target: iscsi: Fix timeout on deleted connection
    1603a34b80ffb nvmem: qfprom: switch to 4-byte aligned reads
    410f8b72e02c6 nvmem: core: update raw_len if the bit reading is required
    4327479e559c0 nvmem: core: verify cell's raw_len
    a4f865ecdbdd2 nvmem: core: fix bit offsets of more than one byte
    d6abe0f6ade98 nvmem: rockchip-otp: add rk3576 variant data
    49b4e88b559cd nvmem: rockchip-otp: Move read-offset into variant-data
    3fc60952271b6 cpufreq: Add SM8650 to cpufreq-dt-platdev blocklist
    c000fc26c431e phy: renesas: rcar-gen3-usb2: Assert PLL reset on PHY power off
    918d43686271e phy: renesas: rcar-gen3-usb2: Lock around hardware registers and driver data
    64cf5b896fd39 phy: renesas: rcar-gen3-usb2: Move IRQ request in probe
    0abae7dc42f21 i2c: designware: Fix an error handling path in i2c_dw_pci_probe()
    0d1002c60cd47 i2c: designware: Use temporary variable for struct device
    4fa55c5230f4c drm/amd/display: Defer BW-optimization-blocked DRR adjustments
    5f05863810cfd drm/amd/display: Correct timing_adjust_pending flag setting.
    839b2350b861f drm/amd/display: Do not enable replay when vtotal update is pending.
    892f054b3fa2a drm/amd/display: Configure DTBCLK_P with OPTC only for dcn401

(From OE-Core rev: fdb0a51598156f99aa91f7495d7eada92a459e97)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Bruce Ashfield
80753bf52b linux-yocto/6.12: revert riscv config sync
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: Revert "bsp/qemuriscv32: Sync config with upstream defconfig 6.12+"
    Date: Thu, 29 May 2025 18:53:48 -0700

    These options are infact required for qemu riscv32 emulation.

    This reverts commit 64e08f7f69c662efe5f3780e7e42fc80635ad16f.

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 1baa2ede9b759632bd97f3308752ec863dc6543e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Khem Raj
5f624ba337 vulkan-samples: Upgrade to tip of main
Fixes build with clang-20 as it updates fmt to latest

complete changes are here [1]

[1] eca122602a...d27205d14d

(From OE-Core rev: a0df43a0f117a53e9008ca6e970a3e1d1ff55367)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Fabio Estevam
37c112ae9d mtd-utils: Update the upstream status
All the patches have been accepted upstream.

Update the Uptream-Status tags accordingly.

(From OE-Core rev: f75f8ce638f53334056cff6cae7d45d559079ec6)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Peter Kjellerstedt
394592ed58 m4: Backport a patch to build with --disable-nls
Building with USE_NLS = "no" results in the following errors:

  lib/spawn-pipe.c: In function 'create_pipe':
  lib/spawn-pipe.c:218:7: error: format not a string literal and no
  format arguments [-Werror=format-security]
    218 |       error (EXIT_FAILURE, errno, _("cannot create pipe"));
        |       ^~~~~
  lib/spawn-pipe.c:221:7: error: format not a string literal and no
  format arguments [-Werror=format-security]
    221 |       error (EXIT_FAILURE, errno, _("cannot create pipe"));
        |       ^~~~~
  lib/clean-temp.c: In function 'create_temp_dir':
  lib/clean-temp.c:234:7: error: format not a string literal and no
  format arguments [-Werror=format-security]
    234 |       error (0, errno,
        |       ^~~~~

Backport a patch from gnulib to avoid the problem.

(From OE-Core rev: 635df18f32e8f13cc5897737450dbd9f9207db3b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Hiago De Franco
19bee937be libgcrypt: fix compile error for t-thread-local
Currently the libgcrypt-native build is failing with the following
error:

| ld: t_thread_local-t-thread-local.o: in function `main':
| t-thread-local.c:(.text.startup+0x187): undefined reference to `pthread_create'
| ld: t-thread-local.c:(.text.startup+0x1d0): undefined reference to `pthread_join'

Backport the fix from upstream and add "-lpthread" to
"t_thread_local_CFLAGS" to make the compilation successfull, similar to
what 0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch
does.

(From OE-Core rev: d2daf78a083688b82625800919cdc6c6555fcc52)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00
Richard Purdie
34383435b6 oeqa/maturin/guessing-game: Bump dependencies to avoid security warning
The Cargo.toml lock for guessing-game, used to test maturin has a minor security
advisory which keeps tripping up github's automated security analysis, "PyO3
Risk of buffer overflow in `PyString::from_object`".

Bump the minimum version requirement for pyo3 to avoid this warning even if it
isn't anything critical and just automated tests.

(From OE-Core rev: 2e817e6e4d53543766b935479b148a1950cc37c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-04 08:08:34 +01:00
Tim Orling
5b26a2b507 python3-maturin: upgrade 1.8.3 -> 1.8.6
* Add comment about riscv32gc ioctl codes patch, it is needed until libc
  version is 0.2.172 or greater in Cargo.lock.

Comparing changes since 1.8.3:
https://github.com/PyO3/maturin/compare/v1.8.3...v1.8.6

Changelog:

1.8.6
* Print a message when overriding platform tag from _PYTHON_HOST_PLATFORM
  in #2594
* Use the current python interpreter's version when the abi3 feature is set
  with no explicit version in #2597

1.8.5
* Fix release CI build

1.8.4
* Install a Rust toolchain into a temporary directory when building maturin
  itself or a package and a Rust toolchain is missing. Set
  MATURIN_NO_INSTALL_RUST to disable this behavior. #2421
* Fix broken maturin develop with latest uv in #2584
* Add PYO3_PYTHON env var support in #2534
* Sort RECORD file in wheel archives to make them deterministic in #2550
* Publish wheel for loongarch64 in #2548
* Add --compression-level option to build command in #2572

(From OE-Core rev: 92387900825dc6570c9bb43ca4b5a7d44f821f5c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-03 10:01:27 +01:00
Richard Purdie
952d93e89f qemu: Disable hanging ptest for riscv64
One of the ptests keeps hanging on qemuriscv64. Until it is investigated, stop
it running for now. Also improve the debug output from the run-ptest script so
it is easier to see where things hang in future.

(From OE-Core rev: bf6a6ba96757471048044290318e32048040dae5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-03 08:05:30 +01:00
Robbin Van Damme
a2f77bbe0f bitbake: fetch/az: Add sanity check and clarify documentation
AZ_SAS token should be prefixed with a question mark. Add a sanity check for
this and fix the documentation.

[YOCTO #15882]

(Bitbake rev: 22011765202514600314732b97f1bb938e21f585)

Signed-off-by: Robbin Van Damme <robbinvandamme@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:43 +01:00
Richard Purdie
47ff241a84 qemu: Upgrade 10.0.0 -> 10.0.2
(From OE-Core rev: e2e7d46290c6ca43301ea635fb4a75ac23afa630)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Deepesh Varatharajan
c132bffab0 binutils: Fix CVE-2025-1181
PR 32641 [https://sourceware.org/bugzilla/show_bug.cgi?id=32641]
PR 32643 [https://sourceware.org/bugzilla/show_bug.cgi?id=32643]

Upstream-Status: Backport
[https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=18cc11a2771d9e40180485da9a4fb660c03efac3
&& https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=931494c9a89558acb36a03a340c01726545eef24]

(From OE-Core rev: f7ffc2ab17d0ae55f7193c6fe39ac081bd00f340)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Patrick Williams
e47d08d330 systemd.bbclass: generate preset for templates
There was a regression introduced by the change to use
systemd-systemctl-native rather than a python fake implementation,
which caused template units to not be properly enabled when set in
the SYSTEMD_SERVICE variable.  Through investigation, it seems that
the best way to re-enable template instances is to handle them
explicitly in the systemd.bbclass and enable them with `preset`, like
most units are handled[1,2].

Per the systemd.preset manpage, the format for template units is
different than for regular units[3].  We need to coalesce all the
template instances onto a single line and emit them as an additional
space-deliminated argument.

Ran this against openbmc's phosphor-ipmi-net recipe and generated
the following preset file:
```
$ cat packages-split/phosphor-ipmi-net/usr/lib/systemd/system-preset/98-phosphor-ipmi-net.preset
enable phosphor-ipmi-net@.service eth0
enable phosphor-ipmi-net@.socket eth0
```

[1]: https://lore.kernel.org/openembedded-core/Z2ch.1747051947055246176.oktf@lists.openembedded.org/
[2]: https://lore.kernel.org/openembedded-core/aDdoTVtCmElpURYD@heinlein/
[3]: https://www.freedesktop.org/software/systemd/man/latest/systemd.preset.html

Fixes: 7a580800db39 ("systemd: Build the systemctl executable")
(From OE-Core rev: f33d9b1f434e40a459614d8dc21ce45e11581008)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
303a4e377c python3-snowballstemmer: upgrade 2.2.0 -> 3.0.1
* Change to setuptools.build_meta PEP-517 backend

Comparing changes since 2.2.0:
https://github.com/snowballstem/snowball/compare/v2.2.0...v3.0.1

(From OE-Core rev: 1df380010733fd912106a23022ede0f785a017d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
5941357678 python3-urllib3: upgrade 2.3.0 -> 2.4.0
Comparing changes since 2.3.0:
https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0

Changelog:
https://urllib3.readthedocs.io/en/stable/changelog.html
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#240-2025-04-10

2.4.0 (2025-04-10)
Features
* Applied PEP 639 by specifying the license fields in pyproject.toml.
  (#3522)
* Updated exceptions to save and restore more properties during the
  pickle/serialization process. (#3567)
* Added verify_flags option to create_urllib3_context with a default of
  VERIFY_X509_PARTIAL_CHAIN and VERIFY_X509_STRICT for Python 3.13+.
  (#3571)

Bugfixes
* Fixed a bug with partial reads of streaming data in Emscripten. (#3555)

Misc
* Switched to uv for installing development dependecies. (#3550)
* Removed the multiple.intoto.jsonl asset from GitHub releases.
  Attestation of release files since v2.3.0 can be found on PyPI. (#3566)

(From OE-Core rev: a8bb08299140a5b7b548bd6b26a2973531602d6c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
52c4c4c9f5 python3-rpds-py: upgrade 0.24.0 -> 0.25.1
Comparing changes since 0.24.0:
https://github.com/crate-py/rpds/compare/v0.24.0...v0.25.1

Changelog:

v0.25.1
What's Changed
* Add windows arm64 wheel build by @finnagin in #133

v0.25.0
What's Changed
* Bump PyO3 to 0.25 by @edgarrmondragon in #135

(From OE-Core rev: 1567e8ae8b07a1fcd16101a7376be87c09cfbc36)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
44d88009fa python3-pyopenssl: upgrade 25.0.0 -> 25.1.0
Comparing changes since 25.0.0:
https://github.com/pyca/pyopenssl/compare/25.0.0...25.1.0

Changelog:

https://www.pyopenssl.org/en/latest/changelog.html

25.1.0 (2025-05-17):
Backward-incompatible changes:
* None

Deprecations:
* Attempting using any methods that mutate an OpenSSL.SSL.Context after
  it has been used to create an OpenSSL.SSL.Connection will emit a
  warning. In a future release, this will raise an exception.

Changes:
* cryptography maximum version has been increased to 45.0.x.

(From OE-Core rev: f83f00c1a5bb17e89651c5b19ec0a65e61a1bde7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
56cad27741 python3-cryptography,python3-cryptography-vectors: upgrade 44.0.2 -> 45.0.3
Comparing changes since 44.0.2:
https://github.com/pyca/cryptography/compare/44.0.2...45.0.3

Changelogs:
https://cryptography.io/en/latest/changelog/#v44-0-3
https://cryptography.io/en/latest/changelog/#v45-0-1
https://cryptography.io/en/latest/changelog/#v45-0-2
https://cryptography.io/en/latest/changelog/#v45-0-3

(From OE-Core rev: ff3908b2ccbe06dfcdbc47cb81f5b49c8d421150)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
13c32aecb7 python3-pluggy: upgrade 1.5.0 -> 1.6.0
Comparing changes since 1.5.0:
https://github.com/pytest-dev/pluggy/compare/1.5.0...1.6.0

Release notes:
https://pluggy.readthedocs.io/en/latest/changelog.html#pluggy-1-6-0-2025-05-15

Deprecations and Removals
* Python 3.8 is no longer supported. (#556)

Bug Fixes
* Fix a regression in pluggy 1.1.0 where using result.get_result() on the
  same failed Result causes the exception’s traceback to get longer and
  longer.(#504)
* Correctly pass StopIteration through hook wrappers.(#544)
* Raising a StopIteration in a generator triggers a RuntimeError.
* If the RuntimeError of a generator has the passed in StopIteration as
  cause resume with that StopIteration as normal exception instead of failing
  with the RuntimeError.

(From OE-Core rev: 23cfc453d8a03cd4edaad72ed4dbda9be7c47041)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Tim Orling
f0e16c47bc python3-setuptools-rust: upgrade 1.11.0 -> 1.11.1
Comparing changes since 0.11.0:
https://github.com/PyO3/setuptools-rust/compare/v1.11.0...v1.11.1

Fixed
* Fix finding cargo artifacts when filenames are empty. #521

(From OE-Core rev: 892c13ee87cf2cb190b1659dd4459401b046472d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Jason Schonberg
58c7fe0d28 icu: upgrade 76-1 -> 77-1
License-Update: Update copyright year of Unicode 3.0 license 2024 -> 2025

Update the HOMEPAGE to reflect where the address actually resolves.

(From OE-Core rev: d8da5da2c8f0674dcf5aa1646e0c1303a83aeafd)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Khem Raj
bf50c0ef77 clang: Upgrade to 20.1.6 minor release
Brings following commits

* 47addd4540b4 [libclc] Include isnan implementation for SPIR-V targets
* 4b6e5a286653 [clang-format] Handle Java text blocks (#141334)
* 0e1ef696f1fe [Driver] Fix _XOPEN_SOURCE definition on Solaris (#137141)
* 5d99a97583e1 [MachO] Improve bounds check (#141083)
* aa804fd3e624 [sanitizer_common] Remove interceptors for deprecated struct termio (#137403)
* 53393e26d5f4 [LoongArch] Prevent R0/R1 allocation for rj operand of [G]CSRXCHG (#140862)
* 6fcb1c127b40 [LoongArch] Fix assertion failure for annotate tablejump (#140907)
* 15ec590e389b release/20.x: [clang-format] Fix the indent of StartOfName after AttributeMacro (#140361)
* 802f4f75372e [clang-format] Handle raw string literals containing JSON code (#140666)
* 9b0832508ede [SDAG] Ensure load is included in output chain of sincos expansion (#140525)
* 8a36b8e3ab46 [clang][analyzer] Handle CXXParenInitListExpr alongside InitListExpr
* 070cf62530ea [Clang] Demote mixed enumeration arithmetic error to a warning (#131811)
* a169f5ca4e4f Correct position of CFI Instruction for Pointer Authentication"
* 5befd1fb3c97 [Clang][AST] Fix HandleLValueBase to deal with references (#140105)
* e3d2c00ccee4 [LLD][COFF] Allow -arm64xsameaddress in ARM64EC directives (#139631)
* 85e06a761483 [LoongArch] Fix fp_to_uint/fp_to_sint conversion errors for lasx (#137129)
* ff2e8f93f609 Fix test pfalse-v4i1.ll added in #138712 to require asserts.
* 1e4d39e07757 Bump version to 20.1.6

(From OE-Core rev: 84e4f1556e074e5b771c66dac8ba2ce47beb89d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Khem Raj
e1408f337a musl: Upgrade to tip of trunk
Brings following changes

* ae3a8c93 fix strcasestr failing to find zero-length needle
* 23febbd3 align mbsnrtowcs behavior on partial character with new requirements
* 6915b348 dns resolver: reorder sockaddr union to make initialization safe
* a34ca6ea termios: fix input speed handling
* b6b81f69 clone: clear the frame pointer in the child process on relevant ports
* 5e03c03f clone: align the given stack pointer on or1k and riscv
* 06c5e4e8 signal: check sigpause() input parameter
* b0dc340b loongarch64: add bits/hwcap.h for cpu feature bits in AT_HWCAP auxv entry
* cabbd869 bind_textdomain_codeset: fix return value
* 00fb7107 shadow.h: remove declaration of function not implemented
* 362fc545 riscv: mark __restore and __restore_rt hidden
* f1cda422 i386, x86_64, x32: set the symbol type for the crt1 START function

(From OE-Core rev: f73f00e01d7a2713605cd9e828b4a0cb29de4448)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Mikko Rapeli
fa5cf8a808 image_types_wic.bbclass: add "grub-efi" back to WKS_FILE_DEPENDS_BOOTLOADERS on x86-64
This was removed by me without good reasons in commit
2f0ef8cd0e
"wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass"
and results in grub-efi binaries missing from
genereted ESP partition on qemux86-64.

Fixes oeqa selftest
overlayfs.OverlayFSEtcRunTimeTests.test_image_feature_is_missing
after wic detects missing EFI loader files on ESP partition.

Test case was passing due qemu syslinux boot using kernel directly
from /boot and not using UEFI firmware to boot.

Fixes: 2f0ef8cd0e ("wic bootimg-efi.py: change UKI support from wic plugin to uki.bbclass")

WKS_FILE_DEPENDS_BOOTLOADERS needs to list all EFI loaders because
it's used in DEPENDS and thus can't use conditional python macros
to select which loader is actually needed in sysroot when
wic builds the images and ESP partition.

(From OE-Core rev: c6eb09f45900367df01958ee7012e9de974b401f)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Mikko Rapeli
a2bd18fb36 image_types_wic.bbclass: capture verbose wic output by default
Call wic with --debug to capture logs from wic internals
so that it's clear which partitions get created and which
files get copied where. wic plugins contain for example
race conditions which don't install files at all and thus
images fail to boot and it's not possible to debug these without
something in wic task logs.

As an example core-image-initramfs-boot do_image_wic
log is now 576 lines which is not excessive but very
important when debugging problems, especially race
conditions which are only hit in some builds in CI.

With all issues I have to deal within wic, I always
need to apply this change before I get to see any
details what wic and its plugins are doing. Thus I
strongly believe this verbose outuput should be the
default.

(From OE-Core rev: de2187cc4cb8de0a8308708951ada36fa34da263)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Mikko Rapeli
068e4fc6d2 image_types_wic.bbclass: remove os-release from WKS_FILE_DEPENDS_BOOTLOADERS on x86 and x86_64
os-release was needed with UKI generation when this was done
using wic plugin but now with separate uki.bbclass wic does
not need it anymore.

(From OE-Core rev: 1b51677bff4f6cff6450010f6e5edd4f47693d82)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Mikko Rapeli
3f61776490 image_types_wic.bbclass: depend on grub-efi and systemd-boot on aarch64, systemd-boot on arm
On x86 family builds, grub and systemd-boot are always included and thus
get built and deployed before wic image builds. On aarch64 builds
that was not the case. Result is that some builds added systemd-boot binaries
to the wic image ESP partition and some not, though bugs in wic plugins
contributed here too since missing files were silently ignored.
Boot of such images fails since firmware is not able to load the
default EFI binaries.

Adding EFI_PROVIDER to WKS_FILE_DEPENDS_BOOTLOADERS is not possible
because of parsing order so adding grub-efi and systemd-boot
to aarch64 and systemd-boot to arm depends
which makes sure their do_deploy is always executed
before wic image is generated. Thus systemd-boot and grub
binaries will get copied from deploy directory to the wic
image ESP partition, and boot of the images succeeds.

(From OE-Core rev: 9975b72291cd2e1ad79635e903e6a744251d91bf)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Mikko Rapeli
c9cb41e293 wic bootimg-efi.py: fail build if no binaries installed
With systemd-boot, some builds included correct EFI
bootloader binaries and some not. Thus some builds
booted and some not. Check that some boot binary
was installed so that build fails if none were installed.

(From OE-Core rev: 93fad905b9d5f5cee89408901e4be1630955ab75)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Stefan Eichenberger
b204576403 connman: Set connman resolv.conf as fallback when using systemd-resolved
Commit bec0cfc9b215 ("connman: Set dns-backend automatically") introduced
support for using systemd-resolved as the DNS backend. However,
connman's resolv.conf was assigned a higher update-alternatives
priority. This caused connman's configuration to override
systemd-resolved, resulting in a broken DNS setup.
/etc/resolv.conf -> /etc/resolv-conf.connman

This commit corrects the issue by lowering the priority for connman's
resolv.conf when systemd-resolved is enabled, ensuring it acts as
a fallback. The higher priority is now only applied when
systemd-resolved is not used.

Fixes: bec0cfc9b215 ("connman: Set dns-backend automatically")
(From OE-Core rev: bea9ea64820a86c4d01671087b706beca1ccdf26)

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Ross Burton
ee6d8de39b core-image-ptest: increase the size of the util-linux image
The util-linux test suite since 2.41 needs at least 300MB of free space
for logs, and the standard image only has 250MB when it's booted.

(From OE-Core rev: 38d87f71a2147d12269ce5cf12e54aed488ff509)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Praveen Kumar
b49d5e40c9 bind: upgrade 9.20.8 -> 9.20.9
Overview of changes in bind 9.20.9
==================================
Security Fixes:
1. Prevent an assertion failure when processing TSIG algorithm.
2. DNS messages that included a Transaction Signature (TSIG) containing
   an invalid value in the algorithm field caused named to crash with an
   assertion failure. This has been fixed. (CVE-2025-40775) [GL #5300]

For additional feature changes and bug fixes, please see:
https://downloads.isc.org/isc/bind9/9.20.9/doc/arm/html/notes.html#notes-for-bind-9-20-9

(From OE-Core rev: c9d59ba50a102ace907779612e74646dec133271)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-02 22:17:24 +01:00
Khem Raj
1e811f9e70 libjpeg-turbo: Fix build on mips/clang
(From OE-Core rev: 305072dbde8ec5a4f1d455f7fbfa3a631f9f947f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 21:21:07 +01:00
Richard Purdie
4c9eef335a brief-yoctoprojectqs/ref-manual: Switch to new CDN
The project is switching the way handle our CDN provision of sstate objects,
update the URL accordingly.

(From yocto-docs rev: 406e8a8e30404c0538f5aa46f211540bae2b206b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 17:34:48 +01:00
Richard Purdie
9475cba9dd local.conf.sample: Switch to new CDN
The project is switching the way handle our CDN provision of sstate objects,
update the URL accordingly.

(From meta-yocto rev: e5b8e76ba8232860943406e1c53e71b3d2790f17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 17:28:54 +01:00
Richard Purdie
a8746c2168 sstatetests: Switch to new CDN
The project is switching the way handle our CDN provision of sstate objects,
update the URL accordingly.

(From OE-Core rev: fea96974f1ee6ae6dceb39e3ca8157797d81586c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 17:28:54 +01:00
Richard Purdie
3993996279 bitbake: toaster/tests/buildtest: Switch to new CDN
The project is switching the way handle our CDN provision of sstate objects,
update the URL accordingly.

(Bitbake rev: 3372524cb961d95993b27fe4a8d794cdb7255e09)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 17:28:54 +01:00
Ross Burton
eec1b254c0 linux-yocto: refresh CVE exclusions
As we upgraded the kernel, the exclusions need to be updated too.

This marks many CVEs as resolved.

(From OE-Core rev: e99d1e7116aef8c5458cd51c0b97b8e275ade3a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Ross Burton
e9b0ebda42 linux/generate-cve-exclusions: show the name and version of the data source
Add another comment to state what the data source for the CVE data was,
specifically the basename of the repository and the "git describe" output
of HEAD.

(From OE-Core rev: 5e66e2b79faec2285d249b16457ecc63c4042444)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Yogita Urade
e39b3a43ed webkitgtk: upgrade 2.48.1 -> 2.48.2
Includes fix for CVE-2025-24223, CVE-2025-31204, CVE-2025-31205,
CVE-2025-31206, CVE-2025-31215 and CVE-2025-31257.

Changelog:
=========
- Enable CSS Overscroll Behavior by default.
- Change threaded rendering implementation to use Skia API
instead of WebCore display list that is not thread safe.
- Fix rendering when device scale factor change comes before
the web view geometry update.
- Fix network process crash on exit.
- Fix the build with ENABLE_RESOURCE_USAGE=OFF.
- Fix several crashes and rendering issues.

Drop fix-ftbfs-non-arm-non-x86.patch which is part of upgrade.

(From OE-Core rev: f33b79a07117d4327949aa1661221a3b9bc0f7e3)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Dmitry Baryshkov
ce224c9c23 mesa: add support for Teflon, TFLite delegate
Extend mesa PACKAGECONFIG with new option, teflon, enabling building of
the TFLite delegate, libteflon.so. Currently it supports only
VeriSilicon NPUs.

Suggested-by: Fathi Boudra <fathi.boudra@linaro.org>
(From OE-Core rev: d639f2e3e6922efe845cf84fb35d729167693adb)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Dmitry Baryshkov
a0e6896e23 mesa: remove XA tracker support
XA tracker is unmaintained and deprecated. It has been removed in 25.2
branch and it is going to be disabled by default in the 25.1.2 release.
Be slightly more proactive, pick up the patch disabling XA by default
and drop support for XA tracker in the recipe.

(From OE-Core rev: e8bba3efd72bf90d70e674b0686d13639a44f0ad)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Chen Qi
4a7138337a shadow: upgrade from 4.17.3 to 4.17.4
Upgrade shadow to 4.17.4.

(From OE-Core rev: 2c2ff1c2669387d9304d01cddc9dcc80af9c4873)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
d8d8f83bd1 rust: Disable cross-unwinding support in llvm libunwind
This is default in LLVM but rust does not use cmake to build itself
so it needs to replicate the behavior

Fixes rust build with clang/musl for aarch64

(From OE-Core rev: f05d42d11e56cbbda6034bd7f773dc690b68bdbd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Gyorgy Sarvari
597c0834f1 conf/bitbake.conf: use gnu mirror instead of main server
ftp.gnu.org is the main server of the GNU project, however download speed
can vary greatly based on one's location.

Using ftpmirror.gnu.org should redirect the request to the closest up-to-date mirror,
which should result sometimes in significantly faster download speed, depending
on one's location. This should also distribute the traffic more across the mirrors.

This information was sourced from https://www.gnu.org/prep/ftp.html .

(From OE-Core rev: d8c6f01d7467e018aa0ed27a87850d9e4434a47a)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
9063a4a13f mesa-gl: Remove osmesa dependency
osmesa has been removed from recently upgrade mesa recipes
remove it from the fallback for non-x11 systems

(From OE-Core rev: 7ee8e99a52044e18cd35bde8d280274ce44e26d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Bruce Ashfield
efeb3c71c0 linux-yocto/6.12: update to v6.12.30
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    e0e2f7824338 Linux 6.12.30
    25e07c8403f4 drm/amdgpu: fix pm notifier handling
    8e7583fb858c phy: tegra: xusb: remove a stray unlock
    5924b3244688 usb: typec: ucsi: displayport: Fix deadlock
    bca94cc34563 drm/tiny: panel-mipi-dbi: Use drm_client_setup_with_fourcc()
    5ed066083fc3 drm/panel-mipi-dbi: Run DRM default client setup
    25998ed87f0c drm/fbdev-dma: Support struct drm_driver.fbdev_probe
    d22496de5049 Bluetooth: btnxpuart: Fix kernel panic during FW release
    7ca84f6a22d5 iio: light: opt3001: fix deadlock due to concurrent flag access
    58517eae326e accel/ivpu: Fix fw log printing
    0923a7d55a85 accel/ivpu: Refactor functions in ivpu_fw_log.c
    1516c55872cc accel/ivpu: Reset fw log on cold boot
    1c302f64ea07 accel/ivpu: Rename ivpu_log_level to fw_log_level
    74953f93f47a mm/page_alloc: fix race condition in unaccepted memory handling
    260ca2e9617f drm/xe/gsc: do not flush the GSC worker from the reset path
    6b2d1fbd4146 CIFS: New mount option for cifs.upcall namespace resolution
    23dc14c52d84 dmaengine: idxd: Refactor remove call with idxd_cleanup() helper
    017d4012dc05 dmaengine: idxd: fix memory leak in error handling path of idxd_pci_probe
    868dbce755ec dmaengine: idxd: fix memory leak in error handling path of idxd_alloc
    21f9f5cd9a0c dmaengine: idxd: Add missing idxd cleanup to fix memory leak in remove call
    e0ba67b10d7c dmaengine: idxd: Add missing cleanups in cleanup internals
    80b02602279a dmaengine: idxd: Add missing cleanup for early error out in idxd_setup_internals
    56e2f09083cf dmaengine: idxd: fix memory leak in error handling path of idxd_setup_groups
    4958737c42e1 dmaengine: idxd: fix memory leak in error handling path of idxd_setup_engines
    5fcd392dae6d dmaengine: idxd: fix memory leak in error handling path of idxd_setup_wqs
    6b5d770e4563 dmaengine: ti: k3-udma: Use cap_mask directly from dma_device structure instead of a local copy
    26e63b2fe30c dmaengine: ti: k3-udma: Add missing locking
    fe0756daad52 mm: userfaultfd: correct dirty flags set for both present and swap pte
    d005c8166528 net: qede: Initialize qede_ll_ops with designated initializer
    20d6e621be48 ring-buffer: Fix persistent buffer when commit page is the reader page
    2b81e76db366 wifi: mt76: disable napi on driver removal
    ec5d9a750e91 tpm: Mask TPM RC in tpm2_start_auth_session()
    cac03fecbcc5 spi: tegra114: Use value to check for invalid delays
    d0df124437cc smb: client: fix memory leak during error handling for POSIX mkdir
    bffc3038a28b scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer
    c450f648d0fc phy: renesas: rcar-gen3-usb2: Set timing registers only once
    c78a5693bd15 phy: renesas: rcar-gen3-usb2: Fix role detection on unbind/bind
    ed0e7d31d09a phy: Fix error handling in tegra_xusb_port_init
    1db527f0cb8f phy: tegra: xusb: Use a bitmask for UTMI pad power state tracking
    ce14aa00dd53 tracing: samples: Initialize trace_array_printk() with the correct function
    589c9e66bd47 ftrace: Fix preemption accounting for stacktrace filter command
    7d353da580c5 ftrace: Fix preemption accounting for stacktrace trigger command
    511ceee89966 kbuild: Disable -Wdefault-const-init-unsafe
    899e014e6847 Drivers: hv: vmbus: Remove vmbus_sendpacket_pagebuffer()
    4400b05ffabc Drivers: hv: Allow vmbus_sendpacket_mpb_desc() to create multiple ranges
    02a68f11ba84 arm64: dts: rockchip: Remove overdrive-mode OPPs from RK3588J SoC dtsi
    7f2e784f27bb arm64: dts: amlogic: dreambox: fix missing clkc_audio node
    b1d6694b39ec hv_netvsc: Remove rmsg_pgcnt
    7a508c604cd3 hv_netvsc: Preserve contiguous PFN grouping in the page buffer array
    24f05522c1c1 hv_netvsc: Use vmbus_sendpacket_mpb_desc() to send VMBus messages
    fe1bebd0edb2 dma-buf: insert memory barrier before updating num_fences
    93152dac0ba7 ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera
    c88f4ff5354b ALSA: usb-audio: Add sample rate quirk for Audioengine D1
    f8302100f42b ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2()
    7f8d77f65426 ACPI: PPTT: Fix processor subtable walk
    a348ff3f5b69 gpio: pca953x: fix IRQ storm on system wake up
    f0c0b8e6bc26 MAINTAINERS: Update Alexey Makhalov's email address
    64a33088adf2 drm/amd/display: Avoid flooding unnecessary info messages
    2d125a1f0d61 drm/amd/display: Correct the reply value when AUX write incomplete
    8d71c3231b33 drm/amdgpu: csa unmap use uninterruptible lock
    e54f20c5a17e drm/amdgpu: fix incorrect MALL size for GFX1151
    c75f3f9cbfb7 Revert "drm/amd/display: Hardware cursor changes color when switched to software cursor"
    3ee639985425 btrfs: add back warning for mount option commit values exceeding 300
    bf804f34adfb btrfs: fix folio leak in submit_one_async_extent()
    6ea6cea17ff8 btrfs: fix discard worker infinite loop after disabling discard
    12f69c4e3098 LoongArch: uprobes: Remove redundant code about resume_era
    88650dde2eea LoongArch: uprobes: Remove user_{en,dis}able_single_step()
    c92b99c4c097 LoongArch: Fix MAX_REG_OFFSET calculation
    213533657435 LoongArch: Save and restore CSR.CNTC for hibernation
    66a309b4d5bd LoongArch: Move __arch_cpu_idle() to .cpuidle.text section
    111e55db3ca3 LoongArch: Prevent cond_resched() occurring within kernel-fpu
    f8544be7e8e5 HID: bpf: abort dispatch if device destroyed
    d32c1880b33a udf: Make sure i_lenExtents is uptodate on inode eviction
    0102989af4c3 sched_ext: bpf_iter_scx_dsq_new() should always initialize iterator
    a0c247821813 dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted"
    153367726797 NFSv4/pnfs: Reset the layout state after a layoutreturn
    6dbf38159d8d tsnep: fix timestamping with a stacked DSA driver
    a11b8c0be6ac net/tls: fix kernel panic when alloc_page failed
    abc43c1ffdbc mlxsw: spectrum_router: Fix use-after-free when deleting GRE net devices
    07c737d9ab02 wifi: mac80211: Set n_channels after allocating struct cfg80211_scan_request
    7db81acae084 octeontx2-pf: Do not reallocate all ntuple filters
    1977cec5beaa octeontx2-af: Fix CGX Receive counters
    256adb2da583 net: ethernet: mtk_eth_soc: fix typo for declaration MT7988 ESW capability
    bf85a27605d0 octeontx2-pf: macsec: Fix incorrect max transmit size in TX secy
    38a2fdd3e9c9 netlink: specs: tc: all actions are indexed arrays
    be64ab9c173f netlink: specs: tc: fix a couple of attribute names
    3f16340071d0 drm/xe: Save CTX_TIMESTAMP mmio value instead of LRC value
    d2a9a92bb4cc regulator: max20086: fix invalid memory access
    5451b834b3ff qlcnic: fix memory leak in qlcnic_sriov_channel_cfg_cmd()
    1f80e6ff0260 net/mlx5e: Disable MACsec offload for uplink representor profile
    462e2243812e vsock/test: Fix occasional failure in SIOCOUTQ tests
    225e29465aa7 net: dsa: b53: prevent standalone from trying to forward to other ports
    bd993721789d ALSA: sh: SND_AICA should depend on SH_DMA_API
    a3c147040bb2 nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable
    ddfa034da318 nvme-pci: make nvme_pci_npages_prp() __always_inline
    0251e13f3f49 net: dsa: sja1105: discard incoming frames in BR_STATE_LISTENING
    3e64d35475aa net: cadence: macb: Fix a possible deadlock in macb_halt_tx.
    5ee626e47330 ALSA: ump: Fix a typo of snd_ump_stream_msg_device_info
    caac5761a6cd ALSA: seq: Fix delivery of UMP events to group ports
    8ee6ec20dd5f net: mctp: Ensure keys maintain only one ref to corresponding dev
    d308312acd0c tests/ncdevmem: Fix double-free of queue array
    38c937dbd4e4 selftests: ncdevmem: Switch to AF_INET6
    04db681f3c75 selftests: ncdevmem: Make client_ip optional
    0738648a7d61 selftests: ncdevmem: Unify error handling
    eb15f4f38013 selftests: ncdevmem: Separate out dmabuf provider
    f3380d119f61 selftests: ncdevmem: Redirect all non-payload output to stderr
    d4d1561d17eb net: mctp: Don't access ifa_index when missing
    9e5efcff49b3 mctp: no longer rely on net->dev_index_head[]
    37050be74e80 tools/net/ynl: ethtool: fix crash when Hardware Clock info is missing
    d1365ca80b01 net_sched: Flush gso_skb list too during ->change()
    28826a89fdfd Bluetooth: MGMT: Fix MGMT_OP_ADD_DEVICE invalid device flags
    10c7f1c647da RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem
    de7acdb46291 spi: loopback-test: Do not split 1024-byte hexdumps
    da824f127163 nfs: handle failure of nfs_get_lock_context in unlock path
    94e7272b636a HID: uclogic: Add NULL check in uclogic_input_configured()
    a6999953707a HID: thrustmaster: fix memory leak in thrustmaster_interrupts()
    336edd6b0f5b RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug
    c43b0a185fa6 virtio_net: ensure netdev_tx_reset_queue is called on bind xsk for tx
    343a77562c1f virtio_ring: add a func argument 'recycle_done' to virtqueue_reset()
    1cf8bdd596a8 iio: chemical: sps30: use aligned_s64 for timestamp
    7b16d3c36123 iio: adc: ad7768-1: Fix insufficient alignment of timestamp.
    b9e0997f2e84 xhci: dbc: Avoid event polling busyloop if pending rx transfers are inactive.
    651eaaae6baa xhci: dbc: Improve performance by removing delay in transfer event polling.
    5d9d62323e18 Revert "drm/amd: Stop evicting resources on APUs in suspend"
    4d45a5f1e2a0 drm/amd: Add Suspend/Hibernate notification callback support
    ea0153e065f4 iio: pressure: mprls0025pa: use aligned_s64 for timestamp
    039681d656a3 iio: chemical: pms7003: use aligned_s64 for timestamp
    b37c112ef265 iio: adc: ad7266: Fix potential timestamp alignment issue.
    a065f78eba2a KVM: x86/mmu: Prevent installing hugepages when mem attributes are changing
    3d962ec543e5 KVM: Add member to struct kvm_gfn_range to indicate private/shared
    54401e29ab4f uio_hv_generic: Fix sysfs creation path for ring buffer
    7bf64cd0ccb8 tpm: tis: Double the timeout B to 4s
    517c11fe4fcb tracing: probes: Fix a possible race in trace_probe_log APIs
    f0d70d8dcae4 cgroup/cpuset: Extend kthread_is_per_cpu() check to all PF_NO_SETAFFINITY tasks
    220444d2095a arm64: dts: imx8mp-var-som: Fix LDO5 shutdown causing SD card timeout
    48fff1267e8d platform/x86: asus-wmi: Fix wlan_ctrl_by_user detection
    03e4ee3a9a26 platform/x86/amd/pmc: Declare quirk_spurious_8042 for MECHREVO Wujie 14XA (GX4HRXL)
    bc4c54cbb430 binfmt_elf: Move brk for static PIE even if ASLR disabled
    97dd8c19f2a3 riscv: dts: sophgo: fix DMA data-width configuration for CV18xx
    a0bde67526c0 drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policies
    5022d7a39255 drivers/platform/x86/amd: pmf: Check for invalid sideloaded Smart PC Policies
    10d1496f85d7 fs/xattr.c: fix simple_xattr_list to always include security.* xattrs
    61f489ca9940 arm64: dts: rockchip: Assign RT5616 MCLK rate on rk3588-friendlyelec-cm3588
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: a487b32fc93e639267fc5aee12842132accc0873)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Bruce Ashfield
3aff00627f linux-yocto/6.12: riscv config sync
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: bsp/qemuriscv32: Sync config with upstream defconfig 6.12+
    Date: Tue, 20 May 2025 09:36:06 -0700

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: d530bd296108ea38f77c12b097c8d65bfb6a2efd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Bruce Ashfield
7c82967c69 linux-yocto/6.12: update to v6.12.29
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    5be5dbf91ef3 Linux 6.12.29
    7e78061be78b x86/its: FineIBT-paranoid vs ITS
    bb85c3abbfd8 x86/its: Fix build errors when CONFIG_MODULES=n
    2a6194e12427 selftest/x86/bugs: Add selftests for ITS
    88a817e60dbb x86/its: Use dynamic thunks for indirect branches
    15335117c5d7 x86/ibt: Keep IBT disabled during alternative patching
    bd57853b863e x86/its: Align RETs in BHB clear sequence to avoid thunking
    9f132c0397df x86/its: Add support for RSB stuffing mitigation
    4dc1902fdee7 x86/its: Add "vmexit" option to skip mitigation on some CPUs
    68d59e9ba384 x86/its: Enable Indirect Target Selection mitigation
    51000047235f x86/its: Add support for ITS-safe return thunk
    16a7d5b7a46e x86/its: Add support for ITS-safe indirect thunk
    a6f2a436e9d6 x86/its: Enumerate Indirect Target Selection (ITS) bug
    76f847655bcb Documentation: x86/bugs/its: Add ITS documentation
    f23d4f4aebf0 x86/speculation: Remove the extra #ifdef around CALL_NOSPEC
    9ebe6f1bd213 x86/speculation: Add a conditional CS prefix to CALL_NOSPEC
    d2498bbb54f6 x86/speculation: Simplify and make CALL_NOSPEC consistent
    9d8295dcf243 x86/bhi: Do not set BHI_DIS_S in 32-bit mode
    b86349f32625 x86/bpf: Add IBHF call at end of classic BPF
    87a12b9b3810 x86/bpf: Call branch history clearing sequence on exit
    2176530849b1 arm64: proton-pack: Add new CPUs 'k' values for branch mitigation
    e5f5100f1c64 arm64: bpf: Only mitigate cBPF programs loaded by unprivileged users
    38c345fd54af arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
    f2aebb8ec64d arm64: proton-pack: Expose whether the branchy loop k value
    ec5bca57afc6 arm64: proton-pack: Expose whether the platform is mitigated by firmware
    2a3915e86187 arm64: insn: Add support for encoding DSB
    86b37810fa1e sched/eevdf: Fix se->slice being set to U64_MAX and resulting crash
    16bae58f7355 mm: page_alloc: speed up fallbacks in rmqueue_bulk()
    564d25b1a6a0 mm: page_alloc: don't steal single pages from biggest buddy
    12abefb8c821 Bluetooth: btmtk: Remove the resetting step before downloading the fw
    c7a9df4ef4a7 Bluetooth: btmtk: Remove resetting mt7921 before downloading the fw
    2482f7705b83 io_uring: always arm linked timeouts prior to issue
    6b0383a21d3a rust: clean Rust 1.88.0's `clippy::uninlined_format_args` lint
    1c25723831c4 rust: allow Rust 1.87.0's `clippy::ptr_eq` lint
    6aac2c54762c Revert "um: work around sched_yield not yielding in time-travel mode"
    cd010271a92b do_umount(): add missing barrier before refcount checks in sync case
    3edac2949eb5 io_uring/sqpoll: Increase task_work submission batch size
    944af45bb76b drm/xe/tests/mocs: Hold XE_FORCEWAKE_ALL for LNCF regs
    95a75ed2b005 drm/xe/tests/mocs: Update xe_force_wake_get() return handling
    d6b013b44e44 riscv: misaligned: enable IRQs while handling misaligned accesses
    45a0697ceeae riscv: misaligned: factorize trap handling
    19fa2a483029 nvme: unblock ctrl state transition for firmware update
    7798edcc5b56 drm/panel: simple: Update timings for AUO G101EVN010
    184b147b9f7f loop: Add sanity check for read/write_iter
    a781ffe410d8 loop: factor out a loop_assign_backing_file helper
    5e1470b27672 loop: refactor queue limits updates
    0558ce095b76 loop: Fix ABBA locking race
    722f6dece719 loop: Simplify discard granularity calc
    02a77b3020a2 loop: Use bdev limit helpers for configuring discard
    126be03494f2 riscv: misaligned: Add handling for ZCB instructions
    eaa30e1d0ed2 MIPS: Fix MAX_REG_OFFSET
    fb98c9e584f4 iio: adc: dln2: Use aligned_s64 for timestamp
    ef5d6a409680 iio: accel: adxl355: Make timestamp 64-bit aligned using aligned_s64
    afe884959738 types: Complement the aligned types with signed 64-bit one
    245e319019c6 iio: temp: maxim-thermocouple: Fix potential lack of DMA safe buffer.
    e9bf391a9bce iio: accel: adxl367: fix setting odr for activity time update
    a2ad060643a4 usb: usbtmc: Fix erroneous generic_read ioctl return
    207391377646 usb: usbtmc: Fix erroneous wait_srq ioctl return
    29e17737465c usb: usbtmc: Fix erroneous get_stb ioctl error returns
    9d90c283eac5 USB: usbtmc: use interruptible sleep in usbtmc_read
    5ad298d6d4ae usb: typec: ucsi: displayport: Fix NULL pointer access
    3366a199483a usb: typec: tcpm: delay SNK_TRY_WAIT_DEBOUNCE to SRC_TRYWAIT transition
    1c001b6ddeb7 usb: misc: onboard_usb_dev: fix support for Cypress HX3 hubs
    08eca452a648 usb: host: tegra: Prevent host controller crash when OTG port is used
    d1c8fa4c6edb usb: gadget: Use get_status callback to set remote wakeup capability
    43ae91f561de usb: gadget: tegra-xudc: ACK ST_RC after clearing CTRL_RUN
    75f23e49add8 usb: gadget: f_ecm: Add get_status callback
    fae7f4460188 usb: cdnsp: fix L1 resume issue for RTL_REVISION_NEW_LPM version
    88d92cffc9d9 usb: cdnsp: Fix issue with resuming from L1
    f6fdbe4d543b usb: dwc3: gadget: Make gadget_wakeup asynchronous
    d133023c9a3f ocfs2: stop quota recovery before disabling quotas
    fe3d752a7a10 ocfs2: implement handshaking with ocfs2 recovery thread
    f96041a959f7 ocfs2: switch osb->disable_recovery to enum
    1b3b9158521a ocfs2: fix the issue with discontiguous allocation in the global_bitmap
    b76eaef983c7 x86/microcode: Consolidate the loader enablement checking
    d63851049f41 module: ensure that kobject_put() is safe for module type kobjects
    d66a22f6a432 memblock: Accept allocated memory before use in memblock_double_array()
    ed45af6841a9 clocksource/i8253: Use raw_spinlock_irqsave() in clockevent_i8253_disable()
    abbc99e898e4 arm64: cpufeature: Move arm64_use_ng_mappings to the .data section to prevent wrong idmap generation
    55701e992b17 accel/ivpu: Increase state dump msg timeout
    8e9c8a0393b5 xenbus: Use kref to track req lifetime
    54dd5d6af705 xen: swiotlb: Use swiotlb bouncing if kmalloc allocation demands it
    571dcf3d27b2 smb: client: Avoid race in open_cached_dir with lease breaks
    a9f28dbfdd1e usb: uhci-platform: Make the clock really optional
    92d0a28afba2 drm/amdgpu/hdp7: use memcfg register to post the write for HDP flush
    df044182621a drm/amdgpu/hdp6: use memcfg register to post the write for HDP flush
    0a776c305435 drm/amdgpu/hdp5: use memcfg register to post the write for HDP flush
    b6f0f3e6c7a9 drm/amdgpu/hdp5.2: use memcfg register to post the write for HDP flush
    4872de413e20 drm/amdgpu/hdp4: use memcfg register to post the write for HDP flush
    a13f9ac569f0 drm/amd/display: Copy AUX read reply data whenever length > 0
    2d63e66f7ba7 drm/amd/display: Fix wrong handling for AUX_DEFER case
    0e225bdba360 drm/amd/display: Remove incorrect checking in dmub aux handler
    fc7ac4ad1d16 drm/amd/display: Fix the checking condition in dmub aux handling
    468034a06a6e drm/amd/display: more liberal vmin/vmax update for freesync
    d8c4afe78385 drm/amd/display: Fix invalid context error in dml helper
    19323f414baa drm/amdgpu/vcn: using separate VCN1_AON_SOC offset
    206569cbf71a drm/xe: Add page queue multiplier
    a5f162727b91 drm/v3d: Add job to pending list if the reset was skipped
    dadf91161083 iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo
    a1cad8a3bca4 iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_fifo
    82f6334a0b3e iio: imu: inv_mpu6050: align buffer for timestamp
    c4dfff960b34 iio: adis16201: Correct inclinometer channel resolution
    4cbd37a12aed iio: adc: rockchip: Fix clock initialization sequence
    c9f8413b78f2 iio: adc: ad7606: fix serial register access
    7f37e3148368 io_uring: ensure deferred completions are flushed for multishot
    4d41b9e4c9e8 drm/amd/display: Shift DMUB AUX reply command if necessary
    d362b21fefce KVM: SVM: Forcibly leave SMM mode on SHUTDOWN interception
    5156f7c484ab selftests/mm: fix a build failure on powerpc
    b21ec0726a7b selftests/mm: compaction_test: support platform with huge mount of memory
    b543a5a73b5c mm/userfaultfd: fix uninitialized output field for -EAGAIN race
    6166c3cf4054 mm/huge_memory: fix dereferencing invalid pmd migration entry
    2910019b04eb mm: vmalloc: support more granular vrealloc() sizing
    efb597345953 mm: fix folio_pte_batch() on XEN PV
    d87392094f96 x86/mm: Eliminate window where TLB flushes may be inadvertently skipped
    e8b1d65f0a93 staging: axis-fifo: Correct handling of tx_fifo_depth for size validation
    38a8982ca0b7 staging: axis-fifo: Remove hardware resets for user errors
    06753f49336a staging: bcm2835-camera: Initialise dev in v4l2_dev
    215e42e2f12c staging: iio: adc: ad7816: Correct conditional logic for store mode
    5bb112f16008 rust: clean Rust 1.88.0's warning about `clippy::disallowed_macros` configuration
    a85d8aed0c08 objtool/rust: add one more `noreturn` Rust function for Rust 1.87.0
    376b73292a26 rust: clean Rust 1.88.0's `unnecessary_transmutes` lint
    2943297acfea Input: synaptics - enable InterTouch on TUXEDO InfinityBook Pro 14 v5
    a82f4f5563b6 Input: synaptics - enable SMBus for HP Elitebook 850 G1
    bbb5081015ed Input: synaptics - enable InterTouch on Dell Precision M3800
    bc4556bba1c8 Input: synaptics - enable InterTouch on Dynabook Portege X30L-G
    9d9074af50e8 Input: synaptics - enable InterTouch on Dynabook Portege X30-D
    38bb0170d6ad Input: xpad - fix two controller table values
    bf239d383538 Input: xpad - add support for 8BitDo Ultimate 2 Wireless Controller
    302a0cd0bbc4 Input: xpad - fix Share button on Xbox One controllers
    619c05fb176c Input: mtk-pmic-keys - fix possible null pointer dereference
    f36230dacde9 Input: cyttsp5 - fix power control issue on wakeup
    ee25256789c3 Input: cyttsp5 - ensure minimum reset pulse width
    de02eb727f1a virtio-net: fix total qstat values
    bb8f86f40e04 net: export a helper for adding up queue stats
    7eea40818e8f fbnic: Do not allow mailbox to toggle to ready outside fbnic_mbx_poll_tx_ready
    650e283b4cd3 fbnic: Pull fbnic_fw_xmit_cap_msg use out of interrupt context
    9d9010879dc9 fbnic: Improve responsiveness of fbnic_mbx_poll_tx_ready
    612a05c9f20c fbnic: Actually flush_tx instead of stalling out
    fea860a2a613 fbnic: Gate AXI read/write enabling on FW mailbox
    cd25fc4c562e fbnic: Fix initialization of mailbox descriptor rings
    ce97489864c9 net: dsa: b53: do not set learning and unicast/multicast on up
    e5b40f4a2b3e net: dsa: b53: fix learning on VLAN unaware bridges
    ce1a289bf2ab net: dsa: b53: fix toggling vlan_filtering
    2407c98a1b4c net: dsa: b53: do not program vlans when vlan filtering is off
    7dac02582911 net: dsa: b53: do not allow to configure VLAN 0
    11c427a8699e net: dsa: b53: always rejoin default untagged VLAN on bridge leave
    90b65bc357ca net: dsa: b53: fix VLAN ID for untagged vlan on bridge leave
    42ab1f2b6f45 net: dsa: b53: fix flushing old pvid VLAN on pvid change
    4ed7e603139f net: dsa: b53: fix clearing PVID of a port
    46de8f2aa389 net: dsa: b53: keep CPU port always tagged again
    11dbd4e0a89a net: dsa: b53: allow leaky reserved multicast
    b37e54259cab bpf: Scrub packet on bpf_redirect_peer
    e2ab67672b22 netfilter: ipset: fix region locking in hash types
    0160ac84fb03 ipvs: fix uninit-value for saddr in do_output_route4
    64385c0d02f7 erofs: ensure the extra temporary copy is valid for shortened bvecs
    574686c80754 ice: use DSN instead of PCI BDF for ice_adapter index
    62946989e660 ice: Initial support for E825C hardware in ice_adapter
    4555c4a13a93 wifi: mac80211: fix the type of status_code for negotiated TID to Link Mapping
    c33927f3858c can: gw: fix RCU/BH usage in cgw_create_job()
    8f24cc6a72eb can: mcp251xfd: fix TDC setting for low data bit rates
    2ecce25ea296 can: m_can: m_can_class_allocate_dev(): initialize spin lock on device probe
    79a6945e3de5 net: ethernet: mtk_eth_soc: do not reset PSE when setting FE
    aac9d5fa537b net: ethernet: mtk_eth_soc: reset all TX queues on DMA free
    35be4c0cdf46 gre: Fix again IPv6 link-local address generation.
    94a6f6c204ab virtio-net: free xsk_buffs on error in virtnet_xsk_pool_enable()
    edd53ee790f3 virtio_net: xsk: bind/unbind xsk for tx
    98cd7ed92753 sch_htb: make htb_deactivate() idempotent
    5c3b8f05756b s390/entry: Fix last breaking event handling in case of stack corruption
    2148d34371b0 ksmbd: fix memory leak in parse_lease_state()
    ec334aaab747 openvswitch: Fix unsafe attribute parsing in output_userspace()
    9e9841e232b5 ksmbd: Fix UAF in __close_file_table_ids
    d62ba16563a8 ksmbd: prevent out-of-bounds stream writes by validating *pos
    c57301e332cc ksmbd: prevent rename with empty string
    1b7b1cbc6e73 can: rockchip_canfd: rkcanfd_remove(): fix order of unregistration calls
    12ef60f1b99c can: mcp251xfd: mcp251xfd_remove(): fix order of unregistration calls
    c488f8b53e15 s390/pci: Fix duplicate pci_dev_put() in disable_slot() when PF has child VFs
    afa5cdce062a vfio/pci: Align huge faults to order
    9423f6da8251 wifi: cfg80211: fix out-of-bounds access during multi-link element defragmentation
    be54b750c333 s390/pci: Fix missing check for zpci_create_device() error return
    e0a8e3ca07be can: mcan: m_can_class_unregister(): fix order of unregistration calls
    14ee85b74807 firmware: arm_scmi: Fix timeout checks on polling path
    fe3da1bfd8d4 arm64: dts: imx8mm-verdin: Link reg_usdhc2_vqmmc to usdhc2
    ff7d691921c7 Revert "btrfs: canonicalize the device path before adding it"
    61e0fc331230 fs/erofs/fileio: call erofs_onlinefolio_split() after bio_add_folio()
    b32411f0459d dm: add missing unlock on in dm_keyslot_evict()
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: cac65d0f52251e69984eb7c2529e63c15095501a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Bruce Ashfield
d8f3bff8c9 linux-yocto/6.12: update to v6.12.28
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    f08cdc6cc92e Linux 6.12.28
    db6280919765 dm: fix copying after src array boundaries
    dd329f04dda3 drm/amd/display: Fix slab-use-after-free in hdcp
    75096780a4de drm/amd/display: Add scoped mutexes for amdgpu_dm_dhcp
    e1eea6985828 drivers: base: handle module_kobject creation
    69113bf740b2 kernel: globalize lookup_or_create_module_kobject()
    3b41b5efaec0 kernel: param: rename locate_module_kobject
    7509810606b0 Revert "drm/meson: vclk: fix calculation of 59.94 fractional rates"
    e993398cbd75 arm64: dts: st: Use 128kB size for aliased GIC400 register access on stm32mp25 SoCs
    aa4ea5355458 arm64: dts: st: Adjust interrupt-controller for stm32mp25 SoCs
    7ac0df4f35d4 ARM: dts: opos6ul: add ksz8081 phy properties
    a3ab5c9443d4 arm64: dts: imx95: Correct the range of PCIe app-reg region
    cc67657f636a firmware: arm_ffa: Skip Rx buffer ownership release if not acquired
    969d8beaa2e3 firmware: arm_scmi: Balance device refcount when destroying devices
    752600f1ac7e drm/xe: Ensure fixed_slice_mode gets set after ccs_mode change
    0e6325c183ab sch_ets: make est_qlen_notify() idempotent
    15fa905db22c sch_qfq: make qfq_qlen_notify() idempotent
    d06476714d28 sch_hfsc: make hfsc_qlen_notify() idempotent
    353add4cad93 sch_drr: make drr_qlen_notify() idempotent
    0a188c0e1973 sch_htb: make htb_qlen_notify() idempotent
    bccc7df3cea0 accel/ivpu: Add handling of VPU_JSM_STATUS_MVNCI_CONTEXT_VIOLATION_HW
    079d2622f8c9 accel/ivpu: Fix locking order in ivpu_job_submit
    3e3062be7d24 accel/ivpu: Abort all jobs after command queue unregister
    a39b5b6a6ea8 accel/ivpu: Update VPU FW API headers
    1ebbfee88951 accel/ivpu: Fix a typo
    a735c9205dc9 accel/ivpu: Use xa_alloc_cyclic() instead of custom function
    aaba59961d43 accel/ivpu: Make DB_ID and JOB_ID allocations incremental
    f4ae68eae950 net: Fix the devmem sock opts and msgs for parisc
    6b6cd389104c bcachefs: Remove incorrect __counted_by annotation
    dab2a13059a4 mm, slab: clean up slab->obj_exts always
    e10ec6e32b00 blk-mq: create correct map for fallback case
    1e15804c0472 net: vertexcom: mse102x: Fix RX error handling
    2e5b8eb6b42e net: vertexcom: mse102x: Add range check for CMD_RTS
    98abf8367260 net: vertexcom: mse102x: Fix LEN_MASK
    6abbffa73647 net: vertexcom: mse102x: Fix possible stuck of SPI interrupt
    7f9c3e2213ad net: hns3: defer calling ptp_clock_register()
    6a6d547a7f7c net: hns3: fixed debugfs tm_qset size
    ee2642bbae84 net: hns3: fix an interrupt residual problem
    d4cd7667311b net: hns3: store rx VLAN tag offload state for VF
    c8d788f800f8 octeon_ep: Fix host hang issue during device reboot
    bcb9d6a2229f net: fec: ERR007885 Workaround for conventional TX
    189b05f189ca net: lan743x: Fix memleak issue when GSO enabled
    8a543d825e78 ptp: ocp: Fix NULL dereference in Adva board SMA sysfs operations
    c0dba059b118 net: use sock_gen_put() when sk_state is TCP_TIME_WAIT
    a90146b73c7d bnxt_en: fix module unload sequence
    b41a49d5435e ASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction
    9b552c84cde1 nvmet-tcp: select CONFIG_TLS from CONFIG_NVME_TARGET_TCP_TLS
    15ea0b616426 nvme-tcp: select CONFIG_TLS from CONFIG_NVME_TCP_TLS
    60331309e738 nvme-tcp: fix premature queue removal and I/O failover
    2da8fe5a1092 bnxt_en: Fix ethtool -d byte order for 32-bit values
    44807af79efd bnxt_en: Fix out-of-bound memcpy() during ethtool -w
    454a4450b026 bnxt_en: Fix coredump logic to free allocated buffer
    626af9b8e834 bnxt_en: call pci_alloc_irq_vectors() after bnxt_reserve_rings()
    aa15f389fc50 bnxt_en: Add missing skb_mark_for_recycle() in bnxt_rx_vlan()
    808a7304b5f4 bnxt_en: Fix ethtool selftest output in one of the failure cases
    e039b00ddbfe bnxt_en: Fix error handling path in bnxt_init_chip()
    9bc347854dfd ALSA: hda/realtek: Fix built-mic regression on other ASUS models
    6effe1c0fa82 net: ipv6: fix UDPv6 GSO segmentation with NAT
    dcb5a2b96113 net: dsa: felix: fix broken taprio gate states after clock jump
    317013d1ad13 net: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM
    56b958a5b559 igc: fix lock order in igc_ptp_reset
    df1ff481fa0e idpf: protect shutdown from reset
    bf0ec3aac109 idpf: fix potential memory leak on kcalloc() failure
    d206ea768142 net: mdio: mux-meson-gxl: set reversed bit when using internal phy
    e9b65c95610a net: dlink: Correct endianness handling of led_mode
    7fc2c784dd95 drm/mipi-dbi: Fix blanking for non-16 bit formats
    d0d7c93b4b67 drm/tests: shmem: Fix memleak
    5ad0b1b55428 nvme-pci: fix queue unquiesce check on slot_reset
    226beac5605a ALSA: ump: Fix buffer overflow at UMP SysEx message conversion
    6b1355860da3 scsi: ufs: core: Remove redundant query_complete trace
    d14f88bd0f75 idpf: fix offloads support for encapsulated packets
    073791e9cfe6 ice: Check VF VSI Pointer Value in ice_vc_add_fdir_fltr()
    53bc0b55178b net_sched: qfq: Fix double list add in class with netem as child qdisc
    1f01e9f96160 net_sched: ets: Fix double list add in class with netem as child qdisc
    2e7093c7a8ab net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc
    26e75716b94d net_sched: drr: Fix double list add in class with netem as child qdisc
    c649b9653ed0 pds_core: remove write-after-free of client_id
    f41e27b74624 pds_core: specify auxiliary_device to be created
    1d69ab85030b pds_core: make pdsc_auxbus_dev_del() void
    aea3ca60fafb net: ethernet: mtk_eth_soc: sync mtk_clks_source_name array
    5257a0f1ec5e net: ethernet: mtk-star-emac: rearm interrupts in rx_poll only when advised
    8d40bf73fa7f net: ethernet: mtk-star-emac: fix spinlock recursion issues on rx/tx poll
    950832771e59 rtase: Modify the condition used to detect overflow in rtase_calc_time_mitigation
    4911412efda5 bnxt_en: improve TX timestamping FIFO configuration
    ddc1e64c290a octeon_ep_vf: Resolve netdevice usage count issue
    6e6325d4878c net: mscc: ocelot: delete PVID VLAN when readding it as non-PVID
    432572d53602 Bluetooth: L2CAP: copy RX timestamp to new fragments
    cfe006c8a61e Bluetooth: btintel_pcie: Add additional to checks to clear TX/RX paths
    b70b41591ec4 Bluetooth: btusb: avoid NULL pointer dereference in skb_dequeue()
    c7bd5c9ba13d Bluetooth: btintel_pcie: Avoid redundant buffer allocation
    620810ac1f7f Bluetooth: hci_conn: Fix not setting timeout for BIG Create Sync
    eb8b860e87b2 Bluetooth: hci_conn: Fix not setting conn_timeout for Broadcast Receiver
    fe81c26d2dac Bluetooth: hci_conn: Remove alloc from critical section
    3104b7d559ff ASoC: amd: acp: Fix NULL pointer deref in acp_i2s_set_tdm_slot
    92d812df3b21 accel/ivpu: Correct DCT interrupt handling
    174161d6f030 net/mlx5: E-switch, Fix error handling for enabling roce
    488ab6d41fd9 net/mlx5e: Fix lock order in mlx5e_tx_reporter_ptpsq_unhealthy_recover
    c022830c2aca net/mlx5e: TC, Continue the attr process even if encap entry is invalid
    51599d07c7de net/mlx5: E-Switch, Initialize MAC Address for Default GID
    b67fee583794 net/mlx5e: Use custom tunnel header for vxlan gbp
    65d3c570614b xsk: Fix race condition in AF_XDP generic RX path
    5cb9e07f84e5 vxlan: vnifilter: Fix unlocked deletion of default FDB entry
    ec1643d1bad1 powerpc/boot: Fix dash warning
    791a2d9e87c4 wifi: plfxlc: Remove erroneous assert in plfxlc_mac_release
    50d1982dba7b wifi: iwlwifi: fix the check for the SCRATCH register upon resume
    33bf99208825 wifi: iwlwifi: don't warn if the NIC is gone in resume
    bb0d60289965 drm/i915/pxp: fix undefined reference to `intel_pxp_gsccs_is_ready_for_sessions'
    f7dc50604cdf ALSA: hda/realtek - Enable speaker for HP platform
    7867992c3e25 ASoC: Intel: sof_sdw: Add NULL check in asoc_sdw_rt_dmic_rtd_init()
    ae462ead8983 powerpc/boot: Check for ld-option support
    fcf36f6ed429 pinctrl: imx: Return NULL if no group is matched and found
    7f5476d80f2c book3s64/radix : Align section vmemmap start address to PAGE_SIZE
    29a4a29112c1 ASoC: soc-pcm: Fix hw_params() and DAPM widget sequence
    2029a38b6c50 ASoC: cs-amp-lib-test: Don't select SND_SOC_CS_AMP_LIB
    220395054c24 ASoC: soc-core: Stop using of_property_read_bool() for non-boolean properties
    b93e1cad05a0 drm/amd/display: Default IPS to RCG_IN_ACTIVE_IPS2_IN_OFF
    1f27a3e93b8d tracing: Fix oob write in trace_seq_to_buffer()
    962d88304c3c cpufreq: Fix setting policy limits when frequency tables are used
    573b04722907 cpufreq: Avoid using inconsistent policy->min and policy->max
    553d723e1acb smb: client: fix zero length for mkdir POSIX create context
    d5ec1d79509b ksmbd: fix use-after-free in session logoff
    e18c61671801 ksmbd: fix use-after-free in kerberos authentication
    8fb3b6c85b7e ksmbd: fix use-after-free in ksmbd_session_rpc_open
    d21175791886 platform/x86/intel-uncore-freq: Fix missing uncore sysfs during CPU hotplug
    2fcb183768e7 platform/x86/amd: pmc: Require at least 2.5 seconds between HW sleep cycles
    2e303d010722 iommu: Fix two issues in iommu_copy_struct_from_user()
    677714d779ed iommu/vt-d: Apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)
    ccc50fcba362 iommu/arm-smmu-v3: Fix pgsize_bit for sva domains
    98e634aa4b5d iommu/arm-smmu-v3: Fix iommu_device_probe bug due to duplicated stream ids
    10d901a95f8e iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid
    43eb647e847d drm: Select DRM_KMS_HELPER from DRM_DEBUG_DP_MST_TOPOLOGY_REFS
    989f9c6a619b drm/amdgpu: Fix offset for HDP remap in nbio v7.11
    510aea4ef0f8 dm: always update the array size in realloc_argv on success
    af2a88817f76 dm-integrity: fix a warning on invalid table line
    f45108257280 dm-bufio: don't schedule in atomic context
    efebca597086 x86/boot/sev: Support memory acceptance in the EFI stub under SVSM
    bdb435ef9815 wifi: brcm80211: fmac: Add error handling for brcmf_usb_dl_writeimage()
    0988dd0263ad tracing: Do not take trace_event_sem in print_event_fields()
    da77a7594fe5 spi: tegra114: Don't fail set_cs_timing when delays are zero
    20a28e0ece5a mmc: renesas_sdhi: Fix error handling in renesas_sdhi_probe
    9c4ddea4973f mm/memblock: repeat setting reserved region nid if array is doubled
    eb9b72e4fe51 mm/memblock: pass size instead of end to memblock_set_node()
    f10234236095 irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs
    6569501c7092 amd-xgbe: Fix to ensure dependent features are toggled with RX checksum offload
    44ee0afc9d1e perf/x86/intel: KVM: Mask PEBS_ENABLE loaded for guest with vCPU's value.
    6dcf83f50418 perf/x86/intel: Only check the group flag for X86 leader
    cf21e890f56b parisc: Fix double SIGFPE crash
    090c8714efe1 arm64: errata: Add missing sentinels to Spectre-BHB MIDR arrays
    4f4388a55019 i2c: imx-lpi2c: Fix clock count when probe defers
    833ef30f0196 EDAC/altera: Set DDR and SDMMC interrupt mask before registration
    349dac405240 EDAC/altera: Test the correct error reg offset
    b771b2017260 drm/nouveau: Fix WARN_ON in nouveau_fence_context_kill()
    f1dfc945847c drm/fdinfo: Protect against driver unbind
    d31806f14cc1 cpufreq: intel_pstate: Unchecked MSR aceess in legacy mode
    f46fd2f0249f btrfs: fix COW handling in run_delalloc_nocow()
    b80db09b614c btrfs: adjust subpage bit start based on sectorsize
    38d9ca740503 binder: fix offset calculation in debug log
    fdf0ae5e9e1e ALSA: usb-audio: Add second USB ID for Jabra Evolve 65 headset
    0aaae77be5bd ALSA: usb-audio: Add retry on -EPROTO from usb_set_interface()
    222b6685efe0 Revert "rndis_host: Flag RNDIS modems as WWAN devices"
    351378ae7bd7 Bluetooth: btusb: Add 13 USB device IDs for Qualcomm WCN785x
    78945de256ac Bluetooth: btusb: Add new VID/PID for WCN785x
    5ab19c342f80 Bluetooth: btusb: Add ID 0x2c7c:0x0130 for Qualcomm WCN785x
    c6e1913e76fb Bluetooth: btusb: Add one more ID 0x13d3:0x3623 for Qualcomm WCN785x
    8ee592df659a Bluetooth: btusb: Add one more ID 0x0489:0xe0f3 for Qualcomm WCN785x
    a9bfc823d057 Bluetooth: btusb: add Foxconn 0xe0fc for Qualcomm WCN785x
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: e66e71abc373a36561522c451dd0a4222f2a7a93)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Harish Sadineni
4c29d2543f binutils: Fix CVE-2025-1182
Upstream-Status: Submitted [https://sourceware.org/pipermail/binutils/2025-May/141415.html]
CVE: CVE-2025-1182

(From OE-Core rev: 1e6575a4eb6168322a6560af787399267f5fa304)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Chen Qi
e67506ffa2 util-linux/util-linux-libuuid: upgrade from 2.40.4 to 2.41
License-Update: add EUPL-1.2.
See 74f3265b9a

0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch is
a backported patch to fix kill/decode test case.

0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch is
used to fix testcase failure of lsfd/mkfds-foreign-sockets.

The su tests (su/environ for now) are removed when 'pam' is not in
PACKAGECONFIG. This is because su is not enabled in such case.

lsfd/option-inet is removed out of the excluded list because upstream
has fixed the issue:
eaa3870880

(From OE-Core rev: ed76e5fbec0f1926c14aedbb03ca1421c3920355)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Chen Qi
f31587588b coreutils: upgrade from 9.6 to 9.7
The following patches are dropped as they are merged in new release:
- 0001-cksum-port-to-32-bit-uint_fast32_t.patch
- 0001-ls-fix-crash-with-context.patch
- intermittent-testfailure.patch

(From OE-Core rev: 5760d1fb2553e598e5d6405d8fe748edfaa64b94)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
a8433b0746 linux-yocto: Remove debug-kernel.scc for riscv32 kernels
modpost fails to process the debug location lists for riscv32

| ERROR: modpost: vmlinux: local symbol '__asm_copy_to_user' was exported
| ERROR: modpost: vmlinux: local symbol '__asm_copy_from_user' was exported
| ERROR: modpost: vmlinux: local symbol '__clear_user' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_2_' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_3_' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_4_' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_5_' was exported
| WARNING: modpost: vmlinux: section mismatch in reference: 0x1560 (section: __ex_table) -> .LASF464 (section: .debug_str)
| ERROR: modpost: __ex_table+0x1560 references non-executable section '.debug_str'

poky adds features/debug/debug-kernel.scc via distro policy and hence
the builds are failing for qemuriscv32 on AB. While this should be
fixed in kernel build system or tools, this makes us proceed until
then

(From OE-Core rev: 2fc8b41e83be3ca769c5cc9b474c134639db428c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Chen Qi
af06fafe79 diffutils: upgrade from 3.11 to 3.12
The following line is added to fix cross-compilation issue in do_configure.
  EXTRA_OECONF += "gl_cv_func_strcasecmp_works=yes"
The error message is as below:
  configure: error: cannot run test program while cross compiling

(From OE-Core rev: c465fbbe4bfa90f7eed5e84c4149d656204481c8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
fb1172e52e gcc: Fix riscv32 multilib issues in non-multilib toolchain
GCC RISC-V multilib does not map to OE's mutlilib concept
extend the fix [1] done for RISCV64 to RISCV32 as well

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

(From OE-Core rev: c9b310ad363a41dfa515308780a3f8fde67d8fdc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Hiago De Franco
435e5ee319 readline: enable HOME, END, INSERT, and DELETE key bindings in inputrc
Enable readline inputrc bindings for HOME, END, INSERT, and DELETE keys
to support common key sequences on terminal interfaces. These key
sequences are commonly emitted by terminal emulators and physical
keyboards.

This enables expected shell behavior on embedded systems, especially
when interacting over serial consoles or minimal terminal setups.

(From OE-Core rev: 93ea8d1c38ab93912306dd5f7d57745c833161b0)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Niko Mauno
a2b0713e67 linux: cve-exclusions: Amend terminology
Replace the term 'needs backporting' with 'may need backporting' in
generate-cve-exclusions.py when the checked kernel version may or may
not be in the vulnerable version range, thus making backporting
necessary only in the former case.

In tandem we regenerate the content of cve-exclusion_6.12.inc using
https://github.com/CVEProject/cvelistV5.git repository main branch at
git hash b20d0043711588b6409ae3118bc0510ab888c316 to keep the content
in sync with the script.

(From OE-Core rev: feb80e6be16f27611a018d0ef7841cbb466c47d1)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Niko Mauno
6c8662d11e linux: cve-exclusions: Fix false negatives
Amend the generate-cve-exclusions.py checking logic in part of the code
responsible for iterating the "affected" defaultStatus part of the JSON
structure in order to mitigate occurrences of false negatives in the
generated output, as well as occurrences of wrong reason for negative
result in case where the reason is actually that the checked kernel
version is in backport fix scope.

In tandem we regenerate the content of cve-exclusion_6.12.inc using
https://github.com/CVEProject/cvelistV5.git repository main branch at
git hash b20d0043711588b6409ae3118bc0510ab888c316 to keep the content
in sync with the script.

(From OE-Core rev: b1a5939535d67b9c0e6d8c2729cff9749a0ebaae)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Niko Mauno
59980007f0 cve-exclusion_6.12.inc: Update using current cvelistV5
Regenerated with

 ./generate-cve-exclusions.py ~/cvelistV5/ 6.12.27 > cve-exclusion_6.12.inc

With ~/cvelistV5/ containing clone from
https://github.com/CVEProject/cvelistV5.git repository main branch at
git hash b20d0043711588b6409ae3118bc0510ab888c316.

(From OE-Core rev: 0df05f0bf82fdffb14c4243d07ace22b2d7e4c79)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
3e5469456e busybox: Do not define global 'const' with clang
This helps fix segfaults when compiling with clang, the option to
define global const is configurable now in busybox [1] [2]

Turn ptr_to_globals and bb_errno to be non const

writing to a const variable is undefined behavior

This is undefined as per (C99 6.7.3 paragraph 5) see [1]
errno and ptr_to_globals is written to in code, this fails with
segfaults when compiled with clang

[1] https://git.busybox.net/busybox/commit/?id=1f925038a
[2] https://lists.busybox.net/pipermail/busybox/2022-January/089413.html

(From OE-Core rev: 091d162f29dfefe2716d3b793cea55b9f14d684d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
dc35424a2d systemd-boot: Pin to use gcc toolchain on arm
clang does not support -mgeneral-regs-only option for arm

Cc: Ross Burton <Ross.Burton@arm.com>
(From OE-Core rev: 553f769c961ca567a68ac98a5262d84a95eca596)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
0196c57ef1 seatd: Disable sign-compare warning as error on clang
Make it build with clang+musl combo

(From OE-Core rev: 9c99230f3957bdbdde31a0651026199b42a0c107)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
6498ad48d9 systemtap: Pin to build with GCC
clang find a lot of warning

| In file included from ../git/tapset-procfs.cxx:11:
| ../git/session.h:169:47: error: 'used' attribute ignored on a non-definition declaration [-Werror,-Wignored-attributes]
|   169 |   static const char* morehelp __attribute__ ((used));
|       |                                               ^

(From OE-Core rev: 887c52532f9555f363b06692a777a66fc8137513)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Khem Raj
59579fab11 vulkan-samples: Disable overriding-option as error
Clang complains/warns about mixing -ffp-contract=fast and -ffp-model=precise
lower this to warning only, this does not impact code generation, we still
get the diagnostic messge but wont break the build

(From OE-Core rev: 0fc79e9b7aea87de87f461eebaaa2c00c9ec4a77)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 15:14:37 +01:00
Koch, Stefan
d8b0adfaac bitbake: tests/fetch: Add test case to check shallow cloning using PREMIRRORS
(Bitbake rev: 6e1434d93d489aa4bab07777a7a9dc58ba0ca5a7)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-28 12:37:02 +01:00
Stefan Koch
f5ae37fbd8 bitbake: fetch2: Ensure a valid symlink in PREMIRRORS case when using shallow cloning
- Since `ud.path` contains in that case the `PREMIRRORS` prefix path,
  this change ensures that a correct symlink is set up.

(Bitbake rev: 37ed18e45aa17406162efc5ee3ddb2d6b33d07b9)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-28 12:37:02 +01:00
Stefan Koch
0e9ce41a1c bitbake: fetch2: Move the ensure_symlink() function into the FetchMethod class
(Bitbake rev: d934763f91b9bda85f273a44f12a04a3ca19fc28)

Signed-off-by: Stefan Koch <stefan-koch@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-28 12:37:02 +01:00
Isaac True
a3bdd2144c bitbake: fetch2: add support for .debs containing uncompressed data tarballs
Some .deb files contain uncompressed data tarballs which do not have an
additional file extension after `.tar`. Add support for such cases while
preserving the existing behaviour.

(Bitbake rev: e3834deb427ceb1d1ae9a96c1e0dec990d7f3805)

Signed-off-by: Isaac True <isaac.true@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-28 12:37:02 +01:00
Benjamin Szőke
7c4e8e0def bitbake: runqueue: Optimize loop in scenequeue data construction
In scenequeue data generation loop, progress bar update in each cycle cause
a significant loss of speed. Remove progress bar update in for loop. It was
become quite fast (faster 30 times, about) without progress bar update.

(Bitbake rev: f775e53f1196e3e5d0ded277c061c5c268b3b28d)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:37 +01:00
Khem Raj
c83ef63b13 clang.inc: Add compiler-rt to default deps when using clang compiler
This provides needed built-ins which clang uses along with libgcc
its not yet a full replacement for libgcc

(From OE-Core rev: 2976122bec35165248b312e93ec111b745a91333)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
28dcaf5692 clang.inc: Specify ldso when using usrmerge
This matches the expectations of distro setups and clang's understanding
of what the ldso should look like

(From OE-Core rev: 2e95208253211872a501407a1180dc192a634195)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Mike Crowe
6a9ecb56a2 rootfs.py: Don't create modules directory for all kernels
efa88e1c227d695319197f511701e0230d301f39 arranged for the versioned
modules directory to be created and depmod to run for every kernel
package. Unfortunately this happens for every _built_ kernel package,
even if that package and/or its modules aren't installed in the rootfs.

Let's assume that there's no point in running depmod if the modules
directory did not already exist.

(This problem was observed in Scarthgap and this fix was tested there.
It doesn't look like any of the subsequent changes will have affected
this behaviour.)

(From OE-Core rev: 80c218462c6e4a2deb73803a5d36e8b1f7ed5ed7)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Reviewed-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
7d9036be35 clang: Upgrade to 20.1.5 release
Brings following fixes

* 7b09d7b44638 [analyzer] Workaround for slowdown spikes (unintended scope increase) (#136720)
* a708fb737a78 [RISCV] Allow `Zicsr`/`Zifencei` to duplicate with `g` (#136842)
* 1c0368417f55 [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (#127406)
* 0439d1d36312 [Clang] Fix handling of reference types in tryEvaluateBuiltinObjectSize (#138247)
* 74ed1ac61104 [sanitizer_common] Fix build on ppc64+musl (#120036)
* 2d079b96a5fb release/20.x: [clang-format] Fix a crash on formatting missing r_paren/r_brace (#138230)
* 2cacf46f35c8 [X86][TargetLowering] Avoid deleting temporary nodes in `getNegatedExpression` (#139029)
* f233430d977b [AArch64] Fix feature list for FUJITSU-MONAKA processor (#139212)
* 41c36d940804 [clang] Fix unused variable warning in MS mangler from constant matrix patch
* 72ad9be1e337 [Clang][MicrosoftMangle] Implement mangling for ConstantMatrixType (#134930)
* 0019b7d0ae0b [wasm-ld] Refactor WasmSym from static globals to per-link context (#134970)
* b7b834e2a20e [RTSan][Darwin] Adjust OSSpinLock/_os_nospin_lock interceptor and tests (#132867)
* f811c7df0a10 [rtsan][Apple] Add interceptor for _os_nospin_lock_lock (#131034)
* 4370072022e5 [clang] Forward TPL of NestedNameSpecifier
* d34d5296095b Support z17 processor name and scheduler description
* a7166c373946 release/20.x: [clang-format] RemoveParentheses shouldn't remove empty parentheses (#138229)
* 5429418cb064 [clang] Add support for Debian 14 Forky and Debian 15 Duke (#138460)
* be087ab35970 [libc++] Re-introduce _LIBCPP_DISABLE_AVAILABILITY (#134158)
* 2b34040173f7 [clang-repl] Fix destructor for interpreter for the cuda negation case (#138091)
* ae97a56d363f [Hexagon] Add missing patterns to select PFALSE and PTRUE (#138712)
* 2386c377db4f [BasicAA] Gracefully handle large LocationSize (#138528)
* 961ce35e2957 [OpenMP] Add pre sm_70 load hack back in (#138589)
* 009f3c10d1c1 [LLD][COFF] Don't dllimport from static libraries (#134443)
* 70eed33971d9 [InstCombine] Do not combine shuffle+bitcast if the bitcast is eliminable. (#135769)
* 6ddf2e5d10f8 [clang-tidy] Do not pass any file when listing checks in run_clang_ti… (#137286)
* 8272e451613d [flang] Exempt construct entities from SAVE check for PURE (#131383)
* 069ef671e0ab [AArch64][SME] Allow spills of ZT0 around SME ABI routines again (#136726)
* a38e1ae2041d [AArch64][SME2] Don't preserve ZT0 around SME ABI routines (#132722)
* be4097b6ee57 Fix crash lowering stack guard on OpenBSD/aarch64. (#125416)
* aecbb2364a7c [Clang] Fix the trailing comma regression (#136273)
* ebfae55af454 Bump version to 20.1.5

(From OE-Core rev: 07a1c1d765f220b1f75e503404d689524a8c14ef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
2ee99d2ddc compiler-rt-sanitizers: Fix build on mips
uintptr_t size is not consistent between compiler-rt and clang
for mips

(From OE-Core rev: 7f2b80c8eaaf226d3c9faed93e9c93879de50b54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Praveen Kumar
bd46ed87bc glib-2.0: update 2.84.1 -> 2.84.2
Overview of changes in GLib 2.84.2, 2025-05-20
==============================================

* Bugs fixed:
  - !4576 Backport !4575 “gclosure: fix ATOMIC_CHANGE_FIELD to read vint
    atomically” to glib-2-84
  - !4595 Backport !4582 “Windows: fix wrong typelib path” to glib-2-84
  - !4614 Backport "gstring: carefully handle gssize parameters"
  - !4616 Backport !4613 “Update macOS job for new CI runner” to glib-2-84
  - !4623 Backport !4617 “gdate: Call tzset before localtime_r” to glib-2-84
  - !4639 Backport -Wsign-conversion fixes for g_get_locale_variants() from
    !4590 to glib-2-84
  - !4640 Backport !4620 “glocalfile: Disable faccessat()-based query_exists on
    Android” to glib-2-84

(From OE-Core rev: 3deb6b59f3fa91d4fa755f49dad4ac62c3a518fb)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
NeilBrown
7c8ab2cee4 nfs-utils: don't use signals to shut down nfs server.
Since Linux v2.4 it has been possible to stop all NFS server by running

   rpc.nfsd 0

i.e.  by requesting that zero threads be running.  This is preferred as
it doesn't risk killing some other process which happens to be called
"nfsd".

Since Linux v6.6 - and other stable kernels to which

  Commit: 390390240145 ("nfsd: don't allow nfsd threads to be
  signalled.")

has been backported - sending a signal no longer works to stop nfs server
threads.

This patch changes the nfsserver script to use "rpc.nfsd 0" to stop
server threads.

(From OE-Core rev: 7b09ad289a36e388ee4244b574ed32b66b654286)

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Harish Sadineni
e1e7cde0ee binutils: Fix CVE-2025-1180
Upstream-Status: Submitted [https://sourceware.org/pipermail/binutils/2025-May/141351.html]
CVE: CVE-2025-1180

cherry picked from upstream commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=f9978defb6fab0bd8583942d97c112b0932ac814

(From OE-Core rev: f2681cfb09f1079543dd58cf788f67d65d26e21d)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Peter Marko
2b2d5930ea libxml2: revert commit breaking patchs in cmake file
Make a revert of commit which breaks cross-compilation of depending
components.
This commit changes path calculation from relative to cmake file to
absolute from includedir, which points then the host /usr/include.
Submitted upstream ticket [1] to clarify how this should be fixed in
libxml2 upstream.

[1] https://gitlab.gnome.org/GNOME/libxml2/-/issues/898#note_2452864

(From OE-Core rev: bc93853c8d2e1da10c000a477093e293fa637761)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Hongxu Jia
16e762124a lttng-tools: fix compile failed with libxml2 2.14.0+
Description:
| In file included from /srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.13.15/recipe-sysroot/usr/include/libxml2/libxml/parser.h:25,
|                  from ../../../../lttng-tools-2.13.15/src/common/config/session-config.c:29:
| /srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.13.15/recipe-sysroot/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
|   173 |     } input XML_DEPRECATED_MEMBER;
|       |       ^~~~~
| ../../../../lttng-tools-2.13.15/src/common/config/session-config.c:432:15: error: called object is not a function or function pointer
|   432 |         ret = handler->input(out_str, &out_len, (const xmlChar *) in_str, &in_len);
|       |               ^~~~~~~
| At top level:
| cc1: note: unrecognized command-line option '-Wno-incomplete-setjmp-declaration' may have been intended to silence earlier diagnostics

According to [1][2], the UTF-8 handler is
```
static xmlCharEncError
UTF8ToUTF8(void *vctxt ATTRIBUTE_UNUSED,
           unsigned char* out, int *outlen,
           const unsigned char* in, int *inlen,
           int flush ATTRIBUTE_UNUSED)
```

Update input.func with setting ATTRIBUTE_UNUSED params with NULL and 0

[1] 38f475072a
[2] 69b83bb68e (478024cc18a2cc8dbaed34076e9775f6827f413d_2188_2201)

(From OE-Core rev: 5feba5682a0d07de94f4b13d7ef24d537c624cf4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Peter Marko
383df93c6f libxml2: upgrade 2.13.6 -> 2.14.3
Handle CVE-2025-32414 and CVE-2025-32415.

* rebased install-tests.patch
* removed testsuite testThreads (merged into runtest.c)
  * 481fd6bbee
* removed IPv6 option (as part of with ftp support removal)
  * dba1ed85a3
* added testsuites testlimits testparser (already present before but not executed)

License-Update: Mention contributors in Copyright
4bd66d4549

(From OE-Core rev: 6585649fdd2ab9e83dfd60eb77ff7821a1363d50)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Yash Shinde
b7416cc87e gcc: fix incorrect preprocessor line numbers in large files
Resolve static assertion failures caused by incorrect line numbers
after #include directives, introduced by the backport of PR108900 to GCC.
Update line map handling to correctly compute locations in large files,
including fixes for both LC_ENTER and LC_LEAVE to ensure accurate
line number resolution in rare edge cases.

https://gcc.gnu.org/cgit/gcc/commit/?id=edf745dc519ddbfef127e2789bf11bfbacd300b7

(From OE-Core rev: 3b22793f4bdee25b87dda03574f65e3441d230ba)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Jeroen Hofstee
b4c6bbce0e gcc: Fix wrong code generation in atomic intrinsics for arm
This is seen with QT code

Error: ARM register expected -- `ldrex r1,[s16]'

(From OE-Core rev: 07f6ebadf0bc4a90bdba9106df7fb55be8d76ffd)

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Luca Fancellu
474a7b65e3 clang: Include the libclang python bindings in the build
Modify the clang recipe to provide also the python module
'clang' when building libclang.

(From OE-Core rev: 091fb8f51b5fdd3cb8e53e540d3c6feb8c40f8d5)

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Hiago De Franco
c26f016b74 base-files: add nsswitch-resolved.conf and remove nsswitch patch
Due to changes to nsswitch.conf file on commit 0cb122f17cf2
("base-files: add gshadow entry in nsswitch.conf"), the current patch
does not apply anymore due to patch fuzz.

This fuzz wasn't detected before because this is a conditional patch,
and will be hard to detect if nsswitch.conf changes again.

Instead, add a new version of nsswitch.conf, called
nsswitch-resolved.conf, which will later be renamed accordingly based on
the DISTRO_FEATURES variable. This file contains the necessary changes
which were applied by the patch before.

(From OE-Core rev: f3f68874f0edd16c4a85df76e34cc905c41d47f0)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
5a9c2f7cd9 vulkan-samples: Upgrade to latest tip of trunk
Drop backports available in latest sources

(From OE-Core rev: 0c8b692b4831529ad56b24224cec520bf7cd0973)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
91533be0f4 mesa: move dri_internal header to mesa-dev
The GL/internal/dri_internal.h header is not a part of the OpenGL API.
Instead it defines Mesa interface with DRI drivers. Move it to mesa-dev
package to reside next to dri.pc.

(From OE-Core rev: 72ad9950f0b6c44068e52be3bb3a015bd3affa06)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
adfe38d866 mesa: drop .so files for GLVND ICD libraries
If GLVND is enabled, Mesa provides two ICD libaries, libEGL_mesa.so.0
and libGLX_mesa.so.0. During the installation it also creates two extra
symlinks, libEGL_mesa.so and libGLX_mesa.so, however those symliks are
unnecessary and useless as nothing will ever link to those ICD archives.
Remove them from the install dir, which also makes package
libglx-mesa-dev disappear (it contained only this symlink).

(From OE-Core rev: badb1ee13ec87923aa6c4cdeb90756cc370e10bc)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
f39d11ea79 mesa: sort out PROVIDES for the glvnd case
If mesa is built with GLVND enabled, it doesn't provide GL / GL ES / EGL
libraries directly. Instead it provides two ICD libraries: libEGL_mesa.0
and libGLX_mesa.so.0. Remove virtual provides from the glvnd case
(dropping incorrect virtual/libglx provider while we are at it) and
replace those with runtime providers (to be used by libglvnd in order to
pull corresponding ICDs).

(From OE-Core rev: 9d3b4c9bc40392ba87f110ec5db0dedf381b8c4a)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
3ad50d41db mesa: don't set RCONFLICTS / PROVIDES if glvnd is enabled
If glvnd is enabled, mesa packages do not provide full library
implementations (instead it provides two ICDs, one for EGL, one for
GLX). This means that there is no more conflict between mesa packages
and other vendor packages. Stop setting those extra tags for mesa
packages.

(From OE-Core rev: b1b8a0f69dafe23c992754cffb7aaf575753e564)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
1fba128384 mesa: drop gallium-pipe support
With Clover being gone, there are no more separate gallium-pipe
libraries. Drop corresponding parts of the recipe.

(From OE-Core rev: b668f51f0384029892e8a87935c5fad26dd4e690)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
780670519e mesa: don't add extra tags to the libopencl-mesa package
The libopencl-mesa package provides OpenCL ICDs (Installable Client
Drivers). As such, there is no conflict between several packages
providing ICDs for different vendors. Split the loop that modifies
package metadata and stop adding extra RPROVIDES / RCONFLICTS /
RREPLACES tags to the libopencl-mesa package.

(From OE-Core rev: 6849af6df74f4a30ab7820a698598932832498dc)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
c919849c12 mesa: drop the libopencl-mesa-dev package
Thre is no "development" package for libopencl-mesa. The main package
contains Installable Client Drivers, for which there are no headers and
the extra .so file isn't supposed to be linked with anything.

Drop the useless and confusing libopencl-mesa-dev package.

(From OE-Core rev: 2f9ee74eb7dfce569e9c49dca54e0ed4b5b8596d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
14fe96c8e5 mesa: fold GL ES 3 packages into GL ES 2 ones
OpenGL ES 3 is closely tied to the OpenGL ES 2: there is no separate
library, one can use GL ES 2 headers for GL ES 3 app, etc. Instead of
having separate packages, merge GL ES 3 packages into GL ES 2 ones.

Suggested-by: Böszörményi Zoltán <zboszor@gmail.com>
(From OE-Core rev: 7c0e9c170db93d9af7cc505dcd71c4f3d6c4e9c5)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
c387e17d92 mesa: drop -Dgallium-opencl flag
The Clover support has been deprecated upstream and got explicitly
disabled by the 0001-dont-build-clover-frontend.patch patch. Drop it
from the build flags.

(From OE-Core rev: ba712aabaa7cb20e97dd9e97456357a0ed24337e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
fa562283e4 mesa: drop useless -Dshared-glapi flag
Mesa 25.1 dropped support for static glapi, making this switch
deprecated (and useless). Drop it from the build options.

(From OE-Core rev: 4a06d51f9917a71ab1df31bcb6ce7f67dfce7139)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Dmitry Baryshkov
301147322e mesa: remove OSMesa support
Mesa 25.1 has dropped OSMesa support. Remove corresponding bits from the
recipe.

(From OE-Core rev: 8d134f130b9e3b9b8f6508d2ba84223c4e23cffa)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
d57f98d428 pulseaudio: Pin to use GCC compiler
Inline assembly is not written in portable fashion

(From OE-Core rev: 6e5194d84ff3dbec3f355eeda99bc739ec98de1c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
6656317201 webkitgtk: Use gcc to compile for arm target
Builds with clang run into compiler errors

<inline asm>:320:1: error: Relocation Not In Range
  320 | movw r4, #:lower16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase
      | ^

(From OE-Core rev: be459bf17d5e47c51d96da1a571de01790c277b9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:17 +01:00
Khem Raj
7882108234 valgrind: Use gcc to compile on riscv64
clang does not yet support __builtin_longjmp on riscv64

(From OE-Core rev: 9ad32f5482665ba121e2083c1a1d9cd3a00f3ac4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Khem Raj
a9ac218e83 qemu: Link with libatomic on x86/clang
Clang does need libatomic to provide 64bit atomic
builtins on 32bit x86

(From OE-Core rev: 86919183c477e527510fbf80ddec152882d07731)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Khem Raj
1cc5c46231 openssl: Link with libatomic on x86/clang
Fixes

threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free'

(From OE-Core rev: 636e30f2d363bd77ac9cce69eecb14d2db703bb2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Khem Raj
78a8cee422 systemd-boot: Remove -mfpmath=sse option from cflags
EFI sources in systemd uses -mgeneral-regs-only which conflicts
with -mfpmath=sse specified by OE via tune arguments. It needs to
be removed, clang errors about it and fails the build

Fixes
error: the 'sse' unit is not supported with this instruction set

(From OE-Core rev: a7cbb7b90a9eb9f8a98054f8613a8230472cf4a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Khem Raj
b20585724f pulseaudio: Treat -Wunused-command-line-argument as error
This ensures that it does not enble SSE when -msse flag is passed, clang
warns about unused option on non-x86 targets but it must be flagged as
error for configure to notice and fail the check to enable SSE on non-x86
machines

(From OE-Core rev: 976b01c798ad2825bb36e5e91d1d5066701cc586)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Markus Volk
2d251863fc mesa: make asahi dependent on opencl
asahi not only depends on libclc but also requires rusticl

-remove obsolete comment

(From OE-Core rev: 9645fd0864b8ec3495bf74058ffbf056583677d5)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Yoann Congal
aa48208d57 selftest/reproducible: Limit memory used by diffoscope
When working on large diffs (eg in  meta-oe's repro test) diffoscope may
use a huge amount of memory and trigger OOM kills on parallel builds.

Use the max_diff_block_lines_saved option to limit to 1024 the number of
diff lines saved in a block. Also, limit the number of line in the
report to generate a report even when the limit is reached.

The chosen default 1024 comes from diffoscope default for a diff block.

For a random 10MB binary (packaged in ipk, deb and rpm), this does
decrease the "Maximum resident set size" of diffoscope from 1.3GB to
400MB.

As an added bonus, this also make diffoscope bail out earlier, on the
same example: execution time goes from 30 minutes down to 7.

Fixes [YOCTO #15876]

(From OE-Core rev: 04cbcfc7e09d19b0ba50e7940fc82d10e222fdbe)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Gyorgy Sarvari
77b7006d77 ca-certificates: fix on-target postinstall script
When the package is installed directly on the machine (instead of
installing it in the rootfs directly), the postinstall script fails with
the following error:

/usr/sbin/update-ca-certificates: line 75: shift: shift count out of range

The reason is that the "update-ca-certificates" script is executed with
the "--sysroot" argument, and as the sysroot $D is passed. However on the
target system this variable doesn't exist, so the argument is passed without
this mandatory value, and the execution fails.

To avoid this error, check if the $D variable exists, and pass the --sysroot
argument only when it does.

Reported-by: WXbet <Wxbet@proton.me>
(From OE-Core rev: cf39461e97098a1b28693299677888ba7e8bfccf)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Trevor Gamblin
be020974d5 setuptools3: remove NO_FETCH_BUILD
We aren't checking for this variable anymore, so remove it from the
setuptools3 and setuptools3_legacy classes.

(From OE-Core rev: d6ef6c50dd344a8cfc873c18216ba497735d8200)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Trevor Gamblin
a1bcc9faf7 python3-setuptools: upgrade 78.1.0 -> 80.8.0
Changelog: https://setuptools.pypa.io/en/latest/history.html#v80-8-0

Notably:
- There was a temporary removal of the LICENSE file (restored in
  v80.8.0);
- The easy_install module has been mostly removed; what remains is a
  temporary stub for compatibility purposes.

(From OE-Core rev: 4fccef6c551dc2704e972aaf3d9567daa238b14c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Yi Zhao
13f6173864 psplash: update to latest rev
* 53ae74a3 configure.ac: fix autoconf code for img_fullscreen
* ec1ed353 configure.ac: standardize default-enabled options

(From OE-Core rev: 1a91da3acc442cece76e45d6d81f97326764984a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Yi Zhao
fbb8b68a10 less: upgrade 668 -> 678
ChangeLog:
https://greenwoodsoftware.com/less/news.678.html

License-Update: Copyright year updated to 2025

(From OE-Core rev: ccaaee96b4f6f7c6e096b9e682ecac048cda941c)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Yi Zhao
7e55f7f8a8 gnu-efi: upgrade 4.0.0 -> 4.0.1
ChangeLog:
https://github.com/ncroxon/gnu-efi/releases/tag/4.0.1

Refresh local patch.

(From OE-Core rev: 93025d5d6694a90cf4d591c29853303d04ac5844)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Yi Zhao
982ef9ddeb libcap: upgrade 2.75 -> 2.76
ChangeLog:
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.wqnp1zp1o8bm

Refresh local patch.

(From OE-Core rev: cf409e0c2d5e90af9ad7cbb389c37f5f3a7a4b4e)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Markus Volk
3003615eb5 boost: add process library
This fixes an error seen with current wesnoth:
| ../build/tmp/work/corei7-64-poky-linux/wesnoth/1.19.12/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/15.1.0/ld: src/libwesnoth-common.a(filesystem.cpp.o): in function `boost::process::v2::environment::detail::is_executable(boost::filesystem::path const&, boost::system::error_code&)':
| /usr/include/boost/process/v2/detail/environment_posix.hpp:81:(.text._ZN5boost7process2v211environment15find_executableINS2_12current_viewEEENS_10filesystem4pathES6_OT_[_ZN5boost7process2v211environment15find_executableINS2_12current_viewEEENS_10filesystem4pathES6_OT_]+0x24c): undefined reference to `boost::process::v2::environment::detail::has_x_access(char const*)'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.

(From OE-Core rev: 6530896d40c403039e5ab8f2e09c2cba908c26e4)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Ross Burton
2b6afab777 rust: remove file-native DEPENDS
It's unclear what this was for: there's no use of "file" or libmagic in
the recipe, and the guide to building Rust from source doesn't list file
as a dependency[1].

[1] https://github.com/rust-lang/rust/blob/master/INSTALL.md#dependencies

(From OE-Core rev: 79dcbed250cfe8ab05dd6e075905ad37de6d3bc4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Ross Burton
2dadccd9e6 rust: consolidate rust-llvm dependencies
There's no need to have multiple overrides for this, as BBCLASSEXTEND
will automatically map the dependencies as needed.

(From OE-Core rev: ffa699332551fbbb95a0e388385667dc2706da6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Ross Burton
ff053b4711 rust: remove python3-native DEPENDS
This dependency has always existed in the oe-core recipes but isn't
explicitly needed here: the host Python is sufficient.

Note that rust-common still inherits on python3native[1] so this doesn't
yet actually have a meaningful change to the dependency tree.

[1] oe-core 4abd6ee9d4 ("rust-common.bbclass: rewrite toolchain wrappers in (native) python")

(From OE-Core rev: aee45fc067b2ccf3e365deb94584089b60cc7d4e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Ryan Eatmon
cdee0c5774 sbc: Fix for gcc 15 compile error
With the move to gcc 15, the code is now generating a compile error.

../sbc-2.1/sbc/sbc_primitives_armv6.c:284:9:
   error: too many arguments to function 'sbc_analyze_eight_armv6';
      expected 0, have 3

Simple fix is to drop the C standard down to gnu17 to avoid this new
error.

(From OE-Core rev: 2dc0664e966cd8d4c99798cc997c192785773e31)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Trevor Gamblin
d784ce8c15 python3-numpy: upgrade 2.2.5 -> 2.2.6
Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.6

ptests are OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48687
|# PASS: 44845
|# SKIP: 3805
|# XFAIL: 32
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 81
|END: /usr/lib/python3-numpy/ptest
|2025-05-21T16:09
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Reproducibility looks OK:

|2025-05-21 11:20:30,349 - oe-selftest - INFO - ----------------------------------------------------------------------
|2025-05-21 11:20:30,349 - oe-selftest - INFO - Ran 1 test in 1619.910s
|2025-05-21 11:20:30,349 - oe-selftest - INFO - OK
|2025-05-21 11:20:33,239 - oe-selftest - INFO - RESULTS:
|2025-05-21 11:20:33,239 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1589.05s)
|2025-05-21 11:20:33,242 - oe-selftest - INFO - SUMMARY:
|2025-05-21 11:20:33,242 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1619.911s
|2025-05-21 11:20:33,242 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: 36d100000bdffc521ec7baec43f0a49de81166de)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Markus Volk
f28a6efdf2 mesa: update 25.1.0 -> 25.1.1
- install gbm_backend_abi.h into libgbm-dev package

(From OE-Core rev: 20c3490811fee0dcda7a90d177d26070e782d66e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Khem Raj
21bd33baa0 gnu-efi: Use objcopy from GNU binutils with clang
llvm-objcopy reports errors which needs further investigations but
stick to binutils provided objcopy meanwhile

(From OE-Core rev: 5476ecaac46dfeefac9b4f2c9c18d5d57ab1ea0b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-27 09:01:16 +01:00
Jamin Lin
fe11965d14 ref-manual: uboot-sign: Support firmware property in FIT config
Add documentation for the UBOOT_FIT_CONF_FIRMWARE variable, which allows
users to specify an image to be assigned to the "firmware" property of
the FIT configuration node. This explicitly defines the primary image
to boot, instead of relying on the first entry in the "loadables" list.

(From yocto-docs rev: f72fc69e2d2a074d5eaf1cc36b30726de58e3ab5)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Antonin Godard
e2192ecec1 brief-yoctoprojectqs/index.rst: replace removed macro
The UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL macro was removed after
8d993022c2ae ("docs: use literalinclude for system requirements").
Replace by the literalinclude like in the reference manual.

Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
(From yocto-docs rev: 1316bd95f4c4107549de34b78bca0499233497e8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Trevor Woerner
be2eaa114b sphinx-lint: unbalanced inline literal markup
Fix as many instances of unbalanced-inline-literals-delimiters as reported
by 'make sphinx-lint' as possible. Sphinx and/or its linter seem to get
tripped up randomly when references contain links to a heading which
contain literals enclosed in double-back-tics; especially in the cases
where a heading either contains multiple literals or when the literal is
not at the end of the heading. Not all of them can be "fixed" to pass both
building and linting.

(From yocto-docs rev: 3460177c46d360b0f2f852cdab23f21bd4ec6d5a)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Trevor Woerner
fe721fe574 sphinx-lint: superfluous backtick in front of role
Fix all instances of backtick-before-role as reported by 'make sphinx-lint'.

(From yocto-docs rev: d38f9b25c0bd095fe1158f14226fb74f8645496a)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Alper Ak
65ffae4706 ref-manual/variables.rst: document INHIBIT_UPDATERCD_BBCLASS
Fix [YOCTO #15753]

(From yocto-docs rev: 5f5a406d4acdfcbf655ac014d0d2807056f95291)

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Etienne Cordonnier
1f49629be5 ref-manual/variables.rst: document SSTATE_SKIP_CREATION
(From yocto-docs rev: 3982720668aafa18c9ed27304d09f896740b1653)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Alper Ak
3d49affb49 ref-manual/variables.rst: document INHIBIT_DEFAULT_RUST_DEPS
Fix [YOCTO #15755]

(From yocto-docs rev: fd143a04bab38f6aeec23ec229657b16fcaecdf1)

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Enrico Jörns
2358a2bae4 conf.py: tweak SearchEnglish to be hyphen-friendly
This modifies the default indexer split() and js splitQuery()
methods to support searching for words with hyphens.

While this might not be an ideal, rock solid, and fully future-proof
solution, it allows at least to search for strings inlcuding hyphens,
such as 'bitbake-layers', 'send-error-report', or 'oe-core'.

Below is a bit more detailed explanation of the two modifications done:

1) The default split regex in the sphinx-doc SearchLanguage base class
   is:

   | _word_re = re.compile(r'\w+')

   which we simply extend to include hyphens '-'.

   This will result in a searchindex.js that contains words with hyphens,
   too.

2) The 'searchtool.js' code notes for its splitQuery() implementation:

   | /**
   |  * Default splitQuery function. Can be overridden in ``sphinx.search`` with a
   |  * custom function per language.
   |  *
   |  * The regular expression works by splitting the string on consecutive characters
   |  * that are not Unicode letters, numbers, underscores, or emoji characters.
   |  * This is the same as ``\W+`` in Python, preserving the surrogate pair area.
   |  */
   | if (typeof splitQuery === "undefined") {
   |   var splitQuery = (query) => query
   |       .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu)
   |       .filter(term => term)  // remove remaining empty strings
   | }

   The hook for this is documented in the sphinx-docs 'SearchLanguage'
   base class.

   |    .. attribute:: js_splitter_code
   |
   |       Return splitter function of JavaScript version.  The function should be
   |       named as ``splitQuery``.  And it should take a string and return list of
   |       strings.
   |
   |       .. versionadded:: 3.0

   We use this to define a simplified splitQuery() function with a split
   argument that splits on empty spaces only.

We extend SearchEnglish (which extends SearchLanguage) here to retain
the stemmer code and stopwords for English.

[YOCTO #14534]

(From yocto-docs rev: d4a98ee19e0cbd6be96923dc72faee143a6b294b)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Christos Gavros
d4d152d4c6 ref-manual/variables.rst: document the INITRAMFS_MAXSIZE variable
This variable specifies the maximum allowed size
of the initramfs image in Kbytes.
Fixes [YOCTO #15797]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
CC: Antonin Godard <antonin.godard@bootlin.com>
(From yocto-docs rev: 07bcdddaf71c76cdec186cf0ddd97a47eec54972)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Christos Gavros
50d1bec52d ref-manual/variables.rst: document the IMAGE_ROOTFS_MAXSIZE variable
This variable specifies the maximum allowed size
of the generated image in kilobytes.

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
CC: Antonin Godard <antonin.godard@bootlin.com>
CC: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: f3ddc92081363aa7ef7d4fc2c3b918f32f7bda05)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Alper Ak
fcb84b0baf ref-manual/variables.rst: document INHIBIT_AUTOTOOLS_DEPS
Fix [YOCTO #15756]

(From yocto-docs rev: 18a2686b530ae428103653450d8963d38dcdef46)

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-26 13:02:49 +01:00
Dan McGregor
caea04becc genericx86*: allow higher tunes
Similar to changes in oe-core for the qemux86* machines, allow users
to set higher tuning levels for the genericx86 targets without changing
the default.

(From meta-yocto rev: 1b29b8168584420a858e2897ba2b0c332dae51bf)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 23:38:49 +01:00
hongxu
1599d1a68e patch: upgrade 2.7.6 -> 2.8
Drop obsolete patch, the lib/gnulib.mk has been removed by upstream
- 0001-Unset-need_charset_alias-when-building-for-musl.patch

Drop backport patches:
- 0002-Fix-segfault-with-mangled-rename-patch.patch
- 0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch
- 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch
- 0001-Fix-swapping-fake-lines-in-pch_swap.patch
- CVE-2019-13636.patch
- 0001-Invoke-ed-directly-instead-of-using-the-shell.patch
- 0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch
- 0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch
- CVE-2019-20633.patch

GNU patch 2.8 released: http://savannah.gnu.org/news/?id=10741

NEWS since v2.7.6 (2018-02-03):

    The --follow-symlinks option now applies to output files as well as input.
    'patch' now supports file timestamps after 2038 even on traditional

  GNU/Linux platforms where time_t defaults to 32 bits.

    'patch' no longer creates files with names containing newlines,

  as encouraged by POSIX.1-2024.

    Patches can no longer contain NUL ('\0') bytes in diff directive lines.

  These bytes would otherwise cause unpredictable behavior.

    Patches can now contain sequences of spaces and tabs around line numbers

  and in other places where POSIX requires support for these sequences.

    --enable-gcc-warnings no longer uses expensive static checking.

  Use --enable-gcc-warnings=expensive if you still want it.

    Fix undefined or ill-defined behavior in unusual cases, such as very

  large sizes, possible stack overflow, I/O errors, memory exhaustion,
  races with other processes, and signals arriving at inopportune moments.

    Remove old "Plan B" code, designed for machines with 16-bit pointers.
    Assume C99 or later; previously it assumed C89 or later.
    Port to current GCC, Autoconf, Gnulib, etc.

(From OE-Core rev: b7034d912122582bd63f06d2e4a849dd376b7157)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
6443b3cdf5 perf: Do not treat maybe-uninitialized warnings as errors
Clang finds more warnings in kernel code, make clang happy to not treat
these extra warnings as errors

(From OE-Core rev: c587f473a4581d1640aa227a23d517c51b7ec3cc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
ee22a23e98 busybox: Fix build on architectures without SYS_settimeofday
Fixes following errors on riscv32/musl

| util-linux/hwclock.c:143:20: error: use of undeclared identifier 'SYS_settimeofday'
|   143 |         int ret = syscall(SYS_settimeofday, NULL, tz);
|       |                           ^
| 1 error generated.

(From OE-Core rev: 2d19a43c18c2c5b87e9a99f4c672ca7c6a202b80)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
2dfdcf7891 rpm: Always use gcc compiler
clang can build it ok but the openmp directives
get emitted with full paths into binaries [1] until
thats fixed in clang/openmp stick to gcc

[1] https://github.com/llvm/llvm-project/issues/82541

(From OE-Core rev: 89d2401ab0484478aa582fbdda21fd1d287605c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
768cde81b1 pseudo: Pin to using GCC compiler
It uses compiler built-ins which clang does not provide

(From OE-Core rev: 0b8ce7e7f5e04fc078014cdfb25cf3502dbf4d49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
4adecef1ad syslinux: Pin to using GCC toolchain
It does not compile with clang due to include_next stdarg.h not working
as the system expects to match gcc behavior

(From OE-Core rev: 4ef959f37816f23e4ed57a71cb9a42fd818aa1fb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
2c3568897f grub,grub-efi: Pin to using gcc on aarch64
It needs porting to work with clang

(From OE-Core rev: 18ebddf859c9baa4048601ebd968f6b8b02881ed)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
3d2faaeb12 glibc: Always use GCC toolchain
Glibc is not yet buildable with non-gcc compilers e.g. clang

(From OE-Core rev: c822caf008be2311be3402a74826c6dcf99ce0a4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
01f26a021a gcc: Always use GCC toolchain
GCC is not yet compilable with clang e.g.

(From OE-Core rev: 28e84b252eb6c01956cad554e9c453412b45e51f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Deepesh Varatharajan
9786fca4f6 binutils: Fix CVE-2025-1178
Prevent an abort in the bfd linker when attempting to
generate dynamic relocs for a corrupt input file.

PR 32638

Backport a patch from upstream to fix CVE-2025-1178
Upstream-Status: Backport from [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=75086e9de1707281172cc77f178e7949a4414ed0]

(From OE-Core rev: f58f174daa7e30baa18abe4db9eda9c1b1c425cc)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Liu Yiding
32b3f35bf6 libunwind: disable installation of tests dir
fix the issue that:
| Error: Transaction test error:
|   file /usr/libexec/libunwind/check-namespace.sh conflicts between attempted installs of libunwind-1.8.1-r0.core2_64 and lib32-libunwind-1.8.1-r0.core2_32
|   file /usr/libexec/libunwind/test-runner conflicts between attempted installs of libunwind-1.8.1-r0.core2_64 and lib32-libunwind-1.8.1-r0.core2_32

By default, test suite from srcdir/tests/* will be installed to /usr/libexec/libunwind, here pass --disable-tests to not install test suite.
Test suite can be added to libunwind-ptest in the future if needed

(From OE-Core rev: 9d9c36cd5fc59e88bcd8a08ba70ced996c7d74be)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Dmitry Baryshkov
14dc339f38 clang: build-depend on spirv-llvm-translator-native
Building of spirv-mesa and spirv64-mesa CLC targets (which are required
for Mesa to work) requires a working llvm-spirv tool (provided by the
spirv-llvm-translator-native package). Make clang build-depend on the
corresponding recipe in order to be able to build requried targets.

Fixes: 4178fe97371b ("clang: split SPIRV-LLVM-Translator to its own recipe")
(From OE-Core rev: 177aaa7912f317da4a17a57081eb4f5667ef2c02)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Jamin Lin
13d83810b8 uboot-sign: Add support for setting firmware property in FIT configuration
Add the ability to set the "firmware" property in the FIT configuration node
by introducing the UBOOT_FIT_CONF_FIRMWARE variable.

This property defines the primary image to be executed during boot. If it is
set, its value will be written into the FIT configuration under the "firmware"
field. If not set, the bootloader will fall back to using the first entry in
the "loadables" list.

Using this property improves control over the boot sequence, especially in
multi-binary boot scenarios.

(From OE-Core rev: 82e1d7cbc855dbe4bec93f9b049851cbe376ea5e)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Jamin Lin
a50b243ea6 uboot-sign: Fix unintended "-e" written into ITS
An unintended "-e" string may be written into the generated ITS file when users
set the UBOOT_FIT_USER_SETTINGS variable to include custom binaries in the U-Boot
image.

This issue is caused by the use of 'echo -e', which behaves inconsistently across
different shells. While bash interprets '-e' as enabling escape sequences
(e.g., \n, \t), dash—the default /bin/sh on many systems—does not recognize
'-e' and treats it as a literal string. As a result, "-e" can be mistakenly
injected into the ITS file under certain build environments.

To ensure consistent and shell-agnostic behavior, replace 'echo -e' with
'printf', which is well-defined by POSIX and behaves reliably across all common
shells.

This change improves portability and prevents malformed ITS files caused by unintended
string injection.

Fixes: c12e013 ("uboot-sign: support to add users specific image tree source")
(From OE-Core rev: 1d5d22a38188f2c879e289a9732b620b0a6f7a6e)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Randy MacLeod
afee84f8d3 valgrind: Upgrade from 3.25.0 to 3.25.1
The following bugs have been fixed or resolved in this point release:

503098  Incorrect NAN-boxing for float registers in RISC-V
503641  close_range syscalls started failing with 3.25.0
503914  mount syscall param filesystemtype may be NULL
504177  FILE DESCRIPTORS banner shows when closing some inherited fds
504265  FreeBSD: missing syscall wrappers for fchroot and setcred
504466  Double close causes SEGV

To see details of a given bug, visit
  https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed above.

(From OE-Core rev: 582e832634d5f1fa4ff9c89d095c10eaffcb3582)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Alejandro Hernandez Samaniego
344d484779 newlib: Upgrade 4.4.0 -> 4.5.0
Licence changes:
- Adds BSD-2 for libm ld128 functions on 5c5ae2c08
- Adds Synopsys arc-*-* targets on 820dd50

(From OE-Core rev: 0ab6ac79b9f9519d9ee2b2c8d5b217a7e665e6f3)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Khem Raj
522af6e5ce rust: Use patchelf in place of chrpath to edit rpaths
chrpath has limitations e.g. the original rpath in ELF have to bigger in size
than the one being edited into it by chrpath, some toolchains do not use RPATH
but emit the RUNPATHs into ELF files and chrpath is not able to handle the
runpaths, this is the case with mips and pp32 build of rust, especially
when using clang compiler to build them.

patchelf can do more:

Modify RUNPATH entries
Add RPATH/RUNPATH where none existed
Set longer paths than the original
Convert between RPATH and RUNPATH

(From OE-Core rev: 22b903f6620455e142e836412d3f7f6a4f03bea7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Yogesh Tyagi
94019980ea ltp: backport patch to fix compilation error for Skylake -march=x86-64-v3
When the input compiler enables AVX, stack realignment requirements
causes gcc to fail to omit %rbp use, due to which the test fails to
clobber %rbp in inline asm.  Disable AVX to build the test on x86_64 so
that the test continues working.

(From OE-Core rev: bbd3e7886e2ec5ab3578d618b28d007a80d917aa)

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Hongxu Jia
fa96265154 libgcrypt: upgrade 1.11.0 -> 1.11.1
(From OE-Core rev: 73bcdedc80a83e241d2162b10a2244a8dbd0e403)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Hongxu Jia
9aef708f44 man-pages: upgrade 6.13 -> 6.14
(From OE-Core rev: e80a5a0d06d0d89d1e9a6bc45307a5f173f4592b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-22 14:36:49 +01:00
Michal Sieron
e3402fe00c kernel-module-split: Allow for external conf files
Some recipes might provide conf files produced during build phase or
simply tracked in the VCS instead of generating them with Yocto.
In such cases those conf files wouldn't be assigned to correct packages.
With this change, if user wants to generate a conf file they still can,
but not generating them won't prevent assigning the file to proper
package given the file exists.

(From OE-Core rev: c7faf141592d1e2a5cab32a83f7e1498ee498d65)

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-20 14:47:50 +01:00
Joshua Watt
396e45480e bitbake: hashserv: Fix deprecation warning about sqlite adapter
The default adapters for sqlite datetime are deprecated as of Python
3.12, so implement our own.

[YOCTO #15333]

(Bitbake rev: 38a1d715bf58acbc9cb21eed413b3542c81cf15a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:50 +01:00
Markus Volk
b48273775f mesa: add support for asahi drivers
(From OE-Core rev: 9bd16b398ff40d6172b33fb0a0f369a2c79ea03a)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:18 +01:00
Markus Volk
eea9ce3911 mesa: update 25.0.5 -> 25.1.0
- drop two merged patches
- clover frontend is always compiled, even if not enabled
  clover is deprecated and was removed in master branch
  add a patch to fix that
- install gbm_backend_abi.h

(From OE-Core rev: 3d334e5b1e0e152178afce73f01cd1a3ded30677)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:18 +01:00
Khem Raj
d83d45adc4 kexec-tools: Fix ppc build
Compiler can analyse function pointer parameters now a days and
it reports the mismatches, hence fixed.

(From OE-Core rev: 99c62c5d26e9a046276f4ccd9df307c7a25cd393)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:18 +01:00
Khem Raj
e0d21f5c4f libvorbis: Ignore -mfused-madd as well for clang
This option is not universal for all compilers

(From OE-Core rev: 2d3b08b4327b3b6b2e16f6a19f1f9a2f951fc027)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:18 +01:00
Khem Raj
804e96e4f6 ovmf: Upgrade to 202502 release
Refresh patches

(From OE-Core rev: 903f5855135980eef0ba8e6cd9d64ee7f53d6096)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:18 +01:00
Khem Raj
0f13d6f48b m4: Upgrade to 1.4.20 release
This has been 4 years in making, it has fixes to build with gcc-15
and some patches are upstream [1] [2]

This release collects several years of portability improvements, as
well as a couple of minor optimizations to performance.  Notable
improvements in this release include faster execution of the 'eval'
builtin. More details [3]

[1] 2d830e4a79
[2] https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=commitdiff;h=a6ff69873110c0a8ba6f7fd90532dbc11224828c
[3] https://lists.gnu.org/archive/html/m4-announce/2025-05/msg00000.html

(From OE-Core rev: b30b952d82af8d505728123023344aac3d9204b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:17 +01:00
Ming Liu
af8b70d359 zip: fix a buffer overflow detected issue
A "buffer overflow detected" issue was observed as follows:
| *** buffer overflow detected ***: terminated
|
| zip error: Interrupted (aborting)

This issue is addressed by:
https://bugzilla.redhat.com/show_bug.cgi?id=2165653

Port the fix.

(From OE-Core rev: e2f3eeaedc0ea896f5f5b23f756056331b1647cf)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:55:17 +01:00
Ross Burton
a958799d37 Revert "xserver-xorg: mark CVEs fixed in 21.1.16 as fixed"
The CPE data in the NVD database is now complete, so these overrides are
no longer needed.

This reverts commit e3419fbaf2999a821e1890a12ab27285cc25b577.

(From OE-Core rev: 252b52ce3fd51acda6ab9108ea6354cb0885a4f7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Ross Burton
4fab105c8f Revert "xwayland: mark CVEs fixed in 24.1.6 as fixed"
The CPE data in the NVD database is now complete, so these overrides are
no longer needed.

This reverts commit 76c7bb2b9c1b5300f957f11e1601816f8f90b501.

(From OE-Core rev: 693f79b94edb6793d718f97457b6ebd4fa4bfb43)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Ross Burton
8576e869a2 buildstats-diff: find last two buildstats files if none are specified
If no buildstats directories are specified, then find the last two runs
under BUILDDIR.

(From OE-Core rev: 6ed0a13ae68a5e41a43ebd97d9ed154080a7101b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Ines KCHELFI
3d131ece58 insane.bbclass: Add unimplemented-ptest detection for cargo-based tests
Extend unimplemented-ptest QA check to detect Rust tests.
Note: To enable this QA check, add the following to your local.conf:
  WARN_QA += "unimplemented-ptest"

Examples of Rust-based meta-oe packages triggering unimplemented-ptest:

WARNING: cbindgen-0.28.0-r0 do_patch: QA Issue: cbindgen: cargo-based tests detected [unimplemented-ptest]
WARNING: fdfindd-10.2-r0 do_patch: QA Issue: fdfindd: cargo-based tests detected [unimplemented-ptest]
WARNING: deqp-runner-0.20.3-r0 do_patch: QA Issue: deqp-runner: cargo-based tests detected [unimplemented-ptest]
WARNING: bindgen-cli-0.71.1-r0 do_patch: QA Issue: bindgen-cli: cargo-based tests detected [unimplemented-ptest]
WARNING: python3-maturin-1.8.3-r0 do_patch: QA Issue: python3-maturin: cargo-based tests detected [unimplemented-ptest]
WARNING: uutils-coreutils-0.0.30-r0 do_patch: QA Issue: uutils-coreutils: cargo-based tests detected [unimplemented-ptest]

(From OE-Core rev: c3c10f00b1f4d4a092e5d3834ec0ba6abd6ac969)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Randy MacLeod
2f4e20740a linux: add CVE_STATUS for a chrome* bug
This is not a linux-yocto CVE yet it shows up in the reports as:
   linux-yocto-custom CVE-2023-3079  0.0  8.8  Unpatched  https://nvd.nist.gov/vuln/detail/CVE-2023-3079

For reference, the CPE says:
  Affects cpe:2.3linux:linux_kernel:-:*:*:*:*:*:*:*
So affects all Linux systems,
  Running on/with cpe:2.3🅰️google:chrome:*:*:*:*:*:*:*:*

[ YOCTO #15780 ]

(From OE-Core rev: 22ef4d2d116afb9d603a05fb107dd9da0e74558b)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Ross Burton
fec5b53708 cryptodev-linux: clean up do_install
The upstream Makefile now supports installing the headers directly[1],
so use the target instead of calling install manually.

[1] e3962fea4e

(From OE-Core rev: 749de43ccc13488c0ec74e4a4257cc25cbf89370)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Khem Raj
30ed130638 opensbi: Pass CROSS_COMPILE and REPRODUCIBLE flags
When using clang pass LLVM=y to makefile so it can select needed bits
using clang

(From OE-Core rev: 9f95660886db562669d064f380d963353eef524c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:43 +01:00
Yi Zhao
3b9bdac393 iputils: Security fix for CVE-2025-47268
CVE-2025-47268
ping in iputils through 20240905 allows a denial of service (application
error or incorrect data collection) via a crafted ICMP Echo Reply
packet, because of a signed 64-bit integer overflow in timestamp
multiplication.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-47268

Patch from:
070cfacd73

(From OE-Core rev: a4a58d3f6cd49a54a8c271abaad8098958d4f27f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:42 +01:00
Praveen Kumar
edfc53d729 connman: Fix CVE-2025-32366
In ConnMan through 1.44, parse_rr in dnsproxy.c has a memcpy length
that depends on an RR RDLENGTH value, i.e., *rdlen=ntohs(rr->rdlen)
and memcpy(response+offset,*end,*rdlen) without a check for whether
the sum of *end and *rdlen exceeds max. Consequently, *rdlen may be
larger than the amount of remaining packet data in the current state
of parsing. Values of stack memory locations may be sent over the
network in a response.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-32366

Upstream-patch:
https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=8d3be0285f1d4667bfe85dba555c663eb3d704b4

(From OE-Core rev: 548eddd84f23c6cb0352b9a692144050da8ba37a)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:42 +01:00
Khem Raj
77a5a1cc12 babeltrace2: Update patch to upstreamed version of patch
Update to the version of patch that landed upstream

(From OE-Core rev: 916dceb531d4bf5a852864af30913c972ea31cf0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:42 +01:00
Khem Raj
63b2084374 systemtap: Remove unneeded -Wno-dangling-pointer
This was added by me in below commit [1] to overcome a RISCV build failure
with gcc 13, the issue is gone with gcc-15

[1] https://git.yoctoproject.org/poky/commit/?id=4f09a93611134351381415d69228317d8a779014

(From OE-Core rev: 46a6fedf368c77a06d9a18d7c84a3f2e079c8f49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 17:35:42 +01:00
Quentin Schulz
f92147be29 set_versions.py: mark Styhead as EoL
Styhead is now EoL, let's remove it from the active releases.

(From yocto-docs rev: f2e3cf2637ce3ed3475faa472b134a29f019681b)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Trevor Woerner
ac4a58aa7d ref-manual/variables.rst: document WIC_CREATE_EXTRA_ARGS
Fixes [YOCTO #15509]

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: f1cdecb6da91dbfac59359c83038cb4a4c36ad0a)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Trevor Woerner
ec53c91af0 sphinx-lint: various fixes
A 'make sphinx-lint' pass found the following issues:
	trailing-whitespace
	missing-space-after-literal
	role-with-double-backticks
	missing-space-before-role (role missing opening tag colon)

(From yocto-docs rev: 6d4c67457e00a80dda4cd05bc5f05d8ebd8da5fc)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Mikko Rapeli
dd3507f6d3 sbom.rst: how to disable SPDX generation
Generating SPDX is enabled by default in poky but
it can take a lot of build time resources so document
how to disable it.

(From yocto-docs rev: bcd58b7a9455fbb0ea5944089d663e327f0eb38f)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Trevor Woerner
e216e39c7e contributor-guide/submit-changes: encourage patch version changelogs
Add a section after the 'git format-patch' information encouraging developers
to add patch version changelogs to their patch updates.

(From yocto-docs rev: 2e3a37c4607b296956993e557d1786c4876e5722)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Lee Chee Yang
e681870441 migration-guides: add release notes for 5.0.9
(From yocto-docs rev: 0d070439259d72f66a71c148f6c7926f6f233b6d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Enrico Jörns
512d81b697 ref-manual/variables.rst: update ROOT_HOME documentation
* Since scarthgap [1], the default will be overridden when using
  'systemd' as INIT_MANAGER. Reflect this in the documentation.
* The distro configuration is probably the better place for
  customization, thus at least mention this together with the
  local.conf.
* While at it, drop the probably redundant description on how to
  override weak default variables.
  The example on how to set "/root" is still given indirectly, anyway.

[1] ebafe463 ("systemd: upgrade to 255.1")

(From yocto-docs rev: 50e92009d309fc4ae406174feb8f6578142748cc)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Adrian Freihofer
15f6f8d67e ref-manual: kernel-fitimage.bbclass does not use SPL_SIGN_KEYNAME
The kernel-fitimage.bbclass uses the UBOOT_* variables. The SPL_*
variables are handled by uboot-sign.bbclass.

(From yocto-docs rev: 8ceffee908a039deb1021361faa7637e83ef26f3)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Antonin Godard
04c9bc8653 migration-guides: add placeholders for 5.3
Add placeholder files to be populated for the next 5.3 release.
Relevant section names from the previous 5.2 release migration
guide/release note have been left with their content empty.

(From yocto-docs rev: 2822bf71ee7cd2fa48f2f802eaab236538112d85)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Lee Chee Yang
8d9ca8c874 migration-guides: add release notes for 4.0.26
(From yocto-docs rev: c883b519ea7163b2c69d749ff4912e89528964b4)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Antonin Godard
19ca5f8d88 ref-manual/release-process: update releases.svg
- Add the future "Whinlatter" (5.3) and "Wrynose" (6.0) releases.
- Make the "Walnascar" release a current release.
- Update the month in Current.

(From yocto-docs rev: 6d471e8483cc8d797eff7916120f91fab44487d1)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Leonard Anderweit
02b30d6952 ref-manual: classes: uki: Fix git links
Fix links to files in git by adding a leading / to the path.

(From yocto-docs rev: 270cd833f7d680c6def21376c7ece488479023ed)

Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Antonin Godard
9d3a157d37 test-manual/intro: remove Buildbot version used
The version has changed now (3.10.12 as of writing). Avoid having to
maintain this information by removing the version info from the intro.
Also fix a typo ("uses now uses") and give a link to yocto-autobuilder2.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 9a854a684623c449d8a9f4ac92516284818fba1a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 15:54:10 +01:00
Richard Purdie
e3d24e5cd8 bitbake: toaster/tests: Update after release numbering changes
(Bitbake rev: f06112286ad141f0d5e4ae75a29f83cdd564c2ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-16 07:13:18 +01:00
Yoann Congal
4ee5633889 bitbake: knotty: pass failed task logs through the log infrastructure
By switching from print() to bb.plain() to print failing task logs, we
allow them to be saved in BB_CONSOLELOG.

Fixes [YOCTO #15798]: This allows AB reproducibility test to save the
full log of the failing tasks and helps debugging.

(Bitbake rev: d3b3ad32da7c7ebf61814fc807f8667a37aa149b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-16 07:13:18 +01:00
Richard Purdie
9bc47d6a4d bitbake: toaster/fixtures: Add whinlatter, drop styhead
Update the fixtures generator table and update the fixtures removing
styhead and adding whinlatter.

(Bitbake rev: 72b1dee84df641cb24bc726f2dfe8f1cf1555247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 12:23:33 +01:00
Richard Purdie
285285500c ptest-packagelists: Add riscv64 exclusions so we can add testing
Add failing tests to the list of broken tests for riscv64 so we can
then start running the working tests and spot regressions.

We can them aim to remove these over time as they start working.

(From OE-Core rev: 22736c5281892dcd6b2134c62f33ae13ed14650c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Richard Purdie
61bcaf74ac oeqa/selftest/rust: Add exclusion to fix riscv64 builds
There was one failure occurring in rust testing for qemuriscv64. Exclude
that test so we can enable in automated testing.

(From OE-Core rev: a7f6ea5b20aa91e4a1b00dbea7a6447effb9220d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Richard Purdie
420d5b1611 gcc: Fix riscv multilib issues in plain toolchains
RISC-V multilib currently doesn't work at all. We could disable multilib for
the riscv platform but that would then behave differently to all our others.
Instead, copy the non-multilib config over the multilib config for now for
riscv, meaning we can keep the platforms similar.

This isn't quite enough as the triplet specific c++ headers are in the wrong
place leading to compiler issues and testimage failures. Work around that too
until someone adds full multilib support for the platform (if desired).

(From OE-Core rev: 3081f62c18fcee642ab43efa717c8f71d51ae587)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Peter Marko
4f7ad219f4 dropbear: upgrade 2024.86 -> dropbear_2025.88
Handles CVE-2025-47203

SHA1 algorithms were removed by default, so patch for disabling it was
removed together with its package option. Doing it with conditional
patch was anyway a bad design. If someone still needs it, it should be
done via sed command on the config file.

Refreshed remaining patches.

Added patch to fix regression of the CVE fix.

(From OE-Core rev: c01205e7a4816d78e99d01f86a396ab23d9bde34)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Peter Marko
797589dc87 dropbear: add mirror
Main download page is currently unavailable, switch to mirror listed in
README file of the dropbear repository and release tarballs.

(From OE-Core rev: 49e1947dfcb24afe6ffca129ce38602d3d6a6a64)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Khem Raj
86bfb2e806 valgrind: Fix build with clang
(From OE-Core rev: fbf60d5077bcf37df96b7b6358db8c30e073a656)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Erick Shepherd
62ef491722 kernel-devsrc.bb: Replace extra System.map file with symlink
Currently there are two .map files being copied to $kerneldir/build.
One of the files is System.map and the other is
System.map-<kernel version>. Each .map file takes up about 5MB and
have identical sha256sum hashes. This change will make it so only
System.map-<kernel version> is copied in order to save disk space.
It also recreates System.map as a symlink to that .map file.

(From OE-Core rev: cc971fffb134aa6af9edeabb7a5f4143dee2151e)

Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Markus Volk
c97e3e21d6 libxcvt: allow native build
'mutter' requires the 'cvt' binary at compile time to build the native backend
For this it depends on xserver-xorg-cvt-native, which is currently broken and
also deprecated.
[https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/637]

This commit would allow to use libxcvt-native to provide the needed binary
instead.

(From OE-Core rev: 4b06a88a2c1cc704dad1aacfecc9bab662f3dc7d)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Robert Yang
d74ff59aa8 coreutils: Drop 0001-local.mk-fix-cross-compiling-problem.patch
The patch is used for fixing:
| Makefile:3418: *** Recursive variable 'INSTALL' references itself (eventually).  Stop.

Now the code and check and set that correctly:
if CROSS_COMPILING
cu_install_program = @INSTALL@
else
cu_install_program = src/ginstall
endif

So just drop the patch.

And also remove the ginstall hack to fix ptest case failure when single-binary
is enabled, I can't find the reason on why it was needed from git log.

Fixed:
install: missing file operand
Try 'install --help' for more information.

* Reproducer:
DISTRO_FEATURES:append = " ptest"
EXTRA_IMAGE_FEATURES:append = " ptest-pkgs"
IMAGE_INSTALL:append = " coreutils"
PACKAGECONFIG:append:pn-coreutils = " single-binary"

$ bitbake core-image-sato
$ runqemu tmp/deploy/images/qemux86-64/ nographic kvm

On target:
$ cd /usr/lib/coreutils/ptest
$ ./run-ptest
============================================================================
Testsuite summary for GNU coreutils 9.6
============================================================================
TOTAL: 655
PASS:  529
SKIP:  126
XFAIL: 0
FAIL:  0
XPASS: 0
ERROR: 0
============================================================================
make[1]: Leaving directory '/usr/lib/coreutils/ptest'

(From OE-Core rev: 8728815f74f73723e86ba25b56a66b3fb46d6596)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Robert Yang
e1d0f2e46c coreutils: Fix file-rdeps for single-binary
Fixed:
DISTRO_FEATURES:append = " ptest"
PACKAGECONFIG:append:pn-coreutils = " single-binary"

$ bitbake coreutils
ERROR: coreutils-9.6-r0 do_package_qa: QA Issue: /usr/lib/coreutils/ptest/src/yes contained in package coreutils-ptest requires /path/to//tmp/work/core2-64-poky-linux/coreutils/9.6/build/src/coreutils, but no providers found in RDEPENDS:coreutils-ptest? [file-rdeps]

(From OE-Core rev: 5174ec4a82a66b49ff7a8988ab52731b775bffb6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Peter Marko
7d61d49a2f testimage: get real os-release file
/etc/os-release is a symlink to /usr/lib.
Symlink is retrieved as a dead link which points to nowhere if also the
original file is not accompanying it.
Fetch the real file in addition to this link.

Alternative could be to use "tar -h" (supported also by busybox tar),
however that could lose some important information if links are relevant
for failure analysis.

(From OE-Core rev: ed43f9ccb3c08845259e24440912631afd780d12)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Deepesh Varatharajan
8dc5f3376d rust: re-enable the unit tests that are previously ignored
Some unit tests were previously marked as ignored due to failures in earlier
versions of Rust. With the upgrade to Rust 1.85.1, these tests are now passing
consistently. They've been re-enabled and verified to run successfully on the
latest version.

(From OE-Core rev: 56149c8c2108973666251e21609a7210a91984cf)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Richard Purdie
0d29c9aaf6 openssh: Upgrade 9.9p2 -> 10.0p1
Fix sshd by ensuring the agent daemon is included.

Internally, this release is versioned as 10.0p2 but upstream don't plan to
change this or re-release.

(From OE-Core rev: 2a4dd93e98ca9e61644213aa00c1cb837fb27316)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Richard Purdie
09c768e203 libsoup-2.4: Drop recipe as obsolete
The last user in OE-Core was gst-examples. This has been upgraded and the dependency
dropped, all other users can use libsoup3 instead. Therefore remove the obsolete and
deprecated version.

(From OE-Core rev: 94ebc5b798aed6eea642c5e2a4df24b386520636)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Richard Purdie
231fa88989 gst-examples: Update 1.18.6 -> 1.26.1
Update to the version from the gstreamer monorepo, bringing it back
into line with the other gstreamer revisions.

Drop the libsoup-2.4 dependency which disables the webrtc code, we
weren't building that anyway as it needs libnice enabled in
gstreamer-plugins-bad.

(From OE-Core rev: 446fadaa147be6656e37c612de772fa04607130f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Rogerio Guerra Borin
1c0c5c258d u-boot: ensure keys are generated before assembling U-Boot FIT image
Add the task dependency:

do_uboot_assemble_fitimage -> virtual/kernel:do_kernel_generate_rsa_keys

to ensure the kernel FIT image signing keys are available when creating
the U-Boot DTB. This is done only if the signing of the kernel FIT image
is enabled (UBOOT_SIGN_ENABLE="1").

The lack of the dependency causes build errors when executing a build
with no kernel FIT keys initially present in the keys directory. In such
cases one would see an output like this in the Bitbake logs:

Log data follows:
| DEBUG: Executing shell function do_uboot_assemble_fitimage
| Couldn't open RSA private key: '/workdir/build/keys/fit/dev.key': No such file or directory
| Failed to sign 'signature' signature node in 'conf-1' conf node
| FIT description: Kernel Image image with one or more FDT blobs
| ...

This issue was introduced by commit 259bfa86f384 where the dependency
between U-Boot and the kernel was removed (for good reasons). Before
that commit the dependency was set via DEPENDS so that, in terms of
tasks, one had:

u-boot:do_configure -> virtual/kernel:do_populate_sysroot

and the chain leading to the key generation was:

virtual/kernel:do_populate_sysroot -> virtual/kernel:do_install
virtual/kernel:do_install -> virtual/kernel:do_assemble_fitimage
virtual/kernel:do_assemble_fitimage -> virtual/kernel:do_kernel_generate_rsa_keys

With the removal of the first dependency, no more guarantees exist that
the keys would be present when assembling the U-Boot FIT image. That's
the situation we are solving with the present commit.

Fixes: 259bfa86f384 ("u-boot: kernel-fitimage: Fix dependency loop if UBOOT_SIGN_ENABLE and UBOOT_ENV enabled")
(From OE-Core rev: 036f20156b3c7d0a8b912e90aa29a9b986106d5a)

Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Sean Anderson <sean.anderson@seco.com>
Cc: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Ines KCHELFI
d3208b539d rpm-sequoia: add ptest
In rpm-sequoia, some default paths in test code (OUT_DIR,
CARGO_MANIFEST_DIR) are invalid at runtime and cause test failures.

To fix this, patch the test code (symbols.rs) to support overriding these
paths via optional environment variables: FORCE_RUNTIME_PATH_LIB and
FORCE_RUNTIME_PATH_SRC.

Also make -ptest package RDEPEND on -dev package.

Tests take less than a second so this is added to PTEST_FAST.

ptest result:
|root@qemux86-64:~# ptest-runner rpm-sequoia
|START: ptest-runner
|2025-05-02T15:57
|BEGIN: /usr/lib/rpm-sequoia/ptest
|
|running 1 test
|test symbols ... ok
|
|test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
|
|
|running 2 tests
|test tests::merge_certs_mismatch ... ok
|test tests::merge_certs ... ok
|
|test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
|
|DURATION: 0
|END: /usr/lib/rpm-sequoia/ptest
|2025-05-02T15:57
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: 16499cf903718e6bf022a13baa09df610cd43d62)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Ines KCHELFI
931ff89bdc ptest-cargo: fix tests output format for testimage
In testimage, the ptest-runner output parser expects test results to follow
a specific format,with lines beginning with PASS:, FAIL:, or SKIP:. ptest-cargo,
currently, does not emit any of those lines and the parser treats the test
section as having no results, causing a test failure with :

AssertionError:
ptests which had no test results:
['<package>']

This patch ensures that the recipes using ptest-cargo class explicitly emits
PASS: or FAIL: lines, making the results compatible with the test parser and
preventing test failures.

(From OE-Core rev: 6a9356346f13556a06d4a99bd7924992c7e29d66)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Trevor Gamblin
c07c578e37 python3-cython: upgrade 3.0.12 -> 3.1.0
Many changes are included with this release, including support for
freethreading builds of CPython 3.13, cleanup of legacy code, and many
other features and bug fixes.

Changelog: https://github.com/cython/cython/blob/master/CHANGES.rst

Patch '0001-Output-import-relative-paths-in-generated-C-code.-GH.patch'
is included in 3.1.0, so we no longer need the backport:

|tgamblin@megalith ~/workspace/git/pythonsrc/cython (master)$ git tag --contains 20bceea6b19ffc2f65b9fba2e4f737f09e5a2b20
|3.1.0
|3.1.0-1
|3.1.0a1
|3.1.0b1
|3.1.0rc1
|3.1.0rc2

Reproducibility looks OK.

(From OE-Core rev: 26a73392524f648015d55bf421a9b1bf5ac0d955)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Trevor Gamblin
64f584a98d python3: upgrade 3.13.2 -> 3.13.3
This adds some security fixes and many new changes to the library.

Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final

Modify 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
to remove 'test_types' from the pgo-wrapper call, since that fails now
under qemu.

Reproducibility looks OK.

ptest results OK:

|== Tests result: SUCCESS ==
|
|29 tests skipped:
|    test.test_asyncio.test_windows_events
|    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
|    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
|    test.test_gdb.test_misc test.test_gdb.test_pretty_print
|    test_android test_apple test_asdl_parser test_clinic test_devpoll
|    test_free_threading test_generated_cases test_idle test_ioctl
|    test_kqueue test_launcher test_msvcrt test_startfile test_tcl
|    test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi
|    test_winconsoleio test_winreg test_wmi
|
|9 tests skipped (resource denied):
|    test_curses test_peg_generator test_pyrepl test_smtpnet
|    test_socketserver test_urllib2net test_urllibnet test_winsound
|    test_zipfile64
|
|442 tests OK.
|
|Total duration: 2 min 48 sec
|Total tests: run=43,896 skipped=2,268
|Total test files: run=471/480 skipped=29 resource_denied=9
|Result: SUCCESS
|DURATION: 169
|END: /usr/lib/python3/ptest
|2025-05-12T12:34
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0
|root@qemux86-64:~#

(From OE-Core rev: 063d5a5fb2f71b523f378b95167553b28804c3ad)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Vivek Puar
775cd48d31 linux-firmware: upgrade 20250410 -> 20250509
Adding QUPv3 firmware for QCS9100 platform

License-Update: additional files

(From OE-Core rev: a9830286bf09ed5153bceecd0bec2c63bfbcd1a9)

Signed-off-by: Vivek Puar <vpuar@qti.qualcomm.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Khem Raj
697be95acd compiler-rt-sanitizers: Fix native builds on aarch64 build hosts
Add logic to deduce compiler-rt target architecture based on tune
features

Cleanup the cmake options for native/nativesdk/target recipes

(From OE-Core rev: 579d4d85574624e39140fb74f6d37dcd7bf363a6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Khem Raj
92ce706e23 compile-rt: Fix building compiler-native on aarch64 build hosts.
Using target triple confuses the native system compiler to find
libgcc and C runtime during compiler-rt-native build

Fixes
|     /home/khem/yoe/build/tmp/hosttools/ld: cannot find crtbeginS.o: No such file or directory
|     /home/khem/yoe/build/tmp/hosttools/ld: cannot find -lgcc: No such file or directory
|     /home/khem/yoe/build/tmp/hosttools/ld: cannot find -lgcc_s: No such file or directory
|     clang: error: linker command failed with exit code 1 (use -v to see invocation)
|     ninja: build stopped: subcommand failed.

(From OE-Core rev: 1d4676d6b7c0fe40ab4f808dda436dc2f2915fd8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Peter Marko
e5e544a7fd go: upgrade 1.24.2 -> 1.24.3
Upgrade to latest 1.24.x release [1]:

$ git --no-pager log --oneline go1.24.2..go1.24.3
34c8b14ca9 (release-branch.go1.24) [release-branch.go1.24] go1.24.3
8947f3395e [release-branch.go1.24] os: avoid escape from Root via paths ending in ../
06fd2f115b [release-branch.go1.24] cmd/compile: remove no-longer-necessary recursive inlining checks
f66ab6521c [release-branch.go1.24] cmd/internal/obj/wasm: use i64 for large return addr
c1f9c2c7b0 [release-branch.go1.24] cmd/go/internal/load: join incompatible and dirty build specifiers with .
0ab64e2caa [release-branch.go1.24] runtime: cleanup M vgetrandom state before dropping P
56eb99859d [release-branch.go1.24] internal/runtime/maps: pass proper func PC to race.WritePC/race.ReadPC
43130aff52 [release-branch.go1.24] runtime: fix 9-arg syscall on darwin/amd64
b2c005e7b2 [release-branch.go1.24] crypto/tls: fix ECH compatibility
a9d9b55709 [release-branch.go1.24] cmd/link: choose one with larger size for duplicated BSS symbols
fa7217f74d [release-branch.go1.24] os: avoid panic in Root when symlink references the root

Fixes CVE-2025-22873

[1] https://github.com/golang/go/compare/go1.24.2...go1.24.3

(From OE-Core rev: b317570acf1e25a4cfaa0c66a2630d082b4d0bae)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Khem Raj
fa724e8745 compiler-rt: Exclude sync builtins from build when arm < v6
arm architecture < v6 does not have the dmb support, therefore do
not add the sync primitives to compiler-rt builtins build

(From OE-Core rev: e1b143860b221600f7dab5c08e5b187aefb851dd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Khem Raj
a104d73d7a compiler-rt: Map the COMPILER_RT_DEFAULT_TARGET_ARCH
COMPILER_RT_DEFAULT_TARGET_ARCH is not 1 to 1 match with HOST_ARCH
especially for armv5/arm4

(From OE-Core rev: 71f7db2e5d264bc6ed50fae48567ae674af9a700)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Yi Zhao
756d8ab246 openssl: add fips support
* Add PACKAGECONFIG[fips] to enable fips build.
* Split a new package openssl-ossl-module-fips for fips.so.
* Add pkg_postinst_ontarget for openssl-ossl-module-fips to ensure the
  config file fipsmodule.cnf is created on target. This is because we
  should not use the same fipsmodule.cnf on different machines.
  The 'openssl fipsinstall' commandline in pkg_postinst_ontarget will do
  the following things:
  1. Run the FIPS module self tests on target.
  2. Generate config file fipsmodule.conf containing information about
     the FIPS module such as the calculated MAC of the module.

(From OE-Core rev: 29979937e2d40885e7e91bb9a7e7dca6763e3d52)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:55:26 +01:00
Chen Qi
89d2b3876d bitbake: lib/bb/tests/fetch: add a test case to ensure git shallow fetch works for tag containing slash
Add a test case to ensure git shallow fetch succeeds for SRC_URI
with tag containing slash.

For example, we want to succeed for SRC_URI like below:
SRC_URI = "git://salsa.debian.org/debian/debianutils.git;protocol=https;branch=master;tag=debian/${PV}"

See the following link for more information:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15862

(Bitbake rev: 919d4cf6e688e67229c46d30c84d523b21936377)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:05:49 +01:00
Chen Qi
07f08063c1 bitbake: fetch2/git: fix shallow clone for tag containing slash
If a tag contains slash, e.g., debian/5.22, then shallow clone
fails because it's using a wrong ref.

To reproduce the issue, add the following lines in local.conf:

  BB_GIT_SHALLOW = "1"
  BB_GENERATE_SHALLOW_TARBALLS = "1"

And then run 'bitbake debianutils -c fetch'.

What the original os.path.basename(ref) wanted to do is to remove
the strings such as refs/heads/. So we do it explitly to fix this
issue.

Fixes: [YOCTO #15862]

(Bitbake rev: c6d6999f1ed01e7445b8f177a888038edacf555c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-15 10:05:49 +01:00
Mathieu Dubois-Briand
d51e941828 linux/cve-exclusion: Update exclusions after kernel update
(From OE-Core rev: c695edcc33ecd5bc01b5fc91ce08a87475a9ace9)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:32:42 +01:00
Wang Mingyu
523737666f swig: upgrade 4.3.0 -> 4.3.1
(From OE-Core rev: 43b1e1af671cbe5a76be1b97d185bb95b767efde)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
983931238a shaderc: upgrade 2025.1 -> 2025.2
Changelog:
===========
 - Update dependencies: Glslang, SPIRV-Tools, SPIRV-Headers
 - Supports BFloat16 floating point types

(From OE-Core rev: 15d14a61b1c299f7697e91e9e15452e2ee6f6010)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
30a1b271a9 resolvconf: upgrade 1.92 -> 1.93
(From OE-Core rev: 0b7db214bb01284521be27656e31f9892b07441d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
5c6c145c24 repo: upgrade 2.53 -> 2.54
(From OE-Core rev: a7b791ad8fd32a48febc2e3aeb81785ff561a163)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
06f0cb9438 re2c: upgrade 4.1 -> 4.2
Changelog:
============
- Added Swift backend
- Added options:
   "--lang swift"
   "--computed-gotos-relative"
- Added configurations:
   "re2c:cgoto:relative", "re2c:computed-gotos:relative"
   "re2c:yyfn:throw"
- Added syntax file code templates:
   "code:cgoto"
   "code:cgoto_data"
   "code:yytarget_filter"
   "code:type_yyctable"
- Added syntax file conditionals:
   ".cgoto.relative"
   ".yyfn.throw"

- Added some C++ benchmarks without submatch extraction.

(From OE-Core rev: 7e3df01de59b55bb3fc8fef9fb36a98ca9b007fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
35b09267eb python3-yamllint: upgrade 1.37.0 -> 1.37.1
Changelog:
=============
- Rule comments: tell how many spaces are expected
- Rule quoted-strings: Fix only-when-needed on multiline with backslash
- Config: Report if rules is not a dict
- Fix test_codec_built_in_equivalent() test when run with pytest
- CI: Fix TestPyPI "dev0" versions for master commits on tags
- Docs: Add links to GitHub repository and releases
- Docs: Fix GitLab integration example
- Docs: Fix GitLab integration link
- Fix the tests badge link on the README

(From OE-Core rev: b49426b3577546e197c42aa28b5af4a0f3ea1c53)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
296957b809 python3-typing-extensions: upgrade 4.13.1 -> 4.13.2
Changelog:
=============
- Fix TypeError when taking the union of typing_extensions.TypeAliasType and a
  typing.TypeAliasType on Python 3.12 and 3.13.
- Backport from CPython PR #132160 to avoid having user arguments shadowed in
  generated __new__ by @typing_extensions.deprecated.

(From OE-Core rev: f01c7ece71f4d9887763ee5062c56d454f88ae3d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
b15c7daa6c python3-pycairo: upgrade 1.27.0 -> 1.28.0
Changelog:
 https://pycairo.readthedocs.io/en/latest/changelog.html#v1-28-0

(From OE-Core rev: 96baa620e4ce198c0042eaba85e0935b4a2741e9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
ad98055f6c python3-poetry-core: upgrade 2.1.2 -> 2.1.3
Changed
----------
- Update list of supported licenses

Fixed
--------
- Fix an issue where the union of specific inverse or partially inverse markers
  was not simplified
- Fix an issue where optional dependencies defined in the project section were
  treated as non-optional when a source was defined for them in the tool.poetry
  section
- Fix an issue where markers with === were not parsed correctly
- Fix an issue where local versions with upper case letters caused an error
- Fix an issue where extra markers with a value starting with "in" were not
  validated correctly
- Fix an issue where inheriting from WheelBuilder was unnecessarily difficult

(From OE-Core rev: ca51448b82abd9333ad2763d52c473cbe876d5c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
c829eed7fc python3-pip: upgrade 25.0.1 -> 25.1.1
(From OE-Core rev: 76556fab9ef0fe07a0eb7b308a4c875d0a2d5e19)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
581d68b59b python3-pdm: upgrade 2.23.1 -> 2.24.1
Features & Improvements
------------------------
- New command pdm new that behaves like pdm init but creates a new project.
- Support use --name as project name for command pdm new e.g. pdm new hello --name world
- Support exporting to pylock.toml format as described by PEP 751.

Bug Fixes
---------
- Pass the --quiet option to pdm sync command.
- If a .python-version file is found and it contains multiple lines, the file
  will be ignored. The usage of the .python-version file can be disabled, if
  configuration value python.use_python_version (or environment variable PDM_USE_PYTHON_VERSION) is False.
- fix pdm config -e command to open read-only file under linux
- Replace project names and import names in both README.md and pyproject.toml when running pdm init <template>.
- Fix a bug that URL dependency hashes are not updated if running pdm lock --update-reuse.
- Install the project when using the BaseSynchronizer with install_self set
  to True. This fixes the bug that when calling pdm sync --quiet, it skips
  installing the project itself.
- Mark one additional test as requiring network, and fix another one
  not to require it anymore.

(From OE-Core rev: 01cacd208c7a3e1fa2923ef346d7a1c65a4005c0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
5af28a28a8 python3-packaging: upgrade 24.2 -> 25.0
Changelog:
============
- Re-add a test for Unicode file name parsing
- Upgrade to ruff 0.9.1
- Add support for PEP 738 Android tags
- feat(markers): support 'extras' and 'dependency_groups' markers

(From OE-Core rev: 1f6a72bf37297a362119375523750544a11a23ea)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
50f3fe6abc python3-meson-python: upgrade 0.17.1 -> 0.18.0
(From OE-Core rev: 70ccf82bcff9bca772c518837c7be11241aaf316)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
2a4cd51645 python3-markdown: upgrade 3.7 -> 3.8
Changelog:
===========
Changed
-------
- DRY fix in abbr extension by introducing method create_element
- Clean up test directory by removing some redundant tests and port non-redundant cases to the newer test framework.
- Improved performance of the raw HTML post-processor

Fixed
---------
- Backslash Unescape IDs set via attr_list on toc
- Ensure md_in_html processes content inside "markdown" blocks as they are parsed outside of "markdown" blocks to keep things more consistent for third-party extensions
- md_in_html handle tags within inline code blocks better
- md_in_html fix handling of one-liner block HTML handling
- Ensure <center> is treated like a block-level element
- Ensure that abbr extension respects AtomicString and does not process perceived abbreviations in these strings
- Ensure smarty extension correctly renders nested closing quotes

(From OE-Core rev: 662d586edb3afed8273ec4910ea1a4c090f8b757)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
2755265b8c python3-mako: upgrade 1.3.9 -> 1.3.10
Changelog:
- Fix undefined variable errors when strict_undefined=True when using a
nested list comprehension.

(From OE-Core rev: 40a60f0ca45116604430f8b0d1ee4f70e1f9843e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
8593897a29 python3-lxml: upgrade 5.3.2 -> 5.4.0
Bugfix:
-Binary wheels use libxml2 2.13.8 and libxslt 1.1.43 to resolve several CVEs.
(Binary wheels for Windows continue to use a patched libxml2 2.11.9 and libxslt 1.1.39.)

(From OE-Core rev: 4e15eededc4c67665c48c0fcdcfa41cfd0d3bf40)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
6ee4a1fd4b python3-jsonschema-specifications: upgrade 2024.10.1 -> 2025.4.1
Changelog:
- Add SPDX license identifier

(From OE-Core rev: f3fb3e621c9c3b3e286002b6b6a6dede640e2866)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
197b0e62d0 python3-hypothesis: upgrade 6.131.0 -> 6.131.14
(From OE-Core rev: af58c48b2c9163a50c0b02b2eb193f9a2344e448)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
cf2017c572 python3-hatch-fancy-pypi-readme: upgrade 24.1.0 -> 25.1.0
Changelog:
==========
- $HFPR_PACKAGE_NAME is now replaced by the package name in the PyPI readme.
- Support for Python 3.7.

(From OE-Core rev: 5d3f3f8f9770e81bd7c2d53a1512577792ba4fa2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
c3c2ba765d python3-certifi: upgrade 2025.1.31 -> 2025.4.26
(From OE-Core rev: f45a8bbe689ae7d006f8463fd156ebbd8e745227)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
262bccf80a python3-calver: upgrade 2025.04.02 -> 2025.04.17
Changelog:
- test: Delete SOURCE_DATE_EPOCH envvar if already present for robustness

(From OE-Core rev: ac2ea906568bdb6aaf1f0ca4d35da87ceb39304d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
437d0289f8 pixman: upgrade 0.44.2 -> 0.46.0
(From OE-Core rev: 40f3ecb75c1b17e7436293dc83a287b47c3fd989)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
3c285e45e9 man-db: upgrade 2.13.0 -> 2.13.1
0001-check-for-_nl_msg_cat_cntr-in-configure.patch
flex.patch
removed since they're included in 2.13.1

(From OE-Core rev: b0314975312d10dd80fba77a53383425c85addc9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
d83e62ff0e libxkbcommon: upgrade 1.8.1 -> 1.9.2
(From OE-Core rev: 3700a4e66c1972b9f214c2e9c960cedb2f179ccc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
b2350d6193 libxft: upgrade 2.3.8 -> 2.3.9
Changelog:
==========
- manpage formatting-fixes
- meson: Add option to build with meson
- Require xproto >= 7.0.22 for _X_UNUSED
- Remove support for building with pre-C89 versions of C
- Remove support for building with pre-X11R7 versions of X
- fix potential buffer overrun in _XftGlyphDefault
- issue 21: remove redundant/out-of-place prototype for XftNameUnparse
- build-fix for older versions of freetype2: FT_HAS_SVG was added late in 2021
- issue 19: Problem loading "SourceCodePro-Regular" font in Fedora

(From OE-Core rev: 29fb884f0160496bc2ede2cb168a206cac1a46c6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
fb6533178a libuv: upgrade 1.50.0 -> 1.51.0
Changelog:
===========
* win: fix leak in uv_os_tmpdir
* docs: fix RTD build
* win: lazy-load [GS]etThreadDescription symbols
* linux: try preadv64/pwritev64 before preadv/pwritev
* win: check cwd length before spawning a child process
* macos,bsd: handle missing /dev/null in chroot env
* doc: fix README link text
* win: fix order of FILE_STAT_BASIC_INFORMATION struct fields
* macos: increase child process stdio buffer size
* doc: add C3 bindings to LINKS.md
* unix: remove unnecessary errno.h include in poll.c
* win: fix the inconsistency in volume serial number
* unix: add thread affinity support on openharmony
* unix: enable getrusage for SunOS
* unix,win: accept NAN/INFINITY as file timestamps
* win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode
* test: handle UV_ENOTSUP in platform_output
* doc: fix rendering of threading.html
* unix,sunos: enable use of sendmmsg on Solaris and Illumos
* unix: handle out of memory in iface name copy
* openbsd: do not error out if cpuspeed is not available
* test: skip thread_name_threadpool on AIX/IBMi
* aix,ibmi: fix undeclared identifiers
* unix,sunos: prefer SO_REUSEPORT for load balancing
* doc: free lib pointer before function return
* test: link with libm
* style: rename parameter to match definition
* test: support partial output lines in test runner
* build: switch from c90 to c11
* linux: allow nul bytes in abstract socket address
* sunos: use pipe2 on solaris and illumos
* unix: remove TOCTOU issues from uv_pipe_chmod
* unix: use pipe_fname if getsockname returns nothing
* haiku: use uint32 instead of uint32_t
* doc: update thread pool stack size comment
* unix: improve uv_loop_init OOM handling
* test: merge uv_tcp_connect callbacks
* test: skip multievent tests on macOS with TSAN enabled
* linux: align CPU quota calculation with Rust
* kqueue: improve fs event watcher OOM handling
* sunos: improve fs event watcher OOM handling
* build: shorten instructions for cmake build

(From OE-Core rev: d79b2a4cfcc439d430790500d46ad8966502e7b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
d5564d3c81 liburcu: upgrade 0.15.1 -> 0.15.2
Changelog:
==========
 * fix: __atomic_always_lock_free() not a constant expression on g++ < 5.1
 * fix: urcu assert fallback for pre-C11 builds
 * doc: update uatomic-api for static assert
 * Add uatomic size static assert for 's390'
 * Add uatomic size static assert for 'sparc64'
 * Add uatomic size static assert for 'ppc'
 * Add uatomic size static assert for 'x86'
 * Add uatomic size static assert for 'generic'
 * Add uatomic size static assert
 * Use UATOMIC_HAS_ATOMIC_INT/LLONG in generic implementation
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for x86
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for tile
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for sparc64
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for s390
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for riscv
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for ppc
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for nios2
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for mips
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for m68k
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for loongarch
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for ia64
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for hppa
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for 'gcc' arch
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for arm
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for alpha
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for aarch64
 * Add UATOMIC_HAS_ATOMIC_INT/LLONG for atomic builtins
 * Add builtin atomics size static asserts
 * cleanup: use URCU_GCC_VERSION from compiler.h
 * fix: atomic builtins defines for type support
 * Move back CMM_LOAD/STORE_SHARED to volatile access
 * Add cmm_annotate_mem_acquire() to URCU_DEREFERENCE_USE_VOLATILE rcu_dereference
 * Use uatomic_load CMM_RELAXED in URCU_DEREFERENCE_USE_VOLATILE
 * Fix: Re-introduce URCU_DEREFERENCE_USE_VOLATILE read barrier depends for alpha
 * Tree-wide: Rename to uatomic_load/uatomic_store
 * src: Use __*__ for attribute names
 * API: Use __*__ for attribute names
 * Fix Changelog 0.15.1 date

(From OE-Core rev: e9b7585ca81d72962f4e7d57b3d0ff3524e5762b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
d2c92f910f libsdl2: upgrade 2.32.4 -> 2.32.6
(From OE-Core rev: 001ac84a9934caa55df1e693d6bb1dda7c1fb06a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
35ec7fcc65 libpng: upgrade 1.6.47 -> 1.6.48
Changelog:
============
-  Fixed the floating-point version of the mDCv setter 'png_set_mDCv'.
-  Added #error directives to discourage the inclusion of private
   libpng implementation header files in PNG-supporting applications.
-  Added the CMake build option 'PNG_LIBCONF_HEADER', to be used as an
   alternative to 'DFA_XTRA'.
-  Removed the Travis CI configuration files

(From OE-Core rev: 521fb67a6ae80752c8d3cba1de0e4946e26f6c2f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
fc812e1a69 libjpeg-turbo: upgrade 3.0.1 -> 3.1.0
License-Update: zlib License clarifications

(From OE-Core rev: 256ead099457cb3f4d3a7139e14aac15bb2d0ed5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
3d833dcea5 libjitterentropy: upgrade 3.6.2 -> 3.6.3
Changelog:
================
- Correct time stamp processing on AIX
- Use high-resolution time stamp on Apple Silicon
- GCD power-up test: consider OSR

(From OE-Core rev: b08ca541d00f8154d66dbdbace7102c88c9cdc39)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
fe51bad381 libgpg-error: upgrade 1.51 -> 1.55
0001-Do-not-fail-when-testing-config-scripts.patch
refreshed for 1.55

(From OE-Core rev: b340702af103c1d116f8434f6e7509605954b28a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
abb3c012ac libffi: upgrade 3.4.7 -> 3.4.8
not-win32.patch
refreshed for 3.4.8

(From OE-Core rev: ca7f1abfba5462a8f09b328c34380e6faeae8b32)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
421d448cb1 libcgroup: upgrade 3.1.0 -> 3.2.0
0001-include-Makefile-install-systemd.h-by-default.patch
removed since it's included in 3.2.0

(From OE-Core rev: 38f3346423fe7362d901d8f78e61aa96a67db867)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
b70c5d55c0 libadwaita: upgrade 1.7.0 -> 1.7.2
90d68222c184f681472d9d9ce2ae443ebd76386e.patch
removed since it's included in 1.7.2

(From OE-Core rev: 96efd90646223c6de2fac2b01c17ff5b00c1f5bb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
c7f33868ef kexec-tools: upgrade 2.0.30 -> 2.0.31
0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch
refreshed for 2.0.31

(From OE-Core rev: c89b1d383f9b485de42b4228c8146b07e3be7f81)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
089df5b119 iso-codes: upgrade 4.17.0 -> 4.18.0
License-Update: Replace FSF postal address with their website

(From OE-Core rev: ad5266e0c182acef99598663403524233526691f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
95d15a3480 harfbuzz: upgrade 11.1.0 -> 11.2.0
Changelog:
============
- Painting of COLRv1 fonts without clip boxes is now about 10 times faster.
- Synthetic bold/slant of a sub font is now respected, instead of using the parent's.
- Glyph extents for fonts synthetic bold/slant are now accurately calculated.
- Various build fixes
- New API:
  +hb_font_is_synthetic()
  +hb_font_draw_glyph_or_fail_func_t
  +hb_font_paint_glyph_or_fail_func_t
  +hb_font_funcs_set_draw_glyph_or_fail_func()
  +hb_font_funcs_set_paint_glyph_or_fail_func()
  +hb_font_draw_glyph_or_fail()
  +hb_font_paint_glyph_or_fail()
- Deprecated API:
  -hb_font_draw_glyph_func_t
  -hb_font_paint_glyph_func_t
  -hb_font_funcs_set_draw_glyph_func()
  -hb_font_funcs_set_paint_glyph_func()

(From OE-Core rev: d54d2b64e4939bb887fa88ea2436025216f313ba)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
ff83671d60 grep: upgrade 3.11 -> 3.12
(From OE-Core rev: 6f6ebd030b4ba32766fcdf5de46ebcf0d7d73455)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
4e65b075bf ghostscript: upgrade 10.05.0 -> 10.05.1
(From OE-Core rev: cc9ba7005fb155f4d5f2be9b23c12d14362a306b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
409f1c23ff fmt: upgrade 11.1.4 -> 11.2.0
Changelog:
============
- Added the 's' specifier for 'std::error_code'. It allows formatting an error
  message as a string.
- Fixed formatting of 'std::chrono::local_time' and 'tm'
- Added diagnostics for cases when timezone information is not available.
- Deprecated 'fmt::localtime' in favor of 'std::localtime'.
- Fixed compilation with GCC 15 and C++20 modules enabled
- Fixed handling of named arguments in format specs
- Added error reporting for duplicate named arguments
- Fixed formatting of 'long' with 'FMT_BUILTIN_TYPES=0'
- Optimized 'text_style' using bit packing
- Added support for incomplete types
- Fixed a flush issue in 'fmt::print' when using libstdc++
- Fixed 'fmt::println' usage with 'FMT_ENFORCE_COMPILE_STRING' and legacy
- Removed legacy header 'fmt/core.h' from docs
- Worked around limitations of '__builtin_strlen' during constant evaluation
- Worked around a bug in MSVC v141
- Removed the 'fmt_detail' namespace
- Removed specializations of 'std::is_floating_point' in tests
- Fixed a CMake error when setting 'CMAKE_MODULE_PATH' in the pedantic mode
- Updated the Bazel config

(From OE-Core rev: 2f2ef80e7e037900d8d4afa3dc7bf01734cef229)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:21 +01:00
Wang Mingyu
983891dafb epiphany: upgrade 48.0 -> 48.3
Changelog:
===========
- Fix crash when opening downloaded file
- Fix crash when opening incognito window
- Fix Crash when trying to select download location
- Fix Crash in escape_csv_field() when exporting passwords
- Fix Adding WhatsApp as a web app crashes
- Fix Pressing Escape key in addressbar resets the cursor to beginning of
  the widget
- Fix Epiphay shouldn't show the privacy dialog in incognito mode
- Fix (CVE-2025-3839) Require user interaction before opening URL in
  external application
- Fix Code cleanup
- Fix window: fix crash when force closing window without session
- Fix Several fixes for password export
- Fix Remove Granite support from Tech Preview and Canary
- Fix find-toolbar: fix crash on load-changed

(From OE-Core rev: 2c60159fffd76b5dbe75bf7d6758e5f78b166714)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
2682c20aab enchant2: upgrade 2.8.2 -> 2.8.4
(From OE-Core rev: c21da4dd936a8da187fa4a3251126e57a23f6727)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
13403099f7 diffstat: upgrade 1.67 -> 1.68
License-Update: Copyright year updated to 2025

(From OE-Core rev: e96c1a869d250250f14ff2f0089df78b7ec5795c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
c21d7e4628 debianutils: upgrade 5.21 -> 5.22
(From OE-Core rev: 8023bf9b54f125342532361d5eed8cde4eb3eb4f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
3122b38dfa cups: upgrade 2.4.11 -> 2.4.12
Changelog:
===========
- GnuTLS follows system crypto policies now
- Added 'NoSystem' SSLOptions value
- Now we raise alert for certificate issues
- Added Kyocera USB quirk
- The scheduler now logs a job's debugging history if the backend fails
- Fixed a potential timing issue with 'cupsEnumDests'
- Fixed a potential "lost PPD" condition in the scheduler
- Fixed a compressed file error handling bug
- Fixed a bug in the make-and-model whitespace trimming code
- Fixed a removal of IPP Everywhere permanent queue if installation failed
- Fixed 'ServerToken None' in scheduler
- Fixed invalid IPP keyword values created from PPD option names
- Fixed handling of "media" and "PageSize" in the same print request
- Fixed client raster printing from macOS
- Fixed the default User-Agent string.
- Fixed a recursion issue in 'ippReadIO'.
- Fixed handling incorrect radix in 'scan_ps()'
- Fixed validation of dateTime values with time zones more than UTC+11
- Fixed attributes returned by the Create-Xxx-Subscriptions requests
- Fixed 'ippDateToTime' when using a non GMT/UTC timezone
- Fixed 'job-completed' event notifications for jobs that are cancelled before
  started
- Fixed DNS-SD discovery with 'ippfind'

(From OE-Core rev: caab5dd2dd8705a58b2878a8d295117931114e65)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
b1622f87f7 ccache: upgrade 4.11.2 -> 4.11.3
(From OE-Core rev: 3cbe5bd8392efa0a9b32ea9931527196c3d53645)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
890c360c55 ca-certificates: upgrade 20241223 -> 20250419
0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch
0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch
refreshed for 20250419

0002-sbin-update-ca-certificates-add-a-sysroot-option.patch
removed since it's included in 20250419

(From OE-Core rev: e39cc1fb7234bf2b37856296d3c0d10ddf8cae64)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
b2483c9111 boost: upgrade 1.87.0 -> 1.88.0
(From OE-Core rev: 2aaa023d0a55cce49b4d6bad53137c97386d31bf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
43f7d0c80f bind: upgrade 9.20.7 -> 9.20.8
(From OE-Core rev: 670cb507b9125c152aa08702520f2d220c207c71)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
3cd2c2fb08 barebox-tools: upgrade 2025.03.0 -> 2025.04.0
0001-scripts-dtc-clean-up-yamltree-from-dtc.patch
removed since it's included in 2025.04.0

(From OE-Core rev: fe299607a9ba8dbdd3d45c12e75c423cc8f3971e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
be243fce55 babeltrace2: upgrade 2.1.0 -> 2.1.1
Changelog:
===========
* src.ctf.lttng-live: remove lttng_live_lazy_msg_init function
* src.ctf.lttng-live: fix comment formatting
* README.adoc: Update working version to 2.1
* fix: export bt_component_class_sink_simple_borrow
* fix: building from the release tarball without flex
* doc/api/libbabeltrace2: use '<code>' i.o. '<span>' in '<dt>'
* Fix: doc/api/libbabeltrace2/Doxyfile.in: set version to 2.1
* babeltrace2-sink.text.pretty(7): add missing default param. value

(From OE-Core rev: 1c0fa9264acd8c97fbdf61d1780e4842fd1e8ab0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
c50df08145 at-spi2-core: upgrade 2.56.1 -> 2.56.2
Changelog:
===========
* Fix the build with glib < 2.76.
* a11y-manager-device: Fix unmap_keysym_modifier.

(From OE-Core rev: 2f6da18f8bf9e41fdc4b0d65eb0352719973ff66)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Wang Mingyu
e23150613b appstream: upgrade 1.0.4 -> 1.0.5
Changelog:
============
Features:
 * qt: Expose markup conversion utils
 * desktop-styles: Add android and iOS
 * validator: Check for xml:lang="en" being used on description template elements
 * validator: Flag cases of raw text in "description" elements
 * metadata: Add more known extensions into as_metadata_file_guess_style()

Specification:
 * docs: Clarify that the style segment of a screenshot environment is optional
 * docs: Explain consequences of defining an icon for desktop-app metainfo
 * docs: Clarify that description content must be in p/li elements

Bugfixes:
 * validator: mark as_validator_issue_tag_list static
 * docs: Add workaround for gi-docgen misnaming devhelp files
 * compose: Do not permit SVG images as screenshots
 * compose: Don't "forget" to scan remaining paths when re-encountering a dir
 * pool: Try explicit singular term match if we only have low-quality tokens
 * utils: Provide compatibility with Fedora icon tarballs when installing them
 * utils: Remove leftover g_chmod()
 * zstd-decompressor: Pass output/written data when decompression finished
 * utils: Expect a dash in icons file name
 * utils: Recognize .yml* and .yaml* file extension variants, and .zst extension
 * utils: Rename the appstream file when re-saving it on install

(From OE-Core rev: 75f749b3e1c5bc04bcebace716e188812c2e4f30)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-13 10:29:20 +01:00
Richard Purdie
6a2ad60ecc bitbake.conf/pseudo: Switch from exclusion list to inclusion list
Currently, pseudo tracks all files referenced within its presence unless
they're listed in an exclusion list. The exclusion list has grown to be
fairly unwieldy.

This patch swaps PSEUDO_IGNORE_PATHS for PSEUDO_INCLUDE_PATHS which in
theory should be easier and more explicit to maintain.

This change does drop many directories from pseudo coverage including
/home and /tmp. There may be adapatations needed for recipes/classes
using pseudo in specific ways.

(From OE-Core rev: 2502da81709f25de499277b28d33c915638c45f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Markus Volk
c40f78b267 wayland-protocols: update 1.42 -> 1.44
Update to v1.44

(From OE-Core rev: 92763ca20e44bd51cfebf75c35079b1ca554b98e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
8adb2895ff vulkan-volk: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: 06c9c6819a15bc64baa6b06634bc9dd4a0d4c3f7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
83222166af vulkan-validation-layers: upgrade 1.4.309.0 -> 1.4.313.0
License-Update: add Boost Software License v1.0 to LICENSE.txt

(From OE-Core rev: 7faec3744c4e87f35e095035e7491a9b1bfc1cc5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
aba36561c4 vulkan-utility-libraries: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: fab9bf62b5a76cecbf2e3934b102e5550d934d51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
9453df92d6 vulkan-tools: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: ca1712fe9a078acb3b555c7cb14f77d9b1523550)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
9a3cab64a7 vulkan-loader: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: 69a95dfde188cbef967b4721ad94d4956f8e660f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
277a675937 vulkan-headers: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: 087231145a6b0908fb19d92d367b65f02f778b1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
64cdb1ebb9 spirv-tools: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: 7b1eaee60ad72cda990c95174d659787a2de08df)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
17c80fc589 spirv-headers: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: f83d5c9a158712f0f202fff345e8b7d9dc25a029)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
dda8989ec2 gstreamer1.0-vaapi: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: 12d0b771b76a693493cbf2327cf6271db509f087)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
2a757944ba gstreamer1.0: upgrade 1.26.0 -> 1.26.1
0001-Fix-atomic-64-issue-on-armv5.patch
removed since it's included in 1.26.1

0002-tests-add-support-for-install-the-tests.patch
refreshed in 1.26.1

(From OE-Core rev: 7714d0d4d2927ee9d2393a59de78afe847e7ede1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
844244cb1c gstreamer1.0-rtsp-server: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: 4945f09b74b9161aaf1f406dd3f7305b57095005)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
46cb729567 gstreamer1.0-python: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: 86f22bed9d9766a44184fc5d2bc85f623982117a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
a19c0948ca gstreamer1.0-plugins-ugly: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: d2c41aff01f376a96924f1f7c0d35a9829f2e1e3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
4c530c6065 gstreamer1.0-plugins-good: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: ec7df0fc566d76f6f7b24921e3c320ee381a531f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
e808bca911 gstreamer1.0-plugins-base: upgrade 1.26.0 -> 1.26.1
0001-gstreamer1.0-plugins-base-Fix-atomic-64-issue-on-arm.patch
removed since it's included in 1.26.1

(From OE-Core rev: b0983ff56a314fe868ea62db7a5296a5921702fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
e93a18c47f gstreamer1.0-plugins-bad: upgrade 1.26.0 -> 1.26.1
0001-backport-libatomic-issue-patch.patch
removed since it's included in 1.26.1

(From OE-Core rev: 93553495edf823e77760f2c408a09684087e6c1e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
b4dcff6c1b gstreamer1.0-libav: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: c16acbc7447bfbf00eb76eb75978bbf79abb6ce9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
7885fd6c7a gst-devtools: upgrade 1.26.0 -> 1.26.1
(From OE-Core rev: 540f52394f3ef2df438734026b7b19de9a1a7383)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Wang Mingyu
88b6b15ad2 glslang: upgrade 1.4.309.0 -> 1.4.313.0
(From OE-Core rev: 5b341d2c539ed04c667b6a62dbcc7aae6b1e44fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Khem Raj
1b2edf474e clang: Upgrade to 20.1.4
Brings following fixes

* ec28b8f9cc7f [libcxx] [test] Extend mingw workarounds for armv7/aarch64 too (#136419)
* 8c2dc1b5aa7f [clang-repl] Implement LoadDynamicLibrary for clang-repl wasm use cases (#133037)
* 02afcbf63fee [SystemZ] Fix compile time regression in adjustInliningThreshold(). (#137527)
* c877757659e8 [clang-repl] : Fix clang-repl crash with --cuda flag (#136404)
* f4779c389868 [InstCombine] Preserve signbit semantics of NaN with fold to fabs (#136648)
* 57a31e183dc8 [InstCombine] Do not fold logical is_finite test (#136851)
* 1cf8c7797d2b [GlobalOpt] Do not promote malloc if there are atomic loads/stores (#137158)
* 24805c2e0817 [lldb] Use correct path for lldb-server executable (#131519)
* 182e8b7f8a71 [clang-format] Correctly annotate kw_operator in using decls (#136545)
* 425d1aad294f [RISCV] Handle scalarized reductions in getArithmeticReductionCost
* 2d7ad98ec0a8 [clang][analyzer] Fix error path of builtin overflow (#136345)
* e7ae5532bc27 [clang-format] Fix mismatched break in BlockIndent (#124998)
* 8f288eb619db [lldb][test] Adjust TestTargetReadInstructionsFlavor skipIfs
* d76ec6a75d39 [lldb] Fix  SBTarget::ReadInstruction  with flavor (#134626)
* 62072e7f877e [clang][AST] Handle implicit first argument in CallExpr::getBeginLoc()
* 581772ed077e [LoongArch] Don't crash on instruction prefetch intrinsics (#135760)
* 89adc2d4f93b [HEXAGON] Fix corner cases for hwloops pass (#135439)
* 78f6719ca9b5 [GlobalMerge][PPC] Don't merge globals in llvm.metadata section (#131801)
* ab0074fe306f Bump version to 20.1.4

(From OE-Core rev: a94a08b86f08e4fbf038abbda6d210b11edb0dd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Aleksandar Nikolic
dba727247c scripts/install-buildtools: Update to 5.2
Update to the 5.2 release of the 5.2 series for buildtools

(From OE-Core rev: 4b81795023dd7c9786ad30b484b48d21ad09f811)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Khem Raj
4f94b4b45d compiler-rt: Rename the rt libraries if compiled with arm hardfloat ABI
OE does not rely on tuple to deduce hardfloat ABI, but clang/llvm does
arm-yoe-linux-gnueabi is used for both soft and softfp and hardfp float
ABIs in OE, LLVM expects arm-yoe-linux-gnueabihf for it to be treated as
hardfloat ABI, and look for correct name for rt libraries.

We know when we compile them with Hard-float ABI so rename them in such
case so clang can find it when using -rtlib=compiler-rt it needs to
has 'armhf' suffix

(From OE-Core rev: b369e99cb27bd327ab244335b637f0ad3393d9b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Khem Raj
1cae6faf9d libcxx: Fix cflags and ldflags for using compiler runtime
-stdlib is needed in both cxxflags and ldflags since c++ compiler
will use these to chose the right c++ headers and libraries during link

-rtlib and -unwindlib are only needed during linking

Use LLVM_HOST_TRIPLE during cross compiling compiler-rt for target
this is used by cmake to compute target and compiler triples

Fix LLVM_RUNTIME_TARGETS to use HOST_ARCH, it does not need cross
compile triple which HOST_SYS is passing here

(From OE-Core rev: d1ae4087c548a78e90687b64764f621b070e3ec5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Khem Raj
77c0cff6a7 compiler-rt: Consolidate and fix cmake arguments
Specify CMAKE_C_COMPILER_TARGET and COMPILER_RT_DEFAULT_TARGET_ARCH
in common for native/target/nativesdk

set COMPILER_RT_DEFAULT_TARGET_ARCH to use HOST_ARCH across all recipe
variants

It is not needed to set COMPILER_RT_DEFAULT_TARGET_ARCH for powerpc anymore
as it is already fixed by setting COMPILER_RT_DEFAULT_TARGET_ARCH to
HOST_ARCH

(From OE-Core rev: 945e9a799ddbb28c169155368f1998cb8e9f455f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:56 +01:00
Changqing Li
1f881c0a6b libsoup-2.4: fix CVE-2024-52532
CVE-2024-52532:
GNOME libsoup before 3.6.1 has an infinite loop, and memory consumption.
during the reading of certain patterns of WebSocket data from clients.

Refer:
https://nvd.nist.gov/vuln/detail/CVE-2024-52532

(From OE-Core rev: 4efb2f03cf47382bf79aec333109c78e309c337b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Changqing Li
d491b63035 libsoup-2.4: fix build failure
Backport 2 patches to fix build failures

(From OE-Core rev: 31ddbed4155f36ff8cda5fcf7e6c301ae63cd62f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Praveen Kumar
534f92cb0a connman: Fix CVE-2025-32743
In ConnMan through 1.44, the lookup string in ns_resolv in dnsproxy.c
can be NULL or an empty string when the TC (Truncated) bit is set in
a DNS response. This allows attackers to cause a denial of service
(application crash) or possibly execute arbitrary code, because those
lookup values lead to incorrect length calculations and incorrect
memcpy operations.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-32743

Upstream-patch:
https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=d90b911f6760959bdf1393c39fe8d1118315490f

(From OE-Core rev: 610056dccc7144a70bcf69aec720b44bc7de7557)

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Chen Qi
a48e688361 busybox: fix CVE-2023-39810
Backport patch to fix CVE-2023-39810.

Note that the patch adds a config option which is disabled by
default. So users wanting this feature needs to enable that option.

(From OE-Core rev: b16c9a295d5d2c5d2100bce11fffeae6beb766c5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Yi Zhao
6c8bf0fcf2 python3-pygobject: RDEPENDS on gobject-introspection
Since 3.51.0, python3-pygobject depends on libgirepository 2.0 provided
by glib-2.0 instead of libgirepository 1.0 provided by
gobject-introspection[1]. It still needs the typelib files from
libgirepository-1.0 package. Add gobject-introspection as a runtime
dependency.

Fixes:
$ python3
Python 3.13.2 (main, Feb  4 2025, 14:51:09) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> from gi.repository import Gtk
Traceback (most recent call last):
  File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 139, in create_module
    introspection_module = get_introspection_module(namespace)
  File "/usr/lib64/python3.13/site-packages/gi/module.py", line 243, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib64/python3.13/site-packages/gi/module.py", line 111, in __init__
    repository.require(namespace, version)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
gi.RepositoryError: Typelib file for namespace 'xlib', version '2.0' not found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<python-input-1>", line 1, in <module>
    from gi.repository import Gtk
  File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 141, in create_module
    raise ImportError(e) from e
ImportError: Typelib file for namespace 'xlib', version '2.0' not found

[1] https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320

(From OE-Core rev: 6f9e02292c9305e795f2651c3bb6ef5b671e1c74)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
84ca7c6619 meson: clean up the native template in nativesdk builds
In a nativesdk build, the native build template should be minimal as it
just needs to ensure that Meson can link with libraries in the SDK's
native sysroot.

Specifically, it shouldn't be passing BUILD_* flags to Meson as these
are for the Yocto build host, not the SDK user.

(From OE-Core rev: f13063d11f1c62152af9ed45cb24f6499262e1a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
298e445560 meson: remove sysroot from the native environment file
The [properties]sys_root assignment doesn't actually do much in cross
builds, and does nothing in native builds (confirmed by the Meson
author).

(From OE-Core rev: b3ac60779d3f392689bad25780974244f893e2a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
5c194e28b9 meson: split template generation
Split the template generation function into two functions, one for cross
and another for native.

(From OE-Core rev: 3c4d2fc7ef38042737f64e9e44355839ab551b55)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Tom Hochstein
e07389d1be meson: Fix host_machine setting for native cross-file
For native and nativesdk, the meson cross-file settings for
`host_machine` are incorrectly set for the build machine, not the
"machine on which the compiled binary will run". See
https://mesonbuild.com/Cross-compilation.html.

Fixes: [YOCTO #15485]
(From OE-Core rev: 59d21632aecf1ca9085d17aeda19a8a29602cd17)

(From OE-Core rev: 0b882df19b5c339d2e7e00f56136afa890404f7b)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Tom Hochstein
12bcad4ea5 toolchain-scripts: Export meson settings for SDK builds
Create a new set of exports for the Meson `host_machine` cross settings.
This allows the target cross file to be created correctly from
meson.cross.template and aligns with meson.bbclass.

Note, one might think that HOST_OS and HOST_ARCH would be appropriate as
inputs here, aligning nicely with the Meson naming. That turns out to be
incorrect since the script is generated in a native/nativesdk build with
HOST_OS and HOST_ARCH set for the "build machine", not the "host
machine", using the Meson terminology. See
https://mesonbuild.com/Cross-compilation.html.

Fixes: [YOCTO #15485]
(From OE-Core rev: 9e742a0a9078f4a19a5edbfa51f22f7b71992188)

(From OE-Core rev: f2f898e36feb3bd489edda451e71b11bf69940b9)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Tom Hochstein
4f8de83f4f toolchain-scripts: Add Meson settings for Yocto build SDK
The Meson settings for the standalone SDK also need to be available for
the Yocto build SDK, a.k.a. meta-ide-support.

(From OE-Core rev: 6287114bf10718fe49f7c1ed211f3d99f0933bc4)

(From OE-Core rev: d69d049e9a7114323a1e1b8da4999e9e3f08ad03)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
7157ffa551 oeqa/sdk/autotools: verify that configure is using the correct host
Search config.log for the correct host_alias assignment to verify that
configure has correctly identified the host system.

(From OE-Core rev: ade66073a1c89918f849eb2932c05342e8f3ab4f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
0fc5716c11 oeqa/sdk/maturin: no need for a setupClass, merge code into test
There's no need to copy files inside setUpClass() when there's only one
test function that uses it. Just do all of the test inside the test.

(From OE-Core rev: 5474677b21f2f4069f355abdc600483c42d0b0b3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
04e4586c66 oeqa/sdk/maturin: be less picky in the list_python test
The test assumed that maturin would only find a single Python binary, in
/usr/bin/python3*.

However in eSDKs with buildtools a Python is shipped with the SDK, so
the test failed.

Generalise the test so that it runs python3 and obtains its path and
version, and then verifies that path and and version are found by
Maturin. This means we're not assuming a single Python, or the paths, or
that the Python is CPython.

(From OE-Core rev: ae9b5dae77ef140422fcf71d239ca028c9208447)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
b8009efc19 oeqa/sdk/meson: add check that meson has detected the target correctly
Use 'meson introspect' to dump JSON describing the build configuration
and validate that the target architectures and cross-compiler is
correctly set.

(From OE-Core rev: 1c84361829921e91d782b189e2bde818a2d1491c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
a916ac3844 oeqa/sdk/gtk3: build libhandy instead of galculator
galculator hasn't been touched for a decade now[1] and fails to compile
under GCC 15.

Switch to building libhandy, which is the GTK+3 precursor to libadwaita
in the Gnome stack. Whilst this is in low-maintainence mode, will be
updated if it breaks.

[1] https://github.com/galculator/galculator/

(From OE-Core rev: ff6fa71eb0511d8594c4416a37d75a85470ff9c6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
49cce6af42 core-image-sato: fix SDK dependency on glib
Adding nativesdk-glib-2.0 to the SDK isn't actually very useful as that
is just the library and not the ancillery tools (since [1]).

Switch the dependency to glib-2.0-utils so that the host-side tools are
available in SDKs.

[1] oe-core b649cf5c09a ("glib-2.0: add dependencies to fix ptest failures")

(From OE-Core rev: 327308f8c4b45f5728aa5ca79ea71fb42370e717)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
fa6d138447 oeqa/sdk/meson: generalise test case
Refactor this test case so the generic "build a meson project" code is
separated out and can be reused.

Also currently meson inside eSDKs only works with fully populated eSDKs,
but our testing uses minimal eSDKS, so skip the test if the eSDK is a
minimal build.  A bug has been filed to resolve this.

(From OE-Core rev: 575e0bf52db0467d88af4b5fe467b682f10ca62a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
ff06a1b425 oeqa/sdk/kmod: skip test in eSDKs
At the moment we can't run this test inside an eSDK as it needs the
kernel-devsrc recipe to be present.  Skip the test until this has been
resolved.

(From OE-Core rev: f83beee6e63d25ef2b17618a85f9ad6ca0898600)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
393691faf1 oeqa/sdk: use ensure_*_package helpers
Clean up lots of dependency checking code by using the new helpers.

This means that a lot of tests that were previously skipped inside the
eSDK testing on the autobuilder are now executed, and fail.

(From OE-Core rev: 11277efd057685558a744e98082b5709e849dd2a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
eeacb5d906 oeqa/sdk: add helpers to check for and install packages
The existing tests simply look at the manifest to determine if a test
should be ran or not based on dependencies. Whilst this works for
Traditional SDKs, it fails for Extensible SDKs if they've been built in
minimal mode, where the manifest will be empty.  However, minimal eSDKs
might well have available sstate to install the missing dependencies.

Add a pair of helper functions to ensure that a package is available, or
skip the test.  This handles nativesdk- vs -native (SDK vs eSDK) and
will try to sdk-install missing dependencies into an eSDK if they're not
already installed.

(From OE-Core rev: d0e8b83d05957b1f22d08582e364afa4b522801e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
d20341f93a oeqa/selftest/sdk: add test to verify the manifests are generated correctly
Add a test that builds a SDK with specific packages in the host and
target sections, and verifies that they're listed in the manifest.

(From OE-Core rev: a1556c801feb56b79243ba2947b74b84f674072b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
788ea3f7a1 oeqa/sdk: add simple test that the manifests are not empty
Simple test to sanity check that the generated SDK manifest was parsed
correctly and isn't empty.

This test is complicated by the fact that minimal eSDKs without a
toolchain do in fact have an empty manifest, so also check for that.

(From OE-Core rev: 43288b19e93f0c07b347d6e5d6f7f10e96219f96)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
4ce977f378 oeqa/sdkext/context: align hasHostPackage with parent class
This subclass overrides hasHostPackage() but back in 2018[1] the parent
class's method gained a regex argument.

[1] oe-core 595e9922cdb ("oeqa/sdk: fixes related to hasPackage semantics")

(From OE-Core rev: cfd1e0a8c8d294510fca1a800ab27e4f1e2292bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
16ca89f0bb oeqa/sdk/context: fix multilib handling bug in hasTargetPackage
hasTargetPackage has some logic to automatically multilibify package
names if needed (for example, so that gtk+3 becomes lib32-gtk+3).

Due to a logic bug if multilib was True but there were no multilibs
configured then this prepended "-" to the package name, which won't
exist.  This resulted in tests being skipped as the dependent packages
are not installed.

Solve this by only prepending to the package name if requested and if a
multilib environment has been detected.

(From OE-Core rev: 2abb146dd81f677176923ebb3188f5b7c034ed68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
79b6409ef7 oe/sdk: fix empty SDK manifests
The SDK manifests are generated by listing the sstate was that used, but
it hardcodes that the sstate data filenames end in .tgz.

This has not been the case since sstate switched to Zstd[1] in 2021,
which meant that all of the tests which checked for packages existing
were being skipped as the manifests were empty.  For example, see a
representative core-image-sato eSDK test run[2]:

RESULTS - cmake.CMakeTest.test_assimp: SKIPPED (0.00s)
RESULTS - gtk3.GTK3Test.test_galculator: SKIPPED (0.00s)
RESULTS - kmod.KernelModuleTest.test_cryptodev: SKIPPED (0.00s)
RESULTS - maturin.MaturinDevelopTest.test_maturin_develop: SKIPPED (0.00s)
RESULTS - maturin.MaturinTest.test_maturin_list_python: SKIPPED (0.00s)
RESULTS - meson.MesonTest.test_epoxy: SKIPPED (0.00s)
RESULTS - perl.PerlTest.test_perl: SKIPPED (0.00s)
RESULTS - python.Python3Test.test_python3: SKIPPED (0.00s)

All of those tests should have been ran.

Solve this by generalising the filename check so that it doesn't care
what specfic compression algorithm is used.

[1] oe-core 0710e98f40e ("sstate: Switch to ZStandard compressor support")
[2] https://autobuilder.yoctoproject.org/valkyrie/#/builders/16/builds/1517/steps/15/logs/stdio

(From OE-Core rev: b293c44f87b6a52e4239ce14066514e87d9b08d0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
cabcadd9be testsdk: allow user to specify which tests to run
Following the usage of TEST_SUITES in testimage, add TESTSDK_SUITES to
specify the list of tests to execute. By default the variable is empty,
which means to run all discovered tests.

This makes it easier to work on a single test without having to run all
of the tests.

(From OE-Core rev: 28d437c52c77889b2ede0fc2f2d6777c5b0a553d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Ross Burton
234b7ce514 buildtools-tarball: fix default_cases assignment
This is meant to be a list of strings not a single string. For example,
this is overwriting the default in OESDKTestContextExecutor which is:

      default_cases = [os.path.join(os.path.abspath(os.path.dirname(__file__)), 'cases')]

(From OE-Core rev: 867e0a9c571b7bc9a37e6d893f7d75e03fa218a5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Khem Raj
6920f26ee8 arch-powerpc: Use -maltivec in compiler flags if altivec is in tune features
(From OE-Core rev: 80ecd2c42e9e1215de403ef9b69ab290f26cd750)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Trevor Woerner
b2d8a30f22 systemd: disable linker GCS warning on aarch64
openssl has some assembler code that has PAC and BTI hints but not GCS. The
systemd recipe then links to libcrypto from openssl with GCS enabled (as
that is a distro-wide setting) and it - correctly - warns that it is being
told to use GCS but one of the inputs does not have GCS. This would not
be a problem but systemd also links with —fatal-warnings, so the build
explodes.

	libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking.
	| collect2: error: ld returned 1 exit status

(From OE-Core rev: 295e30eac69e152778246c7271b72f7e8498a40a)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 22:01:55 +01:00
Mikko Rapeli
36dcd01bad oeqa/selftest/pokybleeding: change from mtd-utils-selftest to pseudo
Test recipe git repo URL is checked for newer commits and
mtd-utils-selftest check is sometimes failing due to server
errors. Use pseudo which uses Yocto Project in git servers
which should be reliable.

Fixes: [YOCTO #15855]

build/build-st-17692/tmp/hosttools"; export HOME="/srv/pokybuild"; git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin ls-remote git://git.infradead.org/mtd-utils.git  failed with exit code 128, output:
fatal: read error: Connection reset by peer

(From meta-yocto rev: a82be5486058c2e5a1e286dba17c33444889c982)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-12 17:06:07 +01:00
Lee Chee Yang
2859d5fb9d release-notes-5.2: update download section
also fix some typo.

(From yocto-docs rev: 81bb2b31c485717c0f3935844266f6610d860a6a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-09 07:10:42 +01:00
Lee Chee Yang
d9c8689d69 docs: update walnascar-5.2 release
(From yocto-docs rev: 08dba6f1e0e978b1be8faa5c09ae266ac383f57d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-09 07:10:42 +01:00
Michael Halstead
03e07bf5b3 docs: update current releases for Walnascar
(From yocto-docs rev: 3a9a2aebf64f3cf62096ca80be670862b13bead3)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-09 07:10:42 +01:00
Alexander Kanavin
a9d45c0499 clang: fix upstream version check
(From OE-Core rev: 0dfdaca8405f4f1a9c188f736a99c39b7f8272b3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-09 07:10:11 +01:00
Khem Raj
777bcd1a08 clang: Build limited targets for target clang recipe
On target its sufficient to build what mesa needs + one host target
It should speed up the build.

Fix bug in function mapping target architecture to LLVM backend

Reduces size of libLLVM

Before - 131M May  6 20:42 ./clang-libllvm/usr/lib/libLLVM.so.20.1
After  - 93M May  6 18:47 ./clang-libllvm/usr/lib/libLLVM.so.20.1

(From OE-Core rev: 0e1c55d2631200f8c9890eac8d26c404f28862d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-09 07:10:11 +01:00
Khem Raj
b741bca929 clang: Space optimize clang recipes
They can consume quite a bit of build space, we don't debug them as often

(From OE-Core rev: 107c344a627c29a2c6a1a47f57d3d63e74bbb112)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-09 07:10:11 +01:00
Bruce Ashfield
5844d535e1 linux-yoto/6.12: bsp/arm: fix CONFIG_CRYPTO_LIB_CHACHA
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64: add CONFIG_CRYPTO_LIB_CHACHA=m
    Date: Wed, 7 May 2025 14:43:40 +0300

    Fixes CONFIG_CRYPTO_CHACHA20_NEON build as module:

    WARNING: [kernel config]: specified values did not make it into the kernel's final configuration:

        [NOTE]: 'CONFIG_CRYPTO_CHACHA20_NEON' last val (m) and .config val (n) do not match
        [INFO]: CONFIG_CRYPTO_CHACHA20_NEON : n

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: qemuarma15.cfg: enable CONFIG_CRYPTO_LIB_CHACHA
    Date: Wed, 7 May 2025 14:43:41 +0300

    It's a dependency of CONFIG_CRYPTO_CHACHA20_NEON.
    Fixes:

        [NOTE]: 'CONFIG_CRYPTO_CHACHA20_NEON' last val (y) and .config val (n) do not match
        [INFO]: CONFIG_CRYPTO_CHACHA20_NEON : n

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: d58ac8f0e4788d675db594ad26b704f1277c909b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Bruce Ashfield
0e6cb82aba linux-yocto/6.12: update to v6.12.27
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    b801eaa96a5a Linux 6.12.27
    92c6f8c577a0 bpf: Fix BPF_INTERNAL namespace import
    c72e4daa7ab2 Linux 6.12.26
    6b9ebcbd315b mq-deadline: don't call req_get_ioprio from the I/O completion handler
    ccc4e973fd19 arm64: dts: ti: k3-j784s4-j742s2-main-common: Correct the GICD size
    4b814a1c0c6d crypto: Kconfig - Select LIB generic option
    ab5281d21e37 usb: typec: class: Unlocked on error in typec_register_partner()
    ff4226252ca5 objtool: Silence more KCOV warnings, part 2
    4dc5c03fbda0 objtool: Ignore end-of-section jumps for KCOV/GCOV
    1b7647efade7 usb: xhci: Fix Short Packet handling rework ignoring errors
    1042d22942c4 nvme: fixup scan failure for non-ANA multipath controllers
    8bfe4f02b647 MIPS: cm: Fix warning if MIPS_CM is disabled
    62bf68561d3c media: i2c: imx214: Fix uninitialized variable in imx214_set_ctrl()
    67727c5764a8 crypto: lib/Kconfig - Hide arch options from user
    4833d0a92b59 iommu: Handle race with default domain setup
    49d628cb2460 net: dsa: mv88e6xxx: enable STU methods for 6320 family
    ff83998b6fa7 net: dsa: mv88e6xxx: enable .port_set_policy() for 6320 family
    7dd0c1b86e6b net: dsa: mv88e6xxx: enable PVT for 6321 switch
    f4106753ae0d net: dsa: mv88e6xxx: fix atu_move_port_mask for 6341 family
    324fd0ba933c Revert "net: dsa: mv88e6xxx: fix internal PHYs for 6320 family"
    40966fc9939e usb: typec: class: Invalidate USB device pointers on partner unregistration
    45314999f950 ext4: goto right label 'out_mmap_sem' in ext4_setattr()
    9f609f04c2a1 comedi: jr3_pci: Fix synchronous deletion of timer
    33e131a10459 vmxnet3: Fix malformed packet sizing in vmxnet3_process_xdp
    de7c24febd21 usb: typec: class: Fix NULL pointer access
    543e0f8765e4 selftests/bpf: Adjust data size to have ETH_HLEN
    a9b0b9421e34 selftests/bpf: check program redirect in xdp_cpumap_attach
    b84e7bc48840 selftests/bpf: make xdp_cpumap_attach keep redirect prog attached
    f8ed4bfb035e selftests/bpf: fix bpf_map_redirect call for cpu map test
    94d9c3366e4d xfs: flush inodegc before swapon
    d6989af0cb1b xfs: rename xfs_iomap_swapfile_activate to xfs_vm_swap_activate
    8185e3ba7146 xfs: Do not allow norecovery mount with quotacheck
    94c5584f36a9 xfs: do not check NEEDSREPAIR if ro,norecovery mount.
    2b344e779d9a driver core: fix potential NULL pointer dereference in dev_uevent()
    4f43c1bf2b1a driver core: introduce device_set_driver() helper
    bfc66c4c2804 Revert "drivers: core: synchronize really_probe() and dev_uevent()"
    185d376875ea spi: spi-imx: Add check for spi_imx_setupxfer()
    54cbce4fe04b drm/amdgpu: Use the right function for hdp flush
    0fd149c26281 drm/amdgpu: use a dummy owner for sysfs triggered cleaner shaders v4
    387461fba314 md/raid1: Add check for missing source disk in process_checks()
    cd0d49958ccb x86/cpu: Add CPU model number for Bartlett Lake CPUs with Raptor Cove cores
    3027e5d81147 ubsan: Fix panic from test_ubsan_out_of_bounds
    33903ad6274c spi: tegra210-quad: add rate limiting and simplify timeout error message
    1b4cf6873a40 spi: tegra210-quad: use WARN_ON_ONCE instead of WARN_ON for timeouts
    8f805b3746d2 ksmbd: fix WARNING "do not call blocking ops when !TASK_RUNNING"
    c9ffbc07920d riscv: Provide all alternative macros all the time
    d53b2d49a8e2 iomap: skip unnecessary ifs_block_is_uptodate check
    2ef6eea2efce netfs: Only create /proc/fs/netfs with CONFIG_PROC_FS
    2d097dc242ee x86/i8253: Call clockevent_i8253_disable() with interrupts disabled
    40216dc23955 ASoC: fsl_asrc_dma: get codec or cpu dai from backend
    0f9802f17422 scsi: pm80xx: Set phy_attached to zero when device is gone
    acf1610d8ba3 scsi: ufs: exynos: gs101: Put UFS device in reset on .suspend()
    b7a05edb2867 scsi: ufs: exynos: Move phy calls to .exit() callback
    c0724ac138db scsi: ufs: exynos: Enable PRDT pre-fetching with UFSHCD_CAP_CRYPTO
    09c7a0692870 scsi: ufs: exynos: Ensure pre_link() executes before exynos_ufs_phy_init()
    731047980d7e scsi: hisi_sas: Fix I/O errors caused by hardware port ID changes
    b626bc3c1dce ext4: make block validity check resistent to sb bh corruption
    b14d98641312 iommu: Clear iommu-dma ops on cleanup
    71c3d43c8f70 cifs: Fix querying of WSL CHR and BLK reparse points over SMB1
    9f8eeac3a61c timekeeping: Add a lockdep override in tick_freeze()
    1776d6d01913 cifs: Fix encoding of SMB1 Session Setup Kerberos Request in non-UNICODE mode
    f4cb2c042a29 nvmet-fc: put ref when assoc->del_work is already scheduled
    9635d486b608 nvmet-fc: take tgtport reference only once
    bb4b487bbd29 x86/bugs: Don't fill RSB on context switch with eIBRS
    3b4fc0785ad4 x86/bugs: Don't fill RSB on VMEXIT with eIBRS+retpoline
    5c41b7913fe0 x86/bugs: Use SBPB in write_ibpb() if applicable
    6f3e9b256663 selftests/mincore: Allow read-ahead pages to reach the end of the file
    f1e28d46a01b x86/xen: disable CPU idle and frequency drivers for PVH dom0
    5e58b93a1214 gpiolib: of: Move Atmel HSMCI quirk up out of the regulator comment
    fecf44d47384 objtool: Stop UNRET validation on UD2
    ee5521176ad8 nvme: multipath: fix return value of nvme_available_path
    b9c89c97d70b nvme: re-read ANA log page after ns scan completes
    5f3f3087a24f drm/xe/xe3lpg: Apply Wa_14022293748, Wa_22019794406
    bbf2d0605247 drm/amdgpu: Increase KIQ invalidate_tlbs timeout
    bd12979c190c ACPI PPTT: Fix coding mistakes in a couple of sizeof() calls
    bff38d184b70 ACPI: EC: Set ec_no_wakeup for Lenovo Go S
    24ede35eb2ab nvme: requeue namespace scan on missed AENs
    781c870bdc20 xen: Change xen-acpi-processor dom0 dependency
    90dc6c1e3b20 perf/core: Fix WARN_ON(!ctx) in __free_event() for partial init
    d6b66c20d585 selftests: ublk: fix test_stripe_04
    a4e99cd41590 cgroup/cpuset: Don't allow creation of local partition over a remote one
    daed646d3cfa KVM: s390: Don't use %pK through debug printing
    5e7c90294e7a KVM: s390: Don't use %pK through tracepoints
    c6c8afdcf824 sched/isolation: Make CONFIG_CPU_ISOLATION depend on CONFIG_SMP
    e5902d7ec720 kbuild: add dependency from vmlinux to sorttable
    3568fd9e440e io_uring: always do atomic put from iowq
    2dc0e5ceb3a9 rtc: pcf85063: do a SW reset if POR failed
    18296b595176 9p/trans_fd: mark concurrent read and writes to p9_conn->err
    c548f95688e2 9p/net: fix improper handling of bogus negative read/write replies
    a3b8d8cf5196 ntb_hw_amd: Add NTB PCI ID for new gen CPU
    b5f8b03af515 ntb: reduce stack usage in idt_scan_mws
    47ab2caba495 qibfs: fix _another_ leak
    69578c7d02a9 objtool, lkdtm: Obfuscate the do_nothing() pointer
    03bb66ede7ef objtool, regulator: rk808: Remove potential undefined behavior in rk806_set_mode_dcdc()
    777e6735fecc objtool, ASoC: codecs: wcd934x: Remove potential undefined behavior in wcd934x_slim_irq_handler()
    0485bdf88fb4 objtool, panic: Disable SMAP in __stack_chk_fail()
    8b4f2b6389bf objtool: Silence more KCOV warnings
    da780c4a075b um: work around sched_yield not yielding in time-travel mode
    0a205fdbb388 thunderbolt: Scan retimers after device router has been enumerated
    7fb9a9d2e320 usb: host: xhci-plat: mvebu: use ->quirks instead of ->init_quirk() func
    052fb65335be usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()
    2c97354037aa phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init
    9ff59cb81500 usb: xhci: Avoid Stop Endpoint retry loop if the endpoint seems Running
    2ef4b0e91170 dmaengine: dmatest: Fix dmatest waiting less when interrupted
    69bb5d420da7 i3c: master: svc: Add support for Nuvoton npcm845 i3c
    635be1360666 xhci: Handle spurious events on Etron host isoc enpoints
    16a7a8e6c47f usb: xhci: Fix isochronous Ring Underrun/Overrun event handling
    cbfa55bda1fe usb: xhci: Complete 'error mid TD' transfers when handling Missed Service
    66046b586c0a sound/virtio: Fix cancel_sync warnings on uninitialized work_structs
    f045fd7d46e8 usb: dwc3: gadget: Avoid using reserved endpoints on Intel Merrifield
    2ecae001385e usb: dwc3: gadget: Refactor loop to avoid NULL endpoints
    8a5e1d32c620 fs/ntfs3: Fix WARNING in ntfs_extend_initialized_size
    8db49e89a7f8 fs/ntfs3: Keep write operations atomic
    523bcab993fc usb: host: max3421-hcd: Add missing spi_device_id table
    8b7b088925e9 mailbox: pcc: Always clear the platform ack interrupt first
    a32ebfa7d80b mailbox: pcc: Fix the possible race in updation of chan_in_use flag
    b817d2bfd6d4 bpf: Reject attaching fexit/fmod_ret to __noreturn functions
    4131411f428d bpf: Only fails the busy counter check in bpf_cgrp_storage_get if it creates storage
    46df1fe944d0 bpf: bpftool: Setting error code in do_loader()
    ab57877603ea s390/tty: Fix a potential memory leak bug
    3b3aa72636a6 s390/sclp: Add check for get_zeroed_page()
    6e026e605088 parisc: PDT: Fix missing prototype warning
    4139072087e2 clk: check for disabled clock-provider in of_clk_get_hw_from_clkspec()
    c5c833f6375f bpf: Fix deadlock between rcu_tasks_trace and event_mutex.
    7758e308aeda bpf: Fix kmemleak warning for percpu hashmap
    0486de3c1b82 crypto: null - Use spin lock instead of mutex
    0195abab4ac8 crypto: lib/Kconfig - Fix lib built-in failure when arch is modular
    fbea0efa8a1d crypto: ccp - Add support for PCI device 0x1134
    eea7d57c4a64 MIPS: cm: Detect CM quirks from device tree
    3da037149416 pinctrl: mcp23s08: Get rid of spurious level interrupts
    d00d598027b6 pinctrl: renesas: rza2: Fix potential NULL pointer dereference
    1badc279b4ae selftests/bpf: Fix stdout race condition in traffic monitor
    caa559d3f74d USB: wdm: add annotation
    b8bf49f3f650 USB: wdm: wdm_wwan_port_tx_complete mutex in atomic context
    52ae15c665b5 USB: wdm: close race between wdm_open and wdm_wwan_port_stop
    eb4973cf6b38 USB: wdm: handle IO errors in wdm_wwan_port_start
    3e52ae347e95 USB: VLI disk crashes if LPM is used
    d85b7af3bdc5 usb: quirks: Add delay init quirk for SanDisk 3.2Gen1 Flash Drive
    9924ee1bcd16 usb: quirks: add DELAY_INIT quirk for Silicon Motion Flash Drive
    694fdc6a9c28 usb: dwc3: xilinx: Prevent spike in reset signal
    52a7c9d930b9 usb: dwc3: gadget: check that event count does not exceed event buffer length
    17c3984a4414 USB: OHCI: Add quirk for LS7A OHCI controller (rev 0x02)
    7fb632a131e5 usb: chipidea: ci_hdrc_imx: implement usb_phy_init() error handling
    c99ace596505 usb: chipidea: ci_hdrc_imx: fix call balance of regulator routines
    887902ca7349 usb: chipidea: ci_hdrc_imx: fix usbmisc handling
    74cd6e408a4c usb: cdns3: Fix deadlock when using NCM gadget
    bce3055b08e3 usb: xhci: Fix invalid pointer dereference in Etron workaround
    177771486508 xhci: Limit time spent with xHC interrupts disabled during bus resume
    54c66c703029 USB: serial: simple: add OWON HDS200 series oscilloscope support
    2eff9768197e USB: serial: option: add Sierra Wireless EM9291
    ea0d806b94bf USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe
    5d29f884fe9e serial: sifive: lock port in startup()/shutdown() callbacks
    f6ae572683d4 serial: msm: Configure correct working mode before starting earlycon
    6f021bc0083b tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT
    f6500093584e firmware: stratix10-svc: Add of_platform_default_populate()
    4fb75c0ccc33 misc: microchip: pci1xxxx: Fix incorrect IRQ status handling during ack
    12cc2193f2b9 misc: microchip: pci1xxxx: Fix Kernel panic during IRQ handler registration
    3670dee37657 char: misc: register chrdev region with all possible minors
    26df754de545 KVM: x86: Take irqfds.lock when adding/deleting IRQ bypass producer
    b5de7ac74f69 KVM: x86: Reset IRTE to host control if *new* route isn't postable
    a22fe6f84306 KVM: x86: Explicitly treat routing entry type changes as changes
    3e243378f27c mei: vsc: Fix fortify-panic caused by invalid counted_by() use
    34fafded1ca6 mei: me: add panther lake H DID
    1f439fe4d8d9 scsi: Improve CDL control
    b39bb3b4eb64 USB: storage: quirk for ADATA Portable HDD CH94
    40554c0f74bc ata: libata-scsi: Fix ata_msense_control_ata_feature()
    aa5778d06aeb ata: libata-scsi: Fix ata_mselect_control_ata_feature() return type
    ef2d6c63469e ata: libata-scsi: Improve CDL control
    df1a5d5c6134 mcb: fix a double free bug in chameleon_parse_gdd()
    4c5f6925e267 cxl/core/regs.c: Skip Memory Space Enable check for RCD and RCH Ports
    f3cd533c3ae3 KVM: SVM: Allocate IR data using atomic allocation
    7a8a6b627fde io_uring: fix 'sync' handling of io_fallback_tw()
    74d9e2018789 LoongArch: KVM: Fix PMU pass-through issue if VM exits to host finally
    be83fd71ac6e LoongArch: KVM: Fully clear some CSRs when VM reboot
    3b7f341eee94 LoongArch: Remove a bogus reference to ZONE_DMA
    51424fd171ce LoongArch: Return NULL from huge_pte_offset() for invalid PMD
    93b7872d3325 LoongArch: Handle fp, lsx, lasx and lbt assembly symbols
    3939d6f29d34 irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()
    140f05cbbf6b x86/insn: Fix CTEST instruction decoding
    1ae30272b992 drm/amd/display: Force full update in gpu reset
    3ff83378b6b1 drm/amd/display: Fix gpu reset in multidisplay config
    92b58c671b36 drm: panel: jd9365da: fix reset signal polarity in unprepare
    ea532ba5e1e6 rust: firmware: Use `ffi::c_char` type in `FwFunc`
    1909540037d3 scsi: mpi3mr: Fix pending I/O counter
    9c31ac781950 net: phy: microchip: force IRQ polling mode for lan88xx
    c2a6b4d78c12 net: selftests: initialize TCP header and skb payload with zero
    d6a9c4e6f9b3 xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()
    64b816a6c41c crypto: atmel-sha204a - Set hwrng quality to lowest possible
    28401a63c01a sched_ext: Use kvzalloc for large exit_dump allocation
    30c0d6e778da virtio_console: fix missing byte order handling for cols and rows
    e17bc10bf30b netfilter: fib: avoid lookup if socket is available
    f33b678543b9 KVM: SVM: Disable AVIC on SNP-enabled system without HvInUseWrAllowed feature
    9b34dffcd943 LoongArch: Make do_xyz() exception handlers more robust
    a556bb5178a3 LoongArch: Make regs_irqs_disabled() more clear
    08bbdcb35c81 LoongArch: Select ARCH_USE_MEMTEST
    8d37031464d5 perf/x86: Fix non-sampling (counting) events on certain x86 platforms
    955f9ede52b8 bpf: Add namespace to BPF internal symbols
    3decda1a3c19 splice: remove duplicate noinline from pipe_clear_nowait
    bcf6d3158c59 riscv: uprobes: Add missing fence.i after building the XOL buffer
    4715ab8435eb riscv: Replace function-like macro by static inline function
    e22010c3b83f iommu/amd: Return an error if vCPU affinity is set for non-vCPU IRTE
    7f24ea6a460b block: never reduce ra_pages in blk_apply_bdi_limits
    66d7702b42ff pds_core: make wait_context part of q_info
    ff207e83dac4 pds_core: Remove unnecessary check in pds_client_adminq_cmd()
    6702f5c6b22d pds_core: handle unsupported PDS_CORE_CMD_FW_CONTROL result
    2982e07ad72b pds_core: Prevent possible adminq overflow/stuck condition
    dd6c299390bd net: dsa: mt7530: sync driver-specific behavior of MT7531 variants
    c6f035044104 net_sched: hfsc: Fix a potential UAF in hfsc_dequeue() too
    86cd4641c713 net_sched: hfsc: Fix a UAF vulnerability in class handling
    a61afd54826a fix a couple of races in MNT_TREE_BENEATH handling by do_move_mount()
    4fb743ee2128 net: ethernet: mtk_eth_soc: net: revise NETSYSv3 hardware configuration
    0ceef62a328c tipc: fix NULL pointer dereference in tipc_mon_reinit_self()
    41143e71052a net: phy: leds: fix memory leak
    3340654bbf6b net: lwtunnel: disable BHs when required
    eeab6618037b scsi: ufs: core: Add NULL check in ufshcd_mcq_compl_pending_transfer()
    29daa63f2c75 scsi: core: Clear flags for scsi_cmnd that did not complete
    fdd2a03561a4 net/mlx5: Move ttc allocation after switch case to prevent leaks
    0b682680b12b net/mlx5: Fix null-ptr-deref in mlx5_create_{inner_,}ttc_table()
    ef258a15e76c vhost-scsi: Fix vhost_scsi_send_status()
    0ac4643bf2c9 vhost-scsi: Fix vhost_scsi_send_bad_target()
    461c258ba7f6 vhost-scsi: Add better resource allocation failure handling
    5d92e582d162 cgroup/cpuset-v1: Add missing support for cpuset_v2_mode
    9a447f748f6c btrfs: zoned: return EIO on RAID1 block group write pointer mismatch
    c8a0c38beb87 btrfs: avoid page_lockend underflow in btrfs_punch_hole_lock_range()
    6c1c66580587 cpufreq: fix compile-test defaults
    ef56c130f6e6 cpufreq: Do not enable by default during compile testing
    dbe413a8cdc6 cpufreq: cppc: Fix invalid return value in .get() callback
    7d002f591486 scsi: ufs: mcq: Add NULL check in ufshcd_mcq_abort()
    28fbd7b13b4d cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
    7ccfadfb2562 cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
    fbdba5f37413 cpufreq: apple-soc: Fix null-ptr-deref in apple_soc_cpufreq_get_rate()
    16c8aa5de135 dma/contiguous: avoid warning about unused size_bytes
    40bf7f560ca4 cpufreq: sun50i: prevent out-of-bounds access
    aef37505c496 ceph: Fix incorrect flush end position calculation
    984830d902fb lib/Kconfig.ubsan: Remove 'default UBSAN' from UBSAN_INTEGER_WRAP
    b26ac563704c drm/amd/display/dml2: use vzalloc rather than kzalloc
    50ec8c24286e drm/amd/display: Fix unnecessary cast warnings from checkpatch
    0fdb612c2072 drm/xe/bmg: Add one additional PCI ID
    c187aaa9e79b net/niu: Niu requires MSIX ENTRY_DATA fields touch before entry reads
    869749e48115 scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set
    56f3327cdd18 scsi: ufs: exynos: Move UFS shareability value to drvdata
    661380d98218 scsi: ufs: exynos: Add gs101_ufs_drv_init() hook and enable WriteBooster
    0e76176edc9b scsi: ufs: exynos: Remove superfluous function parameter
    ffcdfaecd422 scsi: ufs: exynos: Remove empty drv_init method
    1aec4d14cf81 ksmbd: fix use-after-free in __smb2_lease_break_noti()
    0fc403192dcc ksmbd: browse interfaces list on FSCTL_QUERY_INTERFACE_INFO IOCTL
    8d2c1acc88cb ksmbd: add netdev-up/down event debug print
    0772765ac82d ksmbd: use __GFP_RETRY_MAYFAIL
    60cb4dfcf739 accel/ivpu: Fix the NPU's DPU frequency calculation
    27fcf647818b accel/ivpu: Add auto selection logic for job scheduler
    35ba7b2d4dd0 PCI/MSI: Add an option to write MSIX ENTRY_DATA before any reads
    46d357520934 PCI/MSI: Handle the NOMASK flag correctly for all PCI/MSI backends
    aad12468967b PCI/MSI: Convert pci_msi_ignore_mask to per MSI domain flag
    8fe536f1026c scsi: ufs: qcom: fix dev reference leaked through of_qcom_ice_get
    a122b3b1f5b8 of: resolver: Fix device node refcount leakage in of_resolve_phandles()
    05576e1304fd of: resolver: Simplify of_resolve_phandles() using __free()
    56ddf0023b00 arm64: dts: ti: k3-j784s4-j742s2-main-common: Fix serdes_ln_ctrl reg-masks
    107b05f54022 arm64: dts: ti: Refactor J784s4 SoC files to a common file
    bde067b82ac7 iio: adc: ad7768-1: Fix conversion result sign
    68565706b589 iio: adc: ad7768-1: Move setting of val a bit later to avoid unnecessary return value check
    8f229785c5b7 net: dsa: mv88e6xxx: fix VTU methods for 6320 family
    2afa5ea7c48d block: make sure ->nr_integrity_segments is cloned in blk_rq_prep_clone
    ed7535b14116 block: remove the ioprio field from struct request
    3e12e8c273eb block: remove the write_hint field from struct request
    575601d08abf media: ov08x40: Add missing ov08x40_identify_module() call on stream-start
    9c00d5445423 media: ov08x40: Move ov08x40_identify_module() function up
    fc96a720d887 media: i2c: imx214: Fix link frequency validation
    5a5ab62e4a76 media: i2c: imx214: Check number of lanes from device tree
    2a60b6bef436 media: i2c: imx214: Replace register addresses with macros
    694d85794ac6 media: i2c: imx214: Convert to CCI register access helpers
    a9aa21098974 media: i2c: imx214: Simplify with dev_err_probe()
    d3a38834b206 media: i2c: imx214: Use subdev active state
    9d5752b85378 PM: EM: Address RCU-related sparse warnings
    db3b3964af11 PM: EM: use kfree_rcu() to simplify the code
    27ce35d80a1c mmc: sdhci-msm: fix dev reference leaked through of_qcom_ice_get
    311a651fbb78 soc: qcom: ice: introduce devm_of_qcom_ice_get
    1c9798bf8145 mm/vmscan: don't try to reclaim hwpoison folio
    031273540275 tracing: Verify event formats that have "%*p.."
    0b603e775979 tracing: Add __print_dynamic_array() helper
    e62c31802dcc module: sign with sha512 instead of sha1 by default
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 727b7c43af5192a26b4a0690b326af45d221fa9b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Bruce Ashfield
9e3fb052e3 linux-yocto/6.12: bsp/genericarm64: modular configuration updates
Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: genericarm64: build drivers as modules
    Date: Tue, 6 May 2025 09:27:53 -0400

    Load on demand. They should not be needed
    to run the kernel since it has already been
    loaded and firmware has already configured HW
    enough to boot into kernel.

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: nft_test.cfg: build CONFIG_LEDS_GPIO as module
    Date: Tue, 22 Apr 2025 17:38:28 +0300

    The driver can be compiled as module.

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: nft_test.cfg: build CONFIG_VETH as module
    Date: Tue, 22 Apr 2025 17:38:29 +0300

    The driver can be compiled as module

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 50cc72621bf2253ada8f2704d8b1b89bc67f7d6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Bruce Ashfield
7298b2fdc7 linux-yocto/6.12: update to v6.12.25
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    ef4999852d30 Linux 6.12.25
    f78507c1ef2c block: make struct rq_list available for !CONFIG_BLOCK
    473c5347355f selftests/bpf: extend changes_pkt_data with cases w/o subprograms
    f0946dcccb3d bpf: fix null dereference when computing changes_pkt_data of prog w/o subprogs
    1062b7612cbd selftests/bpf: validate that tail call invalidates packet pointers
    d0e94a5bb99d selftests/bpf: freplace tests for tracking of changes_packet_data
    3846e2bea565 bpf: check changes_pkt_data property for extension programs
    fa1fbb67e081 selftests/bpf: test for changing packet data from global functions
    1d572c60488b bpf: track changes_pkt_data property for global functions
    d30b9c5950e0 bpf: add find_containing_subprog() utility function
    ab7edf42ce80 wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process
    cec26d6bf34a MIPS: ds1287: Match ds1287_set_base_clock() function types
    305dd911dea7 MIPS: cevt-ds1287: Add missing ds1287.h include
    21c6a0ed6ff0 MIPS: dec: Declare which_prom() as static
    45e19beb968e Revert "wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process"
    b906c1ad25ad mm/vma: add give_up_on_oom option on modify/merge, use in uffd release
    7e2d22493939 block: don't reorder requests in blk_add_rq_to_plug
    2ad0f19a4e99 block: add a rq_list type
    5b34f40cdab6 block: remove rq_list_move
    3dd1af8ce34d nvmet-fc: Remove unused functions
    29b2d6f53c78 drm/amd/display: Temporarily disable hostvm on DCN31
    628e6c452139 LoongArch: Eliminate superfluous get_numa_distances_cnt()
    66d182770fbf efi/libstub: Bump up EFI_MMAP_NR_SLACK_SLOTS to 32
    59a30b981a5e misc: pci_endpoint_test: Fix 'irq_type' to convey the correct type
    0557e70e2aeb misc: pci_endpoint_test: Avoid issue of interrupts remaining after request_irq error
    deee01acc6a3 selftests/bpf: Fix raw_tp null handling test
    e2a9f73ee408 md: fix mddev uaf while iterating all_mddevs list
    6ea2e8743ed1 platform/x86: msi-wmi-platform: Workaround a ACPI firmware bug
    1c9e272f9867 platform/x86: msi-wmi-platform: Rename "data" variable
    3802df8552de kbuild: Add '-fno-builtin-wcslen'
    0f1ee79b0fea scripts: generate_rust_analyzer: Add ffi crate
    c1a485c46c67 cpufreq: Reference count policy in cpufreq_update_limits()
    686d8f7b592f arm64/boot: Enable EL2 requirements for FEAT_PMUv3p9
    14eacc808e67 arm64/sysreg: Add register fields for HFGWTR2_EL2
    2ef32d984d35 arm64/sysreg: Add register fields for HFGRTR2_EL2
    c41512745401 arm64/sysreg: Add register fields for HFGITR2_EL2
    051eccf71703 arm64/sysreg: Add register fields for HDFGWTR2_EL2
    740360261688 arm64/sysreg: Add register fields for HDFGRTR2_EL2
    e1a6acacf1ff arm64/sysreg: Update register fields for ID_AA64MMFR0_EL1
    effb4d79b3b1 drm/mgag200: Fix value in <VBLKSTR> register
    7f21bfd6fc16 drm/amdgpu: fix warning of drm_mm_clean
    a43e53e310a4 drm/xe: Set LRC addresses before guc load
    65dc4e3d5b01 drm/xe/userptr: fix notifier vs folio deadlock
    e4ed75e974a8 drm/xe/dma_buf: stop relying on placement in unmap
    e97bf44115e8 drm/amd/display: Add HP Probook 445 and 465 to the quirk list for eDP on DP1
    a5c9107a3e01 drm/amd/display: Protect FPU in dml2_init()/dml21_init()
    9cb744fbee38 drm/amd/display: Do not enable Replay and PSR while VRR is on in amdgpu_dm_commit_planes()
    a53d959fe660 drm/amdgpu: immediately use GTT for new allocations
    4b171d4cbfff drm/i915/gvt: fix unterminated-string-initialization warning
    28477f701b63 drm/xe: Fix an out-of-bounds shift when invalidating TLB
    b2c11fea2680 drm/sti: remove duplicate object names
    c90b95e12eb8 drm/imagination: take paired job reference
    490c30fd5545 drm/imagination: fix firmware memory leaks
    6e2c805996a4 drm/nouveau: prime: fix ttm_bo_delayed_delete oops
    91b646a0b2cb drm/amdgpu/dma_buf: fix page_link check
    228e98e2021c drm/amdgpu/mes11: optimize MES pipe FW version fetching
    596284026c5b drm/amd/display: Protect FPU in dml21_copy()
    74d6fba60f05 drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()
    fe19e04cd96f drm/amd/display: Add HP Elitebook 645 to the quirk list for eDP on DP1
    2ac5f466f628 drm/xe: Use local fence in error path of xe_migrate_clear
    a37e01fe60a3 drm/i915/vrr: Add vrr.vsync_{start, end} in vrr_params_changed
    2b00b32e6137 drm/amdgpu/mes12: optimize MES pipe FW version fetching
    42f7b5d12c28 drm/amd/pm/powerplay/hwmgr/vega20_thermal: Prevent division by zero
    fb803d4bb9ea drm/amd/pm/swsmu/smu13/smu_v13_0: Prevent division by zero
    8e9c4f8d197d drm/amd/pm/powerplay/hwmgr/smu7_thermal: Prevent division by zero
    63a150400194 drm/amd/pm/smu11: Prevent division by zero
    bd4d90adbca1 drm/amd/pm/powerplay: Prevent division by zero
    6413fed01620 drm/amd/pm: Prevent division by zero
    2a2b7b6f90a2 drm/amd/display: Increase vblank offdelay for PSR panels
    776253d9818d drm/amd/display: Actually do immediate vblank disable
    b542559343c9 drm/amd: Handle being compiled without SI or CIK support better
    0363c03672cd drm/amd/display: prevent hang on link training fail
    531d46336417 drm/amdgpu: Prefer shadow rom when available
    68b591d64df4 drm/msm/a6xx: Fix stale rpmh votes from GPU
    359f6cffaecf drm/msm/dsi: Add check for devm_kstrdup()
    31efeca2ef85 drm/ast: Fix ast_dp connection status
    b33386fabb2b drm/repaper: fix integer overflows in repeat functions
    de67afd68808 perf/x86/intel/uncore: Fix the scale of IIO free running counters on SPR
    c5e157032267 perf/x86/intel/uncore: Fix the scale of IIO free running counters on ICX
    8d19c4a3b811 perf/x86/intel/uncore: Fix the scale of IIO free running counters on SNR
    56fdbc091239 perf/x86/intel: Allow to update user space GPRs from PEBS records
    c7b43f09ddc9 platform/x86: amd: pmf: Fix STT limits
    42ded70c1a4e RAS/AMD/FMPM: Get masked address
    b2748ae60943 RAS/AMD/ATL: Include row[13] bit in row retirement
    d23fd7a539ac RDMA/cma: Fix workqueue crash in cma_netevent_work_handler
    6dd9ede5c59b scsi: ufs: exynos: Ensure consistent phy reference counts
    80b2ad121576 scsi: megaraid_sas: Block zero-length ATA VPD inquiry
    6360e4f8509e x86/boot/sev: Avoid shared GHCB page for early memory acceptance
    519718a3384a x86/cpu/amd: Fix workaround for erratum 1054
    a66b6b07d0d3 x86/microcode/AMD: Extend the SHA check to Zen5, block loading of any unreleased standalone Zen5 microcode patches
    c3e31d613951 virtiofs: add filesystem context source name check
    5683eaf4eeed tracing: Fix filter string testing
    5f878db827c0 string: Add load_unaligned_zeropad() code path to sized_strscpy()
    9042efa7f129 smb3 client: fix open hardlink on deferred close file error
    8baa74719359 slab: ensure slab->obj_exts is clear in a newly allocated slab page
    824b7ad9cf49 selftests/mm: generate a temporary mountpoint for cgroup filesystem
    3f1c81ae13dc riscv: Avoid fortify warning in syscall_get_arguments()
    f761eeefd531 Revert "smb: client: fix TCP timers deadlock after rmmod"
    2aa10d26b6f0 Revert "smb: client: Fix netns refcount imbalance causing leaks and use-after-free"
    2a879da5c34a ksmbd: fix the warning from __kernel_write_iter
    396d6e448583 ksmbd: Prevent integer overflow in calculation of deadtime
    d54ab1520d43 ksmbd: fix use-after-free in smb_break_all_levII_oplock()
    6e30c0e10210 ksmbd: Fix dangling pointer in krb_authenticate
    b9e3579213ba ovl: don't allow datadir only
    029458063ebb mm: fix apply_to_existing_page_range()
    8338e0723fbf mm: fix filemap_get_folios_contig returning batches of identical folios
    b609a60e3115 mm/gup: fix wrongly calculated returned value in fault_in_safe_writeable()
    4f34d6f979bc mm/compaction: fix bug in hugetlb handling pathway
    c45ba8393519 loop: LOOP_SET_FD: send uevents for partitions
    694521cb3fad loop: properly send KOBJ_CHANGED uevent for disk device
    56dfffea9fd3 isofs: Prevent the use of too small fid
    1355b5ca4782 i2c: cros-ec-tunnel: defer probe if parent EC is not present
    84e8719c087e hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key
    813268285600 crypto: caam/qi - Fix drv_ctx refcount bug
    f73731983f28 cpufreq/sched: Explicitly synchronize limits_changed flag handling
    d3995ff08c15 btrfs: correctly escape subvol in btrfs_show_options()
    b62b1406bb61 Bluetooth: vhci: Avoid needless snprintf() calls
    569bbe2fc76f Bluetooth: l2cap: Process valid commands in too long frame
    bde7abe8cfbb drm/msm/a6xx+: Don't let IB_SIZE overflow
    26d5e2377f57 ftrace: fix incorrect hash size in register_ftrace_direct()
    2665a3b1abf9 i2c: atr: Fix wrong include
    a7fce086f6ca nfsd: decrease sc_count directly if fail to queue dl_recall
    33c0f51f1a8d nfs: add missing selections of CONFIG_CRC32
    e22c8b99c8b8 dma-buf/sw_sync: Decrement refcount on error in sw_sync_ioctl_get_deadline()
    81a566a920a5 drm/v3d: Fix Indirect Dispatch configuration for V3D 7.1.6 and later
    c38a005e6efb block: integrity: Do not call set_page_dirty_lock()
    db42e6f28bdf asus-laptop: Fix an uninitialized variable
    c0ce01e0ff8a ASoC: qcom: Fix sc7280 lpass potential buffer overflow
    2612d5548256 ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S16
    2b72a9e327cc ASoC: codecs:lpass-wsa-macro: Fix logic of enabling vi channels
    43da9eae1b15 ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate
    b2e56391f620 ASoC: fsl: fsl_qmc_audio: Reset audio data pointers on TRIGGER_START event
    f2e2926e9eb1 Revert "PCI: Avoid reset when disabled via sysfs"
    28da4dd84070 writeback: fix false warning in inode_to_wb()
    c1aa71716aa4 rust: kbuild: use `pound` to support GNU Make < 4.3
    baf02dd01e75 rust: disable `clippy::needless_continue`
    4c353fca6296 rust: kasan/kbuild: fix missing flags on first build
    e8980258c029 objtool/rust: add one more `noreturn` Rust function for Rust 1.86.0
    00a1bdb15791 cpufreq/sched: Fix the usage of CPUFREQ_NEED_UPDATE_LIMITS
    27e0143f4d62 riscv: KGDB: Remove ".option norvc/.option rvc" for kgdb_compiled_break
    999bd7bb21ae riscv: KGDB: Do not inline arch_kgdb_breakpoint()
    853345021141 kunit: qemu_configs: SH: Respect kunit cmdline
    3583394b8505 riscv: module: Allocate PLT entries for R_RISCV_PLT32
    a068ea00009d riscv: module: Fix out-of-bounds relocation access
    1d5a8e1fec8f riscv: Properly export reserved regions in /proc/iomem
    c8c3f8e7a7d6 riscv: Use kvmalloc_array on relocation_hashtable
    cfdcd213ddba net: ethernet: mtk_eth_soc: revise QDMA packet scheduler settings
    7ec0265710d2 net: ethernet: mtk_eth_soc: correct the max weight of the queue limit for 100Mbps
    b524a14ec1f6 net: ethernet: mtk_eth_soc: reapply mdc divider on reset
    da5035d7aead net: ti: icss-iep: Fix possible NULL pointer dereference for perout request
    d028c6a80534 net: ti: icss-iep: Add phase offset configuration for perout signal
    352e5a67099b net: ti: icss-iep: Add pwidth configuration for perout signal
    62b795c22d02 ptp: ocp: fix start time alignment in ptp_ocp_signal_set
    a3e4b6ad5f9a net: dsa: avoid refcount warnings when ds->ops->tag_8021q_vlan_del() fails
    5c8066fbdb96 net: dsa: free routing table on probe failure
    8fcc1e6f8089 net: dsa: clean up FDB, MDB, VLAN entries on unbind
    9ee6d3a368ed net: dsa: mv88e6xxx: fix -ENOENT when deleting VLANs and MST is unsupported
    3665695e3572 net: dsa: mv88e6xxx: avoid unregistering devlink regions which were never registered
    635863d93deb net: txgbe: fix memory leak in txgbe_probe() error path
    d9ecaee61739 net: bridge: switchdev: do not notify new brentries as changed
    ad13e95cbc03 net: b53: enable BPDU reception for management port
    1f6916c55402 netlink: specs: rt-link: adjust mctp attribute naming
    250a2fc77a28 netlink: specs: rt-link: add an attr layer around alt-ifname
    dafb6e433ab2 cxgb4: fix memory leak in cxgb4_init_ethtool_filters() error path
    cb74d5b83714 ata: libata-sata: Save all fields from sense data descriptor
    78253d44e9d3 loop: stop using vfs_iter_{read,write} for buffered I/O
    0175902f6e8c loop: aio inherit the ioprio of original request
    21e70f694bc0 eth: bnxt: fix missing ring index trim on error path
    cd64ae07c40e net: ethernet: ti: am65-cpsw: fix port_np reference counting
    8335a3feb9d0 net: ngbe: fix memory leak in ngbe_probe() error path
    0b7d94164dc9 can: rockchip_canfd: fix broken quirks checks
    be80768d4f3b net: openvswitch: fix nested key length validation in the set() action
    15baba109503 netlink: specs: ovs_vport: align with C codegen capabilities
    41e43134ddda block: fix resource leak in blk_register_queue() error path
    3f899bd6dd56 net: mctp: Set SOCK_RCU_FREE
    61765e1b417a ethtool: cmis_cdb: use correct rpl size in ethtool_cmis_module_poll()
    01ad16ddf9d6 pds_core: fix memory leak in pdsc_debugfs_add_qcq()
    45300268e5d3 test suite: use %zu to print size_t
    86d5243ea60a smc: Fix lockdep false-positive for IPPROTO_SMC.
    688f85d1baaa dt-bindings: soc: fsl: fsl,ls1028a-reset: Fix maintainer entry
    724d26215e9f igc: add lock preventing multiple simultaneous PTM transactions
    c15065acc1de igc: cleanup PTP module if probe fails
    698182f03f3c igc: handle the IGC_PTP_ENABLED flag correctly
    8058c895c7c6 igc: move ktime snapshot into PTM retry loop
    b74137e277b7 igc: increase wait time before retrying PTM
    f3516229cd12 igc: fix PTM cycle trigger logic
    5a3ff97d124d Revert "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"
    fa0d99648cfc xen: fix multicall debug feature
    b02c2ac2f3f6 ipv6: add exception routes to GC list in rt6_insert_exception
    d49798ecd26e Bluetooth: l2cap: Check encryption key size on incoming connection
    aaf356f872a6 Bluetooth: btrtl: Prevent potential NULL dereference
    6ad0acb56b83 Bluetooth: hci_event: Fix sending MGMT_EV_DEVICE_FOUND for invalid address
    0d81bb58a203 RDMA/core: Silence oversized kvmalloc() warning
    0ba76fb62809 ASoC: cs42l43: Reset clamp override on jack removal
    36e0ea1f965e ALSA: hda/realtek - Fixed ASUS platform headset Mic issue
    c01f3741d12d ALSA: hda/realtek: Workaround for resume on Dell Venue 11 Pro 7130
    34875b7a5dc7 ALSA: hda: improve bass speaker support for ASUS Zenbook UM5606WA
    9b019be5890c ALSA: hda/cirrus_scodec_test: Don't select dependencies
    7060bf9100fa RDMA/hns: Fix wrong maximum DMA segment size
    48e5aa222549 RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe()
    6104cc65fe87 ovl: remove unused forward declaration
    bbad32b83663 crypto: tegra - Fix IV usage for AES ECB
    9ebc2053b89a crypto: tegra - Do not use fixed size buffers
    28ec10e58d8b crypto: tegra - remove redundant error check on ret
    23fde311ea1d ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe()
    dcba15ed0876 ASoC: dwc: always enable/disable i2s irqs
    eeeba7f43ae2 md/md-bitmap: fix stats collection for external bitmaps
    54e106047fea md/raid10: fix missing discard IO accounting
    7cc670e8ebaa scsi: smartpqi: Use is_kdump_kernel() to check for kdump
    5e8438fd7f11 scsi: replace blk_mq_pci_map_queues with blk_mq_map_hw_queues
    fe2bdefe8644 blk-mq: introduce blk_mq_map_hw_queues
    5ec903970245 driver core: bus: add irq_get_affinity callback to bus_type
    6884cb2f3b06 scsi: iscsi: Fix missing scsi_host_put() in error path
    52f224009ce1 wifi: wl1251: fix memory leak in wl1251_tx_work
    a8df245b5b29 wifi: mac80211: Purge vif txq in ieee80211_do_stop()
    159499c1341f wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()
    a9682bfef2cf wifi: at76c50x: fix use after free access in at76_disconnect
    1773fbf7c05b scsi: hisi_sas: Enable force phy when SATA disk directly connected
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 2ddc917a6942d62cb0da3428d7ea52d45d227b32)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Bruce Ashfield
a2f9648b20 linux-yocto/6.12: update to v6.12.24
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    b6efa8ce222e Linux 6.12.24
    ae5a6a0b425e HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
    bdbecb2bf531 s390/cpumf: Fix double free on error in cpumf_pmu_event_init()
    281782d2c673 Bluetooth: hci_uart: Fix another race during initialization
    f87626a55c21 media: mediatek: vcodec: mark vdec_vp9_slice_map_counts_eob_coef noinline
    9c03f6194e88 kbuild: Add '-fno-builtin-wcslen'
    5f494f482341 libbpf: Prevent compiler warnings/errors
    bd6eae1f30bf x86/e820: Fix handling of subpage regions when calculating nosave ranges in e820__register_nosave_regions()
    6a59b70fe71e nfsd: don't ignore the return code of svc_proc_register()
    b2b18a9f68f9 NFSD: Fix CB_GETATTR status fix
    560c03189615 NFSD: fix decoding in nfs4_xdr_dec_cb_getattr
    7005fdceff20 ACPI: platform-profile: Fix CFI violation when accessing sysfs files
    20867f094883 x86/paravirt: Move halt paravirt calls under CONFIG_PARAVIRT
    5d9484cd372d iommufd: Fail replace if device has not been attached
    6d11543bf37a iommufd: Make attach_handle generic than fault specific
    9ca4fe357464 arm64: errata: Add newer ARM cores to the spectre_bhb_loop_affected() lists
    d25a240c5a93 thermal/drivers/mediatek/lvts: Disable Stage 3 thermal threshold
    0131251d932f thermal/drivers/mediatek/lvts: Disable monitor mode during suspend
    9580b603654d selftests: mptcp: fix incorrect fd checks in main_loop
    2f1b4d6725b0 selftests: mptcp: close fd_in before returning in main_loop
    0f91e4f69fe6 sched_ext: create_dsq: Return -EEXIST on duplicate request
    7a30bbd36cb4 s390: Fix linker error when -no-pie option is unavailable
    f268ee2fbb53 s390/virtio_ccw: Don't allocate/assign airqs for non-existing queues
    05a0f9c40781 s390/pci: Fix zpci_bus_is_isolated_vf() for non-VFs
    92ca7270fe5e ring-buffer: Use flush_kernel_vmap_range() over flush_dcache_folio()
    de08212061ea pinctrl: samsung: add support for eint_fltcon_offset
    c1368383cd37 pinctrl: qcom: Clear latched interrupt status when changing IRQ type
    beb9a5cb7aa5 phy: freescale: imx8m-pcie: assert phy reset and perst in power off
    869202291aa4 PCI: Fix wrong length of devres array
    9707d0c932f4 PCI: Fix reference leak in pci_register_host_bridge()
    d69ad6e1a579 PCI: Fix reference leak in pci_alloc_child_bus()
    e4a1d7defbc2 PCI: pciehp: Avoid unnecessary device replacement check
    ce9643a541b6 PCI: j721e: Fix the value of .linkdown_irq_regfield for J784S4
    71bf0769a6c6 PCI: brcmstb: Fix missing of_node_put() in brcm_pcie_probe()
    712d84459a53 of/irq: Fix device node refcount leakages in of_irq_init()
    d0f25a99770f of/irq: Fix device node refcount leakage in API irq_of_parse_and_map()
    29cb94963ca9 of/irq: Fix device node refcount leakages in of_irq_count()
    3540164c7594 of/irq: Fix device node refcount leakage in API of_irq_parse_raw()
    dc83eccc93ed of/irq: Fix device node refcount leakage in API of_irq_parse_one()
    60faeef98b99 ntb: use 64-bit arithmetic for the MSI doorbell mask
    34baf1cfd679 net: mana: Switch to page pool for jumbo frames
    a2acc67d6155 misc: pci_endpoint_test: Fix displaying 'irq_type' after 'request_irq' error
    e98f77f74c66 selftests/landlock: Add a new test for setuid()
    76ab50fa6e35 selftests/landlock: Split signal_scoping_threads tests
    b017f2846a3e landlock: Prepare to add second errata
    332facfa8075 landlock: Always allow signals between threads of the same process
    7dd7f87e0711 landlock: Add erratum for TCP fix
    ea980ea4d18a landlock: Add the errata interface
    9b0d24fa64ca landlock: Move code to ease future backports
    7bc5c360375d KVM: x86: Acquire SRCU in KVM_GET_MP_STATE to protect guest memory accesses
    bbf821c35dab KVM: x86: Explicitly zero-initialize on-stack CPUID unions
    99b99032a89e KVM: PPC: Enable CAP_SPAPR_TCE_VFIO on pSeries KVM guests
    fae0a8796c4f KVM: Allow building irqbypass.ko as as module when kvm.ko is a module
    3bc2208c749c gve: handle overflow when reporting TX consumed descriptors
    62024ad4c51e gpio: zynq: Fix wakeup source leaks on device unbind
    2d66517135de gpio: tegra186: fix resource handling in ACPI probe path
    e66fb9b4e9ad ftrace: Properly merge notrace hashes
    1fce9574b9d5 ftrace: Add cond_resched() to ftrace_graph_set_hash()
    3e467f1c74f4 dt-bindings: coresight: qcom,coresight-tpdm: Fix too many 'reg'
    58c453801bb9 dt-bindings: coresight: qcom,coresight-tpda: Fix too many 'reg'
    74f01c2ca802 dm-verity: fix prefetch-vs-suspend race
    dd91458a8443 dm-integrity: fix non-constant-time tag verification
    ba42f98f092b dm-integrity: set ti->error on memory allocation failure
    a1a4fdc33d9c dm-ebs: fix prefetch-vs-suspend race
    08deafddfcb0 dlm: fix error if active rsb is not hashed
    b77f8a17ef6f dlm: fix error if inactive rsb is not hashed
    eaa7014aecb5 crypto: ccp - Fix uAPI definitions of PSP errors
    5116b340cf88 crypto: ccp - Fix check for the primary ASP device
    1f9648e2460b clk: qcom: gdsc: Set retain_ff before moving to HW CTRL
    4d6fb2a43f0d clk: qcom: gdsc: Capture pm_genpd_add_subdomain result code
    12ef07c4bfe4 clk: qcom: gdsc: Release pm subdomains in reverse add order
    809e83a5758e clk: qcom: clk-branch: Fix invert halt status bit check for votable clocks
    56c29847bc4c clk: renesas: r9a07g043: Fix HP clock source for RZ/Five
    4ed194d9bbf7 cifs: Ensure that all non-client-specific reparse points are processed by the server
    2a240405978d cifs: fix integer overflow in match_server()
    e0717385f5c5 cifs: avoid NULL pointer dereference in dbg call
    2eb6e5e0944c CIFS: Propagate min offload along with other parameters from primary to secondary channels.
    63d71ae01092 thermal/drivers/rockchip: Add missing rk3328 mapping entry
    474b3194c8ff tracing: Do not add length to print format in synthetic events
    868df4eb784c tracing: fprobe events: Fix possible UAF on modules
    a7fda1fd6d6c x86/xen: fix balloon target initialization for PVH dom0
    9e7c37fadb3b sctp: detect and prevent references to a freed transport in sendmsg
    65b259e3e06d mm/hwpoison: introduce folio_contain_hwpoisoned_page() helper
    1fd89407d7cb mm/hugetlb: move hugetlb_sysctl_init() to the __init section
    73d17d48df6c mm/hwpoison: do not send SIGBUS to processes with recovered clean pages
    14936034de92 mm/userfaultfd: fix release hang over concurrent GUP
    cc98577f9117 mm: add missing release barrier on PGDAT_RECLAIM_LOCKED unlock
    2532df0a9b74 mm/mremap: correctly handle partial mremap() of VMA starting at 0
    6dd8d9440fd3 mm: fix lazy mmu docs and usage
    83b6b5061ebd mm: make page_mapped_in_vma() hugetlb walk aware
    53dc6b00c02d mm/rmap: reject hugetlb folios in folio_make_device_exclusive()
    ab0af0126023 mm/damon/ops: have damon_get_folio return folio even for tail pages
    5f7f6abd92b6 net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod.
    fba396b79942 sparc/mm: avoid calling arch_enter/leave_lazy_mmu() in set_ptes
    690446dc72d5 sparc/mm: disable preemption in lazy mmu mode
    cb6b9bd66181 iommu/vt-d: Wire up irq_ack() to irq_move_irq() for posted MSIs
    6722a0cb8186 iommu/vt-d: Fix possible circular locking dependency
    e953e11123aa iommu/vt-d: Don't clobber posted vCPU IRTE when host IRQ affinity changes
    c95a438d2c37 iommu/vt-d: Put IRTE back into posted MSI mode if vCPU posting is disabled
    e5dd974d6e00 iommu/tegra241-cmdqv: Fix warnings due to dmam_free_coherent()
    b8b41eac7054 iommufd: Fix uninitialized rc in iommufd_access_rw()
    327e6b8b2816 btrfs: zoned: fix zone finishing with missing devices
    380ba38801eb btrfs: zoned: fix zone activation with missing devices
    b9af27d020e4 btrfs: tests: fix chunk map leak after failure to add it to the tree
    601db4e8bfe8 btrfs: fix non-empty delayed iputs list on unmount due to compressed write workers
    61a5c565fd24 backlight: led_bl: Hold led_access lock when calling led_sysfs_disable()
    a3b36c9da305 arm64: dts: exynos: gs101: disable pinctrl_gsacore node
    ac45d49df9dc arm64: dts: mediatek: mt8173: Fix disp-pwm compatible string
    1dd288783dcb arm64: mm: Correct the update of max_pfn
    21c512430424 arm64: tegra: Remove the Orin NX/Nano suspend key
    eec737e17e55 arm64: mops: Do not dereference src reg for a set operation
    52f251dbfb38 mtd: rawnand: Add status chack in r852_ready()
    5479a6af3c96 mtd: inftlcore: Add error check for inftl_read_oob()
    6554491b4a77 mptcp: only inc MPJoinAckHMacFailure for HMAC failures
    dc81e41a307d mptcp: fix NULL pointer in can_accept_new_subflow
    c7f611e711c8 lib: scatterlist: fix sg_split_phys to preserve original scatterlist offsets
    95f0958240e6 locking/lockdep: Decrease nr_unused_locks if lock unused in zap_class()
    008b90d36d91 mailbox: tegra-hsp: Define dimensioning masks in SoC data
    7b47df6498f2 mfd: ene-kb3930: Fix a potential NULL pointer dereference
    4b037851edd7 leds: rgb: leds-qcom-lpg: Fix calculation of best period Hi-Res PWMs
    5ae9e361e284 leds: rgb: leds-qcom-lpg: Fix pwm resolution max for Hi-Res PWMs
    e94314b72768 kbuild: exclude .rodata.(cst|str)* when building ranges
    9eaec071f111 jbd2: remove wrong sb->s_sequence check
    e6bba328578f i3c: Add NULL pointer check in i3c_master_queue_ibi()
    34aaf448e204 i3c: master: svc: Use readsb helper for reading MDB
    0327683c5571 ima: limit the number of ToMToU integrity violations
    48085ab823f0 ima: limit the number of open-writers integrity violations
    9a264e4a595d smb311 client: fix missing tcon check when mounting with linux/posix extensions
    44a2572a0fdc soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
    fbda9cac1bb3 svcrdma: do not unregister device for listeners
    f3cb81cb96d5 tpm: do not start chip while suspended
    76cc21a9a40f udf: Fix inode_getblk() return value
    8fd217a99dbb vdpa/mlx5: Fix oversized null mkey longer than 32bit
    a1dde7457d57 f2fs: fix to avoid atomicity corruption of atomic file
    16d9067f00e3 ext4: fix off-by-one error in do_split
    a77955f7704b bus: mhi: host: Fix race between unprepare and queue_buf
    7d12a7d43c7b accel/ivpu: Fix deadlock in ivpu_ms_cleanup()
    5c200b7ebdf9 accel/ivpu: Fix warning in ivpu_ipc_send_receive_internal()
    7022946773d7 ALSA: hda/realtek: Enable Mute LED on HP OMEN 16 Laptop xd000xx
    d2a2076d9cb7 ASoC: qdsp6: q6asm-dai: fix q6asm_dai_compr_set_params error path
    17f1e4213113 ASoC: qdsp6: q6apm-dai: fix capture pipeline overruns.
    aa7e9eabe68c ASoC: qdsp6: q6apm-dai: set 10 ms period and buffer alignment.
    a28217b064f8 ASoC: q6apm-dai: make use of q6apm_get_hw_pointer
    f5891f204d13 ASoC: q6apm-dai: schedule all available frames to avoid dsp under-runs
    d383051f8293 ASoC: q6apm: add q6apm_get_hw_pointer helper
    acadb2e2b3c5 ASoC: codecs: wcd937x: fix a potential memory leak in wcd937x_soc_codec_probe()
    3e0356857ed5 io_uring/kbuf: reject zero sized provided buffers
    b7c6d081c19a io_uring/net: fix io_req_post_cqe abuse by send bundle
    0828d6e9add6 io_uring/net: fix accept multishot handling
    00026f80c430 wifi: mt76: mt7925: fix the wrong simultaneous cap for MLO
    374f2bf7b3ff wifi: mt76: mt7925: fix the wrong link_idx when a p2p_device is present
    0dd6c62c1370 wifi: mt76: mt7925: fix country count limitation for CLC
    1706a07b38ae wifi: mt76: mt7925: ensure wow pattern command align fw format
    eb434adf79dd wifi: mac80211: fix integer overflow in hwmp_route_info_get()
    ef44c9e81172 wifi: mt76: Add check for devm_kstrdup()
    9d6b789a8ff9 clocksource/drivers/stm32-lptimer: Use wakeup capable instead of init wakeup
    9d99358349e4 mtd: Replace kcalloc() with devm_kcalloc()
    2b27df685244 net: dsa: mv88e6xxx: fix internal PHYs for 6320 family
    020404265b87 net: dsa: mv88e6xxx: workaround RGMII transmit delay erratum for 6320 family
    39fc12742292 mtd: Add check for devm_kcalloc()
    91e1405088a9 mptcp: sockopt: fix getting freebind & transparent
    1b4ecd033e30 mptcp: sockopt: fix getting IPV6_V6ONLY
    c59dc7c425cc media: chips-media: wave5: Fix timeout while testing 10bit hevc fluster
    d595713de7f8 media: chips-media: wave5: Fix a hang after seeking
    76cab9f540cc media: chips-media: wave5: Avoid race condition in the interrupt handler
    7fafaf00cc5f media: chips-media: wave5: Fix gray color on screen
    6f77a6d2ea31 media: i2c: imx214: Rectify probe error handling related to runtime PM
    8dd2d1561c6a media: i2c: imx219: Rectify runtime PM handling in probe and remove
    99f929914713 media: i2c: imx319: Rectify runtime PM handling probe and remove
    bb3fd8b7906a media: venus: hfi_parser: refactor hfi packet parsing logic
    53e376178cea media: venus: hfi_parser: add check to avoid out of bound access
    3da0d7318730 media: nuvoton: Fix reference handling of ece_pdev
    4b1bdaadbf19 media: nuvoton: Fix reference handling of ece_node
    e22fa60bcd85 media: i2c: ov7251: Introduce 1 ms delay between regulators and en GPIO
    b155aecd7f0f media: i2c: ov7251: Set enable GPIO low in probe
    ad466aacb17f media: i2c: ccs: Set the device's runtime PM status correctly in probe
    983b5434a66b media: i2c: ccs: Set the device's runtime PM status correctly in remove
    3ff4feef7af3 Revert "media: imx214: Fix the error handling in imx214_probe()"
    baea1762cdf2 media: v4l2-dv-timings: prevent possible overflow in v4l2_detect_gtf()
    b933486f6b80 media: imx219: Adjust PLL settings based on the number of MIPI lanes
    dd0d323b472f media: platform: stm32: Add check for clk_enable()
    3f1f712f80db media: visl: Fix ERANGE error when setting enum controls
    f67c3f84520b media: hi556: Fix memory leak (on error) in hi556_check_hwcfg()
    df6ef66cc3ff media: streamzap: prevent processing IR data on URB failure
    afada73000be accel/ivpu: Fix PM related deadlocks in MS IOCTLs
    4c8056fbb17d tpm, tpm_tis: Fix timeout handling when waiting for TPM status
    7266066b9469 mtd: rawnand: brcmnand: fix PM resume warning
    33607e924023 spi: cadence-qspi: Fix probe on AM62A LP SK
    c32278961340 KVM: arm64: Tear down vGIC on failed vCPU creation
    20c105f58769 arm64: errata: Add KRYO 2XX/3XX/4XX silver cores to Spectre BHB safe list
    3b0f2526c87e arm64: errata: Assume that unknown CPUs _are_ vulnerable to Spectre BHB
    4af285843525 arm64: errata: Add QCOM_KRYO_4XX_GOLD to the spectre_bhb_k24_list
    2ff58c5b260f arm64: cputype: Add MIDR_CORTEX_A76AE
    7e619d4d2715 xenfs/xensyms: respect hypervisor's "next" indication
    88962f197876 media: rockchip: rga: fix rga offset lookup
    ceb23f66ef8f media: siano: Fix error handling in smsdvb_module_init()
    7631d176086c media: vim2m: print device name after registering device
    679424f8b314 media: venus: hfi: add check to handle incorrect queue size
    530f623f56a6 media: venus: hfi: add a check to handle OOB in sfr region
    72629a582db7 media: intel/ipu6: set the dev_parent of video device to pdev
    f598940803cd media: mgb4: Fix switched CMT frequency range "magic values" sets
    66e35600f726 media: i2c: adv748x: Fix test pattern selection mask
    1c673fa8889e media: mgb4: Fix CMT registers update logic
    ced0ddecc04b media: uapi: rkisp1-config: Fix typo in extensible params example
    8c64a2cfdbb8 media: mtk-vcodec: venc: avoid -Wenum-compare-conditional warning
    9f009fa823c5 media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
    956c5e4965d5 dt-bindings: media: st,stmipid02: correct lane-polarities maxItems
    a9a73da6e014 auxdisplay: hd44780: Fix an API misuse in hd44780.c
    bdbc38bd12eb HID: pidff: Fix set_device_control()
    1565ead12f5c HID: pidff: Fix 90 degrees direction name North -> East
    5318556ed31f HID: pidff: Compute INFINITE value instead of using hardcoded 0xffff
    b15301f28960 HID: pidff: Clamp effect playback LOOP_COUNT value
    42ec3b5bf7e6 HID: pidff: Rename two functions to align them with naming convention
    b782892cd264 HID: pidff: Remove redundant call to pidff_find_special_keys
    239c8ac58cfc HID: pidff: Support device error response from PID_BLOCK_LOAD
    2d698115f9b3 HID: pidff: Comment and code style update
    35ebc643aff9 HID: hid-universal-pidff: Add Asetek wheelbases support
    211861869766 HID: pidff: Make sure to fetch pool before checking SIMULTANEOUS_MAX
    13d15dd6175e HID: pidff: Factor out pool report fetch and remove excess declaration
    6fbf2ac6d5b6 HID: pidff: Use macros instead of hardcoded min/max values for shorts
    87783d301e98 HID: pidff: Simplify pidff_rescale_signed
    61e4de1728ac HID: pidff: Move all hid-pidff definitions to a dedicated header
    8f0b2d791e0f HID: pidff: Factor out code for setting gain
    5243ca2a5c67 HID: pidff: Rescale time values to match field units
    7009a060ffef HID: pidff: Define values used in pidff_find_special_fields
    9cdd95f9a4f3 HID: pidff: Simplify pidff_upload_effect function
    433c4234ff73 HID: pidff: Completely rework and fix pidff_reset function
    2b1e13ed295a HID: pidff: Stop all effects before enabling actuators
    629405d18543 HID: pidff: Clamp PERIODIC effect period to device's logical range
    43e5e2879dee s390/pci: Fix s390_mmio_read/write syscall page fault handling
    dd3edffae868 ext4: don't treat fhandle lookup of ea_inode as FS corruption
    806908d5d978 bpf: support SKF_NET_OFF and SKF_LL_OFF on skb frags
    7b9bdd705911 erofs: set error to bio if file-backed IO fails
    61f590c6771b pwm: fsl-ftm: Handle clk_get_rate() returning 0
    a2786a82de0c pwm: rcar: Improve register calculation
    4cb15042b5f3 pwm: mediatek: Prevent divide-by-zero in pwm_mediatek_config()
    2bef78f9622d tpm: End any active auth session before shutdown
    01c2ed3f7dce tpm, tpm_tis: Workaround failed command reception on Infineon devices
    a4e3c80cecbe ktest: Fix Test Failures Due to Missing LOG_FILE Directories
    9a6be23eb0ff tracing: probe-events: Add comments about entry data storing code
    52eafaa56f8f fbdev: omapfb: Add 'plane' value check
    fb4c507bf24a drm/amdgpu: grab an additional reference on the gang fence v2
    5c3cfcf0b4bf PCI: vmd: Make vmd_dev::cfg_lock a raw_spinlock_t type
    73d2b9625031 PCI: Check BAR index for validity
    e64be12f8401 drm/amdgpu: Fix the race condition for draining retry fault
    8feefd106afb PCI: Enable Configuration RRS SV early
    dc4380f34613 drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create()
    7a872981c69d PCI: Add Rockchip Vendor ID
    6e415cb823b1 drm/mediatek: mtk_dpi: Explicitly manage TVD clock in power on/off
    39a7576d113c drm/mediatek: mtk_dpi: Move the input_2p_en bit to platform data
    831c4017f4ab drm/xe/xelp: Move Wa_16011163337 from tunings to workarounds
    1a322b330dc0 drm/amdkfd: debugfs hang_hws skip GPU with MES
    10ce36501f1e drm/amdkfd: Fix pqm_destroy_queue race with GPU reset
    ffd37d7d44d7 drm/amdkfd: Fix mode1 reset crash issue
    96757c085bd9 drm/amdkfd: clamp queue size to minimum
    1c38108a49aa drivers: base: devres: Allow to release group on device release
    c9323cbc94d5 drm/amd/display: stop DML2 from removing pipes based on planes
    b22cb42a5ee1 drm/bridge: panel: forbid initializing a panel with unknown connector type
    f04612890c56 drm/debugfs: fix printk format for bridge index
    ba5a998f84cd drm: panel-orientation-quirks: Add quirk for OneXPlayer Mini (Intel)
    a64e0974266e drm: panel-orientation-quirks: Add new quirk for GPD Win 2
    5dd6fdb88953 drm: panel-orientation-quirks: Add quirk for AYA NEO Slide
    6fe4ed94ee82 drm: panel-orientation-quirks: Add quirks for AYA NEO Flip DS and KB
    df33b535f0de drm: panel-orientation-quirks: Add support for AYANEO 2S
    357ba4ed6980 drm/amdgpu: Unlocked unmap only clear page table leaves
    c15a9c84494c drm/amd/display: Update Cursor request mode to the beginning prefetch always
    2eec2fa8666d drm/xe/vf: Don't try to trigger a full GT reset if VF
    4a5f14246bc4 drm/xe/bmg: Add new PCI IDs
    044c1b352841 drm: allow encoder mode_set even when connectors change for crtc
    09246dfb5c87 Bluetooth: Add quirk for broken READ_PAGE_SCAN_TYPE
    035e1bffc063 Bluetooth: Add quirk for broken READ_VOICE_SETTING
    feed98579d40 Bluetooth: qca: simplify WCN399x NVM loading
    fe6f1f349d6e Bluetooth: hci_qca: use the power sequencer for wcn6750
    a4d49212e316 Bluetooth: btusb: Add 2 HWIDs for MT7922
    6b7a32fa9bac Bluetooth: hci_uart: fix race during initialization
    082ae971a1db Bluetooth: btintel_pcie: Add device id of Whale Peak
    40c70ff44b70 tracing: fix return value in __ftrace_event_enable_disable for TRACE_REG_UNREGISTER
    299d7d27af6b net: vlan: don't propagate flags on open
    fe51630ba2ba wifi: mt76: mt76x2u: add TP-Link TL-WDN6200 ID to device table
    bf089c4d1141 btrfs: harden block_group::bg_list against list_del() races
    0519ba030c3e ahci: Marvell 88SE9215 controllers prefer DMA for ATAPI
    7fe3b4deed8b scsi: st: Fix array overflow in st_setup()
    a8a8076210c2 cdc_ether|r8152: ThinkPad Hybrid USB-C/A Dock quirk
    eb59cc31b6ea ext4: ignore xattrs past end
    aa39d45071ec Revert "f2fs: rebuild nat_bits during umount"
    5f815757e6de ext4: protect ext4_release_dquot against freezing
    202ba2f483cd ahci: add PCI ID for Marvell 88SE9215 SATA Controller
    163e8c1083b4 net: sfp: add quirk for FS SFP-10GM-T copper SFP+ module
    ecc461331604 f2fs: fix to avoid out-of-bounds access in f2fs_truncate_inode_blocks()
    3abe15e75648 wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi
    1833e1650059 net: sfp: add quirk for 2.5G OEM BX SFP
    04c0c555049f ata: libata-eh: Do not use ATAPI DMA for a device limited to PIO mode
    ccd97c8a4f90 jfs: add sanity check for agwidth in dbMount
    aeb926e605f9 jfs: Prevent copying of nlink with value 0 from disk inode
    c802a6a4009f fs/jfs: Prevent integer overflow in AG size calculation
    319877db0aa9 fs/jfs: cast inactags to s64 to prevent potential overflow
    63148ce4904f jfs: Fix uninit-value access of imap allocated in the diMount() function
    8e7bb6636082 can: flexcan: add NXP S32G2/S32G3 SoC support
    fba5f41f1536 can: flexcan: Add quirk to handle separate interrupt lines for mailboxes
    7204335d1991 page_pool: avoid infinite loop to schedule delayed worker
    de94d0ca9ea5 net: usb: asix_devices: add FiberGecko DeviceID
    93a562eedcd5 scsi: target: spc: Fix RSOC parameter data header size
    4ae2c7c7d369 wifi: mac80211: ensure sdata->work is canceled before initialized.
    cca16fbd17b0 wifi: mac80211: add strict mode disabling workarounds
    c6e50cb8bf57 f2fs: don't retry IO for corrupted data scenario
    a6bf0fd322ab net: page_pool: don't cast mp param to devmem
    65ba18c84dbd scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
    6a35449df867 scsi: mpi3mr: Avoid reply queue full condition
    b1e0b4f494c5 ata: libata-core: Add 'external' to the libata.force kernel parameter
    535b666118f6 wifi: ath12k: Fix invalid entry fetch in ath12k_dp_mon_srng_process
    3cb47b50926a wifi: ath12k: fix memory leak in ath12k_pci_remove()
    a3981850f14e wifi: ath11k: fix memory leak in ath11k_xxx_remove()
    b92c5179db4b wifi: ath11k: Fix DMA buffer allocation to resolve SWIOTLB issues
    90a5892d8531 platform/x86: x86-android-tablets: Add select POWER_SUPPLY to Kconfig
    7f04c9e8fffe ASoC: amd: yc: update quirk data for new Lenovo model
    3a03a7f0f872 ASoC: amd: Add DMI quirk for ACP6X mic support
    cb1c6cb11056 ALSA: usb-audio: Fix CME quirk for UF series keyboards
    fe74885e3609 mmc: dw_mmc: add a quirk for accessing 64-bit FIFOs in two halves
    6d32a30fa1b5 media: s5p-mfc: Corrected NV12M/NV21M plane-sizes
    3c057a49045f media: uvcvideo: Add quirk for Actions UVC05
    d4fcd06e1231 ASoC: fsl_audmix: register card device depends on 'dais' property
    d981c3d2980a ALSA: hda: intel: Add Lenovo IdeaPad Z570 to probe denylist
    97ae1d5080f7 ALSA: hda: intel: Fix Optimus when GPU has no sound
    25490b45d17c ASoC: amd: ps: use macro for ACP6.3 pci revision id
    f8f4d77710e1 HID: pidff: Fix null pointer dereference in pidff_find_fields
    0301b85fe6f9 HID: pidff: Add PERIODIC_SINE_ONLY quirk
    f45f26a6b3e7 HID: Add hid-universal-pidff driver and supported device ids
    116d4f67aeb5 HID: pidff: Add FIX_WHEEL_DIRECTION quirk
    ed806fd80eba HID: pidff: Add hid_pidff_init_with_quirks and export as GPL symbol
    6a20fae104ef HID: pidff: Add PERMISSIVE_CONTROL quirk
    fd608e2a06c2 HID: pidff: Add MISSING_PBO quirk and its detection
    fab3dbb604be HID: pidff: Add MISSING_DELAY quirk and its detection
    d21ccf544ca1 HID: pidff: Do not send effect envelope if it's empty
    1c0785f16472 HID: pidff: Convert infinite length from Linux API to PID standard
    5330ce1ee2be ASoC: SOF: topology: Use krealloc_array() to replace krealloc()
    377b041c22ac platform/chrome: cros_ec_lpc: Match on Framework ACPI device
    97f68e7287e0 zstd: Increase DYNAMIC_BMI2 GCC version cutoff from 4.8 to 11.0 to work around compiler segfault
    8d0f280e7aec xen/mcelog: Add __nonstring annotations for unterminated strings
    cb58e909203e arm64: cputype: Add QCOM_CPU_PART_KRYO_3XX_GOLD
    ead1fc9f93e2 Flush console log from kernel_power_off()
    11ae4fec1f4b PM: hibernate: Avoid deadlock in hibernate_compressor_param_set()
    89a4db7a67e7 perf/dwc_pcie: fix some unreleased resources
    1b3ebfb15dc0 perf: arm_pmu: Don't disable counter in armpmu_add()
    f48625eeeb29 x86/cpu: Don't clear X86_FEATURE_LAHF_LM flag in init_amd_k8() on AMD when running in a virtual machine
    48e705652db9 x86/ia32: Leave NULL selector values 0~3 unchanged
    640bb2252158 x86/percpu: Disable named address spaces for UBSAN_BOOL with KASAN for GCC < 14.2
    837f5cb7be9a x86/mm: Clear _PAGE_DIRTY for kernel mappings when we clear _PAGE_RW
    f8d28fa305b7 pm: cpupower: bench: Prevent NULL dereference on malloc failure
    67e85cfa951c umount: Allow superblock owners to force umount
    52535688c27f fs: consistently deref the files table with rcu_dereference_raw()
    fa1827fa968c perf: Fix hang while freeing sigtrap event
    7ef5aa081f98 perf/core: Simplify the perf_event_alloc() error path
    c61feda37350 perf/core: Add aux_pause, aux_resume, aux_start_paused
    a0842539e8ef iommu/mediatek: Fix NULL pointer deference in mtk_iommu_device_group
    5efd53900acc iommu/exynos: Fix suspend/resume with IDENTITY domain
    7640c2abb647 nft_set_pipapo: fix incorrect avx2 match of 5th field octet
    b4c836d33ca8 net: ppp: Add bound checking for skb data on ppp_sync_txmung
    cc16f7402a91 ipv6: Align behavior across nexthops during path selection
    a6ed6f8ec81b net: phy: allow MDIO bus PM ops to start/stop state machine for phylink-controlled PHY
    6d98cd63426e net: phy: move phy_link_change() prior to mdio_bus_phy_may_suspend()
    aa5a1e4b8829 smb: client: fix UAF in decryption with multichannel
    f86293adce0c net_sched: sch_sfq: move the limit validation
    70449ca40609 net_sched: sch_sfq: use a temporary work area for validating configuration
    ec12da4bcc44 nvmet-fcloop: swap list_add_tail arguments
    c5a906806162 drm/i915/huc: Fix fence not released on early probe errors
    0ae84adbc9cc ata: sata_sx4: Add error handling in pdc20621_i2c_read()
    ad81d666e114 net: libwx: handle page_pool_dev_alloc_pages error
    c81306c9d6d9 drm/tests: probe-helper: Fix drm_display_mode memory leak
    80f4dc6e1f5b drm/tests: modes: Fix drm_display_mode memory leak
    c7a0a32e6cf7 drm/tests: cmdline: Fix drm_display_mode memory leak
    f951d643bc26 drm/tests: helpers: Create kunit helper to destroy a drm_display_mode
    71dd750a0834 drm/tests: modeset: Fix drm_display_mode memory leak
    a065b9960526 net: ethtool: Don't call .cleanup_data when prepare_data fails
    b2f3c3d57a83 tc: Ensure we have enough buffer space when sending filter netlink notifications
    f0bb06b9f1d0 octeontx2-pf: qos: fix VF root node parent queue index
    9fcbca0f8015 net: tls: explicitly disallow disconnect
    4d55144b12e7 codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
    7c5957f7905b tipc: fix memory leak in tipc_link_xmit
    1b7685256db2 objtool: Fix INSN_CONTEXT_SWITCH handling in validate_unret()
    ee2b0301d6bf ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
    9e0bdc15579e drm/xe/hw_engine: define sysfs_ops on all directories
    857e9432dab9 x86/acpi: Don't limit CPUs to 1 for Xen PV guests due to disabled ACPI
    9ddc7edc558a drm/i915: Disable RPG during live selftest
    caa5c8a23586 ublk: fix handling recovery & reissue in ublk_abort_queue()
    cb8372e54fdb ublk: refactor recovery configuration flag helpers
    206d0df7b6a5 selftests/futex: futex_waitv wouldblock test should fail
    179ef2f8109e gpiolib: of: Fix the choice for Ingenic NAND quirk
    cdb6e724e7c5 cgroup/cpuset: Fix race between newly created partition and dying one
    1b06f00edaaa cgroup/cpuset: Further optimize code if CONFIG_CPUSETS_V1 not set
    6b145f8b2201 cgroup/cpuset: Enforce at most one rebuild_sched_domains_locked() call per operation
    2dbd1b166034 cgroup/cpuset: Revert "Allow suppression of sched domain rebuild in update_cpumasks_hier()"
    9701dcbf5fce cgroup/cpuset: Fix error handling in remote_partition_disable()
    40bc55e4fcbd cgroup/cpuset: Fix incorrect isolated_cpus update in update_parent_effective_cpumask()
    b980b832318c ASoC: Intel: adl: add 2xrt1316 audio configuration
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: f96ac747ac427605c2550db280be1a7d569f103e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Bruce Ashfield
f9690132e0 linux-yocto-dev: update to v6.15
Bumping our development version to 6.15.

Note: preempt-rt is still TODO

(From OE-Core rev: a25ef88510ee7de8cb25bfbb569f874fec293402)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Bruce Ashfield
fbb8798743 kernel-yocto: allow annotated options to be modified
Bumping the kern-tools SRCREV to pickup the following commits:

    tools: allow fixups to conditionally change options

    Sometimes we have options that should either be =y or =m depending
    on the use case.

    Rather than force the options into multiple parallel and very similar
    fragments (which is error prone and labour intensive), we can allow
    an annotation in the configuration fragment that allows the default
    value to be overriden by a variable.

    The variable in question comes from a -D<var>=<value> on the scc
    or spp command line. If the define evaluates to a non-zero value
    a fixup is created that will modify the value when scc finishes
    gathering meta-data.

    An example of a notation would be:

      CONFIG_INET_TUNNEL=y # OVERRIDE:$MODULE_OR_Y

    CONFIG_INET_TUNNEL will be =y when standard tools (like merge-config)
    are used. But when scc/spp see this notation, they check the value
    of the variable MODULE_OR_Y, if that variable evalutes to a non-zero
    value, a fixup is created that will change CONFIG_INET_TUNNEL to
    that value before the kernel is configured.

To use the annotations, scc needs to be passed a value that is used
in the override expression. This has always been possible with defines
(-Dx=y), so we leverage that to control these conditional overrides.

In kernel-yocto, we now have a variable: KMETA_CONFIG_FEATURES

  KMETA_CONFIG_FEATURES ?= ""

Which defaults to empty, the only feature that is currently
implemented is "prefer-modules". When prefer-modules is detected
in the kmeta config features, the following define is passed to
scc:

   -DMODULE_OR_Y=m

Which as you can see from the above INET_TUNNEL example, will
evaluate to "m" and will override the default of "y".

(From OE-Core rev: 4eb24e85e815cee0e310e98ce4384d4cdeeba69f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 23:16:54 +01:00
Philip Lorenz
a7331c3992 bitbake: tests/fetch: Test gitsm with LFS
Add a test case to verify that the gitsm fetcher properly handles
repositories storing objects with LFS.

The test case verifies that LFS objects are fetched on the initial clone
but also ensures that consecutive updates extend the original clone with
any newly referenced LFS objects.

(Bitbake rev: 2a8722ddd155596862029f6ea34e1e92c77e0b7f)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 11:37:32 +01:00
Philip Lorenz
3eeac69385 bitbake: fetch2: Fix LFS object checkout in submodules
Skipping smudging prevents the LFS objects from replacing their
placeholder files when `git submodule update` actually checks out the
target revision in the submodule. Smudging cannot happen earlier as the
clone stored in `.git/modules` is bare.

This should be fine as long as all LFS objects are available in the
download cache (which they are after the other fixes are applied).

(Bitbake rev: d270e33a07c50bb9c08861cf9a6dc51e1fd2d874)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 11:37:32 +01:00
Philip Lorenz
eb6d89e9e6 bitbake: fetch2: Fix incorrect lfs parametrization for submodules
The existing code would pass `True` or `False` to the git fetcher. As
the fetcher expects `lfs` to be set to `1` this always lead to LFS
fetching being disabled.

(Bitbake rev: 5e487a5a096400271ed1e29b0df72903f2304e49)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 11:37:32 +01:00
Philip Lorenz
9962d198c8 bitbake: fetch2: Use git-lfs fetch to download objects
Its not clear which exact git-lfs versions failed to work with bare
repositories, however git-lfs 2.13.2 which is shipped by Debian 10 (i.e.
the oldest supported distribution by scarthgap) shows no issue when
fetching into a bare repository. Switch to git-lfs fetch which in turn
eliminates issues seen when using the gitsm fetcher with submodules
utilizing lfs.

In these scenarios, fetching of LFS objects did not actually happen as
the gitsm fetcher parametrizes the to be fetched repositories with
`bareclone=1` which in turn means that the target revision was never
checked out (and therefore no LFS objects were fetched).

(Bitbake rev: 501d3317df5780a5b0e3c2562b26ed276c1dbe90)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 11:37:32 +01:00
Philip Lorenz
74945e4678 bitbake: fetch2: Simplify git LFS detection
Its unclear why this function does not operate on the desired source
revision to begin with (which really should be the decider on whether a
particular source revision uses LFS or not). Simplify the decision logic
by always checking the `.gitattributes` file of the target revision.

(Bitbake rev: b3faa0ce5c0a6945f26b5b303a7f38c00d132397)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 11:37:32 +01:00
Philip Lorenz
7642477dc8 bitbake: fetch2: Check for git-lfs existence before using it
So far, existence of `git-lfs` was only checked during unpacking. As the
binary is also used in earlier steps also check for its existence there.

Additionally, factor out the LFS existence check into a dedicated
function and call it wherever git-lfs is used for the first time.

(Bitbake rev: 5818367db9b261b7e07c347d38044e6cba8f9727)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 11:37:32 +01:00
Khem Raj
6d0cb00c68 compiler-rt: Always use clang for compiler
This makes it build for all architectures e.g. riscv/mips/ppc etc.

Using clang-native to build all variants of recipe makes it easier to
handle compiling with various distros choosing different runtimes

(From OE-Core rev: 4df1f0da627e0985312ae4a330e7f0800c0c87a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:19 +01:00
Alon Bar-Lev
483c6067eb module.bbclass: add KBUILD_EXTRA_SYMBOLS to install
Symbols are used during install as well, adding KBUILD_EXTRA_SYMBOLS enables
successful installation.

    | DEBUG: Executing shell function do_install
    | NOTE: make -j 22 KERNEL_SRC=xxx/kernel-source -C xxx/drivers
    KDIR=xxx/kernel-source DEPMOD=echo
    MODLIB=xxx/image/lib/modules/6.6.75-yocto-standard-00189-g530c419bc9db
    INSTALL_FW_PATH=xxx/image/lib/firmware CC=aarch64-poky-linux-gcc
    -fuse-ld=bfd -fcanon-prefix-map  LD=aarch64-poky-linux-ld.bfd
    OBJCOPY=aarch64-poky-linux-objcopy  STRIP=aarch64-poky-linux-strip
    O=xxx/kernel-build-artifacts modules_install
    | make: Entering directory 'xxx/drivers'
    | make -C xxx/kernel-source M=xxx/drivers modules
    | make[1]: Entering directory 'xxx/kernel-source'
    | make[2]: Entering directory 'xxx/kernel-build-artifacts'
    |   MODPOST xxx/drivers/Module.symvers
    | ERROR: modpost: "xxx" [xxx/xxx.ko] undefined!

(From OE-Core rev: 0ef80eeda967a9e04ff91c3583aabbc35c9868e8)

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:19 +01:00
Deepesh Varatharajan
3d1fd63974 glibc: stable 2.41 branch update
Below commits on glibc-2.41 stable branch are updated.
5cb575ca9a elf: tst-audit10: split AVX512F code into dedicated functions [BZ #32882]
046b33800c x86: Detect Intel Diamond Rapids
a53e764657 x86: Handle unknown Intel processor with default tuning
aca31d2712 x86: Add ARL/PTL/CWF model detection support
f68b407d4b x86: Optimize xstate size calculation
d6d56af6e7 elf: Fix arm-linux-gnueabihf build break from b861755a84
b861755a84 elf: Extend glibc.rtld.execstack tunable to force executable stack (BZ 32653)
200d20123c x86: Link tst-gnu2-tls2-x86-noxsave{,c,xsavec} with libpthread
80cd656649 x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810)
a282e2c0ae x86: Skip XSAVE state size reset if ISA level requires XSAVE
bcd4cf9d5f x86_64: Add atanh with FMA
7e72fa7577 x86_64: Add sinh with FMA
6a3a4a5e58 x86_64: Add tanh with FMA
ce9b765522 nptl: Check if thread is already terminated in sigcancel_handler (BZ 32782)
98c712855d nptl: PTHREAD_COND_INITIALIZER compatibility with pre-2.41 versions (bug 32786)
e22c132484 nptl: clear the whole rseq area before registration
33bfd9020f Linux: Remove attribute access from sched_getattr (bug 32781)
66fc3bd758 math: Remove an extra semicolon in math function declarations
1a3083b999 posix: Move environ helper variables next to environ definition (bug 32541)
91f8cff2c4 configure: Fix spelling of -Wl,--no-error-execstack option
fd202462c5 elf: Check if __attribute__ ((aligned (65536))) is supported
746ef8e939 static-pie: Skip the empty PT_LOAD segment at offset 0 [BZ #32763]
56609f8df1 Pass -Wl,--no-error-execstack for tests where -Wl,-z,execstack is used [PR32717]
89be78704e AArch64: Use prefer_sve_ifuncs for SVE memset
c47c3890f1 AArch64: Add SVE memset
e0bc5f64ea math: Improve layout of exp/exp10 data
009c5a2dca aarch64: Add GCS test with signal handler
8d98ee8d70 aarch64: Add GCS tests for dlopen
61ba3cdfa9 aarch64: Add GCS tests for transitive dependencies
fda5730898 aarch64: Add tests for Guarded Control Stack
6d1f97bb06 aarch64: Add configure checks for GCS support
7774a9d07a AArch64: Improve codegen for SVE powf
2025e27a81 AArch64: Improve codegen for SVE pow
f3d9c116cb AArch64: Improve codegen for SVE erfcf
94859e8680 Aarch64: Improve codegen in SVE exp and users, and update expf_inline
7c9a086807 Aarch64: Improve codegen in SVE asinh
30992cb5e9 RISC-V: Fix IFUNC resolver cannot access gp pointer
07288c7445 math: Add optimization barrier to ensure a1 + u.d is not reused [BZ #30664]
2cb04444b9 math: Fix `unknown type name '__float128'` for clang 3.4 to 3.8.1 (bug 32694)
a900dbaf70 x86 (__HAVE_FLOAT128): Defined to 0 for Intel SYCL compiler [BZ #32723]
1e0e33e1b1 Fix tst-aarch64-pkey to handle ENOSPC as not supported
69fda28279 assert: Add test for CVE-2025-0395
cf88351b68 math: Fix tanf for some inputs (BZ 32630)
cb7f206537 nptl: Correct stack size attribute when stack grows up [BZ #32574]
d85a771953 math: Fix sinhf for some inputs (BZ 32627)
bdccbfbc52 math: Fix log10p1f internal table value (BZ 32626)

Testresults:
Before update	|After update	 |Difference
PASS:  5816	|PASS:  5826	 |PASS: +10
FAIL:  239	|FAIL:  239	 |FAIL:  0
XPASS: 4	|XPASS: 4	 |XPASS: 0
XFAIL: 16	|XFAIL: 16	 |XFAIL: 0
UNSUPPORTED: 164|UNSUPPORTED: 164|UNSUPPORTED: 0

(From OE-Core rev: 3151f2469b9997c2e3d689dcee14fedd137ea44b)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:19 +01:00
Changqing Li
58785be56a send-error-report: make output align with original design when debug disabled
First, it is better to output the error report web link by default when
the report is uploaded successfully like before. This is useful, user
can find the detail the log info from the return link. Yocto Autobuilder
also benifit from this return link.

Second, why don't set level to logging.INFO to make the error report web
link outputed? Because "-j" option want to "Return the result in json
format, silences all other output", So "INFO:" added by logging system
is not wanted, so use print directly.

Example output:
Without "-j":
Preparing to send errors to: http://x.x.x.x:8000
Your entry can be found here: http://x.x.x.x:8000/Errors/Build/25/

With "-j":
{"build_id": 27, "build_url": "http://x.x.x.x:8000/Errors/Build/27/", "failures": [{"id": 26, "url": "http://x.x.x.x:8000/Errors/Details/26/"}], "num_similar_errors": 20, "similar_errors_url": "http://x.x.x.x:8000/Errors/SimilarTo/26/"}

(From OE-Core rev: c45aca4592544d867f49055426e68dd338d4adcc)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:19 +01:00
Etienne Cordonnier
e83be014df coreutils: remove outdated comment
The comment about hostname not being included in base_bindir_progs is wrong after https://git.yoctoproject.org/poky/commit/?id=b9bf37ec6792f82753fe265fdcfc19db7dd51ab6 ,
so remove it to avoid confusion.

Also improve comment about bindir_progs.

(From OE-Core rev: f8c439cabb920eac002407b48b1aebc82b7027c0)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:19 +01:00
Khem Raj
b09456cf94 musl: Enable riscv32
Musl recipe points to recent tip of trunk (1.2.5+) where we now have riscv32
port merged [1], Enable riscv32 as supported arch for musl systems.

[1] https://git.musl-libc.org/cgit/musl/commit/?id=377c363fb5519a224682692004ecd3703c19df93

(From OE-Core rev: 25e65df559de06bb056d19f8acfcd1b8b63b81ca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:19 +01:00
Khem Raj
3178146a82 arch-mips.inc: Use -EB/-EL for denoting endianness
While -meb/-mel works it is not documented as supported and using -EL/-EB
also makes clang work without tweaking TUNE_CCARGS

Fixes
 mips-poky-linux-musl-clang: error: unknown argument: '-meb'

(From OE-Core rev: 3d4bbd917613968ef0a7059ec11cf236b290c43c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Khem Raj
afc01fd5d8 compiler-rt-sanitizers: Omit the musl architecture restrictions
sanitizers are working fine on arm/aarch64 as well. Remove the
compatible host restriction

(From OE-Core rev: 3ebe53ddc99643f96a87e751766f02f0b2203a07)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Khem Raj
edcd52ed54 mesa: Do not use envvar BINDGEN_EXTRA_CLANG_ARGS
Its now set in meson bbclass for native, nativesdk and target recipes
correctly.

(From OE-Core rev: 4e0bf4e1abab97ac149a7483742d466e9f07ddd4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Dmitry Baryshkov
d7f705d412 meson: correct bindgen_clang_argments
Follow the changes in Clang search paths and specify sysroot via the
TOOLCHAIN_OPTIONS, otherwise clang will fail to find system headers when
executed by bindgen.

For SDK packages TOOLCHAIN_OPTIONS don't contain full sysroot path, so
specify the correct directory explicitly.

(From OE-Core rev: a647a0ff4c4eb7a7c1f6ec84a574f7d7796b6178)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Dmitry Baryshkov
251fd55c27 clang: split SPIRV-LLVM-Translator to its own recipe
The translator is not a part of the same source tree. As such it has
tendency to break on clang upgrades. Split it to its own recipe in order
to ease handling of clang.

This also makes it use SPIR-V headers provided by the spirv-headers
recipe instead of vendoring them in.

(From OE-Core rev: 4178fe97371bce0bd63b19f57b872ccefd1ec45c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Peter Marko
3d7381f5b5 vex: fix rootfs manifest
Rootfs VEX file is created by gathering files from CVE_CHECK_DIR
(deploy directory), however recipes generate the files only in
CVE_CHECK_DIR (log directory).
This make the rootfs VEX be always empty without any message.

The code is copied from cve_check class, which writes to both, so let
keep them aligned and make also vex write both files.

Also add a warning for case that a cve file would be still missing.

(From OE-Core rev: ee6541d0940c65685aaafd7d41a59a9406392e7d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Dario Binacchi
1abcc7fe52 mmc-utils: upgrade to latest revision
(From OE-Core rev: 30f0177e74dace0e9a4305d8aa077cbdbc9d786f)

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Hongxu Jia
2207150bc7 spdx30: Provide software_packageUrl field in SPDX 3.0 SBOM
Define var-SPDX_PACKAGE_URL to provide software_packageUrl field [1][2]
in SPDX 3.0 SBOM, support to override with package name
SPDX_PACKAGE_URL:<pkgname>

Currently, the format of purl is not defined in Yocto, set empty for now
until we have a comprehensive plan for what Yocto purls look like.
But users could customize their own purl by setting var-SPDX_PACKAGE_URL

[1] https://spdx.github.io/spdx-spec/v3.0.1/model/Software/Properties/packageUrl/
[2] https://spdx.github.io/spdx-spec/v3.0.1/annexes/pkg-url-specification/

(From OE-Core rev: c8e6953a0b6f59ffca994c440069db39e60b12d2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Yi Zhao
26b1de046e sassc: fix runtime version
The sassc_version.h should be generated from sassc_version.h.in. But
there is already a sassc_version.h file in source directory. When ${S}
!= ${B}, the sassc_version.h is generated in build directory, and the
original sassc_version.h in source directory is not overwritten.
However, the latter is used during the build, resulting in a missing
runtime version. Remove sassc_version.h from source directory to ensure
that the one in build directory is used during the build.

Before the fix:
$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

After the fix:
$ sassc  --version
sassc: 3.6.2
libsass: 3.6.6
sass2scss: 1.1.1
sass: 3.5

(From OE-Core rev: 25be2756a719e82e94ee55d7cf42f30546366b6a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Yi Zhao
5e75b1b428 libsass: fix runtime version
The version.h should be generated from version.h.in. But there is
already a version.h file in source directory. When ${S} != ${B}, the
version.h is generated in build directory, and the original version.h in
source directory is not overwritten. However, the latter is used during
the build, resulting in a missing runtime version. Remove version.h from
source directory to ensure that the one in build directory is used
during the build.

Before the fix:
$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

After the fix:
$ sassc  --version
sassc: 3.6.2
libsass: 3.6.6
sass2scss: 1.1.1
sass: 3.5

(From OE-Core rev: 88fc48d65dfc61b6a89018c3348b369aa450a8c0)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-08 10:28:18 +01:00
Richard Purdie
c8e4047fa2 pseudo: Upgrade to version 1.9.1
This brings in:
 * nftw, nftw64: add wrapper
 * ftw, nftw, ftw64, nftw64: add tests
 * Move ftw and ftw64 to calling ntfw and nftw64
 * makewrappers: Introduce 'array' support
 * pseudo_util.c: Avoid warning when we intentionally discard const
 * pseudo_client.c: Fix warning
 * yocto-older-glibc-symbols.path: Add as a reference patch
 * pseudo/pseudo_client: Add wrapper functions to operate correctly with glibc 2.38 onwards
 * configure: Prune PIE flags
 * test/test-parallel-rename.sh: Add parallel rename test
 * test/test-parallel-symlinks.sh: Add parallel symlink test
 * ports/linux/guts: Add .gitignore to ignore generated files

(From OE-Core rev: 994e508b2a0ede8b5cc4fe39444cf25dc9a53faf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-06 17:50:14 +01:00
Khem Raj
601b05a298 mesa: Fix header search paths
mesa build currently emits CLANG_RESOURCE_DIR into compiled objects and
meson calculates it from llvm cmake files from sysroot and it points to
absolute paths in target sysroot. To fix this backport a patch that does
not rely on CLANG_RESOURCE_DIR, however, this patch still leaves it in
code as fallback via FALLBACK_CLANG_RESOURCE_DIR, we are on LLVM 20.x
which will not use this variable, lets just remove detection so it does
not encode hardcoded paths.

Fixes

ERROR: mesa-2_25.0.2-r0 do_package_qa: QA Issue: File /usr/lib/libMesaOpenCL.so.1.0.0 in package libopencl-mesa contains reference to TMPDIR [buildpaths]
ERROR: mesa-2_25.0.2-r0 do_package_qa: Fatal QA errors were found, failing task.

(From OE-Core rev: afcde8eb575684fb514e1012b31bc0da04f4cb28)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
5c996938de libsolv: Upgrade to 0.7.32 release
Brings these changes

- build both static and dynamic libraries on new suse distros
- require cmake >= 3.5
- new features:
  * support the apk package and repository format (both v2 and v3)
  * new dataiterator_final_{repo,solvable} functions

- Enable static libs for OE as well, this fixes a crash/signsegv seen
  in stringpool_strn2id () especially when multithreading is in play,
  this is brought forward with clang merge patchset when using ipk
  backend

(From OE-Core rev: 50d5ac2199af7b35e18c0015fcc14078e4d1fd2a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
5219464cba libcxx,compiler-rt-sanitizers: Add cflags to build with clang compiler
We are using clang-native to build the native versions of these recipes
but we are missing the needed compiler flags to let it c/c++ runtime
appropriately. This also ensures that meta-clang does not have to worry
about the compiler settings for nativesdk/native pieces separately.

(From OE-Core rev: b3b97ff790f42c5844c9f6aaeab9e23d355febfa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
84f6d5015c clang: Upgrade to 20.1.3
Brings following fixes

* 923a5c4f83d2 Revert "[ARM][ConstantIslands] Correct MinNoSplitDisp calculation (#114590)"
* 86f5891c5986 [llvm][Hexagon] Promote operand v2i1 to v2i32 (#135409)
* d55c3c20520a [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874)
* 9420327ad768 [Clang] Fix a lambda pattern comparison mismatch after ecc7e6ce4 (#133863)
* 4da7285e636e Silence -Wcast-function-type warnings on idiomatic Windows code (#135660)
* c5109be53b7e [LV] Disable epilogue vectorization for FindLastIV if start is poison.
* 91a3f14d9497 [LV] Add tests with FindLastIV and epilogue vectorization.
* 2131242240f7 [LLVM][MemCpyOpt] Unify alias tags if we optimize allocas (#129537)
* 86c98536380b [libc++] Fix deployment targets that were incorrectly bumped (#134278)
* dfd6f123362a [libc++] Guard additional headers with _LIBCPP_HAS_LOCALIZATION (#131921)
* dc9d4f9a7008 [lldb] Respect LaunchInfo::SetExecutable in ProcessLauncherPosixFork (#133093)
* 9c7d72869876 [LoongArch] Move fix-tle-le-sym-type test to test/MC. NFC (#133839)
* 0c30835a63db [X86][AVX10] Remove VAES and VPCLMULQDQ feature from AVX10.1 (#135489)
* 2e0966408283 [X86] Backport saturate-convert intrinsics renaming & YMM rounding intrinsics removal in AVX10.2
* 0dd4235473d4 [SCEV] Use ashr to adjust constant multipliers (#135534)
* a141e58685fd [llvm][CodeGen] avoid repeated interval calculation in window scheduler (#132352)
* d88cd35023b4 [llvm][CodeGen] Fix the empty interval issue in Window Scheduler (#129204)
* 73d1e8598eda [CodeGen] Avoid repeated hash lookups (NFC) (#130237)
* 7034995f1029 [clang] Handle Binary StingLiteral kind in one more place (#132201)
* 2e7710eaffdd [clang] Introduce "binary" StringLiteral for #embed data (#127629)
* e0db588f3db4 [IR] Fix assertion error in User new/delete edge case (#129914)
* d5bb7b866e59 Avoid a race condition in opt-viewer/optrecord (#131214)
* d15fef4209f1 [IndVarSimplify] Handle the case where both operands are the same when widening IV (#135207)
* 91647ae0dffe [X86][SSE] Don't emit SSE2 load instructions in SSE1-only mode (#134547)
* d05543ed0796 [clang-format] Keep the space between `not` and a unary operator (#135035)
* 81220e68a496 [fatlto] Add coroutine passes when using FatLTO with ThinLTO (#134434)
* edb54a7821fe Release/20.x: [clang-format] Set C11 instead of C17 for LK_C
* 4181e829d1db [LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK,WATCH} (#126020)
* 7436329bfee9 Revert "[clang] [ARM] Explicitly enable NEON for Windows/Darwin targets (#122095)"
* a0c8959cc880 [X86] When expanding LCMPXCHG16B_SAVE_RBX, substitute RBX in base (#134109)
* a8b5fe017a5e [libc++] Add missing release note for LLVM 20 about zip_view (#134144)
* 41aefdbebe64 cuda clang: Fix argument order for __reduce_max_sync (#132881)
* 19c2e1c12d47 [clang-tidy] Fix broken HeaderFilterRegex when read from config file (#133582)
* ac31db0463c0 [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp
* 53141e4e3c65 [clang] Do not infer lifetimebound for functions with void return type (#131997)
* cf7bb13f0c7f [TailDuplicator] Determine if computed gotos using `blockaddress` (#132536)
* 656289ffa0a6 Bump version to 20.1.3 (#134187)

(From OE-Core rev: 2199334354162a6304c4b0d4f35efb67e8e7d36b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
0670865d2e maintainers.inc: Add myself as maintainer for clang family of recipes
(From OE-Core rev: 8ffe64514d00f431c1717826b2f780f837c82a70)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
67b810139f mesa: Pass needed clang flags via BINDGEN_EXTRA_CLANG_ARGS
This is needed for clang to find the c++ headers when invoked via
bindgen

Fixes
| /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux/mesa/25.0.2/recipe-sysroot/usr/include/llvm/ADT/DenseMapInfo.h:17:10: fatal error: 'cassert' file not found
| Unable to generate bindings: clang diagnosed error: /mnt/b/yoe/master/sources/poky/build/tmp/work/cortexa57-poky-linux/mesa/25.0.2/recipe-sysroot/usr/include/llvm/ADT/DenseMapInfo.h:17:10: fatal error: 'cassert' file not found
|

(From OE-Core rev: 6d9f95a25dd32871e8c07ec3295a216236b3a7e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
5b7aaa505f clang: RPROVIDE spirv-llvm-translator and libclc
This paves the way to spin out these packages out of clang in future
specifically spirv-llvm-translator which is not yet part of llvm monorepo

(From OE-Core rev: fc58a1ee75737851d6e97be8a0b7ac739819efc8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Khem Raj
79030cd4c4 clang: Merge llvm/clang family recipes from meta-clang
This can ensure that meta-clang does not carry them and can rely on core layer
while mesa can use them too.

Omit time stamps in openmp from generated files to improve
reproducibility

fix the issue that:
| file /usr/include/llvm/Config/llvm-config.h conflicts between attempted installs of lib32-llvm-dev-20.1.2-r0.core2_32 and llvm-dev-20.1.2-r0.core2_64

(From OE-Core rev: d77e398095228b34851762858a76640e3c2cb0ab)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 18:02:48 +01:00
Markus Volk
437ad6eaa8 gtk4: update 4.18.4 -> 4.18.5
Overview of Changes in 4.18.5, 03-05-2025
=========================================

* Bugs fixed:
  - #5844 `gdk_surface_get_device_position: assertion 'GDK_IS_SURFACE (surface)'
    failed` on popover close (Alessandro Astone)
  - #7451 Cairo device scale changes lead to significant performance regression
    in cairo blur (Sebastian Keller)
  - #7479 gtkmm programs fail to start on Windows with AccessKit support enabled
    (Matthias Clasen)
  - #7482 Epiphany Crash in GTK file chooser when last used directory has
    insufficient filesystem permissions: "GFileInfo created without
    standard::type" (Philip Withnall)
  - #7495 Failed to link with the mold linker (Matthias Clasen)
  - #7513 Broken boxed-list ListBox (Sergey Bugaev)
  - #7520 XCompose preventing GTK4 applications from launching (again) (Matthias
    Clasen)
  - #7522 critical when selecting label with use-underline but mnemonic with
    screenreader enabled (Markus Göllnitz)
  - !8432 GTK 4.18.4
  - !8461 Some cherry-picked fixes for 4.18 (Sebastian Keller, Benjamin Otte,
    Florian "sp1rit"​)
  - !8487 early exit  if the clipped bound rectangle's area is zero after
    snapping (Benjamin Otte)
  - !8496 macos: fix crash when unfullscreening windows (4.18 backport) (Arjan
    Molenaar)
  - !8505 Backport: update macOS job for new CI runner (René de Hesselle)
  - !8526 build: pin the msvc build to meson 1.7 (Matthias Clasen)
  - !8527 build: pin the msvc build to meson 1.7 (Alessandro Astone, Sébastien
    Wilmet, Sergey Bugaev, Vladimir Vaskov, Markus Göllnitz, Michael Weghorn,
    Philip Withnall, Lukáš Tyrychtr, Benjamin Otte, Matthias Clasen, Liu
    Jinchang, kolunmi, FeRD (Frank Dana))

* Translation updates:
  - Bulgarian (Alexander Shopov)
  - Catalan (Jordi Mas i Hernandez)
  - Chinese (China) (Luming Zh)
  - Czech (Daniel Rusek)
  - Georgian (Ekaterine Papava)
  - Hungarian (Balázs Úr)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Polish (Piotr Drąg)
  - Portuguese (Hugo Carvalho)
  - Portuguese (Brazil) (Álvaro Burns)
  - Romanian (Antonio Marin)
  - Russian (Artur S0)
  - Slovenian (Martin)
  - Spanish (Daniel Mustieles)
  - Swedish (Anders Jonsson)
  - Turkish (Emin Tufan Çetin)
  - Ukrainian (Yuri Chornoivan)

(From OE-Core rev: 96c0dc8f5c3a4a270f040a3cbcbfe20b132c1afc)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Markus Volk
3e927b6953 glib-2.0: update 2.84.0 -> 2.84.1
- remove backport patch

Overview of changes in GLib 2.84.1, 2025-04-03
==============================================

* Fix test failure when building against gobject-introspection ≥1.83.4 (#3634,
  work by Philip Withnall)

* Bugs fixed:
  - #3630 2.84.0 build failure on Linux: ../gio/gnetworkmonitornetlink.c:47:10:
    fatal error: netlink/netlink_route.h: No such file or directory (Philip
    Withnall)
  - #3634 test failure with gobject-introspection 1.83.4: warning: element
    doc:format from state 3 is unknown, ignoring (Philip Withnall)
  - #3636 gio/trash does not handle special characters well
  - #3642 `g_cancellable_connect()` documentation incorrect (Marco Trevisan
    (Treviño))
  - #3643 g_cancellable_connect(): is it safe to unref cancellable from
    callback? (Marco Trevisan (Treviño))
  - #3649 Crash with some registry key values in GWin32AppInfo (Philip Withnall)
  - !4484 Memory sanitizer fixes
  - !4489 gobject: Be consistent in using atomic logic to handle the
    GParamSpecPool
  - !4541 gsettings: Port docs to gi-docgen format, add missing annotations and
    make various improvements
  - !4544 tests: Don't install runner scripts without installed_tests
  - !4545 Update French translation
  - !4547 Update Catalan translation
  - !4548 Update Turkish translation
  - !4551 Updated Danish translation
  - !4552 Update Persian translation
  - !4553 docs: Document GSignalFlags members added after 2.0
  - !4554 Update Indonesian translation
  - !4555 tests: Add a test for g_object_freeze_notify() being called too often
  - !4557 gfileinfo: Slightly expand docs for
    g_file_info_get_attribute_as_string()
  - !4558 gi: Dynamically set doc-format
  - !4561 tests: Various fixes to create temporary files in /tmp rather than the
    build directory
  - !4562 gdbusnameowning: Convert docs to gi-docgen linking syntax
  - !4563 giounix-private: Fix macro for checking for epoll_create1()
  - !4565 Fix LGPL in header
  - !4567 gutils: make documentation of g_set_prgname() clearer
  - !4568 docs: Add some detail
  - !4569 Update Romanian translation
  - !4570 gspawn-win32: Fix potential integer overflows in argv handling
  - !4571 gvarianttype: Improve docs on type validation

* Translation updates:
  - Catalan (Jordi Mas)
  - Danish (Ask Hjorth Larsen)
  - French (Vincent Chatelain)
  - Indonesian (Andika Triwidada)
  - Persian (Danial Behzadi)
  - Romanian (Antonio Marin)
  - Turkish (Sabri Ünal)

(From OE-Core rev: 676b9acbe94f055a351da3bdcfbe457411e1877c)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Peter Marko
ebf9d387cc binutils: mark CVE-2025-1153 as fixed
We had this CVE patched but the patch was removed with last 2.44 branch
updates as it is now included.
Since there is no new version which could be set in NVD DB, this needs
to be explicitly handled.

(From OE-Core rev: 32f18145dee54f61203506daef339cd132908287)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Peter Marko
1b5d6bb30d binutils: drop obsolete CVE_STATUS
NVD has CVE-2023-25584 listed as < 2.40, so we don't need to ignore it
for version 2.44 anymore.

(From OE-Core rev: eaf80096f96e5bebed53076c1dfe7e35e539f383)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Dmitry Baryshkov
a5a29406b8 mesa: upgrade 25.0.2 -> 25.0.5
Several fixes, mostly targeting AMD and Qualcomm platforms.

(From OE-Core rev: a8502be8f943332df1ba8f57742d0508d5a8b4e5)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Richard Purdie
dc1282db95 qemu: Upgrade 9.2.3 -> 10.0.0
In version 10, emulation of 64 bit targets on 32 bit
systems is no longer supported. The target list is tweaked accordingly.

acce728cbc

Running qemu on *any* 32 bit host is also deprecated and going to be
removed upstream in a later version soon:

6d701c9bac

The pixman configuration option now needs to be specified so add a
PACKAGECONFIG entry, defautling to enabled. This is a required dependency
of some of the graphical backends like gtk.

(From OE-Core rev: 811bf03dc511b3dbe30f6c65112a5eadd6a88f81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Richard Purdie
589fd4db17 lttng-ust: upgrade 2.13.8 -> 2.13.9
(From OE-Core rev: 23de06c4e28929d540058071384aefa41d48b69a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Ross Burton
24efa3786c classes/yocto-check-layer: add check for tasks that allow network access
Add a new test that checks that no tasks between do_fetch (exclusive)
and do_build (inclusive) are allowed to use the network, with rare
exceptions.

The only exception currently is build-appliance-image's do_image task,
as that currently usese pip to install the required Toaster dependencies.

Note that this will mean layers that have Go-based recipes will fail
unless they're using the gomod fetcher and have a complete list of
modules in the SRC_URI.

(From OE-Core rev: e95b3bd194e294412bc0419c9c74abfc2f37406f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Ross Burton
e4c9b45a98 classes/yocto-check-layer: refactor to be extended easily
Rearrange the class so that the check is a separate function, to make it
neater to add further tests in the future.

(From OE-Core rev: 36658a113811de98249bc1e1b79cfadd405e5391)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-05 17:22:11 +01:00
Khem Raj
43fd724eac gcc: Upgrade GCC to 15 release
* Nios2 has been removed and aarch64/ilp32 is deprecated
* Default C dialect is switched to C23
* {0} initializer in C or C++ for unions no longer guarantees clearing of the whole union
* Compile speed improvements with LTO
* Vectorizer can support loops with early exists but it is limited to loops
  with fixed vector lengths

This is major release of gcc, the changes are noted [1]

[1] https://gcc.gnu.org/gcc-15/changes.html

(From OE-Core rev: 0ddda88b928a8b4e5ca3a4cc6112b8331cdff544)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:33:26 +01:00
Khem Raj
7237d6bb50 util-linux: ignore mkfds BPF related ptests
They do not pass with GCC-15, ignore them for now

[RP: Fix formatting of exclude to be whitespace separated]
(From OE-Core rev: dc989569d3528d999f2a1f4363a9ef8325e09600)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:33:26 +01:00
Khem Raj
0496a29bac gdb: Upgrade to 16.3
Add couple of readline patches to fix build with internal readline

Other Changes

* PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289:
internal-error: version: Assertion `m_dwarf_version != 0' failed)

 * PR corefiles/32441 (gdb segfaults when generating a core file if
target_fileio_read_alloc fails)

 * PR tui/32623 (TUI console window doesn't update while inferior is running)

 * PR corefiles/32634 ([gdb/corefiles] segfault in
gdb.arch/i386-biarch-core.exp)

 * PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is
duplicated)

 * PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp:
continue to breakpoint: marker2)

 * PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems)

 * PR record/32784 ([gdb/record, aarch64] Stack smashing detected in
aarch64_record_asimd_load_store)

 * PR tui/32797 (Escape sequences to only reset foreground or background color
to default fail)

 * PR gdb/32828 (gstack regression: missing file names and line numbers)

(From OE-Core rev: abd0b9c3b82b6d7623c09692feaf2c356d395e6b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:33:26 +01:00
Gyorgy Sarvari
e7212e2476 libmatchbox: upgrade 1.13 -> 1.14
Includes a fix for the library version to match the tagged version in git.

(From OE-Core rev: 3ba4b22ef7e50e017d25ba974666f2fdf190a8fd)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Khem Raj
6410bbd6a6 rust: Fix build with GCC-15 on aarch64/musl
GCC-15 has _CHKFEAT_GCS defined in arm_acle.h to indicate gcs intrinsics
support, this trips llvm libunwind gcs feature detection logic to set
gcs feature on. However the contructs used in unwindlib are assuming clang
and the needed target attribute is not available in gcc it should be +gcs
to work with both clang and gcc

(From OE-Core rev: aa5b42b32093fdd10e0a8f8a124322610c84f60b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Changqing Li
e5902fa07b libsoup-2.4: fix CVE-2025-32911
CVE-2025-32911:
A use-after-free type vulnerability was found in libsoup, in the
soup_message_headers_get_content_disposition() function. This flaw
allows a malicious HTTP client to cause memory corruption in the libsoup
server.

Backport patches to fix it

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-32911
[2] https://gitlab.gnome.org/GNOME/libsoup/-/issues/433

(From OE-Core rev: 839d93bbb1ca7a51b659b8cb9def9b354a99518f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Jiaying Song
6a17b9f352 gobject-introspection: Fix wrong PN used in MULTILIB_SCRIPTS
The current MULTILIB_SCRIPTS entry incorrectly assigns
g-ir-annotation-tool and g-ir-scanner to the ${PN} package. However,
these scripts are actually installed in the gobject-introspection-tools
package. This leads to incorrect symlinks being created when multilib is
enabled. Therefore, this patch correctly moves them to the ${PN}-tools
package.

Error log:

root@intel-x86-64:~# ls -l /usr/bin/g-ir-scanner
lrwxrwxrwx 1 root root 27 Mar  9  2018 /usr/bin/g-ir-scanner -> /usr/bin/g-ir-scanner-lib64
root@intel-x86-64:~# ls -l /usr/bin/g-ir-scanner-lib64
ls: cannot access '/usr/bin/g-ir-scanner-lib64': No such file or directory

(From OE-Core rev: 94aa798624dd3e1d0bfeccc046936a4a4f87b8ca)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Mikko Rapeli
e7c70cfca8 oeqa/selftest/wic: Add ext4 to IMAGE_FSTYPES in test_exclude_path_with_extra_space
All qemu machines have ext4 in IMAGE_FSTYPES which makes
native mkfs.ext4 available at wic image build time.
genericarm64 defaults to only wic in IMAGE_FSTYPES
and this test was failing:

| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function set_image_size
| DEBUG: 148548.400000 = 114268 * 1.300000
| DEBUG: 652644.400000 = max(148548.400000, 8192)[148548.400000] + 504096
| DEBUG: 652645.000000 = int(652644.400000)
| DEBUG: 652645 = aligned(652645)
| DEBUG: returning 652645
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| ERROR: A native program mkfs.ext4 required to build the image was not found (see details above).
|
| Please make sure wic-tools have e2fsprogs-native in its DEPENDS, build it with 'bitbake wic-tools' and try again.
|
| WARNING: exit code 1 from a shell command.
NOTE: recipe core-image-minimal-1.0-r0: task do_image_wic: Failed

(From OE-Core rev: 59b5ec3d53058237dc6f3e85385851d1a8a97f97)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Mikko Rapeli
87c5907bc8 oeqa/selftest/wic: Increase rootfs size in test_offset
This test is failing on genericarm64 which includes all kernel
modules on rootfs by default. Recently added kernel modules
triggered the size limits to be exceeded. Fixes:

ERROR: Actual rootfs size (112884 kB) is larger than allowed size 102400 kB

Doubling the size to avoid issues like this on machines which
may include a lot of packages on default images. Size of the
rootfs does not matter for the test, only that the offsets are
correct in various usecases.

(From OE-Core rev: 1ff542318ea66514ef550d4817ba9b2ef688134c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Trevor Woerner
e97d88578c oe-selftest.wic: add native sysroot handling
The wic test_exclude_path_with_extra_space does not succeed on debian-based
AB workers since they, by default, do not install the 'parted' utility. This
test installs the 'wic-tools' package, which includes the 'parted' utility,
but it is not being found/used for some unknown reason.

In the previous patch it was believed that doing some extra PATH handling
(as performed by some other tests with a python try...finally block) would
solve the issue. That turned out to not be the case. This patch starts by
reverting that change, since it has no benefit.

In order to use the native tools from the 'wic-tools' package, wic's
'--native-sysroot' can be used (as demonstrated in other tests). In fact
the wic help message explaining the purpose of this flag states that it is
for passing "...the path to the native sysroot containing the tools(parted
and mtools) to use"[sic].

Removing the host's 'parted' utility better simulates the situation found
on the debian workers for testing. This patch is seen to make this test pass
with no host 'parted' utility in place.

(From OE-Core rev: 306e4831f07d4a8db6ab880487813a6abd0ffa08)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Randy MacLeod
75a7b04641 valgrind: Upgrade from 3.24.0 to 3.25.0
Declare riscv64 as a COMPATIBLE_HOST since upstream now support it.
For that target 'valgrind /bin/ls' warns with:
   --253-- WARNING: unhandled riscv64-linux syscall: 258
   --253-- You may be able to write your own handler.
   --253-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
   --253-- Nevertheless we consider this a bug.  Please report
   --253-- it at http://valgrind.org/support/bug_reports.html.
This is a known issue:
   https://bugs.kde.org/show_bug.cgi?id=503253
but the tool does work, despite this warning with glibc.
For riscv64 with musl, the build is fine but running:
   # valgrind /bin/ls
produces the fatal error:
   ==306== Process terminating with default action of signal 4 (SIGILL)
   ==306==  Illegal opcode at address 0x1002015952
   ==306==    at 0x40E5F26: map_library (dynlink.c:845)
   ==306==    by 0x40E6C97: load_library (dynlink.c:1183)
   ==306==    by 0x40E7B63: load_preload (dynlink.c:1365)
   ==306==    by 0x40E7B63: __dls3 (dynlink.c:1963)
   ==306==    by 0x40E75D9: __dls2 (dynlink.c:1767)
   ==306==    by 0xFFFFFFFFFFFFFFFF: ???
which is not yet reported.

Patches reviewed, manually fix-up one word change in:
   0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch
and refresh patches with devtool.

* ==================== CORE CHANGES ===================

* The valgrind gdbserver now supports the GDB remote protocol packet
  'x addr,len' (available in GDB release >= 16).
  The x packet can reduce the time taken by GDB to read memory from valgrind.

* Valgrind now supports zstd compressed debug sections.

* The Linux Test Project (ltp) is integrated in the testsuite try
  'make ltpchecks' (this will take a while and will point out various
  missing syscalls and valgrind crashes!)

* ================== PLATFORM CHANGES =================

* Added RISCV64 support for Linux. Specifically for the RV64GC
  instruction set.

* Numerous bug fixes for Illumos, in particular fixed a Valgrind crash
  whenever a signal handler was called.

* On FreeBSD, a change to the libc code that runs atexit handlers was
  causing Helgrind to produce an extra error about exiting threads
  still holding locks for. This applied to every multithreaded application.
  The extra error is now filtered out. A syscall wrapper had been added
  for getrlimitusage.

* On Linux various new syscalls are supported (landlock*, io_pgetevents,
  open_tree, move_mount, fsopen, fsconfig, fsmount, fspick, userfaultfd).

* s390x has support for various new instructions (BPP, BPRP, PPA and NIAI).

* ==================== TOOL CHANGES ===================

* The --track-fds=yes and --track-fds=all options now treat all
  inherited file descriptors the same as 0, 1, 2 (stdin/out/err).
  And when the stdin/out/err descriptors are reassigned they are
  now treated as normal (non-inherited) file descriptors.

* A new option --modify-fds=high can be used together with
  --track-fds=yes to create new file descriptors with the highest
  possible number (and then decreasing) instead of always using the
  lowest possible number (which is required by POSIX). This will help
  catch issues where a file descriptor number might normally be reused
  between a close and another open call.

* Helgrind:
  There is a change to warnings about calls to pthread_cond_signal and
  pthread_cond_broadcast when the associated mutex is unlocked. Previously
  Helgrind would always warn about this. Now this error is controlled by
  a command line option, --check-cond-signal-mutex=yes|no. The default is
  no. This change has been made because some C and C++ standard libraries
  use pthread_cond_signal/pthread_cond_broadcast in this way. Users are
  obliged to use suppressions if they wish to avoid this noise.

The full 3.25.0 bug fix list can be found here:
   https://valgrind.org/docs/manual/dist.news.html

(From OE-Core rev: 04b3e0c1384469167ddfb4d22e2b513f9a59aca9)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Daniel Turull
836f704cf6 cve-check: fix debug message
Debug level was not added as a parameter, causing a warning.

(From OE-Core rev: 40157fcbd9066f261812ba665ec963b2e496aa53)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Yi Zhao
fddd752ea5 makedumpfile: upgrade 1.7.6 -> 1.7.7
ChangeLog:
https://github.com/makedumpfile/makedumpfile/releases/tag/1.7.7

This version supports the following new kernels:
  - 6.12, 6.13, 6.14

Drop backport patch.

(From OE-Core rev: 364e15aadcbb3ac754c2c484f7920420b4cb3138)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Divya Chellam
9218ec5b00 libxml2: upgrade 2.13.6 -> 2.13.8
This includes CVE-fix for CVE-2025-32414 and CVE-2025-32415.

Changelog:
===========
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.7
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.8

Regressions

* tree: Fix xmlTextMerge with NULL args
* io: Fix compressed flag for uncompressed stdin
* parser: Fix parsing of DTD content

Security

* [CVE-2025-32415] schemas: Fix heap buffer overflow inxmlSchemaIDCFillNodeTables
* [CVE-2025-32414] python: Read at most len/4 characters. (Maks Verver)

(From OE-Core rev: 0b24113405ab0bbb3200bb47fa8ed6abeaa7481b)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Ross Burton
3ebf7d353d meson: upgrade to 1.8.0
- New argument android_exe_type for executables
- Changes to the b_sanitize option
- New C standard c2y (and gnu2y)
- i18n module xgettext
- version_compare now accept multiple compare strings
- Improvements to Objective-C and Objective-C++
- Per project subproject options rewrite
- objects added correctly to Rust executables
- rust.test now supports link_whole
- Meson can run "rustdoc" on Rust projects
- The Wayland module is stable
- New swift_std compiler option
- New option to execute a slice of tests
- Valgrind now fails tests if errors are found

Full release notes: https://mesonbuild.com/Release-notes-for-1-8-0.html.

(From OE-Core rev: 84ded53ea7e4db1e3d7ea60527374040ec64b4fd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Khem Raj
15e88b968e binutils: Specify sysroot for libtool during build
libbfd is enabled and it invokes libtool relink step to get rid of
rpaths during install step. libtool 2.4 patches rightly prepend
lt_sysroot to target libdir which relink step would use, such a patch
is also upstreamed into libtool [1]

However, when we do not specify --with-libtool-sysroot, lt_sysoot prefix
turns out to be empty and relink step adds -L/usr/lib to linker command
line. it cause all sort of problems e.g. when the build host has zlib
installed then libbfd tries to link with /usr/lib/libz.so instead of the
one in target sysroot, fortunately OE linker reports host path contamination
and fails the build. Second problem seen when building target binutils on
musl, it links with libc.so correctly but libtool relink step resolves
libc.so in /usr/lib due to this path and expands it into libc.so.6 and
ld-linux-x86-64.so.2 ( glibc host's libc.so is a linker stub ) in
DT_NEEDED ELF section which does not work with
musl linker and build QA detects this anamoly as well.

ERROR: binutils-2.44-r0 do_package_qa: QA Issue: /usr/lib/libbfd-2.44.so contained in package libbfd requires libc.so.6(GLIBC_2.34)(64bit), but no providers found in RDEPENDS:libbfd? [file-rdeps]

This inconsistency may cause produced binaries mistakenly linked against
libraries from the host distro.

Add libtool sysroot to point libtool to correct sysroot location during
build.

[1] https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3221f9f0fb98d5740ab5d0e8db6a731302520644

(From OE-Core rev: 89e984bd7edb9a2013b65d0215fd6af9aadd59e8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
rajmohan r
90a5add3b6 glibc-y2038-tests: remove glibc-y2038-tests_2.41.bb recipe
This recipe takes longer time >20min when bitbake for package
write stage. When cross-verified for longer time duration, found
that do_check() stage taking 20min while other stages completes
before 6min.

This recipe gives only below two test binaries in the packages to
test (ptest: glibc-y2038-tests):
     io/ftwtest
     io/ftwtest-time64

The above test binaries are already included for testing in recipe
glibc-testsuite_2.41.bb.

It is by now well established that glibc itself works as it should,
that all affected 32 bit targets are configured to use 64 bit time_t,
and that any lingering y2038 issues are in components other than the c
library, and usually come from C programming mistakes (e.g. storing
timestamps in long). Maybe we can simply remove the recipe?

Review comments for fixing above longer time duration ended up in
removing this recipe as a proposal is below
https://lists.openembedded.org/g/openembedded-core/topic/112188476#msg214636

Removed lines having reference to glibc-y2038-tests in the files.

(From OE-Core rev: fbe3679ba3c12c52a502511f5dde91fb4de7a6b6)

Signed-off-by: rajmohan r <semc.2042@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Chen Qi
0d5afd1778 lib/classes/conf: refactor qemu.bbclass functions into library functions
Move the functions in qemu.bbclass to meta/lib/oe/qemu.py as they are
generally useful.

The qemu.bbclass is still kept, and recipes can continue to use functions
from it, though they have become wrapper functions on qemu.py functions.

Note that the QEMU_OPTIONS settings are still kept in qemu.bbclass.
This sets a clear barrier for people to use qemu user mode.

(From OE-Core rev: 7b3563b3b3901c96c3e498799a83ab8cabcf84b4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Markus Volk
c07ded97d7 qemu.inc: make use of virtual/libsdl2
Fix to ensure it would work with both libsdl2 and libsdl2-compat

(From OE-Core rev: 21033e98045d03025f6e12dba16428fa484b3057)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Liu Yiding
dd1e47489e gzip: upgrade 1.13 -> 1.14
1. Add coreutils to RDEPENDS:gzip-ptest to fix ptest error:
| od: invalid option -- 'A'
| BusyBox v1.37.0 () multi-call binary.

2. Delete BUILD_LDFLAGS to fix issue:
|ERROR: gzip-1.14-r0 do_package_qa: QA Issue: File /usr/lib/gzip/ptest/src/tests/Makefile in package gzip-ptest contains reference to TMPDIR ildpaths]
|ERROR: gzip-1.14-r0 do_package_qa: Fatal QA errors were found, failing task.

error point in /usr/lib/gzip/ptest/src/tests/Makefile of gzip-ptest:
|BUILD_LDFLAGS = -L/gzip/1.14/recipe-sysroot-native/usr/lib                         -L/gzip/1.14/recipe-sysroot-native/lib
|      -Wl,--enable-new-dtags                         -Wl,-rpath-link,/gzip/1.14/recipe-sysroot-native/usr/lib                         -Wl,-r
|path-link,/gzip/1.14/recipe-sysroot-native/lib                         -Wl,-rpath,/gzip/1.14/recipe-sysroot-native/usr/lib
|       -Wl,-rpath,/gzip/1.14/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/mnt
|/test/build_auh/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread

ptest pass after delete BUILD_LDFLAGS in Makefile

ptest result:
|============================================================================
|Testsuite summary for gzip 1.14
|============================================================================
|# TOTAL: 30
|# PASS:  28
|# SKIP:  2
|# XFAIL: 0
|# FAIL:  0
|# XPASS: 0
|# ERROR: 0

License-Update: copyright years update and simplifies compliance by replacing
physical contact instructions with a permanent web reference

(From OE-Core rev: 198ae02439fb3c4146bfa05edbea30dfe3bad445)

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:54 +01:00
Richard Purdie
ca65114e5e recipes: Drop remaining md5sum checksums
We have long since obsoleted md5sum in favour of sha256sum. Drop the remaining
56 entries (which were showing many recipes hadn't been touched in a long time).
They all do have the corresponding sha256sum entries as is clear from the diff.

(From OE-Core rev: 7e4bfcc9706fa8a09f6a0004174a2c3b21c90df3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Ross Burton
baec6b7904 autoconf: set PKGV to avoid version-goes-backwards
I previously upgrade autoconf 2.72e (the fifth release candidate) to the
final release 2.72, but unfortunately failed to notice that the version
appears to go backwards as the package managers sort 2.72e _after_ 2.72.

We could resolve this with an epoch (via PE) but epochs are forever and
this mistake is temporary. We could set a convoluted PV but that gets
messy as it then means SRC_URI needs to set manually.  Instead, set a
convoluted PKGV to fix the sorting order in a way that only alters the
output packages and nothing else, which can be removed when the next
major release is made.

[1] oe-core 11ff8dba0ce ("autoconf: upgrade to final 2.72 release")

(From OE-Core rev: 58b185b25dff627eecc980919dd44dcce32fbca2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Trevor Gamblin
0cb7199a8d python3-numpy: fix ptests
Fix the numpy ptests by doing the following:

- Add meson to ptest RDEPENDS in the recipe;
- Add python3-unittest-automake-output as a ptest RDEPENDS;
- Convert run-ptest to a shell script that sets PYTEST_DEBUG_TEMPROOT to
  a directory inside the same path that contains the script, create that
  directory, and then invoke the tests with `pytest --automake` pointed
  at the numpy path in site-packages (copying the tests into the normal
  PTEST_DIRECTORY seems to cause module import breakages in some tests).
  This also includes skipping two problematic tests which require a C
  compiler and use up a lot of space, respectively;
- Set 'IMAGE_ROOTFS_EXTRA_SPACE = "3048576"' for python3-numpy in
  core-image-ptest.bb;
- Also set 'QB_MEM:virtclass-mcextend-python3-numpy = "-m 4096"' in
  core-image-ptest.bb;
- Move python3-numpy from the PTESTS_PROBLEMS list to the PTESTS_SLOW
  one.

Results on qemux86-64:

Testsuite summary
DURATION: 87
END: /usr/lib/python3-numpy/ptest
2025-04-29T17:35
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Note that many of the skipped tests are due to the absence of
python3-mypy (which is currently in meta-python) and of a Fortran
compiler.

(From OE-Core rev: 7f0b5e8faa1b246531ac425c99a629eb344b21e2)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Vyacheslav Yurkov
98889f60cc systemd: Password agents shouldn't be optional
If extra-utils package is not included in the image, you'll always see a
warning that password agent is missing whenever you start/stop a service:
Failed to execute /usr/bin/systemd-tty-ask-password-agent: No such file or directory

(From OE-Core rev: a87d523ab24e4ea87d1b19ea3a0c515cc47db1b6)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Deepesh Varatharajan
0ee82d7740 binutils: stable 2.44 branch updates
Below commits on binutils-2.44 stable branch are updated.

fe459e33c67 PR 32603, revert message changes in 0b7f992b78fe and 31e9e2e8d109
37d12dd25d8 gdb/compile: add missing entry in bfd_link_callbacks array
31e9e2e8d10 PR 32603, more ld -w misbehaviour
0b7f992b78f PR 32603, ld -w misbehaviour
8cb98edf123 s390: Add support for z17 as CPU name
ed70d86b491 x86: Remove AVX10.2 256 bit rounding support
e1af7e590a5 elf: Clear the SEC_ALLOC bit for NOLOAD note sections
35db8c6dd2f ld: Pass -Wl,-z,lazy to compiler for i386 lazy binding tests
cc7ec316a45 Updated translations for bfd and gold
bf088ee09a7 PR 32731 ub sanitizer accessing filenames_reversed
78082591ec7 score-elf gas SEGV
d4c7ee9fbc1 gas: fix rs_fill_nop listing
a68d096a0ab Open the 2.44 branch for further development

Dropped: 0015-CVE-2025-1153.patch

Testing was done and there were no regressions found

(From OE-Core rev: 749bdd5bda6f9b5af8d63794858bbb9834294fcb)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Ross Burton
83d0d473d6 python3: backport the full fix for importlib scanning invalid distributions
Even with our fixes in deterministic_imports.patch the
importlib.metadata package scan was still returning Distribution objects
for empty directories.  This interacts badly with rebuilds when recipes
are changing as when a recipe is removed from the sysroot directories
are not removed[1].

In particular this breaks python3-meson-python-native rebuilds when
Meson upgrades from 1.7 to 1.8: the site-packages directory has an empty
meson-1.7.dist-info/ and populated meson-1.8.dist-info/. Whilst it's
deterministic to return the empty 1.7 first, this breaks pypa/build as
it looks through the distributions in order.

We had discussed this with upstream previously and there's a more
comprehensive fix upstream (actually in importlib_metadata, not cpython)
which ensures that valid distribution objects are listed first.  So we
can drop our patch and replace it with a backport to fix these rebuilds.

[1] oe-core 4f94d929639 ("sstate/staging: Handle directory creation race issue")

(From OE-Core rev: 73de8daa6293403f5b92d313af32882c47bce396)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Richard Purdie
cf9c5ac2c1 selftest-ed: Upgrade to version 1.21/1.20.2
Older versions do not compile with GCC 15. We had different versions to test
GPLv3 exclusion.

1.21 compiles with gcc 15 and 1.20.2 has a CFLAGS tweak to allow it to work
with gcc 15 too.

1.21 is licensed under GPL-2.0 so we need to rework some of the tests.

Tweak the gplv3 test by adding a special override of LICENSE to then test
the license exclusion code.

Modify the archiver selftests to use the new version.

Based on a patch from Khem Raj <raj.khem@gmail.com>

(From OE-Core rev: 3b17355ad1ecad17d12c5eb0e6403a59ef11f7d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Khem Raj
6f6a9ec39b kernel-arch.bbclass: Do not use weak assignment for TOOLCHAIN
If a distro sets TOOLCHAIN with ?= or = then it overrides this
too, however, we demand GCC to be in there due to KERNEL_CC etal
Make it hard assignment, it can still be overturned via a bbappend
in that case it is intentional to use non-gcc compiler for kernel

(From OE-Core rev: 307902aa05c4537cb34fffe768df1547fb6a12d8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Khem Raj
d7319aa1bf multilib.conf: Add llvm-project-source recipe to NON_MULTILIB_RECIPES
llvm sourcebase is large and like gcc, it reuses same source tree to
build all recipes using clang+llvm sourcebase

(From OE-Core rev: f5dfd524e9f516ea4be72eb8348acb9b31b64a49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Khem Raj
d2a2c35c7f sstatesig: Handle special case of llvm-project-source shared-workdir
bitbake-dumpsig or bitbake-diffsig tools do not work on any of tasks
exposed by llvm-project-source recipe. This is due to it being a
shared-workdir recipe.

Fixes

bitbake-diffsigs -t llvm-project-source-20.1.2 do_preconfigure
NOTE: Starting bitbake server...
ERROR: No sigdata files found matching llvm-project-source-20.1.2 do_preconfigure

(From OE-Core rev: a6d46935939a94b8ea2b83c024aa86f05efbd7ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Khem Raj
c34bbe5fa9 cmake.bbclass: Enhance to emit a native toolchain cmake file
Some components e.g. clang and its runtime needs the native toolchain
defines especially when doing nativesdk builds it uses
CROSS_TOOLCHAIN_FLAGS_NATIVE to pass native toolchain file, which is
then used to build native llvm tools needed during nativesdk builds

Moreover this would enable using OE built native toolchain e.g.
clang-native to build cmake based packages. e.g. libcxx and other llvm
runtime plus it can be used for build native packages which require clang

(From OE-Core rev: 79dc6a23234a34403157dec10d0cdd839ca76b3e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Tom Hochstein
75436b4047 meson: Allow user to override setup command options
The user cannot override the setup command options --cross-file and
--native-file because the meson-wrapper places these options on the
command line after the user options. This problem was noticed when
trying to build with an SDK using a custom cross-file.

(From OE-Core rev: 045a53349a5c00b318feb7029470d3fb084b61c8)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-01 14:22:53 +01:00
Changqing Li
0a4d64647d icu: set ac_cv_path_install to ensure install tool reproducibility
icu will check program install path during do_configure, eg:
checking for a BSD-compatible install... /path/to/install -c

And this path will be writen into pkgdata.inc:
INSTALL_CMD=$(INSTALL-L)

Decided by if install is installed into recipe-sysroot-native during
do_configure stage, the INSTALL_CMD could be
/build/tmp/work/corei7-64-wrs-linux/icu/76-1/recipe-sysroot-native/usr/bin/install
or /build/tmp/hosttools/install if the build is rerun after the sysroot was
extended.

set ac_cv_path_install to install under hosttools to make a deterministic
result of INSTALL_CMD, avoid vary caused by the execute sequence of
another task which DEPENDS on coreutils-native and independent with
do_configure

[RP: Removed paths from ac_cv_path_install to simplify and avoid QA error too]
(From OE-Core rev: 208143e060cda6e22ae1e8c618e033fa9144b323)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 13:28:10 +01:00
Khem Raj
781d7b2082 harfbuzz: Fix build with gcc-15
GCC-15 inliner at O2 seems to be able to analyse more
This is a workaround to compile the one file where it fails
to use -Os

(From OE-Core rev: 01f2b3f09c3c9999e75f15c9041a0668cb6bb580)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 13:13:29 +01:00
Philip Lorenz
62c4daafce bitbake: tests/fetch: Move commonly used imports to top
Avoid multiple import statements for anything that is used more than
once. Additionally, drop no longer used imports.

(Bitbake rev: 7c74310440f4d6ec47cf5bacf597e18308b3bb20)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 13:11:24 +01:00
Philip Lorenz
67990e1550 bitbake: fetch2: Clean up no longer used name parameter
There's no need to pass `name` when it is no longer used.

(Bitbake rev: b132d35dee643e270e3e6dd536dcc90334a0111c)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 13:11:24 +01:00
Trevor Woerner
69c5f72278 oe-selftest.wic: add PATH handling
The wic test_exclude_path_with_extra_space test succeeds on non-debian AB
workers. Add PATH handling so parted from the wic-tools can be found on
debian-based AB workers.

Fixes [YOCTO #15838]

(From OE-Core rev: 3994e727f10c5a0143d52bdd6e1d9ca037296d59)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Hongxu Jia
161ff4d39d syslinux: improve isohybrid to process extra sector count for ISO 9660 image
Due to commit [cdrtools-native: fix booting EFI ISO live failed]
applied to improve mkisofs to fix nsectors exceeds 0xffff situation
which set selection criteria type = 2 and save extra nsectors to
vendor unique selection criteria

In following case, add 64MB extra space to bootable image efi.img,
and the partition table of EFI is truncated to 32M

$ echo 'IMAGE_FSTYPES:pn-core-image-minimal = " live"' >> conf/local.conf
$ echo 'MACHINE_FEATURES:append = " efi pcbios"' >> conf/local.conf
$ echo '# 64MB extra space to bootable image efi.img' >> conf/local.conf
$ echo 'BOOTIMG_EXTRA_SPACE = "65535"' >> conf/local.conf
$ bitbake core-image-minimal
$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120  65654   65535   32M ef EFI (FAT-12/16/32)

After applying this patch to process extra sector count, the partition
table of EFI is 90.3M

$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120 185151  185032 90.3M ef EFI (FAT-12/16/32)

[1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf

(From OE-Core rev: b4e112ed7e6ba5a6c6df530d696485a588831851)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Hongxu Jia
7ff5ecce28 cdrtools-native: fix booting EFI ISO live failed
In ISO live, if the size of efi.img > 32MB, and copy EFI application
(bootx64.efi) to efi.img behind of kernel and initrd, UEFI system
could not find EFI application bootx64.efi

Using QEMU+OVMF to boot ISO live image, press ESC to enter UEFI shell:
...
Shell> ls FS0:\
Directory of: FS0:\
04/05/2011  23:00          12,985,344  bzImage
04/05/2011  23:00 <DIR>         2,048  EFI
04/05/2011  23:00          20,494,696  initrd
04/05/2011  23:00                  26  startup.nsh
          3 File(s)  33,480,066 bytes
          1 Dir(s)

Shell> ls FS0:\EFI
Directory of: FS0:\EFI
          0 File(s)           0 bytes
          0 Dir(s)
...

In following case, add 64MB extra space to bootable image efi.img,
and the partition table of EFI is truncated to 26.3M

$ echo 'IMAGE_FSTYPES:pn-core-image-minimal = " live"' >> conf/local.conf
$ echo 'MACHINE_FEATURES:append = " efi pcbios"' >> conf/local.conf
$ echo '# 64MB extra space to bootable image efi.img' >> conf/local.conf
$ echo 'BOOTIMG_EXTRA_SPACE = "65535"' >> conf/local.conf
$ bitbake core-image-minimal
$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120  54079   53960 26.3M ef EFI (FAT-12/16/32)

According to page 11: `Figure 5 - Section Entry' in El Torito Bootable
CD-ROM Format Specification [1]. The sector count takes 2 byte which
means max sector count is 0xffff (65535), for 512-byte sector, the
size of bootable image is no more than 32MB (65536 * 512 / 1024 / 1024)

This commit truncate to 32MB if image size larger than 32MB, and
report a warning, then save the extra image sector count to
vendor unique selection criteria

After apply this commit, the partition table of EFI is truncated to 32M
$ fdisk -l tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso
...
Device                                                                 Boot Start    End Sectors  Size Id Type
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso1 *        0 376831  376832  184M  0 Empty
tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.iso2        120  65654   65535   32M ef EFI (FAT-12/16/32)

[1]https://pdos.csail.mit.edu/6.828/2017/readings/boot-cdrom.pdf

(From OE-Core rev: 259bb8907d8bfe1217e88a3b6935c160e5a92f8d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Antonin Godard
55fcffc08c scripts/cve-json-to-text.py: fix missing -o option
Add the missing condition on '-o', which allows changing the output
path.

(From OE-Core rev: f9a176a8a36524a68a3ff98f157357303093382f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Antonin Godard
62e934f038 scripts/cve-json-to-text.py: remove unused options
Remove --all and -a and they are unused in the file.
Remove long options as they don't actually exist when using getopt.

(From OE-Core rev: c2be1a9197b5e261051fe075edca000dc70ee2fe)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Mikko Rapeli
1ebcf9f258 lttng-modules: fix build failure on genericarm64
Workaround to unblock genericarm64 builds.
Upstream is working on a better fix
https://bugs.lttng.org/issues/1426

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15840

(From OE-Core rev: c57a903b9ac6d3015195a59829c223917e9c41f8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Patryk Seregiet
ab02b5226b linux-firmware: fix FILES to drop RDEPENDS on full package
linux-firmware-rtl8723 and linux-firmware-adsp-sst
contain symlinks to files that were previously
packaged only in the main linux-firmware package.
This caused both subpackages to inherit an unintended
RDEPENDS on the full package. This change resolves the
issue by ensuring all required files are correctly
included in their respective subpackages.

Thanks to Peter Kjellerstedt for figuring out the rootcause.

(From OE-Core rev: cf27c7d040e7a5f1bbc60fb36c98686704bd7dc5)

Signed-off-by: Patryk Seregiet <patryk.seregiet@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Mikko Rapeli
ad6d71a326 efi-uki-bootdisk.wks.in: reduce ESP boot partition size
This sample ESP partition is used mostly for testing purposes.
It's not expected to host multiple UKI binaries for example.
Thus reduce size from 500 Mb to size of needed boot binaries
72 Mb plus around 20% free space 88Mb. This is enough for
all test cases and fits to RAM when using PMEM memory based
block device on real target boards with just a few Gb of RAM.

(From OE-Core rev: 7a4b90ef3815aa227236ec9b95540233db8ac3b3)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Ines KCHELFI
9019308b31 ptest-cargo: fix incorrect FAIL count when multiple tests are run
When using the ptest-cargo class with multiple Rust test binaries, ptest-runner
may report FAIL: 0 even if one of the tests fails, as long as the last test passes.

This happens because the run-ptest script, as generated by the class, does not
track failures and simply returns the exit code of the last test.
To fix this, each test binary is checked individually for failure. If any test fails,
a non-zero exit code is returned.

This ensures that test failures are not silently ignored and are properly reported
by ptest-runner in multi-test scenarios.

(From OE-Core rev: 039708d2aa578da755d5b6eadd6f549121a93186)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Ines KCHELFI
40346626ec ptest-cargo: refactor run-ptest generation to remove redundancy
This refactoring simplifies the generation of the run-ptest script by
removing redundant logic and improving readability.

(From OE-Core rev: 287614a847651f8bd528597b7d6ccb8ad8262367)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Ross Burton
c2aec3f86c uninative: show errors if installing fails
We call the installer script but if it fails the user doesn't see the
reason, which makes resolving the problem hard.  Capture both stdout and
stderr as text, and display it to the user when it fails.

(From OE-Core rev: c67fbe17ce063350181c28f99662004737d8b770)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Ross Burton
70910dad0d bmaptool: put the PV in the filename
We're shipping a release but the filename suggests it is a git snapshot.

To avoid version-going-backwards errors we need to continue to put +git
in the PV, so add a comment to remind the upgrader to remove it.

(From OE-Core rev: 467a75c70506720e5603143afc2d005cf14cffeb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Niko Mauno
b8e48df4fc dbus: Remove 'dbus-x11' from RPROVIDES
Since runtime dependencies to the old 'dbus-x11' compatibility label
are now no longer used in either poky or meta-openembedded provided
layers, we can remove it.

(From OE-Core rev: 2639ab4fd8855ada4ae8e2093868d7978220e783)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Peter Marko
0b25d55bc0 linux/cve-exclusion: do not shift first_affected
Stop shifting first_affected if backport is indicated. This does not
have effect on generated list, but makes the logic cleaner as it will
not shift it to "first affected on our branch" and also make it behave
like in defaultStatus==affected case.

Cc: daniel.turull@ericsson.com
(From OE-Core rev: dc1ecb69389dd79354084757ba6b9af0781afcc0)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Peter Marko
d5b1922a69 linux/cve-exclusion: update exclusions after script fixes
This will shift fixed version of many CVEs, it does not change status of
any CVE.

Note that the current format of cvelistV5 does not allow us to determine
real value of "fixed_in" without also checking the hashes, but the
result are still fine.
The reason is that many entries are missing original_commit_for_fix
field and thus we see the final "fixed_in" version to be set to backport
to previous branch (e.g. 6.12.23 instead of 6.13).

(From OE-Core rev: 1697404589e2d3a625f9da2e8906e47af668c1c3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Peter Marko
df2436ba97 linux/cve-exclusion: correct fixed-version calculation
Current code takes the first version found as "fixed-version".
That is not correct as it is almost always only the oldest backport.
Fix it by unconditionally shift the assigmnet of variable "fixed" so
that we take last instead of first version.

Cc: daniel.turull@ericsson.com
(From OE-Core rev: 68f8e58a249c8adef18e63f0841e8bfea16f354e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Peter Marko
8ad06a02ae linux/cve-exclusion: update with latest cvelistV5
This is preparation for fix in the script so that next update shows only
entries updated by the script change.

(From OE-Core rev: 583e9f15c01555863ae467c7f91729ce85aae194)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Khem Raj
2ebe2d59e2 harfbuzz: Upgrade to 11.1.0 release
Changes are:

Include bidi mirroring variants of the requested codepoints when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be used to disable this behaviour.
Various bug fixes.
Various build fixes and improvements.
Various test suite improvements.

(From OE-Core rev: 61a4ec67b4721d4a13b3c1171e55bdef50f7e85e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
6cf96bd710 bash: use -std=gnu17 also for native CFLAGS
* fixes builds on host with gcc-15:
  http://errors.yoctoproject.org/Errors/Details/853016/

../../bash-5.2.37/builtins/mkbuiltins.c:268:29: error: too many arguments to function ‘xmalloc’; expected 0, have 1
  268 |           error_directory = xmalloc (2 + strlen (argv[arg_index]));
      |                             ^~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(From OE-Core rev: 663a79bbf2f2e113992e457244964b7582d9caaf)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
bbdb4ffea5 ghostscript: fix build with gcc-15 on host
(From OE-Core rev: 02e282f6417274a93c6f01978bf33e2d171297b0)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
98f2376d82 flex: fix build with gcc-15 on host
* fixes:
  http://errors.yoctoproject.org/Errors/Details/853017/

../../flex-2.6.4/src/../lib/malloc.c:6:12: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
    6 |      void *malloc ();
      |            ^~~~~~
../../flex-2.6.4/src/../lib/malloc.c:5:1: note: ‘malloc’ is declared in header ‘<stdlib.h>’
    4 |      #include <sys/types.h>
  +++ |+#include <stdlib.h>
    5 |
../../flex-2.6.4/src/../lib/malloc.c: In function ‘rpl_malloc’:
../../flex-2.6.4/src/../lib/malloc.c:16:15: error: too many arguments to function ‘malloc’; expected 0, have 1
   16 |        return malloc (n);
      |               ^~~~~~  ~
../../flex-2.6.4/src/../lib/malloc.c:6:12: note: declared here
    6 |      void *malloc ();
      |            ^~~~~~
make[2]: *** [Makefile:1431: ../lib/stage1flex-malloc.o] Error 1

(From OE-Core rev: e1832f02d70bd4082bc82ae2983546c880818491)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
ffd02fb1f7 pkgconfig: fix build with gcc-15
* on hosts with gcc-15 or whenever glib PACKAGECONFIG isn't enabled
  and pkgconfig uses own old bundled glib

* fixes:
  http://errors.yoctoproject.org/Errors/Details/853015/
../../../git/glib/glib/goption.c:169:14: error: two or more data types in declaration specifiers
  169 |     gboolean bool;
      |              ^~~~
../../../git/glib/glib/goption.c:169:18: warning: declaration does not declare anything
  169 |     gboolean bool;
      |                  ^

(From OE-Core rev: aada741d57e181ff35e0715012513dc9d669eaef)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
f071446102 wget: use libpcre2
libpcre is obsolete and unmaintained, as wget supports libpcre2 now we
should use that instead.

(From OE-Core rev: c287a6c6365c9e30beebebeb5cd936d3c22829db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
bcf2a29314 libunwind: fix the build with GCC 15
Backport a patch from upstream to fix the build when GCC 15 is used.

(From OE-Core rev: cdae3b07ac4b5e59e33d96c1da9c5dda53de9d04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
35c08bed88 libunwind: fix build when unused sections are garbage collected
poky-tiny uses gcsections.inc to strip unused sections from the
binaries.  However, on qemuarm5/qemuarm64 with poky-tiny this appears to
result in too much being removed and the link fails:

  ld: .libs/Gtest-trace: hidden symbol `__aarch64_cas8_acq_rel' in
  libgcc.a(cas_8_4.o) is referenced by DSO

Work around this by disabling gcsections.inc.

(From OE-Core rev: 3291827895906e879a7f115eae78aec921a5aa96)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
bb3fc52010 libunwind: check if libatomic is needed at configure time
Backport a patch submitted upstream to conditionally link explicitly to
libatomic, so we don't need to that in the recipe.

(From OE-Core rev: 797e645dbcb8a05a2514afc2d5bc2b0b661a0d0e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
f2dc1e086c libunwind: refresh ppc32/musl patch
There was a precedence order problem in the patch so update to the latest
version in the pull request.

(From OE-Core rev: c64c4ca0c72f6fde3b1d5cfea5803ddf16550fd5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Khem Raj
f2bef9fa5f toolchain/clang: Remove duplicate RANLIB setting
Its already assigned couple of lines above

(From OE-Core rev: 67a1d55cb50703a3f585521cf44693ade66cc88b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Samuli Piippo
d8fe48df20 libjpeg-turbo: don't use chrpath
chrpath doesn't work on mingw32 binaries:

| `/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libjpeg-turbo/3.0.1/image//usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-w64-mingw32/usr/bin/cjpeg.exe' probably isn't an ELF file.
| elf_open: Exec format error

Instead, use CMake variable to disable RPATH and avoid the
useless-rpaths QA error.

(From OE-Core rev: 7ffbc913d4b03da4154341f5ca995f767a3bee33)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
9440ea0648 alsa-utils: upgrade 1.2.13 -> 1.2.14
Remove 2 patches now included upstream.

Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14

(From OE-Core rev: 23cb89eec07596330a1234f32ff47783c8f00d30)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
324dfd2c77 alsa-ucm-conf: upgrade 1.2.13 -> 1.2.14
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14
(From OE-Core rev: 8a42c65a4db8db6e6a829b66e31b4719b8916883)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
7acf576b04 alsa-tools: upgrade 1.2.11 -> 1.2.14
Remove 1 patch now included upstream.

Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14

(From OE-Core rev: 3a394ca7172e80b07f76fb93882d3597d7108219)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
905df9de05 alsa-lib: upgrade 1.2.13 -> 1.2.14
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14
(From OE-Core rev: 8518e57a117a67f6a6d963bbb0841a2a40ad7bff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Markus Volk
40f2090c04 default-providers.inc: add entries for virtual/libsdl2
virtual/libsdl2 can be provided by 'libsdl2' and 'libsdl2-compat' where the latter
is a replacement for libsdl2 that uses libsdl3 behind the scenes and should
be favored if applicable.

(From OE-Core rev: e79d41c9fea112d919fad2603ab0add6c1760757)

Signed-off-by: Markus Volk &lt;<a href="mailto:f_l_k@t-online.de">f_l_k@t-online.de</a>&gt;
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Markus Volk
9737076e33 mpg123: make use of virtual/libsdl2
Fix to ensure it would work with both libsdl2 and libsdl2-compat

(From OE-Core rev: 587ccc776e1571f7cccf03104088ecc1e7becf5c)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Trevor Gamblin
c4af26f889 python3-numpy: upgrade 2.2.4 -> 2.2.5
Changelog: https://github.com/numpy/numpy/blob/main/doc/changelog/2.2.5-changelog.rst

Reproducibility looks OK:

|2025-04-24 10:27:00,978 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1203.06s)
|2025-04-24 10:27:00,985 - oe-selftest - INFO - SUMMARY:
|2025-04-24 10:27:00,985 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1233.056s
|2025-04-24 10:27:00,985 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: d2ac1be4d2257106c5146ea3c3a136fc4b5116ad)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Antonin Godard
c1cac08c7c linux-firmware: fix zst install suffix
The linux-firmware Makefile defines an 'install-zst' rule, but currently
fw_compr_suffix() return the '-zstd' suffix when FIRMWARE_COMPRESSION is
set to 'zstd' which produces:

  make: *** No rule to make target 'install-zstd'.

Return '-zst' instead to properly run 'make install-zst'.

(From OE-Core rev: cc9d972eba1f47fba206665260690ad8de99679f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Nguyen Dat Tho
bbcc57ba12 libatomic-ops: Update GITHUB_BASE_URI
libatomic-ops moves to new repo https://github.com/ivmai/libatomic_ops
according to topic: https://github.com/bdwgc/libatomic_ops/issues/66

(From OE-Core rev: e65452b60d04bae3cdc4f5f5883f60ed78c60594)

Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Alexander Kanavin
2c841a2548 libarchive: correct upstream version check
File index works now:
http://libarchive.org/downloads/

(From OE-Core rev: 11dfb88badcbb0daf3744eb3ab82bf9290ae5981)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Alexander Kanavin
5eb2bdff94 libunwind: use github-releases class to determine latest versions
(From OE-Core rev: 43ee9831326eac7877b7f148b145c0369c9a06cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Alexander Kanavin
0767b55acc tcf-agent: update SRC_URI to https://gitlab.eclipse.org
(From OE-Core rev: 5b8190ab58bd235b797b5acfa20e49e28b381990)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Daniel Turull
573c7b54e6 cve-exclusions: correct cve status for 5 entries
In commit 8a7af09feb the CVE_STATUS was copy from the old data
for 6.6 kernel, which had backport information.
Correcting status to when the fix was introduced and adding
references to the fixes.

Fixes: 8a7af09febc28477094de0999ab6321d910811b2
Reported-by: Peter Marko <Peter.Marko@siemens.com>
(From OE-Core rev: fc3e32bc4cf79ddce0eb9fa409656de4dc0e00ea)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-26 23:17:15 +01:00
Mathieu Dubois-Briand
3f1aa58463 linux/cve-exclusion: Update exclusions after kernel update
Update CVE exclusions with the update script, as the kernel was updated.

(From OE-Core rev: 6e9da1183f50a9ec978d867d7a4f515239fde8d2)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-26 23:17:15 +01:00
Richard Purdie
4726c18047 send-error-report: Apply v2 of the patch
The v1 of the patch was merged, update to v2.

(From OE-Core rev: 54c84be6e4643396b47b7d8cca803f914455ade9)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 16:08:42 +01:00
Joao Marcos Costa
640970e6b7 multilib.conf: fix typo in comment
(From OE-Core rev: db2ce170f0381886bab8f05f88a8d8fb1a5844e4)

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 13:43:31 +01:00
Mikko Rapeli
5b45f60969 genericarm64.conf: increase INITRAMFS_MAXSIZE
Since pmem kernel drivers were enabled as modules, the initrd
size limit is hit. On genericarm64 all kernel modules and some
firmware files get installed to initrd by default which make
the thing large. I'm working on patches to reduce the kernel drivers
installed to initrd and to make the kernel in general more modular
(btrfs 5 Mb etc built into kernel by default). For now just increase
the size limit to unblock genericarm64 builds and testing.

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15833

(From meta-yocto rev: 09bef6a491c087f0f0371874e759aae08a720c4e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 08:17:39 +01:00
Antonin Godard
c807b703cd bitbake: doc: bitbake-user-manual-metadata: provide link to new doc
Replace the now obsolete paragraph of the "Other Functions" section by
a link to the new "Library Functions" document.

(Bitbake rev: 0eecb4b2ee4fe5339340ed0d08783aa03bf051cc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Antonin Godard
a035cd4718 bitbake: doc: add a new Library Functions document
Add a new document to the BitBake user manual that automatically
documents the library functions from their docstrings. The docstrings
can be formatted in reStructuredText.

Here logging utilities and the bb.utils module is documented. Some
members of the utils module were deliberately excluded as their usage is
most likely only internal to BitBake.

Fixes [YOCTO #9612]

(Bitbake rev: 0a711949acc2696f32a61c591ee3ea37041acb91)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Antonin Godard
1215042fa7 bitbake: lib/bb: format and improve logging docstrings
Format the docstrings of the utils modules to be automatically
documented with the autodoc Sphinx extensions.

(Bitbake rev: 4963bfc6045ad1f49e721edd97766dab1e2d1edc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Antonin Godard
8c24921ba6 bitbake: utils: format and improve docstrings
Format the docstrings of the utils modules to be automatically
documented with the autodoc Sphinx extensions. Sphinx syntax can be used
in those for proper formatting. Cross-referencing with :term: is not
possible in these.

(Bitbake rev: 2fa1c7ad43639c6d25c94b7794bcce5f5ff74e10)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Mark Asselstine
da63ef8c75 bitbake: utils: lock_timeout_nocheck() ensure l is initialized
lock_timeout_nocheck() can be interrupted immediately after enterring
the try-block and prior to initializing 'l', for example with a
ctrl-C, the code in finally will still be run and the 'if l' will
fail. Initialize 'l' as False to avoid this possiblity.

(Bitbake rev: 4885cd9d275ba2ab60e5c76aed856c34533cd3ae)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Lei Maohui
a3a10a15c4 python3-hypothesis: Update to use the new ptest-python-pytest class
(From OE-Core rev: e68ad590f9c0b4bcba94ad571553d81e2a7c6f50)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:47:23 +01:00
Mingli Yu
4ac36e4b08 base-files: Make PATH retain the existing value
We may set the PATH variable such as in /etc/environment for ssh session,
so make PATH retain the previous existing value to fix the gap.

(From OE-Core rev: 4340cd7da25c69424915f29c2bb9531fc33617e6)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:47:23 +01:00
Peter Marko
9e2219219e ptest-cargo: handle packageconfig arguments
Align cargo options between ptest-cargo and cargo classes.

After oe-core commit 16745b20452de60ae2474433cc1a2fb1ed9f6a64 there is
a discrepancy between cargo arguments in compile and compile-ptest-cargo
steps when packageconfig is used for cargo based recipes.

Currently we have to do something like following code to build ptest
enabled cargo based recipe:
CARGO_BUILD_FLAGS:append:task-compile-ptest-cargo = " ${PACKAGECONFIG_CONFARGS}"
Otherwise the options are either doubled in compile step or completely
missing in compile-ptest-cargo step.

(From OE-Core rev: 98d03d31de4010534b1a00d29409d3486a0ab0b9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Khem Raj
9a140f56b0 webkitgtk: Fix build break on non-arm/non-x86 systems
Fixes
/webkitgtk-2.48.1/Source/WebCore/platform/audio/DenormalDisabler.cpp:94:47:
   ↪ error: expected ';' after default
   |    94 | DenormalDisabler::DenormalDisabler() = default
   |       |                                               ^
   |       |                                               ;

(From OE-Core rev: 3325e4e7fc82861abf7505ed4f7926dacab96b30)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Mingli Yu
50439c3bc0 openssh: Add pam_env support
Make setting environment variables in /etc/environment or
/etc/security/pam_env.conf take effect for ssh session.

[ YOCTO # 15767]

(From OE-Core rev: 4e6762f5967b1996cf31ae100fa49e775dfb2866)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Yi Zhao
388514045d sign_rpm.bbclass: fix variable assignment whitespace
Fixes:
WARNING: meta/classes/sign_rpm.bbclass:36 has a lack of whitespace
         around the assignment: 'RPM_SIGN_PACKAGES='1''

(From OE-Core rev: d393539e03b60bf299e2d1c8ac781e0c6f7787b1)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Yi Zhao
21a6fe43bf dpkg: drop suffix from version number
The current dpkg runtime version is generated by 'git describe' command
in build-aux/get-version. But since we have made changes to git repo
locally, it adds a -dirty suffix to the version number.

Add a .dist-version file in the source directory. Then get-version can
determine the version through .dist-version instead of "git describe"
command, thus removing the -dirty suffix.

Before the fix:
$ dpkg --version
Debian 'dpkg' package management program version 1.22.11-dirty (amd64).

After the fix:
$ dpkg --version
Debian 'dpkg' package management program version 1.22.11 (amd64).

(From OE-Core rev: 04d00d69941a9d09bfbb0956186db7a7d0961327)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Chen Qi
ced2a38e19 image/populate_sdk.bbclass: drop qemuwrapper-cross from DEPENDS
For packages that need qemuwrapper-cross, they should have it
in PAKAGE_WRITE_DEPS.

Now that we've used 'qemuwrapper-cross' to replace 'qemu-native'
for recipes that need qemu-native for their postinsts, and we've
now mapped PACKAGE_WRITE_DEPS for nativesdk recipes, these
qemuwrapper-cross dependencies can be dropped from image.bbclass
and populate_sdk.bbclass.

(From OE-Core rev: fbac8d025585fe704f79ccdf00f376f677e3a89d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Peter Marko
416a5dff54 spdx: extend CVE_STATUS variables
If spdx is generated without inheriting cve/vex classes (which is poky
default), only explicitly set CVE_STATUS fields are handled.
Calculated ones (e.g. from CVE_STATUS_GROUPS) are ignored.

Fix this by expanding the CVE_STATUS in spdx classes.

(From OE-Core rev: ead9c6a8770463c21210a57cc5320f44f7754dd3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Peter Marko
9fd08fcd94 cve-check: extract extending CVE_STATUS to library function
The same code for extending CVE_STATUS by CVE_CHECK_IGNORE and
CVE_STATUS_GROUPS is used on multiple places.
Create a library funtion to have the code on single place and ready for
reuse by additional classes.

(From OE-Core rev: 45e18f4270d084d81c21b1e5a4a601ce975d8a77)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Olga Denisova
f68e3e49d4 pybootchartgui: visualize /proc/net/dev network stats in graphs
This patch adds support for parsing and visualizing network interface statistics from /proc/net/dev in pybootchartgui. It introduces a new NetSample class to hold per-interface metrics, including received/transmitted bytes and their deltas over time.

The data is drawn using line and box charts in draw.py and helps to monitor
network usage during the boot process for each interface individually.

(From OE-Core rev: 9e640022c83a627bd05c23b66b658bd644b2f0d7)

Signed-off-by: denisova-ok <denisova.olga.k@yandex.ru>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Olga Denisova
a0c83d9069 buildstats.py: Add tracking of network I/O per interface
This patch extends SystemStats to collect and store data from /proc/net/dev.
It extracts per-interface received and transmitted bytes, calculates deltas
between samples, and stores them for further analysis.

Useful for identifying network bottlenecks during long-running builds.

(From OE-Core rev: 09cbe17e43783fc6b8e3a341d564956452a04c0a)

Signed-off-by: denisova-ok <denisova.olga.k@yandex.ru>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
denisova-ok
5b74c76964 buildstats.py: extend diskstats support for NVMe and flexible token count
Added support for NVMe devices in the diskstats regex pattern to ensure stats are properly collected from devices like nvme0n1.

Relaxed the check for the number of fields in /proc/diskstats from an exact match (14) to a minimum check (at least 14), to handle kernel variations and additional fields gracefully.

(From OE-Core rev: 87a31bc4ca3661aae94cf43f3f579b02f4fb4923)

Signed-off-by: denisova-ok <denisova.olga.k@yandex.ru>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Changqing Li
8dcd0f73eb buildtools-tarball: Make buildtools respects host CA certificates
To adapt user network enviroment, buildtools should first try to use
the user configured envs like SSL_CERT_FILE/CURL_CA_BUNDLE/..., if these
envs is not set, then use the auto-detected ca file and ca path, and
finally use the CA certificates in buildtools.

nativesdk-openssl set OPENSSLDIR as "/not/builtin", need set SSL_CERT_FILE/SSL_CERT_DIR to work

nativesdk-curl don't set default ca file, need
SSL_CERT_FILE/SSL_CERT_DIR or CURL_CA_BUNDLE/CURL_CA_PATH to work

nativesdk-git actually use libcurl, and GIT_SSL_CAPATH/GIT_SSL_CAINFO
also works

nativesdk-python3-requests will use cacert.pem under python module certifi by
default, need to set REQUESTS_CA_BUNDLE

(From OE-Core rev: 8a7ec52e9b35654bee48cd948c6c34c63db3e265)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Martin Jansa
f4d8e84fd9 buildcfg: get_metadata_git_*: catch also bb.process.NotFoundError
* bb.process.NotFoundError is triggered when e.g. oe.buildcfg.get_metadata_git_branch
  is called on non-existent directory

(From OE-Core rev: 34c1f66c4c689b26a4c3129eb62f4ff9b6ec14be)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Yoann Congal
706085aaf7 rpm-sequoia-crypto-policy: Fix build failure on Debian 12+Strongswan
rpm-sequoia-crypto-policy tries to validate the configuration files
using host tools. For the Strongswan policy, it uses
"ipsec readwriteconf" which is not available on Debian 12 with
Strongswan installed.
To fix this, add and use an option to skip the problematic validation.

(From OE-Core rev: d10ca0fe194b62b2f383be880a008cde2bd0fd4f)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:27:06 +01:00
Ross Burton
576c4fd9e0 systemd: always depend on the explicit serial console units
The systemd-serialgetty recipe generates explicit units for consoles
that are defined in SERIAL_CONSOLES, and if that variable is not defined
then just produces an empty package.

Even when systemd has been configured to use the getty generator, if
there are explicit consoles defined then we should respect them.  Don't
conditionalise the dependency on systemd-serialgetty so that we always
pull in the explicit consoles.

(From OE-Core rev: a7036173acdb84d516f17257e02a936f04c584d8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:52:58 +01:00
Ross Burton
11a005cae7 systemd: enable getty generator by default
Until recently, even when the getty generator was disabled in the
systemd recipe it was actually still active.  This was because the old
behaviour was to delete the serial-getty template unit if the generator
was disabled, but the systemd-serialgetty package shipped then shipped
the same files so the generator continued to run.  This was a bug in the
original commit[1] so this behaviour has been present since 2016.

My recent fixes[2] changed this: if the getty generator was disabled
then the generator itself is deleted. This makes the actual behaviour
match the intention, but the consequence was to demonstrate that some
modern platforms were relying on this unexpected behaviour: specifically
the genericarm64 BSP which intends to support a number of virtual and
physical boards with a number of serial console ports that are not
really suitable to be hardcoded into SERIAL_CONSOLES:

- ttyS0
- ttyAMA0 (AMBA PL011 uart)
- ttyS2 (BeagleBone Play, S0 and S1 are internal)
- hvc0 (KVM)
- ttyPS1 (AMD KV260)
- And most likely more

Restore the existing behaviour by explicitly enabling the serial getty
generator: this means that systemd will automatically bring up a getty
on the first serial console it finds.

In the future we should extend some level of dynamic console-finding to
sysvinit-based systems by searching for a console device in inittab, but
for now this reverts the unintentional regression.

[1] oe-core 2a8d0df47c9 ("systemd: make systemd-serialgetty optional")
[2] oe-core 2beb3170af6 ("systemd: if getty generator is disabled remove
    the generator, not the units")

(From OE-Core rev: af15f9d1609708443ed036fdb611cea92f566620)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:52:58 +01:00
Ross Burton
b7fcba6e51 genericarm64: add ttyPS1 for KV260
The AMD KV260 has a serial console on ttyPS1, so until we can dynamically
detect the console under sysvinit we can add it to SERIAL_CONSOLES so
this platform has a working console when not running systemd.

(From meta-yocto rev: c1824bbee5d7febe4154d683e895470c08b681a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:52:01 +01:00
Antonin Godard
24a0e1794e migration-guides/release-notes-5.2.rst: add missing cves
Add missing fixed CVEs to the release note as reported here:
https://lore.kernel.org/r/5fc0d33e-4ba5-4f8d-80c2-c5c87be79680@gmail.com

Additions can be verified at the following links:
- https://gstreamer.freedesktop.org/security/
- https://www.openssh.com/txt/release-9.9p2
- http://www.dest-unreach.org/socat/

libssh2 CVE-2023-48795 was already fixed in previous releases so remove
it. See the previous migration guides.

Otherwise the CVE entries have been sorted.

Reported-by: Takayasu Ito <ypa.takayasu.ito@gmail.com>
(From yocto-docs rev: b8d9cf79d299b2e553e6bc962527d835206022ec)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:30 +01:00
Antonin Godard
3134b004db migration-guides/release-notes-5.2.rst: fix badly formatted gstreamer entries
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 22babeaa9ef4c0e6706c6de8f16fbd0e8d505818)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:30 +01:00
Antonin Godard
8adf8fb2a3 migration-guides/{migration,release-notes}-5.2.rst: notes for systemd pni-names
Add a note to the migration guide regarding the pni-names behavior
change.

Suggested-by: Enrico Jörns <ejo@pengutronix.de>
(From yocto-docs rev: 9a1b9778c296351a575501a4abc5317e9be954bc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 19:50:30 +01:00
Deepesh Varatharajan
ba50aac23c rust: re-enable the unit tests that are ignored
Some unit tests were previously marked as ignored due to failures in earlier
versions of Rust. With the upgrade to Rust 1.85.1, these tests are now passing
consistently. They've been re-enabled and verified to run successfully on the
latest version.

(From OE-Core rev: 65c207fb034848f9ef0de8cf8725c5eded363aca)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Richard Purdie
147011a7f6 lttng-modules: Upgrade 2.13.17 -> 2.13.18
Includes fixes for 64 bit time on 32 bit platforms.

(From OE-Core rev: f50a33c074a2de99c6b4b889c91c673162ec4040)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Richard Purdie
bb54e758d2 lttng-tools: 2.13.14 -> 2.13.15
Includes fixes for 64 bit time on 32 bit platforms.

(From OE-Core rev: bbb542aff833353dd5645e7f4c279ac3625a416f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Markus Volk
571a4f4bb8 qemu: add PACKAGECONFIG for sdl-image
This allows to enable sdl-image support from a bbappend file

(From OE-Core rev: ca848cd15bf61f12cdadf4c94c985f2e87a932c8)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Dmitry Baryshkov
88ebbd6b99 mesa: bundle Clang OpenCL headers into meta-clc
Add a patch bundling OpenCL headers into meta-clc. This removes extra
runtime dependencies when runnign meta-clc compiler.

(From OE-Core rev: 8a627d93a6a37382c75ca45f5afb9fec069877f8)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Dmitry Baryshkov
b269fbd5b9 mesa: drop the bindgen patch
Drop the bingen-target and bindgen-includedir options in favour of the
bindgen_clang_args being passed through the meson target file.

(From OE-Core rev: efd31bbd52b94ac7633e5c9d1664f2305c074059)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Dmitry Baryshkov
581861b94b meson: pass -target and -I to bindgen calls
In order to properly generate Rust bindings for the target systems, we
need to pass '-taget foo-linux-gnueabi' flags and a correct include
target include path (${STAGING_INCDIR}) to the bindgen. Add those
flags to the generated meson target file.

(From OE-Core rev: 40008d55c01681c60088e5b7defb0b8513a4ed1c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Khem Raj
ea00dbbcf3 bitbake.conf: Switch prefix mapping to use -ffile-prefix-map
-ffile-prefix map is more comprehensive when it comes to reproducible
builds and its superset of all prefix-mapping options in compilers

This makes is cleaner and workable across gcc and clang, clang does not
support -fcanon-prefix-map and it has to be explicitly omitted when using
clang.

There are lambdas generated in templates by clang which still get the
absolute paths despite -fdebug-prefix-map, this helps with that as well.

nasm is an outlier and we have fixed it by adding -fdebug-prefix-map option
luckily we do not pass DEBUG_PREFIX_MAP to nasm, in all recipes which use
nasm either pass -fdebug-prefix-map explicitly to nasm or they rewrite it
to use nasm flags syntax.

We have discussed this in past [1]

[1] https://patchwork.yoctoproject.org/project/oe-core/patch/20230428032030.2047920-1-raj.khem@gmail.com/#10281

(From OE-Core rev: ff73fa7ef7666a6dbe34f15515bc3ab6e574c5b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jacob Kroon <jacob.kroon@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Khem Raj
15a20fdcba glibc: Forward -ffile-prefix-map option to assembler flags
(From OE-Core rev: a85cccc80aa7e6d6a5850c2d730cba5e1cb60cb3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Chen Qi
24adab701a nativesdk.bbclass: handle PACKAGE_WRITE_DEPS
We want nativesdk packages to depend on correct recipes introduced
by PACKAGE_WRITE_DEPS, so do the same mapping just as we do for DEPENDS.

Before this change:
  nativesdk-glib-2.0 -> qemuwrapper-cross

After this change:
  nativesdk-glib-2.0 -> nativesdk-qemuwrapper-cross

This can fix do_populate_sdk failure complaining missing of
nativesdk-qemuwrapper. Error message is like below:

  NOTE: > Executing update_gio_module_cache-nativesdk intercept ...
  NOTE: Exit code 127. Output:
  /xxx/lib32-core-image-sato/1.0/intercept_scripts-xxxx/
  update_gio_module_cache-nativesdk: 13: nativesdk-qemuwrapper: not found

(From OE-Core rev: 89ac78e68c4be6e6163223c99e140e7530a61e8e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Chen Qi
5780f45bc1 cpio: fix ptest-runner dependency
ptest is only meaningful for target. So we need to specify class-target
override to ensure correct dependency.

Also, the above DEPENDS:append:class-targets lacks a leading whitespace,
add it.

(From OE-Core rev: ef705f6969845aa4b28cb2cfb95b0aa0c67c11e3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Chen Qi
741e12d5b9 classes/recipes: remove unnecessary qemu inherit and use qemuwrapper-cross
These classes/recipes inherit qemu.bbclass but do not use anything from it.
What they use is qemuwrapper-cross, which is needed at do_rootfs time and
needs to be pulled-in by PACKAGE_WRITE_DEPS.

Also, in meta/conf/layer.conf, exclude qemuwrapper-cross deps for all arch
recipes that depend on it. This it ensure allarch recipes have the same
signature across different machines.

(From OE-Core rev: 6f3ce94f4c03e7b26f1fcdf78ea969f57717ec56)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Bruce Ashfield
87c2effeb9 linux-yocto/6.12: cfg: fix iommu configuration for -tiny kernel
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: iommu: add config dependencies
    Date: Sun, 20 Apr 2025 22:28:21 -0400

    commit [cfg/intel.scc: Include iommu.scc for Arrowlake boot support]
    moves the iommu configuration to a location that is included by more
    BSPs and kernel types.

    One of those kernel types is the -tiny kernel, which uses a allnoconfig
    base. Due to the allnoconfig, there are missing dependencies to allow
    the desired options to be enabled in the final .config

    Those missing options throw configuration audit warnings

    By adding the required dependencies to the fragment, it is now
    standalone and can be included from anywhere without configuration
    audit warnings being triggered.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: fdef4e2efa1b7d91e43b1758af667b3bb376fd23)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Bruce Ashfield
91d9d2fafa linux-yocto/6.12: cfg: Include iommu.scc for Arrowlake boot support
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Yogesh Tyagi
    Email: yogesh.tyagi@intel.com
    Subject: cfg/intel.scc: Include iommu.scc for Arrowlake boot support
    Date: Mon, 14 Apr 2025 11:55:45 +0530

    Move features/iommu/iommu.scc from bsp/intel-common/intel-corei7-64.scc and
    bsp/intel-x86/intel-x86.scc to cfg/intel.scc to eliminate redundancy and ensure
    IOMMU support (CONFIG_INTEL_IOMMU=y, etc.) is enabled for genericx86-64
    on Intel Arrowlake, resolving boot issues.

    This changes is needed in 6.12 as well as master branch.

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

    Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 7cbdfc1091879ba20ba0c33938eb9814f2be8d0c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Bruce Ashfield
39cfee1199 linux-yocto/6.12: update to v6.12.23
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    83b4161a63b8 Linux 6.12.23
    e70b4b8f93d7 platform/x86/amd/pmf: fix cleanup in amd_pmf_init_smart_pc()
    625e9b91eb13 tracing: Do not use PERF enums when perf is not defined
    59fc42318305 ARM: 9443/1: Require linker to support KEEP within OVERLAY for DCE
    c6f2a8146da1 NFSD: Skip sending CB_RECALL_ANY when the backchannel isn't up
    afec5b5010de NFSD: Never return NFS4ERR_FILE_OPEN when removing a directory
    101fd0aa0d7d NFSD: nfsd_unlink() clobbers non-zero status returned from fh_fill_pre_attrs()
    a84c80515ca8 nfsd: fix management of listener transports
    cad3479b6366 nfsd: put dl_stid if fail to queue dl_recall
    52e209203c35 nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid()
    adf0ddb914c9 media: streamzap: fix race between device disconnection and urb callback
    845e9286ff99 media: vimc: skip .s_stream() for stopped entities
    e2d8e7bd3314 exec: fix the racy usage of fs_struct->in_exec
    747e3eec1d7d mm: zswap: fix crypto_free_acomp() deadlock in zswap_cpu_comp_dead()
    2d9709690f31 jfs: add index corruption check to DT_GETPAGE()
    0beddc2a3f9b jfs: fix slab-out-of-bounds read in ea_get()
    b47584c55644 ext4: fix OOB read when checking dotdot dir
    13d6f8ba5074 ext4: don't over-report free space or inodes in statvfs
    0cfea60966e4 wifi: mt76: mt7921: fix kernel panic due to null pointer dereference
    2df8ee605eb6 arm64: Don't call NULL in do_compat_alignment_fixup()
    2e877ff34922 mm/gup: reject FOLL_SPLIT_PMD with hugetlb VMAs
    1abca855ea9f tracing/osnoise: Fix possible recursive locking for cpus_read_lock()
    33052e7f52c5 tracing: Fix synth event printk format for str fields
    cffc2a6718e4 tracing: Ensure module defining synth event cannot be unloaded while tracing
    c85efe6e1374 tracing: Fix use-after-free in print_graph_function_flags during tracer switching
    37c9875c178f exfat: fix potential wrong error return from get_block
    49b0a6ab8e52 exfat: fix random stack corruption after get_block
    ca8bed31edf7 ksmbd: fix null pointer dereference in alloc_preauth_hash()
    56de7778a485 ksmbd: validate zero num_subauth before sub_auth is accessed
    6a9cd9ff0fa2 ksmbd: fix overflow in dacloffset bounds check
    9069939d7621 ksmbd: fix session use-after-free in multichannel connection
    ca042cc0e4f9 ksmbd: fix use-after-free in ksmbd_sessions_deregister()
    800c482c9ef5 ksmbd: add bounds check for create lease context
    29b946714d6a ksmbd: add bounds check for durable handle context
    9bc3299039d2 KVM: SVM: Don't change target vCPU state on AP Creation VMGEXIT error
    a31fa24813a7 mmc: sdhci-omap: Disable MMC_CAP_AGGRESSIVE_PM for eMMC/SD
    1209241a6b40 mmc: sdhci-pxav3: set NEED_RSP_BUSY capability
    b548a448993a mmc: omap: Fix memory leak in mmc_omap_new_slot
    0c121f2065e4 Remove unnecessary firmware version check for gc v9_4_2
    6b9ddc4f5f2e media: omap3isp: Handle ARM dma_iommu_mapping
    9f7ae45f0c61 ARM: 9444/1: add KEEP() keyword to ARM_VECTORS
    498edda23f7e ACPI: resource: Skip IRQ override on ASUS Vivobook 14 X1404VAP
    e71a57c5aaa3 acpi: nfit: fix narrowing conversion in acpi_nfit_ctl
    339d6c965f20 wifi: mt76: mt7925: remove unused acpi function for clc
    93224deb50a8 x86/mm: Fix flush_tlb_range() when used for zapping normal PMDs
    70a2fa13d4a9 x86/tsc: Always save/restore TSC sched_clock() on suspend/resume
    e3d54decc75c x86/Kconfig: Add cmpxchg8b support back to Geode CPUs
    e8bba7ced03e idpf: Don't hard code napi_struct size
    c35771342e47 uprobes/x86: Harden uretprobe syscall trampoline check
    3a8bec6583e5 perf/x86/intel: Avoid disable PMU if !cpuc->enabled in sample read
    e853bb7d6aec perf/x86/intel: Apply static call for drain_pebs
    854b6764be33 ntb_perf: Delete duplicate dmaengine_unmap_put() call in perf_copy_chunk()
    1a85281415fb platform/x86: ISST: Correct command storage data length
    48792ab44552 platform/x86: thinkpad_acpi: disable ACPI fan access for T495* and E560
    35c1834dd630 ACPI: x86: Extend Lenovo Yoga Tab 3 quirk with skip GPIO event-handlers
    805e3ce5e0e3 x86/tdx: Fix arch_safe_halt() execution for TDX VMs
    3e3d8169c095 x86/mce: use is_copy_from_user() to determine copy-from-user context
    ada88219d531 x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
    d39838da59bd KVM: x86: block KVM_CAP_SYNC_REGS if guest state is protected
    a54247efbc73 x86/hyperv: Fix check of return value from snp_set_vmsa()
    add72c418d0a LoongArch: BPF: Use move_addr() for BPF_PSEUDO_FUNC
    223d565d8892 LoongArch: BPF: Don't override subprog's return value
    205a2182c51f LoongArch: BPF: Fix off-by-one error in build_prologue()
    0aa5d4370b5b LoongArch: Increase MAX_IO_PICS up to 8
    1d0def2d1658 LoongArch: Increase ARCH_DMA_MINALIGN up to 16
    dc07c4698587 rust: Fix enabling Rust and building with GCC for LoongArch
    d689645cd159 usbnet:fix NPE during rx_complete
    86f327305ed4 wifi: mac80211: Fix sparse warning for monitor_sdata
    96fa2608296d tty: serial: lpuart: only disable CTS instead of overwriting the whole UARTMODIR register
    b09ff334c168 tty: serial: fsl_lpuart: Fix unused variable 'sport' build warning
    ac08fa36d8cb tty: serial: fsl_lpuart: use port struct directly to simply code
    82719d0e7584 tty: serial: fsl_lpuart: Use u32 and u8 for register variables
    3501677651ca cgroup/rstat: Fix forceidle time in cpu.stat
    39bc1484eb06 cgroup/rstat: Tracking cgroup-level niced CPU time
    ef79f2dec7a9 tracing: Correct the refcount if the hist/hist_debug file fails to open
    eecb62a24b23 tracing/hist: Support POLLPRI event for poll on histogram
    fe87f8d3a5b4 tracing/hist: Add poll(POLLIN) support on hist file
    387dc88c2c27 tracing: Switch trace_events_hist.c code over to use guard()
    7de8290a66df tools/power turbostat: report CoreThr per measurement interval
    e9c928807239 perf/core: Fix child_total_time_enabled accounting bug at task exit
    d3f0a68b2914 drm/amdgpu/gfx12: fix num_mec
    2ac69453e9e5 drm/amdgpu/gfx11: fix num_mec
    528287815ee5 kbuild: deb-pkg: don't set KBUILD_BUILD_VERSION unconditionally
    8a88bb092f42 net: ibmveth: make veth_pool_store stop hanging
    ebebeb58d48e arcnet: Add NULL check in com20020pci_probe()
    f4fea25f5c7f ipv6: Do not consider link down nexthops in path selection
    1eb36a2cdf63 ipv6: Start path selection from the first nexthop
    2952776c69a1 net: fix geneve_opt length integer overflow
    9dec9dacaeed net: dsa: mv88e6xxx: propperly shutdown PPU re-enable timer on destroy
    de579015d132 ipv6: fix omitted netlink attributes when using RTEXT_FILTER_SKIP_STATS
    0a93a710d6df netfilter: nft_tunnel: fix geneve_opt type confusion addition
    92a5c1851311 net: decrease cached dst counters in dst_release
    9539c1721a36 tunnels: Accept PACKET_HOST in skb_tunnel_check_pmtu().
    47744d0d5f3b vsock: avoid timeout during connect() if the socket is closing
    a116b271bf3c udp: Fix memory accounting leak.
    94d5ad7b4112 udp: Fix multiple wraparounds of sk->sk_rmem_alloc.
    fcbfb54a0269 net: mvpp2: Prevent parser TCAM memory corruption
    e5178bfc55b3 sctp: add mutual exclusion in proc_sctp_do_udp_port()
    2f35b7673a3a net_sched: skbprio: Remove overly strict queue assertions
    3ba9cf69de50 netlabel: Fix NULL pointer exception caused by CALIPSO on IPv4 sockets
    feb1fa2a03a2 netfilter: nf_tables: don't unregister hook when table is dormant
    86bd9609fd3e netfilter: nft_set_hash: GC reaps elements with conncount for dynamic sets only
    79618e952ef4 idpf: fix adapter NULL pointer dereference on reboot
    d11d0ce887f4 e1000e: change k1 configuration on MTP and later platforms
    40d187b247b3 spi: bcm2835: Restore native CS probing when pinctrl-bcm2835 is absent
    174954911f1c ALSA: hda/realtek: Fix built-in mic on another ASUS VivoBook model
    48b175aa4677 spi: bcm2835: Do not call gpiod_put() on invalid descriptor
    4d8458e48ff1 ASoC: imx-card: Add NULL check in imx_card_probe()
    a3800b64f866 nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer
    c35ec5e046ba riscv/purgatory: 4B align purgatory_start
    4c6b1d08e614 riscv/kexec_file: Handle R_RISCV_64 in purgatory relocator
    be85b932b578 riscv: Fix hugetlb retrieval of number of ptes in case of !present pte
    e50781bf7acc spi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock()
    d3b862658669 ASoC: codecs: rt5665: Fix some error handling paths in rt5665_probe()
    c76bb2d0aa54 s390/entry: Fix setting _CIF_MCCK_GUEST with lowcore relocation
    7e3497d7dacb ublk: make sure ubq->canceling is set when queue is frozen
    efd101b1f0f5 x86/uaccess: Improve performance by aligning writes to 8 bytes in copy_user_generic(), on non-FSRM/ERMS CPUs
    0751db851374 RISC-V: errata: Use medany for relocatable builds
    92a25feb4546 ALSA: hda/realtek: Fix built-in mic breakage on ASUS VivoBook X515JA
    26d14768c4ba firmware: cs_dsp: Ensure cs_dsp_load[_coeff]() returns 0 on success
    3dbb73a07579 ntb: intel: Fix using link status DB's
    cb153bdc1812 ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans
    4119e80ce22d riscv: ftrace: Add parentheses in macro definitions of make_call_t0 and make_call_ra
    8522051c58d6 fs/9p: fix NULL pointer dereference on mkdir
    d04600f43569 spufs: fix a leak in spufs_create_context()
    029d8c711f5e spufs: fix gang directory lifetimes
    35f789ccebd6 spufs: fix a leak on spufs_new_file() failure
    7a95b4887348 netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int
    8a2cc9ffd13c hwmon: (nct6775-core) Fix out of bounds access for NCT679{8,9}
    bc08c087118e memory: omap-gpmc: drop no compatible check
    d840c84cdddd can: statistics: use atomic access in hot path
    54c198d672ca ALSA: hda/realtek: Add mute LED quirk for HP Pavilion x360 14-dy1xxx
    a3612053b2e7 selftests: netfilter: skip br_netfilter queue tests if kernel is tainted
    93c59b5548ee net: devmem: do not WARN conditionally after netdev_rx_queue_restart()
    cf1b90486748 drm/amd: Keep display off while going into S4
    3e6ce0d9ec79 nvme-pci: fix stuck reset on concurrent DPC and HP
    5e194e0f77ee x86/sgx: Warn explicitly if X86_FEATURE_SGX_LC is not enabled
    eafd7ec55b1d x86/hyperv: Fix output argument to hypercall that changes page visibility
    ddf40162ac79 locking/semaphore: Use wake_q to wake up processes outside lock critical section
    e401fa5b953e wifi: mac80211: fix SA Query processing in MLO
    9465e09b74eb wifi: mac80211: flush the station before moving it to UN-AUTHORIZED state
    56e6d4a8877f ASoC: rt1320: set wake_capable = 0 explicitly
    f8dfd7c50170 ASoC: codecs: wsa884x: report temps to hwmon in millidegree of Celsius
    e1fc76b2bbf3 x86/hyperv/vtl: Stop kernel from probing VTL0 low memory
    ecc08c460866 sched/deadline: Use online cpus for validating runtime
    c730833bc025 ALSA: hda/realtek: Add support for ASUS Zenbook UM3406KA Laptops using CS35L41 HDA
    01a27b2dd07f ALSA: hda/realtek: Add support for ASUS B5405 and B5605 Laptops using CS35L41 HDA
    2e2626d1e8db ALSA: hda/realtek: Add support for ASUS B3405 and B3605 Laptops using CS35L41 HDA
    f57ca98c65cd ALSA: hda/realtek: Add support for various ASUS Laptops using CS35L41 HDA
    ff8ebaf47dce ALSA: hda/realtek: Add support for ASUS ROG Strix G614 Laptops using CS35L41 HDA
    9dcf970c5c38 ALSA: hda/realtek: Add support for ASUS ROG Strix GA603 Laptops using CS35L41 HDA
    c7943f0677d6 ALSA: hda/realtek: Add support for ASUS ROG Strix G814 Laptop using CS35L41 HDA
    92075758782c exfat: add a check for invalid data size
    77a5ed6b0349 platform/x86/amd/pmf: Update PMF Driver for Compatibility with new PMF-TA
    5dd021991430 platform/x86/amd/pmf: Propagate PMF-TA return codes
    f7038ea68fc0 HID: i2c-hid: improve i2c_hid_get_report error message
    95459156b366 net: dsa: rtl8366rb: don't prompt users for LED control
    64eb31d872fe platform/x86/intel/vsec: Add Diamond Rapids support
    10ac73318c3a platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet
    6edee7c63b93 cifs: fix incorrect validation for num_aces field of smb_acl
    da087905e327 smb: common: change the data type of num_aces to le16
    7364420090ac perf/core: Fix perf_pmu_register() vs. perf_init_event()
    fbd3a04bd86f ALSA: hda: Fix speakers on ASUS EXPERTBOOK P5405CSA 1.0
    64c707d24ccc ALSA: hda/realtek: Fix Asus Z13 2025 audio
    83d888b69310 affs: don't write overlarge OFS data block size fields
    4fbfb003bba4 affs: generate OFS sequence numbers starting at 1
    d8575bdcf820 wifi: brcmfmac: keep power during suspend if board requires it
    5eb8c8fee726 nvme-pci: skip CMB blocks incompatible with PCI P2P DMA
    63bd235de242 nvme-pci: clean up CMBMSC when registering CMB fails
    c2fa1deeb4b8 nvme-tcp: fix possible UAF in nvme_tcp_poll
    12622cb7b1d8 wifi: iwlwifi: mvm: use the right version of the rate API
    bd888d67c7ce wifi: iwlwifi: fw: allocate chained SG tables for dump
    e0862a6d3dab wifi: mac80211: remove debugfs dir for virtual monitor
    5d42a3413724 wifi: mac80211: Cleanup sta TXQs on flush
    eb532ac40dc8 nfs: Add missing release on error in nfs_lock_and_join_requests()
    26bf086ebd70 objtool/loongarch: Add unwind hints in prepare_frametrace()
    d80168db5e0c rcu-tasks: Always inline rcu_irq_work_resched()
    00911b416ad7 context_tracking: Always inline ct_{nmi,irq}_{enter,exit}()
    8e49f912ae14 sched/smt: Always inline sched_smt_active()
    22e1e4e11af5 objtool: Fix verbose disassembly if CROSS_COMPILE isn't set
    10856c530de3 octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
    d2e60c3b8a62 octeontx2-af: Fix mbox INTR handler when num VFs > 64
    a436e1434317 net: phy: broadcom: Correct BCM5221 PHY model detection
    d3561dc471ac ACPI: processor: idle: Return an error if both P_LVL{2,3} idle states are invalid
    00c22ab0614a LoongArch: Rework the arch_kgdb_breakpoint() implementation
    035a4a852ee8 LoongArch: Fix device node refcount leak in fdt_cpu_clk_init()
    396cdb580e2e LoongArch: Fix help text of CMDLINE_EXTEND in Kconfig
    11d479dffde5 objtool: Fix segfault in ignore_unreachable_insn()
    2a6f8823ff60 ring-buffer: Fix bytes_dropped calculation issue
    5923492ba353 net/mlx5e: SHAMPO, Make reserved size independent of page size
    457db486203c ksmbd: fix r_count dec/increment mismatch
    e0b32b6f0f13 ksmbd: fix multichannel connection failure
    3e341dbd5f5a ksmbd: use aead_request_free to match aead_request_alloc
    3f17af46cfc7 rndis_host: Flag RNDIS modems as WWAN devices
    28b21ee8e8fb rtnetlink: Allocate vfinfo size for VF GUIDs when supported
    4a9595eb024b exfat: fix missing shutdown check
    6a1407532500 exfat: fix the infinite loop in exfat_find_last_cluster()
    7d8dfc27d90d smb: client: Fix netns refcount imbalance causing leaks and use-after-free
    81270dd79606 NFS: Shut down the nfs_client only after all the superblocks
    cd80277f6521 objtool, media: dib8000: Prevent divide-by-zero in dib8000_set_dds()
    1adc93a525fd objtool, nvmet: Fix out-of-bounds stack access in nvmet_ctrl_state_show()
    456300be232e thermal: core: Remove duplicate struct declaration
    8f178998af67 perf bpf-filter: Fix a parsing error with comma
    2c3dea5d1776 perf tools: annotate asm_pure_loop.S
    aba918999252 fs/procfs: fix the comment above proc_pid_wchan()
    819685fcebdf perf vendor events arm64 AmpereOneX: Fix frontend_bound calculation
    5b2b692804ce tty: n_tty: use uint for space returned by tty_write_room()
    1817c4b85011 staging: vchiq_arm: Fix possible NPR of keep-alive thread
    f3fafa188d96 staging: vchiq_arm: Register debugfs after cdev
    f14dd4025975 staging: rtl8723bs: select CONFIG_CRYPTO_LIB_AES
    ed1d004a5af0 perf: intel-tpebs: Fix incorrect usage of zfree()
    70afdf771171 perf dso: fix dso__is_kallsyms() check
    18ea76a747ac perf python: Check if there is space to copy all the event
    9816424d65a2 perf python: Don't keep a raw_data pointer to consumed ring buffer space
    4608d15a43fb perf python: Decrement the refcount of just created event on failure
    f0343969111f perf python: Fixup description of sample.id event member
    e1c900e078d5 i3c: master: svc: Fix missing the IBI rules
    a8edfc206ed1 um: hostfs: avoid issues on inode number reuse by host
    5b37d2370d0c um: remove copy_from_kernel_nofault_allowed
    2b0328c5f0f9 um: Pass the correct Rust target and options with gcc
    0d8ba0ed03c3 selftests/mm/cow: fix the incorrect error handling
    eafb4e3a82aa fuse: fix dax truncate/punch_hole fault path
    ca27c16539a3 NFS: fix open_owner_id_maxsz and related fields.
    46117472a279 NFSv4: Avoid unnecessary scans of filesystems for delayed delegations
    8765bc2638ce NFSv4: Avoid unnecessary scans of filesystems for expired delegations
    ac8be75a7deb NFSv4: Avoid unnecessary scans of filesystems for returning delegations
    4595beb5fee9 NFSv4: Don't trigger uneccessary scans for return-on-close delegations
    d04bea49c806 arch/powerpc: drop GENERIC_PTDUMP from mpc885_ads_defconfig
    49d2a2ea9d30 ocfs2: validate l_tree_depth to avoid out-of-bounds access
    c6338b0d56f0 kexec: initialize ELF lowest address to ULONG_MAX
    c42282a07832 kernel/events/uprobes: handle device-exclusive entries correctly in __replace_page()
    32222c0fd242 perf units: Fix insufficient array space
    b18056f753bf perf evlist: Add success path to evlist__create_syswide_maps
    7cd1096d3bea perf debug: Avoid stack overflow in recursive error message
    7a40b52d4442 iio: light: Add check for array bounds in veml6075_read_int_time_ms
    967570b52826 iio: adc: ad7768-1: set MOSI idle state to prevent accidental reset
    dd6391006379 iio: adc: ad7173: Fix comparison of channel configs
    12eeec2fe012 iio: adc: ad7124: Fix comparison of channel configs
    0c13dc967e07 iio: adc: ad4130: Fix comparison of channel setups
    55e2dbe2ba78 dmaengine: fsl-edma: free irq correctly in remove path
    bcd00d044346 dmaengine: fsl-edma: cleanup chan after dma_async_device_unregister
    201a2bdda13b fs/ntfs3: Prevent integer overflow in hdr_first_de()
    284c9549386e fs/ntfs3: Fix a couple integer overflows on 32bit systems
    8109f57613a0 usb: xhci: correct debug message page size calculation
    fc1b20f16897 perf bench: Fix perf bench syscall loop count
    8e901e95bedc perf arm-spe: Fix load-store operation checking
    df3892e5e861 iio: backend: make sure to NULL terminate stack buffer
    91cc7dca2a69 iio: accel: msa311: Fix failure to release runtime pm if direct mode claim fails.
    7c640dd70e63 iio: accel: mma8452: Ensure error return on failure to matching oversampling ratio
    a17a3db6d411 ucsi_ccg: Don't show failed to get FW build information error
    d72a8585043b perf build: Fix in-tree build due to symbolic link
    a7b29a28d1e4 tools/x86: Fix linux/unaligned.h include path in lib/insn.c
    72a149792714 perf pmu: Don't double count common sysfs and json events
    1315b08f609e coresight-etm4x: add isb() before reading the TRCSTATR
    3a19eb3d9818 vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint
    e90a5776e105 coresight: catu: Fix number of pages while using 64k pages
    6f774f82a7fa greybus: gb-beagleplay: Add error handling for gb_greybus_init
    372a144dbb96 perf report: Switch data file correctly in TUI
    0e344b67bf26 soundwire: slave: fix an OF node reference leak in soundwire slave device
    82d0586c3592 isofs: fix KMSAN uninit-value bug in do_isofs_readdir()
    f9b0819e8b10 phy: phy-rockchip-samsung-hdptx: Don't use dt aliases to determine phy-id
    641394fbb5a5 fs/ntfs3: Update inode->i_mapping->a_ops on compression state
    4f750b846280 w1: fix NULL pointer dereference in probe
    4baed8d7452b perf: Always feature test reallocarray
    de9c71274735 perf stat: Fix find_stat for mixed legacy/non-legacy events
    165b155dfedb clk: qcom: mmcc-sdm660: fix stuck video_subcore0 clock
    bf233124d398 pinctrl: intel: Fix wrong bypass assignment in intel_pinctrl_probe_pwm()
    5416777d568a crypto: hisilicon/sec2 - fix for aead auth key length
    0d6460b9d2a3 RDMA/core: Fix use-after-free when rename device name
    782526a40149 x86/dumpstack: Fix inaccurate unwinding from exception stacks due to misplaced assignment
    c2ddf2f5760b leds: Fix LED_OFF brightness race
    a1fab9e64948 mfd: sm501: Switch to BIT() to mitigate integer overflows
    7ee71ef057b1 pinctrl: renesas: rzv2m: Fix missing of_node_put() call
    cad677085274 RDMA/mlx5: Fix mlx5_poll_one() cur_qp update flow
    19e6817f8400 bpf: Fix array bounds error with may_goto
    cff6b3c8085d clk: qcom: gcc-sm8650: Do not turn off USB GDSCs during gdsc_disable()
    4fdbccc738af crypto: nx - Fix uninitialised hv_nxc on error
    ac9e52aca2cb power: supply: max77693: Fix wrong conversion of charge input threshold value
    b6542ef0d4dd x86/entry: Fix ORC unwinder for PUSH_REGS with save_ret=1
    cd0e4789f870 clk: amlogic: g12a: fix mmc A peripheral clock
    f29760cdca4b clk: clk-imx8mp-audiomix: fix dsp/ocram_a clock parents
    64bb7efb0c4c crypto: qat - remove access to parity register for QAT GEN4
    4409e87cdc8b pinctrl: npcm8xx: Fix incorrect struct npcm8xx_pincfg assignment
    8ba426f170f1 rust: fix signature of rust_fmt_argument
    c9fad5ce1ef9 selftests/bpf: Select NUMA_NO_NODE to create map
    4d32504f7ae9 clk: amlogic: gxbb: drop non existing 32k clock parent
    dc8477444ac6 clk: amlogic: g12b: fix cluster A parent data
    52f3ef292b7b pinctrl: tegra: Set SFIO mode to Mux Register
    2aec4d9a79a7 IB/mad: Check available slots before posting receive WRs
    6d4e56e4c581 crypto: api - Fix larval relookup type and mask
    eae034cdcee9 power: supply: bq27xxx_battery: do not update cached flags prematurely
    005d8de09c71 remoteproc: qcom_q6v5_mss: Handle platforms with one power domain
    a114d25d584c RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()
    257f0bdd5a4b RDMA/mlx5: Fix calculation of total invalidated pages
    df45ae2a4f1c RDMA/core: Don't expose hw_counters outside of init net namespace
    c9c2582c4cd1 clk: rockchip: rk3328: fix wrong clk_ref_usb3otg parent
    dcb5997ead6d selftests/bpf: Fix freplace_link segfault in tailcalls prog test
    25aa4fe297a5 RDMA/mlx5: Fix MR cache initialization error flow
    fb4206c76b99 pinctrl: renesas: rzg2l: Fix missing of_node_put() call
    3980e3741a8c pinctrl: renesas: rza2: Fix missing of_node_put() call
    e7b7f5a170d3 lib: 842: Improve error handling in sw842_compress()
    8ed5381756de bpf: Use preempt_count() directly in bpf_send_signal_common()
    42efddee037b clk: qcom: gcc-x1e80100: Unregister GCC_GPU_CFG_AHB_CLK/GCC_DISP_XO_CLK
    82484764ea90 remoteproc: qcom_q6v5_pas: Use resource with CX PD for MSM8226
    4a7e28e3523f crypto: tegra - Set IV to NULL explicitly for AES ECB
    7d25febb0e03 RDMA/mana_ib: Ensure variable err is initialized
    088a200ebf46 s390: Remove ioremap_wt() and pgprot_writethrough()
    bd717b4dea87 clk: qcom: gcc-msm8953: fix stuck venus0_core0 clock
    13a2312c5352 crypto: tegra - Fix CMAC intermediate result handling
    241d9965109b pinctrl: nuvoton: npcm8xx: Fix error handling in npcm8xx_gpio_fw()
    24307866e0ac clk: samsung: Fix UBSAN panic in samsung_clk_init()
    81d4e03116d3 remoteproc: qcom: pas: add minidump_id to SC7280 WPSS
    b5d1970003cc clk: renesas: r8a08g045: Check the source of the CPU PLL settings
    8d6373f83f36 x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()
    919206201aac selftests/bpf: Fix string read in strncmp benchmark
    652a3dfd8c2b libbpf: Fix hypothetical STT_SECTION extern NULL deref case
    73fd28b12d78 remoteproc: qcom_q6v5_pas: Make single-PD handling more robust
    26c0229b604e pinctrl: renesas: rzg2l: Suppress binding attributes
    bfcca46f01ac of: property: Increase NR_FWNODE_REFERENCE_ARGS
    2df19f5f6f72 remoteproc: core: Clear table_sz when rproc_shutdown
    01fd737776ca RDMA/mlx5: Fix page_size variable overflow
    51bcbe6cdaf0 crypto: hisilicon/sec2 - fix for sec spec check
    71f4581c464b crypto: hisilicon/sec2 - fix for aead authsize alignment
    0069c0e671ab clk: amlogic: gxbb: drop incorrect flag on 32k clock
    46ea02988bb9 crypto: tegra - Use HMAC fallback when keyslots are full
    057298d19334 crypto: bpf - Add MODULE_DESCRIPTION for skcipher
    3e0d61cf588f crypto: tegra - check return value for hash do_one_req
    5d9147db00d3 crypto: tegra - Use separate buffer for setkey
    f23dfee54b57 crypto: qat - set parity error mask for qat_420xx
    92936d50c5b8 crypto: iaa - Test the correct request flag
    238ece4937aa fbdev: sm501fb: Add some geometry checks.
    8356f4570082 mdacon: rework dependency list
    d3ea050c153d dummycon: fix default rows/cols
    9a14cacaf527 fbdev: au1100fb: Move a variable assignment behind a null pointer check
    b1c4bd166771 PCI: pciehp: Don't enable HPIE when resuming in poll mode
    e23dfb926f5b PCI: Fix BAR resizing when VF BARs are assigned
    a1855c2ebb88 PCI: histb: Fix an error handling path in histb_pcie_probe()
    b004cf517d8e PCI: dwc: ep: Return -ENOMEM for allocation failures
    3453bcaf2ca9 drm/amd/display: avoid NPD when ASIC does not support DMUB
    d877bf6eb39c drm/mediatek: dsi: fix error codes in mtk_dsi_host_transfer()
    57a9fb47551b drm/mediatek: dp: drm_err => dev_err in HPD path to avoid NULL ptr
    e5838a2bf16f drm/mediatek: Fix config_updating flag never false when no mbox channel
    02e94069c3e9 PCI: xilinx-cpm: Fix IRQ domain leak in error path of probe
    362b5879a7f3 PCI: Remove stray put_device() in pci_register_host_bridge()
    7b40c5b938e9 powerpc/kexec: fix physical address calculation in clear_utlb_entry()
    7e754aa0daaf crypto: powerpc: Mark ghashp8-ppc.o as an OBJECT_FILES_NON_STANDARD
    a3030fcba3c8 drm/msm/a6xx: Fix a6xx indexed-regs in devcoreduump
    f42a78df8894 drm/amd/display: fix type mismatch in CalculateDynamicMetadataParameters()
    b8b5e2e77083 drm/panthor: Update CS_STATUS_ defines to correct values
    bcb484200441 PCI: Avoid reset when disabled via sysfs
    2a54a1a9c6c9 PCI/portdrv: Only disable pciehp interrupts early when needed
    2cf276e501c4 PCI: brcmstb: Fix potential premature regulator disabling
    df63321a40cc PCI: brcmstb: Fix error path after a call to regulator_bulk_get()
    0fe63272c43c PCI: brcmstb: Use internal register to change link capability
    4557922dbfca PCI: brcmstb: Set generation limit before PCIe link up
    b23b73ea4c21 PCI: cadence-ep: Fix the driver to send MSG TLP for INTx without data payload
    c0ef1c8ef70b drm/amdkfd: Fix Circular Locking Dependency in 'svm_range_cpu_invalidate_pagetables'
    70f1dcc21779 drm/msm/dsi: Set PHY usescase (and mode) before registering DSI host
    2af52e4d2e19 drm/msm/dsi: Use existing per-interface slice count in DSC timing
    a47ee1884c5b drm/msm/dsi/phy: Program clock inverters in correct register
    47a025046640 drm/msm/dpu: don't use active in atomic_check()
    a99219bbd69a drm/amd/display: fix an indent issue in DML21
    8ba27aa51286 PCI/ACS: Fix 'pci=config_acs=' parameter
    91b0ab875128 drm/panel: ilitek-ili9882t: fix GPIO name in error message
    f556b6ba0ac5 PCI/ASPM: Fix link state exit during switch upstream function removal
    4f997843de78 drm/mediatek: mtk_hdmi: Fix typo for aud_sampe_size member
    0fe9a58fa5d0 drm/mediatek: mtk_hdmi: Unregister audio platform device on failure
    372e387c4f1c PCI: Remove add_align overwrite unrelated to size0
    254f771c7067 PCI: Use downstream bridges for distributing resources
    f2b099e945ee drm/amdgpu/umsch: fix ucode check
    2dbf9e3efcc0 drm/amdgpu: refine smu send msg debug log format
    2a07eab05d9d gpu: cdns-mhdp8546: fix call balance of mhdp->clk handling routines
    d5eb8e347905 drm/vkms: Fix use after free and double free on init error
    b84d743c2393 drm: xlnx: zynqmp: Fix max dma segment size
    dd8e6445e4e3 drm/bridge: it6505: fix HDCP V match check is not performed correctly
    69e90c1e3391 drm/dp_mst: Fix drm RAD print
    5ffb6b9a1a04 drm/ssd130x: ensure ssd132x pitch is correct
    5a3461ca54db drm/ssd130x: fix ssd132x encoding
    a9c4366566e6 drm/ssd130x: Set SPI .id_table to prevent an SPI core warning
    950513eba9cb drm/bridge: ti-sn65dsi86: Fix multiple instances
    15291b561d8c ALSA: timer: Don't take register_mutex with copy_from/to_user()
    11242f4b9baa ASoC: ti: j721e-evm: Fix clock configuration for ti,j7200-cpb-audio compatible
    f751361b3a15 ALSA: hda/realtek: Always honor no_shutup_pins
    2050247d5ebf dt-bindings: vendor-prefixes: add GOcontroll
    7fdca6c0b12c HID: remove superfluous (and wrong) Makefile entry for CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER
    da3ac4cf7f13 ASoC: amd: acp: Fix for enabling DMIC on acp platforms via _DSD entry
    748a1118d20d ASoC: cs35l41: check the return value from spi_setup()
    5b6739341500 platform/x86: dell-ddv: Fix temperature calculation
    0654ea13976c platform/x86: dell-uart-backlight: Make dell_uart_bl_serdev_driver static
    a4f38bc600f3 platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: Make symbol static
    4f42478af663 auxdisplay: panel: Fix an API misuse in panel.c
    f0a72629ccec media: platform: allgro-dvt: unregister v4l2_device on the error path
    d34100049923 media: verisilicon: HEVC: Initialize start_bit field
    e161533964de auxdisplay: MAX6959 should select BITREVERSE
    d026245063d2 regulator: pca9450: Fix enable register for LDO5
    f5852872eb29 x86/entry: Add __init to ia32_emulation_override_cmdline()
    52e513a8850c x86/fpu/xstate: Fix inconsistencies in guest FPU xfeatures
    b86500597089 x86/traps: Make exc_double_fault() consistently noreturn
    5108828fecfc perf/ring_buffer: Allow the EPOLLRDNORM flag for poll
    345957c1cfb8 lockdep: Don't disable interrupts on RT in disable_irq_nosync_lockdep.*()
    c3a4c91a409e PM: sleep: Fix handling devices with direct_complete set on errors
    953d28a4f459 thermal: int340x: Add NULL check for adev
    a8a1bcc27d46 x86/resctrl: Fix allocation of cleanest CLOSID on platforms with no monitors
    385a0265295f EDAC/ie31200: Fix the error path order of ie31200_init()
    4294e94f43c7 EDAC/ie31200: Fix the DIMM size mask for several SoCs
    67d079c0f29e EDAC/ie31200: Fix the size of EDAC_MC_LAYER_CHIP_SELECT layer
    96b4f2e97408 selinux: Chain up tool resolving errors in install_policy.sh
    864750968d71 watchdog/hardlockup/perf: Fix perf_event memory leak
    b471631fa19a kunit/stackinit: Use fill byte different from Clang i386 pattern
    ff435a627342 RISC-V: KVM: Disable the kernel perf counter during configure
    e2bda794d381 cpufreq: tegra194: Allow building for Tegra234
    31d5665172b3 PM: sleep: Adjust check before setting power.must_resume
    4d28c2ab2af5 lockdep/mm: Fix might_fault() lockdep check of current->mm->mmap_lock
    9807270d7399 x86/sev: Add missing RIP_REL_REF() invocations during sme_enable()
    3e14d9a4eb74 x86/platform: Only allow CONFIG_EISA for 32-bit
    a086e7cde509 x86/fpu: Avoid copying dynamic FP state from init_task in arch_dup_task_struct()
    568aa554e760 x86/fpu: Fix guest FPU state buffer allocation size
    2c27c9e1d18a EDAC/{skx_common,i10nm}: Fix some missing error reports on Emerald Rapids
    f381c92ab4ec cpufreq: governor: Fix negative 'idle_time' handling in dbs_update()
    b576c4834d5a sched/eevdf: Force propagating min_slice of cfs_rq when {en,de}queue tasks
    7b1d2454d0b6 sched: Cancel the slice protection of the idle entity
    2d5c37dff4b0 smack: ipv4/ipv6: tcp/dccp/sctp: fix incorrect child socket label
    9d93922280f9 smack: dont compile ipv6 code unless ipv6 is configured
    40426fc0970e cpufreq: scpi: compare kHz instead of Hz
    bc4d689a231d x86/mm/pat: cpa-test: fix length for CPA_ARRAY test
    56ec918e6c86 watch_queue: fix pipe accounting mismatch
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 3041e4fd3dd2cceb4baad656aa3518fc418d765b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-23 09:47:42 +01:00
Antonin Godard
841965f127 Fix dead links that use the DISTRO macro
After introducing the DISTRO_LATEST_TAG and DISTRO_REL_LATEST_TAG
macros, use them in links that currently use DISTRO/DISTRO_REL_TAG. When
building for the tip of a branch, this will replace the current A.B.999
in links to the latest existing tag.

The links were found across the documentation by running 'grep -r
"http.*5\.2\.999"' inside the _build/html output after building the
docs.

[YOCTO #14802]

(From yocto-docs rev: 29be069ebbf2c55d72fc51d99ed5a558af37c05e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:15:29 +01:00
Antonin Godard
76f887eb12 poky.yaml: introduce DISTRO_LATEST_TAG
Introduce the DISTRO_LATEST_TAG macro, which should always point to the
latest existing tag in the documentation, unlike DISTRO which may point
to A.B.999 to represent the tip of a branch.

This variable is needed to fix dead links in the documentation that
currently use the DISTRO macro.

Also, make DISTRO_REL_TAG use the DISTRO macro directly, to avoid
repetition, and add a DISTRO_REL_LATEST_TAG macro that has the same role
as DISTRO_LATEST_TAG but with "yocto-" prepended to it.

In set_versions.py, run the "git describe --abbrev=0 --tags
--match='yocto-*'" command to get the latest existing tag on the
currently checked out commit. Fallback to ourversion in case we didn't
find any.

(From yocto-docs rev: a85b0e500c94921f77fa7b7dbb877e4945f96d1e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:15:29 +01:00
Andrew Kreimer
5224bce89d manuals: remove repeated word
The word "modern" appears twice, remove the extra one.

(From yocto-docs rev: 8a2169431551ea29bf45b2eb120a13f0e444e1ea)

Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:15:29 +01:00
Antonin Godard
b5d978a00f migration-guides/{migration,release-note}-5.2: update for 5.2 release
Document changes between 1c3020f173 ("expat: Upgrade 2.7.0 -> 2.7.1")
up to e894acce6e ("build-appliance-image: Update to master head
revision") in Poky:

- Add a note on the devtool upgrade-status change.
- Be more precise about the usage of multiple repositories in SRC_URI,
  mention that it makes sense for bare clones only.

As the walnascar branch has now frozen and is up for QA, these should be
the one of the last changes to these documents.

(From yocto-docs rev: 322355ead2be9e267368ca47d805f41ae10ad6cc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:15:29 +01:00
Antonin Godard
5ab6686526 ref-manual/variables.rst: improve the PKGV documentation
It may be confusing for users that source control information is not
present in the BitBake environment. Document it as a warning block.

(From yocto-docs rev: 39967b9cc87cf216c4658598806fd7a68db5053a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-21 21:15:29 +01:00
Richard Purdie
37bb053f34 oeqa/selftest/fetch: Fix whitespace
Update the test whitespace to avoid bitbake warnings.

(From OE-Core rev: 8a324aa2111872138715bde7fbc86bcfc2d8b20e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Ross Burton
7bae0a5b53 autoconf: upgrade to final 2.72 release
autoconf 2.72e was the fifth release candidate build, and whilst we had
good reason to use RCs during development we failed to notice that the
final release was made because alpha.gnu.org _only_ contains the release
candidates.

There are minimal changes in the final release compared to 2.72e:

6199cff2 (tag: v2.72) Finalize NEWS for release 2.72.

  This is the finalisation of the release, updating documentation and
  version numbers.

e544a323 Save/restore AC_LANG setting in AC_PROG_CC_C_O.

  This is a bug fix, aligning behaviour of AC_PROG_CC_C_O.

634fb3e7 Remove bashism from tests/local.at.
4fbe6436 Revert debugging change committed by mistake
8794cd1c Address “autom4te preselections” testsuite failure
e5d98f4c Avoid a spurious test failure with shells that ignore write errors.
3fbfb13e Address “autoconf: forbidden tokens, basic” testsuite failure
fdb58df6 testsuite: Skip tests that use aclocal or automake if they’re too old.

  These are fixes for the test suite.

(From OE-Core rev: 11ff8dba0cee801e93cf4bdb3ccf043f4d2f751f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Quentin Schulz
fcaecb8569 mesa: Enable PanVK for panfrost PACKAGECONFIG
If panfrost is enabled, we currently build panfrost tools and the
gallium driver. There's also a vulkan driver available for panfrost, so
let's enable it as well whenever panfrost PACKAGECONFIG is enabled,
similarly to how it's done for the gallium driver.

PanVK is the "commercial" name for the vulkan driver for panfrost but
it's enabled under the panfrost name in meson.

This was "tested" with `vkgears -info` with mesa-demos from commit
11939e1697b894be3c68a89e3ea86fc51a320836 on an RK3588-based system.

(From OE-Core rev: a04b7772d65e0b92330b1d35e578b5d8ae01dcef)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
leimaohui
2b945afae2 ethtool: upgrade 6.11 -> 6.14
Package metainfo xml to ${PN}, fix the issue that:

| ERROR: ethtool-6.14-r0 do_package: QA Issue: ethtool: Files/directories were installed but not shipped in any package:
|   /usr/share/metainfo
|   /usr/share/metainfo/org.kernel.software.network.ethtool.metainfo.xml
| Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
| ethtool: 2 installed and not shipped files. [installed-vs-shipped]

(From OE-Core rev: 6c35f3dee3a8d9a32243b96060d07cccc24df52e)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Thomas Perrot
cc77fb6cf5 send-error-report: improve debugging
- add a debug mode
- print the request and the response when an error occurs.

(From OE-Core rev: 71635a36c03ea5ac8dcc678d7991676f4b9d0ff5)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Ross Burton
2af4e73f2f libunwind: Upgrade 1.6.2 -> 1.8.1
* change download location to GitHub
* refresh patches
* on ppc32/musl we need to link with -latomic
* make the -Wno-error more specific (only ppc32/musl)

Includes tweaks from Adriaan Schmidt based on original work from Ross.

(From OE-Core rev: 8b0d9fe7bd37817f387b10c23fe62b8a00c95713)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Alex Kiernan
9fc13b1ad4 connman: Set dns-backend automatically
connman supports systemd-resolved as a resolver, select it automatically when
DISTRO_FEATURES includes systemd-resolved support, then drop the patch which
disables connman when systemd-resolved is active.

(From OE-Core rev: bec0cfc9b21566348886a8122c9b0756539b416d)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Alex Kiernan
4c57a5d461 connman: Mark iptables/nftables mutually incompatible
Only one of iptables or nftables can be specified, mark them mutually
incompatible. Drop the RDEPENDS on iptables from PACKAGECONFIG as its
libraries are automatically discovered on the main package, with only the
scripts required as part of iptables/ip6tables-test.

(From OE-Core rev: fa6772414b065f3f5481e328f182eecc971d2605)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Alex Kiernan
a87078c423 connman: Add iptables/ip6tables-save to ac_cv_path
Set the paths for iptables/ip6tables so that they are correct for the target
install and not discovered on the host filesystem.

(From OE-Core rev: aa60cc7e65d3964d6eedea97246f1ebc24fe66e2)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Alex Kiernan
6f5804c0d1 connman: Create ${sysconfdir} for systemd images
Depending on what set of PACKAGECONFIG options you have, ${sysconfdir} may not
have been created.

(From OE-Core rev: ac582cb1f2b5b75695b69b07925257c335a76861)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Alex Kiernan
02a3154768 connman: Set --runstatedir to ${runtimedir}
We have ${runtimedir} for /run, use it here.

(From OE-Core rev: 0e505e1cc48132cfaab18120666abee34d185a6c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Yi Zhao
6d493d89af python3-unittest-automake-output: fix version mismatch
Backport patch to update __version__ to 0.2 to match current version.

(From OE-Core rev: 67332a80391cb341c57f95e8c7b6bab306e25b1c)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Deepesh Varatharajan
84913de99d rust: re-enable the unit tests that are ignored
Some unit tests were previously marked as ignored due to failures in earlier
versions of Rust. With the upgrade to Rust 1.85.1, these tests are now passing
consistently. They've been re-enabled and verified to run successfully on the
latest version.

(From OE-Core rev: 775108f131412122beb2b844dc5e2a4d47ce3b89)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Yogita Urade
f7d2280d04 webkitgtk: upgrade 2.48.0 -> 2.48.1
Includes fix for CVE-2024-54551, CVE-2025-24208,CVE-2025-24209,
CVE-2025-24213, CVE-2025-24216, CVE-2025-24264 and CVE-2025-30427

Changelog:
=========
- Limit the data stored in session state.
- Remove the empty area below the title bar in Web Inspector when not docked.
- Fix the build with GST_DISABLE_GST_DEBUG.
- Fix the build with GStreamer < 1.20.
- Fix the build with video disabled.
- Fix the build with clang 20.

Drop 0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch
and 0001-Cherry-pick-292304-main-7ffc29624258-.-https-bugs.we.patch
which are part of upgrade.

(From OE-Core rev: f03c7c572e3dcc1d1966e76b7a73df6e96ee0df1)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Peter Marko
ff121ad52f libarchive: upgrade 3.7.8 -> 3.7.9
https://github.com/libarchive/libarchive/releases/tag/v3.7.9

Libarchive 3.7.9 is a bugfix release
Important bugfixes:
* a regression in libarchive 3.7.8 regarding GNU sparse entries was fixed (#2558)

Also remove CVE_STATUS which was obsolete already before this upgrade.

(From OE-Core rev: 670f3fa028f3e873acf4c5265d3f5e4a3aa0ec89)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Divya Chellam
ab994a37ff ruby: upgrade 3.4.2 -> 3.4.3
This includes CVE-fix for CVE-2025-27219, CVE-2025-27220 and
CVE-2025-27221

Changes between 3.4.2 -> 3.4.3
==============================
https://github.com/ruby/ruby/compare/v3_4_2...v3_4_3

(From OE-Core rev: d739c52558af986c2ce4c65e1197e8d524d14d22)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
Lei Maohui
7929ce986b python3-hypothesis: upgrade 6.129.2 -> 6.131.0
This package change to be built using python_setuptools_build_meta build class now

Changelog:
https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/docs/changelog.rst

ptest result:
|Testsuite summary
|# TOTAL: 5
|# PASS: 5
|# SKIP: 0
|# XFAIL: 0
|# FAIL: 0
|# XPASS: 0
|# ERROR: 0
|DURATION: 23
|END: /usr/lib/python3-hypothesis/ptest
|2025-04-15T10:17
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

(From OE-Core rev: 320de457c963041819078cf83a8631fcb812dda3)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-20 10:11:16 +01:00
J. S.
b223b6d533 perl: upgrade 5.40.1 -> 5.40.2
>From https://metacpan.org/pod/perldelta :

This provides a fix for CVE-2024-56406 - Heap buffer overflow vulnerability with tr//

There are no changes intentionally incompatible with 5.40.1

(From OE-Core rev: 53c772c941d5ce69ab89f35cd04724b740daf269)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
J. S.
2fa5722bff perlcross: 1.6.1 -> 1.6.2
https://github.com/arsv/perl-cross/releases/tag/1.6.2

Provide support for Perl 5.40.2

(From OE-Core rev: f4d792c2ba0b28b5aff0c287ddf45917752b1097)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Fabio Estevam
44d9d94ccd bmaptool: upgrade 3.8.0 -> 3.9.0
Update to the 3.9.0 version.

This version has switched to use hatch as the build backend, so adjust it
accordingly.

The INSANE_SKIP can now be safely removed as explained by
commit 824009560776 ("bmaptool: temporarily silence the pep517-backend warning").

python3-six is no longer a runtime dependency since bmaptool
commit a67976e80daf ("Remove six from production code"), so remove its
RDEPENDS entry.

(From OE-Core rev: dc13e76726e3bb528cf381dedb0e881a96bf64b3)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Dmitry Baryshkov
8629aa9f27 llvm: also install llvm-min-tblgen
Some projects are picky and want to hanve llvm-min-tblgen in addition to
a normal llvm-tblgen. Install the tool to the sysroot.

(From OE-Core rev: b4acbadc16733c29024694ba0e5c0987dc7b459c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Dmitry Baryshkov
482da5d873 llvm: import build fix from meta-clang
Import a fix from meta-clang, which allows packages using LLVM to find
tools from the native sysroot.

(From OE-Core rev: 112b9d4c4c10d7ac0e2a8bc239d451b84b90c82c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Khem Raj
f21acc0075 python3-pdm-backend: upgrade 2.4.3 -> 2.4.4
(From OE-Core rev: 351387fc58360f44eda9deeb9f680dd934f8d9c3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Khem Raj
2aaa0b1c7d python3-pdm: upgrade 2.22.4 -> 2.23.1
(From OE-Core rev: 631b53a171572a49f4c810c4352f97de73608e92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Jaeyoon Jung
a387a294cb send-error-report: Drop --no-ssl
A server name from -s or --server flag needs to contain a leading string
for URL scheme either http:// or https://. --no-ssl flag is dropped as
it is no longer needed.

(From OE-Core rev: fde39d4587d1a6f2390fa8f6f0e6771c5f145921)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Jaeyoon Jung
4edf8615a6 send-error-report: Respect URL scheme in server name if exists
If a server name with -s or --server flag contains the URL scheme such
as http:// or https:// it takes precedence over --no-ssl flag. This will
allow us to use the same command line option for different servers with
http:// and https:// schemes mixed.

(From OE-Core rev: e8ce179cf5d82b41bdf7f05013c1b6d58001c336)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Trevor Woerner
35807e8f63 wic: do not ignore ROOTFS_SIZE if the rootfs is modified
If the *.wks file contains a "--source rootfs" then
lib/wic/plugins/source/rootfs.py will be invoked to generate (what is assumed
to be) the rootfs partition. If the rootfs partition needs to be tweaked or
modified, the "rootfs.py" plugin will make a copy of the filesystem and then
perform the changes on that copy. In other words, if the "--source rootfs"
line of the *.wks file also contains any of:

	--exclude-path
	--include-path
	--change-directory
	--use-label (i.e. modify etc/fstab)

then the rootfs will be copied first, then the copy is modified.

If, for example, the unmodified IMAGE_ROOTFS is:

	.../tmp/work/qemuarm64_secureboot-oe-linux/core-image-base/1.0/rootfs

then the copy would be made at:

	.../tmp/work/qemuarm64_secureboot-oe-linux/core-image-base/1.0/tmp-wic/rootfs${LINENO}

where ${LINENO} is the line number where this "--source rootfs" line appears
in the *wks file.

When it comes time to make an actual partition of a specific filesystem type,
lib/wic/partition.py::prepare_rootfs() is called. It is in this function that
wic figures out if any extra size needs to be added. The bitbake variable used
to specify the ultimate rootfs size is ROOTFS_SIZE, and since this variable is
only valid for the rootfs (and not any other partitions), the code also
verifies that the partition being created is ${IMAGE_ROOTFS}:

	rsize_bb = get_bitbake_var('ROOTFS_SIZE')
	rdir = get_bitbake_var('IMAGE_ROOTFS')
	if rsize_bb and rdir == rootfs_dir:
		<use rsize_bb>
	else:
		<calculate the partition size using "du -ks $p">

As noted above, if lib/wic/plugins/source/rootfs.py has made a copy, then the
"rdir == rootfs_dir" clause will fail and the code will assume this partition
is not a rootfs since the strings do not compare equal.

Therefore, in order to determine if this is a rootfs, retain the existing
"rdir == rootfs_dir" comparison, but also add another one to check whether or
not this is a wic-generated copy of the rootfs.

STEPS TO REPRODUCE:
	- start with the following *wks file:
		bootloader --ptable gpt
		part /boot --size=100M --active --fstype=ext4 --label boot
		part /     --source rootfs      --fstype=ext4 --label root
	- and the following extra variable in conf/local.conf:
		IMAGE_ROOTFS_EXTRA_SPACE = "500000"
	- build an image
	- run it in qemu
		$ runqemu slirp nographic serial
	- verify the root partition has extra space:
		root@qemuarm64-secureboot:~# df -h
		Filesystem                Size      Used Available Use% Mounted on
		/dev/root               721.5M     67.4M    600.6M  10% /
		devtmpfs                477.7M         0    477.7M   0% /dev
		tmpfs                    40.0K         0     40.0K   0% /mnt
		tmpfs                   489.3M     92.0K    489.2M   0% /run
		tmpfs                   489.3M     68.0K    489.2M   0% /var/volatile
		/dev/vda1               120.4M     19.9M     91.4M  18% /boot
	- modify the "/" line of the *wks file to be:
		part /     --source rootfs      --fstype=ext4 --label root --exclude-path boot/
	- build image

	when it fails:
		root@qemuarm64-secureboot:~# df -h
		Filesystem                Size      Used Available Use% Mounted on
		/dev/root                73.4M     41.9M     25.8M  62% /
		devtmpfs                477.7M         0    477.7M   0% /dev
		tmpfs                    40.0K         0     40.0K   0% /mnt
		tmpfs                   489.3M     92.0K    489.2M   0% /run
		tmpfs                   489.3M     68.0K    489.2M   0% /var/volatile
		/dev/vda1               120.4M     19.9M     91.4M  18% /boot

	after this fix:
		root@qemuarm64-secureboot:~# df -h
		Filesystem                Size      Used Available Use% Mounted on
		/dev/root               721.5M     47.4M    620.6M   7% /
		devtmpfs                477.7M         0    477.7M   0% /dev
		tmpfs                    40.0K         0     40.0K   0% /mnt
		tmpfs                   489.3M     92.0K    489.2M   0% /run
		tmpfs                   489.3M     68.0K    489.2M   0% /var/volatile
		/dev/vda1               120.4M     19.9M     91.4M  18% /boot

Doing the math we see that the /boot partition is ~20MB and in the first image
the / partition contains this ~20MB in addition to the rest of the rootfs.
This ~20MB is completely wasted since it is used in the / partition, but then
the /boot partition is mounted on top of it, making the /boot directory of /
inaccessible. After the fix the / partition has an additional ~20MB since the
/boot portion is excluded.

Fixes [YOCTO #15555]

(From OE-Core rev: 1c690aa046ebca13d7b29de50d42b5d8a4a8486c)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Daniel Turull
94d2759dd7 linux/cve-exclusion: Execute the script after changing to the new data source
Execute new script generate-cve-exclusions.py
./generate-cve-exclusions.py ~/cvelistV5/ 6.12.19 > cve-exclusion_6.12.inc

After using the database from CVEproject, some old
CVEs did not have correct metadata, therefore moving missing ones
from old cve-exclusions_6.12.inc into cve-exclusion.inc

Comparing output from cve_check before and after, two CVEs are removed:
CVE-2023-52904 and CVE-2024-38381

(From OE-Core rev: 8a7af09febc28477094de0999ab6321d910811b2)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Daniel Turull
33ca2959f2 linux/generate-cve-exclusions: use data from CVEProject
The old script was relying on linuxkernelcves.com that was archived in
May 2024 when kernel.org became a CNA.

The new script reads CVE json files from the datadir that can be either
from the official kernel.org CNA [1] or CVEProject [2]

[1] https://git.kernel.org/pub/scm/linux/security/vulns.git
[2] https://github.com/CVEProject/cvelistV5

(From OE-Core rev: 12612e8680798bdce39fbb79885e661596dbd53c)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Mikko Rapeli
f941f64543 test_efi_plugin_plain_systemd-boot: don't set console
This effectively disables the boot time serial console
so that kernel and initrd logs are not visible which
makes debugging boot failures hard. The logs are
not too verbose, around 270 lines, and can be reduced
with kernel side settings if needed. For example
"loglevel=4" on kernel command line reduces the
output to only warning messages.

(From OE-Core rev: 0469af3bd8e3c721ba9c6f96d786c95a1726368b)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Mikko Rapeli
3dd68e60d7 uki.bbclass: drop serial console from kernel command line
The kernel will continue using console from firmware which is
much better on HW when we may not know at build time which
console HW and drivers are available, e.g. like on
genericarm64 machine.

(From OE-Core rev: cf2ed52a94f5fa57cc6d93418dfb49b30e2240cc)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Mingli Yu
4dd76f5edf systemd: Correct tmpfile.d file for resolv.conf
The tmpfiles config for systemd-resolve has been split out [1],
so correct tmpfile.d file for resolv.conf in our recipe accordingly.

[ YOCTO # 15768]

[1] b15f6eae42

(From OE-Core rev: a3020c11c91304b7400bc19f80e44e7d3720281d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-17 11:03:22 +01:00
Richard Purdie
79fa12ae4b bitbake: parse/ConfHandler: Add warning for deprecated whitespace usage
A lack of whitespace around variable assignment operators makes the
files harder to read.

There is a deeper issue in that a "+" character can sometimes be confused
between the variable name and the assignment operator.

Start showing warnings for such usage so we encourage people to use
consistent whitespace which helps with file readability in general.

(Bitbake rev: 24772dd2ae6c0cd11540a260f15065f906fb0997)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:51 +01:00
Joshua Watt
0ed51cf434 lib/oe/cve_check: Mark variable flag dependencies
Marks CVE check functions which depend on non-constant variable flags as
depending on the variables. This allows changes in the flags to
correctly trigger a rebuild

(From OE-Core rev: 2cc43c72ff28aa39a417dd8d57cd7c8741c0e541)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Dmitry Baryshkov
c095ae793f mesa: handle svga Gallium driver through PACKAGECONFIG too
For the sake of uniformity add the svga PACKAGECONFIG and use it to
guard inclusion of the svga Gallium driver.

(From OE-Core rev: 0fa6c2e6eb6c0b5eadb447bfa01a9b0930f9a9da)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Dmitry Baryshkov
ad06e8e57f mesa: introduce amd PACKAGECONFIG
Follow the example of other hardware platforms and introduce a separate
PACKAGECONFIG knbob for all AMD/ATI cards. Enable it by default on x86
platforms.

(From OE-Core rev: 6a2170ea7722c214412c05a7b98eede41611bb64)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Dmitry Baryshkov
8852a601df mesa: don't buid Intel drivers outside of x86 world
It mostly doesn't make sense to build i915 & Co drivers for non-x86
targets. Add separate 'intel' PACKAGECONFIG entry (enabled by default on
x86) and use it to select Intel-related drivers.

(From OE-Core rev: 77c18b21cee43f25486337b958635fbe991321ac)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Dmitry Baryshkov
fbaf2c7d75 mesa: update patch status
Update status of mesa build fix as the patch have been submitted to the
project.

(From OE-Core rev: 1857b8b1dd0e36785e57f30c0629accfee3c8f27)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Dmitry Baryshkov
c9207bfabb mesa: drop kmsro PACKAGECONFIG
Mesa has dropped support for separate kmsro option to gallium-drivers.
Drop it from the recipe and drop the now-unused PACKAGECONFIG too.

Reported-by: Martin Jansa <martin.jansa@gmail.com>
Closes: https://lore.kernel.org/r/CA+chaQeWA01kB3q6=o4xcZwA1TMggHxYTZ0AZETY7he_yU3E1A@mail.gmail.com/
(From OE-Core rev: 3d9ec347e651e05d0246a8723ca4038bb1f5b765)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Ross Burton
434a9f89d0 mesa-demos: fix detection of GLX headers
Backport a patch from upstream to fix the build when glx.pc isn't found,
but the glx headers are available. As libglvnd is the only provider of
glx.pc and by default we build without libglvnd, this is common.

This solves the problem where mesa-demo is missing the GLX demos, such
as glxgears.

[ YOCTO #15825 ]

(From OE-Core rev: 764765e48ff02e412944bdca8885fb30ea0cbb76)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Ross Burton
9d0d16c667 mesa: remove obsolete deletion of .la files
As Mesa is built with Meson now, there's no need to delete the .la files
as they're not installed in the first place.

(From OE-Core rev: 9d5541c8b9e7713abd6c8e32a6881304f3349cb2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Khem Raj
e298afae26 python3-maturin: Backport a libc build fix for riscv32
There is a libc patch needed to fix rustix 0.38.x build
It is already fixed in latest libc upstream, backport it
here

(From OE-Core rev: 7fd3871f21ed9039e0b3b27840109b460b6991ac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Yoann Congal
ff32331d4d cargo-c: Update patch Upstream-Status
https://github.com/rust-lang/libc/pull/4382 was merge as
4b439b0953

(From OE-Core rev: d34f49cc604733c7d714a72b3a3d66a99aa65c79)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Etienne Cordonnier
3166e21988 gdb: add source-highlight PACKAGECONFIG option
>From gdb documentation:

> There are two ways that highlighting can be done.  First, if
> gdb was linked with the GNU Source Highlight library, then it
> is used.  Otherwise, if gdb was configured with Python
> scripting support, and if the Python Pygments package is available,
> then it will be used.

(From OE-Core rev: b1106ed570a237f3ab80ba3fedb086c9ec0cb4a8)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Dmitry Baryshkov
e79bcac339 linux-firmware: upgrade 20250311 -> 20250410
Update the recipe, add firmware for Qualcomm QCS8300 RIDE board and
Lenovo Yoga Slim7x laptop. Extend firmware files used for Lenovo
ThinkPad T14s laptop.

License-Update: additional files

(From OE-Core rev: 880fa3bcbb46fda32f4916b35246c694b8579df8)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Peter Kjellerstedt
9378c20729 libstd-rs: Correct the license to use Unicode-3.0
This was missed in commit 3130069fdebb92f20b962fa8074564a27c3fb6b9.

(From OE-Core rev: 1378a4b39e7a0c38c74e0133f31df7f70ed7d6ea)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Peter Marko
201c65928e xz: upgrade 5.6.4 -> 5.8.1
Handle CVE-2025-31115

License-Update: add help note [1] and remove note for old releases [2]

[1] 6bbec3bda0
[2] 70f1f20378

(From OE-Core rev: cbea6f21d8fd96b0d7475fb3946ecaf666aec79d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Khem Raj
b99893df3d webkitgtk: Use WTF_CPU_UNKNOWN when building for riscv64
This helps fix the build regression seen with 2.48+

(From OE-Core rev: e06114af90b78abb3ba2e75c59fc4c60db8b6a9a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Markus Volk
675ac3e14e gtk4: update 4.18.3 -> 4.18.4
Overview of Changes in 4.18.4, 06-04-2025
=========================================

* Bugs fixed:
  - #7447 4.18.3 regression: cursor doesn't update state when crossing window
    boundaries (Matthias Clasen)
  - #7459 Gtk.Video causes segfault inside VM with wayland backend (Matthias
    Clasen)
  - #7466 Win32: can't resize or move windows anymore (Matthias Clasen)
  - !8375 testsuite: Make reftest-compare use gsize instead of int (Benjamin
    Otte)
  - !8378 wayland: Force setting cursor on enter
  - !8394 wayland: Force setting cursor on enter
  - !8400 Merge fixes from !8375 into 4.18
  - !8403 inspector: Survive without installed schemas
  - !8408 builder: Fix a menu parsing issue
  - !8422 win32: Fix initial window state
  - !8429 vulkan: Do not create dmabuf target images if not enabled

* Translation updates:
  - Bulgarian (Alexander Shopov)
  - Chinese (China) (Luming Zh)
  - Czech (Daniel Rusek)
  - Georgian (Ekaterine Papava)
  - Lithuanian (Aurimas Černius)
  - Persian (Danial Behzadi)
  - Portuguese (Hugo Carvalho)
  - Slovenian (Martin)
  - Turkish (Emin Tufan Çetin)
  - Ukrainian (Yuri Chornoivan)

(From OE-Core rev: 897ed3ac1315da593dabda2906e8d96c72280784)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-16 17:41:30 +01:00
Changqing Li
122e9a4961 buildtools-tarball: add envvars into BB_ENV_PASSTHROUGH_ADDITIONS
Here is one testcase:
For recipe tensorflow-lite-host-tools_2.18.0.bb, refer [1],
do_configure[network] = "1"
and it will git clone some repos in CMakeLists.txt

When buildtools is used and nativesdk-git is installed into sdk,
do_configure failed with error:
[1/9] Performing download step (git clone) for 'protobuf-populate'
Cloning into 'protobuf'...
fatal: unable to access 'https://github.com/protocolbuffers/protobuf/': error setting certificate file: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-wrlinuxsdk-linux/etc/ssl/certs/ca-certificates.crt

Fix by adding GIT_SSL_CAINFO in BB_ENV_PASSTHROUGH_ADDITIONS, so that
user can export GIT_SSL_CAINFO=${GIT_SSL_CAINFO} in their
do_configure:prepend() to fix above do_configure failure

CURL_CA_BUNDLE and REQUESTS_CA_BUNDLE is similar envvars, so all add
into BB_ENV_PASSTHROUGH_ADDITIONS

[1] https://github.com/nxp-imx/meta-imx/blob/styhead-6.12.3-1.0.0/meta-imx-ml/recipes-libraries/tensorflow-lite/tensorflow-lite-host-tools_2.18.0.bb

(From OE-Core rev: 183e043de423fd3f7833366ca524a6f7d17e6d14)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:49:59 +01:00
Changqing Li
2a1eb07755 buildtools-tarball: move setting of envvars to respective envfile
* make git,curl,python3-requests align with openssl, move the setting of
  envvars into respective envfile
* for environment.d-openssl.sh, also check if ca-certificates.crt exist
  before export envvars

(From OE-Core rev: 9d8ebfcd55ad274e79cb81f162397c8f39f4287b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:49:59 +01:00
Christos Gavros
07b2d077c7 initramfs-framework: remove hard dependency with busybox
In 'finish'script the Switch_root command with option -c is busybox specific.
When package-core-base-utils is selected the boot is breaking with message
"Switch_root: invalid option — ‘c’.It was reproduced using qemu.
Remove -c option to make it compatible with both providers.
It is tested using qemu with busybox and package-core-base-utils. In both cases
qemu boots successfully and filesystem is accessible.
Fixes [YOCTO #15716]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
CC: jbk <jbk@mm-software.com>
CC: Raj Khem <raj.khem@gmail.com>
CC: Adrian Freihofer <adrian.freihofer@gmail.com>
(From OE-Core rev: 0f745024fd40518f98390008b4f613d5641df416)

Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:49:59 +01:00
Zoltán Böszörményi
d4ca7bede8 mesa: add support for RustiCL under PACKAGECONFIG "opencl"
Mesa now has two OpenCL implementations: Clover (older one) and RustiCL
(newer one). Extend the "opencl" package config to include both
implementations into the libopencl-mesa (-dev) packages. As the Clover
implementation is in maintenance mode and is expected to be removed at
Mesa 25.2, it doesn't make sense to split the packages or to provide
two config options.

(From OE-Core rev: d76672d674b1e354ad774b8cef2d8b6cd4c9f400)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
[DB: merged "rusticl" and "clover" back to "opencl", reworked rust inheritance]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
3db74e2818 bindgen-cli: a tool to generate Rust bindings
Import bindgen-cli from the meta-clang layer, as it is required to
generate bindings for Mesa / RustiCL. Specify Khem as maintainer as he
is maintaining the meta-clang layer, which included this recipe too.

(From OE-Core rev: 8cd697f68eeaa7c19f97a0f44d0c5c0cc3252040)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
e34a6ed07b mesa: upgrade 24.0.7 -> 25.0.2
Upgrade the Mesa package, dropping applied and refreshing outstanding
patches. The dri3 config option is now gone, dependencies are merged
into X11 deps. The swrast gallium driver has been split into softpipe
and llvmpipe drivers. Reworked OpenCL support to use mesa_clc compiler.

License-Update: license text cleared and clarified.

(From OE-Core rev: f9eb0468e45ee5a6a3b3195ef5e78c328c4347c9)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
18ca038b7e llvm: enable more targets to build
Pull in the list of targets being enabled by meta-clang in order to
make the libllvm from OE-Core runtime compatible with the one built by
the clang recipe inside meta-clang.

(From OE-Core rev: 672a21e16a2f4aadc588b367f0fd1ff1df7b5c67)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
377a1cd823 llvm: add SPIRV-LLVM-Translator support
Mesa builds require SPIRV-LLVM-Translator in order to build CLC support.
While it is possible to build it separately (like meta-clang does), it
also requires a separate clang compiler (which OE-Core doesn't provide).

Use an alternative path and build SPIRV-LLVM-Translator as a part of the
LLVM build process, lifting the requirement for the separate clang. Once
Clang is properly integrated into the OE-Core layer, this can be split
to a separate package and dropped. In order to ease migration from
meta-clang and to ease future split, PROVIDE the spirv-llvm-translator
and make the llvm-spirv package RPROVIDE spirv-llvm-translator.

(From OE-Core rev: a617aaf3ac6b1ef2f4b0aaf6ca60122425ea6a7e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
c3a1f9b863 llvm: support building libclc
Current Mesa requires libclc in order to build Intel Gallium (iris) or
Vulkan drivers. In order to unblock Mesa updates, build libclc as a part
of the LLVM build process.

The libclc requires Clang for building, so enable Clang too via
LLVM_PROJECTS. Remove clang from the DESTDIR, so that it is only used
during the build process. Proper handling of Clang as a toolchain is a
separate and much more complicated topic. Clang is enabled for all kinds
of builds as it is a requirement for libclc to build.

Cleaning of ${datadir} has been moved to happen at the end of do_install
to be performed after do clang removal and made not to fail if
${datadir} is not empty, as libclc install files into that location.

NVPTX and SPIRV targets are enabled since they are required for the
libclc to link.

LLVM_NATIVE_TOOL_DIR is used to pass a path to the native tools built
via llvm-native instead of building them during the target and/or
nativesdk build.

The llvm-clc package is set to RPROVIDE libclc (and the recipe also
PROVIDEs libclc) in order to be compatible with the meta-clang packages
(and to be future-compatible with the split package after proper Clang
support is introduced to OE-Core).

(From OE-Core rev: 2773404dec7840e2252cfd5bf474be70d8e7888f)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
d41b5391ab llvm: remove LLVM_LDFLAGS from llvm-config --ldflags output
On native OE builds the LLVM_LDFLAGS gets a lot of extra flags which may
depend on exact build dir and as such be inappropriate to binaries
shared through sstate-cache. It is not possible to override this
behaviour in llvm-config since crossscripts are not being used for
native builds. Ignore LLVM_LDFLAGS for native builds.

(From OE-Core rev: a93d2bdf5c0cf1c2c08d99fd4ccd8d1aae0e0ba5)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
2ecf7ab469 llvm: also use llvm-config wrapper for nativesdk recipes
The recipes targeting the SDK (e.g. nativesdk-mesa) should also use the
llvm-config wrapper, otherwise they get get a lot of incorrect flags,
the most offensive being the rpath, as it results in TMPDIR being a part
of the resulting binary.

(From OE-Core rev: 4d4b02d28c8c5807c2a90402c1239ed2581eb884)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
e6a528d4d2 llvm: handle libdir in llvm-config
The llvm-config wrapper also needs to override a --libdir switch,
otherwise software (like mesa) end up using TMPDIR-based directory for
Clang resource lookup (and also encoding TMPDIR into the target binary).

(From OE-Core rev: c804ef9516d840e9bef717b6add77783a21a443a)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
bb44b98827 llvm: use OECMAKE_SOURCEPATH to specify cmake dir
Instead of pushing an `llvm` sourcedir into S, specify it through the
OECMAKE_SOURCEPATH so that all the patches are applied to the topdir and
debug paths also use top path to map.

(From OE-Core rev: 43019c7b303da865a563fd672a699175b3d11e5a)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
8b7e9ea789 llvm: move libLLVM.so.N.M to llvm-libllvm package
Neither MAJOR_VER nor MINOR_VER are defined, so libLLVM.so.N.M ends up
in the main libllvm package rather than the llvm-libllvm package, as
expected. Fix this by properly using two-component version.

Fixes: db3bf550a372 ("llvm: Update to 18.1.0 RC4")
(From OE-Core rev: 1f729a019c6e5ea35d9a5196b68d81f31a8a1594)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Dmitry Baryshkov
3434e65b4e runqemu: also set GBM_BACKENDS_PATH
Newer Mesa dynamically loads GBM backends from the libdir. This is going
to cause issues with running native QEMU as the libdir
(mesa-native/recipes-sysroot-native) will not exist when it's executed.
Follow the LIBGL_DRIVERS_PATH approach and specify a path to GBM
backends via GBM_BACKENDS_PATH environment variable.

(From OE-Core rev: 91797b077f5fe9f13319d1633f491bad2c6f7560)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 11:44:22 +01:00
Bruce Ashfield
3febeb3587 linux-yocto/6.12: update to v6.12.22
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:

    55767d6e74ef Linux 6.12.22
    9e6e83e1e2d0 bcachefs: bch2_ioctl_subvolume_destroy() fixes
    a964484a3537 serial: 8250_dma: terminate correct DMA in tx_dma_flush()
    5f9176f82ec7 serial: stm32: do not deassert RS485 RTS GPIO prematurely
    f86907583000 perf tools: Fix up some comments and code to properly use the event_source bus
    b094e8e3988e memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove
    a4931d9fb99e usb: xhci: Apply the link chain quirk on NEC isoc endpoints
    6af20ac254cb usb: xhci: Don't skip on Stopped - Length Invalid
    ed5760db3d8a net: usb: usbnet: restore usb%d name exception for local mac addresses
    52e05bea53c2 net: usb: qmi_wwan: add Telit Cinterion FE990B composition
    666e78b47713 net: usb: qmi_wwan: add Telit Cinterion FN990B composition
    53a005d3019f tty: serial: fsl_lpuart: disable transmitter before changing RS485 related registers
    27bd86d139ce tty: serial: 8250: Add Brainboxes XC devices
    54f9a8dcab90 tty: serial: 8250: Add some more device IDs
    0fac51a2d143 counter: microchip-tcb-capture: Fix undefined counter channel state on probe
    181a2ab650f7 counter: stm32-lptimer-cnt: fix error handling when enabling
    3ed38d0297fa ALSA: hda/realtek: Support mute LED on HP Laptop 15s-du3xxx
    2bb139e483f8 netfilter: socket: Lookup orig tuple for IPv6 SNAT
    2c1674fb52b2 drm/amd/display: Don't write DP_MSTM_CTRL after LT
    95407304253a nfsd: fix legacy client tracking initialization
    09691f367df4 atm: Fix NULL pointer dereference
    dddd13f7f167 HID: hid-plantronics: Add mic mute mapping and generalize quirks
    a532e7680878 ALSA: usb-audio: Add quirk for Plantronics headsets to fix control names
    2ee7ebed771b mips: Add '-std=gnu11' to vdso CFLAGS
    3423cae69078 Linux 6.12.21
    2fa52cd829c1 mptcp: Fix data stream corruption in the address announcement
    86368616a9ce mm/huge_memory: drop beyond-EOF folios with the right number of refs
    e7940c5794c3 arm64: dts: rockchip: fix u2phy1_host status for NanoPi R4S
    9aaffd371829 libsubcmd: Silence compiler warning
    8ece5abd7490 Revert "sched/core: Reduce cost of sched_move_task when config autogroup"
    c7762348038b KVM: arm64: Eagerly switch ZCR_EL{1,2}
    4a397bf077e7 KVM: arm64: Mark some header functions as inline
    2e4f2c20db53 KVM: arm64: Refactor exit handlers
    cb53828d6911 KVM: arm64: Remove VHE host restore of CPACR_EL1.SMEN
    d547b363f16a KVM: arm64: Remove VHE host restore of CPACR_EL1.ZEN
    f19a46cb5373 KVM: arm64: Remove host FPSIMD saving for non-protected KVM
    79e140bba70b KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state
    e6cd28bbbf90 KVM: arm64: Calculate cptr_el2 traps on activating traps
    73ef4f6e379b io_uring/net: fix sendzc double notif flush
    a4cb17797a5d ksmbd: fix incorrect validation for num_aces field of smb_acl
    731eccbd65aa drm/amdkfd: Fix user queue validation on Gfx7/8
    3aa8e00fefca drm/amdgpu: Fix JPEG video caps max size for navi1x and raven
    a0a43a133371 drm/amdgpu: Fix MPEG2, MPEG4 and VC1 video caps max size
    499d1adcac3e drm/amdgpu: Remove JPEG from vega and carrizo video caps
    97c2a78d2995 drm/amdgpu/pm: wire up hwmon fan speed for smu 14.0.2
    4b8b7026fc3b drm/amdgpu/pm: Handle SCLK offset correctly in overdrive for smu 14.0.2
    8201c17e986e drm/amdgpu: Restore uncached behaviour on GFX12
    eacbc9d28391 drm/amd/pm: add unique_id for gfx12
    c58726d64d08 drm/amd/display: Use HW lock mgr for PSR1 when only one eDP
    1992e216fd3c drm/amd/display: Fix message for support_edp0_on_dp1
    7341e36e6513 drm/amdgpu/gfx12: correct cleanup of 'me' field with gfx_v12_0_me_fini()
    1135a9431160 drm/sched: Fix fence reference count leak
    dd1801aa01bb drm/radeon: fix uninitialized size issue in radeon_vce_cs_parse()
    b2ab8c713bad pmdomain: amlogic: fix T7 ISP secpower
    f4489260f571 soc: qcom: pdr: Fix the potential deadlock
    91176c193417 batman-adv: Ignore own maximum aggregation size during RX
    130290f44bce xsk: fix an integer overflow in xp_create_and_assign_umem()
    6afe2ea2daec keys: Fix UAF in key_put()
    8332847875f7 efi/libstub: Avoid physical address 0x0 when doing random allocation
    c4e37b381a7a firmware: qcom: uefisecapp: fix efivars registration race
    54ccfef43773 ARM: shmobile: smp: Enforce shmobile_smp_* alignment
    0b1d48698ed9 ARM: dts: imx6qdl-apalis: Fix poweroff on Apalis iMX6
    2e1dfe3105ab memcg: drain obj stock on cpu hotplug teardown
    ede3e8ac90ae proc: fix UAF in proc_get_inode()
    4b84c6437f4b mm/page_alloc: fix memory accept before watermarks gets initialized
    c057ee03f751 mm/migrate: fix shmem xarray update during migration
    abc2677d167d mm: fix error handling in __filemap_get_folio() with FGP_NOWAIT
    baa37829052f selftests/mm: run_vmtests.sh: fix half_ufd_size_MB calculation
    8f8eb5afa2cb mmc: atmel-mci: Add missing clk_disable_unprepare()
    e96500b7d695 mmc: sdhci-brcmstb: add cqhci suspend/resume to PM ops
    838c916e6d66 arm64: dts: rockchip: fix pinmux of UART5 for PX30 Ringneck on Haikou
    f8ec8036e7e0 arm64: dts: rockchip: fix pinmux of UART0 for PX30 Ringneck on Haikou
    200517d82b4c arm64: dts: freescale: imx8mm-verdin-dahlia: add Microphone Jack to sound card
    16f1b7dc28a4 arm64: dts: freescale: imx8mp-verdin-dahlia: add Microphone Jack to sound card
    b362fc904d26 accel/qaic: Fix integer overflow in qaic_validate_req()
    a99f1254b11e regulator: check that dummy regulator has been probed before using it
    d3b83a1442a0 regulator: dummy: force synchronous probing
    0def1a40c3e7 netfs: Call `invalidate_cache` only if implemented
    adb7325362c7 riscv: dts: starfive: Fix a typo in StarFive JH7110 pin function definitions
    66e3cc3885e8 io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally
    4b4d2527840f drm/v3d: Don't run jobs that have errors flagged in its fence
    c76a537ca228 drm/xe: Fix exporting xe buffers multiple times
    dc55ba5f6dd5 can: flexcan: disable transceiver during system PM
    7072723e0534 can: flexcan: only change CAN state when link up in system PM
    8cec9e314d33 can: ucan: fix out of bound read in strscpy() source
    eb14937ece4f can: rcar_canfd: Fix page entries in the AFL list
    76a13fad5a3f dt-bindings: can: renesas,rcar-canfd: Fix typo in pattern properties for R-Car V4M
    15cc669513d6 net: mana: Support holes in device list reply msg
    bb83e6e7b56e i2c: omap: fix IRQ storms
    71c9cf87776e tracing: tprobe-events: Fix leakage of module refcount
    a3ff812d68f6 Revert "gre: Fix IPv6 link-local address generation."
    250793874f91 net/neighbor: add missing policy for NDTPA_QUEUE_LENBYTES
    176d0333aae4 libfs: Fix duplicate directory entry in offset_dir_lookup
    0d8a8179fa52 net: ipv6: ioam6: fix lwtunnel_output() loop
    49a009135042 net: lwtunnel: fix recursion loops
    1344df9a981c net: ti: icssg-prueth: Add lock to stats
    326223182e47 net: atm: fix use after free in lec_send()
    99918fb674d2 gpu: host1x: Do not assume that a NULL domain means no DMA IOMMU
    58ed057dcdb3 phy: fix xa_alloc_cyclic() error handling
    cb2f8a5c1fd9 dpll: fix xa_alloc_cyclic() error handling
    f8aaa38cfaf6 devlink: fix xa_alloc_cyclic() error handling
    cfbde06fda15 ipv6: Set errno after ip_fib_metrics_init() in ip6_route_info_create().
    29d91820184d ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().
    8940e6168bb3 net: ipv6: fix TCP GSO segmentation with NAT
    d4bf956547c3 net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
    8bf2f1ba2729 ata: libata-core: Add ATA_QUIRK_NO_LPM_ON_ATI for certain Samsung SSDs
    5ba4f58ec2de tracing: tprobe-events: Fix to clean up tprobe correctly when module unload
    dfc80ed249b6 ARM: davinci: da850: fix selecting ARCH_DAVINCI_DA8XX
    1be40f79d36d accel/qaic: Fix possible data corruption in BOs > 2G
    e8f50474037f Bluetooth: hci_event: Fix connection regression between LE and non-LE adapters
    761b7c36addd Bluetooth: Fix error code in chan_alloc_skb_cb()
    bc6824b3aaff RDMA/hns: Fix wrong value of max_sge_rd
    abf7f5be159a RDMA/hns: Fix missing xa_destroy()
    0fa35d93d50a RDMA/hns: Fix a missing rollback in error path of hns_roce_create_qp_common()
    7912097c9304 RDMA/hns: Fix invalid sq params not being blocked
    4e4c2571aac4 RDMA/hns: Fix unmatched condition in error path of alloc_user_qp_db()
    13a52f6c9ff9 RDMA/hns: Fix soft lockup during bt pages loop
    d7b8dc4a0dce RDMA/bnxt_re: Avoid clearing VLAN_ID mask in modify qp path
    ca3c033a4fe1 dma-mapping: fix missing clear bdr in check_ram_in_range_map()
    db7dd032eeb2 ARM: dts: BCM5301X: Fix switch port labels of ASUS RT-AC3200
    2c74f29eaa0d ARM: dts: BCM5301X: Fix switch port labels of ASUS RT-AC5300
    d4ebdbbd4603 ARM: dts: bcm2711: Don't mark timer regs unconfigured
    49d3178ea54a ARM: OMAP1: select CONFIG_GENERIC_IRQ_CHIP
    7c2a5a535cbd RDMA/mlx5: Handle errors returned from mlx5r_ib_rate()
    adeba5b0d120 RDMA/bnxt_re: Add missing paranthesis in map_qp_id_to_tbl_indx
    2776978d2fac RDMA/rxe: Fix the failure of ibv_query_device() and ibv_query_device_ex() tests
    9d22afe499d0 arm64: dts: rockchip: Remove undocumented sdmmc property from lubancat-1
    be96850f9ed2 arm64: dts: bcm2712: PL011 UARTs are actually r1p5
    98c175b8eb2b ARM: dts: bcm2711: PL011 UARTs are actually r1p5
    b8a47aa0b3df ARM: dts: bcm2711: Fix xHCI power-domain
    11ae21f1b926 soc: imx8m: Unregister cpufreq and soc dev in cleanup path
    224d8bf798fb soc: imx8m: Use devm_* to simplify probe failure handling
    4d709816638d soc: imx8m: Remove global soc_uid
    25e4700489cf xfrm_output: Force software GSO only in tunnel mode
    a0395e96831a xfrm: fix tunnel mode TX datapath in packet offload mode
    a64df69c9718 arm64: dts: rockchip: remove supports-cqe from rk3588 tiger
    02396956ad89 arm64: dts: rockchip: remove supports-cqe from rk3588 jaguar
    5e203693ebf2 arm64: dts: freescale: tqma8mpql: Fix vqmmc-supply
    ea835113e5d0 firmware: imx-scu: fix OF node leak in .probe()
    d78510d151b5 firmware: qcom: scm: Fix error code in probe()
    f491dd2afe1c Linux 6.12.20
    62b9ad7e52d4 fs/netfs/read_collect: add to next->prev_donated
    8f324d99306b HID: apple: disable Fn key handling on the Omoton KB066
    888bcd6c5832 nvme-fc: rely on state transitions to handle connectivity loss
    f87271d21dd4 Bluetooth: L2CAP: Fix corrupted list in hci_chan_del
    ee06d5c81041 tools/sched_ext: Add helper to check task migration state
    46db29a2c8b1 sched_ext: selftests/dsp_local_on: Fix selftest on UP systems
    9d9d87e44dd7 smb: client: Fix match_session bug preventing session reuse
    beb97eba4cd8 smb3: add support for IAKerb
    f41514828296 mm/hugetlb: wait for hugetlb folios to be freed
    3b699bcc2667 i2c: sis630: Fix an error handling path in sis630_probe()
    ee2ae325f78e i2c: ali15x3: Fix an error handling path in ali15x3_probe()
    be05097610f0 i2c: ali1535: Fix an error handling path in ali1535_probe()
    9233b85afb47 x86/vmware: Parse MP tables for SEV-SNP enabled guests under VMware hypervisors
    1c46673be93d cifs: Fix integer overflow while processing closetimeo mount option
    4740cef2a9d0 cifs: Fix integer overflow while processing actimeo mount option
    2809a79bc649 cifs: Fix integer overflow while processing acdirmax mount option
    833f2903eb8b cifs: Fix integer overflow while processing acregmax mount option
    527bde0d9cac block: change blk_mq_add_to_batch() third argument type to bool
    0dfe4a7957a5 scripts: generate_rust_analyzer: add uapi crate
    4614939363bb scripts: generate_rust_analyzer: add missing include_dirs
    657f5e3eeceb scripts: generate_rust_analyzer: add missing macros deps
    7c29e8fd1f0e drm/i915: Increase I915_PARAM_MMAP_GTT_VERSION version to indicate support for partial mmaps
    e72a52a5cf18 ASoC: codecs: wm0010: Fix error handling path in wm0010_spi_probe()
    77213a424a48 nvme: move error logging from nvme_end_req() to __nvme_end_req()
    6f33bb8664b8 drm/xe/pm: Temporarily disable D3Cold on BMG
    b99b5c254442 drm/xe/userptr: Fix an incorrect assert
    0e9989bea707 drm/xe: Release guc ids before cancelling work
    084c46a133c1 drm/xe: cancel pending job timer before freeing scheduler
    90d1cf2fad80 ASoC: rt722-sdca: add missing readable registers
    9dcd2b72ea05 rust: init: add missing newline to pr_info! calls
    c79a462560d0 ASoC: cs42l43: Fix maximum ADC Volume
    cebcc1f336a6 drm/gma500: Add NULL check for pci_gfx_root in mid_get_vbt_data()
    4ec50b0cead5 rust: error: add missing newline to pr_warn! calls
    a46a9371f8b9 ASoC: ops: Consistently treat platform_max as control value
    752b56bb76e2 sched_ext: Validate prev_cpu in scx_bpf_select_cpu_dfl()
    72833a339f1f net: phy: nxp-c45-tja11xx: add TJA112XB SGMII PCS restart errata
    d52d624f3d70 net: phy: nxp-c45-tja11xx: add TJA112X PHY configuration errata
    b9004fe68878 smb: client: fix regression with guest option
    9721f3a79345 qlcnic: fix memory leak issues in qlcnic_sriov_common.c
    608bbf7ff5a5 Fix mmu notifiers for range-based invalidates
    f6bbea2ffea7 arm64: mm: Populate vmemmap at the page level if not section aligned
    5a87e46da241 dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
    454825019d2f netmem: prevent TX of unreadable skbs
    e2c89427e08b ASoC: amd: yc: Support mic on another Lenovo ThinkPad E16 Gen 2 model
    ac4b32cb59ff ASoC: Intel: sof_sdw: Fix unlikely uninitialized variable use in create_sdw_dailinks()
    0a024f992500 clk: samsung: gs101: fix synchronous external abort in samsung_clk_save()
    d14ef11b1d1e clk: samsung: update PLL locktime for PLL142XX used on FSD platform
    a4261bbc33fb ksmbd: prevent connection release during oplock break notification
    62746ae3f541 ksmbd: fix use-after-free in ksmbd_free_work_struct
    bac7b8b1a3f1 drm/amd/display: Fix slab-use-after-free on hdcp_work
    04f90b505ad3 drm/amd/display: Assign normalized_pix_clk when color depth = 14
    6d669a3b031a drm/amd/display: Restore correct backlight brightness after a GPU reset
    fefa811e616b drm/amd/display: fix missing .is_two_pixels_per_container
    9826fd36ff20 drm/amd/display: fix default brightness
    d1227b94d75c drm/amd/display: Disable unneeded hpd interrupts during dm_init
    60ae74e367ae drm/amdgpu/display: Allow DCC for video formats on GFX12
    c5c5e76aea80 drm/amd/amdkfd: Evict all queues even HWS remove queue failed
    72235808eabe drm/amdgpu: NULL-check BO's backing store when determining GFX12 PTE flags
    beb47bc67363 drm/dp_mst: Fix locking when skipping CSN before topology probing
    962912aaf8d1 drm/atomic: Filter out redundant DPMS calls
    e487d35964fb drm/panic: fix overindented list items in documentation
    8232ec53bcdd drm/panic: use `div_ceil` to clean Clippy warning
    8f55d4414d55 drm/i915/cdclk: Do cdclk post plane programming later
    220e26960ef4 spi: microchip-core: prevent RX overflows when transmit size > FIFO size
    488ffc0cac38 x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes
    677088b7fa88 rust: init: fix `Zeroable` implementation for `Option<NonNull<T>>` and `Option<KBox<T>>`
    514d35a745b8 rust: Disallow BTF generation with Rust + LTO
    28d472f153f9 rust: alloc: satisfy POSIX alignment requirement
    6db379b34a06 rust: remove leftover mentions of the `alloc` crate
    2ef7bdb84620 rust: lockdep: Remove support for dynamically allocated LockClassKeys
    ccffb475c133 USB: serial: option: match on interface class for Telit FN990B
    d233dbf101b1 USB: serial: option: fix Telit Cinterion FE990A name
    3bfa629f4516 USB: serial: option: add Telit Cinterion FE990B compositions
    87ede08ef245 USB: serial: ftdi_sio: add support for Altera USB Blaster 3
    1a7493a2b899 Input: i8042 - swap old quirk combination with new quirk for more devices
    64c6abf1b427 Input: i8042 - swap old quirk combination with new quirk for several devices
    ee554ffa3731 Input: i8042 - add required quirks for missing old boardnames
    3d6fa8c56bb1 Input: i8042 - swap old quirk combination with new quirk for NHxxRZQ
    0ff93d895619 Input: xpad - rename QH controller to Legion Go S
    f7ccf4eb4bac Input: xpad - add support for TECNO Pocket Go
    d91dd818f1fc Input: xpad - add support for ZOTAC Gaming Zone
    e2304bbf8789 Input: xpad - add multiple supported devices
    1936b189fa7d Input: xpad - add 8BitDo SN30 Pro, Hyperkin X91 and Gamesir G7 SE controllers
    84f7b6f1d63a Input: iqs7222 - preserve system status register
    2daccd3b50dd Input: ads7846 - fix gpiod allocation
    eff502828bb4 Input: goodix-berlin - fix vddio regulator references
    fef9d44b24be cifs: Throw -EOPNOTSUPP error on unsupported reparse point type from parse_reparse_point()
    b2bccc729b93 cifs: Validate content of WSL reparse point buffers
    061ea46c56f6 vhost: return task creation error instead of NULL
    7184e996107c block: fix 'kmem_cache of name 'bio-108' already exists'
    d1ceef54b239 net: Handle napi_schedule() calls from non-interrupt
    1cf295ac531c drm/nouveau: Do not override forced connector status
    27fcaf0afe16 mptcp: safety check before fallback
    d7e94211d12d perf/x86/rapl: Add support for Intel Arrow Lake U
    2d2b4bdf083d x86/irq: Define trace events conditionally
    c481ada21a72 x86/of: Don't use DTB for SMP setup if ACPI is enabled
    b1d5a2c0501f perf/x86/intel: Use better start period for frequency mode
    665de082f3cb drm/vkms: Round fixp2int conversion in lerp_u16
    7b67d2671481 ASoC: SOF: Intel: don't check number of sdw links when set dmic_fixup
    e5c9f8d2202d ASoC: dapm-graph: set fill colour of turned on nodes
    df2ae00d9605 fuse: don't truncate cached, mutated symlink
    c54e42985189 ASoC: tas2764: Set the SDOUT polarity correctly
    1769f5cb5395 ASoC: tas2764: Fix power control mask
    e43334e1dc09 ASoC: tas2770: Fix volume scale
    06d7337799dc phy: ti: gmii-sel: Do not use syscon helper to build regmap
    bfe7f298eedc nvme: only allow entering LIVE from CONNECTING state
    94e7476fa7c5 sctp: Fix undefined behavior in left shift operation
    7ece63c977c1 cifs: Treat unhandled directory name surrogate reparse points as mount directory nodes
    317fb015fe58 apple-nvme: Release power domains when probe fails
    1f07456a5a66 nvmet-rdma: recheck queue state is LIVE in state lock in recv done
    fd903dd30122 nvme-pci: quirk Acer FA100 for non-uniqueue identifiers
    b349a3d1b15e io-wq: backoff when retrying worker creation
    4fd9f51368a2 net: wwan: mhi_wwan_mbim: Silence sequence number glitch errors
    a14be80a82c8 ASoC: SOF: amd: Handle IPC replies before FW_BOOT_COMPLETE
    985c2c69a5e4 ASoC: SOF: amd: Add post_fw_run_delay ACP quirk
    eb49f80b8a6f ALSA: hda: hda-intel: add Panther Lake-H support
    458173e86d77 ASoC: SOF: Intel: pci-ptl: Add support for PTL-H
    c51c8ec76cfc ALSA: hda: intel-dsp-config: Add PTL-H support
    4ed43c26b7dc PCI: pci_ids: add INTEL_HDA_PTL_H
    8aac6256919d ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module
    5b27776a2beb ASoC: arizona/madera: use fsleep() in up/down DAPM event delays.
    f6eaaf1f5bcf ASoC: rsnd: adjust convert rate limitation
    6ff121ffe87c ASoC: rsnd: don't indicate warning on rsnd_kctrl_accept_runtime()
    e96e1000be20 ASoC: rsnd: indicate unsupported clock rate
    d44418f5024f ALSA: hda/realtek: Limit mic boost on Positivo ARN50
    a402f90da448 ASoC: simple-card-utils.c: add missing dlc->of_node
    c18fc7e6bbd0 ASoC: Intel: soc-acpi-intel-mtl-match: declare adr as ull
    ed05ae9a27c9 ASoC: Intel: sof_sdw: Add quirk for Asus Zenbook S14
    d5742c484f52 ASoC: Intel: sof_sdw: Add lookup of quirk using PCI subsystem ID
    45fb7e0d0cab selftests/bpf: Fix invalid flag of recv()
    02a12760d7c9 drm/tests: hdmi: Fix recursive locking
    b0f9bb67869d drm/tests: hdmi: Reorder DRM entities variables assignment
    9828d2f2a6ee drm/tests: hdmi: Remove redundant assignments
    f8094625a591 Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd
    2139811c3f79 Xen/swiotlb: mark xen_swiotlb_fixup() __init
    aa3b0ea4742a arm64: amu: Delay allocating cpumask for AMU FIE support
    8aa4c89378ed LoongArch: KVM: Set host with kernel mode when switch to VM mode
    f30b7b949ed8 LoongArch: Fix kernel_page_present() for KPRANGE/XKPRANGE
    a91922e9eab5 thermal/cpufreq_cooling: Remove structure member documentation
    e129f7291506 s390/cio: Fix CHPID "configure" attribute caching
    7e759fb01512 platform/x86: int3472: Call "reset" GPIO "enable" for INT347E
    515b17dcd4cf platform/x86: int3472: Use correct type for "polarity", call it gpio_flags
    f6ee81371e70 platform/x86: thinkpad_acpi: Support for V9 DYTC platform profiles
    f92324135f09 platform/x86: thinkpad_acpi: Fix invalid fan speed on ThinkPad X120e
    30a40b592594 sched: Clarify wake_up_q()'s write to task->wake_q.next
    c39bd0df25b4 objtool: Ignore dangling jump table entries
    d5ca39d3369a btrfs: fix two misuses of folio_shift()
    3ceaafa26f30 HID: apple: fix up the F6 key on the Omoton KB066 keyboard
    024d7e006aa4 HID: hid-apple: Apple Magic Keyboard a3203 USB-C support
    08fde0878480 selftests/cgroup: use bash in test_cpuset_v1_hp.sh
    fb019cf04211 HID: topre: Fix n-key rollover on Realforce R3S TKL boards
    2501c9ce2da7 HID: intel-ish-hid: ipc: Add Panther Lake PCI device IDs
    25736fe5893d usb: phy: generic: Use proper helper for property detection
    705f2515189c HID: hid-steam: Fix issues with disabling both gamepad mode and lizard mode
    6ca3d4d87af4 HID: ignore non-functional sensor in HP 5MP Camera
    3cef11955f29 HID: intel-ish-hid: Send clock sync message immediately after reset
    e9275a19e271 HID: intel-ish-hid: fix the length of MNG_SYNC_FW_CLOCK in doorbell
    05db4968d4bb sched_ext: selftests/dsp_local_on: Fix sporadic failures
    7963b379a37c selftests: always check mask returned by statmount(2)
    37e638d4cae4 vboxsf: fix building with GCC 15
    3b477a0296f4 alpha/elf: Fix misc/setarch test of util-linux by removing 32bit support
    ef35c36fb4f1 smb: client: fix noisy when tree connecting to DFS interlink targets
    61699cb2534f ACPI: resource: IRQ override for Eluktronics MECH-17
    af71ba921d08 scsi: qla1280: Fix kernel oops when debug level > 2
    3be04084517e scsi: ufs: core: Fix error return with query response
    1207e5d1a268 scsi: core: Use GFP_NOIO to avoid circular locking dependency
    36793d90d76f drm/amd/display: Fix out-of-bound accesses
    8bf1b5eeaf94 platform/x86/intel: pmc: fix ltr decode in pmc_core_ltr_show()
    20d6994b6f1f sched/debug: Provide slice length for fair tasks
    b253660fac5e iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()
    aa189c394168 futex: Pass in task to futex_queue()
    fb51a7209398 btrfs: avoid starting new transaction when cleaning qgroup during subvolume drop
    ccdec7ea9a3d powercap: call put_device() on an error path in powercap_register_control_type()
    ae5716b4631f hrtimers: Mark is_migration_base() with __always_inline
    18bee525aa9a nvme-fc: do not ignore connectivity loss during connecting
    50ef04270048 nvme-fc: go straight to connecting state when initializing
    d6402fb37720 net/mlx5e: Prevent bridge link show failure for non-eswitch-allowed devices
    f7bf259a0427 net/mlx5: Bridge, fix the crash caused by LAG state check
    b22fae6a7aaf net/mlx5: Lag, Check shared fdb before creating MultiPort E-Switch
    4251e73182c3 net/mlx5: Fix incorrect IRQ pool usage when releasing IRQs
    5f634c972be8 net/mlx5: HWS, Rightsize bwc matcher priority
    9e79fdabd52c Revert "openvswitch: switch to per-action label counting in conntrack"
    e6610f9c08b4 net: openvswitch: remove misbehaving actions length check
    a4d42b590115 gre: Fix IPv6 link-local address generation.
    931681bc821f netfilter: nft_exthdr: fix offset with ipv4_find_option()
    5c3ca9cb48b5 net_sched: Prevent creation of classes with TC_H_ROOT
    e6cb63fac7fd ipvs: prevent integer overflow in do_ip_vs_get_ctl()
    db1e0c085682 netfilter: nf_conncount: Fully initialize struct nf_conncount_tuple in insert_tree()
    992a60cdfd9f rtase: Fix improper release of ring list entries in rtase_sw_reset
    247347fe0cdd selftests: bonding: fix incorrect mac address
    4cf224c45fe7 bonding: fix incorrect MAC address setting to receive NS messages
    5c47d5bfa7b0 net: mctp: unshare packets when reassembling
    a597d4b75669 net: switchdev: Convert blocking notification chain to a raw one
    187ef72a8438 eth: bnxt: fix memory leak in queue reset
    0997443906b9 bnxt_en: handle tpa_info in queue API implementation
    fa36f457eec3 bnxt_en: refactor tpa_info alloc/free into helpers
    f49bc4d7ff3d eth: bnxt: use page pool for head frags
    f059a0fd7330 eth: bnxt: fix kernel panic in the bnxt_get_queue_stats{rx | tx}
    5b57ed14a1b8 eth: bnxt: do not update checksum in bnxt_xdp_build_skb()
    a6604717850e eth: bnxt: do not use BNXT_VNIC_NTUPLE unconditionally in queue restart logic
    14eb5f0d6554 eth: bnxt: return fail if interface is down in bnxt_queue_mem_alloc()
    19107e71be33 eth: bnxt: fix truesize for mb-xdp-pass case
    1d34296409a5 net/mlx5: handle errors in mlx5_chains_create_table()
    102d02874911 Drivers: hv: vmbus: Don't release fb_mmio resource in vmbus_free_mmio()
    4545e2aa121a fbdev: hyperv_fb: Allow graceful removal of framebuffer
    ae833890703c fbdev: hyperv_fb: Simplify hvfb_putmem
    cfffe46a994a fbdev: hyperv_fb: Fix hang in kdump kernel when on Hyper-V Gen 2 VMs
    24f1bbfb2be7 drm/hyperv: Fix address space leak when Hyper-V DRM device is removed
    be7188d7f1f6 netpoll: hold rcu read lock in __netpoll_send_skb()
    caff87addf19 net: mctp i2c: Copy headers if cloned
    370dacb7edc2 net: mctp i3c: Copy headers if cloned
    956d8ef54a42 net: dsa: mv88e6xxx: Verify after ATU Load ops
    251841a71c4f net/mlx5: Fill out devlink dev info only for PFs
    55b098a2beec Revert "Bluetooth: hci_core: Fix sleeping function called from invalid context"
    0677a4f3c067 Bluetooth: hci_event: Fix enabling passive scanning
    a5158d67bff0 wifi: cfg80211: cancel wiphy_work before freeing wiphy
    83a73cb88f1d wifi: mac80211: don't queue sdata::work for a non-running sdata
    6114d2e6efda wifi: iwlwifi: mvm: fix PNVM timeout for non-MSI-X platforms
    68896dd50180 sched: address a potential NULL pointer dereference in the GRED scheduler.
    0befa32ac3f9 netfilter: nf_tables: make destruction work queue pernet
    a5396ee0f541 netfilter: nf_conncount: garbage collection is not skipped when jiffies wrap around
    198907fa1444 ice: Fix switchdev slow-path in LAG
    3b27e6e10a32 ice: fix memory leak in aRFS after reset
    44386eb2d9b7 ice: do not configure destination override for switchdev
    2231d7c821f3 netfilter: nft_ct: Use __refcount_inc() for per-CPU nft_ct_pcpu_template.
    a585f6ea42ec pinctrl: nuvoton: npcm8xx: Add NULL check in npcm8xx_gpio_fw
    319900a10835 pinctrl: bcm281xx: Fix incorrect regmap max_registers value
    ea8411db9fba fbdev: hyperv_fb: iounmap() the correct memory when removing a device
    99012b24ca23 userfaultfd: fix PTE unmapping stack-allocated PTE copies
    4e9507246298 mm: fix kernel BUG when userfaultfd_move encounters swapcache
    a74979dce9e9 mm/slab/kvfree_rcu: Switch to WQ_MEM_RECLAIM wq
    b2c792d89ac5 yaffs2: switch from readlink_copy() to vfs_readlink()
    807165b1ec1c tools/power/x86/intel-speed-select: Prefix header search path with sysroot
    e97df805b938 drm/tilcdc: Set preferred depth
    7160a4379dcc arch/arm64/configs: remove CONFIG_SM_DISPCC_8650
    6d8ac5ebe6e8 aufs6: core
    587abc1b64c4 aufs6: standalone
    1af41d30ef42 aufs6: mmap
    6ee2464d2e9d aufs6: base
    103b676505f7 aufs6: kbuild
    67281562943f qemux86: add configuration symbol to select values
    73f315ca0823 sched/isolation: really align nohz_full with rcu_nocbs
    1e4e7f8ab622 clear_warn_once: add a clear_warn_once= boot parameter
    918e7a825e8b clear_warn_once: bind a timer to written reset value
    f533f87c3758 clear_warn_once: expand debugfs to include read support
    f149ca27cba9 tools: Remove some options from CLANG_CROSS_FLAGS
    e633abe9c44e libbpf: Fix build warning on ref_ctr_off
    ec0916a4cfc1 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    03721ceb5626 perf: x86-32: explicitly include <errno.h>
    4c36c5295bb0 perf: mips64: Convert __u64 to unsigned long long
    b0200449610d perf: fix bench numa compilation
    aff0940b2212 perf: add SLANG_INC for slang.h
    ef912018d28c perf: add sgidefs.h to for mips builds
    d8860f858b87 perf: change --root to --prefix for python install
    dc38a0eee6e5 perf: add 'libperl not found' warning
    6ed51f8786da perf: force include of <stdbool.h>
    c538d4c4ac65 fat: Replace prandom_u32() with get_random_u32()
    63d94846f0c5 fat: don't use obsolete random32 call in namei_vfat
    7816667451ef FAT: Added FAT_NO_83NAME
    f81dbd60f0d5 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    771cdefba44b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    a24784fd8f88 yaffs2: update to v6.12 folio changes
    d0a48fd46db8 yaffs2: adapt to v6.10 i_time changes
    d097e4d4115a yaffs: fix mtime/itime field access
    4411e0d49fe3 yaffs2: update VFS ctime operations to 6.6+
    1b6619086e8b yaffs2: v6.5 fixups
    25b261ee3c54 yaffs2: Fix miscalculation of devname buffer length
    5c07936a5d1c yaffs2: convert user_namespace to mnt_idmap
    55986a1284b3 yaffs2: replace bdevname call with sprintf
    6f5508f8db8f yaffs2: convert read_page -> readfolio
    fd179a5df5d5 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    c9a620dacdd1 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    78588208ed17 yaffs2: v5.12+ build fixups (not runtime tested)
    8d2dddba272c yaffs: include blkdev.h
    8c1ca9ef9712 yaffs: Fix build failure by handling inode i_version with proper atomic API
    27005cbac2ed yaffs2: v5.6 build fixups
    668211c9f9b7 yaffs2: fix memory leak when /proc/yaffs is read
    285f911dcc1c yaffs: add strict check when call yaffs_internal_read_super
    ffc2ed489ccf yaffs: repair yaffs_get_mtd_device
    6dce4b70a5e3 yaffs: Fix build failure by handling inode i_version with proper atomic API
    19f283abc5d1 yaffs2: fix memory leak in mount/umount
    04e84672b571 yaffs: Avoid setting any ACL releated xattr
    4f221d6a32e2 Yaffs:check oob size before auto selecting Yaffs1
    81f36004e56b fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    26d7a3dd0054 yaffs2: adjust to proper location of MS_RDONLY
    a7016eac4540 yaffs2: import git revision b4ce1bb (jan, 2020)
    feb240bbb91e initramfs: allow an optional wrapper script around initramfs generation
    874746eaa341 drivers: gpu: drm: msm: registers: improve reproducibility
    1d42508faee8 tools: use basename to identify file in gen-mach-types
    4b055eca593d iwlwifi: select MAC80211_LEDS conditionally
    97e20e275ac0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    6dec58319165 defconfigs: drop obselete options
    a416ccb5b6c9 linux-yocto: Handle /bin/awk issues
    7efe8a1e5158 uvesafb: provide option to specify timeout for task completion
    78d10ae07eca uvesafb: print error message when task timeout occurs
    80473b7eb8ca compiler.h: Undef before redefining __attribute_const__
    ddeff2f1a9a7 vmware: include jiffies.h
    3dcdda8912b4 Resolve jiffies wrapping about arp
    3b1507db6735 nfs: Allow default io size to be configured.
    c2fedad05f77 check console device file on fs when booting
    208d6fbada3f mount_root: clarify error messages for when no rootfs found
    dbe9454c8ea0 mconf: fix output of cflags and libraries
    7c7b224f5cce menuconfig,mconf-cfg: Allow specification of ncurses location
    b6c189c81397 modpost: mask trivial warnings
    a5cc21325ba9 kbuild: exclude meta directory from distclean processing
    361ec143c23f powerpc: serialize image targets
    605e6ccb304c arm: serialize build targets
    e94b04fcb7d2 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    44cc7f69a0a0 cpu/amd: inhibit SMP check for qemux86
    a08cb65331e6 x86_64_defconfig: Fix warnings
    8ad332ef777b mips: make current_cpu_data preempt safe
    754f05ddce3f mips: vdso: fix 'jalr $t9' crash in vdso code
    325ff78ff44d mips: Kconfig: add QEMUMIPS64 option
    99ae0eadcf11 4kc cache tlb hazard: tlbp cache coherency
    c6894c66a534 malta uhci quirks: make allowance for slow 4k(e)c
    8b52c01f3294 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    16c7629f035e drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    6b60c874cbb0 arm64: defconfig: cleanup config options
    8e44673ecd89 vexpress: Pass LOADADDR to Makefile
    f34e6805aad5 arm: ARM EABI socketcall
    94dec9b88de4 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: cbf0aa5c95c4aa5786d3b699865c466d71e4c03f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 10:41:05 +01:00
Bruce Ashfield
9a1189c025 kern-tools: allow comments after configuration options
Bumping the kern-tools SRCREV to allow comments after configuration
options.

Without this update of the regex, symbol_why will incorrectly detect
that options are not in the final .config during audit.

(From OE-Core rev: ccfdd07adbfda1e3892a54706c610cdeab83237b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 10:41:05 +01:00
Bruce Ashfield
4e98034c91 linux-yocto/6.12: config: add pmem to genericarm64
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64: add pmem feature and enable on genericarm64
    Date: Fri, 14 Mar 2025 11:48:34 +0200

    PMEM enables firmware to provide large memory block devices
    to the kernel. The firmware can download e.g. installer
    rootfs images to memory which kernel can then boot into.

    u-boot support has been added in
    https://lore.kernel.org/u-boot/20241203163605.1482152-2-sughosh.ganu@linaro.org/

    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 7dffd225ee2c9169cfe0e1349eb4ca59e8c9fa9f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 10:41:05 +01:00
Bruce Ashfield
7607a984fd mips: Add '-std=gnu11' to vdso CFLAGS
Integrating the following commit(s) to linux-yocto/6.12:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: mips: Add '-std=gnu11' to vdso CFLAGS
    Date: Wed, 26 Mar 2025 20:24:36 -0700

    GCC 15 changed the default C standard dialect from gnu17 to gnu23,
    which should not have impacted the kernel because it explicitly requests
    the gnu11 standard in the main Makefile. However, mips/vdso code uses
    its own CFLAGS without a '-std=' value, which break with this dialect
    change because of the kernel's own definitions of bool, false, and true
    conflicting with the C23 reserved keywords.

      include/linux/stddef.h:11:9: error: cannot use keyword 'false' as enumeration constant
         11 |         false   = 0,
            |         ^~~~~
      include/linux/stddef.h:11:9: note: 'false' is a keyword with '-std=c23' onwards
      include/linux/types.h:35:33: error: 'bool' cannot be defined via 'typedef'
         35 | typedef _Bool                   bool;
            |                                 ^~~~
      include/linux/types.h:35:33: note: 'bool' is a keyword with '-std=c23' onwards

    Add '-std=gnu11' to the decompressor and purgatory CFLAGS to eliminate
    these errors and make the C standard version of these areas match the
    rest of the kernel.

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: adf40ca85d4de9257da2667f254b967f391c8a50)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-11 10:41:05 +01:00
Antonin Godard
43092d6e8d bitbake: doc/bitbake-user-manual-metadata.rst: fix python task example
Fix the old Python 2 print statement, replace it by a bb.plain() call
instead. Also replace time by datetime for a slightly simpler example.

[YOCTO #14670]

Reported-by: Robert Berger <pokylinux@reliableembeddedsystems.com>
(Bitbake rev: 874c607f475f3d60677d2720b80a28d0c2e963c6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:38 +01:00
Joshua Watt
820824f5fe bitbake: codeparser: Add function decorators for vardeps
Adds bb.parse.vardeps bb.parse.excludevardeps function decorators that
can be used to explicitly add or exclude variables from a python
function parsed by bitbake

(Bitbake rev: 030fb3dee067640a3a50f24a53d200bdb5048376)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:38 +01:00
Peter Marko
af91ed1691 bitbake: fetch/git: correct typo in comment and style
Correct typo Fash -> Fast.
With it also delete some trailing spaces which are unnecessary and
editors are trying to remove when changing anything in the file.

(Bitbake rev: b96040a0a066344527f0bc6ca4d09cda6b9d2f11)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:38 +01:00
Peter Marko
d1dae30b79 bitbake: fetch/git: always fetch lfs when creating shallow tarball
Before fast shallow tarballs the shallow tarball with lfs worked only
if the original .../downloads/git2/... directory existed. Once it was
not there, do_unpack on shallow tarball without lfs files failed due to
disabled network.
It was fixed for fast shallow tarballs and this commit fixes the other
scenarios, too.

This can happen when such shallow tarball is put to mirror or if
someone does cleanup to reclaim disk space.

(Bitbake rev: 4e6fb31a88448cdacf4e9f84cf0a8a8035f84d63)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:38 +01:00
Julian Haller
1def15acc2 bitbake: bitbake: tests/fetch: Fix git PREMIRRORONLY test
Using a shallow clone to simulate an outdated git mirror tarball does
not work in the intended way. A shallow clone already contains the
latest commit which can hide certain fetcher behavior. Simulate an
outdated mirror tarball, as the test titles indicate, by removing the
newer commits from the mirror.

(Bitbake rev: a51ee01f0a586fefd5a4061f4a1ca6cbf81b7046)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:38 +01:00
Julian Haller
f3948d6ee3 bitbake: bitbake: fetch: Fix BB_FETCH_PREMIRRORONLY for git mirror tarballs
When invoking the original git fetcher after downloading a mirror
tarball, BB_FETCH_PREMIRRORONLY is ignored. This leads to git fetch
commands targeting the upstream source being executed silently. Ensure
setting BB_NO_NETWORK before invoking the original fetcher. While this
was only observed for git, setting this in general for all fetcher
types makes sense at this location.

(Bitbake rev: 1b1321f2b60c0a66159e3f20c6befcb0b3ccc4c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:38 +01:00
Richard Purdie
2aec5513da poky-bleeding: Drop debug code
Drop some debug code which shouldn't have been merged.

(From meta-yocto rev: 18926b88f44e870e64efa7b3cd7e1dc56ce6cbb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:07:15 +01:00
Mikko Rapeli
3369269a1e selftest pokybleeding.py: add test for poky-bleeding.bbclass
The class sets SRCREV to AUTOINC for recipes with single
or multiple repositories. Test those cases.

(From meta-yocto rev: b7185b27b8acb43eaf9c27787903173ea34a0738)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:59 +01:00
Mikko Rapeli
1cd8d4e892 poky-bleeding.bbclass: support recipes with multiple scm SRCREVs
Recipes with multiple repositories in SRC_URI use SRCREV with
repo postfix. Set them to AUTOREV too.

(From meta-yocto rev: e495ebd7039ff7b0dd9452343f8153698b5f6575)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:59 +01:00
Hongxu Jia
e7f14cfbac barebox-tools: clean up yamltree from dtc
Refer Linux commit [dt-bindings: kbuild: Use DTB files for validation][1],
clean up yamltree from dtc to avoid compile failure while include <yaml.h>
in non-standard path

| tmp/work/core2-64-wrs-linux/barebox-tools/2025.02.0/barebox-2025.02.0/scripts/
dtc/yamltree.c:9:10: fatal error: yaml.h: No such file or directory
|     9 | #include <yaml.h>

Since barebox actually doesn't do any dtb binding checks at the moment, just
remove the test of /usr/include/yaml.h, hard-code the -DNO_YAML and remove
yamltree.c from DTC_SOURCE

[1] https://github.com/torvalds/linux/commit/ef8795f3f1ce

(From OE-Core rev: 9eed65e4b527ae461b3993c455f129a80d0c2416)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Wang Mingyu
8308864fd1 hwdata: upgrade 0.393 -> 0.394
(From OE-Core rev: c727faa835dfbc792d5008bbcb0ca6c5a81cb029)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Wang Mingyu
18dd7fbb38 sbc: upgrade 2.0 -> 2.1
License-Update: Using SPDX-License-Identifier: LGPL-2.1-or-later to replace the description of license

(From OE-Core rev: 0480ef4471c51e37a4e2279987a2fa30e38e2209)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Wang Mingyu
b789069433 llvm: upgrade 20.1.1 -> 20.1.2
(From OE-Core rev: 6360b6ac31059ef2436ea55ffc162eb441ce156d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Wang Mingyu
aa0747be58 cmake: Avoid using undocumented type for CURLOPT_NETRC values
(From OE-Core rev: 9ac12c84820188f51d02a6c76785b4be8e5737bb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Kai Kang
a2cce88141 xserver-xorg: remove sub-package ${PN}-xwayland
xwayland has been split to a standalone package via commit

* 4ee66f574 Drop XWayland DDX

https://gitlab.freedesktop.org/xorg/xserver/-/commit/4ee66f574

and there is a recipe for xwayland in oe-core too. So remove sub-package
${PN}-xwayland from xserver-xorg accordingly.

(From OE-Core rev: 59e759207e349bece9da8bbcb5216df5923d243b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Jiaying Song
ab7af06054 gcc: Undef _TIME_BITS in sanitizer_procmaps_solaris.cpp
gcc-sanitizers fail to build when both -D_TIME_BITS=64 and
-D_FILE_OFFSET_BITS=64  are defined. This is because
sanitizer_procmaps_solaris.cpp explicitly undefines  _FILE_OFFSET_BITS
before including any headers, which causes _TIME_BITS=64 to  violate the
requirement in glibc:

/usr/include/features-time64.h:26:5: error:  "_TIME_BITS=64 is allowed
only with _FILE_OFFSET_BITS=64"

Fixes a build failure on 32-bit Linux platforms when using both
-D_TIME_BITS=64 and -D_FILE_OFFSET_BITS=64.

(From OE-Core rev: 902085def653ca5194b28a4065043c73e54c9204)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:35 +01:00
Peter Marko
36889582e4 go: upgrade 1.24.1 -> 1.24.2
Upgrade to latest 1.24.x release [1]:

$ git --no-pager log --oneline go1.24.0..go1.24.1
339c903a75 (tag: go1.24.1) [release-branch.go1.24] go1.24.1
334de7982f [release-branch.go1.24] all: updated vendored x/net with security fix
5d6920842b [release-branch.go1.24] runtime/cgo: avoid errors from -Wdeclaration-after-statement
949eae84df [release-branch.go1.24] cmd/compile: don't pull constant offsets out of pointer arithmetic
0bfde51e0d [release-branch.go1.24] runtime: document that cleanups can run concurrently with each other
45a52718e3 [release-branch.go1.24] runtime/cgo: avoid errors from -Wdeclaration-after-statement
7f375e2c22 [release-branch.go1.24] reflect: let Value.Seq return the iteration value correct type
4070531920 [release-branch.go1.24] syscall: disable O_DIRECTORY on Windows for js/wasm
5ffdb9c88b [release-branch.go1.24] reflect: correctly handle method values in Seq
becc17ebcd [release-branch.go1.24] runtime: use WCLONE when waiting on pidfd test child
d418e224ae [release-branch.go1.24] syscall: don't send child signal when testing pidfd
456eaf5c29 [release-branch.go1.24] cmd/compile: don't report newLimit discovered when unsat happens multiple times
e4ef83383e [release-branch.go1.24] debug/buildinfo: base64-encode test binaries
4e6d3468cc [release-branch.go1.24] cmd/compile: ensure we don't reuse temporary register
f5c388313f [release-branch.go1.24] internal/godebugs: add fips140 as an opaque godebug setting
af236716b2 [release-branch.go1.24] cmd/compile, runtime: use deferreturn as target PC for recover from deferrangefunc
0f7b7600fb [release-branch.go1.24] doc/godebug: mention GODEBUG=fips140
eb58df7dbf [release-branch.go1.24] cmd/compile: avoid infinite recursion when inlining closures
30f4d9e117 [release-branch.go1.24] syscall: don't truncate newly created files on Windows
bb0e5c2045 [release-branch.go1.24] runtime: fix usleep on s390x/linux
cd0e528d3d [release-branch.go1.24] runtime: add some linknames back for `github.com/bytedance/sonic`
80e2e474b8 [release-branch.go1.24] cmd/go: initialize req.Header when loading git credential

Fixes CVE-2025-22871

[1] https://github.com/golang/go/compare/go1.24.1...go1.24.2

(From OE-Core rev: c83927d94bc0afe2205324a976e9495d6df00caf)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Denys Dmytriyenko
8c583b0370 nativesdk-buildtools-perl-dummy: add more missing packages
There could be several more nativesdk perl packages generated
based on flags and dependencies that should not be installed
into the SDK when "dummy-sdk-package" facility is used. Add
them to the exclusion list here.

[YOCTO #15552]

(From OE-Core rev: 2b1ec442cf8c0d5753376e52bca5f8da5350848c)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Gyorgy Sarvari
c4dc474426 yocto-check-layer: expect success for test_patches_upstream_status
When the Upstream-Status tag for patches became mandatory,
the test verifying the presence of this tag was made to not
fail the layer compatibility tests, in order to allow time for
the maintainers to adapt to this change.

This was two years before this commit.

Since then the layer compatibility script shows a cryptic
"unexpected success" result for this test, which of course
becomes clear once one checks the code and commit history,
but it is a nuisance still, which shouldn't be needed to
understand the result.

This commit removes the the related annotation so the
compatibility check will pass or fail with a clear message - in
hope that 2 years was enough for active maintainers to
adjust their patches.

(From OE-Core rev: 64175a41f48fce69a5205000865cc3b8648476f7)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Madhu Marri
13cc3e5ccf qemu: ignore CVE-2023-1386
Upstream Repository: https://gitlab.com/qemu-project/qemu.git

Bug Details:  https://nvd.nist.gov/vuln/detail/CVE-2023-1386
Type: Security Advisory
CVE: CVE-2023-1386
Score: 3.3

Analysis:
- According to redhat[1] this CVE has closed as not a bug.

Reference:
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2223985

(From OE-Core rev: 6a5d9e3821246c39ec57fa483802e1bb74fca724)

(From OE-Core rev: 5aecfb1a236bcef60a4337e7848e2bbc688c5798)

Signed-off-by: Madhu Marri <madmarri@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Peter Marko
92c32a6de9 openssl: upgrade 3.4.1 -> 3.5.0
This is new openssl LTS release.

Release information:
* https://openssl-library.org/post/2025-02-20-openssl-3.5-lts/
* https://openssl-library.org/post/2025-04-08-openssl-35-final-release/
* https://github.com/openssl/openssl/releases/tag/openssl-3.5.0
* https://github.com/openssl/openssl/blob/openssl-3.5.0/NEWS.md#openssl-35

packages-split directory does not show any changes relevant for
packaging change.

There are new config options but they don't seem to be significant
enough to need explicit packageconfig options.

(From OE-Core rev: 6ff6e86a06ba081eb9afd83e62c128f987cce0ef)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Mike Crowe
f762d4537c classes-recipe: npm: Complain immediately if npm-shrinkwrap.json is too old
Rather than emitting:

 Exception: KeyError: 'packages'

and a stack trace, let's fail immediately if lockfileVersion implies
that the npm-shrinkwrap.json file isn't compatible.

The documentation[1] doesn't make it clear which lockfileVersions are
guaranteed to contain "packages". I have lockfileVersion 1 files
without. Running npm 7.5.2 generates npm-shrinkwrap.json files with
lockfileVersion 2 and "packages", so I've set the minimum to be 2.

[1] https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json

(From OE-Core rev: 4d3cbd11bc9cc0bf5a8571ecd3ce6e5e5c6ef6eb)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Fabio Estevam
916205dac9 u-boot: upgrade 2025.01 -> 2025.04
Upgrade to U-Boot 2025.04.

While at it, pass the tag parameter in SRC_URI.

(From OE-Core rev: 4a1671159ec05e9b013a7fd31f65d50302e657e0)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
ed88b3f819 systemd: upgrade 257.4 -> 257.5
(From OE-Core rev: 05618ac2c6f69e0f41fb95e517382bf1177f0735)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
0765b1fe2b python3-typing-extensions: upgrade 4.13.0 -> 4.13.1
Changelog:
============
- Fix regression in 4.13.0 on Python 3.10.2 causing a TypeError when using Concatenate.
- Fix TypeError when using evaluate_forward_ref on Python 3.10.1-2 and 3.9.8-10.

(From OE-Core rev: c8f1d63a786702e9dfba70f3c070f4a74356c4be)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
b4c9ba5463 python3-lxml: upgrade 5.3.1 -> 5.3.2
Changelog:
 * Binary wheels use libxml2 2.12.10 and libxslt 1.1.42.
 * Binary wheels for Windows use a patched libxml2 2.11.9 and libxslt 1.1.39.

(From OE-Core rev: 9b10654668dc372fa0e57afe113fd82a89ebce15)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
0034c8aac3 python3-flit-core: upgrade 3.11.0 -> 3.12.0
(From OE-Core rev: 1063bb21317954c30a3dafbf24fad3349e9a2cbd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
557c12455e python3-calver: upgrade 2025.04.01 -> 2025.04.02
Changelog:
============
- Update build backend
- Support running tests from source distribution

(From OE-Core rev: 0166cd80a538d3a326ff0593b9c8bebde1cdc561)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
9bde1176c1 meson: upgrade 1.7.1 -> 1.7.2
0001-Make-CPU-family-warnings-fatal.patch
refreshed for 1.7.2

(From OE-Core rev: b8c15494900cdacfdcfa18526b8ad33cb9ce5ee3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
9f238203e5 lighttpd: upgrade 1.4.78 -> 1.4.79
Changelog:
===========
* [ci] update deps pkg names for lighttpd on Cygwin
* [ci] MSYS detection kludge in tests/LightyTest.pm
* [autotools] spelling Couldn't => Could not
* [mod_openssl] revert SSL_CTX default cert assign
* [mod_openssl] spelling in comment
* [TLS] issue trace if unable to check/refresh cert
* [ci] Cygwin Invoke-WebRequest -MaximumRetryCount 3
* [ci] Cygwin prefer D:\ drive
* [ci] Cygwin remove redundant call to setup.exe
* [core] set server.max-fds = 4096 if not specified
* [core] clear Linux ambient capabilities, if any
* [core] rename remove_pid_file() -> server_pid_file_remove()
* [core] retry pidfile open on Linux
* [doc] systemd lighttpd.service hardening
* [doc] move TLS config to separate file tls.conf
* [doc] systemd lighttpd.service hardening addition
* [doc] systemd lighttpd*.socket activation examples
* [core] default listen() backlog to SOMAXCONN
* [ci] fix meson build execution selection

(From OE-Core rev: 5066f75e7588a158111bedbf1ce9975e2d26c2c7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
e6b6d26670 harfbuzz: upgrade 11.0.0 -> 11.0.1
(From OE-Core rev: 6b5880eb73e62f1b4ae4b7ff90f33e14b35c88d4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
7eef4b12d9 gawk: upgrade 5.3.1 -> 5.3.2
0001-Add-parameter-signatures-for-getenv-and-getopt.patch
removed since it's included in 5.3.2

0001-configure.ac-re-enable-disabled-printf-features.patch
refreshed for 5.3.2`

(From OE-Core rev: a8773ae9d866063e0562589af44b90a89b5cd93c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Wang Mingyu
f8ae5dadfd ell: upgrade 0.75 -> 0.76
Changelog:
 Fix issue with random scalar generation.

(From OE-Core rev: 62bd49794d7654d3d111bff10bd40e812c05f2ee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Joshua Watt
920efbf519 lib: oe: Add cve_check to BBIMPORTS
Adds cve_check.py to BBIMPORTS so the functions it exposes will be
correctly scanned for dependencies in the dependency scanner

(From OE-Core rev: 52ead33c6b6e2532c57b7b28b862ba38b575f9e3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Ross Burton
8bb018f1d1 libjpeg-turbo: fix upstream release checking
New releases are no longer made to SourceForge and the GitHub releases
are considered official according to https://libjpeg-turbo.org, so
inherit github-releases and update the SRC_URI.

This now reports that we need to upgrade to 3.1.0.

(From OE-Core rev: e7e11ab30a40ba8862e62c4cc1a0af91ff93b6e5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Hongxu Jia
db026b5972 ovmf: fix CVE-2025-2295
According to [1], EDK2 contains a vulnerability in BIOS where a user may
cause an Integer Overflow or Wraparound by network means. A successful
exploitation of this vulnerability may lead to denial of service.

Refer debian [2], backport a patch from edk2 [3] to fix CVE-2025-2295

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-2295
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100594
[3] 17cdc512f0

(From OE-Core rev: 0f59dec939cf0d313b1b01b1e7bf10e059d9d0ac)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Peter Marko
b9139b242e cve-update-nvd2-native: add workaround for json5 style list
NVD responses changed to an invalid json between:
* April 5, 2025 at 3:03:44 AM GMT+2
* April 5, 2025 at 4:19:48 AM GMT+2

The last response is since then in format
{
  "resultsPerPage": 625,
  "startIndex": 288000,
  "totalResults": 288625,
  "format": "NVD_CVE",
  "version": "2.0",
  "timestamp": "2025-04-07T07:17:17.534",
  "vulnerabilities": [
    {...},
    ...
    {...},
  ]
}

Json does not allow trailing , in responses, that is json5 format.
So cve-update-nvd2-native do_Fetch task fails with log backtrace ending:

...
File: '/builds/ccp/meta-siemens/projects/ccp/../../poky/meta/recipes-core/meta/cve-update-nvd2-native.bb', lineno: 234, function: update_db_file
     0230:            if raw_data is None:
     0231:                # We haven't managed to download data
     0232:                return False
     0233:
 *** 0234:            data = json.loads(raw_data)
     0235:
     0236:            index = data["startIndex"]
     0237:            total = data["totalResults"]
     0238:            per_page = data["resultsPerPage"]
...
File: '/usr/lib/python3.11/json/decoder.py', lineno: 355, function: raw_decode
     0351:        """
     0352:        try:
     0353:            obj, end = self.scan_once(s, idx)
     0354:        except StopIteration as err:
 *** 0355:            raise JSONDecodeError("Expecting value", s, err.value) from None
     0356:        return obj, end
Exception: json.decoder.JSONDecodeError: Expecting value: line 1 column 1442633 (char 1442632)
...

There was no announcement about json format of API v2.0 by nvd.
Also this happens only if whole database is queried (database update is
fine, even when multiple pages as queried).
And lastly it's only the cve list, all other lists inside are fine.
So this looks like a bug in NVD 2.0 introduced with some update.

Patch this with simple character deletion for now and let's monitor the
situation and possibly switch to json5 in the future.
Note that there is no native json5 support in python, we'd have to use
one of external libraries for it.

(From OE-Core rev: 6e526327f5c9e739ac7981e4a43a4ce53a908945)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
03adb4d10a numactl: mark Fix-the-test-output-format.patch as Inappropriate
(From OE-Core rev: 8df27ff912a25077222a02d2ca9d1252f1f15c26)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
9d3823ef09 apr: drop libtoolize_check.patch
It's not clear what the intent was: libtool executable is present
in the native sysroot and can be used to obtain versions
during build time.

(From OE-Core rev: 9d16c45ed4caea9b0e3fe6e5dad983707dd10c65)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
ef42fff1b1 avahi: mark initscript.patch as Inappropriate
(From OE-Core rev: 1489c424a7a4728834d8253f81711ac0df25db9d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
b9a80983e1 vim: mark no-path-adjust.patch as Inappropriate
(From OE-Core rev: ab08938dc2d5658930a92abc5b4cefe4b975e582)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
e918659210 gst-devtools: submit 0001-connect-has-a-different-signature-on-musl.patch upstream
(From OE-Core rev: 1ca89ea00103523d8877eed5b71eec2ba824510a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
6ea73a1fbd ifupdown: mark defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch as Inappropriate
(From OE-Core rev: 30eefe0adacc6a064a0958fc8f463a3331ad12fa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
89475c1370 mdadm: update 4.3 -> 4.4
This update has been tested with glibc/musl and gcc/clang in all four
combinations.

Drop patches:
0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch
0001-fix-gcc-8-format-truncation-warning.patch
0001-util.c-add-limits.h-include-for-NAME_MAX-definition.patch
mdadm-3.3.2_x32_abi_time_t.patch
(issue fixed upstream)

0001-include-libgen.h-for-basename-API.patch
0001-mdadm.h-Undefine-dprintf-before-redefining.patch
(issue no longer occurs)

0001-mdadm-add-option-y-for-use-syslog-to-recive-event-re.patch
(service file significantly rewritten, the need for the tweak
should be reassessed)

debian-no-Werror.patch
(replaced with setting CWFLAGS to an empty string in the recipe;
we already set correct flags via CC/CFLAGS, and upstream's only
get in the way)

(From OE-Core rev: 913312b5b544ce804656fe3a297e09bafb5838fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
e08ca20695 mdadm: fetch from git
Upstream has released a new version (4.4) but not the tarball for it.

Adjust one of the devtool selftests, as it requires that the recipe
under test is using a tarball. Another selftest also needs to be
tweaked to correctly clean up its modifications to that same recipe on
test completion.

(From OE-Core rev: de635a9bc0392689ff36b50e7f91572d3fbaac09)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
a782647c2a apt: remove 0001-Hide-fstatat64-and-prlimit64-defines-on-musl.patch
The recipe unconditionally disables seccomp, so the code isn't
even compiled. If this needs to come back in the future please
submit upstream first.

(From OE-Core rev: 9d058504213f79979a7f1f59527172b71df95a71)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
9e02a50e59 xserver-xorg: submit 0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch upstream
(From OE-Core rev: 74da2ba88c6d2b88a68a3ad63b3603b82d7f4e03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
ee41143eba tcl: provide a description for shared library name fixup patch
(From OE-Core rev: 71bfc7e302ad66d989cb991b75dfcffdfa455987)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
4152cfea3f vulkan-samples: rewrite and submit reproducubility patch upstream
At some point the problematic define ceased to be used anywhere,
and so we can simply patch it out (and remove the associated
option setting from the recipe).

(From OE-Core rev: 4acbb1b92b9e51d6a741458d6cbd0c48ab55f6ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
183e7414d1 ca-certificates: submit sysroot patch upstream, drop default-sysroot.patch
ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch
was using a non-standard environment variable, and was replaced
with a patch that adds a command line option (and then this
was submitted upstream). ca-certificates recipe was tweaked accordingly,
and nothing else in core or meta-oe is using update-ca-certificates.

Drop default-sysroot.patch as the use case is unclear: sysroot
is explicitly specified in all known invocations of update-ca-certificate,
and if there's a place where it isn't, then update-ca-certificates
will error out trying to write to /etc, and should be fixed to
explicitly specify the sysroot.

(From OE-Core rev: 90d9f0ba674d4fe8e9291f0513c13dff3775c545)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
19366bd144 elfutils: remove 0001-dso-link-change.patch
The original linking issues seem to be long gone.

(From OE-Core rev: 71b56605f95d87f48a25bc42aa7f830c2ef298fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
ad744d722d elfutils: remove 0001-libasm-may-link-with-libbz2-if-found.patch
The original linking issues seem to be long gone.

(From OE-Core rev: 16868477597125296c8618177cd4f61baacd878b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
6a4296d252 tcl8: mark pending patches as inappropriate
Upstream submission should be done for tcl 9.x patches.

(From OE-Core rev: 2671c3183a74617e79f6879b228f2df8055397fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
a499ac1c2b perl-cross: submit determinism.patch upstream
(From OE-Core rev: 514365235743528802e3f854d21f991a1bc01674)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Alexander Kanavin
f5564476c5 nfs-utils: replace problematic pending patch with upstream submission
The now-removed patch was added for clang compatibility, but over time
started fixing problems that do not exist, and got its description
to mismatch the content.

The new patch is fixing the only problem with clang that still
occurs. I verified that all files that were patched before still
build without errors.

If you find other issues (this would be with non-default
options probably), please fix them similarly.

(From OE-Core rev: 6b8bd203180375a6b97345ddaa5fef7f68219ea6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Lei Maohui
cb8ec10746 python3-webcolors: upgrade 24.8.0 -> 24.11.1
Fix the issue that:
 | Traceback (most recent call last):
 |   File "/mnt/test/build_auh/tmp/work/core2-64-poky-linux/python3-webcolors/24.11.1/recipe-sysroot-native/usr/lib/pyth on3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
 |     raise BackendUnavailable(
 |     ...<4 lines>...
 |     )
 | pyproject_hooks._impl.BackendUnavailable: Cannot import 'pdm.backend'

python3-webcolors has migrated to pdm-backend
 | diff --git a/pyproject.toml b/pyproject.toml
 | index 6fcec77..9f2dfa9 100644
 | --- a/pyproject.toml
 | +++ b/pyproject.toml
 | @@ -1,65 +1,110 @@
 |  [build-system]
 | -requires = ["setuptools>=61.0"]
 | -build-backend = "setuptools.build_meta"
 | +requires = [
 | +    "pdm-backend",
 | +]
 | +build-backend = "pdm.backend"

(From OE-Core rev: 4b02af34cbffb62c8242d21e5d797ae114d4f421)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Lei Maohui
b62bb58658 python3-pdm python3-pdm-{backend,build-locked}: move from meta-python
python3-pdm and python3-pdm-backend are dependencies of python3-webcolors
python3-pdm itself depends on python3-pdm-build-locked

(From OE-Core rev: 6d064f60275b294dc6fc0e6480a0e5b0e7820934)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Khem Raj
77e5b8db1e cargo-c,rust: Fix build on risv32
Apply fix in libc that are needed for rustix-0.38 to build.

(From OE-Core rev: c21fd6f1c0b6a9df9950c541025f24e342b7a118)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Guðni Már Gilbert
92038bcbbd bluez5: remove obsolete patch for test-gatt
The issue is no longer present. Tested BlueZ 5.80 and 5.82
The issue has likely been gone for quite a while.

(From OE-Core rev: 87ab9c39c497c2a8b558e8d6ce673a931a5887b2)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-10 11:05:34 +01:00
Peter Kjellerstedt
5183200247 insane.bbclass: Report all invalid PACKAGECONFIGs for a recipe at once
Rather than reporting each invalid PACKAGECONFIG with a separate error
message, report them all with one error message.

(From OE-Core rev: bf9366583f53fe2498d7aa9192ebfe6562887cf3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Peter Kjellerstedt
35e4c46d06 insane.bbclass: Move test for invalid PACKAGECONFIGs to do_recipe_qa
This makes sure invalid PACKAGECONFIGs are reported also for recipes
that have no do_configure task, e.g., packagegroups.

(From OE-Core rev: d3325c384a7df54c564cae093659cf7b692629f2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Li Wang
381f21f861 xinetd: use monotonic time
When using xinet.d to limit rsync connections, it can't handle changes
in system time. When time is set back, the connection limit is reached
very quickly and rsync gets deactivated, if time is changed again, rsync
is never reactivated.

The current timer of xinet.d is based on the time() and is affected by
the system time. Use clock_gettime() with CLOCK_MONOTONIC as the new
timer because CLOCK_MONOTONIC clock is not affected by discontinuous
jumps in the system time.

(From OE-Core rev: e4bfd2cc66c4b5614513ec50806492efc8df75be)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Khem Raj
e2c0b0ceeb oeqa: Update lzip version in buildzip testcase
(From OE-Core rev: 5200dcb39834790542c429d70cf54db07ff7a378)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Guðni Már Gilbert
1a3ef02b79 bluez5: upgrade 5.80 -> 5.82
Changelog:

    Fix issue with handling BAP state transitions.
    Fix issue with handling D-Bus interface removal.
    Fix issue with handling MAP and supported features.
    Fix issue with handling SDP record for Phonebook Access Client.
    Fix issue with handling AVRCP PDU parameters length mismatch.
    Fix issue with handling AVRCP PDU for SetAbsoluteVolume.
    Fix issue with handling AVDTP bad media transport format.
    Fix issue with handling support for LL Privacy setting.

Full Changelog: https://github.com/bluez/bluez/compare/5.80...5.82

(From OE-Core rev: f42ee87abcfca80a803bf44fb91b41f29a2c7d70)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Changqing Li
7c70ac58da initscripts: add function log_success_msg/log_failure_msg/log_warning_msg
* add function log_success_msg/log_failure_msg/log_warning_msg, some
packages still use these functions, like mariadb, refer [1], without
these function, with sysV init manager, mariadb will report error:

root@qemux86-64:~# /etc/init.d/mysqld status
/etc/init.d/mysqld: line 383: log_success_msg: command not found

* remove RCONFLICTS with lsbinitscripts, LSB support already remove in
  [2]

[1] https://github.com/MariaDB/server/blob/main/support-files/mysql.server.sh#L104
[2] https://git.openembedded.org/openembedded-core/commit/?id=fb064356af615d67d85b65942103bf943d84d290
[3] https://refspecs.linuxbase.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html

(From OE-Core rev: b57824d0ec593898abd9eb957c2ff1317bb74440)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Yi Zhao
5040d252c6 oeqa/selftest/wic: add test for excluding symlinks
Add test to check if --exclude-path option can exclude symlinks. This
test validates commit[1].

Test result:
$ oe-selftest -r wic.Wic.test_exclude_path
2025-04-03 15:11:25,211 - oe-selftest - INFO - meta-selftest layer not found in BBLAYERS, adding it
2025-04-03 15:11:30,016 - oe-selftest - INFO - Adding layer libraries:
2025-04-03 15:11:30,017 - oe-selftest - INFO -  /buildarea/poky/meta/lib
2025-04-03 15:11:30,017 - oe-selftest - INFO - /buildarea/poky/meta-yocto-bsp/lib
2025-04-03 15:11:30,017 - oe-selftest - INFO - /buildarea/poky/meta-selftest/lib
2025-04-03 15:11:30,019 - oe-selftest - INFO - Checking base configuration is valid/parsable
NOTE: Starting bitbake server...
2025-04-03 15:11:31,652 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea/poky/build-st/conf/local.conf
2025-04-03 15:11:31,653 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2025-04-03 15:11:31,653 - oe-selftest - INFO - test_exclude_path (wic.Wic)
2025-04-03 15:43:11,341 - oe-selftest - INFO -  ... ok
2025-04-03 15:43:11,341 - oe-selftest - INFO - ----------------------------------------------------------------------
2025-04-03 15:43:11,342 - oe-selftest - INFO - Ran 1 test in 1899.900s
2025-04-03 15:43:11,342 - oe-selftest - INFO - OK
2025-04-03 15:43:14,834 - oe-selftest - INFO - RESULTS:
2025-04-03 15:43:14,835 - oe-selftest - INFO - RESULTS - wic.Wic.test_exclude_path: PASSED (1899.69s)
2025-04-03 15:43:14,836 - oe-selftest - INFO - SUMMARY:
2025-04-03 15:43:14,836 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1899.900s
2025-04-03 15:43:14,836 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

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

(From OE-Core rev: 0dd455bed9b52c0cf237ea2f8bd1a8f7890078e9)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Khem Raj
e11fc01d7b rust-llvm: Disable benchmarks by cmake options
Drop patch to exclusively disable it in code
It seems to be fixed upstream [1]

[1] https://github.com/rust-lang/cmake-rs/pull/158

(From OE-Core rev: 60b4b0808a3b961917ed8abe16b9f7df2a311952)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Wang Mingyu
f42a153439 libdnf: upgrade 0.73.4 -> 0.74.0
(From OE-Core rev: 2606586c10b9a3297fcab15cd45f519975649655)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Peter Marko
057049c1b6 spdx30: handle Unknown CVE_STATUS
CVE_STATUS can be also "Unknown" since oe-core commit
d25f1817752bc8a84c40dcbef75f7559801ce15e

When this status type is used, build fails with e.g.
ERROR: openssl-3.4.1-r0 do_create_spdx: Unknown CVE-2025-0001 status 'Unknown'

Since this is now a valid status, it needs to be handled.
It cannot be mapped to any VEX status (see below), so just skip it.
Possible VEX statuses are: NOT AFFECTED, AFFECTED, FIXED, and UNDER INVESTIGATION.

(From OE-Core rev: 2d3081ef63c8a54df62a2a08bd36008c20eed65a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
cc: Marta Rybczynska <rybczynska@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Mike Looijmans
07ab691bd9 dropbear/dropbearkey.service: Allow extra arguments for key generation
Just like the "init" version this script, pass $DROPBEAR_RSAKEY_ARGS to the
'dropbearkey' program when generating a host key.

This allows to speed up SSH connections on read-only root systems by adding
the line DROPBEAR_RSAKEY_ARGS="-s 1024" into /etc/default/dropbear.

See also: c0efbcb47ab3 ("dropbear/init: Allow extra arguments for key generation")

(From OE-Core rev: 3ae2c70fe83bc242b7a13655bc38431c81033c66)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Chen Qi
37b54ce75e time: fix runtime version from UNKNOWN to 1.9
The runtime version of time is determined by:
build-aux/git-version-gen .tarball-version

But there's no .tarball-version in the tarball. So we add this file
manually with ${PV} as the content if it does not exist.

Note that there's a patch for upstream:
https://lists.gnu.org/archive/html/bug-time/2021-01/msg00000.html
So it's possible that when this time recipe is upgraded to a new
version, we won't need such adjust any more.

Before the fix, time --version:
time (GNU Time) UNKNOWN

After the fix, time --version:
time (GNU Time) 1.9

(From OE-Core rev: 201d1851666d558124226c871754a581cf427530)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Yi Zhao
8e71408829 base-files: add gshadow entry in nsswitch.conf
We encountered a newgrp regression in shadow 4.17.3:
  root@qemux86-64:~# groupadd g1
  root@qemux86-64:~# useradd t1
  root@qemux86-64:~# gpasswd g1
  Changing the password for group g1
  New Password:
  Re-enter new password:
  root@qemux86-64:~# sudo -u t1 newgrp g1
  Password:
  Invalid password.
  root@qemux86-64:~#

In versions prior to shadow 4.17.3, shadow used an internal
implementation to support shadow group because it could not correctly
detect whether glibc supports shadow group in a cross-compilation
environment. In 4.17.3, it can correctly check whether glibc supports
shadow group even in a cross-compilation environment[1]. If supported,
shadow will use it instead of its own internal implementation.
Shadow group support in glibc requires adding a gshadow entry in
nsswitch.conf.

After the patch:
  root@qemux86-64:~# groupadd g1
  root@qemux86-64:~# useradd t1
  root@qemux86-64:~# gpasswd g1
  Changing the password for group g1
  New Password:
  Re-enter new password:
  root@qemux86-64:~# sudo -u t1 newgrp g1
  Password:
  t1@qemux86-64:/home/root$

[1] da6b9cff02

(From OE-Core rev: 0cb122f17cf264ef904880351db1c0bb325fe5a6)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-08 15:49:17 +01:00
Lee Chee Yang
9e418c4265 migration-guides: add release notes for 5.0.8
(From yocto-docs rev: 3b50193fa0c9acf4a601aeae6e1c78d0e4a05aef)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 7494df521ed9c70e877dbdef1adfe38ad717682f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Lee Chee Yang
f9e9aec4f1 migration-guides: add release notes for 5.1.4
(From yocto-docs rev: 4602e6b42118e7fbd3b6aa07782779047d209bb0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit f7c8fdfdfef0cac529594af5bdb72e53b29262fe)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
e16f429d25 ref-manual/variables.rst: HOST_CC_ARCH: fix wrong SDK reference
When building for nativesdk recipes, HOST_CC_ARCH equals SDK_CC_ARCH,
not BUILDSDK_CC_ARCH which doesn't exist.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a4a8aca22bb854756eb2ed1e652331bec3c7c68e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 08fc3446cb13b5bd8781874d2d996899ce12b082)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
c9dc701342 ref-manual/variables.rst: document HOST_*_ARCH variables
These variables control the flags for the assembler, compiler and
linker, but depend on the context.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8f070b788c9cd6cc16e03505d978177b4c82de03)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit f8eb33569a5e8cadc036855e2d95eee77e627cb4)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
a9f85a1894 ref-manual/variables.rst: document missing SDK_*_ARCH variables
These variables control the flags for the assembler, compiler and linker
when building for nativesdk recipes.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 978300e5f14874f2586efa3474c6f3803e3d9031)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c08f6d3c8aee86264c069b7c30850cb02de76076)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
91a76d2109 ref-manual/variables.rst: add missing documentation for BUILD_* variables
These toolchain variables are used in a native context. Some of the
BUILD_* variables missed documentation. Also, some of the base commands
were also not there so document them.

Some of existing BUILD_* variable documentation were missing the note
about their usage in a native context, so add it too so that all BUILD_*
variables are documented the same way.

[YOCTO #15719]

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: e42d49218945a030f300dbb608e7cfb0611f5733)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 87103afa1cb6690e9aaa87ca1f23e45eaaa359ac)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
5ccea18374 ref-manual/variables.rst: add manpage links for toolchain variables
Use the :manpage: role to provide links to common toolchain utilities.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8a25963c8dfc36482582294f0d2e7c7555d96399)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 7023e5f176efde05a6798476712c8a4e006a6b0d)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
5f74fee3b8 documentation/conf.py: define a manpage url
By defining the manpages_url we can use the :manpage: role in the
documentation for providing links to manpages. See:
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-manpages_url

Replace existing manpages links to use this role.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 0d0115cb2d96960837678f775cf5c2297494c51c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4e63cd74cd1a330ea5e96bb04243a90f607b2857)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
f5e4278fad migration-guides/{migration,release-note}-5.2: improvements and fixes
Address some of the reviews received on the release notes and migration
guide for 5.2:

- Remove the wget fetcher addition, I misread commit 0a9f90ff658e
  ("tests/fetch: support setting PV in the wget fetcher") from BitBake,
  and it actually affects the tests for the wget fetcher, not the
  fetcher itself.
- Add a way to transition from the branch=nameX,nameY syntax. From what
  I have tested, I achieve the same behavior when using one or the other
  syntax.
- Remove the default value for SPDX_PACKAGE_VERSION in the release note.
- Fix a couple of typos.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 39bf43a6009a46d4979337d7401eb46ece618f67)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:34 +01:00
Antonin Godard
80807dd044 ref-manual/classes: ptest-python-pytest: improve the current documentation
Improve the current ptest-python-pytest documentation and
PTEST_PYTEST_DIR variable definition. Namely remove the default value
that may evolve over time.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a83406103ca73d84fc8f5c50a8968faf91276a62)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 16:28:33 +01:00
Ross Burton
a6dbc53b43 meson: upgrade to 1.7.1
Drop 0001-dependencies-dev-prepend-sysroot-when-searching-for-.patch as
this is now upstreamed.

Remove the deletion of a .pyc because it uses frozenset(), this bug in
Python has been fixed since 3.11[1]

[1] 51999c960e

(From OE-Core rev: ec524490bfa860a2caf7c3f77924c4dafeb631bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Ross Burton
4fabfa60a0 python3: remove obsolete deletion of non-deterministic .pyc files
These .pyc files were non-deterministic because they used frozensets[1],
but this has been fixed in 3.11 onwards.

[1] https://github.com/python/cpython/issues/81777
[2] 51999c960e

(From OE-Core rev: c8c391ed3e0598a3bea7bc0981126d870315063d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Ross Burton
cb7e73b358 lib/oe: remove redundant __name__ == "__main__" checks
There's no point in checking if __name__ == "__main__" (i.e., is this
module being invoked) and then doing nothing.

(From OE-Core rev: 020b6b1411c9fd3adb208808c0d56623190873f8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Alex Kiernan
9a5705e95b connman: Move ppp from DEPENDS to PACKAGECONFIG
ppp is only required by connman when building the L2TP or PPTP plugins. Move it
from DEPENDS to PACKAGECONFIG so it's only there when required.

(From OE-Core rev: c65180bb677d8dae1992445cd378119d8cbed424)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Alex Kiernan
2430a96138 connman: Delete patches for gold and MIPS binutils fix
gold is no longer built/supported. The workaround for binutils on MIPS no
longer appears to be required.

Also fix up tabs/whitespace in shell functions, correct HOMEPAGE, drop broken
BUGTRACKER link.

(From OE-Core rev: 5c269ba9a396832af3f8139ecaa0cfd9f7d4d1b5)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Alex Kiernan
fbecb1dc20 connman: Merge .inc into .bb
No functional changes.

(From OE-Core rev: dc0540aaad680b495c5e51f3926db26028c00a42)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
5b2c3874f2 gstreamer1.0-plugins-bad: upgrade 1.24.12 -> 1.26.0
- enable analytics since gstreamer1.0-python depend on it now
- explicitly diable options that new added in meson_options.txt
  - lcevcdecoder
  - lcevcencoder
  - tensordecoders
  - nvcomp
  - nvdswrapper
  - svtjpegxs
  - webview2
  - aja
  - cuda-nvmm
  - d3d12
- add backport patch to fix undefined reference to `__atomic_fetch_add_8' issue
  This patch is part of upstream commit
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f
7a7be31c48f

(From OE-Core rev: 527f58c8d0aa0c1b516ae47feffa406e32dbd81f)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
ef5b504d98 gstreamer1.0-python: upgrade 1.24.12 -> 1.26.0
gstreamer1.0-python adds depend on gstreamer-analytics-1.0 in gstbad now:
  |../../../../../../workspace/sources/gstreamer1.0-python/meson.build:23:13: ERROR: Dependency "gstreamer-analytics-1.0" not found, tried pkgconfig

Source code:
  | $ vi  workspace/sources/gstreamer1.0-python/meson.build
  | 23 gstbad_dep = dependency('gstreamer-analytics-1.0', version :gst_req,
  | 24   fallback : [])

(From OE-Core rev: 05ee332f10c16fa9150110e5e7fba2831b77171e)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
d22c3e4c85 gstreamer1.0-plugins-ugly: upgrade 1.24.12 -> 1.26.0
(From OE-Core rev: dd57e0c96028a4a7dcd329fa8eebe65fd3777a00)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
587f9d6241 gstreamer1.0-plugins-good: upgrade 1.24.12 -> 1.26.0
(From OE-Core rev: 3bed80c1266ddca5d83357a18164598082e3a4fa)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
9479f70836 gstreamer1.0-plugins-base: upgrade 1.24.12 -> 1.26.0
- add backport patch to fix undefined reference to `__atomic_fetch_add_8' issue
  This patch is part of upstream commit
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f

(From OE-Core rev: f9a14c0dac0687754b28e2f6260761de77ddfd3b)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
98839e95e4 gstreamer1.0-rtsp-server: upgrade 1.24.12 -> 1.26.0
(From OE-Core rev: c5baea75181317bf8c9b04812c7db6972ac1994b)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
28b6327331 gstreamer1.0-vaapi: upgrade 1.24.12 -> 1.26.0
(From OE-Core rev: 8a2b04206f60ced01a54a4c17a1c3694c9cf33e9)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
83a985c0b8 gstreamer1.0-libav: upgrade 1.24.12 -> 1.26.0
(From OE-Core rev: cb9586f758b8e296b61c01d7ca48683c2db067f7)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
df1bfb1dfa gstreamer1.0: upgrade 1.24.12 -> 1.26.0
- add backport patch to fix undefined reference to `__atomic_fetch_add_8' issue
  This patch is part of upstream commit, only pick subprojects/gstreamer/meson.build part that affect us
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f

(From OE-Core rev: b5114ecd6e7a87f290f5ee9407dcf7c0eddf4f22)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
leimaohui
89fe8327ee gst-devtools: upgrade 1.24.12 -> 1.26.0
Disable new meson option dots_viewer

(From OE-Core rev: fb6b099ada342d228df9eccffe9980525605f1d9)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
5daa97e79f python3-iniconfig: upgrade 2.0.0 -> 2.1.0
License-Update: Whitespace/indentation changes only

(From OE-Core rev: ccea3cc38ee0b9b32109196effe6fa3adac9c3bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Changqing Li
4f9a3e751c patch.py: set commituser and commitemail for addNote
When PATCHTOOL is set to 'git', and user don't setup
user.name and user.email for git, do_patch fail with
the following error, fix by passing -c options.
CmdError("git notes --ref refs/notes/devtool append -m 'original patch: 0001-PATCH-increase-to-cpp17-version.patch' HEAD", 0, 'stdout:
stderr: Author identity unknown
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

(From OE-Core rev: a3c6706d31ae1345b571ca10b290a4e1f5a9384b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Jose Quaresma
603ec78ec4 sstate-cache-management: add dry-run argument
(From OE-Core rev: 98be0514b9dcb77b7520f5b6a9edef7a7a7859ac)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Enrico Jörns
34c1fcbce6 barebox: upgrade 2025.02.0 -> 2025.03.0
Changes in 2025.03.0
--------------------

 * Support for Sunxi SoCs added.
 * Support for running on a Pine64+ as a generic barebox-dt-2nd.img image.
 * MMCs are now much faster to erase, reportedly up to 60x faster.
 * Fixed partition handling adapted to be Linux compatible
   (barebox,fixed-partitions)
 * i.MX HAB support now supports revoking keys and burning the field
   return fuse.
 * K3: support for eMMC boot partition booting and USB DFU bootstrapping.
 * Support for replacing single artifacts when booting bootspec entries.

Changelog: https://lore.barebox.org/barebox/Z9veR3N6puizrAT8@pengutronix.de/T/#u

(From OE-Core rev: 0a86ac9801d6a601efad6e18f1ef6db1af7077b6)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Haixiao Yan
26336dd47b glibc: Add single-threaded fast path to rand()
Backport a patch [1] to improve performance of rand() and __random()[2]
by adding a single-threaded fast path.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=be0cfd848d9ad7378800d6302bc11467cf2b514f
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=32777
(From OE-Core rev: b0ded4df5f2d3bb3319978d1a549c72f5daf238e)

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
61bfdcd5eb stress-ng: upgrade 0.18.11 -> 0.18.12
Add tag to SRC_URI to verify SRCREV.

(From OE-Core rev: 225004027e051f91d2c2bac0531319ef4fa796d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
95a1da64ad python3-calver: upgrade 2022.6.26 -> 2025.04.01
Add tag to SRC_URI to verify SRCREV.

Upstream improved their project.toml and removed much of setup.py meaning
the patch was no longer needed.

(From OE-Core rev: f6f7c4c14f16beead8a8adb649eb1b1da524a860)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
dd6aa2d57e wayland-protocols: upgrade 1.41 -> 1.42
(From OE-Core rev: 61049b13edda137572adc855d062fa18caeb6758)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
489683fbd0 sysklogd: upgrade 2.7.1 -> 2.7.2
Add tag to SRC_URI to verify SRCREV.

Rename files directory to be recipe specific.

(From OE-Core rev: ac814e329c90348802ec6d56c1ea647c434ba59c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
131e4756e9 shaderc: upgrade 2024.3 -> 2025.1
Add tag to SRC_URI to verify SRCREV.

(From OE-Core rev: 6126b2693865acdbb08f47a28fe097a2cb659573)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
967a85ef8d repo: upgrade 2.52 -> 2.53
Add tag to SRC_URI to verify SRCREV.

(From OE-Core rev: d2d0ad5c6bdcbb50cf4d7fc8dbd04ba232903ca5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
dff0d78dbc qemu: Upgrade 9.2.0 -> 9.2.3
Drop a patch merged upstream.

(From OE-Core rev: f66205845f09daa5cdde571d6d2bd8c3aa6c3a54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
1638325cd8 python3-yamllint: upgrade 1.36.0 -> 1.37.0
(From OE-Core rev: 878bdceddf21499cf4da1dda596867c07cedda28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
3f46f5079f python3-typing-extensions: upgrade 4.12.2 -> 4.13.0
(From OE-Core rev: 8fc1fbf831cf3124603f9dee3cc7f5b0293ab478)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
a7bf6494f9 python3-trove-classifiers: upgrade 2025.3.13.13 -> 2025.3.19.19
(From OE-Core rev: 7dee7a22f68a2ec0393491447549221ccc659262)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
01ec3c557d python3-setuptools: upgrade 76.0.0 -> 78.1.0
(From OE-Core rev: d2b9b8cb7ffe9af455972e9ad28d4e93f4602911)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
ebe9f2f974 python3-setuptools-scm: upgrade 8.2.0 -> 8.2.1
(From OE-Core rev: 9b67dd5ff3ccde0e4ba54f83b3a6d34249bc0bac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
b3ce459c66 python3-scons: upgrade 4.9.0 -> 4.9.1
(From OE-Core rev: 361619cd8a08676b8b5eb28b07a4006716a83103)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
fc92a77bae python3-rpds-py: upgrade 0.22.3 -> 0.24.0
(From OE-Core rev: 920520c248b8223f236fe632ff4bf0134ffeaf81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
7ff8420fa0 python3-rdflib: upgrade 7.1.3 -> 7.1.4
(From OE-Core rev: 3db2c130fb1e79b0022409a54141fae6afdf9f40)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
c6297306a7 python3-pytz: upgrade 2025.1 -> 2025.2
(From OE-Core rev: a5b4728060d013ae57a4a09409bf3d42798e0dd4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
7f6c7814bd python3-pyparsing: upgrade 3.2.1 -> 3.2.3
(From OE-Core rev: 33b4a5bc5644b1aee8c5a081f139e8df80aee748)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
8c84f2fda0 python3-pygobject: upgrade 3.52.2 -> 3.52.3
(From OE-Core rev: 3704d4a85219cd6bc92ac5132fc02086555fd5aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
737e22ec85 python3-poetry-core: upgrade 2.1.1 -> 2.1.2
(From OE-Core rev: 90520ca41ef7a1636058954e0f6dab9b2363d999)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
db821be37e python3-numpy: upgrade 2.2.3 -> 2.2.4
(From OE-Core rev: 878b560bc8994cbf6cd310db7fd548df9ef2912e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
9ed4a051bf python3-beartype: upgrade 0.20.0 -> 0.20.2
(From OE-Core rev: 5d8f2e7236d141616c44eefb64817594dd4a16a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
3a84286b04 piglit: upgrade to latest revision
(From OE-Core rev: 1eb3d6eccb3e840d050e3fd891db3e6afaefe6b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
8d883040a6 pango: upgrade 1.56.2 -> 1.56.3
(From OE-Core rev: 90e2bdc6bc07db35a53b2103646684f75081125e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
25dee66d27 ofono: upgrade 2.15 -> 2.16
(From OE-Core rev: 2e2cdb2e2bb06562ac64a713da0d98d6d5102c82)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:20 +01:00
Richard Purdie
755cf50f9a mpfr: upgrade 4.2.1 -> 4.2.2
Drop backported patch.

(From OE-Core rev: 2c46cda665d0c0fbca4f9a4b1bc51c34c8b5c33a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
1c80589365 llvm: upgrade 20.1.0 -> 20.1.1
(From OE-Core rev: e91e36bebd297141fc5bd15deb37af218b40795e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
bb10caa237 lighttpd: upgrade 1.4.77 -> 1.4.78
(From OE-Core rev: fd1799497b0c722c08b31b09567f94bbec1e88cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
0031d329c0 libusb1: upgrade 1.0.27 -> 1.0.28
(From OE-Core rev: 808c9bba04e589e635deae43fe543c820b8d24be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
a6bf2569e5 libsoup: upgrade 3.6.4 -> 3.6.5
(From OE-Core rev: ac518e9c1400ad8d214b816bdab63284a55e3f23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
c8b6715c78 libsdl2: upgrade 2.32.2 -> 2.32.4
Drop backported patch.

(From OE-Core rev: 59f7cf56abe91dfdcbdaa094d1ffc194f4f63e1c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
1bfaec49bd libnotify: upgrade 0.8.4 -> 0.8.6
(From OE-Core rev: 715555e952085c09a65e6af7a4e5bfe268125cb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
ead6489eea libinput: upgrade 1.27.1 -> 1.28.1
Add tag to SRC_URI to verify SRCREV.

(From OE-Core rev: 504061f44dd5b17faa3d54afa6af713389d02cb4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
b6e0501ad0 libevdev: upgrade 1.13.3 -> 1.13.4
(From OE-Core rev: a9bfe693d87e4fb96d415c3a914c15b1028c52aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
aa528db782 kmod: upgrade 34.1 -> 34.2
(From OE-Core rev: 2fea0ebe4188013e65ada33d47b70208c7bdbe36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
af4da64b51 iproute2: upgrade 6.13.0 -> 6.14.0
(From OE-Core rev: 0a298cba622a19040f397d867e1e7a543dc5ce2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
1ec988b219 harfbuzz: upgrade 10.4.0 -> 11.0.0
(From OE-Core rev: 1a8537ca78a381e4dcf212239d64ece3ddfeaf47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
f86aa9835e gtk4: upgrade 4.18.1 -> 4.18.3
(From OE-Core rev: fa1cf828b854b8b01d4f72d497647f2512ce5660)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
9393dd6878 ell: upgrade 0.74 -> 0.75
(From OE-Core rev: c4e232a342a8dec20b91b5fcb01d88e2293ce7ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
17fff8aa7c ed: upgrade 1.21 -> 1.21.1
(From OE-Core rev: fb368bdfc69b340781061347dc609bae7541979d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
3402ee092f diffoscope: upgrade 289 -> 293
(From OE-Core rev: 85d55dbe8cd7e755ce3b8fbab14b7bbf653a8096)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
e3012ce52b createrepo-c: upgrade 1.2.0 -> 1.2.1
Add tag to SRC_URI to verify SRCREV.

(From OE-Core rev: 0b51e6b91ec33259cb0b957d59bb0afd3347c2ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
a98b08feeb connman: upgrade 1.43 -> 1.44
(From OE-Core rev: 125a1843527fa06de8942d2bedbe399dbf6dad1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
ba6ac9e41e ccache: upgrade 4.11 -> 4.11.2
(From OE-Core rev: 3a8b9eb1a648c0bf0fa496de8b5667a74049799f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
788e92351b btrfs-tools: upgrade 6.13 -> 6.14
Add tag to SRC_URI to verify SRCREV.

Drop patch merged upstream.

(From OE-Core rev: d9fa83db647f7f38b53ac850725aec17ced001ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
16876a1f53 bind: upgrade 9.20.6 -> 9.20.7
(From OE-Core rev: 47128597fbc62164d614aae816edb47a745a5702)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
9e59fdc9d7 base-passwd: upgrade 3.6.6 -> 3.6.7
(From OE-Core rev: e0e9d1d301fc39fed50c52f1e90d03749946f732)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
cf6ec1fa4b at-spi2-core: upgrade 2.56.0 -> 2.56.1
(From OE-Core rev: 45d302988cbda2e12b999a5b8d6da1db4fb26b65)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Priyal Doshi
60c72013d9 tzdata/tzcode-native: upgrade 2025a -> 2025b
(From OE-Core rev: b1ff8b45da27b533477cf6d9ace7a47f7f3a28b1)

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Niko Mauno
340d9e28e1 dbus-glib: Revise RDEPENDS:${PN}-tests assignment
Since this recipe has 'dbus' in DEPENDS, assigning dbus-glib-tests
runtime dependency to '${PN}' instead of 'dbus' will induce pulling
the preferred runtime D-Bus package to rootfs, thanks to libdbus'
runtime recommendation of ${VIRTUAL-RUNTIME_dbus}.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: cd74093b8aaedb6086247e5562433c2218fc6455)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:06:19 +01:00
Richard Purdie
49ec431d95 bitbake: fetch2/git: Handle srcrevs for annotated tags in tag check
If SRCREV points at an annotated tag, the comparision code can fail
as the resolved tag might not be the same sha.

Handle this by also resolving the SRCREV. We only need to do this if
they don't match in the first place for a minor performance win.

Also add a test for this.

(Bitbake rev: 136c06e251de68ed64355ec6b47a522ff3a372e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-03 11:03:43 +01:00
Richard Purdie
efe76a5095 rust-llvm: Disable libedit
This option currently floats and is leading to non-deterministic builds. It
is used for commandline option tab completion which we don't need in our
builds in general, let alone internally within rust's llvm.

This should fix autobuilder deterministic build issues.

(From OE-Core rev: c31859be39c68f215576ba73b8a3d66c8ea590d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-02 19:02:56 +01:00
Richard Purdie
e3ca5193b5 poky-tiny: Fix whitespace in variable assignment
(From meta-yocto rev: b5d94e54156ed6c4188035e5925073bfd2a90eb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-02 10:58:27 +01:00
Yash Shinde
09d8efe144 rust: Upgrade 1.85.0->1.85.1
Rust stable version updated to 1.85.1
https://blog.rust-lang.org/2025/03/18/Rust-1.85.1.html

Dropped patches:
downgrade-bootstrap-cc.patch since it's merged with v1.85.1.

(From OE-Core rev: b141115b9c8e052df096e55d92972b1db4c84f4e)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:08:36 +01:00
Yash Shinde
bac7bb5b7a rust: Upgrade 1.84.1->1.85.0
Rust stable version updated to 1.85.0
https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html

Some of the major updates:

- Update LIC_FILES_CHKSUM in libstd-rs and rust recipes.
License-Update: Unicode license text is updated to Unicode-3.0 License.
6d2a3e9786
[RP: Update LICENSE to reference Unicode-3.0]

- Pass '-Zforce-unstable-if-unmarked' to RUSTFLAGS in libstd-rs.bb
Fix: https://github.com/rust-lang/rust/issues/133857#issuecomment-2526341227

- Downgrade bootstrap cc version causing bootstrap to fail on custom targets. (Backported from v1.85.1)
Fix: e4ca11f87f

- Explicitly set float ABI for all ARM 32 bits targets.
Fix: a51fefcaab

- Rust v1.85.0 tarball doesn't ship gcc tree.
Drop "remove_gcc_directory" postfunc which removed it and prevented the bloat.
Fix: 13c3f9b949

Adapted the patch changes with v1.85.0:
  repro-issue-fix-with-cc-crate-hashmap.patch
  revert-link-std-statically-in-rustc_driver-feature.patch
  rust-oe-selftest.patch
  rv32-cargo-rustix-0.38.40-fix.patch

Dropped patches:
  fix-tidy-check-failure.patch since it's merged with v1.85.0.

(From OE-Core rev: 3130069fdebb92f20b962fa8074564a27c3fb6b9)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:08:36 +01:00
Yash Shinde
9733fce7d6 rust: Update "do_update_snapshot" task for rust-snapshot.inc
The 'do_update_snapshot' task is failed with below error:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '.../rustc-1.83.0-src/src/stage0.json'

There are changes in use of key-value format in stage0 file in
rust sources and the rust recipe should be apdated for that.

Changes in rust:
1adfffd07f

(From OE-Core rev: d64456f6ea58d683993b0bc7294baa889bafdf7b)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:08:36 +01:00
Niko Mauno
9286f1e4aa recipes-connectivity: Drop dbus from RDEPENDS:${PN}
Since each of these recipes already have 'dbus' in their DEPENDS,
explicit runtime dependency declaration to dbus is not stricly
necessary, because dbus-lib has runtime recommendation for
${VIRTUAL-RUNTIME_dbus} which in turn induces pulling also the
preferred runtime D-Bus package to rootfs.

Suggested-by: Ross Burton <ross.burton@arm.com>
(From OE-Core rev: cf5b48d03f290a6bde94ee7a5c1aaee4d1a7793c)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:05:54 +01:00
Niko Mauno
84bf6e7e43 glib: Support using alternative runtime D-Bus
In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, change the Freedesktop.org
specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus
variable.

(From OE-Core rev: c0c874c577910833a7dd90122b22c20fe33bf681)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:05:54 +01:00
Niko Mauno
c4b1070d55 systemd: Support using alternative runtime D-Bus
In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, change the Freedesktop.org
specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus
variable.

(From OE-Core rev: f9a41652f7b40edf84278c0f3922321a613297f7)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:05:54 +01:00
Niko Mauno
a39bb35ddf dbus: Allow using dbus-lib with alternative D-Bus
In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, declare the target specific
dbus-lib runtime recommendation so that it will honor the new
VIRTUAL-RUNTIME_dbus variable.

(From OE-Core rev: 1d26191c71d4b19fe45ced52698d4130e8d8305e)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:05:54 +01:00
Niko Mauno
0ecae4c633 default-providers: Add VIRTUAL-RUNTIME_dbus variable
The purpose of the new variable is to facilitate oe-core users who wish
to use an alternative runtime D-Bus implementation instead of the
default Freedesktop.org's dbus, such as dbus-broker, a recipe for which
is currently available under
meta-openembedded/meta-oe/recipes-core/dbus/

While introducing this facilitation the intent is to preserve the
existing functionality, while allowing the user to optionally select an
alternative runtime D-Bus implementation by adding the following line
e.g. to local.conf file:

  VIRTUAL-RUNTIME_dbus = "dbus-broker"

As a background, for example the Fedora distribution uses dbus-broker
instead of Freedesktop.org's D-Bus implementation. The following
excerpts from
https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation
provide background for their technological decision

  This change provides a more scalable and more reliable implementation in place of the reference implementation.
  The reference implementation suffers from long-standing issues including potential dead-locks and susceptibility to denial of service attacks, which the replacement implementation does not.

and

  No visible changes in behavior are expected, except for different log messages.
  Any visibly different behavior to `dbus-daemon` should be reported as a regression.
  Ideally, this change should only improve the performance and security of the message bus.

(From OE-Core rev: 81fd917ac05be19d8345fff272a2ffc17a257880)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 22:05:54 +01:00
Michael Opdenacker
0ee2666f73 flac: upgrade 1.4.3 -> 1.5.0
License-Update: GFDL 1.2 -> 1.3, copyright years update

Add patch that fixes a new documentation generation issue in 1.5.0
https://github.com/xiph/flac/pull/824

Remove the check for NASM, no longer used in 1.5.0

(From OE-Core rev: 3dc50446b1a39759703e77b711d7143a43f7f4d0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
CC: Peter Marko <peter.marko@siemens.com>
CC: Ross Burton <Ross.Burton@arm.com>
CC: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 12:01:30 +01:00
J. S.
bc51c04d3a perl: upgrade 5.40.0 -> 5.40.1
>From https://metacpan.org/pod/perldelta :

"There are no changes intentionally incompatible with 5.40.0. If any exist, they are bugs, and we request that you submit a report."

(From OE-Core rev: dd5a40890a2da27e8d5ede10ef1ae27e37f9e229)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
J. S.
146ba38c1f perlcross: upgrade 1.6 -> 1.6.1
https://github.com/arsv/perl-cross/releases/tag/1.6.1

This provides support for Perl 5.40.1

(From OE-Core rev: f09a8f0f414f31e1b4684bf48786a7ca0ba1e724)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
Guðni Már Gilbert
508214938f bluez5: disable aics tests
Temporarily disable aics tests as they can fail
depending on how the tests are executed. Sometimes they pass,
sometimes they fail. The issue has been observed since BlueZ 5.72 to 5.80

Starting with BlueZ 5.80, the tests began failing when using the
ptest-runner script. This is not a new issue in BlueZ 5.80 which is
why the test is disabled with this commit until a solution is found.

(From OE-Core rev: 1cd9f431e9a0c8c946630f2522d922e21ecfa1c2)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
Guðni Már Gilbert
d27eeed0db bluez5: add missing tools to noinst-tools package
This change will prevent these tools from being installed if the image doesn't install bluez5-noinst-tools package.

BlueZ 5.66: tools/mesh-tester
BlueZ 5.66: tools/ioctl-tester
BlueZ 5.65: tools/iso-tester
BlueZ 5.56: tools/btpclientctl
BlueZ 5.51: tools/bcmfw
BlueZ 5.49: tools/rtlfw
BlueZ 5.47: tools/btconfig (not a new tool, but it was moved from bin_PROGRAMS to noinst_PROGRAMS)

(From OE-Core rev: 5b9d5f8971bc97f9adb0b0b8a0cfdd6fd221fc24)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
Guðni Már Gilbert
7fa0654f2f bluez5: upgrade 5.79 -> 5.80
Changes relevant for the build:
* Four patches are dropped because they are included in 5.80.
* Removed changes to etc/bluetooth directory permission bits. They are
  now set correctly in 5.80 [1].
* AMP code has been removed [2]. This means "tools/amptest" can be
  removed from NOINST_TOOLS_BT

[1] - b1fd409960
[2] - 1474c11618

Changelog:

    Fix issue with handling address type for all types of keys.
    Fix issue with handling maximum number of GATT channels.
    Fix issue with handling MTU auto-tuning feature.
    Fix issue with handling AVRCP volume in reconfigured transports.
    Fix issue with handling VCP volume setting requests.
    Fix issue with handling VCP connection management.
    Fix issue with handling MAP qualification.
    Fix issue with handling PBAP qualification.
    Fix issue with handling BNEP qualification.
    Add support for PreferredBearer device property.
    Add support for SupportedTypes Message Access property.
    Add support for HFP, A2DP, AVRCP, AVCTP and MAP latest versions.

(From OE-Core rev: 9e340d4c8070bab0a14adc7d9f6534d1185944f5)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
Peter Kjellerstedt
41ec3e8bff systemd-systemctl-native: Use += instead of :append
There is no reason to use EXTRA_OEMESON:append when += will do.

(From OE-Core rev: 2ebd45d351dbf801a5aef0cc4a0a1c684e544412)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
Richard Purdie
c4a5e590b5 rust-llvm: Compile llvm to use dynamic libraries
Our main llvm recipe uses dynamic linking already but rust-llvm does not.
Enabling this significanly reduces the size of llvm-rust to about a third
of what it was, which is a bettter configuration for us leading to smaller
TMPDIR and sstate objects.

(From OE-Core rev: 2b6a6d4199e4eed65f20351d077a04a7cf9da460)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 11:58:25 +01:00
5826 changed files with 114 additions and 732661 deletions

View File

@@ -1,4 +0,0 @@
[b4]
prep-perpatch-check-cmd = ./scripts/b4-wrapper-poky.py prep-perpatch-check-cmd
send-auto-cc-cmd = ./scripts/b4-wrapper-poky.py send-auto-cc-cmd
send-auto-to-cmd = ./scripts/b4-wrapper-poky.py send-auto-to-cmd

View File

@@ -1,2 +0,0 @@
# Template settings
TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf/templates/default}

20
LICENSE
View File

@@ -1,20 +0,0 @@
Different components of OpenEmbedded are under different licenses (a mix
of MIT and GPLv2). See LICENSE.GPL-2.0-only and LICENSE.MIT for further
details of the individual licenses.
All metadata is MIT licensed unless otherwise stated. Source code
included in tree for individual recipes (e.g. patches) are under
the LICENSE stated in the associated recipe (.bb file) unless
otherwise stated.
License information for any other files is either explicitly stated
or defaults to GPL version 2 only.
Individual files contain the following style tags instead of the full license
text to identify their license:
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,288 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,25 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,69 +0,0 @@
OpenEmbedded-Core and Yocto Project Maintainer Information
==========================================================
OpenEmbedded and Yocto Project work jointly together to maintain the metadata,
layers, tools and sub-projects that make up their ecosystems.
The projects operate through collaborative development. This currently takes
place on mailing lists for many components as the "pull request on github"
workflow works well for single or small numbers of maintainers but we have
a large number, all with different specialisms and benefit from the mailing
list review process. Changes therefore undergo peer review through mailing
lists in many cases.
This file aims to acknowledge people with specific skills/knowledge/interest
both to recognise their contributions but also empower them to help lead and
curate those components. Where we have people with specialist knowledge in
particular areas, during review patches/feedback from these people in these
areas would generally carry weight.
This file is maintained in OE-Core but may refer to components that are separate
to it if that makes sense in the context of maintainership. The README of specific
layers and components should ultimately be definitive about the patch process and
maintainership for the component.
Recipe Maintainers
------------------
See meta/conf/distro/include/maintainers.inc
Component/Subsystem Maintainers
-------------------------------
* Kernel (inc. linux-yocto, perf): Bruce Ashfield
* Reproducible Builds: Joshua Watt
* Toaster: David Reyna
* Hash-Equivalence: Joshua Watt
* Recipe upgrade infrastructure: Alex Kanavin
* Toolchain: Khem Raj
* ptest-runner: Aníbal Limón
* opkg: Alex Stewart
* devtool: Saul Wold
* eSDK: Saul Wold
* overlayfs: Vyacheslav Yurkov
* Patchtest: Trevor Gamblin
Maintainers needed
------------------
* Pseudo
* Layer Index
* recipetool
* QA framework/automated testing
* error reporting system/web UI
* wic
* Patchwork
* Matchbox
* Sato
* Autobuilder
Layer Maintainers needed
------------------------
* meta-gplv2 (ideally new strategy but active maintainer welcome)
Shadow maintainers/development needed
--------------------------------------
* toaster
* bitbake

View File

@@ -1,5 +0,0 @@
Some project contributors who are sadly no longer with us:
Greg Gilbert (treke) - Ahead of his time with licensing
Thomas Wood (thos) - Creator of the original sato
Scott Rifenbark (scottrif) - Our long standing techwriter whose words live on

114
README Normal file
View File

@@ -0,0 +1,114 @@
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
https://docs.yoctoproject.org/dev/dev-manual/poky-manual-setup.html
b) use the new bitbake-setup
https://docs.yoctoproject.org/bitbake/dev/bitbake-user-manual/bitbake-user-manual-environment-setup.html
You can find more information in our documentation: https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change follows. The
details are taken from:
https://lists.openembedded.org/g/openembedded-architecture/message/2179
TLDR: People have complained about the combo-layer built poky
repository for years. It was meant to be a temporary thing, we now have
an alternative and I'm therefore doing what I promised I'd do. Change
is tough, things may break but this is the right point to at least try
it.
I'd like to note that:
* setting up builds with a separate oe-core and bitbake clone
works as it always has done
* you can change your CI just to use those two repos instead of poky
* bitbake-setup isn't mandatory, it will just be what the yocto-
docs presents to users
* we don't have to stop maintaining the poky repository
however nobody will test the new approach/code unless we do
* we are optionally exposing sstate mirrors in the new config
* we are also exposing config fragments to users
* poky as a DISTRO in meta-yocto remains
A bit more about the history and background for those who are
interested and then some FAQs:
Back around 2010 when we split up openembedded-classic and started
developing layers, we made the artificial "poky" repository construct
as a way to let people easily and quickly get started with the project.
without cloning and managing multiple repositories. Layers were a new
idea with lots of rough edges. kas didn't exist, I think repo was only
just created and it was a different world. For us, it meant hacking up
a quick tool, "combo-layer" and it was really a temporary solution to
fill a gap and it was at least as functional as repo of the era. It was
assumed we'd work it out properly in the future.
At developer meetings there are inevitable questions about why
poky/combo-layer exist and few seem to actually like/support it. There
are continual questions about why a tool doesn't exist or why we don't
adopt one too.
15 years later, a bit longer than we might have thought, we are finally
in a position where there may be a viable way forward to change.
It has taken us a bit of time to get to this point. I wrote the
original description of something like bitbake-setup about 7-8 years
ago. I shared it privately with a few people, the review feedback
stopped me pushing it further as I simply did not have the bandwidth.
We were fortunate to get funding from the Sovereign Tech Fund to start
the work and whilst I'd probably prefer to avoid the issue, the time
had come to start. Since then, Alexander Kanavin has put a lot of work
into getting it to the point where it would be possible to switch. A
huge thanks to him for getting this to the current point.
Why not use kas/submodules/repo?
This topic has been discussed in depth several times. Very roughly,
these are either difficult to focus on our use cases or have specific
designs and intent which we as a project would struggle to influence.
We are taking significant influence from some of them but also trying
to build something where we can benefit from tight direct integration
with bitbake and the metadata. For example fragment support is generic
and hopefully something other approaches can also benefit from. We want
to provide something we can switch the projects docs and autobuilder to
which we can control and develop as we need it to. We are not aiming to
force anyone to switch, you can use whichever tool you want.
Can we not keep poky [repository master branch] around?
If we do that, nobody will use the new tooling and it will be a
disaster as issues won't get resolved. We need our CI to use the same
thing we promote to our new and experienced users. We need this new
tooling to be usable by our experienced developers too. We have tried
for months to get people to try it and they simply don't. Making a
release with it won't change much either. It needs people using it and
for that, poky has to stop being updated.
What happens to poky [repository]?
The LTS branches continue their lifetime as planned. For master, I'll
probably put a final commit in changing to just a README which points
people at the bitbake-setup changes and explains what happened.
What are the timelines? Why now?
If we're going to make a change, we really want this in the next LTS
release, which is April 2026. We only have one release before that
which is now, October 2025. We therefore need to switch now, and then
give us time to update docs, fix issues that arise and so on and have
it in a release cycle. Whilst it means delaying the Oct 2025 release
slightly, that is the right thing to do in the context of the bigger
picture.

View File

@@ -1,32 +0,0 @@
OpenEmbedded-Core
=================
OpenEmbedded-Core is a layer containing the core metadata for current versions
of OpenEmbedded. It is distro-less (can build a functional image with
DISTRO = "nodistro") and contains only emulated machine support.
For information about OpenEmbedded, see the OpenEmbedded website:
<https://www.openembedded.org/>
The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
<https://docs.yoctoproject.org/>
Contributing
------------
Please refer to our contributor guide here: <https://docs.yoctoproject.org/dev/contributor-guide/>
for full details on how to submit changes.
As a quick guide, patches should be sent to openembedded-core@lists.openembedded.org
The git command to do that would be:
```
git send-email -M -1 --to openembedded-core@lists.openembedded.org
```
Mailing list:
<https://lists.openembedded.org/g/openembedded-core>
Source code:
<https://git.openembedded.org/openembedded-core/>

View File

@@ -1 +0,0 @@
meta-yocto-bsp/README.hardware.md

View File

@@ -1 +0,0 @@
README.poky.md

View File

@@ -1 +0,0 @@
meta-poky/README.poky.md

View File

@@ -1,15 +0,0 @@
QEMU Emulation Targets
======================
To simplify development, the build system supports building images to
work with the QEMU emulator in system emulation mode. Several architectures
are currently supported in 32 and 64 bit variants:
* ARM (qemuarm + qemuarm64)
* x86 (qemux86 + qemux86-64)
* PowerPC (qemuppc only)
* MIPS (qemumips + qemumips64)
Use of the QEMU images is covered in the Yocto Project Reference Manual.
The appropriate MACHINE variable value corresponding to the target is given
in brackets.

View File

@@ -1,22 +0,0 @@
How to Report a Potential Vulnerability
=======================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[Security Bugzilla](https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security)
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [Stable release and LTS](https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS)
for detailed info regarding the policies and maintenance of Stable branches.
The [Release page](https://wiki.yoctoproject.org/wiki/Releases) contains
a list of all releases of the Yocto Project. Versions in grey are no longer
actively maintained with security patches, but well-tested patches may still
be accepted for them for significant issues.

View File

@@ -1,4 +0,0 @@
[b4]
send-series-to = bitbake-devel@lists.openembedded.org
send-auto-cc-cmd = ./contrib/b4-wrapper-bitbake.py send-auto-cc-cmd
prep-pre-flight-checks = disable-needs-checking

View File

@@ -1,2 +0,0 @@
*min.js binary
*min.css binary

View File

@@ -1,10 +0,0 @@
Tim Ansell <mithro@mithis.net>
Phil Blundell <pb@handhelds.org>
Seb Frankengul <seb@frankengul.org>
Holger Freyther <holger@moiji-mobile.com>
Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Chris Larson <kergoth@handhelds.org>
Ulrich Luckas <luckas@musoft.de>
Mickey Lauer <mickey@Vanille.de>
Richard Purdie <rpurdie@rpsys.net>
Holger Schurig <holgerschurig@gmx.de>

View File

@@ -1,317 +0,0 @@
Changes in Bitbake 1.9.x:
- Add PE (Package Epoch) support from Philipp Zabel (pH5)
- Treat python functions the same as shell functions for logging
- Use TMPDIR/anonfunc as a __anonfunc temp directory (T)
- Catch truncated cache file errors
- Allow operations other than assignment on flag variables
- Add code to handle inter-task dependencies
- Fix cache errors when generation dotGraphs
- Make sure __inherit_cache is updated before calling include() (from Michael Krelin)
- Fix bug when target was in ASSUME_PROVIDED (#2236)
- Raise ParseError for filenames with multiple underscores instead of infinitely looping (#2062)
- Fix invalid regexp in BBMASK error handling (missing import) (#1124)
- Promote certain warnings from debug to note 2 level
- Update manual
- Correctly redirect stdin when forking
- If parsing errors are found, exit, too many users miss the errors
- Remove supriours PREFERRED_PROVIDER warnings
- svn fetcher: Add _buildsvncommand function
- Improve certain error messages
- Rewrite svn fetcher to make adding extra operations easier
as part of future SRCDATE="now" fixes
(requires new FETCHCMD_svn definition in bitbake.conf)
- Change SVNDIR layout to be more unique (fixes #2644 and #2624)
- Add ConfigParsed Event after configuration parsing is complete
- Add SRCREV support for svn fetcher
- data.emit_var() - only call getVar if we need the variable
- Stop generating the A variable (seems to be legacy code)
- Make sure intertask depends get processed correcting in recursive depends
- Add pn-PN to overrides when evaluating PREFERRED_VERSION
- Improve the progress indicator by skipping tasks that have
already run before starting the build rather than during it
- Add profiling option (-P)
- Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache
- Add SRCREV_FORMAT support
- Fix local fetcher's localpath return values
- Apply OVERRIDES before performing immediate expansions
- Allow the -b -e option combination to take regular expressions
- Fix handling of variables with expansion in the name using _append/_prepend
e.g. RRECOMMENDS_${PN}_append_xyz = "abc"
- Add plain message function to bb.msg
- Sort the list of providers before processing so dependency problems are
reproducible rather than effectively random
- Fix/improve bitbake -s output
- Add locking for fetchers so only one tries to fetch a given file at a given time
- Fix int(0)/None confusion in runqueue.py which causes random gaps in dependency chains
- Expand data in addtasks
- Print the list of missing DEPENDS,RDEPENDS for the "No buildable providers available for required...."
error message.
- Rework add_task to be more efficient (6% speedup, 7% number of function calls reduction)
- Sort digraph output to make builds more reproducible
- Split expandKeys into two for loops to benefit from the expand_cache (12% speedup)
- runqueue.py: Fix idepends handling to avoid dependency errors
- Clear the terminal TOSTOP flag if set (and warn the user)
- Fix regression from r653 and make SRCDATE/CVSDATE work for packages again
- Fix a bug in bb.decodeurl where http://some.where.com/somefile.tgz decoded to host="" (#1530)
- Warn about malformed PREFERRED_PROVIDERS (#1072)
- Add support for BB_NICE_LEVEL option (#1627)
- Psyco is used only on x86 as there is no support for other architectures.
- Sort initial providers list by default preference (#1145, #2024)
- Improve provider sorting so prefered versions have preference over latest versions (#768)
- Detect builds of tasks with overlapping providers and warn (will become a fatal error) (#1359)
- Add MULTI_PROVIDER_WHITELIST variable to allow known safe multiple providers to be listed
- Handle paths in svn fetcher module parameter
- Support the syntax "export VARIABLE"
- Add bzr fetcher
- Add support for cleaning directories before a task in the form:
do_taskname[cleandirs] = "dir"
- bzr fetcher tweaks from Robert Schuster (#2913)
- Add mercurial (hg) fetcher from Robert Schuster (#2913)
- Don't add duplicates to BBPATH
- Fix preferred_version return values (providers.py)
- Fix 'depends' flag splitting
- Fix unexport handling (#3135)
- Add bb.copyfile function similar to bb.movefile (and improve movefile error reporting)
- Allow multiple options for deptask flag
- Use git-fetch instead of git-pull removing any need for merges when
fetching (we don't care about the index). Fixes fetch errors.
- Add BB_GENERATE_MIRROR_TARBALLS option, set to 0 to make git fetches
faster at the expense of not creating mirror tarballs.
- SRCREV handling updates, improvements and fixes from Poky
- Add bb.utils.lockfile() and bb.utils.unlockfile() from Poky
- Add support for task selfstamp and lockfiles flags
- Disable task number acceleration since it can allow the tasks to run
out of sequence
- Improve runqueue code comments
- Add task scheduler abstraction and some example schedulers
- Improve circular dependency chain debugging code and user feedback
- Don't give a stacktrace for invalid tasks, have a user friendly message (#3431)
- Add support for "-e target" (#3432)
- Fix shell showdata command (#3259)
- Fix shell data updating problems (#1880)
- Properly raise errors for invalid source URI protocols
- Change the wget fetcher failure handling to avoid lockfile problems
- Add support for branches in git fetcher (Otavio Salvador, Michael Lauer)
- Make taskdata and runqueue errors more user friendly
- Add norecurse and fullpath options to cvs fetcher
- Fix exit code for build failures in --continue mode
- Fix git branch tags fetching
- Change parseConfigurationFile so it works on real data, not a copy
- Handle 'base' inherit and all other INHERITs from parseConfigurationFile
instead of BBHandler
- Fix getVarFlags bug in data_smart
- Optmise cache handling by more quickly detecting an invalid cache, only
saving the cache when its changed, moving the cache validity check into
the parsing loop and factoring some getVar calls outside a for loop
- Cooker: Remove a debug message from the parsing loop to lower overhead
- Convert build.py exec_task to use getVarFlags
- Update shell to use cooker.buildFile
- Add StampUpdate event
- Convert -b option to use taskdata/runqueue
- Remove digraph and switch to new stamp checking code. exec_task no longer
honours dependencies
- Make fetcher timestamp updating non-fatal when permissions don't allow
updates
- Add BB_SCHEDULER variable/option ("completion" or "speed") controlling
the way bitbake schedules tasks
- Add BB_STAMP_POLICY variable/option ("perfile" or "full") controlling
how extensively stamps are looked at for validity
- When handling build target failures make sure idepends are checked and
failed where needed. Fixes --continue mode crashes.
- Fix -f (force) in conjunction with -b
- Fix problems with recrdeptask handling where some idepends weren't handled
correctly.
- Handle exit codes correctly (from pH5)
- Work around refs/HEAD issues with git over http (#3410)
- Add proxy support to the CVS fetcher (from Cyril Chemparathy)
- Improve runfetchcmd so errors are seen and various GIT variables are exported
- Add ability to fetchers to check URL validity without downloading
- Improve runtime PREFERRED_PROVIDERS warning message
- Add BB_STAMP_WHITELIST option which contains a list of stamps to ignore when
checking stamp dependencies and using a BB_STAMP_POLICY of "whitelist"
- No longer weight providers on the basis of a package being "already staged". This
leads to builds being non-deterministic.
- Flush stdout/stderr before forking to fix duplicate console output
- Make sure recrdeps tasks include all inter-task dependencies of a given fn
- Add bb.runqueue.check_stamp_fn() for use by packaged-staging
- Add PERSISTENT_DIR to store the PersistData in a persistent
directory != the cache dir.
- Add md5 and sha256 checksum generation functions to utils.py
- Correctly handle '-' characters in class names (#2958)
- Make sure expandKeys has been called on the data dictionary before running tasks
- Correctly add a task override in the form task-TASKNAME.
- Revert the '-' character fix in class names since it breaks things
- When a regexp fails to compile for PACKAGES_DYNAMIC, print a more useful error (#4444)
- Allow to checkout CVS by Date and Time. Just add HHmm to the SRCDATE.
- Move prunedir function to utils.py and add explode_dep_versions function
- Raise an exception if SRCREV == 'INVALID'
- Fix hg fetcher username/password handling and fix crash
- Fix PACKAGES_DYNAMIC handling of packages with '++' in the name
- Rename __depends to __base_depends after configuration parsing so we don't
recheck the validity of the config files time after time
- Add better environmental variable handling. By default it will now only pass certain
whitelisted variables into the data store. If BB_PRESERVE_ENV is set bitbake will use
all variable from the environment. If BB_ENV_WHITELIST is set, that whitelist will be
used instead of the internal bitbake one. Alternatively, BB_ENV_EXTRAWHITE can be used
to extend the internal whitelist.
- Perforce fetcher fix to use commandline options instead of being overriden by the environment
- bb.utils.prunedir can cope with symlinks to directoriees without exceptions
- use @rev when doing a svn checkout
- Add osc fetcher (from Joshua Lock in Poky)
- When SRCREV autorevisioning for a recipe is in use, don't cache the recipe
- Add tryaltconfigs option to control whether bitbake trys using alternative providers
to fulfil failed dependencies. It defaults to off, changing the default since this
behaviour confuses many users and isn't often useful.
- Improve lock file function error handling
- Add username handling to the git fetcher (Robert Bragg)
- Add support for HTTP_PROXY and HTTP_PROXY_IGNORE variables to the wget fetcher
- Export more variables to the fetcher commands to allow ssh checkouts and checkouts through
proxies to work better. (from Poky)
- Also allow user and pswd options in SRC_URIs globally (from Poky)
- Improve proxy handling when using mirrors (from Poky)
- Add bb.utils.prune_suffix function
- Fix hg checkouts of specific revisions (from Poky)
- Fix wget fetching of urls with parameters specified (from Poky)
- Add username handling to git fetcher (from Poky)
- Set HOME environmental variable when running fetcher commands (from Poky)
- Make sure allowed variables inherited from the environment are exported again (from Poky)
- When running a stage task in bbshell, run populate_staging, not the stage task (from Poky)
- Fix + character escaping from PACKAGES_DYNAMIC (thanks Otavio Salvador)
- Addition of BBCLASSEXTEND support for allowing one recipe to provide multiple targets (from Poky)
Changes in Bitbake 1.8.0:
- Release 1.7.x as a stable series
Changes in BitBake 1.7.x:
- Major updates of the dependency handling and execution
of tasks. Code from bin/bitbake replaced with runqueue.py
and taskdata.py
- New task execution code supports multithreading with a simplistic
threading algorithm controlled by BB_NUMBER_THREADS
- Change of the SVN Fetcher to keep the checkout around
courtsey of Paul Sokolovsky (#1367)
- PATH fix to bbimage (#1108)
- Allow debug domains to be specified on the commandline (-l)
- Allow 'interactive' tasks
- Logging message improvements
- Drop now uneeded BUILD_ALL_DEPS variable
- Add support for wildcards to -b option
- Major overhaul of the fetchers making a large amount of code common
including mirroring code
- Fetchers now touch md5 stamps upon access (to show activity)
- Fix -f force option when used without -b (long standing bug)
- Add expand_cache to data_cache.py, caching expanded data (speedup)
- Allow version field in DEPENDS (ignored for now)
- Add abort flag support to the shell
- Make inherit fail if the class doesn't exist (#1478)
- Fix data.emit_env() to expand keynames as well as values
- Add ssh fetcher
- Add perforce fetcher
- Make PREFERRED_PROVIDER_foobar defaults to foobar if available
- Share the parser's mtime_cache, reducing the number of stat syscalls
- Compile all anonfuncs at once!
*** Anonfuncs must now use common spacing format ***
- Memorise the list of handlers in __BBHANDLERS and tasks in __BBTASKS
This removes 2 million function calls resulting in a 5-10% speedup
- Add manpage
- Update generateDotGraph to use taskData/runQueue improving accuracy
and also adding a task dependency graph
- Fix/standardise on GPLv2 licence
- Move most functionality from bin/bitbake to cooker.py and split into
separate funcitons
- CVS fetcher: Added support for non-default port
- Add BBINCLUDELOGS_LINES, the number of lines to read from any logfile
- Drop shebangs from lib/bb scripts
Changes in Bitbake 1.6.0:
- Better msg handling
- COW dict implementation from Tim Ansell (mithro) leading
to better performance
- Speed up of -s
Changes in Bitbake 1.4.4:
- SRCDATE now handling courtsey Justin Patrin
- #1017 fix to work with rm_work
Changes in BitBake 1.4.2:
- Send logs to oe.pastebin.com instead of pastebin.com
fixes #856
- Copy the internal bitbake data before building the
dependency graph. This fixes nano not having a
virtual/libc dependency
- Allow multiple TARBALL_STASH entries
- Cache, check if the directory exists before changing
into it
- git speedup cloning by not doing a checkout
- allow to have spaces in filenames (.conf, .bb, .bbclass)
Changes in BitBake 1.4.0:
- Fix to check both RDEPENDS and RDEPENDS_${PN}
- Fix a RDEPENDS parsing bug in utils:explode_deps()
- Update git fetcher behaviour to match git changes
- ASSUME_PROVIDED allowed to include runtime packages
- git fetcher cleanup and efficency improvements
- Change the format of the cache
- Update usermanual to document the Fetchers
- Major changes to caching with a new strategy
giving a major performance increase when reparsing
with few data changes
Changes in BitBake 1.3.3:
- Create a new Fetcher module to ease the
development of new Fetchers.
Issue #438 fixed by rpurdie@openedhand.com
- Make the Subversion fetcher honor the SRC Date
(CVSDATE).
Issue #555 fixed by chris@openedhand.com
- Expand PREFERRED_PROVIDER properly
Issue #436 fixed by rprudie@openedhand.com
- Typo fix for Issue #531 by Philipp Zabel for the
BitBake Shell
- Introduce a new special variable SRCDATE as
a generic naming to replace CVSDATE.
- Introduce a new keyword 'required'. In contrast
to 'include' parsing will fail if a to be included
file can not be found.
- Remove hardcoding of the STAMP directory. Patch
courtsey pHilipp Zabel
- Track the RDEPENDS of each package (rpurdie@openedhand.com)
- Introduce BUILD_ALL_DEPS to build all RDEPENDS. E.g
this is used by the OpenEmbedded Meta Packages.
(rpurdie@openedhand.com).
Changes in BitBake 1.3.2:
- reintegration of make.py into BitBake
- bbread is gone, use bitbake -e
- lots of shell updates and bugfixes
- Introduction of the .= and =. operator
- Sort variables, keys and groups in bitdoc
- Fix regression in the handling of BBCOLLECTIONS
- Update the bitbake usermanual
Changes in BitBake 1.3.0:
- add bitbake interactive shell (bitbake -i)
- refactor bitbake utility in OO style
- kill default arguments in methods in the bb.data module
- kill default arguments in methods in the bb.fetch module
- the http/https/ftp fetcher will fail if the to be
downloaded file was not found in DL_DIR (this is needed
to avoid unpacking the sourceforge mirror page)
- Switch to a cow like data instance for persistent and non
persisting mode (called data_smart.py)
- Changed the callback of bb.make.collect_bbfiles to carry
additional parameters
- Drastically reduced the amount of needed RAM by not holding
each data instance in memory when using a cache/persistent
storage
Changes in BitBake 1.2.1:
The 1.2.1 release is meant as a intermediate release to lay the
ground for more radical changes. The most notable changes are:
- Do not hardcode {}, use bb.data.init() instead if you want to
get a instance of a data class
- bb.data.init() is a factory and the old bb.data methods are delegates
- Do not use deepcopy use bb.data.createCopy() instead.
- Removed default arguments in bb.fetch

View File

@@ -1,29 +0,0 @@
BitBake is licensed under the GNU General Public License version 2.0. See
LICENSE.GPL-2.0-only for further details.
Individual files contain the following style tags instead of the full license text:
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/
The following external components are distributed with this software:
* The Toaster Simple UI application is based upon the Django project template, the files of which are covered by the BSD license and are copyright (c) Django Software
Foundation and individual contributors.
* Twitter Bootstrap (including Glyphicons), redistributed under the MIT license
* jQuery is redistributed under the MIT license.
* Twitter typeahead.js redistributed under the MIT license. Note that the JS source has one small modification, so the full unminified file is currently included to make it obvious where this is.
* jsrender is redistributed under the MIT license.
* QUnit is redistributed under the MIT license.
* Font Awesome fonts redistributed under the SIL Open Font License 1.1
* simplediff is distributed under the zlib license.

View File

@@ -1,288 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,25 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,63 +0,0 @@
Bitbake
=======
BitBake is a generic task execution engine that allows shell and Python tasks to be run
efficiently and in parallel while working within complex inter-task dependency constraints.
One of BitBake's main users, OpenEmbedded, takes this core and builds embedded Linux software
stacks using a task-oriented approach.
For information about Bitbake, see the OpenEmbedded website:
https://www.openembedded.org/
Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
https://docs.yoctoproject.org
Bitbake requires Python version 3.8 or newer.
Contributing
------------
Please refer to our contributor guide here: https://docs.yoctoproject.org/contributor-guide/
for full details on how to submit changes.
As a quick guide, patches should be sent to bitbake-devel@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to bitbake-devel@lists.openembedded.org
If you're sending a patch related to the BitBake manual, make sure you copy
the Yocto Project documentation mailing list:
git send-email -M -1 --to bitbake-devel@lists.openembedded.org --cc docs@lists.yoctoproject.org
Mailing list:
https://lists.openembedded.org/g/bitbake-devel
Source code:
https://git.openembedded.org/bitbake/
Testing
-------
Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
You can run this with "bitbake-selftest". In particular the fetcher is well covered since
it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
recommended before submitting patches, particularly to the fetcher and datastore. We also
appreciate new test cases and may require them for more obscure issues.
To run the tests "zstd" and "git" must be installed.
The assumption is made that this testsuite is run from an initialized OpenEmbedded build
environment (i.e. `source oe-init-build-env` is used). If this is not the case, run the
testsuite as follows:
export PATH=$(pwd)/bin:$PATH
bin/bitbake-selftest
The testsuite can alternatively be executed using pytest, e.g. obtained from PyPI (in this
case, the PATH is configured automatically):
pytest

View File

@@ -1,24 +0,0 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

View File

@@ -1,45 +0,0 @@
#!/usr/bin/env python3
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
'lib'))
try:
import bb
except RuntimeError as exc:
sys.exit(str(exc))
from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.12.0"
if __name__ == "__main__":
if __version__ != bb.__version__:
sys.exit("Bitbake core version and program version mismatch!")
try:
sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
cookerdata.CookerConfiguration()))
except BBMainException as err:
sys.exit(err)
except bb.BBHandledException:
sys.exit(1)
except Exception:
import traceback
traceback.print_exc()
sys.exit(1)

View File

@@ -1 +0,0 @@
bitbake-layers

View File

@@ -1,208 +0,0 @@
#!/usr/bin/env python3
# bitbake-diffsigs / bitbake-dumpsig
# BitBake task signature data dump and comparison utility
#
# Copyright (C) 2012-2013, 2017 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import warnings
warnings.simplefilter("default")
import argparse
import logging
import pickle
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb.tinfoil
import bb.siggen
import bb.msg
myname = os.path.basename(sys.argv[0])
logger = bb.msg.logger_create(myname)
is_dump = myname == 'bitbake-dumpsig'
def find_siginfo(tinfoil, pn, taskname, sigs=None):
result = None
tinfoil.set_event_mask(['bb.event.FindSigInfoResult',
'logging.LogRecord',
'bb.command.CommandCompleted',
'bb.command.CommandFailed'])
ret = tinfoil.run_command('findSigInfo', pn, taskname, sigs)
if ret:
while True:
event = tinfoil.wait_event(1)
if event:
if isinstance(event, bb.command.CommandCompleted):
break
elif isinstance(event, bb.command.CommandFailed):
logger.error(str(event))
sys.exit(2)
elif isinstance(event, bb.event.FindSigInfoResult):
result = event.result
elif isinstance(event, logging.LogRecord):
logger.handle(event)
else:
logger.error('No result returned from findSigInfo command')
sys.exit(2)
return result
def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
""" Find the most recent signature files for the specified PN/task """
if not taskname.startswith('do_'):
taskname = 'do_%s' % taskname
if sig1 and sig2:
sigfiles = find_siginfo(bbhandler, pn, taskname, [sig1, sig2])
if not sigfiles:
logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig1, sig2))
sys.exit(1)
elif sig1 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig1))
sys.exit(1)
elif sig2 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig2))
sys.exit(1)
latestfiles = [sigfiles[sig1]['path'], sigfiles[sig2]['path']]
else:
sigfiles = find_siginfo(bbhandler, pn, taskname)
latestsigs = sorted(sigfiles.keys(), key=lambda h: sigfiles[h]['time'])[-2:]
if not latestsigs:
logger.error('No sigdata files found matching %s %s' % (pn, taskname))
sys.exit(1)
latestfiles = [sigfiles[latestsigs[0]]['path']]
if len(latestsigs) > 1:
latestfiles.append(sigfiles[latestsigs[1]]['path'])
return latestfiles
# Define recursion callback
def recursecb(key, hash1, hash2):
hashes = [hash1, hash2]
hashfiles = find_siginfo(tinfoil, key, None, hashes)
recout = []
if not hashfiles:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
elif hash1 not in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))
elif hash2 not in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash2))
else:
out2 = bb.siggen.compare_sigfiles(hashfiles[hash1]['path'], hashfiles[hash2]['path'], recursecb, color=color)
for change in out2:
for line in change.splitlines():
recout.append(' ' + line)
return recout
parser = argparse.ArgumentParser(
description=("Dumps" if is_dump else "Compares") + " siginfo/sigdata files written out by BitBake")
parser.add_argument('-D', '--debug',
help='Enable debug output',
action='store_true')
if is_dump:
parser.add_argument("-t", "--task",
help="find the signature data file for the last run of the specified task",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("sigdatafile1",
help="Signature file to dump. Not used when using -t/--task.",
action="store", nargs='?', metavar="sigdatafile")
else:
parser.add_argument('-c', '--color',
help='Colorize the output (where %(metavar)s is %(choices)s)',
choices=['auto', 'always', 'never'], default='auto', metavar='color')
parser.add_argument('-d', '--dump',
help='Dump the last signature data instead of comparing (equivalent to using bitbake-dumpsig)',
action='store_true')
parser.add_argument("-t", "--task",
help="find the signature data files for the last two runs of the specified task and compare them",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("-s", "--signature",
help="With -t/--task, specify the signatures to look for instead of taking the last two",
action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig'))
parser.add_argument("sigdatafile1",
help="First signature file to compare (or signature file to dump, if second not specified). Not used when using -t/--task.",
action="store", nargs='?')
parser.add_argument("sigdatafile2",
help="Second signature file to compare",
action="store", nargs='?')
options = parser.parse_args()
if is_dump:
options.color = 'never'
options.dump = True
options.sigdatafile2 = None
options.sigargs = None
if options.debug:
logger.setLevel(logging.DEBUG)
color = (options.color == 'always' or (options.color == 'auto' and sys.stdout.isatty()))
if options.taskargs:
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=True)
if not options.dump and options.sigargs:
files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1], options.sigargs[0],
options.sigargs[1])
else:
files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
if options.dump:
logger.debug("Signature file: %s" % files[-1])
output = bb.siggen.dump_sigfile(files[-1])
else:
if len(files) < 2:
logger.error('Only one matching sigdata file found for the specified task (%s %s)' % (
options.taskargs[0], options.taskargs[1]))
sys.exit(1)
# Recurse into signature comparison
logger.debug("Signature file (previous): %s" % files[-2])
logger.debug("Signature file (latest): %s" % files[-1])
output = bb.siggen.compare_sigfiles(files[-2], files[-1], recursecb, color=color)
else:
if options.sigargs:
logger.error('-s/--signature can only be used together with -t/--task')
sys.exit(1)
try:
if not options.dump and options.sigdatafile1 and options.sigdatafile2:
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=True)
output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, recursecb, color=color)
elif options.sigdatafile1:
output = bb.siggen.dump_sigfile(options.sigdatafile1)
else:
logger.error('Must specify signature file(s) or -t/--task')
parser.print_help()
sys.exit(1)
except IOError as e:
logger.error(str(e))
sys.exit(1)
except (pickle.UnpicklingError, EOFError):
logger.error('Invalid signature data - ensure you are specifying sigdata/siginfo files')
sys.exit(1)
if output:
print('\n'.join(output))

View File

@@ -1 +0,0 @@
bitbake-diffsigs

View File

@@ -1,66 +0,0 @@
#! /usr/bin/env python3
#
# Copyright (C) 2021 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import io
import os
import sys
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
import bb.providers
import bb.tinfoil
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Bitbake Query Variable")
parser.add_argument("variable", help="variable name to query")
parser.add_argument("-r", "--recipe", help="Recipe name to query", default=None, required=False)
parser.add_argument('-u', '--unexpand', help='Do not expand the value (with --value)', action="store_true")
parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
parser.add_argument('-q', '--quiet', help='Silence bitbake server logging', action="store_true")
parser.add_argument('--ignore-undefined', help='Suppress any errors related to undefined variables', action="store_true")
args = parser.parse_args()
if not args.value:
if args.unexpand:
sys.exit("--unexpand only makes sense with --value")
if args.flag:
sys.exit("--flag only makes sense with --value")
quiet = args.quiet or args.value
with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not quiet) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=3 if quiet else 2)
try:
d = tinfoil.parse_recipe(args.recipe)
except bb.providers.NoProvider as e:
sys.exit(str(e))
else:
tinfoil.prepare(quiet=2, config_only=True)
# Expand keys and run anonymous functions to get identical result to
# "bitbake -e"
d = tinfoil.finalizeData()
value = None
if args.flag:
value = d.getVarFlag(args.variable, args.flag, expand=not args.unexpand)
if value is None and not args.ignore_undefined:
sys.exit(f"The flag '{args.flag}' is not defined for variable '{args.variable}'")
else:
value = d.getVar(args.variable, expand=not args.unexpand)
if value is None and not args.ignore_undefined:
sys.exit(f"The variable '{args.variable}' is not defined")
if args.value:
print(str(value if value is not None else ""))
else:
bb.data.emit_var(args.variable, d=d, all=True)

View File

@@ -1,462 +0,0 @@
#! /usr/bin/env python3
#
# Copyright (C) 2019 Garmin Ltd.
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import hashlib
import logging
import os
import pprint
import sys
import threading
import time
import warnings
import netrc
import json
import statistics
import textwrap
warnings.simplefilter("default")
try:
import tqdm
ProgressBar = tqdm.tqdm
except ImportError:
class ProgressBar(object):
def __init__(self, *args, **kwargs):
pass
def __enter__(self):
return self
def __exit__(self, *args, **kwargs):
pass
def update(self):
pass
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))
import hashserv
import bb.asyncrpc
DEFAULT_ADDRESS = 'unix://./hashserve.sock'
METHOD = 'stress.test.method'
def print_user(u):
print(f"Username: {u['username']}")
if "permissions" in u:
print("Permissions: " + " ".join(u["permissions"]))
if "token" in u:
print(f"Token: {u['token']}")
def main():
def handle_get(args, client):
result = client.get_taskhash(args.method, args.taskhash, all_properties=True)
if not result:
return 0
print(json.dumps(result, sort_keys=True, indent=4))
return 0
def handle_get_outhash(args, client):
result = client.get_outhash(args.method, args.outhash, args.taskhash)
if not result:
return 0
print(json.dumps(result, sort_keys=True, indent=4))
return 0
def handle_stats(args, client):
if args.reset:
s = client.reset_stats()
else:
s = client.get_stats()
print(json.dumps(s, sort_keys=True, indent=4))
return 0
def handle_stress(args, client):
def thread_main(pbar, lock):
nonlocal found_hashes
nonlocal missed_hashes
nonlocal max_time
nonlocal times
with hashserv.create_client(args.address) as client:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
times.append(elapsed)
pbar.update()
max_time = 0
found_hashes = 0
missed_hashes = 0
lock = threading.Lock()
times = []
start_time = time.perf_counter()
with ProgressBar(total=args.clients * args.requests) as pbar:
threads = [threading.Thread(target=thread_main, args=(pbar, lock), daemon=False) for _ in range(args.clients)]
for t in threads:
t.start()
for t in threads:
t.join()
total_elapsed = time.perf_counter() - start_time
with lock:
mean = statistics.mean(times)
median = statistics.median(times)
stddev = statistics.pstdev(times)
print(f"Number of clients: {args.clients}")
print(f"Requests per client: {args.requests}")
print(f"Number of requests: {len(times)}")
print(f"Total elapsed time: {total_elapsed:.3f}s")
print(f"Total request rate: {len(times)/total_elapsed:.3f} req/s")
print(f"Average request time: {mean:.3f}s")
print(f"Median request time: {median:.3f}s")
print(f"Request time std dev: {stddev:.3f}s")
print(f"Maximum request time: {max(times):.3f}s")
print(f"Minimum request time: {min(times):.3f}s")
print(f"Hashes found: {found_hashes}")
print(f"Hashes missed: {missed_hashes}")
if args.report:
with ProgressBar(total=args.requests) as pbar:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
outhash = hashlib.sha256()
outhash.update(args.outhash_seed.encode('utf-8'))
outhash.update(str(i).encode('utf-8'))
client.report_unihash(taskhash.hexdigest(), METHOD, outhash.hexdigest(), taskhash.hexdigest())
with lock:
pbar.update()
def handle_remove(args, client):
where = {k: v for k, v in args.where}
if where:
result = client.remove(where)
print("Removed %d row(s)" % (result["count"]))
else:
print("No query specified")
def handle_clean_unused(args, client):
result = client.clean_unused(args.max_age)
print("Removed %d rows" % (result["count"]))
return 0
def handle_refresh_token(args, client):
r = client.refresh_token(args.username)
print_user(r)
def handle_set_user_permissions(args, client):
r = client.set_user_perms(args.username, args.permissions)
print_user(r)
def handle_get_user(args, client):
r = client.get_user(args.username)
print_user(r)
def handle_get_all_users(args, client):
users = client.get_all_users()
print("{username:20}| {permissions}".format(username="Username", permissions="Permissions"))
print(("-" * 20) + "+" + ("-" * 20))
for u in users:
print("{username:20}| {permissions}".format(username=u["username"], permissions=" ".join(u["permissions"])))
def handle_new_user(args, client):
r = client.new_user(args.username, args.permissions)
print_user(r)
def handle_delete_user(args, client):
r = client.delete_user(args.username)
print_user(r)
def handle_get_db_usage(args, client):
usage = client.get_db_usage()
print(usage)
tables = sorted(usage.keys())
print("{name:20}| {rows:20}".format(name="Table name", rows="Rows"))
print(("-" * 20) + "+" + ("-" * 20))
for t in tables:
print("{name:20}| {rows:<20}".format(name=t, rows=usage[t]["rows"]))
print()
total_rows = sum(t["rows"] for t in usage.values())
print(f"Total rows: {total_rows}")
def handle_get_db_query_columns(args, client):
columns = client.get_db_query_columns()
print("\n".join(sorted(columns)))
def handle_gc_status(args, client):
result = client.gc_status()
if not result["mark"]:
print("No Garbage collection in progress")
return 0
print("Current Mark: %s" % result["mark"])
print("Total hashes to keep: %d" % result["keep"])
print("Total hashes to remove: %s" % result["remove"])
return 0
def handle_gc_mark(args, client):
where = {k: v for k, v in args.where}
result = client.gc_mark(args.mark, where)
print("New hashes marked: %d" % result["count"])
return 0
def handle_gc_mark_stream(args, client):
stdin = (l.strip() for l in sys.stdin)
marked_hashes = 0
try:
result = client.gc_mark_stream(args.mark, stdin)
marked_hashes = result["count"]
except ConnectionError:
logger.warning(
"Server doesn't seem to support `gc-mark-stream`. Sending "
"hashes sequentially using `gc-mark` API."
)
for line in stdin:
pairs = line.split()
condition = dict(zip(pairs[::2], pairs[1::2]))
result = client.gc_mark(args.mark, condition)
marked_hashes += result["count"]
print("New hashes marked: %d" % marked_hashes)
return 0
def handle_gc_sweep(args, client):
result = client.gc_sweep(args.mark)
print("Removed %d rows" % result["count"])
return 0
def handle_unihash_exists(args, client):
result = client.unihash_exists(args.unihash)
if args.quiet:
return 0 if result else 1
print("true" if result else "false")
return 0
def handle_ping(args, client):
times = []
for i in range(1, args.count + 1):
if not args.quiet:
print(f"Ping {i} of {args.count}... ", end="")
start_time = time.perf_counter()
client.ping()
elapsed = time.perf_counter() - start_time
times.append(elapsed)
if not args.quiet:
print(f"{elapsed:.3f}s")
mean = statistics.mean(times)
median = statistics.median(times)
std_dev = statistics.pstdev(times)
if not args.quiet:
print("------------------------")
print(f"Number of pings: {len(times)}")
print(f"Average round trip time: {mean:.3f}s")
print(f"Median round trip time: {median:.3f}s")
print(f"Round trip time std dev: {std_dev:.3f}s")
print(f"Min time is: {min(times):.3f}s")
print(f"Max time is: {max(times):.3f}s")
return 0
parser = argparse.ArgumentParser(
formatter_class=argparse.RawDescriptionHelpFormatter,
description='Hash Equivalence Client',
epilog=textwrap.dedent(
"""
Possible ADDRESS options are:
unix://PATH Connect to UNIX domain socket at PATH
ws://HOST[:PORT] Connect to websocket at HOST:PORT (default port is 80)
wss://HOST[:PORT] Connect to secure websocket at HOST:PORT (default port is 443)
HOST:PORT Connect to TCP server at HOST:PORT
"""
),
)
parser.add_argument('--address', default=DEFAULT_ADDRESS, help='Server address (default "%(default)s")')
parser.add_argument('--log', default='WARNING', help='Set logging level')
parser.add_argument('--login', '-l', metavar="USERNAME", help="Authenticate as USERNAME")
parser.add_argument('--password', '-p', metavar="TOKEN", help="Authenticate using token TOKEN")
parser.add_argument('--become', '-b', metavar="USERNAME", help="Impersonate user USERNAME (if allowed) when performing actions")
parser.add_argument('--no-netrc', '-n', action="store_false", dest="netrc", help="Do not use .netrc")
subparsers = parser.add_subparsers()
get_parser = subparsers.add_parser('get', help="Get the unihash for a taskhash")
get_parser.add_argument("method", help="Method to query")
get_parser.add_argument("taskhash", help="Task hash to query")
get_parser.set_defaults(func=handle_get)
get_outhash_parser = subparsers.add_parser('get-outhash', help="Get output hash information")
get_outhash_parser.add_argument("method", help="Method to query")
get_outhash_parser.add_argument("outhash", help="Output hash to query")
get_outhash_parser.add_argument("taskhash", help="Task hash to query")
get_outhash_parser.set_defaults(func=handle_get_outhash)
stats_parser = subparsers.add_parser('stats', help='Show server stats')
stats_parser.add_argument('--reset', action='store_true',
help='Reset server stats')
stats_parser.set_defaults(func=handle_stats)
stress_parser = subparsers.add_parser('stress', help='Run stress test')
stress_parser.add_argument('--clients', type=int, default=10,
help='Number of simultaneous clients')
stress_parser.add_argument('--requests', type=int, default=1000,
help='Number of requests each client will perform')
stress_parser.add_argument('--report', action='store_true',
help='Report new hashes')
stress_parser.add_argument('--taskhash-seed', default='',
help='Include string in taskhash')
stress_parser.add_argument('--outhash-seed', default='',
help='Include string in outhash')
stress_parser.set_defaults(func=handle_stress)
remove_parser = subparsers.add_parser('remove', help="Remove hash entries")
remove_parser.add_argument("--where", "-w", metavar="KEY VALUE", nargs=2, action="append", default=[],
help="Remove entries from table where KEY == VALUE")
remove_parser.set_defaults(func=handle_remove)
clean_unused_parser = subparsers.add_parser('clean-unused', help="Remove unused database entries")
clean_unused_parser.add_argument("max_age", metavar="SECONDS", type=int, help="Remove unused entries older than SECONDS old")
clean_unused_parser.set_defaults(func=handle_clean_unused)
refresh_token_parser = subparsers.add_parser('refresh-token', help="Refresh auth token")
refresh_token_parser.add_argument("--username", "-u", help="Refresh the token for another user (if authorized)")
refresh_token_parser.set_defaults(func=handle_refresh_token)
set_user_perms_parser = subparsers.add_parser('set-user-perms', help="Set new permissions for user")
set_user_perms_parser.add_argument("--username", "-u", help="Username", required=True)
set_user_perms_parser.add_argument("permissions", metavar="PERM", nargs="*", default=[], help="New permissions")
set_user_perms_parser.set_defaults(func=handle_set_user_permissions)
get_user_parser = subparsers.add_parser('get-user', help="Get user")
get_user_parser.add_argument("--username", "-u", help="Username")
get_user_parser.set_defaults(func=handle_get_user)
get_all_users_parser = subparsers.add_parser('get-all-users', help="List all users")
get_all_users_parser.set_defaults(func=handle_get_all_users)
new_user_parser = subparsers.add_parser('new-user', help="Create new user")
new_user_parser.add_argument("--username", "-u", help="Username", required=True)
new_user_parser.add_argument("permissions", metavar="PERM", nargs="*", default=[], help="New permissions")
new_user_parser.set_defaults(func=handle_new_user)
delete_user_parser = subparsers.add_parser('delete-user', help="Delete user")
delete_user_parser.add_argument("--username", "-u", help="Username", required=True)
delete_user_parser.set_defaults(func=handle_delete_user)
db_usage_parser = subparsers.add_parser('get-db-usage', help="Database Usage")
db_usage_parser.set_defaults(func=handle_get_db_usage)
db_query_columns_parser = subparsers.add_parser('get-db-query-columns', help="Show columns that can be used in database queries")
db_query_columns_parser.set_defaults(func=handle_get_db_query_columns)
gc_status_parser = subparsers.add_parser("gc-status", help="Show garbage collection status")
gc_status_parser.set_defaults(func=handle_gc_status)
gc_mark_parser = subparsers.add_parser('gc-mark', help="Mark hashes to be kept for garbage collection")
gc_mark_parser.add_argument("mark", help="Mark for this garbage collection operation")
gc_mark_parser.add_argument("--where", "-w", metavar="KEY VALUE", nargs=2, action="append", default=[],
help="Keep entries in table where KEY == VALUE")
gc_mark_parser.set_defaults(func=handle_gc_mark)
gc_mark_parser_stream = subparsers.add_parser(
'gc-mark-stream',
help=(
"Mark multiple hashes to be retained for garbage collection. Input should be provided via stdin, "
"with each line formatted as key-value pairs separated by spaces, for example 'column1 foo column2 bar'."
)
)
gc_mark_parser_stream.add_argument("mark", help="Mark for this garbage collection operation")
gc_mark_parser_stream.set_defaults(func=handle_gc_mark_stream)
gc_sweep_parser = subparsers.add_parser('gc-sweep', help="Perform garbage collection and delete any entries that are not marked")
gc_sweep_parser.add_argument("mark", help="Mark for this garbage collection operation")
gc_sweep_parser.set_defaults(func=handle_gc_sweep)
unihash_exists_parser = subparsers.add_parser('unihash-exists', help="Check if a unihash is known to the server")
unihash_exists_parser.add_argument("--quiet", action="store_true", help="Don't print status. Instead, exit with 0 if unihash exists and 1 if it does not")
unihash_exists_parser.add_argument("unihash", help="Unihash to check")
unihash_exists_parser.set_defaults(func=handle_unihash_exists)
ping_parser = subparsers.add_parser('ping', help="Ping server")
ping_parser.add_argument("-n", "--count", type=int, help="Number of pings. Default is %(default)s", default=10)
ping_parser.add_argument("-q", "--quiet", action="store_true", help="Don't print each ping; only print results")
ping_parser.set_defaults(func=handle_ping)
args = parser.parse_args()
logger = logging.getLogger('hashserv')
level = getattr(logging, args.log.upper(), None)
if not isinstance(level, int):
raise ValueError('Invalid log level: %s' % args.log)
logger.setLevel(level)
console = logging.StreamHandler()
console.setLevel(level)
logger.addHandler(console)
login = args.login
password = args.password
if login is None and args.netrc:
try:
n = netrc.netrc()
auth = n.authenticators(args.address)
if auth is not None:
login, _, password = auth
except FileNotFoundError:
pass
except netrc.NetrcParseError as e:
sys.stderr.write(f"Error parsing {e.filename}:{e.lineno}: {e.msg}\n")
func = getattr(args, 'func', None)
if func:
try:
with hashserv.create_client(args.address, login, password) as client:
if args.become:
client.become_user(args.become)
return func(args, client)
except bb.asyncrpc.InvokeError as e:
print(f"ERROR: {e}")
return 1
return 0
if __name__ == '__main__':
try:
ret = main()
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -1,179 +0,0 @@
#! /usr/bin/env python3
#
# Copyright (C) 2018 Garmin Ltd.
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import logging
import argparse
import sqlite3
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), "lib"))
import hashserv
from hashserv.server import DEFAULT_ANON_PERMS
VERSION = "1.0.0"
DEFAULT_BIND = "unix://./hashserve.sock"
def main():
parser = argparse.ArgumentParser(
description="Hash Equivalence Reference Server. Version=%s" % VERSION,
formatter_class=argparse.RawTextHelpFormatter,
epilog="""
The bind address may take one of the following formats:
unix://PATH - Bind to unix domain socket at PATH
ws://ADDRESS:PORT - Bind to websocket on ADDRESS:PORT
ADDRESS:PORT - Bind to raw TCP socket on ADDRESS:PORT
To bind to all addresses, leave the ADDRESS empty, e.g. "--bind :8686" or
"--bind ws://:8686". To bind to a specific IPv6 address, enclose the address in
"[]", e.g. "--bind [::1]:8686" or "--bind ws://[::1]:8686"
Note that the default Anonymous permissions are designed to not break existing
server instances when upgrading, but are not particularly secure defaults. If
you want to use authentication, it is recommended that you use "--anon-perms
@read" to only give anonymous users read access, or "--anon-perms @none" to
give un-authenticated users no access at all.
Setting "--anon-perms @all" or "--anon-perms @user-admin" is not allowed, since
this would allow anonymous users to manage all users accounts, which is a bad
idea.
If you are using user authentication, you should run your server in websockets
mode with an SSL terminating load balancer in front of it (as this server does
not implement SSL). Otherwise all usernames and passwords will be transmitted
in the clear. When configured this way, clients can connect using a secure
websocket, as in "wss://SERVER:PORT"
The following permissions are supported by the server:
@none - No permissions
@read - The ability to read equivalent hashes from the server
@report - The ability to report equivalent hashes to the server
@db-admin - Manage the hash database(s). This includes cleaning the
database, removing hashes, etc.
@user-admin - The ability to manage user accounts. This includes, creating
users, deleting users, resetting login tokens, and assigning
permissions.
@all - All possible permissions, including any that may be added
in the future
""",
)
parser.add_argument(
"-b",
"--bind",
default=os.environ.get("HASHSERVER_BIND", DEFAULT_BIND),
help='Bind address (default $HASHSERVER_BIND, "%(default)s")',
)
parser.add_argument(
"-d",
"--database",
default=os.environ.get("HASHSERVER_DB", "./hashserv.db"),
help='Database file (default $HASHSERVER_DB, "%(default)s")',
)
parser.add_argument(
"-l",
"--log",
default=os.environ.get("HASHSERVER_LOG_LEVEL", "WARNING"),
help='Set logging level (default $HASHSERVER_LOG_LEVEL, "%(default)s")',
)
parser.add_argument(
"-u",
"--upstream",
default=os.environ.get("HASHSERVER_UPSTREAM", None),
help="Upstream hashserv to pull hashes from ($HASHSERVER_UPSTREAM)",
)
parser.add_argument(
"-r",
"--read-only",
action="store_true",
help="Disallow write operations from clients ($HASHSERVER_READ_ONLY)",
)
parser.add_argument(
"--db-username",
default=os.environ.get("HASHSERVER_DB_USERNAME", None),
help="Database username ($HASHSERVER_DB_USERNAME)",
)
parser.add_argument(
"--db-password",
default=os.environ.get("HASHSERVER_DB_PASSWORD", None),
help="Database password ($HASHSERVER_DB_PASSWORD)",
)
parser.add_argument(
"--anon-perms",
metavar="PERM[,PERM[,...]]",
default=os.environ.get("HASHSERVER_ANON_PERMS", ",".join(DEFAULT_ANON_PERMS)),
help='Permissions to give anonymous users (default $HASHSERVER_ANON_PERMS, "%(default)s")',
)
parser.add_argument(
"--admin-user",
default=os.environ.get("HASHSERVER_ADMIN_USER", None),
help="Create default admin user with name ADMIN_USER ($HASHSERVER_ADMIN_USER)",
)
parser.add_argument(
"--admin-password",
default=os.environ.get("HASHSERVER_ADMIN_PASSWORD", None),
help="Create default admin user with password ADMIN_PASSWORD ($HASHSERVER_ADMIN_PASSWORD)",
)
parser.add_argument(
"--reuseport",
action="store_true",
help="Enable SO_REUSEPORT, allowing multiple servers to bind to the same port for load balancing",
)
args = parser.parse_args()
logger = logging.getLogger("hashserv")
level = getattr(logging, args.log.upper(), None)
if not isinstance(level, int):
raise ValueError(
"Invalid log level: %s (Try ERROR/WARNING/INFO/DEBUG)" % args.log
)
logger.setLevel(level)
console = logging.StreamHandler()
console.setLevel(level)
logger.addHandler(console)
read_only = (os.environ.get("HASHSERVER_READ_ONLY", "0") == "1") or args.read_only
if "," in args.anon_perms:
anon_perms = args.anon_perms.split(",")
else:
anon_perms = args.anon_perms.split()
server = hashserv.create_server(
args.bind,
args.database,
upstream=args.upstream,
read_only=read_only,
db_username=args.db_username,
db_password=args.db_password,
anon_perms=anon_perms,
admin_username=args.admin_user,
admin_password=args.admin_password,
reuseport=args.reuseport,
)
server.serve_forever()
return 0
if __name__ == "__main__":
try:
ret = main()
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -1,106 +0,0 @@
#!/usr/bin/env python3
# This script has subcommands which operate against your bitbake layers, either
# displaying useful information, or acting against them.
# See the help output for details on available commands.
# Copyright (C) 2011 Mentor Graphics Corporation
# Copyright (C) 2011-2015 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import os
import sys
import argparse
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
toolname = os.path.basename(__file__).split(".")[0]
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
import bb.tinfoil
import bb.msg
logger = bb.msg.logger_create(toolname, sys.stdout)
def main():
parser = argparse.ArgumentParser(
description="BitBake layers utility",
epilog="Use %(prog)s <subcommand> --help to get help on a specific command",
add_help=False)
parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true')
parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true')
parser.add_argument('-F', '--force', help='Forced execution: can be specified multiple times. -F will force add without recipe parse verification and -FF will additionally force the run withput layer parsing.', action='count', default=0)
parser.add_argument('--color', choices=['auto', 'always', 'never'], default='auto', help='Colorize output (where %(metavar)s is %(choices)s)', metavar='COLOR')
global_args, unparsed_args = parser.parse_known_args()
# Help is added here rather than via add_help=True, as we don't want it to
# be handled by parse_known_args()
parser.add_argument('-h', '--help', action='help', default=argparse.SUPPRESS,
help='show this help message and exit')
subparsers = parser.add_subparsers(title='subcommands', metavar='<subcommand>')
subparsers.required = True
if global_args.debug:
logger.setLevel(logging.DEBUG)
elif global_args.quiet:
logger.setLevel(logging.ERROR)
# Need to re-run logger_create with color argument
# (will be the same logger since it has the same name)
bb.msg.logger_create('bitbake-layers', output=sys.stdout,
color=global_args.color,
level=logger.getEffectiveLevel())
plugins = []
with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
tinfoil.logger.setLevel(logger.getEffectiveLevel())
if global_args.force > 1:
bbpaths = []
else:
tinfoil.prepare(True)
bbpaths = tinfoil.config_data.getVar('BBPATH').split(':')
for path in ([topdir] + bbpaths):
pluginbasepath = {"bitbake-layers":'bblayers', 'bitbake-config-build':'bbconfigbuild'}[toolname]
pluginpath = os.path.join(path, 'lib', pluginbasepath)
bb.utils.load_plugins(logger, plugins, pluginpath)
registered = False
for plugin in plugins:
if hasattr(plugin, 'tinfoil_init') and global_args.force <= 1:
plugin.tinfoil_init(tinfoil)
if hasattr(plugin, 'register_commands'):
registered = True
plugin.register_commands(subparsers)
if not registered:
logger.error("No commands registered - missing plugins?")
sys.exit(1)
args = parser.parse_args(unparsed_args, namespace=global_args)
if getattr(args, 'parserecipes', False):
tinfoil.config_data.disableTracking()
tinfoil.parse_recipes()
tinfoil.config_data.enableTracking()
return args.func(args)
if __name__ == "__main__":
try:
ret = main()
except bb.BBHandledException:
ret = 1
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -1,113 +0,0 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys,logging
import argparse
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), "lib"))
import prserv
import prserv.serv
VERSION = "2.0.0"
PRHOST_DEFAULT="0.0.0.0"
PRPORT_DEFAULT=8585
def init_logger(logfile, loglevel):
numeric_level = getattr(logging, loglevel.upper(), None)
if not isinstance(numeric_level, int):
raise ValueError("Invalid log level: %s" % loglevel)
FORMAT = "%(asctime)-15s %(message)s"
logging.basicConfig(level=numeric_level, filename=logfile, format=FORMAT)
def main():
parser = argparse.ArgumentParser(
description="BitBake PR Server. Version=%s" % VERSION,
formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument(
"-f",
"--file",
default="prserv.sqlite3",
help="database filename (default: prserv.sqlite3)",
)
parser.add_argument(
"-l",
"--log",
default="prserv.log",
help="log filename(default: prserv.log)",
)
parser.add_argument(
"--loglevel",
default="INFO",
help="logging level, i.e. CRITICAL, ERROR, WARNING, INFO, DEBUG",
)
parser.add_argument(
"--start",
action="store_true",
help="start daemon",
)
parser.add_argument(
"--stop",
action="store_true",
help="stop daemon",
)
parser.add_argument(
"--host",
help="ip address to bind",
default=PRHOST_DEFAULT,
)
parser.add_argument(
"--port",
type=int,
default=PRPORT_DEFAULT,
help="port number (default: 8585)",
)
parser.add_argument(
"-r",
"--read-only",
action="store_true",
help="open database in read-only mode",
)
parser.add_argument(
"-u",
"--upstream",
default=os.environ.get("PRSERV_UPSTREAM", None),
help="Upstream PR service (host:port)",
)
args = parser.parse_args()
init_logger(os.path.abspath(args.log), args.loglevel)
if args.start:
ret=prserv.serv.start_daemon(
args.file,
args.host,
args.port,
os.path.abspath(args.log),
args.read_only,
args.upstream
)
elif args.stop:
ret=prserv.serv.stop_daemon(args.host, args.port)
else:
ret=parser.print_help()
return ret
if __name__ == "__main__":
try:
ret = main()
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -1,78 +0,0 @@
#!/usr/bin/env python3
#
# Copyright (C) 2012 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys, logging
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))
import unittest
try:
import bb
import hashserv
import prserv
import layerindexlib
except RuntimeError as exc:
sys.exit(str(exc))
tests = ["bb.tests.codeparser",
"bb.tests.color",
"bb.tests.cooker",
"bb.tests.cow",
"bb.tests.data",
"bb.tests.event",
"bb.tests.fetch",
"bb.tests.parse",
"bb.tests.runqueue",
"bb.tests.siggen",
"bb.tests.utils",
"bb.tests.compression",
"hashserv.tests",
"prserv.tests",
"layerindexlib.tests.layerindexobj",
"layerindexlib.tests.restapi",
"layerindexlib.tests.cooker"]
for t in tests:
t = '.'.join(t.split('.')[:3])
__import__(t)
# Set-up logging
class StdoutStreamHandler(logging.StreamHandler):
"""Special handler so that unittest is able to capture stdout"""
def __init__(self):
# Override __init__() because we don't want to set self.stream here
logging.Handler.__init__(self)
@property
def stream(self):
# We want to dynamically write wherever sys.stdout is pointing to
return sys.stdout
handler = StdoutStreamHandler()
bb.logger.addHandler(handler)
bb.logger.setLevel(logging.DEBUG)
ENV_HELP = """\
Environment variables:
BB_SKIP_NETTESTS set to 'yes' in order to skip tests using network
connection
BB_TMPDIR_NOCLEAN set to 'yes' to preserve test tmp directories
"""
class main(unittest.main):
def _print_help(self, *args, **kwargs):
super(main, self)._print_help(*args, **kwargs)
print(ENV_HELP)
if __name__ == '__main__':
main(defaultTest=tests, buffer=True)

View File

@@ -1,56 +0,0 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2020 Richard Purdie
#
import os
import sys
import warnings
warnings.simplefilter("default")
warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*")
import logging
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb
bb.utils.check_system_locale()
# Users shouldn't be running this code directly
if len(sys.argv) != 11 or not sys.argv[1].startswith("decafbad"):
print("bitbake-server is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
import bb.server.process
lockfd = int(sys.argv[2])
readypipeinfd = int(sys.argv[3])
logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = float(sys.argv[7])
profile = bool(int(sys.argv[8]))
xmlrpcinterface = (sys.argv[9], int(sys.argv[10]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
# Replace standard fds with our own
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
with open(logfile, 'a+') as so:
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two seperate buffers
sys.stderr = sys.stdout
logger = logging.getLogger("BitBake")
# Ensure logging messages get sent to the UI as events
handler = bb.event.LogHandler()
logger.addHandler(handler)
bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface, profile)

View File

@@ -1,593 +0,0 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import warnings
warnings.simplefilter("default")
warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
from bb import fetch2
import logging
import bb
import select
import errno
import signal
import pickle
import traceback
import queue
import shlex
import subprocess
import fcntl
from multiprocessing import Lock
from threading import Thread
# Remove when we have a minimum of python 3.10
if not hasattr(fcntl, 'F_SETPIPE_SZ'):
fcntl.F_SETPIPE_SZ = 1031
bb.utils.check_system_locale()
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
print("bitbake-worker is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
profiling = False
if sys.argv[1].startswith("decafbadbad"):
profiling = True
try:
import cProfile as profile
except:
import profile
# Unbuffer stdout to avoid log truncation in the event
# of an unorderly exit as well as to provide timely
# updates to log files for use with tail
try:
if sys.stdout.name == '<stdout>':
fl = fcntl.fcntl(sys.stdout.fileno(), fcntl.F_GETFL)
fl |= os.O_SYNC
fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, fl)
#sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
except:
pass
logger = logging.getLogger("BitBake")
worker_pipe = sys.stdout.fileno()
bb.utils.nonblockingfd(worker_pipe)
# Try to make the pipe buffers larger as it is much more efficient. If we can't
# e.g. out of buffer space (/proc/sys/fs/pipe-user-pages-soft) then just pass over.
try:
fcntl.fcntl(worker_pipe, fcntl.F_SETPIPE_SZ, 512 * 1024)
except:
pass
# Need to guard against multiprocessing being used in child processes
# and multiple processes trying to write to the parent at the same time
worker_pipe_lock = None
handler = bb.event.LogHandler()
logger.addHandler(handler)
if 0:
# Code to write out a log file of all events passing through the worker
logfilename = "/tmp/workerlogfile"
format_str = "%(levelname)s: %(message)s"
conlogformat = bb.msg.BBLogFormatter(format_str)
consolelog = logging.FileHandler(logfilename)
consolelog.setFormatter(conlogformat)
logger.addHandler(consolelog)
worker_queue = queue.Queue()
def worker_fire(event, d):
data = b"<event>" + pickle.dumps(event) + b"</event>"
worker_fire_prepickled(data)
def worker_fire_prepickled(event):
global worker_queue
worker_queue.put(event)
#
# We can end up with write contention with the cooker, it can be trying to send commands
# and we can be trying to send event data back. Therefore use a separate thread for writing
# back data to cooker.
#
worker_thread_exit = False
def worker_flush(worker_queue):
worker_queue_int = bytearray()
global worker_pipe, worker_thread_exit
while True:
try:
worker_queue_int.extend(worker_queue.get(True, 1))
except queue.Empty:
pass
while (worker_queue_int or not worker_queue.empty()):
try:
(_, ready, _) = select.select([], [worker_pipe], [], 1)
if not worker_queue.empty():
worker_queue_int.extend(worker_queue.get())
written = os.write(worker_pipe, worker_queue_int)
del worker_queue_int[0:written]
except (IOError, OSError) as e:
if e.errno != errno.EAGAIN and e.errno != errno.EPIPE:
raise
if worker_thread_exit and worker_queue.empty() and not worker_queue_int:
return
worker_thread = Thread(target=worker_flush, args=(worker_queue,))
worker_thread.start()
def worker_child_fire(event, d):
global worker_pipe
global worker_pipe_lock
data = b"<event>" + pickle.dumps(event) + b"</event>"
try:
with bb.utils.lock_timeout(worker_pipe_lock):
while(len(data)):
written = worker_pipe.write(data)
data = data[written:]
except IOError:
sigterm_handler(None, None)
raise
bb.event.worker_fire = worker_fire
lf = None
#lf = open("/tmp/workercommandlog", "w+")
def workerlog_write(msg):
if lf:
lf.write(msg)
lf.flush()
def sigterm_handler(signum, frame):
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.killpg(0, signal.SIGTERM)
sys.exit()
def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
fn = runtask['fn']
task = runtask['task']
taskname = runtask['taskname']
taskhash = runtask['taskhash']
unihash = runtask['unihash']
appends = runtask['appends']
layername = runtask['layername']
taskdepdata = runtask['taskdepdata']
quieterrors = runtask['quieterrors']
# We need to setup the environment BEFORE the fork, since
# a fork() or exec*() activates PSEUDO...
envbackup = {}
fakeroot = False
fakeenv = {}
umask = None
uid = os.getuid()
gid = os.getgid()
taskdep = runtask['taskdep']
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
elif workerdata["umask"]:
umask = workerdata["umask"]
if umask:
# umask might come in as a number or text string..
try:
umask = int(umask, 8)
except TypeError:
pass
dry_run = cfg.dry_run or runtask['dry_run']
# We can't use the fakeroot environment in a dry run as it possibly hasn't been built
if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not dry_run:
fakeroot = True
envvars = (runtask['fakerootenv'] or "").split()
for key, value in (var.split('=',1) for var in envvars):
envbackup[key] = os.environ.get(key)
os.environ[key] = value
fakeenv[key] = value
fakedirs = (runtask['fakerootdirs'] or "").split()
for p in fakedirs:
bb.utils.mkdirhier(p)
logger.debug2('Running %s:%s under fakeroot, fakedirs: %s' %
(fn, taskname, ', '.join(fakedirs)))
else:
envvars = (runtask['fakerootnoenv'] or "").split()
for key, value in (var.split('=',1) for var in envvars):
envbackup[key] = os.environ.get(key)
os.environ[key] = value
fakeenv[key] = value
sys.stdout.flush()
sys.stderr.flush()
try:
pipein, pipeout = os.pipe()
pipein = os.fdopen(pipein, 'rb', 4096)
pipeout = os.fdopen(pipeout, 'wb', 0)
pid = os.fork()
except OSError as e:
logger.critical("fork failed: %d (%s)" % (e.errno, e.strerror))
sys.exit(1)
if pid == 0:
def child():
global worker_pipe
global worker_pipe_lock
pipein.close()
bb.utils.signal_on_parent_exit("SIGTERM")
# Save out the PID so that the event can include it the
# events
bb.event.worker_pid = os.getpid()
bb.event.worker_fire = worker_child_fire
worker_pipe = pipeout
worker_pipe_lock = Lock()
# Make the child the process group leader and ensure no
# child process will be controlled by the current terminal
# This ensures signals sent to the controlling terminal like Ctrl+C
# don't stop the child processes.
os.setsid()
signal.signal(signal.SIGTERM, sigterm_handler)
# Let SIGHUP exit as SIGTERM
signal.signal(signal.SIGHUP, sigterm_handler)
# No stdin & stdout
# stdout is used as a status report channel and must not be used by child processes.
dumbio = os.open(os.devnull, os.O_RDWR)
os.dup2(dumbio, sys.stdin.fileno())
os.dup2(dumbio, sys.stdout.fileno())
if umask is not None:
os.umask(umask)
try:
(realfn, virtual, mc) = bb.cache.virtualfn2realfn(fn)
the_data = databuilder.mcdata[mc]
the_data.setVar("BB_WORKERCONTEXT", "1")
the_data.setVar("BB_TASKDEPDATA", taskdepdata)
the_data.setVar('BB_CURRENTTASK', taskname.replace("do_", ""))
if cfg.limited_deps:
the_data.setVar("BB_LIMITEDDEPS", "1")
the_data.setVar("BUILDNAME", workerdata["buildname"])
the_data.setVar("DATE", workerdata["date"])
the_data.setVar("TIME", workerdata["time"])
for varname, value in extraconfigdata.items():
the_data.setVar(varname, value)
bb.parse.siggen.set_taskdata(workerdata["sigdata"])
if "newhashes" in workerdata:
bb.parse.siggen.set_taskhashes(workerdata["newhashes"])
ret = 0
the_data = databuilder.parseRecipe(fn, appends, layername)
the_data.setVar('BB_TASKHASH', taskhash)
the_data.setVar('BB_UNIHASH', unihash)
bb.parse.siggen.setup_datacache_from_datastore(fn, the_data)
bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", "")))
if not bb.utils.to_boolean(the_data.getVarFlag(taskname, 'network')):
if bb.utils.is_local_uid(uid):
logger.debug("Attempting to disable network for %s" % taskname)
bb.utils.disable_network(uid, gid)
else:
logger.debug("Skipping disable network for %s since %s is not a local uid." % (taskname, uid))
# exported_vars() returns a generator which *cannot* be passed to os.environ.update()
# successfully. We also need to unset anything from the environment which shouldn't be there
exports = bb.data.exported_vars(the_data)
bb.utils.empty_environment()
for e, v in exports:
os.environ[e] = v
for e in fakeenv:
os.environ[e] = fakeenv[e]
the_data.setVar(e, fakeenv[e])
the_data.setVarFlag(e, 'export', "1")
task_exports = the_data.getVarFlag(taskname, 'exports')
if task_exports:
for e in task_exports.split():
the_data.setVarFlag(e, 'export', '1')
v = the_data.getVar(e)
if v is not None:
os.environ[e] = v
if quieterrors:
the_data.setVarFlag(taskname, "quieterrors", "1")
except Exception:
if not quieterrors:
logger.critical(traceback.format_exc())
os._exit(1)
sys.stdout.flush()
sys.stderr.flush()
try:
if dry_run:
return 0
try:
ret = bb.build.exec_task(fn, taskname, the_data, cfg.profile)
finally:
if fakeroot:
fakerootcmd = shlex.split(the_data.getVar("FAKEROOTCMD"))
subprocess.run(fakerootcmd + ['-S'], check=True, stdout=subprocess.PIPE)
return ret
except:
os._exit(1)
if not profiling:
os._exit(child())
else:
profname = "profile-%s.log" % (fn.replace("/", "-") + "-" + taskname)
prof = profile.Profile()
try:
ret = profile.Profile.runcall(prof, child)
finally:
prof.dump_stats(profname)
bb.utils.process_profilelog(profname)
os._exit(ret)
else:
for key, value in iter(envbackup.items()):
if value is None:
del os.environ[key]
else:
os.environ[key] = value
return pid, pipein, pipeout
class runQueueWorkerPipe():
"""
Abstraction for a pipe between a worker thread and the worker server
"""
def __init__(self, pipein, pipeout):
self.input = pipein
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
def read(self):
start = len(self.queue)
try:
self.queue.extend(self.input.read(512*1024) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise
end = len(self.queue)
index = self.queue.find(b"</event>")
while index != -1:
msg = self.queue[:index+8]
assert msg.startswith(b"<event>") and msg.count(b"<event>") == 1
worker_fire_prepickled(msg)
self.queue = self.queue[index+8:]
index = self.queue.find(b"</event>")
return (end > start)
def close(self):
while self.read():
continue
if len(self.queue) > 0:
print("Warning, worker child left partial message: %s" % self.queue)
self.input.close()
normalexit = False
class BitbakeWorker(object):
def __init__(self, din):
self.input = din
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
self.cookercfg = None
self.databuilder = None
self.data = None
self.extraconfigdata = None
self.build_pids = {}
self.build_pipes = {}
signal.signal(signal.SIGTERM, self.sigterm_exception)
# Let SIGHUP exit as SIGTERM
signal.signal(signal.SIGHUP, self.sigterm_exception)
if "beef" in sys.argv[1]:
bb.utils.set_process_name("Worker (Fakeroot)")
else:
bb.utils.set_process_name("Worker")
def sigterm_exception(self, signum, stackframe):
if signum == signal.SIGTERM:
bb.warn("Worker received SIGTERM, shutting down...")
elif signum == signal.SIGHUP:
bb.warn("Worker received SIGHUP, shutting down...")
self.handle_finishnow(None)
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.kill(os.getpid(), signal.SIGTERM)
def serve(self):
while True:
(ready, _, _) = select.select([self.input] + [i.input for i in self.build_pipes.values()], [] , [], 1)
if self.input in ready:
try:
r = self.input.read()
if len(r) == 0:
# EOF on pipe, server must have terminated
self.sigterm_exception(signal.SIGTERM, None)
self.queue.extend(r)
except (OSError, IOError):
pass
if len(self.queue):
self.handle_item(b"cookerconfig", self.handle_cookercfg)
self.handle_item(b"extraconfigdata", self.handle_extraconfigdata)
self.handle_item(b"workerdata", self.handle_workerdata)
self.handle_item(b"newtaskhashes", self.handle_newtaskhashes)
self.handle_item(b"runtask", self.handle_runtask)
self.handle_item(b"finishnow", self.handle_finishnow)
self.handle_item(b"ping", self.handle_ping)
self.handle_item(b"quit", self.handle_quit)
for pipe in self.build_pipes:
if self.build_pipes[pipe].input in ready:
self.build_pipes[pipe].read()
if len(self.build_pids):
while self.process_waitpid():
continue
def handle_item(self, item, func):
opening_tag = b"<" + item + b">"
if not self.queue.startswith(opening_tag):
return
tag_len = len(opening_tag)
if len(self.queue) < tag_len + 4:
# we need to receive more data
return
header = self.queue[tag_len:tag_len + 4]
payload_len = int.from_bytes(header, 'big')
# closing tag has length (tag_len + 1)
if len(self.queue) < tag_len * 2 + 1 + payload_len:
# we need to receive more data
return
index = self.queue.find(b"</" + item + b">")
if index != -1:
try:
func(self.queue[(tag_len + 4):index])
except pickle.UnpicklingError:
workerlog_write("Unable to unpickle data: %s\n" % ":".join("{:02x}".format(c) for c in self.queue))
raise
self.queue = self.queue[(index + len(b"</") + len(item) + len(b">")):]
def handle_cookercfg(self, data):
self.cookercfg = pickle.loads(data)
self.databuilder = bb.cookerdata.CookerDataBuilder(self.cookercfg, worker=True)
self.databuilder.parseBaseConfiguration(worker=True)
self.data = self.databuilder.data
def handle_extraconfigdata(self, data):
self.extraconfigdata = pickle.loads(data)
def handle_workerdata(self, data):
self.workerdata = pickle.loads(data)
bb.build.verboseShellLogging = self.workerdata["build_verbose_shell"]
bb.build.verboseStdoutLogging = self.workerdata["build_verbose_stdout"]
bb.msg.loggerDefaultLogLevel = self.workerdata["logdefaultlevel"]
bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"]
for mc in self.databuilder.mcdata:
self.databuilder.mcdata[mc].setVar("PRSERV_HOST", self.workerdata["prhost"])
self.databuilder.mcdata[mc].setVar("BB_HASHSERVE", self.workerdata["hashservaddr"])
self.databuilder.mcdata[mc].setVar("__bbclasstype", "recipe")
def handle_newtaskhashes(self, data):
self.workerdata["newhashes"] = pickle.loads(data)
def handle_ping(self, _):
workerlog_write("Handling ping\n")
logger.warning("Pong from bitbake-worker!")
def handle_quit(self, data):
workerlog_write("Handling quit\n")
global normalexit
normalexit = True
sys.exit(0)
def handle_runtask(self, data):
runtask = pickle.loads(data)
fn = runtask['fn']
task = runtask['task']
taskname = runtask['taskname']
workerlog_write("Handling runtask %s %s %s\n" % (task, fn, taskname))
pid, pipein, pipeout = fork_off_task(self.cookercfg, self.data, self.databuilder, self.workerdata, self.extraconfigdata, runtask)
self.build_pids[pid] = task
self.build_pipes[pid] = runQueueWorkerPipe(pipein, pipeout)
def process_waitpid(self):
"""
Return none is there are no processes awaiting result collection, otherwise
collect the process exit codes and close the information pipe.
"""
try:
pid, status = os.waitpid(-1, os.WNOHANG)
if pid == 0 or os.WIFSTOPPED(status):
return False
except OSError:
return False
workerlog_write("Exit code of %s for pid %s\n" % (status, pid))
if os.WIFEXITED(status):
status = os.WEXITSTATUS(status)
elif os.WIFSIGNALED(status):
# Per shell conventions for $?, when a process exits due to
# a signal, we return an exit code of 128 + SIGNUM
status = 128 + os.WTERMSIG(status)
task = self.build_pids[pid]
del self.build_pids[pid]
self.build_pipes[pid].close()
del self.build_pipes[pid]
worker_fire_prepickled(b"<exitcode>" + pickle.dumps((task, status)) + b"</exitcode>")
return True
def handle_finishnow(self, _):
if self.build_pids:
logger.info("Sending SIGTERM to remaining %s tasks", len(self.build_pids))
for k, v in iter(self.build_pids.items()):
try:
os.kill(-k, signal.SIGTERM)
os.waitpid(-1, 0)
except:
pass
for pipe in self.build_pipes:
self.build_pipes[pipe].read()
try:
worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb'))
if not profiling:
worker.serve()
else:
profname = "profile-worker.log"
prof = profile.Profile()
try:
profile.Profile.runcall(prof, worker.serve)
finally:
prof.dump_stats(profname)
bb.utils.process_profilelog(profname)
except BaseException as e:
if not normalexit:
import traceback
sys.stderr.write(traceback.format_exc())
sys.stderr.write(str(e))
finally:
worker_thread_exit = True
worker_thread.join()
workerlog_write("exiting")
if not normalexit:
sys.exit(1)
sys.exit(0)

View File

@@ -1,175 +0,0 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""git-make-shallow: make the current git repository shallow
Remove the history of the specified revisions, then optionally filter the
available refs to those specified.
"""
import argparse
import collections
import errno
import itertools
import os
import subprocess
import sys
import warnings
warnings.simplefilter("default")
version = 1.0
git_cmd = ['git', '-c', 'safe.bareRepository=all']
def main():
if sys.version_info < (3, 4, 0):
sys.exit('Python 3.4 or greater is required')
git_dir = check_output(git_cmd + ['rev-parse', '--git-dir']).rstrip()
shallow_file = os.path.join(git_dir, 'shallow')
if os.path.exists(shallow_file):
try:
check_output(git_cmd + ['fetch', '--unshallow'])
except subprocess.CalledProcessError:
try:
os.unlink(shallow_file)
except OSError as exc:
if exc.errno != errno.ENOENT:
raise
args = process_args()
revs = check_output(git_cmd + ['rev-list'] + args.revisions).splitlines()
make_shallow(shallow_file, args.revisions, args.refs)
ref_revs = check_output(git_cmd + ['rev-list'] + args.refs).splitlines()
remaining_history = set(revs) & set(ref_revs)
for rev in remaining_history:
if check_output(git_cmd + ['rev-parse', '{}^@'.format(rev)]):
sys.exit('Error: %s was not made shallow' % rev)
filter_refs(args.refs)
if args.shrink:
shrink_repo(git_dir)
subprocess.check_call(git_cmd + ['fsck', '--unreachable'])
def process_args():
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
parser.add_argument('revisions', metavar='REVISION', nargs='+', help='a git revision/commit')
if len(sys.argv) < 2:
parser.print_help()
sys.exit(2)
args = parser.parse_args()
if args.refs:
args.refs = check_output(git_cmd + ['rev-parse', '--symbolic-full-name'] + args.refs).splitlines()
else:
args.refs = get_all_refs(lambda r, t, tt: t == 'commit' or tt == 'commit')
args.refs = list(filter(lambda r: not r.endswith('/HEAD'), args.refs))
args.revisions = check_output(git_cmd + ['rev-parse'] + ['%s^{}' % i for i in args.revisions]).splitlines()
return args
def check_output(cmd, input=None):
return subprocess.check_output(cmd, universal_newlines=True, input=input)
def make_shallow(shallow_file, revisions, refs):
"""Remove the history of the specified revisions."""
for rev in follow_history_intersections(revisions, refs):
print("Processing %s" % rev)
with open(shallow_file, 'a') as f:
f.write(rev + '\n')
def get_all_refs(ref_filter=None):
"""Return all the existing refs in this repository, optionally filtering the refs."""
ref_output = check_output(git_cmd + ['for-each-ref', '--format=%(refname)\t%(objecttype)\t%(*objecttype)'])
ref_split = [tuple(iter_extend(l.rsplit('\t'), 3)) for l in ref_output.splitlines()]
if ref_filter:
ref_split = (e for e in ref_split if ref_filter(*e))
refs = [r[0] for r in ref_split]
return refs
def iter_extend(iterable, length, obj=None):
"""Ensure that iterable is the specified length by extending with obj."""
return itertools.islice(itertools.chain(iterable, itertools.repeat(obj)), length)
def filter_refs(refs):
"""Remove all but the specified refs from the git repository."""
all_refs = get_all_refs()
to_remove = set(all_refs) - set(refs)
if to_remove:
check_output(git_cmd + ['update-ref', '--no-deref', '--stdin', '-z'],
input=''.join('delete ' + l + '\0\0' for l in to_remove))
def follow_history_intersections(revisions, refs):
"""Determine all the points where the history of the specified revisions intersects the specified refs."""
queue = collections.deque(revisions)
seen = set()
for rev in iter_except(queue.popleft, IndexError):
if rev in seen:
continue
parents = check_output(git_cmd + ['rev-parse', '%s^@' % rev]).splitlines()
yield rev
seen.add(rev)
if not parents:
continue
check_refs = check_output(git_cmd + ['merge-base', '--independent'] + sorted(refs)).splitlines()
for parent in parents:
for ref in check_refs:
print("Checking %s vs %s" % (parent, ref))
try:
merge_base = check_output(git_cmd + ['merge-base', parent, ref]).rstrip()
except subprocess.CalledProcessError:
continue
else:
queue.append(merge_base)
def iter_except(func, exception, start=None):
"""Yield a function repeatedly until it raises an exception."""
try:
if start is not None:
yield start()
while True:
yield func()
except exception:
pass
def shrink_repo(git_dir):
"""Shrink the newly shallow repository, removing the unreachable objects."""
subprocess.check_call(git_cmd + ['reflog', 'expire', '--expire-unreachable=now', '--all'])
subprocess.check_call(git_cmd + ['repack', '-ad'])
try:
os.unlink(os.path.join(git_dir, 'objects', 'info', 'alternates'))
except OSError as exc:
if exc.errno != errno.ENOENT:
raise
subprocess.check_call(git_cmd + ['prune', '--expire', 'now'])
if __name__ == '__main__':
main()

View File

@@ -1,332 +0,0 @@
#!/bin/echo ERROR: This script needs to be sourced. Please run as .
# toaster - shell script to start Toaster
# Copyright (C) 2013-2015 Intel Corp.
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
HELP="
Usage 1: source toaster start|stop [webport=<address:port>] [noweb] [nobuild] [toasterdir]
Optional arguments:
[nobuild] Setup the environment for capturing builds with toaster but disable managed builds
[noweb] Setup the environment for capturing builds with toaster but don't start the web server
[webport] Set the development server (default: localhost:8000)
[toasterdir] Set absolute path to be used as TOASTER_DIR (default: BUILDDIR/../)
Usage 2: source toaster manage [createsuperuser|lsupdates|migrate|makemigrations|checksettings|collectstatic|...]
"
custom_extention()
{
custom_extension=$BBBASEDIR/lib/toaster/orm/fixtures/custom_toaster_append.sh
if [ -f $custom_extension ] ; then
$custom_extension $*
fi
}
databaseCheck()
{
retval=0
# you can always add a superuser later via
# ../bitbake/lib/toaster/manage.py createsuperuser --username=<ME>
$MANAGE migrate --noinput || retval=1
if [ $retval -eq 1 ]; then
echo "Failed migrations, halting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
export TEMPLATECONF
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; exiting\n"
return $retval
fi
return $retval
}
webserverKillAll()
{
local pidfile
if [ -f ${BUILDDIR}/.toastermain.pid ] ; then
custom_extention web_stop_postpend
else
custom_extention noweb_stop_postpend
fi
for pidfile in ${BUILDDIR}/.toastermain.pid ${BUILDDIR}/.runbuilds.pid; do
if [ -f ${pidfile} ]; then
pid=`cat ${pidfile}`
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM $pid 2>/dev/null
sleep 1
done
rm ${pidfile}
fi
done
}
webserverStartAll()
{
# do not start if toastermain points to a valid process
if ! cat "${BUILDDIR}/.toastermain.pid" 2>/dev/null | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
fi
retval=0
# check the database
databaseCheck || return 1
echo "Starting webserver..."
$MANAGE runserver --noreload "$ADDR_PORT" \
</dev/null >>${TOASTER_LOGS_DIR}/web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid
sleep 1
if ! cat "${BUILDDIR}/.toastermain.pid" | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
custom_extention web_start_postpend $ADDR_PORT
fi
return $retval
}
INSTOPSYSTEM=0
# define the stop command
stop_system()
{
# prevent reentry
if [ $INSTOPSYSTEM -eq 1 ]; then return; fi
INSTOPSYSTEM=1
webserverKillAll
# unset exported variables
unset TOASTER_DIR
unset BITBAKE_UI
unset BBBASEDIR
trap - SIGHUP
#trap - SIGCHLD
INSTOPSYSTEM=0
}
verify_prereq() {
# Verify Django version
reqfile=$(python3 -c "import os; print(os.path.realpath('$BBBASEDIR/toaster-requirements.txt'))")
exp='s/Django\([><=]\+\)\([^,]\+\),\([><=]\+\)\(.\+\)/'
# expand version parts to 2 digits to support 1.10.x > 1.8
# (note:helper functions hard to insert in-line)
exp=$exp'import sys,django;'
exp=$exp'version=["%02d" % int(n) for n in django.get_version().split(".")];'
exp=$exp'vmin=["%02d" % int(n) for n in "\2".split(".")];'
exp=$exp'vmax=["%02d" % int(n) for n in "\4".split(".")];'
exp=$exp'sys.exit(not (version \1 vmin and version \3 vmax))'
exp=$exp'/p'
if ! sed -n "$exp" $reqfile | python3 - ; then
req=`grep ^Django $reqfile`
echo "This program needs $req"
echo "Please install with pip3 install -r $reqfile"
return 2
fi
return 0
}
# read command line parameters
if [ -n "$BASH_SOURCE" ] ; then
TOASTER=${BASH_SOURCE}
elif [ -n "$ZSH_NAME" ] ; then
TOASTER=${(%):-%x}
else
TOASTER=$0
fi
export BBBASEDIR=`dirname $TOASTER`/..
MANAGE="python3 $BBBASEDIR/lib/toaster/manage.py"
if [ -z "$OE_ROOT" ]; then
OE_ROOT=`dirname $TOASTER`/../..
fi
# this is the configuraton file we are using for toaster
# we are using the same logic that oe-setup-builddir uses
# (based on TEMPLATECONF and .templateconf) to determine
# which toasterconf.json to use.
# note: There are a number of relative path assumptions
# in the local layers that currently make using an arbitrary
# toasterconf.json difficult.
. $OE_ROOT/.templateconf
if [ -n "$TEMPLATECONF" ]; then
if [ ! -d "$TEMPLATECONF" ]; then
# Allow TEMPLATECONF=meta-xyz/conf as a shortcut
if [ -d "$OE_ROOT/$TEMPLATECONF" ]; then
TEMPLATECONF="$OE_ROOT/$TEMPLATECONF"
fi
fi
fi
unset OE_ROOT
WEBSERVER=1
export TOASTER_BUILDSERVER=1
ADDR_PORT="localhost:8000"
TOASTERDIR=`dirname $BUILDDIR`
# ${BUILDDIR}/toaster_logs/ became the default location for toaster logs
# This is needed for implemented django-log-viewer: https://pypi.org/project/django-log-viewer/
# If the directory does not exist, create it.
TOASTER_LOGS_DIR="${BUILDDIR}/toaster_logs/"
if [ ! -d $TOASTER_LOGS_DIR ]
then
mkdir $TOASTER_LOGS_DIR
fi
unset CMD
for param in $*; do
case $param in
noweb )
WEBSERVER=0
;;
nobuild )
TOASTER_BUILDSERVER=0
;;
start )
CMD=$param
;;
stop )
CMD=$param
;;
webport=*)
ADDR_PORT="${param#*=}"
# Split the addr:port string
ADDR=`echo $ADDR_PORT | cut -f 1 -d ':'`
PORT=`echo $ADDR_PORT | cut -f 2 -d ':'`
# If only a port has been speified then set address to localhost.
if [ $ADDR = $PORT ] ; then
ADDR_PORT="localhost:$PORT"
fi
;;
toasterdir=*)
TOASTERDIR="${param#*=}"
;;
manage )
CMD=$param
manage_cmd=""
;;
--help)
echo "$HELP"
return 0
;;
*)
if [ "manage" == "$CMD" ] ; then
manage_cmd="$manage_cmd $param"
else
echo "$HELP"
exit 1
fi
;;
esac
done
if [ `basename \"$0\"` = `basename \"${TOASTER}\"` ]; then
echo "Error: This script needs to be sourced. Please run as . $TOASTER"
return 1
fi
verify_prereq || return 1
# We make sure we're running in the current shell and in a good environment
if [ -z "$BUILDDIR" ] || ! which bitbake >/dev/null 2>&1 ; then
echo "Error: Build environment is not setup or bitbake is not in path." 1>&2
return 2
fi
# this defines the dir toaster will use for
# 1) clones of layers (in _toaster_clones )
# 2) the build dir (in build)
# 3) the sqlite db if that is being used.
# 4) pid's we need to clean up on exit/shutdown
export TOASTER_DIR=$TOASTERDIR
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS TOASTER_DIR"
# Determine the action. If specified by arguments, fine, if not, toggle it
if [ "$CMD" = "start" ] ; then
if [ -n "$BBSERVER" ]; then
echo " Toaster is already running. Exiting..."
return 1
fi
elif [ "$CMD" = "" ]; then
echo "No command specified"
echo "$HELP"
return 1
fi
echo "The system will $CMD."
# Execute the commands
custom_extention toaster_prepend $CMD $ADDR_PORT
case $CMD in
start )
# check if addr:port is not in use
if [ "$CMD" == 'start' ]; then
if [ $WEBSERVER -gt 0 ]; then
$MANAGE checksocket "$ADDR_PORT" || return 1
fi
fi
# Create configuration file
conf=${BUILDDIR}/conf/local.conf
line='INHERIT+="toaster buildhistory"'
grep -q "$line" $conf || echo $line >> $conf
if [ $WEBSERVER -eq 0 ] ; then
# Do not update the database for "noweb" unless
# it does not yet exist
if [ ! -f "$TOASTER_DIR/toaster.sqlite" ] ; then
if ! databaseCheck; then
echo "Failed ${CMD}."
return 4
fi
fi
custom_extention noweb_start_postpend $ADDR_PORT
fi
if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
echo "Failed ${CMD}."
return 4
fi
export BITBAKE_UI='toasterui'
if [ $TOASTER_BUILDSERVER -eq 1 ] ; then
$MANAGE runbuilds \
</dev/null >>${TOASTER_LOGS_DIR}/toaster_runbuilds.log 2>&1 \
& echo $! >${BUILDDIR}/.runbuilds.pid
else
echo "Toaster build server not started."
fi
# set fail safe stop system on terminal exit
trap stop_system SIGHUP
echo "Successful ${CMD}."
custom_extention toaster_postpend $CMD $ADDR_PORT
return 0
;;
stop )
stop_system
echo "Successful ${CMD}."
;;
manage )
cd $BBBASEDIR/lib/toaster
$MANAGE $manage_cmd
;;
esac
custom_extention toaster_postpend $CMD $ADDR_PORT

View File

@@ -1,59 +0,0 @@
#!/usr/bin/env python3
#
# Copyright (C) 2014 Alex Damian
#
# SPDX-License-Identifier: GPL-2.0-only
#
# This file re-uses code spread throughout other Bitbake source files.
# As such, all other copyrights belong to their own right holders.
#
"""
This command takes a filename as a single parameter. The filename is read
as a build eventlog, and the ToasterUI is used to process events in the file
and log data in the database
"""
import os
import sys
import json
import pickle
import codecs
import warnings
warnings.simplefilter("default")
from collections import namedtuple
# mangle syspath to allow easy import of modules
from os.path import join, dirname, abspath
sys.path.insert(0, join(dirname(dirname(abspath(__file__))), 'lib'))
import bb.cooker
from bb.ui import toasterui
from bb.ui import eventreplay
def main(argv):
with open(argv[-1]) as eventfile:
# load variables from the first line
variables = None
while line := eventfile.readline().strip():
try:
variables = json.loads(line)['allvariables']
break
except (KeyError, json.JSONDecodeError):
continue
if not variables:
sys.exit("Cannot find allvariables entry in event log file %s" % argv[-1])
eventfile.seek(0)
params = namedtuple('ConfigParams', ['observe_only'])(True)
player = eventreplay.EventPlayer(eventfile, variables)
return toasterui.main(player, player, params)
# run toaster ui on our mock bitbake class
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: %s <event file>" % os.path.basename(sys.argv[0]))
sys.exit(1)
sys.exit(main(sys.argv))

View File

@@ -1 +0,0 @@
This directory is for additional contributed files which may be useful.

View File

@@ -1,13 +0,0 @@
{
"version": 1,
"loggers": {
"BitBake.SigGen.HashEquiv": {
"level": "VERBOSE",
"handlers": ["BitBake.verbconsole"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
"handlers": ["BitBake.verbconsole"]
}
}
}

View File

@@ -1,40 +0,0 @@
#!/usr/bin/env python3
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# This script is to be called by b4:
# - through b4.send-auto-cc-cmd with "send-auto-cc-cmd" as first argument,
#
# When send-auto-cc-cmd is passed:
#
# This returns the list of Cc recipients for a patch.
#
# This script takes as stdin a patch.
import subprocess
import sys
cmd = sys.argv[1]
if cmd != "send-auto-cc-cmd":
sys.exit(-1)
patch = sys.stdin.read()
if subprocess.call(["which", "lsdiff"], stdout=subprocess.DEVNULL) != 0:
print("lsdiff missing from host, please install patchutils")
sys.exit(-1)
files = subprocess.check_output(["lsdiff", "--strip-match=1", "--strip=1", "--include=doc/*"],
input=patch, text=True)
if len(files):
print("docs@lists.yoctoproject.org")
else:
# Handle patches made with --no-prefix
files = subprocess.check_output(["lsdiff", "--include=doc/*"],
input=patch, text=True)
if len(files):
print("docs@lists.yoctoproject.org")
sys.exit(0)

View File

@@ -1,31 +0,0 @@
# This is a shell function to be sourced into your shell or placed in your .profile,
# which makes setting things up for BitBake a bit easier.
#
# The author disclaims copyright to the contents of this file and places it in the
# public domain.
bbdev () {
local BBDIR PKGDIR BUILDDIR
if test x"$1" = "x--help"; then echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"; return 1; fi
if test x"$1" = x; then BBDIR=`pwd`; else BBDIR=$1; fi
if test x"$2" = x; then PKGDIR=`pwd`; else PKGDIR=$2; fi
if test x"$3" = x; then BUILDDIR=`pwd`; else BUILDDIR=$3; fi
BBDIR=`readlink -f $BBDIR`
PKGDIR=`readlink -f $PKGDIR`
BUILDDIR=`readlink -f $BUILDDIR`
if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"
return 1
fi
PATH=$BBDIR/bin:$PATH
BBPATH=$BBDIR
if test x"$BBDIR" != x"$PKGDIR"; then
BBPATH=$PKGDIR:$BBPATH
fi
if test x"$PKGDIR" != x"$BUILDDIR"; then
BBPATH=$BUILDDIR:$BBPATH
fi
export BBPATH
}

View File

@@ -1,89 +0,0 @@
#! /usr/bin/env python3
#
# Copyright (C) 2020 Joshua Watt <JPEWhacker@gmail.com>
#
# SPDX-License-Identifier: MIT
import argparse
import os
import random
import shutil
import signal
import subprocess
import sys
import time
def try_unlink(path):
try:
os.unlink(path)
except:
pass
def main():
def cleanup():
shutil.rmtree("tmp/cache", ignore_errors=True)
try_unlink("bitbake-cookerdaemon.log")
try_unlink("bitbake.sock")
try_unlink("bitbake.lock")
parser = argparse.ArgumentParser(
description="Bitbake parser torture test",
epilog="""
A torture test for bitbake's parser. Repeatedly interrupts parsing until
bitbake decides to deadlock.
""",
)
args = parser.parse_args()
if not "BUILDDIR" in os.environ:
print(
"'BUILDDIR' not found in the environment. Did you initialize the build environment?"
)
return 1
os.chdir(os.environ["BUILDDIR"])
run_num = 0
while True:
if run_num % 100 == 0:
print("Calibrating wait time...")
cleanup()
start_time = time.monotonic()
r = subprocess.run(["bitbake", "-p"])
max_wait_time = time.monotonic() - start_time
if r.returncode != 0:
print("Calibration run exited with %d" % r.returncode)
return 1
print("Maximum wait time is %f seconds" % max_wait_time)
run_num += 1
wait_time = random.random() * max_wait_time
print("Run #%d" % run_num)
print("Will sleep for %f seconds" % wait_time)
cleanup()
with subprocess.Popen(["bitbake", "-p"]) as proc:
time.sleep(wait_time)
proc.send_signal(signal.SIGINT)
try:
proc.wait(45)
except subprocess.TimeoutExpired:
print("Run #%d: Waited too long. Possible deadlock!" % run_num)
proc.wait()
return 1
if proc.returncode == 0:
print("Exited successfully. Timeout too long?")
else:
print("Exited with %d" % proc.returncode)
if __name__ == "__main__":
sys.exit(main())

View File

@@ -1,83 +0,0 @@
#!/usr/bin/env python3
#
# Copyright (C) 2012, 2018 Wind River Systems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Used for dumping the bb_cache.dat
#
import os
import sys
import argparse
# For importing bb.cache
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), '../lib'))
from bb.cache import CoreRecipeInfo
import pickle
class DumpCache(object):
def __init__(self):
parser = argparse.ArgumentParser(
description="bb_cache.dat's dumper",
epilog="Use %(prog)s --help to get help")
parser.add_argument("-r", "--recipe",
help="specify the recipe, default: all recipes", action="store")
parser.add_argument("-m", "--members",
help = "specify the member, use comma as separator for multiple ones, default: all members", action="store", default="")
parser.add_argument("-s", "--skip",
help = "skip skipped recipes", action="store_true")
parser.add_argument("cachefile",
help = "specify bb_cache.dat", nargs = 1, action="store", default="")
self.args = parser.parse_args()
def main(self):
with open(self.args.cachefile[0], "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
while True:
try:
key = pickled.load()
val = pickled.load()
except Exception:
break
if isinstance(val, CoreRecipeInfo):
pn = val.pn
if self.args.recipe and self.args.recipe != pn:
continue
if self.args.skip and val.skipped:
continue
if self.args.members:
out = key
for member in self.args.members.split(','):
out += ": %s" % val.__dict__.get(member)
print("%s" % out)
else:
print("%s: %s" % (key, val.__dict__))
elif not self.args.recipe:
print("%s %s" % (key, val))
if __name__ == "__main__":
try:
dump = DumpCache()
ret = dump.main()
except Exception as esc:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -1,23 +0,0 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com>
#
# Dockerfile to build a bitbake hash equivalence server container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/hashserv/Dockerfile .
#
FROM alpine:3.13.1
RUN apk add --no-cache python3 libgcc
COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
COPY lib/bb /opt/bbhashserv/lib/bb/
COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py
COPY lib/ply /opt/bbhashserv/lib/ply/
COPY lib/bs4 /opt/bbhashserv/lib/bs4/
ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]

View File

@@ -1,62 +0,0 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2022 Daniel Gomez <daniel@qtec.com>
#
# Dockerfile to build a bitbake PR service container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/prserv/Dockerfile . -t prserv
#
# Running examples:
#
# 1. PR Service in RW mode, port 18585:
#
# docker run --detach --tty \
# --env PORT=18585 \
# --publish 18585:18585 \
# --volume $PWD:/var/lib/bbprserv \
# prserv
#
# 2. PR Service in RO mode, default port (8585) and custom LOGFILE:
#
# docker run --detach --tty \
# --env DBMODE="--read-only" \
# --env LOGFILE=/var/lib/bbprserv/prservro.log \
# --publish 8585:8585 \
# --volume $PWD:/var/lib/bbprserv \
# prserv
#
FROM alpine:3.14.4
RUN apk add --no-cache python3
COPY bin/bitbake-prserv /opt/bbprserv/bin/
COPY lib/prserv /opt/bbprserv/lib/prserv/
COPY lib/bb /opt/bbprserv/lib/bb/
COPY lib/codegen.py /opt/bbprserv/lib/codegen.py
COPY lib/ply /opt/bbprserv/lib/ply/
COPY lib/bs4 /opt/bbprserv/lib/bs4/
ENV PATH=$PATH:/opt/bbprserv/bin
RUN mkdir -p /var/lib/bbprserv
ENV DBFILE=/var/lib/bbprserv/prserv.sqlite3 \
LOGFILE=/var/lib/bbprserv/prserv.log \
LOGLEVEL=debug \
HOST=0.0.0.0 \
PORT=8585 \
DBMODE=""
ENTRYPOINT [ "/bin/sh", "-c", \
"bitbake-prserv \
--file=$DBFILE \
--log=$LOGFILE \
--loglevel=$LOGLEVEL \
--start \
--host=$HOST \
--port=$PORT \
$DBMODE \
&& tail -f $LOGFILE"]

View File

@@ -1,18 +0,0 @@
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,32 +0,0 @@
" Vim filetype detection file
" Language: BitBake
" Author: Ricardo Salveti <rsalveti@rsalveti.net>
" Copyright: Copyright (C) 2008 Ricardo Salveti <rsalveti@rsalveti.net>
" Licence: You may redistribute this under the same terms as Vim itself
"
" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc
if &compatible || version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
" .bb, .bbappend and .bbclass
au BufNewFile,BufRead *.{bb,bbappend,bbclass} setfiletype bitbake
" .inc -- meanwhile included upstream
if !has("patch-9.0.0055")
au BufNewFile,BufRead *.inc call s:BBIncDetect()
def s:BBIncDetect()
l:lines = getline(1) .. getline(2) .. getline(3)
if l:lines =~# '\<\%(require\|inherit\)\>' || lines =~# '[A-Z][A-Za-z0-9_:${}]*\s\+\%(??\|[?:+]\)\?= '
set filetype bitbake
endif
enddef
endif
" .conf
au BufNewFile,BufRead *.conf
\ if (match(expand("%:p:h"), "conf") > 0) |
\ set filetype=bitbake |
\ endif

View File

@@ -1,13 +0,0 @@
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
finish
endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl cms< sts< sw< et< sua<"
setlocal commentstring=#\ %s
setlocal softtabstop=4 shiftwidth=4 expandtab
setlocal suffixesadd+=.bb,.bbclass

View File

@@ -1,343 +0,0 @@
" Vim indent file
" Language: BitBake
" Copyright: Copyright (C) 2019 Agilent Technologies, Inc.
" Maintainer: Chris Laplante <chris.laplante@agilent.com>
" License: You may redistribute this under the same terms as Vim itself
if exists("b:did_indent")
finish
endif
if exists("*BitbakeIndent")
finish
endif
runtime! indent/sh.vim
unlet b:did_indent
setlocal indentexpr=BitbakeIndent(v:lnum)
setlocal autoindent nolisp
function s:is_bb_python_func_def(lnum)
let stack = synstack(a:lnum, 1)
if len(stack) == 0
return 0
endif
let top = synIDattr(stack[0], "name")
echo top
return synIDattr(stack[0], "name") == "bbPyFuncDef"
endfunction
"""" begin modified from indent/python.vim, upstream commit 7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
"""" This copied code is licensed the same as Vim itself.
setlocal indentkeys+=<:>,=elif,=except
let s:keepcpo= &cpo
set cpo&vim
let s:maxoff = 50 " maximum number of lines to look backwards for ()
function! GetBBPythonIndent(lnum)
" If this line is explicitly joined: If the previous line was also joined,
" line it up with that one, otherwise add two 'shiftwidth'
if getline(a:lnum - 1) =~ '\\$'
if a:lnum > 1 && getline(a:lnum - 2) =~ '\\$'
return indent(a:lnum - 1)
endif
return indent(a:lnum - 1) + (exists("g:pyindent_continue") ? eval(g:pyindent_continue) : (shiftwidth() * 2))
endif
" If the start of the line is in a string don't change the indent.
if has('syntax_items')
\ && synIDattr(synID(a:lnum, 1, 1), "name") =~ "String$"
return -1
endif
" Search backwards for the previous non-empty line.
let plnum = prevnonblank(v:lnum - 1)
if plnum == 0
" This is the first non-empty line, use zero indent.
return 0
endif
call cursor(plnum, 1)
" Identing inside parentheses can be very slow, regardless of the searchpair()
" timeout, so let the user disable this feature if he doesn't need it
let disable_parentheses_indenting = get(g:, "pyindent_disable_parentheses_indenting", 0)
if disable_parentheses_indenting == 1
let plindent = indent(plnum)
let plnumstart = plnum
else
" searchpair() can be slow sometimes, limit the time to 150 msec or what is
" put in g:pyindent_searchpair_timeout
let searchpair_stopline = 0
let searchpair_timeout = get(g:, 'pyindent_searchpair_timeout', 150)
" If the previous line is inside parenthesis, use the indent of the starting
" line.
" Trick: use the non-existing "dummy" variable to break out of the loop when
" going too far back.
let parlnum = searchpair('(\|{\|\[', '', ')\|}\|\]', 'nbW',
\ "line('.') < " . (plnum - s:maxoff) . " ? dummy :"
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
\ . " =~ '\\(Comment\\|Todo\\|String\\)$'",
\ searchpair_stopline, searchpair_timeout)
if parlnum > 0
" We may have found the opening brace of a BitBake Python task, e.g. 'python do_task {'
" If so, ignore it here - it will be handled later.
if s:is_bb_python_func_def(parlnum)
let parlnum = 0
let plindent = indent(plnum)
let plnumstart = plnum
else
let plindent = indent(parlnum)
let plnumstart = parlnum
endif
else
let plindent = indent(plnum)
let plnumstart = plnum
endif
" When inside parenthesis: If at the first line below the parenthesis add
" two 'shiftwidth', otherwise same as previous line.
" i = (a
" + b
" + c)
call cursor(a:lnum, 1)
let p = searchpair('(\|{\|\[', '', ')\|}\|\]', 'bW',
\ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
\ . " =~ '\\(Comment\\|Todo\\|String\\)$'",
\ searchpair_stopline, searchpair_timeout)
if p > 0
if s:is_bb_python_func_def(p)
" Handle first non-empty line inside a BB Python task
if p == plnum
return shiftwidth()
endif
" Handle the user actually trying to close a BitBake Python task
let line = getline(a:lnum)
if line =~ '^\s*}'
return -2
endif
" Otherwise ignore the brace
let p = 0
else
if p == plnum
" When the start is inside parenthesis, only indent one 'shiftwidth'.
let pp = searchpair('(\|{\|\[', '', ')\|}\|\]', 'bW',
\ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
\ . " =~ '\\(Comment\\|Todo\\|String\\)$'",
\ searchpair_stopline, searchpair_timeout)
if pp > 0
return indent(plnum) + (exists("g:pyindent_nested_paren") ? eval(g:pyindent_nested_paren) : shiftwidth())
endif
return indent(plnum) + (exists("g:pyindent_open_paren") ? eval(g:pyindent_open_paren) : (shiftwidth() * 2))
endif
if plnumstart == p
return indent(plnum)
endif
return plindent
endif
endif
endif
" Get the line and remove a trailing comment.
" Use syntax highlighting attributes when possible.
let pline = getline(plnum)
let pline_len = strlen(pline)
if has('syntax_items')
" If the last character in the line is a comment, do a binary search for
" the start of the comment. synID() is slow, a linear search would take
" too long on a long line.
if synIDattr(synID(plnum, pline_len, 1), "name") =~ "\\(Comment\\|Todo\\)$"
let min = 1
let max = pline_len
while min < max
let col = (min + max) / 2
if synIDattr(synID(plnum, col, 1), "name") =~ "\\(Comment\\|Todo\\)$"
let max = col
else
let min = col + 1
endif
endwhile
let pline = strpart(pline, 0, min - 1)
endif
else
let col = 0
while col < pline_len
if pline[col] == '#'
let pline = strpart(pline, 0, col)
break
endif
let col = col + 1
endwhile
endif
" If the previous line ended with a colon, indent this line
if pline =~ ':\s*$'
return plindent + shiftwidth()
endif
" If the previous line was a stop-execution statement...
" TODO: utilize this logic to deindent when ending a bbPyDefRegion
if getline(plnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\|bb\.fatal\)\>'
" See if the user has already dedented
if indent(a:lnum) > indent(plnum) - shiftwidth()
" If not, recommend one dedent
return indent(plnum) - shiftwidth()
endif
" Otherwise, trust the user
return -1
endif
" If the current line begins with a keyword that lines up with "try"
if getline(a:lnum) =~ '^\s*\(except\|finally\)\>'
let lnum = a:lnum - 1
while lnum >= 1
if getline(lnum) =~ '^\s*\(try\|except\)\>'
let ind = indent(lnum)
if ind >= indent(a:lnum)
return -1 " indent is already less than this
endif
return ind " line up with previous try or except
endif
let lnum = lnum - 1
endwhile
return -1 " no matching "try"!
endif
" If the current line begins with a header keyword, dedent
if getline(a:lnum) =~ '^\s*\(elif\|else\)\>'
" Unless the previous line was a one-liner
if getline(plnumstart) =~ '^\s*\(for\|if\|try\)\>'
return plindent
endif
" Or the user has already dedented
if indent(a:lnum) <= plindent - shiftwidth()
return -1
endif
return plindent - shiftwidth()
endif
" When after a () construct we probably want to go back to the start line.
" a = (b
" + c)
" here
if parlnum > 0
return plindent
endif
return -1
endfunction
let &cpo = s:keepcpo
unlet s:keepcpo
""" end of stuff from indent/python.vim
let b:did_indent = 1
setlocal indentkeys+=0\"
function! BitbakeIndent(lnum)
if !has('syntax_items')
return -1
endif
let stack = synstack(a:lnum, 1)
if len(stack) == 0
return -1
endif
let name = synIDattr(stack[0], "name")
" TODO: support different styles of indentation for assignments. For now,
" we only support like this:
" VAR = " \
" value1 \
" value2 \
" "
"
" i.e. each value indented by shiftwidth(), with the final quote " completely unindented.
if name == "bbVarValue"
" Quote handling is tricky. kernel.bbclass has this line for instance:
" EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" " HOSTCPP="${BUILD_CPP}""
" Instead of trying to handle crazy cases like that, just assume that a
" double-quote on a line by itself (following an assignment) means the
" user is closing the assignment, and de-dent.
if getline(a:lnum) =~ '^\s*"$'
return 0
endif
let prevstack = synstack(a:lnum - 1, 1)
if len(prevstack) == 0
return -1
endif
let prevname = synIDattr(prevstack[0], "name")
" Only indent if there was actually a continuation character on
" the previous line, to avoid misleading indentation.
let prevlinelastchar = synIDattr(synID(a:lnum - 1, col([a:lnum - 1, "$"]) - 1, 1), "name")
let prev_continued = prevlinelastchar == "bbContinue"
" Did the previous line introduce an assignment?
if index(["bbVarDef", "bbVarFlagDef"], prevname) != -1
if prev_continued
return shiftwidth()
endif
endif
if !prev_continued
return 0
endif
" Autoindent can take it from here
return -1
endif
if index(["bbPyDefRegion", "bbPyFuncRegion"], name) != -1
let ret = GetBBPythonIndent(a:lnum)
" Should normally always be indented by at least one shiftwidth; but allow
" return of -1 (defer to autoindent) or -2 (force indent to 0)
if ret == 0
return shiftwidth()
elseif ret == -2
return 0
endif
return ret
endif
" TODO: GetShIndent doesn't detect tasks prepended with 'fakeroot'
" Need to submit a patch upstream to Vim to provide an extension point.
" Unlike the Python indenter, the Sh indenter is way too large to copy and
" modify here.
if name == "bbShFuncRegion"
return GetShIndent()
endif
" TODO:
" + heuristics for de-denting out of a bbPyDefRegion? e.g. when the user
" types an obvious BB keyword like addhandler or addtask, or starts
" writing a shell task. Maybe too hard to implement...
return -1
endfunction

View File

@@ -1,88 +0,0 @@
" Vim plugin file
" Purpose: Create a template for new bb files
" Author: Ricardo Salveti <rsalveti@gmail.com>
" Copyright: Copyright (C) 2008 Ricardo Salveti <rsalveti@gmail.com>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
" Based on the gentoo-syntax package
"
" Will try to use git to find the user name and email
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
fun! <SID>GetUserName()
let l:user_name = system("git config --get user.name")
if v:shell_error
return "Unknown User"
else
return substitute(l:user_name, "\n", "", "")
endfun
fun! <SID>GetUserEmail()
let l:user_email = system("git config --get user.email")
if v:shell_error
return "unknown@user.org"
else
return substitute(l:user_email, "\n", "", "")
endfun
fun! BBHeader()
let l:current_year = strftime("%Y")
let l:user_name = <SID>GetUserName()
let l:user_email = <SID>GetUserEmail()
0 put ='# Copyright (C) ' . l:current_year .
\ ' ' . l:user_name . ' <' . l:user_email . '>'
put ='# Released under the MIT license (see COPYING.MIT for the terms)'
$
endfun
fun! NewBBTemplate()
if line2byte(line('$') + 1) != -1
return
endif
let l:paste = &paste
set nopaste
" Get the header
call BBHeader()
" New the bb template
put ='SUMMARY = \"\"'
put ='HOMEPAGE = \"\"'
put ='LICENSE = \"\"'
put ='SECTION = \"\"'
put ='DEPENDS = \"\"'
put =''
put ='SRC_URI = \"\"'
" Go to the first place to edit
0
/^SUMMARY =/
exec "normal 2f\""
if paste == 1
set paste
endif
endfun
if !exists("g:bb_create_on_empty")
let g:bb_create_on_empty = 1
endif
" disable in case of vimdiff
if v:progname =~ "vimdiff"
let g:bb_create_on_empty = 0
endif
augroup NewBB
au BufNewFile,BufReadPost *.bb
\ if g:bb_create_on_empty |
\ call NewBBTemplate() |
\ endif
augroup END

View File

@@ -1,46 +0,0 @@
" Vim plugin file
" Purpose: Create a template for new bbappend file
" Author: Joshua Watt <JPEWhacker@gmail.com>
" Copyright: Copyright (C) 2017 Joshua Watt <JPEWhacker@gmail.com>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
fun! NewBBAppendTemplate()
if line2byte(line('$') + 1) != -1
return
endif
let l:paste = &paste
set nopaste
" New bbappend template
0 put ='FILESEXTRAPATHS:prepend := \"${THISDIR}/${PN}:\"'
2
if paste == 1
set paste
endif
endfun
if !exists("g:bb_create_on_empty")
let g:bb_create_on_empty = 1
endif
" disable in case of vimdiff
if v:progname =~ "vimdiff"
let g:bb_create_on_empty = 0
endif
augroup NewBBAppend
au BufNewFile,BufReadPost *.bbappend
\ if g:bb_create_on_empty |
\ call NewBBAppendTemplate() |
\ endif
augroup END

View File

@@ -1,131 +0,0 @@
" Vim syntax file
" Language: BitBake bb/bbclasses/inc
" Author: Chris Larson <kergoth@handhelds.org>
" Ricardo Salveti <rsalveti@rsalveti.net>
" Copyright: Copyright (C) 2004 Chris Larson <kergoth@handhelds.org>
" Copyright (C) 2008 Ricardo Salveti <rsalveti@rsalveti.net>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
" Syntax highlighting for bb, bbclasses and inc files.
"
" It's an entirely new type, just has specific syntax in shell and python code
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
if exists("b:current_syntax")
finish
endif
syn include @python syntax/python.vim
if exists("b:current_syntax")
unlet b:current_syntax
endif
" BitBake syntax
" Matching case
syn case match
" Indicates the error when nothing is matched
syn match bbUnmatched "."
" Comments
syn cluster bbCommentGroup contains=bbTodo,@Spell
syn keyword bbTodo COMBAK FIXME TODO XXX contained
syn match bbComment "#.*$" contains=@bbCommentGroup
" String helpers
syn match bbQuote +['"]+ contained
syn match bbDelimiter "[(){}=]" contained
syn match bbArrayBrackets "[\[\]]" contained
" BitBake strings
syn match bbContinue "\\$"
syn region bbString matchgroup=bbQuote start=+"+ skip=+\\$+ end=+"+ contained contains=bbTodo,bbContinue,bbVarDeref,bbVarPyValue,@Spell
syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ end=+'+ contained contains=bbTodo,bbContinue,bbVarDeref,bbVarPyValue,@Spell
" Vars definition
syn match bbExport "^export" nextgroup=bbIdentifier skipwhite
syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite
syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained
syn match bbVarDeref "${[a-zA-Z0-9\-_:\.\/\+]\+}" contained
syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)" contained nextgroup=bbVarValue
syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+][${}a-zA-Z0-9\-_:\.\/\+]*\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbOverrideOperator,bbVarDeref nextgroup=bbVarEq
syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue
syn region bbVarPyValue start=+${@+ skip=+\\$+ end=+}+ contained contains=@python
" Vars metadata flags
syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.+]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(:=\|=\|.=\|=.|+=\|=+\|?=\)\@=" contained contains=bbIdentifier nextgroup=bbVarEq
" Includes and requires
syn keyword bbInclude inherit include require contained
syn match bbIncludeRest ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue
syn match bbIncludeLine "^\(inherit\|include\|require\)\s\+" contains=bbInclude nextgroup=bbIncludeRest
" Add taks and similar
syn keyword bbStatement addtask deltask addhandler after before EXPORT_FUNCTIONS contained
syn match bbStatementRest /[^\\]*$/ skipwhite contained contains=bbStatement,bbVarDeref,bbVarPyValue
syn region bbStatementRestCont start=/.*\\$/ end=/^[^\\]*$/ contained contains=bbStatement,bbVarDeref,bbVarPyValue,bbContinue keepend
syn match bbStatementLine "^\(addtask\|deltask\|addhandler\|after\|before\|EXPORT_FUNCTIONS\)\s\+" contains=bbStatement nextgroup=bbStatementRest,bbStatementRestCont
" OE Important Functions
syn keyword bbOEFunctions do_fetch do_unpack do_patch do_configure do_compile do_stage do_install do_package contained
" Generic Functions
syn match bbFunction "\h[0-9A-Za-z_\-\.]*" display contained contains=bbOEFunctions
syn keyword bbOverrideOperator append prepend remove contained
" BitBake shell metadata
syn include @shell syntax/sh.vim
if exists("b:current_syntax")
unlet b:current_syntax
endif
syn keyword bbShFakeRootFlag fakeroot contained
syn match bbShFuncDef "^\(fakeroot\s*\)\?\([\.0-9A-Za-z_:${}\-\.]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbOverrideOperator,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
syn region bbShFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@shell
" Python value inside shell functions
syn region shDeref start=+${@+ skip=+\\$+ excludenl end=+}+ contained contains=@python
" BitBake python metadata
syn keyword bbPyFlag python contained
syn match bbPyFuncDef "^\(fakeroot\s*\)\?\(python\)\(\s\+[0-9A-Za-z_:${}\-\.]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbPyFlag,bbFunction,bbOverrideOperator,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
syn region bbPyFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@python
" BitBake 'def'd python functions
syn keyword bbPyDef def contained
syn region bbPyDefRegion start='^\(def\s\+\)\([0-9A-Za-z_-]\+\)\(\s*(.*)\s*\):\s*$' end='^\(\s\|$\)\@!' contains=@python
" Highlighting Definitions
hi def link bbUnmatched Error
hi def link bbInclude Include
hi def link bbTodo Todo
hi def link bbComment Comment
hi def link bbQuote String
hi def link bbString String
hi def link bbDelimiter Keyword
hi def link bbArrayBrackets Statement
hi def link bbContinue Special
hi def link bbExport Type
hi def link bbExportFlag Type
hi def link bbIdentifier Identifier
hi def link bbVarDeref PreProc
hi def link bbVarDef Identifier
hi def link bbVarValue String
hi def link bbShFakeRootFlag Type
hi def link bbFunction Function
hi def link bbPyFlag Type
hi def link bbPyDef Statement
hi def link bbStatement Statement
hi def link bbStatementRest Identifier
hi def link bbStatementRestCont Identifier
hi def link bbOEFunctions Special
hi def link bbVarPyValue PreProc
hi def link bbOverrideOperator Operator
let b:current_syntax = "bb"

View File

@@ -1 +0,0 @@
_build/

View File

@@ -1,339 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

View File

@@ -1,17 +0,0 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,35 +0,0 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
DESTDIR = final
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
endif
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile clean publish
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
clean:
@rm -rf $(BUILDDIR)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@@ -1,55 +0,0 @@
Documentation
=============
This is the directory that contains the BitBake documentation.
Manual Organization
===================
Folders exist for individual manuals as follows:
* bitbake-user-manual --- The BitBake User Manual
Each folder is self-contained regarding content and figures.
If you want to find HTML versions of the BitBake manuals on the web,
go to https://www.openembedded.org/wiki/Documentation.
Sphinx
======
The BitBake documentation was migrated from the original DocBook
format to Sphinx based documentation for the Yocto Project 3.2
release.
Additional information related to the Sphinx migration, and guidelines
for developers willing to contribute to the BitBake documentation can
be found in the Yocto Project Documentation README file:
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/tree/documentation/README
How to build the Yocto Project documentation
============================================
Sphinx is written in Python. While it might work with Python2, for
obvious reasons, we will only support building the BitBake
documentation with Python3.
Sphinx might be available in your Linux distro packages repositories,
however it is not recommend using distro packages, as they might be
old versions, especially if you are using an LTS version of your
distro. The recommended method to install Sphinx and all required
dependencies is to use the Python Package Index (pip).
To install all required packages run:
$ pip3 install sphinx sphinx_rtd_theme pyyaml
To build the documentation locally, run:
$ cd doc
$ make html
The resulting HTML index page will be _build/html/index.html, and you
can browse your own copy of the locally generated documentation with
your browser.

View File

@@ -1,14 +0,0 @@
{% extends "!breadcrumbs.html" %}
{% block breadcrumbs %}
<li>
<span class="doctype_switcher_placeholder">{{ doctype or 'single' }}</span>
<span class="version_switcher_placeholder">{{ release }}</span>
</li>
<li> &raquo;</li>
{% for doc in parents %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{% endfor %}
<li>{{ title }}</li>
{% endblock %}

View File

@@ -1,9 +0,0 @@
<footer>
<hr/>
<div role="contentinfo">
<p>&copy; Copyright {{ copyright }}
<br>Last updated on {{ last_updated }} from the <a href="https://git.openembedded.org/bitbake/">bitbake</a> git repository.
</p>
</div>
</footer>

View File

@@ -1,7 +0,0 @@
{% extends "!layout.html" %}
{% block extrabody %}
<div id="outdated-warning" style="text-align: center; background-color: #FFBABA; color: #6A0E0E;">
</div>
{% endblock %}

View File

@@ -1,761 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
=========
Execution
=========
|
The primary purpose for running BitBake is to produce some kind of
output such as a single installable package, a kernel, a software
development kit, or even a full, board-specific bootable Linux image,
complete with bootloader, kernel, and root filesystem. Of course, you
can execute the ``bitbake`` command with options that cause it to
execute single tasks, compile single recipe files, capture or clear
data, or simply return information about the execution environment.
This chapter describes BitBake's execution process from start to finish
when you use it to create an image. The execution process is launched
using the following command form::
$ bitbake target
For information on
the BitBake command and its options, see ":ref:`The BitBake Command
<bitbake-user-manual-command>`" section.
.. note::
Prior to executing BitBake, you should take advantage of available
parallel thread execution on your build host by setting the
:term:`BB_NUMBER_THREADS` variable in
your project's ``local.conf`` configuration file.
A common method to determine this value for your build host is to run
the following::
$ grep processor /proc/cpuinfo
This command returns
the number of processors, which takes into account hyper-threading.
Thus, a quad-core build host with hyper-threading most likely shows
eight processors, which is the value you would then assign to
:term:`BB_NUMBER_THREADS`.
A possibly simpler solution is that some Linux distributions (e.g.
Debian and Ubuntu) provide the ``ncpus`` command.
Parsing the Base Configuration Metadata
=======================================
The first thing BitBake does is parse base configuration metadata. Base
configuration metadata consists of your project's ``bblayers.conf`` file
to determine what layers BitBake needs to recognize, all necessary
``layer.conf`` files (one from each layer), and ``bitbake.conf``. The
data itself is of various types:
- **Recipes:** Details about particular pieces of software.
- **Class Data:** An abstraction of common build information (e.g. how to
build a Linux kernel).
- **Configuration Data:** Machine-specific settings, policy decisions,
and so forth. Configuration data acts as the glue to bind everything
together.
The ``layer.conf`` files are used to construct key variables such as
:term:`BBPATH` and :term:`BBFILES`.
:term:`BBPATH` is used to search for configuration and class files under the
``conf`` and ``classes`` directories, respectively. :term:`BBFILES` is used
to locate both recipe and recipe append files (``.bb`` and
``.bbappend``). If there is no ``bblayers.conf`` file, it is assumed the
user has set the :term:`BBPATH` and :term:`BBFILES` directly in the environment.
Next, the ``bitbake.conf`` file is located using the :term:`BBPATH` variable
that was just constructed. The ``bitbake.conf`` file may also include
other configuration files using the ``include`` or ``require``
directives.
Prior to parsing configuration files, BitBake looks at certain
variables, including:
- :term:`BB_ENV_PASSTHROUGH`
- :term:`BB_ENV_PASSTHROUGH_ADDITIONS`
- :term:`BB_PRESERVE_ENV`
- :term:`BB_ORIGENV`
- :term:`BITBAKE_UI`
The first four variables in this list relate to how BitBake treats shell
environment variables during task execution. By default, BitBake cleans
the environment variables and provides tight control over the shell
execution environment. However, through the use of these first four
variables, you can apply your control regarding the environment
variables allowed to be used by BitBake in the shell during execution of
tasks. See the
":ref:`bitbake-user-manual/bitbake-user-manual-metadata:Passing Information Into the Build Task Environment`"
section and the information about these variables in the variable
glossary for more information on how they work and on how to use them.
The base configuration metadata is global and therefore affects all
recipes and tasks that are executed.
BitBake first searches the current working directory for an optional
``conf/bblayers.conf`` configuration file. This file is expected to
contain a :term:`BBLAYERS` variable that is a
space-delimited list of 'layer' directories. Recall that if BitBake
cannot find a ``bblayers.conf`` file, then it is assumed the user has
set the :term:`BBPATH` and :term:`BBFILES` variables directly in the
environment.
For each directory (layer) in this list, a ``conf/layer.conf`` file is
located and parsed with the :term:`LAYERDIR` variable
being set to the directory where the layer was found. The idea is these
files automatically set up :term:`BBPATH` and other
variables correctly for a given build directory.
BitBake then expects to find the ``conf/bitbake.conf`` file somewhere in
the user-specified :term:`BBPATH`. That configuration file generally has
include directives to pull in any other metadata such as files specific
to the architecture, the machine, the local environment, and so forth.
Only variable definitions and include directives are allowed in BitBake
``.conf`` files. Some variables directly influence BitBake's behavior.
These variables might have been set from the environment depending on
the environment variables previously mentioned or set in the
configuration files. The ":ref:`bitbake-user-manual/bitbake-user-manual-ref-variables:Variables Glossary`"
chapter presents a full list of
variables.
After parsing configuration files, BitBake uses its rudimentary
inheritance mechanism, which is through class files, to inherit some
standard classes. BitBake parses a class when the inherit directive
responsible for getting that class is encountered.
The ``base.bbclass`` file is always included. Other classes that are
specified in the configuration using the
:term:`INHERIT` variable are also included. BitBake
searches for class files in a ``classes`` subdirectory under the paths
in :term:`BBPATH` in the same way as configuration files.
A good way to get an idea of the configuration files and the class files
used in your execution environment is to run the following BitBake
command::
$ bitbake -e > mybb.log
Examining the top of the ``mybb.log``
shows you the many configuration files and class files used in your
execution environment.
.. note::
You need to be aware of how BitBake parses curly braces. If a recipe
uses a closing curly brace within the function and the character has
no leading spaces, BitBake produces a parsing error. If you use a
pair of curly braces in a shell function, the closing curly brace
must not be located at the start of the line without leading spaces.
Here is an example that causes BitBake to produce a parsing error::
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" at the start of the line causes a parsing error ######
}
EOF
}
Writing the recipe this way avoids the error:
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" with a leading space at the start of the line avoids the error ######
}
EOF
}
Locating and Parsing Recipes
============================
During the configuration phase, BitBake will have set
:term:`BBFILES`. BitBake now uses it to construct a
list of recipes to parse, along with any append files (``.bbappend``) to
apply. :term:`BBFILES` is a space-separated list of available files and
supports wildcards. An example would be::
BBFILES = "/path/to/bbfiles/*.bb /path/to/appends/*.bbappend"
BitBake parses each
recipe and append file located with :term:`BBFILES` and stores the values of
various variables into the datastore.
.. note::
Append files are applied in the order they are encountered in BBFILES.
For each file, a fresh copy of the base configuration is made, then the
recipe is parsed line by line. Any inherit statements cause BitBake to
find and then parse class files (``.bbclass``) using
:term:`BBPATH` as the search path. Finally, BitBake
parses in order any append files found in :term:`BBFILES`.
One common convention is to use the recipe filename to define pieces of
metadata. For example, in ``bitbake.conf`` the recipe name and version
are used to set the variables :term:`PN` and
:term:`PV`::
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
In this example, a recipe called "something_1.2.3.bb" would set
:term:`PN` to "something" and :term:`PV` to "1.2.3".
By the time parsing is complete for a recipe, BitBake has a list of
tasks that the recipe defines and a set of data consisting of keys and
values as well as dependency information about the tasks.
BitBake does not need all of this information. It only needs a small
subset of the information to make decisions about the recipe.
Consequently, BitBake caches the values in which it is interested and
does not store the rest of the information. Experience has shown it is
faster to re-parse the metadata than to try and write it out to the disk
and then reload it.
Where possible, subsequent BitBake commands reuse this cache of recipe
information. The validity of this cache is determined by first computing
a checksum of the base configuration data (see
:term:`BB_HASHCONFIG_IGNORE_VARS`) and
then checking if the checksum matches. If that checksum matches what is
in the cache and the recipe and class files have not changed, BitBake is
able to use the cache. BitBake then reloads the cached information about
the recipe instead of reparsing it from scratch.
Recipe file collections exist to allow the user to have multiple
repositories of ``.bb`` files that contain the same exact package. For
example, one could easily use them to make one's own local copy of an
upstream repository, but with custom modifications that one does not
want upstream. Here is an example::
BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
BBFILE_COLLECTIONS = "upstream local"
BBFILE_PATTERN_upstream = "^/stuff/openembedded/"
BBFILE_PATTERN_local = "^/stuff/openembedded.modified/"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_local = "10"
.. note::
The layers mechanism is now the preferred method of collecting code.
While the collections code remains, its main use is to set layer
priorities and to deal with overlap (conflicts) between layers.
.. _bb-bitbake-providers:
Providers
=========
Assuming BitBake has been instructed to execute a target and that all
the recipe files have been parsed, BitBake starts to figure out how to
build the target. BitBake looks through the :term:`PROVIDES` list for each
of the recipes. A :term:`PROVIDES` list is the list of names by which the
recipe can be known. Each recipe's :term:`PROVIDES` list is created
implicitly through the recipe's :term:`PN` variable and
explicitly through the recipe's :term:`PROVIDES`
variable, which is optional.
When a recipe uses :term:`PROVIDES`, that recipe's functionality can be
found under an alternative name or names other than the implicit :term:`PN`
name. As an example, suppose a recipe named ``keyboard_1.0.bb``
contained the following::
PROVIDES += "fullkeyboard"
The :term:`PROVIDES`
list for this recipe becomes "keyboard", which is implicit, and
"fullkeyboard", which is explicit. Consequently, the functionality found
in ``keyboard_1.0.bb`` can be found under two different names.
.. _bb-bitbake-preferences:
Preferences
===========
The :term:`PROVIDES` list is only part of the solution for figuring out a
target's recipes. Because targets might have multiple providers, BitBake
needs to prioritize providers by determining provider preferences.
A common example in which a target has multiple providers is
"virtual/kernel", which is on the :term:`PROVIDES` list for each kernel
recipe. Each machine often selects the best kernel provider by using a
line similar to the following in the machine configuration file::
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
The default :term:`PREFERRED_PROVIDER` is the provider
with the same name as the target. BitBake iterates through each target
it needs to build and resolves them and their dependencies using this
process.
Understanding how providers are chosen is made complicated by the fact
that multiple versions might exist for a given provider. BitBake
defaults to the highest version of a provider. Version comparisons are
made using the same method as Debian. You can use the
:term:`PREFERRED_VERSION` variable to
specify a particular version. You can influence the order by using the
:term:`DEFAULT_PREFERENCE` variable.
By default, files have a preference of "0". Setting
:term:`DEFAULT_PREFERENCE` to "-1" makes the recipe unlikely to be used
unless it is explicitly referenced. Setting :term:`DEFAULT_PREFERENCE` to
"1" makes it likely the recipe is used. :term:`PREFERRED_VERSION` overrides
any :term:`DEFAULT_PREFERENCE` setting. :term:`DEFAULT_PREFERENCE` is often used
to mark newer and more experimental recipe versions until they have
undergone sufficient testing to be considered stable.
When there are multiple "versions" of a given recipe, BitBake defaults
to selecting the most recent version, unless otherwise specified. If the
recipe in question has a
:term:`DEFAULT_PREFERENCE` set lower than
the other recipes (default is 0), then it will not be selected. This
allows the person or persons maintaining the repository of recipe files
to specify their preference for the default selected version.
Additionally, the user can specify their preferred version.
If the first recipe is named ``a_1.1.bb``, then the
:term:`PN` variable will be set to "a", and the
:term:`PV` variable will be set to 1.1.
Thus, if a recipe named ``a_1.2.bb`` exists, BitBake will choose 1.2 by
default. However, if you define the following variable in a ``.conf``
file that BitBake parses, you can change that preference::
PREFERRED_VERSION_a = "1.1"
.. note::
It is common for a recipe to provide two versions -- a stable,
numbered (and preferred) version, and a version that is automatically
checked out from a source code repository that is considered more
"bleeding edge" but can be selected only explicitly.
For example, in the OpenEmbedded codebase, there is a standard,
versioned recipe file for BusyBox, ``busybox_1.22.1.bb``, but there
is also a Git-based version, ``busybox_git.bb``, which explicitly
contains the line ::
DEFAULT_PREFERENCE = "-1"
to ensure that the
numbered, stable version is always preferred unless the developer
selects otherwise.
.. _bb-bitbake-dependencies:
Dependencies
============
Each target BitBake builds consists of multiple tasks such as ``fetch``,
``unpack``, ``patch``, ``configure``, and ``compile``. For best
performance on multi-core systems, BitBake considers each task as an
independent entity with its own set of dependencies.
Dependencies are defined through several variables. You can find
information about variables BitBake uses in the
:doc:`bitbake-user-manual-ref-variables` near the end of this manual. At a
basic level, it is sufficient to know that BitBake uses the
:term:`DEPENDS` and
:term:`RDEPENDS` variables when calculating
dependencies.
For more information on how BitBake handles dependencies, see the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:Dependencies`
section.
.. _ref-bitbake-tasklist:
The Task List
=============
Based on the generated list of providers and the dependency information,
BitBake can now calculate exactly what tasks it needs to run and in what
order it needs to run them. The
:ref:`bitbake-user-manual/bitbake-user-manual-execution:executing tasks`
section has more information on how BitBake chooses which task to
execute next.
The build now starts with BitBake forking off threads up to the limit
set in the :term:`BB_NUMBER_THREADS`
variable. BitBake continues to fork threads as long as there are tasks
ready to run, those tasks have all their dependencies met, and the
thread threshold has not been exceeded.
It is worth noting that you can greatly speed up the build time by
properly setting the :term:`BB_NUMBER_THREADS` variable.
As each task completes, a timestamp is written to the directory
specified by the :term:`STAMP` variable. On subsequent
runs, BitBake looks in the build directory within ``tmp/stamps`` and
does not rerun tasks that are already completed unless a timestamp is
found to be invalid. Currently, invalid timestamps are only considered
on a per recipe file basis. So, for example, if the configure stamp has
a timestamp greater than the compile timestamp for a given target, then
the compile task would rerun. Running the compile task again, however,
has no effect on other providers that depend on that target.
The exact format of the stamps is partly configurable. In modern
versions of BitBake, a hash is appended to the stamp so that if the
configuration changes, the stamp becomes invalid and the task is
automatically rerun. This hash, or signature used, is governed by the
signature policy that is configured (see the
:ref:`bitbake-user-manual/bitbake-user-manual-execution:checksums (signatures)`
section for information). It is also
possible to append extra metadata to the stamp using the
``[stamp-extra-info]`` task flag. For example, OpenEmbedded uses this
flag to make some tasks machine-specific.
.. note::
Some tasks are marked as "nostamp" tasks. No timestamp file is
created when these tasks are run. Consequently, "nostamp" tasks are
always rerun.
For more information on tasks, see the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:tasks` section.
Executing Tasks
===============
Tasks can be either a shell task or a Python task. For shell tasks,
BitBake writes a shell script to
``${``\ :term:`T`\ ``}/run.do_taskname.pid`` and then
executes the script. The generated shell script contains all the
exported variables, and the shell functions with all variables expanded.
Output from the shell script goes to the file
``${``\ :term:`T`\ ``}/log.do_taskname.pid``. Looking at the expanded shell functions in
the run file and the output in the log files is a useful debugging
technique.
For Python tasks, BitBake executes the task internally and logs
information to the controlling terminal. Future versions of BitBake will
write the functions to files similar to the way shell tasks are handled.
Logging will be handled in a way similar to shell tasks as well.
The order in which BitBake runs the tasks is controlled by its task
scheduler. It is possible to configure the scheduler and define custom
implementations for specific use cases. For more information, see these
variables that control the behavior:
- :term:`BB_SCHEDULER`
- :term:`BB_SCHEDULERS`
It is possible to have functions run before and after a task's main
function. This is done using the ``[prefuncs]`` and ``[postfuncs]``
flags of the task that lists the functions to run.
.. _checksums:
Checksums (Signatures)
======================
A checksum is a unique signature of a task's inputs. The signature of a
task can be used to determine if a task needs to be run. Because it is a
change in a task's inputs that triggers running the task, BitBake needs
to detect all the inputs to a given task. For shell tasks, this turns
out to be fairly easy because BitBake generates a "run" shell script for
each task and it is possible to create a checksum that gives you a good
idea of when the task's data changes.
To complicate the problem, some things should not be included in the
checksum. First, there is the actual specific build path of a given task
- the working directory. It does not matter if the working directory
changes because it should not affect the output for target packages. The
simplistic approach for excluding the working directory is to set it to
some fixed value and create the checksum for the "run" script. BitBake
goes one step better and uses the
:term:`BB_BASEHASH_IGNORE_VARS` variable
to define a list of variables that should never be included when
generating the signatures.
Another problem results from the "run" scripts containing functions that
might or might not get called. The incremental build solution contains
code that figures out dependencies between shell functions. This code is
used to prune the "run" scripts down to the minimum set, thereby
alleviating this problem and making the "run" scripts much more readable
as a bonus.
So far we have solutions for shell scripts. What about Python tasks? The
same approach applies even though these tasks are more difficult. The
process needs to figure out what variables a Python function accesses
and what functions it calls. Again, the incremental build solution
contains code that first figures out the variable and function
dependencies, and then creates a checksum for the data used as the input
to the task.
Like the working directory case, situations exist where dependencies
should be ignored. For these cases, you can instruct the build process
to ignore a dependency by using a line like the following::
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
This example ensures that the
``PACKAGE_ARCHS`` variable does not depend on the value of ``MACHINE``,
even if it does reference it.
Equally, there are cases where we need to add dependencies BitBake is
not able to find. You can accomplish this by using a line like the
following::
PACKAGE_ARCHS[vardeps] = "MACHINE"
This example explicitly
adds the ``MACHINE`` variable as a dependency for ``PACKAGE_ARCHS``.
Consider a case with in-line Python, for example, where BitBake is not
able to figure out dependencies. When running in debug mode (i.e. using
``-DDD``), BitBake produces output when it discovers something for which
it cannot figure out dependencies.
Thus far, this section has limited discussion to the direct inputs into
a task. Information based on direct inputs is referred to as the
"basehash" in the code. However, there is still the question of a task's
indirect inputs --- the things that were already built and present in the
build directory. The checksum (or signature) for a particular task needs
to add the hashes of all the tasks on which the particular task depends.
Choosing which dependencies to add is a policy decision. However, the
effect is to generate a master checksum that combines the basehash and
the hashes of the task's dependencies.
At the code level, there are a variety of ways both the basehash and the
dependent task hashes can be influenced. Within the BitBake
configuration file, we can give BitBake some extra information to help
it construct the basehash. The following statement effectively results
in a list of global variable dependency excludes --- variables never
included in any checksum. This example uses variables from OpenEmbedded
to help illustrate the concept::
BB_BASEHASH_IGNORE_VARS ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL \
USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX"
The previous example excludes the work directory, which is part of
``TMPDIR``.
The rules for deciding which hashes of dependent tasks to include
through dependency chains are more complex and are generally
accomplished with a Python function. The code in
``meta/lib/oe/sstatesig.py`` shows two examples of this and also
illustrates how you can insert your own policy into the system if so
desired. This file defines the basic signature generator
OpenEmbedded-Core uses: "OEBasicHash". By default, there
is a dummy "noop" signature handler enabled in BitBake. This means that
behavior is unchanged from previous versions. ``OE-Core`` uses the
"OEBasicHash" signature handler by default through this setting in the
``bitbake.conf`` file::
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
The main feature of the "OEBasicHash" :term:`BB_SIGNATURE_HANDLER` is that
it adds the task hash to the stamp files. Thanks to this, any metadata
change will change the task hash, automatically causing the task to be run
again. This removes the need to bump :term:`PR` values, and changes to
metadata automatically ripple across the build.
It is also worth noting that the end result of signature
generators is to make some dependency and hash information available to
the build. This information includes:
- ``BB_BASEHASH_task-``\ *taskname*: The base hashes for each task in the
recipe.
- ``BB_BASEHASH_``\ *filename:taskname*: The base hashes for each
dependent task.
- :term:`BB_TASKHASH`: The hash of the currently running task.
It is worth noting that BitBake's "-S" option lets you debug BitBake's
processing of signatures. The options passed to -S allow different
debugging modes to be used, either using BitBake's own debug functions
or possibly those defined in the metadata/signature handler itself. The
simplest parameter to pass is "none", which causes a set of signature
information to be written out into ``STAMPS_DIR`` corresponding to the
targets specified. The other currently available parameter is
"printdiff", which causes BitBake to try to establish the most recent
signature match it can (e.g. in the sstate cache) and then run
compare the matched signatures to determine the stamps and delta
where these two stamp trees diverge. This can be used to determine why
tasks need to be re-run in situations where that is not expected.
.. note::
It is likely that future versions of BitBake will provide other
signature handlers triggered through additional "-S" parameters.
You can find more information on checksum metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.
Setscene
========
The setscene process enables BitBake to handle "pre-built" artifacts.
The ability to handle and reuse these artifacts allows BitBake the
luxury of not having to build something from scratch every time.
Instead, BitBake can use, when possible, existing build artifacts.
BitBake needs to have reliable data indicating whether or not an
artifact is compatible. Signatures, described in the previous section,
provide an ideal way of representing whether an artifact is compatible.
If a signature is the same, an object can be reused.
If an object can be reused, the problem then becomes how to replace a
given task or set of tasks with the pre-built artifact. BitBake solves
the problem with the "setscene" process.
When BitBake is asked to build a given target, before building anything,
it first asks whether cached information is available for any of the
targets it's building, or any of the intermediate targets. If cached
information is available, BitBake uses this information instead of
running the main tasks.
BitBake first calls the function defined by the
:term:`BB_HASHCHECK_FUNCTION` variable
with a list of tasks and corresponding hashes it wants to build. This
function is designed to be fast and returns a list of the tasks for
which it believes in can obtain artifacts.
Next, for each of the tasks that were returned as possibilities, BitBake
executes a setscene version of the task that the possible artifact
covers. Setscene versions of a task have the string "_setscene" appended
to the task name. So, for example, the task with the name ``xxx`` has a
setscene task named ``xxx_setscene``. The setscene version of the task
executes and provides the necessary artifacts returning either success
or failure.
As previously mentioned, an artifact can cover more than one task. For
example, it is pointless to obtain a compiler if you already have the
compiled binary. To handle this, BitBake calls the
:term:`BB_SETSCENE_DEPVALID` function for
each successful setscene task to know whether or not it needs to obtain
the dependencies of that task.
You can find more information on setscene metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.
Logging
=======
In addition to the standard command line option to control how verbose
builds are when execute, bitbake also supports user defined
configuration of the `Python
logging <https://docs.python.org/3/library/logging.html>`__ facilities
through the :term:`BB_LOGCONFIG` variable. This
variable defines a JSON or YAML `logging
configuration <https://docs.python.org/3/library/logging.config.html>`__
that will be intelligently merged into the default configuration. The
logging configuration is merged using the following rules:
- The user defined configuration will completely replace the default
configuration if top level key ``bitbake_merge`` is set to the value
``False``. In this case, all other rules are ignored.
- The user configuration must have a top level ``version`` which must
match the value of the default configuration.
- Any keys defined in the ``handlers``, ``formatters``, or ``filters``,
will be merged into the same section in the default configuration,
with the user specified keys taking replacing a default one if there
is a conflict. In practice, this means that if both the default
configuration and user configuration specify a handler named
``myhandler``, the user defined one will replace the default. To
prevent the user from inadvertently replacing a default handler,
formatter, or filter, all of the default ones are named with a prefix
of "``BitBake.``"
- If a logger is defined by the user with the key ``bitbake_merge`` set
to ``False``, that logger will be completely replaced by user
configuration. In this case, no other rules will apply to that
logger.
- All user defined ``filter`` and ``handlers`` properties for a given
logger will be merged with corresponding properties from the default
logger. For example, if the user configuration adds a filter called
``myFilter`` to the ``BitBake.SigGen``, and the default configuration
adds a filter called ``BitBake.defaultFilter``, both filters will be
applied to the logger
As a first example, you can create a ``hashequiv.json`` user logging
configuration file to log all Hash Equivalence related messages of ``VERBOSE``
or higher priority to a file called ``hashequiv.log``::
{
"version": 1,
"handlers": {
"autobuilderlog": {
"class": "logging.FileHandler",
"formatter": "logfileFormatter",
"level": "DEBUG",
"filename": "hashequiv.log",
"mode": "w"
}
},
"formatters": {
"logfileFormatter": {
"format": "%(name)s: %(levelname)s: %(message)s"
}
},
"loggers": {
"BitBake.SigGen.HashEquiv": {
"level": "VERBOSE",
"handlers": ["autobuilderlog"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
"handlers": ["autobuilderlog"]
}
}
}
Then set the :term:`BB_LOGCONFIG` variable in ``conf/local.conf``::
BB_LOGCONFIG = "hashequiv.json"
Another example is this ``warn.json`` file to log all ``WARNING`` and
higher priority messages to a ``warn.log`` file::
{
"version": 1,
"formatters": {
"warnlogFormatter": {
"()": "bb.msg.BBLogFormatter",
"format": "%(levelname)s: %(message)s"
}
},
"handlers": {
"warnlog": {
"class": "logging.FileHandler",
"formatter": "warnlogFormatter",
"level": "WARNING",
"filename": "warn.log"
}
},
"loggers": {
"BitBake": {
"handlers": ["warnlog"]
}
},
"@disable_existing_loggers": false
}
Note that BitBake's helper classes for structured logging are implemented in
``lib/bb/msg.py``.

View File

@@ -1,851 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
=====================
File Download Support
=====================
|
BitBake's fetch module is a standalone piece of library code that deals
with the intricacies of downloading source code and files from remote
systems. Fetching source code is one of the cornerstones of building
software. As such, this module forms an important part of BitBake.
The current fetch module is called "fetch2" and refers to the fact that
it is the second major version of the API. The original version is
obsolete and has been removed from the codebase. Thus, in all cases,
"fetch" refers to "fetch2" in this manual.
The Download (Fetch)
====================
BitBake takes several steps when fetching source code or files. The
fetcher codebase deals with two distinct processes in order: obtaining
the files from somewhere (cached or otherwise) and then unpacking those
files into a specific location and perhaps in a specific way. Getting
and unpacking the files is often optionally followed by patching.
Patching, however, is not covered by this module.
The code to execute the first part of this process, a fetch, looks
something like the following::
src_uri = (d.getVar('SRC_URI') or "").split()
fetcher = bb.fetch2.Fetch(src_uri, d)
fetcher.download()
This code sets up an instance of the fetch class. The instance uses a
space-separated list of URLs from the :term:`SRC_URI`
variable and then calls the ``download`` method to download the files.
The instantiation of the fetch class is usually followed by::
rootdir = l.getVar('WORKDIR')
fetcher.unpack(rootdir)
This code unpacks the downloaded files to the specified by ``WORKDIR``.
.. note::
For convenience, the naming in these examples matches the variables
used by OpenEmbedded. If you want to see the above code in action,
examine the OpenEmbedded class file ``base.bbclass``
.
The :term:`SRC_URI` and ``WORKDIR`` variables are not hardcoded into the
fetcher, since those fetcher methods can be (and are) called with
different variable names. In OpenEmbedded for example, the shared state
(sstate) code uses the fetch module to fetch the sstate files.
When the ``download()`` method is called, BitBake tries to resolve the
URLs by looking for source files in a specific search order:
- *Pre-mirror Sites:* BitBake first uses pre-mirrors to try and find
source files. These locations are defined using the
:term:`PREMIRRORS` variable.
- *Source URI:* If pre-mirrors fail, BitBake uses the original URL (e.g
from :term:`SRC_URI`).
- *Mirror Sites:* If fetch failures occur, BitBake next uses mirror
locations as defined by the :term:`MIRRORS` variable.
For each URL passed to the fetcher, the fetcher calls the submodule that
handles that particular URL type. This behavior can be the source of
some confusion when you are providing URLs for the :term:`SRC_URI` variable.
Consider the following two URLs::
https://git.yoctoproject.org/git/poky;protocol=git
git://git.yoctoproject.org/git/poky;protocol=http
In the former case, the URL is passed to the ``wget`` fetcher, which does not
understand "git". Therefore, the latter case is the correct form since the Git
fetcher does know how to use HTTP as a transport.
Here are some examples that show commonly used mirror definitions::
PREMIRRORS ?= "\
bzr://.*/.\* http://somemirror.org/sources/ \
cvs://.*/.\* http://somemirror.org/sources/ \
git://.*/.\* http://somemirror.org/sources/ \
hg://.*/.\* http://somemirror.org/sources/ \
osc://.*/.\* http://somemirror.org/sources/ \
p4://.*/.\* http://somemirror.org/sources/ \
svn://.*/.\* http://somemirror.org/sources/"
MIRRORS =+ "\
ftp://.*/.\* http://somemirror.org/sources/ \
http://.*/.\* http://somemirror.org/sources/ \
https://.*/.\* http://somemirror.org/sources/"
It is useful to note that BitBake
supports cross-URLs. It is possible to mirror a Git repository on an
HTTP server as a tarball. This is what the ``git://`` mapping in the
previous example does.
Since network accesses are slow, BitBake maintains a cache of files
downloaded from the network. Any source files that are not local (i.e.
downloaded from the Internet) are placed into the download directory,
which is specified by the :term:`DL_DIR` variable.
File integrity is of key importance for reproducing builds. For
non-local archive downloads, the fetcher code can verify SHA-256 and MD5
checksums to ensure the archives have been downloaded correctly. You can
specify these checksums by using the :term:`SRC_URI` variable with the
appropriate varflags as follows::
SRC_URI[md5sum] = "value"
SRC_URI[sha256sum] = "value"
You can also specify the checksums as
parameters on the :term:`SRC_URI` as shown below::
SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07fdb994d"
If multiple URIs exist, you can specify the checksums either directly as
in the previous example, or you can name the URLs. The following syntax
shows how you name the URIs::
SRC_URI = "http://example.com/foobar.tar.bz2;name=foo"
SRC_URI[foo.md5sum] = 4a8e0f237e961fd7785d19d07fdb994d
After a file has been downloaded and
has had its checksum checked, a ".done" stamp is placed in :term:`DL_DIR`.
BitBake uses this stamp during subsequent builds to avoid downloading or
comparing a checksum for the file again.
.. note::
It is assumed that local storage is safe from data corruption. If
this were not the case, there would be bigger issues to worry about.
If :term:`BB_STRICT_CHECKSUM` is set, any
download without a checksum triggers an error message. The
:term:`BB_NO_NETWORK` variable can be used to
make any attempted network access a fatal error, which is useful for
checking that mirrors are complete as well as other things.
If :term:`BB_CHECK_SSL_CERTS` is set to ``0`` then SSL certificate checking will
be disabled. This variable defaults to ``1`` so SSL certificates are normally
checked.
.. _bb-the-unpack:
The Unpack
==========
The unpack process usually immediately follows the download. For all
URLs except Git URLs, BitBake uses the common ``unpack`` method.
A number of parameters exist that you can specify within the URL to
govern the behavior of the unpack stage:
- *unpack:* Controls whether the URL components are unpacked. If set to
"1", which is the default, the components are unpacked. If set to
"0", the unpack stage leaves the file alone. This parameter is useful
when you want an archive to be copied in and not be unpacked.
- *dos:* Applies to ``.zip`` and ``.jar`` files and specifies whether
to use DOS line ending conversion on text files.
- *striplevel:* Strip specified number of leading components (levels)
from file names on extraction
- *subdir:* Unpacks the specific URL to the specified subdirectory
within the root directory.
The unpack call automatically decompresses and extracts files with ".Z",
".z", ".gz", ".xz", ".zip", ".jar", ".ipk", ".rpm". ".srpm", ".deb" and
".bz2" extensions as well as various combinations of tarball extensions.
As mentioned, the Git fetcher has its own unpack method that is
optimized to work with Git trees. Basically, this method works by
cloning the tree into the final directory. The process is completed
using references so that there is only one central copy of the Git
metadata needed.
.. _bb-fetchers:
Fetchers
========
As mentioned earlier, the URL prefix determines which fetcher submodule
BitBake uses. Each submodule can support different URL parameters, which
are described in the following sections.
.. _local-file-fetcher:
Local file fetcher (``file://``)
--------------------------------
This submodule handles URLs that begin with ``file://``. The filename
you specify within the URL can be either an absolute or relative path to
a file. If the filename is relative, the contents of the
:term:`FILESPATH` variable is used in the same way
``PATH`` is used to find executables. If the file cannot be found, it is
assumed that it is available in :term:`DL_DIR` by the
time the ``download()`` method is called.
If you specify a directory, the entire directory is unpacked.
Here are a couple of example URLs, the first relative and the second
absolute::
SRC_URI = "file://relativefile.patch"
SRC_URI = "file:///Users/ich/very_important_software"
.. _http-ftp-fetcher:
HTTP/FTP wget fetcher (``http://``, ``ftp://``, ``https://``)
-------------------------------------------------------------
This fetcher obtains files from web and FTP servers. Internally, the
fetcher uses the wget utility.
The executable and parameters used are specified by the
``FETCHCMD_wget`` variable, which defaults to sensible values. The
fetcher supports a parameter "downloadfilename" that allows the name of
the downloaded file to be specified. Specifying the name of the
downloaded file is useful for avoiding collisions in
:term:`DL_DIR` when dealing with multiple files that
have the same name.
If a username and password are specified in the ``SRC_URI``, a Basic
Authorization header will be added to each request, including across redirects.
To instead limit the Authorization header to the first request, add
"redirectauth=0" to the list of parameters.
Some example URLs are as follows::
SRC_URI = "http://oe.handhelds.org/not_there.aac"
SRC_URI = "ftp://oe.handhelds.org/not_there_as_well.aac"
SRC_URI = "ftp://you@oe.handhelds.org/home/you/secret.plan"
.. note::
Because URL parameters are delimited by semi-colons, this can
introduce ambiguity when parsing URLs that also contain semi-colons,
for example::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47"
Such URLs should should be modified by replacing semi-colons with '&'
characters::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47"
In most cases this should work. Treating semi-colons and '&' in
queries identically is recommended by the World Wide Web Consortium
(W3C). Note that due to the nature of the URL, you may have to
specify the name of the downloaded file as well::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47;downloadfilename=myfile.bz2"
.. _cvs-fetcher:
CVS fetcher (``(cvs://``)
-------------------------
This submodule handles checking out files from the CVS version control
system. You can configure it using a number of different variables:
- :term:`FETCHCMD_cvs <FETCHCMD>`: The name of the executable to use when running
the ``cvs`` command. This name is usually "cvs".
- :term:`SRCDATE`: The date to use when fetching the CVS source code. A
special value of "now" causes the checkout to be updated on every
build.
- :term:`CVSDIR`: Specifies where a temporary
checkout is saved. The location is often ``DL_DIR/cvs``.
- CVS_PROXY_HOST: The name to use as a "proxy=" parameter to the
``cvs`` command.
- CVS_PROXY_PORT: The port number to use as a "proxyport="
parameter to the ``cvs`` command.
As well as the standard username and password URL syntax, you can also
configure the fetcher with various URL parameters:
The supported parameters are as follows:
- *"method":* The protocol over which to communicate with the CVS
server. By default, this protocol is "pserver". If "method" is set to
"ext", BitBake examines the "rsh" parameter and sets ``CVS_RSH``. You
can use "dir" for local directories.
- *"module":* Specifies the module to check out. You must supply this
parameter.
- *"tag":* Describes which CVS TAG should be used for the checkout. By
default, the TAG is empty.
- *"date":* Specifies a date. If no "date" is specified, the
:term:`SRCDATE` of the configuration is used to
checkout a specific date. The special value of "now" causes the
checkout to be updated on every build.
- *"localdir":* Used to rename the module. Effectively, you are
renaming the output directory to which the module is unpacked. You
are forcing the module into a special directory relative to
:term:`CVSDIR`.
- *"rsh":* Used in conjunction with the "method" parameter.
- *"scmdata":* Causes the CVS metadata to be maintained in the tarball
the fetcher creates when set to "keep". The tarball is expanded into
the work directory. By default, the CVS metadata is removed.
- *"fullpath":* Controls whether the resulting checkout is at the
module level, which is the default, or is at deeper paths.
- *"norecurse":* Causes the fetcher to only checkout the specified
directory with no recurse into any subdirectories.
- *"port":* The port to which the CVS server connects.
Some example URLs are as follows::
SRC_URI = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext"
SRC_URI = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat"
.. _svn-fetcher:
Subversion (SVN) Fetcher (``svn://``)
-------------------------------------
This fetcher submodule fetches code from the Subversion source control
system. The executable used is specified by ``FETCHCMD_svn``, which
defaults to "svn". The fetcher's temporary working directory is set by
:term:`SVNDIR`, which is usually ``DL_DIR/svn``.
The supported parameters are as follows:
- *"module":* The name of the svn module to checkout. You must provide
this parameter. You can think of this parameter as the top-level
directory of the repository data you want.
- *"path_spec":* A specific directory in which to checkout the
specified svn module.
- *"protocol":* The protocol to use, which defaults to "svn". If
"protocol" is set to "svn+ssh", the "ssh" parameter is also used.
- *"rev":* The revision of the source code to checkout.
- *"scmdata":* Causes the ".svn" directories to be available during
compile-time when set to "keep". By default, these directories are
removed.
- *"ssh":* An optional parameter used when "protocol" is set to
"svn+ssh". You can use this parameter to specify the ssh program used
by svn.
- *"transportuser":* When required, sets the username for the
transport. By default, this parameter is empty. The transport
username is different than the username used in the main URL, which
is passed to the subversion command.
Following are three examples using svn::
SRC_URI = "svn://myrepos/proj1;module=vip;protocol=http;rev=667"
SRC_URI = "svn://myrepos/proj1;module=opie;protocol=svn+ssh"
SRC_URI = "svn://myrepos/proj1;module=trunk;protocol=http;path_spec=${MY_DIR}/proj1"
.. _git-fetcher:
Git Fetcher (``git://``)
------------------------
This fetcher submodule fetches code from the Git source control system.
The fetcher works by creating a bare clone of the remote into
:term:`GITDIR`, which is usually ``DL_DIR/git2``. This
bare clone is then cloned into the work directory during the unpack
stage when a specific tree is checked out. This is done using alternates
and by reference to minimize the amount of duplicate data on the disk
and make the unpack process fast. The executable used can be set with
``FETCHCMD_git``.
This fetcher supports the following parameters:
- *"protocol":* The protocol used to fetch the files. The default is
"git" when a hostname is set. If a hostname is not set, the Git
protocol is "file". You can also use "http", "https", "ssh" and
"rsync".
.. note::
When ``protocol`` is "ssh", the URL expected in :term:`SRC_URI` differs
from the one that is typically passed to ``git clone`` command and provided
by the Git server to fetch from. For example, the URL returned by GitLab
server for ``mesa`` when cloning over SSH is
``git@gitlab.freedesktop.org:mesa/mesa.git``, however the expected URL in
:term:`SRC_URI` is the following::
SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
Note the ``:`` character changed for a ``/`` before the path to the project.
- *"nocheckout":* Tells the fetcher to not checkout source code when
unpacking when set to "1". Set this option for the URL where there is
a custom routine to checkout code. The default is "0".
- *"rebaseable":* Indicates that the upstream Git repository can be
rebased. You should set this parameter to "1" if revisions can become
detached from branches. In this case, the source mirror tarball is
done per revision, which has a loss of efficiency. Rebasing the
upstream Git repository could cause the current revision to disappear
from the upstream repository. This option reminds the fetcher to
preserve the local cache carefully for future use. The default value
for this parameter is "0".
- *"nobranch":* Tells the fetcher to not check the SHA validation for
the branch when set to "1". The default is "0". Set this option for
the recipe that refers to the commit that is valid for any namespace
(branch, tag, ...) instead of the branch.
- *"bareclone":* Tells the fetcher to clone a bare clone into the
destination directory without checking out a working tree. Only the
raw Git metadata is provided. This parameter implies the "nocheckout"
parameter as well.
- *"branch":* The branch(es) of the Git tree to clone. Unless
"nobranch" is set to "1", this is a mandatory parameter. The number of
branch parameters must match the number of name parameters.
- *"rev":* The revision to use for the checkout. The default is
"master".
- *"tag":* Specifies a tag to use for the checkout. To correctly
resolve tags, BitBake must access the network. For that reason, tags
are often not used. As far as Git is concerned, the "tag" parameter
behaves effectively the same as the "rev" parameter.
- *"subpath":* Limits the checkout to a specific subpath of the tree.
By default, the whole tree is checked out.
- *"destsuffix":* The name of the path in which to place the checkout.
By default, the path is ``git/``.
- *"usehead":* Enables local ``git://`` URLs to use the current branch
HEAD as the revision for use with ``AUTOREV``. The "usehead"
parameter implies no branch and only works when the transfer protocol
is ``file://``.
Here are some example URLs::
SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"
SRC_URI = "git://github.com/asciidoc/asciidoc-py;protocol=https;branch=main"
SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
.. note::
When using ``git`` as the fetcher of the main source code of your software,
``S`` should be set accordingly::
S = "${WORKDIR}/git"
.. note::
Specifying passwords directly in ``git://`` urls is not supported.
There are several reasons: :term:`SRC_URI` is often written out to logs and
other places, and that could easily leak passwords; it is also all too
easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
and ``~/.ssh/config`` files can be used as alternatives.
Using tags with the git fetcher may cause surprising behaviour. Bitbake needs to
resolve the tag to a specific revision and to do that, it has to connect to and use
the upstream repository. This is because the revision the tags point at can change and
we've seen cases of this happening in well known public repositories. This can mean
many more network connections than expected and recipes may be reparsed at every build.
Source mirrors will also be bypassed as the upstream repository is the only source
of truth to resolve the revision accurately. For these reasons, whilst the fetcher
can support tags, we recommend being specific about revisions in recipes.
.. _gitsm-fetcher:
Git Submodule Fetcher (``gitsm://``)
------------------------------------
This fetcher submodule inherits from the :ref:`Git
fetcher<bitbake-user-manual/bitbake-user-manual-fetching:git fetcher
(\`\`git://\`\`)>` and extends that fetcher's behavior by fetching a
repository's submodules. :term:`SRC_URI` is passed to the Git fetcher as
described in the :ref:`bitbake-user-manual/bitbake-user-manual-fetching:git
fetcher (\`\`git://\`\`)` section.
.. note::
You must clean a recipe when switching between '``git://``' and
'``gitsm://``' URLs.
The Git Submodules fetcher is not a complete fetcher implementation.
The fetcher has known issues where it does not use the normal source
mirroring infrastructure properly. Further, the submodule sources it
fetches are not visible to the licensing and source archiving
infrastructures.
.. _clearcase-fetcher:
ClearCase Fetcher (``ccrc://``)
-------------------------------
This fetcher submodule fetches code from a
`ClearCase <http://en.wikipedia.org/wiki/Rational_ClearCase>`__
repository.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` settings. Here is an example::
SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
SRCREV = "EXAMPLE_CLEARCASE_TAG"
PV = "${@d.getVar("SRCREV", False).replace("/", "+")}"
The fetcher uses the ``rcleartool`` or
``cleartool`` remote client, depending on which one is available.
Following are options for the :term:`SRC_URI` statement:
- *vob*: The name, which must include the prepending "/" character,
of the ClearCase VOB. This option is required.
- *module*: The module, which must include the prepending "/"
character, in the selected VOB.
.. note::
The module and vob options are combined to create the load rule in the
view config spec. As an example, consider the vob and module values from
the SRC_URI statement at the start of this section. Combining those values
results in the following::
load /example_vob/example_module
- *proto*: The protocol, which can be either ``http`` or ``https``.
By default, the fetcher creates a configuration specification. If you
want this specification written to an area other than the default, use
the ``CCASE_CUSTOM_CONFIG_SPEC`` variable in your recipe to define where
the specification is written.
.. note::
the SRCREV loses its functionality if you specify this variable. However,
SRCREV is still used to label the archive after a fetch even though it does
not define what is fetched.
Here are a couple of other behaviors worth mentioning:
- When using ``cleartool``, the login of ``cleartool`` is handled by
the system. The login require no special steps.
- In order to use ``rcleartool`` with authenticated users, an
"rcleartool login" is necessary before using the fetcher.
.. _perforce-fetcher:
Perforce Fetcher (``p4://``)
----------------------------
This fetcher submodule fetches code from the
`Perforce <https://www.perforce.com/>`__ source control system. The
executable used is specified by ``FETCHCMD_p4``, which defaults to "p4".
The fetcher's temporary working directory is set by
:term:`P4DIR`, which defaults to "DL_DIR/p4".
The fetcher does not make use of a perforce client, instead it
relies on ``p4 files`` to retrieve a list of
files and ``p4 print`` to transfer the content
of those files locally.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` values. The p4 executable is able to use the
config file defined by your system's ``P4CONFIG`` environment variable
in order to define the Perforce server URL and port, username, and
password if you do not wish to keep those values in a recipe itself. If
you choose not to use ``P4CONFIG``, or to explicitly set variables that
``P4CONFIG`` can contain, you can specify the ``P4PORT`` value, which is
the server's URL and port number, and you can specify a username and
password directly in your recipe within :term:`SRC_URI`.
Here is an example that relies on ``P4CONFIG`` to specify the server URL
and port, username, and password, and fetches the Head Revision::
SRC_URI = "p4://example-depot/main/source/..."
SRCREV = "${AUTOREV}"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
Here is an example that specifies the server URL and port, username, and
password, and fetches a Revision based on a Label::
P4PORT = "tcp:p4server.example.net:1666"
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
SRCREV = "release-1.0"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
.. note::
You should always set S to "${WORKDIR}/p4" in your recipe.
By default, the fetcher strips the depot location from the local file paths. In
the above example, the content of ``example-depot/main/source/`` will be placed
in ``${WORKDIR}/p4``. For situations where preserving parts of the remote depot
paths locally is desirable, the fetcher supports two parameters:
- *"module":*
The top-level depot location or directory to fetch. The value of this
parameter can also point to a single file within the depot, in which case
the local file path will include the module path.
- *"remotepath":*
When used with the value "``keep``", the fetcher will mirror the full depot
paths locally for the specified location, even in combination with the
``module`` parameter.
Here is an example use of the the ``module`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/..."
In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, including the directory itself. The top-level directory will
be accesible at ``${P4DIR}/source/``.
Here is an example use of the the ``remotepath`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep"
In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, but the complete depot paths will be mirrored locally. The
top-level directory will be accessible at
``${P4DIR}/example-depot/main/source/``.
.. _repo-fetcher:
Repo Fetcher (``repo://``)
--------------------------
This fetcher submodule fetches code from ``google-repo`` source control
system. The fetcher works by initiating and syncing sources of the
repository into :term:`REPODIR`, which is usually
``${DL_DIR}/repo``.
This fetcher supports the following parameters:
- *"protocol":* Protocol to fetch the repository manifest (default:
git).
- *"branch":* Branch or tag of repository to get (default: master).
- *"manifest":* Name of the manifest file (default: ``default.xml``).
Here are some example URLs::
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
.. _az-fetcher:
Az Fetcher (``az://``)
--------------------------
This submodule fetches data from an
`Azure Storage account <https://docs.microsoft.com/en-us/azure/storage/>`__ ,
it inherits its functionality from the HTTP wget fetcher, but modifies its
behavior to accomodate the usage of a
`Shared Access Signature (SAS) <https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview>`__
for non-public data.
Such functionality is set by the variable:
- :term:`AZ_SAS`: The Azure Storage Shared Access Signature provides secure
delegate access to resources, if this variable is set, the Az Fetcher will
use it when fetching artifacts from the cloud.
You can specify the AZ_SAS variable as shown below::
AZ_SAS = "se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>"
Here is an example URL::
SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<foo_container>/<bar_file>"
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
.. _gcp-fetcher:
GCP Fetcher (``gs://``)
--------------------------
This submodule fetches data from a
`Google Cloud Storage Bucket <https://cloud.google.com/storage/docs/buckets>`__.
It uses the `Google Cloud Storage Python Client <https://cloud.google.com/python/docs/reference/storage/latest>`__
to check the status of objects in the bucket and download them.
The use of the Python client makes it substantially faster than using command
line tools such as gsutil.
The fetcher requires the Google Cloud Storage Python Client to be installed, along
with the gsutil tool.
The fetcher requires that the machine has valid credentials for accessing the
chosen bucket. Instructions for authentication can be found in the
`Google Cloud documentation <https://cloud.google.com/docs/authentication/provide-credentials-adc#local-dev>`__.
If it used from the OpenEmbedded build system, the fetcher can be used for
fetching sstate artifacts from a GCS bucket by specifying the
``SSTATE_MIRRORS`` variable as shown below::
SSTATE_MIRRORS ?= "\
file://.* gs://<bucket name>/PATH \
"
The fetcher can also be used in recipes::
SRC_URI = "gs://<bucket name>/<foo_container>/<bar_file>"
However, the checksum of the file should be also be provided::
SRC_URI[sha256sum] = "<sha256 string>"
.. _crate-fetcher:
Crate Fetcher (``crate://``)
----------------------------
This submodule fetches code for
`Rust language "crates" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__
corresponding to Rust libraries and programs to compile. Such crates are typically shared
on https://crates.io/ but this fetcher supports other crate registries too.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "crate://REGISTRY/NAME/VERSION"
Here is an example URL::
SRC_URI = "crate://crates.io/glob/0.2.11"
.. _npm-fetcher:
NPM Fetcher (``npm://``)
------------------------
This submodule fetches source code from an
`NPM <https://en.wikipedia.org/wiki/Npm_(software)>`__
Javascript package registry.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "npm://some.registry.url;ParameterA=xxx;ParameterB=xxx;..."
This fetcher supports the following parameters:
- *"package":* The NPM package name. This is a mandatory parameter.
- *"version":* The NPM package version. This is a mandatory parameter.
- *"downloadfilename":* Specifies the filename used when storing the downloaded file.
- *"destsuffix":* Specifies the directory to use to unpack the package (default: ``npm``).
Note that NPM fetcher only fetches the package source itself. The dependencies
can be fetched through the `npmsw-fetcher`_.
Here is an example URL with both fetchers::
SRC_URI = " \
npm://registry.npmjs.org/;package=cute-files;version=${PV} \
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
See :yocto_docs:`Creating Node Package Manager (NPM) Packages
</dev-manual/packages.html#creating-node-package-manager-npm-packages>`
in the Yocto Project manual for details about using
:yocto_docs:`devtool <https://docs.yoctoproject.org/ref-manual/devtool-reference.html>`
to automatically create a recipe from an NPM URL.
.. _npmsw-fetcher:
NPM shrinkwrap Fetcher (``npmsw://``)
-------------------------------------
This submodule fetches source code from an
`NPM shrinkwrap <https://docs.npmjs.com/cli/v8/commands/npm-shrinkwrap>`__
description file, which lists the dependencies
of an NPM package while locking their versions.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "npmsw://some.registry.url;ParameterA=xxx;ParameterB=xxx;..."
This fetcher supports the following parameters:
- *"dev":* Set this parameter to ``1`` to install "devDependencies".
- *"destsuffix":* Specifies the directory to use to unpack the dependencies
(``${S}`` by default).
Note that the shrinkwrap file can also be provided by the recipe for
the package which has such dependencies, for example::
SRC_URI = " \
npm://registry.npmjs.org/;package=cute-files;version=${PV} \
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
Such a file can automatically be generated using
:yocto_docs:`devtool <https://docs.yoctoproject.org/ref-manual/devtool-reference.html>`
as described in the :yocto_docs:`Creating Node Package Manager (NPM) Packages
</dev-manual/packages.html#creating-node-package-manager-npm-packages>`
section of the Yocto Project.
Other Fetchers
--------------
Fetch submodules also exist for the following:
- Bazaar (``bzr://``)
- Mercurial (``hg://``)
- OSC (``osc://``)
- S3 (``s3://``)
- Secure FTP (``sftp://``)
- Secure Shell (``ssh://``)
- Trees using Git Annex (``gitannex://``)
No documentation currently exists for these lesser used fetcher
submodules. However, you might find the code helpful and readable.
Auto Revisions
==============
We need to document ``AUTOREV`` and :term:`SRCREV_FORMAT` here.

View File

@@ -1,408 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
===================
Hello World Example
===================
BitBake Hello World
===================
The simplest example commonly used to demonstrate any new programming
language or tool is the "`Hello
World <http://en.wikipedia.org/wiki/Hello_world_program>`__" example.
This appendix demonstrates, in tutorial form, Hello World within the
context of BitBake. The tutorial describes how to create a new project
and the applicable metadata files necessary to allow BitBake to build
it.
Obtaining BitBake
=================
See the :ref:`bitbake-user-manual/bitbake-user-manual-intro:obtaining bitbake` section for
information on how to obtain BitBake. Once you have the source code on
your machine, the BitBake directory appears as follows::
$ ls -al
total 108
drwxr-xr-x 9 fawkh 10000 4096 feb 24 12:10 .
drwx------ 36 fawkh 10000 4096 mar 2 17:00 ..
-rw-r--r-- 1 fawkh 10000 365 feb 24 12:10 AUTHORS
drwxr-xr-x 2 fawkh 10000 4096 feb 24 12:10 bin
-rw-r--r-- 1 fawkh 10000 16501 feb 24 12:10 ChangeLog
drwxr-xr-x 2 fawkh 10000 4096 feb 24 12:10 classes
drwxr-xr-x 2 fawkh 10000 4096 feb 24 12:10 conf
drwxr-xr-x 5 fawkh 10000 4096 feb 24 12:10 contrib
drwxr-xr-x 6 fawkh 10000 4096 feb 24 12:10 doc
drwxr-xr-x 8 fawkh 10000 4096 mar 2 16:26 .git
-rw-r--r-- 1 fawkh 10000 31 feb 24 12:10 .gitattributes
-rw-r--r-- 1 fawkh 10000 392 feb 24 12:10 .gitignore
drwxr-xr-x 13 fawkh 10000 4096 feb 24 12:11 lib
-rw-r--r-- 1 fawkh 10000 1224 feb 24 12:10 LICENSE
-rw-r--r-- 1 fawkh 10000 15394 feb 24 12:10 LICENSE.GPL-2.0-only
-rw-r--r-- 1 fawkh 10000 1286 feb 24 12:10 LICENSE.MIT
-rw-r--r-- 1 fawkh 10000 229 feb 24 12:10 MANIFEST.in
-rw-r--r-- 1 fawkh 10000 2413 feb 24 12:10 README
-rw-r--r-- 1 fawkh 10000 43 feb 24 12:10 toaster-requirements.txt
-rw-r--r-- 1 fawkh 10000 2887 feb 24 12:10 TODO
At this point, you should have BitBake cloned to a directory that
matches the previous listing except for dates and user names.
Setting Up the BitBake Environment
==================================
First, you need to be sure that you can run BitBake. Set your working
directory to where your local BitBake files are and run the following
command::
$ ./bin/bitbake --version
BitBake Build Tool Core version 2.3.1
The console output tells you what version
you are running.
The recommended method to run BitBake is from a directory of your
choice. To be able to run BitBake from any directory, you need to add
the executable binary to your binary to your shell's environment
``PATH`` variable. First, look at your current ``PATH`` variable by
entering the following::
$ echo $PATH
Next, add the directory location
for the BitBake binary to the ``PATH``. Here is an example that adds the
``/home/scott-lenovo/bitbake/bin`` directory to the front of the
``PATH`` variable::
$ export PATH=/home/scott-lenovo/bitbake/bin:$PATH
You should now be able to enter the ``bitbake`` command from the command
line while working from any directory.
The Hello World Example
=======================
The overall goal of this exercise is to build a complete "Hello World"
example utilizing task and layer concepts. Because this is how modern
projects such as OpenEmbedded and the Yocto Project utilize BitBake, the
example provides an excellent starting point for understanding BitBake.
To help you understand how to use BitBake to build targets, the example
starts with nothing but the ``bitbake`` command, which causes BitBake to
fail and report problems. The example progresses by adding pieces to the
build to eventually conclude with a working, minimal "Hello World"
example.
While every attempt is made to explain what is happening during the
example, the descriptions cannot cover everything. You can find further
information throughout this manual. Also, you can actively participate
in the :oe_lists:`/g/bitbake-devel`
discussion mailing list about the BitBake build tool.
.. note::
This example was inspired by and drew heavily from
`Mailing List post - The BitBake equivalent of "Hello, World!"
<https://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html>`_.
As stated earlier, the goal of this example is to eventually compile
"Hello World". However, it is unknown what BitBake needs and what you
have to provide in order to achieve that goal. Recall that BitBake
utilizes three types of metadata files:
:ref:`bitbake-user-manual/bitbake-user-manual-intro:configuration files`,
:ref:`bitbake-user-manual/bitbake-user-manual-intro:classes`, and
:ref:`bitbake-user-manual/bitbake-user-manual-intro:recipes`.
But where do they go? How does BitBake find
them? BitBake's error messaging helps you answer these types of
questions and helps you better understand exactly what is going on.
Following is the complete "Hello World" example.
#. **Create a Project Directory:** First, set up a directory for the
"Hello World" project. Here is how you can do so in your home
directory::
$ mkdir ~/hello
$ cd ~/hello
This is the directory that
BitBake will use to do all of its work. You can use this directory
to keep all the metafiles needed by BitBake. Having a project
directory is a good way to isolate your project.
#. **Run BitBake:** At this point, you have nothing but a project
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
ERROR: The BBPATH variable is not set and bitbake did not find a conf/bblayers.conf file in the expected location.
Maybe you accidentally invoked bitbake from the wrong directory?
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
to look for those files. :term:`BBPATH` is not set and you need to set
it. Without :term:`BBPATH`, BitBake cannot find any configuration files
(``.conf``) or recipe files (``.bb``) at all. BitBake also cannot
find the ``bitbake.conf`` file.
#. **Setting BBPATH:** For this example, you can set :term:`BBPATH` in
the same manner that you set ``PATH`` earlier in the appendix. You
should realize, though, that it is much more flexible to set the
:term:`BBPATH` variable up in a configuration file for each project.
From your shell, enter the following commands to set and export the
:term:`BBPATH` variable::
$ BBPATH="projectdirectory"
$ export BBPATH
Use your actual project directory in the command. BitBake uses that
directory to find the metadata it needs for your project.
.. note::
When specifying your project directory, do not use the tilde
("~") character as BitBake does not expand that character as the
shell would.
#. **Run BitBake:** Now that you have :term:`BBPATH` defined, run the
``bitbake`` command again::
$ bitbake
ERROR: Unable to parse /home/scott-lenovo/bitbake/lib/bb/parse/__init__.py
Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 127, in resolve_file(fn='conf/bitbake.conf', d=<bb.data_smart.DataSmart object at 0x7f22919a3df0>):
if not newfn:
> raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))
fn = newfn
FileNotFoundError: [Errno 2] file conf/bitbake.conf not found in <projectdirectory>
This sample output shows that BitBake could not find the
``conf/bitbake.conf`` file in the project directory. This file is
the first thing BitBake must find in order to build a target. And,
since the project directory for this example is empty, you need to
provide a ``conf/bitbake.conf`` file.
#. **Creating conf/bitbake.conf:** The ``conf/bitbake.conf`` includes
a number of configuration variables BitBake uses for metadata and
recipe files. For this example, you need to create the file in your
project directory and define some key BitBake variables. For more
information on the ``bitbake.conf`` file, see
https://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
Use the following commands to create the ``conf`` directory in the
project directory::
$ mkdir conf
From within the ``conf`` directory,
use some editor to create the ``bitbake.conf`` so that it contains
the following::
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
TMPDIR = "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache"
STAMP = "${TMPDIR}/${PN}/stamps"
T = "${TMPDIR}/${PN}/work"
B = "${TMPDIR}/${PN}"
.. note::
Without a value for :term:`PN`, the variables :term:`STAMP`, :term:`T`, and :term:`B`, prevent more
than one recipe from working. You can fix this by either setting :term:`PN` to
have a value similar to what OpenEmbedded and BitBake use in the default
``bitbake.conf`` file (see previous example). Or, by manually updating each
recipe to set :term:`PN`. You will also need to include :term:`PN` as part of the :term:`STAMP`,
:term:`T`, and :term:`B` variable definitions in the ``local.conf`` file.
The ``TMPDIR`` variable establishes a directory that BitBake uses
for build output and intermediate files other than the cached
information used by the
:ref:`bitbake-user-manual/bitbake-user-manual-execution:setscene`
process. Here, the ``TMPDIR`` directory is set to ``hello/tmp``.
.. tip::
You can always safely delete the tmp directory in order to rebuild a
BitBake target. The build process creates the directory for you when you
run BitBake.
For information about each of the other variables defined in this
example, check :term:`PN`, :term:`TOPDIR`, :term:`CACHE`, :term:`STAMP`,
:term:`T` or :term:`B` to take you to the definitions in the
glossary.
#. **Run BitBake:** After making sure that the ``conf/bitbake.conf`` file
exists, you can run the ``bitbake`` command again::
$ bitbake
ERROR: Unable to parse /home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py
Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 67, in inherit(files=['base'], fn='configuration INHERITs', lineno=0, d=<bb.data_smart.DataSmart object at 0x7fab6815edf0>):
if not os.path.exists(file):
> raise ParseError("Could not inherit file %s" % (file), fn, lineno)
bb.parse.ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
In the sample output,
BitBake could not find the ``classes/base.bbclass`` file. You need
to create that file next.
#. **Creating classes/base.bbclass:** BitBake uses class files to
provide common code and functionality. The minimally required class
for BitBake is the ``classes/base.bbclass`` file. The ``base`` class
is implicitly inherited by every recipe. BitBake looks for the class
in the ``classes`` directory of the project (i.e ``hello/classes``
in this example).
Create the ``classes`` directory as follows::
$ cd $HOME/hello
$ mkdir classes
Move to the ``classes`` directory and then create the
``base.bbclass`` file by inserting this single line::
addtask build
The minimal task that BitBake runs is the ``do_build`` task. This is
all the example needs in order to build the project. Of course, the
``base.bbclass`` can have much more depending on which build
environments BitBake is supporting.
#. **Run BitBake:** After making sure that the ``classes/base.bbclass``
file exists, you can run the ``bitbake`` command again::
$ bitbake
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
BitBake is finally reporting
no errors. However, you can see that it really does not have
anything to do. You need to create a recipe that gives BitBake
something to do.
#. **Creating a Layer:** While it is not really necessary for such a
small example, it is good practice to create a layer in which to
keep your code separate from the general metadata used by BitBake.
Thus, this example creates and uses a layer called "mylayer".
.. note::
You can find additional information on layers in the
":ref:`bitbake-user-manual/bitbake-user-manual-intro:Layers`" section.
Minimally, you need a recipe file and a layer configuration file in
your layer. The configuration file needs to be in the ``conf``
directory inside the layer. Use these commands to set up the layer
and the ``conf`` directory::
$ cd $HOME
$ mkdir mylayer
$ cd mylayer
$ mkdir conf
Move to the ``conf`` directory and create a ``layer.conf`` file that has the
following::
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/*.bb"
BBFILE_COLLECTIONS += "mylayer"
BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
LAYERSERIES_CORENAMES = "hello_world_example"
LAYERSERIES_COMPAT_mylayer = "hello_world_example"
For information on these variables, click on :term:`BBFILES`,
:term:`LAYERDIR`, :term:`BBFILE_COLLECTIONS`, :term:`BBFILE_PATTERN_mylayer <BBFILE_PATTERN>`
or :term:`LAYERSERIES_COMPAT` to go to the definitions in the glossary.
.. note::
We are setting both ``LAYERSERIES_CORENAMES`` and :term:`LAYERSERIES_COMPAT` in this particular case, because we
are using bitbake without OpenEmbedded.
You should usually just use :term:`LAYERSERIES_COMPAT` to specify the OE-Core versions for which your layer
is compatible, and add the meta-openembedded layer to your project.
You need to create the recipe file next. Inside your layer at the
top-level, use an editor and create a recipe file named
``printhello.bb`` that has the following::
DESCRIPTION = "Prints Hello World"
PN = 'printhello'
PV = '1'
python do_build() {
bb.plain("********************");
bb.plain("* *");
bb.plain("* Hello, World! *");
bb.plain("* *");
bb.plain("********************");
}
The recipe file simply provides
a description of the recipe, the name, version, and the ``do_build``
task, which prints out "Hello World" to the console. For more
information on :term:`DESCRIPTION`, :term:`PN` or :term:`PV`
follow the links to the glossary.
#. **Run BitBake With a Target:** Now that a BitBake target exists, run
the command and provide that target::
$ cd $HOME/hello
$ bitbake printhello
ERROR: no recipe files to build, check your BBPATH and BBFILES?
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
We have created the layer with the recipe and
the layer configuration file but it still seems that BitBake cannot
find the recipe. BitBake needs a ``conf/bblayers.conf`` that lists
the layers for the project. Without this file, BitBake cannot find
the recipe.
#. **Creating conf/bblayers.conf:** BitBake uses the
``conf/bblayers.conf`` file to locate layers needed for the project.
This file must reside in the ``conf`` directory of the project (i.e.
``hello/conf`` for this example).
Set your working directory to the ``hello/conf`` directory and then
create the ``bblayers.conf`` file so that it contains the following::
BBLAYERS ?= " \
/home/<you>/mylayer \
"
You need to provide your own information for ``you`` in the file.
#. **Run BitBake With a Target:** Now that you have supplied the
``bblayers.conf`` file, run the ``bitbake`` command and provide the
target::
$ bitbake printhello
Loading cache: 100% |
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |##################################################################################|
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###############################################################################|
NOTE: No setscene tasks
NOTE: Executing Tasks
********************
* *
* Hello, World! *
* *
********************
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
.. note::
After the first execution, re-running bitbake printhello again will not
result in a BitBake run that prints the same console output. The reason
for this is that the first time the printhello.bb recipe's do_build task
executes successfully, BitBake writes a stamp file for the task. Thus,
the next time you attempt to run the task using that same bitbake
command, BitBake notices the stamp and therefore determines that the task
does not need to be re-run. If you delete the tmp directory or run
bitbake -c clean printhello and then re-run the build, the "Hello,
World!" message will be printed again.

View File

@@ -1,679 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
========
Overview
========
|
Welcome to the BitBake User Manual. This manual provides information on
the BitBake tool. The information attempts to be as independent as
possible regarding systems that use BitBake, such as OpenEmbedded and
the Yocto Project. In some cases, scenarios or examples within the
context of a build system are used in the manual to help with
understanding. For these cases, the manual clearly states the context.
.. _intro:
Introduction
============
Fundamentally, BitBake is a generic task execution engine that allows
shell and Python tasks to be run efficiently and in parallel while
working within complex inter-task dependency constraints. One of
BitBake's main users, OpenEmbedded, takes this core and builds embedded
Linux software stacks using a task-oriented approach.
Conceptually, BitBake is similar to GNU Make in some regards but has
significant differences:
- BitBake executes tasks according to the provided metadata that builds up
the tasks. Metadata is stored in recipe (``.bb``) and related recipe
"append" (``.bbappend``) files, configuration (``.conf``) and
underlying include (``.inc``) files, and in class (``.bbclass``)
files. The metadata provides BitBake with instructions on what tasks
to run and the dependencies between those tasks.
- BitBake includes a fetcher library for obtaining source code from
various places such as local files, source control systems, or
websites.
- The instructions for each unit to be built (e.g. a piece of software)
are known as "recipe" files and contain all the information about the
unit (dependencies, source file locations, checksums, description and
so on).
- BitBake includes a client/server abstraction and can be used from a
command line or used as a service over XML-RPC and has several
different user interfaces.
History and Goals
=================
BitBake was originally a part of the OpenEmbedded project. It was
inspired by the Portage package management system used by the Gentoo
Linux distribution. On December 7, 2004, OpenEmbedded project team
member Chris Larson split the project into two distinct pieces:
- BitBake, a generic task executor
- OpenEmbedded, a metadata set utilized by BitBake
Today, BitBake is the primary basis of the
`OpenEmbedded <https://www.openembedded.org/>`__ project, which is being
used to build and maintain Linux distributions such as the `Poky
Reference Distribution <https://www.yoctoproject.org/software-item/poky/>`__,
developed under the umbrella of the `Yocto Project <https://www.yoctoproject.org>`__.
Prior to BitBake, no other build tool adequately met the needs of an
aspiring embedded Linux distribution. All of the build systems used by
traditional desktop Linux distributions lacked important functionality,
and none of the ad hoc Buildroot-based systems, prevalent in the
embedded space, were scalable or maintainable.
Some important original goals for BitBake were:
- Handle cross-compilation.
- Handle inter-package dependencies (build time on target architecture,
build time on native architecture, and runtime).
- Support running any number of tasks within a given package,
including, but not limited to, fetching upstream sources, unpacking
them, patching them, configuring them, and so forth.
- Be Linux distribution agnostic for both build and target systems.
- Be architecture agnostic.
- Support multiple build and target operating systems (e.g. Cygwin, the
BSDs, and so forth).
- Be self-contained, rather than tightly integrated into the build
machine's root filesystem.
- Handle conditional metadata on the target architecture, operating
system, distribution, and machine.
- Be easy to use the tools to supply local metadata and packages
against which to operate.
- Be easy to use BitBake to collaborate between multiple projects for
their builds.
- Provide an inheritance mechanism to share common metadata between
many packages.
Over time it became apparent that some further requirements were
necessary:
- Handle variants of a base recipe (e.g. native, sdk, and multilib).
- Split metadata into layers and allow layers to enhance or override
other layers.
- Allow representation of a given set of input variables to a task as a
checksum. Based on that checksum, allow acceleration of builds with
prebuilt components.
BitBake satisfies all the original requirements and many more with
extensions being made to the basic functionality to reflect the
additional requirements. Flexibility and power have always been the
priorities. BitBake is highly extensible and supports embedded Python
code and execution of any arbitrary tasks.
.. _Concepts:
Concepts
========
BitBake is a program written in the Python language. At the highest
level, BitBake interprets metadata, decides what tasks are required to
run, and executes those tasks. Similar to GNU Make, BitBake controls how
software is built. GNU Make achieves its control through "makefiles",
while BitBake uses "recipes".
BitBake extends the capabilities of a simple tool like GNU Make by
allowing for the definition of much more complex tasks, such as
assembling entire embedded Linux distributions.
The remainder of this section introduces several concepts that should be
understood in order to better leverage the power of BitBake.
Recipes
-------
BitBake Recipes, which are denoted by the file extension ``.bb``, are
the most basic metadata files. These recipe files provide BitBake with
the following:
- Descriptive information about the package (author, homepage, license,
and so on)
- The version of the recipe
- Existing dependencies (both build and runtime dependencies)
- Where the source code resides and how to fetch it
- Whether the source code requires any patches, where to find them, and
how to apply them
- How to configure and compile the source code
- How to assemble the generated artifacts into one or more installable
packages
- Where on the target machine to install the package or packages
created
Within the context of BitBake, or any project utilizing BitBake as its
build system, files with the ``.bb`` extension are referred to as
recipes.
.. note::
The term "package" is also commonly used to describe recipes.
However, since the same word is used to describe packaged output from
a project, it is best to maintain a single descriptive term -
"recipes". Put another way, a single "recipe" file is quite capable
of generating a number of related but separately installable
"packages". In fact, that ability is fairly common.
Configuration Files
-------------------
Configuration files, which are denoted by the ``.conf`` extension,
define various configuration variables that govern the project's build
process. These files fall into several areas that define machine
configuration, distribution configuration, possible compiler tuning,
general common configuration, and user configuration. The main
configuration file is the sample ``bitbake.conf`` file, which is located
within the BitBake source tree ``conf`` directory.
Classes
-------
Class files, which are denoted by the ``.bbclass`` extension, contain
information that is useful to share between metadata files. The BitBake
source tree currently comes with one class metadata file called
``base.bbclass``. You can find this file in the ``classes`` directory.
The ``base.bbclass`` class files is special since it is always included
automatically for all recipes and classes. This class contains
definitions for standard basic tasks such as fetching, unpacking,
configuring (empty by default), compiling (runs any Makefile present),
installing (empty by default) and packaging (empty by default). These
tasks are often overridden or extended by other classes added during the
project development process.
Layers
------
Layers allow you to isolate different types of customizations from each
other. While you might find it tempting to keep everything in one layer
when working on a single project, the more modular your metadata, the
easier it is to cope with future changes.
To illustrate how you can use layers to keep things modular, consider
customizations you might make to support a specific target machine.
These types of customizations typically reside in a special layer,
rather than a general layer, called a Board Support Package (BSP) layer.
Furthermore, the machine customizations should be isolated from recipes
and metadata that support a new GUI environment, for example. This
situation gives you a couple of layers: one for the machine
configurations and one for the GUI environment. It is important to
understand, however, that the BSP layer can still make machine-specific
additions to recipes within the GUI environment layer without polluting
the GUI layer itself with those machine-specific changes. You can
accomplish this through a recipe that is a BitBake append
(``.bbappend``) file.
.. _append-bbappend-files:
Append Files
------------
Append files, which are files that have the ``.bbappend`` file
extension, extend or override information in an existing recipe file.
BitBake expects every append file to have a corresponding recipe file.
Furthermore, the append file and corresponding recipe file must use the
same root filename. The filenames can differ only in the file type
suffix used (e.g. ``formfactor_0.0.bb`` and
``formfactor_0.0.bbappend``).
Information in append files extends or overrides the information in the
underlying, similarly-named recipe files.
When you name an append file, you can use the "``%``" wildcard character
to allow for matching recipe names. For example, suppose you have an
append file named as follows::
busybox_1.21.%.bbappend
That append file
would match any ``busybox_1.21.``\ x\ ``.bb`` version of the recipe. So,
the append file would match the following recipe names::
busybox_1.21.1.bb
busybox_1.21.2.bb
busybox_1.21.3.bb
.. note::
The use of the " % " character is limited in that it only works directly in
front of the .bbappend portion of the append file's name. You cannot use the
wildcard character in any other location of the name.
If the ``busybox`` recipe was updated to ``busybox_1.3.0.bb``, the
append name would not match. However, if you named the append file
``busybox_1.%.bbappend``, then you would have a match.
In the most general case, you could name the append file something as
simple as ``busybox_%.bbappend`` to be entirely version independent.
Obtaining BitBake
=================
You can obtain BitBake several different ways:
- **Cloning BitBake:** Using Git to clone the BitBake source code
repository is the recommended method for obtaining BitBake. Cloning
the repository makes it easy to get bug fixes and have access to
stable branches and the master branch. Once you have cloned BitBake,
you should use the latest stable branch for development since the
master branch is for BitBake development and might contain less
stable changes.
You usually need a version of BitBake that matches the metadata you
are using. The metadata is generally backwards compatible but not
forward compatible.
Here is an example that clones the BitBake repository::
$ git clone git://git.openembedded.org/bitbake
This command clones the BitBake
Git repository into a directory called ``bitbake``. Alternatively,
you can designate a directory after the ``git clone`` command if you
want to call the new directory something other than ``bitbake``. Here
is an example that names the directory ``bbdev``::
$ git clone git://git.openembedded.org/bitbake bbdev
- **Installation using your Distribution Package Management System:**
This method is not recommended because the BitBake version that is
provided by your distribution, in most cases, is several releases
behind a snapshot of the BitBake repository.
- **Taking a snapshot of BitBake:** Downloading a snapshot of BitBake
from the source code repository gives you access to a known branch or
release of BitBake.
.. note::
Cloning the Git repository, as described earlier, is the preferred
method for getting BitBake. Cloning the repository makes it easier
to update as patches are added to the stable branches.
The following example downloads a snapshot of BitBake version 1.17.0::
$ wget https://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ tar zxpvf bitbake-1.17.0.tar.gz
After extraction of the tarball using
the tar utility, you have a directory entitled ``bitbake-1.17.0``.
- **Using the BitBake that Comes With Your Build Checkout:** A final
possibility for getting a copy of BitBake is that it already comes
with your checkout of a larger BitBake-based build system, such as
Poky. Rather than manually checking out individual layers and gluing
them together yourself, you can check out an entire build system. The
checkout will already include a version of BitBake that has been
thoroughly tested for compatibility with the other components. For
information on how to check out a particular BitBake-based build
system, consult that build system's supporting documentation.
.. _bitbake-user-manual-command:
The BitBake Command
===================
The ``bitbake`` command is the primary interface to the BitBake tool.
This section presents the BitBake command syntax and provides several
execution examples.
Usage and syntax
----------------
Following is the usage and syntax for BitBake::
$ bitbake -h
usage: bitbake [-s] [-e] [-g] [-u UI] [--version] [-h] [-f] [-c CMD]
[-C INVALIDATE_STAMP] [--runall RUNALL] [--runonly RUNONLY]
[--no-setscene] [--skip-setscene] [--setscene-only] [-n] [-p]
[-k] [-P] [-S SIGNATURE_HANDLER] [--revisions-changed]
[-b BUILDFILE] [-D] [-l DEBUG_DOMAINS] [-v] [-q]
[-w WRITEEVENTLOG] [-B BIND] [-T SERVER_TIMEOUT]
[--remote-server REMOTE_SERVER] [-m] [--token XMLRPCTOKEN]
[--observe-only] [--status-only] [--server-only] [-r PREFILE]
[-R POSTFILE] [-I EXTRA_ASSUME_PROVIDED]
[recipename/target ...]
It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH
which will provide the layer, BBFILES and other configuration information.
General options:
recipename/target Execute the specified task (default is 'build') for
these target recipes (.bb files).
-s, --show-versions Show current and preferred versions of all recipes.
-e, --environment Show the global or per-recipe environment complete
with information about where variables were
set/changed.
-g, --graphviz Save dependency tree information for the specified
targets in the dot syntax.
-u UI, --ui UI The user interface to use (knotty, ncurses, taskexp,
taskexp_ncurses or teamcity - default knotty).
--version Show programs version and exit.
-h, --help Show this help message and exit.
Task control options:
-f, --force Force the specified targets/task to run (invalidating
any existing stamp file).
-c CMD, --cmd CMD Specify the task to execute. The exact options
available depend on the metadata. Some examples might
be 'compile' or 'populate_sysroot' or 'listtasks' may
give a list of the tasks available.
-C INVALIDATE_STAMP, --clear-stamp INVALIDATE_STAMP
Invalidate the stamp for the specified task such as
'compile' and then run the default task for the
specified target(s).
--runall RUNALL Run the specified task for any recipe in the taskgraph
of the specified target (even if it wouldn't otherwise
have run).
--runonly RUNONLY Run only the specified task within the taskgraph of
the specified targets (and any task dependencies those
tasks may have).
--no-setscene Do not run any setscene tasks. sstate will be ignored
and everything needed, built.
--skip-setscene Skip setscene tasks if they would be executed. Tasks
previously restored from sstate will be kept, unlike
--no-setscene.
--setscene-only Only run setscene tasks, don't run any real tasks.
Execution control options:
-n, --dry-run Don't execute, just go through the motions.
-p, --parse-only Quit after parsing the BB recipes.
-k, --continue Continue as much as possible after an error. While the
target that failed and anything depending on it cannot
be built, as much as possible will be built before
stopping.
-P, --profile Profile the command and save reports.
-S SIGNATURE_HANDLER, --dump-signatures SIGNATURE_HANDLER
Dump out the signature construction information, with
no task execution. The SIGNATURE_HANDLER parameter is
passed to the handler. Two common values are none and
printdiff but the handler may define more/less. none
means only dump the signature, printdiff means
recursively compare the dumped signature with the most
recent one in a local build or sstate cache (can be
used to find out why tasks re-run when that is not
expected)
--revisions-changed Set the exit code depending on whether upstream
floating revisions have changed or not.
-b BUILDFILE, --buildfile BUILDFILE
Execute tasks from a specific .bb recipe directly.
WARNING: Does not handle any dependencies from other
recipes.
Logging/output control options:
-D, --debug Increase the debug level. You can specify this more
than once. -D sets the debug level to 1, where only
bb.debug(1, ...) messages are printed to stdout; -DD
sets the debug level to 2, where both bb.debug(1, ...)
and bb.debug(2, ...) messages are printed; etc.
Without -D, no debug messages are printed. Note that
-D only affects output to stdout. All debug messages
are written to ${T}/log.do_taskname, regardless of the
debug level.
-l DEBUG_DOMAINS, --log-domains DEBUG_DOMAINS
Show debug logging for the specified logging domains.
-v, --verbose Enable tracing of shell tasks (with 'set -x'). Also
print bb.note(...) messages to stdout (in addition to
writing them to ${T}/log.do_<task>).
-q, --quiet Output less log message data to the terminal. You can
specify this more than once.
-w WRITEEVENTLOG, --write-log WRITEEVENTLOG
Writes the event log of the build to a bitbake event
json file. Use '' (empty string) to assign the name
automatically.
Server options:
-B BIND, --bind BIND The name/address for the bitbake xmlrpc server to bind
to.
-T SERVER_TIMEOUT, --idle-timeout SERVER_TIMEOUT
Set timeout to unload bitbake server due to
inactivity, set to -1 means no unload, default:
Environment variable BB_SERVER_TIMEOUT.
--remote-server REMOTE_SERVER
Connect to the specified server.
-m, --kill-server Terminate any running bitbake server.
--token XMLRPCTOKEN Specify the connection token to be used when
connecting to a remote server.
--observe-only Connect to a server as an observing-only client.
--status-only Check the status of the remote bitbake server.
--server-only Run bitbake without a UI, only starting a server
(cooker) process.
Configuration options:
-r PREFILE, --read PREFILE
Read the specified file before bitbake.conf.
-R POSTFILE, --postread POSTFILE
Read the specified file after bitbake.conf.
-I EXTRA_ASSUME_PROVIDED, --ignore-deps EXTRA_ASSUME_PROVIDED
Assume these dependencies don't exist and are already
provided (equivalent to ASSUME_PROVIDED). Useful to
make dependency graphs more appealing.
..
Bitbake help output generated with "stty columns 80; bin/bitbake -h"
.. _bitbake-examples:
Examples
--------
This section presents some examples showing how to use BitBake.
.. _example-executing-a-task-against-a-single-recipe:
Executing a Task Against a Single Recipe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Executing tasks for a single recipe file is relatively simple. You
specify the file in question, and BitBake parses it and executes the
specified task. If you do not specify a task, BitBake executes the
default task, which is "build". BitBake obeys inter-task dependencies
when doing so.
The following command runs the build task, which is the default task, on
the ``foo_1.0.bb`` recipe file::
$ bitbake -b foo_1.0.bb
The following command runs the clean task on the ``foo.bb`` recipe file::
$ bitbake -b foo.bb -c clean
.. note::
The "-b" option explicitly does not handle recipe dependencies. Other
than for debugging purposes, it is instead recommended that you use
the syntax presented in the next section.
Executing Tasks Against a Set of Recipe Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are a number of additional complexities introduced when one wants
to manage multiple ``.bb`` files. Clearly there needs to be a way to
tell BitBake what files are available and, of those, which you want to
execute. There also needs to be a way for each recipe to express its
dependencies, both for build-time and runtime. There must be a way for
you to express recipe preferences when multiple recipes provide the same
functionality, or when there are multiple versions of a recipe.
The ``bitbake`` command, when not using "--buildfile" or "-b" only
accepts a "PROVIDES". You cannot provide anything else. By default, a
recipe file generally "PROVIDES" its "packagename" as shown in the
following example::
$ bitbake foo
This next example "PROVIDES" the
package name and also uses the "-c" option to tell BitBake to just
execute the ``do_clean`` task::
$ bitbake -c clean foo
Executing a List of Task and Recipe Combinations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The BitBake command line supports specifying different tasks for
individual targets when you specify multiple targets. For example,
suppose you had two targets (or recipes) ``myfirstrecipe`` and
``mysecondrecipe`` and you needed BitBake to run ``taskA`` for the first
recipe and ``taskB`` for the second recipe::
$ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
Generating Dependency Graphs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake is able to generate dependency graphs using the ``dot`` syntax.
You can convert these graphs into images using the ``dot`` tool from
`Graphviz <http://www.graphviz.org>`__.
When you generate a dependency graph, BitBake writes two files to the
current working directory:
- ``task-depends.dot``: Shows dependencies between tasks. These
dependencies match BitBake's internal task execution list.
- ``pn-buildlist``: Shows a simple list of targets that are to be
built.
To stop depending on common depends, use the ``-I`` depend option and
BitBake omits them from the graph. Leaving this information out can
produce more readable graphs. This way, you can remove from the graph
:term:`DEPENDS` from inherited classes such as ``base.bbclass``.
Here are two examples that create dependency graphs. The second example
omits depends common in OpenEmbedded from the graph::
$ bitbake -g foo
$ bitbake -g -I virtual/kernel -I eglibc foo
Executing a Multiple Configuration Build
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake is able to build multiple images or packages using a single
command where the different targets require different configurations
(multiple configuration builds). Each target, in this scenario, is
referred to as a "multiconfig".
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel configuration file in
the build directory. The location for these multiconfig configuration
files is specific. They must reside in the current build directory in a
sub-directory of ``conf`` named ``multiconfig``. Following is an example
for two separate targets:
.. image:: figures/bb_multiconfig_files.png
:align: center
The reason for this required file hierarchy is because the :term:`BBPATH`
variable is not constructed until the layers are parsed. Consequently,
using the configuration file as a pre-configuration file is not possible
unless it is located in the current working directory.
Minimally, each configuration file must define the machine and the
temporary directory BitBake uses for the build. Suggested practice
dictates that you do not overlap the temporary directories used during
the builds.
Aside from separate configuration files for each target, you must also
enable BitBake to perform multiple configuration builds. Enabling is
accomplished by setting the
:term:`BBMULTICONFIG` variable in the
``local.conf`` configuration file. As an example, suppose you had
configuration files for ``target1`` and ``target2`` defined in the build
directory. The following statement in the ``local.conf`` file both
enables BitBake to perform multiple configuration builds and specifies
the two extra multiconfigs::
BBMULTICONFIG = "target1 target2"
Once the target configuration files are in place and BitBake has been
enabled to perform multiple configuration builds, use the following
command form to start the builds::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
Here is an example for two extra multiconfigs: ``target1`` and ``target2``::
$ bitbake mc::target mc:target1:target mc:target2:target
.. _bb-enabling-multiple-configuration-build-dependencies:
Enabling Multiple Configuration Build Dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sometimes dependencies can exist between targets (multiconfigs) in a
multiple configuration build. For example, suppose that in order to
build an image for a particular architecture, the root filesystem of
another build for a different architecture needs to exist. In other
words, the image for the first multiconfig depends on the root
filesystem of the second multiconfig. This dependency is essentially
that the task in the recipe that builds one multiconfig is dependent on
the completion of the task in the recipe that builds another
multiconfig.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider an example with two
multiconfigs: ``target1`` and ``target2``::
image_task[mcdepends] = "mc:target1:target2:image2:rootfs_task"
In this example, the
``from_multiconfig`` is "target1" and the ``to_multiconfig`` is "target2". The
task on which the image whose recipe contains image_task depends on the
completion of the rootfs_task used to build out image2, which is
associated with the "target2" multiconfig.
Once you set up this dependency, you can build the "target1" multiconfig
using a BitBake command as follows::
$ bitbake mc:target1:image1
This command executes all the tasks needed to create ``image1`` for the "target1"
multiconfig. Because of the dependency, BitBake also executes through
the ``rootfs_task`` for the "target2" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the image1
recipe::
image_task[mcdepends] = "mc:target1:target2:image2:image_task"
In this case, BitBake must create ``image2`` for the "target2" build since
the "target1" build depends on it.
Because "target1" and "target2" are enabled for multiple configuration
builds and have separate configuration files, BitBake places the
artifacts for each build in the respective temporary build directories.

View File

@@ -1,91 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
================
Variable Context
================
|
Variables might only have an impact or can be used in certain contexts. Some
should only be used in global files like ``.conf``, while others are intended only
for local files like ``.bb``. This chapter aims to describe some important variable
contexts.
.. _ref-varcontext-configuration:
BitBake's own configuration
===========================
Variables starting with ``BB_`` usually configure the behaviour of BitBake itself.
For example, one could configure:
- System resources, like disk space to be used (:term:`BB_DISKMON_DIRS`),
or the number of tasks to be run in parallel by BitBake (:term:`BB_NUMBER_THREADS`).
- How the fetchers shall behave, e.g., :term:`BB_FETCH_PREMIRRORONLY` is used
by BitBake to determine if BitBake's fetcher shall search only
:term:`PREMIRRORS` for files.
Those variables are usually configured globally.
BitBake configuration
=====================
There are variables:
- Like :term:`B` or :term:`T`, that are used to specify directories used by
BitBake during the build of a particular recipe. Those variables are
specified in ``bitbake.conf``. Some, like :term:`B`, are quite often
overwritten in recipes.
- Starting with ``FAKEROOT``, to configure how the ``fakeroot`` command is
handled. Those are usually set by ``bitbake.conf`` and might get adapted in a
``bbclass``.
- Detailing where BitBake will store and fetch information from, for
data reuse between build runs like :term:`CACHE`, :term:`DL_DIR` or
:term:`PERSISTENT_DIR`. Those are usually global.
Layers and files
================
Variables starting with ``LAYER`` configure how BitBake handles layers.
Additionally, variables starting with ``BB`` configure how layers and files are
handled. For example:
- :term:`LAYERDEPENDS` is used to configure on which layers a given layer
depends.
- The configured layers are contained in :term:`BBLAYERS` and files in
:term:`BBFILES`.
Those variables are often used in the files ``layer.conf`` and ``bblayers.conf``.
Recipes and packages
====================
Variables handling recipes and packages can be split into:
- :term:`PN`, :term:`PV` or :term:`PF` for example, contain information about
the name or revision of a recipe or package. Usually, the default set in
``bitbake.conf`` is used, but those are from time to time overwritten in
recipes.
- :term:`SUMMARY`, :term:`DESCRIPTION`, :term:`LICENSE` or :term:`HOMEPAGE`
contain the expected information and should be set specifically for every
recipe.
- In recipes, variables are also used to control build and runtime
dependencies between recipes/packages with other recipes/packages. The
most common should be: :term:`PROVIDES`, :term:`RPROVIDES`, :term:`DEPENDS`,
and :term:`RDEPENDS`.
- There are further variables starting with ``SRC`` that specify the sources in
a recipe like :term:`SRC_URI` or :term:`SRCDATE`. Those are also usually set
in recipes.
- Which version or provider of a recipe should be given preference when
multiple recipes would provide the same item, is controlled by variables
starting with ``PREFERRED_``. Those are normally set in the configuration
files of a ``MACHINE`` or ``DISTRO``.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -1,142 +0,0 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH BITBAKE 1 "November 19, 2006"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
BitBake \- simple tool for the execution of tasks
.SH SYNOPSIS
.B bitbake
.RI [ options ] " packagenames"
.br
.SH DESCRIPTION
This manual page documents briefly the
.B bitbake
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBbitbake\fP is a program that executes the specified task (default is 'build')
for a given set of BitBake files.
.br
It expects that BBFILES is defined, which is a space separated list of files to
be executed. BBFILES does support wildcards.
.br
Default BBFILES are the .bb files in the current directory.
.SH OPTIONS
This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-\-version
Show version of program.
.TP
.B \-bBUILDFILE, \-\-buildfile=BUILDFILE
execute the task against this .bb file, rather than a package from BBFILES.
.TP
.B \-k, \-\-continue
continue as much as possible after an error. While the target that failed, and
those that depend on it, cannot be remade, the other dependencies of these
targets can be processed all the same.
.TP
.B \-a, \-\-tryaltconfigs
continue with builds by trying to use alternative providers where possible.
.TP
.B \-f, \-\-force
force run of specified cmd, regardless of stamp status
.TP
.B \-i, \-\-interactive
drop into the interactive mode also called the BitBake shell.
.TP
.B \-cCMD, \-\-cmd=CMD
Specify task to execute. Note that this only executes the specified task for
the providee and the packages it depends on, i.e. 'compile' does not implicitly
call stage for the dependencies (IOW: use only if you know what you are doing).
Depending on the base.bbclass a listtasks task is defined and will show
available tasks.
.TP
.B \-rFILE, \-\-read=FILE
read the specified file before bitbake.conf
.TP
.B \-v, \-\-verbose
output more chit-chat to the terminal
.TP
.B \-D, \-\-debug
Increase the debug level. You can specify this more than once.
.TP
.B \-n, \-\-dry-run
don't execute, just go through the motions
.TP
.B \-p, \-\-parse-only
quit after parsing the BB files (developers only)
.TP
.B \-s, \-\-show-versions
show current and preferred versions of all packages
.TP
.B \-e, \-\-environment
show the global or per-recipe environment (this is what used to be bbread)
.TP
.B \-g, \-\-graphviz
emit the dependency trees of the specified packages in the dot syntax
.TP
.B \-IIGNORED\_DOT\_DEPS, \-\-ignore-deps=IGNORED_DOT_DEPS
Stop processing at the given list of dependencies when generating dependency
graphs. This can help to make the graph more appealing
.TP
.B \-lDEBUG_DOMAINS, \-\-log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
.TP
.B \-P, \-\-profile
profile the command and print a report
.TP
.B \-uUI, \-\-ui=UI
User interface to use. Currently, knotty, taskexp or ncurses can be specified as UI.
.TP
.B \-tSERVERTYPE, \-\-servertype=SERVERTYPE
Choose which server to use, none, process or xmlrpc.
.TP
.B \-\-revisions-changed
Set the exit code depending on whether upstream floating revisions have changed or not.
.TP
.B \-\-server-only
Run bitbake without UI, the frontend can connect with bitbake server itself.
.TP
.B \-BBIND, \-\-bind=BIND
The name/address for the bitbake server to bind to.
.TP
.B \-\-no\-setscene
Do not run any setscene tasks, forces builds.
.SH ENVIRONMENT VARIABLES
bitbake uses the following environment variables to control its
operation:
.TP
.B BITBAKE_UI
The bitbake user interface; overridden by the \fB-u\fP commandline option.
.SH AUTHORS
BitBake was written by
Phil Blundell,
Holger Freyther,
Chris Larson,
Mickey Lauer,
Richard Purdie,
Holger Schurig
.PP
This manual page was written by Marcin Juszkiewicz <marcin@hrw.one.pl>
for the Debian project (but may be used by others).

View File

@@ -1,101 +0,0 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sys
import datetime
current_version = "dev"
# String used in sidebar
version = 'Version: ' + current_version
if current_version == 'dev':
version = 'Version: Current Development'
# Version seen in documentation_options.js and hence in js switchers code
release = current_version
# -- Project information -----------------------------------------------------
project = 'Bitbake'
copyright = '2004-%s, Richard Purdie, Chris Larson, and Phil Blundell' \
% datetime.datetime.now().year
author = 'Richard Purdie, Chris Larson, and Phil Blundell'
# external links and substitutions
extlinks = {
'yocto_docs': ('https://docs.yoctoproject.org%s', None),
'oe_lists': ('https://lists.openembedded.org%s', None),
}
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autosectionlabel',
'sphinx.ext.extlinks',
]
autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# master document name. The default changed from contents to index. so better
# set it ourselves.
master_doc = 'index'
# create substitution for project configuration variables
rst_prolog = """
.. |project_name| replace:: %s
.. |copyright| replace:: %s
.. |author| replace:: %s
""" % (project, copyright, author)
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
try:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
except ImportError:
sys.stderr.write("The Sphinx sphinx_rtd_theme HTML theme was not found.\
\nPlease make sure to install the sphinx_rtd_theme python package.\n")
sys.exit(1)
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['sphinx-static']
# Add customm CSS and JS files
html_css_files = ['theme_overrides.css']
html_js_files = ['switchers.js']
# Hide 'Created using Sphinx' text
html_show_sphinx = False
# Add 'Last updated' on each page
html_last_updated_fmt = '%b %d, %Y'
# Remove the trailing 'dot' in section numbers
html_secnumber_suffix = " "

View File

@@ -1,3 +0,0 @@
=====
Index
=====

View File

@@ -1,39 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
===================
BitBake User Manual
===================
|
.. toctree::
:caption: Table of Contents
:numbered:
bitbake-user-manual/bitbake-user-manual-intro
bitbake-user-manual/bitbake-user-manual-execution
bitbake-user-manual/bitbake-user-manual-metadata
bitbake-user-manual/bitbake-user-manual-ref-variables-context
bitbake-user-manual/bitbake-user-manual-fetching
bitbake-user-manual/bitbake-user-manual-ref-variables
bitbake-user-manual/bitbake-user-manual-hello
.. toctree::
:maxdepth: 1
:hidden:
genindex
releases
----
.. include:: <xhtml1-lat1.txt>
| BitBake Community
| Copyright |copy| |copyright|
| <bitbake-devel@lists.openembedded.org>
This work is licensed under the Creative Commons Attribution License. To view a
copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send
a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View,
California 94041, USA.

View File

@@ -1,187 +0,0 @@
.. SPDX-License-Identifier: CC-BY-2.5
=================================
BitBake Supported Release Manuals
=================================
****************************
Release Series 5.1 (styhead)
****************************
- :yocto_docs:`BitBake 2.10 User Manual </bitbake/2.10/>`
*******************************
Release Series 5.0 (scarthgap)
*******************************
- :yocto_docs:`BitBake 2.8 User Manual </bitbake/2.8/>`
******************************
Release Series 4.0 (kirkstone)
******************************
- :yocto_docs:`BitBake 2.0 User Manual </bitbake/2.0/>`
================================
BitBake Outdated Release Manuals
================================
*******************************
Release Series 4.3 (nanbield)
*******************************
- :yocto_docs:`BitBake 2.6 User Manual </bitbake/2.6/>`
*******************************
Release Series 4.2 (mickledore)
*******************************
- :yocto_docs:`BitBake 2.4 User Manual </bitbake/2.4/>`
*****************************
Release Series 4.1 (langdale)
*****************************
- :yocto_docs:`BitBake 2.2 User Manual </bitbake/2.2/>`
******************************
Release Series 3.4 (honister)
******************************
- :yocto_docs:`BitBake 1.52 User Manual </bitbake/1.52/>`
******************************
Release Series 3.3 (hardknott)
******************************
- :yocto_docs:`BitBake 1.50 User Manual </bitbake/1.50/>`
*******************************
Release Series 3.2 (gatesgarth)
*******************************
- :yocto_docs:`BitBake 1.48 User Manual </bitbake/1.48/>`
****************************
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`BitBake 1.46 User Manual </bitbake/1.46/>`
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.3 BitBake User Manual </3.1.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 3.0 (zeus)
*************************
- :yocto_docs:`3.0 BitBake User Manual </3.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.1 BitBake User Manual </3.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.2 BitBake User Manual </3.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.3 BitBake User Manual </3.0.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.4 BitBake User Manual </3.0.4/bitbake-user-manual/bitbake-user-manual.html>`
****************************
Release Series 2.7 (warrior)
****************************
- :yocto_docs:`2.7 BitBake User Manual </2.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.1 BitBake User Manual </2.7.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.2 BitBake User Manual </2.7.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.3 BitBake User Manual </2.7.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.4 BitBake User Manual </2.7.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 2.6 (thud)
*************************
- :yocto_docs:`2.6 BitBake User Manual </2.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.1 BitBake User Manual </2.6.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.2 BitBake User Manual </2.6.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.3 BitBake User Manual </2.6.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.4 BitBake User Manual </2.6.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 2.5 (sumo)
*************************
- :yocto_docs:`2.5 Documentation </2.5>`
- :yocto_docs:`2.5.1 Documentation </2.5.1>`
- :yocto_docs:`2.5.2 Documentation </2.5.2>`
- :yocto_docs:`2.5.3 Documentation </2.5.3>`
**************************
Release Series 2.4 (rocko)
**************************
- :yocto_docs:`2.4 BitBake User Manual </2.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.1 BitBake User Manual </2.4.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.2 BitBake User Manual </2.4.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.3 BitBake User Manual </2.4.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.4 BitBake User Manual </2.4.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 2.3 (pyro)
*************************
- :yocto_docs:`2.3 BitBake User Manual </2.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.1 BitBake User Manual </2.3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.2 BitBake User Manual </2.3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.3 BitBake User Manual </2.3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.4 BitBake User Manual </2.3.4/bitbake-user-manual/bitbake-user-manual.html>`
**************************
Release Series 2.2 (morty)
**************************
- :yocto_docs:`2.2 BitBake User Manual </2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.1 BitBake User Manual </2.2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.2 BitBake User Manual </2.2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.3 BitBake User Manual </2.2.3/bitbake-user-manual/bitbake-user-manual.html>`
****************************
Release Series 2.1 (krogoth)
****************************
- :yocto_docs:`2.1 BitBake User Manual </2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.1 BitBake User Manual </2.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.2 BitBake User Manual </2.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.3 BitBake User Manual </2.1.3/bitbake-user-manual/bitbake-user-manual.html>`
***************************
Release Series 2.0 (jethro)
***************************
- :yocto_docs:`1.9 BitBake User Manual </1.9/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0 BitBake User Manual </2.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.1 BitBake User Manual </2.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.2 BitBake User Manual </2.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.3 BitBake User Manual </2.0.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 1.8 (fido)
*************************
- :yocto_docs:`1.8 BitBake User Manual </1.8/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.8.1 BitBake User Manual </1.8.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.8.2 BitBake User Manual </1.8.2/bitbake-user-manual/bitbake-user-manual.html>`
**************************
Release Series 1.7 (dizzy)
**************************
- :yocto_docs:`1.7 BitBake User Manual </1.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.1 BitBake User Manual </1.7.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.2 BitBake User Manual </1.7.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.3 BitBake User Manual </1.7.3/bitbake-user-manual/bitbake-user-manual.html>`
**************************
Release Series 1.6 (daisy)
**************************
- :yocto_docs:`1.6 BitBake User Manual </1.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.1 BitBake User Manual </1.6.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.2 BitBake User Manual </1.6.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.3 BitBake User Manual </1.6.3/bitbake-user-manual/bitbake-user-manual.html>`

View File

@@ -1,233 +0,0 @@
(function() {
'use strict';
var all_versions = {
'dev': 'dev (3.2)',
'3.1.2': '3.1.2',
'3.0.3': '3.0.3',
'2.7.4': '2.7.4',
};
var all_doctypes = {
'single': 'Individual Webpages',
'mega': "All-in-one 'Mega' Manual",
};
// Simple version comparision
// Return 1 if a > b
// Return -1 if a < b
// Return 0 if a == b
function ver_compare(a, b) {
if (a == "dev") {
return 1;
}
if (a === b) {
return 0;
}
var a_components = a.split(".");
var b_components = b.split(".");
var len = Math.min(a_components.length, b_components.length);
// loop while the components are equal
for (var i = 0; i < len; i++) {
// A bigger than B
if (parseInt(a_components[i]) > parseInt(b_components[i])) {
return 1;
}
// B bigger than A
if (parseInt(a_components[i]) < parseInt(b_components[i])) {
return -1;
}
}
// If one's a prefix of the other, the longer one is greater.
if (a_components.length > b_components.length) {
return 1;
}
if (a_components.length < b_components.length) {
return -1;
}
// Otherwise they are the same.
return 0;
}
function build_version_select(current_series, current_version) {
var buf = ['<select>'];
$.each(all_versions, function(version, title) {
var series = version.substr(0, 3);
if (series == current_series) {
if (version == current_version)
buf.push('<option value="' + version + '" selected="selected">' + title + '</option>');
else
buf.push('<option value="' + version + '">' + title + '</option>');
if (version != current_version)
buf.push('<option value="' + current_version + '" selected="selected">' + current_version + '</option>');
} else {
buf.push('<option value="' + version + '">' + title + '</option>');
}
});
buf.push('</select>');
return buf.join('');
}
function build_doctype_select(current_doctype) {
var buf = ['<select>'];
$.each(all_doctypes, function(doctype, title) {
if (doctype == current_doctype)
buf.push('<option value="' + doctype + '" selected="selected">' +
all_doctypes[current_doctype] + '</option>');
else
buf.push('<option value="' + doctype + '">' + title + '</option>');
});
if (!(current_doctype in all_doctypes)) {
// In case we're browsing a doctype that is not yet in all_doctypes.
buf.push('<option value="' + current_doctype + '" selected="selected">' +
current_doctype + '</option>');
all_doctypes[current_doctype] = current_doctype;
}
buf.push('</select>');
return buf.join('');
}
function navigate_to_first_existing(urls) {
// Navigate to the first existing URL in urls.
var url = urls.shift();
// Web browsers won't redirect file:// urls to file urls using ajax but
// its useful for local testing
if (url.startsWith("file://")) {
window.location.href = url;
return;
}
if (urls.length == 0) {
window.location.href = url;
return;
}
$.ajax({
url: url,
success: function() {
window.location.href = url;
},
error: function() {
navigate_to_first_existing(urls);
}
});
}
function get_docroot_url() {
var url = window.location.href;
var root = DOCUMENTATION_OPTIONS.URL_ROOT;
var urlarray = url.split('/');
// Trim off anything after '/'
urlarray.pop();
var depth = (root.match(/\.\.\//g) || []).length;
for (var i = 0; i < depth; i++) {
urlarray.pop();
}
return urlarray.join('/') + '/';
}
function on_version_switch() {
var selected_version = $(this).children('option:selected').attr('value');
var url = window.location.href;
var current_version = DOCUMENTATION_OPTIONS.VERSION;
var docroot = get_docroot_url()
var new_versionpath = selected_version + '/';
if (selected_version == "dev")
new_versionpath = '';
// dev versions have no version prefix
if (current_version == "dev") {
var new_url = docroot + new_versionpath + url.replace(docroot, "");
var fallback_url = docroot + new_versionpath;
} else {
var new_url = url.replace('/' + current_version + '/', '/' + new_versionpath);
var fallback_url = new_url.replace(url.replace(docroot, ""), "");
}
console.log(get_docroot_url())
console.log(url + " to url " + new_url);
console.log(url + " to fallback " + fallback_url);
if (new_url != url) {
navigate_to_first_existing([
new_url,
fallback_url,
'https://www.yoctoproject.org/docs/',
]);
}
}
function on_doctype_switch() {
var selected_doctype = $(this).children('option:selected').attr('value');
var url = window.location.href;
if (selected_doctype == 'mega') {
var docroot = get_docroot_url()
var current_version = DOCUMENTATION_OPTIONS.VERSION;
// Assume manuals before 3.2 are using old docbook mega-manual
if (ver_compare(current_version, "3.2") < 0) {
var new_url = docroot + "mega-manual/mega-manual.html";
} else {
var new_url = docroot + "singleindex.html";
}
} else {
var new_url = url.replace("singleindex.html", "index.html")
}
if (new_url != url) {
navigate_to_first_existing([
new_url,
'https://www.yoctoproject.org/docs/',
]);
}
}
// Returns the current doctype based upon the url
function doctype_segment_from_url(url) {
if (url.includes("singleindex") || url.includes("mega-manual"))
return "mega";
return "single";
}
$(document).ready(function() {
var release = DOCUMENTATION_OPTIONS.VERSION;
var current_doctype = doctype_segment_from_url(window.location.href);
var current_series = release.substr(0, 3);
var version_select = build_version_select(current_series, release);
$('.version_switcher_placeholder').html(version_select);
$('.version_switcher_placeholder select').bind('change', on_version_switch);
var doctype_select = build_doctype_select(current_doctype);
$('.doctype_switcher_placeholder').html(doctype_select);
$('.doctype_switcher_placeholder select').bind('change', on_doctype_switch);
if (ver_compare(release, "3.1") < 0) {
$('#outdated-warning').html('Version ' + release + ' of the project is now considered obsolete, please select and use a more recent version');
$('#outdated-warning').css('padding', '.5em');
} else if (release != "dev") {
$.each(all_versions, function(version, title) {
var series = version.substr(0, 3);
if (series == current_series && version != release) {
$('#outdated-warning').html('This document is for outdated version ' + release + ', you should select the latest release version in this series, ' + version + '.');
$('#outdated-warning').css('padding', '.5em');
}
});
}
});
})();

View File

@@ -1,162 +0,0 @@
/*
SPDX-License-Identifier: CC-BY-2.0-UK
*/
body {
font-family: Verdana, Sans, sans-serif;
margin: 0em auto;
color: #333;
}
h1,h2,h3,h4,h5,h6,h7 {
font-family: Arial, Sans;
color: #00557D;
clear: both;
}
h1 {
font-size: 2em;
text-align: left;
padding: 0em 0em 0em 0em;
margin: 2em 0em 0em 0em;
}
h2.subtitle {
margin: 0.10em 0em 3.0em 0em;
padding: 0em 0em 0em 0em;
font-size: 1.8em;
padding-left: 20%;
font-weight: normal;
font-style: italic;
}
h2 {
margin: 2em 0em 0.66em 0em;
padding: 0.5em 0em 0em 0em;
font-size: 1.5em;
font-weight: bold;
}
h3.subtitle {
margin: 0em 0em 1em 0em;
padding: 0em 0em 0em 0em;
font-size: 142.14%;
text-align: right;
}
h3 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 140%;
font-weight: bold;
}
h4 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 120%;
font-weight: bold;
}
h5 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
h6 {
margin: 1em 0em 0em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
em {
font-weight: bold;
}
.pre {
font-size: medium;
font-family: Courier, monospace;
}
.wy-nav-content a {
text-decoration: underline;
color: #444;
background: transparent;
}
.wy-nav-content a:hover {
text-decoration: underline;
background-color: #dedede;
}
.wy-nav-content a:visited {
color: #444;
}
[alt='Permalink'] { color: #eee; }
[alt='Permalink']:hover { color: black; }
@media screen {
/* content column
*
* RTD theme's default is 800px as max width for the content, but we have
* tables with tons of columns, which need the full width of the view-port.
*/
.wy-nav-content{max-width: none; }
/* inline literal: drop the borderbox, padding and red color */
code, .rst-content tt, .rst-content code {
color: inherit;
border: none;
padding: unset;
background: inherit;
font-size: 85%;
}
.rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {
color: inherit;
}
/* Admonition should be gray, not blue or green */
.rst-content .note .admonition-title,
.rst-content .tip .admonition-title,
.rst-content .warning .admonition-title,
.rst-content .caution .admonition-title,
.rst-content .important .admonition-title {
background: #f0f0f2;
color: #00557D;
}
.rst-content .note,
.rst-content .tip,
.rst-content .important,
.rst-content .warning,
.rst-content .caution {
background: #f0f0f2;
}
/* Remove the icon in front of note/tip element, and before the logo */
.icon-home:before, .rst-content .admonition-title:before {
display: none
}
/* a custom informalexample container is used in some doc */
.informalexample {
border: 1px solid;
border-color: #aaa;
margin: 1em 0em;
padding: 1em;
page-break-inside: avoid;
}
/* Remove the blue background in the top left corner, around the logo */
.wy-side-nav-search {
background: inherit;
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -1,199 +0,0 @@
#
# This is a copy on write dictionary and set which abuses classes to try and be nice and fast.
#
# Copyright (C) 2006 Tim Ansell
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Please Note:
# Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
# Assign a file to __warn__ to get warnings about slow operations.
#
import copy
ImmutableTypes = (
bool,
complex,
float,
int,
tuple,
frozenset,
str
)
MUTABLE = "__mutable__"
class COWMeta(type):
pass
class COWDictMeta(COWMeta):
__warn__ = False
__hasmutable__ = False
__marker__ = tuple()
def __str__(cls):
ignored_keys = set(["__count__", "__doc__", "__module__", "__firstlineno__", "__static_attributes__"])
keys = set(cls.__dict__.keys()) - ignored_keys
return "<COWDict Level: %i Current Keys: %i>" % (cls.__count__, len(keys))
__repr__ = __str__
def cow(cls):
class C(cls):
__count__ = cls.__count__ + 1
return C
copy = cow
__call__ = cow
def __setitem__(cls, key, value):
if value is not None and not isinstance(value, ImmutableTypes):
if not isinstance(value, COWMeta):
cls.__hasmutable__ = True
key += MUTABLE
setattr(cls, key, value)
def __getmutable__(cls, key, readonly=False):
nkey = key + MUTABLE
try:
return cls.__dict__[nkey]
except KeyError:
pass
value = getattr(cls, nkey)
if readonly:
return value
if not cls.__warn__ is False and not isinstance(value, COWMeta):
print("Warning: Doing a copy because %s is a mutable type." % key, file=cls.__warn__)
try:
value = value.copy()
except AttributeError as e:
value = copy.copy(value)
setattr(cls, nkey, value)
return value
__getmarker__ = []
def __getreadonly__(cls, key, default=__getmarker__):
"""
Get a value (even if mutable) which you promise not to change.
"""
return cls.__getitem__(key, default, True)
def __getitem__(cls, key, default=__getmarker__, readonly=False):
try:
try:
value = getattr(cls, key)
except AttributeError:
value = cls.__getmutable__(key, readonly)
# This is for values which have been deleted
if value is cls.__marker__:
raise AttributeError("key %s does not exist." % key)
return value
except AttributeError as e:
if not default is cls.__getmarker__:
return default
raise KeyError(str(e))
def __delitem__(cls, key):
cls.__setitem__(key, cls.__marker__)
def __revertitem__(cls, key):
if key not in cls.__dict__:
key += MUTABLE
delattr(cls, key)
def __contains__(cls, key):
return cls.has_key(key)
def has_key(cls, key):
value = cls.__getreadonly__(key, cls.__marker__)
if value is cls.__marker__:
return False
return True
def iter(cls, type, readonly=False):
for key in dir(cls):
if key.startswith("__"):
continue
if key.endswith(MUTABLE):
key = key[:-len(MUTABLE)]
if type == "keys":
yield key
try:
if readonly:
value = cls.__getreadonly__(key)
else:
value = cls[key]
except KeyError:
continue
if type == "values":
yield value
if type == "items":
yield (key, value)
return
def iterkeys(cls):
return cls.iter("keys")
def itervalues(cls, readonly=False):
if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:
print("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
return cls.iter("values", readonly)
def iteritems(cls, readonly=False):
if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:
print("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
return cls.iter("items", readonly)
class COWSetMeta(COWDictMeta):
def __str__(cls):
ignored_keys = set(["__count__", "__doc__", "__module__", "__firstlineno__", "__static_attributes__"])
keys = set(cls.__dict__.keys()) - ignored_keys
return "<COWSet Level: %i Current Keys: %i>" % (cls.__count__, len(keys))
__repr__ = __str__
def cow(cls):
class C(cls):
__count__ = cls.__count__ + 1
return C
def add(cls, value):
COWDictMeta.__setitem__(cls, repr(hash(value)), value)
def remove(cls, value):
COWDictMeta.__delitem__(cls, repr(hash(value)))
def __in__(cls, value):
return repr(hash(value)) in COWDictMeta
def iterkeys(cls):
raise TypeError("sets don't have keys")
def iteritems(cls):
raise TypeError("sets don't have 'items'")
# These are the actual classes you use!
class COWDictBase(metaclass=COWDictMeta):
__count__ = 0
class COWSetBase(metaclass=COWSetMeta):
__count__ = 0

View File

@@ -1,220 +0,0 @@
#
# BitBake Build System Python Library
#
# Copyright (C) 2003 Holger Schurig
# Copyright (C) 2003, 2004 Chris Larson
#
# Based on Gentoo's portage.py.
#
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.12.0"
import sys
if sys.version_info < (3, 9, 0):
raise RuntimeError("Sorry, python 3.9.0 or later is required for this version of bitbake")
if sys.version_info < (3, 10, 0):
# With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"
# https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work
# https://bugs.ams1.psf.io/issue42888
# so ensure libgcc_s is loaded early on
import ctypes
libgcc_s = ctypes.CDLL('libgcc_s.so.1')
class BBHandledException(Exception):
"""
The big dilemma for generic bitbake code is what information to give the user
when an exception occurs. Any exception inheriting this base exception class
has already provided information to the user via some 'fired' message type such as
an explicitly fired event using bb.fire, or a bb.error message. If bitbake
encounters an exception derived from this class, no backtrace or other information
will be given to the user, its assumed the earlier event provided the relevant information.
"""
pass
import os
import logging
from collections import namedtuple
class NullHandler(logging.Handler):
def emit(self, record):
pass
class BBLoggerMixin(object):
def __init__(self, *args, **kwargs):
# Does nothing to allow calling super() from derived classes
pass
def setup_bblogger(self, name):
if name.split(".")[0] == "BitBake":
self.debug = self._debug_helper
def _debug_helper(self, *args, **kwargs):
return self.bbdebug(1, *args, **kwargs)
def debug2(self, *args, **kwargs):
return self.bbdebug(2, *args, **kwargs)
def debug3(self, *args, **kwargs):
return self.bbdebug(3, *args, **kwargs)
def bbdebug(self, level, msg, *args, **kwargs):
loglevel = logging.DEBUG - level + 1
if not bb.event.worker_pid:
if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]):
return
if loglevel < bb.msg.loggerDefaultLogLevel:
return
if not isinstance(level, int) or not isinstance(msg, str):
mainlogger.warning("Invalid arguments in bbdebug: %s" % repr((level, msg,) + args))
return self.log(loglevel, msg, *args, **kwargs)
def plain(self, msg, *args, **kwargs):
return self.log(logging.INFO + 1, msg, *args, **kwargs)
def verbose(self, msg, *args, **kwargs):
return self.log(logging.INFO - 1, msg, *args, **kwargs)
def verbnote(self, msg, *args, **kwargs):
return self.log(logging.INFO + 2, msg, *args, **kwargs)
def warnonce(self, msg, *args, **kwargs):
return self.log(logging.WARNING - 1, msg, *args, **kwargs)
def erroronce(self, msg, *args, **kwargs):
return self.log(logging.ERROR - 1, msg, *args, **kwargs)
Logger = logging.getLoggerClass()
class BBLogger(Logger, BBLoggerMixin):
def __init__(self, name, *args, **kwargs):
self.setup_bblogger(name)
super().__init__(name, *args, **kwargs)
logging.raiseExceptions = False
logging.setLoggerClass(BBLogger)
class BBLoggerAdapter(logging.LoggerAdapter, BBLoggerMixin):
def __init__(self, logger, *args, **kwargs):
self.setup_bblogger(logger.name)
super().__init__(logger, *args, **kwargs)
logging.LoggerAdapter = BBLoggerAdapter
logger = logging.getLogger("BitBake")
logger.addHandler(NullHandler())
logger.setLevel(logging.DEBUG - 2)
mainlogger = logging.getLogger("BitBake.Main")
class PrefixLoggerAdapter(logging.LoggerAdapter):
def __init__(self, prefix, logger):
super().__init__(logger, {})
self.__msg_prefix = prefix
def process(self, msg, kwargs):
return "%s%s" %(self.__msg_prefix, msg), kwargs
# This has to be imported after the setLoggerClass, as the import of bb.msg
# can result in construction of the various loggers.
import bb.msg
from bb import fetch2 as fetch
sys.modules['bb.fetch'] = sys.modules['bb.fetch2']
# Messaging convenience functions
def plain(*args):
mainlogger.plain(''.join(args))
def debug(lvl, *args):
if isinstance(lvl, str):
mainlogger.warning("Passed invalid debug level '%s' to bb.debug", lvl)
args = (lvl,) + args
lvl = 1
mainlogger.bbdebug(lvl, ''.join(args))
def note(*args):
mainlogger.info(''.join(args))
#
# A higher prioity note which will show on the console but isn't a warning
#
# Something is happening the user should be aware of but they probably did
# something to make it happen
#
def verbnote(*args):
mainlogger.verbnote(''.join(args))
#
# Warnings - things the user likely needs to pay attention to and fix
#
def warn(*args):
mainlogger.warning(''.join(args))
def warnonce(*args):
mainlogger.warnonce(''.join(args))
def error(*args, **kwargs):
mainlogger.error(''.join(args), extra=kwargs)
def erroronce(*args):
mainlogger.erroronce(''.join(args))
def fatal(*args, **kwargs):
mainlogger.critical(''.join(args), extra=kwargs)
raise BBHandledException()
def deprecated(func, name=None, advice=""):
"""This is a decorator which can be used to mark functions
as deprecated. It will result in a warning being emitted
when the function is used."""
import warnings
if advice:
advice = ": %s" % advice
if name is None:
name = func.__name__
def newFunc(*args, **kwargs):
warnings.warn("Call to deprecated function %s%s." % (name,
advice),
category=DeprecationWarning,
stacklevel=2)
return func(*args, **kwargs)
newFunc.__name__ = func.__name__
newFunc.__doc__ = func.__doc__
newFunc.__dict__.update(func.__dict__)
return newFunc
# For compatibility
def deprecate_import(current, modulename, fromlist, renames = None):
"""Import objects from one module into another, wrapping them with a DeprecationWarning"""
module = __import__(modulename, fromlist = fromlist)
for position, objname in enumerate(fromlist):
obj = getattr(module, objname)
newobj = deprecated(obj, "{0}.{1}".format(current, objname),
"Please use {0}.{1} instead".format(modulename, objname))
if renames:
newname = renames[position]
else:
newname = objname
setattr(sys.modules[current], newname, newobj)
TaskData = namedtuple("TaskData", [
"pn",
"taskname",
"fn",
"deps",
"provides",
"taskhash",
"unihash",
"hashfn",
"taskhash_deps",
])

View File

@@ -1,213 +0,0 @@
#! /usr/bin/env python3
#
# Copyright 2023 by Garmin Ltd. or its subsidiaries
#
# SPDX-License-Identifier: MIT
import sys
import ctypes
import os
import errno
import pwd
import grp
libacl = ctypes.CDLL("libacl.so.1", use_errno=True)
ACL_TYPE_ACCESS = 0x8000
ACL_TYPE_DEFAULT = 0x4000
ACL_FIRST_ENTRY = 0
ACL_NEXT_ENTRY = 1
ACL_UNDEFINED_TAG = 0x00
ACL_USER_OBJ = 0x01
ACL_USER = 0x02
ACL_GROUP_OBJ = 0x04
ACL_GROUP = 0x08
ACL_MASK = 0x10
ACL_OTHER = 0x20
ACL_READ = 0x04
ACL_WRITE = 0x02
ACL_EXECUTE = 0x01
acl_t = ctypes.c_void_p
acl_entry_t = ctypes.c_void_p
acl_permset_t = ctypes.c_void_p
acl_perm_t = ctypes.c_uint
acl_tag_t = ctypes.c_int
libacl.acl_free.argtypes = [acl_t]
def acl_free(acl):
libacl.acl_free(acl)
libacl.acl_get_file.restype = acl_t
libacl.acl_get_file.argtypes = [ctypes.c_char_p, ctypes.c_uint]
def acl_get_file(path, typ):
acl = libacl.acl_get_file(os.fsencode(path), typ)
if acl is None:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err), str(path))
return acl
libacl.acl_get_entry.argtypes = [acl_t, ctypes.c_int, ctypes.c_void_p]
def acl_get_entry(acl, entry_id):
entry = acl_entry_t()
ret = libacl.acl_get_entry(acl, entry_id, ctypes.byref(entry))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
if ret == 0:
return None
return entry
libacl.acl_get_tag_type.argtypes = [acl_entry_t, ctypes.c_void_p]
def acl_get_tag_type(entry_d):
tag = acl_tag_t()
ret = libacl.acl_get_tag_type(entry_d, ctypes.byref(tag))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return tag.value
libacl.acl_get_qualifier.restype = ctypes.c_void_p
libacl.acl_get_qualifier.argtypes = [acl_entry_t]
def acl_get_qualifier(entry_d):
ret = libacl.acl_get_qualifier(entry_d)
if ret is None:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return ctypes.c_void_p(ret)
libacl.acl_get_permset.argtypes = [acl_entry_t, ctypes.c_void_p]
def acl_get_permset(entry_d):
permset = acl_permset_t()
ret = libacl.acl_get_permset(entry_d, ctypes.byref(permset))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return permset
libacl.acl_get_perm.argtypes = [acl_permset_t, acl_perm_t]
def acl_get_perm(permset_d, perm):
ret = libacl.acl_get_perm(permset_d, perm)
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return bool(ret)
class Entry(object):
def __init__(self, tag, qualifier, mode):
self.tag = tag
self.qualifier = qualifier
self.mode = mode
def __str__(self):
typ = ""
qual = ""
if self.tag == ACL_USER:
typ = "user"
qual = pwd.getpwuid(self.qualifier).pw_name
elif self.tag == ACL_GROUP:
typ = "group"
qual = grp.getgrgid(self.qualifier).gr_name
elif self.tag == ACL_USER_OBJ:
typ = "user"
elif self.tag == ACL_GROUP_OBJ:
typ = "group"
elif self.tag == ACL_MASK:
typ = "mask"
elif self.tag == ACL_OTHER:
typ = "other"
r = "r" if self.mode & ACL_READ else "-"
w = "w" if self.mode & ACL_WRITE else "-"
x = "x" if self.mode & ACL_EXECUTE else "-"
return f"{typ}:{qual}:{r}{w}{x}"
class ACL(object):
def __init__(self, acl):
self.acl = acl
def __del__(self):
acl_free(self.acl)
def entries(self):
entry_id = ACL_FIRST_ENTRY
while True:
entry = acl_get_entry(self.acl, entry_id)
if entry is None:
break
permset = acl_get_permset(entry)
mode = 0
for m in (ACL_READ, ACL_WRITE, ACL_EXECUTE):
if acl_get_perm(permset, m):
mode |= m
qualifier = None
tag = acl_get_tag_type(entry)
if tag == ACL_USER or tag == ACL_GROUP:
qual = acl_get_qualifier(entry)
qualifier = ctypes.cast(qual, ctypes.POINTER(ctypes.c_int))[0]
yield Entry(tag, qualifier, mode)
entry_id = ACL_NEXT_ENTRY
@classmethod
def from_path(cls, path, typ):
acl = acl_get_file(path, typ)
return cls(acl)
def main():
import argparse
from pathlib import Path
parser = argparse.ArgumentParser()
parser.add_argument("path", help="File Path", type=Path)
args = parser.parse_args()
acl = ACL.from_path(args.path, ACL_TYPE_ACCESS)
for entry in acl.entries():
print(str(entry))
return 0
if __name__ == "__main__":
sys.exit(main())

View File

@@ -1,16 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
from .client import AsyncClient, Client
from .serv import AsyncServer, AsyncServerConnection
from .connection import DEFAULT_MAX_CHUNK
from .exceptions import (
ClientError,
ServerError,
ConnectionClosedError,
InvokeError,
)

View File

@@ -1,271 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import socket
import sys
import re
import contextlib
from threading import Thread
from .connection import StreamConnection, WebsocketConnection, DEFAULT_MAX_CHUNK
from .exceptions import ConnectionClosedError, InvokeError
UNIX_PREFIX = "unix://"
WS_PREFIX = "ws://"
WSS_PREFIX = "wss://"
ADDR_TYPE_UNIX = 0
ADDR_TYPE_TCP = 1
ADDR_TYPE_WS = 2
WEBSOCKETS_MIN_VERSION = (9, 1)
# Need websockets 10 with python 3.10+
if sys.version_info >= (3, 10, 0):
WEBSOCKETS_MIN_VERSION = (10, 0)
def parse_address(addr):
if addr.startswith(UNIX_PREFIX):
return (ADDR_TYPE_UNIX, (addr[len(UNIX_PREFIX) :],))
elif addr.startswith(WS_PREFIX) or addr.startswith(WSS_PREFIX):
return (ADDR_TYPE_WS, (addr,))
else:
m = re.match(r"\[(?P<host>[^\]]*)\]:(?P<port>\d+)$", addr)
if m is not None:
host = m.group("host")
port = m.group("port")
else:
host, port = addr.split(":")
return (ADDR_TYPE_TCP, (host, int(port)))
class AsyncClient(object):
def __init__(
self,
proto_name,
proto_version,
logger,
timeout=30,
server_headers=False,
headers={},
):
self.socket = None
self.max_chunk = DEFAULT_MAX_CHUNK
self.proto_name = proto_name
self.proto_version = proto_version
self.logger = logger
self.timeout = timeout
self.needs_server_headers = server_headers
self.server_headers = {}
self.headers = headers
async def connect_tcp(self, address, port):
async def connect_sock():
reader, writer = await asyncio.open_connection(address, port)
return StreamConnection(reader, writer, self.timeout, self.max_chunk)
self._connect_sock = connect_sock
async def connect_unix(self, path):
async def connect_sock():
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
try:
os.chdir(os.path.dirname(path))
# The socket must be opened synchronously so that CWD doesn't get
# changed out from underneath us so we pass as a sock into asyncio
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)
sock.connect(os.path.basename(path))
finally:
os.chdir(cwd)
reader, writer = await asyncio.open_unix_connection(sock=sock)
return StreamConnection(reader, writer, self.timeout, self.max_chunk)
self._connect_sock = connect_sock
async def connect_websocket(self, uri):
import websockets
try:
version = tuple(
int(v)
for v in websockets.__version__.split(".")[
0 : len(WEBSOCKETS_MIN_VERSION)
]
)
except ValueError:
raise ImportError(
f"Unable to parse websockets version '{websockets.__version__}'"
)
if version < WEBSOCKETS_MIN_VERSION:
min_ver_str = ".".join(str(v) for v in WEBSOCKETS_MIN_VERSION)
raise ImportError(
f"Websockets version {websockets.__version__} is less than minimum required version {min_ver_str}"
)
async def connect_sock():
try:
websocket = await websockets.connect(
uri,
ping_interval=None,
open_timeout=self.timeout,
)
except asyncio.exceptions.TimeoutError:
raise ConnectionError("Timeout while connecting to websocket")
except (OSError, websockets.InvalidHandshake, websockets.InvalidURI) as exc:
raise ConnectionError(f"Could not connect to websocket: {exc}") from exc
return WebsocketConnection(websocket, self.timeout)
self._connect_sock = connect_sock
async def setup_connection(self):
# Send headers
await self.socket.send("%s %s" % (self.proto_name, self.proto_version))
await self.socket.send(
"needs-headers: %s" % ("true" if self.needs_server_headers else "false")
)
for k, v in self.headers.items():
await self.socket.send("%s: %s" % (k, v))
# End of headers
await self.socket.send("")
self.server_headers = {}
if self.needs_server_headers:
while True:
line = await self.socket.recv()
if not line:
# End headers
break
tag, value = line.split(":", 1)
self.server_headers[tag.lower()] = value.strip()
async def get_header(self, tag, default):
await self.connect()
return self.server_headers.get(tag, default)
async def connect(self):
if self.socket is None:
self.socket = await self._connect_sock()
await self.setup_connection()
async def disconnect(self):
if self.socket is not None:
await self.socket.close()
self.socket = None
async def close(self):
await self.disconnect()
async def _send_wrapper(self, proc):
count = 0
while True:
try:
await self.connect()
return await proc()
except (
OSError,
ConnectionError,
ConnectionClosedError,
json.JSONDecodeError,
UnicodeDecodeError,
) as e:
self.logger.warning("Error talking to server: %s" % e)
if count >= 3:
if not isinstance(e, ConnectionError):
raise ConnectionError(str(e))
raise e
await self.close()
count += 1
def check_invoke_error(self, msg):
if isinstance(msg, dict) and "invoke-error" in msg:
raise InvokeError(msg["invoke-error"]["message"])
async def invoke(self, msg):
async def proc():
await self.socket.send_message(msg)
return await self.socket.recv_message()
result = await self._send_wrapper(proc)
self.check_invoke_error(result)
return result
async def ping(self):
return await self.invoke({"ping": {}})
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class Client(object):
def __init__(self):
self.client = self._get_async_client()
self.loop = asyncio.new_event_loop()
# Override any pre-existing loop.
# Without this, the PR server export selftest triggers a hang
# when running with Python 3.7. The drawback is that there is
# potential for issues if the PR and hash equiv (or some new)
# clients need to both be instantiated in the same process.
# This should be revisited if/when Python 3.9 becomes the
# minimum required version for BitBake, as it seems not
# required (but harmless) with it.
asyncio.set_event_loop(self.loop)
self._add_methods("connect_tcp", "ping")
@abc.abstractmethod
def _get_async_client(self):
pass
def _get_downcall_wrapper(self, downcall):
def wrapper(*args, **kwargs):
return self.loop.run_until_complete(downcall(*args, **kwargs))
return wrapper
def _add_methods(self, *methods):
for m in methods:
downcall = getattr(self.client, m)
setattr(self, m, self._get_downcall_wrapper(downcall))
def connect_unix(self, path):
self.loop.run_until_complete(self.client.connect_unix(path))
self.loop.run_until_complete(self.client.connect())
@property
def max_chunk(self):
return self.client.max_chunk
@max_chunk.setter
def max_chunk(self, value):
self.client.max_chunk = value
def disconnect(self):
self.loop.run_until_complete(self.client.close())
def close(self):
if self.loop:
self.loop.run_until_complete(self.client.close())
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
self.loop = None
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False

View File

@@ -1,146 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import asyncio
import itertools
import json
from datetime import datetime
from .exceptions import ClientError, ConnectionClosedError
# The Python async server defaults to a 64K receive buffer, so we hardcode our
# maximum chunk size. It would be better if the client and server reported to
# each other what the maximum chunk sizes were, but that will slow down the
# connection setup with a round trip delay so I'd rather not do that unless it
# is necessary
DEFAULT_MAX_CHUNK = 32 * 1024
def chunkify(msg, max_chunk):
if len(msg) < max_chunk - 1:
yield "".join((msg, "\n"))
else:
yield "".join((json.dumps({"chunk-stream": None}), "\n"))
args = [iter(msg)] * (max_chunk - 1)
for m in map("".join, itertools.zip_longest(*args, fillvalue="")):
yield "".join(itertools.chain(m, "\n"))
yield "\n"
def json_serialize(obj):
if isinstance(obj, datetime):
return obj.isoformat()
raise TypeError("Type %s not serializeable" % type(obj))
class StreamConnection(object):
def __init__(self, reader, writer, timeout, max_chunk=DEFAULT_MAX_CHUNK):
self.reader = reader
self.writer = writer
self.timeout = timeout
self.max_chunk = max_chunk
@property
def address(self):
return self.writer.get_extra_info("peername")
async def send_message(self, msg):
for c in chunkify(json.dumps(msg, default=json_serialize), self.max_chunk):
self.writer.write(c.encode("utf-8"))
await self.writer.drain()
async def recv_message(self):
l = await self.recv()
m = json.loads(l)
if not m:
return m
if "chunk-stream" in m:
lines = []
while True:
l = await self.recv()
if not l:
break
lines.append(l)
m = json.loads("".join(lines))
return m
async def send(self, msg):
self.writer.write(("%s\n" % msg).encode("utf-8"))
await self.writer.drain()
async def recv(self):
if self.timeout < 0:
line = await self.reader.readline()
else:
try:
line = await asyncio.wait_for(self.reader.readline(), self.timeout)
except asyncio.TimeoutError:
raise ConnectionError("Timed out waiting for data")
if not line:
raise ConnectionClosedError("Connection closed")
line = line.decode("utf-8")
if not line.endswith("\n"):
raise ConnectionError("Bad message %r" % (line))
return line.rstrip()
async def close(self):
self.reader = None
if self.writer is not None:
self.writer.close()
self.writer = None
class WebsocketConnection(object):
def __init__(self, socket, timeout):
self.socket = socket
self.timeout = timeout
@property
def address(self):
return ":".join(str(s) for s in self.socket.remote_address)
async def send_message(self, msg):
await self.send(json.dumps(msg, default=json_serialize))
async def recv_message(self):
m = await self.recv()
return json.loads(m)
async def send(self, msg):
import websockets.exceptions
try:
await self.socket.send(msg)
except websockets.exceptions.ConnectionClosed:
raise ConnectionClosedError("Connection closed")
async def recv(self):
import websockets.exceptions
try:
if self.timeout < 0:
return await self.socket.recv()
try:
return await asyncio.wait_for(self.socket.recv(), self.timeout)
except asyncio.TimeoutError:
raise ConnectionError("Timed out waiting for data")
except websockets.exceptions.ConnectionClosed:
raise ConnectionClosedError("Connection closed")
async def close(self):
if self.socket is not None:
await self.socket.close()
self.socket = None

View File

@@ -1,21 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
class ClientError(Exception):
pass
class InvokeError(Exception):
pass
class ServerError(Exception):
pass
class ConnectionClosedError(Exception):
pass

View File

@@ -1,410 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import signal
import socket
import sys
import multiprocessing
import logging
from .connection import StreamConnection, WebsocketConnection
from .exceptions import ClientError, ServerError, ConnectionClosedError, InvokeError
class ClientLoggerAdapter(logging.LoggerAdapter):
def process(self, msg, kwargs):
return f"[Client {self.extra['address']}] {msg}", kwargs
class AsyncServerConnection(object):
# If a handler returns this object (e.g. `return self.NO_RESPONSE`), no
# return message will be automatically be sent back to the client
NO_RESPONSE = object()
def __init__(self, socket, proto_name, logger):
self.socket = socket
self.proto_name = proto_name
self.handlers = {
"ping": self.handle_ping,
}
self.logger = ClientLoggerAdapter(
logger,
{
"address": socket.address,
},
)
self.client_headers = {}
async def close(self):
await self.socket.close()
async def handle_headers(self, headers):
return {}
async def process_requests(self):
try:
self.logger.info("Client %r connected" % (self.socket.address,))
# Read protocol and version
client_protocol = await self.socket.recv()
if not client_protocol:
return
(client_proto_name, client_proto_version) = client_protocol.split()
if client_proto_name != self.proto_name:
self.logger.debug("Rejecting invalid protocol %s" % (self.proto_name))
return
self.proto_version = tuple(int(v) for v in client_proto_version.split("."))
if not self.validate_proto_version():
self.logger.debug(
"Rejecting invalid protocol version %s" % (client_proto_version)
)
return
# Read headers
self.client_headers = {}
while True:
header = await self.socket.recv()
if not header:
# Empty line. End of headers
break
tag, value = header.split(":", 1)
self.client_headers[tag.lower()] = value.strip()
if self.client_headers.get("needs-headers", "false") == "true":
for k, v in (await self.handle_headers(self.client_headers)).items():
await self.socket.send("%s: %s" % (k, v))
await self.socket.send("")
# Handle messages
while True:
d = await self.socket.recv_message()
if d is None:
break
try:
response = await self.dispatch_message(d)
except InvokeError as e:
await self.socket.send_message(
{"invoke-error": {"message": str(e)}}
)
break
if response is not self.NO_RESPONSE:
await self.socket.send_message(response)
except ConnectionClosedError as e:
self.logger.info(str(e))
except (ClientError, ConnectionError) as e:
self.logger.error(str(e))
finally:
await self.close()
async def dispatch_message(self, msg):
for k in self.handlers.keys():
if k in msg:
self.logger.debug("Handling %s" % k)
return await self.handlers[k](msg[k])
raise ClientError("Unrecognized command %r" % msg)
async def handle_ping(self, request):
return {"alive": True}
class StreamServer(object):
def __init__(self, handler, logger):
self.handler = handler
self.logger = logger
self.closed = False
async def handle_stream_client(self, reader, writer):
# writer.transport.set_write_buffer_limits(0)
socket = StreamConnection(reader, writer, -1)
if self.closed:
await socket.close()
return
await self.handler(socket)
async def stop(self):
self.closed = True
class TCPStreamServer(StreamServer):
def __init__(self, host, port, handler, logger, *, reuseport=False):
super().__init__(handler, logger)
self.host = host
self.port = port
self.reuseport = reuseport
def start(self, loop):
self.server = loop.run_until_complete(
asyncio.start_server(
self.handle_stream_client,
self.host,
self.port,
reuse_port=self.reuseport,
)
)
for s in self.server.sockets:
self.logger.debug("Listening on %r" % (s.getsockname(),))
# Newer python does this automatically. Do it manually here for
# maximum compatibility
s.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 1)
s.setsockopt(socket.SOL_TCP, socket.TCP_QUICKACK, 1)
# Enable keep alives. This prevents broken client connections
# from persisting on the server for long periods of time.
s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPIDLE, 30)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPINTVL, 15)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPCNT, 4)
name = self.server.sockets[0].getsockname()
if self.server.sockets[0].family == socket.AF_INET6:
self.address = "[%s]:%d" % (name[0], name[1])
else:
self.address = "%s:%d" % (name[0], name[1])
return [self.server.wait_closed()]
async def stop(self):
await super().stop()
self.server.close()
def cleanup(self):
pass
class UnixStreamServer(StreamServer):
def __init__(self, path, handler, logger):
super().__init__(handler, logger)
self.path = path
def start(self, loop):
cwd = os.getcwd()
try:
# Work around path length limits in AF_UNIX
os.chdir(os.path.dirname(self.path))
self.server = loop.run_until_complete(
asyncio.start_unix_server(
self.handle_stream_client, os.path.basename(self.path)
)
)
finally:
os.chdir(cwd)
self.logger.debug("Listening on %r" % self.path)
self.address = "unix://%s" % os.path.abspath(self.path)
return [self.server.wait_closed()]
async def stop(self):
await super().stop()
self.server.close()
def cleanup(self):
os.unlink(self.path)
class WebsocketsServer(object):
def __init__(self, host, port, handler, logger, *, reuseport=False):
self.host = host
self.port = port
self.handler = handler
self.logger = logger
self.reuseport = reuseport
def start(self, loop):
import websockets.server
self.server = loop.run_until_complete(
websockets.server.serve(
self.client_handler,
self.host,
self.port,
ping_interval=None,
reuse_port=self.reuseport,
)
)
for s in self.server.sockets:
self.logger.debug("Listening on %r" % (s.getsockname(),))
# Enable keep alives. This prevents broken client connections
# from persisting on the server for long periods of time.
s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPIDLE, 30)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPINTVL, 15)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPCNT, 4)
name = self.server.sockets[0].getsockname()
if self.server.sockets[0].family == socket.AF_INET6:
self.address = "ws://[%s]:%d" % (name[0], name[1])
else:
self.address = "ws://%s:%d" % (name[0], name[1])
return [self.server.wait_closed()]
async def stop(self):
self.server.close()
def cleanup(self):
pass
async def client_handler(self, websocket):
socket = WebsocketConnection(websocket, -1)
await self.handler(socket)
class AsyncServer(object):
def __init__(self, logger):
self.logger = logger
self.loop = None
self.run_tasks = []
def start_tcp_server(self, host, port, *, reuseport=False):
self.server = TCPStreamServer(
host,
port,
self._client_handler,
self.logger,
reuseport=reuseport,
)
def start_unix_server(self, path):
self.server = UnixStreamServer(path, self._client_handler, self.logger)
def start_websocket_server(self, host, port, reuseport=False):
self.server = WebsocketsServer(
host,
port,
self._client_handler,
self.logger,
reuseport=reuseport,
)
async def _client_handler(self, socket):
address = socket.address
try:
client = self.accept_client(socket)
await client.process_requests()
except Exception as e:
import traceback
self.logger.error(
"Error from client %s: %s" % (address, str(e)), exc_info=True
)
traceback.print_exc()
finally:
self.logger.debug("Client %s disconnected", address)
await socket.close()
@abc.abstractmethod
def accept_client(self, socket):
pass
async def stop(self):
self.logger.debug("Stopping server")
await self.server.stop()
def start(self):
tasks = self.server.start(self.loop)
self.address = self.server.address
return tasks
def signal_handler(self):
self.logger.debug("Got exit signal")
self.loop.create_task(self.stop())
def _serve_forever(self, tasks):
try:
self.loop.add_signal_handler(signal.SIGTERM, self.signal_handler)
self.loop.add_signal_handler(signal.SIGINT, self.signal_handler)
self.loop.add_signal_handler(signal.SIGQUIT, self.signal_handler)
signal.pthread_sigmask(signal.SIG_UNBLOCK, [signal.SIGTERM])
self.loop.run_until_complete(asyncio.gather(*tasks))
self.logger.debug("Server shutting down")
finally:
self.server.cleanup()
def serve_forever(self):
"""
Serve requests in the current process
"""
self._create_loop()
tasks = self.start()
self._serve_forever(tasks)
self.loop.close()
def _create_loop(self):
# Create loop and override any loop that may have existed in
# a parent process. It is possible that the usecases of
# serve_forever might be constrained enough to allow using
# get_event_loop here, but better safe than sorry for now.
self.loop = asyncio.new_event_loop()
asyncio.set_event_loop(self.loop)
def serve_as_process(self, *, prefunc=None, args=(), log_level=None):
"""
Serve requests in a child process
"""
def run(queue):
# Create loop and override any loop that may have existed
# in a parent process. Without doing this and instead
# using get_event_loop, at the very minimum the hashserv
# unit tests will hang when running the second test.
# This happens since get_event_loop in the spawned server
# process for the second testcase ends up with the loop
# from the hashserv client created in the unit test process
# when running the first testcase. The problem is somewhat
# more general, though, as any potential use of asyncio in
# Cooker could create a loop that needs to replaced in this
# new process.
self._create_loop()
try:
self.address = None
tasks = self.start()
finally:
# Always put the server address to wake up the parent task
queue.put(self.address)
queue.close()
if prefunc is not None:
prefunc(self, *args)
if log_level is not None:
self.logger.setLevel(log_level)
self._serve_forever(tasks)
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
queue = multiprocessing.Queue()
# Temporarily block SIGTERM. The server process will inherit this
# block which will ensure it doesn't receive the SIGTERM until the
# handler is ready for it
mask = signal.pthread_sigmask(signal.SIG_BLOCK, [signal.SIGTERM])
try:
self.process = multiprocessing.Process(target=run, args=(queue,))
self.process.start()
self.address = queue.get()
queue.close()
queue.join_thread()
return self.process
finally:
signal.pthread_sigmask(signal.SIG_SETMASK, mask)

File diff suppressed because it is too large Load Diff

View File

@@ -1,988 +0,0 @@
#
# BitBake Cache implementation
#
# Caching of bitbake variables before task execution
# Copyright (C) 2006 Richard Purdie
# Copyright (C) 2012 Intel Corporation
# but small sections based on code from bin/bitbake:
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import logging
import pickle
from collections import defaultdict
from collections.abc import Mapping
import bb.utils
from bb import PrefixLoggerAdapter
import re
import shutil
logger = logging.getLogger("BitBake.Cache")
__cache_version__ = "156"
def getCacheFile(path, filename, mc, data_hash):
mcspec = ''
if mc:
mcspec = ".%s" % mc
return os.path.join(path, filename + mcspec + "." + data_hash)
# RecipeInfoCommon defines common data retrieving methods
# from meta data for caches. CoreRecipeInfo as well as other
# Extra RecipeInfo needs to inherit this class
class RecipeInfoCommon(object):
@classmethod
def listvar(cls, var, metadata):
return cls.getvar(var, metadata).split()
@classmethod
def intvar(cls, var, metadata):
return int(cls.getvar(var, metadata) or 0)
@classmethod
def depvar(cls, var, metadata):
return bb.utils.explode_deps(cls.getvar(var, metadata))
@classmethod
def pkgvar(cls, var, packages, metadata):
return dict((pkg, cls.depvar("%s:%s" % (var, pkg), metadata))
for pkg in packages)
@classmethod
def taskvar(cls, var, tasks, metadata):
return dict((task, cls.getvar("%s:task-%s" % (var, task), metadata))
for task in tasks)
@classmethod
def flaglist(cls, flag, varlist, metadata, squash=False):
out_dict = dict((var, metadata.getVarFlag(var, flag))
for var in varlist)
if squash:
return dict((k,v) for (k,v) in out_dict.items() if v)
else:
return out_dict
@classmethod
def getvar(cls, var, metadata, expand = True):
return metadata.getVar(var, expand) or ''
class CoreRecipeInfo(RecipeInfoCommon):
__slots__ = ()
cachefile = "bb_cache.dat"
def __init__(self, filename, metadata):
self.file_depends = metadata.getVar('__depends', False)
self.timestamp = bb.parse.cached_mtime(filename)
self.variants = self.listvar('__VARIANTS', metadata) + ['']
self.appends = self.listvar('__BBAPPEND', metadata)
self.nocache = self.getvar('BB_DONT_CACHE', metadata)
self.provides = self.depvar('PROVIDES', metadata)
self.rprovides = self.depvar('RPROVIDES', metadata)
self.pn = self.getvar('PN', metadata) or bb.parse.vars_from_file(filename,metadata)[0]
self.packages = self.listvar('PACKAGES', metadata)
if not self.packages:
self.packages.append(self.pn)
self.packages_dynamic = self.listvar('PACKAGES_DYNAMIC', metadata)
self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata)
self.skipreason = self.getvar('__SKIPPED', metadata)
if self.skipreason:
self.skipped = True
return
self.tasks = metadata.getVar('__BBTASKS', False)
self.basetaskhashes = metadata.getVar('__siggen_basehashes', False) or {}
self.hashfilename = self.getvar('BB_HASHFILENAME', metadata)
self.task_deps = metadata.getVar('_task_deps', False) or {'tasks': [], 'parents': {}}
self.skipped = False
self.pe = self.getvar('PE', metadata)
self.pv = self.getvar('PV', metadata)
self.pr = self.getvar('PR', metadata)
self.defaultpref = self.intvar('DEFAULT_PREFERENCE', metadata)
self.not_world = self.getvar('EXCLUDE_FROM_WORLD', metadata)
self.stamp = self.getvar('STAMP', metadata)
self.stampclean = self.getvar('STAMPCLEAN', metadata)
self.stamp_extrainfo = self.flaglist('stamp-extra-info', self.tasks, metadata)
self.file_checksums = self.flaglist('file-checksums', self.tasks, metadata, True)
self.depends = self.depvar('DEPENDS', metadata)
self.rdepends = self.depvar('RDEPENDS', metadata)
self.rrecommends = self.depvar('RRECOMMENDS', metadata)
self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata)
self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata)
self.inherits = self.getvar('__inherit_cache', metadata, expand=False)
self.fakerootenv = self.getvar('FAKEROOTENV', metadata)
self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata)
self.fakerootlogs = self.getvar('FAKEROOTLOGS', metadata)
self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata)
self.extradepsfunc = self.getvar('calculate_extra_depends', metadata)
@classmethod
def init_cacheData(cls, cachedata):
# CacheData in Core RecipeInfo Class
cachedata.task_deps = {}
cachedata.pkg_fn = {}
cachedata.pkg_pn = defaultdict(list)
cachedata.pkg_pepvpr = {}
cachedata.pkg_dp = {}
cachedata.stamp = {}
cachedata.stampclean = {}
cachedata.stamp_extrainfo = {}
cachedata.file_checksums = {}
cachedata.fn_provides = {}
cachedata.pn_provides = defaultdict(list)
cachedata.all_depends = []
cachedata.deps = defaultdict(list)
cachedata.packages = defaultdict(list)
cachedata.providers = defaultdict(list)
cachedata.rproviders = defaultdict(list)
cachedata.packages_dynamic = defaultdict(list)
cachedata.rundeps = defaultdict(lambda: defaultdict(list))
cachedata.runrecs = defaultdict(lambda: defaultdict(list))
cachedata.possible_world = []
cachedata.universe_target = []
cachedata.hashfn = {}
cachedata.basetaskhash = {}
cachedata.inherits = {}
cachedata.fakerootenv = {}
cachedata.fakerootnoenv = {}
cachedata.fakerootdirs = {}
cachedata.fakerootlogs = {}
cachedata.extradepsfunc = {}
def add_cacheData(self, cachedata, fn):
cachedata.task_deps[fn] = self.task_deps
cachedata.pkg_fn[fn] = self.pn
cachedata.pkg_pn[self.pn].append(fn)
cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr)
cachedata.pkg_dp[fn] = self.defaultpref
cachedata.stamp[fn] = self.stamp
cachedata.stampclean[fn] = self.stampclean
cachedata.stamp_extrainfo[fn] = self.stamp_extrainfo
cachedata.file_checksums[fn] = self.file_checksums
provides = [self.pn]
for provide in self.provides:
if provide not in provides:
provides.append(provide)
cachedata.fn_provides[fn] = provides
for provide in provides:
cachedata.providers[provide].append(fn)
if provide not in cachedata.pn_provides[self.pn]:
cachedata.pn_provides[self.pn].append(provide)
for dep in self.depends:
if dep not in cachedata.deps[fn]:
cachedata.deps[fn].append(dep)
if dep not in cachedata.all_depends:
cachedata.all_depends.append(dep)
rprovides = self.rprovides
for package in self.packages:
cachedata.packages[package].append(fn)
rprovides += self.rprovides_pkg[package]
for rprovide in rprovides:
if fn not in cachedata.rproviders[rprovide]:
cachedata.rproviders[rprovide].append(fn)
for package in self.packages_dynamic:
cachedata.packages_dynamic[package].append(fn)
# Build hash of runtime depends and recommends
for package in self.packages:
cachedata.rundeps[fn][package] = list(self.rdepends) + self.rdepends_pkg[package]
cachedata.runrecs[fn][package] = list(self.rrecommends) + self.rrecommends_pkg[package]
# Collect files we may need for possible world-dep
# calculations
if not bb.utils.to_boolean(self.not_world):
cachedata.possible_world.append(fn)
#else:
# logger.debug2("EXCLUDE FROM WORLD: %s", fn)
# create a collection of all targets for sanity checking
# tasks, such as upstream versions, license, and tools for
# task and image creation.
cachedata.universe_target.append(self.pn)
cachedata.hashfn[fn] = self.hashfilename
for task, taskhash in self.basetaskhashes.items():
identifier = '%s:%s' % (fn, task)
cachedata.basetaskhash[identifier] = taskhash
cachedata.inherits[fn] = self.inherits
cachedata.fakerootenv[fn] = self.fakerootenv
cachedata.fakerootnoenv[fn] = self.fakerootnoenv
cachedata.fakerootdirs[fn] = self.fakerootdirs
cachedata.fakerootlogs[fn] = self.fakerootlogs
cachedata.extradepsfunc[fn] = self.extradepsfunc
class SiggenRecipeInfo(RecipeInfoCommon):
__slots__ = ()
classname = "SiggenRecipeInfo"
cachefile = "bb_cache_" + classname +".dat"
# we don't want to show this information in graph files so don't set cachefields
#cachefields = []
def __init__(self, filename, metadata):
self.siggen_gendeps = metadata.getVar("__siggen_gendeps", False)
self.siggen_varvals = metadata.getVar("__siggen_varvals", False)
self.siggen_taskdeps = metadata.getVar("__siggen_taskdeps", False)
@classmethod
def init_cacheData(cls, cachedata):
cachedata.siggen_taskdeps = {}
cachedata.siggen_gendeps = {}
cachedata.siggen_varvals = {}
def add_cacheData(self, cachedata, fn):
cachedata.siggen_gendeps[fn] = self.siggen_gendeps
cachedata.siggen_varvals[fn] = self.siggen_varvals
cachedata.siggen_taskdeps[fn] = self.siggen_taskdeps
# The siggen variable data is large and impacts:
# - bitbake's overall memory usage
# - the amount of data sent over IPC between parsing processes and the server
# - the size of the cache files on disk
# - the size of "sigdata" hash information files on disk
# The data consists of strings (some large) or frozenset lists of variables
# As such, we a) deplicate the data here and b) pass references to the object at second
# access (e.g. over IPC or saving into pickle).
store = {}
save_map = {}
save_count = 1
restore_map = {}
restore_count = {}
@classmethod
def reset(cls):
# Needs to be called before starting new streamed data in a given process
# (e.g. writing out the cache again)
cls.save_map = {}
cls.save_count = 1
cls.restore_map = {}
@classmethod
def _save(cls, deps):
ret = []
if not deps:
return deps
for dep in deps:
fs = deps[dep]
if fs is None:
ret.append((dep, None, None))
elif fs in cls.save_map:
ret.append((dep, None, cls.save_map[fs]))
else:
cls.save_map[fs] = cls.save_count
ret.append((dep, fs, cls.save_count))
cls.save_count = cls.save_count + 1
return ret
@classmethod
def _restore(cls, deps, pid):
ret = {}
if not deps:
return deps
if pid not in cls.restore_map:
cls.restore_map[pid] = {}
map = cls.restore_map[pid]
for dep, fs, mapnum in deps:
if fs is None and mapnum is None:
ret[dep] = None
elif fs is None:
ret[dep] = map[mapnum]
else:
try:
fs = cls.store[fs]
except KeyError:
cls.store[fs] = fs
map[mapnum] = fs
ret[dep] = fs
return ret
def __getstate__(self):
ret = {}
for key in ["siggen_gendeps", "siggen_taskdeps", "siggen_varvals"]:
ret[key] = self._save(self.__dict__[key])
ret['pid'] = os.getpid()
return ret
def __setstate__(self, state):
pid = state['pid']
for key in ["siggen_gendeps", "siggen_taskdeps", "siggen_varvals"]:
setattr(self, key, self._restore(state[key], pid))
def virtualfn2realfn(virtualfn):
"""
Convert a virtual file name to a real one + the associated subclass keyword
"""
mc = ""
if virtualfn.startswith('mc:') and virtualfn.count(':') >= 2:
(_, mc, virtualfn) = virtualfn.split(':', 2)
fn = virtualfn
cls = ""
if virtualfn.startswith('virtual:'):
elems = virtualfn.split(':')
cls = ":".join(elems[1:-1])
fn = elems[-1]
return (fn, cls, mc)
def realfn2virtual(realfn, cls, mc):
"""
Convert a real filename + the associated subclass keyword to a virtual filename
"""
if cls:
realfn = "virtual:" + cls + ":" + realfn
if mc:
realfn = "mc:" + mc + ":" + realfn
return realfn
def variant2virtual(realfn, variant):
"""
Convert a real filename + a variant to a virtual filename
"""
if variant == "":
return realfn
if variant.startswith("mc:") and variant.count(':') >= 2:
elems = variant.split(":")
if elems[2]:
return "mc:" + elems[1] + ":virtual:" + ":".join(elems[2:]) + ":" + realfn
return "mc:" + elems[1] + ":" + realfn
return "virtual:" + variant + ":" + realfn
#
# Cooker calls cacheValid on its recipe list, then either calls loadCached
# from it's main thread or parse from separate processes to generate an up to
# date cache
#
class Cache(object):
"""
BitBake Cache implementation
"""
def __init__(self, databuilder, mc, data_hash, caches_array):
self.databuilder = databuilder
self.data = databuilder.data
# Pass caches_array information into Cache Constructor
# It will be used later for deciding whether we
# need extra cache file dump/load support
self.mc = mc
self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else ''), logger)
self.caches_array = caches_array
self.cachedir = self.data.getVar("CACHE")
self.clean = set()
self.checked = set()
self.depends_cache = {}
self.data_fn = None
self.cacheclean = True
self.data_hash = data_hash
self.filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
if self.cachedir in [None, '']:
bb.fatal("Please ensure CACHE is set to the cache directory for BitBake to use")
def getCacheFile(self, cachefile):
return getCacheFile(self.cachedir, cachefile, self.mc, self.data_hash)
def prepare_cache(self, progress):
loaded = 0
self.cachefile = self.getCacheFile("bb_cache.dat")
self.logger.debug("Cache dir: %s", self.cachedir)
bb.utils.mkdirhier(self.cachedir)
cache_ok = True
if self.caches_array:
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
cache_exists = os.path.exists(cachefile)
self.logger.debug2("Checking if %s exists: %r", cachefile, cache_exists)
cache_ok = cache_ok and cache_exists
cache_class.init_cacheData(self)
if cache_ok:
loaded = self.load_cachefile(progress)
elif os.path.isfile(self.cachefile):
self.logger.info("Out of date cache found, rebuilding...")
else:
self.logger.debug("Cache file %s not found, building..." % self.cachefile)
# We don't use the symlink, its just for debugging convinience
if self.mc:
symlink = os.path.join(self.cachedir, "bb_cache.dat.%s" % self.mc)
else:
symlink = os.path.join(self.cachedir, "bb_cache.dat")
if os.path.exists(symlink) or os.path.islink(symlink):
bb.utils.remove(symlink)
try:
os.symlink(os.path.basename(self.cachefile), symlink)
except OSError:
pass
return loaded
def cachesize(self):
cachesize = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
try:
with open(cachefile, "rb") as cachefile:
cachesize += os.fstat(cachefile.fileno()).st_size
except FileNotFoundError:
pass
return cachesize
def load_cachefile(self, progress):
previous_progress = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
self.logger.debug('Loading cache file: %s' % cachefile)
with open(cachefile, "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
# Check cache version information
try:
cache_ver = pickled.load()
bitbake_ver = pickled.load()
except Exception:
self.logger.info('Invalid cache, rebuilding...')
return 0
if cache_ver != __cache_version__:
self.logger.info('Cache version mismatch, rebuilding...')
return 0
elif bitbake_ver != bb.__version__:
self.logger.info('Bitbake version mismatch, rebuilding...')
return 0
# Load the rest of the cache file
current_progress = 0
while cachefile:
try:
key = pickled.load()
value = pickled.load()
except Exception:
break
if not isinstance(key, str):
bb.warn("%s from extras cache is not a string?" % key)
break
if not isinstance(value, RecipeInfoCommon):
bb.warn("%s from extras cache is not a RecipeInfoCommon class?" % value)
break
if key in self.depends_cache:
self.depends_cache[key].append(value)
else:
self.depends_cache[key] = [value]
# only fire events on even percentage boundaries
current_progress = cachefile.tell() + previous_progress
progress(cachefile.tell() + previous_progress)
previous_progress += current_progress
return len(self.depends_cache)
def parse(self, filename, appends, layername):
"""Parse the specified filename, returning the recipe information"""
self.logger.debug("Parsing %s", filename)
infos = []
datastores = self.databuilder.parseRecipeVariants(filename, appends, mc=self.mc, layername=layername)
depends = []
variants = []
# Process the "real" fn last so we can store variants list
for variant, data in sorted(datastores.items(),
key=lambda i: i[0],
reverse=True):
virtualfn = variant2virtual(filename, variant)
variants.append(variant)
depends = depends + (data.getVar("__depends", False) or [])
if depends and not variant:
data.setVar("__depends", depends)
if virtualfn == filename:
data.setVar("__VARIANTS", " ".join(variants))
info_array = []
for cache_class in self.caches_array:
info = cache_class(filename, data)
info_array.append(info)
infos.append((virtualfn, info_array))
return infos
def loadCached(self, filename, appends):
"""Obtain the recipe information for the specified filename,
using cached values.
"""
infos = []
# info_array item is a list of [CoreRecipeInfo, XXXRecipeInfo]
info_array = self.depends_cache[filename]
for variant in info_array[0].variants:
virtualfn = variant2virtual(filename, variant)
infos.append((virtualfn, self.depends_cache[virtualfn]))
return infos
def cacheValid(self, fn, appends):
"""
Is the cache valid for fn?
Fast version, no timestamps checked.
"""
if fn not in self.checked:
self.cacheValidUpdate(fn, appends)
if fn in self.clean:
return True
return False
def cacheValidUpdate(self, fn, appends):
"""
Is the cache valid for fn?
Make thorough (slower) checks including timestamps.
"""
self.checked.add(fn)
# File isn't in depends_cache
if not fn in self.depends_cache:
self.logger.debug2("%s is not cached", fn)
return False
mtime = bb.parse.cached_mtime_noerror(fn)
# Check file still exists
if mtime == 0:
self.logger.debug2("%s no longer exists", fn)
self.remove(fn)
return False
info_array = self.depends_cache[fn]
# Check the file's timestamp
if mtime != info_array[0].timestamp:
self.logger.debug2("%s changed", fn)
self.remove(fn)
return False
# Check dependencies are still valid
depends = info_array[0].file_depends
if depends:
for f, old_mtime in depends:
fmtime = bb.parse.cached_mtime_noerror(f)
# Check if file still exists
if old_mtime != 0 and fmtime == 0:
self.logger.debug2("%s's dependency %s was removed",
fn, f)
self.remove(fn)
return False
if (fmtime != old_mtime):
self.logger.debug2("%s's dependency %s changed",
fn, f)
self.remove(fn)
return False
if hasattr(info_array[0], 'file_checksums'):
for _, fl in info_array[0].file_checksums.items():
fl = fl.strip()
if not fl:
continue
# Have to be careful about spaces and colons in filenames
flist = self.filelist_regex.split(fl)
for f in flist:
if not f:
continue
f, exist = f.rsplit(":", 1)
if (exist == "True" and not os.path.exists(f)) or (exist == "False" and os.path.exists(f)):
self.logger.debug2("%s's file checksum list file %s changed",
fn, f)
self.remove(fn)
return False
if tuple(appends) != tuple(info_array[0].appends):
self.logger.debug2("appends for %s changed", fn)
self.logger.debug2("%s to %s" % (str(appends), str(info_array[0].appends)))
self.remove(fn)
return False
invalid = False
for cls in info_array[0].variants:
virtualfn = variant2virtual(fn, cls)
self.clean.add(virtualfn)
if virtualfn not in self.depends_cache:
self.logger.debug2("%s is not cached", virtualfn)
invalid = True
elif len(self.depends_cache[virtualfn]) != len(self.caches_array):
self.logger.debug2("Extra caches missing for %s?" % virtualfn)
invalid = True
# If any one of the variants is not present, mark as invalid for all
if invalid:
for cls in info_array[0].variants:
virtualfn = variant2virtual(fn, cls)
if virtualfn in self.clean:
self.logger.debug2("Removing %s from cache", virtualfn)
self.clean.remove(virtualfn)
if fn in self.clean:
self.logger.debug2("Marking %s as not clean", fn)
self.clean.remove(fn)
return False
self.clean.add(fn)
return True
def remove(self, fn):
"""
Remove a fn from the cache
Called from the parser in error cases
"""
if fn in self.depends_cache:
self.logger.debug("Removing %s from cache", fn)
del self.depends_cache[fn]
if fn in self.clean:
self.logger.debug("Marking %s as unclean", fn)
self.clean.remove(fn)
def sync(self):
"""
Save the cache
Called from the parser when complete (or exiting)
"""
if self.cacheclean:
self.logger.debug2("Cache is clean, not saving.")
return
for cache_class in self.caches_array:
cache_class_name = cache_class.__name__
cachefile = self.getCacheFile(cache_class.cachefile)
self.logger.debug2("Writing %s", cachefile)
with open(cachefile, "wb") as f:
p = pickle.Pickler(f, pickle.HIGHEST_PROTOCOL)
p.dump(__cache_version__)
p.dump(bb.__version__)
for key, info_array in self.depends_cache.items():
for info in info_array:
if isinstance(info, RecipeInfoCommon) and info.__class__.__name__ == cache_class_name:
p.dump(key)
p.dump(info)
del self.depends_cache
SiggenRecipeInfo.reset()
@staticmethod
def mtime(cachefile):
return bb.parse.cached_mtime_noerror(cachefile)
def add_info(self, filename, info_array, cacheData, parsed=None, watcher=None):
if self.mc is not None:
(fn, cls, mc) = virtualfn2realfn(filename)
if mc:
self.logger.error("Unexpected multiconfig %s", filename)
return
vfn = realfn2virtual(fn, cls, self.mc)
else:
vfn = filename
if isinstance(info_array[0], CoreRecipeInfo) and (not info_array[0].skipped):
cacheData.add_from_recipeinfo(vfn, info_array)
if watcher:
watcher(info_array[0].file_depends)
if (info_array[0].skipped or 'SRCREVINACTION' not in info_array[0].pv) and not info_array[0].nocache:
if parsed:
self.cacheclean = False
self.depends_cache[filename] = info_array
class MulticonfigCache(Mapping):
def __init__(self, databuilder, data_hash, caches_array):
def progress(p):
nonlocal current_progress
nonlocal previous_progress
nonlocal previous_percent
nonlocal cachesize
current_progress = previous_progress + p
if current_progress > cachesize:
# we might have calculated incorrect total size because a file
# might've been written out just after we checked its size
cachesize = current_progress
current_percent = 100 * current_progress / cachesize
if current_percent > previous_percent:
previous_percent = current_percent
bb.event.fire(bb.event.CacheLoadProgress(current_progress, cachesize),
databuilder.data)
cachesize = 0
current_progress = 0
previous_progress = 0
previous_percent = 0
self.__caches = {}
for mc, mcdata in databuilder.mcdata.items():
self.__caches[mc] = Cache(databuilder, mc, data_hash, caches_array)
cachesize += self.__caches[mc].cachesize()
bb.event.fire(bb.event.CacheLoadStarted(cachesize), databuilder.data)
loaded = 0
for c in self.__caches.values():
SiggenRecipeInfo.reset()
loaded += c.prepare_cache(progress)
previous_progress = current_progress
# Note: depends cache number is corresponding to the parsing file numbers.
# The same file has several caches, still regarded as one item in the cache
bb.event.fire(bb.event.CacheLoadCompleted(cachesize, loaded), databuilder.data)
def __len__(self):
return len(self.__caches)
def __getitem__(self, key):
return self.__caches[key]
def __contains__(self, key):
return key in self.__caches
def __iter__(self):
for k in self.__caches:
yield k
class CacheData(object):
"""
The data structures we compile from the cached data
"""
def __init__(self, caches_array):
self.caches_array = caches_array
for cache_class in self.caches_array:
if not issubclass(cache_class, RecipeInfoCommon):
bb.error("Extra cache data class %s should subclass RecipeInfoCommon class" % cache_class)
cache_class.init_cacheData(self)
# Direct cache variables
self.task_queues = {}
self.preferred = {}
self.tasks = {}
# Indirect Cache variables (set elsewhere)
self.ignored_dependencies = []
self.world_target = set()
self.bbfile_priority = {}
def add_from_recipeinfo(self, fn, info_array):
for info in info_array:
info.add_cacheData(self, fn)
class MultiProcessCache(object):
"""
BitBake multi-process cache implementation
Used by the codeparser & file checksum caches
"""
def __init__(self):
self.cachefile = None
self.cachedata = self.create_cachedata()
self.cachedata_extras = self.create_cachedata()
def init_cache(self, cachedir, cache_file_name=None):
if not cachedir:
return
bb.utils.mkdirhier(cachedir)
self.cachefile = os.path.join(cachedir,
cache_file_name or self.__class__.cache_file_name)
logger.debug("Using cache in '%s'", self.cachefile)
glf = bb.utils.lockfile(self.cachefile + ".lock")
try:
with open(self.cachefile, "rb") as f:
p = pickle.Unpickler(f)
data, version = p.load()
except:
bb.utils.unlockfile(glf)
return
bb.utils.unlockfile(glf)
if version != self.__class__.CACHE_VERSION:
return
self.cachedata = data
def create_cachedata(self):
data = [{}]
return data
def clear_cache(self):
if not self.cachefile:
bb.fatal("Can't clear invalid cachefile")
self.cachedata = self.create_cachedata()
self.cachedata_extras = self.create_cachedata()
with bb.utils.fileslocked([self.cachefile + ".lock"]):
bb.utils.remove(self.cachefile)
bb.utils.remove(self.cachefile + "-*")
def save_extras(self):
if not self.cachefile:
return
have_data = any(self.cachedata_extras)
if not have_data:
return
glf = bb.utils.lockfile(self.cachefile + ".lock", shared=True)
i = os.getpid()
lf = None
while not lf:
lf = bb.utils.lockfile(self.cachefile + ".lock." + str(i), retry=False)
if not lf or os.path.exists(self.cachefile + "-" + str(i)):
if lf:
bb.utils.unlockfile(lf)
lf = None
i = i + 1
continue
with open(self.cachefile + "-" + str(i), "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([self.cachedata_extras, self.__class__.CACHE_VERSION])
bb.utils.unlockfile(lf)
bb.utils.unlockfile(glf)
def merge_data(self, source, dest):
for j in range(0,len(dest)):
for h in source[j]:
if h not in dest[j]:
dest[j][h] = source[j][h]
def save_merge(self):
if not self.cachefile:
return
glf = bb.utils.lockfile(self.cachefile + ".lock")
data = self.cachedata
have_data = False
for f in [y for y in os.listdir(os.path.dirname(self.cachefile)) if y.startswith(os.path.basename(self.cachefile) + '-')]:
f = os.path.join(os.path.dirname(self.cachefile), f)
try:
with open(f, "rb") as fd:
p = pickle.Unpickler(fd)
extradata, version = p.load()
except (IOError, EOFError):
os.unlink(f)
continue
if version != self.__class__.CACHE_VERSION:
os.unlink(f)
continue
have_data = True
self.merge_data(extradata, data)
os.unlink(f)
if have_data:
with open(self.cachefile, "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([data, self.__class__.CACHE_VERSION])
bb.utils.unlockfile(glf)
class SimpleCache(object):
"""
BitBake multi-process cache implementation
Used by the codeparser & file checksum caches
"""
def __init__(self, version):
self.cachefile = None
self.cachedata = None
self.cacheversion = version
def init_cache(self, d, cache_file_name=None, defaultdata=None):
cachedir = (d.getVar("PERSISTENT_DIR") or
d.getVar("CACHE"))
if not cachedir:
return defaultdata
bb.utils.mkdirhier(cachedir)
self.cachefile = os.path.join(cachedir,
cache_file_name or self.__class__.cache_file_name)
logger.debug("Using cache in '%s'", self.cachefile)
glf = bb.utils.lockfile(self.cachefile + ".lock")
try:
with open(self.cachefile, "rb") as f:
p = pickle.Unpickler(f)
data, version = p.load()
except:
bb.utils.unlockfile(glf)
return defaultdata
bb.utils.unlockfile(glf)
if version != self.cacheversion:
return defaultdata
return data
def save(self, data):
if not self.cachefile:
return
glf = bb.utils.lockfile(self.cachefile + ".lock")
with open(self.cachefile, "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([data, self.cacheversion])
bb.utils.unlockfile(glf)
def copyfile(self, target):
if not self.cachefile:
return
glf = bb.utils.lockfile(self.cachefile + ".lock")
shutil.copy(self.cachefile, target)
bb.utils.unlockfile(glf)

View File

@@ -1,63 +0,0 @@
#
# Extra RecipeInfo will be all defined in this file. Currently,
# Only Hob (Image Creator) Requests some extra fields. So
# HobRecipeInfo is defined. It's named HobRecipeInfo because it
# is introduced by 'hob'. Users could also introduce other
# RecipeInfo or simply use those already defined RecipeInfo.
# In the following patch, this newly defined new extra RecipeInfo
# will be dynamically loaded and used for loading/saving the extra
# cache fields
# Copyright (C) 2011, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: GPL-2.0-only
#
from bb.cache import RecipeInfoCommon
class HobRecipeInfo(RecipeInfoCommon):
__slots__ = ()
classname = "HobRecipeInfo"
# please override this member with the correct data cache file
# such as (bb_cache.dat, bb_extracache_hob.dat)
cachefile = "bb_extracache_" + classname +".dat"
# override this member with the list of extra cache fields
# that this class will provide
cachefields = ['summary', 'license', 'section',
'description', 'homepage', 'bugtracker',
'prevision', 'files_info']
def __init__(self, filename, metadata):
self.summary = self.getvar('SUMMARY', metadata)
self.license = self.getvar('LICENSE', metadata)
self.section = self.getvar('SECTION', metadata)
self.description = self.getvar('DESCRIPTION', metadata)
self.homepage = self.getvar('HOMEPAGE', metadata)
self.bugtracker = self.getvar('BUGTRACKER', metadata)
self.prevision = self.getvar('PR', metadata)
self.files_info = self.getvar('FILES_INFO', metadata)
@classmethod
def init_cacheData(cls, cachedata):
# CacheData in Hob RecipeInfo Class
cachedata.summary = {}
cachedata.license = {}
cachedata.section = {}
cachedata.description = {}
cachedata.homepage = {}
cachedata.bugtracker = {}
cachedata.prevision = {}
cachedata.files_info = {}
def add_cacheData(self, cachedata, fn):
cachedata.summary[fn] = self.summary
cachedata.license[fn] = self.license
cachedata.section[fn] = self.section
cachedata.description[fn] = self.description
cachedata.homepage[fn] = self.homepage
cachedata.bugtracker[fn] = self.bugtracker
cachedata.prevision[fn] = self.prevision
cachedata.files_info[fn] = self.files_info

View File

@@ -1,169 +0,0 @@
# Local file checksum cache implementation
#
# Copyright (C) 2012 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import glob
import operator
import os
import stat
import bb.utils
import logging
import re
from bb.cache import MultiProcessCache
logger = logging.getLogger("BitBake.Cache")
filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
# mtime cache (non-persistent)
# based upon the assumption that files do not change during bitbake run
class FileMtimeCache(object):
cache = {}
def cached_mtime(self, f):
if f not in self.cache:
self.cache[f] = os.stat(f)[stat.ST_MTIME]
return self.cache[f]
def cached_mtime_noerror(self, f):
if f not in self.cache:
try:
self.cache[f] = os.stat(f)[stat.ST_MTIME]
except OSError:
return 0
return self.cache[f]
def update_mtime(self, f):
self.cache[f] = os.stat(f)[stat.ST_MTIME]
return self.cache[f]
def clear(self):
self.cache.clear()
# Checksum + mtime cache (persistent)
class FileChecksumCache(MultiProcessCache):
cache_file_name = "local_file_checksum_cache.dat"
CACHE_VERSION = 1
def __init__(self):
self.mtime_cache = FileMtimeCache()
MultiProcessCache.__init__(self)
def get_checksum(self, f):
f = os.path.normpath(f)
entry = self.cachedata[0].get(f)
cmtime = self.mtime_cache.cached_mtime(f)
if entry:
(mtime, hashval) = entry
if cmtime == mtime:
return hashval
else:
bb.debug(2, "file %s changed mtime, recompute checksum" % f)
hashval = bb.utils.md5_file(f)
self.cachedata_extras[0][f] = (cmtime, hashval)
return hashval
def merge_data(self, source, dest):
for h in source[0]:
if h in dest:
(smtime, _) = source[0][h]
(dmtime, _) = dest[0][h]
if smtime > dmtime:
dest[0][h] = source[0][h]
else:
dest[0][h] = source[0][h]
def get_checksums(self, filelist, pn, localdirsexclude):
"""Get checksums for a list of files"""
def checksum_file(f):
try:
checksum = self.get_checksum(f)
except OSError as e:
bb.warn("Unable to get checksum for %s SRC_URI entry %s: %s" % (pn, os.path.basename(f), e))
return None
return checksum
#
# Changing the format of file-checksums is problematic as both OE and Bitbake have
# knowledge of them. We need to encode a new piece of data, the portion of the path
# we care about from a checksum perspective. This means that files that change subdirectory
# are tracked by the task hashes. To do this, we do something horrible and put a "/./" into
# the path. The filesystem handles it but it gives us a marker to know which subsection
# of the path to cache.
#
def checksum_dir(pth):
# Handle directories recursively
if pth == "/":
bb.fatal("Refusing to checksum /")
pth = pth.rstrip("/")
dirchecksums = []
for root, dirs, files in os.walk(pth, topdown=True):
[dirs.remove(d) for d in list(dirs) if d in localdirsexclude]
for name in files:
fullpth = os.path.join(root, name).replace(pth, os.path.join(pth, "."))
checksum = checksum_file(fullpth)
if checksum:
dirchecksums.append((fullpth, checksum))
return dirchecksums
checksums = []
for pth in filelist_regex.split(filelist):
if not pth:
continue
pth = pth.strip()
if not pth:
continue
exist = pth.split(":")[1]
if exist == "False":
continue
pth = pth.split(":")[0]
if '*' in pth:
# Handle globs
for f in glob.glob(pth):
if os.path.isdir(f):
if not os.path.islink(f):
checksums.extend(checksum_dir(f))
else:
checksum = checksum_file(f)
if checksum:
checksums.append((f, checksum))
elif os.path.isdir(pth):
if not os.path.islink(pth):
checksums.extend(checksum_dir(pth))
else:
checksum = checksum_file(pth)
if checksum:
checksums.append((pth, checksum))
checksums.sort(key=operator.itemgetter(1))
return checksums
class RevisionsCache(MultiProcessCache):
cache_file_name = "local_srcrevisions.dat"
CACHE_VERSION = 1
def __init__(self):
MultiProcessCache.__init__(self)
def get_revs(self):
return self.cachedata[0]
def get_rev(self, k):
if k in self.cachedata_extras[0]:
return self.cachedata_extras[0][k]
if k in self.cachedata[0]:
return self.cachedata[0][k]
return None
def set_rev(self, k, v):
self.cachedata[0][k] = v
self.cachedata_extras[0][k] = v
def merge_data(self, source, dest):
for h in source[0]:
dest[0][h] = source[0][h]

View File

@@ -1,562 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
BitBake code parser
Parses actual code (i.e. python and shell) for functions and in-line
expressions. Used mainly to determine dependencies on other functions
and variables within the BitBake metadata. Also provides a cache for
this information in order to speed up processing.
(Not to be confused with the code that parses the metadata itself,
see lib/bb/parse/ for that).
NOTE: if you change how the parsers gather information you will almost
certainly need to increment CodeParserCache.CACHE_VERSION below so that
any existing codeparser cache gets invalidated. Additionally you'll need
to increment __cache_version__ in cache.py in order to ensure that old
recipe caches don't trigger "Taskhash mismatch" errors.
"""
import ast
import sys
import codegen
import logging
import inspect
import bb.pysh as pysh
import bb.utils, bb.data
import hashlib
from itertools import chain
from bb.pysh import pyshyacc, pyshlex
from bb.cache import MultiProcessCache
logger = logging.getLogger('BitBake.CodeParser')
def bbhash(s):
return hashlib.sha256(s.encode("utf-8")).hexdigest()
def check_indent(codestr):
"""If the code is indented, add a top level piece of code to 'remove' the indentation"""
i = 0
while codestr[i] in ["\n", "\t", " "]:
i = i + 1
if i == 0:
return codestr
if codestr[i-1] == "\t" or codestr[i-1] == " ":
if codestr[0] == "\n":
# Since we're adding a line, we need to remove one line of any empty padding
# to ensure line numbers are correct
codestr = codestr[1:]
return "if 1:\n" + codestr
return codestr
modulecode_deps = {}
def add_module_functions(fn, functions, namespace):
import os
fstat = os.stat(fn)
fixedhash = fn + ":" + str(fstat.st_size) + ":" + str(fstat.st_mtime)
for f in functions:
name = "%s.%s" % (namespace, f)
parser = PythonParser(name, logger)
try:
parser.parse_python(None, filename=fn, lineno=1, fixedhash=fixedhash+f)
#bb.warn("Cached %s" % f)
except KeyError:
try:
targetfn = inspect.getsourcefile(functions[f])
except TypeError:
# Builtin
continue
if fn != targetfn:
# Skip references to other modules outside this file
#bb.warn("Skipping %s" % name)
continue
try:
lines, lineno = inspect.getsourcelines(functions[f])
except TypeError:
# Builtin
continue
src = "".join(lines)
parser.parse_python(src, filename=fn, lineno=lineno, fixedhash=fixedhash+f)
#bb.warn("Not cached %s" % f)
execs = parser.execs.copy()
# Expand internal module exec references
for e in parser.execs:
if e in functions:
execs.remove(e)
execs.add(namespace + "." + e)
visitorcode = None
if hasattr(functions[f], 'visitorcode'):
visitorcode = getattr(functions[f], "visitorcode")
modulecode_deps[name] = [parser.references.copy(), execs, parser.var_execs.copy(), parser.contains.copy(), parser.extra, visitorcode]
#bb.warn("%s: %s\nRefs:%s Execs: %s %s %s" % (name, fn, parser.references, parser.execs, parser.var_execs, parser.contains))
def update_module_dependencies(d):
for mod in modulecode_deps:
excludes = set((d.getVarFlag(mod, "vardepsexclude") or "").split())
if excludes:
modulecode_deps[mod] = [modulecode_deps[mod][0] - excludes, modulecode_deps[mod][1] - excludes, modulecode_deps[mod][2] - excludes, modulecode_deps[mod][3], modulecode_deps[mod][4], modulecode_deps[mod][5]]
# A custom getstate/setstate using tuples is actually worth 15% cachesize by
# avoiding duplication of the attribute names!
class SetCache(object):
def __init__(self):
self.setcache = {}
def internSet(self, items):
new = []
for i in items:
new.append(sys.intern(i))
s = frozenset(new)
h = hash(s)
if h in self.setcache:
return self.setcache[h]
self.setcache[h] = s
return s
codecache = SetCache()
class pythonCacheLine(object):
def __init__(self, refs, execs, contains, extra):
self.refs = codecache.internSet(refs)
self.execs = codecache.internSet(execs)
self.contains = {}
for c in contains:
self.contains[c] = codecache.internSet(contains[c])
self.extra = extra
def __getstate__(self):
return (self.refs, self.execs, self.contains, self.extra)
def __setstate__(self, state):
(refs, execs, contains, extra) = state
self.__init__(refs, execs, contains, extra)
def __hash__(self):
l = (hash(self.refs), hash(self.execs), hash(self.extra))
for c in sorted(self.contains.keys()):
l = l + (c, hash(self.contains[c]))
return hash(l)
def __repr__(self):
return " ".join([str(self.refs), str(self.execs), str(self.contains)])
class shellCacheLine(object):
def __init__(self, execs):
self.execs = codecache.internSet(execs)
def __getstate__(self):
return (self.execs)
def __setstate__(self, state):
(execs) = state
self.__init__(execs)
def __hash__(self):
return hash(self.execs)
def __repr__(self):
return str(self.execs)
class CodeParserCache(MultiProcessCache):
cache_file_name = "bb_codeparser.dat"
# NOTE: you must increment this if you change how the parsers gather information,
# so that an existing cache gets invalidated. Additionally you'll need
# to increment __cache_version__ in cache.py in order to ensure that old
# recipe caches don't trigger "Taskhash mismatch" errors.
CACHE_VERSION = 14
def __init__(self):
MultiProcessCache.__init__(self)
self.pythoncache = self.cachedata[0]
self.shellcache = self.cachedata[1]
self.pythoncacheextras = self.cachedata_extras[0]
self.shellcacheextras = self.cachedata_extras[1]
# To avoid duplication in the codeparser cache, keep
# a lookup of hashes of objects we already have
self.pythoncachelines = {}
self.shellcachelines = {}
def newPythonCacheLine(self, refs, execs, contains, extra):
cacheline = pythonCacheLine(refs, execs, contains, extra)
h = hash(cacheline)
if h in self.pythoncachelines:
return self.pythoncachelines[h]
self.pythoncachelines[h] = cacheline
return cacheline
def newShellCacheLine(self, execs):
cacheline = shellCacheLine(execs)
h = hash(cacheline)
if h in self.shellcachelines:
return self.shellcachelines[h]
self.shellcachelines[h] = cacheline
return cacheline
def init_cache(self, cachedir):
# Check if we already have the caches
if self.pythoncache:
return
MultiProcessCache.init_cache(self, cachedir)
# cachedata gets re-assigned in the parent
self.pythoncache = self.cachedata[0]
self.shellcache = self.cachedata[1]
def create_cachedata(self):
data = [{}, {}]
return data
codeparsercache = CodeParserCache()
def parser_cache_init(cachedir):
codeparsercache.init_cache(cachedir)
def parser_cache_save():
codeparsercache.save_extras()
def parser_cache_savemerge():
codeparsercache.save_merge()
Logger = logging.getLoggerClass()
class BufferedLogger(Logger):
def __init__(self, name, level=0, target=None):
Logger.__init__(self, name)
self.setLevel(level)
self.buffer = []
self.target = target
def handle(self, record):
self.buffer.append(record)
def flush(self):
for record in self.buffer:
if self.target.isEnabledFor(record.levelno):
self.target.handle(record)
self.buffer = []
class DummyLogger():
def flush(self):
return
class PythonParser():
getvars = (".getVar", ".appendVar", ".prependVar", "oe.utils.conditional")
getvarflags = (".getVarFlag", ".appendVarFlag", ".prependVarFlag")
containsfuncs = ("bb.utils.contains", "base_contains")
containsanyfuncs = ("bb.utils.contains_any", "bb.utils.filter")
execfuncs = ("bb.build.exec_func", "bb.build.exec_task")
def warn(self, func, arg):
"""Warn about calls of bitbake APIs which pass a non-literal
argument for the variable name, as we're not able to track such
a reference.
"""
try:
funcstr = codegen.to_source(func)
argstr = codegen.to_source(arg)
except TypeError:
self.log.debug2('Failed to convert function and argument to source form')
else:
self.log.debug(self.unhandled_message % (funcstr, argstr))
def visit_Call(self, node):
name = self.called_node_name(node.func)
if name and name in modulecode_deps and modulecode_deps[name][5]:
visitorcode = modulecode_deps[name][5]
contains, execs, warn = visitorcode(name, node.args)
for i in contains:
self.contains[i] = contains[i]
self.execs |= execs
if warn:
self.warn(node.func, warn)
elif name and (name.endswith(self.getvars) or name.endswith(self.getvarflags) or name in self.containsfuncs or name in self.containsanyfuncs):
if isinstance(node.args[0], ast.Constant) and isinstance(node.args[0].value, str):
varname = node.args[0].value
if name in self.containsfuncs and isinstance(node.args[1], ast.Constant):
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname].add(node.args[1].value)
elif name in self.containsanyfuncs and isinstance(node.args[1], ast.Constant):
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname].update(node.args[1].value.split())
elif name.endswith(self.getvarflags):
if isinstance(node.args[1], ast.Constant):
self.references.add('%s[%s]' % (varname, node.args[1].value))
else:
self.warn(node.func, node.args[1])
else:
self.references.add(varname)
else:
self.warn(node.func, node.args[0])
elif name and name.endswith(".expand"):
if isinstance(node.args[0], ast.Constant):
value = node.args[0].value
d = bb.data.init()
parser = d.expandWithRefs(value, self.name)
self.references |= parser.references
self.execs |= parser.execs
for varname in parser.contains:
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname] |= parser.contains[varname]
elif name in self.execfuncs:
if isinstance(node.args[0], ast.Constant):
self.var_execs.add(node.args[0].value)
else:
self.warn(node.func, node.args[0])
elif name and isinstance(node.func, (ast.Name, ast.Attribute)):
self.execs.add(name)
def called_node_name(self, node):
"""Given a called node, return its original string form"""
components = []
while node:
if isinstance(node, ast.Attribute):
components.append(node.attr)
node = node.value
elif isinstance(node, ast.Name):
components.append(node.id)
return '.'.join(reversed(components))
else:
break
def __init__(self, name, log):
self.name = name
self.var_execs = set()
self.contains = {}
self.execs = set()
self.references = set()
self._log = log
# Defer init as expensive
self.log = DummyLogger()
self.unhandled_message = "in call of %s, argument '%s' is not a string literal"
self.unhandled_message = "while parsing %s, %s" % (name, self.unhandled_message)
# For the python module code it is expensive to have the function text so it is
# uses a different fixedhash to cache against. We can take the hit on obtaining the
# text if it isn't in the cache.
def parse_python(self, node, lineno=0, filename="<string>", fixedhash=None):
if not fixedhash and (not node or not node.strip()):
return
if fixedhash:
h = fixedhash
else:
h = bbhash(str(node))
if h in codeparsercache.pythoncache:
self.references = set(codeparsercache.pythoncache[h].refs)
self.execs = set(codeparsercache.pythoncache[h].execs)
self.contains = {}
for i in codeparsercache.pythoncache[h].contains:
self.contains[i] = set(codeparsercache.pythoncache[h].contains[i])
self.extra = codeparsercache.pythoncache[h].extra
return
if h in codeparsercache.pythoncacheextras:
self.references = set(codeparsercache.pythoncacheextras[h].refs)
self.execs = set(codeparsercache.pythoncacheextras[h].execs)
self.contains = {}
for i in codeparsercache.pythoncacheextras[h].contains:
self.contains[i] = set(codeparsercache.pythoncacheextras[h].contains[i])
self.extra = codeparsercache.pythoncacheextras[h].extra
return
if fixedhash and not node:
raise KeyError
# Need to parse so take the hit on the real log buffer
self.log = BufferedLogger('BitBake.Data.PythonParser', logging.DEBUG, self._log)
# We can't add to the linenumbers for compile, we can pad to the correct number of blank lines though
node = "\n" * int(lineno) + node
code = compile(check_indent(str(node)), filename, "exec",
ast.PyCF_ONLY_AST)
for n in ast.walk(code):
if n.__class__.__name__ == "Call":
self.visit_Call(n)
self.execs.update(self.var_execs)
self.extra = None
if fixedhash:
self.extra = bbhash(str(node))
codeparsercache.pythoncacheextras[h] = codeparsercache.newPythonCacheLine(self.references, self.execs, self.contains, self.extra)
class ShellParser():
def __init__(self, name, log):
self.funcdefs = set()
self.allexecs = set()
self.execs = set()
self._name = name
self._log = log
# Defer init as expensive
self.log = DummyLogger()
self.unhandled_template = "unable to handle non-literal command '%s'"
self.unhandled_template = "while parsing %s, %s" % (name, self.unhandled_template)
def parse_shell(self, value):
"""Parse the supplied shell code in a string, returning the external
commands it executes.
"""
h = bbhash(str(value))
if h in codeparsercache.shellcache:
self.execs = set(codeparsercache.shellcache[h].execs)
return self.execs
if h in codeparsercache.shellcacheextras:
self.execs = set(codeparsercache.shellcacheextras[h].execs)
return self.execs
# Need to parse so take the hit on the real log buffer
self.log = BufferedLogger('BitBake.Data.%s' % self._name, logging.DEBUG, self._log)
self._parse_shell(value)
self.execs = set(cmd for cmd in self.allexecs if cmd not in self.funcdefs)
codeparsercache.shellcacheextras[h] = codeparsercache.newShellCacheLine(self.execs)
return self.execs
def _parse_shell(self, value):
try:
tokens, _ = pyshyacc.parse(value, eof=True, debug=False)
except Exception:
bb.error('Error during parse shell code, the last 5 lines are:\n%s' % '\n'.join(value.split('\n')[-5:]))
raise
self.process_tokens(tokens)
def process_tokens(self, tokens):
"""Process a supplied portion of the syntax tree as returned by
pyshyacc.parse.
"""
def function_definition(value):
self.funcdefs.add(value.name)
return [value.body], None
def case_clause(value):
# Element 0 of each item in the case is the list of patterns, and
# Element 1 of each item in the case is the list of commands to be
# executed when that pattern matches.
words = chain(*[item[0] for item in value.items])
cmds = chain(*[item[1] for item in value.items])
return cmds, words
def if_clause(value):
main = chain(value.cond, value.if_cmds)
rest = value.else_cmds
if isinstance(rest, tuple) and rest[0] == "elif":
return chain(main, if_clause(rest[1]))
else:
return chain(main, rest)
def simple_command(value):
return None, chain(value.words, (assign[1] for assign in value.assigns))
token_handlers = {
"and_or": lambda x: ((x.left, x.right), None),
"async": lambda x: ([x], None),
"brace_group": lambda x: (x.cmds, None),
"for_clause": lambda x: (x.cmds, x.items),
"function_definition": function_definition,
"if_clause": lambda x: (if_clause(x), None),
"pipeline": lambda x: (x.commands, None),
"redirect_list": lambda x: ([x.cmd], None),
"subshell": lambda x: (x.cmds, None),
"while_clause": lambda x: (chain(x.condition, x.cmds), None),
"until_clause": lambda x: (chain(x.condition, x.cmds), None),
"simple_command": simple_command,
"case_clause": case_clause,
}
def process_token_list(tokens):
for token in tokens:
if isinstance(token, list):
process_token_list(token)
continue
name, value = token
try:
more_tokens, words = token_handlers[name](value)
except KeyError:
raise NotImplementedError("Unsupported token type " + name)
if more_tokens:
self.process_tokens(more_tokens)
if words:
self.process_words(words)
process_token_list(tokens)
def process_words(self, words):
"""Process a set of 'words' in pyshyacc parlance, which includes
extraction of executed commands from $() blocks, as well as grabbing
the command name argument.
"""
words = list(words)
for word in words:
wtree = pyshlex.make_wordtree(word[1])
for part in wtree:
if not isinstance(part, list):
continue
candidates = [part]
# If command is of type:
#
# var="... $(cmd [...]) ..."
#
# Then iterate on what's between the quotes and if we find a
# list, make that what we check for below.
if len(part) >= 3 and part[0] == '"':
for p in part[1:-1]:
if isinstance(p, list):
candidates.append(p)
for candidate in candidates:
if len(candidate) >= 2:
if candidate[0] in ('`', '$('):
command = pyshlex.wordtree_as_string(candidate[1:-1])
self._parse_shell(command)
if word[0] in ("cmd_name", "cmd_word"):
if word in words:
words.remove(word)
usetoken = False
for word in words:
if word[0] in ("cmd_name", "cmd_word") or \
(usetoken and word[0] == "TOKEN"):
if "=" in word[1]:
usetoken = True
continue
cmd = word[1]
if cmd.startswith("$"):
self.log.debug(self.unhandled_template % cmd)
elif cmd == "eval":
command = " ".join(word for _, word in words[1:])
self._parse_shell(command)
else:
self.allexecs.add(cmd)
break

View File

@@ -1,813 +0,0 @@
"""
BitBake 'Command' module
Provide an interface to interact with the bitbake server through 'commands'
"""
# Copyright (C) 2006-2007 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
The bitbake server takes 'commands' from its UI/commandline.
Commands are either synchronous or asynchronous.
Async commands return data to the client in the form of events.
Sync commands must only return data through the function return value
and must not trigger events, directly or indirectly.
Commands are queued in a CommandQueue
"""
from collections import OrderedDict, defaultdict
import io
import bb.event
import bb.cooker
import bb.remotedata
import bb.parse
class DataStoreConnectionHandle(object):
def __init__(self, dsindex=0):
self.dsindex = dsindex
class CommandCompleted(bb.event.Event):
pass
class CommandExit(bb.event.Event):
def __init__(self, exitcode):
bb.event.Event.__init__(self)
self.exitcode = int(exitcode)
class CommandFailed(CommandExit):
def __init__(self, message):
self.error = message
CommandExit.__init__(self, 1)
def __str__(self):
return "Command execution failed: %s" % self.error
class CommandError(Exception):
pass
class Command:
"""
A queue of asynchronous commands for bitbake
"""
def __init__(self, cooker, process_server):
self.cooker = cooker
self.cmds_sync = CommandsSync()
self.cmds_async = CommandsAsync()
self.remotedatastores = None
self.process_server = process_server
# Access with locking using process_server.{get/set/clear}_async_cmd()
self.currentAsyncCommand = None
def runCommand(self, commandline, process_server, ro_only=False):
command = commandline.pop(0)
# Ensure cooker is ready for commands
if command not in ["updateConfig", "setFeatures", "ping"]:
try:
self.cooker.init_configdata()
if not self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
except (Exception, SystemExit) as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
# We need to start returning real exceptions here. Until we do, we can't
# tell if an exception is an instance of bb.BBHandledException
return None, "bb.BBHandledException()\n" + traceback.format_exc()
return None, traceback.format_exc()
if hasattr(CommandsSync, command):
# Can run synchronous commands straight away
command_method = getattr(self.cmds_sync, command)
if ro_only:
if not hasattr(command_method, 'readonly') or not getattr(command_method, 'readonly'):
return None, "Not able to execute not readonly commands in readonly mode"
try:
if getattr(command_method, 'needconfig', True):
self.cooker.updateCacheSync()
result = command_method(self, commandline)
except CommandError as exc:
return None, exc.args[0]
except (Exception, SystemExit) as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
# We need to start returning real exceptions here. Until we do, we can't
# tell if an exception is an instance of bb.BBHandledException
return None, "bb.BBHandledException()\n" + traceback.format_exc()
return None, traceback.format_exc()
else:
return result, None
if command not in CommandsAsync.__dict__:
return None, "No such command"
if not process_server.set_async_cmd((command, commandline)):
return None, "Busy (%s in progress)" % self.process_server.get_async_cmd()[0]
self.cooker.idleCallBackRegister(self.runAsyncCommand, process_server)
return True, None
def runAsyncCommand(self, _, process_server, halt):
try:
if self.cooker.state in (bb.cooker.State.ERROR, bb.cooker.State.SHUTDOWN, bb.cooker.State.FORCE_SHUTDOWN):
# updateCache will trigger a shutdown of the parser
# and then raise BBHandledException triggering an exit
self.cooker.updateCache()
return bb.server.process.idleFinish("Cooker in error state")
cmd = process_server.get_async_cmd()
if cmd is not None:
(command, options) = cmd
commandmethod = getattr(CommandsAsync, command)
needcache = getattr( commandmethod, "needcache" )
if needcache and self.cooker.state != bb.cooker.State.RUNNING:
self.cooker.updateCache()
return True
else:
commandmethod(self.cmds_async, self, options)
return False
else:
return bb.server.process.idleFinish("Nothing to do, no async command?")
except KeyboardInterrupt as exc:
return bb.server.process.idleFinish("Interrupted")
except SystemExit as exc:
arg = exc.args[0]
if isinstance(arg, str):
return bb.server.process.idleFinish(arg)
else:
return bb.server.process.idleFinish("Exited with %s" % arg)
except Exception as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
return bb.server.process.idleFinish("")
else:
return bb.server.process.idleFinish(traceback.format_exc())
def finishAsyncCommand(self, msg=None, code=None):
self.cooker.finishcommand()
self.process_server.clear_async_cmd()
if msg or msg == "":
bb.event.fire(CommandFailed(msg), self.cooker.data)
elif code:
bb.event.fire(CommandExit(code), self.cooker.data)
else:
bb.event.fire(CommandCompleted(), self.cooker.data)
def reset(self):
if self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
class CommandsSync:
"""
A class of synchronous commands
These should run quickly so as not to hurt interactive performance.
These must not influence any running synchronous command.
"""
def ping(self, command, params):
"""
Allow a UI to check the server is still alive
"""
return "Still alive!"
ping.needconfig = False
ping.readonly = True
def stateShutdown(self, command, params):
"""
Trigger cooker 'shutdown' mode
"""
command.cooker.shutdown(False)
def stateForceShutdown(self, command, params):
"""
Stop the cooker
"""
command.cooker.shutdown(True)
def getAllKeysWithFlags(self, command, params):
"""
Returns a dump of the global state. Call with
variable flags to be retrieved as params.
"""
flaglist = params[0]
return command.cooker.getAllKeysWithFlags(flaglist)
getAllKeysWithFlags.readonly = True
def getVariable(self, command, params):
"""
Read the value of a variable from data
"""
varname = params[0]
expand = True
if len(params) > 1:
expand = (params[1] == "True")
return command.cooker.data.getVar(varname, expand)
getVariable.readonly = True
def setVariable(self, command, params):
"""
Set the value of variable in data
"""
varname = params[0]
value = str(params[1])
command.cooker.extraconfigdata[varname] = value
command.cooker.data.setVar(varname, value)
def getSetVariable(self, command, params):
"""
Read the value of a variable from data and set it into the datastore
which effectively expands and locks the value.
"""
varname = params[0]
result = self.getVariable(command, params)
command.cooker.data.setVar(varname, result)
return result
def setConfig(self, command, params):
"""
Set the value of variable in configuration
"""
varname = params[0]
value = str(params[1])
setattr(command.cooker.configuration, varname, value)
def enableDataTracking(self, command, params):
"""
Enable history tracking for variables
"""
command.cooker.enableDataTracking()
def disableDataTracking(self, command, params):
"""
Disable history tracking for variables
"""
command.cooker.disableDataTracking()
def setPrePostConfFiles(self, command, params):
prefiles = params[0].split()
postfiles = params[1].split()
command.cooker.configuration.prefile = prefiles
command.cooker.configuration.postfile = postfiles
setPrePostConfFiles.needconfig = False
def matchFile(self, command, params):
fMatch = params[0]
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.matchFile(fMatch, mc)
matchFile.needconfig = False
def getUIHandlerNum(self, command, params):
return bb.event.get_uihandler()
getUIHandlerNum.needconfig = False
getUIHandlerNum.readonly = True
def setEventMask(self, command, params):
handlerNum = params[0]
llevel = params[1]
debug_domains = params[2]
mask = params[3]
return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask)
setEventMask.needconfig = False
setEventMask.readonly = True
def setFeatures(self, command, params):
"""
Set the cooker features to include the passed list of features
"""
features = params[0]
command.cooker.setFeatures(features)
setFeatures.needconfig = False
# although we change the internal state of the cooker, this is transparent since
# we always take and leave the cooker in state.initial
setFeatures.readonly = True
def updateConfig(self, command, params):
options = params[0]
environment = params[1]
cmdline = params[2]
command.cooker.updateConfigOpts(options, environment, cmdline)
updateConfig.needconfig = False
def parseConfiguration(self, command, params):
"""Instruct bitbake to parse its configuration
NOTE: it is only necessary to call this if you aren't calling any normal action
(otherwise parsing is taken care of automatically)
"""
command.cooker.parseConfiguration()
parseConfiguration.needconfig = False
def getLayerPriorities(self, command, params):
command.cooker.parseConfiguration()
ret = []
# regex objects cannot be marshalled by xmlrpc
for collection, pattern, regex, pri in command.cooker.bbfile_config_priorities:
ret.append((collection, pattern, regex.pattern, pri))
return ret
getLayerPriorities.readonly = True
def revalidateCaches(self, command, params):
"""Called by UI clients when metadata may have changed"""
command.cooker.revalidateCaches()
revalidateCaches.needconfig = False
def getRecipes(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.recipecaches[mc].pkg_pn.items())
getRecipes.readonly = True
def getRecipeDepends(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.recipecaches[mc].deps.items())
getRecipeDepends.readonly = True
def getRecipeVersions(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].pkg_pepvpr
getRecipeVersions.readonly = True
def getRecipeProvides(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].fn_provides
getRecipeProvides.readonly = True
def getRecipePackages(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].packages
getRecipePackages.readonly = True
def getRecipePackagesDynamic(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].packages_dynamic
getRecipePackagesDynamic.readonly = True
def getRProviders(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].rproviders
getRProviders.readonly = True
def getRuntimeDepends(self, command, params):
ret = []
try:
mc = params[0]
except IndexError:
mc = ''
rundeps = command.cooker.recipecaches[mc].rundeps
for key, value in rundeps.items():
if isinstance(value, defaultdict):
value = dict(value)
ret.append((key, value))
return ret
getRuntimeDepends.readonly = True
def getRuntimeRecommends(self, command, params):
ret = []
try:
mc = params[0]
except IndexError:
mc = ''
runrecs = command.cooker.recipecaches[mc].runrecs
for key, value in runrecs.items():
if isinstance(value, defaultdict):
value = dict(value)
ret.append((key, value))
return ret
getRuntimeRecommends.readonly = True
def getRecipeInherits(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].inherits
getRecipeInherits.readonly = True
def getBbFilePriority(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].bbfile_priority
getBbFilePriority.readonly = True
def getDefaultPreference(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].pkg_dp
getDefaultPreference.readonly = True
def getSkippedRecipes(self, command, params):
"""
Get the map of skipped recipes for the specified multiconfig/mc name (`params[0]`).
Invoked by `bb.tinfoil.Tinfoil.get_skipped_recipes`
:param command: Internally used parameter.
:param params: Parameter array. params[0] is multiconfig/mc name. If not given, then default mc '' is assumed.
:return: Dict whose keys are virtualfns and values are `bb.cooker.SkippedPackage`
"""
try:
mc = params[0]
except IndexError:
mc = ''
# Return list sorted by reverse priority order
import bb.cache
def sortkey(x):
vfn, _ = x
realfn, _, item_mc = bb.cache.virtualfn2realfn(vfn)
return -command.cooker.collections[item_mc].calc_bbfile_priority(realfn)[0], vfn
skipdict = OrderedDict(sorted(command.cooker.skiplist_by_mc[mc].items(), key=sortkey))
return list(skipdict.items())
getSkippedRecipes.readonly = True
def getOverlayedRecipes(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.collections[mc].overlayed.items())
getOverlayedRecipes.readonly = True
def getFileAppends(self, command, params):
fn = params[0]
try:
mc = params[1]
except IndexError:
mc = ''
return command.cooker.collections[mc].get_file_appends(fn)
getFileAppends.readonly = True
def getAllAppends(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.collections[mc].bbappends
getAllAppends.readonly = True
def findProviders(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.findProviders(mc)
findProviders.readonly = True
def findBestProvider(self, command, params):
(mc, pn) = bb.runqueue.split_mc(params[0])
return command.cooker.findBestProvider(pn, mc)
findBestProvider.readonly = True
def allProviders(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(bb.providers.allProviders(command.cooker.recipecaches[mc]).items())
allProviders.readonly = True
def getRuntimeProviders(self, command, params):
rprovide = params[0]
try:
mc = params[1]
except IndexError:
mc = ''
all_p = bb.providers.getRuntimeProviders(command.cooker.recipecaches[mc], rprovide)
if all_p:
best = bb.providers.filterProvidersRunTime(all_p, rprovide,
command.cooker.data,
command.cooker.recipecaches[mc])[0][0]
else:
best = None
return all_p, best
getRuntimeProviders.readonly = True
def dataStoreConnectorCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
d = command.remotedatastores[dsindex]
ret = getattr(d, method)(*args, **kwargs)
if isinstance(ret, bb.data_smart.DataSmart):
idx = command.remotedatastores.store(ret)
return DataStoreConnectionHandle(idx)
return ret
def dataStoreConnectorVarHistCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
d = command.remotedatastores[dsindex].varhistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorVarHistCmdEmit(self, command, params):
dsindex = params[0]
var = params[1]
oval = params[2]
val = params[3]
d = command.remotedatastores[params[4]]
o = io.StringIO()
command.remotedatastores[dsindex].varhistory.emit(var, oval, val, o, d)
return o.getvalue()
def dataStoreConnectorIncHistCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
d = command.remotedatastores[dsindex].inchistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorRelease(self, command, params):
dsindex = params[0]
if dsindex <= 0:
raise CommandError('dataStoreConnectorRelease: invalid index %d' % dsindex)
command.remotedatastores.release(dsindex)
def parseRecipeFile(self, command, params):
"""
Parse the specified recipe file (with or without bbappends)
and return a datastore object representing the environment
for the recipe.
"""
virtualfn = params[0]
(fn, cls, mc) = bb.cache.virtualfn2realfn(virtualfn)
appends = params[1]
appendlist = params[2]
if len(params) > 3:
config_data = command.remotedatastores[params[3]]
else:
config_data = None
if appends:
if appendlist is not None:
appendfiles = appendlist
else:
appendfiles = command.cooker.collections[mc].get_file_appends(fn)
else:
appendfiles = []
layername = command.cooker.collections[mc].calc_bbfile_priority(fn)[2]
# We are calling bb.cache locally here rather than on the server,
# but that's OK because it doesn't actually need anything from
# the server barring the global datastore (which we have a remote
# version of)
if config_data:
# We have to use a different function here if we're passing in a datastore
# NOTE: we took a copy above, so we don't do it here again
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc, layername)[cls]
else:
# Use the standard path
envdata = command.cooker.databuilder.parseRecipe(virtualfn, appendfiles, layername)
idx = command.remotedatastores.store(envdata)
return DataStoreConnectionHandle(idx)
parseRecipeFile.readonly = True
def finalizeData(self, command, params):
newdata = command.cooker.data.createCopy()
bb.data.expandKeys(newdata)
bb.parse.ast.runAnonFuncs(newdata)
idx = command.remotedatastores.store(newdata)
return DataStoreConnectionHandle(idx)
class CommandsAsync:
"""
A class of asynchronous commands
These functions communicate via generated events.
Any function that requires metadata parsing should be here.
"""
def buildFile(self, command, params):
"""
Build a single specified .bb file
"""
bfile = params[0]
task = params[1]
if len(params) > 2:
internal = params[2]
else:
internal = False
if internal:
command.cooker.buildFileInternal(bfile, task, fireevents=False, quietlog=True)
else:
command.cooker.buildFile(bfile, task)
buildFile.needcache = False
def buildTargets(self, command, params):
"""
Build a set of targets
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.buildTargets(pkgs_to_build, task)
buildTargets.needcache = True
def generateDepTreeEvent(self, command, params):
"""
Generate an event containing the dependency information
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.generateDepTreeEvent(pkgs_to_build, task)
command.finishAsyncCommand()
generateDepTreeEvent.needcache = True
def generateDotGraph(self, command, params):
"""
Dump dependency information to disk as .dot files
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.generateDotGraphFiles(pkgs_to_build, task)
command.finishAsyncCommand()
generateDotGraph.needcache = True
def generateTargetsTree(self, command, params):
"""
Generate a tree of buildable targets.
If klass is provided ensure all recipes that inherit the class are
included in the package list.
If pkg_list provided use that list (plus any extras brought in by
klass) rather than generating a tree for all packages.
"""
klass = params[0]
pkg_list = params[1]
command.cooker.generateTargetsTree(klass, pkg_list)
command.finishAsyncCommand()
generateTargetsTree.needcache = True
def findConfigFiles(self, command, params):
"""
Find config files which provide appropriate values
for the passed configuration variable. i.e. MACHINE
"""
varname = params[0]
command.cooker.findConfigFiles(varname)
command.finishAsyncCommand()
findConfigFiles.needcache = False
def findFilesMatchingInDir(self, command, params):
"""
Find implementation files matching the specified pattern
in the requested subdirectory of a BBPATH
"""
pattern = params[0]
directory = params[1]
command.cooker.findFilesMatchingInDir(pattern, directory)
command.finishAsyncCommand()
findFilesMatchingInDir.needcache = False
def testCookerCommandEvent(self, command, params):
"""
Dummy command used by OEQA selftest to test tinfoil without IO
"""
pattern = params[0]
command.cooker.testCookerCommandEvent(pattern)
command.finishAsyncCommand()
testCookerCommandEvent.needcache = False
def findConfigFilePath(self, command, params):
"""
Find the path of the requested configuration file
"""
configfile = params[0]
command.cooker.findConfigFilePath(configfile)
command.finishAsyncCommand()
findConfigFilePath.needcache = False
def showVersions(self, command, params):
"""
Show the currently selected versions
"""
command.cooker.showVersions()
command.finishAsyncCommand()
showVersions.needcache = True
def showEnvironmentTarget(self, command, params):
"""
Print the environment of a target recipe
(needs the cache to work out which recipe to use)
"""
pkg = params[0]
command.cooker.showEnvironment(None, pkg)
command.finishAsyncCommand()
showEnvironmentTarget.needcache = True
def showEnvironment(self, command, params):
"""
Print the standard environment
or if specified the environment for a specified recipe
"""
bfile = params[0]
command.cooker.showEnvironment(bfile)
command.finishAsyncCommand()
showEnvironment.needcache = False
def parseFiles(self, command, params):
"""
Parse the .bb files
"""
command.cooker.updateCache()
command.finishAsyncCommand()
parseFiles.needcache = True
def compareRevisions(self, command, params):
"""
Parse the .bb files
"""
if bb.fetch.fetcher_compare_revisions(command.cooker.data):
command.finishAsyncCommand(code=1)
else:
command.finishAsyncCommand()
compareRevisions.needcache = True
def triggerEvent(self, command, params):
"""
Trigger a certain event
"""
event = params[0]
bb.event.fire(eval(event), command.cooker.data)
process_server.clear_async_cmd()
triggerEvent.needcache = False
def resetCooker(self, command, params):
"""
Reset the cooker to its initial state, thus forcing a reparse for
any async command that has the needcache property set to True
"""
command.cooker.reset()
command.finishAsyncCommand()
resetCooker.needcache = False
def clientComplete(self, command, params):
"""
Do the right thing when the controlling client exits
"""
command.cooker.clientComplete()
command.finishAsyncCommand()
clientComplete.needcache = False
def findSigInfo(self, command, params):
"""
Find signature info files via the signature generator
"""
(mc, pn) = bb.runqueue.split_mc(params[0])
taskname = params[1]
sigs = params[2]
bb.siggen.check_siggen_version(bb.siggen)
res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc])
bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
command.finishAsyncCommand()
findSigInfo.needcache = False
def getTaskSignatures(self, command, params):
res = command.cooker.getTaskSignatures(params[0], params[1])
bb.event.fire(bb.event.GetTaskSignatureResult(res), command.cooker.data)
command.finishAsyncCommand()
getTaskSignatures.needcache = True

View File

@@ -1,196 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Helper library to implement streaming compression and decompression using an
# external process
#
# This library should be used directly by end users; a wrapper library for the
# specific compression tool should be created
import builtins
import io
import os
import subprocess
def open_wrap(
cls, filename, mode="rb", *, encoding=None, errors=None, newline=None, **kwargs
):
"""
Open a compressed file in binary or text mode.
Users should not call this directly. A specific compression library can use
this helper to provide it's own "open" command
The filename argument can be an actual filename (a str or bytes object), or
an existing file object to read from or write to.
The mode argument can be "r", "rb", "w", "wb", "x", "xb", "a" or "ab" for
binary mode, or "rt", "wt", "xt" or "at" for text mode. The default mode is
"rb".
For binary mode, this function is equivalent to the cls constructor:
cls(filename, mode). In this case, the encoding, errors and newline
arguments must not be provided.
For text mode, a cls object is created, and wrapped in an
io.TextIOWrapper instance with the specified encoding, error handling
behavior, and line ending(s).
"""
if "t" in mode:
if "b" in mode:
raise ValueError("Invalid mode: %r" % (mode,))
else:
if encoding is not None:
raise ValueError("Argument 'encoding' not supported in binary mode")
if errors is not None:
raise ValueError("Argument 'errors' not supported in binary mode")
if newline is not None:
raise ValueError("Argument 'newline' not supported in binary mode")
file_mode = mode.replace("t", "")
if isinstance(filename, (str, bytes, os.PathLike, int)):
binary_file = cls(filename, file_mode, **kwargs)
elif hasattr(filename, "read") or hasattr(filename, "write"):
binary_file = cls(None, file_mode, fileobj=filename, **kwargs)
else:
raise TypeError("filename must be a str or bytes object, or a file")
if "t" in mode:
return io.TextIOWrapper(
binary_file, encoding, errors, newline, write_through=True
)
else:
return binary_file
class CompressionError(OSError):
pass
class PipeFile(io.RawIOBase):
"""
Class that implements generically piping to/from a compression program
Derived classes should add the function get_compress() and get_decompress()
that return the required commands. Input will be piped into stdin and the
(de)compressed output should be written to stdout, e.g.:
class FooFile(PipeCompressionFile):
def get_decompress(self):
return ["fooc", "--decompress", "--stdout"]
def get_compress(self):
return ["fooc", "--compress", "--stdout"]
"""
READ = 0
WRITE = 1
def __init__(self, filename=None, mode="rb", *, stderr=None, fileobj=None):
if "t" in mode or "U" in mode:
raise ValueError("Invalid mode: {!r}".format(mode))
if not "b" in mode:
mode += "b"
if mode.startswith("r"):
self.mode = self.READ
elif mode.startswith("w"):
self.mode = self.WRITE
else:
raise ValueError("Invalid mode %r" % mode)
if fileobj is not None:
self.fileobj = fileobj
else:
self.fileobj = builtins.open(filename, mode or "rb")
if self.mode == self.READ:
self.p = subprocess.Popen(
self.get_decompress(),
stdin=self.fileobj,
stdout=subprocess.PIPE,
stderr=stderr,
close_fds=True,
)
self.pipe = self.p.stdout
else:
self.p = subprocess.Popen(
self.get_compress(),
stdin=subprocess.PIPE,
stdout=self.fileobj,
stderr=stderr,
close_fds=True,
)
self.pipe = self.p.stdin
self.__closed = False
def _check_process(self):
if self.p is None:
return
returncode = self.p.wait()
if returncode:
raise CompressionError("Process died with %d" % returncode)
self.p = None
def close(self):
if self.closed:
return
self.pipe.close()
if self.p is not None:
self._check_process()
self.fileobj.close()
self.__closed = True
@property
def closed(self):
return self.__closed
def fileno(self):
return self.pipe.fileno()
def flush(self):
self.pipe.flush()
def isatty(self):
return self.pipe.isatty()
def readable(self):
return self.mode == self.READ
def writable(self):
return self.mode == self.WRITE
def readinto(self, b):
if self.mode != self.READ:
import errno
raise OSError(
errno.EBADF, "read() on write-only %s object" % self.__class__.__name__
)
size = self.pipe.readinto(b)
if size == 0:
self._check_process()
return size
def write(self, data):
if self.mode != self.WRITE:
import errno
raise OSError(
errno.EBADF, "write() on read-only %s object" % self.__class__.__name__
)
data = self.pipe.write(data)
if not data:
self._check_process()
return data

View File

@@ -1,19 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.compress._pipecompress
def open(*args, **kwargs):
return bb.compress._pipecompress.open_wrap(LZ4File, *args, **kwargs)
class LZ4File(bb.compress._pipecompress.PipeFile):
def get_compress(self):
return ["lz4", "-z", "-c"]
def get_decompress(self):
return ["lz4", "-d", "-c"]

View File

@@ -1,30 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.compress._pipecompress
import shutil
def open(*args, **kwargs):
return bb.compress._pipecompress.open_wrap(ZstdFile, *args, **kwargs)
class ZstdFile(bb.compress._pipecompress.PipeFile):
def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs):
self.num_threads = num_threads
self.compresslevel = compresslevel
super().__init__(*args, **kwargs)
def _get_zstd(self):
if self.num_threads == 1 or not shutil.which("pzstd"):
return ["zstd"]
return ["pzstd", "-p", "%d" % self.num_threads]
def get_compress(self):
return self._get_zstd() + ["-c", "-%d" % self.compresslevel]
def get_decompress(self):
return self._get_zstd() + ["-d", "-c"]

File diff suppressed because it is too large Load Diff

View File

@@ -1,552 +0,0 @@
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import os
import re
import sys
import hashlib
from functools import wraps
import bb
from bb import data
import bb.parse
logger = logging.getLogger("BitBake")
parselog = logging.getLogger("BitBake.Parsing")
class ConfigParameters(object):
def __init__(self, argv=None):
self.options, targets = self.parseCommandLine(argv or sys.argv)
self.environment = self.parseEnvironment()
self.options.pkgs_to_build = targets or []
for key, val in self.options.__dict__.items():
setattr(self, key, val)
def parseCommandLine(self, argv=sys.argv):
raise Exception("Caller must implement commandline option parsing")
def parseEnvironment(self):
return os.environ.copy()
def updateFromServer(self, server):
if not self.options.cmd:
defaulttask, error = server.runCommand(["getVariable", "BB_DEFAULT_TASK"])
if error:
raise Exception("Unable to get the value of BB_DEFAULT_TASK from the server: %s" % error)
self.options.cmd = defaulttask or "build"
_, error = server.runCommand(["setConfig", "cmd", self.options.cmd])
if error:
raise Exception("Unable to set configuration option 'cmd' on the server: %s" % error)
if not self.options.pkgs_to_build:
bbpkgs, error = server.runCommand(["getVariable", "BBTARGETS"])
if error:
raise Exception("Unable to get the value of BBTARGETS from the server: %s" % error)
if bbpkgs:
self.options.pkgs_to_build.extend(bbpkgs.split())
def updateToServer(self, server, environment):
options = {}
for o in ["halt", "force", "invalidate_stamp",
"dry_run", "dump_signatures",
"extra_assume_provided", "profile",
"prefile", "postfile", "server_timeout",
"nosetscene", "setsceneonly", "skipsetscene",
"runall", "runonly", "writeeventlog"]:
options[o] = getattr(self.options, o)
options['build_verbose_shell'] = self.options.verbose
options['build_verbose_stdout'] = self.options.verbose
options['default_loglevel'] = bb.msg.loggerDefaultLogLevel
options['debug_domains'] = bb.msg.loggerDefaultDomains
ret, error = server.runCommand(["updateConfig", options, environment, sys.argv])
if error:
raise Exception("Unable to update the server configuration with local parameters: %s" % error)
def parseActions(self):
# Parse any commandline into actions
action = {'action':None, 'msg':None}
if self.options.show_environment:
if 'world' in self.options.pkgs_to_build:
action['msg'] = "'world' is not a valid target for --environment."
elif 'universe' in self.options.pkgs_to_build:
action['msg'] = "'universe' is not a valid target for --environment."
elif len(self.options.pkgs_to_build) > 1:
action['msg'] = "Only one target can be used with the --environment option."
elif self.options.buildfile and len(self.options.pkgs_to_build) > 0:
action['msg'] = "No target should be used with the --environment and --buildfile options."
elif self.options.pkgs_to_build:
action['action'] = ["showEnvironmentTarget", self.options.pkgs_to_build]
else:
action['action'] = ["showEnvironment", self.options.buildfile]
elif self.options.buildfile is not None:
action['action'] = ["buildFile", self.options.buildfile, self.options.cmd]
elif self.options.revisions_changed:
action['action'] = ["compareRevisions"]
elif self.options.show_versions:
action['action'] = ["showVersions"]
elif self.options.parse_only:
action['action'] = ["parseFiles"]
elif self.options.dot_graph:
if self.options.pkgs_to_build:
action['action'] = ["generateDotGraph", self.options.pkgs_to_build, self.options.cmd]
else:
action['msg'] = "Please specify a package name for dependency graph generation."
else:
if self.options.pkgs_to_build:
action['action'] = ["buildTargets", self.options.pkgs_to_build, self.options.cmd]
else:
#action['msg'] = "Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information."
action = None
self.options.initialaction = action
return action
class CookerConfiguration(object):
"""
Manages build options and configurations for one run
"""
def __init__(self):
self.debug_domains = bb.msg.loggerDefaultDomains
self.default_loglevel = bb.msg.loggerDefaultLogLevel
self.extra_assume_provided = []
self.prefile = []
self.postfile = []
self.cmd = None
self.halt = True
self.force = False
self.profile = False
self.nosetscene = False
self.setsceneonly = False
self.skipsetscene = False
self.invalidate_stamp = False
self.dump_signatures = []
self.build_verbose_shell = False
self.build_verbose_stdout = False
self.dry_run = False
self.tracking = False
self.writeeventlog = False
self.limited_deps = False
self.runall = []
self.runonly = []
self.env = {}
def __getstate__(self):
state = {}
for key in self.__dict__.keys():
state[key] = getattr(self, key)
return state
def __setstate__(self,state):
for k in state:
setattr(self, k, state[k])
def catch_parse_error(func):
"""Exception handling bits for our parsing"""
@wraps(func)
def wrapped(fn, *args):
try:
return func(fn, *args)
except Exception as exc:
import traceback
bbdir = os.path.dirname(__file__) + os.sep
exc_class, exc, tb = sys.exc_info()
for tb in iter(lambda: tb.tb_next, None):
# Skip frames in bitbake itself, we only want the metadata
fn, _, _, _ = traceback.extract_tb(tb, 1)[0]
if not fn.startswith(bbdir):
break
parselog.critical("Unable to parse %s" % fn, exc_info=(exc_class, exc, tb))
raise bb.BBHandledException()
return wrapped
@catch_parse_error
def parse_config_file(fn, data, include=True):
return bb.parse.handle(fn, data, include, baseconfig=True)
@catch_parse_error
def _inherit(bbclass, data):
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
return data
def findConfigFile(configfile, data):
search = []
bbpath = data.getVar("BBPATH")
if bbpath:
for i in bbpath.split(":"):
search.append(os.path.join(i, "conf", configfile))
path = os.getcwd()
while path != "/":
search.append(os.path.join(path, "conf", configfile))
path, _ = os.path.split(path)
for i in search:
if os.path.exists(i):
return i
return None
#
# We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working
# up to /. If that fails, bitbake would fall back to cwd.
#
def findTopdir():
d = bb.data.init()
bbpath = None
if 'BBPATH' in os.environ:
bbpath = os.environ['BBPATH']
d.setVar('BBPATH', bbpath)
layerconf = findConfigFile("bblayers.conf", d)
if layerconf:
return os.path.dirname(os.path.dirname(layerconf))
return os.path.abspath(os.getcwd())
class CookerDataBuilder(object):
def __init__(self, cookercfg, worker = False):
self.prefiles = cookercfg.prefile
self.postfiles = cookercfg.postfile
self.tracking = cookercfg.tracking
bb.utils.set_context(bb.utils.clean_context())
bb.event.set_class_handlers(bb.event.clean_class_handlers())
self.basedata = bb.data.init()
if self.tracking:
self.basedata.enableTracking()
# Keep a datastore of the initial environment variables and their
# values from when BitBake was launched to enable child processes
# to use environment variables which have been cleaned from the
# BitBake processes env
self.savedenv = bb.data.init()
for k in cookercfg.env:
self.savedenv.setVar(k, cookercfg.env[k])
if k in bb.data_smart.bitbake_renamed_vars:
bb.error('Shell environment variable %s has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.fatal("Exiting to allow enviroment variables to be corrected")
filtered_keys = bb.utils.approved_variables()
bb.data.inheritFromOS(self.basedata, self.savedenv, filtered_keys)
self.basedata.setVar("BB_ORIGENV", self.savedenv)
self.basedata.setVar("__bbclasstype", "global")
if worker:
self.basedata.setVar("BB_WORKERCONTEXT", "1")
self.data = self.basedata
self.mcdata = {}
def calc_datastore_hashes(self):
data_hash = hashlib.sha256()
data_hash.update(self.data.get_hash().encode('utf-8'))
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
for config in multiconfig:
data_hash.update(self.mcdata[config].get_hash().encode('utf-8'))
self.data_hash = data_hash.hexdigest()
def parseBaseConfiguration(self, worker=False):
mcdata = {}
try:
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
servercontext = self.data.getVar("BB_WORKERCONTEXT", False) is None and not worker
bb.fetch.fetcher_init(self.data, servercontext)
bb.parse.init_parser(self.data)
bb.event.fire(bb.event.ConfigParsed(), self.data)
reparse_cnt = 0
while self.data.getVar("BB_INVALIDCONF", False) is True:
if reparse_cnt > 20:
logger.error("Configuration has been re-parsed over 20 times, "
"breaking out of the loop...")
raise Exception("Too deep config re-parse loop. Check locations where "
"BB_INVALIDCONF is being set (ConfigParsed event handlers)")
self.data.setVar("BB_INVALIDCONF", False)
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
reparse_cnt += 1
bb.event.fire(bb.event.ConfigParsed(), self.data)
bb.parse.init_parser(self.data)
mcdata[''] = self.data
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
for config in multiconfig:
if config[0].isdigit():
bb.fatal("Multiconfig name '%s' is invalid as multiconfigs cannot start with a digit" % config)
parsed_mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), parsed_mcdata)
mcdata[config] = parsed_mcdata
if multiconfig:
bb.event.fire(bb.event.MultiConfigParsed(mcdata), self.data)
except bb.data_smart.ExpansionError as e:
logger.error(str(e))
raise bb.BBHandledException()
bb.codeparser.update_module_dependencies(self.data)
# Handle obsolete variable names
d = self.data
renamedvars = d.getVarFlags('BB_RENAMED_VARIABLES') or {}
renamedvars.update(bb.data_smart.bitbake_renamed_vars)
issues = False
for v in renamedvars:
if d.getVar(v) != None or d.hasOverrides(v):
issues = True
loginfo = {}
history = d.varhistory.get_variable_refs(v)
for h in history:
for line in history[h]:
loginfo = {'file' : h, 'line' : line}
bb.data.data_smart._print_rename_error(v, loginfo, renamedvars)
if not history:
bb.data.data_smart._print_rename_error(v, loginfo, renamedvars)
if issues:
raise bb.BBHandledException()
for mc in mcdata:
mcdata[mc].renameVar("__depends", "__base_depends")
mcdata[mc].setVar("__bbclasstype", "recipe")
# Create a copy so we can reset at a later date when UIs disconnect
self.mcorigdata = mcdata
for mc in mcdata:
self.mcdata[mc] = bb.data.createCopy(mcdata[mc])
self.data = self.mcdata['']
self.calc_datastore_hashes()
def reset(self):
# We may not have run parseBaseConfiguration() yet
if not hasattr(self, 'mcorigdata'):
return
for mc in self.mcorigdata:
self.mcdata[mc] = bb.data.createCopy(self.mcorigdata[mc])
self.data = self.mcdata['']
def _findLayerConf(self, data):
return findConfigFile("bblayers.conf", data)
def parseConfigurationFiles(self, prefiles, postfiles, mc = ""):
data = bb.data.createCopy(self.basedata)
data.setVar("BB_CURRENT_MC", mc)
# Parse files for loading *before* bitbake.conf and any includes
for f in prefiles:
data = parse_config_file(f, data)
layerconf = self._findLayerConf(data)
if layerconf:
parselog.debug2("Found bblayers.conf (%s)", layerconf)
# By definition bblayers.conf is in conf/ of TOPDIR.
# We may have been called with cwd somewhere else so reset TOPDIR
data.setVar("TOPDIR", os.path.dirname(os.path.dirname(layerconf)))
data = parse_config_file(layerconf, data)
if not data.getVar("BB_CACHEDIR"):
data.setVar("BB_CACHEDIR", "${TOPDIR}/cache")
bb.codeparser.parser_cache_init(data.getVar("BB_CACHEDIR"))
layers = (data.getVar('BBLAYERS') or "").split()
broken_layers = []
if not layers:
bb.fatal("The bblayers.conf file doesn't contain any BBLAYERS definition")
data = bb.data.createCopy(data)
approved = bb.utils.approved_variables()
# Check whether present layer directories exist
for layer in layers:
if not os.path.isdir(layer):
broken_layers.append(layer)
if broken_layers:
parselog.critical("The following layer directories do not exist:")
for layer in broken_layers:
parselog.critical(" %s", layer)
parselog.critical("Please check BBLAYERS in %s" % (layerconf))
raise bb.BBHandledException()
layerseries = None
compat_entries = {}
for layer in layers:
parselog.debug2("Adding layer %s", layer)
if 'HOME' in approved and '~' in layer:
layer = os.path.expanduser(layer)
if layer.endswith('/'):
layer = layer.rstrip('/')
data.setVar('LAYERDIR', layer)
data.setVar('LAYERDIR_RE', re.escape(layer))
data = parse_config_file(os.path.join(layer, "conf", "layer.conf"), data)
data.expandVarref('LAYERDIR')
data.expandVarref('LAYERDIR_RE')
# Sadly we can't have nice things.
# Some layers think they're going to be 'clever' and copy the values from
# another layer, e.g. using ${LAYERSERIES_COMPAT_core}. The whole point of
# this mechanism is to make it clear which releases a layer supports and
# show when a layer master branch is bitrotting and is unmaintained.
# We therefore avoid people doing this here.
collections = (data.getVar('BBFILE_COLLECTIONS') or "").split()
for c in collections:
compat_entry = data.getVar("LAYERSERIES_COMPAT_%s" % c)
if compat_entry:
compat_entries[c] = set(compat_entry.split())
data.delVar("LAYERSERIES_COMPAT_%s" % c)
if not layerseries:
layerseries = set((data.getVar("LAYERSERIES_CORENAMES") or "").split())
if layerseries:
data.delVar("LAYERSERIES_CORENAMES")
data.delVar('LAYERDIR_RE')
data.delVar('LAYERDIR')
for c in compat_entries:
data.setVar("LAYERSERIES_COMPAT_%s" % c, " ".join(sorted(compat_entries[c])))
bbfiles_dynamic = (data.getVar('BBFILES_DYNAMIC') or "").split()
collections = (data.getVar('BBFILE_COLLECTIONS') or "").split()
invalid = []
for entry in bbfiles_dynamic:
parts = entry.split(":", 1)
if len(parts) != 2:
invalid.append(entry)
continue
l, f = parts
invert = l[0] == "!"
if invert:
l = l[1:]
if (l in collections and not invert) or (l not in collections and invert):
data.appendVar("BBFILES", " " + f)
if invalid:
bb.fatal("BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid))
collections_tmp = collections[:]
for c in collections:
collections_tmp.remove(c)
if c in collections_tmp:
bb.fatal("Found duplicated BBFILE_COLLECTIONS '%s', check bblayers.conf or layer.conf to fix it." % c)
compat = set()
if c in compat_entries:
compat = compat_entries[c]
if compat and not layerseries:
bb.fatal("No core layer found to work with layer '%s'. Missing entry in bblayers.conf?" % c)
if compat and not (compat & layerseries):
bb.fatal("Layer %s is not compatible with the core layer which only supports these series: %s (layer is compatible with %s)"
% (c, " ".join(layerseries), " ".join(compat)))
elif not compat and not data.getVar("BB_WORKERCONTEXT"):
bb.warn("Layer %s should set LAYERSERIES_COMPAT_%s in its conf/layer.conf file to list the core layer names it is compatible with." % (c, c))
data.setVar("LAYERSERIES_CORENAMES", " ".join(sorted(layerseries)))
if not data.getVar("BBPATH"):
msg = "The BBPATH variable is not set"
if not layerconf:
msg += (" and bitbake did not find a conf/bblayers.conf file in"
" the expected location.\nMaybe you accidentally"
" invoked bitbake from the wrong directory?")
bb.fatal(msg)
if not data.getVar("TOPDIR"):
data.setVar("TOPDIR", os.path.abspath(os.getcwd()))
if not data.getVar("BB_CACHEDIR"):
data.setVar("BB_CACHEDIR", "${TOPDIR}/cache")
bb.codeparser.parser_cache_init(data.getVar("BB_CACHEDIR"))
data = parse_config_file(os.path.join("conf", "bitbake.conf"), data)
# Parse files for loading *after* bitbake.conf and any includes
for p in postfiles:
data = parse_config_file(p, data)
# Handle any INHERITs and inherit the base class
bbclasses = ["base"] + (data.getVar('INHERIT') or "").split()
for bbclass in bbclasses:
data = _inherit(bbclass, data)
# Normally we only register event handlers at the end of parsing .bb files
# We register any handlers we've found so far here...
for var in data.getVar('__BBHANDLERS', False) or []:
handlerfn = data.getVarFlag(var, "filename", False)
if not handlerfn:
parselog.critical("Undefined event handler function '%s'" % var)
raise bb.BBHandledException()
handlerln = int(data.getVarFlag(var, "lineno", False))
bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln, data)
data.setVar('BBINCLUDED',bb.parse.get_file_depends(data))
return data
@staticmethod
def _parse_recipe(bb_data, bbfile, appends, mc, layername):
bb_data.setVar("__BBMULTICONFIG", mc)
bb_data.setVar("FILE_LAYERNAME", layername)
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
bb.parse.cached_mtime_noerror(bbfile_loc)
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
return bb.parse.handle(bbfile, bb_data)
def parseRecipeVariants(self, bbfile, appends, virtonly=False, mc=None, layername=None):
"""
Load and parse one .bb build file
Return the data and whether parsing resulted in the file being skipped
"""
if virtonly:
(bbfile, virtual, mc) = bb.cache.virtualfn2realfn(bbfile)
bb_data = self.mcdata[mc].createCopy()
bb_data.setVar("__ONLYFINALISE", virtual or "default")
return self._parse_recipe(bb_data, bbfile, appends, mc, layername)
if mc is not None:
bb_data = self.mcdata[mc].createCopy()
return self._parse_recipe(bb_data, bbfile, appends, mc, layername)
bb_data = self.data.createCopy()
datastores = self._parse_recipe(bb_data, bbfile, appends, '', layername)
for mc in self.mcdata:
if not mc:
continue
bb_data = self.mcdata[mc].createCopy()
newstores = self._parse_recipe(bb_data, bbfile, appends, mc, layername)
for ns in newstores:
datastores["mc:%s:%s" % (mc, ns)] = newstores[ns]
return datastores
def parseRecipe(self, virtualfn, appends, layername):
"""
Return a complete set of data for fn.
To do this, we need to parse the file.
"""
logger.debug("Parsing %s (full)" % virtualfn)
(fn, virtual, mc) = bb.cache.virtualfn2realfn(virtualfn)
datastores = self.parseRecipeVariants(virtualfn, appends, virtonly=True, layername=layername)
return datastores[virtual]

Some files were not shown because too many files have changed in this diff Show More