Compare commits

...

375 Commits

Author SHA1 Message Date
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
810 changed files with 8041 additions and 4295 deletions

View File

@@ -27,7 +27,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.15.0"
__version__ = "2.15.1"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -30,7 +30,7 @@ logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = float(sys.argv[7])
profile = bool(int(sys.argv[8]))
profile = sys.argv[8]
xmlrpcinterface = (sys.argv[9], int(sys.argv[10]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])

View File

@@ -182,11 +182,8 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
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
# Convert to a python numeric value as it could be a string
umask = bb.utils.to_filemode(umask)
dry_run = cfg.dry_run or runtask['dry_run']

View File

@@ -39,10 +39,10 @@ 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')
rootdir = l.getVar('UNPACKDIR')
fetcher.unpack(rootdir)
This code unpacks the downloaded files to the specified by ``WORKDIR``.
This code unpacks the downloaded files to the specified by ``UNPACKDIR``.
.. note::
@@ -51,7 +51,7 @@ This code unpacks the downloaded files to the specified by ``WORKDIR``.
examine the OpenEmbedded class file ``base.bbclass``
.
The :term:`SRC_URI` and ``WORKDIR`` variables are not hardcoded into the
The :term:`SRC_URI` and ``UNPACKDIR`` 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.
@@ -436,13 +436,15 @@ This fetcher supports the following parameters:
"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".
- *"rev":* The revision to use for the checkout. If :term:`SRCREV` is also set,
this parameter must match its value.
- *"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.
- *"tag":* Specifies a tag to use when fetching. To correctly resolve
tags, BitBake must access the network. If a ``rev`` parameter or
:term:`SRCREV` is also specified, network access is not necessary to resolve
the tag and instead, it is verified that they both resolve to the same commit
SHA at unpack time. The ``tag`` parameter is optional, but strongly
recommended if the checked out revision is a tag.
- *"subpath":* Limits the checkout to a specific subpath of the tree.
By default, the whole tree is checked out.
@@ -461,13 +463,6 @@ Here are some example URLs::
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.
@@ -598,7 +593,7 @@ 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"
S = "${UNPACKDIR}/p4"
Here is an example that specifies the server URL and port, username, and
password, and fetches a Revision based on a Label::
@@ -607,15 +602,15 @@ password, and fetches a Revision based on a Label::
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
SRCREV = "release-1.0"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
S = "${UNPACKDIR}/p4"
.. note::
You should always set S to "${WORKDIR}/p4" in your recipe.
You should always set S to "${UNPACKDIR}/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
in ``${UNPACKDIR}/p4``. For situations where preserving parts of the remote depot
paths locally is desirable, the fetcher supports two parameters:
- *"module":*

View File

@@ -998,9 +998,9 @@ This directive allows fine-tuning local configurations with configuration
snippets contained in layers in a structured, controlled way. Typically it would
go into ``bitbake.conf``, for example::
addfragments conf/fragments OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS
addfragments conf/fragments OE_FRAGMENTS OE_FRAGMENTS_METADATA_VARS OE_BUILTIN_FRAGMENTS
``addfragments`` takes three parameters:
``addfragments`` takes four parameters:
- path prefix for fragment files inside the layer file tree that bitbake
uses to construct full paths to the fragment files
@@ -1011,6 +1011,8 @@ go into ``bitbake.conf``, for example::
- name of variable that contains a list of variable names containing
fragment-specific metadata (such as descriptions)
- name of variable that contains definitions for built-in fragments
This allows listing enabled configuration fragments in ``OE_FRAGMENTS``
variable like this::
@@ -1035,6 +1037,19 @@ The implementation will add a flag containing the fragment name to each of those
when parsing fragments, so that the variables are namespaced by fragment name, and do not override
each other when several fragments are enabled.
The variable containing a built-in fragment definitions could look like this::
OE_BUILTIN_FRAGMENTS = "someprefix:SOMEVARIABLE anotherprefix:ANOTHERVARIABLE"
and then if 'someprefix/somevalue' is added to the variable that holds the list
of enabled fragments:
OE_FRAGMENTS = "... someprefix/somevalue"
bitbake will treat that as direct value assignment in its configuration::
SOMEVARIABLE = "somevalue"
Functions
=========

View File

@@ -310,6 +310,11 @@ overview of their function and contents.
For example usage, see :term:`BB_GIT_SHALLOW`.
:term:`BB_GIT_DEFAULT_DESTSUFFIX`
The default destination directory where the Git fetcher unpacks the
source code. If this variable is not set, the source code is unpacked in a
directory named "git".
:term:`BB_GIT_SHALLOW`
Setting this variable to "1" enables the support for fetching, using and
generating mirror tarballs of `shallow git repositories <https://riptutorial.com/git/example/4584/shallow-clone>`_.
@@ -533,11 +538,28 @@ overview of their function and contents.
version 4.20 expose under ``/proc/pressure``. The threshold represents
the difference in "total" pressure from the previous second. The
minimum value is 1.0 (extremely slow builds) and the maximum is
1000000 (a pressure value unlikely to ever be reached).
1000000 (a pressure value unlikely to ever be reached). See
https://docs.kernel.org/accounting/psi.html for more information.
This threshold can be set in ``conf/local.conf`` as::
A default value to limit the CPU pressure to be set in ``conf/local.conf``
could be::
BB_PRESSURE_MAX_CPU = "500"
BB_PRESSURE_MAX_CPU = "15000"
Multiple values should be tested on the build host to determine what suits
best, depending on the need for performances versus load average during
the build.
.. note::
You may see numerous messages printed by BitBake in the case the
:term:`BB_PRESSURE_MAX_CPU` is too low:
Pressure status changed to CPU: True, IO: False, Mem: False (CPU: 1105.9/2.0, IO: 0.0/2.0, Mem: 0.0/2.0) - using 1/64 bitbake threads
This means that the :term:`BB_PRESSURE_MAX_CPU` should be increased to
a reasonable value for limiting the CPU pressure on the system.
Monitor the varying value after ``IO:`` above to set a sensible value.
:term:`BB_PRESSURE_MAX_IO`
Specifies a maximum I/O pressure threshold, above which BitBake's
@@ -549,14 +571,34 @@ overview of their function and contents.
version 4.20 expose under ``/proc/pressure``. The threshold represents
the difference in "total" pressure from the previous second. The
minimum value is 1.0 (extremely slow builds) and the maximum is
1000000 (a pressure value unlikely to ever be reached).
1000000 (a pressure value unlikely to ever be reached). See
https://docs.kernel.org/accounting/psi.html for more information.
At this point in time, experiments show that IO pressure tends to
be short-lived and regulating just the CPU with
:term:`BB_PRESSURE_MAX_CPU` can help to reduce it.
:term:`BB_PRESSURE_MAX_MEMORY`
A default value to limit the IO pressure to be set in ``conf/local.conf``
could be::
BB_PRESSURE_MAX_IO = "15000"
Multiple values should be tested on the build host to determine what suits
best, depending on the need for performances versus I/O usage during the
build.
.. note::
You may see numerous messages printed by BitBake in the case the
:term:`BB_PRESSURE_MAX_IO` is too low::
Pressure status changed to CPU: None, IO: True, Mem: False (CPU: 2236.0/None, IO: 153.6/2.0, Mem: 0.0/2.0) - using 19/64 bitbake threads
This means that the :term:`BB_PRESSURE_MAX_IO` should be increased to
a reasonable value for limiting the I/O pressure on the system.
Monitor the varying value after ``IO:`` above to set a sensible value.
:term:`BB_PRESSURE_MAX_MEMORY`
Specifies a maximum memory pressure threshold, above which BitBake's
scheduler will not start new tasks (providing there is at least
one active task). If no value is set, memory pressure is not
@@ -566,7 +608,8 @@ overview of their function and contents.
version 4.20 expose under ``/proc/pressure``. The threshold represents
the difference in "total" pressure from the previous second. The
minimum value is 1.0 (extremely slow builds) and the maximum is
1000000 (a pressure value unlikely to ever be reached).
1000000 (a pressure value unlikely to ever be reached). See
https://docs.kernel.org/accounting/psi.html for more information.
Memory pressure is experienced when time is spent swapping,
refaulting pages from the page cache or performing direct reclaim.
@@ -574,6 +617,26 @@ overview of their function and contents.
might be useful as a last resort to prevent OOM errors if they are
occurring during builds.
A default value to limit the memory pressure to be set in
``conf/local.conf`` could be::
BB_PRESSURE_MAX_MEMORY = "15000"
Multiple values should be tested on the build host to determine what suits
best, depending on the need for performances versus memory consumption
during the build.
.. note::
You may see numerous messages printed by BitBake in the case the
:term:`BB_PRESSURE_MAX_MEMORY` is too low::
Pressure status changed to CPU: None, IO: False, Mem: True (CPU: 29.5/None, IO: 0.0/2.0, Mem: 2553.3/2.0) - using 17/64 bitbake threads
This means that the :term:`BB_PRESSURE_MAX_MEMORY` should be increased to
a reasonable value for limiting the memory pressure on the system.
Monitor the varying value after ``Mem:`` above to set a sensible value.
:term:`BB_RUNFMT`
Specifies the name of the executable script files (i.e. run files)
saved into ``${``\ :term:`T`\ ``}``. By default, the

View File

@@ -9,7 +9,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.15.0"
__version__ = "2.15.1"
import sys
if sys.version_info < (3, 9, 0):
@@ -37,6 +37,34 @@ class BBHandledException(Exception):
import os
import logging
from collections import namedtuple
import multiprocessing as mp
# Python 3.14 changes the default multiprocessing context from "fork" to
# "forkserver". However, bitbake heavily relies on "fork" behavior to
# efficiently pass data to the child processes. Places that need this should do:
# from bb import multiprocessing
# in place of
# import multiprocessing
class MultiprocessingContext(object):
"""
Multiprocessing proxy object that uses the "fork" context for a property if
available, otherwise goes to the main multiprocessing module. This allows
it to be a drop-in replacement for the multiprocessing module, but use the
fork context
"""
def __init__(self):
super().__setattr__("_ctx", mp.get_context("fork"))
def __getattr__(self, name):
if hasattr(self._ctx, name):
return getattr(self._ctx, name)
return getattr(mp, name)
def __setattr__(self, name, value):
raise AttributeError(f"Unable to set attribute {name}")
multiprocessing = MultiprocessingContext()
class NullHandler(logging.Handler):

View File

@@ -11,7 +11,7 @@ import os
import signal
import socket
import sys
import multiprocessing
from bb import multiprocessing
import logging
from .connection import StreamConnection, WebsocketConnection
from .exceptions import ClientError, ServerError, ConnectionClosedError, InvokeError
@@ -211,7 +211,10 @@ class UnixStreamServer(StreamServer):
self.server.close()
def cleanup(self):
os.unlink(self.path)
try:
os.unlink(self.path)
except FileNotFoundError:
pass
class WebsocketsServer(object):

View File

@@ -12,7 +12,7 @@ import enum
import sys, os, glob, os.path, re, time
import itertools
import logging
import multiprocessing
from bb import multiprocessing
import threading
from io import StringIO, UnsupportedOperation
from contextlib import closing
@@ -26,6 +26,7 @@ import json
import pickle
import codecs
import hashserv
import ctypes
logger = logging.getLogger("BitBake")
collectlog = logging.getLogger("BitBake.Collection")
@@ -1998,8 +1999,9 @@ class ParsingFailure(Exception):
Exception.__init__(self, realexception, recipe)
class Parser(multiprocessing.Process):
def __init__(self, jobs, results, quit, profile):
def __init__(self, jobs, next_job_id, results, quit, profile):
self.jobs = jobs
self.next_job_id = next_job_id
self.results = results
self.quit = quit
multiprocessing.Process.__init__(self)
@@ -2009,6 +2011,7 @@ class Parser(multiprocessing.Process):
self.queue_signals = False
self.signal_received = []
self.signal_threadlock = threading.Lock()
self.exit = False
def catch_sig(self, signum, frame):
if self.queue_signals:
@@ -2021,24 +2024,10 @@ class Parser(multiprocessing.Process):
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.kill(os.getpid(), signal.SIGTERM)
elif signum == signal.SIGINT:
signal.default_int_handler(signum, frame)
self.exit = True
def run(self):
if not self.profile:
self.realrun()
return
try:
import cProfile as profile
except:
import profile
prof = profile.Profile()
try:
profile.Profile.runcall(prof, self.realrun)
finally:
logfile = "profile-parse-%s.log" % multiprocessing.current_process().name
prof.dump_stats(logfile)
bb.utils.profile_function("parsing" in self.profile, self.realrun, "profile-parse-%s.log" % multiprocessing.current_process().name, process=False)
def realrun(self):
# Signal handling here is hard. We must not terminate any process or thread holding the write
@@ -2059,15 +2048,19 @@ class Parser(multiprocessing.Process):
pending = []
havejobs = True
try:
while havejobs or pending:
while (havejobs or pending) and not self.exit:
if self.quit.is_set():
break
job = None
try:
job = self.jobs.pop()
except IndexError:
havejobs = False
if havejobs:
with self.next_job_id.get_lock():
if self.next_job_id.value < len(self.jobs):
job = self.jobs[self.next_job_id.value]
self.next_job_id.value += 1
else:
havejobs = False
if job:
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
@@ -2133,13 +2126,13 @@ class CookerParser(object):
self.bb_caches = bb.cache.MulticonfigCache(self.cfgbuilder, self.cfghash, cooker.caches_array)
self.fromcache = set()
self.willparse = set()
self.willparse = []
for mc in self.cooker.multiconfigs:
for filename in self.mcfilelist[mc]:
appends = self.cooker.collections[mc].get_file_appends(filename)
layername = self.cooker.collections[mc].calc_bbfile_priority(filename)[2]
if not self.bb_caches[mc].cacheValid(filename, appends):
self.willparse.add((mc, self.bb_caches[mc], filename, appends, layername))
self.willparse.append((mc, self.bb_caches[mc], filename, appends, layername))
else:
self.fromcache.add((mc, self.bb_caches[mc], filename, appends, layername))
@@ -2158,18 +2151,18 @@ class CookerParser(object):
def start(self):
self.results = self.load_cached()
self.processes = []
if self.toparse:
bb.event.fire(bb.event.ParseStarted(self.toparse), self.cfgdata)
next_job_id = multiprocessing.Value(ctypes.c_int, 0)
self.parser_quit = multiprocessing.Event()
self.result_queue = multiprocessing.Queue()
def chunkify(lst,n):
return [lst[i::n] for i in range(n)]
self.jobs = chunkify(list(self.willparse), self.num_processes)
# Have to pass in willparse at fork time so all parsing processes have the unpickleable data
# then access it by index from the parse queue.
for i in range(0, self.num_processes):
parser = Parser(self.jobs[i], self.result_queue, self.parser_quit, self.cooker.configuration.profile)
parser = Parser(self.willparse, next_job_id, self.result_queue, self.parser_quit, self.cooker.configuration.profile)
parser.start()
self.process_names.append(parser.name)
self.processes.append(parser)
@@ -2196,11 +2189,12 @@ class CookerParser(object):
# Cleanup the queue before call process.join(), otherwise there might be
# deadlocks.
while True:
try:
self.result_queue.get(timeout=0.25)
except queue.Empty:
break
def read_results():
while True:
try:
self.result_queue.get(timeout=0.25)
except queue.Empty:
break
def sync_caches():
for c in self.bb_caches.values():
@@ -2212,15 +2206,19 @@ class CookerParser(object):
self.parser_quit.set()
read_results()
for process in self.processes:
process.join(0.5)
process.join(2)
for process in self.processes:
if process.exitcode is None:
os.kill(process.pid, signal.SIGINT)
read_results()
for process in self.processes:
process.join(0.5)
process.join(2)
for process in self.processes:
if process.exitcode is None:
@@ -2243,9 +2241,9 @@ class CookerParser(object):
profiles.append(logfile)
if profiles:
pout = "profile-parse.log.processed"
bb.utils.process_profilelog(profiles, pout = pout)
print("Processed parsing statistics saved to %s" % (pout))
fn_out = "profile-parse.log.report"
bb.utils.process_profilelog(profiles, fn_out=fn_out)
print("Processed parsing statistics saved to %s" % (fn_out))
def final_cleanup(self):
if self.syncthread:
@@ -2277,7 +2275,7 @@ class CookerParser(object):
yield result
if not (self.parsed >= self.toparse):
raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? Exiting.", None)
raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? (%s %s of %s) Exiting." % (len(self.processes), self.parsed, self.toparse), None)
def parse_next(self):

View File

@@ -236,9 +236,12 @@ def fire(event, d):
# If messages have been queued up, clear the queue
global _uiready, ui_queue
if _uiready and ui_queue:
for queue_event in ui_queue:
with bb.utils.lock_timeout_nocheck(_thread_lock):
queue = ui_queue
ui_queue = []
for queue_event in queue:
fire_ui_handlers(queue_event, d)
ui_queue = []
fire_ui_handlers(event, d)
def fire_from_worker(event, d):

View File

@@ -199,6 +199,8 @@ class Git(FetchMethod):
ud.shallow_skip_fast = False
ud.shallow = d.getVar("BB_GIT_SHALLOW") == "1"
ud.shallow_extra_refs = (d.getVar("BB_GIT_SHALLOW_EXTRA_REFS") or "").split()
if 'tag' in ud.parm:
ud.shallow_extra_refs.append("refs/tags/" + ud.parm['tag'])
depth_default = d.getVar("BB_GIT_SHALLOW_DEPTH")
if depth_default is not None:
@@ -633,8 +635,6 @@ class Git(FetchMethod):
for line in all_refs_remote:
all_refs.append(line.split()[-1])
extra_refs = []
if 'tag' in ud.parm:
extra_refs.append(ud.parm['tag'])
for r in ud.shallow_extra_refs:
if not ud.bareclone:
r = r.replace('refs/heads/', 'refs/remotes/origin/')
@@ -660,7 +660,7 @@ class Git(FetchMethod):
subdir = ud.parm.get("subdir")
subpath = ud.parm.get("subpath")
readpathspec = ""
def_destsuffix = "git/"
def_destsuffix = (d.getVar("BB_GIT_DEFAULT_DESTSUFFIX") or "git") + "/"
if subpath:
readpathspec = ":%s" % subpath

View File

@@ -208,8 +208,10 @@ def create_bitbake_parser():
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")
exec_group.add_argument("-P", "--profile", action="store_true",
help="Profile the command and save reports.")
exec_group.add_argument("-P", "--profile", action="append",
default=[],
help="Profile the command and save reports. Specify 'main', 'idle' or 'parsing' "
"to indicate which bitbake code to profile.")
exec_group.add_argument("-S", "--dump-signatures", action="append",
default=[], metavar="SIGNATURE_HANDLER",

View File

@@ -343,11 +343,12 @@ class InheritDeferredNode(AstNode):
bb.parse.BBHandler.inherit_defer(*self.inherit, data)
class AddFragmentsNode(AstNode):
def __init__(self, filename, lineno, fragments_path_prefix, fragments_variable, flagged_variables_list_variable):
def __init__(self, filename, lineno, fragments_path_prefix, fragments_variable, flagged_variables_list_variable, builtin_fragments_variable):
AstNode.__init__(self, filename, lineno)
self.fragments_path_prefix = fragments_path_prefix
self.fragments_variable = fragments_variable
self.flagged_variables_list_variable = flagged_variables_list_variable
self.builtin_fragments_variable = builtin_fragments_variable
def eval(self, data):
# No need to use mark_dependency since we would only match a fragment
@@ -360,13 +361,23 @@ class AddFragmentsNode(AstNode):
return candidate_fragment_path
return None
def check_and_set_builtin_fragment(fragment, data, builtin_fragments):
prefix, value = fragment.split('/', 1)
if prefix in builtin_fragments.keys():
data.setVar(builtin_fragments[prefix], value)
return True
return False
fragments = data.getVar(self.fragments_variable)
layers = data.getVar('BBLAYERS')
flagged_variables = data.getVar(self.flagged_variables_list_variable).split()
builtin_fragments = {f[0]:f[1] for f in [f.split(':') for f in data.getVar(self.builtin_fragments_variable).split()] }
if not fragments:
return
for f in fragments.split():
if check_and_set_builtin_fragment(f, data, builtin_fragments):
continue
layerid, fragment_name = f.split('/', 1)
full_fragment_name = data.expand("{}/{}.conf".format(self.fragments_path_prefix, fragment_name))
fragment_path = find_fragment(layers, layerid, full_fragment_name)
@@ -430,7 +441,8 @@ def handleAddFragments(statements, filename, lineno, m):
fragments_path_prefix = m.group(1)
fragments_variable = m.group(2)
flagged_variables_list_variable = m.group(3)
statements.append(AddFragmentsNode(filename, lineno, fragments_path_prefix, fragments_variable, flagged_variables_list_variable))
builtin_fragments_variable = m.group(4)
statements.append(AddFragmentsNode(filename, lineno, fragments_path_prefix, fragments_variable, flagged_variables_list_variable, builtin_fragments_variable))
def runAnonFuncs(d):
code = []

View File

@@ -48,7 +48,7 @@ __export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]+)\]$" )
__addpylib_regexp__ = re.compile(r"addpylib\s+(.+)\s+(.+)" )
__addfragments_regexp__ = re.compile(r"addfragments\s+(.+)\s+(.+)\s+(.+)" )
__addfragments_regexp__ = re.compile(r"addfragments\s+(.+)\s+(.+)\s+(.+)\s+(.+)" )
def init(data):
return

