Commit Graph

74618 Commits

Author SHA1 Message Date
Bruce Ashfield
f619e371a1 linux-yocto/6.6: update to v6.6.52
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    561bbd55f91a Linux 6.6.52
    bd9c3c2d7e44 riscv: dts: starfive: add assigned-clock* to limit frquency
    e43364f578cd ASoC: meson: axg-card: fix 'use-after-free'
    2a01f3b7b19b pinctrl: meteorlake: Add Arrow Lake-H/U ACPI ID
    b9d510e08504 cifs: Fix signature miscalculation
    6ec7cbc7f578 ASoC: codecs: avoid possible garbage value in peb2466_reg_read()
    86238603c8f4 drm/i915/guc: prevent a possible int overflow in wq offsets
    f9e08c201705 spi: geni-qcom: Fix incorrect free_irq() sequence
    64cdc5d11442 spi: geni-qcom: Undo runtime PM changes at driver exit time
    ff65ae25d3cb drm/amd/amdgpu: apply command submission parser for JPEG v1
    54268468399e drm/amdgpu/atomfirmware: Silence UBSAN warning
    def80cdb2676 drm/nouveau/fb: restore init() for ramgp102
    eb7fc8b65cea dma-buf: heaps: Fix off-by-one in CMA heap fault handler
    8e1ffb257982 drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl
    28425a10a4fa soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
    af9ca9ca3e44 spi: nxp-fspi: fix the KASAN report out-of-bounds bug
    a8632ef4fc13 tracing/osnoise: Fix build when timerlat is not enabled
    34fcac26216c net: dpaa: Pad packets to ETH_ZLEN
    fc8c0cec1b48 net: dsa: felix: ignore pending status of TAS module when it's disabled
    83e6fb59040e netfilter: nft_socket: fix sk refcount leaks
    033a71efabac selftests: net: csum: Fix checksums for packets with non-zero padding
    38859fb5bdb6 net: ftgmac100: Enable TX interrupt to avoid TX timeout
    5bfbf2c18cf5 octeontx2-af: Modify SMQ flush sequence to drop packets
    7ae890ee1947 fou: fix initialization of grc
    65feee671e37 net/mlx5: Fix bridge mode operations when there are no VFs
    4bb9745cc3d3 net/mlx5: Verify support for scheduling element and TSAR type
    9f806d095955 net/mlx5: Correct TASR typo into TSAR
    fa2e98068d25 net/mlx5: Add missing masks and QoS bit masks for scheduling elements
    f015f63cc9c4 net/mlx5: Explicitly set scheduling element and TSAR type
    f7e7dbdfc093 net/mlx5e: Add missing link mode to ptys2ext_ethtool_map
    4ce59074d53c IB/mlx5: Rename 400G_8X speed to comply to naming convention
    93fd5e028b29 net/mlx5e: Add missing link modes to ptys2ethtool_map
    02518dc443cd net/mlx5: Update the list of the PCI supported devices
    e8db32a90248 igb: Always call igb_xdp_ring_update_tail() under Tx lock
    cbaed60c69f0 ice: fix VSI lists confusion when adding VLANs
    01a786ada184 ice: fix accounting for filters shared by multiple VSIs
    d21559e2037e ice: Fix lldp packets dropping after changing the number of channels
    1bc085e9977f hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2
    14f6a11ea21e selftests/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected()
    8295194a50eb cxl/core: Fix incorrect vendor debug UUID define
    cb735cf79aa1 eeprom: digsy_mtc: Fix 93xx46 driver probe failure
    7853c146f8b4 drm/amd/display: Fix FEC_READY write on DP LT
    27bbf0b1cac9 drm/amd/display: Disable error correction if it's not supported
    d72432755b12 arm64: dts: rockchip: fix PMIC interrupt pin in pinctrl for ROCK Pi E
    b1e1daf0125e net: xilinx: axienet: Fix race in axienet_stop
    a95a24fcaee1 mm: avoid leaving partial pfn mappings around in error case
    2ae1beb3ab4f x86/hyperv: fix kexec crash due to VP assist page corruption
    9b27991f3fb7 dm-integrity: fix a race condition when accessing recalc_sector
    4ec0d8dbd702 net: tighten bad gso csum offset check in virtio_net_hdr
    1705209b3e2a minmax: reduce min/max macro expansion in atomisp driver
    3844bc360e16 arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma
    d52643ced186 arm64: dts: rockchip: fix eMMC/SPI corruption when audio has been used on RK3399 Puma
    7e2e638c5909 selftests: mptcp: join: restrict fullmesh endp on 1st sf
    6452b162549c mptcp: pm: Fix uaf in __timer_delete_sync
    c54fc405a060 platform/x86: panasonic-laptop: Allocate 1 entry extra in the sinf array
    6821a82616f6 platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
    d07216aa30e8 NFS: Avoid unnecessary rescanning of the per-server delegation list
    d8a7055ffd39 NFSv4: Fix clearing of layout segments in layoutreturn
    75e6572ccb78 smb/server: fix return value of smb2_open()
    91043a573ca7 Input: i8042 - add Fujitsu Lifebook E756 to i8042 quirk table
    57ac3b43fb1f drm/msm/adreno: Fix error return if missing firmware-name
    c5331c6342fd platform/surface: aggregator_registry: Add support for Surface Laptop Go 3
    64f8ed257cec platform/surface: aggregator_registry: Add Support for Surface Pro 10
    86a1aaee7f44 scripts: kconfig: merge_config: config files: add a trailing newline
    1d5c7d0a49ec HID: multitouch: Add support for GT7868Q
    11eb4a8228f6 Input: synaptics - enable SMBus for HP Elitebook 840 G2
    3acb2392df34 Input: ads7846 - ratelimit the spi_sync error message
    5ee7efa629bf btrfs: update target inode's ctime on unlink
    ab8f0c4986c7 net: hns3: use correct release function during uninitialization
    4bfee9346d8c wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change
    4a9a1edd9c49 powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
    af252750bf3b net: phy: vitesse: repair vsc73xx autonegotiation
    31b9fc3d0c10 drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
    7d42d19973cb drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
    9569e1fd06fa net: ethernet: use ip_hdrlen() instead of bit shift
    28123a54f887 usbnet: ipheth: fix carrier detection in modes 1 and 4
    4d1cfa3afb86 usbnet: ipheth: do not stop RX on failing RX callback
    9c8c230e2e15 usbnet: ipheth: drop RX URBs with no payload
    c2fb33a7fed5 usbnet: ipheth: remove extraneous rx URB length check
    78bce66914db ksmbd: override fsids for smb2_query_info()
    5a199eedfdc8 ksmbd: override fsids for share path check
    2278629c3ebb nvmem: u-boot-env: error if NVMEM device is too small
    368fa77b7945 nvmem: u-boot-env: improve coding style
    2eea394c31cb nvmem: u-boot-env: use nvmem device helpers
    ae91c9c7b67d nvmem: u-boot-env: use nvmem_add_one_cell() nvmem subsystem helper
    820b1b981aeb nvmem: core: add nvmem_dev_size() helper
    f7dc14df1bde iio: adc: ad7124: fix DT configuration parsing
    fbed74005829 iio: adc: ad7124: Switch from of specific to fwnode based property handling
    bfc8dab8c73a device property: Introduce device_for_each_child_node_scoped()
    fce8373d3153 device property: Add cleanup.h based fwnode_handle_put() scope based cleanup.
    6d1dc55b5bab Linux 6.6.51
    611e4281117a Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync
    4d6cf010d876 Bluetooth: hci_sync: Fix UAF on create_le_conn_complete
    78155f30beeb Bluetooth: hci_sync: Fix UAF in hci_acl_create_conn_sync
    50b6744c12fa spi: spi-fsl-lpspi: Fix off-by-one in prescale max
    7b5595f33c3c btrfs: fix race between direct IO write and fsync when using same fd
    8eeda5fb5938 x86/mm: Fix PTI for i386 some more
    a2977c0ca3e9 membarrier: riscv: Add full memory barrier in switch_mm()
    136a29d8112d ublk_drv: fix NULL pointer dereference in ublk_ctrl_start_recovery()
    bd29d8452079 riscv: Do not restrict memory size because of linear mapping on nommu
    8289dc916e9e riscv: Fix toolchain vector detection
    b27ea9c96efd smb: client: fix double put of @cfile in smb2_rename_path()
    52b688c8087b gpio: modepin: Enable module autoloading
    9ceae54e65a3 gpio: rockchip: fix OF node leak in probe()
    60d54a45dbbb drm/i915/fence: Mark debug_fence_free() with __maybe_unused
    a65ebba87337 drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
    7c391eaf2c63 clk: qcom: gcc-sm8550: Don't park the USB RCG at registration time
    a5e871d26ba1 clk: qcom: gcc-sm8550: Don't use parking clk_ops for QUPs
    b9bb9634368e ASoC: sunxi: sun4i-i2s: fix LRCLK polarity in i2s mode
    f39bde3f7825 ASoc: SOF: topology: Clear SOF link platform name upon unload
    05500a48d80d nvme-pci: allocate tagset on reset if necessary
    489f2913a63f nvmet-tcp: fix kernel crash if commands allocation fails
    585c598082e1 ASoC: tegra: Fix CBB error during probe()
    af4d5630d991 powerpc/vdso: Don't discard rela sections
    547acc20e567 powerpc/64e: Define mmu_pte_psize static
    8ea58996f539 powerpc/64e: split out nohash Book3E 64-bit code
    8ebe3bb3688a powerpc/64e: remove unused IBM HTW code
    eaccebe663b2 clk: qcom: ipq9574: Update the alpha PLL type for GPLLs
    37b65ea6c7ad crypto: starfive - Fix nent assignment in rsa dec
    02b3f8860963 crypto: starfive - Align rsa input data to 32-bit
    872f86e1757b ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf
    c8d4acb32530 ata: libata-scsi: Remove redundant sense_buffer memsets
    302ba299c31e drm/amdgpu: handle gfx12 in amdgpu_display_verify_sizes
    5f2a2bf25395 drm/amd: Add gfx12 swizzle mode defs
    5ea24ddc26a7 can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd
    6cdc3fc4fb2f can: mcp251xfd: clarify the meaning of timestamp
    bf501ab4cbfe can: mcp251xfd: rx: prepare to workaround broken RX FIFO head index erratum
    2370061f0707 can: mcp251xfd: mcp251xfd_handle_rxif_ring_uinc(): factor out in separate function
    62ca6d3a905b arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
    acf9ef8d1b1f arm64: acpi: Move get_cpu_for_acpi_id() to a header
    47c310fbaaf4 ACPI: processor: Fix memory leaks in error paths of processor_add()
    6bf77014db58 ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
    241bce1c757d workqueue: Improve scalability of workqueue watchdog touch
    5ff0a4414195 workqueue: wq_watchdog_touch is always called with valid CPU
    0eceaa9d0560 Revert "mm: skip CMA pages when they are not available"
    9a9974713de8 mm/vmscan: use folio_migratetype() instead of get_pageblock_migratetype()
    c4b69bee3f4e perf/aux: Fix AUX buffer serialization
    9faed52b98e1 uprobes: Use kzalloc to allocate xol area
    7eeb7189c4d4 clocksource/drivers/timer-of: Remove percpu irq related code
    444c3927a0c1 clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
    c4f27b17d384 clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
    39e7e593418c VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
    6ed45748c19b Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
    de6946be9c8b uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
    3d1baf322a3a nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
    1f33d9f1d9ac binder: fix UAF caused by offsets overwrite
    f77dc8a75859 misc: fastrpc: Fix double free of 'buf' in error path
    7d301dd2722f usb: dwc3: Avoid waking up gadget during startxfer
    f224f3729779 usb: cdns2: Fix controller reset issue
    6ef746b0b63f usb: dwc3: core: update LC timer as per USB Spec V3.2
    314125cbae48 iio: adc: ad7124: fix chip ID mismatch
    66d0d59afe55 iio: adc: ad7606: remove frstdata check for serial mode
    fb5d58f238c4 iio: adc: ad7124: fix config comparison
    ecc8e1bcac27 iio: fix scale application in iio_convert_raw_to_processed_unlocked
    cb0f3f0c102b iio: buffer-dmaengine: fix releasing dma channel on error
    dc12e49f970b staging: iio: frequency: ad9834: Validate frequency parameter value
    5c007a980450 intel: legacy: Partial revert of field get conversion
    4fe707a29789 tcp: process the 3rd ACK with sk_socket for TFO/MPTCP
    3b843046dbbe cpufreq: amd-pstate: fix the highest frequency issue which limits performance
    1ec40a175a48 cpufreq: amd-pstate: Enable amd-pstate preferred core support
    0b983c08ca81 ACPI: CPPC: Add helper to get the highest performance value
    e0316069fae7 riscv: Use accessors to page table entries instead of direct dereference
    59c9160a7ee3 riscv: mm: Only compile pgtable.c if MMU
    1a8b2391e06e mm: Introduce pudp/p4dp/pgdp_get() functions
    193b1fc1cbca riscv: Use WRITE_ONCE() when setting page table entries
    6c4a878e1cc8 NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
    07f384c5be1f smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
    b777131d03be ata: pata_macio: Use WARN instead of BUG
    ff62110ec522 spi: spi-fsl-lpspi: limit PRESCALE bit in TCR register
    32ee0520159f MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
    d942e855324a lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
    7ead730af11e of/irq: Prevent device address out-of-bounds read in interrupt map walk
    c3af7e460a52 Squashfs: sanity check symbolic link size
    6604d76253e7 usbnet: ipheth: race between ipheth_close and error handling
    a4858b00a1ec Input: uinput - reject requests with unreasonable number of slots
    60dc4ee0428d HID: amd_sfh: free driver_data after destroying hid device
    30e9ce7cd559 HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup
    fc9fabeee107 s390/vmlinux.lds.S: Move ro_after_init section behind rodata section
    f1eb69aa8562 btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()
    16ccaf581da4 spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
    d43fde5ebfe7 kselftests: dmabuf-heaps: Ensure the driver name is null-terminated
    5a022269abb2 i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
    1f489656d506 i3c: master: svc: resend target address when get NACK
    c03185f4a23e vfs: Fix potential circular locking through setxattr() and removexattr()
    e42ea96d6d36 regmap: maple: work around gcc-14.1 false-positive warning
    fd8e14122374 LoongArch: Use correct API to map cmdline in relocate_kernel()
    938acd8e3aa0 net: dpaa: avoid on-stack arrays of NR_CPUS elements
    013dae4735d2 Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()
    9fd29738377c tcp: Don't drop SYN+ACK for simultaneous connect().
    78c6e39fef5c PCI: Add missing bridge lock to pci_bus_lock()
    ce2e63804abf riscv: set trap vector earlier
    124451bbc2d3 cxl/region: Verify target positions using the ordered target list
    41a0f85e268d btrfs: replace BUG_ON() with error handling at update_ref_for_cow()
    7d1df13bf078 btrfs: clean up our handling of refs == 0 in snapshot delete
    e7469c65b3c5 btrfs: replace BUG_ON with ASSERT in walk_down_proc()
    951b696db188 fs/ntfs3: Check more cases when directory is corrupted
    6b1b0a86d9c1 smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
    6922ab293262 drm/amdgpu: reject gang submit on reserved VMIDs
    c2618dcb26c7 wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
    abc8b81b6fc7 dma-mapping: benchmark: Don't starve others when doing the test
    e16c4c245150 jbd2: avoid mount failed when commit block is partial submitted
    3236afd1a2fa ext4: fix possible tid_t sequence overflows
    077c7e5fee4b drm/amdgpu: Set no_hw_access when VF request full GPU fails
    030958c2d05e libbpf: Add NULL checks to bpf_object__{prev_map,next_map}
    4b83b207f006 ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken alignment
    8fecb75bff1b hwmon: (w83627ehf) Fix underflows seen when writing limit attributes
    2f695544084a hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
    46e4fd338d5b hwmon: (lm95234) Fix underflows seen when writing limit attributes
    6891b11a0c62 hwmon: (adc128d818) Fix underflows seen when writing limit attributes
    3a986d134402 crypto: qat - fix unintentional re-enabling of error interrupts
    7b1d779647af scsi: pm80xx: Set phy->enable_completion only when we wait for it
    2f49e05d6b58 scsi: ufs: core: Remove SCSI host only if added
    c83d464b82a8 wifi: rtw88: usb: schedule rx work after everything is set up
    c5b30148ef3b virtio_ring: fix KMSAN error for premapped mode
    b82d4d5c736f pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
    72377cee3f46 devres: Initialize an uninitialized struct member
    ec5b47a37017 um: line: always fill *error_out in setup_one_line()
    84a6b76b2859 cgroup: Protect css->cgroup write under css_set_lock
    7cfa7abb240c iommu/vt-d: Handle volatile descriptor status read
    8b3267428333 dm init: Handle minors larger than 255
    67786b291e77 ASoC: topology: Properly initialize soc_enum values
    8bdbc44c6d26 phy: zynqmp: Take the phy mutex in xlate
    441e6f5829be firmware: cs_dsp: Don't allow writes to read-only controls
    e997b357b13a xen: privcmd: Fix possible access to a freed kirqfd instance
    2b110cce19c8 selftests: net: enable bind tests
    97d627461504 net: dsa: vsc73xx: fix possible subblocks range of CAPT block
    c6c535a44469 net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN
    565eb51b3d80 r8152: fix the firmware doesn't work
    1df42be305fe fou: Fix null-ptr-deref in GRO.
    40531583c5cd bareudp: Fix device stats updates.
    f8d6acb19f4a bpf, net: Fix a potential race in do_sock_getsockopt()
    2174a3c36899 net/socket: Break down __sys_getsockopt
    e88c16a4f07e net/socket: Break down __sys_setsockopt
    09fba0162ba0 bpf: Add sockptr support for setsockopt
    4a746fb253fa bpf: Add sockptr support for getsockopt
    07200e313cb5 usbnet: modern method to get random MAC
    81e5622c052b ice: do not bring the VSI up, if it was down before the XDP setup
    2f057db2fb29 ice: protect XDP configuration with a mutex
    26928c8f00f6 net: phy: Fix missing of_node_put() for leds
    217539e994e5 hwmon: (hp-wmi-sensors) Check if WMI event data exists
    ed60aab60641 igc: Unlock on error in igc_io_resume()
    249c88e7fb45 Bluetooth: MGMT: Fix not generating command complete for MGMT_OP_DISCONNECT
    d56412ee7cf9 Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once
    d948e1ffa1d4 Bluetooth: hci_sync: Attempt to dequeue connection attempt
    1499f79995c7 Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue
    98f66ea456d5 Bluetooth: hci_conn: Fix UAF Write in __hci_acl_create_connection_sync
    e78bd85af297 Bluetooth: Remove pending ACL connection attempts
    c57edb548276 Bluetooth: hci_conn: Only do ACL connections sequentially
    9cd7289bcc24 Bluetooth: hci_event: Use HCI error defines instead of magic values
    a22cbf1e085b Bluetooth: qca: If memdump doesn't work, re-enable IBS
    503901d3c9e5 can: kvaser_pciefd: Use a single write when releasing RX buffers
    6587b387cd54 can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR
    00e4c69422c0 can: kvaser_pciefd: Rename board_irq to pci_irq
    42408507362d can: kvaser_pciefd: Remove unnecessary comment
    c1fb6226795d can: kvaser_pciefd: Skip redundant NULL pointer check in ISR
    c5e236744db6 regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
    dc2694e474b7 platform/x86: dell-smbios: Fix error path in dell_smbios_init()
    efe8effe1380 ice: Add netif_device_attach/detach into PF reset flow
    4dde04370503 igb: Fix not clearing TimeSync interrupts for 82580
    0a9423f99ded cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region
    b4b2115d1f50 rust: kbuild: fix export of bss symbols
    4de4e53bbd13 rust: Use awk instead of recent xargs
    0e52907493fd can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode
    db5aca78e260 can: m_can: Release irq on error in m_can_open
    4377b79323df can: bcm: Remove proc entry when dev is unregistered.
    9a41def4c48f drm/amdgpu: check for LINEAR_ALIGNED correctly in check_tiling_flags_gfx6
    dfafee0a7b51 drm/amd/display: Check denominator pbn_div before used
    dd48992a8a90 pcmcia: Use resource_size function on resource object
    b4987d0236d5 media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
    6970213c7e7d Input: ili210x - use kvmalloc() to allocate buffer for firmware update
    576d0fb6f8d4 PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
    7b645e687086 ice: Check all ice_vsi_rebuild() errors in function
    4ef01846c686 vfio/spapr: Always clear TCEs before unsetting the window
    4676bacc6eaf media: vivid: don't set HDMI TX controls if there are no HDMI outputs
    2521ba3cfa1d drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts
    8bc7b3ce33e6 drm/amdgpu: Fix smatch static checker warning
    1bd1fe1109fc drm/amd/display: Check HDCP returned status
    874e3bb302f9 drm/amd/display: Run DC_LOG_DC after checking link->link_enc
    b2a50ffdd1a0 usb: gadget: aspeed_udc: validate endpoint index for ast udc
    4292441b87b8 usb: uas: set host status byte on data completion error
    d22d72e2bf9c wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3
    56b7104b823b leds: spi-byte: Call of_node_put() on error path
    6ae2e315a388 media: vivid: fix wrong sizeimage value for mplane
    1741021fc120 riscv: kprobes: Use patch_text_nosync() for insn slots
    d670934d4fc9 fs/ntfs3: One more reason to mark inode bad
    a56330761950 udf: Avoid excessive partition lengths
    415f3634d53c wifi: iwlwifi: mvm: use IWL_FW_CHECK for link ID check
    54921e9a7a8e netfilter: nf_conncount: fix wrong variable type
    75758ca26cb5 iommu: sun50i: clear bypass register
    4ebd15ab4b85 x86/kmsan: Fix hook for unaligned accesses
    9c2450cf5d65 af_unix: Remove put_pid()/put_cred() in copy_peercred().
    29ac5a9b6e9c irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1
    9a173212a318 accel/habanalabs/gaudi2: unsecure edma max outstanding register
    53f17409abf6 ELF: fix kernel.randomize_va_space double read
    3c9e7909df15 bpf, verifier: Correct tail_call_reachable for bpf prog
    b181e96e8043 smack: unix sockets: fix accept()ed socket label
    838c2cfdb6be wifi: ath12k: fix firmware crash due to invalid peer nss
    b366b1e1dda7 wifi: ath12k: fix uninitialize symbol error on ath12k_peer_assoc_h_he()
    fd05943b054b ALSA: hda: Add input value sanity checks to HDMI channel map controls
    4a67c7c03830 ALSA: control: Apply sanity check of input values for user elements
    337266ada863 drm/i915: Do not attempt to load the GSC multiple times
    0a1a961bde43 nilfs2: fix state management in error path of log writing function
    8c6e43b3d5f1 nilfs2: protect references to superblock parameters exposed in sysfs
    9d8c3a585d56 nilfs2: fix missing cleanup on rollforward recovery error
    d4a9039a7b3d sched: sch_cake: fix bulk flow accounting logic for host fairness
    18a5a1694046 ila: call nf_unregister_net_hooks() sooner
    c8219a27fa43 tcp_bpf: fix return value of tcp_bpf_sendmsg()
    94479011f4f5 Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs"
    73d20d08d39e x86/apic: Make x2apic_disable() work correctly
    55c834bc9f82 x86/fpu: Avoid writing LBR bit to IA32_XSS unless supported
    ec36815215d7 net: mctp-serial: Fix missing escapes on transmit
    9e0bff4900b5 net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup
    05e08297c3c2 eventfs: Use list_del_rcu() for SRCU protected list variable
    e0d724932ad1 fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF
    3c6b4bcf3784 userfaultfd: fix checks for huge PMDs
    4a594acc12d5 userfaultfd: don't BUG_ON() if khugepaged yanks our page table
    b4fdabffae14 tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()
    993ecb4ec1f3 tracing: Avoid possible softlockup in tracing_iter_reset()
    8c72f0b2c45f tracing/timerlat: Only clear timer if a kthread exists
    7a5f01828edf tracing/osnoise: Use a cpumask to know what threads are kthreads
    d034bff62fae spi: rockchip: Resolve unbalanced runtime PM / system PM handling
    1b2770e27d6d mm: vmalloc: ensure vmap_block is initialised before adding to queue
    c318a4bb36f2 kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y
    8fecde9c3f9a can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open
    f58f23328932 clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API
    229493828da0 clk: qcom: clk-alpha-pll: Fix the pll post div mask
    72f4fc5fb291 clk: starfive: jh7110-sys: Add notifier for PLL0 clock
    f36df5cc866f fuse: fix memory leak in fuse_create_open
    bfd55cd4295a fuse: use unsigned type for getxattr/listxattr size truncation
    ad6451ab31e1 fuse: update stats for pages in dropped aux writeback list
    a7fa220ebb41 mmc: cqhci: Fix checking of CQHCI_HALT state
    4c6520627bbe mmc: sdhci-of-aspeed: fix module autoloading
    5b4bf3948875 mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
    115a755bb38d mmc: core: apply SD quirks earlier during probe
    84996e92a184 Bluetooth: MGMT: Ignore keys being loaded with invalid type
    c4252955e1fb Revert "Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE"
    f9275893b07f rust: macros: provide correct provenance when constructing THIS_MODULE
    d6344cc86f31 rust: types: Make Opaque::get const
    77ee2eaee4d9 nvme-pci: Add sleep quirk for Samsung 990 Evo
    85f03ca98e07 rtmutex: Drop rt_mutex::wait_lock before scheduling
    0b46b4ac929f x86/kaslr: Expose and use the end of the physical memory address space
    2f4d7b702668 irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init()
    0eaf812aa150 perf/x86/intel: Limit the period on Haswell
    ef00818c50cf x86/tdx: Fix data leak in mmio_read()
    c0fbc9593b18 ata: libata: Fix memory leak for error path in ata_host_alloc()
    f75881f54c05 ksmbd: Unlock on in ksmbd_tcp_set_interfaces()
    41bc256da7e4 ksmbd: unset the binding mark of a reused connection
    5a72d1edb084 smb: client: fix double put of @cfile in smb2_set_path_size()
    d84ab6661e8d powerpc/qspinlock: Fix deadlock in MCS queue
    c1f23443da3f ALSA: hda/realtek: Support mute LED on HP Laptop 14-dq2xxx
    421c2701a9fe ALSA: hda/realtek: add patch for internal mic in Lenovo V145
    638e61b00208 ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
    6c7c519c4dc0 KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing
    c98bb4f15e7f KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE
    939375737b5a KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
    5d13afd021eb ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object
    b0804c286ccf net: microchip: vcap: Fix use-after-free error in kunit test
    dde33a9d0b80 sch/netem: fix use after free in netem_dequeue
    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: b73beae708877b94b3ea8eea653c8df39fc7a30e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b1a48c9a70d78082ecb23ba98fd833716077023)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Anuj Mittal
