78181 Commits

Author SHA1 Message Date
Antonin Godard
55fcffc08c scripts/cve-json-to-text.py: fix missing -o option
Add the missing condition on '-o', which allows changing the output
path.

(From OE-Core rev: f9a176a8a36524a68a3ff98f157357303093382f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Antonin Godard
62e934f038 scripts/cve-json-to-text.py: remove unused options
Remove --all and -a and they are unused in the file.
Remove long options as they don't actually exist when using getopt.

(From OE-Core rev: c2be1a9197b5e261051fe075edca000dc70ee2fe)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Mikko Rapeli
1ebcf9f258 lttng-modules: fix build failure on genericarm64
Workaround to unblock genericarm64 builds.
Upstream is working on a better fix
https://bugs.lttng.org/issues/1426

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15840

(From OE-Core rev: c57a903b9ac6d3015195a59829c223917e9c41f8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Patryk Seregiet
ab02b5226b linux-firmware: fix FILES to drop RDEPENDS on full package
linux-firmware-rtl8723 and linux-firmware-adsp-sst
contain symlinks to files that were previously
packaged only in the main linux-firmware package.
This caused both subpackages to inherit an unintended
RDEPENDS on the full package. This change resolves the
issue by ensuring all required files are correctly
included in their respective subpackages.

Thanks to Peter Kjellerstedt for figuring out the rootcause.

(From OE-Core rev: cf27c7d040e7a5f1bbc60fb36c98686704bd7dc5)

Signed-off-by: Patryk Seregiet <patryk.seregiet@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Mikko Rapeli
ad6d71a326 efi-uki-bootdisk.wks.in: reduce ESP boot partition size
This sample ESP partition is used mostly for testing purposes.
It's not expected to host multiple UKI binaries for example.
Thus reduce size from 500 Mb to size of needed boot binaries
72 Mb plus around 20% free space 88Mb. This is enough for
all test cases and fits to RAM when using PMEM memory based
block device on real target boards with just a few Gb of RAM.

(From OE-Core rev: 7a4b90ef3815aa227236ec9b95540233db8ac3b3)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:59:01 +01:00
Ines KCHELFI
9019308b31 ptest-cargo: fix incorrect FAIL count when multiple tests are run
When using the ptest-cargo class with multiple Rust test binaries, ptest-runner
may report FAIL: 0 even if one of the tests fails, as long as the last test passes.

This happens because the run-ptest script, as generated by the class, does not
track failures and simply returns the exit code of the last test.
To fix this, each test binary is checked individually for failure. If any test fails,
a non-zero exit code is returned.

This ensures that test failures are not silently ignored and are properly reported
by ptest-runner in multi-test scenarios.

(From OE-Core rev: 039708d2aa578da755d5b6eadd6f549121a93186)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Ines KCHELFI
40346626ec ptest-cargo: refactor run-ptest generation to remove redundancy
This refactoring simplifies the generation of the run-ptest script by
removing redundant logic and improving readability.

(From OE-Core rev: 287614a847651f8bd528597b7d6ccb8ad8262367)

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Ross Burton
c2aec3f86c uninative: show errors if installing fails
We call the installer script but if it fails the user doesn't see the
reason, which makes resolving the problem hard.  Capture both stdout and
stderr as text, and display it to the user when it fails.

(From OE-Core rev: c67fbe17ce063350181c28f99662004737d8b770)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Ross Burton
70910dad0d bmaptool: put the PV in the filename
We're shipping a release but the filename suggests it is a git snapshot.

To avoid version-going-backwards errors we need to continue to put +git
in the PV, so add a comment to remind the upgrader to remove it.

(From OE-Core rev: 467a75c70506720e5603143afc2d005cf14cffeb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Niko Mauno
b8e48df4fc dbus: Remove 'dbus-x11' from RPROVIDES
Since runtime dependencies to the old 'dbus-x11' compatibility label
are now no longer used in either poky or meta-openembedded provided
layers, we can remove it.

(From OE-Core rev: 2639ab4fd8855ada4ae8e2093868d7978220e783)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Peter Marko
0b25d55bc0 linux/cve-exclusion: do not shift first_affected
Stop shifting first_affected if backport is indicated. This does not
have effect on generated list, but makes the logic cleaner as it will
not shift it to "first affected on our branch" and also make it behave
like in defaultStatus==affected case.

Cc: daniel.turull@ericsson.com
(From OE-Core rev: dc1ecb69389dd79354084757ba6b9af0781afcc0)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:32 +01:00
Peter Marko
d5b1922a69 linux/cve-exclusion: update exclusions after script fixes
This will shift fixed version of many CVEs, it does not change status of
any CVE.

Note that the current format of cvelistV5 does not allow us to determine
real value of "fixed_in" without also checking the hashes, but the
result are still fine.
The reason is that many entries are missing original_commit_for_fix
field and thus we see the final "fixed_in" version to be set to backport
to previous branch (e.g. 6.12.23 instead of 6.13).

(From OE-Core rev: 1697404589e2d3a625f9da2e8906e47af668c1c3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Peter Marko
df2436ba97 linux/cve-exclusion: correct fixed-version calculation
Current code takes the first version found as "fixed-version".
That is not correct as it is almost always only the oldest backport.
Fix it by unconditionally shift the assigmnet of variable "fixed" so
that we take last instead of first version.

Cc: daniel.turull@ericsson.com
(From OE-Core rev: 68f8e58a249c8adef18e63f0841e8bfea16f354e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Peter Marko
8ad06a02ae linux/cve-exclusion: update with latest cvelistV5
This is preparation for fix in the script so that next update shows only
entries updated by the script change.

(From OE-Core rev: 583e9f15c01555863ae467c7f91729ce85aae194)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Khem Raj
2ebe2d59e2 harfbuzz: Upgrade to 11.1.0 release
Changes are:

Include bidi mirroring variants of the requested codepoints when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be used to disable this behaviour.
Various bug fixes.
Various build fixes and improvements.
Various test suite improvements.

(From OE-Core rev: 61a4ec67b4721d4a13b3c1171e55bdef50f7e85e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
6cf96bd710 bash: use -std=gnu17 also for native CFLAGS
* fixes builds on host with gcc-15:
  http://errors.yoctoproject.org/Errors/Details/853016/

../../bash-5.2.37/builtins/mkbuiltins.c:268:29: error: too many arguments to function ‘xmalloc’; expected 0, have 1
  268 |           error_directory = xmalloc (2 + strlen (argv[arg_index]));
      |                             ^~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(From OE-Core rev: 663a79bbf2f2e113992e457244964b7582d9caaf)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
bbdb4ffea5 ghostscript: fix build with gcc-15 on host
(From OE-Core rev: 02e282f6417274a93c6f01978bf33e2d171297b0)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
98f2376d82 flex: fix build with gcc-15 on host
* fixes:
  http://errors.yoctoproject.org/Errors/Details/853017/

../../flex-2.6.4/src/../lib/malloc.c:6:12: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
    6 |      void *malloc ();
      |            ^~~~~~
../../flex-2.6.4/src/../lib/malloc.c:5:1: note: ‘malloc’ is declared in header ‘<stdlib.h>’
    4 |      #include <sys/types.h>
  +++ |+#include <stdlib.h>
    5 |
../../flex-2.6.4/src/../lib/malloc.c: In function ‘rpl_malloc’:
../../flex-2.6.4/src/../lib/malloc.c:16:15: error: too many arguments to function ‘malloc’; expected 0, have 1
   16 |        return malloc (n);
      |               ^~~~~~  ~
../../flex-2.6.4/src/../lib/malloc.c:6:12: note: declared here
    6 |      void *malloc ();
      |            ^~~~~~
make[2]: *** [Makefile:1431: ../lib/stage1flex-malloc.o] Error 1

(From OE-Core rev: e1832f02d70bd4082bc82ae2983546c880818491)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Martin Jansa
ffd02fb1f7 pkgconfig: fix build with gcc-15
* on hosts with gcc-15 or whenever glib PACKAGECONFIG isn't enabled
  and pkgconfig uses own old bundled glib

* fixes:
  http://errors.yoctoproject.org/Errors/Details/853015/
../../../git/glib/glib/goption.c:169:14: error: two or more data types in declaration specifiers
  169 |     gboolean bool;
      |              ^~~~
../../../git/glib/glib/goption.c:169:18: warning: declaration does not declare anything
  169 |     gboolean bool;
      |                  ^

(From OE-Core rev: aada741d57e181ff35e0715012513dc9d669eaef)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
f071446102 wget: use libpcre2
libpcre is obsolete and unmaintained, as wget supports libpcre2 now we
should use that instead.

(From OE-Core rev: c287a6c6365c9e30beebebeb5cd936d3c22829db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
bcf2a29314 libunwind: fix the build with GCC 15
Backport a patch from upstream to fix the build when GCC 15 is used.

(From OE-Core rev: cdae3b07ac4b5e59e33d96c1da9c5dda53de9d04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
35c08bed88 libunwind: fix build when unused sections are garbage collected
poky-tiny uses gcsections.inc to strip unused sections from the
binaries.  However, on qemuarm5/qemuarm64 with poky-tiny this appears to
result in too much being removed and the link fails:

  ld: .libs/Gtest-trace: hidden symbol `__aarch64_cas8_acq_rel' in
  libgcc.a(cas_8_4.o) is referenced by DSO

Work around this by disabling gcsections.inc.

(From OE-Core rev: 3291827895906e879a7f115eae78aec921a5aa96)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
bb3fc52010 libunwind: check if libatomic is needed at configure time
Backport a patch submitted upstream to conditionally link explicitly to
libatomic, so we don't need to that in the recipe.

(From OE-Core rev: 797e645dbcb8a05a2514afc2d5bc2b0b661a0d0e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Ross Burton
f2dc1e086c libunwind: refresh ppc32/musl patch
There was a precedence order problem in the patch so update to the latest
version in the pull request.

(From OE-Core rev: c64c4ca0c72f6fde3b1d5cfea5803ddf16550fd5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Khem Raj
f2bef9fa5f toolchain/clang: Remove duplicate RANLIB setting
Its already assigned couple of lines above

(From OE-Core rev: 67a1d55cb50703a3f585521cf44693ade66cc88b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Samuli Piippo
d8fe48df20 libjpeg-turbo: don't use chrpath
chrpath doesn't work on mingw32 binaries:

| `/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-libjpeg-turbo/3.0.1/image//usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-w64-mingw32/usr/bin/cjpeg.exe' probably isn't an ELF file.
| elf_open: Exec format error

Instead, use CMake variable to disable RPATH and avoid the
useless-rpaths QA error.

(From OE-Core rev: 7ffbc913d4b03da4154341f5ca995f767a3bee33)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
9440ea0648 alsa-utils: upgrade 1.2.13 -> 1.2.14
Remove 2 patches now included upstream.

Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14

(From OE-Core rev: 23cb89eec07596330a1234f32ff47783c8f00d30)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
324dfd2c77 alsa-ucm-conf: upgrade 1.2.13 -> 1.2.14
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14
(From OE-Core rev: 8a42c65a4db8db6e6a829b66e31b4719b8916883)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
7acf576b04 alsa-tools: upgrade 1.2.11 -> 1.2.14
Remove 1 patch now included upstream.

Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14

(From OE-Core rev: 3a394ca7172e80b07f76fb93882d3597d7108219)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Michael Opdenacker
905df9de05 alsa-lib: upgrade 1.2.13 -> 1.2.14
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.13_v1.2.14
(From OE-Core rev: 8518e57a117a67f6a6d963bbb0841a2a40ad7bff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Markus Volk
40f2090c04 default-providers.inc: add entries for virtual/libsdl2
virtual/libsdl2 can be provided by 'libsdl2' and 'libsdl2-compat' where the latter
is a replacement for libsdl2 that uses libsdl3 behind the scenes and should
be favored if applicable.

(From OE-Core rev: e79d41c9fea112d919fad2603ab0add6c1760757)

Signed-off-by: Markus Volk &lt;<a href="mailto:f_l_k@t-online.de">f_l_k@t-online.de</a>&gt;
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Markus Volk
9737076e33 mpg123: make use of virtual/libsdl2
Fix to ensure it would work with both libsdl2 and libsdl2-compat

(From OE-Core rev: 587ccc776e1571f7cccf03104088ecc1e7becf5c)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Trevor Gamblin
c4af26f889 python3-numpy: upgrade 2.2.4 -> 2.2.5
Changelog: https://github.com/numpy/numpy/blob/main/doc/changelog/2.2.5-changelog.rst

Reproducibility looks OK:

|2025-04-24 10:27:00,978 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1203.06s)
|2025-04-24 10:27:00,985 - oe-selftest - INFO - SUMMARY:
|2025-04-24 10:27:00,985 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1233.056s
|2025-04-24 10:27:00,985 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: d2ac1be4d2257106c5146ea3c3a136fc4b5116ad)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Antonin Godard
c1cac08c7c linux-firmware: fix zst install suffix
The linux-firmware Makefile defines an 'install-zst' rule, but currently
fw_compr_suffix() return the '-zstd' suffix when FIRMWARE_COMPRESSION is
set to 'zstd' which produces:

  make: *** No rule to make target 'install-zstd'.

Return '-zst' instead to properly run 'make install-zst'.

(From OE-Core rev: cc9d972eba1f47fba206665260690ad8de99679f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Nguyen Dat Tho
bbcc57ba12 libatomic-ops: Update GITHUB_BASE_URI
libatomic-ops moves to new repo https://github.com/ivmai/libatomic_ops
according to topic: https://github.com/bdwgc/libatomic_ops/issues/66

(From OE-Core rev: e65452b60d04bae3cdc4f5f5883f60ed78c60594)

Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Alexander Kanavin
2c841a2548 libarchive: correct upstream version check
File index works now:
http://libarchive.org/downloads/

(From OE-Core rev: 11dfb88badcbb0daf3744eb3ab82bf9290ae5981)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Alexander Kanavin
5eb2bdff94 libunwind: use github-releases class to determine latest versions
(From OE-Core rev: 43ee9831326eac7877b7f148b145c0369c9a06cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Alexander Kanavin
0767b55acc tcf-agent: update SRC_URI to https://gitlab.eclipse.org
(From OE-Core rev: 5b8190ab58bd235b797b5acfa20e49e28b381990)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-29 09:55:31 +01:00
Daniel Turull
573c7b54e6 cve-exclusions: correct cve status for 5 entries
In commit 8a7af09feb the CVE_STATUS was copy from the old data
for 6.6 kernel, which had backport information.
Correcting status to when the fix was introduced and adding
references to the fixes.

Fixes: 8a7af09febc28477094de0999ab6321d910811b2
Reported-by: Peter Marko <Peter.Marko@siemens.com>
(From OE-Core rev: fc3e32bc4cf79ddce0eb9fa409656de4dc0e00ea)

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-26 23:17:15 +01:00
Mathieu Dubois-Briand
3f1aa58463 linux/cve-exclusion: Update exclusions after kernel update
Update CVE exclusions with the update script, as the kernel was updated.

(From OE-Core rev: 6e9da1183f50a9ec978d867d7a4f515239fde8d2)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-26 23:17:15 +01:00
Richard Purdie
4726c18047 send-error-report: Apply v2 of the patch
The v1 of the patch was merged, update to v2.

(From OE-Core rev: 54c84be6e4643396b47b7d8cca803f914455ade9)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 16:08:42 +01:00
Joao Marcos Costa
640970e6b7 multilib.conf: fix typo in comment
(From OE-Core rev: db2ce170f0381886bab8f05f88a8d8fb1a5844e4)

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 13:43:31 +01:00
Mikko Rapeli
5b45f60969 genericarm64.conf: increase INITRAMFS_MAXSIZE
Since pmem kernel drivers were enabled as modules, the initrd
size limit is hit. On genericarm64 all kernel modules and some
firmware files get installed to initrd by default which make
the thing large. I'm working on patches to reduce the kernel drivers
installed to initrd and to make the kernel in general more modular
(btrfs 5 Mb etc built into kernel by default). For now just increase
the size limit to unblock genericarm64 builds and testing.

Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15833

(From meta-yocto rev: 09bef6a491c087f0f0371874e759aae08a720c4e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-25 08:17:39 +01:00
Antonin Godard
c807b703cd bitbake: doc: bitbake-user-manual-metadata: provide link to new doc
Replace the now obsolete paragraph of the "Other Functions" section by
a link to the new "Library Functions" document.

(Bitbake rev: 0eecb4b2ee4fe5339340ed0d08783aa03bf051cc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Antonin Godard
a035cd4718 bitbake: doc: add a new Library Functions document
Add a new document to the BitBake user manual that automatically
documents the library functions from their docstrings. The docstrings
can be formatted in reStructuredText.

Here logging utilities and the bb.utils module is documented. Some
members of the utils module were deliberately excluded as their usage is
most likely only internal to BitBake.

Fixes [YOCTO #9612]

(Bitbake rev: 0a711949acc2696f32a61c591ee3ea37041acb91)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Antonin Godard
1215042fa7 bitbake: lib/bb: format and improve logging docstrings
Format the docstrings of the utils modules to be automatically
documented with the autodoc Sphinx extensions.

(Bitbake rev: 4963bfc6045ad1f49e721edd97766dab1e2d1edc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Antonin Godard
8c24921ba6 bitbake: utils: format and improve docstrings
Format the docstrings of the utils modules to be automatically
documented with the autodoc Sphinx extensions. Sphinx syntax can be used
in those for proper formatting. Cross-referencing with :term: is not
possible in these.

(Bitbake rev: 2fa1c7ad43639c6d25c94b7794bcce5f5ff74e10)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Mark Asselstine
da63ef8c75 bitbake: utils: lock_timeout_nocheck() ensure l is initialized
lock_timeout_nocheck() can be interrupted immediately after enterring
the try-block and prior to initializing 'l', for example with a
ctrl-C, the code in finally will still be run and the 'if l' will
fail. Initialize 'l' as False to avoid this possiblity.

(Bitbake rev: 4885cd9d275ba2ab60e5c76aed856c34533cd3ae)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:53:00 +01:00
Lei Maohui
a3a10a15c4 python3-hypothesis: Update to use the new ptest-python-pytest class
(From OE-Core rev: e68ad590f9c0b4bcba94ad571553d81e2a7c6f50)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:47:23 +01:00
Mingli Yu
4ac36e4b08 base-files: Make PATH retain the existing value
We may set the PATH variable such as in /etc/environment for ssh session,
so make PATH retain the previous existing value to fix the gap.

(From OE-Core rev: 4340cd7da25c69424915f29c2bb9531fc33617e6)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 11:47:23 +01:00