]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agolinux-yocto/6.1: update to v6.1.36
Bruce Ashfield [Mon, 3 Jul 2023 13:50:18 +0000 (09:50 -0400)] 
linux-yocto/6.1: update to v6.1.36

Updating  to the latest korg -stable release that comprises
the following commits:

    a1c449d00ff8 Linux 6.1.36
    29429a1f5871 smb: move client and server files to common directory fs/smb
    9d3e4bca4b92 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
    81d4078f7a42 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys
    679354bea008 KVM: arm64: Restore GICv2-on-GICv3 functionality
    6ab9468d3eea vhost_net: revert upend_idx only on retriable error
    454e4f391a14 vhost_vdpa: tell vqs about the negotiated
    1af1cd7be370 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
    022f2306d94f drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl
    aa88042218aa drm/exynos: vidi: fix a wrong error return
    711f727f7bab null_blk: Fix: memory release when memory_backed=1
    f6076a1386c9 ARM: dts: Fix erroneous ADS touchscreen polarities
    1d1baefacdb4 i2c: mchp-pci1xxxx: Avoid cast to incompatible function type
    8e3257599409 ALSA: hda/realtek: Add "Intel Reference board" and "NUC 13" SSID in the ALC256
    cfa01235b5ed ASoC: fsl_sai: Enable BCI bit if SAI works on synchronous mode with BYP asserted
    570583c6251a s390/purgatory: disable branch profiling
    c2888c460db2 gfs2: Don't get stuck writing page onto itself under direct I/O
    878dad66b9b5 ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x
    1c97025d441f ASoC: nau8824: Add quirk to active-high jack-detect
    5cc506e9b3e5 soundwire: qcom: add proper error paths in qcom_swrm_startup()
    2839e0b64e65 soundwire: dmi-quirks: add new mapping for HP Spectre x360
    ee4d36a14d3f ASoC: simple-card: Add missing of_node_put() in case of error
    e701fb0a5d5b ASoC: codecs: wcd938x-sdw: do not set can_multi_write flag
    06b9522ca831 spi: lpspi: disable lpspi module irq in DMA mode
    39a77f005f8a s390/cio: unregister device when the only path is gone
    552a24eb7168 arm64: dts: qcom: sc7280-qcard: drop incorrect dai-cells from WCD938x SDW
    4de58b7c14c0 arm64: dts: qcom: sc7280-idp: drop incorrect dai-cells from WCD938x SDW
    2e8ebf1a44cb Input: soc_button_array - add invalid acpi_index DMI quirk handling
    ba0cc7a2e508 nvme: improve handling of long keep alives
    06d9ec407f76 nvme: check IO start time when deciding to defer KA
    8a72260619ca nvme: double KA polling frequency to avoid KATO with TBKAS on
    c8f988c37a6b usb: gadget: udc: fix NULL dereference in remove()
    3f6391062d0b btrfs: fix an uninitialized variable warning in btrfs_log_inode
    a2c3e9bfc02c nfcsim.c: Fix error checking for debugfs_create_dir
    a05df0643120 media: cec: core: don't set last_initiator if tx in progress
    f37956a140d1 media: cec: core: disable adapter in cec_devnode_unregister
    9d8ac2726cff smb3: missing null check in SMB2_change_notify
    3e8458c5b205 arm64: Add missing Set/Way CMO encodings
    8428f4c00d8c HID: wacom: Add error check to wacom_parse_and_register()
    aaa50510adb7 scsi: target: iscsi: Prevent login threads from racing between each other
    0357259cb103 gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain()
    8592ada80ea5 gpio: sifive: add missing check for platform_get_irq
    cb1108e17493 gpiolib: Fix GPIO chip IRQ initialization restriction
    90714f7ed760 arm64: dts: rockchip: fix nEXTRST on SOQuartz
    e51abd4808f9 arm64: dts: rockchip: Enable GPU on SOQuartz CM4
    ec3d0f12e728 revert "net: align SO_RCVMARK required privileges with SO_MARK"
    b2e2f9c0939f sch_netem: acquire qdisc lock in netem_change()
    0434277b72a4 platform/x86/amd/pmf: Register notify handler only if SPS is enabled
    2d580c73afdc selftests: forwarding: Fix race condition in mirror installation
    eff07bf11841 io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdr
    1b7b048c228e bpf: Force kprobe multi expected_attach_type for kprobe_multi link
    fc3afb337814 bpf/btf: Accept function names that contain dots
    22cc989f2b10 Revert "net: phy: dp83867: perform soft reset and retain established link"
    3e04743dbacf netfilter: nfnetlink_osf: fix module autoload
    abd3afddbf9e netfilter: nf_tables: disallow updates of anonymous sets
    c34b22038543 netfilter: nf_tables: reject unbound chain set before commit phase
    46f801ab5fb9 netfilter: nf_tables: reject unbound anonymous set before commit phase
    b60c0ce0ff31 netfilter: nf_tables: disallow element updates of bound anonymous sets
    0d836f917520 netfilter: nft_set_pipapo: .walk does not deal with generations
    d60be2da67d1 netfilter: nf_tables: drop map element references from preparation phase
    df27be7c1530 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
    891cd2edddc7 netfilter: nf_tables: fix chain binding transaction logic
    f5b6dbec26f1 be2net: Extend xmit workaround to BE3 chip
    50f689918db4 net: dsa: mt7530: fix handling of LLDP frames
    a50f84af215e net: dsa: mt7530: fix handling of BPDUs on MT7530 switch
    a4e4c7190126 net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch
    7fd2e9a69e83 ipvs: align inner_mac_header for encapsulation
    6d1eec1f2dd7 mmc: usdhi60rol0: fix deferred probing
    7e10fff13353 mmc: sh_mmcif: fix deferred probing
    565b8bd2905d mmc: sdhci-acpi: fix deferred probing
    645f89ee3e3e mmc: owl: fix deferred probing
    251101c32a01 mmc: omap_hsmmc: fix deferred probing
    0057a905de5c mmc: omap: fix deferred probing
    f73b380518b2 mmc: mvsdio: fix deferred probing
    4806f6b6b7a3 mmc: mtk-sd: fix deferred probing
    d28b7a87332f net: qca_spi: Avoid high load if QCA7000 is not available
    1d4dd09f13a9 sfc: use budget for TX completions
    0bbb8164ed07 net/mlx5: DR, Fix wrong action data allocation in decap action
    b062caf4f73b xfrm: Linearize the skb after offloading if needed.
    fff9a18e0128 selftests: net: fcnal-test: check if FIPS mode is enabled
    0793ead2ff2c selftests: net: vrf-xfrm-tests: change authentication and encryption algos
    6919634176cd selftests: net: tls: check if FIPS mode is enabled
    ac5671d10060 bpf: Fix a bpf_jit_dump issue for x86_64 with sysctl bpf_jit_enable.
    8bb51cdc4fc2 xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
    d9a0b1a53c79 bpf: Fix verifier id tracking of scalars on spill
    461fc3391c52 bpf: track immediate values written to stack by BPF_ST instruction
    b36ba84f09a1 KVM: arm64: PMU: Restore the host's PMUSERENR_EL0
    c803e91600be xfrm: Ensure policies always checked on XFRM-I input path
    94e81817f080 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c
    8ea03341f78a xfrm: Treat already-verified secpath entries as optional
    43489b2cba5a ieee802154: hwsim: Fix possible memory leaks
    caddcdf2a999 mmc: meson-gx: fix deferred probing
    1a2793a25a60 memfd: check for non-NULL file_seals in memfd_create() syscall
    364fdcbb035b x86/mm: Avoid using set_pgd() outside of real PGD pages
    cbfee3d9d5c0 nilfs2: prevent general protection fault in nilfs_clear_dirty_page()
    24f473769e7e io_uring/poll: serialize poll linked timer start with poll removal
    2d80c85fa404 arm64: dts: rockchip: Fix rk356x PCIe register and range mappings
    277a7c23b590 regmap: spi-avmm: Fix regmap_bus max_raw_write
    b385b1d28e4e regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
    ad5daeaa3d57 spi: spi-geni-qcom: correctly handle -EPROBE_DEFER from dma_request_chan()
    21945b7a868f wifi: iwlwifi: pcie: Handle SO-F device for PCI id 0x7AF0
    1dfca388fc7c bpf: ensure main program has an extable
    03b2149d5aca mmc: sunxi: fix deferred probing
    8b8756324c5b mmc: bcm2835: fix deferred probing
    1db5a39a904e mmc: sdhci-spear: fix deferred probing
    f1b17198e45b mmc: mmci: stm32: fix max busy timeout calculation
    6c2af0fd8301 mmc: meson-gx: remove redundant mmc_request_done() call from irq context
    687d34c57807 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916
    3dd0041c41da mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS
    0d7a4e6589a0 cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex in freezer_css_{online,offline}()
    7b162a18d332 cgroup: Do not corrupt task iteration when rebinding subsystem
    c2c46a70282f mptcp: consolidate fallback and non fallback state machine
    1d3127542665 mptcp: fix possible list corruption on passive MPJ
    b747e755986a mptcp: fix possible divide by zero in recvmsg()
    b7bb71dfb541 mptcp: handle correctly disconnect() failures
    1d9dc9bed999 io_uring/net: disable partial retries for recvmsg with cmsg
    4d729cc67b05 io_uring/net: clear msg_controllen on partial sendmsg retry
    4db49d59a89c PCI: hv: Add a per-bus mutex state_lock
    091d03d19859 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic
    5c09925b1879 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev
    da2fff20d92d Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
    a74a9d9b756a PCI: hv: Fix a race condition bug in hv_pci_query_relations()
    ba803d7ac18a Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs
    191cb913293a Drivers: hv: vmbus: Call hv_synic_free() if hv_synic_alloc() fails
    4f7e702b74f7 KVM: Avoid illegal stage2 mapping on invalid memory slot
    390aeb5ae7c0 ACPI: sleep: Avoid breaking S3 wakeup due to might_sleep()
    8e63b1fd24a8 nilfs2: fix buffer corruption due to concurrent device reads
    d5d7cde2ad19 scripts: fix the gfp flags header path in gfp-translate
    4a89bfb1a142 writeback: fix dereferencing NULL mapping->host on writeback_page_template
    1fed1f851346 selftests: mptcp: join: fix "userspace pm add & remove address"
    53e096bcaeac selftests: mptcp: join: skip fail tests if not supported
    f17459121c37 selftests: mptcp: join: skip userspace PM tests if not supported
    f40a7ded34c9 selftests: mptcp: join: skip test if iptables/tc cmds fail
    bce23d125434 selftests: mptcp: sockopt: skip TCP_INQ checks if not supported
    157dcb20000b selftests: mptcp: diag: skip listen tests if not supported
    755c8857abde selftests/mount_setattr: fix redefine struct mount_attr build error
    94851666aff4 selftests: mptcp: join: skip MPC backups tests if not supported
    fe1f28db73f7 selftests: mptcp: join: skip fullmesh flag tests if not supported
    6313c493e3c9 selftests: mptcp: join: skip backup if set flag on ID not supported
    efb4f6c2dd4c selftests: mptcp: join: skip implicit tests if not supported
    dd6c284a3430 selftests: mptcp: join: support RM_ADDR for used endpoints or not
    695cce2f2cf5 selftests: mptcp: join: skip Fastclose tests if not supported
    0381f30735e2 selftests: mptcp: join: support local endpoint being tracked or not
    1c0d9b4b4745 selftests: mptcp: join: skip check if MIB counter not supported
    e35edb09e53e selftests: mptcp: join: helpers to skip tests
    4d65ec947d24 selftests: mptcp: join: use 'iptables-legacy' if available
    44d3366bf4b9 selftests: mptcp: lib: skip if not below kernel version
    c5bdd8eb8e7d selftests: mptcp: userspace pm: skip if not supported
    733bf9d80d95 selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable
    bfe225dec643 selftests: mptcp: sockopt: skip getsockopt checks if not supported
    103b4e62de32 selftests: mptcp: sockopt: relax expected returned size
    61c1bf0666a9 selftests: mptcp: pm nl: skip fullmesh flag checks if not supported
    41f7f7f6e43e selftests: mptcp: pm nl: remove hardcoded default limits
    e79e5e7642ad selftests: mptcp: connect: skip disconnect tests if not supported
    cba0db9c1586 selftests: mptcp: connect: skip transp tests if not supported
    9ead68270b29 selftests: mptcp: lib: skip if missing symbol
    4bed22c6876b selftests: mptcp: join: fix ShellCheck warnings
    a032ccca15e1 selftests: mptcp: remove duplicated entries in usage
    0c6552f83725 tick/common: Align tick period during sched_timer setup
    854156d12caa ksmbd: validate session id and tree id in the compound request
    c86211159bc3 ksmbd: fix out-of-bound read in smb2_write
    9650cf70ec9d ksmbd: validate command payload size
    0fd4ac3773c3 tpm_crb: Add support for CRB devices based on Pluton
    a46fa5696613 tpm, tpm_tis: Claim locality in interrupt handler
    2e7ad879e1b0 mm: Fix copy_from_user_nofault().
    4ed740c6482f ata: libata-scsi: Avoid deadlock on rescan after device resume
    c4465bff4d2f tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A
    17732fed852a tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
    9bcac453890b drm/amd/display: fix the system hang while disable PSR
    e538342002cb drm/amd/display: Add wrapper to call planes and stream update
    8d855bc67630 drm/amd/display: Use dc_update_planes_and_stream

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/ppc: add elfutils-native to DEPENDS
Bruce Ashfield [Mon, 10 Jul 2023 16:16:27 +0000 (12:16 -0400)] 
linux-yocto/ppc: add elfutils-native to DEPENDS