c8b8639251 sqlite3: upgrade 3.45.1 -> 3.45.3
(From OE-Core rev: a5c24e05e8397e2e353d2d27d9da98375f6ec036)

(From OE-Core rev: 3d42e2e7328bfc0066cf3a7a90ae447f3961c5f4)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Rohini Sangam
5536f35186 vim: Upgrade 9.1.0698 -> 9.1.0764
This includes CVE-fix for CVE-2024-45306 and CVE-2024-47814

Changes between 9.1.0698 -> 9.1.0764
====================================
https://github.com/vim/vim/compare/v9.1.0698...v9.1.0764

(From OE-Core rev: 7dc4956d4eeb1ffe7fe5df1ed55197c0b5a1bc79)

Signed-off-by: Rohini Sangam <rsangam@mvista.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f0e5e63399e544063c79b0b1f9555c820b0604c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Shunsuke Tokumoto
8dae11e0b5 python3-setuptools: Add "python:setuptools" to CVE_PRODUCT
Since there are vulnerabilities that cannot be detected by the existing
CVE_PRODUCT, add "python:setuptools" to CVE_PRODUCT.

https://nvd.nist.gov/vuln/detail/CVE-2013-1633
https://nvd.nist.gov/vuln/detail/CVE-2022-40897

(From OE-Core rev: 85b61bf9cefc024faefa083c37ce88ba9c7355e1)

Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa1c8d97efc6640a1cffa2459d9b20ad1f7309b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
aszh07
a44d507151 ffmpeg: Add "libswresample libavcodec" to CVE_PRODUCT
Currently, CVE_PRODUCT only detects vulnerabilities where the product is "ffmpeg".

