summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* externalsrc: fix dependency chain issuesPeter Suti2023-08-111-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of deleting setscene tasks, now SSTATE_SKIP_CREATION is set instead. This seems to fix the compile issues where the populate_sysroot task was not run when an externalsrc recipe was built as a dependency. [YOCTO #15164] [RP addition: The deltask was added by me in 2012 when the class was created. The trouble is bitbake assumes 'sstate' tasks have a setscene task and by deleting the setscene task, bitbake stops thinking the task can be accelerated. There is other code in the sysroot code which assumes some tasks are always sstate tasks. We cannot delete the task without changes to the way bitbake learns about 'setscene' tasks so the patch is correct, avoiding creating files is the better approach given the way the world works now. There would be concerns about exisitng sstate reuse however this shouldn't occur since SRC_URI changes and that will change the underlying hashes. Hash equivalency could potentially cause issues by joining hashes together again however if the output matches, that shouldn't in theory cause any issue.] (From OE-Core rev: ee4667a24ccdd8c9d547e73aecf661e6a1283890) Signed-off-by: Peter Suti <peter.suti@streamunlimited.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: Fix reproducibility failureRichard Purdie2023-08-111-0/+2
| | | | | | | | | | yat2m can be found within the build or from the recipe-sysroot-native if runtime dependencies are present. The sysroot version has version differences to the in tree copy. Specify the one we want to make the build determinstic. (From OE-Core rev: 1feb5274db6e985e10f58359b148dabb4076917a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/reproducible: Update config to match ongoing changesRichard Purdie2023-08-111-2/+1
| | | | | | | | | | | | | | | We can't have systemd here any longer without usrmerge. We don't really want to enable the latter since having separate usr will likely result in a class of reproducibility and host contamination issues that enabling it might hide. Also drop INHIBIT_PACKAGE_STRIP since we generally don't build with that and the debug binaries should be generated regardless. I suspect this is legacy from older issues. (From OE-Core rev: 7b7411788e805fa067dd672c9771dcaf2af918a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-uninative: Update hashes for uninative 4.1Michael Halstead2023-08-111-4/+4
| | | | | | | | | This version includes fixes to patchelf. (From OE-Core rev: 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: server/process: fix sig handleYang Xu2023-08-111-5/+4
| | | | | | | | | | process.signal_received is a list for signum and not iterable, change a suitable method to handle sig. (Bitbake rev: bfc53b190bd2530c2bfcea0690127d7eff620f45) Signed-off-by: Yang Xu <yang.xu@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kea: upgrade to v2.5.0"Richard Purdie2023-08-102-61/+2
| | | | | | | | This reverts commit 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b. 2.5.0 is a development series and the upgrade should have been to 2.4.x. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kea: upgrade to v2.5.0Sudip Mukherjee2023-08-102-2/+61
| | | | | | | | | | | | | | Changes: Update license checksum: change in copyright year. Update sha256sum for new version. An additinal patch to fix the reproducible build failure. (From OE-Core rev: 4048ddf7fdd6859c43aeb82d85ee0851b3a9177b) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny/6.4: fix HID configuration warningBruce Ashfield2023-08-103-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s): 88ed9ec4909 qemuarm(a15): fix HID warnings in -tiny During the update to 6.4, qemuarm was missed when updating the HID configuration to avoid the following warning: WARNING: linux-yocto-tiny-6.4.9+gitAUTOINC+8dc4f68eb8_72bad8cd75-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_USB_HID' last val (y) and .config val (n) do not match [INFO]: CONFIG_USB_HID : n [INFO]: raw config text: config USB_HID tristate "USB HID transport layer" default y select HID depends on USB && INPUT && USB && HID_SUPPORT help Say Y here if you want to connect USB keyboards, mice, joysticks, graphic tablets, or any other HID based devices to your computer via USB, as well as Uninterruptible Power Supply (UPS) and monitor control devices. You can't use this driver and the HIDBP (Boot Protocol) keyboard and mouse drivers at the same time. More information is available: <file:Documentation/input/input.rst>. If unsure, say Y. To compile this driver as a module, choose M here: the module will be called usbhid. Config 'USB_HID' has the following Direct dependencies (USB_HID=n): USB(=y) && INPUT(=y) && HID_SUPPORT(=n) Parent dependencies are: USB [y] HID_SUPPORT [n] INPUT [y] [INFO]: config 'CONFIG_USB_HID' was set, but it wasn't assignable, check (parent) dependencies (From OE-Core rev: caa6df71a56ef56710c5c62f3e647322b42efd99) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pm-utils: Do not require GNU grep at runtimeKhem Raj2023-08-101-1/+1
| | | | | | | | | | | | | | | | | | | This was added to fix bug reported here [1] back then busybox grep applet did not implement -x option and it would fail as reported in the bug, in due course busybox now has implemented -x option [2] and the expression using grep -x in /usr/lib/pm-utils/functions:219 works fine [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=1887 [2] https://git.busybox.net/busybox/commit/?id=cd09e81520b7917adebcffd7c361671f913325eb (From OE-Core rev: ba52209acc699d71de865e7eddf64c8acb67b491) 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>
* linux-firmware: Fix mediatek mt7601u firmware pathMarek Vasut2023-08-101-1/+1
| | | | | | | | | | | | | The following linux-firmware commit moved the mt7601u firmware blob into a mediatek/ subdirectory, update the path accordingly. 8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek") Fixes: 64603f602d ("linux-firmware: upgrade 20230404 -> 20230515") (From OE-Core rev: 6fa5c4967a7e70192e9233c92534f27ec3e394c8) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcf-agent: Update to 1.8.0 releaseMark Hatle2023-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | New 1.8 release of tcf-agent. Implements DWARF 5 support and various bug fixes. Changelog since last SRCREV: Releng: Upversion TCF to 1.8 Fixed possible SEGFAULT after error message queue overflow Fixed misspelling in a comment TCF Agent: update breakpoint error message Fixed regression: possible segfault in run_safe_events() Bug 581978 - TCF agent wrong handle the call frame debug info generated by LLVM 16 for RISC-V DWARF: a bit faster implementation of dio_ReadAddressX() Bug 581971 - Failed to handle loclist for DWARF 5 Fixed handling of situation when a context resumed or exited during breakpoint evaluation Bug 581799 - when loads .debug_info section from dwarf 5 file, the content of some part are zero Updated examples/daytime/readme.txt (From OE-Core rev: 0c2c7c910fa933bc46f69207f1f7641c1e7b77e0) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libexif: add ptest supportJulien Stephan2023-08-104-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | adds ptest support for libexif Ptest was executed on a core-image-minimal: root@qemux86-64:~# ptest-runner libexif START: ptest-runner 2023-07-12T15:45 BEGIN: /usr/lib/libexif/ptest [...] i==================== All 13 tests passed (1 test was not run) ==================== [...] DURATION: 35 END: /usr/lib/libexif/ptest 2023-07-12T15:45 STOP: ptest-runner TOTAL: 1 FAIL: 0 (From OE-Core rev: 4e2340dfecdfbe22b07161e89de4e25d466820bb) Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade to v9.18.17Sudip Mukherjee2023-08-1010-2/+2
| | | | | | | | | | | | | | | | Changes: Update license checksum: only whitespace change. Update sha256sum for new version. Additional change: Do not use version with the foldername, which will result in less diffstat with future upgrades. (From OE-Core rev: 1eda31b370ab4129ad149c45f1e43a44d6db9241) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.20.6 -> 1.20.7Sakib Sajal2023-08-108-4/+4
| | | | | | | | | | | | | | | | | | | Upgrade to latest 1.20.x release [1]: $ git log --oneline go1.20.6..go1.20.7 origin/release-branch.go1.20 adb775e309 (tag: go1.20.7, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.7 659f2a2207 [release-branch.go1.20] crypto/tls: restrict RSA keys in certificates to <= 8192 bits 10d85fa0f6 [release-branch.go1.20] cmd/asm, cmd/internal/obj: generate proper atomic ops for riscv64 bd3a1f24e7 [release-branch.go1.20] net: tolerate permission errors in interface tests 6211a024b4 [release-branch.go1.20] cmd/compile: on PPC64, fix sign/zero extension when masking [1] https://github.com/golang/go/compare/go1.20.6...go1.20.7 (From OE-Core rev: 039324d917ed124228a14ac1effdd66b27d9e82b) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: don't fail if Modules.symvers doesn't existJoel Stanley2023-08-101-2/+2
| | | | | | | | | | | | | | Kernels that do not use modules do not have the Modules.symvers file, which causes the previous one-liner to fail. Invert the logic so that the absence of the Modules.symvers is a passing situation but we still get failure checking on the install operation. (From OE-Core rev: 856c916ffbf3438d8cf5d8bed344473bde03b56e) Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: save ptest logsOvidiu Panait2023-08-101-4/+7
| | | | | | | | | | | Run test script with --save-logs and --logdir parameters, so the log files can be retrieved in case of failure. (From OE-Core rev: 32fe21e420b1c2a4e7ef9d7c768a22c9a7caa115) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: sync with upstream's defaultChen Qi2023-08-101-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change sync the contents of this file with upstream's ssh_config except for the locally added line 'Include /etc/ssh/ssh_config.d/*.conf'. More specifically the ForwardXXX options are disabled by default, this sync with what ssh_config(5) says about these two items. In addition, the RSAAuthentication items are removed as they are v1 protocol. See the contents of Changelog file in openssh project as below: """ commit bfe19197a92b7916f64a121fbd3c179abf15e218 Author: Darren Tucker <dtucker@dtucker.net> Date: Fri Jul 2 15:43:28 2021 +1000 Remove now-unused SSHv1 enums. sRhostsRSAAuthentication and sRSAAuthentication are protocol 1 options and are no longer used. """ (From OE-Core rev: 01174262c6cb8f6d7b9dbe5292d0f93f72a15691) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-crosssdk: ignore MULTILIB_VARIANTS in signature computationChen Qi2023-08-101-0/+2
| | | | | | | | | | | | | | | | | | | The gcc_multilib_setup function is a function that is run at the do_configure step, so it's counted into the signature computation. The MULTILIB_VARIANTS this function uses is also extracted to be taken into consideration. After the change of setting MULTILIB_VARIANTS explictly vardeps on MULTILIBS, the change of MULTILIBS changes the signature, thus causing rebuilding. However, in case of gcc-crosssdk, the setting of multilib should have no effect on it, as it's used to build nativesdk packages, not the target packages. So ignore MULTILIB_VARIANTS in signature computation. This fixes oe-selftest case sstatetests.SStateHashSameSigs2.test_sstate_nativesdk_samesigs_multilib. (From OE-Core rev: 537c71162a711dec32a63a657c4b101269a3e267) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: explicitly make MULTILIB_VARIANTS vardeps on MULTILIBSChen Qi2023-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is to ensure recipes get rebuilt correctly and avoid incorrect sstate cache reuse when toggling multilib. The following steps show one example of such incorrect sstate cache reuse. 1. enable multilib && bitbake <some_image> -c populate_sdk 2. disable multilib && bitbake <some_image> -c populate_sdk The error message is as below: Error: Problem: conflicting requests - nothing provides binutils-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk - nothing provides gcc-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk - nothing provides gdb-cross-canadian-i686 needed by packagegroup-cross-canadian-intel-x86-64-1.0-r0.x86_64_nativesdk (try to add '--skip-broken' to skip uninstallable packages) We get this error because packagegroup-cross-canadian recipe is not rebuilt when it should be. Current codes have tracked the dependency to MULTILIB_VARIANTS, as shown in the following chain: RDEPENDS:packagegroup-cross-canadian-intel-x86-64 -> all_multilib_tune_values -> MULTILIB_VARIANTS. However, MULTILIB_VARIANTS cannot automatically depend on MULTILIBS. See some results from 'bitbake-dumpsigs' below: List of dependencies for variable MULTILIB_VARIANTS is ['extend_variants'] Variable MULTILIB_VARIANTS value is ${@extend_variants(d,'MULTILIBS','multilib')} It's obvious that the value of MULTILIB_VARIANTS depend on the value of MULTILIBS, so let's set this dependency manually. (From OE-Core rev: 9f47d8eb51816d16078a23c0cef4d697555f913f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade to v1.7.0Sudip Mukherjee2023-08-101-2/+2
| | | | | | | | (From OE-Core rev: 02f34e608197a9a270704dd76e460df8ee0bf6f0) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography{-vectors}: upgrade -> 41.0.3Tim Orling2023-08-102-2/+2
| | | | | | | | | | | | | | https://cryptography.io/en/latest/changelog/#v41-0-3 * Fixed performance regression loading DH public keys. * Fixed a memory leak when using ChaCha20Poly1305. * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.2. (From OE-Core rev: 51f540260e858e77031c569721eb01dba24365c9) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-chardet: upgrade 5.1.0 -> 5.2.0Tim Orling2023-08-101-1/+1
| | | | | | | | | | | | | https://github.com/chardet/chardet/compare/5.1.0...5.2.0 * Adds support for running chardet CLI via python -m chardet (0e9b7bc, @dan-blanchard) (From OE-Core rev: 68a80de82010757524c71b4a8399bd879425320d) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add additional timing-related test skipsTrevor Gamblin2023-08-101-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | | The following tests have been seen failing intermittently on the autobuilder: test.test_multiprocessing_forkserver.WithManagerTestBarrier.test_timeout test.test_time.TimeTestCase.test_thread_time Since these could be affected by AB systems under heavy load, disable them. New test outputs: test_timeout (test.test_multiprocessing_fork.WithProcessesTestBarrier.test_timeout) SKIP: Test wait(timeout) 'timing related test, dependent on load' ... SKIP: test_thread_time (test.test_time.TimeTestCase.test_thread_time) 'timing related test, dependent on load' [YOCTO # 15131] [YOCTO # 15177] (From OE-Core rev: 4da3b653e0fad52e7af97328b49e40d5179ddfe5) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* epiphany: upgrade 44.5 -> 44.6Markus Volk2023-08-101-1/+1
| | | | | | | | | | | | | | | | | 44.6 - July 28, 2023 ==================== * Hide "Search the Web for" context menu item in web app mode (#2097, Cleo Menezes Jr.) * Fix Save Password? permission requests, broken since 44.4 (#2113) * Fix unencoded % characters in URLs causing session to fail to save (#2128, Vanadiae) * Fix web views not being destroyed when window is closed (#2130) * Hopefully fix crash in ephy_sqlite_connection_create_statement (#2132) (From OE-Core rev: 048c10296b843f49e6155cfbd7af92a43763a1c3) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: upgrade 2.40.2 -> 2.40.5Markus Volk2023-08-103-73/+1
| | | | | | | | | | | | | | | | | | | | | | | | - Remove unneeded patches What’s new in the WebKitGTK 2.40.5 release? - Fix several crashes and rendering issues. What’s new in the WebKitGTK 2.40.4 release? - Fix a bug in JavaScript reading variable arguments in a call. What’s new in the WebKitGTK 2.40.3 release? - Make memory pressure monitor honor memory.memsw.usage_in_bytes if exists. - Include key modifiers in wheel events. - Apply cookie blocking policy to WebSocket handshakes. - Remove accidental dependency on GLib 2.70. - Fix the build with BUBBLEWRAP_SANDBOX disabled. - Fix several crashes and rendering issues. (From OE-Core rev: c2f10d54341d84dcb21aaabe0828bff774de4f6e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: remove unused AUTHOR variableMichael Opdenacker2023-08-1012-13/+1
| | | | | | | | | | | | No longer used in generating packages Also creates a possible confusion with the recipe maintainer name. (From OE-Core rev: 9d5edd124b7dddb995ceddd79f8a7fc8cf44badf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: extract generic kernel CVE_STATUSRoss Burton2023-08-093-0/+12
| | | | | | | | | | | | | Some of the CVE_STATUS assignments are not specific to the version, so move them to an unversioned file and include it in the recipes. For example: some CVEs are disputed, or are specific to other distributions. (From OE-Core rev: d8656d9d4dfcaef6b492f5bf4cb003f16d7a3a4b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: upgrade to 2.56.3Ross Burton2023-08-092-217/+199
| | | | | | | | | This includes the fix for CVE-2023-38633. (From OE-Core rev: 26df3c30a7dfed79b7b8c724eb1ef03e463b79b4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: upgrade to 9.3p2Ross Burton2023-08-091-1/+1
| | | | | | | | | | | | | | | 9795c401 (tag: V_9_3_P2) OpenSSH 9.3p2 bde3635f update version in README f673f2f3 update RPM spec versions d7790cdc disallow remote addition of FIDO/PKCS11 keys b23fe83f terminate pkcs11 process for bad libraries This includes the fix for CVE-2023-38408. (From OE-Core rev: 7ae89bdeaa97c8d6a0b63e92da31290548f03168) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: ignore CVE-2023-38560Ross Burton2023-08-091-0/+2
| | | | | | | | | | | The ghostscript recipe isn't vulnerable to CVE-2023-38560, as this is an issue in the GhostPCL release, whereas this recipe is the Ghostscript release. (From OE-Core rev: f82a13beabc784da1455f86064ce9f0f225b6e5a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ghostscript: backport fix for CVE-2023-38559Ross Burton2023-08-092-0/+32
| | | | | | | (From OE-Core rev: 38478a82598260e5e0616598e8cf78416dac1867) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: add script to generate kernel CVE_STATUS entriesRoss Burton2023-08-093-605/+10023
| | | | | | | | | | | | | | | | | | | | | | | | Instead of manually looking up new CVEs and determining what point releases the fixes are incorporated into, add a script to generate the CVE_STATUS data automatically. First, note that this is very much an interim solution until the cve-check class fetches data from www.linuxkernelcves.com directly. The script should be passed the path to a local clone of the linuxkernelcves repository[1] and the kernel version number. It will then write to standard output the CVE_STATUS entries for every known kernel CVE. The script should be periodically reran as CVEs are backported and kernels upgraded frequently. [1] https://github.com/nluedtke/linux_kernel_cves (From OE-Core rev: 8cb184f9de9b0ce5f465ea12ba24beafd6673f01) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: bootimg-efi: Stop hardcoding VMA offsetsAlexandre Belloni2023-08-091-14/+49
| | | | | | | | | | | | | | | | Section VMA's are currently hardcoded. This doesn't work anymore starting with systemd-boot v254. Follow the actually solution to this which is documented here: https://wiki.archlinux.org/title/Unified_kernel_image#Manually This is also used by dracut. Later on, we may want to switch to ukify instead but this is not ready yet. (From OE-Core rev: 3abf99a6c6bde2fb8770f54dba609b35f6c6ee5a) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add a packageconfig to support colored logsMarkus Volk2023-08-091-0/+1
| | | | | | | | | | | journald uses less to display logs. less.busybox can do the job, but it rips out support for color/highlighting. (From OE-Core rev: 2e9b41b23695bb3517ad33ccb02ae19ca30326c6) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: Ensure EFI_LD is also passed to compiler driverKhem Raj2023-08-091-0/+1
| | | | | | | | | | | Where compiler driver is used for linking ensure bfd linker is used as well so its consistent when called directly or via compiler (From OE-Core rev: d497362d52bd934101e7d7a49eeee0fffb0f4f46) 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>
* systemd: fix efi stubsJose Quaresma2023-08-092-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the patch: | $ objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub | objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored | objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub (.reloc): section flag STYP_GROUP (0x4) ignored | objdump: deploy/images/intel-corei7-64/linuxx64.efi.stub: file format not recognized After the patch: | $objdump -h deploy/images/intel-corei7-64/linuxx64.efi.stub | | deploy/images/intel-corei7-64/linuxx64.efi.stub: file format pei-x86-64 | | Sections: | Idx Name Size VMA LMA File off Algn | 0 .text 0000f99f 000000014df91000 000000014df91000 00000400 2**4 | CONTENTS, ALLOC, LOAD, READONLY, CODE | 1 .rodata 00002c40 000000014dfa1000 000000014dfa1000 0000fe00 2**2 | CONTENTS, ALLOC, LOAD, READONLY, DATA | 2 .data 000002d8 000000014dfa4000 000000014dfa4000 00012c00 2**4 | CONTENTS, ALLOC, LOAD, DATA | 3 .sdmagic 00000032 000000014dfa5000 000000014dfa5000 00013000 2**2 | CONTENTS, ALLOC, LOAD, READONLY, DATA | 4 .reloc 00000080 000000014dfa6000 000000014dfa6000 00013200 2**2 | CONTENTS, ALLOC, LOAD, READONLY, DATA (From OE-Core rev: 2d4a5305c8b7a5fb15086a86dfdc64630c686602) 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>
* oeqa/selftest/ssate: Add test for find_siginfoYang Xu2023-08-092-0/+85
| | | | | | | | | | Previously some dependencies couldn't be followed through their siginfo files. This has been fixed, add a test to ensure this doesn't regress. (From OE-Core rev: a59cd1502ff14c5d8ccb04385bf4a3ad338d998d) Signed-off-by: Yang Xu <yang.xu@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig: Update to match bitbake changes to runtaskdepsRichard Purdie2023-08-091-5/+9
| | | | | | | | | | | Bitbake has changes to runtaskdeps in siginfo files to fix bugs in being able to locate them for sstate and hash debugging purposes. This patch updates to match the changes to the format. (From OE-Core rev: 4f1148eeab2500022d7e17feadf80027a01a51f1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: siggen: Improve runtaskdeps data to fix sstate debuggingRichard Purdie2023-08-092-118/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The runtaskdep data in siginfo files was written out with full paths to the bb files, matching bitbake's internal "unique key" ID for recipes/tasks. When originally implemented this made sense. Over time, the main use for the data in siginfo files has become to match against other siginfo files to debug changes of hash calcuations. The recipename data is not useful for this as the siginfo filenames use PN instead which can often be derived from the recipe filename but not always. It is time to throw away the 'tid' data format and switch over the use a hybrid PN form which includes the multiconfig. That can be easily stripped off in the find_siginfo code in oe-core. The other purpose of having a sortable dependency ID is retained and the multiconfig needs to be included to allow the taskhashes to be processed and calculated correctly. PN is meant to be unique between recipes, only one would ever be built so using PN in this location is fine. The one risk of this change is there isn't any compatibility to the old format. I'm not convinced we should spend time complicating the code with it. This change will change the taskhashes everywhere so the only mixing of old and new siginfo files will be either through hash equivalence or through users using the tool against old and new info files manually which will give some weird output but it should be clear they're in different formats as there would be large paths from the old files not present in the new ones. We have options to add backwards compatibility if some issue is found to need that. (Bitbake rev: 637933e2e5a59228a8d17aae4160551cab5f2f61) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemuboot/runqemu: Fix 6.2 and later kernel network device namingRichard Purdie2023-08-092-2/+2
| | | | | | | | | | | | | With kernel 6.2 and later network devices are renamed by systemd. This does not match with the current network device naming assumed in our configuration. We may or may not change that naming but for now, pass the right kernel commandline so things work as expected with newer kernels and removing a blocker on upgrading to the 6.4 kernel by default. (From OE-Core rev: 9e9c33d51e401fe2b4a632db74ccb3449e4b23ee) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-hello-world: Drop recipeFrederic Martinsons2023-08-095-59/+0
| | | | | | | | | | we now have more rust/cargo recipes and tests that cover various use cases so this is no longer needed. (From OE-Core rev: 8baaf94d200f5355791ecd980727698b1ab0e539) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo_common.bbclass: Handle Cargo.lock modifications for git dependenciesFrederic Martinsons2023-08-091-0/+41
| | | | | | | | | | | | | Now we use --frozen, Cargo.lock cannot be modified by cargo build. These patched git dependencies requires that the git url is removed from Cargo.lock. Fixes #15104 (From OE-Core rev: b80f756dd480fc92f58d7e10105d3a2427a32795) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo.bbclass: Use --frozen flag for cargo operationsFrederic Martinsons2023-08-091-1/+6
| | | | | | | | | | It supersed the --offline flag and guarantee that Cargo.lock file will not be modified during the build. (From OE-Core rev: 9ff9e6523bd7eb6cdc854adcbd031085c536e0e6) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: ensure all ptest failures are caughtAlexander Kanavin2023-08-092-1/+3
| | | | | | | | | | | | | Piping results through sed is masking failures that aren't picked up by sed expressions. One such failure probes the source tree, and so isn't relevant for target testing, and can be disabled. (From OE-Core rev: 86c96cbf68d986b44fdb45e988343ce29d6b8cc7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-files: bump PR because conf files are now sortedAlexandre Belloni2023-08-091-1/+1
| | | | | | | (From OE-Core rev: 5da3a7a5654ce36bba664c5ccdd5d3fba27a4647) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: always sort the conffilesJean-Marie Lemetayer2023-08-091-1/+1
| | | | | | | | | | | | To improve package reproducibility, the conffiles order should not be directly linked to the file system. Sorting the conffiles solves this issue. (From OE-Core rev: c7800fa825fa610327e3d2ee8c5707973b726a83) Signed-off-by: Jean-Marie Lemetayer <j.lemetayer@kerlink.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: depend on util-linux's swapon/offRoss Burton2023-08-091-1/+1
| | | | | | | | | | systemd brings up swap partitions with swapon --fixpgsz, which busybox's implementation doesn't support. (From OE-Core rev: c7b39bb6319f21c6df6c2d25086f82154efdf5f6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set correct paths for kdb binariesRoss Burton2023-08-091-2/+2
| | | | | | | | | | | The kbd binaries (loadkeys and setfont) are installed to bindir, not base_bindir. Fixes: 94ccc7acc4a871f5bb7ab8e135e70b5519eff6ad (From OE-Core rev: 458fdd085beb14572e5a1ed0f94861cf10648725) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: fix qemuarm boot failureBruce Ashfield2023-08-093-13/+13
| | | | | | | | | | | Integrating the following commit(s) to linux-yocto/6.4: 72bad8cd7540 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var (From OE-Core rev: 366d7876a70ab8833ccc0cb6607aac7e8a0311b8) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: update to v6.4.9Bruce Ashfield2023-08-093-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 38ca69782268 Linux 6.4.9 2692b1574ad9 x86: fix backwards merge of GDS/SRSO bit cf482893f721 xen/netback: Fix buffer overrun triggered by unusual packet 9b73a2a43f4d x86/srso: Tie SBPB bit setting to microcode patch detection 4974bd4b1385 x86/srso: Add a forgotten NOENDBR annotation b155f54a92b0 x86/srso: Fix return thunks in generated code b31eb84b6756 x86/srso: Add IBPB on VMEXIT 948e43310c20 x86/srso: Add IBPB bf46b6249f26 x86/srso: Add SRSO_NO support dc399c66209b x86/srso: Add IBPB_BRTYPE support acdc883eb61e x86/srso: Add a Speculative RAS Overflow mitigation d351cc7c14a6 x86/bugs: Increase the x86 bugs vector size to two u32s 7be4a6b1128c Documentation/x86: Fix backwards on/off logic about YMM support 2f94fb4a4231 x86/xen: Fix secondary processors' FPU initialization 6a592d977a0d x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build 6f29afbba8fc KVM: Add GDS_NO support to KVM 4da542e6b2bb x86/speculation: Add Kconfig option for GDS c73393948612 x86/speculation: Add force option to GDS mitigation ff0642207e24 x86/speculation: Add Gather Data Sampling mitigation 71c140aa6327 x86/fpu: Move FPU initialization into arch_cpu_finalize_init() 7e56c238ff4a x86/fpu: Mark init functions __init 6c69f14c3e67 x86/fpu: Remove cpuinfo argument from init functions 121887418638 x86/init: Initialize signal frame size late 03e244a37a41 init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init() 5dc85ed21b9c init: Invoke arch_cpu_finalize_init() earlier f9a4f2ba337c init: Remove check_bugs() leftovers 50455d685b65 um/cpu: Switch to arch_cpu_finalize_init() 4b61f3683da0 sparc/cpu: Switch to arch_cpu_finalize_init() 65b2da915cf9 sh/cpu: Switch to arch_cpu_finalize_init() 09afafc754b3 mips/cpu: Switch to arch_cpu_finalize_init() 626fefa0ba15 m68k/cpu: Switch to arch_cpu_finalize_init() 3868a6a35c95 loongarch/cpu: Switch to arch_cpu_finalize_init() 2156182d8f66 ia64/cpu: Switch to arch_cpu_finalize_init() 81da5576db4e ARM: cpu: Switch to arch_cpu_finalize_init() f2aef93c0bc7 x86/cpu: Switch to arch_cpu_finalize_init() e5b3acb81bd2 init: Provide arch_cpu_finalize_init() (From OE-Core rev: 5bed09b127c977214f66ebaf63f2bdc1e1d4bde5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>