View File

@@ -13,7 +13,7 @@
import bb
import bb.event
import logging
import multiprocessing
from bb import multiprocessing
import threading
import array
import os
@@ -80,9 +80,6 @@ class idleFinish():
self.msg = msg
class ProcessServer():
profile_filename = "profile.log"
profile_processed_filename = "profile.log.processed"
def __init__(self, lock, lockname, sock, sockname, server_timeout, xmlrpcinterface):
self.command_channel = False
self.command_channel_reply = False
@@ -140,23 +137,7 @@ class ProcessServer():
serverlog("Error writing to lock file: %s" % str(e))
pass
if self.cooker.configuration.profile:
try:
import cProfile as profile
except:
import profile
prof = profile.Profile()
ret = profile.Profile.runcall(prof, self.main)
prof.dump_stats("profile.log")
bb.utils.process_profilelog("profile.log")
serverlog("Raw profiling information saved to profile.log and processed statistics to profile.log.processed")
else:
ret = self.main()
return ret
return bb.utils.profile_function("main" in self.cooker.configuration.profile, self.main, "profile-mainloop.log")
def _idle_check(self):
return len(self._idlefuns) == 0 and self.cooker.command.currentAsyncCommand is None
@@ -417,20 +398,7 @@ class ProcessServer():
serverlog("".join(msg))
def idle_thread(self):
if self.cooker.configuration.profile:
try:
import cProfile as profile
except:
import profile
prof = profile.Profile()
ret = profile.Profile.runcall(prof, self.idle_thread_internal)
prof.dump_stats("profile-mainloop.log")
bb.utils.process_profilelog("profile-mainloop.log")
serverlog("Raw profiling information saved to profile-mainloop.log and processed statistics to profile-mainloop.log.processed")
else:
self.idle_thread_internal()
bb.utils.profile_function("idle" in self.cooker.configuration.profile, self.idle_thread_internal, "profile-idleloop.log")
def idle_thread_internal(self):
def remove_idle_func(function):
@@ -632,7 +600,7 @@ class BitBakeServer(object):
os.set_inheritable(self.bitbake_lock.fileno(), True)
os.set_inheritable(self.readypipein, True)
serverscript = os.path.realpath(os.path.dirname(__file__) + "/../../../bin/bitbake-server")
os.execl(sys.executable, sys.executable, serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(int(self.profile)), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
os.execl(sys.executable, sys.executable, serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(list(self.profile)), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface, profile):

View File

@@ -708,7 +708,7 @@ class SignatureGeneratorUniHashMixIn(object):
try:
with self.client() as client:
unihashes = client.get_unihash_batch((self._get_method(tid), self.taskhash[tid]) for tid in query_tids)
except (ConnectionError, FileNotFoundError) as e:
except (ConnectionError, FileNotFoundError, EOFError) as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
for idx, tid in enumerate(query_tids):
@@ -817,7 +817,7 @@ class SignatureGeneratorUniHashMixIn(object):
d.setVar('BB_UNIHASH', new_unihash)
else:
hashequiv_logger.debug('Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
except (ConnectionError, FileNotFoundError) as e:
except (ConnectionError, FileNotFoundError, EOFError) as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
finally:
if sigfile:
@@ -859,7 +859,7 @@ class SignatureGeneratorUniHashMixIn(object):
# TODO: What to do here?
hashequiv_logger.verbose('Task %s unihash reported as unwanted hash %s' % (tid, finalunihash))
except (ConnectionError, FileNotFoundError) as e:
except (ConnectionError, FileNotFoundError, EOFError) as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
return False

View File

@@ -1465,7 +1465,7 @@ class FetchLatestVersionTest(FetcherTest):
# combination version pattern
("sysprof", "git://git.yoctoproject.org/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "")
: "1.2.0",
("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "")
("u-boot-mkimage", "git://git.yoctoproject.org/bbfetchtests-u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "")
: "2014.01",
# version pattern "yyyymmdd"
("mobile-broadband-provider-info", "git://git.yoctoproject.org/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "")

View File

@@ -98,7 +98,7 @@ do_package_qa[rdeptask] = "do_packagedata"
do_populate_lic_deploy[recrdeptask] += "do_populate_lic do_deploy"
DEBIANRDEP = "do_packagedata"
oo_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
do_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
do_package_write_rpm[rdeptask] = "${DEBIANRDEP}"
addtask fetch

View File

@@ -3,7 +3,7 @@
#
import http.server
import multiprocessing
from bb import multiprocessing
import os
import traceback
import signal
@@ -43,7 +43,7 @@ class HTTPService(object):
self.process = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger])
# The signal handler from testimage.bbclass can cause deadlocks here
# if the HTTPServer is terminated before it can restore the standard
# if the HTTPServer is terminated before it can restore the standard
#signal behaviour
orig = signal.getsignal(signal.SIGTERM)
signal.signal(signal.SIGTERM, signal.SIG_DFL)

View File

@@ -692,3 +692,14 @@ class EnvironmentTests(unittest.TestCase):
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertNotIn("B", os.environ)
class FilemodeTests(unittest.TestCase):
def test_filemode_convert(self):
self.assertEqual(0o775, bb.utils.to_filemode("0o775"))
self.assertEqual(0o775, bb.utils.to_filemode(0o775))
self.assertEqual(0o775, bb.utils.to_filemode("775"))
with self.assertRaises(ValueError):
bb.utils.to_filemode("xyz")
with self.assertRaises(ValueError):
bb.utils.to_filemode("999")

View File

@@ -14,7 +14,7 @@ import time
import atexit
import re
from collections import OrderedDict, defaultdict
from functools import partial
from functools import partial, wraps
from contextlib import contextmanager
import bb.cache
@@ -27,6 +27,135 @@ import bb.remotedata
from bb.main import setup_bitbake, BitBakeConfigParameters
import bb.fetch2
def wait_for(f):
"""
Wrap a function that makes an asynchronous tinfoil call using
self.run_command() and wait for events to say that the call has been
successful, or an error has occurred.
"""
@wraps(f)
def wrapper(self, *args, handle_events=True, extra_events=None, event_callback=None, **kwargs):
if handle_events:
# A reasonable set of default events matching up with those we handle below
eventmask = [
'bb.event.BuildStarted',
'bb.event.BuildCompleted',
'logging.LogRecord',
'bb.event.NoProvider',
'bb.command.CommandCompleted',
'bb.command.CommandFailed',
'bb.build.TaskStarted',
'bb.build.TaskFailed',
'bb.build.TaskSucceeded',
'bb.build.TaskFailedSilent',
'bb.build.TaskProgress',
'bb.runqueue.runQueueTaskStarted',
'bb.runqueue.sceneQueueTaskStarted',
'bb.event.ProcessStarted',
'bb.event.ProcessProgress',
'bb.event.ProcessFinished',
]
if extra_events:
eventmask.extend(extra_events)
ret = self.set_event_mask(eventmask)
includelogs = self.config_data.getVar('BBINCLUDELOGS')
loglines = self.config_data.getVar('BBINCLUDELOGS_LINES')
# Call actual function
ret = f(self, *args, **kwargs)
if handle_events:
lastevent = time.time()
result = False
# Borrowed from knotty, instead somewhat hackily we use the helper
# as the object to store "shutdown" on
helper = bb.ui.uihelper.BBUIHelper()
helper.shutdown = 0
parseprogress = None
termfilter = bb.ui.knotty.TerminalFilter(helper, helper, self.logger.handlers, quiet=self.quiet)
try:
while True:
try:
event = self.wait_event(0.25)
if event:
lastevent = time.time()
if event_callback and event_callback(event):
continue
if helper.eventHandler(event):
if isinstance(event, bb.build.TaskFailedSilent):
self.logger.warning("Logfile for failed setscene task is %s" % event.logfile)
elif isinstance(event, bb.build.TaskFailed):
bb.ui.knotty.print_event_log(event, includelogs, loglines, termfilter)
continue
if isinstance(event, bb.event.ProcessStarted):
if self.quiet > 1:
continue
parseprogress = bb.ui.knotty.new_progress(event.processname, event.total)
parseprogress.start(False)
continue
if isinstance(event, bb.event.ProcessProgress):
if self.quiet > 1:
continue
if parseprogress:
parseprogress.update(event.progress)
else:
bb.warn("Got ProcessProgress event for something that never started?")
continue
if isinstance(event, bb.event.ProcessFinished):
if self.quiet > 1:
continue
if parseprogress:
parseprogress.finish()
parseprogress = None
continue
if isinstance(event, bb.command.CommandCompleted):
result = True
break
if isinstance(event, (bb.command.CommandFailed, bb.command.CommandExit)):
self.logger.error(str(event))
result = False
break
if isinstance(event, logging.LogRecord):
if event.taskpid == 0 or event.levelno > logging.INFO:
self.logger.handle(event)
continue
if isinstance(event, bb.event.NoProvider):
self.logger.error(str(event))
result = False
break
elif helper.shutdown > 1:
break
termfilter.updateFooter()
if time.time() > (lastevent + (3*60)):
if not self.run_command('ping', handle_events=False):
print("\nUnable to ping server and no events, closing down...\n")
return False
except KeyboardInterrupt:
termfilter.clearFooter()
if helper.shutdown == 1:
print("\nSecond Keyboard Interrupt, stopping...\n")
ret = self.run_command("stateForceShutdown")
if ret and ret[2]:
self.logger.error("Unable to cleanly stop: %s" % ret[2])
elif helper.shutdown == 0:
print("\nKeyboard Interrupt, closing down...\n")
interrupted = True
ret = self.run_command("stateShutdown")
if ret and ret[2]:
self.logger.error("Unable to cleanly shutdown: %s" % ret[2])
helper.shutdown = helper.shutdown + 1
termfilter.clearFooter()
finally:
termfilter.finish()
if helper.failed_tasks:
result = False
return result
else:
return ret
return wrapper
# We need this in order to shut down the connection to the bitbake server,
# otherwise the process will never properly exit
@@ -700,6 +829,10 @@ class Tinfoil:
"""
return self.run_command('buildFile', buildfile, task, internal)
@wait_for
def build_file_sync(self, *args):
self.build_file(*args)
def build_targets(self, targets, task=None, handle_events=True, extra_events=None, event_callback=None):
"""
Builds the specified targets. This is equivalent to a normal invocation

View File

@@ -12,7 +12,7 @@ import sys
import errno
import logging
import locale
import multiprocessing
from bb import multiprocessing
import importlib
import importlib.machinery
import importlib.util
@@ -1211,6 +1211,23 @@ def which(path, item, direction = 0, history = False, executable=False):
return "", hist
return ""
def to_filemode(input):
"""
Take a bitbake variable contents defining a file mode and return
the proper python representation of the number
Arguments:
- ``input``: a string or number to convert, e.g. a bitbake variable
string, assumed to be an octal representation
Returns the python file mode as a number
"""
# umask might come in as a number or text string..
if type(input) is int:
return input
return int(input, 8)
@contextmanager
def umask(new_mask):
"""
@@ -1401,42 +1418,66 @@ def cpu_count():
def nonblockingfd(fd):
fcntl.fcntl(fd, fcntl.F_SETFL, fcntl.fcntl(fd, fcntl.F_GETFL) | os.O_NONBLOCK)
def process_profilelog(fn, pout = None):
# Either call with a list of filenames and set pout or a filename and optionally pout.
if not pout:
pout = fn + '.processed'
def profile_function(profile, function, output_fn, process=True):
"""Common function to profile a code block and optionally process the
output using or processing function.
with open(pout, 'w') as pout:
import pstats
Arguments:
- ``profile``: a boolean saying whether to enable profiling or not
- ``function``: the function call to profile/run
- ``outputfn``: where to write the profiling data
- ``process``: whether to process the profiling data and write a report
Returns the wrapped function return value
"""
if profile:
try:
import cProfile as profile
except:
import profile
prof = profile.Profile()
ret = profile.Profile.runcall(prof, function)
prof.dump_stats(output_fn)
if process:
process_profilelog(output_fn)
serverlog("Raw profiling information saved to %s and processed statistics to %s.report*" % (output_fn, output_fn))
return ret
else:
return function()
def process_profilelog(fn, fn_out = None):
# Either call with a list of filenames and set pout or a filename and optionally pout.
import pstats
if not fn_out:
fn_out = fn + '.report'
def pstatopen():
if isinstance(fn, list):
p = pstats.Stats(*fn, stream=pout)
else:
p = pstats.Stats(fn, stream=pout)
return pstats.Stats(*fn, stream=pout)
return pstats.Stats(fn, stream=pout)
with open(fn_out + '.time', 'w') as pout:
p = pstatopen()
p.sort_stats('time')
p.print_stats()
with open(fn_out + '.time-callers', 'w') as pout:
p = pstatopen()
p.sort_stats('time')
p.print_callers()
with open(fn_out + '.cumulative', 'w') as pout:
p = pstatopen()
p.sort_stats('cumulative')
p.print_stats()
pout.flush()
with open(fn_out + '.cumulative-callers', 'w') as pout:
p = pstatopen()
p.sort_stats('cumulative')
p.print_callers()
#
# Was present to work around multiprocessing pool bugs in python < 2.7.3
#
def multiprocessingpool(*args, **kwargs):
import multiprocessing.pool
#import multiprocessing.util
#multiprocessing.util.log_to_stderr(10)
# Deal with a multiprocessing bug where signals to the processes would be delayed until the work
# completes. Putting in a timeout means the signals (like SIGINT/SIGTERM) get processed.
def wrapper(func):
def wrap(self, timeout=None):
return func(self, timeout=timeout if timeout is not None else 1e100)
return wrap
multiprocessing.pool.IMapIterator.next = wrapper(multiprocessing.pool.IMapIterator.next)
return multiprocessing.Pool(*args, **kwargs)
def exec_flat_python_func(func, *args, **kwargs):
"""Execute a flat python function (defined with ``def funcname(args): ...``)
@@ -2181,6 +2222,15 @@ def path_is_descendant(descendant, ancestor):
return False
# Recomputing the sets in signal.py is expensive (bitbake -pP idle)
# so try and use _signal directly to avoid it
valid_signals = signal.valid_signals()
try:
import _signal
sigmask = _signal.pthread_sigmask
except ImportError:
sigmask = signal.pthread_sigmask
# If we don't have a timeout of some kind and a process/thread exits badly (for example
# OOM killed) and held a lock, we'd just hang in the lock futex forever. It is better
# we exit at some point than hang. 5 minutes with no progress means we're probably deadlocked.
@@ -2190,7 +2240,7 @@ def path_is_descendant(descendant, ancestor):
@contextmanager
def lock_timeout(lock):
try:
s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals())
s = sigmask(signal.SIG_BLOCK, valid_signals)
held = lock.acquire(timeout=5*60)
if not held:
bb.server.process.serverlog("Couldn't get the lock for 5 mins, timed out, exiting.\n%s" % traceback.format_stack())
@@ -2198,17 +2248,17 @@ def lock_timeout(lock):
yield held
finally:
lock.release()
signal.pthread_sigmask(signal.SIG_SETMASK, s)
sigmask(signal.SIG_SETMASK, s)
# A version of lock_timeout without the check that the lock was locked and a shorter timeout
@contextmanager
def lock_timeout_nocheck(lock):
l = False
try:
s = signal.pthread_sigmask(signal.SIG_BLOCK, signal.valid_signals())
s = sigmask(signal.SIG_BLOCK, valid_signals)
l = lock.acquire(timeout=10)
yield l
finally:
if l:
lock.release()
signal.pthread_sigmask(signal.SIG_SETMASK, s)
sigmask(signal.SIG_SETMASK, s)

View File

@@ -10,7 +10,7 @@ from .server import DEFAULT_ANON_PERMS, ALL_PERMISSIONS
from bb.asyncrpc import InvokeError
import hashlib
import logging
import multiprocessing
from bb import multiprocessing
import os
import sys
import tempfile

View File

@@ -108,6 +108,8 @@ class TestLayerDetailsPage(SeleniumTestCase):
save_btn.click()
self.wait_until_visible("#save-changes-for-switch")
# Ensure scrolled into view
self.driver.execute_script('window.scrollTo({behavior: "instant", top: 0, left: 0})')
btn_save_chg_for_switch = self.wait_until_clickable(
"#save-changes-for-switch")
btn_save_chg_for_switch.click()

View File

@@ -685,17 +685,17 @@ class TestProjectPage(TestProjectPageBase):
'active', str(self.find('#information').get_attribute('class'))
)
# Check second tab (recipes)
# Ensure page is scrolled to the top
self.driver.find_element(By.XPATH, '//body').send_keys(Keys.CONTROL + Keys.HOME)
self.wait_until_visible('.nav-tabs')
# Ensure page is scrolled to the top
self.driver.execute_script('window.scrollTo({behavior: "instant", top: 0, left: 0})')
tabs[1].click()
self.assertIn(
'active', str(self.find('#recipes').get_attribute('class'))
)
# Check third tab (machines)
# Ensure page is scrolled to the top
self.driver.find_element(By.XPATH, '//body').send_keys(Keys.CONTROL + Keys.HOME)
self.wait_until_visible('.nav-tabs')
# Ensure page is scrolled to the top
self.driver.execute_script('window.scrollTo({behavior: "instant", top: 0, left: 0})')
tabs[2].click()
self.assertIn(
'active', str(self.find('#machines').get_attribute('class'))

View File

@@ -314,6 +314,16 @@ See https://stackoverflow.com/questions/27420317/restructured-text-rst-http-link
Anchor (<#link>) links are forbidden as they are not checked by Sphinx during
the build and may be broken without knowing about it.
It is also possible to refer to another document within yocto-docs with the
:doc: directive (c.f.
https://www.sphinx-doc.org/en/master/usage/referencing.html#role-doc), e.g.:
For more information, read :doc:`/bsp-guide/index`.
Note that only "absolute" paths (starting with a '/') are allowed. The root
directory of that path is documentation/, that is, :doc:`/bsp-guide/index`
points at documentation/bsp-guide/index.rst.
References
==========

View File

@@ -172,7 +172,7 @@ section.
#. *Optionally Clone the meta-intel BSP Layer:* If your hardware is
based on current Intel CPUs and devices, you can leverage this BSP
layer. For details on the ``meta-intel`` BSP layer, see the layer's
:yocto_git:`README </meta-intel/tree/README>` file.
:yocto_git:`README </meta-intel/tree/README.md>` file.
#. *Navigate to Your Source Directory:* Typically, you set up the
``meta-intel`` Git repository inside the :term:`Source Directory` (e.g.
@@ -204,7 +204,7 @@ section.
.. note::
To see the available branch names in a cloned repository, use the ``git
branch -al`` command. See the
branch -a`` command. See the
":ref:`dev-manual/start:checking out by branch in poky`"
section in the Yocto Project Development Tasks Manual for more
information.
@@ -674,21 +674,21 @@ to the kernel recipe by using a similarly named append file, which is
located in the BSP Layer for your target device (e.g. the
``meta-bsp_root_name/recipes-kernel/linux`` directory).
Suppose you are using the ``linux-yocto_4.4.bb`` recipe to build the
Suppose you are using the ``linux-yocto_6.12.bb`` recipe to build the
kernel. In other words, you have selected the kernel in your
``"bsp_root_name".conf`` file by adding
:term:`PREFERRED_PROVIDER` and :term:`PREFERRED_VERSION`
statements as follows::
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "4.4%"
PREFERRED_VERSION_linux-yocto ?= "6.12%"
.. note::
When the preferred provider is assumed by default, the :term:`PREFERRED_PROVIDER`
statement does not appear in the ``"bsp_root_name".conf`` file.
You would use the ``linux-yocto_4.4.bbappend`` file to append specific
You would use the ``linux-yocto_6.12.bbappend`` file to append specific
BSP settings to the kernel, thus configuring the kernel for your
particular BSP.
@@ -698,14 +698,19 @@ in the Yocto Project Linux Kernel Development Manual.
An alternate scenario is when you create your own kernel recipe for the
BSP. A good example of this is the Raspberry Pi BSP. If you examine the
``recipes-kernel/linux`` directory you see the following::
``recipes-kernel/linux`` directory in that layer you see the following
Raspberry Pi-specific recipes and associated files::
files/
linux-raspberrypi_6.12.bb
linux-raspberrypi_6.1.bb
linux-raspberrypi_6.6.bb
linux-raspberrypi-dev.bb
linux-raspberrypi.inc
linux-raspberrypi_4.14.bb
linux-raspberrypi_4.9.bb
The directory contains three kernel recipes and a common include file.
linux-raspberrypi-v7_6.12.bb
linux-raspberrypi-v7_6.1.bb
linux-raspberrypi-v7_6.6.bb
linux-raspberrypi-v7.inc
Developing a Board Support Package (BSP)
========================================
@@ -876,7 +881,7 @@ The requirements for a released BSP that conform to the Yocto Project are:
``recipes-*`` subdirectories specific to the recipe's function, or
within a subdirectory containing a set of closely-related recipes.
The recipes themselves should follow the general guidelines for
recipes found in the ":doc:`../contributor-guide/recipe-style-guide`"
recipes found in the ":doc:`/contributor-guide/recipe-style-guide`"
in the Yocto Project and OpenEmbedded Contributor Guide.
- *License File:* You must include a license file in the
@@ -910,7 +915,7 @@ The requirements for a released BSP that conform to the Yocto Project are:
- The name and contact information for the BSP layer maintainer.
This is the person to whom patches and questions should be sent.
For information on how to find the right person, see the
:doc:`../contributor-guide/submit-changes` section in the Yocto Project and
:doc:`/contributor-guide/submit-changes` section in the Yocto Project and
OpenEmbedded Contributor Guide.
- Instructions on how to build the BSP using the BSP layer.
@@ -1177,7 +1182,7 @@ Use these steps to create a BSP layer:
- *Create a Kernel Recipe:* Create a kernel recipe in
``recipes-kernel/linux`` by either using a kernel append file or a
new custom kernel recipe file (e.g. ``linux-yocto_4.12.bb``). The BSP
new custom kernel recipe file (e.g. ``linux-yocto_6.12.bb``). The BSP
layers mentioned in the previous step also contain different kernel
examples. See the ":ref:`kernel-dev/common:modifying an existing recipe`"
section in the Yocto Project Linux Kernel Development Manual for
@@ -1242,7 +1247,7 @@ located in :yocto_git:`poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
@@ -1258,23 +1263,21 @@ located in :yocto_git:`poky/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "6.1%"
PREFERRED_VERSION_linux-yocto ?= "6.12%"
KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
KERNEL_DEVICETREE = '${@' '.join('ti/omap/%s' % d for d in '${DTB_FILES}'.split())}'
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
UBOOT_MACHINE = "am335x_evm_defconfig"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${KERNEL_DEVICETREE}"
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${DTB_FILES}"
# support runqemu
EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
@@ -1328,12 +1331,12 @@ Project Reference Manual.
needed in the root filesystem. In this case, the U-Boot recipe must
be built for the image.
At the end of the file, we also use this setings to implement
At the end of the file, we also use this setting to implement
``runqemu`` support on the host machine.
- :term:`DEFAULTTUNE`: Machines
use tunings to optimize machine, CPU, and application performance.
These features, which are collectively known as "tuning features",
These features --- collectively known as "tuning features" ---
are set in the :term:`OpenEmbedded-Core (OE-Core)` layer. In this
example, the default tuning file is :oe_git:`tune-cortexa8
</openembedded-core/tree/meta/conf/machine/include/arm/armv7a/tune-cortexa8.inc>`.
@@ -1363,8 +1366,7 @@ Project Reference Manual.
to create the sysroot when building a Wic image.
- :term:`SERIAL_CONSOLES`:
Defines a serial console (TTY) to enable using getty. In this case,
the baud rate is "115200" and the device name is "ttyO0".
Defines one or more serial consoles (TTYs) to enable using getty.
- :term:`PREFERRED_PROVIDER_virtual/kernel <PREFERRED_PROVIDER>`:
Specifies the recipe that provides "virtual/kernel" when more than
@@ -1374,7 +1376,7 @@ Project Reference Manual.
- :term:`PREFERRED_VERSION_linux-yocto <PREFERRED_VERSION>`:
Defines the version of the recipe used to build the kernel, which is
"6.1" in this case.
"6.12" in this case.
- :term:`KERNEL_IMAGETYPE`:
The type of kernel to build for the device. In this case, the
@@ -1416,12 +1418,6 @@ Project Reference Manual.
Specifies the value passed on the make command line when building
a U-Boot image.
- :term:`UBOOT_ENTRYPOINT`:
Specifies the entry point for the U-Boot image.
- :term:`UBOOT_LOADADDRESS`:
Specifies the load address for the U-Boot image.
- :term:`MACHINE_FEATURES`:
Specifies the list of hardware features the BeagleBone device is
capable of supporting. In this case, the device supports "usbgadget

View File

@@ -179,13 +179,13 @@ from sphinx.search import SearchEnglish
from sphinx.search import languages
class DashFriendlySearchEnglish(SearchEnglish):
# Accept words that can include hyphens
_word_re = re.compile(r'[\w\-]+')
# Accept words that can include 'inner' hyphens or dots
_word_re = re.compile(r'[\w]+(?:[\.\-][\w]+)*')
js_splitter_code = r"""
function splitQuery(query) {
return query
.split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}-]+/gu)
.split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}\-\.]+/gu)
.filter(term => term.length > 0);
}
"""

View File

@@ -76,7 +76,7 @@ Clone the Git repository for the component to modify
----------------------------------------------------
After identifying the component to modify as described in the
":doc:`../contributor-guide/identify-component`" section, clone the
":doc:`/contributor-guide/identify-component`" section, clone the
corresponding Git repository. Here is an example for OpenEmbedded-Core::
git clone https://git.openembedded.org/openembedded-core
@@ -872,7 +872,7 @@ in regards to the use of generative AI tools. See:
https://www.linuxfoundation.org/legal/generative-ai.
All of the existing guidelines in this document are expected to be followed,
including in the :doc:`recipe-style-guide`, and contributing the changes with
including in the :doc:`/contributor-guide/recipe-style-guide`, and contributing the changes with
additional requirements to the items in section
:ref:`contributor-guide/submit-changes:Implement and commit changes`.

View File

@@ -48,7 +48,7 @@ The following figure and list overviews the build process:
:width: 100%
#. *Set up Your Host Development System to Support Development Using the
Yocto Project*: See the ":doc:`start`" section for options on how to get a
Yocto Project*: See the ":doc:`/dev-manual/start`" section for options on how to get a
build host ready to use the Yocto Project.
#. *Initialize the Build Environment:* Initialize the build environment
@@ -113,7 +113,7 @@ The following figure and list overviews the build process:
Building Images for Multiple Targets Using Multiple Configurations
==================================================================
See the :doc:`multiconfig` section of the Yocto Project Development Tasks
See the :doc:`/dev-manual/multiconfig` section of the Yocto Project Development Tasks
Manual.
Building an Initial RAM Filesystem (Initramfs) Image
@@ -591,7 +591,7 @@ If build speed and package feed maintenance are considerations, you
should consider the points in this section that can help you optimize
your tunings to best consider build times and package feed maintenance.
- *Share the :term:`Build Directory`:* If at all possible, share the
- *Share the* :term:`Build Directory` *:* If at all possible, share the
:term:`TMPDIR` across builds. The Yocto Project supports switching between
different :term:`MACHINE` values in the same :term:`TMPDIR`. This practice
is well supported and regularly used by developers when building for
@@ -813,7 +813,7 @@ directory:
#. *Using Local Files Only:* Inside your ``local.conf`` file, add the
:term:`SOURCE_MIRROR_URL` variable, inherit the
:ref:`ref-classes-own-mirrors` class, and use the
:ref:`ref-classes-own-mirrors` class, and add the
:term:`BB_NO_NETWORK` variable to your ``local.conf``::
SOURCE_MIRROR_URL ?= "file:///home/your-download-dir/"

View File

@@ -890,7 +890,7 @@ The build should work without issue.
As with all solved problems, if they originated upstream, you need to
submit the fix for the recipe in OE-Core and upstream so that the
problem is taken care of at its source. See the
":doc:`../contributor-guide/submit-changes`" section for more information.
":doc:`/contributor-guide/submit-changes`" section for more information.
Debugging With the GNU Project Debugger (GDB) Remotely
======================================================
@@ -1261,7 +1261,7 @@ Here are some other tips that you might find useful:
:yocto_bugs:`Bugzilla <>`. For information on
how to submit a bug against the Yocto Project, see the Yocto Project
Bugzilla :yocto_wiki:`wiki page </Bugzilla_Configuration_and_Bug_Tracking>`
and the ":doc:`../contributor-guide/report-defect`" section.
and the ":doc:`/contributor-guide/report-defect`" section.
.. note::

View File

@@ -52,7 +52,7 @@ such as BSD based NAS::
sstate-cache-management.py --remove-duplicated --cache-dir=sstate-cache
This command will ask you to confirm the deletions it identifies.
Run ``sstate-cache-management.sh`` for more details about this script.
Run ``sstate-cache-management.py`` for more details about this script.
.. note::

View File

@@ -6,7 +6,7 @@ Efficiently Fetching Source Files During a Build
The OpenEmbedded build system works with source files located through
the :term:`SRC_URI` variable. When
you build something using BitBake, a big part of the operation is
locating and downloading all the source tarballs. For images,
locating and downloading all of the source code. For images,
downloading all the source for various packages can take a significant
amount of time.
@@ -18,7 +18,7 @@ Setting up Effective Mirrors
============================
A good deal that goes into a Yocto Project build is simply downloading
all of the source tarballs. Maybe you have been working with another
source code. Maybe you have been working with another
build system for which you have built up a
sizable directory of source tarballs. Or, perhaps someone else has such
a directory for which you have read access. If so, you can save time by

View File

@@ -22,6 +22,7 @@ Yocto Project Development Tasks Manual
building
multiconfig
speeding-up-build
limiting-resources
libraries
prebuilt-libraries
devtool

View File

@@ -44,7 +44,7 @@ therefore increasing the total system boot time. systemd also substantially
increases system size because of its multiple components and the extra
dependencies it pulls.
On the contrary, BusyBox init is the simplest and the lightest solution and
By contrast, BusyBox init is the simplest and the lightest solution and
also comes with BusyBox mdev as device manager, a lighter replacement to
:wikipedia:`udev <Udev>`, which SysVinit and systemd both use.

View File

@@ -80,7 +80,7 @@ Follow these general steps to create your layer without using tools:
BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_yoctobsp = "5"
LAYERVERSION_yoctobsp = "4"
LAYERSERIES_COMPAT_yoctobsp = "dunfell"
LAYERSERIES_COMPAT_yoctobsp = "walnascar"
Here is an explanation of the layer configuration file:
@@ -306,7 +306,7 @@ The Yocto Project Compatibility Program consists of a layer application
process that requests permission to use the Yocto Project Compatibility
Logo for your layer and application. The process consists of two parts:
#. Successfully passing a script (``yocto-check-layer``) that when run
#. Successfully passing a script (``yocto-check-layer``) that, when run
against your layer, tests it against constraints based on experiences
of how layers have worked in the real world and where pitfalls have
been found. Getting a "PASS" result from the script is required for
@@ -478,7 +478,7 @@ name. To handle these errors, the best practice is to rename the ``.bbappend``
to match the original recipe version. This also gives you the opportunity to see
if the ``.bbappend`` is still relevant for the new version of the recipe.
Another method it to use the character ``%`` in the ``.bbappend`` filename. For
Another method is to use the character ``%`` in the ``.bbappend`` filename. For
example, to append information to every ``6.*`` minor versions of the recipe
``someapp``, the ``someapp_6.%.bbappend`` file can be created. This way, an
error will only be triggered if the ``someapp`` recipe has a major version
@@ -504,10 +504,9 @@ the "meta" layer at ``meta/recipes-bsp/formfactor``::
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r45"
SRC_URI = "file://config file://machconfig"
S = "${WORKDIR}"
S = "${UNPACKDIR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
@@ -582,11 +581,10 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
SECTION = "x11/base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r33"
SRC_URI = "file://xorg.conf"
S = "${WORKDIR}"
S = "${UNPACKDIR}"
CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
@@ -594,9 +592,9 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
ALLOW_EMPTY:${PN} = "1"
do_install () {
if test -s ${WORKDIR}/xorg.conf; then
if test -s ${UNPACKDIR}/xorg.conf; then
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
install -m 0644 ${UNPACKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
fi
}
@@ -614,8 +612,8 @@ file is in the layer at ``recipes-graphics/xorg-xserver``::
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
if [ "${PITFT}" = "1" ]; then
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${UNPACKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${UNPACKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
fi
}

View File

@@ -37,40 +37,10 @@ library files.
Some previously released versions of the Yocto Project defined the
static library files through ``${PN}-dev``.
Here is the part of the BitBake configuration file, where you can see
Here is a small part of the BitBake configuration file, where you can see
how the static library files are defined::
PACKAGE_BEFORE_PN ?= ""
PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES_DYNAMIC = "^${PN}-locale-.*"
FILES = ""
FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* \
${base_libdir}/*${SOLIBS} \
${base_prefix}/lib/udev ${prefix}/lib/udev \
${base_libdir}/udev ${libdir}/udev \
${datadir}/${BPN} ${libdir}/${BPN}/* \
${datadir}/pixmaps ${datadir}/applications \
${datadir}/idl ${datadir}/omf ${datadir}/sounds \
${libdir}/bonobo/servers"
FILES:${PN}-bin = "${bindir}/* ${sbindir}/*"
FILES:${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
${datadir}/gnome/help"
SECTION:${PN}-doc = "doc"
FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
${datadir}/aclocal ${base_libdir}/*.o \
${libdir}/${BPN}/*.la ${base_libdir}/*.la \
${libdir}/cmake ${datadir}/cmake"
SECTION:${PN}-dev = "devel"
ALLOW_EMPTY:${PN}-dev = "1"
RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})"
FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a"
SECTION:${PN}-staticdev = "devel"

View File

@@ -55,11 +55,11 @@ Consider this next example::
LIC_FILES_CHKSUM = "file://src/ls.c;beginline=5;endline=16;\
md5=bb14ed3c4cda583abc85401304b5cd4e"
LIC_FILES_CHKSUM = "file://${WORKDIR}/license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
The first line locates a file in ``${S}/src/ls.c`` and isolates lines
five through 16 as license text. The second line refers to a file in
:term:`WORKDIR`.
:term:`UNPACKDIR`.
Note that :term:`LIC_FILES_CHKSUM` variable is mandatory for all recipes,
unless the :term:`LICENSE` variable is set to "CLOSED".

View File

@@ -0,0 +1,138 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Limiting the Host Resources Usage
*********************************
While you sometimes need to :doc:`speed up a build
</dev-manual/speeding-up-build>`, you may also need to limit the resources used
by the :term:`OpenEmbedded Build System`, especially on shared infrastructures
where multiple users start heavy-load builds, or when building on low-power
machines.
This document aims at giving the different configuration variables available to
limit the resources used by the build system. These variables should be set from
a :term:`configuration file` and thus take effect over the entire build environment.
For each variable, also see the variable description in the glossary for more
details.
- :term:`BB_NUMBER_THREADS`:
This sets a hard limit on the number of threads :term:`BitBake` can run at the
same time. Lowering this value will set a limit to the number of
:term:`BitBake` threads, but will not prevent a single task from starting more
compilation threads (see :term:`PARALLEL_MAKE`).
- :term:`BB_NUMBER_PARSE_THREADS`:
Like :term:`BB_NUMBER_THREADS`, but this variable sets a limit on the number
of threads during the parsing of the environment (before executing tasks).
- :term:`PARALLEL_MAKE`:
This variable should be set in the form of ``-jN``, where ``N`` is a positive
integer. This integer controls the number of threads used when starting
``make``. Note that this variable is not limited to the usage of ``make``,
but extends to the compilation (:ref:`ref-tasks-compile` task) commands
defined by the :ref:`ref-classes-meson`, :ref:`ref-classes-cmake` and such
classes.
If you want to have a different limit from the rest of the build for a
recipe, it is also possible to achieve with the following line added to your
``local.conf`` :term:`configuration file`::
PARALLEL_MAKE:pn-linux-yocto = "-j4"
The above example will limit the number of threads used by ``make`` for the
``linux-yocto`` recipe to 4.
- :term:`PARALLEL_MAKEINST`:
Like :term:`PARALLEL_MAKE`, but this variable controls the number of threads
used during the :ref:`ref-tasks-install` task.
The default value of :term:`PARALLEL_MAKEINST` is the value of
:term:`PARALLEL_MAKE`.
.. note::
While most of the variables in this document help to limit the CPU load, it
is also possible that the host system runs out of physical RAM when running
builds. This can trigger the out-of-memory killer and stop the related
processes abruptly. This can create strange looking failures in the output
log of the tasks in question. The out-of-memory killer only logs in the
kernel dmesg logs, so it is advised to monitor it closely with the ``dmesg``
command when encountering unexpected failures during builds.
In these situations, lowering the value of :term:`PARALLEL_MAKE` and
:term:`BB_NUMBER_THREADS` is recommended.
- :term:`BB_PRESSURE_MAX_CPU`, :term:`BB_PRESSURE_MAX_IO` and
:term:`BB_PRESSURE_MAX_MEMORY`:
These variables control the limit of pressure (PSI as defined by
https://docs.kernel.org/accounting/psi.html) on the system, and will
limit the number of :term:`BitBake` threads dynamically depending on the
current pressure of the system. This also means that your host must support
the PSI kernel feature (otherwise see :term:`BB_LOADFACTOR_MAX` below).
These variables take a positive integer between 1 (extremely low limit) and
1000000 (value unlikely ever reached). Setting an extremely low value, such
as 2, is not desirable as it will result in :term:`BitBake` limiting the
number of threads to 1 most of the time.
To determine a reasonable value to set for your host, follow the steps below:
#. In a Bash shell, start the following script, which will provide an
estimate of the current pressure on your host:
.. code-block:: bash
pressure="0"
while true; do
prev_pressure="$pressure"
pressure=$(head -1 /proc/pressure/cpu | cut -d' ' -f5 | cut -d'=' -f2)
echo $(( $pressure - $prev_pressure ))
sleep 1
done
.. note::
Change ``/proc/pressure/cpu`` to ``/proc/pressure/io`` or
``/proc/pressure/memory`` to change the pressure type to monitor.
This script can be stopped by pressing Control + C.
#. Then, start a heavy-load build, for example::
bitbake virtual/kernel -c compile -f
You can stop the build at anytime with Control + C.
#. Monitor the values printed on the console. These should indicate how the
pressure evolves during the build. You can take a value below the maximum
printed value as a starting point.
After setting initial values, :term:`BitBake` will print messages on the
console in the following format each time the current pressure exceeds of the
limit set by the above variables::
Pressure status changed to CPU: True, IO: False, Mem: False (CPU: 1105.9/2.0, IO: 0.0/2.0, Mem: 0.0/2.0) - using 1/64 bitbake threads
Take a look at the value between parenthesis: ``CPU: 1105.9/2.0, IO: 0.0/2.0,
Mem: 0.0/2.0``. They correspond to the current pressure value for the CPU, IO
and memory respectively. If :term:`BitBake` prints these messages a lot, it
is likely that your pressure limit is too low, and thus can be raised to a
higher value.
- :term:`BB_LOADFACTOR_MAX`:
This variable will limit the number of threads :term:`BitBake` will start
by monitoring the current CPU load of the host system. :term:`BitBake` will
print the following when the limit set by :term:`BB_LOADFACTOR_MAX` is
reached::
Load average limiting set to True as load average: 0.7188262939453125 - using 37/64 bitbake threads
This variable has no effect when any of :term:`BB_PRESSURE_MAX_CPU`,
:term:`BB_PRESSURE_MAX_IO` or :term:`BB_PRESSURE_MAX_MEMORY` is set, as it
was designed for systems that do not have pressure information available.

View File

@@ -188,13 +188,14 @@ the recipe.
Use lower-cased characters and do not include the reserved suffixes
``-native``, ``-cross``, ``-initial``, or ``-dev`` casually (i.e. do not use
them as part of your recipe name unless the string applies). Here are some
examples:
examples (which includes the use of the string "git" as a special case of a
version identifier):
.. code-block:: none
cups_1.7.0.bb
gawk_4.0.2.bb
irssi_0.8.16-rc1.bb
cups_2.4.12.bb
gawk_5.3.2.bb
psplash_git.bb
Running a Build on the Recipe
=============================
@@ -276,11 +277,11 @@ upgrading the recipe to a future version is as simple as renaming the
recipe to match the new version.
Here is a simple example from the
``meta/recipes-devtools/strace/strace_5.5.bb`` recipe where the source
comes from a single tarball. Notice the use of the
:oe_git:`strace recipe </openembedded-core/tree/meta/recipes-devtools/strace>`
where the source comes from a single tarball. Notice the use of the
:term:`PV` variable::
SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \
Files mentioned in :term:`SRC_URI` whose names end in a typical archive
extension (e.g. ``.tar``, ``.tar.gz``, ``.tar.bz2``, ``.zip``, and so
@@ -292,7 +293,7 @@ another example that specifies these types of files, see the
Another way of specifying source is from an SCM. For Git repositories,
you must specify :term:`SRCREV` and you should specify :term:`PV` to include
a ``+`` sign in its definition. Here is an example from the recipe
:oe_git:`meta/recipes-sato/l3afpad/l3afpad_git.bb </openembedded-core/tree/meta/recipes-sato/l3afpad/l3afpad_git.bb>`::
:oe_git:`l3afpad_git.bb </openembedded-core/tree/meta/recipes-sato/l3afpad/l3afpad_git.bb>`::
SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https"
@@ -347,8 +348,8 @@ paste them into your recipe and then run the build again to continue.
continuing with the build.
This final example is a bit more complicated and is from the
``meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.20.bb`` recipe. The
example's :term:`SRC_URI` statement identifies multiple files as the source
:oe_git:`rxvt-unicode </openembedded-core/tree/meta/recipes-sato/rxvt-unicode>`
recipe. The example's :term:`SRC_URI` statement identifies multiple files as the source
files for the recipe: a tarball, a patch file, a desktop file, and an icon::
SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
@@ -706,7 +707,7 @@ hierarchy to locations that would mirror their locations on the target
device. The installation process copies files from the
``${``\ :term:`S`\ ``}``,
``${``\ :term:`B`\ ``}``, and
``${``\ :term:`WORKDIR`\ ``}``
``${``\ :term:`UNPACKDIR`\ ``}``
directories to the ``${``\ :term:`D`\ ``}``
directory to create the structure as it should appear on the target
system.
@@ -1145,7 +1146,7 @@ Building an application from a single file that is stored locally (e.g. under
``files``) requires a recipe that has the file listed in the :term:`SRC_URI`
variable. Additionally, you need to manually write the :ref:`ref-tasks-compile`
and :ref:`ref-tasks-install` tasks. The :term:`S` variable defines the
directory containing the source code, which is set to :term:`WORKDIR` in this
directory containing the source code, which is set to :term:`UNPACKDIR` in this
case --- the directory BitBake uses for the build::
SUMMARY = "Simple helloworld application"
@@ -1155,7 +1156,7 @@ case --- the directory BitBake uses for the build::
SRC_URI = "file://helloworld.c"
S = "${WORKDIR}"
S = "${UNPACKDIR}"
do_compile() {
${CC} ${LDFLAGS} helloworld.c -o helloworld
@@ -1211,8 +1212,6 @@ In the following example, ``lz4`` is a makefile-based package::
"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
S = "${WORKDIR}/git"
CVE_STATUS[CVE-2014-4715] = "fixed-version: Fixed in r118, which is larger than the current version"
EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' CFLAGS='${CFLAGS}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir} BUILD_STATIC=no"
@@ -1271,8 +1270,6 @@ is a simple example of an application without dependencies::
SRC_URI = "git://gitlab.com/ipcalc/ipcalc.git;protocol=https;branch=master"
SRCREV = "4c4261a47f355946ee74013d4f5d0494487cc2d6"
S = "${WORKDIR}/git"
inherit meson
Applications with dependencies are likely to inherit the
@@ -1397,11 +1394,31 @@ doing the following:
where you have installed them and whether those files are in
different locations than the defaults.
As a basic example of a :ref:`ref-classes-bin-package`-style recipe, consider
this snippet from the
:oe_git:`wireless-regdb </openembedded-core/tree/meta/recipes-kernel/wireless-regdb>`
recipe file, which fetches a single tarball of binary content and manually
installs with no need for any configuration or compilation::
SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz"
SRC_URI[sha256sum] = "57f8e7721cf5a880c13ae0c202edbb21092a060d45f9e9c59bcd2a8272bfa456"
inherit bin_package allarch
do_install() {
install -d -m0755 ${D}${nonarch_libdir}/crda
install -d -m0755 ${D}${sysconfdir}/wireless-regdb/pubkeys
install -m 0644 regulatory.bin ${D}${nonarch_libdir}/crda/regulatory.bin
install -m 0644 wens.key.pub.pem ${D}${sysconfdir}/wireless-regdb/pubkeys/wens.key.pub.pem
install -m 0644 -D regulatory.db ${D}${nonarch_base_libdir}/firmware/regulatory.db
install -m 0644 regulatory.db.p7s ${D}${nonarch_base_libdir}/firmware/regulatory.db.p7s
}
Following Recipe Style Guidelines
=================================
When writing recipes, it is good to conform to existing style guidelines.
See the ":doc:`../contributor-guide/recipe-style-guide`" in the Yocto Project
See the ":doc:`/contributor-guide/recipe-style-guide`" in the Yocto Project
and OpenEmbedded Contributor Guide for reference.
It is common for existing recipes to deviate a bit from this style.
@@ -1428,7 +1445,7 @@ chapter of the BitBake User Manual.
The following example shows some of the ways you can use variables in
recipes::
S = "${WORKDIR}/postfix-${PV}"
S = "${UNPACKDIR}/postfix-${PV}"
CFLAGS += "-DNO_ASM"
CFLAGS:append = " --enable-important-feature"

View File

@@ -1024,7 +1024,7 @@ The ``devtool edit-recipe`` command lets you take a look at the recipe::
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
S = "${WORKDIR}/npm"
S = "${UNPACKDIR}/npm"
inherit npm

View File

@@ -97,7 +97,7 @@ The complete recipe would look like this::
# we use a local link.
SRC_URI = "file://libft4222-linux-${PV}.tgz"
S = "${WORKDIR}"
S = "${UNPACKDIR}"
ARCH_DIR:x86-64 = "build-x86_64"
ARCH_DIR:i586 = "build-i386"
@@ -170,7 +170,7 @@ as follows::
The modifications cause the ``.so`` file to be the real library
and unset :term:`FILES_SOLIBSDEV` so that no libraries get packaged into
``${PN}-dev``. The changes are required because unless :term:`PACKAGES` is changed,
``${PN}-dev`` collects files before `${PN}`. ``${PN}-dev`` must not collect any of
``${PN}-dev`` collects files before ``${PN}``. ``${PN}-dev`` must not collect any of
the files you want in ``${PN}``.
Finally, loadable modules, essentially unversioned libraries that are linked
@@ -204,6 +204,6 @@ versioned library example. The "magic" is setting the :term:`SOLIBS` and
do_install () {
install -d ${D}${libdir}
install -m 0755 ${WORKDIR}/libfoo.so ${D}${libdir}
install -m 0755 ${UNPACKDIR}/libfoo.so ${D}${libdir}
}

View File

@@ -60,6 +60,9 @@ more information in the output :term:`SPDX` data:
- Add a description of the source files used to generate host tools and target
packages (:term:`SPDX_INCLUDE_SOURCES`)
- Add a description of the **compiled** source files used to generate host tools
and target packages (:term:`SPDX_INCLUDE_COMPILED_SOURCES`)
- Add archives of these source files themselves (:term:`SPDX_ARCHIVE_SOURCES`).
Though the toplevel :term:`SPDX` output is available in

View File

@@ -109,7 +109,7 @@ particular working environment and set of practices.
- Keep your cross-development toolchains updated. You can do this
through provisioning either as new toolchain downloads or as
updates through a package update mechanism using ``opkg`` to
updates through a package update mechanism to
provide updates to an existing toolchain. The exact mechanics of
how and when to do this depend on local policy.
@@ -159,7 +159,7 @@ particular working environment and set of practices.
are made.
- Allows triggering of automated image booting and testing under
the QuickEMUlator (QEMU).
the Quick EMUlator (QEMU).
- Supports incremental build testing and from-scratch builds.
@@ -228,13 +228,24 @@ particular working environment and set of practices.
used by developers in the same organization and share the same
source directories on their machines.
- Set up a local :ref:`overview-manual/concepts:Hash Equivalence` server
with :term:`BB_HASHSERVE` and :term:`BB_SIGNATURE_HANDLER`. A basic setup
would be::
BB_HASHSERVE = "auto"
BB_SIGNATURE_HANDLER = "OEEquivHash"
See the :ref:`overview-manual/concepts:Hash Equivalence` section of the
Yocto Project Overview and Concepts Manual for more details on the hash
equivalence feature.
- Set up an Autobuilder and have it populate the sstate cache and
source directories.
- The Yocto Project community encourages you to send patches to the
project to fix bugs or add features. If you do submit patches,
follow the project commit guidelines for writing good commit
messages. See the ":doc:`../contributor-guide/submit-changes`"
messages. See the ":doc:`/contributor-guide/submit-changes`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
- Send changes to the core sooner than later as others are likely
@@ -310,7 +321,7 @@ Project Build Host:
- GNU make &MIN_MAKE_VERSION; or greater
If your build host does not meet any of these listed version
If your build host does not satisfy all of these listed version
requirements, you can take steps to prepare the system so that you
can still use the Yocto Project. See the
":ref:`ref-manual/system-requirements:required git, tar, python, make and gcc versions`"
@@ -568,7 +579,7 @@ extension accordingly.
Locating Yocto Project Source Files
===================================
This section shows you how to locate, fetch and configure the source
This section shows you how to locate, fetch, unpack, patch and configure the source
files you'll need to work with the Yocto Project.
.. note::
@@ -720,11 +731,11 @@ Follow these steps to create a local version of the upstream
$ git branch
* master
Your local repository of poky is identical to the
upstream poky repository at the time from which it was cloned. As you
Your local repository of poky is initially identical to the
upstream poky repository from which it was cloned. As you
work with the local branch, you can periodically use the
``git pull --rebase`` command to be sure you are up-to-date
with the upstream branch.
``git pull`` command to be sure you stay up-to-date
with the upstream poky branch.
Checking Out by Branch in Poky
------------------------------

View File

@@ -18,11 +18,10 @@ build packages is available in the :term:`Build Directory` as defined by the
defined in the ``meta/conf/bitbake.conf`` configuration file in the
:term:`Source Directory`::
S = "${WORKDIR}/${BP}"
S = "${UNPACKDIR}/${BP}"
You should be aware that many recipes override the
:term:`S` variable. For example, recipes that fetch their source from Git
usually set :term:`S` to ``${WORKDIR}/git``.
:term:`S` variable when the default isn't accurate.
.. note::
@@ -31,8 +30,16 @@ usually set :term:`S` to ``${WORKDIR}/git``.
BP = "${BPN}-${PV}"
This matches the location that the git fetcher unpacks to, and usually
matches unpacked content of release tarballs (e.g. they contain a single
directory which matches value of ${BP} exactly).
The path to the work directory for the recipe
The path to the unpack directory for the recipe
(:term:`UNPACKDIR`) is defined as follows::
${WORKDIR}/sources
In turn, the path to the work directory for the recipe
(:term:`WORKDIR`) is defined as
follows::

View File

@@ -22,7 +22,7 @@ issues may be impacting Poky and OE-Core. It is up to the maintainers, users,
contributors and anyone interested in the issues to investigate and possibly fix them by
updating software components to newer versions or by applying patches to address them.
It is recommended to work with Poky and OE-Core upstream maintainers and submit
patches to fix them, see ":doc:`../contributor-guide/submit-changes`" for details.
patches to fix them, see ":doc:`/contributor-guide/submit-changes`" for details.
Vulnerability check at build time
=================================

View File

@@ -20,8 +20,7 @@ S = ${WORKDIR} no longer supported
If a recipe has :term:`S` set to be :term:`WORKDIR`, this is no longer
supported, and an error will be issued. The recipe should be changed to::
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
Any :term:`WORKDIR` references where files from :term:`SRC_URI` are referenced
should be changed to :term:`S`. These are commonly in :ref:`ref-tasks-compile`,
@@ -62,8 +61,7 @@ require to add an :term:`S` definition to a recipe that only uses
``file://`` :term:`SRC_URI` entries. To be consistent, the following pattern is
recommended::
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
Building C files from :term:`UNPACKDIR` without setting :term:`S` to point at
it does not work as the debug prefix mapping doesn't handle that.

View File

@@ -14,6 +14,56 @@ Migration notes for |yocto-ver| (|yocto-codename|)
This section provides migration information for moving to the Yocto
Project |yocto-ver| Release (codename "|yocto-codename|") from the prior release.
:term:`WORKDIR` changes
~~~~~~~~~~~~~~~~~~~~~~~
``S = ${WORKDIR}/something`` no longer supported
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If a recipe has :term:`S` set to be ``${``\ :term:`WORKDIR`\ ``}/something``,
this is no longer supported, and an error will be issued. The recipe should be
changed to::
S = "${UNPACKDIR}/something"
``S = ${WORKDIR}/git`` and ``S = ${UNPACKDIR}/git`` should be removed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The Git fetcher now unpacks into the :term:`BB_GIT_DEFAULT_DESTSUFFIX` directory
rather than the ``git/`` directory under :term:`UNPACKDIR`.
:term:`BB_GIT_DEFAULT_DESTSUFFIX` is set in :term:`OpenEmbedded-Core
(OE-Core)`'s :oe_git:`bitbake.conf
</openembedded-core/tree/meta/conf/bitbake.conf>` to :term:`BP`.
This location matches the default value of :term:`S` set by bitbake.conf, so :term:`S`
setting in recipes can and should be removed.
Note that when :term:`S` is set to a subdirectory of the git checkout, then it
should be instead adjusted according to the previous point::
S = "${UNPACKDIR}/${BP}/something"
Note that "git" as the source checkout location can be hardcoded
in other places in recipes; when it's in :term:`SRC_URI`, replace with
:term:`BB_GIT_DEFAULT_DESTSUFFIX`, otherwise replace with :term:`BP`.
How to make those adjustments without tedious manual editing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The following sed command can be used to remove S = "${WORKDIR}/git
across a whole layer::
sed -i "/^S = \"\${WORKDIR}\/git\"/d" `find . -name *.bb -o -name *.inc -o -name *.bbclass`
Then, the following command can tweak the remaining :term:`S` assignments to
refer to :term:`UNPACKDIR` instead of :term:`WORKDIR`::
sed -i "s/^S = \"\${WORKDIR}\//S = \"\${UNPACKDIR}\//g" `find . -name *.bb -o -name *.inc -o -name *.bbclass`
The first change can introduce a lot of consecutive empty lines, so those can be removed with::
sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc`
Supported kernel versions
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -59,6 +109,48 @@ Removed classes
The following classes have been removed in this release:
- ``kernel-fitimage.bbclass``: the class has been replaced by the
:ref:`ref-classes-kernel-fit-image` class. The new implementation resolves
the long-standing :yocto_bugs:`bug 12912</show_bug.cgi?id=12912>`.
If you are using the kernel FIT image support, you will need to:
#. Make sure to include ``kernel-fit-extra-artifacts`` in your :term:`KERNEL_CLASSES`
variable to ensure the required files are exposed to the :term:`DEPLOY_DIR_IMAGE`
directory::
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
#. Use the specific FIT image recipe rather than the base kernel recipe.
For example, instead of::
bitbake linux-yocto
the FIT image is now build by::
bitbake linux-yocto-fitimage
For custom kernel recipes, creating a corresponding custom FIT image recipe
is usually a good approach.
#. If a FIT image is used as a replacement for the kernel image in the root
filesystem, add the following configuration to your machine configuration
file::
# Create and deploy the vmlinux artifact which gets included into the FIT image
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
# Do not install the kernel image package
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
# Install the FIT image package
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-yocto-fitimage"
# Configure the image.bbclass to depend on the FIT image instead of only
# the kernel to ensure the FIT image is built and deployed with the image
KERNEL_DEPLOY_DEPEND = "linux-yocto-fitimage:do_deploy"
See the :ref:`ref-classes-kernel-fit-image` section for more information.
Removed features
~~~~~~~~~~~~~~~~

View File

@@ -34,3 +34,4 @@ Release 4.0 (kirkstone)
release-notes-4.0.25
release-notes-4.0.26
release-notes-4.0.27
release-notes-4.0.28

View File

@@ -16,3 +16,4 @@ Release 5.0 (scarthgap)
release-notes-5.0.7
release-notes-5.0.8
release-notes-5.0.9
release-notes-5.0.10

View File

@@ -0,0 +1,224 @@
Release notes for Yocto-4.0.28 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- binutils: Fix :cve_nist:`2025-1180`, :cve_nist:`2025-1182`, :cve_nist:`2025-5244` and
:cve_nist:`2025-5245`
- connman: Fix :cve_nist:`2025-32366`
- ffmpeg: Fix :cve_nist:`2025-1373`, :cve_nist:`2025-22919` and :cve_nist:`2025-22921`
- ffmpeg: Ignore :cve_nist:`2022-48434`
- ghostscript: Fix :cve_nist:`2025-48708`
- git: Fix :cve_nist:`2024-50349` and :cve_nist:`2024-52006`
- glib-2.0: Fix :cve_nist:`2025-4373`
- glibc: Fix for :cve_nist:`2025-4802`
- go: Fix :cve_nist:`2025-4673`
- go: ignore :cve_nist:`2024-3566`
- icu: Fix :cve_nist:`2025-5222`
- iputils: Fix :cve_nist:`2025-47268`
- libsoup-2.4: Fix :cve_nist:`2025-2784`, :cve_nist:`2025-4476`, :cve_nist:`2025-4948`,
:cve_nist:`2025-4969`, :cve_nist:`2025-32050`, :cve_nist:`2025-32052`, :cve_nist:`2025-32053`,
:cve_nist:`2025-32907`, :cve_nist:`2025-32910`, :cve_nist:`2025-32911`, :cve_nist:`2025-32912`,
:cve_nist:`2025-32913`, :cve_nist:`2025-32914`, :cve_nist:`2025-46420` and :cve_nist:`2025-46421`
- libsoup: Fix :cve_nist:`2025-2784`, :cve_nist:`2025-4476`, :cve_nist:`2025-4948`,
:cve_nist:`2025-4969`, :cve_nist:`2025-32050`, :cve_nist:`2025-32051`, :cve_nist:`2025-32052`,
:cve_nist:`2025-32053`, :cve_nist:`2025-32907`, :cve_nist:`2025-46420` and :cve_nist:`2025-46421`
- linux-yocto/5.15: Fix :cve_nist:`2024-26952`, :cve_nist:`2025-21941`, :cve_nist:`2025-21957`,
:cve_nist:`2025-21959`, :cve_nist:`2025-21962`, :cve_nist:`2025-21963`, :cve_nist:`2025-21964`,
:cve_nist:`2025-21968`, :cve_nist:`2025-21996`, :cve_nist:`2025-22018`, :cve_nist:`2025-22020`,
:cve_nist:`2025-22035`, :cve_nist:`2025-22054`, :cve_nist:`2025-22056`, :cve_nist:`2025-22063`,
:cve_nist:`2025-22066`, :cve_nist:`2025-22081`, :cve_nist:`2025-22097`, :cve_nist:`2025-23136`,
:cve_nist:`2025-37785`, :cve_nist:`2025-37803`, :cve_nist:`2025-37805`, :cve_nist:`2025-38152`,
:cve_nist:`2025-39728` and :cve_nist:`2025-39735`
- net-tools: Fix :cve_nist:`2025-46836`
- openssh: Fix :cve_nist:`2025-32728`
- python3: Fix :cve_nist:`2024-12718`, :cve_nist:`2025-0938`, :cve_nist:`2025-4138`,
:cve_nist:`2025-4330`, :cve_nist:`2025-4435`, :cve_nist:`2025-4516` and :cve_nist:`2025-4517`
- python3-requests: Fix :cve_nist:`2024-47081`
- python3-setuptools: Fix :cve_nist:`2025-47273`
- ruby: Fix :cve_nist:`2025-27221`
- screen: Fix :cve_nist:`2025-46802`, :cve_nist:`2025-46804` and :cve_nist:`2025-46805`
- taglib: Fix :cve_nist:`2023-47466`
Fixes in Yocto-4.0.28
~~~~~~~~~~~~~~~~~~~~~
- babeltrace/libatomic-ops: correct the :term:`SRC_URI`
- brief-yoctoprojectqs/ref-manual: Switch to new CDN
- bsp guide: update kernel version example to 6.12
- bsp-guide: update lonely "4.12" kernel reference to "6.12"
- build-appliance-image: Update to kirkstone head revision
- cmake: Correctly handle cost data of tests with arbitrary chars in name
- conf.py: tweak SearchEnglish to be hyphen-friendly
- contributor-guide/submit-changes: encourage patch version changelogs
- dev-manual/sbom.rst: fix wrong build outputs
- docs: Clean up explanation of minimum required version numbers
- docs: README: specify how to contribute instead of pointing at another file
- docs: conf.py: silence SyntaxWarning on js_splitter_code
- e2fsprogs: removed 'sed -u' option
- ffmpeg: Add "libswresample libavcodec" to :term:`CVE_PRODUCT`
- ffmpeg: upgrade to 5.0.3
- gcc: AArch64 - Fix strict-align cpymem/setmem
- glibc: nptl Fix indentation
- glibc: nptl Remove unnecessary catch-all-wake in condvar group switch
- glibc: nptl Remove unnecessary quadruple check in pthread_cond_wait
- glibc: nptl Update comments and indentation for new condvar implementation
- glibc: nptl Use a single loop in pthread_cond_wait instaed of a nested loop
- glibc: nptl Use all of g1_start and g_signals
- glibc: nptl rename __condvar_quiesce_and_switch_g1
- glibc: pthreads NPTL lost wakeup fix 2
- kernel.bbclass: add original package name to :term:`RPROVIDES` for -image and -base
- libpng: Improve ptest
- linux-yocto/5.15: update to v5.15.184
- migration-guides: add release notes for 4.0.26 and 4.0.27
- nfs-utils: don't use signals to shut down nfs server.
- poky.conf: bump version for 4.0.28
- python3: upgrade to 3.10.18
- ref-manual/release-process: update releases.svg
- ref-manual/variables.rst: document :term:`INHIBIT_DEFAULT_RUST_DEPS`
:term:`INHIBIT_UPDATERCD_BBCLASS` :term:`SSTATE_SKIP_CREATION` :term:`WIC_CREATE_EXTRA_ARGS`
:term:`IMAGE_ROOTFS_MAXSIZE` :term:`INITRAMFS_MAXSIZE`
- ref-manual: clarify :term:`KCONFIG_MODE` default behaviour
- ref-manual: classes: nativesdk: move note to appropriate section
- ref-manual: classes: reword to clarify that native/nativesdk options are exclusive
- ref-manual: kernel-fitimage.bbclass does not use :term:`SPL_SIGN_KEYNAME`
- scripts/install-buildtools: Update to 4.0.27
- sphinx-lint: role missing opening tag colon
- sphinx-lint: trailing whitespace
- sphinx-lint: unbalanced inline literal markup
- sysstat: correct the :term:`SRC_URI`
- systemtap: add sysroot Python paths to configure flags
- test-manual/intro: remove Buildbot version used
- util-linux: Add fix to isolate test fstab entries using CUSTOM_FSTAB
- xz: Update :term:`LICENSE` variable for xz packages
Known Issues in Yocto-4.0.28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Aditya Tayade
- Adrian Freihofer
- Aleksandar Nikolic
- Alper Ak
- Antonin Godard
- Archana Polampalli
- Ashish Sharma
- Bruce Ashfield
- Carlos Sánchez de La Lama
- Changqing Li
- Christos Gavros
- Colin Pinnell McAllister
- Deepesh Varatharajan
- Divya Chellam
- Enrico Jörns
- Etienne Cordonnier
- Guocai He
- Harish Sadineni
- Hitendra Prajapati
- Jiaying Song
- Lee Chee Yang
- Martin Jansa
- Moritz Haase
- NeilBrown
- Peter Marko
- Poonam Jadhav
- Praveen Kumar
- Quentin Schulz
- Richard Purdie
- Robert P. J. Day
- Soumya Sambu
- Steve Sakoman
- Sundeep KOKKONDA
- Sunil Dora
- Trevor Woerner
- Vijay Anusuri
- Virendra Thakur
- Yi Zhao
- aszh07
Repositories / Downloads for Yocto-4.0.28
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.28 </poky/log/?h=yocto-4.0.28>`
- Git Revision: :yocto_git:`78c9cb3eaf071932567835742608404d5ce23cc4 </poky/commit/?id=78c9cb3eaf071932567835742608404d5ce23cc4>`
- Release Artefact: poky-78c9cb3eaf071932567835742608404d5ce23cc4
- sha: 9c73c6f89e70c2041a52851e5cc582e5a2f05ad2fdc110d2c518f2c4994e8de3
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.28/poky-78c9cb3eaf071932567835742608404d5ce23cc4.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-4.0.28/poky-78c9cb3eaf071932567835742608404d5ce23cc4.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.28 </openembedded-core/log/?h=yocto-4.0.28>`
- Git Revision: :oe_git:`75e54301c5076eb0454aee33c870adf078f563fd </openembedded-core/commit/?id=75e54301c5076eb0454aee33c870adf078f563fd>`
- Release Artefact: oecore-75e54301c5076eb0454aee33c870adf078f563fd
- sha: c5ffceab90881c4041ec4304da8b7b32d9c1f89a4c63ee7b8cbd53c796b0187b
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.28/oecore-75e54301c5076eb0454aee33c870adf078f563fd.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-4.0.28/oecore-75e54301c5076eb0454aee33c870adf078f563fd.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.28 </meta-mingw/log/?h=yocto-4.0.28>`
- Git Revision: :yocto_git:`87c22abb1f11be430caf4372e6b833dc7d77564e </meta-mingw/commit/?id=87c22abb1f11be430caf4372e6b833dc7d77564e>`
- Release Artefact: meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e
- sha: f0bc4873e2e0319fb9d6d6ab9b98eb3f89664d4339a167d2db6a787dd12bc1a8
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.28/meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-4.0.28/meta-mingw-87c22abb1f11be430caf4372e6b833dc7d77564e.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.28 </meta-gplv2/log/?h=yocto-4.0.28>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.28/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-4.0.28/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.28 </bitbake/log/?h=yocto-4.0.28>`
- Git Revision: :oe_git:`046871d9fd76efdca7b72718b328d8f545523f7e </bitbake/commit/?id=046871d9fd76efdca7b72718b328d8f545523f7e>`
- Release Artefact: bitbake-046871d9fd76efdca7b72718b328d8f545523f7e
- sha: e9df0a9f5921b583b539188d66b23f120e1751000e7822e76c3391d5c76ee21a
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-4.0.28/bitbake-046871d9fd76efdca7b72718b328d8f545523f7e.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-4.0.28/bitbake-046871d9fd76efdca7b72718b328d8f545523f7e.tar.bz2
meta-yocto
- Repository Location: :yocto_git:`/meta-yocto`
- Branch: :yocto_git:`kirkstone </meta-yocto/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.28 </meta-yocto/log/?h=yocto-4.0.28>`
- Git Revision: :yocto_git:`0bf3dcef1caa80fb047bf9c3514314ab658e30ea </meta-yocto/commit/?id=0bf3dcef1caa80fb047bf9c3514314ab658e30ea>`
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.28 </yocto-docs/log/?h=yocto-4.0.28>`
- Git Revision: :yocto_git:`97cd3ee7f3bf1de8454708d1852ea9cdbd45c39b </yocto-docs/commit/?id=97cd3ee7f3bf1de8454708d1852ea9cdbd45c39b>`

View File

@@ -272,9 +272,9 @@ New Features / Enhancements in 4.3
- Prominent documentation updates:
- New :doc:`../contributor-guide/index` document.
- New :doc:`/contributor-guide/index` document.
- New :doc:`../dev-manual/security-subjects` chapter in the Development
- New :doc:`/dev-manual/security-subjects` chapter in the Development
Tasks Manual.
- Long overdue documentation for the :ref:`ref-classes-devicetree` class.

View File

@@ -0,0 +1,208 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-5.0.10 (Scarthgap)
------------------------------------------
Security Fixes in Yocto-5.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- binutils: Fix :cve_nist:`2025-1153`, :cve_nist:`2025-1179`, :cve_nist:`2025-1180` and
:cve_nist:`2025-1182`
- connman: Fix :cve_nist:`2025-32366` and :cve_nist:`2025-32743`
- curl: Fix :cve_nist:`2024-11053` and :cve_nist:`2025-0167`
- elfutils: Fix :cve_nist:`2025-1371`
- ffmpeg: Fix :cve_nist:`2024-7055`, :cve_nist:`2024-32230`, :cve_nist:`2024-35366`,
:cve_nist:`2024-36613`, :cve_nist:`2024-36616`, :cve_nist:`2024-36617` and :cve_nist:`2024-36619`
- git: Fix :cve_nist:`2024-50349` and :cve_nist:`2024-52006`
- glib-2.0: fix :cve_nist:`2025-3360` and :cve_nist:`2025-4373`
- iputils: Fix :cve_nist:`2025-47268`
- libpam: Fix :cve_nist:`2024-10041`
- libsoup-2.4: Fix :cve_nist:`2024-52530`, :cve_nist:`2024-52531`, :cve_nist:`2024-52532`,
:cve_nist:`2025-32906`, :cve_nist:`2025-32909`, :cve_nist:`2025-32910`, :cve_nist:`2025-32911`,
:cve_nist:`2025-32912`, :cve_nist:`2025-32913`, :cve_nist:`2025-32914` and :cve_nist:`2025-46420`
- libsoup: Fix :cve_nist:`2025-4476`, :cve_nist:`2025-32906`, :cve_nist:`2025-32909`,
:cve_nist:`2025-32910`, :cve_nist:`2025-32911`, :cve_nist:`2025-32912`, :cve_nist:`2025-32913`,
:cve_nist:`2025-32914` and :cve_nist:`2025-46420`
- libxml2: Fix :cve_nist:`2025-32414` and :cve_nist:`2025-32415`
- openssh: Fix :cve_nist:`2025-32728`
- perl: Fix :cve_nist:`2024-56406`
- ppp: Fix :cve_nist:`2024-58250`
- python3-jinja2: Fix :cve_nist:`2024-56201`, :cve_nist:`2024-56326` and :cve_nist:`2025-27516`
- ruby: Fix :cve_nist:`2025-27221`
- sqlite3: Fix :cve_nist:`2025-3277`, :cve_nist:`2025-29087` and :cve_nist:`2025-29088`
Fixes in Yocto-5.0.10
~~~~~~~~~~~~~~~~~~~~~
- binutils: stable 2.42 branch updates
- bluez5: add missing tools to noinst-tools package
- bluez5: backport a patch to fix btmgmt -i
- bluez5: make media control a :term:`PACKAGECONFIG` option
- build-appliance-image: Update to scarthgap head revision
- buildtools-tarball: Make buildtools respects host CA certificates
- buildtools-tarball: add envvars into :term:`BB_ENV_PASSTHROUGH_ADDITIONS`
- buildtools-tarball: move setting of envvars to respective envfile
- contributor-guide/submit-changes: encourage patch version changelogs
- cve-check.bbclass: Fix symlink handling also for text files
- cve-update-nvd2-native: Revert "cve-update-nvd2-native: Tweak to work better with NFS DL_DIR"
- dev-manual/sbom.rst: fix wrong build outputs
- docs: Fix dead links that use the :term:`DISTRO` macro
- docs: conf.py: tweak SearchEnglish to be hyphen-friendly
- docs:conf.py: define a manpage url
- ffmpeg: upgrade to 6.1.2
- git: upgrade to 2.44.3
- glibc-y2038-tests: remove glibc-y2038-tests_2.39.bb recipe
- glibc: Add single-threaded fast path to rand()
- glibc: stable 2.39 branch updates
- initscripts: add function log_success_msg/log_failure_msg/log_warning_msg
- libatomic-ops: Update :term:`GITHUB_BASE_URI`
- manuals: remove repeated word
- migration-guides: add release notes for 4.0.26, 5.0.8, 5.0.9
- module.bbclass: add KBUILD_EXTRA_SYMBOLS to install
- perl: upgrade to 5.38.4
- perlcross: upgrade to 1.6.2
- poky.conf: bump version for 5.0.10
- poky.yaml: introduce DISTRO_LATEST_TAG
- python3-jinja2: upgrade to 3.1.6
- ref-manual/release-process: update releases.svg
- ref-manual/variables.rst: HOST_CC_ARCH: fix wrong SDK reference
- ref-manual/variables.rst: WATCHDOG_TIMEOUT: fix recipe name
- ref-manual/variables.rst: add manpage links for toolchain variables
- ref-manual/variables.rst: add missing documentation for BUILD_* variables
- ref-manual/variables.rst: document HOST_*_ARCH variables
- ref-manual/variables.rst: document :term:`INHIBIT_DEFAULT_RUST_DEPS`
- ref-manual/variables.rst: document :term:`INHIBIT_UPDATERCD_BBCLASS`
- ref-manual/variables.rst: document :term:`SSTATE_SKIP_CREATION`
- ref-manual/variables.rst: document :term:`WIC_CREATE_EXTRA_ARGS`
- ref-manual/variables.rst: document autotools class related variables
- ref-manual/variables.rst: document missing SDK_*_ARCH variables
- ref-manual/variables.rst: document the :term:`IMAGE_ROOTFS_MAXSIZE` variable
- ref-manual/variables.rst: document the :term:`INITRAMFS_MAXSIZE` variable
- ref-manual/variables.rst: improve the :term:`PKGV` documentation
- ref-manual/variables.rst: update :term:`ROOT_HOME` documentation
- ref-manual: kernel-fitimage.bbclass does not use :term:`SPL_SIGN_KEYNAME`
- scripts/install-buildtools: Update to 5.0.9
- sphinx-lint: missing space after literal
- sphinx-lint: trailing whitespace
- sphinx-lint: unbalanced inline literal markup
- systemd: Password agents shouldn't be optional
- systemd: upgrade to 255.18
- test-manual/intro: remove Buildbot version used
- tzdata/tzcode-native: upgrade 2025a -> 2025b
- u-boot: ensure keys are generated before assembling U-Boot FIT image
- util-linux: Add fix to isolate test fstab entries using CUSTOM_FSTAB
- wic: bootimg-efi: Support + symbol in filenames
Known Issues in Yocto-5.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- There is an issue where the target libsoup-2.4 build may fail if apachectl is present on the build
host. The issue only affects test binaries which aren't actually used. The issue can be fixed by
disabling the tests or updating to more recent changes on the scarthgap branch which fix this.
Contributors to Yocto-5.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks to the following people who contributed to this release:
- Adrian Freihofer
- Aleksandar Nikolic
- Alexander Kanavin
- Alon Bar-Lev
- Alper Ak
- Andrew Kreimer
- Antonin Godard
- Archana Polampalli
- Ashish Sharma
- Changqing Li
- Christos Gavros
- Deepesh Varatharajan
- Divya Chellam
- Divyanshu Rathore
- Enrico Jörns
- Etienne Cordonnier
- Guðni Már Gilbert
- Haixiao Yan
- Harish Sadineni
- Igor Opaniuk
- Jeroen Hofstee
- Lee Chee Yang
- Nguyen Dat Tho
- Niko Mauno
- Peter Marko
- Praveen Kumar
- Priyal Doshi
- Rogerio Guerra Borin
- Shubham Kulkarni
- Soumya Sambu
- Steve Sakoman
- Sunil Dora
- Trevor Woerner
- Vijay Anusuri
- Virendra Thakur
- Vyacheslav Yurkov
- Yi Zhao
- Yogita Urade
- rajmohan r
Repositories / Downloads for Yocto-5.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`scarthgap </poky/log/?h=scarthgap>`
- Tag: :yocto_git:`yocto-5.0.10 </poky/log/?h=yocto-5.0.10>`
- Git Revision: :yocto_git:`ac257900c33754957b2696529682029d997a8f28 </poky/commit/?id=ac257900c33754957b2696529682029d997a8f28>`
- Release Artefact: poky-ac257900c33754957b2696529682029d997a8f28
- sha: ddca7e54b331e78214bea65b346320d4fbcddf4b51103bfbbd9fc3960f32cdc7
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-5.0.10/poky-ac257900c33754957b2696529682029d997a8f28.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-5.0.10/poky-ac257900c33754957b2696529682029d997a8f28.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`scarthgap </openembedded-core/log/?h=scarthgap>`
- Tag: :oe_git:`yocto-5.0.10 </openembedded-core/log/?h=yocto-5.0.10>`
- Git Revision: :oe_git:`d5342ffc570d47a723b18297d75bd2f63c2088db </openembedded-core/commit/?id=d5342ffc570d47a723b18297d75bd2f63c2088db>`
- Release Artefact: oecore-d5342ffc570d47a723b18297d75bd2f63c2088db
- sha: daa62094f2327f4b3fbcc485e8964d1b86a4722f58fb37e0d8e8e9885094a262
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-5.0.10/oecore-d5342ffc570d47a723b18297d75bd2f63c2088db.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-5.0.10/oecore-d5342ffc570d47a723b18297d75bd2f63c2088db.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`scarthgap </meta-mingw/log/?h=scarthgap>`
- Tag: :yocto_git:`yocto-5.0.10 </meta-mingw/log/?h=yocto-5.0.10>`
- Git Revision: :yocto_git:`bd9fef71ec005be3c3a6d7f8b99d8116daf70c4f </meta-mingw/commit/?id=bd9fef71ec005be3c3a6d7f8b99d8116daf70c4f>`
- Release Artefact: meta-mingw-bd9fef71ec005be3c3a6d7f8b99d8116daf70c4f
- sha: ab073def6487f237ac125d239b3739bf02415270959546b6b287778664f0ae65
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-5.0.10/meta-mingw-bd9fef71ec005be3c3a6d7f8b99d8116daf70c4f.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-5.0.10/meta-mingw-bd9fef71ec005be3c3a6d7f8b99d8116daf70c4f.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.8 </bitbake/log/?h=2.8>`
- Tag: :oe_git:`yocto-5.0.10 </bitbake/log/?h=yocto-5.0.10>`
- Git Revision: :oe_git:`696c2c1ef095f8b11c7d2eff36fae50f58c62e5e </bitbake/commit/?id=696c2c1ef095f8b11c7d2eff36fae50f58c62e5e>`
- Release Artefact: bitbake-696c2c1ef095f8b11c7d2eff36fae50f58c62e5e
- sha: fc83f879cd6dd14b9b7eba0161fec23ecc191fed0fb00556ba729dceef6c145f
- Download Locations:
https://downloads.yoctoproject.org/releases/yocto/yocto-5.0.10/bitbake-696c2c1ef095f8b11c7d2eff36fae50f58c62e5e.tar.bz2
https://mirrors.kernel.org/yocto/yocto/yocto-5.0.10/bitbake-696c2c1ef095f8b11c7d2eff36fae50f58c62e5e.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`scarthgap </yocto-docs/log/?h=scarthgap>`
- Tag: :yocto_git:`yocto-5.0.10 </yocto-docs/log/?h=yocto-5.0.10>`
- Git Revision: :yocto_git:`3996388e337377bedc113d072a51fe9d68dd40c6 </yocto-docs/commit/?id=3996388e337377bedc113d072a51fe9d68dd40c6>`

View File

@@ -377,7 +377,7 @@ New Features / Enhancements in 5.1
:term:`SIGGEN_EXCLUDERECIPES_ABISAFE` and does not trigger a rebuild on a
change for dependent tasks.
- In :ref:`ref-classes-kernel-fitimage`, the existence of
- In ``kernel-fitimage``, the existence of
:term:`EXTERNAL_KERNEL_DEVICETREE` is checked more thoroughly to avoid
false positives.

View File

@@ -29,7 +29,7 @@ New Features / Enhancements in |yocto-ver|
``RuntimeWatchdogSec`` option in ``/etc/systemd/system.conf``.
- :term:`FIT_UBOOT_ENV` to allow including a u-boot script as a text in a
fit image. See the :ref:`ref-classes-kernel-fitimage` for more information.
fit image. See the ``kernel-fitimage`` for more information.
- :ref:`ref-classes-meson`: :term:`MESON_INSTALL_TAGS` to allow passing
install tags (``--tags``) to the ``meson install`` command during the
@@ -684,7 +684,7 @@ New Features / Enhancements in |yocto-ver|
command-line tool was added to the different Yocto Project and OpenEmbedded
repositories.
- :ref:`ref-classes-kernel-fitimage`: handle :doc:`multiconfig
- ``kernel-fitimage``: handle :doc:`multiconfig
</dev-manual/multiconfig>` dependency when
:term:`INITRAMFS_MULTICONFIG` is set.

View File

@@ -98,7 +98,7 @@ files, and how to package the compiled output.
The term "package" is sometimes used to refer to recipes. However, since
the word "package" is used for the packaged output from the OpenEmbedded
build system (i.e. ``.ipk`` or ``.deb`` files), this document avoids
build system (i.e. ``.ipk``, ``.deb`` or ``.rpm`` files), this document avoids
using the term "package" when referring to recipes.
Classes
@@ -256,7 +256,7 @@ development environment.
.. note::
The
scripts/oe-setup-builddir
``scripts/oe-setup-builddir``
script uses the
``$TEMPLATECONF``
variable to determine which sample configuration files to locate.
@@ -277,6 +277,9 @@ in the ``meta-poky`` layer:
- *Shared State Directory:* Controlled by the
:term:`SSTATE_DIR` variable.
- *Persistent Data Directory:* Controlled by the
:term:`PERSISTENT_DIR` variable.
- *Build Output:* Controlled by the
:term:`TMPDIR` variable.
@@ -352,7 +355,7 @@ layers the build system uses to further control the build. These layers
provide Metadata for the software, machine, and policies.
In general, there are three types of layer input. You can see them below
the "User Configuration" box in the `general workflow
the "User Configuration" box in the :ref:`general workflow
figure <overview-manual/concepts:openembedded build system concepts>`:
- *Metadata (.bb + Patches):* Software layers containing
@@ -420,14 +423,14 @@ build.
Distro Layer
~~~~~~~~~~~~
The distribution layer provides policy configurations for your
A distribution layer provides policy configurations for your
distribution. Best practices dictate that you isolate these types of
configurations into their own layer. Settings you provide in
``conf/distro/distro.conf`` override similar settings that BitBake finds
in your ``conf/local.conf`` file in the :term:`Build Directory`.
The following list provides some explanation and references for what you
typically find in the distribution layer:
typically find in a distribution layer:
- *classes:* Class files (``.bbclass``) hold common functionality that
can be shared among recipes in the distribution. When your recipes
@@ -454,7 +457,7 @@ typically find in the distribution layer:
BSP Layer
~~~~~~~~~
The BSP Layer provides machine configurations that target specific
A BSP layer provides machine configurations that target specific
hardware. Everything in this layer is specific to the machine for which
you are building the image or the SDK. A common structure or form is
defined for BSP layers. You can learn more about this structure in the
@@ -465,7 +468,7 @@ defined for BSP layers. You can learn more about this structure in the
In order for a BSP layer to be considered compliant with the Yocto
Project, it must meet some structural requirements.
The BSP Layer's configuration directory contains configuration files for
A BSP layer's configuration directory contains configuration files for
the machine (``conf/machine/machine.conf``) and, of course, the layer
(``conf/layer.conf``).
@@ -477,18 +480,18 @@ formfactors, graphics support systems, and so forth.
.. note::
While the figure shows several
recipes-\*
``recipes-*``
directories, not all these directories appear in all BSP layers.
Software Layer
~~~~~~~~~~~~~~
The software layer provides the Metadata for additional software
A software layer provides the Metadata for additional software
packages used during the build. This layer does not include Metadata
that is specific to the distribution or the machine, which are found in
their respective layers.
This layer contains any recipes, append files, and patches, that your
This layer contains any recipes, append files, and patches that your
project needs.
Sources
@@ -560,9 +563,8 @@ source tree used by the group).
The canonical method through which to include a local project is to use the
:ref:`ref-classes-externalsrc` class to include that local project. You use
either the ``local.conf`` or a recipe's append file to override or set the
recipe to point to the local directory on your disk to pull in the whole
source tree.
either ``local.conf`` or a recipe's append file to override or set the
recipe to point to the local directory from which to fetch the source.
Source Control Managers (Optional)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -705,7 +707,7 @@ the Yocto Project Reference Manual.
Each recipe has an area in the :term:`Build Directory` where the unpacked
source code resides. The :term:`UNPACKDIR` variable points to this area for a
recipe's unpacked source code, and has the default ``sources-unpack`` name. The
recipe's unpacked source code, and has the default ``sources`` name. The
preceding figure and the following list describe the :term:`Build Directory`'s
hierarchy:
@@ -2369,8 +2371,6 @@ The contents of ``libhello_0.1.bb`` are::
# Change <username> accordingly
SRC_URI = "git://github.com/<username>/libhello;branch=main;protocol=https"
S = "${WORKDIR}/git"
do_install(){
install -d ${D}${includedir}
install -d ${D}${libdir}
@@ -2395,11 +2395,9 @@ The contents of ``sayhello_0.1.bb`` are::
DEPENDS += "libhello"
RDEPENDS:${PN} += "libhello"
S = "${WORKDIR}/git"
do_install(){
install -d ${D}/usr/bin
install -m 0700 sayhello ${D}/usr/bin
install -d ${D}${bindir}
install -m 0700 sayhello ${D}${bindir}
}
After placing the recipes in a custom layer we can run ``bitbake sayhello``

View File

@@ -240,7 +240,7 @@ and so forth.
For information on finding out who is responsible for (maintains) a
particular area of code in the Yocto Project, see the
":doc:`../contributor-guide/identify-component`"
":doc:`/contributor-guide/identify-component`"
section of the Yocto Project and OpenEmbedded Contributor Guide.
The Yocto Project ``poky`` Git repository also has an upstream
@@ -272,7 +272,7 @@ push them into the "contrib" area and subsequently request that the
maintainer include them into an upstream branch. This process is called
"submitting a patch" or "submitting a change." For information on
submitting patches and changes, see the
":doc:`../contributor-guide/submit-changes`" section in the Yocto Project
":doc:`/contributor-guide/submit-changes`" section in the Yocto Project
and OpenEmbedded Contributor Guide.
In summary, there is a single point of entry for changes into the
@@ -347,7 +347,7 @@ Book <https://book.git-scm.com>`__.
this type of change, you format the patch and then send the email
using the Git commands ``git format-patch`` and ``git send-email``.
For information on how to use these scripts, see the
":doc:`../contributor-guide/submit-changes`" section in the Yocto Project
":doc:`/contributor-guide/submit-changes`" section in the Yocto Project
and OpenEmbedded Contributor Guide.
Git

View File

@@ -1483,12 +1483,12 @@
x="291.66635"
y="381.29614"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan15"> sources-unpack &lt;─────────────────────── UNPACKDIR</tspan><tspan
id="tspan15"> sources &lt;────────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="291.66635"
y="394.62952"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan29"> ${BP} &lt;──────────────────────────────── S / B</tspan><tspan
id="tspan29"> ${BP} &lt;────────────────────────────── S / B</tspan><tspan
sodipodi:role="line"
x="291.66635"
y="407.96289"
@@ -1543,12 +1543,12 @@
x="291.66635"
y="541.29663"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan32"> sources-unpack &lt;─────────────────────── UNPACKDIR</tspan><tspan
id="tspan32"> sources &lt;────────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="291.66635"
y="554.63"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan33"> ${BP} &lt;──────────────────────────────── S / B</tspan><tspan
id="tspan33"> ${BP} &lt;────────────────────────────── S / B</tspan><tspan
sodipodi:role="line"
x="291.66635"
y="567.96338"

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 374 KiB

View File

@@ -1277,12 +1277,12 @@
x="287.2186"
y="300.76147"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan21"> sources-unpack &lt;───────────────────── UNPACKDIR</tspan><tspan
id="tspan21"> sources &lt;──────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="287.2186"
y="314.09485"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan22"> ${BP} &lt;────────────────────────────── S / B</tspan><tspan
id="tspan22"> ${BP} &lt;──────────────────────────── S / B</tspan><tspan
sodipodi:role="line"
x="287.2186"
y="327.42822"
@@ -1322,12 +1322,12 @@
x="287.2186"
y="420.76184"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan35"> sources-unpack &lt;───────────────────── UNPACKDIR</tspan><tspan
id="tspan35"> sources &lt;──────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="287.2186"
y="434.09521"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan36"> ${BP} &lt;────────────────────────────── S / B</tspan><tspan
id="tspan36"> ${BP} &lt;──────────────────────────── S / B</tspan><tspan
sodipodi:role="line"
x="287.2186"
y="447.42859"

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

@@ -1074,12 +1074,12 @@
x="283.34647"
y="318.12881"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan21"> sources-unpack &lt;──────────────────── UNPACKDIR</tspan><tspan
id="tspan21"> sources &lt;─────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="283.34647"
y="331.46219"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan31"> ${BP} &lt;───────────────────────────── S</tspan><tspan
id="tspan31"> ${BP} &lt;─────────────────────────── S</tspan><tspan
sodipodi:role="line"
x="283.34647"
y="344.79556"
@@ -1099,12 +1099,12 @@
x="283.34647"
y="384.79568"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan35"> sources-unpack &lt;──────────────────── UNPACKDIR</tspan><tspan
id="tspan35"> sources &lt;─────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="283.34647"
y="398.12906"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan47"> ${BP} &lt;───────────────────────────── S</tspan></text>
id="tspan47"> ${BP} &lt;─────────────────────────── S</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8.8889px;line-height:125%;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.42682px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

@@ -1017,12 +1017,12 @@
x="281.13275"
y="317.37775"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan22"> sources-unpack &lt;─────────────────────── UNPACKDIR</tspan><tspan
id="tspan22"> sources &lt;────────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="281.13275"
y="330.71112"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan32"> ${BP} &lt;──────────────────────────────── S</tspan><tspan
id="tspan32"> ${BP} &lt;────────────────────────────── S</tspan><tspan
sodipodi:role="line"
x="281.13275"
y="344.04449"
@@ -1042,12 +1042,12 @@
x="281.13275"
y="384.04462"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan36"> sources-unpack &lt;─────────────────────── UNPACKDIR</tspan><tspan
id="tspan36"> sources &lt;────────────────────────────── UNPACKDIR</tspan><tspan
sodipodi:role="line"
x="281.13275"
y="397.37799"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.6667px;font-family:'Nimbus Mono PS';-inkscape-font-specification:'Nimbus Mono PS, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:start;text-anchor:start;stroke:none;stroke-width:1.42682px"
id="tspan44"> ${BP} &lt;──────────────────────────────── S</tspan></text>
id="tspan44"> ${BP} &lt;────────────────────────────── S</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.5555px;line-height:125%;font-family:'Nimbus Sans L';-inkscape-font-specification:'Nimbus Sans L, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1.42682px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -51,7 +51,7 @@ Here are features and advantages of the Yocto Project:
RISC-V and other architectures. Most ODMs, OSVs, and chip vendors create and
supply BSPs that support their hardware. If you have custom silicon, you can
create a BSP that supports that architecture. See
:doc:`ref-manual/yocto-project-supported-features` for details on the level
:doc:`/ref-manual/yocto-project-supported-features` for details on the level
of support for some of these architectures.
Aside from broad architecture support, the Yocto Project fully

View File

@@ -32,4 +32,4 @@ MIN_DISK_SPACE : "90"
# Disk space (Gbytes) needed to generate qemux86-64 core-image-sato on Ubuntu 22.04 (x86-64) with "rm_work", rounded up from 38
MIN_DISK_SPACE_RM_WORK : "40"
# RAM (Gbytes) needed to generate qemux86-64 core-image-sato on Ubuntu 22.04 (x86-64) on a 4 core system
MIN_RAM : "8"
MIN_RAM : "32"

View File

@@ -1591,6 +1591,10 @@ The tests you can list with the :term:`WARN_QA` and
For example, assignments such as ``FILES:${PN} = "xyz"`` effectively
turn into ``FILES = "xyz"``.
- ``recipe-naming:`` Checks that the recipe name and recipe class match, so
that ``*-native`` recipes inherit :ref:`ref-classes-native` and
``nativesdk-*`` recipes inherit :ref:`ref-classes-nativesdk`.
- ``rpaths:`` Checks for rpaths in the binaries that contain build
system paths such as :term:`TMPDIR`. If this test fails, bad ``-rpath``
options are being passed to the linker commands and your binaries
@@ -1732,77 +1736,158 @@ Its behavior is mainly controlled by the following variables:
- :term:`KERNEL_DTC_FLAGS`: flags for ``dtc``, the Device Tree Compiler
- :term:`KERNEL_PACKAGE_NAME`: base name of the kernel packages
.. _ref-classes-kernel-fitimage:
.. _ref-classes-kernel-fit-image:
``kernel-fitimage``
===================
``kernel-fit-image``
====================
The :ref:`ref-classes-kernel-fitimage` class provides support to pack a kernel image,
device trees, a U-boot script, an :term:`Initramfs` bundle and a RAM disk
into a single FIT image. In theory, a FIT image can support any number
of kernels, U-boot scripts, :term:`Initramfs` bundles, RAM disks and device-trees.
However, :ref:`ref-classes-kernel-fitimage` currently only supports
The :ref:`ref-classes-kernel-fit-image` class provides support to pack a kernel image,
device trees, a U-boot script, and an :term:`Initramfs` into a single FIT image.
In theory, a FIT image can support any number of kernels, U-boot scripts,
:term:`Initramfs`, and device trees.
However, :ref:`ref-classes-kernel-fit-image` currently only supports
limited usecases: just one kernel image, an optional U-boot script,
an optional :term:`Initramfs` bundle, an optional RAM disk, and any number of
device trees.
an optional :term:`Initramfs`, and any number of device trees.
To create a FIT image, it is required that :term:`KERNEL_CLASSES`
is set to include ":ref:`ref-classes-kernel-fitimage`" and one of :term:`KERNEL_IMAGETYPE`,
:term:`KERNEL_ALT_IMAGETYPE` or :term:`KERNEL_IMAGETYPES` to include "fitImage".
The FIT image is created by a recipe which inherits the
:ref:`ref-classes-kernel-fit-image` class.
One such example is the ``linux-yocto-fitimage`` recipe which creates a FIT
image for the Linux Yocto kernel.
Additionally, it is required that :term:`KERNEL_CLASSES` is set to include
:ref:`ref-classes-kernel-fit-extra-artifacts`.
The :ref:`ref-classes-kernel-fit-extra-artifacts` class exposes the required kernel
artifacts to the :term:`DEPLOY_DIR_IMAGE` which are used by the
:ref:`ref-classes-kernel-fit-image` class to create the FIT image.
The options for the device tree compiler passed to ``mkimage -D``
when creating the FIT image are specified using the
:term:`UBOOT_MKIMAGE_DTCOPTS` variable.
The simplest example for building a FIT image is to add::
Only a single kernel can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the kernel image in FIT is mandatory. The
address where the kernel image is to be loaded by U-Boot is
specified by :term:`UBOOT_LOADADDRESS` and the entrypoint by
:term:`UBOOT_ENTRYPOINT`. Setting :term:`FIT_ADDRESS_CELLS` to "2"
is necessary if such addresses are 64 bit ones.
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
Multiple device trees can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the device tree is optional.
The address where the device tree is to be loaded by U-Boot is
specified by :term:`UBOOT_DTBO_LOADADDRESS` for device tree overlays
and by :term:`UBOOT_DTB_LOADADDRESS` for device tree binaries.
to the machine :term:`configuration file` and to execute::
Only a single RAM disk can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the RAM disk in FIT is optional.
The address where the RAM disk image is to be loaded by U-Boot
is specified by :term:`UBOOT_RD_LOADADDRESS` and the entrypoint by
:term:`UBOOT_RD_ENTRYPOINT`. The ramdisk is added to the FIT image when
:term:`INITRAMFS_IMAGE` is specified and requires that :term:`INITRAMFS_IMAGE_BUNDLE`
is not set to 1.
bitbake linux-yocto-fitimage
Only a single :term:`Initramfs` bundle can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the :term:`Initramfs` bundle in FIT is optional.
In case of :term:`Initramfs`, the kernel is configured to be bundled with the root filesystem
in the same binary (example: zImage-initramfs-:term:`MACHINE`.bin).
When the kernel is copied to RAM and executed, it unpacks the :term:`Initramfs` root filesystem.
The :term:`Initramfs` bundle can be enabled when :term:`INITRAMFS_IMAGE`
is specified and requires that :term:`INITRAMFS_IMAGE_BUNDLE` is set to 1.
The address where the :term:`Initramfs` bundle is to be loaded by U-boot is specified
by :term:`UBOOT_LOADADDRESS` and the entrypoint by :term:`UBOOT_ENTRYPOINT`.
This results in a ``fitImage`` file deployed to the :term:`DEPLOY_DIR_IMAGE`
directory and a ``linux-yocto-fitimage`` package which can be installed.
Only a single U-boot boot script can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the boot script is optional.
The boot script is specified in the ITS file as a text file containing
U-boot commands. When using a boot script the user should configure the
U-boot :ref:`ref-tasks-install` task to copy the script to sysroot.
So the script can be included in the FIT image by the :ref:`ref-classes-kernel-fitimage`
class. At run-time, U-boot CONFIG_BOOTCOMMAND define can be configured to
load the boot script from the FIT image and execute it.
The same approach works for all variants of the ``linux-yocto`` kernel.
For example, if the ``linux-yocto-rt`` kernel should be used, add the following
lines to the machine configuration file::
The FIT image generated by the :ref:`ref-classes-kernel-fitimage` class is signed when the
variables :term:`UBOOT_SIGN_ENABLE`, :term:`UBOOT_MKIMAGE_DTCOPTS`,
:term:`UBOOT_SIGN_KEYDIR` and :term:`UBOOT_SIGN_KEYNAME` are set
appropriately. The default values used for :term:`FIT_HASH_ALG` and
:term:`FIT_SIGN_ALG` in :ref:`ref-classes-kernel-fitimage` are "sha256" and
"rsa2048" respectively. The keys for signing the FIT image can be generated using
the :ref:`ref-classes-kernel-fitimage` class when both :term:`FIT_GENERATE_KEYS` and
:term:`UBOOT_SIGN_ENABLE` are set to "1".
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
The FIT image, this time including the RT kernel, is built again by calling::
bitbake linux-yocto-fitimage
For other kernels provided by other layers, the same approach would work.
However, it is usually more intuitive to add a custom FIT image recipe next to
the custom kernel recipe.
For example, if a layer provides a ``linux-vanilla`` recipe, a
``linux-vanilla-fitimage`` recipe may be added as well.
The ``linux-vanilla-fitimage`` recipe can be created as a customized copy of
the ``linux-yocto-fitimage`` recipe.
Usually the kernel is built as a dependency of an image.
If the FIT image should be used as a replacement for the kernel image which
is installed in the root filesystem, then the following variables can be set
e.g. in the machine configuration file::
# Create and deploy the vmlinux artifact which gets included into the FIT image
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
# Do not install the kernel image package
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
# Install the FIT image package
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-yocto-fitimage"
# Configure the image.bbclass to depend on the FIT image instead of only
# the kernel to ensure the FIT image is built and deployed with the image
KERNEL_DEPLOY_DEPEND = "linux-yocto-fitimage:do_deploy"
The :ref:`ref-classes-kernel-fit-image` class processes several variables that
allow configuration:
- The options for the device tree compiler passed to ``mkimage -D``
when creating the FIT image are specified using the
:term:`UBOOT_MKIMAGE_DTCOPTS` variable.
- Only a single kernel can be added to the FIT image created by
:ref:`ref-classes-kernel-fit-image` and it is a mandatory component of the
FIT image.
The address where the kernel image is to be loaded by U-Boot is
specified by :term:`UBOOT_LOADADDRESS` and the entrypoint by
:term:`UBOOT_ENTRYPOINT`. Setting :term:`FIT_ADDRESS_CELLS` to "2"
is necessary if such addresses are 64 bit ones.
- Multiple device trees can be added to the FIT image created by
:ref:`ref-classes-kernel-fit-image` and the device tree is optional.
The address where the device tree is to be loaded by U-Boot is
specified by :term:`UBOOT_DTBO_LOADADDRESS` for device tree overlays
and by :term:`UBOOT_DTB_LOADADDRESS` for device tree binaries.
- Only a single :term:`Initramfs` can be added to the FIT image created by
:ref:`ref-classes-kernel-fit-image`. The :term:`Initramfs` in FIT is optional.
The address where the RAM disk image is to be loaded by U-Boot
is specified by :term:`UBOOT_RD_LOADADDRESS` and the entrypoint by
:term:`UBOOT_RD_ENTRYPOINT`. The :term:`Initramfs` is added to the FIT image
when :term:`INITRAMFS_IMAGE` is specified.
- It's recommended to add the :term:`Initramfs` and the kernel image as
independent image nodes to the FIT image.
Bundling a RAM disk image with the kernel image and including the bundle
(:term:`INITRAMFS_IMAGE_BUNDLE` set to "1") in the FIT image is possible.
However, this approach has the disadvantage that any change to the RAM
disk image necessitates rebuilding the kernel image.
This process requires the full kernel build directory, which is kind of
incompatible with the :term:`SSTATE_DIR` and, consequently, with SDKs.
- Only a single U-Boot boot script can be added to the FIT image created by
:ref:`ref-classes-kernel-fit-image`. The boot script is optional.
The boot script is specified in the ITS file as a text file containing
U-Boot commands. When using a boot script the recipe which inherits the
:ref:`ref-classes-kernel-fit-image` class should add the script to
:term:`SRC_URI` and set the :term:`FIT_UBOOT_ENV` variable to the name of the
file like the following::
FIT_UBOOT_ENV = "boot.txt"
SRC_URI += "file://${FIT_UBOOT_ENV}"
At run-time, U-boot's boot command can be configured to load the boot script
from the FIT image and source it.
- The FIT image generated by the :ref:`ref-classes-kernel-fit-image` class is signed when the
variables :term:`UBOOT_SIGN_ENABLE`, :term:`UBOOT_MKIMAGE_DTCOPTS`,
:term:`UBOOT_SIGN_KEYDIR` and :term:`UBOOT_SIGN_KEYNAME` are set
appropriately. The default values used for :term:`FIT_HASH_ALG` and
:term:`FIT_SIGN_ALG` in :ref:`ref-classes-kernel-fit-image` are "sha256" and
"rsa2048" respectively. The keys for signing the FIT image can be generated using
the :ref:`ref-classes-kernel-fit-image` class when both :term:`FIT_GENERATE_KEYS` and
:term:`UBOOT_SIGN_ENABLE` are set to "1".
.. _ref-classes-kernel-fit-extra-artifacts:
``kernel-fit-extra-artifacts``
==============================
The :ref:`ref-classes-kernel-fit-extra-artifacts` class exposes the required
kernel artifacts to the :term:`DEPLOY_DIR_IMAGE` directory.
These artifacts are used by the :ref:`ref-classes-kernel-fit-image` class to
create a FIT image that can include the kernel, device trees, an optional
U-Boot script, and an optional Initramfs.
This class is typically included by adding it to the :term:`KERNEL_CLASSES`
variable in your kernel recipe or machine configuration when building FIT images.
It ensures that all necessary files are available for packaging into the FIT image,
such as the kernel binary, device tree blobs (DTBs), and other related files.
For example, to enable this class, set::
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
This is required when using the :ref:`ref-classes-kernel-fit-image` class to
generate FIT images for your kernel.
.. _ref-classes-kernel-grub:
@@ -2050,7 +2135,8 @@ a couple different ways:
Not using this naming convention can lead to subtle problems
caused by existing code that depends on that naming convention.
- Create or modify a target recipe that contains the following::
- Or, create a :ref:`ref-classes-native` variant of any target recipe (e.g.
``myrecipe.bb``) by adding the following to the recipe::
BBCLASSEXTEND = "native"
@@ -2081,7 +2167,18 @@ couple different ways:
inherit statement in the recipe after all other inherit statements so
that the :ref:`ref-classes-nativesdk` class is inherited last.
- Create a :ref:`ref-classes-nativesdk` variant of any recipe by adding the following::
.. note::
When creating a recipe, you must follow this naming convention::
nativesdk-myrecipe.bb
Not doing so can lead to subtle problems because there is code that
depends on the naming convention.
- Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g.
``myrecipe.bb``) by adding the following to the recipe::
BBCLASSEXTEND = "nativesdk"
@@ -2090,16 +2187,6 @@ couple different ways:
specify any functionality specific to the respective SDK machine or
target case.
.. note::
When creating a recipe, you must follow this naming convention::
nativesdk-myrecipe.bb
Not doing so can lead to subtle problems because there is code that
depends on the naming convention.
Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both
methods. The advantage of the second method is that you do not need to
have two separate recipes (assuming you need both) for the SDK machine
@@ -3436,7 +3523,7 @@ See U-Boot's documentation for details about `verified boot
and the `signature process
<https://source.denx.de/u-boot/u-boot/-/blob/master/doc/uImage.FIT/signature.txt>`__.
See also the description of :ref:`ref-classes-kernel-fitimage` class, which this class
See also the description of :ref:`ref-classes-kernel-fit-image` class, which this class
imitates.
.. _ref-classes-uki:

View File

@@ -23,7 +23,7 @@ The Yocto Project gladly accepts contributions. You can submit changes
to the project either by creating and sending pull requests, or by
submitting patches through email. For information on how to do both as
well as information on how to identify the maintainer for each area of
code, see the :doc:`../contributor-guide/index`.
code, see the :doc:`/contributor-guide/index`.
.. _resources-bugtracker:
@@ -45,7 +45,7 @@ your expectations).
For a general procedure and guidelines on how to use Bugzilla to submit a bug
against the Yocto Project, see the following:
- The ":doc:`../contributor-guide/report-defect`"
- The ":doc:`/contributor-guide/report-defect`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
- The Yocto Project :yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`

View File

@@ -246,7 +246,8 @@ section in the Yocto Project Development Tasks Manual.
----------------
This directory contains several internal files used by the OpenEmbedded
build system.
build system. The path to this directory is defined by the
:term:`PERSISTENT_DIR` variable.
It also contains ``sanity_info``, a text file keeping track of important
build information such as the values of :term:`TMPDIR`, :term:`SSTATE_DIR`,
@@ -611,7 +612,7 @@ example, consider ``linux-yocto-kernel-3.0`` on the machine ``qemux86``
built within the Yocto Project. For this package, a work directory of
``tmp/work/qemux86-poky-linux/linux-yocto/3.0+git1+<.....>``, referred
to as the :term:`WORKDIR`, is created. Within this directory, the source is
unpacked to ``linux-qemux86-standard-build`` and then patched by Quilt.
unpacked to ``sources/linux-qemux86-standard-build`` and then patched by Quilt.
(See the ":ref:`dev-manual/quilt:using quilt in your workflow`" section in
the Yocto Project Development Tasks Manual for more information.) Within
the ``linux-qemux86-standard-build`` directory, standard Quilt

View File

@@ -145,7 +145,7 @@ tested on former revisions of "&DISTRO_NAME;", but no longer are:
interested in hearing about your experience. For information on
how to submit a bug, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`
and the ":doc:`../contributor-guide/report-defect`"
and the ":doc:`/contributor-guide/report-defect`"
section in the Yocto Project and OpenEmbedded Contributor Guide.
Required Packages for the Build Host

View File

@@ -412,8 +412,7 @@ them. You can learn more by looking at the
-------------
Unpacks the source code into a working directory pointed to by
``${``\ :term:`UNPACKDIR`\ ``}``. A legacy way to specify
this directory is through the :term:`S` and :term:`WORKDIR` variables.
``${``\ :term:`UNPACKDIR`\ ``}``.
For more information on how source files are unpacked, see the
":ref:`overview-manual/concepts:source fetching`"
section in the Yocto Project Overview and Concepts Manual.

View File

@@ -265,7 +265,7 @@ system and gives an overview of their function and contents.
build process. By default, this directory is the same as the
:term:`S` directory, which is defined as::
S = "${WORKDIR}/${BP}"
S = "${UNPACKDIR}/${BP}"
You can separate the (:term:`S`) directory and the directory pointed to
by the :term:`B` variable. Most Autotools-based recipes support
@@ -560,6 +560,13 @@ system and gives an overview of their function and contents.
:term:`BB_GENERATE_SHALLOW_TARBALLS`
See :term:`bitbake:BB_GENERATE_SHALLOW_TARBALLS` in the BitBake manual.
:term:`BB_GIT_DEFAULT_DESTSUFFIX`
See :term:`bitbake:BB_GIT_DEFAULT_DESTSUFFIX` in the BitBake manual.
In :term:`OpenEmbedded-Core (OE-Core)`, this variable is set to
:term:`BP` by default in :oe_git:`bitbake.conf
</openembedded-core/tree/meta/conf/bitbake.conf>`.
:term:`BB_GIT_SHALLOW`
See :term:`bitbake:BB_GIT_SHALLOW` in the BitBake manual.
@@ -582,8 +589,12 @@ system and gives an overview of their function and contents.
See :term:`bitbake:BB_INVALIDCONF` in the BitBake manual.
:term:`BB_LOADFACTOR_MAX`
The system load threshold above which BitBake will stop runnig extra
tasks.
The system load threshold above which :term:`BitBake` will stop running
extra tasks.
For more information on how to limit the resources used during builds, see
the :doc:`/dev-manual/limiting-resources` section of the Yocto Project
Development Tasks Manual.
:term:`BB_LOGCONFIG`
See :term:`bitbake:BB_LOGCONFIG` in the BitBake manual.
@@ -642,11 +653,9 @@ system and gives an overview of their function and contents.
An alternative to using :term:`BB_NUMBER_THREADS` to keep the usage
of build system resources under control is to use the smarter
:term:`BB_PRESSURE_MAX_CPU`, :term:`BB_PRESSURE_MAX_IO` or
:term:`BB_PRESSURE_MAX_MEMORY` controls. They will prevent BitBake
from starting new tasks as long as thresholds are exceeded. Anyway,
as with :term:`BB_NUMBER_THREADS`, such controls won't prevent the
tasks already being run from using all CPU threads on the system
if :term:`PARALLEL_MAKE` is not set to a low value.
:term:`BB_PRESSURE_MAX_MEMORY` controls. See the
:doc:`/dev-manual/limiting-resources` section of the Yocto Project
Development Tasks Manual.
:term:`BB_ORIGENV`
See :term:`bitbake:BB_ORIGENV` in the BitBake manual.
@@ -657,12 +666,24 @@ system and gives an overview of their function and contents.
:term:`BB_PRESSURE_MAX_CPU`
See :term:`bitbake:BB_PRESSURE_MAX_CPU` in the BitBake manual.
For more information on how to limit the resources used during builds, see
the :doc:`/dev-manual/limiting-resources` section of the Yocto Project
Development Tasks Manual.
:term:`BB_PRESSURE_MAX_IO`
See :term:`bitbake:BB_PRESSURE_MAX_IO` in the BitBake manual.
For more information on how to limit the resources used during builds, see
the :doc:`/dev-manual/limiting-resources` section of the Yocto Project
Development Tasks Manual.
:term:`BB_PRESSURE_MAX_MEMORY`
See :term:`bitbake:BB_PRESSURE_MAX_MEMORY` in the BitBake manual.
For more information on how to limit the resources used during builds, see
the :doc:`/dev-manual/limiting-resources` section of the Yocto Project
Development Tasks Manual.
:term:`BB_RUNFMT`
See :term:`bitbake:BB_RUNFMT` in the BitBake manual.
@@ -2576,7 +2597,7 @@ system and gives an overview of their function and contents.
You can safely share this directory between multiple builds on the
same development machine. For additional information on how the build
process gets source files when working behind a firewall or proxy
server, see this specific question in the ":doc:`faq`"
server, see this specific question in the ":doc:`/ref-manual/faq`"
chapter. You can also refer to the
":yocto_wiki:`Working Behind a Network Proxy </Working_Behind_a_Network_Proxy>`"
Wiki page.
@@ -2790,7 +2811,7 @@ system and gives an overview of their function and contents.
``meta/classes-recipe`` to see how the variable is used.
:term:`EXTERNAL_KERNEL_DEVICETREE`
When inheriting :ref:`ref-classes-kernel-fitimage` and a
When inheriting :ref:`ref-classes-kernel-fit-image` and a
:term:`PREFERRED_PROVIDER` for ``virtual/dtb`` set to ``devicetree``, the
variable :term:`EXTERNAL_KERNEL_DEVICETREE` can be used to specify a
directory containing one or more compiled device tree or device tree
@@ -3318,7 +3339,7 @@ system and gives an overview of their function and contents.
Specifies the value of the ``#address-cells`` value for the
description of the FIT image.
The default value is set to "1" by the :ref:`ref-classes-kernel-fitimage`
The default value is set to "1" by the :ref:`ref-classes-kernel-fit-image`
class, which corresponds to 32 bit addresses.
For platforms that need to set 64 bit addresses, for example in
@@ -3337,11 +3358,11 @@ system and gives an overview of their function and contents.
Specifies the default device tree binary (dtb) file for a FIT image
when multiple ones are provided.
This variable is used in the :ref:`ref-classes-kernel-fitimage` class.
This variable is used in the :ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_DESC`
Specifies the description string encoded into a FIT image. The
default value is set by the :ref:`ref-classes-kernel-fitimage` class as
default value is set by the :ref:`ref-classes-kernel-fit-image` class as
follows::
FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"
@@ -3350,12 +3371,12 @@ system and gives an overview of their function and contents.
Decides whether to generate the keys for signing the FIT image if
they don't already exist. The keys are created in
:term:`UBOOT_SIGN_KEYDIR`. The default value is set to "0"
by the :ref:`ref-classes-kernel-fitimage` class.
by the :ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_HASH_ALG`
Specifies the hash algorithm used in creating the FIT Image.
This variable is set by default to "sha256" by the
:ref:`ref-classes-kernel-fitimage` class.
:ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_KERNEL_COMP_ALG`
The compression algorithm to use for the kernel image inside the FIT Image.
@@ -3374,31 +3395,31 @@ system and gives an overview of their function and contents.
:term:`FIT_KEY_GENRSA_ARGS`
Arguments to ``openssl genrsa`` for generating a RSA private key for
signing the FIT image. The default value is set to "-F4" by the
:ref:`ref-classes-kernel-fitimage` class.
:ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_KEY_REQ_ARGS`
Arguments to ``openssl req`` for generating a certificate for signing
the FIT image. The default value is "-batch -new" by the
:ref:`ref-classes-kernel-fitimage` class, "batch" for
:ref:`ref-classes-kernel-fit-image` class, "batch" for
non interactive mode and "new" for generating new keys.
:term:`FIT_KEY_SIGN_PKCS`
Format for the public key certificate used for signing the FIT image.
The default value is set to "x509" by the
:ref:`ref-classes-kernel-fitimage` class.
:ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_SIGN_ALG`
Specifies the signature algorithm used in creating the FIT Image.
This variable is set by default to "rsa2048" by the
:ref:`ref-classes-kernel-fitimage` class.
:ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_PAD_ALG`
Specifies the padding algorithm used in creating the FIT Image.
The default value is set to "pkcs-1.5" by the
:ref:`ref-classes-kernel-fitimage` class.
:ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_SIGN_INDIVIDUAL`
If set to "1", the :ref:`ref-classes-kernel-fitimage` class signs each
If set to "1", the :ref:`ref-classes-kernel-fit-image` class signs each
image node individually, including the kernel, DTB, RAM disk, and any
other image types present in the FIT image, in addition to signing the
configuration nodes.
@@ -3431,13 +3452,13 @@ system and gives an overview of their function and contents.
:term:`FIT_SIGN_NUMBITS`
Size of the private key used in the FIT image, in number of bits.
The default value for this variable is set to "2048"
by the :ref:`ref-classes-kernel-fitimage` class.
by the :ref:`ref-classes-kernel-fit-image` class.
:term:`FIT_UBOOT_ENV`
This variable allows to add a U-Boot script as a text file to the
FIT image. Such a script can be sourced from the U-Boot shell.
When inheriting the :ref:`ref-classes-kernel-fitimage` class a
When inheriting the :ref:`ref-classes-kernel-fit-image` class a
script file should be included in the :term:`SRC_URI` of the Linux
kernel recipe.
@@ -5075,9 +5096,7 @@ system and gives an overview of their function and contents.
:term:`KERNEL_CLASSES`
A list of classes defining kernel image types that the
:ref:`ref-classes-kernel` class should inherit. You typically
append this variable to enable extended image types. An example is
":ref:`ref-classes-kernel-fitimage`", which enables
FIT image support and resides in ``meta/classes-recipe/kernel-fitimage.bbclass``.
append this variable to enable extended image types.
You can register custom kernel image types with the
:ref:`ref-classes-kernel` class using this variable.
@@ -5352,6 +5371,27 @@ system and gives an overview of their function and contents.
the :term:`KERNEL_PATH` variable. Both variables are common variables
used by external Makefiles to point to the kernel source directory.
:term:`KERNEL_SPLIT_MODULES`
When inheriting the :ref:`ref-classes-kernel-module-split` class, this
variable controls whether kernel modules are split into separate packages
or bundled into a single package.
For some use cases, a monolithic kernel module package
:term:`KERNEL_PACKAGE_NAME` that contains all modules built from the
kernel sources may be preferred to speed up the installation.
By default, this variable is set to ``1``, resulting in one package per
module. Setting it to any other value will generate a single monolithic
package containing all kernel modules.
.. note::
If :term:`KERNEL_SPLIT_MODULES` is set to 0, it is still possible to
install all kernel modules at once by adding ``kernel-modules`` (assuming
:term:`KERNEL_PACKAGE_NAME` is ``kernel-modules``) to :term:`IMAGE_INSTALL`.
The way it works is that a placeholder "kernel-modules" package will be
created and will depend on every other individual kernel module packages.
:term:`KERNEL_SRC`
The location of the kernel sources. This variable is set to the value
of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module`
@@ -6980,6 +7020,10 @@ system and gives an overview of their function and contents.
":ref:`dev-manual/speeding-up-build:speeding up a build`"
section in the Yocto Project Development Tasks Manual.
For more information on how to limit the resources used during builds, see
the :doc:`/dev-manual/limiting-resources` section of the Yocto Project
Development Tasks Manual.
:term:`PARALLEL_MAKEINST`
Extra options passed to the build tool install command
(``make install``, ``ninja install`` or more specific ones)
@@ -8041,7 +8085,7 @@ system and gives an overview of their function and contents.
:term:`S`
The location in the :term:`Build Directory` where
unpacked recipe source code resides. By default, this directory is
``${``\ :term:`WORKDIR`\ ``}/${``\ :term:`BPN`\ ``}-${``\ :term:`PV`\ ``}``,
``${``\ :term:`UNPACKDIR`\ ``}/${``\ :term:`BPN`\ ``}-${``\ :term:`PV`\ ``}``,
where ``${BPN}`` is the base recipe name and ``${PV}`` is the recipe
version. If the source tarball extracts the code to a directory named
anything other than ``${BPN}-${PV}``, or if the source code is
@@ -8054,19 +8098,10 @@ system and gives an overview of their function and contents.
``poky/build``. In this case, the work directory the build system
uses to keep the unpacked recipe for ``db`` is the following::
poky/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/db-5.1.19
poky/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/sources/db-5.1.19
The unpacked source code resides in the ``db-5.1.19`` folder.
This next example assumes a Git repository. By default, Git
repositories are cloned to ``${WORKDIR}/git`` during
:ref:`ref-tasks-fetch`. Since this path is different
from the default value of :term:`S`, you must set it specifically so the
source can be located::
SRC_URI = "git://path/to/repo.git;branch=main"
S = "${WORKDIR}/git"
:term:`SANITY_REQUIRED_UTILITIES`
Specifies a list of command-line utilities that should be checked for
during the initial sanity checking process when running BitBake. If
@@ -8441,7 +8476,6 @@ system and gives an overview of their function and contents.
sources are fetched from a Git repository and ``setup.py`` is in a
``python/pythonmodule`` subdirectory, you would have this::
S = "${WORKDIR}/git"
SETUPTOOLS_SETUP_PATH = "${S}/python/pythonmodule"
:term:`SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS`
@@ -8764,6 +8798,28 @@ system and gives an overview of their function and contents.
image), compared to just using the :ref:`ref-classes-create-spdx` class
with no option.
:term:`SPDX_INCLUDE_COMPILED_SOURCES`
This option allows the same as :term:`SPDX_INCLUDE_SOURCES` but including
only the sources used to compile the host tools and the target packages.
While :term:`SPDX_INCLUDE_SOURCES` includes all files in the source
directory as source file descriptions, :term:`SPDX_INCLUDE_COMPILED_SOURCES`
includes only the sources that are used to produce the binaries delivered
as packages. The source files that are not used during compilation are not
included in the SBOM. It uses debugsource information generated during
``do_package`` to filter out source files.
This enables an external tool to use the SPDX information to disregard
vulnerabilities that are not compiled in the packages.
Enable this option as follows::
SPDX_INCLUDE_COMPILED_SOURCES = "1"
According to our tests, building ``core-image-minimal`` for the
``qemux86-64`` machine, enabling this option compared with the
:term:`SPDX_INCLUDE_SOURCES` reduces the size of the ``tmp/deploy/spdx``
directory from 2GB to 1.6GB.
:term:`SPDX_NAMESPACE_PREFIX`
This option could be used in order to change the prefix of ``spdxDocument``
and the prefix of ``documentNamespace``. It is set by default to
@@ -10321,13 +10377,13 @@ system and gives an overview of their function and contents.
:term:`UBOOT_DTB_LOADADDRESS`
Specifies the load address for the dtb image used by U-Boot. During FIT
image creation, the :term:`UBOOT_DTB_LOADADDRESS` variable is used in
:ref:`ref-classes-kernel-fitimage` class to specify the load address to be
:ref:`ref-classes-kernel-fit-image` class to specify the load address to be
used in creating the dtb sections of Image Tree Source for the FIT image.
:term:`UBOOT_DTBO_LOADADDRESS`
Specifies the load address for the dtbo image used by U-Boot. During FIT
image creation, the :term:`UBOOT_DTBO_LOADADDRESS` variable is used in
:ref:`ref-classes-kernel-fitimage` class to specify the load address to be
:ref:`ref-classes-kernel-fit-image` class to specify the load address to be
used in creating the dtbo sections of Image Tree Source for the FIT image.
:term:`UBOOT_ENTRYPOINT`
@@ -10339,7 +10395,7 @@ system and gives an overview of their function and contents.
- The :term:`FIT_ADDRESS_CELLS` variable for FIT image creation.
- The :term:`UBOOT_FIT_ADDRESS_CELLS` variable for U-Boot FIT image creation.
This variable is used by the :ref:`ref-classes-kernel-fitimage`,
This variable is used by the :ref:`ref-classes-kernel-fit-image`,
:ref:`ref-classes-kernel-uimage`, :ref:`ref-classes-kernel`,
:ref:`ref-classes-uboot-config` and :ref:`ref-classes-uboot-sign`
classes.
@@ -10616,7 +10672,7 @@ system and gives an overview of their function and contents.
- The :term:`FIT_ADDRESS_CELLS` variable for FIT image creation.
- The :term:`UBOOT_FIT_ADDRESS_CELLS` variable for U-Boot FIT image creation.
This variable is used by the :ref:`ref-classes-kernel-fitimage`,
This variable is used by the :ref:`ref-classes-kernel-fit-image`,
:ref:`ref-classes-kernel-uimage`, :ref:`ref-classes-kernel`,
:ref:`ref-classes-uboot-config` and :ref:`ref-classes-uboot-sign`
classes.
@@ -10644,15 +10700,15 @@ system and gives an overview of their function and contents.
:term:`UBOOT_MKIMAGE`
Specifies the name of the mkimage command as used by the
:ref:`ref-classes-kernel-fitimage` class to assemble
:ref:`ref-classes-kernel-fit-image` class to assemble
the FIT image. This can be used to substitute an alternative command, wrapper
script or function if desired. The default is "uboot-mkimage".
:term:`UBOOT_MKIMAGE_DTCOPTS`
Options for the device tree compiler passed to ``mkimage -D`` feature
while creating a FIT image with the :ref:`ref-classes-kernel-fitimage`
while creating a FIT image with the :ref:`ref-classes-kernel-fit-image`
class. If :term:`UBOOT_MKIMAGE_DTCOPTS` is not set then the
:ref:`ref-classes-kernel-fitimage` class will not pass the ``-D`` option
:ref:`ref-classes-kernel-fit-image` class will not pass the ``-D`` option
to ``mkimage``.
This variable is also used by the :ref:`ref-classes-uboot-sign` class.
@@ -10663,42 +10719,42 @@ system and gives an overview of their function and contents.
:term:`UBOOT_MKIMAGE_SIGN`
Specifies the name of the mkimage command as used by the
:ref:`ref-classes-kernel-fitimage` class to sign
:ref:`ref-classes-kernel-fit-image` class to sign
the FIT image after it has been assembled (if enabled). This can be used
to substitute an alternative command, wrapper script or function if
desired. The default is "${:term:`UBOOT_MKIMAGE`}".
:term:`UBOOT_MKIMAGE_SIGN_ARGS`
Optionally specifies additional arguments for the
:ref:`ref-classes-kernel-fitimage` class to pass to the
:ref:`ref-classes-kernel-fit-image` class to pass to the
mkimage command when signing the FIT image.
:term:`UBOOT_RD_ENTRYPOINT`
Specifies the entrypoint for the RAM disk image. During FIT image
creation, the :term:`UBOOT_RD_ENTRYPOINT` variable is used in
:ref:`ref-classes-kernel-fitimage` class to specify the entrypoint to be
:ref:`ref-classes-kernel-fit-image` class to specify the entrypoint to be
used in creating the Image Tree Source for the FIT image.
:term:`UBOOT_RD_LOADADDRESS`
Specifies the load address for the RAM disk image. During FIT image
creation, the :term:`UBOOT_RD_LOADADDRESS` variable is used in
:ref:`ref-classes-kernel-fitimage` class to specify the load address to
:ref:`ref-classes-kernel-fit-image` class to specify the load address to
be used in creating the Image Tree Source for the FIT image.
:term:`UBOOT_SIGN_ENABLE`
Enable signing of FIT image. The default value is "0".
This variable is used by the :ref:`ref-classes-kernel-fitimage`,
This variable is used by the :ref:`ref-classes-kernel-fit-image`,
:ref:`ref-classes-uboot-config` and :ref:`ref-classes-uboot-sign`
classes.
:term:`UBOOT_SIGN_KEYDIR`
Location of the directory containing the RSA key and certificate used for
signing FIT image, used by the :ref:`ref-classes-kernel-fitimage` and
signing FIT image, used by the :ref:`ref-classes-kernel-fit-image` and
:ref:`ref-classes-uboot-sign` classes.
:term:`UBOOT_SIGN_KEYNAME`
The name of keys used by the :ref:`ref-classes-kernel-fitimage` class
The name of keys used by the :ref:`ref-classes-kernel-fit-image` class
for signing U-Boot FIT image stored in the :term:`UBOOT_SIGN_KEYDIR`
directory. If we have for example a ``dev.key`` key and a ``dev.crt``
certificate stored in the :term:`UBOOT_SIGN_KEYDIR` directory, you will

View File

@@ -86,16 +86,16 @@ Below is a list of primary tested features, their maintainer(s) and builder(s):
- meta-aws
* - `meta-intel <https://git.yoctoproject.org/meta-intel>`__
- meta-intel layer testing
- TBD
- meta-intel mailing list <meta-intel@lists.yoctoproject.org>
- meta-intel
* - `meta-exein <https://github.com/exein-io/meta-exein>`__
- meta-exein layer testing
- TBD
- meta-exein
* - `meta-virtualization <https://git.yoctoproject.org/meta-virtualization/>`__
- meta-virtualization layer testing
* - `meta-webosose <https://github.com/webosose/meta-webosose>`__
- meta-webosose layer testing
- TBD
- meta-virt
- meta-webosose
* - :ref:`Multilib <dev-manual/libraries:Combining Multiple Versions of Library Files into One Image>`
- Multilib feature testing
- Collective effort
@@ -114,7 +114,7 @@ Below is a list of primary tested features, their maintainer(s) and builder(s):
- pkgman-non-rpm (other builders use RPM by default)
* - :ref:`Patchtest <contributor-guide/submit-changes:Validating Patches with Patchtest>`
- Patchtest tool selftests
- TBD
- Collective effort
- patchtest-selftest
* - :wikipedia:`RISC-V (64-bit) <RISC-V>`
- RISC-V architecture testing (64-bit)
@@ -209,25 +209,25 @@ builder(s):
- Builder(s)
* - :wikipedia:`PowerPC (32-bit) <PowerPC>`
- PowerPC architecture testing (32-bit)
- TBD
- Peter Marko,
Adrian Freihofer
- qemuppc,
qemuppc-alt,
qemuppc-tc
* - :oe_git:`meta-openembedded </meta-openembedded>`
- meta-openembedded layer testing
- TBD
- Collective effort / openembedded-devel mailing list <openebedded-devel@lists.openembedded.org>
- meta-oe
* - `meta-mingw <https://git.yoctoproject.org/meta-mingw>`__
- mingw based SDKs testing
- TBD
- meta-mingw
* - `meta-webosose <https://github.com/webosose/meta-webosose>`__
- meta-webosose layer testing
- TBD
- meta-webosose
* - `meta-virtualization <https://git.yoctoproject.org/meta-virtualization/>`__
- meta-virtualization layer testing
- meta-virtualization mailing list <meta-virtualization@lists.yoctoproject.org>
- meta-virt
* - :wikipedia:`RISC-V (32-bit) <RISC-V>`
- RISC-V architecture testing (32-bit)
- Collective effort
- TBD
- qemuriscv32,
qemuriscv32,
qemuriscv32-tc
@@ -256,6 +256,10 @@ it is on a best effort only basis.
qemumips-alt,
qemumips-tc,
qemumips64-tc
* - :wikipedia:`PowerPC (32-bit) <PowerPC>` Systemd
- PowerPC architecture testing (32-bit) with systemd
- No maintainers
- qemuppc-alt
* - :wikipedia:`PowerPC (64-bit) <PowerPC>`
- PowerPC architecture testing (64-bit)
- No maintainers

View File

@@ -126,7 +126,16 @@ that most themes only style these two admonitions.
## ReStructured Text Syntax standards
This section has not been filled yet
### doc directive
The [doc directive](https://www.sphinx-doc.org/en/master/usage/referencing.html#role-doc)
allows to refer to another document within yocto-docs, like:
For more information, read :doc:`/bsp-guide/index`.
Note that only "absolute" paths (starting with a '/') are allowed. The root
directory of that path is documentation/, that is, :doc:`/bsp-guide/index`
points at documentation/bsp-guide/index.rst.
## Adding screenshots

View File

@@ -46,13 +46,19 @@ Running ptest
=============
The ``ptest-runner`` package installs a shell script that loops through
all installed ptest test suites and runs them in sequence. Consequently,
you might want to add this package to your image.
all installed ptest test suites and runs them in sequence.
During the execution ``ptest-runner`` keeps count of total and failed
``ptests``. At end the execution summary is written to the console.
If any of the ``run-ptest`` fails, ``ptest-runner`` returns '1'.
Consequently, you might want to add ``ptest-runner`` to your image.
Getting Your Package Ready
==========================
In order to enable a recipe to run installed ptests on target hardware,
In order to enable a recipe to run installed ``ptests`` on target hardware,
you need to prepare the recipes that build the packages you want to
test. Here is what you have to do for each recipe:
@@ -77,8 +83,9 @@ test. Here is what you have to do for each recipe:
- *Create run-ptest:* This script starts your test. Locate the
script where you will refer to it using
:term:`SRC_URI`. Here is an
example that starts a test for ``dbus``::
:term:`SRC_URI`. Be sure ``run-ptest`` exits with 0 to mark it
as successfully executed otherwise will be marked as fail.
Here is an example that starts a test for ``dbus``::
#!/bin/sh
cd test

View File

@@ -184,6 +184,12 @@ directory to be shared between them. This means once a Worker has built
an artifact, all the others can benefit from it. The usage of the directory
within the build system is designed for sharing over NFS.
Shared Hash Equivalence Server
------------------------------
The Workers all use the same Hash Equivalence server, through a common
definition for :term:`BB_HASHSERVE`.
Resulttool
----------

View File

@@ -8,8 +8,8 @@ Transitioning to a custom environment for systems development
.. note::
So you've finished the :doc:`brief-yoctoprojectqs/index` and
glanced over the document :doc:`what-i-wish-id-known`, the latter contains
So you've finished the :doc:`/brief-yoctoprojectqs/index` and
glanced over the document :doc:`/what-i-wish-id-known`, the latter contains
important information learned from other users. You're well prepared. But
now, as you are starting your own project, it isn't exactly straightforward what
to do. And, the documentation is daunting. We've put together a few hints to

View File

@@ -49,7 +49,7 @@ contact us with other suggestions.
their silicon. These layers have names such as "meta-intel" or "meta-ti". Try
not to build layers from scratch. If you do have custom silicon, use one of
these layers as a guide or template and familiarize yourself with the
:doc:`bsp-guide/index`.
:doc:`/bsp-guide/index`.
#. **Do not put everything into one layer:**
Use different layers to logically separate information in your build. As an
@@ -127,7 +127,7 @@ contact us with other suggestions.
You can build and run a specific task for a specific package (including
devshell) or even a single recipe. When developers first start using the
Yocto Project, the instructions found in the
:doc:`brief-yoctoprojectqs/index` show how to create an image
:doc:`/brief-yoctoprojectqs/index` show how to create an image
and then run or flash that image. However, you can actually build just a
single recipe. Thus, if some dependency or recipe isn't working, you can just
say "bitbake foo" where "foo" is the name for a specific recipe. As you

View File

@@ -1,7 +1,7 @@
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "5.2"
DISTRO_CODENAME = "walnascar"
DISTRO_VERSION = "5.2.99+snapshot-${METADATA_REVISION}"
DISTRO_CODENAME = "whinlatter"
SDK_VENDOR = "-pokysdk"
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"
SDK_VERSION[vardepvalue] = "${SDK_VERSION}"

View File

@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "yocto"
BBFILE_PATTERN_yocto = "^${LAYERDIR}/"
BBFILE_PRIORITY_yocto = "5"
LAYERSERIES_COMPAT_yocto = "walnascar"
LAYERSERIES_COMPAT_yocto = "whinlatter"
# This should only be incremented on significant changes that will
# cause compatibility issues with other layers

View File

@@ -21,9 +21,7 @@
#
#MACHINE ?= "qemuarm"
#MACHINE ?= "qemuarm64"
#MACHINE ?= "qemumips"
#MACHINE ?= "qemumips64"
#MACHINE ?= "qemuppc"
#MACHINE ?= "qemuriscv64"
#MACHINE ?= "qemux86"
#MACHINE ?= "qemux86-64"
#

View File

@@ -11,8 +11,7 @@ SRC_URI = "file://init \
file://rc.local.sample \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
do_configure() {
:

View File

@@ -11,4 +11,4 @@ BBFILE_PRIORITY_selftest = "5"
addpylib ${LAYERDIR}/lib oeqa
LAYERSERIES_COMPAT_selftest = "walnascar"
LAYERSERIES_COMPAT_selftest = "whinlatter"

View File

@@ -18,8 +18,6 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master \
file://0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch \
"
S = "${WORKDIR}/git"
# xattr support creates an additional compile-time dependency on acl because
# the sys/acl.h header is needed. libacl is not needed and thus enabling xattr
# regardless whether acl is enabled or disabled in the distro should be okay.

View File

@@ -12,8 +12,6 @@ SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=ma
PV = "0.1.0"
SRCREV = "469c9e2230ca4fa9e391c94be6e697733e769500"
S = "${WORKDIR}/git"
inherit python_maturin cargo-update-recipe-crates
require ${BPN}-crates.inc

View File

@@ -12,8 +12,6 @@ SRC_URI = "git://git.yoctoproject.org/guessing-game.git;protocol=https;branch=ma
PV = "0.2.0"
SRCREV = "40cf004c2772ffa20ea803fa3be1528a75be3e98"
S = "${WORKDIR}/git"
inherit python_maturin cargo-update-recipe-crates
require ${BPN}-crates.inc

View File

@@ -8,7 +8,6 @@ SRC_URI = " \
"
SRCREV = "fc53c457f69aa5221ec1f8619a007e8150db5e60"
S = "${WORKDIR}/git"
DEPENDS = "rust-c-lib-example"

View File

@@ -8,7 +8,6 @@ SRC_URI = " \
"
SRCREV = "fc53c457f69aa5221ec1f8619a007e8150db5e60"
S = "${WORKDIR}/git"
inherit cargo_c

View File

@@ -12,7 +12,7 @@ SRCREV = "d3d096eda182644868f8e7458dcfa538ff637db3"
SRCREV_FORMAT .= "_hello-lib"
SRCREV_hello-lib = "59c84574e844617043cf337bc8fa537cf87ad8ae"
S = "${WORKDIR}/rust"
S = "${UNPACKDIR}/rust"
inherit cargo cargo-update-recipe-crates ptest-cargo

View File

@@ -23,7 +23,7 @@ JIT:powerpc64 = ""
RDEPENDS:${PN} = "bash"
SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \
git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \
git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/falcosecurity-libs \
file://0055-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \
file://0099-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \
"
@@ -32,8 +32,6 @@ SRCREV_falco = "caa0e4d0044fdaaebab086592a97f0c7f32aeaa9"
SRCREV_FORMAT = "sysdig_falco"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "\
-DBUILD_DRIVER=OFF \
-DMINIMAL_BUILD=ON \

View File

@@ -19,7 +19,6 @@ SRC_URI = "\
file://run-ptest \
"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
inherit ptest

View File

@@ -4,6 +4,6 @@ INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "file://${BPN}.tar.gz \
file://${BPN}.patch"
S = "${WORKDIR}/${BPN}"
S = "${UNPACKDIR}/${BPN}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -12,7 +12,7 @@ SRC_URI:append:class-native = " file://file3"
SRC_URI[md5sum] = "92a253df9211e9c20172796ecf388f13"
SRC_URI[sha256sum] = "26d3986d2bea109d5dc0e4f8c4822a459276cf021125e8c9f23c3cca5d8c850e"
S = "${WORKDIR}/syslinux-${PV}"
S = "${UNPACKDIR}/syslinux-${PV}"
EXCLUDE_FROM_WORLD = "1"
BBCLASSEXTEND = "native"

View File

@@ -6,8 +6,7 @@ SRC_URI = "file://file1 \
SRC_URI:append:class-native = " file://file3"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
EXCLUDE_FROM_WORLD = "1"
BBCLASSEXTEND = "native"

View File

@@ -4,6 +4,6 @@ INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "file://${BPN}.tar.gz \
file://0001-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch"
S = "${WORKDIR}/${BPN}"
S = "${UNPACKDIR}/${BPN}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -8,7 +8,7 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/xrestop/xrestop-0.4.tar.gz
"
UPSTREAM_VERSION_UNKNOWN = "1"
S = "${WORKDIR}/xrestop-0.4"
S = "${UNPACKDIR}/xrestop-0.4"
SRC_URI[md5sum] = "d8a54596cbaf037e62b80c4585a3ca9b"
SRC_URI[sha256sum] = "67c2fc94a7ecedbaae0d1837e82e93d1d98f4a6d759828860e552119af3ce257"

View File

@@ -3,7 +3,6 @@ INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "file://file1"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
S = "${UNPACKDIR}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -4,6 +4,6 @@ INHIBIT_DEFAULT_DEPS = "1"
SRC_URI = "file://devtool-test-subdir.tar.gz \
file://testfile;subdir=${BPN}"
S = "${WORKDIR}/${BPN}"
S = "${UNPACKDIR}/${BPN}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "681bcca9784bf3cb2207e68236d1f68e2aa7b80f999b5750dc77dcd756
PR = "r5"
S = "${WORKDIR}/pv-${PV}"
S = "${UNPACKDIR}/pv-${PV}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -11,7 +11,7 @@ RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3"
S = "${WORKDIR}/pv-${PV}"
S = "${UNPACKDIR}/pv-${PV}"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -15,8 +15,6 @@ SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master"
UPSTREAM_CHECK_COMMITS = "1"
RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature"
S = "${WORKDIR}/git"
EXCLUDE_FROM_WORLD = "1"
inherit autotools pkgconfig

Some files were not shown because too many files have changed in this diff Show More