However, there are also vulnerabilities where the product is "libswresample",
and "libavcodec" as shown below.
https://app.opencve.io/vendors/?vendor=ffmpeg

Therefore, add "libswresample libavcodec" to CVE_PRODUCT to detect vulnerabilities
where the product is "libswresample libavcodec" as well.

(From OE-Core rev: cebbbf76c029c5bf5563aca515b1c025c3644bf8)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Peter Marko
c146cf43c7 openssl: patch CVE-2024-9143
Pick patch from branch openssl-3.2.

(From OE-Core rev: df9cd27e23f051fb02391ca62d29f152f36f76fe)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Joshua Watt
a34743f178 bitbake: asyncrpc: Use client timeout for websocket open timeout
The default connection timeout for websockets is 10 seconds, so use the
provided client timeout instead (which defaults to 30 seconds).

(Bitbake rev: 270c0c8bdc802c04fd3021c082d58cf8e8d68d82)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23681775e5941e54ebead469addf708fca1e6beb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Peter Kjellerstedt
200d12b6a5 image.bbclass: Drop support for ImageQAFailed exceptions in image_qa
After commit 905e224849fbbed1719e0add231b00e2d570b3b4 (image_qa: fix
error handling), any unexpected exceptions in do_image_qa() would result
in a variable being set, but never used, effectively hiding the error.

