summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto/6.6: cfg: generic arm64Bruce Ashfield2024-03-203-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/.: 1/2 [ Author: Ross Burton Email: ross.burton@arm.com Subject: cfg/timer/no_hz: set NO_HZ_IDLE instead of NO_HZ Date: Wed, 6 Mar 2024 07:15:44 -0800 NO_HZ was obsoleted in 2011[1] and simply selects NO_HZ_IDLE. [1] linux 3ca277e Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] 2/2 [ Author: Ross Burton Email: ross.burton@arm.com Subject: bsp/genericarm64: incorporate more features, and sort Date: Wed, 6 Mar 2024 07:15:44 -0800 Pull in a large number of drivers and build them as modules. The set of drivers enabled is based on the current defconfig. Some chunks are split out into separate files to keep the top-level cfg file size manageable. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] (From OE-Core rev: ebb5214b9860b4ee120d88ee5be30b344088cd5c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: correct upstream version checkAlexander Kanavin2024-03-201-1/+0
| | | | | | | | | | This only needs removal of the custom setting (which no longer produces a webpage suitable for parsing the version out), as the default SRC_URI is 'tarballs in versioned directoroies' setup, which the version checker is able to handle. (From OE-Core rev: d9fa89180fe497ce67493b8dec8452d87c05ccba) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: fix upstream version check by asking gitlab directlyAlexander Kanavin2024-03-204-4/+4
| | | | | | | | | | | | https://wayland.freedesktop.org/releases.html is prone to delays and missing entries as it is manually updated; in particular latest wayland-protocols remains unlisted: https://gitlab.freedesktop.org/wayland/wayland.freedesktop.org/-/issues/7 (From OE-Core rev: 1932f6ebe0c108852010b1fac8febd23236c86ae) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: fix unused variable BUFFER_SIZEJose Quaresma2024-03-202-0/+37
| | | | | | | | | Fix build break with clang (From OE-Core rev: 760292c23213476169116b8608ca4119b99e6ff8) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: fix copydir operation with 'pseudo'Enrico Scholz2024-03-202-0/+40
| | | | | | | | | | | | | | | | | | | | | | | Calling 'useradd' through pseudo on (at least) Ubuntu 20 creates filesystem objects (.bashrc, .profile) with invalid attributes. It manifests as | tar: ./home/.../.bashrc: Unknown file type; file ignored or | Copying files into the device: __populate_fs: ignoring entry ".bashrc" | .bashrc: File not found by ext2_lookup while looking up ".bashrc" when building the image. This happens due to a bug in shadow which is caused by clobbering fstatat() results. (From OE-Core rev: 991f880e5cb3d30a1197711d44af2fdb1719ce82) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup: enable vapi supportMarkus Volk2024-03-201-2/+2
| | | | | | | | | | | | without vapi gnome-calculator-46.0 will fail with: | ../gnome-calculator-46.0/lib/currency-provider.vala:161.19-161.47: error: The name `send_and_splice_async' does not exist in the context of `Soup.Session' (libsoup-3.0) (From OE-Core rev: cce5c9db1f19fd4638c19c70fd99f065dd93f15b) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: improve test reliabilityRoss Burton2024-03-193-37/+15
| | | | | | | | | | | | | | | | | | First, libcheck has the ability to increase all test timeouts by an arbitrary multiplier. Because we run our tests on loaded build machines, increase all timeouts by 10x to reduce the chance of load causing failures. Second, use GST_CHECKS_IGNORE to list test cases that should be skipped. Drop skip-aggregator-test.patch as this is now redundant, and also skip gstnetclientclock.c:test_functioning as this is very sensitive to load. [ YOCTO #14808 ] (From OE-Core rev: 669d0df81f651f7c033c8cb7872cac5bfe670a4f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: increase test timeoutsRoss Burton2024-03-192-0/+19
| | | | | | | | | | | | | | | | | | | | | | | We often see multiple curl tests fail during ptest runs, the actual test varies but the output is like this: FAIL: 337: protoc! There was no content at all in the file log/3/server.input. Server glitch? Total curl failure? Returned: 28 Error code 28 is CURLE_OPERATION_TIMEDOUT, so this is almost certainly due to a loaded machine resulting in the tests running slowly. It is notable that the test runner explicitly passes --max-time=13 to curl, so experiment and change this to 600 to see if this solves the problem. [ YOCTO #15268 ] (From OE-Core rev: e2e9ec1bf97a7e36a05a247dbc671ecca584205f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: improve run-ptestRoss Burton2024-03-192-4/+10
| | | | | | | | | | | | | | | | There's no need to run the output of runtests.pl through a sed to get automake-style output, as you can pass -am to get this formatting. Don't run timing dependent tests, as the ptests can run on loaded systems. Add a dependency on the en_US locale because some of the tests require this. (From OE-Core rev: 3c3601d50ae290e7e9797eadd20c05df99bbd040) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Add pthread linking workaroundRichard Purdie2024-03-191-2/+2
| | | | | | | | | | | | | | | With newer glibc versions, pthread was merged into the main library so there is no longer any need to link with -lpthread. On newer systems this means that linker flag is dropped from places like pkgconfig .pc files. If uninative then uses this newer library on an older system, the flag is missing and linker errors about missing symbols occur. Adding the linkage unconditionally to our uninative linking flags avoids that problem at a potential cost of slight over linking. (From OE-Core rev: 5ec2bc7ef663db4c04c85eee518297d442556481) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash/flex: Ensure BUILD_FLAGS doesn't leak onto targetRichard Purdie2024-03-192-0/+2
| | | | | | | | | The ptest packages were leaking BUILD_LDFLAGS into the Makefile used on target. Remove these values instead. (From OE-Core rev: 599132c7794a1192ddd257669798a3ec6d1191bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Upgrade 1.22.0 -> 1.22.1Soumya Sambu2024-03-188-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to latest 1.22.x release [1]: $git log --oneline go1.22.0..go1.22.1 db6097f8cb (tag: go1.22.1, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.1 041a47712e [release-branch.go1.22] net/textproto, mime/multipart: avoid unbounded read in MIME header 3a855208e3 [release-branch.go1.22] net/http, net/http/cookiejar: avoid subdomain matches on IPv6 zones 337b8e9cbf [release-branch.go1.22] crypto/x509: make sure pub key is non-nil before interface conversion 16830ab48a [release-branch.go1.22] net/http: add missing call to decConnsPerHost 056b0edcb8 [release-branch.go1.22] html/template: escape additional tokens in MarshalJSON errors f73eba76a0 [release-branch.go1.22] net: work around runtime scheduler starvation on js and wasip1 5330cd225b [release-branch.go1.22] net/mail: properly handle special characters in phrase and obs-phrase d8c4239f08 [release-branch.go1.22] cmd/go/internal/modcmd: correctly filter out main modules in verify c33adf44ff [release-branch.go1.22] cmd/trace/v2,internal/trace: use correct frame for identifying goroutines 3b71998078 [release-branch.go1.22] go/types, types2: ensure that Alias.actual is set in NewAlias 8fe2ad6494 [release-branch.go1.22] runtime/internal/atomic: correct GOARM=7 guard at a DMB instruction 686662f3a4 [release-branch.go1.22] cmd/compile: make jump table symbol static 6cbe522fe1 [release-branch.go1.22] cmd/compile: fail noder.LookupFunc gracefully if function generic fb86598cd3 [release-branch.go1.22] cmd/compile: accept -lang=go1 as -lang=go1.0 6fbd01a711 [release-branch.go1.22] runtime: don't call traceReadCPU on the system stack d6a271939f [release-branch.go1.22] cmd/cgo/internal/testsanitizers: disable location checking for clang 20107e05a6 [release-branch.go1.22] internal/testenv: support the LUCI mobile builders in tests 53d1b73dff [release-branch.go1.22] internal/testenv: allow "-noopt" anywhere in builder name in test dd31ad7e9f [release-branch.go1.22] spec: fix typo in year (it's 2024 now) [1] https://github.com/golang/go/compare/go1.22.0...go1.22.1 (From OE-Core rev: 423f875e10707b583f34dde625301c702c49e9d9) Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pam: Fix build with muslKhem Raj2024-03-182-0/+43
| | | | | | | | | Apply a backported patch (From OE-Core rev: e4fbb97fda6fe6232df743e655d0488f2353a24e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Oe-selftest failure analysis - fix for tcl errorsHarish Sadineni2024-03-181-2/+2
| | | | | | | | | | | | | | gcc testsuite unable to read the value of variable $do-what-limit and causing below tcl errors. ERROR: can't read "do": no such variable while executing "set do_what $do-what-limit" To fix this, quote the variable using braces, as in ${do-what-limit}. (From OE-Core rev: e59421468d96282057f5176438a76a325b987e47) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtirpc: drop redundant PACKAGECONFIGYi Zhao2024-03-181-3/+1
| | | | | | | (From OE-Core rev: a2d0f2dd46c95309de00368498a73f58f523accc) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Fix check_oldest_kernelPaul Barker2024-03-181-1/+1
| | | | | | | | | | | | | | The check_oldest_kernel() function requires utsrelease.h to be generated. This file is generated during do_compile, so we need to delay calling check_oldest_kernel() until after this. With this change in place, I now see the expected warning when building Linux 5.10.y. (From OE-Core rev: 525019b30e83ea65021ca4874605589ccd2daf80) Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-pages: use env from coreutils-nativeAlexander Kanavin2024-03-182-0/+35
| | | | | | | | | | | | | | | This is the outcome of investigating the selftest-armhost fail: https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3028/steps/15/logs/stdio When man-pages recipe builds on ubuntu 18.04, /usr/bin/env on that is too old to support -S option, and the outcome is that man-pages quietly installs nothing, and no packages get created, and the test that expects the package to exist fails. (From OE-Core rev: 7bfbaaf2baa54f0abff231cfc263d4d8bc7f732b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: skip kernel tests if no kernel modules presentXiangyu Chen2024-03-183-0/+1272
| | | | | | | | | | | | | | | | The current tests will run both userspace and kernel testing. Some of use cases only use lttng for one kind of tracing (e.g. userspace). If the lttng modules(.ko files) is not present during the test,it would end up with lots of failing. Add a check in ptest script, if current system doesn't contain lttng kernel modules, passing LTTNG_TOOLS_DISABLE_KERNEL_TESTS=1 to make to skip all lttng kernel related testing. (From OE-Core rev: e0d8494b569bc5fb45d9a4bafa25527a0ee3d970) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo-c-native: update 0.9.18 -> 0.9.30Alexander Kanavin2024-03-182-337/+531
| | | | | | | (From OE-Core rev: 772cb94c9ab0645714e182f0141dc6c8b26b05ef) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo-c-native: convert from git fetcher to crate fetcherAlexander Kanavin2024-03-183-2387/+208
| | | | | | | | | | | | | | Fetching from git requires manually maintaining Cargo.lock which is tedious and unclear how to do correctly, especially with version updates. On the other hand, crates do include Cargo.lock, and this way the revisions would match upstream's and crate users (which requires regenerating crates.inc to match the lock file). (From OE-Core rev: 03c1954404bf56470935b12cb3aeb02199f68ded) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: correct upstream version check (exclude pre-releases)Alexander Kanavin2024-03-181-0/+1
| | | | | | | (From OE-Core rev: e01a57979331472b7677b41aa57f448938bc14fc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Move Intel 9260 modules firmware.Yannick Rodriguez2024-03-181-0/+4
| | | | | | | | | | | Moving intel 9260 firmware because it's common wifi chip and otherwise to include this firmware whe have to include iwlwifi-misc which included a lot of firmwares. (From OE-Core rev: d924307b9cee4065ff60d08e3b4298278693ff2c) Signed-off-by: Yannick Rodriguez <y.rodriguez@i2s.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Update to tip of 2.39 branchKhem Raj2024-03-181-1/+1
| | | | | | | | | | | | | Brings * 1b9c1a0047 Use gcc __builtin_stdc_* builtins in stdbit.h if possible * e0910f1d32 S390: Do not clobber r7 in clone [BZ #31402] * d0724994de math: Update mips64 ulps (From OE-Core rev: b2274aa08fda1734af840aca05c7c7ce464d8775) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Fix build break with clangKhem Raj2024-03-182-0/+35
| | | | | | | (From OE-Core rev: 68923430069fcc049ad9c5f7830f72c1c3e7d501) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: Update to 18.1.1 releaseKhem Raj2024-03-181-2/+2
| | | | | | | | | This is final release after RC suffix is removed (From OE-Core rev: 8ec8d41087c6c01572b785f5d71983bcce584396) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: git-replacement-native: depend on ca-certificateMax Krummenacher2024-03-181-0/+3
| | | | | | | | | | | | | | | | | git is delegating webacces for URLs using TLS to libcurl. However our native libcurl build does not find a ca-certificate.crt unless its curl-native work dir still exists and thus git will fail. If a recipe uses AUTOREV with a git repo using https as its protocol parsing of that recipe will fail fetching the latest HEAD. Fix that by depending on ca-certificate and give its location to libcurl via git's envrironment variable GIT_SSL_CAINFO. (From OE-Core rev: 2e99ffda70fd95b5eab3de47048032349cd66f4b) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: fix for gtk4 prior to 4.14Markus Volk2024-03-182-1/+43
| | | | | | | | | - add a backport patch to fix compatibility with older gtk4 versions (From OE-Core rev: f8c360a6fac31ae439a3c638750b8e4a0714ed26) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: merge bb and inc filesMarkus Volk2024-03-182-72/+71
| | | | | | | (From OE-Core rev: 371b8e3ed211c9a4d730ed919d815830c7aff138) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: remove pointless linux-firmware-gplv2-license packageRoss Burton2024-03-181-10/+4
| | | | | | | | | | | | | The GPLv2 text is the standard text, so the -carl9170 package can just set LICENSE=GPL-2.0-or-later and the custom license handling removed. Confirmed in the source that the intended license is v2-or-later, not v2-only as WHENCE says. (From OE-Core rev: f6ec30f46182afa27678999ba672f05b2899c77e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: set LICENSE field for -liquidui and -mellanoxRoss Burton2024-03-181-0/+2
| | | | | | | (From OE-Core rev: 9387bd66abf066a2a7260a632e0af1f80be20c32) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add support for deduplicating the firmwareRoss Burton2024-03-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can a non-trivial amount of disk space, but requires rdfind from meta-oe. As duplicate pieces of firmware become links, this reduces the size of individual packages and adds dependencies: linux-firmware-adsp-sst: PKGSIZE changed from 6362678 to 5609999 (-12%) linux-firmware-amdgpu: PKGSIZE changed from 80234502 to 60819841 (-24%) linux-firmware-cirrus: PKGSIZE changed from 1290908 to 1068886 (-17%) linux-firmware-ibt-17: PKGSIZE changed from 2601222 to 1300679 (-50%) linux-firmware-ibt-17: RDEPENDS: added "linux-firmware-ibt-misc" linux-firmware-ibt-20: PKGSIZE changed from 2399511 to 1599721 (-33%) linux-firmware-ibt-20: RDEPENDS: added "linux-firmware-ibt-misc" linux-firmware-ibt-misc: PKGSIZE changed from 22400466 to 13390020 (-40%) linux-firmware-ibt-misc: RDEPENDS: added "linux-firmware-ibt-17" linux-firmware-qcom-qrb4210-audio: RDEPENDS: added "linux-firmware-qcom-qcm2290-audio" linux-firmware-qcom-qrb4210-modem: PKGSIZE changed from 8882947 to 63 (-100%) linux-firmware-qcom-qrb4210-modem: RDEPENDS: added "linux-firmware-qcom-qcm2290-modem" linux-firmware-qcom-sdm845-audio: RDEPENDS: added "linux-firmware-qcom-qcm2290-audio" linux-firmware-qcom-sdm845-compute: RDEPENDS: added "linux-firmware-qcom-qrb4210-compute" linux-firmware-qcom-sdm845-modem: RDEPENDS: added "linux-firmware-qcom-qcm2290-modem" linux-firmware-qcom-sm8250-audio: RDEPENDS: added "linux-firmware-qcom-qcm2290-audio" linux-firmware-qcom-sm8250-compute: RDEPENDS: added "linux-firmware-qcom-qrb4210-compute" linux-firmware-qcom-sm8250-thundercomm-rb5-sensors: RDEPENDS: added "linux-firmware-qcom-sdm845-thundercomm-db845c-sensors" linux-firmware-radeon: PKGSIZE changed from 7105560 to 3343141 (-53%) linux-firmware-radeon: RDEPENDS: added "linux-firmware-amdgpu" linux-firmware-rtl8822: RDEPENDS: added "linux-firmware-rtl8761" linux-firmware-sd8688: RDEPENDS: added "linux-firmware" linux-firmware: RDEPENDS: added "linux-firmware-rtl8761" (From OE-Core rev: 6acca0c04a82af90dca6a160b1b6edb2ec75c967) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix opencl-spirv buildMarkus Volk2024-03-182-0/+57
| | | | | | | | | | | | | | | | https://gitlab.freedesktop.org/mesa/mesa/-/commit/815a6647eb1383e9dc704ffcc266d85f3b13338a adds a regression and breaks opencl-spirv build. The next step in mesa will probably be to completely remove nir in favour of rusticl. https://gitlab.freedesktop.org/mesa/mesa/-/issues/10674 Revert this commit to avoid that the lts version cannot use spirv because rusticl is not yet and opencl-spirv is no longer supported. (From OE-Core rev: 4335436d6dcd6059be784b812f1b1ce4090770a9) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: reproducibility issue fix with v1.75Sundeep KOKKONDA2024-03-181-12/+25
| | | | | | | | | | Patch updated with upstream fix. https://github.com/rust-lang/rust/pull/121959/commits/a9a979839bbdfec48c75d618ab0dce8a953589b8 (From OE-Core rev: 2eceaa4b6ca398ec233b18c1064970bdf68a9258) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: Upgrade 2.6.1 -> 2.6.2Richard Purdie2024-03-181-1/+1
| | | | | | | | Includes a fix for CVE-2024-28757. (From OE-Core rev: e3d26fe076499c8a01e02c9951696c3a9ea05fa3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Prepare for release, drop nanbield LAYERSERIESRichard Purdie2024-03-161-1/+1
| | | | | | | | | As we're close to release, drop compatibility to nanbield, people have had time to switch now. (From OE-Core rev: 0e42326dfd6b9042b405329ceb56a93199a89a85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Remove rejected CVE from databaseYoann Congal2024-03-151-0/+4
| | | | | | | | | | | | When a CVE is updated to be rejected, matching database entries must be removed. Otherwise: * an incremental update is not equivalent the to an initial download. * rejected CVEs might still appear as Unpatched in cve-check. (From OE-Core rev: f276a980b8930b98e6c8f0e1a865d77dfcfe5085) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Fix CVE configuration updateYoann Congal2024-03-151-0/+4
| | | | | | | | | | | | When a CVE is created, it often has no precise version information and this is stored as "-" (matching any version). After an update, version information is added. The previous "-" must be removed, otherwise, the CVE is still "Unpatched" for cve-check. (From OE-Core rev: 641ae3f36e09af9932dc33043a0a5fbfce62122e) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: nvd_request_next: Improve commentYoann Congal2024-03-151-1/+2
| | | | | | | | | | Add a URL to the doc of the API used in the function. ... and fix a small typo dabase -> database (From OE-Core rev: e0157b3b81333a24abd31dbb23a6abebca3e7ba7) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definitionYoann Congal2024-03-151-2/+0
| | | | | | | | | | | | | CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is always inherited in cve-update-nvd2-native (There is a check line 40). Remove it to avoid confusion. Otherwise, this should not change anything. (From OE-Core rev: e5f3f223885c17b7007c310273fc7c80b90a4105) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Add an age threshold for incremental updateYoann Congal2024-03-131-4/+16
| | | | | | | | | | | | | Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to specify the maximum age of the database for doing an incremental update For older databases, a full re-download is done. With a value of "0", this forces a full-redownload. (From OE-Core rev: 74c1765111b6610348eae4b7e41d7045ce58ef86) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Fix typo in commentYoann Congal2024-03-131-1/+1
| | | | | | | | | attmepts -> attempts (From OE-Core rev: dc18aaeda8e810f9082a0ceac08e5e4275bbd0f7) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: Add a workaround for ICE on powerpc64le5.0_M3William Lyu2024-03-081-0/+3
| | | | | | | | | | | | | | | | | | | Fixes [YOCTO #15415] The new openssh version has an ICE on powerpc64le similar to the one on mips/mips64[1]. By adding flag "--without-hardening" to "./configure", compiler option "-fzero-call-used-regs" will be removed when compiling. This prevents certain functions from triggering the following ICE: unimplemented: argument 'used' is not supported for '-fzero-call-used-regs' on this target References [1] https://git.openembedded.org/openembedded-core/commit/?id=5b290566519a87c563945a033cb49863317ad63d (From OE-Core rev: bc793fa9d1fe24c102d91e97b7002b6e637cbfa5) Signed-off-by: William Lyu <William.Lyu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-fitImage: only include valid compatible lineChristian Taedcke2024-03-081-1/+7
| | | | | | | | | | | | | | | | | | | | Without this commit the configuration node includes the compatible line 'compatible = [00];' if EXTERNAL_KERNEL_DEVICETREE is not defined, i.e. if PREFERRED_PROVIDER_virtual/dtb is not used. This prevents u-boot from using this configuration and it prints the message "Could not find configuration node". An additional check also ensures that the written compatible line never contains an empty compatible. The functionality to add the compatible line was added in commit f4c82fb6da89 ("kernel-fitImage: add machine compatible to config section"). (From OE-Core rev: f8f3a52b2f924789552e6a3f889162ff07e0887f) Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go.bbclass: set GOPROXYJose Quaresma2024-03-081-0/+1
| | | | | | | | | | | | | | | | | | The GOPROXY is already correctly defined on the native sys root and this can be checked using the bitbake devshell: | $ go env GOPROXY | https://proxy.golang.org,direct The go_do_compile task calls the compiler directly so the GOPROXY env is not seen because it's not defined in the shell. Defining it explicitly solves this problem and was to avoid setting it in the recipes itself. (From OE-Core rev: e0919a3f7bc26b1ea9fb57740de4a9a3b9253f26) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Check for directory before chmod'ing itKhem Raj2024-03-081-1/+1
| | | | | | | | | | | | | | | | | da9db878a15 systemd: fix dead link /var/log/README add -Dcreate-log-dirs=false which means journal dir will not be generated regardless of VOLATILE_LOG_DIR value if a distro decided to set VOLATILE_LOG_DIR=no this code path will be executes and the directory being operated upon wont exist ending in do_install errors chown: cannot access '/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux/systemd/255.4/image/var/log/journal': No such file or directory (From OE-Core rev: e017f405bf6ae6c269a8c9c981878fd1ad8666b6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bmaptool: Add bmap-tools runtime alias for compatibilityTom Hochstein2024-03-081-0/+4
| | | | | | | | | | | | The rename of bmap-tools to bmaptool creates an incompatibility that will break package feeds. Restore package feed compatibility by adding a bmap-tools runtime alias. Acked-by: Otavio Salvador <otavio@ossystems.com.br> (From OE-Core rev: fba4ac04524c5c3fa04a51b6e0679276327115ad) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: filter out build specific path from the linker flagsChangqing Li2024-03-072-1/+62
| | | | | | | | | | | | | | | patch 0007-exec.go-do-not-write-linker-flags-into-buildids.patch removes linker flags from buildids for not breaking reproducibility, but it seems that this will make go not rebuild when linker flag changes, Refer [1]. So remove this oe-specific patch, and change to filter out build specific path from the linker flags [1] https://github.com/golang/go/issues/63760 (From OE-Core rev: 6873c6cb000b24c1badd0fb8b5cd2d0a31a63096) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove systemd-bus-proxy settingsChen Qi2024-03-071-5/+1
| | | | | | | | | | | | | | systemd-bus-proxy was removed since v230. >From the NEWS file: """ * systemd-bus-proxyd has been removed, as kdbus is unlikely to still be merged into the kernel in its current form. """ (From OE-Core rev: e99003b244507d8586b1f878765aa4a546a767ef) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use RDEPENDS for systemd-vconsole-setupChen Qi2024-03-071-1/+1
| | | | | | | | | | | | | With NO_RECOMMENDATIONS set to "1", systemd-vonsole-setup.service will fail because it invokes /usr/bin/loadkeys, which is from kbd. The RRECOMMENDATION should be changed to RDEPENDS, because it's not a recommenation, instead it's necessary. (From OE-Core rev: 6126d2dfab3f6bafe23d4dce805110784d23acb1) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix dead link /var/log/READMEChangqing Li2024-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | There are 2 issues here: First, in package systemd, there is a file /usr/lib/tmpfile.d/legacy.conf, which will create a symlink to /usr/share/doc/systemd/README.logs during boot time. But for oe, /usr/share/doc/systemd/README.logs is packaged in systemd-doc, which will make /var/log/README is dead link. Second, the symlink /var/log/README in legacy.conf use relative path: "L /var/log/README - - - - ../../usr/share/doc/systemd/README.logs" But for oe, when VOLATILE_LOG_DIR is true, /var/log is a link to /var/volatile/log, so /var/log/README need link to ../../../usr/share/doc/systemd/README.logs, while VOLATILE_LOG_DIR is false, /var/log is a dir, so /var/log/README need link to ../../usr/share/doc/systemd/README.logs. So current symlink in legacy.conf will also make it a dead link when VOLATILE_LOG_DIR is true. Turn off CREATE_LOG_DIRS to avoid these issues. (From OE-Core rev: 18d46e11d85da1f6feaba5a135931e43060024d6) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>