summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* connman: upgrade 1.42 -> 1.43Changhyeok Bae2024-09-203-210/+1
| | | | | | | | | | | | | | | | | | | | Changlog: - Fix issue with device creation when using LTE. - Fix issue with regulatory domain when powering up. - Fix issue with resolving ISO3166 code from timezone data. - Fix issue with handling DNS proxy zero termination of buffers. - Fix issue with handling DHCP packet length in L3 mode. - Fix issue with handling DHCP upper length checks. - Fix issue with handling IPv6 and URL parsing. - Fix issue with handling online check updates. - Fix issue with handling proxy method and WISPr. - Fix issue with handling default gateway setup. - Add support for low-priority default routes. (From OE-Core rev: 467d28f5d243d821722cf8dcdbb9675a2820cd4f) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iputils: upgrade 20240117 -> 20240905Changhyeok Bae2024-09-201-1/+1
| | | | | | | | | | | | | | | | | Changelog: - Allow to disable reverse DNS resolution (PTR lookup) with with environment variable IPUTILS_PING_PTR_LOOKUP=0 - Lower max allowed -s value to 65507 (IPv4) or 65527 (IPv6). That is the maximum the Linux kernel supports. - Include pre-generated man pages & HTML docs in dist tarballs. This allows to avoid libxslt, docbook, ... as a build dependencies. - require meson >= 0.44 - ping has new option -3 (From OE-Core rev: 6e950f5edd36a2ef1b1a7c46c1bb860ddce7a70f) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-glib: upgrade 1.8.0 -> 1.10.0Wang Mingyu2024-09-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: Add copyright and licensing metadata to all files Changed to LGPL-2.1-or-later Changelog: ========== - Improve conformance of the JSON parser - Add conformance test suite from https://github.com/nst/JSONTestSuite - Add JsonParser:strict to enable strict parsing - Add '--strict' to json-glib-validate to enable strict parsing - Deprecate the signals on JsonParser - Port tools man pages from DocBook to reStructureText - Add "documentation" configuration option, and deprecate "gtk_doc" - Add JsonGenerator.take_root() - Documentation improvements for JsonReader - Raise parser error for malformed Unicode - Build fixes and performance improvements - Allow disabling installed tests - Support parsing multiple root statements in non-strict mode - Allow loading files >4GB with json-glib-validate (From OE-Core rev: 78402af3e1d893d9554ab71c8a423b80e24af0d8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* doc/features: describe distribution feature pni-nameJörg Sommer2024-09-201-0/+4
| | | | | | | | | (From yocto-docs rev: c32b55b3403dcfd76a4694ff407d4b513e14c8f4) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* doc/features: remove duplicate word in distribution feature ext2Jörg Sommer2024-09-201-1/+1
| | | | | | | | (From yocto-docs rev: 20a5986ec3395f83e8469b08dd79f019e2051626) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionyocto-5.1styhead-5.1Richard Purdie2024-09-171-1/+1
| | | | | | (From OE-Core rev: 161c5b311f1aeb8f254dca96331b31d5b67fc92d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump version for 5.1 styhead releaseRichard Purdie2024-09-171-3/+7
| | | | | | | | | Also update sanity tested distros to list distros on the typhoon and valkyrie clusters which are known to work. (From meta-yocto rev: d2ff1a0780456681ca0747cdf7aa79d6002cf70a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2024-09-171-1/+1
| | | | | | (From OE-Core rev: 4d27344f0cd414dee71bded529536616cef277c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/install-buildtools: Update to 5.0.3Richard Purdie2024-09-171-2/+2
| | | | | | | | Update to the 5.0.3 release of the 5.0 series for buildtools. (From OE-Core rev: c922ca720a0c3b7b4d3d3187539e7cf77d93d457) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: toaster: Update fixtures for styheadRichard Purdie2024-09-173-12/+75
| | | | | | | | Add styhead. Also fix a typo in the usage instructions. (Bitbake rev: d3c84198771b7f79aa84dc73061d8ca071fe18f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/gomod: Support URIs with only a hostnamePeter Kjellerstedt2024-09-171-2/+6
| | | | | | | | | | | | | | | | When calculating the module name for a gomod URI with only a hostname, e.g.: gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c the non-existing path would actually be treated as "/", which resulted in a trailing slash being added to the module name preventing the unpack method from correctly locating the go.mod file. (Bitbake rev: f0e02e1de4d649e647e4ab61341042dd38d0eeb0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: add patch to check for kernel header version when compiling ↵Jon Mason2024-09-172-0/+54
| | | | | | | | | | | | | | | | | | | | | macsec When using Arm binary toolchain, version 2.11 of wpa-supplicant is failing to compile with the following error: | ../src/drivers/driver_macsec_linux.c:81:29: error: field ‘offload’ has incomplete type | 81 | enum macsec_offload offload; | | Backport a recent patch that corrects the issue by adding a check for the version of kernel headers being used in compilation and disabling that enum if too old a version is being used (or is used by the binary toolchain). (From OE-Core rev: 373d8d4f5316416d70eb2c0733d9838e57419ac3) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: remove redundant patch for MAX_INPUTGuðni Már Gilbert2024-09-172-27/+0
| | | | | | | | | | | | | The solution to the problem upstream was fixed by the following commit: https://github.com/bluez/bluez/commit/ca6546fe521360fcf905bc115b893f322e706cb2 Now MAX_INPUT is defined for non-glibc systems such as musl. This fix was added in BlueZ 5.67. (From OE-Core rev: fea1bb917ebb1f99c83dbbc87a6f0ffc3627879a) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_qa: fix error handlingLouis Rannou2024-09-172-6/+7
| | | | | | | | | | | | | | | | Make ImageQAFailed inherit BBHandledException so exceptions raised in tests are catched when the actual test function is executed by bb.utils.better_exec. Change the do_image_qa tasks so errors are handled with oe.qa.handle_error. Add some comment to explain this requires to list the test in ERROR_QA or WARN_QA. [YOCTO #14807] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14807 (From OE-Core rev: 905e224849fbbed1719e0add231b00e2d570b3b4) Signed-off-by: Louis Rannou <louis.rannou@non.se.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: mark TCLIBCAPPEND as deprecatedRoss Burton2024-09-171-0/+1
| | | | | | | | | | | In oe-core ebcd355 TCLIBCAPPEND (a string that is appended to TMPDIR) was removed entirely. Warn if this is being set by the distro as it will no longer have any effect. (From OE-Core rev: 992ba784c168710328749fd61a0e2869df519dea) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add new package for cc33xx firmwareSabeeh Khan2024-09-171-1/+7
| | | | | | | | | | | Add the firmware package for the TI CC33xx firmware. The TI CC33xx family are combo WLAN and BLE devices supporting 802.11ax and BLE 5.4. (From OE-Core rev: b618504e496a5df84cfc8d6b90ba295f8f0497e4) Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: Update base uri PhilipHazel -> PCRE2ProjectKhem Raj2024-09-171-1/+1
| | | | | | | (From OE-Core rev: bd6d18228835773163a085070651e13ed961d66d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: Fix non-deterministic configure option for libsamplerateRichard Purdie2024-09-171-0/+1
| | | | | | | | | The libsamplerate option was floating and being enabled on some systems and not others. Fix this to be deterministic. (From OE-Core rev: 61455a839e568a3ae7e059ea95c02a1c88d39e1a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-tiny: Drop TCLIBCAPPENDRichard Purdie2024-09-171-3/+0
| | | | | | | | This is no longer needed/supported. That solves the FIXME I guess! (From meta-yocto rev: 9ea01f67bb15c78cd7ba0efe1dfc8861f21f9825) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Revert "fetch2/gitsm: use configparser to parse .gitmodules"Martin Jansa2024-09-161-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a4f42e396e2942fde94b8b4944487c1c45f7a295. Unfortunately configparser is a bit more strict and fails to parse e.g.: https://github.com/espressif/esp-idf/blob/e104dd7f27d2e73ab0e9b614dd7b9295099069bf/.gitmodules [submodule "components/bt/controller/lib_esp32"] path = components/bt/controller/lib_esp32 url = ../../espressif/esp32-bt-lib.git The url is using 8 spaces while path 1 tab causing: Exception: configparser.NoOptionError: No option 'url' in section: 'submodule "components/bt/controller/lib_esp32"' It was fixed in: https://github.com/espressif/esp-idf/commit/62ca8e2fb478a1cdc0e47003025265cd0d840395#diff-fe7afb5c9c916e521401d3fcfb4277d5071798c3baf83baf11d6071742823584 but mcuboot is using a bit older esp-idf revision in: https://github.com/ATmobica/mcuboot/blame/main/.gitmodules and mcuboot is then used as submodule in: https://github.com/project-chip/connectedhomeip/blob/master/.gitmodules so it might take a while for the fix to be propagated everywhere. Not sure how common these issues are, but configparser parses "url = ../../espressif/esp32-bt-lib.git" as 2nd line of "path" value (because it's indented differently) while git submodule and old gitsm implementation parses it as separate path and url keys. (Bitbake rev: d9eb2650256292a524a0c0bb1c0562d87bedcbc4) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: check for working user namespacesRoss Burton2024-09-131-0/+24
| | | | | | | | | | | | | | | | If user namespaces are not available (typically because AppArmor is blocking them), alert the user. We consider network isolation sufficiently important that this is a fatal error, and the user will need to configure AppArmor to allow bitbake to create a user namespace. [ YOCTO #15592 ] (From OE-Core rev: b6af956fe6e876957a49d4abf425e8c789bf0459) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Upgrade 3.12.5 -> 3.12.6Divya Chellam2024-09-133-244/+9
| | | | | | | | | | | | | | | | Includes security fixes for CVE-2024-7592, CVE-2024-8088, CVE-2024-6232 and other bug fixes. Removed below patches, as the fix is included in 3.12.6 upgrade: 1. CVE-2024-7592.patch Release Notes: https://www.python.org/downloads/release/python-3126/ (From OE-Core rev: aa492b1fd5973c37b8fa2cd17d28199eba46afcc) Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.10: cfg: arm64 configuration updatesBruce Ashfield2024-09-133-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/.: 1/2 [ Author: Ross Burton Email: ross.burton@arm.com Subject: features/security: fix Meltdown/Spectre configurations Date: Thu, 12 Sep 2024 16:42:50 +0100 These are both specific to x86 so move them into the x86 file, and were renamed to have a MITIGATION_ prefix in 6.9. 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: update for 6.10 kconfig symbol renames Date: Thu, 12 Sep 2024 16:42:51 +0100 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] (From OE-Core rev: dcf2879bb3ac663509743c760042e93cbc5d447e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.6: update to v6.6.50Bruce Ashfield2024-09-133-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/6.6 to the latest korg -stable release that comprises the following commits: ad07a29023ce Linux 6.6.50 9d24eaa21731 i2c: Use IS_REACHABLE() for substituting empty ACPI functions f5e9a22d19bb virtio_net: Fix napi_skb_cache_put warning d8915d271630 media: uvcvideo: Enforce alignment of frame and interval e3a95f29647a drm/amd/display: Skip wbscl_set_scaler_filter if filter is null e50bec62acae drm/amd/display: Check BIOS images before it is used 67cf14c04ff0 drm/amd/display: use preferred link settings for dp signal only 800a5ab673c4 drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX 154a50bf4221 drm/amd/display: added NULL check at start of dc_validate_stream da696cbb4794 drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay 381113ef01e2 drm/amdgpu: add lock in kfd_process_dequeue_from_device ddfe95f2e1fc drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb 494b42f35fc2 drm/amdgpu: add skip_hw_access checks for sriov 2e91ea29622c block: remove the blk_flush_integrity call in blk_integrity_unregister 72f022ebb9de driver: iio: add missing checks on iio_info's callback access 6290d3f5883d f2fs: fix to do sanity check on blocks for inline_data inode 862b19f0b1c2 wifi: cfg80211: make hash table duplicates more survivable 63ca5b467011 hwmon: (k10temp) Check return value of amd_smn_read() 20bf2920a869 dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor cd3851ef3f7d dmaengine: altera-msgdma: use irq variant of spin_lock/unlock while invoking callbacks 9d567126474e drm/bridge: tc358767: Check if fully initialized before signalling HPD event via IRQ d9612c66af36 gfs2: Revert "Add quota_change type" d93a2f86b0a9 crypto: stm32/cryp - call finalize with bh disabled 68957f511ba4 drm/meson: plane: Add error handling ae9018e3f61b net/mlx5e: SHAMPO, Fix incorrect page release 0b722b813c7d platform/chrome: cros_ec_lpc: MEC access can use an AML mutex 4be9fd15c3c8 smack: tcp: ipv4, fix incorrect labeling 4c1145144c94 regmap: spi: Fix potential off-by-one when calculating reserved size 54a11ce4ff2a drm/amdgu: fix Unintentional integer overflow for mall size 69f397e60c3b net: remove NULL-pointer net parameter in ip_metrics_convert fc1b1e135c3f fsnotify: clear PARENT_WATCHED flags lazily 3b9f2d9301ae usb: typec: ucsi: Fix null pointer dereference in trace 73ec94aac593 usbip: Don't submit special requests twice f576acf75227 media: v4l2-cci: Always assign *val 37d9fd31347e rcu/nocb: Remove buggy bypass lock contention mitigation f9a9cf96c3d4 pwm: xilinx: Fix u32 overflow issue in 32-bit width PWM mode. 04e787f836e2 ionic: fix potential irq name truncation fd867e74fa4d RDMA/efa: Properly handle unexpected AQ completions 220725de5aa5 soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host() a6978d1b7bb8 hwspinlock: Introduce hwspin_lock_bust() e51077ad1bf4 wifi: mac80211: check ieee80211_bss_info_change_notify() against MLD 7cdb51585589 PCI: al: Check IORESOURCE_BUS existence during probe ea37096a6a92 cpufreq: scmi: Avoid overflow of target_freq in fast switch 0bd1be7e84f5 wifi: iwlwifi: remove fw_running op 0798e4330b54 drm/amdgpu: update type of buf size to u32 for eeprom functions cdc65b5f9998 drm/kfd: Correct pinned buffer handling at kfd restore and validate process 1107129305c1 wifi: rtw89: ser: avoid multiple deinit on same CAM 7e8d106ca98a drm/amd/pm: check negtive return for table entries 7d265772e44d drm/amdgpu: the warning dereferencing obj for nbio_v7_4 025798f44b8d drm/amd/pm: check specific index for smu13 d0230b372068 drm/amd/pm: check specific index for aldebaran 4ab720b6aa1e drm/amdgpu: fix the waring dereferencing hive 0aad97bf6d0b drm/amdgpu: fix dereference after null check d116bb921e8b drm/amdgpu: Fix the warning division or modulo by zero 58350786dbbd drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs eba7c58b7a83 wifi: ath11k: initialize 'ret' in ath11k_qmi_load_file_target_mem() 17d89c79181e wifi: ath12k: initialize 'ret' in ath12k_qmi_load_file_target_mem() 59f742e55a46 apparmor: fix possible NULL pointer dereference f163ba83e607 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device d0a43bf367ed drm/amdgpu: fix mc_data out-of-bounds read warning f2b7a9f3839e drm/amdgpu: fix ucode out-of-bounds read warning f9267972490f drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number e6ea3b8fe398 drm/amdkfd: Check debug trap enable before write dbg_ev_file a60d1f7ff62e drm/amdgpu: Fix out-of-bounds write warning f71ef2bb69dd drm/amdgpu: Fix the uninitialized variable warning 3ad44174a576 drm/amdgpu/pm: Fix uninitialized variable agc_btc_response 3e04fa97077d drm/amdgpu/pm: Fix uninitialized variable warning for smu10 97667de35ba7 drm/amd/pm: fix uninitialized variable warnings for vangogh_ppt 4dfec5f5501a drm/amd/amdgpu: Check tbo resource pointer 4003bac78438 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 8406158a5464 drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration 3dc6bb57dab3 drm/amd/display: Ensure index calculation will not overflow 94b0689984dd drm/amd/display: Fix Coverity INTEGER_OVERFLOW within decide_fallback_link_setting_max_bw_policy af43ed726fa5 drm/amd/display: Spinlock before reading event 313d3dd4ca0e drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create 13faa9d401a5 drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info cb63090a17d3 drm/amd/display: Check msg_id before processing transcation 21f9cb44f8c6 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[] 8b5ccf3d0119 drm/amd/display: Add array index check for hdcp ddc access 48e0b68e2360 drm/amd/display: Check index for aux_rd_interval before using 94cb77700fa4 drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6 08e7755f754e drm/amd/display: Check gpio_id before used as array index 30e60db4296c drm/amdgpu: avoid reading vf2pf info size from FB 1a2c89396ddc drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr f1e261ced9bc drm/amd/pm: fix the Out-of-bounds read warning 4711b1347cb9 drm/amd/pm: Fix negative array index read 59dd0d4b3326 drm/amd/pm: fix warning using uninitialized value of max_vid_step 1dbce92f3250 drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr fc0cb02efdfb drm/amd/pm: fix uninitialized variable warning a2f2beaba783 drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc da22d1b98d9d drm/amdgpu: fix overflowed array index read warning d2fe7ac613a1 drm/amd/display: Assign linear_pitch_alignment even for VM 761964b756c6 drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr 3d2e1b82558b mptcp: pr_debug: add missing \n at the end a088190f3fbf mptcp: avoid duplicated SUB_CLOSED events 1f4ca105abb5 selftests: mptcp: join: stop transfer when check is done (part 2.2) 5803af655fd5 selftests: mptcp: join: disable get and dump addr checks 81f2e73e73fb selftests: mptcp: join: test for flush/re-add endpoints f9ca09beedda selftests: mptcp: join: check re-re-adding ID 0 signal a417ef47a665 selftests: mptcp: join: validate event numbers b66609e9aa7c selftests: mptcp: add mptcp_lib_events helper 0a37a0ec0d7d selftests: mptcp: join: check re-adding init endp with != id 43ca9a10d052 selftests: mptcp: join: check re-using ID of unused ADD_ADDR a95e3e702ce4 selftests: mptcp: add explicit test case for remove/readd 8863e430e6dc selftests: mptcp: join: cannot rm sf if closed a17d1419126b selftests: mptcp: declare event macros in mptcp_lib 485bb1981a2e selftests: mptcp: userspace pm get addr tests 1b8af4ba00b2 selftests: mptcp: dump userspace addrs list 05867195c96f selftests: mptcp: userspace pm create id 0 subflow 2a72ceb86359 mptcp: pm: fix RM_ADDR ID for the initial subflow 0229074a5170 mptcp: make pm_remove_addrs_and_subflows static 489f245e00f0 ASoC: codecs: ES8326: button detect issue 2eb143e0962c ASoC: amd: yc: Support mic on Lenovo Thinkpad E14 Gen 6 cc300463aa06 net: usb: qmi_wwan: add MeiG Smart SRM825L 2ea1fab2df6c dma-debug: avoid deadlock between dma debug vs printk and netconsole b1322bc32a34 i2c: Fix conditional for substituting empty ACPI functions 8b28f8c5d124 spi: hisi-kunpeng: Add validation for the minimum value of speed_hz 533e175c82ad ASoC: amd: yc: Support mic on HP 14-em0002la 77e5d743a8cf smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp ad3bc43e7296 net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule f8b39e2da7d9 ALSA: seq: ump: Explicitly reset RPN with Null RPN 9062e98473a9 ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception 7c34c6894779 ALSA: seq: ump: Use the common RPN/bank conversion context 4ed4e84939ac ALSA: ump: Explicitly reset RPN with Null RPN 5a494fdbfc63 ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception bd819563d5c3 ALSA: hda/conexant: Mute speakers at suspend / shutdown 8f11fbe1199b ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown 9b090ccd80cc btrfs: tree-checker: validate dref root and objectid 02c19d769d2b scsi: ufs: core: Bypass quick recovery if force reset is needed 8d1af5c6af5c scsi: ufs: core: Check LSDBS cap when !mcq 512bd0cd535b drm: panel-orientation-quirks: Add quirk for OrangePi Neo d5618eaea886 drm/fb-helper: Don't schedule_work() to flush frame buffer during panic() 18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn 2879d995e569 pnmtologo: sync with 6.6 43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes 35046aea43c8 bpftool: Fix undefined bpf macro for unix socket 9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids 42b2eec2e503 bpftool: Query only cgroup-related attach types f71bb11887ba cpu/amd: inhibit SMP check for qemux86 c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14 64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock 7c76aad68f6d kselftest: Add a ksft_perror() helper 06644f0d7193 drm/tilcdc: Set preferred depth ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs 50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018 58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts c2d64b9f52b6 qemux86: add configuration symbol to select values 630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs 0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter 46934791b902 clear_warn_once: bind a timer to written reset value cdee9e38ff32 clear_warn_once: expand debugfs to include read support 82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS 36dc380b776b libbpf: Fix build warning on ref_ctr_off 9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. e497a4a5da65 perf: x86-32: explicitly include <errno.h> 7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long 1cfc19423dc7 perf: fix bench numa compilation 98bc2815fade perf: add SLANG_INC for slang.h 17209a70b9b3 perf: add sgidefs.h to for mips builds 9cd4258d910a perf: change --root to --prefix for python install 8110a4f26628 perf: add 'libperl not found' warning bc89d5e08f77 perf: force include of <stdbool.h> 4f6c760cc876 fat: Replace prandom_u32() with get_random_u32() bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat 30b2236ab378 FAT: Added FAT_NO_83NAME cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes c4342d979bf2 aufs6: fix magic.mk include path 35266bc2dc81 aufs6: adapt to v6.6 8edede4e98be aufs6: core 712248233ebe aufs6: standalone 3b71a8a848d8 aufs6: mmap 3e2924871f37 aufs6: base 7f4907a93101 aufs6: kbuild d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+ bcd6cfcd1aa0 yaffs2: v6.5 fixups cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length 8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap c9c749f9f7d3 yaffs2: replace bdevname call with sprintf 395b01cdc39d yaffs2: convert read_page -> readfolio d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 622c4648936f yaffs2: v5.12+ build fixups (not runtime tested) 7562133d4090 yaffs: include blkdev.h dbd44252cd59 yaffs: fix misplaced variable declaration c223a10b1ac0 yaffs2: v5.6 build fixups 90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read 37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super b6e007b8abb6 yaffs: repair yaffs_get_mtd_device fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API 51e0aac75ea2 yaffs2: fix memory leak in mount/umount 2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1 ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis 8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY 1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020) 4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation 2f603d83fcc4 pnmtologo: use relocatable file name 664a6a0a484b tools: use basename to identify file in gen-mach-types 9de64bc0c185 lib/build_OID_registry: fix reproducibility issues ae9b80797295 vt/conmakehash: improve reproducibility a972323151bd iwlwifi: select MAC80211_LEDS conditionally 15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation 5552dc768ffc defconfigs: drop obselete options 00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled 3888d0652edf linux-yocto: Handle /bin/awk issues 3d55d299f23a uvesafb: provide option to specify timeout for task completion 23c068c080be uvesafb: print error message when task timeout occurs edbfc939266e compiler.h: Undef before redefining __attribute_const__ c99ae7e2a19a vmware: include jiffies.h 572d84d928c8 Resolve jiffies wrapping about arp fdcd47cac843 nfs: Allow default io size to be configured. 927d48801098 check console device file on fs when booting 57cc27f821dd mount_root: clarify error messages for when no rootfs found 1b53d82a8152 mconf: fix output of cflags and libraries 1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location 83c2e0c6eb1f modpost: mask trivial warnings 6de673039484 kbuild: exclude meta directory from distclean processing 6decd32815f5 powerpc: serialize image targets f6b683b38318 arm: serialize build targets e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition dc8a1e5a88f8 x86_64_defconfig: Fix warnings 68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8 d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8 62f50884b8b1 powerpc: kexec fix for powerpc64 da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core f161c880c11d mips: make current_cpu_data preempt safe 5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code 19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c 881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 98ec1963fcb7 arm64: defconfig: cleanup config options f1727c537ba8 vexpress: Pass LOADADDR to Makefile 4474c32dc24a arm: ARM EABI socketcall 75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault (From OE-Core rev: 6687a404a7b3c9d3b28832204b1d9ce575f12e13) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spdx30_tasks.py: fix typo in call of is_file methodDaniil Batalov2024-09-131-1/+1
| | | | | | | | | Method is_file() was wrongly called as isfile() (From OE-Core rev: 356c52a45db139bf1fdfcf5b6e0903ece7d1dd46) Signed-off-by: Daniil Batalov <dbatalov@deltard.ru> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add missing dependency on libkmod to udevRoss Burton2024-09-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | As of systemd 256, libsystemd-shared.so doesn't directly link to a number of libraries but instead dlopen()'s them as needed to reduce the size of the attack surface. Instead the .so has a .note.dlopen segment that lists the libraries that may be opened, with the intention that these are transformed into package recommendation fields. We don't yet have support for these (see #15595) so explicit dependencies have been added to the systemd package itself. However, in an initramfs with udev but without systemd and no recommendations you end up without libkmod, so module loading is impossible. Add an explicit hard dependency on libkmod to udev, because modules are critical functionality. (From OE-Core rev: 12fadefe11ed9f09171087608c3c4b83c7302b3f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: include sysvinit in default PACKAGECONFIG only if in DISTRO_FEATURESRasmus Villemoes2024-09-131-2/+1
| | | | | | | | | | | | | | | | | | The sysvinit PACKAGECONFIG knob enables various legacy/compatibility code that may not be needed or even desired. If DISTRO_FEATURES includes systemd (as it must for this recipe to build) but not sysvinit, there is no point building and installing that legacy support. As most other changes, this can cause breakage, but given that sysvinit not being in DISTRO_FEATURES requires explicit opt-out (due to backfill), I think the risk is low. Moreover, it is generally easier to add to than to remove from PACKAGECONFIG. (From OE-Core rev: 3668235fd60a9027608f37251c4b453ed21b3687) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: prserv: increment 9 to 10 correctlyDan McGregor2024-09-122-1/+3
| | | | | | | | | | | | | | | | | | | Previously, incrementing "0.9" would result in "0.1.0", which generally gets recognised as a lower version number. Even more surprising, incrementing "0.99" returned "0.1.0.0". This is due to the behaviour of the list function on a string object; it adds each character as an element in a new list, causing the new string '10' to become the list [ '1', '0' ]. Instead of converting a string to a list, add the string to a new list, and concatenate it with the existing list slice. And provide test cases for "0.9" -> "0.10" and related edge cases. (Bitbake rev: 96ddeefa88ff4c37e9ea096726a7cdca5b5b4572) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/gitsm: use configparser to parse .gitmodulesRoss Burton2024-09-121-11/+13
| | | | | | | | | | .gitmodules is basically ini-style, so use configparser instead of manually parsing by hand. (Bitbake rev: a4f42e396e2942fde94b8b4944487c1c45f7a295) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: split ath10k packageDmitry Baryshkov2024-09-121-1/+9
| | | | | | | | | | | | | A lot of Qualcomm-based devices incorporate WCN3990 WiFi/BT chips. The ath10k firmware package provides two small files for such boards, the rest of ath10k firmware isn't applicable. Split the WCN3990 firmware package to simplify using of the WiFI in the resource-constrained environments (e.g. from the initramfs). (From OE-Core rev: 40d2fbece1c2f6ecf62bffa44ad37850e90268cb) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20240811 -> 20240909Vivek Puar2024-09-122-38/+2
| | | | | | | | | | | | | | | | License-Update: additional firmwares The commit [1] adds the venus.mdt symlink in WHENCE file as a patch, we can remove the patch now as linux-firmware 20240909 already contains this fix as part of WHENCE file. [1] https://gitlab.com/kernel-firmware/linux-firmware/-/commit/91f955b730451855c14c332f1db9844b2d7b0cf2 (From OE-Core rev: 7a29ddc98de315a9ff5d7a5f6c7c6aa0d410e2aa) Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Rust Oe-Selftest Reduce the testcases in exclude listDeepesh Varatharajan2024-09-121-132/+0
| | | | | | | | | | | | | We had previously excluded certain test cases due to failures in earlier versions. However, with the latest version of Rust, many of these test cases are passing. As a result, we have removed them from the exclude list and added them back into the test suite for execution. The rust-1.79 has been successfully tested with the current test inclusions. (From OE-Core rev: e8dae0ee5ea958bb84af33d9b9a29ab357d96e31) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: Fix build with the `httpstats` package config enabledAlban Bedel2024-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | ------C65ED3E1A5DE826CA595746785F6AF6F To: openembedded-core@lists.openembedded.org CC: Alban Bedel <alban.bedel@aerq.com> Subject: [PATCH] bind: Fix build with the `httpstats` package config enabled Date: Wed, 11 Sep 2024 08:26:47 +0200 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain MIME-Version: 1.0 When the `httpstats` package config is enabled configure fails with the error: > configure: error: Specifying libxml2 installation path is not > supported, adjust PKG_CONFIG_PATH instead Drop the explicit path from `--with-libxml2` to solve this issue. (From OE-Core rev: 9b076fa51f5e6fd685066fb817c47239960778e6) Signed-off-by: Alban Bedel <alban.bedel@aerq.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: Only rewrite envvars paths that absolutely point to builddirYoann Congal2024-09-121-1/+4
| | | | | | | | | | | | | | | | | When building the new selftest builddir, paths in environment variables are rewritten to point to the new buildir, but users can have environment variables that point outside of the build dir using relative paths from builddir. We must not rewrite those. Check this by verifying that the absolute path still contains the builddir. Fixes [YOCTO #15241] (From OE-Core rev: c5e70500caffcd0518899cc6eba23a38bc3be108) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-setup-build: Change how we get the SHELL valueRyan Eatmon2024-09-121-2/+2
| | | | | | | | | | | There are times that a user might not have SHELL set for some reason. We should default back to a known shell in the event that SHELL is not set. (From OE-Core rev: 9f3099b7eddccf2b7328c0fdd6423269d17138ce) Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-ide-support: Mark recipe as MACHINE-specificPaul Barker2024-09-122-2/+3
| | | | | | | | | | | | | | | | meta-ide-support:do_write_test_data dumps the bitbake data dictionary to a file using export2json(). As this obviously includes the value of MACHINE, and other MACHINE-specific variables, the recipe needs to be marked as MACHINE-specific. RP: Note that this patch does change the name of the environment script since it is no longer package arch specific but machine arch specific. [RP: Fix selftest to reference new environment file] (From OE-Core rev: 3be2bc8a9b0c9d6a178329c8b451a6bedf255d6c) Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-samples: limit to aarch64/x86-64Ross Burton2024-09-111-1/+1
| | | | | | | | | | | | | | This package is only tested upstream for aarch64 and x86-64 targets, for example there are int/long cast issues on 32-bit platforms and ATSC is only ported to aarch64/x86-64. Instead of listing the machines where we know it doesn't work, limit the recipe to machines where it is known to work. (From OE-Core rev: 05aeab99dedd2a9ccde5bf22942fcbb2d88a311c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libedit: Make docs generation deterministicRichard Purdie2024-09-111-0/+7
| | | | | | | | | | The presence or lack of nroff on the host was changing the doc type. Stop the code from looking at host paths outside HOSTTOOLS and hence cause the doc type to be deterministic and reproducible. (From OE-Core rev: 918e2b266eba6779f19f65349f85caa880ba45e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Make docs generation deterministicRichard Purdie2024-09-111-0/+1
| | | | | | | | | The presence or lack of nroff on the host was changing the doc type. Set it explicitly to be deterministic and reproducible. (From OE-Core rev: f5053abb8957acf358b518ee3c76146dc5f4eb6c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: upgrade 5.77 -> 5.78Guðni Már Gilbert2024-09-115-71/+75
| | | | | | | | | | | | | | | | * Fix issue with handling notification of scanned BISes to BASS * Fix issue with handling checking BIS caps against peer caps. * Fix issue with handling MGMT Set Device Flags overwrites. * Fix issue with handling ASE notification order. * Fix issue with handling BIG Info report events. * Fix issue with handling PACS Server role. * Fix issue with registering UHID_START multiple times. * Fix issue with pairing method not setting auto-connect. (From OE-Core rev: 77aa3ecaf6ad7fe777a10655542349a1489b7ad3) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl2: upgrade 2.30.6 -> 2.30.7Yi Zhao2024-09-101-1/+1
| | | | | | | | | | | | | | | | ChangeLog: https://github.com/libsdl-org/SDL/releases/tag/release-2.30.7 * Added support for the Retro-bit Controller in PS3 mode * Fixed the cursor becoming visible when using relative mode under XWayland * Fixed DRM initialization failure on some Linux systems * Fixed a crash when the current mouse capture window is destroyed (From OE-Core rev: 9ad32cec8e045d580563631ac59f49dff4cae274) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: remove unused uid variableKonrad Weihmann2024-09-101-1/+0
| | | | | | | (From OE-Core rev: 2521f67f19cb0eea0a2d6c5e8c39fa5edd60330a) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: keep generating tap devicesKonrad Weihmann2024-09-101-10/+14
| | | | | | | | | | | | | | | | | | in case there is no tap device the script tries to generate a new one. The new device is then unguarded for a moment, so the newly generated device could be acquired by a different instance or user, before it is locked to the instance with acquire_taplock. To fix that keep generating new tap devices in case the lock can't be acquired up to 5 times. If no tap device can be locked it fails in the existing error handling (From OE-Core rev: 23876576d054ebbab9b02c0012782aa56feda123) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk4: update 4.14.4 -> 4.14.5Markus Volk2024-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overview of Changes in 4.14.5, 16-08-2024 ========================================= * GtkSpinner: - Only set :checked state when mapped to avoid animation overhead * GtkFileChooserWidget: - Plug memory leaks * GtkProgressBar, GtkRange: - Fix hightlight clipping * GtkSpinButton: - Set number input hint for numeric spin buttons * GtkPopover: - Recompute the sampe more often - Handle allocation corner cases better * GtkIconTheme: - Fix an argument order mishap that could lead to wrong icon selection * Accessibility: - Use text instead of label for GtkLabesl accessible name - Improve the role mapping for containers - Realize the AT context when needed to fix AdwToast - Fix handling or relations in GtkExpander * GDK: - Don't leak EGLSurfaces * GSK: - Speed up mask nodes with cairo * Vulkan: - Recreate the swapchain when necessary or beneficial * Wayland: - Support the xdg-dialog protocol * macOS: - Make Dock>Quit invoke the "app.quit" action - Take shadows into account when positioning popups - Propagate create-folder to Open panels * Windows: - Backport build and runtime fixes for 32bit Windows - Ensure the dnd-move cursor exists * Translation updates Catalan Chinese (Taiwan) Galician Hindi Hungarian Kabyle Nepali Persian Portuguese Romanian Serbian (From OE-Core rev: 10947ec977daa8029c83e5f5e48dfa05af5a94ef) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3-setuptools: upgrade 72.1.0 -> 72.2.0"Richard Purdie2024-09-101-1/+1
| | | | | | | | | | | | This reverts commit 8fccef7a731f44e5d27653e06becb54cf770e5e5. The patch causes problems for systems using ccache. Revert until this is fixed. "Inherit ccache, build anything which uses python3-setuptools (e.g. python3-icu)." (From OE-Core rev: a7dafda0303e52965010fc428d950e10ff1bb940) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Fix cut with "-s" flagColin McAllister2024-09-102-0/+67
| | | | | | | | | | | | | | | This fixes and issue that allows blank lines to be incorrectly output when the "-s" flag is included. This issue propogates into the populate-volatile.sh script in initscripts. If a volatiles drop file contains blank lines, a blank line will be included in combined users, which will incorrectly result in a difference in the number of combined users versus defined users. If this happens, the volatiles file will not be executed. (From OE-Core rev: dfbcf0581ab3dd47037726a7b8aa06f777792473) Signed-off-by: Colin McAllister <colinmca242@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: Add collect flag to mountColin McAllister2024-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | Adds extra "--collect" flag to the mount command within automount_systemd. This is intended to fix an observed deadlock after rapidly inserting and removing external media. This is because if the mount command fails, the transient mount will enter a failed state. The next time the media is inserted, automount_systemd bails because the first consition finds that the file path for the failed transient mount still exists. This leaves the external media unmounted and cannot be mounted until the mount is fixed via systemctl or the device is rebooted. Adding "--collect" ensures that the transient mount is cleaned up after entering a failed state, which ensures that the media can still be mounted when it's re-inserted. (From OE-Core rev: f0cda74d73eb8c14cd6f695f514108f1e94984a6) Signed-off-by: Colin McAllister <colinmca242@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Add gomodgit fetcherChristian Lindeberg2024-09-103-2/+228
| | | | | | | | | | | | | | | Add a go module fetcher for downloading module dependencies to the module cache directly from a git repository. The fetcher can be used with the go-mod class in OE-Core. A module dependency can be specified with: SRC_URI += "gomodgit://golang.org/x/net;version=v0.9.0;srcrev=..." (Bitbake rev: 29ff38ccf0d5389a5bee81e252a78548361a9d7c) Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Add gomod fetcherChristian Lindeberg2024-09-103-1/+196
| | | | | | | | | | | | | | | Add a go module fetcher for downloading module dependencies to the module cache from a module proxy. The fetcher can be used with the go-mod class in OE-Core. A module dependency can be specified with: SRC_URI += "gomod://golang.org/x/net;version=v0.9.0;sha256sum=..." (Bitbake rev: 5ff4694bf305e266ebf0abab5d9745c6b6d07d67) Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: make home directory readable by systemd-coredumpEtienne Cordonnier2024-09-092-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/systemd/systemd/commit/924453c22599cc246746a0233b2f52a27ade0819 ProtectHome was set to true for systemd-coredump in order to reduce risk, since an attacker could craft a malicious binary in order to compromise systemd-coredump. At that point the object analysis was done in the main systemd-coredump process. Because of this systemd-coredump is unable to product symbolicated call-stacks for binaries running under /home ("n/a" is shown instead of function names). However, later in https://github.com/systemd/systemd/commit/61aea456c12c54f49c4a76259af130e576130ce9 systemd-coredump was changed to do the object analysis in a forked process, covering those security concerns. Let's set ProtectHome to read-only so that systemd-coredump produces symbolicated call-stacks for processes running under /home. Note: it still does not work in /tmp (because of PrivateTmp=yes) and in /root (for unknown reasons). Before the change (with minidebuginfo enabled): root@qemux86-64:~# /home/sleep 1000 & [1] 426 root@qemux86-64:~# kill -11 $(pidof sleep) root@qemux86-64:~# coredumpctl info PID: 426 (sleep) UID: 0 (root) GID: 0 (root) Signal: 11 (SEGV) Timestamp: Fri 2024-09-06 17:25:18 UTC (3s ago) Command Line: /home/sleep 1000 Executable: /home/sleep Control Group: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS0.service Unit: serial-getty@ttyS0.service Slice: system-serial\x2dgetty.slice Boot ID: 44ef4ddfaad249ceaa29d1e9f330d3b5 Machine ID: fb279f18f2c849c59768754c7a274ee3 Hostname: qemux86-64 Storage: /var/lib/systemd/coredump/core.sleep.0.44ef4ddfaad249ceaa29d1e9f330d3b5.426.1725643518000000.zst (present) Size on Disk: 16.5K Message: Process 426 (sleep) of user 0 dumped core. Stack trace of thread 426: #0 0x00007f365f3849a7 clock_nanosleep (libc.so.6 + 0xd49a7) #1 0x00007f365f38f667 __nanosleep (libc.so.6 + 0xdf667) #2 0x0000561fee703737 n/a (/home/sleep + 0x7737) #3 0x000000003a6227c5 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64 [1]+ Segmentation fault (core dumped) /home/sleep 1000 After the change (with minidebuginfo enabled): root@qemux86-64:~# /home/sleep 1000 & [1] 450 root@qemux86-64:~# kill -11 $(pidof sleep) root@qemux86-64:~# coredumpctl info PID: 450 (sleep) UID: 0 (root) GID: 0 (root) Signal: 11 (SEGV) Timestamp: Fri 2024-09-06 17:30:12 UTC (4s ago) Command Line: /home/sleep 1000 Executable: /home/sleep Control Group: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS0.service Unit: serial-getty@ttyS0.service Slice: system-serial\x2dgetty.slice Boot ID: 44ef4ddfaad249ceaa29d1e9f330d3b5 Machine ID: fb279f18f2c849c59768754c7a274ee3 Hostname: qemux86-64 Storage: /var/lib/systemd/coredump/core.sleep.0.44ef4ddfaad249ceaa29d1e9f330d3b5.450.1725643812000000.zst (present) Size on Disk: 16.5K Message: Process 450 (sleep) of user 0 dumped core. Stack trace of thread 450: #0 0x00007f795dd689a7 clock_nanosleep (libc.so.6 + 0xd49a7) #1 0x00007f795dd73667 __nanosleep (libc.so.6 + 0xdf667) #2 0x0000561965c9d737 rpl_nanosleep (sleep + 0x7737) #3 0x0000561965c9d0c1 xnanosleep (sleep + 0x70c1) #4 0x0000561965c985c8 main (sleep + 0x25c8) #5 0x00007f795dcba01b __libc_start_call_main (libc.so.6 + 0x2601b) #6 0x00007f795dcba0d9 __libc_start_main (libc.so.6 + 0x260d9) #7 0x0000561965c98685 _start (sleep + 0x2685) ELF object binary architecture: AMD x86-64 [1]+ Segmentation fault (core dumped) /home/sleep 1000 (From OE-Core rev: b8c1f999038b7cd6fc2e80ed215541c8a4d9e19f) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>