summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* python3-ruemel-yaml: use python_setuptools_build_meta build classRoss Burton2024-07-241-5/+1
| | | | | | | | | | | | This package can be built using pep517 classes now. Also remove the redundant RUAMEL_NO_PIP_INSTALL_CHECK assignment, this is checked by setup.py which is no longer ran. (From OE-Core rev: eb7519a542e207911a0419c79cb3aa1d08e3e742) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyelftools: use python_setuptools_build_meta build classRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: b0bd0940fc776914614b8a442f32b1661db0361f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome(x): use python_setuptools_build_meta build classRoss Burton2024-07-242-2/+2
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: a32fa3e64d1daf5846c29403e9f258aea42212d3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-psutil: use python_setuptools_build_meta build classRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: 3baeb5da732f9320264a8eb4fcc3e026311da06e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: use python_setuptools_build_meta build classRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: efabc00ca509b6e2f154248e7de7f6ae8babf412) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: use python_setuptools_build_meta build classRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: 6eec9c50f72e016a6a14616ef4eb00a367196b88) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyasn1: use python_setuptools_build_meta build classRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: b12da0cbaf8d738a8c12cd939f705e65b2e5d41a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyasn1: merge bb/incRoss Burton2024-07-242-33/+30
| | | | | | | | | As there's just a single user of the include, merge them. (From OE-Core rev: 9f88173917abdaa7334f28473a072186854ef999) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pathspec: use python_flit_coreRoss Burton2024-07-241-1/+1
| | | | | | | | | This package can be built using pep517 classes now. (From OE-Core rev: 768cce9388520453ed161a1af3444ab45db6ec8c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: remove obsolete dependenciesRoss Burton2024-07-241-2/+2
| | | | | | | | | | | As we have Python 3.11+, tomllib will be used instead of python3-toml. Use of pathlib2 was removed in 3.0.0. (From OE-Core rev: 1d3004a1e3a1c06e10b5b3c0a912a063c218e553) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: remove obsolete dependenciesRoss Burton2024-07-241-4/+1
| | | | | | | | | | | As we have Python 3.11+, tomllib will be used instead of toml. more-itertools is only used by the tests, which we don't package. (From OE-Core rev: fe99df9f6389f4cf0b433872305d9c34d09078b3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: remove obsolete python3-tomli dependencyRoss Burton2024-07-241-1/+0
| | | | | | | | | As we have Python 3.11+, tomllib will be used. (From OE-Core rev: 524929e379f902a335aeda07dd08f026f88fc1e5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-rust: remove obsolete python3-toml dependencyRoss Burton2024-07-241-1/+0
| | | | | | | | | As we have Python 3.11+, tomllib will be used. (From OE-Core rev: 173fe8059cc7637c5ef2bd8a1e9448092705335a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: remove obsolete python3-toml dependencyRoss Burton2024-07-241-1/+0
| | | | | | | | | As we have Python 3.11+, tomllib will be used. (From OE-Core rev: d1ce0b4d40c5ac598564873d892c7be74ea2528b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gi-docgen: remove obsolete python3-toml dependencyRoss Burton2024-07-241-1/+1
| | | | | | | | | As we have Python 3.11+, tomllib will be used. (From OE-Core rev: f70280e907b4a71ee13bd782c682c8cee162002c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: remove obsolete RDEPENDSRoss Burton2024-07-241-1/+0
| | | | | | | | | scons doesn't appear to have ever imported importlib_metadata. (From OE-Core rev: 371117c5e19a2039a4ffd006994fd605f1d36ece) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: clean up RDEPENDSRoss Burton2024-07-241-3/+0
| | | | | | | | | | | | importlib-metadata is no longer needed since 0.13.0. more-itertools has never been imported directly by pluggy but was likely a dependency coming via more-itertools. (From OE-Core rev: baec92933973ca49755e10f56de154dc2f80b7f0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: remove obsolete RDEPENDSRoss Burton2024-07-241-1/+0
| | | | | | | | | | The backport of importlib-metadata is no longer needed as we have Python 3.8+. (From OE-Core rev: 7346481c1ec31366ca5aacaa79c377ef3fd2baa2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-beartype: add missing RDEPENDSRoss Burton2024-07-241-0/+2
| | | | | | | | | These parts of the standard library are imported by beartype. (From OE-Core rev: b373c01661df245c34073acb6c962a5f6fee94de) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: remove unused importsRoss Burton2024-07-241-2/+0
| | | | | | | | | These modules are not imported by websockets. (From OE-Core rev: 8fdfd92e493e89ac2f09ef29ea2b05696cec91cb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-chardet: remove pytest-runner DEPENDSRoss Burton2024-07-241-3/+0
| | | | | | | | | | | This was removed in 4.0.0[1] [1] https://github.com/chardet/chardet/commit/6a59c4b19226231fc310a3c11e0be939a04f9b3e (From OE-Core rev: 55b49e9827f5522893c14935c7a3bd249c883fee) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pytest-runner: remove python3-py dependencyRoss Burton2024-07-241-2/+1
| | | | | | | | | It appears that this package has never required the `py` module. (From OE-Core rev: 98e07bf4824059c2efd8778969398cfe102d2ac7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-poetry-core: remove python3-pathlib2 dependencyRoss Burton2024-07-241-1/+0
| | | | | | | | | | Poetry 1.1.0 removed pathlib2 from the dependencies entirely, and before then it was only needed with Python 2. (From OE-Core rev: 6b981b6fe196b6ea4a4b966149f2954ddd047903) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: RDEPEND on python3-unixadminRoss Burton2024-07-241-0/+1
| | | | | | | | | setuptools/command/register.py uses the getpass module. (From OE-Core rev: dad84da56ab3e7342dcdb497375212bb4d1dc131) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: rename nongpl PACKAGECONFIGRoss Burton2024-07-241-1/+1
| | | | | | | | | | To make it clear that this is an alternative to the format PACKAGECONFIG, rename it to format-nongpl. (From OE-Core rev: 56eaa1c074282774c5cf7dc2f8a4b3c4eac4179c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add dependency on -compression to -coreRoss Burton2024-07-241-1/+1
| | | | | | | | | | | | | | | importlib.metadata is part of -core, but that will import zipfile which is part of -compression. Obviously this shows that our packaging of the Python modules is not optimal. I plan to follow up with a redesign of the splitting which focuses on simply pulling out the larger or esoteric modules and having a more featureful core. (From OE-Core rev: 0f8d985b290def1fbb356aede152a10424c9d2f1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix to work with glibc 2.40Richard Purdie2024-07-241-2/+8
| | | | | | | | | | glibc 2.40 renames some internal header variables. Update our hack to work with the new version. These kinds of problems illustrate we need to address the issue properly. (From OE-Core rev: 35021d650de3eecc3f42000181b39a5db5a8eaa0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-uninative: Update to 4.6 for glibc 2.40Michael Halstead2024-07-241-5/+5
| | | | | | | (From OE-Core rev: b29bfd333dffe635ab67475dcd8d22ad8b114c84) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3: drop deterministic_imports.patch"Ross Burton2024-07-232-0/+41
| | | | | | | | | | | | | | | | | There are still issues with importlib.metadata and empty directories, which surface when doing builds with existing build trees. I've raised this on the upstream ticket that Alex Kanavin has already filed[1] so hopefully we can have a resolution soon. This reverts commit 058c3a6e2b30103202f3995930825fc2f366274f. [1] https://github.com/python/importlib_metadata/issues/489 (From OE-Core rev: 020c9438fa4d90824dcf7068ccf3722b3b7b8ccf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs: Ensure run-postinsts is not uninstalled for ↵Gassner, Tobias.ext2024-07-232-1/+44
| | | | | | | | | | | | | | | | | | read-only-rootfs-delayed-postinsts This patch ensures that pkg_postinst_ontarget task is executed for read only rootfs when read-only-rootfs-delayed-postinsts is set as IMAGE_FEATURES. The issue was that run-postinsts could be uninstalled at the end of rootfs construction and that shouldn't happen for the delayed usecase. In addition to the fix, a test in meta/lib/oeqa/selftest/cases/overlayfs.py testing the fix has been implemented. (From OE-Core rev: 60f587475dda99eaa07848880058b69286b8900e) Signed-off-by: Gassner, Tobias.ext <tobias.gassner.ext@karlstorz.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Mitigate /var/tmp type mismatch issueNiko Mauno2024-07-231-0/+1
| | | | | | | | | | | | | | | | | | | The base-files recipe provides /var/tmp -> /var/volatile/tmp symlink which is in conflict with systemd upstream tmpfiles.d/tmp.conf which defines it as a directory (or subvolume on btrfs). This generates following error in journal: Jul 03 15:37:21 qemux86-64 systemd-tmpfiles[158]: "/var/tmp" already exists and is not a directory. Mitigate the issue by defining /var/tmp as symlink corresponding to the one created by base-files. (From OE-Core rev: 1f1f6f45e3cfe24dfee8a09d01a5d32f3080e381) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/scp: requires openssh-sftp-serverJose Quaresma2024-07-231-1/+1
| | | | | | | | | | | | | | | | | | | The SCP protocol was deprecated in favor of the SFTP. For the legacy SCP protocol scp should be run with "-O". Instead of adding "-O" on the scp_options ssh oeqa we can require the openssh-sftp-server to be instaled on the target. This way the test will work more deterministic regardless of the host machine client used. For the old fashion clients still using legacy SCP protocol the openssh-sshd server will be used, for the new ones using the SFTP the openssh-sftp-server will be picked. (From OE-Core rev: 2f43da91ba20d18bc419bca7651bb383a51f20af) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* time64.inc: Add warnings exclusion for known toolchain problems for nowRichard Purdie2024-07-231-0/+8
| | | | | | | | | | | | | | | Fixing our infrastructure to show warnings for nativesdk packages resulted in some issues with 32 bit toolchains and 32 bit time becoming clear. For now, add INSANE_SKIP entries for these which effectively documents the issue and allows us to at least start running the tests in the infrastructure. Over time we will need to try and fix these if upstream doesn't. (From OE-Core rev: d05fa366ebbf8017f5f5fae0b1bc8502ada3ab79) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* watchdog: Set watchdog_module in default configWadim Egorov2024-07-231-0/+1
| | | | | | | | | | | | | systemd started to warn about used but unset environment variables. Let us set watchdog_module=none which is used by the watchdog.service to get rid of the following warning: watchdog.service: Referenced but unset environment variable evaluates to an empty string: watchdog_module (From OE-Core rev: 8f1dc796c7298373e61d806e63bc121128c1c27c) Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: add original package name to RPROVIDES for -image and -baseMartin Jansa2024-07-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * -image and -base change PKG to: PKG:${KERNEL_PACKAGE_NAME}-image = "${KERNEL_PACKAGE_NAME}-image-${@legitimize_package_name(d.getVar(KERNEL_VERSION))}" PKG:${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-${@legitimize_package_name(d.getVar(KERNEL_VERSION))}" * but only when debian.bbclass is inheritted they add the original package name into RPROVIDES by: https://git.openembedded.org/openembedded-core/commit/?id=3409c4379559afbb1d1d29045582995147a33bbc * fixes the build if some packagegroup or something RDEPENDS on kernel-image or kernel-base and the DISTRO doesn't inherit debian.bbclass * as shown in pkgdata: linux-raspberrypi $ egrep "^(PKG:)|(RPRO)" 6.6.36+git-*/pkgdata/runtime/kernel-image 6.6.36+git-debian/pkgdata/runtime/kernel-image:RPROVIDES:kernel-image: kernel-image (=6.6.36+git@PRSERV_PV_AUTOINC@+733366844f_769634f344) 6.6.36+git-debian/pkgdata/runtime/kernel-image:PKG:kernel-image: kernel-image-6.6.36-v8 6.6.36+git-without-debian/pkgdata/runtime/kernel-image:PKG:kernel-image: kernel-image-6.6.36-v8 linux-raspberrypi $ egrep "^(PKG:)|(RPRO)" 6.6.36+git-*/pkgdata/runtime/kernel-image-image 6.6.36+git-debian/pkgdata/runtime/kernel-image-image:RPROVIDES:kernel-image-image: kernel-image-image (=6.6.36+git@PRSERV_PV_AUTOINC@+733366844f_769634f344) 6.6.36+git-debian/pkgdata/runtime/kernel-image-image:PKG:kernel-image-image: kernel-image-image-6.6.36-v8 6.6.36+git-without-debian/pkgdata/runtime/kernel-image-image:PKG:kernel-image-image: kernel-image-image-6.6.36-v8 (From OE-Core rev: 05498781657a3f8b38b000f91594ecd78850ce47) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: stable 2.42 branch updatesDeepthi Hemraj2024-07-231-1/+1
| | | | | | | | | | | | | | Below commits on binutils-2.42 stable branch are updated. 29ae8b8ea71 x86-64: Skip -z mark-plt tests on MUSL 92cc764e58f hppa: Fix handling of relocations that apply to data c439c1e1f56 elf: Add glibc version dependency only if needed 68ae8e2a849 ld: pass -g for ld-elf tests a1e3cb45c67 aarch64: Enable +cssc for armv8.9-a (From OE-Core rev: f857a88f7b3c3e50d0c3135bc461beae8ebf5e5c) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: split tools and giscanner into a separate packageGuðni Már Gilbert2024-07-231-2/+20
| | | | | | | | | | | | | | The tools and giscanner require python3-setuptools at runtime. This increases the image size quite a bit (on my end ~1.7MB compressed). Most users don't need these tools in the final image so make them optional. This commit introduces a new packcage gobject-introspection-tools (From OE-Core rev: 57a5dfd3785c75863a9e366be656d50d98ddb4bd) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bootimg-partition: break out code to a common library.Marcus Folkesson2024-07-232-37/+59
| | | | | | | | | | | Break out the code that parse IMAGE_BOOT_FILES to a common library. (From OE-Core rev: 1e07fe51bdb24070308c85e83df0b80ab9f83cea) Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Remove redundant configure option --disable-werrorKhem Raj2024-07-221-1/+0
| | | | | | | | | This is applied unconditionally few lines above (From OE-Core rev: e9c6dcbe0e93f943ee622ee88d30ce0eb3dd3329) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Upgrade to 2.40Khem Raj2024-07-2233-156/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major new features: * The <stdbit.h> header type-generic macros have been changed when using GCC 14.1 or later to use __builtin_stdc_bit_ceil etc. built-in functions in order to support unsigned __int128 and/or unsigned _BitInt(N) operands with arbitrary precisions when supported by the target. * The GNU C Library now supports a feature test macro _ISOC23_SOURCE to enable features from the ISO C23 standard. Only some features from this standard are supported by the GNU C Library. The older name _ISOC2X_SOURCE is still supported. Features from C23 are also enabled by _GNU_SOURCE, or by compiling with the GCC options -std=c23, -std=gnu23, -std=c2x or -std=gnu2x. * The following ISO C23 function families (introduced in TS 18661-4:2015) are now supported in <math.h>. Each family includes functions for float, double, long double, _FloatN and _FloatNx, and a type-generic macro in <tgmath.h>. - Exponential functions: exp2m1, exp10m1. - Logarithmic functions: log2p1, log10p1, logp1. * A new tunable, glibc.rtld.enable_secure, can be used to run a program as if it were a setuid process. This is currently a testing tool to allow more extensive verification tests for AT_SECURE programs and not meant to be a security feature. * On Linux, the epoll header was updated to include epoll ioctl definitions and the related structure added in Linux kernel 6.9. * The fortify functionality has been significantly enhanced for building programs with clang against the GNU C Library. * Many functions have been added to the vector library for aarch64: acosh, asinh, atanh, cbrt, cosh, erf, erfc, hypot, pow, sinh, tanh * On x86, memset can now use non-temporal stores to improve the performance of large writes. This behaviour is controlled by a new tunable x86_memset_non_temporal_threshold. Deprecated and removed features, and other changes affecting compatibility: * Architectures which use a 32-bit seconds-since-epoch field in struct lastlog, struct utmp, struct utmpx (such as i386, powerpc64le, rv32, rv64, x86-64) switched from a signed to an unsigned type for that field. This allows these fields to store timestamps beyond the year 2038, until the year 2106. Please note that applications are still expected to migrate off the interfaces declared in <utmp.h> and <utmpx.h> (except for login_tty) due to locking and session management problems. * __rseq_size now denotes the size of the active rseq area (20 bytes initially), not the size of struct rseq (32 bytes initially). (From OE-Core rev: 4dd98c39204c1bfdf54b10ec72c3003118ac1dba) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pybootchartgui.py: python 3.12+ regexesAdrian Freihofer2024-07-221-5/+5
| | | | | | | | | | | | | | | | | | | $ ./scripts/pybootchartgui/pybootchartgui.py ./scripts/pybootchartgui/pybootchartgui/parsing.py:460: SyntaxWarning: invalid escape sequence '\d' disk_regex_re = re.compile ('^([hsv]d.|mtdblock\d|mmcblk\d|cciss/c\d+d\d+.*)$') ./scripts/pybootchartgui/pybootchartgui/parsing.py:597: SyntaxWarning: invalid escape sequence '\[' timestamp_re = re.compile ("^\[\s*(\d+\.\d+)\s*]\s+(.*)$") ./scripts/pybootchartgui/pybootchartgui/parsing.py:598: SyntaxWarning: invalid escape sequence '\S' split_re = re.compile ("^(\S+)\s+([\S\+_-]+) (.*)$") ./scripts/pybootchartgui/pybootchartgui/parsing.py:643: SyntaxWarning: invalid escape sequence '\@' p = re.match ("\@ (\d+)", rest) ./scripts/pybootchartgui/pybootchartgui/draw.py:799: SyntaxWarning: invalid escape sequence '\s' ('system.cpu', 'CPU', lambda s: re.sub('model name\s*:\s*', '', s, 1)), (From OE-Core rev: 0d94c22dd8d6c5655c2237ae740e8d9bb2adc751) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest-hardlink: Add additional test casesMark Hatle2024-07-222-0/+39
| | | | | | | | | | | | | | Additional test cases for debug symlink generation both binaries and static libraries. This also has the side effect of testing for race conditions in the hardlink debug generation and stripping. (From OE-Core rev: 7171f41c07a39a7543bb64f075d38b8e74563089) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.py: Fix static library processingMark Hatle2024-07-221-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | When PACKAGE_STRIP_STATIC is enabled the system did not pay attention to hardlinks. This could trigger a race condition during stripping of static libraries where multiple strips (through hardlinks) could run at the same time triggering a truncated or modified file error. The hardlink breaking code is based on the existing code for elf files, but due to the nature of the symlinks needed to be done in a separate block of code. Add support for static-library debugfs hardlinking through the existing inode processing code. Print a note to the logs if the link target can't be found. This isn't strictly an error, but may be useful for debugging an issue where a file isn't present. (From OE-Core rev: ff371d69f60a1529ed456acb7d8e9305242e74bd) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool/upgrade: use PN instead of BPN for naming newly created upgraded recipesAlexander Kanavin2024-07-221-9/+9
| | | | | | | | | | BPN isn't correct, as it is set to 'cmake' when 'cmake-native' is being upgraded (or libva for libva-initial etc.) (From OE-Core rev: e634316547f86ce5662fa4899440a5af1047d494) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipeutils/get_recipe_upgrade_status: group recipes when they need to be ↵Alexander Kanavin2024-07-223-13/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | upgraded together This will allow 'lockstep upgrades' of such recipes, improving success rates in automated version updating process. devtool check-upgrade-status now prints: These recipes need to be upgraded together { glib-2.0 2.80.2 2.80.4 Anuj Mittal <anuj.mittal@intel.com> glib-2.0-initial 2.80.2 2.80.4 Anuj Mittal <anuj.mittal@intel.com> } These recipes need to be upgraded together { util-linux 2.39.3 2.40.2 Chen Qi <Qi.Chen@windriver.com> util-linux-libuuid 2.39.3 2.40.2 Chen Qi <Qi.Chen@windriver.com> } These recipes need to be upgraded together { cmake 3.29.3 3.30.0 Unassigned <unassigned@yoctoproject.org> cmake-native 3.29.3 3.30.0 Unassigned <unassigned@yoctoproject.org> } etc. (From OE-Core rev: 7874aea5c62be3e8dbd19e04fce5389c5ed7aab6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/recipeutils: add a function to determine recipes with shared include filesAlexander Kanavin2024-07-222-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | This functionality is needed for 'lockstep version upgrades' where several recipes need to be upgraded at the same time to produce a buildable outcome. The function itself obtains BBINCLUDED for each recipe and then massages the data until it takes the form of a list of sets: [{'cmake','cmake-native'}, {'qemu','qemu-native','qemu-system-native'}, ... ] There's also a selftest that checks for the above. Unfortunately this won't detect mutually exclusive recipes like mesa and mesa-gl as they're chosen with PREFERRED_PROVIDER and can't be enabled in the same build at the same time. ('devtool upgrade' will also accept just one of them but not the other) (From OE-Core rev: 2400920f8b84cca9d6c1f6a2e850630554fe00fa) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/recipeutils: return a dict in get_recipe_upgrade_status() instead of ↵Alexander Kanavin2024-07-223-10/+10
| | | | | | | | | | | | | a tuple Putting various things in a tuple is an anti-pattern of sorts, as the consumers have to unpack it into local variables for readability, or access items directly with indexes, which makes code pretty much unreadable. (From OE-Core rev: e86aa26d209eb9809198f6dd40cd058366318e3d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.py: Fix static debuginfo splitMark Hatle2024-07-211-0/+1
| | | | | | | | | | | Fix: NameError: name 'shutil' is not defined (From OE-Core rev: 13bdd750ae54d57a5f459e4b7d8636c864978241) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: drop python3-ctypes from RDEPENDSGuðni Már Gilbert2024-07-211-1/+0
| | | | | | | | | python3-ctypes was dropped as a dependency in v19.2.0 (From OE-Core rev: 8d06116caf2382ad4782b9b2da50534d076a736d) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: upgrade 3.8.5 -> 3.8.6Simone Weiß2024-07-215-278/+8
| | | | | | | | | | | | | | | | | | | | | | Changelog: ** libgnutls: PBMAC1 is now supported as a MAC mechanism for PKCS#12 To be compliant with FIPS 140-3, PKCS#12 files with MAC based on PBKDF2 (PBMAC1) is now supported, according to the specification proposed in draft-ietf-lamps-pkcs12-pbmac1. ** libgnutls: SHA3 extendable output functions (XOF) are now supported SHA3 XOF, SHAKE128 and SHAKE256, are now usable through a new public API gnutls_hash_squeeze. ** API and ABI modifications: gnutls_pkcs12_generate_mac3: New function gnutls_pkcs12_flags_t: New enum gnutls_hash_squeeze: New function (From OE-Core rev: 61e7888c8e31ac2adee9eb75ee2393125ef9b433) Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>