powerpc joins x86 and ARM requiring elfutils-native in some
configurations.

We already have this dependency in the dev kernel and in devsrc, so we
add it to linux-yocto.inc to ensure that all reference kernels pick up
the requirement.

Without this, objtools fails to build as follows:

   kernel-source/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto-tiny/arm: fix configuration warnings (HID)
Bruce Ashfield [Mon, 10 Jul 2023 15:24:14 +0000 (11:24 -0400)] 
linux-yocto-tiny/arm: fix configuration warnings (HID)

Integrating the following commit(s) to linux-yocto/.:

    fa08cd6bd6f tiny: enable HID in tiny BSPs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto-tiny/6.4: fix configuration warnings (HID)
Bruce Ashfield [Fri, 7 Jul 2023 14:40:37 +0000 (10:40 -0400)] 
linux-yocto-tiny/6.4: fix configuration warnings (HID)

When building -tiny for qemux86 on 6.4, CONFIG_HID related warnings
were observed.

 [NOTE]: 'CONFIG_HID_WACOM' last val (y) and .config val (n) do not match
 [NOTE]: 'CONFIG_USB_HID' last val (y) and .config val (n) do not match
 [NOTE]: 'CONFIG_USB_HIDDEV' last val (y) and .config val (n) do not match

This is due to our allnoconfig baseline disabling HID, which dependent
drivers require.

Rather than universally enabling CONFIG_HID in the base tiny ktype, we
can create a fragment and include it from the common-pc tiny kernel
entry point.

    252c55e236c common-pc/tiny: enable HID by default
    849f920aa1b cfg: add CONFIG_HID base fragment

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.4: update to v6.4.2
Bruce Ashfield [Thu, 6 Jul 2023 18:50:19 +0000 (14:50 -0400)] 
linux-yocto/6.4: update to v6.4.2

Updating  to the latest korg -stable release that comprises
the following commits:

    d7defc5b8d42 Linux 6.4.2
    ba0f198721f4 arch/arm64/mm/fault: Fix undeclared variable error in do_page_fault()
    57db8dc02888 drm/amdgpu: Validate VM ioctl flags.
    cc39da6c58c4 dm ioctl: Avoid double-fetch of version
    c27c99d4458f docs: Set minimal gtags / GNU GLOBAL version to 6.6.5
    16167ccafbb3 scripts/tags.sh: Resolve gtags empty index generation
    b1c2d0ded4dc hugetlb: revert use of page_cache_next_miss()
    a03f2f4bd490 nubus: Partially revert proc_create_single_data() conversion
    1c70f4df65ac Revert "cxl/port: Enable the HDM decoder capability for switch ports"
    5dda60d23104 nfs: don't report STATX_BTIME in ->getattr
    926eae6ede9b execve: always mark stack as growing down during early stack setup
    dfb27a766896 PCI/ACPI: Call _REG when transitioning D-states
    f933605c1767 PCI/ACPI: Validate acpi_pci_set_power_state() parameter
    f23cf6986b87 tools/nolibc: x86_64: disable stack protector for _start
    8911865ae284 xtensa: fix lock_mm_and_find_vma in case VMA not found
    593776794734 Linux 6.4.1
    2aad4f30f4e4 xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion
    87d780e048bd csky: fix up lock_mm_and_find_vma() conversion
    0d98e5325f1f parisc: fix expand_stack() conversion
    23d1e960cd12 sparc32: fix lock_mm_and_find_vma() conversion
    7a11f6e08edf Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe"
    e6d864166aaf HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651.
    05b47034e248 HID: hidraw: fix data race on device refcount
    14fdcf965dc5 fbdev: fix potential OOB read in fast_imageblit()
    00d5932e09d7 mm/khugepaged: fix regression in collapse_file()
    f450d0307644 gup: add warning if some caller would seem to want stack expansion
    d0198363f910 HID: wacom: Use ktime_t rather than int when dealing with timestamps
    fb32951c8903 mm: always expand the stack with the mmap write lock held
    af099fa739b8 execve: expand new process stack manually ahead of time
    b2d6752dbfe7 mm: make find_extend_vma() fail if write lock not held
    accf6d0c5832 powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma()
    203cfe05efc8 mm/fault: convert remaining simple cases to lock_mm_and_find_vma()
    4e3fb74f6050 arm/mm: Convert to using lock_mm_and_find_vma()
    7e99b9821acc riscv/mm: Convert to using lock_mm_and_find_vma()
    929eb6b2a690 mips/mm: Convert to using lock_mm_and_find_vma()
    b6f36565369c powerpc/mm: Convert to using lock_mm_and_find_vma()
    7a1383601b7c arm64/mm: Convert to using lock_mm_and_find_vma()
    d939d8c154f1 mm: make the page fault mmap locking killable
    b11fa3d22ac0 mm: introduce new 'lock_mm_and_find_vma()' page fault helper
    f5fcf6555a2a maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()
    b6e1ef3cd6d8 can: isotp: isotp_sendmsg(): fix return error fix on TX path
    3f2719a1c382 cpufreq: amd-pstate: Make amd-pstate EPP driver name hyphenated
    9e97e46e3210 x86/smp: Cure kexec() vs. mwait_play_dead() breakage
    cc37b1184236 x86/smp: Use dedicated cache-line for mwait_play_dead()
    4726d74f697f x86/smp: Remove pointless wmb()s from native_stop_other_cpus()
    8b1b43c42100 x86/smp: Dont access non-existing CPUID leaf
    f9abe01d5d68 x86/smp: Make stop_other_cpus() more robust
    9a500542a1dc x86/microcode/AMD: Load late on both threads too

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto-rt/6.4: integrate -rt6
Bruce Ashfield [Thu, 6 Jul 2023 17:43:17 +0000 (13:43 -0400)] 
linux-yocto-rt/6.4: integrate -rt6

