summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-08-17libgcrypt: rewrite ptestross/debugpathsRoss Burton
2022-08-17libgcrypt: remove obsolete pkgconfig installRoss Burton
2022-08-17icu: remove build path from icu-configRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-08-17ick disable buildpaths on -srcRoss Burton
2022-08-17libtool: remove build pathsRoss Burton
2022-08-17insane: use package_qa_clean_pathRoss Burton
2022-08-17gcc-cross: Fix relative linksRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17autotools: Drop relative configure path workaroundRichard Purdie
Calling configure with a relative path to the build directory was a nice workaround to remove hardcoded paths from files. We have proper prefix remapping code now and these relative paths escape that modern code. Drop the obsolete approach and allow the prefix remapping to handle things. This ensures the contents of debug source directories is correct as the build directory from the tarball name may not match the on target debug directory. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17bitbake.conf: Handle S and B separately for debug mappingRichard Purdie
We don't really need to keep S and B separate for debug source purposes and there shouldn't be source references in WORKDIR that isn't S and B either. Separating these out simplifies the shared-work directory handling for gcc and should also help fix external source usage. Therefore handle S and B in DEBUG_PREFIX_MAP separately and clean up other code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17libgcc/gcc-runtime: Improve source reference handlingRichard Purdie
This code was some of the earliest reproducible build work we did. To correctly handle the encoding of file paths, we used relative build paths to run configure which resulted in relative build paths in the binaries. We now have more modern approaches used elsewhere with the prefix remapping options. These work best with absolute paths, not relative ones. As such, drop the relative path mangling and switch to using prefix mapping exclusively on absolute paths. This makes the code matc the rest of the system and triggers the correct code to be added in /usr/src/debug. We have to include both file-prefix and debug-prefix since the assembler only looks at debug-prefix. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-17package: Switch debug source handling to use prefix mapRichard Purdie
Reproducible builds are no longer a configuration option but are required. We also rely on the prefix mapping capability of the compilers now. As such, rewrite the source locating code to use the prefix maps instead of taking a guess about WORKDIR which isn't correct for kernels, gcc, externalsrc and probably more. Instead, iterate the maps to locate any matching source code, keeping in mind that multiple maps may map to one target location. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16connman: Backports for security fixesKhem Raj
Fixes CVE: CVE-2022-32292, CVE-2022-32293 (From OE-Core rev: 4b3caa1541d69826c14e010ce3ac1a1ca34f3c62) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16packagegroup-self-hosted: update for straceKai Kang
strace has been set imcompatible with riscv32, so update in packagegroup-self-hosted.bb accordingly. (From OE-Core rev: d326c561f90666f292d55b029e358c86b765b7c4) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16perf: Add packageconfig for libbfd support and use disabled as defaultKhem Raj
Disable it by default, libbfd changes with binutils major releases and sometimes it creates a dependency to fix it. See [1] This will help building with binutils 2.39 [1] https://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com/T/ (From OE-Core rev: 119b37cd59163970476644183ed509a2d2ea6acd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16libtirpc: Upgrade to 1.3.3Khem Raj
In this release a large number of deadlocks in the in the multi-thread code were fix. A number of memory leaks were plugged and a DoS was eliminated. As well as a large number of bug fixes. Release notes: http://sourceforge.net/projects/libtirpc/files/libtirpc/1.3.3/Release-1.3.3.txt (From OE-Core rev: 3d848c441638ae51c9c28bb5f0e3c0faa6aee902) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16tiff: Backport a patch for CVE-2022-34526Khem Raj
(From OE-Core rev: ade918f1e904ecab2c74358ca874c6b9594de2f0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16libxml2: Ignore CVE-2016-3709Khem Raj
This is fixed via a revert in 2.9.11 [1] [1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/c1ba6f54d32b707ca6d91cb3257ce9de82876b6f (From OE-Core rev: 131b7010ae45b0c4e1c6a29dfc56b225d2ad2a69) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16libtirpc: Backport fix for CVE-2021-46828Khem Raj
CVE: CVE-2021-46828 (From OE-Core rev: a4fb608f7fba5b441074505f09b9a9a405884463) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16rsync: Upgrade to 3.2.5Khem Raj
Changlog is here [1] [1] https://download.samba.org/pub/rsync/NEWS#3.2.5 (From OE-Core rev: 937a28a2a83abc3923cf2793eb79b0a1f770cd54) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16rsync: Backport fix to address CVE-2022-29154Khem Raj
CVE: CVE-2022-29154 (From OE-Core rev: a0a0358418c2bf6bc7a7128acbfcb4e99f8f764a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16json-c: Fix function prototypesKhem Raj
This is flagged with clang 15 (From OE-Core rev: 4af59d145103778debec000100c10846fa64afa4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16zlib: Resolve CVE-2022-37434Khem Raj
Backport needed fixes CVE: CVE-2022-37434 (From OE-Core rev: f7f089a89a9ba83aa62e4ca1fe9a6b8649b29259) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Paul Eggleton <bluelightning@bluelightning.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16default-distrovars: Remove largefile from defualt DISTRO_FEATURESKhem Raj
(From OE-Core rev: a7e9fbb085c3c9463818a80faea6610e498b95c8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16unzip: Always enable largefile supportKhem Raj
(From OE-Core rev: 6423a850db2d8eff08d4018c82242803625f5990) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16libmicrohttpd: Enable largefile support unconditionallyKhem Raj
the distro feature knob is deprecated (From OE-Core rev: d07270dc51a3acbef9a5aa5efbca59b8b5b25d1e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16zip: Always enable LARGE_FILE_SUPPORTKhem Raj
largefile distro feature is deprecated (From OE-Core rev: c1d1fdac00945e0b8793441a4737780ca00cec30) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16musl: Upgrade to latest tip of trunkKhem Raj
Rebase existing patches Brings in following changes * 46d1c780 fix strings.h feature test macro usage due to missing features.h * baaf257f fix ESRCH error handling for clock_getcpuclockid * 4f48da00 aarch64: add vfork * 7d568410 fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logic * d16d7b10 early stage ldso: remove symbolic references via error handling function * 63c67053 in early stage ldso before __dls2b, call mprotect with __syscall * a23a3da2 avoid limited space of random temp file names if clock resolution is low * 41002798 remove random filename obfuscation that leaks ASLR information * 6c858d6f ensure distinct query id for parallel A and AAAA queries in resolver * 8974ef21 mntent: fix potential mishandling of extremely long lines * 751bee0e mntent: fix parsing lines with optional fields * dcb31f6b fix constraint violation in qsort wrapper around qsort_r (From OE-Core rev: e76b76f371d3158b70ae9d3a44b6d2ab6ba8db34) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-16gstreamer1.0-plugins-base: Include required system headers for isspace() and ↵Khem Raj
sscanf() (From OE-Core rev: c03571af7ed8a35966bcf7fa5ae99f1301ff0026) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-15poky.conf: add ubuntu-22.04 to tested distrosAnuj Mittal
(From meta-yocto rev: b058ef713f9d2e4bf8822c391a72ee64bdf5e43b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-14glibc: Bump to latest 2.36 branchKhem Raj
Drop upstreamed patches (From OE-Core rev: e6ca788c180816f81f4f4271caf4f78e9ce6bbcc) 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>
2022-08-14json-c: Add ptest for json-cSimone Weiss
Adapt json-c recipe to compile and deploy a ptest for json-c. Also add a small script for executing the tests. All tests were successful on a trial and took around 20 seconds. (From OE-Core rev: 757a5fbdeed58573c40d6e21475cc516aa49fd1c) Signed-off-by: Simone Weiß <simone.weiss@elektrobit.com> Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-14cve-check: Don't use f-stringsErnst Sjöstrand
Since we're keeping cve-check aligned between the active branches, and dunfell is supported on Python 3.5, we can't use f-strings. (From OE-Core rev: 1821cf7464cbba521b55a9c128fe8812c0cc5eca) Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-14qemux86-64: Allow higher tunesTom Rini
Back in 0be64e54a0e6 ("qemux86: Allow higher tunes") we moved the qemux86 machine to using the core-i7 tune file, for maximum flexibility and to allow for enabling advanced processor features if desired or required by various packagess, without changing the default tune. Do the same now for qemux86-64. Cc: Joshua Watt <JPEWhacker@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: a7411f5964f2e8384768b0a5e67817b3adc0ae8c) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-14create-spdx: handle links to inaccessible locationsPeter Marko
When a link is pointing to location inaccessible to build user (e.g. "/root/something"), filepath.is_file() throws "PermissionError: [Errno 13] Permission denied". Fix this by first checking if it is a link. (From OE-Core rev: e105befbe4ee0d85e94c2048a744f0373e2dbcdf) 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>
2022-08-14weston: exclude pre-releases from version checkAlexander Kanavin
(From OE-Core rev: 4b42fd87da290ddea098605aea3a5cce1fb432a7) 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>
2022-08-14patchelf: replace a rejected patch with an equivalent uninative.bbclass tweakAlexander Kanavin
This was the original reason to add the patch: https://git.openembedded.org/openembedded-core/commit/?id=18efcbcb896239c64fedd009ce57f3f0c668cbc0 and this is the upstream discussion which suggests handling read-only files explicitly outside of patchelf: https://github.com/NixOS/patchelf/pull/89 (From OE-Core rev: 728775c87a7e35a03408675ce1c7a8cd061b2fda) 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>
2022-08-14patchelf: update 0.14.5 -> 0.15.0Alexander Kanavin
Rebase handle-read-only-files.patch (From OE-Core rev: 0b2f8da3ff9cbbb6fc2ab75fbe09ad1fe745c53b) 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>
2022-08-14weston: upgrade 10.0.1 -> 10.0.2Alexander Kanavin
Drop dont-use-plane-add-prop.patch as issue is fixed elsewhere (see the link in the patch). (From OE-Core rev: ed54ef8f094fb6759316781a5ac626af40ad8ffc) 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>
2022-08-14cmake: update 3.23.2 -> 3.24.0Alexander Kanavin
License-Update: additional copyright holders (From OE-Core rev: 85968fcb7cd79602dd3edf9734cd075fd166e39a) 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>
2022-08-14rust: update 1.62.0 -> 1.62.1Alexander Kanavin
(From OE-Core rev: 6baa224158f40b9754c3f10e11966d02e1337ae7) 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>
2022-08-14dropbear: merge .inc into .bbAlexander Kanavin
(From OE-Core rev: e4e21f272a897bd89ffbc9d057db56eae944c70b) 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>
2022-08-14linux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGSJose Quaresma
(From OE-Core rev: f6183b2d2f625515ea767dba3d8076a53a246874) 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>
2022-08-13uninative: Upgrade to 3.7 to work with glibc 2.36Michael Halstead
Update uninative to work with the new glibc 2.36 version (From OE-Core rev: 410226b053e14e32add1f9b4b811f84a1c445a7c) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12sdk-manual: describe how to use extensible SDK functionality directly in a ↵Alexander Kanavin
Yocto build (From yocto-docs rev: 7e1b2e4238c2260fd74295dd208ec774e0e6bf68) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12kernel-dev: working with kernel using devtool does not require building and ↵Alexander Kanavin
installing eSDK In fact, all the same tasks can be done directly from a Yocto build. Let's just drop the steps to produce and install the eSDK - if someone wants it, the SDK manual covers everything. (From yocto-docs rev: 582aa6a8e461bbd698b121403dcd25ddb563a464) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12system-requirements.rst: remove EOL and Centos7 hostsArmin Kuster
Commit https://git.yoctoproject.org/poky/commit/?id=d08e47312741a18e7be505d22762b90528253ac9 removed some EOL and CentOS7 from list hos supported hosts. Sync docs with Poky Replace CentOS with AlmaLinux. (From yocto-docs rev: 25a0e14ee8da9f59fa50ec209478e08e6438b827) Signed-off-by: Armin Kuster <akuster808@gmail.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12docs: ref-manual: system-requirements: add missing packagesQuentin Schulz
inkscape and the package providing fncychap.sty TeX font were missing from the packages to install to be able to build the documentation, so let's add them to the list. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: 4c05a45615ef2b13e9af4b792fb97be116d889b1) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12docs: README: add TeX font package required for building PDFQuentin Schulz
The fncychap.sty font needs to be installed on the host in order to be able to build the PDF version of the docs, so let's mention it in the README. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: 97fb41801fb7ac1439f8af03d2da2fb2f171a7e6) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12docs: conf.py: update yocto_git base URLQuentin Schulz
The URLs are actually redirected from https://git.yoctoproject.org/cgit/cgit.cgi to https://git.yoctoproject.org so let's save the user a redirection and use the most up-to-date URL. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: cb6dcfe92638be6c1dee647daf00cfc2191694b2) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12dev-manual: use proper note directiveMichael Opdenacker
For correct rendering of the note (From yocto-docs rev: cc765028a7cd3dda6942450b3d59d283bf73a8f7) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>