summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* avahi: fix CVE-2024-52615Zhang Peng2025-10-302-0/+229
| | | | | | | | | | | | | | | | | | | | | | | CVE-2024-52615: A flaw was found in Avahi-daemon, which relies on fixed source ports for wide-area DNS queries. This issue simplifies attacks where malicious DNS responses are injected. Reference: [https://nvd.nist.gov/vuln/detail/CVE-2024-52615] [https://github.com/avahi/avahi/security/advisories/GHSA-x6vp-f33h-h32g] Upstream patches: [https://github.com/avahi/avahi/commit/4e2e1ea0908d7e6ad7f38ae04fdcdf2411f8b942] (Cherry pick from commit: ec22ec26b3f40ed5e0d84d60c29d8c315cf72e23) (From OE-Core rev: 97d60090dbe96dca423af47c8d55cc53e172fb4c) Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix CVE-2024-52616Zhang Peng2025-10-302-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | CVE-2024-52616: A flaw was found in the Avahi-daemon, where it initializes DNS transaction IDs randomly only once at startup, incrementing them sequentially after that. This predictable behavior facilitates DNS spoofing attacks, allowing attackers to guess transaction IDs. Reference: [https://nvd.nist.gov/vuln/detail/CVE-2024-52616] [https://github.com/avahi/avahi/security/advisories/GHSA-r9j3-vjjh-p8vm] Upstream patches: [https://github.com/avahi/avahi/commit/f8710bdc8b29ee1176fe3bfaeabebbda1b7a79f7] (Cherry pick from commit 28de3f131b17dc4165df927060ee51f0de3ada90) (From OE-Core rev: 3d36874e2beb64ca2a089a2be942cbbbbe1fff79) Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/rust: strip debug symbols from test binariesPeter Tatrai2025-10-301-0/+3
| | | | | | | | | | | | | | | | | | Strip debug symbols from test binaries using RUSTFLAGS='-C strip=debuginfo' to reduce binary sizes from 300+ MB to ~140 MB. This is especially critical for PowerPC mac99 which has a hardcoded 768MB RAM limit in QEMU. Without stripping, test binaries uploaded to /tmp (tmpfs) cause 'No space left on device' errors during test execution. The size reduction also benefits all other architectures by reducing memory pressure and upload times during testing. (From OE-Core rev: ede3ac6f587507f98ffbe9a8b07e21e57c27c986) Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.3: updatesAntonin Godard2025-10-292-25/+357
| | | | | | | | | | | | | | Update the release notes and migration manual for 5.3. This covers commits from bd4625cd4db0 ("build-appliance-image: Update to master head revision") to 4a1f38dd8db1 ("bitbake: knotty, uihelper: Remove running_pids and lastpids") in Poky. Acked-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 5cb37206ca0dfaa0dafabb28ebd546b591c88486) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: document UBOOT_MAKE_OPTSAntonin Godard2025-10-292-2/+12
| | | | | | | | | | | | This variable was added by commit 3338330e0c46 ("u-boot: Add specifying make options as part the config looping") in OE-Core. Document how to use the option in UBOOT_CONFIG. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 0fc14dca55d3760491cc40ac8c136c9dbdd23dbb) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: document the relative_symlinks classAntonin Godard2025-10-291-0/+19
| | | | | | | | | | Added by commit e478550c8cd8 ("openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class)") in OE-Core. (From yocto-docs rev: c0dc554eba7d421023ecc68a70b7a19df38628b0) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/features.rst: add entry for the coresight machine featureAntonin Godard2025-10-291-0/+5
| | | | | | | | | | | Added by commit c455bd039104 ("perf: enable coresight if enabled in MACHINE_FEATURES") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 4b010341a83f515140cb52329107d6da04590a8c) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: document the rust-target-config classAntonin Godard2025-10-291-0/+13
| | | | | | | | | Document the rust-target-config class. (From yocto-docs rev: a9dc48f4bbfb9abfdffc7f0caa8285f7c72cc2d9) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: gettext: extend the documentation of the classAntonin Godard2025-10-291-0/+8
| | | | | | | | | | | Mention the use of USE_NLS, INHIBIT_DEFAULT_DEPS and the cross-canadian class. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: d877e54f1c85cefc00dd674d60f2db81446bd95a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the USE_NLS variableAntonin Godard2025-10-291-0/+12
| | | | | | | | | | | Part of bitbake.conf, this variable allowing to enable or disable translation was undocumented. Add a entry to the glossary. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 92a55345a56b5038c0344669daaa7a3a99dd0fc0) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variableAntonin Godard2025-10-291-0/+17
| | | | | | | | | | | Added by commit 96a9702a24a7 ("distro_features_check: expand with IMAGE_FEATURES") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 860ddbd491ee9db291868bd939392538a2c64a4b) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the REQUIRED_COMBINED_FEATURES variableAntonin Godard2025-10-291-0/+10
| | | | | | | | | | | Added in OE-Core commit: 5f4875b950ce ("distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename"). Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: bbc7f26240c2db5cd4179f297ae49c778789514e) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the REQUIRED_MACHINE_FEATURES variableAntonin Godard2025-10-291-0/+9
| | | | | | | | | | | Added in OE-Core commit: 5f4875b950ce ("distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename"). Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: c0551456cba6016d5014c2be8d6906e58a324cc4) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the REQUIRED_TUNE_FEATURES variableAntonin Godard2025-10-291-0/+9
| | | | | | | | | | | | Very similar to REQUIRED_DISTRO_FEATURES, added by commit a8ef7339ecb9 ("features_check.bbclass: Add support for required TUNE_FEATURES") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 9652c101092c34233f00418fcc2a84a86fbc9a9b) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes,variables: document the CCACHE_DISABLE variableAntonin Godard2025-10-292-0/+9
| | | | | | | | | | | Can be used in recipes that want to explicitly skip Ccache support when the ccache class is enabled. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: b1b4adc8d4d9d23ff6fd91bca632bb0f5277e72b) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: ccache: mention that the host's ccache can be usedAntonin Godard2025-10-291-2/+9
| | | | | | | | | | | This feature was added by commit cc91a0f6500e ("ccache: enable ccache for all recipes if it is in HOSTTOOLS") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 47ded4e32c28420ddb47278b299093af649fab75) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: document the python_pdm classAntonin Godard2025-10-291-0/+13
| | | | | | | | | | | This class was added by commit 20758865e9e0 ("classes/python_pdm: add PEP517 build class for PDM") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: bbec8adf0fb2dfa8b34e631249a6d6e71aa08386) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/features.rst: add new opencl featureAntonin Godard2025-10-291-0/+3
| | | | | | | | | | | Added by commit 3061d6061e74 ("mesa: add opencl DISTRO_FEATURE") in OE-Core. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 202adb84fdad6673ed5b91a6c9642791237cf76b) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/qa-checks.rst: drop var-undefinedAntonin Godard2025-10-291-11/+0
| | | | | | | | | | | Drop the var-undefined after it was dropped in OE-Core cb69d7eba802 ("package: Drop var-undefined QA check"). Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: 5429187f5f034cf86628fb794ded91cdec731123) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overview-manual/yp-intro.rst: update on-target packaging infoRobert P. J. Day2025-10-291-5/+6
| | | | | | | | | | | | - drop references to obsolete tar packaging format - add references to apt and dpkg utilities for .deb packaging - add reference to alternative "dnf" .rpm packaging (From yocto-docs rev: c0737f253a89cc1f5fa23f24710705929bd75b79) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual/start.rst: fix typo "RELEASE" -> "RELEASES"Robert P. J. Day2025-10-291-2/+2
| | | | | | | | | | In addition, some minor grammatical tweaking. (From yocto-docs rev: 9e9bd1bec2d1ef96ff416bbf94e3821056436073) Signed-off-by: Robert P. J. Day <robday@acresecurity.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.3.rst: new wic extra_partition pluginPierre-Loup GOSSE2025-10-291-0/+3
| | | | | | | | | | Added by commit 3892912bd7e0 ("wic: extra partition plugin") in OE-Core. (From yocto-docs rev: 6a9b26ed0316156975c7ef9209e73ae9d8f7ac03) Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document IMAGE_EXTRA_PARTITION_FILESPierre-Loup GOSSE2025-10-291-0/+64
| | | | | | | | | | | | Added by commit 3892912bd7e0 ("wic: extra partition plugin") in OE-Core. [AG: formatting tweaks] (From yocto-docs rev: 3d2aaec8218a7cad5653face152e9cd45257aefe) Signed-off-by: Pierre-Loup GOSSE <pierre-loup.gosse@smile.fr> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* variables.rst: fix LAYERDEPENDS descriptionJoão Marcos Costa2025-10-291-1/+1
| | | | | | | | | | | This variable does not apply to the scope of a single recipe, but rather to the scope of the entire layer. (From yocto-docs rev: eec26e11adb6e3a9c4f53f825b9a1730c9ddee12) Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual, test-manual: Update autobuilder output linksPaul Barker2025-10-293-3/+3
| | | | | | | | | | | The current autobuilder cluster is at valkyrie.yocto.io, published files on autobuilder.yocto.io will be missing or out-of-date. (From yocto-docs rev: 9ed06c070e309b52f1dbf8877867dcede79f4cb6) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: uboot-config: improve documentationAntonin Godard2025-10-291-6/+52
| | | | | | | | | | | Improve the documentation of the uboot-config class. It was not explaining any of its entry in UBOOT_CONFIG. Mention that using UBOOT_CONFIG and UBOOT_MACHINE at the same time is not possible. (From yocto-docs rev: 3bbd85798f4c9a8b7f930e9f156cf6e970593da0) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: fix a typo in UNPACKDIR descriptionAntonin Godard2025-10-291-1/+1
| | | | | | | (From yocto-docs rev: abcb3b7aa449e2cdab9bda1a96b5c63c4e376759) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides: add release notes for 5.2.4Lee Chee Yang2025-10-292-1/+321
| | | | | | | | (From yocto-docs rev: 7c9fd5339549b033812957d636752a674fef5cdc) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: extend the uninative class documentationAntonin Godard2025-10-291-16/+45
| | | | | | | | | | | | Extend the documentation of the uninative class based on [1]. [1]: https://lore.kernel.org/r/061e6150ce177221f7b6ee8754b03a20347a92c3.camel@linuxfoundation.org Co-developed-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From yocto-docs rev: 68996f0f3bf882714e8d96a0aa7b2492fe16d0c3) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document UNINATIVE_URL/CHECKSUMAntonin Godard2025-10-291-0/+16
| | | | | | | | | Document the UNINATIVE_URL and UNINATIVE_CHECKSUM variables. (From yocto-docs rev: 974fe4e1c5db65b462a382e089e016326e7b3f26) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Do not suppress stringop-overflow warning on build hostsRichard Purdie2025-10-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | stringop-overflow is a gcc specific option and when we try to use non-gcc compiler as host compiler e.g. clang, this causes several configure tests to fail because clang reports this as an option it does not understand and bails out error: unknown warning option '-Werror=stringop-overflow'; did you mean '-Werror=shift-overflow'? [-Werror,-Wunknown-warning-option] One of the failing tests is the check for PIC support in compiler and results in errors during compilation like /usr/bin/ld: libelf_pic.a(elf_error.os): relocation R_X86_64_TPOFF32 against `global_error' can not be used when making a shared object; recompile with -fPIC and elfutils-native failing to build with clang as host compiler This patch was added to support version of fedora in 2022 and the error has since been addressed in glibc [1] This is effectively reverting bb76fe2baf00b0874d221445c9fba4481740024f [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29141 (From OE-Core rev: 2c134301b55892ecf3c0ae9fa4912bc827579ece) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconfig: Fix bundled glib build with clangKhem Raj2025-10-272-0/+158
| | | | | | | | | | | This snapshot needs some backports from upstreamed adapted to it this patch is also submitted to pkgconfig mailing lists already (From OE-Core rev: 1a641970a8980479799ea6f440d4bf2239f88304) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-perl/run-ptest: set exit codeGyorgy Sarvari2025-10-271-0/+4
| | | | | | | | | | | | | | Set exit code on the run-ptest script: though the logparser looks for PASS/FAIL state, it can be still useful when running the tests manually - when there is a lot of output, it is easier to see the summary at the end if the test has actually passed or failed without scrolling back. (From OE-Core rev: 645aeb43ef7b90c3ece351deb0df3a56713f1abb) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to v2.14.2Bruce Ashfield2025-10-271-1/+1
| | | | | | | | | | | | | | | | This fixed the build against kernels 6.17+ Bumping lttng-modules to version v2.14.2, which comprises the following commits: 6826c7f8 Version 2.14.2 d0230a56 Fix: Add wrapper for `get_pfnblock_migatetype` 65ea32fb Fix: Protect syscall probes with preemption disable (From OE-Core rev: 66cdb002ea6bf3317bfc51100de5ed99f4b2d555) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool/ide_sdk: Fix help message syntaxKhem Raj2025-10-271-1/+1
| | | | | | | | (From OE-Core rev: 161cc3742e5a787beabfa6748547d93037185725) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/bblayers: Add a test to validate bitbake-setup registry schemaYoann Congal2025-10-271-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | This test validates bitbake/default-registry/configurations/*.conf.json against bitbake-setup.schema.json: INFO - test_validate_bitbake_setup_default_registry (bblayers.BitbakeLayers.test_validate_bitbake_setup_default_registry) DEBUG - Validating .../poky/bitbake/bin/../default-registry/configurations/oe-nodistro.conf.json DEBUG - Validating .../poky/bitbake/bin/../default-registry/configurations/poky-master.conf.json INFO - ... ok INFO - test_validate_examplelayersjson (bblayers.BitbakeLayers.test_validate_examplelayersjson) INFO - ... ok INFO - ---------------------------------------------------------------------- INFO - Ran 2 tests in 110.469s INFO - OK INFO - RESULTS: INFO - RESULTS - bblayers.BitbakeLayers.test_validate_bitbake_setup_default_registry: PASSED (0.92s) INFO - RESULTS - bblayers.BitbakeLayers.test_validate_examplelayersjson: PASSED (0.19s) INFO - SUMMARY: INFO - oe-selftest () - Ran 2 tests in 110.469s INFO - oe-selftest - OK - All required tests passed (successes=2, skipped=0, failures=0, errors=0) (From OE-Core rev: 86978295c228640e2c33076d1f51db9f2fe7063b) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/bblayers: Refactor JSON schema validationYoann Congal2025-10-271-7/+22
| | | | | | | | | | | | | | * Extract a function "validate_json" * Read bitbake variables in setUpClass to avoid makeing repeated calls to bitbake * Allow to specify the schema relative to $COREBASE/meta/files/ * Specify the Base URI to allow schema to reference each other (From OE-Core rev: b10b4d5b6376fd828c1cb843ea2e24da298657b6) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/files: Add a jsonschema for bitbake-setup configuration filesYoann Congal2025-10-271-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This schema is a bit loose and should validate any configuration files working with bitbake-setup but, also, some broken ones: * If present, a "bb-layer" can be an empty array. * bb-setup need at least one of "bb-layers" or "oe-template", that is not enforced in the current schema. * bb-setup accepts "configurations = []" but it results in a impossible choice in interactive mode. This is rejected by the schema. * In each configuration, "name" and "description" are optional but the flatten configuration must have them. This is not enforced by the schema. To test a configuration files against this schema: (for exemple to validate bitbake default registry) $ pip install check-jsonschema $ check-jsonschema -v --schemafile meta/files/bitbake-setup.schema.json bitbake/default-registry/configurations/* ok -- validation done The following files were checked: bitbake/default-registry/configurations/oe-nodistro.conf.json bitbake/default-registry/configurations/poky-master.conf.json (From OE-Core rev: 15107ba12ff35b27c2c0ae5a9dcc9c1418f55b13) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* improve_kernel_cve_report: add option to read debugsources.zstdDaniel Turull2025-10-271-0/+27
| | | | | | | | | | | | | | | Adding option to be able to import debugsources.zstd directly. The linux-yocto-debugsources.zstd is generated in every build and does not require any additional configuration. In contrast, SPDX_INCLUDE_COMPILED_SOURCES needs to be explicitly added and increases build time. (From OE-Core rev: c84a8958f30bbb982656ddcbe7476f6f81e1a6fb) Signed-off-by: Daniel Turull <daniel.turull@ericsson.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: upgrade 3.8.1 -> 3.8.2Peter Marko2025-10-271-1/+1
| | | | | | | | | | | | | | | https://github.com/libarchive/libarchive/releases/tag/v3.8.2 Libarchive 3.8.2 is a bugfix and security release. Security fixes: * 7zip: Fix out of boundary access (#2668) * tar reader: fix checking the result of the strftime (#2719, CVE-2025-25724) (From OE-Core rev: d858f87bc9baf4a01f977861c5521f2d5ffeb5fd) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: add ptest supportGyorgy Sarvari2025-10-273-1/+15
| | | | | | | | | | Execution takes around a second. (From OE-Core rev: bd233792a0e57444acc88bee907b7a98598e7112) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm/clang: Upgrade to 21.1.4 releaseDeepesh Varatharajan2025-10-273-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following bugfixes on top of 21.1.3 222fc11f2b8f Bump version to 21.1.4 480a90482e5b release/21.x: [clang-format] Fix a crash on BAS_BlockIndent (#164047) 3333dd88a493 Update clang/lib/Format/TokenAnnotator.cpp 54cdd973782e [clang-format] Annotate ::operator and Foo::operator correctly (#164048) ceeb93096c79 [libclang/python] Return None instead of null cursors from Token.cursor (#163183) 7e153f5372ed [clang-format] Fix an assertion failure on comment-only config files (#163111) faca424bc5f7 [clang-format] Correctly handle backward compatibility of C headers (#159908) c5a3aa8934b0 [libc++] Properly implement array cookies in the ARM ABI (#160182) 0d819a9104b2 [libunwind] Fix aarch64 SEH unwinding with a debugger attached (#162867) 464d75ad5f26 [MachinePipeliner] Add test missed in #154940 (NFC) (#163350) ffa6b0c365ec [MachinePipeliner] Limit the number of stores in BB (#154940) 570c4c944338 [clang] Fix catching pointers by reference on mingw targets (#162546) c6af6be3cd1c [libc++][docs] Add missing entry for P3379R0 to `21.rst` a2e93dce5f2b [Hexagon][llvm-objdump] Start a fresh packet at symbol boundaries. (#163466) dfdee9a929aa [clang][modules] Derive mtime from PCM timestamps, not PCM files (#162965) bd9bc536b4ac [LLD] [COFF] Fix aarch64 delayimport of sret arguments (#163096) 7b785dcb70f6 [LLD][COFF] Fix tailMergeARM64 delayload thunk 128 MB range limitation (#161844) a847f1832857 [Hexagon] Support lowering of setuo & seto for vector types in Hexagon (#158740) e14b5e82244e [clang-format] Fix a bug in wrapping { after else (#161048) b54051ac74cb [clang-format] Correctly annotate RequiresExpressionLBrace (#155773) c9fbd571b52c dfsan: Fix test with gcc 15. 68f118f265c9 Switch dtls_test.c from XFAIL to UNSUPPORTED on aarch64. a86b1e397e90 compiler-rt: Make the tests pass on AArch64 and with page size != 4096. c03b58bb091e [clangd] Fix code action kind for readability-identifier-naming fixes (#162808) caef7619d5fd [clang-format] Fix a bug in OneLineFormatOffRegex (#162961) 5386abc82ab8 [libc++][ranges] Fix `ranges::join_view` segmented iterator trait (#158347) 18593ab316f6 workflows/release-binaries: Run tests on the same runner as the build (#162421) 13bee3a798b1 [Mips] Fix clang crashes when assembling invalid MIPS beql instructions with --arch=mips (#156413) 0d1b9249d189 [CI] Add dyung and c-rhodes to the Release Asset List (#162478) c000f3226bdf [Mips] Fixed libunwind::Registers_mips_o32::jumpto to allow for load delay (#152942) 276050887539 [LLDB][ProcessWindows] Set exit status on instance rather than going through all targets (#159308) (From OE-Core rev: 343b2e113322859c6c3021215acc498a94b69a0b) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool: un-/deploy-target: put deploylist into destdirJohannes Schneider2025-10-271-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | When deploying on devices with a RO root-filesystem, devtool would fail on writing to the hard-coded "deploylist_path = '/.devtool'" Since devtool already supports deploying to a different root-prefix with: hostname[:destdir], we can make use of this guaranteed RW location to place the deployment-list there. Add the destdir parameter to the _prepare_remote_script function, to construct the deploylist_path from it. For the 'undeploy' the same host:destdir splitting logic is used as in 'deploy'. Now it is possible to modify and build a recipe 'foo-bar' with devtool, and have its ./image content deployed through: $build> devtool deploy foo-bar target:/opt/development-overlay Or removed again with: $build> devtool undeploy foo-bar target:/opt/development-overlay (From OE-Core rev: 216a4c4a4ee58222127c830ac56126bdbb95308d) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa: runtime: weston: Remove tear down methodMathieu Dubois-Briand2025-10-271-4/+5
| | | | | | | | | | | | | | Tear down method is executed even when the tests are disabled. This lead to SSH being used to run commands on the target, and as it might fail when no SSH server is present, we had to use ignore_ssh_fails=True here. Instead, remove log file just before it is created: it will remain on the target after the test is run, but this should be acceptable. (From OE-Core rev: 8b119b1a0fa618c03fbee1bcc755785fedd2d923) Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa: runtime: logrotate: Remove setup and tear down methodsMathieu Dubois-Briand2025-10-271-11/+8
| | | | | | | | | | | | | | | | | | Setup and tear down methods are executed even when the tests are disabled. This lead to SSH being used to run commands on the target, and as it might fail when no SSH server is present, we had to use ignore_ssh_fails=True here. Instead, run cleanup tasks in tests themselves and remove the tear down method. Also, the wtmp configuration file is not modified since the test was modified a few years ago: there is no need to backup and restore it. (From OE-Core rev: c90f79ae221573b2d5100f2d25b12f77e33113d7) Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd.bbclass: support template files with dotsJason M. Bills2025-10-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the SYSTEMD_SERVICE variable contains a template instance that has dots in the name such as "xyz.openbmc_project.my@instance.service", the regex splits on all the dots resulting in the following python exception: Exception: ValueError: too many values to unpack (expected 3) To continue to support service files with dots in the name, this changes to first split only on the '@' to isolate the name, then split the second half on the last dot to get the remaining two parameters. Splitting on the last dot allows dots in the instance name, as well. Confirmed when building that the three parameters for template instances without dots came out the same and that template instances with dots include the full name with dots in the first parameter. Confirmed when using an instance name with dots that the full instance name came out correctly with dots. CC: Ross Burton <Ross.Burton@arm.com> (From OE-Core rev: 09a37ecf0aeff674e49d7bddd5421011a885da2e) Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20251011 -> 20251021Dmitry Baryshkov2025-10-271-2/+7
| | | | | | | | | | | | | | Upgrade the firmware package, add new package for Intel Sensor Hub on Pather Lake platforms. License-Update: new and updated firmware (From OE-Core rev: d7bb55ef931f1c36fd3adc4989e8c7324bd08771) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-spdx-3.0: add SPDX_LICENSES to SPDX3_DEP_FILESJose Quaresma2025-10-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | If we have changes on SPDX_LICENSES content we ended up building invalid sstate-cache archives. The default value for the SPDX_LICENSES is the file meta/files/spdx-licenses.json but this file don't use the bitbake fetcher and because of this their checksum is not validated. So we need to add this file to the build dependency chain of the SPDX. For example, currently we have bump from 3.24.0 to 3.27.0 on master-next for the file meta/files/spdx-licenses.json. Since the file content is not taken into account, we end up creating invalid sstate-cache artifacts on the autobuilder on master-next builds. This created sstate-cache artifacts will also be available to master branch users that are using the upstream sstate-cache mirror. If someone is using the public mirror but still following the master branch they will encounter something like the following error which this change aims to resolve. | ERROR: initramfs-rootfs-image-1.0-r0 do_create_image_sbom_spdx: http://spdxdocs.org/openembedded-alias/by-doc-hash/57301e8063a8bf25308226271627db2b78675cda9f648c5c6c14a2b9c18f48dc/zlib/UNIHASH/license/3_27_0/Zlib not found in /work/build/tmp/deploy/spdx/3.0.1/armv8a/by-spdxid-hash/57/57301e8063a8bf25308226271627db2b78675cda9f648c5c6c14a2b9c18f48dc.spdx.json (From OE-Core rev: 10669f6f615058293671fb16454601580b7b34e9) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spdx-3.0: replace SPDX3_LIB_DEP_FILES with SPDX3_DEP_FILESJose Quaresma2025-10-273-8/+8
| | | | | | | | | | | We can have more files types in the chain of dependencies and not just libs. (From OE-Core rev: f400ba75f2d7987abb177a43f94874a7fdc1ec0a) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Pin native compiler to gcc as wellKhem Raj2025-10-271-0/+1
| | | | | | | | | | | pseudo does not build with clang (From OE-Core rev: acc12802ca9c3d24d6aac2977849110a04aa8888) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>