Vincent Davis Jr [Thu, 14 Aug 2025 04:25:49 +0000 (00:25 -0400)]
bootimg_pcbios: add funcs to configure booting with grub
Functions added, but not executed during
wic image creation include:
_get_staging_libdir
* Finds target lib directory if for some
reason STAGING_LIBDIR isn't set.
_do_configure_grub
* Will search for a grub configuration passed via
bootloader --configfile. If not found build a
default one which searches for partition that
contains the given the kernel name via grub
search module.
_do_prepare_grub
1. Sets default values for GRUB_MKIMAGE_FORMAT_PC
and GRUB_PREFIX_PATH if none specified. Both
variables are required by grub-mkimage.
* GRUB_MKIMAGE_FORMAT_PC is used to define
target platform.
* GRUB_PREFIX_PATH is used to define which
directory grub config and modules are going
to reside in.
2. Generates grub config to embed into core.img.
This config is used to search for partition
containing grub config.
3. Creates a custom core.img or grub stage 1.5
with an embedded grub config.
4. Copies all the target built grub modules into
GRUB_PREFIX_PATH directory.
5. Creates boot partition
_do_install_grub
1. dd target platform specific boot.img to the first
0-440 bytes of the resulting wic image. dd grub
stage 1 to wic image. If this wics plugin is used
with GPT as partition table format and grub selected
as bootloader it's more than likely for grub hybrid
booting because bootimg_efi plugin should and more
than likely will be used in that case. So, boot.img
may be dd regardless if partition table format is
GPT or MBR.
2. dd custom core.img (grub stage 1.5) with embedded
configuration to the resulting wic image starting
at byte 512 up to sizeof(core.img).
3. Both boot.img and core.img are required for legacy
bios boot. See grub Wiki for more details on
boot.img and core.img.
https://en.wikipedia.org/wiki/GNU_GRUB
Commit also imports python modules required by the
above implemented functions.
Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vincent Davis Jr [Thu, 14 Aug 2025 04:25:48 +0000 (00:25 -0400)]
bootimg_pcbios: cleanup prepare and install syslinux funcs
This commit:
1. Removes unrequired function params from
* _do_prepare_syslinux
* _do_install_syslinux
Reason is that they aren't required by
the function.
2. Moves finding of resulting wic image
back into do_install_disk task. As
the same code may be leverage to install
other bootloaders to the resulting disk.
Signed-off-by: Vincent Davis Jr. <vince@underview.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vincent Davis Jr [Thu, 14 Aug 2025 04:25:47 +0000 (00:25 -0400)]
bootimg_pcbios: cleanup _do_configure_syslinux function
This commit:
1. Removes all unrequired function parameters.
The part parameter was kept due to it's potential
future usage in _do_configure_syslinux function.
part.fstype specifically may be used with the
rootfstype kernel paramater.
2. Sets a default timeout to 500 if bootloader --timeout
not specified. To avoid 'None' being placed
as the value in resulting configuartion file.
3. Sets a default kernel parameter string if
bootloader --append not specified. This also
helps avoid 'None' being places as the value
in resulting configuration file.
4. Replace all instances of
cr_workdir, "/hdd/boot"
with variable
hdddir
as it's set at the top of the function. No,
need to re-implement what the variable is
already defined to store.
Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most bootloaders that will be included in this
wics plugin will require a configuration file
to define kernel params, execute custom
modules, or enable the ability to select
one of multiple boot entries.
Create a seperate generic function to facilitate
finding if a bootloader config file passed through
bootloader --configfile flag. So, that other functions
that are used to create/install a bootloader boot
configuration file can leverage the function.
Signed-off-by: Vincent Davis Jr. <vince@underview.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is to prepare for inclusion of other
bootloaders. It also makes reading
through the wics plugin much easier if
you group bootloader specific partition
creation functions together and place them
at the bottom of the file versus leaving
them in their current position.
Signed-off-by: Vincent Davis Jr. <vince@underview.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vincent Davis Jr [Thu, 14 Aug 2025 04:25:44 +0000 (00:25 -0400)]
bootimg_pcbios: move syslinux install into seperate functions
Current oe-core bootimg_pcbios wics plugin
only supports installing syslinux directly
into the resulting wic image.
This commit seperates syslinux installation from
class BootimgPcbiosPlugin(SourcePlugin) override
functions in preparation of supporting the installation
of other bootloaders to the resulting wics plugin
such as:
* grub
* extlinux
Being moved now to make it easier to include
future bootloaders.
Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 13 Aug 2025 20:49:21 +0000 (16:49 -0400)]
linux-yocto/6.12: update to v6.12.41
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:
no ids found, dumping: 8f5ff9784f32 Linux 6.12.41 c0c21293d0c2 mm: khugepaged: fix call hpage_collapse_scan_file() for anonymous vma c60f5156e62d KVM: x86: Free vCPUs before freeing VM state d8b3dfd4d36c Revert "drm/xe/forcewake: Add a helper xe_force_wake_ref_has_domain()" ffbedb4ad984 Revert "drm/xe/devcoredump: Update handling of xe_force_wake_get return" 5a276d341c8e Revert "drm/xe/tests/mocs: Update xe_force_wake_get() return handling" c72303e7eb49 Revert "drm/xe/gt: Update handling of xe_force_wake_get return" 69fbb3f1740b drm/i915/dp: Fix 2.7 Gbps DP_LINK_BW value on g4x bc9abdf6bce8 ALSA: hda: Add missing NVIDIA HDA codec IDs beb314a55e1e ALSA: hda/tegra: Add Tegra264 support c7f864d34529 Drivers: hv: Make the sysfs node size for the ring buffer dynamic beddf74e4064 ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS 90d5cd64f46d iio: hid-sensor-prox: Fix incorrect OFFSET calculation 05847477ff8a iio: hid-sensor-prox: Restore lost scale assignments 86dca1cb4804 wifi: mt76: mt7925: adjust rm BSS flow to prevent next connection failure b63eb95856c0 Revert "wifi: mt76: mt7925: Update mt7925_mcu_uni_[tx,rx]_ba for MLO" 98937588ff9c arm64: dts: qcom: x1-crd: Fix vreg_l2j_1p2 voltage 3d12349ade54 x86/hyperv: Fix APIC ID and VP index confusion in hv_snp_boot_ap() f1b3ad11ec11 KVM: x86/hyper-v: Skip non-canonical addresses during PV TLB flush d483bf624f22 KVM: x86: model canonical checks more precisely c0c82c2adc22 KVM: x86: Add X86EMUL_F_MSR and X86EMUL_F_DT_LOAD to aid canonical checks 62dd9132a458 KVM: x86: Route non-canonical checks in emulator through emulate_ops 94620f95f6cd KVM: x86: drop x86.h include from cpuid.h a4d60ba277ec ext4: fix out of bounds punch offset 51492e99894a ext4: correct the error handle in ext4_fallocate() 85defb9933f6 ext4: fix incorrect punch max_end 35bd33e3ef09 ext4: move out common parts into ext4_fallocate() 8a98313caa3a ext4: move out inode_lock into ext4_fallocate() 1697ca500a84 ext4: factor out ext4_do_fallocate() 2cbc4d640d40 ext4: refactor ext4_insert_range() 8bb93d988212 ext4: refactor ext4_collapse_range() db1fcf7fd51c ext4: refactor ext4_zero_range() 33f61ecabb10 ext4: refactor ext4_punch_hole() d9116d28538a ext4: don't explicit update times in ext4_fallocate() a5ae7fa30cd9 erofs: fix large fragment handling 41485d7c637b erofs: clean up header parsing for ztailpacking and fragments f9b2cb6fff33 erofs: simplify tail inline pcluster handling 516fabf34173 erofs: use Z_EROFS_LCLUSTER_TYPE_MAX to simplify switches 9a84e212e334 erofs: refine z_erofs_get_extent_compressedlen() 4d0f12dc8335 erofs: simplify z_erofs_load_compact_lcluster() 1e5a88732ace arm64: dts: qcom: x1e78100-t14s: mark l12b and l15b always-on 4a7b64ba0cca mtd: rawnand: qcom: Fix last codeword read in qcom_param_page_type_exec() a1bc9a394a27 crypto: powerpc/poly1305 - add depends on BROKEN for now b49b543f4e0b comedi: comedi_test: Fix possible deletion of uninitialized timers 28419a4f3a1e jfs: reject on-disk inodes of an unsupported type 3ad50c7c66cc x86/bugs: Fix use of possibly uninit value in amd_check_tsa_microcode() b85815675fc5 spi: cadence-quadspi: fix cleanup of rx_chan on failure paths a7c6de9f8467 usb: typec: tcpm: apply vbus before data bringup in tcpm_src_attach 27e423886a7a usb: typec: tcpm: allow switching to mode accessory to mux properly a9a1eb410f35 usb: typec: tcpm: allow to use sink in accessory mode 77a4a907cc53 selftests/bpf: Add tests with stack ptr register in conditional jmp bafb375c4606 rust: give Clippy the minimum supported Rust version 4c8f15e770fb mm/zsmalloc: do not pass __GFP_MOVABLE if CONFIG_COMPACTION=n 656eaddbc952 mm/vmscan: fix hwpoisoned large folio handling in shrink_folio_list 140edd5adf6d selftests: mptcp: connect: also cover checksum 219c4eb6c3f0 selftests: mptcp: connect: also cover alt modes 1bff28ea4b11 resource: fix false warning in __request_region() 79663a15a1c7 nilfs2: reject invalid file types when reading inodes 27e740614df8 kasan: use vmalloc_dump_obj() for vmalloc error reports 0fde7dccbf4c ice: Fix a null pointer dereference in ice_copy_and_init_pkg() 44af78621c09 gve: Fix stuck TX queue for DQ queue format 50c61f55b6b9 e1000e: ignore uninitialized checksum word on tgp 78328fad6c49 e1000e: disregard NVM checksum on tgp when valid checksum bit is not set a3bba0205830 dpaa2-switch: Fix device reference count leak in MAC endpoint handling 4dd56cabfbe5 dpaa2-eth: Fix device reference count leak in MAC endpoint handling 708fd522b86d arm64/entry: Mask DAIF in cpu_switch_to(), call_on_irq_stack() 060a28e39053 ALSA: hda/realtek - Add mute LED support for HP Victus 15-fa0xxx d3f60054b6a0 ALSA: hda/realtek - Add mute LED support for HP Pavilion 15-eg0xxx ba8e8a8a2e19 sprintf.h requires stdarg.h cf8e62f6e1b2 bus: fsl-mc: Fix potential double device reference in fsl_mc_get_endpoint() 5b8d6cb9a03d i2c: virtio: Avoid hang by using interruptible completion wait 5622108c3041 i2c: tegra: Fix reset error handling with ACPI 42c4471b30fa i2c: qup: jump out of the loop in case of timeout 9ea8a9ebbea8 timekeeping: Zero initialize system_counterval when querying time from phc drivers 6ed79cf1183a ARM: 9450/1: Fix allowing linker DCE with binutils < 2.36 f7ff03247600 mm/ksm: fix -Wsometimes-uninitialized from clang-21 in advisor_mode_show() f5ee8a39f03e drm/sched: Remove optimization that causes hang when killing dependent jobs 198604687f19 drm/amdgpu: Reset the clear flag in buddy during resume d2a6a3543fd2 platform/x86: ideapad-laptop: Fix kbd backlight not remembered among boots 616ca3c4d11e platform/x86: ideapad-laptop: Fix FnLock not remembered among boots 4de81eb46284 net: hns3: default enable tx bounce buffer when smmu enabled 68494b2ca295 net: hns3: fixed vf get max channels bug 952cd60f695b net: hns3: disable interrupt when ptp init failed 7676d652801c net: hns3: fix concurrent setting vlan filter issue 1194ad0d44d6 s390/ism: fix concurrency management in ism_cmd() de5aaea0384c selftests: drv-net: wait for iperf client to stop sending 61baf2a43d45 ALSA: hda/realtek: Fix mute LED mask on HP OMEN 16 laptop 5c25b4f2769e drm/bridge: ti-sn65dsi86: Remove extra semicolon in ti_sn_bridge_probe() 0ca816a96fdc can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode 11a2eadf0bd2 net/sched: sch_qfq: Avoid triggering might_sleep in atomic context in qfq_delete_class 5f02ea0f63dd net: appletalk: Fix use-after-free in AARP proxy probe 18617f4063e5 i40e: When removing VF MAC filters, only check PF-set MAC dc08e1772566 i40e: report VF tx_dropped with tx_errors instead of tx_discards ebd24581e055 net/mlx5: E-Switch, Fix peer miss rules to use peer eswitch 6b1f7194d02c net/mlx5: Fix memory leak in cmd_exec() 07759e28a3b5 net: ti: icssg-prueth: Fix buffer allocation for ICSSG 1dc0ed16cfbc ASoC: mediatek: mt8365-dai-i2s: pass correct size to mt8365_dai_set_priv 5918c3f4800a xfrm: interface: fix use-after-free after changing collect_md xfrm interface 07ab45902446 xfrm: Set transport header to fix UDP GRO handling 085f24f0be55 xfrm: state: use a consistent pcpu_id in xfrm_state_find 6bf2daafc51b xfrm: state: initialize state_ptrs earlier in xfrm_state_find 80d66be8a04f staging: vchiq_arm: Make vchiq_shutdown never fail 0fb8478fb0ea platform/x86: Fix initialization order for firmware_attributes_class 9128b2dbe510 x86/hyperv: Fix usage of cpu_online_mask to get valid cpu ef3bee8d1da1 tools/hv: fcopy: Fix incorrect file path conversion 8a1fbb642b74 platform/mellanox: mlxbf-pmc: Use kstrtobool() to check 0/1 input d38e1e0a64a9 platform/mellanox: mlxbf-pmc: Validate event/enable input f0580af3d3ec platform/mellanox: mlxbf-pmc: Remove newline char from event name input 1b102d2cc4bc regmap: fix potential memory leak of regmap_bus be4f30f7c178 iio: adc: ad7949: use spi_is_bpw_supported() 5aa9a2d57899 interconnect: qcom: sc7280: Add missing num_links to xm_pcie3_1 node 3fd782ceabea RDMA/core: Rate limit GID cache warning messages 96876f6e859e platform/x86: asus-nb-wmi: add DMI quirk for ASUS Zenbook Duo UX8406CA 5d4261dbb333 regulator: core: fix NULL dereference on unbind due to stale coupling data bf812206f2d0 virtio_ring: Fix error reporting in virtqueue_resize 30ce52f1616e virtio_net: Enforce minimum TX ring size for reliability a7b79db25846 Input: gpio-keys - fix a sleep while atomic with PREEMPT_RT 2bf554c820f1 x86/traps: Initialize DR7 by writing its architectural reset value
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement the full REUSE spec [1] to help with copyright and licensing
audits and compliance. This will reduce a lot of manual work for the
licensing audit required in Debian on each update and also allow using
automated tools.
For files that lacked copyright and licensing information, I used the
following guidelines. If a clear author could be determined from the git
history use it, otherwise use 'EfficiOS Inc.'. For code use
'GPL-2.0-only OR LGPL-2.1-only' unless otherwise stated, for
documentation 'CC-BY-SA-4.0' and for data files 'CC0-1.0'.
Freeform text files were converted to Markdown to allow licensing
comments.
Running the reuse tool on the repo is now succesful:
$ reuse lint
# SUMMARY
* Bad licenses: 0
* Deprecated licenses: 0
* Licenses without file extension: 0
* Missing licenses: 0
* Unused licenses: 0
* Used licenses: CC0-1.0, GPL-2.0-only, CC-BY-SA-4.0, MIT, LGPL-2.1-only
* Read errors: 0
* files with copyright information: 358 / 358
* files with license information: 358 / 358
Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)
[1] https://reuse.software/tutorial/
Change-Id: I1755cab24a6fcec7a6c9a2136891418203ec34b8 Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Osama Abdelkader [Wed, 13 Aug 2025 22:12:27 +0000 (00:12 +0200)]
strace: upgrade 6.15 -> 6.16
Upgrade to the latest upstream release (2025-08-05), which includes:
- Added new -N/--arg-names option to show syscall argument names
- Implemented PTRACE_SET_SYSCALL_INFO ptrace API support from Linux 6.16
- Decoding updates for SO_RCVPRIORITY, SO_PASSRIGHTS, RTA_NH_ID, RTA_FLOWLABEL
- Enhanced statx syscall decoding and numerous new constant/ioctl updates
Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 13 Aug 2025 20:49:17 +0000 (16:49 -0400)]
linux-yocto/6.12: update to v6.12.40
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:
d90ecb2b1308 Linux 6.12.40 fd627ac8a5cf KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls ff7ccaadb0bf iommu/vt-d: Fix misplaced domain_attached assignment e82d8825f712 smb: client: let smbd_post_send_iter() respect the peers max_send_size and transmit all data 11f430b8f5fc drm/xe: Move page fault init after topology init ce7585324b20 drm/xe/mocs: Initialize MOCS index early 8fc25d3055ba sched,freezer: Remove unnecessary warning in __thaw_task 7258b437d55d i2c: omap: fix deprecated of_property_read_bool() use f701716812cb i2c: omap: Handle omap_i2c_init() errors in omap_i2c_probe() ba35cc0598f3 i2c: omap: Fix an error handling path in omap_i2c_probe() c1a786faa6ec i2c: omap: Add support for setting mux 35fdf1093109 selftests/bpf: Set test path for token/obj_priv_implicit_token_envvar d9ebd928288b rust: use `#[used(compiler)]` to fix build and `modpost` with Rust >= 1.89.0 affb46db59f9 net: libwx: fix multicast packets received count 75747e25beca usb: dwc3: qcom: Don't leave BCR asserted c45b48b4f4c0 usb: hub: Don't try to recover devices lost during warm reset. bf71baa3cfe7 usb: hub: Fix flushing of delayed work used for post resume purposes e11359640090 usb: hub: Fix flushing and scheduling of delayed work that tunes runtime pm aec11e5f9c45 usb: hub: fix detection of high tier USB3 devices behind suspended hubs ee56da95f896 btrfs: fix block group refcount race in btrfs_create_pending_block_groups() e77078e52fbf clone_private_mnt(): make sure that caller has CAP_SYS_ADMIN in the right userns 7fc808d98215 sched: Change nr_uninterruptible type to unsigned long 816d36973467 efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths 44e73241b8be libbpf: Fix handling of BPF arena relocations f0de9702f9b2 drm/mediatek: only announce AFBC if really supported 40b5b4ba8ed8 drm/mediatek: Add wait_event_timeout when disabling plane b04fb2628b28 Revert "cgroup_freezer: cgroup_freezing: Check if not frozen" d7c1098787a6 rxrpc: Fix transmission of an abort in response to an abort 839fe96c1520 rxrpc: Fix recv-recv race of completed call e5c480dc62a3 net/sched: Return NULL when htb_lookup_leaf encounters an empty rbtree 71f435f846b0 net: bridge: Do not offload IGMP/MLD messages 8984bcbd1edf net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime cdb767915fc9 tls: always refresh the queue when reading sock 4e7c46362550 virtio-net: fix recursived rtnl_lock() during probe() 1a71bf5c91ab hv_netvsc: Set VF priv_flags to IFF_NO_ADDRCONF before open to prevent IPv6 addrconf 5db93cbd7d50 Bluetooth: L2CAP: Fix attempting to adjust outgoing MTU 1259b780e7b9 drm/xe/pf: Prepare to stop SR-IOV support prior GT reset be77ce6b3a6b drm/xe/pf: Move VFs reprovisioning to worker abe59c53b626 drm/xe/pf: Sanitize VF scratch registers on FLR fc38c249c622 netfilter: nf_conntrack: fix crash due to removal of uninitialised entry 7c532f222361 net: fix segmentation after TCP/UDP fraglist GRO 7929d27c747e ipv6: mcast: Delay put pmc->idev in mld_del_delrec() 35b501a2393a net/mlx5: Correctly set gso_size when LRO is used f47400547a95 Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID f5a40e54cd6c Bluetooth: hci_core: add missing braces when using macro parameters db386fc5fa65 Bluetooth: SMP: Fix using HCI_ERROR_REMOTE_USER_TERM on timeout 6c586fcb880a Bluetooth: SMP: If an unallowed command is received consider it a failure 05ab8da312ec Bluetooth: hci_sync: fix connectable extended advertising when using static random address b97be7ee8a1c Bluetooth: Fix null-ptr-deref in l2cap_sock_resume_cb() 95a13b0a6b04 riscv: traps_misaligned: properly sign extend value in misaligned load handler 32b14e757404 riscv: Enable interrupt during exception handling efad4e2a0fa7 loop: use kiocb helpers to fix lockdep warning 65c666aff44e usb: net: sierra: check for no status endpoint cd469b173d14 ice: check correct pointer in fwlog debugfs 5a5d64f0eec8 ice: add NULL check in eswitch lag check 3c4bdc8a852e hwmon: (corsair-cpro) Validate the size of the received input buffer dcf0f03d7f74 selftests: net: increase inter-packet timeout in udpgro.sh 33711db90bd5 can: tcan4x5x: fix reset gpio usage during probe d587e6929b7c can: tcan4x5x: add option for selecting nWKRQ voltage d57dda2056fa wifi: cfg80211: remove scan request n_channels counted_by 6a466ac72fd4 nvmet-tcp: fix callback lock for TLS handshake f9a90478207a nvme: fix misaccounting of nvme-mpath inflight I/O fd6493533af9 net: phy: Don't register LEDs for genphy 5b02e397929e smc: Fix various oops due to inet_sock type confusion. 124765c20603 nvme: fix endianness of command word prints in nvme_log_err_passthru() 8184ee3c667d nvme: fix inconsistent RCU list manipulation in nvme_ns_add_to_ctrl_list() 9a7de97b915a fix a leak in fcntl_dirnotify() 09bce2138a30 smb: client: fix use-after-free in cifs_oplock_break 06ec83b6c792 rpl: Fix use-after-free in rpl_do_srh_inline(). a6d735100f60 net/sched: sch_qfq: Fix race condition on qfq_aggregate e8767b89cd82 block: fix kobject leak in blk_unregister_queue 20648ff4a203 net: emaclite: Fix missing pointer increment in aligned_read() 894780d6dd3e cachefiles: Fix the incorrect return value in __cachefiles_write() dc05051dd10d selftests/sched_ext: Fix exit selftest hang on UP 6952aeace93f bpf: Reject %p% format string in bprintf-like helpers e80692789679 arm64: dts: imx95: Correct the DMA interrupter number of pcie0_ep 6353bf36f56b soundwire: amd: fix for clearing command status register a6e232ee0f86 soundwire: amd: fix for handling slave alerts after link is down 8814cbbddcaf arm64: dts: rockchip: Add cd-gpios for sdcard detect on Cool Pi 4B 6cb38e5d359a arm64: dts: rockchip: Add cd-gpios for sdcard detect on Cool Pi CM5 c42116dc70af comedi: Fix initialization of data for instructions that write to subdevice 2af1e7d389c2 comedi: Fix use of uninitialized data in insn_rw_emulate_bits() 8c20a5cb9879 comedi: Fix some signed shift left operations 992d600f284e comedi: Fail COMEDI_INSNLIST ioctl if n_insns is too large 3eab654f5d19 comedi: das6402: Fix bit shift out of bounds 076b13ee60eb comedi: das16m1: Fix bit shift out of bounds e0f3c0867d7d comedi: aio_iiro_16: Fix bit shift out of bounds a27e27eee313 comedi: pcl812: Fix bit shift out of bounds 610615c96680 iio: common: st_sensors: Fix use of uninitialize device structs 6eea9f7648dd iio: backend: fix out-of-bound write 404b1d0fe0c6 iio: adc: stm32-adc: Fix race in installing chained IRQ handler 07c9a0617d9a iio: adc: max1363: Reorder mode_list[] entries 0ceb2893d360 iio: adc: max1363: Fix MAX1363_4X_CHANS/MAX1363_8X_CHANS[] 086a76474121 iio: adc: axp20x_adc: Add missing sentinel to AXP717 ADC channel maps bfcda3e10157 iio: accel: fxls8962af: Fix use after free in fxls8962af_fifo_flush b361598b7352 soc: aspeed: lpc-snoop: Don't disable channels that aren't enabled 855d4da5f270 soc: aspeed: lpc-snoop: Cleanup resources in stack-order 2a76bc2b24ed smb: client: fix use-after-free in crypt_message when using async crypto d5629d1af060 s390/bpf: Fix bpf_arch_text_poke() with new_addr == NULL again 11c19d42d3a7 pmdomain: governor: Consider CPU latency tolerance from pm_domain_cpu_gov 10e27b2a6ebe net: libwx: properly reset Rx ring descriptor ba7c793f96c1 net: libwx: fix the using of Rx buffer DMA 08d18bda0d03 net: libwx: remove duplicate page_pool_put_full_page() 74cb0f102d4b net: stmmac: intel: populate entire system_counterval_t in get_time_fn() callback 516cd0943a22 mmc: sdhci_am654: Workaround for Errata i2312 5280e0b8bc69 mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models 6198bfe1af77 mmc: bcm2835: Fix dma_unmap_sg() nents value a25ebc337022 memstick: core: Zero initialize id_reg in h_memstick_read_dev_id() 2594d5ffc081 isofs: Verify inode mode when loading from disk 122160289adf dmaengine: nbpfaxi: Fix memory corruption in probe() 573f1e59024c cpuidle: psci: Fix cpuhotplug routine with PREEMPT_RT=y 9e11e0db4e27 Bluetooth: btintel: Check if controller is ISO capable on btintel_classify_pkt_type 1ddedbd8087d af_packet: fix soft lockup issue caused by tpacket_snd() fa0796cd62c2 af_packet: fix the SO_SNDTIMEO constraint not effective on tpacked_snd() 0e9c4b36ad0c arm64: dts: rockchip: use cs-gpios for spi1 on ringneck b0c7f2984356 arm64: dts: imx8mp-venice-gw73xx: fix TPM SPI frequency 9650e49db619 arm64: dts: imx8mp-venice-gw72xx: fix TPM SPI frequency a3964e87cf15 arm64: dts: imx8mp-venice-gw71xx: fix TPM SPI frequency 1a54317f3868 arm64: dts: freescale: imx8mm-verdin: Keep LDO5 always on a86ea423dc13 arm64: dts: add big-endian property back into watchdog node c70000779432 arm64: dts: imx8mp-venice-gw74xx: fix TPM SPI frequency 5419adaef571 net/mlx5: Update the list of the PCI supported devices 837a9631f180 phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept() 938126995e64 mptcp: reset fallback status gracefully at disconnect() time f81b6fbe13c7 mptcp: plug races between subflow fail and subflow creation 54999dea879f mptcp: make fallback action and fallback decision atomic f28044a60506 io_uring/poll: fix POLLERR handling 134ec1ed468f ALSA: hda/realtek: Add quirk for ASUS ROG Strix G712LWS 61e867574444 ALSA: hda/realtek - Fix mute LED for HP Victus 16-r0xxx 084eb54b820f drm/amd/display: Free memory allocation 74162dda80e7 drm/amd/display: Disable CRTC degamma LUT for DCN401 62f2a58a4cb0 drm/amdgpu: Increase reset counter only on success 228ad2ab5b33 drm/amdgpu/gfx8: reset compute ring wptr on the GPU on resume 21e649b0bd1a objtool/rust: add one more `noreturn` Rust function for Rust 1.89.0 7bb9ea515cda tracing/osnoise: Fix crash in timerlat_dump_stack() 33e20747b47d tracing: Add down_write(trace_event_sem) when adding trace event 692cfff241f1 tracing/probes: Avoid using params uninitialized in parse_btf_arg() d18f63e84884 HID: core: do not bypass hid_hw_raw_request 953af3c0814a HID: core: ensure __hid_request reserves the report ID as the first byte a262370f385e HID: core: ensure the allocated report buffer can contain the reserved report ID 68860d1ade38 dm-bufio: fix sched in atomic context 0758f7ef402b spi: Add check for 8-bit transfer with 8 IO mode support 40f79e2bf6a4 pch_uart: Fix dma_sync_sg_for_device() nents value 9ecfed987bc8 Input: xpad - set correct controller type for Acer NGR200 c29a2328af96 nvmem: layouts: u-boot-env: remove crc32 endianness conversion c85295f624db nvmem: imx-ocotp: fix MAC address byte length ff628593ba7c Revert "staging: vchiq_arm: Create keep-alive thread during probe" 970635ed63da thunderbolt: Fix bit masking in tb_dp_port_set_hops() 17a6ea23890e thunderbolt: Fix wake on connect at runtime 1a1190b4ba7b i2c: stm32f7: unmap DMA mapped buffer 79b63523bfdc i2c: stm32: fix the device used for the DMA map 783ea37b237a usb: gadget: configfs: Fix OOB read on empty string write 032f22962bfc usb: dwc2: gadget: Fix enter to hibernation for UTMI+ PHY 231bf7e839a8 usb: musb: fix gadget state on disconnect 951dd99ac05a USB: serial: ftdi_sio: add support for NDI EMGUIDE GEMINI 8b8cb0c34c66 USB: serial: option: add Foxconn T99W640 ba1d8dc87ae7 USB: serial: option: add Telit Cinterion FE910C04 (ECM) composition 248ba00d13ff phy: tegra: xusb: Disable periodic tracking on Tegra234 2f2a375304b0 phy: tegra: xusb: Decouple CYA_TRK_CODE_UPDATE_ON_IDLE from trk_hw_mode ec7f98ff05f0 phy: tegra: xusb: Fix unbalanced regulator disable in UTMI PHY mode
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 13 Aug 2025 20:49:15 +0000 (16:49 -0400)]
linux-yocto/6.12: update to v6.12.39
Updating linux-yocto/6.12 to the latest korg -stable release that comprises
the following commits:
cdf264c0a590 Linux 6.12.39 f3f9deccfc68 KVM: SVM: Set synthesized TSA CPUID flags f004f58d18a2 rseq: Fix segfault on registration when rseq_cs is non-zero f2133b849ff2 crypto: ecdsa - Harden against integer overflows in DIV_ROUND_UP() 59923d508bd2 arm64: Filter out SME hwcaps when FEAT_SME isn't implemented 815f1161d6db ksmbd: fix potential use-after-free in oplock/lease break ack 2d89dab1ea60 kasan: remove kasan_find_vm_area() to prevent possible deadlock e1aec954583f net: wangxun: revert the adjustment of the IRQ vector sequence 5244536e650c erofs: fix rare pcluster memory leak after unmounting 5ea53aa71c2c selftests/bpf: adapt one more case in test_lru_map to the new target_free 7b4a02631352 HID: nintendo: avoid bluetooth suspend/resume stalls c72536350e82 HID: quirks: Add quirk for 2 Chicony Electronics HP 5MP Cameras 716a0c8dedc6 HID: Add IGNORE quirk for SMARTLINKTECHNOLOGY 70685fb6216f riscv: vdso: Exclude .rodata from the PT_DYNAMIC segment 9ef5d4748dfe bpf: Adjust free target to avoid global starvation of LRU map c23e0792b77d vt: add missing notification when switching back to text mode 0bcc14f36c7a btrfs: fix assertion when building free space tree 589b290d0935 net: mana: Record doorbell physical address in PF mode 921fffa1d8bc HID: lenovo: Add support for ThinkPad X1 Tablet Thin Keyboard Gen2 e46cf2943f91 driver: bluetooth: hci_qca:fix unable to load the BT driver a9c357b08672 net: usb: qmi_wwan: add SIMCom 8230C composition e55b2126961b ALSA: hda/realtek: Add quirks for some Clevo laptops 01b0312a4a3a ALSA: hda/realtek - Enable mute LED on HP Pavilion Laptop 15-eg100 72aad5cf5790 ASoC: amd: yc: add quirk for Acer Nitro ANV15-41 internal mic 383b2399d586 io_uring: make fallocate be hashed work 67be7e6c55a9 ALSA: hda/realtek: Add mic-mute LED setup for ASUS UM5606 68397fda2caa ASoC: SOF: Intel: hda: Use devm_kstrdup() to avoid memleak. dd072fa64715 um: vector: Reduce stack usage in vector_eth_configure() 7df2295c036b atm: idt77252: Add missing `dma_map_error()` 25cab1b83d66 ublk: sanity check add_dev input for underflow f154e41e1d9d bnxt_en: Set DMA unmap len correctly for XDP_REDIRECT b4e7e3f4e9d2 bnxt_en: Fix DCB ETS validation 948ab36ed249 net: ll_temac: Fix missing tx_pending check in ethtools_set_ringparam() bbd385b65f9e net/mlx5e: Add new prio for promiscuous mode 7581afc05154 net/mlx5e: Fix race between DIM disable and net_dim() c4270235db92 can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level 90d0d5a439f5 drm/xe/pm: Correct comment of xe_pm_set_vram_threshold() ec4014566377 selftests: net: lib: fix shift count out of range 182c9f38c367 selftests: net: lib: Move logging from forwarding/lib.sh here e3647c40bea2 net: phy: microchip: limit 100M workaround to link-down events on LAN88xx b215e916336f net: phy: microchip: Use genphy_soft_reset() to purge stale LPA bits 4c934e0cac61 ibmvnic: Fix hardcoded NUM_RX_STATS/NUM_TX_STATS with dynamic sizeof 473f3eadfc73 net: appletalk: Fix device refcount leak in atrtr_create() e0dd2e972966 netfilter: flowtable: account for Ethernet header in nf_flow_pppoe_proto() fd67f52eea80 erofs: fix to add missing tracepoint in erofs_readahead() ea2350dfa378 erofs: refine readahead tracepoint 9493b5f9ad07 erofs: tidy up zdata.c 71e4f033a90d erofs: get rid of `z_erofs_next_pcluster_t` 16396885c26a erofs: free pclusters if no cached folio is attached ff4b8c9ade1b drm/xe/pf: Clear all LMTT pages on alloc 8586552df591 nbd: fix uaf in nbd_genl_connect() error path 1bbdf4213711 wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init() fa7e9a15460a drm/nouveau/gsp: fix potential leak of memory used during acpi init 06c566371f8a wifi: rt2x00: fix remove callback type mismatch d21eeb050599 wifi: mac80211: fix non-transmitted BSSID profile search d4a7056ca9ab wifi: mac80211: correctly identify S1G short beacon 2941155d9a5a raid10: cleanup memleak at raid10_make_request 776e6186dc9e md/raid1: Fix stack memory use after return in raid1_reshape a560de522374 drm/tegra: nvdec: Fix dma_alloc_coherent error check fcd9c923b58e wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev() c6625c21ea66 wifi: cfg80211: fix S1G beacon head validation in nl80211 8d4d00ea6038 netfs: Fix ref leak on inserted extra subreq in write retry 42baf997722c netlink: make sure we allow at least one dump skb f98c4cec7504 netlink: Fix rmem check in netlink_broadcast_deliver(). cecc9146d244 ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count 19ff875dc516 erofs: address D-cache aliasing 4745bfd34ae7 erofs: fix to add missing tracepoint in erofs_read_folio() 3b16c9b8ba71 ksmbd: fix a mount write count leak in ksmbd_vfs_kern_path_locked() 92c2c005a8ba smb: server: make use of rdma_destroy_qp() 1d219778281e clk: scmi: Handle case where child clocks are initialized before their parents 971da696abf0 x86/mm: Disable hugetlb page table sharing on 32-bit a68b85855732 x86/rdrand: Disable RDSEED on AMD Cyan Skillfish fcee75daecc5 clk: imx: Fix an out-of-bounds access in dispmix_csr_clk_dev_data 5d2d34f36724 rust: init: allow `dead_code` warnings for Rust >= 1.89.0 febc0b5dbabd lib/alloc_tag: do not acquire non-existent lock in alloc_tag_top_users() 4c39dfd13beb mm/vmalloc: leave lazy MMU mode on PTE mapping error 92ed107cd26d scripts/gdb: fix interrupts.py after maple tree conversion 62720dc3cfd9 scripts/gdb: de-reference per-CPU MCE interrupts cb89f9bf6c3a scripts/gdb: fix interrupts display after MCP on x86 ee6c677ef318 mm: fix the inaccurate memory statistics issue for users 839d8682732e maple_tree: fix mt_destroy_walk() on root leaf node 92db42e201f4 kallsyms: fix build without execinfo 7dccd5eb5343 Revert "PCI/ACPI: Fix allocated memory release on error in pci_acpi_scan_root()" e4172522d594 Revert "ACPI: battery: negate current when discharging" ee6f6138d5f2 drm/xe: Allocate PF queue size on pow2 boundary 065bd940ee0a drm/framebuffer: Acquire internal references on GEM handles 9e4af87bd08d Revert "usb: gadget: u_serial: Add null pointer check in gs_start_io" abf3620cba68 usb: gadget: u_serial: Fix race condition in TTY wakeup 48007d6e7bdb Revert "drm/xe/xe2: Enable Indirect Ring State support for Xe2" 57b7c27ef5e7 drm/xe/bmg: fix compressed VRAM handling 2d2f07a99487 drm/gem: Fix race in drm_gem_handle_create_tail() 38df1a5053bc drm/ttm: fix error handling in ttm_buffer_object_transfer e2d6547dc8b9 drm/sched: Increment job count before swapping tail spsc queue 08480e285c6a drm/gem: Acquire references on GEM handles for framebuffers e90ee15ce28c drm/amdkfd: Don't call mmput from MMU notifier callback 9f852d301f64 drm/imagination: Fix kernel crash when hard resetting the GPU a7b2f250ffcd wifi: mt76: mt7925: fix invalid array index in ssid assignment during hw scan fad0f6fcdae0 wifi: mt76: mt7925: fix the wrong config for tx interrupt 9b50874f297f wifi: mt76: mt7925: prevent NULL pointer dereference in mt7925_sta_set_decap_offload() 9639e54025f1 wifi: mt76: mt7921: prevent decap offload config before STA initialization a963819a121f wifi: mwifiex: discard erroneous disassoc frames on STA interface e01851f6e9a6 wifi: prevent A-MSDU attacks in mesh networks 373caeec3651 pwm: mediatek: Ensure to disable clocks in error path d526e11ab274 pwm: Fix invalid state detection 275605a8b480 pinctrl: qcom: msm: mark certain pins as invalid for interrupts 3e0542701b37 md/md-bitmap: fix GPF in bitmap_get_stats() 9f260e16b297 net: ethernet: rtsn: Fix a null pointer dereference in rtsn_probe() 8f65277317a8 gre: Fix IPv6 multicast route creation. 199af064babb ASoC: fsl_sai: Force a software reset when starting in consumer mode e14bffc90866 ALSA: ad1816a: Fix potential NULL pointer deref in snd_card_ad1816a_pnp() d9bd1163c8d8 KVM: Allow CPU to reschedule while setting per-page memory attributes fd044c99d831 KVM: SVM: Reject SEV{-ES} intra host migration if vCPU creation is in-flight 5cb498b20bff KVM: SVM: Add missing member in SNP_LAUNCH_START command structure 55f568521e0b KVM: x86/xen: Allow 'out of range' event channel ports in IRQ routing table. 291eff10b197 x86/mce: Make sure CMCI banks are cleared during shutdown on Intel 8ed7f3de93e1 x86/mce: Ensure user polling settings are honored when restarting timer 55ea884c0dce x86/mce: Don't remove sysfs if thresholding sysfs init fails afcf4f4e7062 x86/mce/amd: Fix threshold limit reset e01d5e33645d x86/mce/amd: Add default names for MCA banks and blocks 9e0d33e75c16 ipmi:msghandler: Fix potential memory corruption in ipmi_create_user() d1ff5f9d2c54 rxrpc: Fix oops due to non-existence of prealloc backlog struct 5385ad53793d rxrpc: Fix bug due to prealloc collision 8ecd651ef24a net/sched: Abort __tc_modify_qdisc if parent class does not exist fc2fffa2faca net: ethernet: ti: am65-cpsw-nuss: Fix skb size by accounting for skb_shared_info 34a09d6240a2 atm: clip: Fix NULL pointer dereference in vcc_sendmsg() 024876b247a8 atm: clip: Fix infinite recursive call of clip_push(). 9f771816f14d atm: clip: Fix memory leak of struct clip_vcc. 36caab990b69 atm: clip: Fix potential null-ptr-deref in to_atmarpd(). 4d5476fa3931 net: phy: smsc: Fix link failure in forced mode with Auto-MDIX 6fb4cd247cda net: phy: smsc: Force predictable MDI-X state on LAN87xx 850812bd2a15 net: phy: smsc: Fix Auto-MDIX configuration when disabled by strap be8792c6702b net: stmmac: Fix interrupt handling for level-triggered mode in DWC_XGMAC2 41a741c476e1 vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local` ae2c712ba39c vsock: Fix transport_* TOCTOU 3734d78210cc vsock: Fix transport_{g2h,h2g} TOCTOU 62e6160cfb55 tcp: Correct signedness in skb remaining space calculation 50aa2d121bc2 tipc: Fix use-after-free in tipc_conn_close(). 8fb2802a1654 vsock: fix `vsock_proto` declaration 4b8e18af7bea netlink: Fix wraparounds of sk->sk_rmem_alloc. b90129445f50 net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol() 31db4223db33 net: phy: qcom: move the WoL function to shared library 778f4e173020 arm64: poe: Handle spurious Overlay faults 2e0cb0c74d96 bnxt_en: eliminate the compile warning in bnxt_request_irq due to CONFIG_RFS_ACCEL 0caba66f0073 sched/deadline: Fix dl_server runtime calculation formula 35bda158da39 fix proc_sys_compare() handling of in-lookup dentries df1d6801f16a pinctrl: amd: Clear GPIO debounce for suspend cdbcde935e72 Bluetooth: hci_event: Fix not marking Broadcast Sink BIS as connected 32fa1f92a40e Bluetooth: hci_sync: Fix not disabling advertising instance 0cd863ab4204 ASoC: cs35l56: probe() should fail if the device ID is not recognized a0a8009083e5 perf: Revert to requiring CAP_SYS_ADMIN for uprobes f7fe33f629bb sched/core: Fix migrate_swap() vs. hotplug 1207f57be07f irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ bc179aa79a20 perf/core: Fix the WARN_ON_ONCE is out of lock protected region 8f4c7131721a ASoC: Intel: soc-acpi: arl: Correct order of cs42l43 matches cca47e6e1f78 ASoC: Intel: soc-acpi-intel-arl-match: set get_function_tplg_files ops fc3a8a5e8f8e ASoC: Intel: add sof_sdw_get_tplg_files ops 36536435849b ASoC: soc-acpi: add get_function_tplg_files ops 06e0b070eb97 ASoC: Intel: soc-acpi: arl: Add match entries for new cs42l43 laptops 97d14c04610c ASoC: Intel: soc-acpi: arl: Correct naming of a cs35l56 address struct 724b93a6a694 ASoC: Intel: SND_SOC_INTEL_SOF_BOARD_HELPERS select SND_SOC_ACPI_INTEL_MATCH d4f6a267cc07 ASoC: fsl_asrc: use internal measured ratio for non-ideal ratio mode 07ed75bfa7ed drm/amdgpu: Replace Mutex with Spinlock for RLCG register access to avoid Priority Inversion in SRIOV 56ea7746045a crypto: s390/sha - Fix uninitialized variable in SHA-1 and SHA-2 04513cf1581b drm/amdgpu/ip_discovery: add missing ip_discovery fw 39d6a607d531 drm/amdgpu/discovery: use specific ip_discovery.bin for legacy asics e9d9b25f3767 drm/exynos: exynos7_drm_decon: add vblank check in IRQ handling 6dee745bd0ae eventpoll: don't decrement ep refcount while still holding the ep mutex
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gyorgy Sarvari [Wed, 13 Aug 2025 10:13:00 +0000 (12:13 +0200)]
sysstat: upgrade 12.7.7 -> 12.7.8
Changelog:
* sar/sadf: Add new metric kbshmem.
* sar/sadf: Now compute used memory as total memory - available memory.
* sadf: Set availablekb to frmkb during conversion.
* cifsiostat, iostat, mpstat, tapestat: Add new option -U to display
timestamps in seconds since the Epoch.
* Trap SIGTERM with all sysstat commands.
* mpstat: Go to next line when Ctrl/C is pressed.
* Add support for out-of-tree building and testing.
* sar: A_PWR_BAT: Fix wrong size used in memory initialization.
* Makefile.in: Update dependencies for install_man target.
* Makefile.in: Remove unused TFLAGS variable.
* Makefile.in: Remove old references to nfsiostat.
* DTD and XSD documents updated.
* NLS translations updated.
* sar, mpstat, iostat, cifsiostat and tapestat manual pages updated.
* Various cosmetic changes in code and Makefile.
* do_test: Add test target for out-of-tree build.
* systest: Explicitly set signal to SIGINT.
* Non regression tests: Remove root symlink in tests directory.
* Non regression tests updated.
Gyorgy Sarvari [Wed, 13 Aug 2025 15:54:44 +0000 (17:54 +0200)]
python3-click: upgrade 8.1.8 -> 8.2.1
Some new tests use pytest's terminal reporter internally, which requires full
"cat" and "less", busybox isn't enough - RDEPENDS is adapted accordingly.
Tobias Pistora [Wed, 13 Aug 2025 09:20:42 +0000 (11:20 +0200)]
selftest/devtool: add devtool upgrade selftest for recipes with git submodules
Tests [YOCTO #15943]
Move code from test_devtool_upgrade_git() into separate, local function.
Add a test_devtool_upgrade_gitsm() selftest for devtool.
Add recipes for testing gitsm components.
Tobias Pistora [Wed, 13 Aug 2025 09:20:41 +0000 (11:20 +0200)]
devtool: fix upgrade for recipes with git submodules
Fixes [YOCTO #15943]
Fixes invalid path argument while calling "git rev-list" from submodule folders.
Replaced the local __run() wrapper function with _run() at "git rev-list" command calls.
Gyorgy Sarvari [Wed, 13 Aug 2025 09:00:33 +0000 (11:00 +0200)]
ell: upgrade 0.78 -> 0.79
Changelog:
Fix issue with D-Bus client and watch removal handling.
Fix issue with D-Bus client and service name handling.
Fix issue with D-Bus proxy and filter rule handling.
Khem Raj [Wed, 13 Aug 2025 06:24:27 +0000 (23:24 -0700)]
elfutils: Mark failing ptests on musl as xfails
Elfutils tests do not all run cleanly on musl systems. Make the current set
as baseline by making the failing tests as XFAILS. This helps to not regress
further more.
Khem Raj [Wed, 13 Aug 2025 06:24:26 +0000 (23:24 -0700)]
elfutils: Add provisions for marking XFAILS in ptests
elfuitls testsuites do not pass on all kind of distro features e.g.
with musl there are failures and with ld-is-lld less numer but it shows
failures too. Make run-ptest treat these as known failures.
Jon Mason [Tue, 12 Aug 2025 22:21:42 +0000 (18:21 -0400)]
arm: add nocrypto TUNE_FEATURE to complement crypto
Add a `nocrypto` TUNE_FEATURE option to `feature-arm-crypto.inc`
to explicitly disable ARM crypto extensions via GCC flags. This
provides an opposing state to the existing `crypto` feature,
enabling more explicit control over crypto-related tuning.
Some vendors ship cores without crypto support, and this change
allows disabling it without requiring extensive audits of
dependent code paths. This approach avoids the knock-on effects
caused when `nocrypto` is applied implicitly in the absence of
`crypto` in TUNE_FEATURES.
TUNECONFLICTS was added to prevent both features from being
enabled simultaneously. When both are added, the following error
is seen during build:
Feature 'nocrypto' conflicts with 'crypto'.
Feature 'crypto' conflicts with 'nocrypto'.
Signed-off-by: Jon Mason <jon.mason@arm.com> Cc: Ryan Eatmon <reatmon@ti.com> Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Tue, 12 Aug 2025 22:19:17 +0000 (15:19 -0700)]
libtirpc: Fix version scripts to work with lld linker
Since bfd linker does not enable string checking for versioned symbols, build is generating
undefined versioned symbols, which LLD does not allow by default. Actually these symbols
should not be generated at all when given features are not enabled
Fixes link errors with lld
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol '_svcauth_gss' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_create' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_create_default' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_free_private_data' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_get_private_data' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'authgss_service' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'cbc_crypt' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'ecb_crypt' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'endrpcent' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'getrpcent' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'getrpcbynumber' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'getrpcbyname' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'gss_log_debug' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'gss_log_hexdump' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'gss_log_status' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_error' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_mech_info' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_mechanisms' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_principal_name' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'TIRPC_0.3.0' to symbol 'rpc_gss_get_versions' failed: symbol not defined
Add packageconfig for rpcdb
Enable it by default on musl, these functions are needed by
packages e.g. quote, nfs-utils, snort3 on musl
Osama Abdelkader [Tue, 12 Aug 2025 20:50:50 +0000 (22:50 +0200)]
go-cross-canadian: fix binaries install and GOARCH
set GOARCH to HOST_GOARCH which is set from SDKMACHINE,
since GOARCH defaults to TARGET_GOARCH, which is set from MACHINE (wrong arch).
Also fix do_install to correctly install all binaries from
${GO_BUILD_BINDIR} by using 'find -type f' to avoid issues when the
directory contains subdirectories (e.g. "linux_arm").
Khem Raj [Tue, 12 Aug 2025 05:13:10 +0000 (22:13 -0700)]
libxcrypt: Allow undefined symbols in version scripts with lld linker
Unlike GNU ld, LLD defaults to erroring about undefined version symbols
add commandline parameter to sush lld here
Fixes
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'crypt_gensalt_r' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_gensalt' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_gensalt_r' failed: symbol not defined
| x86_64-yoesdk-linux-ld.lld: error: version script assignment of 'XCRYPT_2.0' to symbol 'xcrypt_r' failed: symbol not defined
| x86_64-yoesdk-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation)
LLD has stricter defaults and strict symbol versioning enforcement.
LLD requires that all symbols
referenced in version scripts actually exist in the object files being
linked Same errors/behavior can be
seen with GNU linker as well if we add -Wl,--undefined-version to LDFLAGS
GNU linker chooses to be a bit lenient with defaults.
Having LLD to lower its barrier does not change the output it
produces, it's the same as GNU ld
This is known issue seen with other distros e.g. NixOS upstream [1]
Gyorgy Sarvari [Mon, 11 Aug 2025 11:49:52 +0000 (13:49 +0200)]
gperf: upgrade 3.1 -> 3.3
Both patches were dropped, because they are included in this release.
License-Update: copyright date Update
Changelog:
3.3:
* Speedup: gperf is now between 2x and 2.5x faster.
3.2:
* The generated code avoids several types of warnings:
- "implicit fallthrough" warnings in 'switch' statements.
- "unused parameter" warnings regarding 'str' or 'len'.
- "missing initializer for field ..." warnings.
- "zero as null pointer constant" warnings.
* The input file may now use Windows line terminators (CR/LF) instead of
Unix line terminators (LF).
Note: This is an incompatible change. If you want to use a keyword that
ends in a CR byte, such as xyz<CR>, write it as "xyz\r".
Peter Tatrai [Mon, 11 Aug 2025 08:43:34 +0000 (10:43 +0200)]
rust: backport cstring-merging test fix for PowerPC targets
The Rust cstring-merging assembly test was failing on PowerPC targets due to
LLVM's GlobalMerge optimization pass merging all global string constants into
a single merged global. This caused the test's CHECK directives to fail as
they expected separate .Lanon labels for each string literal ("foo", "bar",
"baz").
The test verifies that C-style string literals are correctly placed in
mergeable read-only sections (.rodata.str1.1) with proper section flags
(aMS - Allocatable, Merge, Strings) for linker optimization.
This backports the upstream fix that disables the GlobalMerge pass
(-Cllvm-args=-enable-global-merge=0) specifically for this test, allowing
it to verify the expected assembly structure without interference from
the optimization.
Fixes test failure:
- tests/assembly/cstring-merging.rs on powerpc-poky-linux-gnu
Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com> Tested-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Tatrai [Mon, 11 Aug 2025 08:43:33 +0000 (10:43 +0200)]
rust: disable executable-no-mangle-strip test on PowerPC due to linker issue
The executable-no-mangle-strip test fails on PowerPC target with an undefined
reference error when linking. The linker attempts to resolve this undefined symbol
at link time, causing the test to fail with:
undefined reference to `THIS_SYMBOL_SHOULD_BE_UNDEFINED'
The test is designed to verify garbage collection behavior of #[no_mangle]
functions and used(compiler)] statics. This appears to be a PowerPC-specific
linker behavior issue.
Temporarily disable this test on PowerPC until the underlying issue is
resolved upstream.
Related upstream issue: https://github.com/rust-lang/rust/issues/144777
Fixes oe-selftest failure:
- tests/ui/linking/executable-no-mangle-strip.rs on powerpc-poky-linux-gnu
Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com> Tested-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Sun, 10 Aug 2025 19:18:50 +0000 (12:18 -0700)]
python3-zipp: upgrade 3.21.0 -> 3.23.0
* Add python3-coherent-licensed-native to DEPENDS
License-Update: add copyright year; update to match SPDX license text
v3.23.0
* Features
- Add a compatibility shim for Python 3.13 and earlier. (#145)
v3.22.0
* Features
- Backported simplified tests from python/cpython#123424. (#142)
* Bugfixes
- Fixed .name, .stem, and other basename-based properties on Windows when
working with a zipfile on disk. (#133)
Richard Purdie [Tue, 12 Aug 2025 09:04:02 +0000 (10:04 +0100)]
conf/sanity: Increase bitbake minimum version requirement
We now need the new bitbake setVarFilter function. There was also some
changes to bb.event.check_for_interrupts() which changed in an
incompatible way.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chris Laplante [Thu, 7 Aug 2025 18:12:57 +0000 (14:12 -0400)]
sstate: fixup calls to bb.event.check_for_interrupts to remove unused argument
This commit should come along with this associated commit in bitbake: https://patchwork.yoctoproject.org/project/bitbake/patch/20250806145308.2052128-2-chris.laplante@agilent.com/
Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Richard Purdie [Tue, 10 Jun 2025 14:53:27 +0000 (15:53 +0100)]
classes/lib: Switch classextend to use new filter API
Currently, class extensions are implmented using shadow variables and
access indirection which is horribly ineffient and ugly.
Switch to using the new bitbake filter API, which allows a translation
of the variable before the expanded value is returned. This allows us
to drop the shadow variable accesses. It also avoids the need to iterate
PACKAGES and make many variable changes since a filter against RDEPENDS
applies to RDEPENDS:${PN} and all of it's other overridden values.
Since data expansion happens at access, it also avoids many of the race
conditions this code has tranditionally been plagued with.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 1 Aug 2025 04:22:40 +0000 (21:22 -0700)]
binutils-cross-canadian: Always use GNU linker
LLD fails to link gprofng
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'dlclose' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'dlopen' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fclose' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fdopen' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fgetpos' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fopen' failed: symbol not defined
aarch64-yoesdk-linux-ld.lld: error: version script assignment of 'GLIBC_2.0' to symbol 'fsetpos' failed: symbol not defined
Gyorgy Sarvari [Sat, 9 Aug 2025 17:23:18 +0000 (19:23 +0200)]
rpm-sequoia: upgrade 1.7.0 -> 1.9.0
The upstream project has extended the tests slightly, by adding a cargo command
to ensure that the library is built before the tests would be executed. This
doesn't really work for ptests, since it rebuilds the library from scratch on the
target. As an attempt to solve this issue, introduce an environment variable with
a patch, which, if present, will skip building the library before executing the test.
This release incorporates the following bug fixes and mitigations:
* Miscellaneous minor bug fixes.
* The FIPS provider now performs a PCT on key import for RSA, EC and ECX.
This is mandated by FIPS 140-3 IG 10.3.A additional comment 1.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Gyorgy Sarvari [Fri, 8 Aug 2025 14:15:22 +0000 (16:15 +0200)]
ed: upgrade 1.21.1 -> 1.22.1
Changelog:
1.22.1:
Ed now departs from POSIX and ignores SIGPIPE to prevent commands like
'w !:' or ',!:' from terminating ed. A broken pipe is now detected as any
other write error. (Reported by Sergei Trofimovich).
1.22.0:
An ex(1) style filter has been implemented; the shell escape command
(!) now accepts line addresses to filter the addressed lines through a shell
command. (Suggested by Shawn Wagner, Andrew L. Moore, and John Cowan).
Gyorgy Sarvari [Fri, 8 Aug 2025 13:32:14 +0000 (15:32 +0200)]
libsecret: upgrade 0.21.6 -> 0.21.7
Changelog:
- docs: Fix return comment of secret_value_get_text
- bash-completion: Fix man section number in secret-tool completion file
- bash-completion: Integrate external extended bash-completion script
- bash-completion: Require minimal version for bash-completion
- meson: Use newlines for build options
Gyorgy Sarvari [Fri, 8 Aug 2025 11:44:28 +0000 (13:44 +0200)]
gcr: upgrade 4.3.1 -> 4.4.0.1
Due to a version number that has 4 sections, the recipe needs to override
gnome_gverdir function from gnomebase.bbclass to construct a valid download url.
Changelog:
gcr 4.4.0.1:
- meson: Fix gck vesion
gcr 4.4.0:
- gcr: Add OID for Extended Key Usage
- gcr: Avoid g_strv_builder_unref_to_strv()
- gck: Disable parallel tests using gck-mock module
- meson: Do a stricter check on GLib version
- gcr: Support parsing ed25519 SSH public keys
- Updated translations
gcr 4.3.90.3:
- ci: Another tarball publish fix
gcr 4.3.90.2:
- meson: fix library version
gcr 4.3.90.1:
- ci: Tarball publish fix
gcr 4.3.90:
- gcr: Add new GcrCertificateExtension API
- gcr: Vala override for CertificateField.get_value
- Fix meson test failures in FIPS mode
- doap: Remove invalid maintainer entry
- tests: Replace echo -n by printf
- build: Avoid redundant libegg linking into gck tests
- build: Fix some GLib/GTK deprecation warnings
- ssh-agent: Request rsa-sha2-256 signature in tests
- Updated translations
gcr 4.3.91:
- Several updates to the CI
- gcr: Implement Certificate Policies extension
- gcr: Implement Authority Information Access (AIA) extension
- gcr: Implement Authority Key Identifier extension
- gcr: Implement CRL Distribution Points extension
- gcr: Add GcrGeneralNames helper object
- gck: Add missing finish-func annotation to gck_slot_open_session_full_async
- Migrate away from g_assert() in some unit tests
- Updated translations
Peter Marko [Fri, 8 Aug 2025 10:24:13 +0000 (12:24 +0200)]
oeqa: fix parallel make settings
These testcases are running with make or cmake "-j" without number,
which means that the build will spawn unlimited number of compiler
processes which may lead to oomkills and general build machine cpu
overload.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Peter Marko [Fri, 8 Aug 2025 10:24:11 +0000 (12:24 +0200)]
oe/utils: extract method for parallel_make without d context
oeqa does not have general access to d variable context and needs to
determine parallel make settings.
Extract the code from parallel_make into reusable parallel_make_value.
Also correct function description of return value from None to empty
string.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Gyorgy Sarvari [Fri, 8 Aug 2025 09:54:21 +0000 (11:54 +0200)]
glib-networking: upgrade 2.80.0 -> 2.80.1
eagain.patch is dropped, as it is included in this release.
Changelog:
- OpenSSL: fix crash in complete_handshake (!251, Dario Saccavino)
- OpenSSL: fix invalid free in openssl_get_binding_tls_server_end_point() (!255)
- TLS test should handle G_IO_ERROR_WOULD_BLOCK (!253, Richard Purdie and Alexander Kanavin)
- Updated translations
Peter Marko [Fri, 8 Aug 2025 05:49:21 +0000 (07:49 +0200)]
go: upgrade 1.24.5 -> 1.24.6
Upgrade to latest 1.24.x release [1]:
$ git --no-pager log --oneline go1.24.5..go1.24.6 7f36edc26d [release-branch.go1.24] go1.24.6 83b4a5db24 [release-branch.go1.24] database/sql: avoid closing Rows while scan is in progress 0f5133b742 [release-branch.go1.24] os/exec: fix incorrect expansion of "", "." and ".." in LookPath 6e1c4529e4 [release-branch.go1.24] cmd/compile: for arm64 epilog, do SP increment with a single instruction 731de13dc3 [release-branch.go1.24] os/user: user random name for the test user account 390ffce7d6 [release-branch.go1.24] runtime: prevent unnecessary zeroing of large objects with pointers b454859a8a [release-branch.go1.24] runtime: stash allpSnapshot on the M
Gyorgy Sarvari [Thu, 7 Aug 2025 20:13:50 +0000 (22:13 +0200)]
dpkg: add ptest support
Added it to slow tests, as it takes betwen 165 and 190 seconds on my
machine to execute (qemux86-64 + kvm).
The test folder's Makefile contains a list of passing, failing and manual
tests. By default, only the expected-to-pass tests are executed by the
Makefile (unless magic environment variable is set).
The run-ptest script mimics the default behavior of executing the
expected-to-pass tests, however they are executed one by one, instead of
running them as one batch - that way it is easier to determine exactly
which tests pass and which fail.
One other thing that might worth a note, is that the tests folder that needs to be
installed contains a number of subfolders called "DEBIAN". When packaging them
at least with rpm, these folders are omitted from the package.
However these are essential for the tests, as they contain test data. As a
workaround, these folders are renamed during installation to DEBIAN-ptest,
and before execution the run-ptest script restores their names.
Peter Marko [Thu, 7 Aug 2025 17:50:45 +0000 (19:50 +0200)]
ccache: do not use ccache if it is explicitly forbidden
Some recipes explicitly disable ccache via CCACHE_DISABLE variable since
they are known issues with ccache in those recipes.
This setting should not be ignored also when ccache in in HOSTOOLS.
Rework a hard to read if clause so that it is in format
if (not CCACHE_DISABLE and (cond1 or cond2 or cond2)):
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Khem Raj [Thu, 7 Aug 2025 04:35:54 +0000 (21:35 -0700)]
python3-numpy: Always use libgcc for unwinder on aarch64
With libgcc (working):
Result: inf
Warnings: ['overflow encountered in cast']
With compiler-rt (failing):
Result: inf (probably still correct)
Warnings: [] (no warnings generated)
The issue is likely that compiler-rt on AArch64 doesn't trigger
the floating-point exceptions that NumPy expects for overflow
detection in type casting operations.
Khem Raj [Thu, 7 Aug 2025 00:44:25 +0000 (17:44 -0700)]
clang-cross: Create <cross>-clang binary copy instead of symlink
With clang cleanup in [1] we ended up removing this logic, which
is still required.
This ensures that search path for subsequent tools e.g. linker
assembler are searched in the same dir where <cross>-clang is
installed. If its a symlink to ../clang then the reference
installation dir is ../ and all cross-tools are not there
so clang will fail to find assembler/linker from cross staging
area and use /usr/bin/ld or /usr/bin/as which we do not want
Khem Raj [Thu, 7 Aug 2025 00:44:24 +0000 (17:44 -0700)]
libcxx: Create packageconfig for cross unwinder support
cross-unwinding can pass exception across runtimes e.g.
Multi-language applications ( nodejs native modules, python C extensions )
However, cross-unwinding is not default in libcxx for sometime [1]
it requires special handling at runtime by apps who use it
Switch recipe defaults to upstream defaults, which is to turn it off
This means native unwinding ( with in same runtime )
is build by default which is the most common case.
This also fixes libcxx/libunwind build errors
when enabling TC_CXX_RUNTIME = "llvm" on aarch64 particularly
Gyorgy Sarvari [Wed, 6 Aug 2025 12:43:12 +0000 (14:43 +0200)]
librsvg: upgrade 2.59.2 -> 2.60.0
0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch and
0001-meson.build-do-not-force-disable-introspection-and-v.patch
patches were dropped, because they are included in this release.
======
Removed the CVE exception for CVE-2018-1000041, because it has been
fixed in 2017[1].
=====
During the do_configure step, the following error popped up:
| Program meson/query-rustc.py found: YES (/home/meeee/stuff/ptest-images/build/tmp/work/core2-64-poky-linux/librsvg/2.60.0/sources/librsvg-2.60.0/meson/query-rustc.py)
|
| ../sources/librsvg-2.60.0/meson.build:357:4: ERROR: Problem encountered: error[E0463]: can't find crate for `std`
| |
| = note: the `x86_64-poky-linux-gnu` target may not be installed
| = help: consider downloading the target with `rustup target add x86_64-poky-linux-gnu`
|
| error: aborting due to 1 previous error
|
| For more information about this error, try `rustc --explain E0463`.
The meson script is trying to gather the static native libraries for the
target from rust, to link with them later. However it invokes rustc binary
directly without cargo, and the RUSTFLAGS environment variable is ignored,
which makes it to fail to find the Yocto targets.
To avoid this error, add a patch to append the RUSTFLAGS to the command
that calls rustc. (0001-query-rustc-append-RUSTFLAGS-to-rustc-executable.patch)
======
During the development of this version, using gdk-pixbuf-loader was enabled
for non-cross builds also. Unfortunately gdk-pixbuf-loader however has no
cross-wrapper script support officially, so it fails the build if it can't
find the executable (which is not present in the target build's sysroot).
To avoid to error, add a patch that reverts this change.
(0001-Revert-meson.build-do-not-force-disable-gdk-pixbuf-l.patch)
=====
Changelog:
- The minimum supported Rust version (MSRV) is 1.77.2.
- Many build fixes for various platforms (Amyspark, Alexander Kanavin,
Colin Sane).
- #414 - Basic support for the dominant-baseline property (Paul Melis).
- #1146 - Parse the white-space property. It is not processed yet;
this is part of the work to support SVG2 text layout (Adetoye Anointing).
- #1138 - Report errors correctly from the parsers for attribute values.
- Portability fixes to the C header files.
Version 2.59.91
===============
- #1147 - Fix linkage on Illumos.
- #1143 - Fix the build of the static library on MinGW (Amyspark).
- Fix versioning of library name (Amyspark).
- Enable cross-compilation of the gdk-pixbuf loader if meson/qemu can
handle it (Colin Sane).
Version 2.59.90
===============
- #414 - Basic support for the dominant-baseline property (Paul Melis).
- #1138 - Report errors correctly from the parsers for attribute values.
- #951 - Slightly improved test coverage (Vaishnavi Nawghare).
- #1136 - Don't use defined() in C macro definitions, since it is not
portable.
- #1146 - Parse the white-space property. It is not processed yet;
this will come after the Outreachy internship (Adetoye Anointing).
- Documentation fixes (Kleis Auke Wolthuizen).
- Many build fixes (Amyspark).
- Improvements for cross builds (Alexander Kanavin).
- Fix CRLF characters in Python sources (sulincix).
Ross Burton [Tue, 5 Aug 2025 11:26:14 +0000 (12:26 +0100)]
dbus: add message-bus PACKAGECONFIG
There's no need to build an actual message bus in native or nativesdk
environments, as if DBus is needed in those environments then it will be
used to connect to the existing session or system bus.
Add a PACKAGECONFIG for the message bus, and wrap the packaging logic
with a PACKAGECONFIG check.
Expat is only needed by the bus, so this reduces the mandatory build
dependencies in the native case.
This means we can merge the overridden do_install appends, as native and
nativesdk don't have the message bus enabled so they don't install
dbus-launch.
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>
Ross Burton [Tue, 5 Aug 2025 11:26:13 +0000 (12:26 +0100)]
dbus: use the systemd class to handle the unit files
Originally, the dbus recipe couldn't use the systemd class because there
was a circular dependency between systemd and dbus.
However, since systemd v209 in 2014[1] systemd hasn't needed libdbus, as
it has it's own implementation of the client library. DBus does not use
the systemd libraries, so there is no circular dependency.
The dbus build was already was installing the service and socket files,
so we are installing them again. Remove the installation of the units.
Manually mask dbus-1.service by simply creating a symlink, instead of
depending on systemctl and using an postinstall script.
Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] dbus: 718db96199 ("core: convert PID 1 to libsystemd-bus")
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 4 Aug 2025 19:54:25 +0000 (20:54 +0100)]
dbus: glib is only used in the test suite
The glib/gio libraries are only used in a few of the tests:
$ grep use_glib
meson.build:use_glib = glib.found() and gio.found()
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib
So there's no need to depend on glib if we're not building the tests.
Explicitly enable/disable the modular tests option to ensure that when
the tests are not being installed we don't still need glib to build them.
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>
Nikhil R [Tue, 5 Aug 2025 07:24:43 +0000 (12:54 +0530)]
cmake: Add PACKAGECONFIG option for debugger support
Starting from CMake version 2.27 support for interactive debugging of CMake
scripts and configurations was added. However, by default the `nativesdk-cmake`
is compiled with debugger support turned off.
This change adds debugger support for cmake
Signed-off-by: Nikhil R <nikhilr5@kpit.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 4 Aug 2025 19:52:34 +0000 (20:52 +0100)]
glib-2.0: -dev should depend on -utils
The -dev package should depend on -utils, as there are a number of
utilities in that package which are needed when compiling GLib-using code,
such as glib-genmarshal and glib-compile-resources.
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>