summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ref-manual/variables.rst: document the GRUB_MKIMAGE_OPTS variableAntonin Godard2025-03-281-0/+5
| | | | | | | | | | This new Grub variable controls the options passed to the grub-mkimage command in the Grub recipe. (From yocto-docs rev: 2e5a3c3d5199cad6fb90e0218cdd4a1779743644) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.yaml.in: bump minimum required Python version to 3.9Antonin Godard2025-03-281-1/+1
| | | | | | | | | | After commit 67566c7410e1 ("bitbake: lib/bb: Bump minimum python version requirement to 3.9") on Poky. (From yocto-docs rev: 25b5184fe231591b6eb4d6a38563c1370dabebac) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/system-requirements.rst: update list of supported distributionsAntonin Godard2025-03-281-4/+6
| | | | | | | | | | Before the 5.2 release, update the list of supported distributions to match the SANITY_TESTED_DISTROS variable in poky.conf. (From yocto-docs rev: 9dac392c0d834c0089c514d7ad85beeb04d1b698) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* requirements: move Ubuntu-20.04 into unsupported category due to pythonPaul Gortmaker2025-03-281-3/+5
| | | | | | | | | | | | | | | | | | | | | | | Bitbake commit 0d2e682d00df ("bitbake: lib/bb: Bump minimum python version requirement to 3.9" -- poky commit 67566c7410e1) means that Ubuntu 20.04 is no longer supported out-of-the-box as detailed further in the respective commit log. While it is true that it can still be used with buildtools, that can also be said for nearly every other unsupported distro out there, including Ubuntu 18.04 that we listed as unsupported some years ago. Hence continuing to list it as supported with the new python requirement in place does not make sense. So we move it alongside of the 18.04 entry, into the "possibly tested, but you get what you get" category. And add an explicit mention of the buildtools, so people have a thread to pull on. (From yocto-docs rev: b1c09003dc304b1e65044f343fb341aaed58e6f3) Signed-off-by: Paul Gortmaker <paulg@kernel.org> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/migration-5.2.rst: final update for 5.2Antonin Godard2025-03-281-4/+9
| | | | | | | | | | | - Add new/removed supported distributions. - Set the oldest supported kernel. - Remove empty sections. (From yocto-docs rev: c1f2b4e352f636594769f55f15fa69d99d69505a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.2.rst: add an entry for addfragmentsAntonin Godard2025-03-281-0/+6
| | | | | | | | | | This should be clearly mentioned in the BitBake section as it is an valuable addition to 5.2. (From yocto-docs rev: 62e0fd7ec9581918935b44427326ae74991bd72a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.2.rst: add security fixesAntonin Godard2025-03-281-0/+67
| | | | | | | | | | Add security fixes by going through the log between yocto-5.1 and walnascar branch tip on Poky. (From yocto-docs rev: 3c895f4188b8c7aaa87198a8bf85776f545ee6a9) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.2.rst: add LICENSE recipe changesAntonin Godard2025-03-281-1/+57
| | | | | | | | | | | Document LICENSE changes between the 5.1 and 5.2 release. Extracted for commits message containing the "License-Update:" field in Poky, between tag yocto-5.1 and walnascar. (From yocto-docs rev: 725135799c4d3ba117376df230be4a1603779121) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.2.rst: add recipe upgradesAntonin Godard2025-03-281-0/+1170
| | | | | | | | | Extracted from layers.openembedded.org branch comparison tool. (From yocto-docs rev: 69f084adc7ef4224346ec466e9ccd1255fb738bf) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.2.rst: add the list of contributorsAntonin Godard2025-03-281-0/+193
| | | | | | | | | | | | | Obtained by running: git log --format=%an yocto-5.1..walnascar | sort | uniq On the Poky repository. (From yocto-docs rev: 8c32f84e75ba4fce9428df7ce68cc2193f26cff7) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common classAntonin Godard2025-03-282-2/+2
| | | | | | | | | | | Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no difference when using the spdx-3.0 class. Move these two in the spdx-2.0 class since they are only used there. (From OE-Core rev: 8ce06538c9cde0f09909a5a2e61ec10b0d35df49) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/devtool: sort the recipes that need to be upgraded togetherRoss Burton2025-03-281-1/+1
| | | | | | | | | | Sort the list of recipes for a more visually pleasing display, and to make it easier to compare output from multiple runs. (From OE-Core rev: 561e1996d655147199dc1601b5cba0512042de6b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-db: Do not delete chatset.aliasKhem Raj2025-03-281-4/+0
| | | | | | | | | charset.alias is not generated anymore (From OE-Core rev: e44fc07386a8e9e84725f4e5bded1c299b3e0896) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: Backport patch to fix spdlog ABI issueKhem Raj2025-03-282-1/+37
| | | | | | | (From OE-Core rev: 47f5808d86c4721a16c8d7ae3d0d2b2bfe4d1247) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: fix cksum on muslRoss Burton2025-03-282-0/+48
| | | | | | | | | | musl has subtly different type definitions to glibc, which broke cksum under musl. Backport a patch from upstream to fix this. (From OE-Core rev: b177a9d5676cf0cfbaca3c589c513d7d89a2035c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: add missing ptest dependenciesRoss Burton2025-03-281-1/+4
| | | | | | | | | | One tests needs xz, and the acl and attr tests if enabled need the corresponding tools. (From OE-Core rev: 9caa68b9af19fea283ecdd55c4a8afd371fe388a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: Upgrade 2.7.0 -> 2.7.1Richard Purdie2025-03-281-2/+2
| | | | | | | | | | Includes a fix for a regression from the fix for CVE-2024-8176. License-Update: Copyright years change only (From OE-Core rev: 10b8ac71d5f3cfe4a36a5ad260ac4ec77459268f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/release-notes-5.2: update for upcoming 5.2 releaseAntonin Godard2025-03-271-36/+318
| | | | | | | | | | Changes since 87d7341465f8 ("python3-iniparse: remove recipe") up to 9cd6b3ad8b9b ("cronie: Resolve build failure with GCC15") in Poky. (From yocto-docs rev: ea1636013722c12e72ca115240c8ce533e05ece2) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/migration-5.2: update for upcoming 5.2 releaseAntonin Godard2025-03-271-0/+46
| | | | | | | | | | Changes since 87d7341465f8 ("python3-iniparse: remove recipe") up to 9cd6b3ad8b9b ("cronie: Resolve build failure with GCC15") in Poky. (From yocto-docs rev: c20001db2544c7d1c3cd9a34f629f452a2f3029d) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: add a link for BB_USE_HOME_NPMRCAntonin Godard2025-03-271-0/+3
| | | | | | | | | Documented in the BitBake manual. (From yocto-docs rev: f58b8c80b7665ab5e67398a4ce4bfaa035114278) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* migration-guides/migration-5.2.rst: add information about autotools changesAntonin Godard2025-03-271-0/+11
| | | | | | | | | | | | | Original patch by Ross Burton: https://lists.yoctoproject.org/g/docs/message/6466 Moved to the migration manual as it is potentially a breaking change. Co-developed-by: Ross Burton <ross.burton@arm.com> (From yocto-docs rev: 9b795ad8fdeadf17f08e03eedc93bc922a2d5736) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document autotools class related variablesAntonin Godard2025-03-271-0/+17
| | | | | | | | | Document the AUTOTOOLS_SCRIPT_PATH and the CONFIGURE_SCRIPT variables. (From yocto-docs rev: b3964a89fd6a5f19a8f45f9b46e8eaa8b8bff38e) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the NVD_DB_VERSION variableAntonin Godard2025-03-271-0/+12
| | | | | | | | | | This variable allows choosing the CVE feed when using the cve-check class. (From yocto-docs rev: 639ea86c5034d7706faf14a2ff52b603c3ccd905) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the MESON_INSTALL_TAGSAntonin Godard2025-03-271-0/+4
| | | | | | | | | | This variable can be used to add install tags to the 'meson install' command. (From yocto-docs rev: 72b502cfb67345cda17bc2ae7af222b7cecb9a0c) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/features.rst: drop ld-is-goldAntonin Godard2025-03-271-3/+0
| | | | | | | | | | Dropped in OE-Core after commit a4addb9ab630 ("recipes: Drop ld-is-gold support"). (From yocto-docs rev: 95645cb765b20c3215defe165e7d886da98c1787) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the MOUNT_GROUP variableAntonin Godard2025-03-271-0/+5
| | | | | | | (From yocto-docs rev: 959735468264bac1bdd7b274fc1477635817c208) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: document the WATCHDOG_RUNTIME_SEC variableAntonin Godard2025-03-271-0/+5
| | | | | | | | | | This variable controls the RuntimeWatchdogSec option in /etc/systemd/system.conf. (From yocto-docs rev: 6d6b638ee94c3ba36a02ef2289bf246392d8c854) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/variables.rst: WATCHDOG_TIMEOUT: fix recipe nameAntonin Godard2025-03-271-2/+2
| | | | | | | | | | This variable affects the watchdog-config recipe, not the watchdog recipe. (From yocto-docs rev: d3350c38910c47c76ed17f24579120013589ca1f) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual/classes.rst: document the ptest-python-pytest class and variablesAntonin Godard2025-03-272-0/+25
| | | | | | | | | | Add documentation for the ptest-python-pytest class, and the PTEST_PYTEST_DIR variable which can be overriden. (From yocto-docs rev: 1abee62c2b9f32dfa42782893940f211db930b4c) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mc: fix buildpath QA regarding unzipChen Qi2025-03-271-0/+1
| | | | | | | | | | | When unzip-native is somehow introduced indirectly into the dependency chain, then we get buildpath QA issue. Pass a similar value as the ZIP to fix this issue. (From OE-Core rev: 8d4987cf652c9844d93000fb012dc09eebcf9fcc) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Oe-selftest changes for rust v1.84.1Deepesh Varatharajan2025-03-273-0/+32
| | | | | | | | | | | | | | Ignore the failing unit test. The tidy check failed due to a typo, which was already reported and fixed in the Rust upstream. Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/8e7734978245522cbbd14e53e08e888faf031ded] (From OE-Core rev: 94a244a14075ead1b3b5e966c0fe713cd448cad8) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Fix build failure when multilibs are enabledDeepesh Varatharajan2025-03-272-0/+32
| | | | | | | | | | | | | | | When multilibs are enabled, building rust is failing because of the following commit https://github.com/rust-lang/rust/commit/68034f837a39387e49fc7d7c5b088f5372a1127e with stage1/rustc cannot able to find dependent *.so files. The issue is been fixed inrust-master with the following commit by passing the necessary library paths before executing stage1/rustc Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/139d6ba054a1a4cc5fe64981ad46fd5547bd4916] (From OE-Core rev: ab29b970ba7e08eabca92018d103af5f249ed2c5) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.83.0->1.84.1Deepesh Varatharajan2025-03-2714-291/+298
| | | | | | | | | | | | | | | | | | | | | | | | | Rust stable version updated to 1.84.1. https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html Renamed and modified the below patch to adapt the new version. rv32-cargo-rustix-0.38.37-fix.patch->rv32-cargo-rustix-0.38.38-fix.patch Modified the below patches to adapt the new version. repro-issue-fix-with-cc-crate-hashmap.patch revert-link-std-statically-in-rustc_driver-feature.patch Dropped the below patches : 0001-NFC-fix-build-failure-100993.patch https://github.com/llvm/llvm-project/commit/6ee49080e4bb43efe7ede10bed15935853bbd434 revert-Zdual-proc-macros-additional-check.patch Issue is fixed in rust-master and the fix is backported in the subsequent patch of the series. (From OE-Core rev: 4265f668de8c6708cb3a003ad655559031724149) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Fix build break because of "download-rustc" and "llvm-tools"Deepesh Varatharajan2025-03-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | >From Rust 1.84, the download-rustc and llvm-tools options were set to True (previously they were False) https://github.com/rust-lang/rust/commit/cce6f03754f096f8a2bdfb357e3739b855e29366 (download-rustc) https://github.com/rust-lang/rust/commit/38f0c099b2e684ea689633eb424d8737a1063a5e (llvm-tools) For tarball sources, the download-rustc option should be False, so it has been reverted back to False. Setting llvm-tools to True caused issues with finding llvm-objcopy, so this has been changed back to False. Upstream-Status: https://github.com/rust-lang/rust/pull/134240/ (From OE-Core rev: 2eb952d839e72c24a4180a57631c77910a0da980) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Fix bloat issue in recent rust updatesDeepesh Varatharajan2025-03-271-0/+11
| | | | | | | | | | | | | | | | | Remove the "src/gcc" directory from the Rust source code to reduce the filesystem build space. In Rust 1.83 (and 1.84), a full GCC-14 tree was included, which caused the tar.xz archive to increase by 128 MB and the unpacked sources to grow by 1.3 GB. This was an upstream error that has been resolved in Rust 1.85. After updating to Rust 1.85 we can revert this removal of "src/gcc" (From OE-Core rev: 26a345adc8e050657bfa0b51ea92a3d89e698d9a) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/fetch: add a test for download paths without a proper filenameRoss Burton2025-03-272-0/+3534
| | | | | | | | | | | | | | | | | For example the miniupnpd recipe has a SRC_URI like this: http://miniupnp.tuxfamily.org/files/download.php?file=${BP}.tar.gz In this case the path is /files/download.php, which isn't useful when the latest_upstream logic bails early if there is no version in the path. The logic now also checks in the downloadfilename, so add a test that this works as expected. (Bitbake rev: fffbf5d5e1c8556cddf0794e0b303bb0106747a0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/fetch: support setting PV in the wget fetcherRoss Burton2025-03-271-1/+2
| | | | | | | | | Some code paths in latest_versionstring() need PV to be set correctly. (Bitbake rev: 0a9f90ff658e09feda63b398ec35715a65ff6193) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/fetch: use a namedtuple for the wget test dataRoss Burton2025-03-271-22/+24
| | | | | | | | | | Use a named tuple so the test can access named members instead of just accessing the data via index, which is harder to understand. (Bitbake rev: 4b15652c84b06f0506c757e2647875a9b1cc7bfe) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bb/tests: use subtests when looping in a test caseRoss Burton2025-03-271-32/+35
| | | | | | | | | | Marking the test iterations as subtests means that when one fails, it can identify clearly which iteration has failed. (Bitbake rev: 52c55e681332d7cdbe06f3c9d9c8d77cb0cb93f6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/wget: use long arguments for clarityRoss Burton2025-03-271-5/+5
| | | | | | | | | | | It's best practise to use long-form arguments in scripts where the conciseness of short arguments is less useful than in an interactive terminal. (Bitbake rev: 54039bc9d169871af6d36578df4c21bff296f6de) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/wget: don't conditionalise --continueRoss Burton2025-03-271-6/+1
| | | | | | | | | | | | If the target file exists, we pass --continue so that wget will try to resume the download instead of starting from the beginning. However if the file doesn't exist --continue has no effect, so there's no need to conditionalise the use of the argument. (Bitbake rev: a5ee50d4d2b2e6c00abe1551382afd9799345dbf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/wget: consider downloadfilename when checking for upstreamRoss Burton2025-03-271-1/+5
| | | | | | | | | | | | | | | | | | | | | latest_versionstring() currently looks at just the end of the URI when guessing what the filename to look for is, but this doesn't work if the URL filename is not simple. For example, miniupnpd has a SRC_URI of: http://miniupnp.tuxfamily.org/files/download.php?file=${BP}.tar.gz;downloadfilename=${BP}.tar.gz The filename component of this is "download.php", which causes the heuristics in latest_versionstring() to exit early. Instead, if the downloadfilename is set then use that, as it's often the actual filename that we're after. (Bitbake rev: 2d5f135e997d13fabda0ad266fd5c928ee33f487) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/gomod: Fix mirroring problemChristian Lindeberg2025-03-272-13/+31
| | | | | | | | | | | | Build the 'downloadfilename' parameter by replacing path separators in the module path like the git fetcher builds the mirror tar ball name. Copy the downloaded file in the fetcher's unpack method like the crate fetcher instead of calling the base fetcher's unpack method. (Bitbake rev: 7762cea087597019460d66b04268757bd46befdf) Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: Fix build with GCC-15Khem Raj2025-03-273-1/+59
| | | | | | | | | | Include cstdint for uint32_t definition Update to tip if trunk as it helps with GCC-15 fixes (From OE-Core rev: 1db86a3381c94951de44bb2b6ec840fd99a7d4be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: build occasional build failures in test suite compileRoss Burton2025-03-272-2/+53
| | | | | | | | | | | | | | | GNU Make 4.4 has added --shuffle, which randomly orders build jobs and is great at exposing missing dependencies. Using this the known problem with the flex test suite build was found and resolved, so remove the workaround of doing a non-parallel build and apply a patch. Also remove redundant Make variables that shouldn't be needed to build the test suite. (From OE-Core rev: 1bc37e10690dc906da41b9592bc8776bddf4b90b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: remove obsolete disable-tests.patchRoss Burton2025-03-272-20/+0
| | | | | | | | | | | | | | | | | | | | | | We added this because automake was causing things to be built, but now this doesn't seem to be the case: all: all-am all-am: Makefile $(SCRIPTS) SCRIPTS = $(dist_noinst_SCRIPTS) dist_noinst_SCRIPTS = tableopts.sh tableopts.sh is a source file that is both in the tarballs and git. Thus, remove the patch. (From OE-Core rev: 13e8a2831abcb9edd352fcdc6d1f3be0670b1242) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* overlayfs-etc: Unmount /sys and /proc before initPavel Zhukov2025-03-271-0/+3
| | | | | | | | | | | | | | | | /sys filesystem mounted by the preinit script causes shadowing of /sys/firmware/efi/ by double /sys mounting on systemd enabled systems [1]. As the result EFI tooling is broken [1] sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,relatime) (From OE-Core rev: 94b3f86bac16ac3be468e23e1f6aad69cdf502d3) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: improve ptest packagingRoss Burton2025-03-276-137/+135
| | | | | | | | | | | | | | | | | | | | | | | | | As there's a small number of test binaries in acl, instead of installing large chunks of the build tree we can install just those and use a boilerplate test runner. Drop 0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch and replace with an explicit -DBASEDIR= flag passed at build time. Drop 0001-test-patch-out-failing-bits.patch and delete the tests that fail entirely as they won't work without a specific user/group setup. Backport a patch from upstream so that some tests don't use excessive amounts of memory. Backport a patch from upstream to cater for both glibc and musl's behaviour with interleaved stdout/stderr, fixing the tests on musl. Clean up dependencies now that we're not shipping the build system. (From OE-Core rev: 2d82d5ea612ae6d7ac177f2a2792b3e3fdac1c70) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-db: Add missing rdep for col utilityKhem Raj2025-03-271-0/+4
| | | | | | | | | | | | | | | | | man utility calls col utility internally when formatting is asked for therefore it expects col to be in rootfs otherwise silently errors with retcode 3 meaning 'file not found' in this case its due to col not being found, other distros eg. gets this via bsdextrautils dependency Add it via packageconfig and keep is disabled by default since its deprecated and col does not exist on musl libssh2 ptest mansyntax.sh fails due to this error, which now works (From OE-Core rev: bf5c8801b471fa13df9d55932375bfaedb623bd0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: improve ptest packagingRoss Burton2025-03-272-36/+38
| | | | | | | | | | | | | | As there's just a few test binaries in attr, instead of installing large chunks of the build tree we can install just those and use a boilerplate test runner. Also add a comment explaining why we have to sed the test suite if musl is used. (From OE-Core rev: baa1cbab47326656f762562303ddf4b0d9cc2b5c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>