Since image_qa now calls oe.qa.exit_if_errors(), remove the support for
oe.utils.ImageQAFailed and instead rely on the called functions to call
oe.qa.handle_error() themselves. This matches what do_package_qa() does.

Also update the description of do_image_qa() to explain that the called
functions are expected to call oe.qa.handle_error() themselves.

[ YOCTO #15601 ]

(From OE-Core rev: a1b28a88bc7697371ab166b18587b615d6d39c8e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c3e111c965af2bc56533633c376b70b7fa5e1de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Paul Barker
8156bb675c meta-ide-support: Mark recipe as MACHINE-specific
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: bec6b535c9a817a5ed51453bcb9ecae0b81a8590)

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3be2bc8a9b0c9d6a178329c8b451a6bedf255d6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Louis Rannou
2c09c72cf1 image_qa: fix error handling
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: 8fe7aef17eefa70e3f7c07077b8c695e5c00ed5e)

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 905e224849fbbed1719e0add231b00e2d570b3b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Richard Purdie
cbd445e044 libsdl2: Fix non-deterministic configure option for libsamplerate
The libsamplerate option was floating and being enabled on some systems
and not others. Fix this to be deterministic.

(From OE-Core rev: 7ee654579ccf818708989251a97662ea11218d14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61455a839e568a3ae7e059ea95c02a1c88d39e1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Teresa Remmet
f9fd48d759 recipes-bsp: usbutils: Fix usb-devices command using busybox
Unknown find parameter -printf makes usb-devices script unusable with
busybox. Replace the parameter to fix this issue.

(From OE-Core rev: bb7dad01066d22c3cc4465bdf39ec4e310821d15)

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7c9f827e914b7c27856d995da553a2e41372321)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Paul Gerber
e6acba1518 uboot-sign: fix counters in do_uboot_assemble_fitimage
Without unsetting `j` and `k` for each `UBOOT_MACHINE`, `j` and `k`
are incremented in the same frequency as `i` and therefore `$j -eq $i`
and `$k -eq $i` is always true for the first `type` from `UBOOT_CONFIG`
and the first `binary` from `UBOOT_BINARIES`.

