summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/6.6: update to v6.6.60Bruce Ashfield2024-11-223-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/6.6 to the latest korg -stable release that comprises the following commits: 9b5aad3a7498c Linux 6.6.60 cc082e50375a2 fs/ntfs3: Sequential field availability check in mi_enum_attr() 10c20d79d59ca drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing e979a6a626abf ASoC: SOF: ipc4-control: Add support for ALSA enum control 3facc0417d3d7 ASoC: SOF: ipc4-control: Add support for ALSA switch control f01d8fc623711 ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control d54afaef6570c SUNRPC: Remove BUG_ON call sites 27a58a19bd20a mtd: spi-nor: winbond: fix w25q128 regression 3d544942c0010 mm: don't install PMD mappings when THPs are disabled by the hw/process/vma 02ec4b3bba49e mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw() fc621e7a043de wifi: iwlwifi: mvm: fix 6 GHz scan construction f2f1fa446676c nilfs2: fix kernel bug due to missing clearing of checked flag a53c2d847627b wifi: mac80211: fix NULL dereference at band check in starting tx ba session 6a91a5816b289 io_uring: always lock __io_cqring_overflow_flush e3fb0e6afcc39 arm64: dts: imx8ulp: correct the flexspi compatible string 1a49b96c51063 vmscan,migrate: fix page count imbalance on node stats when demoting pages 003d2996964c0 io_uring/rw: fix missing NOWAIT check for O_DIRECT start write 70bbe8d0a9494 kasan: remove vmalloc_percpu test c60af16e1d6cc nvmet-auth: assign dh_key to NULL after kfree_sensitive 4a39320977f9c ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1 b42adef85aca7 ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3 77ddc732416b0 xfs: fix finding a last resort AG in xfs_filestream_pick_ag 8e886e44397ba mctp i2c: handle NULL header address 88f97a4b5843c ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow c117a980185ee x86/traps: move kmsan check after instrumentation_begin 86ee1845cbbf5 x86/traps: Enable UBSAN traps on x86 b958948ae1cb3 mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves 4882a352b5df8 mei: use kvmalloc for read buffer cb8b81ad3e893 mptcp: init: protect sched with rcu_read_lock 4f7ffa83fa79d iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP ade91f6e9848b sched/numa: Fix the potential null pointer dereference in task_numa_work() 8c9a1ec39c698 cxl/acpi: Ensure ports ready at cxl_acpi_probe() return a9ed67f39f888 cxl/port: Fix cxl_bus_rescan() vs bus_rescan_devices() d210bc87cc4fd riscv: Remove duplicated GET_RM 6d84e1b2e5ac0 riscv: Remove unused GENERATING_ASM_OFFSETS a63ba17207c50 riscv: Use '%u' to format the output of 'cpu' 909e71f28e961 riscv: efi: Set NX compat flag in PE/COFF header 58e78589ade88 ALSA: hda/realtek: Limit internal Mic boost on Dell platform ceec8ad09135c Input: edt-ft5x06 - fix regmap leak when probe fails c19a0c171d37f riscv: vdso: Prevent the compiler from inserting calls to memset() e79c1f1c9100b spi: spi-fsl-dspi: Fix crash when not using GPIO chip select 163e6323799bd phy: freescale: imx8m-pcie: Do CMN_RST just before PHY PLL lock check 0d86cd70fc6a7 cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction b3c301b859c4a block: fix sanity checks in blk_rq_map_user_bvec 0fc87887dcb3a mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process 4159cd6ab5cfe mmc: sdhci-pci-gli: GL9767: Fix low power mode on the set clock function 8e1b52c15c811 cxl/port: Fix use-after-free, permit out-of-order decoder shutdown 8cd25f1fce6b8 thunderbolt: Honor TMU requirements in the domain when setting TMU mode 9523a0268924a tools/mm: -Werror fixes in page-types/slabinfo edd1f90505068 mm: shmem: fix data-race in shmem_getattr() b6f95df4f7af6 RISC-V: ACPI: fix early_ioremap to early_memremap 1246d86e7bbde nilfs2: fix potential deadlock with newly created symlinks 1a797936d3468 iio: light: veml6030: fix microlux value calculation 38d6e8be234d8 iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table() 62c1189668312 iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() 3dc0eda2cd5c6 iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() adfbc08b94e7d staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() cedf0f1db8d5f wifi: iwlegacy: Clear stale interrupts before resuming device 6c44abb2d4c32 wifi: cfg80211: clear wdev->cqm_config pointer on free 5f5a939759c79 wifi: ath10k: Fix memory leak in management tx ee35c423042c9 wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower 0b9be24679358 Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" 1fe6799ee9b5f Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM" fd28d95894609 Revert "driver core: Fix uevent_show() vs driver detach race" a762d0fc17df2 xhci: Use pm_runtime_get to prevent RPM on unsupported systems 809dd30ee9011 xhci: Fix Link TRB DMA in command ring stopped completion event 7e8066811a2c4 phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend 370814e9d512b phy: qcom: qmp-usb: fix NULL-deref on runtime suspend e8180a4b1cf93 usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes 558650b18f090 usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes() cd205590599a3 usb: phy: Fix API devm_usb_put_phy() can not release the phy 53e0684f3093b usbip: tools: Fix detach_port() invalid port error path aa03c31a001ac ALSA: usb-audio: Add quirks for Dell WD19 dock b3b2431ed27f4 rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb() 7679283e61a8b rcu-tasks: Initialize data to eliminate RCU-tasks/do_exit() deadlocks dc5d4d4c12246 rcu-tasks: Add data to eliminate RCU-tasks/do_exit() deadlocks 01a2b99ffcca8 rcu-tasks: Pull sampling of ->percpu_dequeue_lim out of loop 7d85884576a3b USB: gadget: dummy-hcd: Fix "task hung" problem e028b82aba882 usb: gadget: dummy_hcd: execute hrtimer callback in softirq context 365a13cf5baa6 usb: gadget: dummy_hcd: Set transfer interval to 1 microframe 4a4cb56556124 usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler f6568620246d2 misc: sgi-gru: Don't disable preemption in GRU driver fe8cb9fac9793 NFS: remove revoked delegation from server's delegation list cc0ff7495e41b net: amd: mvme147: Fix probe banner message 715db716a9f83 thermal: intel: int340x: processor: Add MMIO RAPL PL4 support 56029f1bc3f1f thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support 34c0344e7eac5 cifs: Fix creating native symlinks pointing to current or parent directory 201430d21faab cifs: Improve creating native symlinks pointing to directory 45eaaa13dd91d scsi: scsi_transport_fc: Allow setting rport state to current state 550ef40fa6366 fs/ntfs3: Additional check in ntfs_file_release 68b39c0765de7 fs/ntfs3: Fix general protection fault in run_is_mapped_full 7a4ace681dbb6 fs/ntfs3: Additional check in ni_clear() 34e3220efd666 fs/ntfs3: Fix possible deadlock in mi_read e91fbb21f248b fs/ntfs3: Add rough attr alloc_size check 898c8795ec492 fs/ntfs3: Stale inode instead of bad 84d363dbcfabc fs/ntfs3: Fix warning possible deadlock in ntfs_set_state 5f21e3e60982c fs/ntfs3: Check if more than chunk-size bytes are written 22cdf3be7d34f ntfs3: Add bounds checking to mi_enum_attr() 3c73746c222a7 cxl/events: Fix Trace DRAM Event Record 7013af5bbd281 smb: client: set correct device number on nfs reparse points bbc258dcdbfe5 smb: client: fix parsing of device numbers 0eb2b767c42fa ACPI: CPPC: Make rmw_lock a raw_spin_lock 790dc90b96481 afs: Fix missing subdir edit when renamed between parent dirs 243d2506e7eb0 afs: Automatically generate trace tag enums a6fd78620f25a firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state() 2e4eb1866990e kasan: Fix Software Tag-Based KASAN with GCC 4c3575787e988 iomap: turn iomap_want_unshare_iter into an inline function 9bc18bb476e50 fsdax: dax_unshare_iter needs to copy entire blocks 35adbe088888a fsdax: remove zeroing code from dax_unshare_iter 451b0a27ca6a7 iomap: share iomap_unshare_iter predicate code with fsdax 3c06d13ec80be iomap: don't bother unsharing delalloc extents 61ada9422009e iomap: improve shared block detection in iomap_unshare_iter d4d5767c53581 bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled 0ab3be58b45b9 netfilter: nft_payload: sanitize offset and length before calling skb_checksum() 31384aa2ad05c mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address 598f95742fdc6 mlxsw: spectrum_ptp: Add missing verification before pushing Tx header c69bc67c1cb21 net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension 1f1764466c33a Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs fef63832317d9 netfilter: nf_reject_ipv6: fix potential crash in nf_send_reset6() 6a1f088f9807f netfilter: Fix use-after-free in get_info() ac5977001eee7 net: fix crash when config small gso_max_size/gso_ipv4_max_size 90a6e0e1e151e bpf: Fix out-of-bounds write in trie_get_next_key() 6a604877160fe netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() e20459b5f658b bpf: Force checkpoint when jmp history is too long bef1f6beae90f selftests/bpf: Add bpf_percpu_obj_{new,drop}() macro in bpf_experimental.h 597cf9748c347 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT 42097a9dcaee3 gtp: allow -1 to be specified as file description from userspace 699b48fc31727 ipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_init_flow() 07c9c26e37542 net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data bf6b2cd3c55de net: stmmac: dwmac4: Fix high address display by updating reg_space[] from register values 9f5ae743dbe9a macsec: Fix use-after-free while sending the offloading packet b33b410597ebe ASoC: cs42l51: Fix some error handling paths in cs42l51_probe() fa078b39e3f1b wifi: iwlwifi: mvm: don't add default link in fw restart flow 3eb986c64c6bf wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd() 3b01b9985a543 wifi: iwlwifi: mvm: disconnect station vifs if recovery failed 148f6af754781 RDMA/bnxt_re: synchronize the qp-handle table array 16dbff3e8d195 RDMA/bnxt_re: Fix the usage of control path spin locks 8636072c21e39 RDMA/mlx5: Round max_rd_atomic/max_dest_rd_atomic up instead of down e9c62661a0697 RDMA/cxgb4: Dump vendor specific QP details 0a59445e2cdf3 wifi: brcm80211: BRCM_TRACING should depend on TRACING 9b5c89acc8e99 wifi: ath11k: Fix invalid ring usage in full monitor mode 189f1bfc5c84e wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys 021693dad10a2 mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING 5db6e193c4ca0 wifi: iwlegacy: Fix "field-spanning write" warning in il_enqueue_hcmd() 9cfab1f3d425c spi: geni-qcom: Fix boot warning related to pm_runtime and devres fb384669cb8c2 cgroup: Fix potential overflow issue when checking max_depth 73ca1c70b8b7f Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller 403777d303399 Input: xpad - sort xpad_device by vendor and product ID eabe285e1c629 thermal: core: Free tzp copy along with the thermal zone 3eb073abba327 thermal: core: Rework thermal zone availability check a95a9e3089d56 thermal: core: Make thermal_zone_device_unregister() return after freeing the zone 18abb2787b536 x86/syscall: Mark exit[_group] syscall handlers __noreturn 2879d995e5697 pnmtologo: sync with 6.6 43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes 35046aea43c85 bpftool: Fix undefined bpf macro for unix socket 9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids 42b2eec2e5039 bpftool: Query only cgroup-related attach types f71bb11887bae cpu/amd: inhibit SMP check for qemux86 c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14 64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock 7c76aad68f6d1 kselftest: Add a ksft_perror() helper 06644f0d7193d drm/tilcdc: Set preferred depth ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs 50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018 58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts c2d64b9f52b6e qemux86: add configuration symbol to select values 630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs 0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter 46934791b9026 clear_warn_once: bind a timer to written reset value cdee9e38ff324 clear_warn_once: expand debugfs to include read support 82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS 36dc380b776b1 libbpf: Fix build warning on ref_ctr_off 9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. e497a4a5da65b perf: x86-32: explicitly include <errno.h> 7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long 1cfc19423dc7f perf: fix bench numa compilation 98bc2815fade4 perf: add SLANG_INC for slang.h 17209a70b9b39 perf: add sgidefs.h to for mips builds 9cd4258d910af perf: change --root to --prefix for python install 8110a4f266284 perf: add 'libperl not found' warning bc89d5e08f773 perf: force include of <stdbool.h> 4f6c760cc876a fat: Replace prandom_u32() with get_random_u32() bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat 30b2236ab3786 FAT: Added FAT_NO_83NAME cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option 0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option 5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes c4342d979bf21 aufs6: fix magic.mk include path 35266bc2dc81a aufs6: adapt to v6.6 8edede4e98be1 aufs6: core 712248233ebe1 aufs6: standalone 3b71a8a848d8b aufs6: mmap 3e2924871f371 aufs6: base 7f4907a931016 aufs6: kbuild d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+ bcd6cfcd1aa04 yaffs2: v6.5 fixups cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length 8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap c9c749f9f7d34 yaffs2: replace bdevname call with sprintf 395b01cdc39d1 yaffs2: convert read_page -> readfolio d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL 613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name 622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested) 7562133d4090b yaffs: include blkdev.h dbd44252cd592 yaffs: fix misplaced variable declaration c223a10b1ac08 yaffs2: v5.6 build fixups 90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read 37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super b6e007b8abb6e yaffs: repair yaffs_get_mtd_device fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API 51e0aac75ea27 yaffs2: fix memory leak in mount/umount 2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1 ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis 8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY 1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020) 4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation 2f603d83fcc4d pnmtologo: use relocatable file name 664a6a0a484ba tools: use basename to identify file in gen-mach-types 9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues ae9b80797295a vt/conmakehash: improve reproducibility a972323151bdd iwlwifi: select MAC80211_LEDS conditionally 15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119) 5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation 5552dc768ffcd defconfigs: drop obselete options 00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled 3888d0652edf1 linux-yocto: Handle /bin/awk issues 3d55d299f23a7 uvesafb: provide option to specify timeout for task completion 23c068c080bea uvesafb: print error message when task timeout occurs edbfc939266ec compiler.h: Undef before redefining __attribute_const__ c99ae7e2a19ab vmware: include jiffies.h 572d84d928c87 Resolve jiffies wrapping about arp fdcd47cac8435 nfs: Allow default io size to be configured. 927d488010984 check console device file on fs when booting 57cc27f821ddf mount_root: clarify error messages for when no rootfs found 1b53d82a81528 mconf: fix output of cflags and libraries 1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location 83c2e0c6eb1f3 modpost: mask trivial warnings 6de6730394846 kbuild: exclude meta directory from distclean processing 6decd32815f53 powerpc: serialize image targets f6b683b38318c arm: serialize build targets e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition dc8a1e5a88f86 x86_64_defconfig: Fix warnings 68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8 d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8 62f50884b8b18 powerpc: kexec fix for powerpc64 da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core f161c880c11de mips: make current_cpu_data preempt safe 5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code 19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c 881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var 98ec1963fcb7a arm64: defconfig: cleanup config options f1727c537ba8d vexpress: Pass LOADADDR to Makefile 4474c32dc24a4 arm: ARM EABI socketcall 75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault (From OE-Core rev: d8c3c6dab1b4993c7f122dac86ca9c1a5640245e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: fix powerpc for 6.12+Bruce Ashfield2024-11-221-0/+5
| | | | | | | | | | | | | | | | crtsavres need to be available for scripts to be regenerated in 6.12+: commit 699d53f04829d6b8855ff458f86e4b75ef3e5f0c Author: Christophe Leroy <christophe.leroy@csgroup.eu> Date: Thu Sep 19 20:55:57 2024 +0200 powerpc/vdso32: Fix use of crtsavres for PPC64 (From OE-Core rev: ecf72da891ebb08807a694967caccb51805813f2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/classes/spdx-common.bbclass: fix sstate cache racing issue on kernel ↵Hongxu Jia2024-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source while SPDX_INCLUDE_SOURCES = "1" While two projects share one sstate cache, the 1st project builds kernel-devsrc without setting SPDX_INCLUDE_SOURCES, and 2nd project build kernel-devsrc with setting SPDX_INCLUDE_SOURCES = "1". Then the 2nd build failed with kernel-source not found 1. In 1st build $ cd path-to-first-build $ bitbake kernel-devsrc 2. In 2nd build, share sstate cache of 1st build and SPDX_INCLUDE_SOURCES = "1" $ cd path-to-second-build $ echo 'SSTATE_DIR = "path-to-first-build/sstate-cache"' >> conf/local.conf $ echo 'SPDX_INCLUDE_SOURCES = "1"' >> conf/local.conf $ bitbake kernel-devsrc ... NOTE: copyhardlinktree path-to-second-build/tmp-glibc/work-shared/axxiaarm64/kernel-source to path-to-second-build/tmp-glibc/work/axxiaarm64-wrs-linux/kernel-devsrc/1.0/spdx/3.0.1/work/kernel-source ERROR: Error executing a python function in exec_func_python() autogenerated: ... 0208: bb.note(f"copyhardlinktree {share_src} to {src_dir}") *** 0209: oe.path.copyhardlinktree(share_src, src_dir) ... tar: path-to-second-build/tmp-glibc/work-shared/axxiaarm64/kernel-source: Cannot open: No such file or directory ... The recipe kernel-devsrc or the recipe to inherit kernelsrc.bbclass, they do not have task do_shared_workdir but depends on virtual/kernel:do_shared_workdir. In this situation(the ${S} == ${STAGING_KERNEL_DIR}), explicitly make do_create_spdx depends on virtual/kernel:do_shared_workdir could fix the racing issue (From OE-Core rev: b05ff49de1e58f5696e8ee28fceaf9319be70e1f) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/arm-linux: Fix typo for sizeof_char_pRichard Purdie2024-11-211-1/+1
| | | | | | | | | I noticed a typo while looking at the file. It doesn't change a value but worth fixing since I spotted it. (From OE-Core rev: 84b407ca5542a6fa828c4b0c62ff60964db73901) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu/testimage: Ensure GNU tar is in test imagesRichard Purdie2024-11-214-1/+10
| | | | | | | | | | | | | | | | We've seen cases where a ptest (strace) has a 43GB sparse file in the test directory. busybox tar doesn't work well with this. The resulting 1.4GB archive takes hours to extract too. Ensure tar is added to our full images and use the sparse option to collect files for debugging. This stops crazy build hangs. Since tar is GPLv3, we have to exclude it from that test code. We don't boot any of those images so the debug collection code is safe there, at least for now. (From OE-Core rev: fefeb919696b6ac76f0997acfb0f612203ef7f1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.82.1 -> 2.82.2Guðni Már Gilbert2024-11-2116-46/+37
| | | | | | | | | | | https://gitlab.gnome.org/GNOME/glib/-/releases/2.82.2 Upgrade was performed using devtool (From OE-Core rev: c4e48010a49d575ca3b8ed78b68a269c77775fbe) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-vectors: don't remove RECORDRoss Burton2024-11-211-5/+0
| | | | | | | | | | We remove this file in the python_pep517 class now, so we don't need to do it here. (From OE-Core rev: 717b9e08d6a19ee31a217ceeb255aaed6a395de4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes-recipe/python_pep517: remove all RECORD filesRoss Burton2024-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python modules install metadata into a .dist-info directory, one of which is RECORD, which contains the files that were installed and their checksum[1]. This is typically used by pip to validate the install, or to know what files to remove when the module is uninstalled. This is slightly problematic when we need to do patching of installed .py files in do_install(), as the RECORD file has already been written at that point. However, the RECORD files only really have a use outside of a system- managed environment, which our python packages are. We already have commands to verify and remove modules (opkg, dpkg, rpm) and the RECORD file existing simply allows people to 'sudo pip' and alter the package- managed directories outside of the package manager. This is not a good idea, and some other distros remove the RECORD file to stop this possibility: - Debian[2] - Fedora[3] - Gentoo[4] We can follow for all packages which inherit python_pep517, which is the majority of the Python packages now. [1] https://peps.python.org/pep-0491/#the-dist-info-directory [2] https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/dhpython/fs.py?ref_type=heads#L185 [3] https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/macros.pyproject#_105 [4] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c49f3c00415dee99407dabba8d3b22895c9d25 (From OE-Core rev: 917df5ed022f9512473fe0971db48b5253c97b85) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: restrict rpm to 4 threadsAlexander Kanavin2024-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TL;DR version: with this, and the previous compression level changes I am seeing drastic speedups in package_write_rpm completion times: webkitgtk goes from 78 seconds to 37 seconds glibc-locale goes from 399 seconds to 58 seconds (!) The long version: rpm uses multithreading for two purposes: - spawning compressors (which are nowadays themselves multi-threaded, so the feature is not as useful as it once was) - parallel file classification While the former behaves well on massively parallel CPUs (it was written and verified here :), the latter was then added by upstream and only benchmarked on their very old, slow laptop, apparently: https://github.com/rpm-software-management/rpm/commit/41f0e214f2266f02d6185ba11f797716de8125d4 On anything more capable it starts showing pathologic behavior, presumably from spawning massive amount of very short-lived threads, and then having to synchronize them. For example classifying glibc-locale takes 5m20s with 256 threads (default on my machine!) 1m49s with 64 threads 59s with 16 threads 48s with 8 threads Even a more typical recipe like webkitgtk is affected: 47s with 256 threads 32s with 64 threads 27s with 16 or 8 threads I have found that the optimal amount is actually four: this also means that only four compressors are running at a time, but as they're themselves using threads, and typical recipes are dominated by just two or three large packages, this does not affect overall completion time. (From OE-Core rev: 286d456e71ee2730c197ce394d6be2c7eeced18d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: use zstd's default compression levelAlexander Kanavin2024-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | zstd uses 3 by default (and ZSTD_COMPRESSION_LEVEL is set to that), while 19 is the highest and slowest. It's not clear why 19 was picked to begin with, possibly I copy-pasted it from rpm's examples without thinking: https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66 This brings significant speedups in rpm's compression step: for example compressing webkitgtk takes 11s instead of 36s. The rpm size increases from 175648k to 234860k. I think it's a worthy default tradeoff. (From OE-Core rev: f1c7d76361425c85d68ad1f61be1e7ff05df4bab) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: make ZSTD_COMPRESSION_LEVEL a number rather than a ↵Alexander Kanavin2024-11-211-2/+2
| | | | | | | | | | | | dash-prefixed option This allows using it where only a number is needed, such as rpm compression setting. (From OE-Core rev: 9c284b4c661566855f15ba3f4508982c2a60b147) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage: Handle /var/log being volatileRichard Purdie2024-11-211-0/+1
| | | | | | | | When /var/log is volatile, capturing just the symlink isn't useful. Fix this. (From OE-Core rev: 06bb8069b023c6b71f3c7dd87a6c2bebc5820083) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/ssh: Improve performance and log sizesRichard Purdie2024-11-211-12/+32
| | | | | | | | | | | | | | | | | | The current code is not fit for purpose when handling large files via ssh. In the strace ptest case, we can end up with a 1.4GB archive being transferred for which every byte is printed into the task logfile twice over. This is then sent over bitbake IPC which compounds the problems. Make the following improvements: * when the output is large (over 64kb), don't print it * use a bytearray for better concat performance since strings are slow for this * when there is no ssh output, say that * print periodic size status output rather than the data itself since this could be binary and/or large * fix the killed process message logic which appeared broken (From OE-Core rev: e7dd009a17dc902852983a82bce41bf78bb1e242) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage.bbclass: change test failure logging from bb.fatal() to bb.error()Mikko Rapeli2024-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | | bb.fatal() exists right away while bb.error() does some cleanup before exiting. Fixes running tests during image build with TESTIMAGE_AUTO multiple times in a row when some of the tests fail: $ killall -9 Cooker ; bitbake -c clean core-image-base ; \ bitbake core-image-base ; \ bitbake core-image-base With bb.fatal() something in cleanup is not done and second image build builds an empty rootfs into .wic image. Workaround is to kill Cooker processes between bitbake calls, or to switch testimage.bbclass from bb.fatal() to bb.error() logging which is done here. (From OE-Core rev: 077bdd26e6c5bd161f082524ceee9e90d56315b5) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: Upgrade 1.80.0->1.80.1Deepthi Hemraj2024-11-216-1/+1
| | | | | | | | | | | | | | | | | | https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html Testing Summary for rust_1.80.1 Target pass skipped x86_64 18254 434 x86 18084 604 ARM64 18111 577 ARM 18067 621 ppc 18035 653 (From OE-Core rev: 41da52480931c5ff90884c9d658075b8885abe8c) Signed-off-by: Sunil Dora <SunilKumar.Dora@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: extract dependencies from .note.dlopen ELF segmentsRoss Burton2024-11-212-2/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, this is likely not the final implementation, but a RFC and prototype. Some binaries don't dynamically link to libraries, but instead at runtime dlopen() them. This means extra work for distributions as the dependencies are not detected automatically, so libraries may be missing. systemd is one such project which does this, and in an attempt to solve the packaging problem it also embeds the names of the libraries that can potentially be opened at runtime into ELF notes. These can be read to generate package dependencies. For example: packages/cortexa57-poky-linux/systemd/libsystemd-shared: RRECOMMENDS: added "libkmod (['>= 33']) libzstd (['>= 1.5.6'])" packages/cortexa57-poky-linux/systemd/libsystemd: RRECOMMENDS: added "libzstd (['>= 1.5.6'])" I expect this code to be changed before merging. Whilst systemd is the main user of his approach right now, I expect to see it used in more places in the future so there's a reasonably good argument to merge it into the core shlibs code. Also it currently manually extracts and parses the data, whereas maybe we should incorporate pyelftools into meta/lib/oe and use that to parse ELF files across all of OE. This also means we can remove the explicit dependency on libkmod in udev, which now comes in via libsystemd-shared. (From OE-Core rev: 905da779bcfe98f105adac708e0045ce8ffe5636) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: wrap mtime based time with packageconfigDaniel McGregor2024-11-211-1/+3
| | | | | | | | | | | | | | | | | | Recently the systemd recipe grew support for setting the epoch time at image build time. Unfortunately this is unconditional, and our use case for the set-time-epoch PACKAGECONFIG is we have a system requirement that our product boot with the time set to the UNIX epoch. Instead of trying to complicate things with either an image hook or overriding the systemd recipe, just make setting the epoch at image time optional, with the same PACKAGECONFIG that controls hardcoding the systemd build time as the default epoch. (From OE-Core rev: ae433b35fb2d5475e33dea61e6bc65d83d3af56a) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl8: fix headers pathYoann Congal2024-11-211-2/+2
| | | | | | | | | | | | | | During the tcl_8.x removal[0] and its reintegration as tcl8_x[1], BPN has changed from tcl to tcl8. But, recipes that depends on tcl headers search the tcl8.6.15 directory where the current recipe generate a tcl88.6.15 ($BPN+$VERSION) directory. Fix this by hardcoding the base part of the directory name to "tcl". (From OE-Core rev: dd8461f27b4a55dbf79baa4a71dc08b127801181) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cython: swap prefix-mapping patch for an upstream commitRoss Burton2024-11-214-152/+74
| | | | | | | | | | | | | Upstream has solved the absolute path problem differently by taking paths relative to the top of the module. This appears to solve the problem, at least I've not found any cases where it breaks. Drop my patch, and backport the relevant commit from upstream. (From OE-Core rev: 47f7808dd93e50fb3ecddbf980e40e51dd7376cb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/documentation.conf: Show warnings for BB_DANGLINGAPPENDS_WARNONLY usageRichard Purdie2024-11-212-1/+1
| | | | | | | | | Following bitbake "cooker: Drop support for BB_DANGLINGAPPENDS_WARNONLY", show warnings for use of the variable. (From OE-Core rev: ab0f6898a0f3892a9c4536919adaa1d8d847bb7c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: add --with-extra-version configure optionVictor Kamensky2024-11-191-0/+1
| | | | | | | | | | | | | | | | | | | When --with-extra-version="oe" option is used, systemtap code stop using GIT_PRETTY_REV that comes from 'git describe --dirty --always --abbrev=8' output in its version and uses --with-extra-version value instead. 'git describe' output has reproducibility issue since it depends on commits present in lattest branch, and that may change. Thus using fixed value instead addresses systemtap reproducibility issue. [YOCTO #15288] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15288 (From OE-Core rev: 37fb7c4e469baf53f85319c3cbb75af41a6ddbe7) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 5.1 -> 5.2Victor Kamensky2024-11-194-95/+6
| | | | | | | | | | | | * removed all backported patches * fixed patch fuzz issue (From OE-Core rev: ac4841118b4a61c59f52aeca117209bce088e714) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: use HEAD commit as base for the selftest and not masterAlexander Kanavin2024-11-191-1/+1
| | | | | | | | | | | | | | | | Patchtest applies patches on top of poky master branch by default; this means selftest does the same, and any commits from the branch-under-test are then discarded. This can cause issues for example, if bitbake-server process started by selftest from the master branch tries to parse bitbake.conf from the branch under test: https://valkyrie.yoctoproject.org/#/builders/71/builds/460 (From OE-Core rev: 03c6b2e0277c00faf55c12c4d0b4b5e3a4898f8c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: drop cracklib from DEPENDSGuðni Már Gilbert2024-11-191-1/+1
| | | | | | | | | | | | cracklib was dropped as a dependency in libpam v1.5.0 See the following commit as reference: https://github.com/linux-pam/linux-pam/commit/d702ff714c309069111899fd07c09e31c414c166 (From OE-Core rev: f206c48a71e10195fb1d20a5b4efafad4ae64d95) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: upgrade 2.13.4 -> 2.13.5Guðni Már Gilbert2024-11-192-3/+3
| | | | | | | | | | | | | | | | | | | | | https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.5 Regressions * xmlIO: Fix reading from non-regular files like pipes * xmlreader: Fix return value of xmlTextReaderReadString * parser: Fix loading of parameter entities in external DTDs * parser: Fix downstream code that swaps DTDs * parser: Fix detection of duplicate attributes * string: Fix va_copy fallback Bug fixes * xpath: Fix parsing of non-ASCII names (From OE-Core rev: c6dc275850d5a98803eee7d4712bb66b19051c82) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsndfile1: backport the fix for CVE-2024-50612Ross Burton2024-11-192-0/+410
| | | | | | | | | | Backport the fix from upstream. (From OE-Core rev: 2fc6b711a6a7252ddf13587927c06333f5a38d71) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands: Actually do the re-orderingRalph Siemsen2024-11-191-3/+3
| | | | | | | | | | | | | | | | | Previous commit added logic to move certain tasks to the end, but these had no effect, because the result of the make_last() function was not used to update the post_process_cmds variable. Also, once this is fixed, it becomes evident that the commands need to be joined using whitespace, otherwise they all run together, and cannot be executed as individual commands anymore. Fixes: 0ffff2c1f8 ("rootfs-postcommands: Try and improve ordering constraints") (From OE-Core rev: 2a4e8f06bac1bff0a167f775f7babab94b32732a) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: Handle BB_NO_NETWORK and missing dbMark Hatle2024-11-191-0/+5
| | | | | | | | | | | | | | | | | The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this as the correct behavior for the user is to set: CVE_DB_UPDATE_INTERVAL = "-1" If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not we need to error so the user can deal with this. Note, MIRRORs are NOT handled by this code. (From OE-Core rev: 337c0806d2784d74bee8d6420fb8b4d48795d5fa) Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set better sane time at startupGaël PORTAY2024-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When systemd is started, it sets the system clock to epoch to ensure the system clock is reasonably initialized if no working RTC. As init process, systemd sets epoch very early to the more recent timestamp of[1]: - the build time of systemd (-Dtime-epoch) - the modification time ("mtime") of /var/lib/systemd/timesync/clock (systemd-timesyncd) - the modification time ("mtime") of /usr/lib/clock-epoch (systemd) The first epoch timestamp is hard-coded at build-time by the systemd recipe (using either SOURCE_DATE_EPOCH, git-tag, or NEWS modification time[2]). The second epoch timestamp is maintained at run-time if the system runs systemd-timesyncd. This implements the third epoch timestamp at image build-time, by touching the timestamp file /usr/lib/clock-epoch from the package post-install script. [1]: https://github.com/systemd/systemd/commit/863098fdc9cd91e4f760085356ac02c4b7ba6df1 [2]: https://github.com/systemd/systemd/blob/v256/meson.build#L804-L825 (From OE-Core rev: 0f51fee4a5408c17cbaf827053f13d6c3b9dbc2c) Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: enable other loaders by defaultChangqing Li2024-11-191-1/+3
| | | | | | | | | | | | | | | | | | | | | Refer [1], upstream gdk-pixbuf disable some loaders by default from 2.42.11, this makes some format of icons not works well after upgrade gdk-pixbuf, report error like: matchbox-deskto[501]: Error loading icon: Failed to load /usr/share/pixmaps/xinput_calibrator.xpm: Unrecognized image file format Add PACKAGECONFIG gif, others, and fix the same as some other sdks and arch linux, disable these loaders by default, refer [2][3][4] [1] https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/e052a112075a19fb75f1f2ff3de4c82923de13f2 [2] https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/846 [3] https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/commit/3ab7810255c64ce8aa2ae3ac10250148588ab49b [4] https://gitlab.archlinux.org/archlinux/packaging/packages/gdk-pixbuf2/-/commit/4fa2d98a197781354b66a9710c9d596d502c961b (From OE-Core rev: 10ea616e0aa0921e02c00689df5a7f2ec5e2b7ce) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dosfstools: add backported patch for honouring SOURCE_DATE_EPOCHRasmus Villemoes2024-11-192-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, file system images created with mkfs.vfat are not reproducible, because both the file system creation time and the volume id are derived from the current time. Upstream has added a patch for deriving those from SOURCE_DATE_EPOCH, when defined, many years ago, but unfortunately there is no official release containing that patch. The issue [1] is 2.5 years old, so there's no reason to believe such a release would be just around the corner. The patch applies cleanly, and e.g. Arch Linux already uses this exact combination of source tarball and this single patch [2], so I think this should be ok. It certainly works for the images I've tested on. [1] https://github.com/dosfstools/dosfstools/issues/179 [2] https://gitlab.archlinux.org/archlinux/packaging/packages/dosfstools/-/blob/main/PKGBUILD?ref_type=heads (From OE-Core rev: bf9e6bf884bc780547d3dc88c3977c8102e1faeb) Signed-off-by: Rasmus Villemoes <ravi@prevas.dk> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: add a test for bitbake "-e" and "-getvar" differenceYoann Congal2024-11-181-0/+18
| | | | | | | | | | This is a non-regression test for [YOCTO #15638] (From OE-Core rev: 22b508da24e0f7e5ad8ce4e090832bd0829963f0) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shared-mime-info: drop itstool-native from DEPENDSGuðni Már Gilbert2024-11-181-1/+1
| | | | | | | | | | | itstool was dropped as a dependency in shared-mime-info release v2.2 (2022-03-27) (From OE-Core rev: 8ca8687b3361e66e7c9ab7429b9b87c3ec342f8e) Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes-recipe/cython: handle builds with no .c sourcesRoss Burton2024-11-181-1/+1
| | | | | | | | | | | | | | | | This didn't seem to be possible considering the entire point of Cython is to generate C bindings, but some Python build systems remove the build tree once the wheel has been generated, so we never get to see the sources. As xargs will call the specified command even without any files this results in sed failing. Pass --no-run-if-empty so that this case doesn't result in an error. (From OE-Core rev: f1c1bdb05ea8f79a14a4b53e110889b70881f4d7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/ping: don't bother trying to ping localhostRoss Burton2024-11-181-0/+7
| | | | | | | | | | | | | | | | | | | | If SLIRP is being used instead of TAP for networking to the guest then the target IP will be localhost. There's no point in pinging localhost to see if the target is up but whilst you'd think it is harmless, in some containers ping doesn't actually have enough rights to work: ping: socktype: SOCK_RAW ping: socket: Operation not permitted ping: => missing cap_net_raw+p capability or setuid? Look at the target address and if it's localhost or 127.0.0.* return immediately. (From OE-Core rev: a06ef43d2a50e16c32bd6edbdc7b32c3528687d5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package QCS615 Adreno ZAP shaderDmitry Baryshkov2024-11-181-0/+4
| | | | | | | | | | | Add a new package with the Adreno ZAP shader for the Qualcomm QCS615 platform. (From OE-Core rev: 8d36621f0a931c36045d02a006500a602b5b8865) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package Qualcomm X1 Elite audio DSP firmwareDmitry Baryshkov2024-11-181-1/+4
| | | | | | | | | | Package ADSP firmware usable on Qualcomm X1 Elite CRD and QCP platforms. (From OE-Core rev: 2ae4ca92366b7be151a00ae75e7c68fe6f49713c) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20241017 -> 20241110Dmitry Baryshkov2024-11-182-34/+2
| | | | | | | | | | License-Update: additional files (From OE-Core rev: 59f41bcfd3e5fc266335e6e417e5160254e387d8) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: rewrite sstate_archive_package in pythonRoss Burton2024-11-181-27/+26
| | | | | | | | | | | | | | As sstate_archive_package just calls tar, writing the function in shell is actually more complex and opaque than the equivalent python. Don't check for zstd vs pzstd, we have pzstd in HOSTTOOLS so it will always be available. (From OE-Core rev: c9ac5d9d94f254292cf3cafdf273dd6b61d3baa7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Set CVE_PRODUCTMaik Otto2024-11-181-0/+2
| | | | | | | | | | | The CPE vendor is "denx" and the CPE product is "u-boot". Set CVE_PRODUCT for properly matching in the NVD database. (From OE-Core rev: d2e5d427de13b33694a1d802f5ac833b2c04ced6) Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: upgrade 0.44.0 -> 0.45.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== - Refactored the convert command to not need setuptools to be installed - Don't configure setuptools logging unless running bdist_wheel - Added a redirection from wheel.bdist_wheel.bdist_wheel to setuptools.command.bdist_wheel.bdist_wheel to improve compatibility with setuptools' latest fixes. (From OE-Core rev: deba45d6d23aae40573b51e16716918f7841ef51) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-websockets: upgrade 13.1 -> 14.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://websockets.readthedocs.io/en/stable/project/changelog.html (From OE-Core rev: aaafdc7a252540376c5a352a0c0650fc4d3ae5fe) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-rpds-py: upgrade 0.20.0 -> 0.21.0Wang Mingyu2024-11-182-15/+13
| | | | | | | | | | | Changelog: bump pyO3 to 0.22.6 (From OE-Core rev: 278ec90488c057b37927be874a33c609c14c3494) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyproject-metadata: upgrade 0.8.1 -> 0.9.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://pep621.readthedocs.io/en/stable/changelog.html (From OE-Core rev: a0eb3bb4e7db70bb94c438ae2129421a1fcadb3c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 24.2 -> 24.3.1Wang Mingyu2024-11-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | no_shebang_mangling.patch refreshed for 24.3.1 Changelog: ========= - Deprecate wheel filenames that are not compliant with PEP 440. - Detect recursively referencing requirements files and help users identify the source. - Support for PEP 730 iOS wheels. - Display a better error message when an already installed package has an invalid requirement - Ignore PIP_TARGET and pip.conf global.target when preparing a build environment. - Restore support for macOS 10.12 and older (via truststore). - Allow installing pip in editable mode in a virtual environment on Windows. - Upgrade certifi to 2024.8.30 - Upgrade distlib to 0.3.9 - Upgrade truststore to 0.10.0 - Upgrade urllib3 to 1.26.20 - Allow multiple nested inclusions of the same requirements file again. (From OE-Core rev: 0ee321a8080226347116e9beeb66e1f00436cb22) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: upgrade 24.1 -> 24.2Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - The source is auto-formatted with ruff, not black - Bump the github-actions group across 1 directory with 3 updates - Apply ruff rules (RUF) - Fix typo in Version __str__ - Bump the github-actions group with 3 updates - Get rid of duplicate test cases - Fix doc for canonicalize_version and a typo in a docstring - docs: public/base_version comparison - Apply ruff/bugbear rules (B) - Apply ruff/pyupgrade rules (UP) - Add a changelog entry for dropping Python 3.7 support - Patch python_full_version unconditionally - Refactor canonicalize_version - Allow creating a SpecifierSet from a list of specifiers - Fix uninformative error message - Fix prerelease detection for > and < - Bump the github-actions group across 1 directory with 4 updates - Add support for PEP 730 iOS tags. - Update the changelog to reflect 24.1 changes - Mention updating changelog in release process - Add a comment as to why Metadata.name isn't normalized - Use !r formatter for error messages with filenames. - PEP 639: Implement License-Expression and License-File - Bump the github-actions group with 4 updates - Upgrade to latest mypy - Extraneous quotes (From OE-Core rev: 7e134bd24e7b621a0fbf4ef8143334fb039445e3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: upgrade 3.0.1 -> 3.0.2Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | Changelog: ========== - Fix compatibility when __str__ returns a str subclass. - Build requires setuptools >= 70.1. (From OE-Core rev: 786ce51f9411b23281919b6251a4d700d8c75c41) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-license-expression: upgrade 30.3.1 -> 30.4.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | Changelog: ============ - Update licensedb to 3.24 - Update licenses with SPDX license list 3.25 - Update README and setup.cfg (From OE-Core rev: 81575d889cacf94fc1067348595adb76f50d85be) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.115.3 -> 6.118.6Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html (From OE-Core rev: 1c2a671179b1230e50cc6759e3ab026c0aa38c32) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xtrans: upgrade 1.5.1 -> 1.5.2Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | Changelog: ============ - is_numeric: Add !defined(IPv6) to checks - Fix build when HAVE_STRCASECMP is not defined (From OE-Core rev: 78d345e918bc4c99bd8a0fa13a0bcf20010742a7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>