Integrating the following commit(s) to linux-yocto-rt/6.4:

    369f3a1d2f39 Add localversion for -RT release
    c26c6f8a7def sysfs: Add /sys/kernel/realtime entry
    1026252efc14 POWERPC: Allow to enable RT
    2be128571d55 powerpc/stackprotector: work around stack-guard init from atomic
    55bea7bc53a3 powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT
    6d7729893293 powerpc/pseries: Select the generic memory allocator.
    4f94b99ce5fa powerpc/imc-pmu: Use the correct spinlock initializer.
    4842eac5df59 powerpc/pseries/iommu: Use a locallock instead local_irq_save()
    20217d6be82e powerpc: traps: Use PREEMPT_RT
    caa81a9e214f ARM64: Allow to enable RT
    e6d8eecd9250 ARM: Allow to enable RT
    ed8eef71c579 tty/serial/pl011: Make the locking work on RT
    579a01d01422 tty/serial/omap: Make the locking RT aware
    82c5c842e1a3 ARM: enable irq in translation/section permission fault handlers
    40b10f168ff6 arm: Disable jump-label on PREEMPT_RT.
    a7a1bfa3b88b arch/arm64: Add lazy preempt support
    be59db8f177b powerpc: Add support for lazy preemption
    0143f7261d2e arm: Add support for lazy preemption
    27dd55360d61 entry: Fix the preempt lazy fallout
    59012496af29 x86: Support for lazy preemption
    d25ecd17ccbe x86/entry: Use should_resched() in idtentry_exit_cond_resched()
    beb2483d6b9f sched: Add support for lazy preemption
    c78e3d4fd185 Revert "drm/i915: Depend on !PREEMPT_RT."
    bdac43aa952c drm/i915: Drop the irqs_disabled() check
    954bab1b75e9 drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()
    afcb80571a37 drm/i915/gt: Queue and wait for the irq_work item.
    5f8008dab040 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE
    da5622b92296 drm/i915: Disable tracing points on PREEMPT_RT
    51532f62a857 drm/i915: Don't check for atomic context on PREEMPT_RT
    4b1c4c7b4e6c drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates
    459be7df2c2a drm/i915: Use preempt_disable/enable_rt() where recommended
    628d1b08d421 printk: Check only for migration in printk_deferred_*().
    dfd2770048a6 serial: 8250: implement non-BKL console
    9fc96a5c3a19 printk: replace local_irq_save with local_lock for safe mode
    061a418efaef printk: Add threaded printing support for BKL consoles.
    36ac8599626a printk: only disable if actually unregistered
    71669eb2c2da printk: Perform atomic flush in console_flush_on_panic()
    b0634d6c06d9 rcu: Add atomic write enforcement for rcu stalls
    95fdf7b134ab kernel/panic: Add atomic write enforcement to warn/panic
    c39e30092722 proc: consoles: Add support for non-BKL consoles
    70be25f26762 tty: tty_io: Show non-BKL consoles as active
    c980fcfd9dcb printk: nobkl: Stop threads on shutdown/reboot
    e372fdfa42c3 printk: nobkl: Provide functions for atomic write enforcement
    7c779a16b20c printk: nobkl: Add write context storage for atomic writes
    042485b8fa7a printk: nobkl: Add printer thread wakeups
    a0d1569185ed printk: nobkl: Introduce printer threads
    68aa6402e396 printk: nobkl: Add emit function and callback functions for atomic printing
    ccf51a3743a4 printk: nobkl: Add print state functions
    e33dfd268d79 printk: nobkl: Add sequence handling
    2f0f99a7a004 printk: nobkl: Add buffer management
    f6cd5cdad5cf printk: nobkl: Add acquire/release logic
    6754f4c0d6ee printk: Add non-BKL console basic infrastructure
    b4568c7fbbfc printk: Add per-console suspended state
    1e952ed4d35b printk: Consolidate console deferred printing
    b12fabcfa9be printk: Add NMI check to console_flush_on_panic() and console_unblank()
    9c1bfc2a6f3c kdb: do not assume write() callback available
    244f2785c026 preempt: Put preempt_enable() within an instrumentation*() section.
    1b61e0ba79ae zram: Replace bit spinlocks with spinlock_t for PREEMPT_RT.
    62bf62e9fd6c softirq: Wake ktimers thread also in softirq.
    a546af0d74af tick: Fix timer storm since introduction of timersd
    bfd12d9a9dfc rcutorture: Also force sched priority to timersd on boosting test.
    8898939cf3b1 softirq: Use a dedicated thread for timer wakeups.
    2c8cccade3f1 x86: Enable RT also on 32bit
    75a40b356238 x86: Allow to enable RT
    126193d32d0c net: Avoid the IPI to free the
    931d538b5c85 mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
    dd90b50f7be9 seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
    0874a8832dc7 ARM: vfp: Use vfp_lock() in vfp_entry().
    3c69696bd766 ARM: vfp: Use vfp_lock() in vfp_sync_hwstate().
    0fcd7c2cc385 ARM: vfp: Provide vfp_lock() for VFP locking.
    67cdd3607ac5 posix-timers: Ensure timer ID search-loop limit is valid
    d18adb7ffef3 posix-timers: Prevent RT livelock in itimer_delete()
    53c35a763a78 signal: Don't disable preemption in ptrace_stop() on PREEMPT_RT.
    0acdc7e2e082 signal: Add proper comment about the preempt-disable in ptrace_stop().
    ec0ce135acf0 locking/rtmutex: Add a lockdep assert to catch potential nested blocking
    5898c4215b40 locking/rtmutex: Avoid pointless blk_flush_plug() invocations
    8fbc724cb1c6 locking/rtmutex: Submit/resume work explicitly before/after blocking
    3e1028d6c3cc sched/core: Provide sched_rtmutex() and expose sched work helpers
    2c4691baa875 bpf: Remove in_atomic() from bpf_link_put().
    eb0a0f759f25 revert: "softirq: Let ksoftirqd do its job"
    3c160415c46a tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
    c4d99ee1238f sched: Consider task_struct::saved_state in wait_task_inactive()
    587e9609ccd5 sched: Unconditionally use full-fat wait_task_inactive()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.4: refresh configuration
Bruce Ashfield [Thu, 6 Jul 2023 17:33:40 +0000 (13:33 -0400)] 
linux-yocto/6.4: refresh configuration

Bumping SRCREVs to pickup the following confguration tweaks for 6.4:

    ebe5a59e59f cfg/fb: update CONFIG_FB_CMDLINE to CONFIG_VIDEO_CMDLINE
    ccd8fad4a64 cfg/netfilter: drop CONFIG_IP_NF_TARGET_CLUSTERIP
    7a20868156d cfg/net: remove CONFIG_NET_SCH_DSMARK
    d3083675d3f net/cfg: remove CONFIG_NET_SCH_CBQ

With these merged, we have no configuration warnings in the 6.4
reference kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.4: aufs6 integration
Bruce Ashfield [Thu, 6 Jul 2023 16:03:05 +0000 (12:03 -0400)] 
linux-yocto/6.4: aufs6 integration