(From OE-Core rev: 7f81c38e91563d6d77621a3bfcb155cd226c9b74)

Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3aef55c7ceb654b0012f20618bfd6ead1ef578b6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Jörg Sommer
f43ef3aa92 runqemu: Fix detection of -serial parameter
The pattern `-serial` matches also `-device usb-serial` and `virtio-serial`
which are not the desired parameter. This causes the serial console ttyS1 is
missing and Systemd's getty@ttyS1 fails constantly.

(From OE-Core rev: 44c1f003d617ac20527926b4b321ffd1fe4462bb)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b6d035894120b45b42f146ab5b3110522c58d178)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Jaeyoon Jung
008e269c6b makedevs: Fix matching uid/gid
Correct the length to compare in convert2guid() to fix an issue where it
ends up with returning a wrong id that matches partially. Also fix the
length of usr_buf and grp_buf in interpret_table_entry() which are used
as arguments of convert2guid().

(From OE-Core rev: 865b7149da5dd6301c1d9805a1e7bac8dcac82a9)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca9d193a21e6b8669c4da1a68cd5e0791bb80a4b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Claus Stovgaard
9d9325d07b lib/oe/package-manager: skip processing installed-pkgs with empty globs
We can skip processing the installed-pkgs file if globs is empty.
This is the case if self.d.getVar for IMAGE_INSTALL_COMPLEMENTARY
returns an empty string. If globs is an empty string the result from
processing with empty glob in oe-pkgdata-util will always be 0 packages
to install.

