summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-12-21backport determinsim patchross/rustRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-12-21rust: Upgrade 1.71.1 -> 1.74.1Alex Kiernan
Drop getrandom-open64.patch (merged upstream), replace musl fixes with backports from upstream. Add sysconfdir to config.toml to fix: | thread 'main' panicked at install.rs:92:9: | User doesn't have write access on `install.sysconfdir` path in `config.toml`. https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
2023-12-21qemurunner: more cleanups for output blockingAlex Bennée
If we are only tracking stdout and are not using self.readsock we end up throwing an exception blocking further action from the thread. Fix this by checking self.readsock is not None first. While we are at it split even into fd, event to make things clearer and handle the fail path of stringify_event by echoing the hex value of the unknown flag. (From OE-Core rev: 5e58737c66090fe009ec49296f3e7d687eb05766) Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Cc: Mikko Rapeli <mikko.rapeli@linaro.org> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21qemu: Ensure pip and the python venv aren't used for mesonRichard Purdie
Qemu wants to use a supported python version and a specific meson version to "help" users and uses pip and creates a venv to do this. This is a nightmare for us. Our versions stay up to date and should be supported so we don't really need/want this wrapping. Tweak things to disable it. There was breakage from the wrapper shown by: bitbake qemu-system-native <add DISTRO_FEATURES:remove = "opengl" to local.conf> bitbake qemu-system-native -c configure which would crash. The issue is the change in configuration removes pieces from the sysroot but pyc files remainm as do pieces of pip which causes problems. (From OE-Core rev: aceef7785e637a0223ecf288e2f367b6bee4a505) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21qemu: Clean up DEPENDSRichard Purdie
Move the common dependencies to qemu.inc for cleaner entries in the various recipes. Remove an unneeded inherit. (From OE-Core rev: 6e7c2ae575b8f04fd117cc56980bb25113f343a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21rust: rustdoc reproducibility issue fix - disable PGOSundeep KOKKONDA
The PGO (Profile-guided Optimization) collect data about the typical execution of a program and then use this data to inform optimizations such as inlining, machine-code layout, register allocation, etc. This optimization is by default disabled in rust sources but enabled in Yocto and causing the reproducibility issue in rustdoc binary. To fix the issue this optimization is set to it's default 'false'. More about the optimization: https://doc.rust-lang.org/rustc/profile-guided-optimization.html With the reproducibility issue fixed, we can enable the reproducibility tests again. (From OE-Core rev: 189c266378c8c4a918cb205b3888577c7ce76856) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21openssl: mark assembler sections as call targets for PAC/BTI support on aarch64Ross Burton
The assembler sections in OpenSSL were not marked as valid call targets, so branch protection could not be enabled for libcrypto.so. (From OE-Core rev: 4bf06bc5487da05e6b4a4895e5ca2da65cdc25d8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21avahi: backport CVE-2023-1981 & CVE's follow-up patchesVijay Anusuri
import patches from ubuntu to fix CVE-2023-1981 CVE-2023-38469-2 CVE-2023-38470-2 CVE-2023-38471-2 Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security Upstream commit https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f & https://github.com/lathiat/avahi/commit/c6cab87df290448a63323c8ca759baa516166237 & https://github.com/lathiat/avahi/commit/94cb6489114636940ac683515417990b55b5d66c & https://github.com/lathiat/avahi/commit/b675f70739f404342f7f78635d6e2dcd85a13460] Ref: https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/nanbield-nut&id=a9203c46cd64c3ec5e5b00e381bbac85733f85df (From OE-Core rev: 2b0d8a63a212897b33e85cc3694cd9a3d6e09ca8) Signed-off-by: Vijay Anusuri <vanusuri@mvista.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21libinput: Add packageconfig for testsJoshua Watt
Add packageconfig to control if tests are installed or not. Doing this allows the libcheck dependency to be optional. The packageconfig defaults to having tests enabled when PTEST_ENABLED == 1 to match the previous behavior (From OE-Core rev: d15b482a5858612c8c88c739b51de579945d7cb2) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21dtc: preserve version also from shallow git clonesPeter Marko
Since switch from Makefile to meson based build, the version is no longer hardcoded but queried from git tag. This works only if git history is available. When shallow tarballs are used, tag is not available. Example error for trusted-firmware-a from meta-arm: dtc version too old (039a994), you need at least version 1.4.4 Backport also patch to fix version in meson file. (From OE-Core rev: 319f5d8a32d1f4a71ac997ce4522249b08f84945) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21ptest-packagelists.inc: Add python3-license-expressionMingli Yu
# ./run-ptest [snip] PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key PASS: tests/test_license_expression.py::UtilTest::test_build_licensing PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle ============================================================================ Testsuite summary # TOTAL: 175 # PASS: 175 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 (From OE-Core rev: 5dc05c5bb5debc24864db03da51d03d53333e3e8) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3-license-expression: Fix the ptest failureMingli Yu
Fix the below ptest failure: self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle> def test_skeleton_codestyle(self): """ This test shouldn't run in proliferated repositories. """ setup_cfg = configparser.ConfigParser() setup_cfg.read("setup.cfg") > if setup_cfg["metadata"]["name"] != "skeleton": tests/test_skeleton_codestyle.py:22: self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata' def _getitem_(self, key): if key != self.default_section and not self.has_section(key): > raise KeyError(key) E KeyError: 'metadata' After the patch: # ./run-ptest [snip] PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key PASS: tests/test_license_expression.py::UtilTest::test_build_licensing PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle ============================================================================ Testsuite summary # TOTAL: 175 # PASS: 175 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 (From OE-Core rev: 6b06ad7a9f1dd5900483102f5723a6821f961dab) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Changed in v4: Add python3-license-expression to PTESTS_FAST Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21wic: use E2FSPROGS_FAKE_TIME and hash_seed to generate reproducible ext4 imagesvenkata pyla
E2FSPROGS_FAKE_TIME: sets fixed times for the inodes in the file system. hash_seed: creates reproducible directory indexes in the file system. Reference commit in e2fsprogs: e1f7100643a46456be107b33098f6034b0835e6d (From OE-Core rev: bb822ab75de0020572058090439b93cc56bbf7e0) Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21nfs-utils: Update Upstream-StatusRobert Yang
Update Upstream-Status for 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch. (From OE-Core rev: 7189d1ea5c066b9ffc52103160bb34945fd779d7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21mesa: upgrade 23.2.1 -> 23.3.1Lucas Stach
- build amd vulkan driver for x86 platforms - drop included patch [https://gitlab.freedesktop.org/mesa/mesa/-/blob/1fbdd37d4c1133ced5eb9812daa1fff04cbf5daa/meson.build#L1711] (From OE-Core rev: 9d862e82a3d36ae27dc9fc919da203d200a67650) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3-numpy: distutils is no longer requiredAlexander Kanavin
Please see: https://numpy.org/devdocs/reference/distutils_status_migration.html https://numpy.org/doc/stable/release/1.26.0-notes.html (From OE-Core rev: 6cbbeb75ed427d5f16d5a1d6f3f0c31e39db6d65) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3-pytest-runner: remove distutils dependencyAlexander Kanavin
I couldn't find any evidence of it actually being required at build or run time. (From OE-Core rev: a28cd31784592f7cd460320a5c2cf41a86829255) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21glib-2.0: replace distutils dependency with setuptoolsAlexander Kanavin
(From OE-Core rev: 6a4d86cfa3b838eaa861936adee7a07f2a6a03b3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3-pip: remove distutils depedencyAlexander Kanavin
Upstream has removed usage of distutils. (From OE-Core rev: a89e0aa3d0c850f3ad90f6d72a658c66d6109fca) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3-babel: replace distutils with setuptools, as supported by upstreamAlexander Kanavin
(From OE-Core rev: 35f947f107dadd93eace4ac239fa308960d0f4da) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3-setuptools-rust: remove distutils dependencyAlexander Kanavin
As allowed by https://github.com/PyO3/setuptools-rust/pull/336 (From OE-Core rev: ca452dd6b1b6799cf70dac93f7fac0746d8c43bc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21gpgme: disable python support (until upstream fixes 3.12 compatibility)Alexander Kanavin
The only consumer in oe-core was dnf, and latest dnf releases no longer use it. There are no consumers in meta-oe. gpgme's python support is generally a pain to support, and lags behind upstream python versions. It was enabled in commit fc6c81da79897c95a9c81960a1dee49517f2562a Author: Mark Hatle <mark.hatle@windriver.com> Date: Tue Mar 7 12:54:33 2017 -0600 gpgme: Fix issue building for the target which wasn't prompted by any consumer requiring python, but rather to correct build errors in absence of specific configuration passed in. (From OE-Core rev: 6d82ce8c16e724d5bba088b3a3d05c1690e47862) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21dnf: remove obsolete python3-gpg dependency (provided by gpgme)Alexander Kanavin
As of https://github.com/rpm-software-management/dnf/commit/8806b2ee99a322c7201239a1cf14d191c87e152a dnf is using librepo's crypto. (From OE-Core rev: 0f85f8af5edc7e2899a0212c56574a353f41bf6b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21libcap-ng-python: depend on setuptools to obtain distutils copyAlexander Kanavin
Upstream has made the needed fixes (not easy to backport), but hasn't released a new version with them. Distutils has been removed from the core python library in 3.12.0. (From OE-Core rev: 234a02419bce1f46deb202ce0a3bbe38835e0997) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21gobject-introspection: depend on setuptools to obtain distutils moduleAlexander Kanavin
g-i still uses distutils in various places, and upstream MRs and tickets aren't getting a lot of traction. As distutils is gone from the core library in python 3.12, rely on setuptools copy. (From OE-Core rev: 2872aa59d24505b1088d570453e4ec6c83974cc9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21weston: Include libgen.h for basenameKhem Raj
Fixes build with latest musl (From OE-Core rev: 1fe60f3fc751e1b0ee93cfbf6dfa5c5916a81ec4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21python3: re-enable profile guided optimisationRoss Burton
This was accidentally disabled in the 3.7.2 upgrade in 2019[1] where PGO was made target-only. Change the wrapper script generation so that it happens in all environments but class-native. [1] oe-core 02714c105426b0d687620913c1a7401b386428b6 (From OE-Core rev: 96a9964d6071dc614cec06a4f0712e257de2bc8b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21machine/arch-armv9: remove crc and sve tunes, they are mandatoryRoss Burton
As per the Arm ARM section A2.3.2, FEAT_CRC32 is mandatory in Armv8.1 onwards, so there's no need to have an explicit optional tune for it. SVE (which was a choice here) and SVE2 (which was not) are both optional with v9.0, but GCC's -march=armv9-a defaults to enabling both SVE and SVE2 on the grounds that there are no implementations of Armv9 that don't support SVE2. This means there's no point having an explicit sve feature as it's enabled out of the box. (From OE-Core rev: 28fabebf812cdf8e76eb508115a4b76944f1e729) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21qemu: Add packageconfig knob to enable pipewire supportKhem Raj
This gets into a quessing mode if not specified and it it probelamactic for native version since it maybe built on a machine having pipewire installed and used on another where pipewire is not installed ( minimal CI builder ) it ends up with runqemu - ERROR - Failed to run qemu: /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-helper-native/1.0/recipe-sysroot-native/usr/bin/qemu-system-x86_64: error while loading shared libraries: libpipewire-0.3.so.0: cannot open shared object file: No such file or directory (From OE-Core rev: 0d63cadd4523e60d4959284a81fbe47da88834fa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21qemu: Fix build with latest muslKhem Raj
musl dropped basename() from string.h, adjust for that (From OE-Core rev: 58f7eb2b5a2ae037294b631bf083729e78910c24) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21systemd: Fix build with latest muslKhem Raj
musl has removed basename from string.h [1] which leads to build failures now as declaration is gone and it should be coming from libgen.h [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 (From OE-Core rev: 868542315f8c914f96ee55713f7a3e0d0154c3ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21images: add core-image-initramfs-bootRoss Burton
Add a minimal initramfs image recipe that just contains enough initramfs to find the real root filesystem and pivot to it. BSPs can use MACHINE_EXTRA_RRECOMMENDS to pull in any kernel module packages that are required to bring up the hardware so that the rootfs can be found. (From OE-Core rev: 3e862cddf28e58957b7c6d9c983fdb40eb5442fb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21perl: 5.38.0 -> 5.38.2Lee Chee Yang
update include fix for CVE-2023-47100. (From OE-Core rev: de136e9e6fb35d166a3ef5086d1feddecd574f9d) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21perlcross: update to 1.5.2Lee Chee Yang
remove upstreamed 0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch (From OE-Core rev: e3b99c25eadc0e230ddb6a2a053c10912c5308ae) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-21gdb: Update to gdb 14.1 releaseKhem Raj
* Drop add-missing-ldflags.patch, its already applied to gdb 14 * Add dependency on mpfr for cross/cross-canadian/target recipe * Remove gcc-only complier restriction, clang can compile it just fine * Notable changes are here [1] [2] [1] https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=refs/heads/gdb-14-branch [2] https://www.sourceware.org/gdb/download/ANNOUNCEMENT (From OE-Core rev: 2a0f7255a740ffbfe5a7858ef01a3ba6cadca383) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20poky.conf: update SANITY_TESTED_DISTROS to match autobuilderMichael Opdenacker
>From the intersection of the list of allowed workers on https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py and the active workers on https://autobuilder.yoctoproject.org/typhoon/#/workers (From meta-yocto rev: 5859bb1be028d303ddc8729ff761bdde7f7dd5f1) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20bitbake: toastergui: verify that an existing layer path is givenMarta Rybczynska
Verify that an existing layer path was given when adding a new layer. Manually using the shell for globbing is unnecessary, use the glob function instead for cleaner code. (Bitbake rev: fe0881615896de844141393b21a121f7c3fa9d16) Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20oeqa/selftest/overlayfs: Fix whitespaceRichard Purdie
My previous fix missed out whitespace with the append, fix that. (From OE-Core rev: 393c4459851642b8b7e93ff303d6526cd5c97b22) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> # Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20bitbake: toaster/tests: Bug-fix test_functional_basic, delay driver actionsAlassane Yattara
The errors causing faileds on functional_basic are dû to the delay between actions, increase between driver actions. (Bitbake rev: e8f8f6203b63c46249673e80872fea40475f6875) Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20testimage: Drop target_dumper and most of monitor_dumperRichard Purdie
The target_dumper code is basically broken. It has been reading binary files over the text base serial communication and runs at every command failure which makes no sense. Each run might overwrite files from the previous run and the output appears corrupted due to confusion from the binary data. For now, remove the commands and the target dumper code as the command and execution point are problematic. Also remove the same pieces of the monitor code but leave the command list since in theory this can be moved to a more useful place in the code. (From OE-Core rev: a24d787987dccc95fdd95b7e85bf525a1c55b285) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20oeqa/selftest/overlayfs: Don't overwrite DISTRO_FEATURESRichard Purdie
Whilst debugging an autobuilder failure, I wondered why it was rebuilding qemu-system-native instead of reusing from sstate. The reason was it was overwriting DISTRO_FEATURES, in this case removing opengl which caused much to rebuild. The test doesn't need that so don't do it. (From OE-Core rev: fdcc011608fd9558a081d0ace3eaf7192d9fcaef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20qemurunner: Improve handling of serial port output blockingRichard Purdie
Similar to stdout in the previous commit, we need to ensure serial output if written is read and put somewhere, else qemu might block on writes to the serial port leading to hangs in the kernel. Use our existing logging thread to log data when run_serial is not in use. (From OE-Core rev: 05761282ba31e4ba3594f7321e2162d01fe12a5f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20qemurunner: Improve stdout logging handlingRichard Purdie
We need to ensure we read from and log the output from qemu stdout as otherwise the buffers can fill and block, leading qemu to hang. Use our existing logging thread to do this. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> (From OE-Core rev: a9c46ee014ef1e6436b39fdd4fd15d15388ea795) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20testimage: Exclude wtmp from target-dumper commandsRichard Purdie
wtmp is filled with binary data which the run_serial command can't cope with. Catting this results in confusion of the serial interface and potentially large backlogs of data in the buffers which can hang qemu. Exclude the problematic files from the command. (From OE-Core rev: 599ac08a6f6fb3f6a89a897c8e06367c63c2f979) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20systemtap: fix libdebuginfod auto detection logicVictor Kamensky
Addresses an issue when systemtap is built in situation where debuginfod is not part of DISTRO_FEATURES and latest SystemTap has problem of auto detecting libdebuginfod library as it was reported by Martin Jansa in [1]. [1] https://lists.openembedded.org/g/openembedded-core/message/192109?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Csystemtap%2C20%2C2%2C0%2C102987514 (From OE-Core rev: bf635f8f2258f8b8beb0adb8dead2b6b40b2274a) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20systemtap: explicit handling debuginfod library dependencyVictor Kamensky
After systemtap commit 2e67b053e3796ee7cf29a39f9698729b52078406 "configury: rework debuginfod searches" automatic detection of libdebuginfod is broken. Let's handle it explicitly with debuginfod package feature. It is good to have such feature anyway. (From OE-Core rev: ba5098fcf2fc771da8790cb2ac4ea8fef4816413) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20rpcbind: Specify state directory under /runJoshua Watt
The state directory must be correctly specified as under /run because RequiresMountsFor doesn't follow symbolic links which means the unit may run before /run is mounted if the default of /var/run/rpcbind is kept (From OE-Core rev: 561e853e97e2cfa325ed310233577a5e124d9049) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20bitbake.conf: Add runtimedirJoshua Watt
Adds the path to the runtime state directory (/run). In particular, systemd units need to have the correct path to the runtime directory because RequiresMountsFor doesn't follow symbolic links. This means that if a unit calls out a directory in /var/run (a symbolic link to /run), it may actually start before /run is mounted. The fix is to have the unit specify a directory in /run instead. (From OE-Core rev: 90bc18108230f6d41a50cebc8348444e119e95bf) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20tcl: skip async and event tests in run-ptestRoss Burton
These test suites are full of timing-sensitive test cases, so skip them too. [ YOCTO #15321 ] (From OE-Core rev: dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-20enchant2: upgrade 2.6.2 -> 2.6.4Anuj Mittal
pkgdatadir is a versioned directory by default now so we don't need to pass it to EXTRA_OEMAKE. https://github.com/AbiWord/enchant/commit/6e4a8df5cbf80fd449f1857ac1065d3235f1139f (From OE-Core rev: 3a58f8055374f89d9c91faa328093394aecfe2a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>