We still offer aufs support for some container / virtualization
workloads. The project is still up to date with 6.3+, so we grab
the patches and make them available on v6.4/standard/*

As usual, v6.4/base is pure k.org + -stable if you don't want
things such as aufs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.4: update to latest
Bruce Ashfield [Thu, 6 Jul 2023 04:29:55 +0000 (00:29 -0400)] 
linux-yocto/6.4: update to latest

Integrating the following commit(s) to linux-yocto/6.4:

    9ede8913ad6c qemux86: add configuration symbol to select values

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto: introduce 6.4 reference kernel recipes
Bruce Ashfield [Thu, 6 Jul 2023 04:26:38 +0000 (00:26 -0400)] 
linux-yocto: introduce 6.4 reference kernel recipes

kernel v6.4.x will be the next yocto project reference kernel.

This is largely the same as the 6.1 recipes, with only SRCREV and
minor differences.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel: fix localversion in v6.3+
Bruce Ashfield [Wed, 5 Jul 2023 14:44:39 +0000 (14:44 +0000)] 
kernel: fix localversion in v6.3+

During testing of the v6.4 reference kernel, it was noticed that
on-target modules no longer matched the magic value of the running
kernel.

This was due to a different localversion in the cross built kernel
and the scripts / resources created on target.

This was due to changes in the setlocalversion script introduced
in the v6.3 series.

The .scmversion file is no longer used (or packaged) to inhibit
the addition of a "+" (through querying of the git status of the
kernel) or the setting of a local version.

We recently introduced the KERNEL_LOCALVERSION variable to allow
recipes to place a value in .scmversion, so we extend the use of
that variable to kernel-arch.bbclass and use it to set the
exported variable LOCALVERSION.

We must do it at the kernel-arch level, as the variable must be
exported in any kernel build to ensure that setlocalversion always
correctly sets the localversion.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-libc-headers: bump to 6.4
Bruce Ashfield [Sun, 2 Jul 2023 00:53:34 +0000 (00:53 +0000)] 
linux-libc-headers: bump to 6.4

kernel version 6.4 is the reference kernel for the fall
release.

This brings libc-headers up to date with that tested
reference

For musl, we drop one patch that has been merged upstream.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/devtool: add unit test for "devtool add -b"
Yoann Congal [Wed, 5 Jul 2023 15:30:00 +0000 (17:30 +0200)] 
oeqa/selftest/devtool: add unit test for "devtool add -b"

Fix [Yocto #15085]

Co-authored-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorootfs_rpm: don't depend on opkg-native for update-alternatives
Ross Burton [Thu, 11 May 2023 17:20:52 +0000 (18:20 +0100)] 
rootfs_rpm: don't depend on opkg-native for update-alternatives

opkg-native hasn't provided update-alternatives since 2014[1] so this is
the wrong dependency, and image.bbclass depends on the virtual provider
virtual/update-alternatives-native already.

[1] oe-core 1e2c38ce13f8e4b25d8656d237343380cbc970aa

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocml1: add showconfig task to easily find the generated .config file
Ross Burton [Thu, 12 May 2022 14:11:17 +0000 (15:11 +0100)] 
cml1: add showconfig task to easily find the generated .config file

It's not that unusual to want to manually review the generated .config file
after do_configure has ran.  Add a new 'showconfig' task that simply
prints the full path to the .config file, so the user can open it in an
editor.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case
Ross Burton [Wed, 5 Jul 2023 10:50:01 +0000 (11:50 +0100)] 
oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case

str.format() doesn't use % notation, update the formatting to work.

assertTrue() is a member of self not a global, and assertTrue(True) will
always pass. Change this to just self.fail() as this is the failure case.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodnf: only write the log lock to root for native dnf
Changqing Li [Fri, 30 Jun 2023 09:14:50 +0000 (17:14 +0800)] 
dnf: only write the log lock to root for native dnf

From commit 742a1b7124, log_lock.pid is writen to root, but following
file is not changed, which will make it never deleted, and an unexpected
file exist in root dir after boot target.

$ tail  -n 1 etc/tmpfiles.d/dnf.conf
r /var/log/log_lock.pid

Besides, root dir may be read-only, so it is better still
keep the log_lock.pid under /var/log, only write the log lock to root
for native dnf for fixing issue mentioned in 742a1b7124

(From OE-Core rev: 5f1471158dfcd9a85fe910e49c5df25cb96ffe69)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoperf: fix buildpaths QA warning in 6.4+
Bruce Ashfield [Tue, 4 Jul 2023 17:05:46 +0000 (17:05 +0000)] 
perf: fix buildpaths QA warning in 6.4+

kernel version 6.4 introduces a new file that need to have
absolute paths removed, so we can avoid the buildpaths QA
warning and have relocatable packages.

We add pmu-flex.h to the processing, and the issue is resolved.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd-systemctl: fix errors in instance name expansion
Yuta Hayama [Wed, 5 Jul 2023 06:06:35 +0000 (15:06 +0900)] 
systemd-systemctl: fix errors in instance name expansion

If the instance name indicated by %i begins with a number, the meaning of the
replacement string "\\1{}".format(instance) is ambiguous.

To indicate group number 1 regardless of the instance name, use "\g<1>".

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomeson.bbclass: Point to llvm-config from native sysroot
Khem Raj [Tue, 4 Jul 2023 17:06:22 +0000 (10:06 -0700)] 
meson.bbclass: Point to llvm-config from native sysroot

Default search in meson would grok /usr/bin for llvm-config and if found
will use it, which might add wrong paths into cflags/ldflags, since we
depend on llvm-native when building gallium support ( thats when
llvm-config is effective), its better to point llvm-config into native
sysroot so it can add correct paths into compiler/linker cmdline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocve-update-nvd2-native: fix cvssV3 metrics
Peter Marko [Thu, 29 Jun 2023 21:12:52 +0000 (23:12 +0200)] 
cve-update-nvd2-native: fix cvssV3 metrics

After upgrade to soon-to-be-released kirkstone 4.0.11 CVE annotations got broken.
Anything which has only cvssV3 does not resolve properly.
Fix the API fields used to extract it.

i0.0 score is now at level of NVD DB 1.1.
All CVEs with UNKNOWN vector are not present in NVD DB 1.1.

NVD API 1.1:
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4776
LOCAL|32146
NETWORK|167746
PHYSICAL|185
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73331
1.8|7
1.9|3
...

NVD API 2.0 (broken):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4587
LOCAL|26273
NETWORK|150421
UNKNOWN|24644
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|205925

NVD API 2.0 (fixed):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|5090
LOCAL|32322
NETWORK|168004
PHYSICAL|213
UNKNOWN|511
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73841
1.8|7
1.9|3
...

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: Fix build with upcoming LLVM 17
Khem Raj [Mon, 3 Jul 2023 02:59:58 +0000 (19:59 -0700)] 
mesa: Fix build with upcoming LLVM 17

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-jsonpointer: upgrade to 2.4
Ross Burton [Mon, 19 Jun 2023 14:06:54 +0000 (15:06 +0100)] 
python3-jsonpointer: upgrade to 2.4

Drop the merged patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pygments: upgrade 2.14.0 -> 2.15.1
Tim Orling [Wed, 5 Jul 2023 08:53:01 +0000 (01:53 -0700)] 
python3-pygments: upgrade 2.14.0 -> 2.15.1

* Upstream has dropped setup.py
* Inherit python_setuptools_build_meta instead of setuptools3
* Add self as maintainer, as this is a dependency for python3-sphinx

Adds some new lexers, updates a few others. A handful of bug fixes.

https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L6
https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L18

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3: add cgitb, zipapp ptest dependencies
Trevor Gamblin [Tue, 4 Jul 2023 15:31:35 +0000 (11:31 -0400)] 
python3: add cgitb, zipapp ptest dependencies

Without these, test_cgitb and test_zipapp both fail when running the
python3 ptests.

Also reorder the ${PN}-misc list to be alphabetical.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3: fix missing comma in get_module_deps3.py
Ross Burton [Wed, 5 Jul 2023 10:34:34 +0000 (11:34 +0100)] 
python3: fix missing comma in get_module_deps3.py

Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a
preplace() call, add it.

That said, calling replace() with one argument results in a TypeError,
so this is obviously dead code.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/cve-exclusion: ignore more backported CVEs
Ross Burton [Tue, 4 Jul 2023 13:32:51 +0000 (14:32 +0100)] 
linux-yocto/cve-exclusion: ignore more backported CVEs

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/cve-exclusion: move entries from cve-extra-exclusions
Ross Burton [Tue, 4 Jul 2023 13:42:40 +0000 (14:42 +0100)] 
linux-yocto/cve-exclusion: move entries from cve-extra-exclusions

We've a slew of CVE_CHECK_IGNOREs in cve-extra-exclusions which are to
mark a CVE as not valid with the current default kernel. However, this
file is kernel agnostic so if someone decides to build a 6.0 kernel then
these ignores are no longer valid.

Move the ignores which are to simply reflect backports to
cve-exclusions_6.1.inc so that they're version-specific. As the kernel
is upgraded these exclusions should be made redundant and removed from
the file.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotiff: upgrade to 4.5.1
Ross Burton [Mon, 3 Jul 2023 12:19:25 +0000 (13:19 +0100)] 
tiff: upgrade to 4.5.1

Also remove old CVE_CHECK_IGNOREs which are no longer needed due to CPE
updates.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocups: upgrade to 2.4.6
Ross Burton [Mon, 3 Jul 2023 11:45:58 +0000 (12:45 +0100)] 
cups: upgrade to 2.4.6

This resolves CVE-2023-34241.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agou-boot: Update Upstream-Status
Fabio Estevam [Tue, 4 Jul 2023 11:22:54 +0000 (08:22 -0300)] 
u-boot: Update Upstream-Status

The patch to fix the mkimage path length error has landed in
U-Boot upstream.

Update the Upstream-Status accordingly.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: re-add mdadm-ptest to PTESTS_SLOW
Ovidiu Panait [Tue, 4 Jul 2023 07:39:19 +0000 (10:39 +0300)] 
mdadm: re-add mdadm-ptest to PTESTS_SLOW

The ptest problems reported in e21021dc00ec ("mdadm: drop from PTESTS_SLOW")
should now be fixed, so mdadm can be added back to PTESTS_SLOW (a qemux86-64
test run takes about ~12 minutes to execute with kvm).

root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
2023-06-30T08:25
BEGIN: /usr/lib/mdadm/ptest
PASS: /usr/lib/mdadm/ptest/tests/00linear
PASS: /usr/lib/mdadm/ptest/tests/00multipath
...
PASS: /usr/lib/mdadm/ptest/tests/19repair-does-not-destroy
PASS: /usr/lib/mdadm/ptest/tests/20raid5journal
PASS: /usr/lib/mdadm/ptest/tests/21raid5cache
DURATION: 723
END: /usr/lib/mdadm/ptest
2023-06-30T09:16
STOP: ptest-runner
TOTAL: 1 FAIL: 0

For the testcases to run correctly, there must be enough rootfs space to create
13 loop devices. Similar to strace and lttng-tools, add a new
IMAGE_ROOTFS_EXTRA_SPACE entry for mdadm-ptest.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: skip running known broken ptests
Ovidiu Panait [Tue, 4 Jul 2023 07:39:18 +0000 (10:39 +0300)] 
mdadm: skip running known broken ptests

Upstream marked some testcases as "KNOWN BROKEN" and introduced the
"--skip-broken" flag to ignore them when running the testsuite (commits [1]
and [2]). Backport these two commits to get rid of the last remaining ptest
failures.

Also, add the "--skip-broken" option to the run-ptest script.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=28520bf114b3
[2] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=daa86d663476

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: fix segfaults when running ptests
Ovidiu Panait [Tue, 4 Jul 2023 07:39:17 +0000 (10:39 +0300)] 
mdadm: fix segfaults when running ptests

Currently, some segfaults are reported when running ptest:
mdadm[12333]: segfault at 0 ip 00007fe855924060 sp 00007ffc4d6caf88 error 4 in libc.so.6[7f)
Code: d2 0f 84 b7 0f 00 00 48 83 fa 01 0f 84 b9 0f 00 00 49 89 d3 89 f1 89 f8 48 83 e1 3f 4f

Backport the following upstream commits to fix them:
679bd9508a30 ("DDF: Cleanup validate_geometry_ddf_container()")
2b93288a5650 ("DDF: Fix NULL pointer dereference in validate_geometry_ddf()")
548e9b916f86 ("mdadm/Grow: Fix use after close bug by closing after fork")
9ae62977b51d ("monitor: Avoid segfault when calling NULL get_bad_blocks")

The fixes are part of the "Bug fixes and testing improvments" patchset [1].

[1] https://www.spinics.net/lists/raid/msg70621.html

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: fix 07revert-inplace ptest
Ovidiu Panait [Tue, 4 Jul 2023 07:39:16 +0000 (10:39 +0300)] 
mdadm: fix 07revert-inplace ptest

Testcase 07revert-inplace fails if strace is not installed:
...
strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...>
tests/07revert-inplace: line 40: strace: command not found

Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with
a core-image-minimal build.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: fix util-linux ptest dependency
Ovidiu Panait [Tue, 4 Jul 2023 07:39:15 +0000 (10:39 +0300)] 
mdadm: fix util-linux ptest dependency

Trying to run mdadm-ptest in a core-image-minimal build will result in:
root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
BEGIN: /usr/lib/mdadm/ptest
which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)
lsblk command not found!
DURATION: 0
END: /usr/lib/mdadm/ptest
2023-06-28T10:14
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Remove util-linux from RRECOMMENDS and only add util-linux-lsblk and
util-linux-losetup to RDEPENDS.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC
Mingli Yu [Mon, 26 Jun 2023 05:58:00 +0000 (13:58 +0800)] 
qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC

Fixes:
  Add below line to conf/local.conf
  IMAGE_INSTALL:append = " qemu-system-aarch64"
  $ bitbake core-image-base
  ERROR: Required build target 'core-image-base' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-base', 'qemu-system-aarch64']

(From OE-Core rev: b89201b7c163b075880a35733700c6d4205b4461)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agouboot-extlinux-config.bbclass: fix old override syntax in comment
Quentin Schulz [Mon, 26 Jun 2023 14:08:47 +0000 (16:08 +0200)] 
uboot-extlinux-config.bbclass: fix old override syntax in comment

The comment specifies how to use the variables but uses the older and
now unsupported override syntax. Let's update to match the newer syntax.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 0a381eea4d50ff1c6e7c7d0d4df62eb581454b48)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoalsa-lib: Disable old API symbols
Khem Raj [Sat, 24 Jun 2023 05:32:22 +0000 (22:32 -0700)] 
alsa-lib: Disable old API symbols

These symbols are currently generated as undefined in the shared object,
which means we really do not need them.

(From OE-Core rev: a704ba641078d4b31da9d9af13e10c576f4a0b48)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split add systemd modulesloaddir and modprobedir config
Jose Quaresma [Tue, 4 Jul 2023 10:36:09 +0000 (10:36 +0000)] 
kernel-module-split add systemd modulesloaddir and modprobedir config

Because busybox doesn't support other path than /etc [1] we can't
change the default path unconditionally so change it only for systemd.

The modules-load.d [2] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [3] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://git.busybox.net/busybox/tree/modutils/modprobe.c?id=669c40ed8ebf480c95ce36135104e474e361a7e6#n658
[2] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[3] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibjpeg-turbo: upgrade to 3.0.0
Ross Burton [Tue, 4 Jul 2023 10:21:52 +0000 (11:21 +0100)] 
libjpeg-turbo: upgrade to 3.0.0

Remove 0001-libjpeg-turbo-fix-package_qa-error.patch, doesn't appear to
be needed anymore.

Use the full upstream license for LICENSE, and change LIC_FILES_CHKSUM
to point at just the license overview in LICENSE.md.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopkgconf: update SRC_URI
Ross Burton [Mon, 3 Jul 2023 16:18:37 +0000 (17:18 +0100)] 
pkgconf: update SRC_URI

dereferenced.org is now longer controlled by the pkgconf maintainers[1],
so use the the new hosting location.

[1] https://github.com/pkgconf/pkgconf/commit/437c2a3218bfcb1cae7fa38a4ccd0cb29575ff07

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomusl: Guard fallocate64 with _LARGEFILE64_SOURCE
Khem Raj [Wed, 28 Jun 2023 20:44:54 +0000 (13:44 -0700)] 
musl: Guard fallocate64 with _LARGEFILE64_SOURCE

Gets this fix

718f363b move fallocate64 declaration under _LARGEFILE64_SOURCE feature test

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocpio: respect MLPREFIX for PACKAGE_WRITE_DEPS
Martin Jansa [Sat, 1 Jul 2023 23:56:05 +0000 (01:56 +0200)] 
cpio: respect MLPREFIX for PACKAGE_WRITE_DEPS

* unlike DEPENDS/RDEPENDS the PACKAGE_WRITE_DEPS dependency isn't automatically
  extended with MLPREFIX, causing lib32-cpio to depend on 64bit ptest-runner (and
  all its deps)

* append it only for class-target to avoid nativesdk-cpio depending
  on target ptest-runner (before this patch) and depending on non-existent
  nativesdk-ptest-runner with this patch (as nativesdk.bbclass sets MLPREFIX to
  "nativesdk-")

  stdio: WARNING: Nothing PROVIDES 'nativesdk-ptest-runner'. Close matches:
  stdio: WARNING: Nothing RPROVIDES 'nativesdk-cpio' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-extended/cpio/cpio_2.14.bb RDEPENDS on or otherwise requires it)
  stdio: WARNING: Nothing RPROVIDES 'nativesdk-cpio-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-extended/cpio/cpio_2.14.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: Enable JIT on RISCV64
Khem Raj [Mon, 3 Jul 2023 18:38:47 +0000 (11:38 -0700)] 
webkitgtk: Enable JIT on RISCV64

Its supported in 2.40+ release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibssh2: disable rpath to fix curl-native build
Sudip Mukherjee [Fri, 30 Jun 2023 15:32:46 +0000 (16:32 +0100)] 
libssh2: disable rpath to fix curl-native build

When curl is built with PACKAGECONFIG:append = " libssh2", the build fails
with the error:
gcc: error: unrecognized command-line option '-R'

It was trying to set the rpath for libssh2.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/oe-setup-builddir: copy conf-notes.txt to build dir
Stéphane Veyret [Sun, 2 Jul 2023 12:21:21 +0000 (14:21 +0200)] 
scripts/oe-setup-builddir: copy conf-notes.txt to build dir

Since commit 569d4cd325, if one is using a custom template directory
containing a conf-notes.txt, this file is only displayed when creating
a new environment. When entering an already existing environment, only
the default poky conf-notes.txt is displayed.

This patch copies the conf-notes.txt to display to the build directory,
so that the good file is shown, even when templateconf.cfg is not used.

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobluez5: upgrade 5.66 -> 5.68
Anuj Mittal [Mon, 3 Jul 2023 03:30:25 +0000 (11:30 +0800)] 
bluez5: upgrade 5.66 -> 5.68

Include a patch submitted upstream to fix cross-compilation issues.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-networking: upgrade 2.76.0 -> 2.76.1
Anuj Mittal [Mon, 3 Jul 2023 03:30:24 +0000 (11:30 +0800)] 
glib-networking: upgrade 2.76.0 -> 2.76.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpng: upgrade 1.6.39 -> 1.6.40
Anuj Mittal [Mon, 3 Jul 2023 03:30:23 +0000 (11:30 +0800)] 
libpng: upgrade 1.6.39 -> 1.6.40

License-Update: Change in copyright dates

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovte: upgrade 0.72.1 -> 0.72.2
Anuj Mittal [Mon, 3 Jul 2023 03:30:22 +0000 (11:30 +0800)] 
vte: upgrade 0.72.1 -> 0.72.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosqlite3: upgrade 3.41.2 -> 3.42.0
Anuj Mittal [Mon, 3 Jul 2023 06:59:09 +0000 (14:59 +0800)] 
sqlite3: upgrade 3.41.2 -> 3.42.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorpm: backport fix to prevent crashes with latest sqlite
Anuj Mittal [Mon, 3 Jul 2023 06:59:08 +0000 (14:59 +0800)] 
rpm: backport fix to prevent crashes with latest sqlite

SQLite 3.42.0 causes crashes when installing RPM packages at rootfs
creation time. Backport an upstream fix to resolve the issue.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hypothesis: upgrade 6.79.2 -> 6.80.0
Tim Orling [Sun, 2 Jul 2023 10:03:52 +0000 (03:03 -0700)] 
python3-hypothesis: upgrade 6.79.2 -> 6.80.0

Changes:
* This release drops support for Python 3.7, which reached end of life
  on 2023-06-27.
* Fixes occasional recursion-limit-exceeded errors when validating deeply
  nested strategies. Closes: issue #3671
* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-80-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpam: Fix examples build on musl
Khem Raj [Sun, 2 Jul 2023 20:02:49 +0000 (13:02 -0700)] 
libpam: Fix examples build on musl

This came with latest libpam upgrade

../../Linux-PAM-1.5.3/examples/tty_conv.c:9:10: fatal error: 'termio.h' file not found
         ^~~~~~~~~~
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoffmpeg: Fix build on riscv
Khem Raj [Mon, 3 Jul 2023 02:45:44 +0000 (19:45 -0700)] 
ffmpeg: Fix build on riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-typing-extensions: upgrade 4.6.3 -> 4.7.0
Tim Orling [Mon, 3 Jul 2023 08:51:11 +0000 (01:51 -0700)] 
python3-typing-extensions: upgrade 4.6.3 -> 4.7.0

New features and bug fixes.

NOTE: This is expected to be the last feature release supporting Python 3.7,
      which reaches its end of life on June 27, 2023. Version 4.8.0 will
      support only Python 3.8.0 and up.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470-june-28-2023
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470rc1-june-21-2023

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-urllib3: upgrade 2.0.2 -> 2.0.3
Tim Orling [Mon, 3 Jul 2023 08:52:05 +0000 (01:52 -0700)] 
python3-urllib3: upgrade 2.0.2 -> 2.0.3

https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07

* Allowed alternative SSL libraries such as LibreSSL, while still issuing a
  warning as we cannot help users facing issues with implementations other
  than OpenSSL. (#3020)
* Deprecated URLs which don't have an explicit scheme (#2950)
* Fixed response decoding with Zstandard when compressed data is made of
  several frames. (#3008)
* Fixed assert_hostname=False to correctly skip hostname check. (#3051)

License-Update: Removed outdated reference to CONTRIBUTORS.txt

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pytest-subtests: upgrade 0.10.0 -> 0.11.0
Tim Orling [Mon, 3 Jul 2023 08:52:38 +0000 (01:52 -0700)] 
python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0

* inherit python_setuptools_build_meta since setup.py was dropped

https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15

* Logging is displayed for failing subtests (#92)
* Passing subtests no longer turn the pytest output to yellow (as if
  warnings have been issued) (#86). Thanks to Andrew-Brock for providing
  the solution.
* Now the msg contents of a subtest is displayed when running pytest with
  -v (#6).

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-runner: Pull in "runner: Remove threads and mutexes" fix
Richard Purdie [Thu, 29 Jun 2023 16:39:55 +0000 (17:39 +0100)] 
ptest-runner: Pull in "runner: Remove threads and mutexes" fix

This fix simplifies the code to drop the pthread and mutexs which should
address some of the buffering issues we were seeing in some test case
failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME...
Martin Jansa [Mon, 12 Jun 2023 16:22:47 +0000 (18:22 +0200)] 
image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

* ${IMAGE_NAME}${IMAGE_NAME_SUFFIX} is almost always used together already
  and when they aren't it's usually because of hardcoded '.rootfs' suffix

* it's a bit strange, because ${IMAGE_NAME_SUFFIX} is applied after the
  version from ${IMAGE_VERSION_SUFFIX}, if we move it to ${IMAGE_LINK_NAME}
  then it will be applied before the version and ${IMAGE_LINK_NAME}
  will be just the version-less symlink to latest built version.

* it's not added to INITRAMFS_IMAGE_NAME as it assumes that all
  images used as initramfs will set IMAGE_NAME_SUFFIX to empty.
  Many already do as shown bellow, but you might need to extend
  this list in your layer.

* this also allows to drop support for imgsuffix varflag, recipes which
  don't want to have .rootfs suffix can just set IMAGE_NAME_SUFFIX to
  empty and it will be consistently respected by both IMAGE_NAME and IMAGE_LINK_NAME

* imgsuffix = d.getVarFlag("do_" + taskname, 'imgsuffix') or d.expand("${IMAGE_NAME_SUFFIX}.")
  is kind of terrible, notice trailing '.' after ${IMAGE_NAME_SUFFIX}
  while this dot was in imgsuffix in:
  do_bootimg[imgsuffix] = "."

  but in both cases it's not really part of the imgsuffix, but the
  "extension" type separator as in dst variable:

         dst = os.path.join(deploy_dir, link_name + "." + type)
-        src = img_name + imgsuffix + type
+        src = img_name + "." + type

* for ubifs volumes move vname after IMAGE_NAME_SUFFIX

* to better document these changes here is an example with default poky
  configuration with just:
  IMAGE_FSTYPES:append:pn-core-image-minimal = " live wic wic.vmdk ubi"
  MKUBIFS_ARGS = "-m 2048 -e 129024 -c 968 -x zlib"
  UBINIZE_ARGS = "-m 2048 -p 131072 -s 512"
  added in local.conf, so that deploy_dir has also some initramfs and more
  IMAGE_FSTYPES

* "ls -lahi tmp/deploy/images/qemux86-64/"
  output after "bitbake core-image-minimal"

  And deploy-dir is cleaned between runs with:
  bitbake -c clean core-image-minimal core-image-minimal-initramfs virtual/kernel grub-efi systemd-boot

  The output confirms that the only change is ".rootfs" added not only
  in ext4 and manifest files, but also for hddimg, iso, qemuboot.conf
  testdata.json for both the actual artifacts as well as the symlinks
  while core-image-minimal-initramfs doesn't have them as IMAGE_NAME_SUFFIX
  was already set to empty there:
meta/classes-recipe/baremetal-image.bbclass:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-core/images/core-image-minimal-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-core/images/core-image-tiny-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-extended/images/core-image-testcontroller-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""

  before these changes:
total 297M
31269162 drwxr-xr-x 2 martin martin 4.0K Mar  7 19:19 .
31263942 drwxr-xr-x 3 martin martin 4.0K Mar  7 12:53 ..
35845703 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
35845704 -rw-r--r-- 2 martin martin  11M Mar  7 12:27 bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
35845702 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage-qemux86-64.bin -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
40236967 -rw-r--r-- 2 martin martin  13M Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.cpio.gz
40203232 -rw-r--r-- 2 martin martin 1.1K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.manifest
40212700 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.qemuboot.conf
40211556 -rw-r--r-- 2 martin martin 211K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.testdata.json
40236964 lrwxrwxrwx 2 martin martin   62 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.cpio.gz -> core-image-minimal-initramfs-qemux86-64-20230307181808.cpio.gz
40203235 lrwxrwxrwx 2 martin martin   63 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.manifest -> core-image-minimal-initramfs-qemux86-64-20230307181808.manifest
40212690 lrwxrwxrwx 2 martin martin   68 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.qemuboot.conf -> core-image-minimal-initramfs-qemux86-64-20230307181808.qemuboot.conf
40211560 lrwxrwxrwx 2 martin martin   68 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.testdata.json -> core-image-minimal-initramfs-qemux86-64-20230307181808.testdata.json
40237307 -rw-r--r-- 2 martin martin  57M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.hddimg
40237329 -rw-r--r-- 2 martin martin  56M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.iso
40220347 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.qemuboot.conf
40236942 -rw-r--r-- 2 martin martin  34M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ext4
40211563 -rw-r--r-- 2 martin martin 1.2K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.manifest
40237206 -rw-r--r-- 2 martin martin  16M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.tar.bz2
40237216 -rw-r--r-- 2 martin martin  20M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ubi
40224358 -rw-r--r-- 2 martin martin  19M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ubifs
40360386 -rw-r--r-- 2 martin martin  73M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.wic
40237285 -rw-r--r-- 2 martin martin  35M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.wic.vmdk
40209866 -rw-r--r-- 2 martin martin 206K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.testdata.json
40236946 lrwxrwxrwx 2 martin martin   56 Mar  7 19:19 core-image-minimal-qemux86-64.ext4 -> core-image-minimal-qemux86-64-20230307181808.rootfs.ext4
40237336 lrwxrwxrwx 2 martin martin   51 Mar  7 19:19 core-image-minimal-qemux86-64.hddimg -> core-image-minimal-qemux86-64-20230307181808.hddimg
40237337 lrwxrwxrwx 2 martin martin   48 Mar  7 19:19 core-image-minimal-qemux86-64.iso -> core-image-minimal-qemux86-64-20230307181808.iso
40211564 lrwxrwxrwx 2 martin martin   60 Mar  7 19:19 core-image-minimal-qemux86-64.manifest -> core-image-minimal-qemux86-64-20230307181808.rootfs.manifest
40220348 lrwxrwxrwx 2 martin martin   58 Mar  7 19:19 core-image-minimal-qemux86-64.qemuboot.conf -> core-image-minimal-qemux86-64-20230307181808.qemuboot.conf
40237205 lrwxrwxrwx 2 martin martin   59 Mar  7 19:19 core-image-minimal-qemux86-64.tar.bz2 -> core-image-minimal-qemux86-64-20230307181808.rootfs.tar.bz2
40209873 lrwxrwxrwx 2 martin martin   58 Mar  7 19:19 core-image-minimal-qemux86-64.testdata.json -> core-image-minimal-qemux86-64-20230307181808.testdata.json
40237217 lrwxrwxrwx 2 martin martin   55 Mar  7 19:19 core-image-minimal-qemux86-64.ubi -> core-image-minimal-qemux86-64-20230307181808.rootfs.ubi
40236771 lrwxrwxrwx 2 martin martin   57 Mar  7 19:19 core-image-minimal-qemux86-64.ubifs -> core-image-minimal-qemux86-64-20230307181808.rootfs.ubifs
40237287 lrwxrwxrwx 2 martin martin   55 Mar  7 19:19 core-image-minimal-qemux86-64.wic -> core-image-minimal-qemux86-64-20230307181808.rootfs.wic
40237286 lrwxrwxrwx 2 martin martin   60 Mar  7 19:19 core-image-minimal-qemux86-64.wic.vmdk -> core-image-minimal-qemux86-64-20230307181808.rootfs.wic.vmdk
40237192 -rw-r--r-- 2 martin martin 3.8K Mar  7 19:19 core-image-minimal.env
34458377 -rw-r--r-- 2 martin martin 616K Mar  7 17:55 grub-efi-bootx64.efi
34963606 -rwxr-xr-x 2 martin martin 103K Mar  6 22:02 linuxx64.efi.stub
35845662 -rw-r--r-- 2 martin martin 8.2M Mar  7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
35845701 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
34963605 -rwxr-xr-x 2 martin martin 140K Mar  6 22:02 systemd-bootx64.efi
27651415 -rw-r--r-- 2 martin martin  274 Mar  7 19:19 ubinize-core-image-minimal-qemux86-64-20230307181808.cfg

  after these changes:
total 297M
31269162 drwxr-xr-x 2 martin martin 4.0K Mar  7 19:16 .
31263942 drwxr-xr-x 3 martin martin 4.0K Mar  7 12:53 ..
39479266 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39479267 -rw-r--r-- 2 martin martin  11M Mar  7 12:27 bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39479264 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage-qemux86-64.bin -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39648810 -rw-r--r-- 2 martin martin  13M Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.cpio.gz
39638400 -rw-r--r-- 2 martin martin 1.1K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.manifest
39644650 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.qemuboot.conf
39637657 -rw-r--r-- 2 martin martin 211K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.testdata.json
39648091 lrwxrwxrwx 2 martin martin   62 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.cpio.gz -> core-image-minimal-initramfs-qemux86-64-20230307181456.cpio.gz
39638401 lrwxrwxrwx 2 martin martin   63 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.manifest -> core-image-minimal-initramfs-qemux86-64-20230307181456.manifest
39644651 lrwxrwxrwx 2 martin martin   68 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.qemuboot.conf -> core-image-minimal-initramfs-qemux86-64-20230307181456.qemuboot.conf
39637662 lrwxrwxrwx 2 martin martin   68 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.testdata.json -> core-image-minimal-initramfs-qemux86-64-20230307181456.testdata.json
39654281 -rw-r--r-- 2 martin martin  34M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ext4
39656710 -rw-r--r-- 2 martin martin  57M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.hddimg
39657112 -rw-r--r-- 2 martin martin  56M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.iso
39645313 -rw-r--r-- 2 martin martin 1.2K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.manifest
39646013 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.qemuboot.conf
39656336 -rw-r--r-- 2 martin martin  16M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.tar.bz2
39644408 -rw-r--r-- 2 martin martin 206K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.testdata.json
39656583 -rw-r--r-- 2 martin martin  20M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ubi
39654124 -rw-r--r-- 2 martin martin  19M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ubifs
39802371 -rw-r--r-- 2 martin martin  73M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.wic
39657113 -rw-r--r-- 2 martin martin  35M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.wic.vmdk
39654412 lrwxrwxrwx 2 martin martin   56 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ext4 -> core-image-minimal-qemux86-64.rootfs-20230307181456.ext4
39657167 lrwxrwxrwx 2 martin martin   58 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.hddimg -> core-image-minimal-qemux86-64.rootfs-20230307181456.hddimg
39657168 lrwxrwxrwx 2 martin martin   55 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.iso -> core-image-minimal-qemux86-64.rootfs-20230307181456.iso
39645316 lrwxrwxrwx 2 martin martin   60 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.manifest -> core-image-minimal-qemux86-64.rootfs-20230307181456.manifest
39646014 lrwxrwxrwx 2 martin martin   65 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.qemuboot.conf -> core-image-minimal-qemux86-64.rootfs-20230307181456.qemuboot.conf
39656315 lrwxrwxrwx 2 martin martin   59 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.tar.bz2 -> core-image-minimal-qemux86-64.rootfs-20230307181456.tar.bz2
39644406 lrwxrwxrwx 2 martin martin   65 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.testdata.json -> core-image-minimal-qemux86-64.rootfs-20230307181456.testdata.json
39656584 lrwxrwxrwx 2 martin martin   55 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ubi -> core-image-minimal-qemux86-64.rootfs-20230307181456.ubi
39654775 lrwxrwxrwx 2 martin martin   57 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ubifs -> core-image-minimal-qemux86-64.rootfs-20230307181456.ubifs
39657126 lrwxrwxrwx 2 martin martin   55 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.wic -> core-image-minimal-qemux86-64.rootfs-20230307181456.wic
39657088 lrwxrwxrwx 2 martin martin   60 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.wic.vmdk -> core-image-minimal-qemux86-64.rootfs-20230307181456.wic.vmdk
39654418 -rw-r--r-- 2 martin martin 3.8K Mar  7 19:15 core-image-minimal.env
39475732 -rw-r--r-- 2 martin martin 616K Mar  7 17:55 grub-efi-bootx64.efi
31507074 -rwxr-xr-x 2 martin martin 103K Mar  6 22:02 linuxx64.efi.stub
39479261 -rw-r--r-- 2 martin martin 8.2M Mar  7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
39479263 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
31507058 -rwxr-xr-x 2 martin martin 140K Mar  6 22:02 systemd-bootx64.efi
27651415 -rw-r--r-- 2 martin martin  274 Mar  7 19:15 ubinize-core-image-minimal-qemux86-64.rootfs-20230307181456.cfg

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix
Martin Jansa [Thu, 25 May 2023 10:22:18 +0000 (12:22 +0200)] 
kernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix

* we were installing them with -${KERNEL_DTB_NAME} suffix
  and then adding a symlink without this suffix if
  KERNEL_IMAGETYPE_SYMLINK is set:
  if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
    ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name.$dtb_ext
  fi

  and another one when KERNEL_DTB_LINK_NAME is set:
  if [ -n "${KERNEL_DTB_LINK_NAME}" ] ; then
    ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext
  fi

  but KERNEL_DEVICETREE variable doesn't include this
  -${KERNEL_DTB_NAME} suffix, so everything which uses KERNEL_DEVICETREE
  either needs to add it as well or depend on KERNEL_IMAGETYPE_SYMLINK
  being set, e.g. IMAGE_BOOT_FILES variable used by do_image_wic is
  generated by make_dtb_boot_files function here:
  https://github.com/agherzan/meta-raspberrypi/blob/2ad4dd667affb72bdbbc2d6b5f7b50589f506b31/conf/machine/include/rpi-base.inc#L118
  and do_image_wic fails without KERNEL_IMAGETYPE_SYMLINK:
  | WARNING: bootloader config not specified, using defaults
  |
  | ERROR: _exec_cmd: install -m 0644 -D deploy/images/raspberrypi4-64/bcm2711-rpi-4-b.dtb image/1.0-r1/tmp-wic/boot.1/bcm2711-rpi-4-b.dtb returned '1' instead of 0
  | output: install: cannot stat 'deploy/images/raspberrypi4-64/bcm2711-rpi-4-b.dtb': No such file or directory

  we can fix the function to append -${KERNEL_DTB_NAME} or we can
  change this to install without suffix and then add ${KERNEL_DTB_NAME}
  link only when KERNEL_DTB_NAME is set (${MACHINE} by default)

* now it looks strange to have both KERNEL_DTB_LINK_NAME and KERNEL_DTB_NAME
  symlinks, but keep it for backwards compatibility and it will make
  more sense again together with the rest of [YOCTO #12937] where version
  specific *_LINK_NAME links are created as hardlinks in separate do_deploy_links
  task.

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoselftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME
Martin Jansa [Mon, 13 Mar 2023 12:15:33 +0000 (13:15 +0100)] 
selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME

* this still assumes that IMAGE_LINK_NAME will contain IMAGE_BASENAME
  which will be BPN 'multiconfig-image-packager' and that replacing
  it with 'core-image-minimal' will match with the actual IMAGE_LINK_NAME
  from core-image-minimal recipe - there is no good way to query
  core-image-minimal's context, but this is still closer than assuming:
  core-image-minimal-${MCMACHINE}.${MCIMGTYPE}
  which works only with the current default:
  IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}"

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasse-recipes: npm: Add support for dependencies and devDependencies
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:52 +0000 (00:27 +0200)] 
classe-recipes: npm: Add support for dependencies and devDependencies

Adapt the npm classe for the shrinkwrap of Nodejs 18, and seperate
dependencies and dev dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoclasses: npm: Add support for the new format of the shrinkwrap file
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:51 +0000 (00:27 +0200)] 
classes: npm: Add support for the new format of the shrinkwrap file

1 - Adapt do_configure to the new format of the shrinkwrap

2 - Remove useless function _npmsw_dependency_dict because the dictionnary
    is already given by npmsw:foreach_dependencies

3 - Rename arguments of callback functions

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Add support to handle peer dependencies
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:50 +0000 (00:27 +0200)] 
recipetool: create: npm: Add support to handle peer dependencies

NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Add support for the new format of the shrinkwrap file
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:49 +0000 (00:27 +0200)] 
recipetool: create: npm: Add support for the new format of the shrinkwrap file

The shrinkwrap file changed its format, but npm does not version this file. So we can use it properly.
The actual changes make the script check if the npm package has dependencies in the actual shrinkwrap format.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoclasses: npm: Handle peer dependencies for npm packages
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:48 +0000 (00:27 +0200)] 
classes: npm: Handle peer dependencies for npm packages

NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Remove duplicate function to not have future conflicts
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:47 +0000 (00:27 +0200)] 
recipetool: create: npm: Remove duplicate function to not have future conflicts

Npm packages do not have yocto friendly names. fore instance we can have names like
"@example/npmPackage"

npm fetcher has a function that convert these names to yocto friendly names.
But in recipe tool we have an other function (duplicate).

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629
Ross Burton [Fri, 23 Jun 2023 12:32:48 +0000 (13:32 +0100)] 
ghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629

This CVE now has a version range, indicating that this Ghostscript
release isn't vulnerable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotestimage/oeqa: Drop testimage_dump_host functionality
Thomas Roos [Wed, 17 May 2023 14:36:13 +0000 (16:36 +0200)] 
testimage/oeqa: Drop testimage_dump_host functionality

The intent behind these functions was to dump the system state when issues occured
but it has never really worked as we'd planned. Regular monitoring as the build
runs has largely replaced this as that allows a trend to be seen rather than a spot
value which was never really useful. The code is bitrotting and not functioning
correctly so drop it.

[YOCTO #13872]

RP: Reword commit message
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: make autoload and probeconf distribution specific
Jose Quaresma [Tue, 27 Jun 2023 10:16:43 +0000 (10:16 +0000)] 
kernel-module-split: make autoload and probeconf distribution specific

The modules-load.d [1] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [2] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[2] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

CC: Ola x Nilsson <Ola.x.Nilsson@axis.com>
CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: use context manager to open files
Jose Quaresma [Tue, 27 Jun 2023 10:16:42 +0000 (10:16 +0000)] 
kernel-module-split: use context manager to open files

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: install config modules directories only when they are needed
Jose Quaresma [Tue, 27 Jun 2023 10:16:41 +0000 (10:16 +0000)] 
kernel-module-split: install config modules directories only when they are needed

Instaed of allways create the directories and removing it at the if they are
not used, we can just do it when there are modules configuration to be created.
So the best thing to do is install the directories only when necessary.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel: config modules directories are handled by kernel-module-split
Jose Quaresma [Tue, 27 Jun 2023 10:16:40 +0000 (10:16 +0000)] 
kernel: config modules directories are handled by kernel-module-split

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostrace: Update patches/tests with upstream fixes
Richard Purdie [Tue, 27 Jun 2023 09:10:26 +0000 (10:10 +0100)] 
strace: Update patches/tests with upstream fixes

Replace the sockopt disable patch with a fix from upstream. Also add a
patch to handle accept/accept4 differences when using glibc optimisations
for platforms where socketcall is used instead of an accept syscall such
as 32 bit x86.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorecipetool: Fix inherit in created -native* recipes
Yoann Congal [Wed, 28 Jun 2023 07:10:37 +0000 (09:10 +0200)] 
recipetool: Fix inherit in created -native* recipes

native and nativesdk classes are special and must be inherited last :
put them at the end of the gathered classes to inherit.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoifupdown: install missing directories
Yi Zhao [Wed, 28 Jun 2023 13:41:25 +0000 (21:41 +0800)] 
ifupdown: install missing directories

There are four directories in which scripts can be placed which will
always be run for any interface during certain phases of ifup and ifdown
commands:
/etc/network/if-pre-up.d/
/etc/network/if-up.d/
/etc/network/if-down.d/
/etc/network/if-post-down.d/

Even if there are no scripts in these directories, ifup and ifdown
commands will also search these directories by using run-parts command.

Install these directories to fix the following runtime errors:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
$ ifdown lo
ifdown: interface lo not configured
$ ifup lo
run-parts: failed to open directory /etc/network/if-up.d: No such file or directory
ifup: failed to bring up lo

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64.inc: annotate and clean up recipe-specific Y2038 exceptions
Alexander Kanavin [Wed, 28 Jun 2023 15:00:43 +0000 (17:00 +0200)] 
time64.inc: annotate and clean up recipe-specific Y2038 exceptions

Additionally:
- drop pseudo from INSANE_SKIP for 32bit time API check
(pseudo passes the check; it's not clear where the issue may have been)

- move rust exceptions to the cargo class, as the problem
is common across the ecosystem, and needs to be fixed in the
libc crate.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: update a patch to upstream's better followup fix
Alexander Kanavin [Wed, 28 Jun 2023 15:00:42 +0000 (17:00 +0200)] 
python3-cryptography: update a patch to upstream's better followup fix

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: update 2.38.5 -> 2.40.2
Alexander Kanavin [Wed, 28 Jun 2023 15:00:41 +0000 (17:00 +0200)] 
webkitgtk: update 2.38.5 -> 2.40.2

Drop backports.

Add extra options that require additional dependencies, and fail without them.

Disable the recipe on ancient x86 without SSE support; SSE is now
required.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-base: enable glx/opengl support
Alexander Kanavin [Wed, 28 Jun 2023 15:00:40 +0000 (17:00 +0200)] 
gstreamer1.0-plugins-base: enable glx/opengl support

This is required by latest webkit when built with x11 support.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflac: Upgrade 1.4.2 -> 1.4.3
Siddharth Doshi [Wed, 28 Jun 2023 13:15:25 +0000 (18:45 +0530)] 
flac: Upgrade 1.4.2 -> 1.4.3

License-Update: URL fix

Remove PowerPC related options no longer supported upstream.

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: drop uid parameter for ifdown
Adrian Freihofer [Mon, 26 Jun 2023 13:29:27 +0000 (15:29 +0200)] 
runqemu: drop uid parameter for ifdown

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu-ifdown: catch up with ifup
Adrian Freihofer [Mon, 26 Jun 2023 13:29:26 +0000 (15:29 +0200)] 
runqemu-ifdown: catch up with ifup

- Drop the native-sysroot-basedir parameter
  still allow it to keep backward compatibility
  write a warning to stderr
- Add a space after ! in the if as suggested by shellcheck
- Support the new OE_TAP_NAME variable as well

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: Fix automated call to runqemu-ifup
Alejandro Hernandez Samaniego [Mon, 26 Jun 2023 13:29:25 +0000 (15:29 +0200)] 
runqemu: Fix automated call to runqemu-ifup

When runqemu tries to call runqemu-ifup to create tap devices, it checks the
output of runqemu-ifup to get the newly created tap device.

The behavior of runqemu-ifup was recently modified along with its output, it
no longer expects the uid parameter to be passed and it prints out a warning
if it was, since this warning was now part of the output runqemu tries to parse
it and convert it to an int() which proved impossible.

Pass the correct arguments to the runqemu-ifup call and echo the warning
to stderr instead to make sure its not being parsed and used by runqemu in any
case.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: Stop using warn() since its been deprecated
Alejandro Hernandez Samaniego [Mon, 26 Jun 2023 13:29:24 +0000 (15:29 +0200)] 
runqemu: Stop using warn() since its been deprecated

logger.warn() has been deprecated, logger.warning() should be used instead.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxcrypt: fix hard-coded ".so" extension
Etienne Cordonnier [Fri, 26 May 2023 11:51:55 +0000 (13:51 +0200)] 
libxcrypt: fix hard-coded ".so" extension

2 issues:
- the .so extension is hard-coded, and therefore the libxcryt package compiled with
  meta-darwin is empty, because the dylib files are not contained in FILES_${PN}
- nothing actually produces a file libcrypt-*.so (the symlink file is libcrypt.so, without dash), thus
  defining FILES:${PN} manually to contain libcrypt-*.so has no effect.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: Upgrade 9.18.15 -> 9.18.16
Siddharth Doshi [Tue, 27 Jun 2023 06:32:00 +0000 (12:02 +0530)] 
bind: Upgrade 9.18.15 -> 9.18.16

- Remove configure options no longer supported online.

Changelog:
=========
[security] A query that prioritizes stale data over lookup
triggers a fetch to refresh the stale data in cache.
If the fetch is aborted for exceeding the recursion
quota, it was possible for 'named' to enter an infinite
callback loop and crash due to stack overflow. This has
been fixed. (CVE-2023-2911) [GL #4089]

[security] Improve the overmem cleaning process to prevent the
cache going over the configured limit. (CVE-2023-2828)
[GL #4055]

[performance] Reduce memory consumption by allocating properly
sized send buffers for stream-based transports.
[GL #4038]

[bug] Fix a 'clients-per-query' miscalculation bug. When the
'stale-answer-enable' options was enabled and the
'stale-answer-client-timeout' option was enabled and
larger than 0, named was taking two places from the
'clients-per-query' limit for each client and was
failing to gradually auto-tune its value, as configured.
[GL #4074]

[func] Add "ClientQuota" statistics channel counter, which
indicates the number of the resolver's spilled queries
due to reaching the clients per query quota. [GL !7978]

[bug] Fix a serve-stale bug where a delegation from cache
could be returned to the client. [GL #3950]

[cleanup] Remove configure checks for epoll, kqueue and
/dev/poll. [GL #4098]

[func] The "tkey-dhkey" option has been deprecated; a
warning will be logged when it is used. In a future
release, Diffie-Hellman TKEY mode will be removed.
[GL #3905]

[bug] The session key object could be incorrectly added
to multiple different views' keyrings. [GL #4079]

[bug] Fix an interfacemgr use-after-free error in
zoneconf.c:isself(). [GL #3765]

[test] Add support for using pytest & pytest-xdist to
execute the system test suite. [GL #3978]

[bug] BIND could get stuck on reconfiguration when a
'listen' statement for HTTP is removed from the
configuration. That has been fixed. [GL #4071]

[bug] Properly process extra "nameserver" lines in
resolv.conf otherwise the next line is not properly
processed. [GL #4066]

[bug] named could crash when deleting inline-signing zones
with "rndc delzone". [GL #4054]

[bug] Fix a logic error in dighost.c which could call the
dighost_shutdown() callback twice and cause problems
if the callback function was not idempotent. [GL #4039]

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwayland: upgrade 23.1.1 -> 23.1.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:30 +0000 (15:17 +0800)] 
xwayland: upgrade 23.1.1 -> 23.1.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxkeyboard-config: upgrade 2.38 -> 2.39
Wang Mingyu [Tue, 27 Jun 2023 07:17:29 +0000 (15:17 +0800)] 
xkeyboard-config: upgrade 2.38 -> 2.39

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:27 +0000 (15:17 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32
Wang Mingyu [Tue, 27 Jun 2023 07:17:26 +0000 (15:17 +0800)] 
python3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32

Changelog:
- fix issue with scanner getting stuck in infinite loop

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pytest: upgrade 7.3.1 -> 7.4.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:25 +0000 (15:17 +0800)] 
python3-pytest: upgrade 7.3.1 -> 7.4.0

Changelog:
https://docs.pytest.org/en/stable/changelog.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pyparsing: upgrade 3.0.9 -> 3.1.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:24 +0000 (15:17 +0800)] 
python3-pyparsing: upgrade 3.0.9 -> 3.1.0

Changelog:
==========
- Added 'tag_emitter.py' to examples. This example demonstrates how to insert
  tags into your parsed results that are not part of the original parsed text.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pycairo: upgrade 1.23.0 -> 1.24.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:23 +0000 (15:17 +0800)] 
python3-pycairo: upgrade 1.23.0 -> 1.24.0

Changelog:
==========
* Dropped Python 3.7 support
* Bumped meson version requirement from 0.53.0 to 0.56.0
* Various cairo dependency updates for the Windows wheel build
* examples: update to GTK4 :pr:'307'
* examples: add a clip_image example :pr:'316'
* docs: fix the build with Sphinx 6 :pr:'318'
* Various code cleanups :pr:'306'
* Added Python 3.12 Windows wheels

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pluggy: upgrade 1.0.0 -> 1.2.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:22 +0000 (15:17 +0800)] 
python3-pluggy: upgrade 1.0.0 -> 1.2.0

Changelog:
==========
#405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator.
#364: Python 3.6 is no longer supported.
#260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers.
#364: Python 3.11 and 3.12 are now officially supported.
#394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-markupsafe: upgrade 2.1.2 -> 2.1.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:21 +0000 (15:17 +0800)] 
python3-markupsafe: upgrade 2.1.2 -> 2.1.3

Changelog:
=========
 Implement format_map, casefold, removeprefix, and removesuffix methods. #370
 Fix static typing for basic str methods on Markup. #358
 Use Self for annotating return types. #379

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-iso8601: upgrade 1.1.0 -> 2.0.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:20 +0000 (15:17 +0800)] 
python3-iso8601: upgrade 1.1.0 -> 2.0.0

added
------
    Add just for development commands
    Add Python 3.12 support

changed
---------
    Move changelog into CHANGELOG.md
    Freshen up README

fixed
------
    Fix test_fixedoffset_eq by adding an actual assertion

removed
--------
    Drop Python 3.6 support (3.6 is end of life)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-importlib-metadata: upgrade 6.6.0 -> 6.7.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:19 +0000 (15:17 +0800)] 
python3-importlib-metadata: upgrade 6.6.0 -> 6.7.0

Changelog:
#453: When inferring top-level names that are importable for distributions in package_distributions, now symlinks to other directories are honored.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>