Instead of return early on this we just skip and still generate the
locale archive if needed.

(From OE-Core rev: f944a1be484378c733d7fd835dc17e210f1c2705)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 160c45c83d5addf01e4834cf896af871bd6fca7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Purushottam Choudhary
3d6bbf83ea virglrenderer: Add patch to fix -int-conversion build issue
Fix int conversion related error during compilation
as some of the platforms where EGLNativeDisplayType
is an int instead of a pointer with GCC-14.

(From OE-Core rev: 17049482f0a112781026376245437c4c8343d28a)

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f71f4936a273262343e34f278e6cfcc1e419aea3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Richard Purdie
75ac1f529a license: Fix directory layout issues
There are several issues:

a) pointless empty directories were being created as a path wasn't
   fixed in a previous commit
b) SSTATE_PKGARCH wasn't being captured into the task signature
   since it is in the ignore list by default. We want to capture
   the absolute value, not the dependencies
c) with those issues fixed, cross/native issues became apparent so
   those need to be fixed too.

(From OE-Core rev: a31b46627a85ea871deb760f3d0008de72ceb439)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backport from oe-core master: f68aed302a0e4b86fb8c16a6ef4e7295bed48b86

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Khem Raj
302fd9c095 libpcre2: Update base uri PhilipHazel -> PCRE2Project
(From OE-Core rev: 31861ad29c18ee76185970335fe86441ffba0442)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd6d18228835773163a085070651e13ed961d66d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Alexander Kanavin
597c051923 sysvinit: take release tarballs from github
Upstream no longer publishes them on savannah, e.g.
release announcement for 3.10:
https://lists.gnu.org/archive/html/sysvinit-devel/2024-07/msg00016.html

There's been several new versions since:
https://github.com/slicer69/sysvinit/releases

(From OE-Core rev: e39cad8d845ee17517e69c2935567a9316ab8d22)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb71eaf3d225de14e62cfc1b76dc8094f8f4aed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Jörg Sommer
d6951e3ce3 ptest-runner: Update 2.4.4 -> 2.4.5
Changelog:

aea9f42 ptest_list_remove: Fix pointer adjustment of prev and next

(From OE-Core rev: edb7968fe272e6afd89b01471f7949ccf730f295)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f70ec9bcd379b5fc4c85d7479d42789c2e22f4a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Yogita Urade
0402f54b66 ruby: upgrade 3.2.2 -> 3.3.5
Includes fix for CVE-2024-41123 & CVE-2024-41946

Release notes:
https://github.com/ruby/ruby/releases/tag/v3_3_5

Rebase:
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
0006-Make-gemspecs-reproducible.patch

Drop:
0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
CVE-2023-36617_1.patch
CVE-2023-36617_2.patch
CVE-2024-27281.patch
CVE-2024-27282.patch
(merged upstream)

0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch
0002-template-Makefile.in-filter-out-f-prefix-map.patch
remove_has_include_macros.patch
(code rewritten upstream)

License-Update: Updated LEGAL section

(From OE-Core rev: 69ffe5bc09260918fb32bfcb29586dcaa1958a5c)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Macpaul Lin
711c934229 linux-firmware: upgrade 20240312 -> 20240909
License-Update: additional files

(From OE-Core rev: 14b1560b2fb303eb63fc1c6853ca4e3e8ef9355b)

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Hitendra Prajapati
f88e92a7b3 libarchive: fix CVE-2024-48957 & CVE-2024-48958
Backport fixes for:

* CVE-2024-48957 - Upstream-Status: Backport from 3006bc5d02
* CVE-2024-48958 - Upstream-Status: Backport from a1cb648d52

(From OE-Core rev: 8b520c3cea136591128f6601718c23334afd7a55)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Hitendra Prajapati
afbf467405 cups: Backport fix for CVE-2024-47175
Upstream-Status: Backport from
9939a70b75
&
04bb2af452
&
e0630cd18f
&
1e6ca5913e
&
2abe1ba8a6

Reference: https://security-tracker.debian.org/tracker/CVE-2024-47175

(From OE-Core rev: f00847d91eb9440c9f1bc2f34cd0edd2af490f78)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Peter Marko
fc449a98b6 rust: ignore CVE-2024-43402
This CVE was created because fix for CVE-2024-24576 was incomplete.
Ignore the new CVE in the same way as the old one.

See https://nvd.nist.gov/vuln/detail/CVE-2024-43402

(From OE-Core rev: 6ed9968bf3e35aca316227ee23294c683f77055d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Lee Chee Yang
cd44e6bd40 migration-guide: add release notes for 4.0.21
(From yocto-docs rev: a854b398db797394677ac8e15b5459373c1c3cd3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Martin Jansa
890f63b6bf meta-world-pkgdata: Inherit nopackages
Since this is a recipe with PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

(From OE-Core rev: 5ea3ba00532265165e0d30f6d2eed568f5b5867f)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Martin Jansa
a3987f60df populate_sdk_base: inherit nopackages
Since this bbclass sets PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't
do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

e.g. meta-toolchain build now fails with:
| DEBUG: Executing shell function buildhistory_list_pkg_files
| find: ".../meta-toolchain/1.0/packages-split/*": No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function buildhistory_emit_pkghistory finished

(From OE-Core rev: 2462cceaeec362d85a469ec0668ed92a092e725c)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Atharva Nandanwar <atharvanandanwar@outlook.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Wang Mingyu
92d7f055c4 cryptodev: upgrade 1.13 -> 1.14
0001-Disable-installing-header-file-provided-by-another-p.patch
0001-tests-Makefile-do-not-use-Werror.patch
removed since they're included in 1.14

Changelog:
===========
* Fix compilation issues after API changes in several Linux kernels
* Split install targets to help package maintainers

(From OE-Core rev: 749f297f5d94fc97a5ade8f7cb0321d7286b2521)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Hitendra Prajapati
4639bc9503 webkitgtk: upgrade 2.44.1 -> 2.44.3
Remove below patches which already fix in this upgraded version.

0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch
0002-More-dynamicDowncast-adoption-in-platform-code.patch

(From OE-Core rev: 9a05f72805fa4c8ac408024bc8cd51892ad4a37c)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Deepesh Varatharajan
2186202022 glibc: stable 2.39 branch updates.
Below commits on glibc-2.39 stable branch are updated.
84f6bfce2c libio: Attempt wide backup free only for non-legacy code
4e382ce01c debug: Fix read error handling in pcprofiledump
7f5027995f elf: Fix tst-dlopen-tlsreinit1.out test dependency
27a0c6b490 elf: Avoid re-initializing already allocated TLS in dlopen (bug 31717)
e3d5d2d350 elf: Clarify and invert second argument of _dl_allocate_tls_init
28c4f32f71 elf: Support recursive use of dynamic TLS in interposed malloc
5ff30b2f75 nptl: Use <support/check.h> facilities in tst-setuid3
cae418638e posix: Use <support/check.h> facilities in tst-truncate and tst-truncate64
a500b48bd2 ungetc: Fix backup buffer leak on program exit [BZ #27821]
70939528c6 ungetc: Fix uninitialized read when putting into unused streams [BZ #27821]
f0c308ab23 Make tst-ungetc use libsupport
3c5f493d87 stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650]
98de2f2bae support: Add FAIL test failure helper
e73fd06b7f string: strerror, strsignal cannot use buffer after dlmopen (bug 32026)
37c2aa4eaa Define __libc_initial for the static libc
49953727d1 x86: Fix bug in strchrnul-evex512 [BZ #32078]
81631a0dd1 Adjust check-local-headers test for libaudit 4.0
9fbbe86f7c x32/cet: Support shadow stack during startup for Linux 6.10
eeff407b19 x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
1ab7faf86d support: Add options list terminator to the test driver
6eebc92cb2 manual/stdio: Further clarify putc, putwc, getc, and getwc
afc15c2044 Fix name space violation in fortify wrappers (bug 32052)
5a5eb72d8e resolv: Fix tst-resolv-short-response for older GCC (bug 32042)
7f5ccdd8af Add mremap tests
a8c230c881 mremap: Update manual entry
9f349d02c6 linux: Update the mremap C implementation [BZ #31968]
127ef30c46 Enhanced test coverage for strncmp, wcsncmp
3b25c7fa87 Enhance test coverage for strnlen, wcsnlen
4bdcc1963b manual: make setrlimit() description less ambiguous
b71a51189d manual/stdio: Clarify putc and putwc
946006d37c malloc: add multi-threaded tests for aligned_alloc/calloc/malloc
f11b7178a1 malloc: avoid global locks in tst-aligned_alloc-lib.c
51db012c94 resolv: Track single-request fallback via _res._flags (bug 31476)
8c9fbc6651 resolv: Do not wait for non-existing second DNS response after error (bug 30081)
fc1dc39984 resolv: Allow short error responses to match any query (bug 31890)
cb19cef087 elf: Fix localplt.awk for DT_RELR-enabled builds (BZ 31978)
f6a75fddf4 Fix usage of _STACK_GROWS_DOWN and _STACK_GROWS_UP defines [BZ 31989]

Results before updates as below:

No. of passes                     4581
No. of expected passes            2
No. of expected failures          16
No. of unexpected failures        214
No. of unsupported tests          45

Results after updates as below:

No. of passes                     4605
No. of expected passes            2
No. of expected failures          16
No. of unexpected failures        212
No. of unsupported tests          46

(From OE-Core rev: d652964e2bd860473b2d39f57b92e51d646672bf)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Peter Marko
c6844e50df wpa-supplicant: Patch security advisory 2024-2
Pick patches according to
http://w1.fi/security/2024-2/sae-h2h-and-incomplete-downgrade-protection-for-group-negotiation.txt
SAE H2E and incomplete downgrade protection for group negotiation

(From OE-Core rev: 44f1d5f08c6dfbd03d2997fc6fa8f257339589fa)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Peter Marko
eca9779e43 wpa-supplicant: Patch CVE-2024-3596
Picked patches according to
http://w1.fi/security/2024-1/hostapd-and-radius-protocol-forgery-attacks.txt

First patch is style commit picked to have a clean cherry-pick of all
mentioned commits without any conflict.
Patch CVE-2024-3596_07.patch has hostapd code removed as it is not
present in wpa-supplicant download tarball.

(From OE-Core rev: 2352c8a1282b7b11a542eb7a821625580c8395fa)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Peter Marko
e828e0364a wpa-supplicant: Ignore CVE-2024-5290
NVD CVE report [1] links Ubuntu bug [2] which has a very good
description/discussion about this issue.
It applies only to distros patching wpa-supplicant to allow non-root
users (e.g. via netdev group) to load modules.
This is not the case of Yocto.

Quote:
So upstream isn't vulnerable as they only expose the dbus interface to
root. Downstreams like Ubuntu and Chromium added a patch that grants
access to the netdev group. The patch is the problem, not the upstream
code IMHO.

There is also a commit [3] associated with this CVE, however that only
provides build-time configuration to limit paths which can be accessed
but it acts only as a mitigation for distros which allow non-root users
to load crafted modules.

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-5290
[2] https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/2067613
[3] https://w1.fi/cgit/hostap/commit/?id=c84388ee4c66bcd310db57489eac4a75fc600747

(From OE-Core rev: 33548479f66164f486efdb6aeba2de7da2b5b0c9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Khem Raj
ff5c6bd86f openssh: Mark CVE-2023-51767 as wont-fix
(From OE-Core rev: 1b4bada6c003ef743df09283e45953e6d9ea4c5a)

(From OE-Core rev: 9376c14f367477a8d02df1331908e3df3bd009b6)

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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Khem Raj
ff0f3fca81 gnupg: Document CVE-2022-3219 and mark wontfix
(From OE-Core rev: f10f9c3a8d2c17d5a6c3f0b00749e5b34a66e090)

(From OE-Core rev: 1bce8a63edd93070bdd8e8a518a6d359e3fbf0ba)

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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:37 -07:00
Jaeyoon Jung
c799f73a47 makedevs: Fix issue when rootdir of / is given
Treating rootdir "/" as "" leads an error in parse_devtable(). Preserve
it as it is given and use a separate variable for path name prepending.
Another minor fix is to add a return statement at the end of
convert2guid() to avoid an error with -Werror=return-type.

(From OE-Core rev: 3d894863f442188bad446095bd7fdd82665bb54b)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d52e6276c687a8950bde21850072ddf14893fb2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Richard Purdie
6f48df063e bitbake.conf: Add truncate to HOSTTOOLS
Some wic images need this command. Since it is part of coreutils, it doesn't really
cost anything to have in HOSTTOOLS and it avoids signifiant build dependencies on
coreutils-native.

[YOCTO #15571]

(From OE-Core rev: 85451cdaee4718233211da1e43db01f5cd2b1aff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 522000ce5c4f0201cbe42d7826b6a8489ed10117)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Yi Zhao
9bbf3a7362 rpm: fix expansion of %_libdir in macros
There is a patch in oe-core[1] to avoid hardcoded paths in macros. It
tries to use libdir to expand %_libdir in macros.in. However, in
upstream commit[2], libdir for macros in CMakeLists.txt is set to
${prefix}/=LIB=, which causes %_libdir to expand to ${prefix}/=LIB=
instead of the correct path in the final macros.

On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    ${prefix}/=LIB=
[snip]

This also causes %__pkgconfig_path in fileattrs/pkgconfig.attr to become
an invalid regular expression when building rpm packages. This results a
warning in log.do_package_write_rpm in all packages:

Warning: Ignoring invalid regular expression ^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$

Set libdir to ${CMAKE_INSTALL_FULL_LIBDIR} instead of ${prefix}/=LIB= to
make sure it is expanded to the correct path in macros.

After the patch:
On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    /usr/lib
[snip]

[1] https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
[2] d2abb7a487

(From OE-Core rev: 7c7f95668d270a825c7d3d235ec2b8d4e7eb0b9f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ae0e217145f45d065124aeb0a7d72a0c25f621ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Alexander Kanavin
c5e470dbbf pulseaudio, desktop-file-utils: correct freedesktop.org -> www.freedesktop.org SRC_URI
Server's https certificate isn't valid for freedesktop.org without www prefix.

(From OE-Core rev: 60f411d19a9ea5297911eed64902e1cb65358e35)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7ce9da33498869384b26a6fda05c37e7b2c3565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Adrian Freihofer
1f79d3af0e kernel-fitimage: fix external dtb check
If EXTERNAL_KERNEL_DEVICETREE and dtb_image_sect are empty variables
dtb_path ends up as "/" which is available on most Unix systems but
probably not the dtb_path which is needed here. Checking for a file
makes more sense and also solves the issue with the "/".

(From OE-Core rev: 74054f3614922e331620a4dcb37975c5f679ab4e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8f629b6991449cc6726f48a607d9e1bd50807ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Adrian Freihofer
bf9a4b750d kernel-fitimage: fix intentation
white space changes only.
- python part should be 4 spaces, not 8.
- use tabs for shell

(From OE-Core rev: 667aab25e83c84c0daccd43eda574ae34c75c8a7)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 000079a973e8c97d496ca721259437880a7ea70d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Richard Purdie
8f0499abe6 scripts/install-buildtools: Update to 5.0.3
Update to the 5.0.3 release of the 5.0 series for buildtools.

(From OE-Core rev: 9028036392df4c49895c3c980596d26e0461febb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c922ca720a0c3b7b4d3d3187539e7cf77d93d457)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Aleksandar Nikolic
c0a82370fd install-buildtools: update base-url, release and installer version
Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

(From OE-Core rev: 2c4b9af5e3f385b296e2ce0e1d8a0c43937a7334)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b2ebb965a5aa128b05ed7ddc9216171463777732)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Aleksandar Nikolic
60e2f32a43 install-buildtools: fix "test installation" step
The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-<arch>-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

(From OE-Core rev: 915c48232b0e66915720bff9c745825fa169fa65)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e4eb0b14ecf9bd2fba13260441c9d86eb348f41e)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Aleksandar Nikolic
4ad1e92c10 install-buildtools: remove md5 checksum validation
No need to validate with the md5 checksum, as the file is not even
uploaded to the Yocto release webpage (the download never failed due
to a wrong indentation of an else statement). For validation purposes,
use the sha256 checksum only.

(From OE-Core rev: 081ac6c177860c1bd7e2d4f4b873f3a760864d21)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b740d2f9d40aef1e18c022d1e82b4fb2c5c1fc22)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Victor Kamensky
e7e5720dd4 systemtap: fix systemtap-native build error on Fedora 40
Backport of couple patches from upstream.

(From OE-Core rev: bca8aa07ce0cea82f6f17381efaeba897edab265)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc486f26db46c562e35f770c16edf3f4035e536e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Konrad Weihmann
2b073f0eaa testexport: fallback for empty IMAGE_LINK_NAME
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testexport fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: bd723b611e937b8532ebcd485db61a3eae46091d)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c1d098e6dd08fa3a5aafca656457ac6badcef89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Konrad Weihmann
89b7eef375 testimage: fallback for empty IMAGE_LINK_NAME
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testimage fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: 1b026479e6d86d43d68ba26bed4b31dac91fc327)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7a4e7e294992acc589c62adcaf6cd32659f2f9b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00