summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/ppc: add elfutils-native to DEPENDSBruce Ashfield2023-07-121-1/+1
| | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 358bab3da997937f3b0f59d65e19a4aea8a1ef98) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny/arm: fix configuration warnings (HID)Bruce Ashfield2023-07-123-3/+3
| | | | | | | | | | | Integrating the following commit(s) to linux-yocto/.: fa08cd6bd6f tiny: enable HID in tiny BSPs (From OE-Core rev: acf06906941c67ea8e07382aaf8d15299cfd2d54) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny/6.4: fix configuration warnings (HID)Bruce Ashfield2023-07-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 32e2396402ab954da3df89eab1a900043661d20f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: update to v6.4.2Bruce Ashfield2023-07-123-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 262133f1276951a60d9aac88168175f24f5c839c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/6.4: integrate -rt6Bruce Ashfield2023-07-123-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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() (From OE-Core rev: 9cdf164211ff6258e9a33c26011bac56c2b4913f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: refresh configurationBruce Ashfield2023-07-123-3/+3
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 7b3b8aa750a8e58a2a9698ce313db254b193cbdf) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: aufs6 integrationBruce Ashfield2023-07-123-16/+16
| | | | | | | | | | | | | | 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. (From OE-Core rev: c12444e91b9568ea32db381d576f0f8a2ce41362) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/6.4: update to latestBruce Ashfield2023-07-123-17/+17
| | | | | | | | | | | Integrating the following commit(s) to linux-yocto/6.4: 9ede8913ad6c qemux86: add configuration symbol to select values (From OE-Core rev: 6ee1874c96fac602dfd4f28924a07b67fe1d74fa) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: introduce 6.4 reference kernel recipesBruce Ashfield2023-07-123-0/+152
| | | | | | | | | | | | 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. (From OE-Core rev: dfe90f093345721f7dbf537196ff5494bbbe13fd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: fix localversion in v6.3+Bruce Ashfield2023-07-122-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 765b13b7305c8d2f222cfc66d77c02e6a088c691) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: bump to 6.4Bruce Ashfield2023-07-123-45/+2
| | | | | | | | | | | | | | | 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. (From OE-Core rev: 8dce94b89396a99bb20a0a0ba9db0244d95db7e0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/devtool: add unit test for "devtool add -b"Yoann Congal2023-07-101-0/+32
| | | | | | | | | | Fix [Yocto #15085] Co-authored-by: Fawzi KHABER <fawzi.khaber@smile.fr> (From OE-Core rev: d5eedf8ca689ccb433c2f5d0b324378f966dd627) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm: don't depend on opkg-native for update-alternativesRoss Burton2023-07-101-3/+1
| | | | | | | | | | | | | 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 (From OE-Core rev: 51004376be9a6b9a4c38585d14d2516d90138319) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cml1: add showconfig task to easily find the generated .config fileRoss Burton2023-07-101-0/+6
| | | | | | | | | | | | 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. (From OE-Core rev: 7edd3cd80ce6b705cfcf5ab794e809303745b951) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure caseRoss Burton2023-07-101-2/+2
| | | | | | | | | | | | 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. (From OE-Core rev: 017f3a0b1265c1a3b69c20bdb56bbf446111977e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: only write the log lock to root for native dnfChangqing Li2023-07-101-1/+2
| | | | | | | | | | | | | | | | | | | | | 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) (From OE-Core rev: 7610f81586bd475f28fd3d89a7350771720c3264) 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>
* perf: fix buildpaths QA warning in 6.4+Bruce Ashfield2023-07-101-1/+1
| | | | | | | | | | | | | 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. (From OE-Core rev: b9f1d1ec162531e0ce59ea829ae570ca907b3448) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-systemctl: fix errors in instance name expansionYuta Hayama2023-07-101-1/+1
| | | | | | | | | | | | 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>". (From OE-Core rev: d18b939fb08b37380ce95934da38e6522392621c) Signed-off-by: Yuta Hayama <hayama@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson.bbclass: Point to llvm-config from native sysrootKhem Raj2023-07-101-0/+1
| | | | | | | | | | | | | 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 (From OE-Core rev: cc73360b9728812ed6123e30559b77d8e89cc21c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-nvd2-native: fix cvssV3 metricsPeter Marko2023-07-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ... (From OE-Core rev: 61a5857efdcc0f49c69c0deb24fce99007aeef19) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build with upcoming LLVM 17Khem Raj2023-07-102-0/+35
| | | | | | | (From OE-Core rev: c030397f08abfeea95be03e57781f58eb3c039f1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonpointer: upgrade to 2.4Ross Burton2023-07-102-65/+1
| | | | | | | | | Drop the merged patch. (From OE-Core rev: d4581006a2a05c289280bece02b9a44e409299b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.14.0 -> 2.15.1Tim Orling2023-07-102-3/+3
| | | | | | | | | | | | | | | | * 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 (From OE-Core rev: 22e2569ae4843071b2b48d026ca4742351baf6d1) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add cgitb, zipapp ptest dependenciesTrevor Gamblin2023-07-101-5/+5
| | | | | | | | | | | | Without these, test_cgitb and test_zipapp both fail when running the python3 ptests. Also reorder the ${PN}-misc list to be alphabetical. (From OE-Core rev: 379c5fac766472da7c32937acc6fdf8363bdd935) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix missing comma in get_module_deps3.pyRoss Burton2023-07-101-1/+1
| | | | | | | | | | | | | 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. (From OE-Core rev: 9b2e2c8d809e7ca34451ec9702b029a00dfb410b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/cve-exclusion: ignore more backported CVEsRoss Burton2023-07-101-0/+44
| | | | | | | (From OE-Core rev: 278503d1d335707f85ad79aea3a7a3af0c80a843) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/cve-exclusion: move entries from cve-extra-exclusionsRoss Burton2023-07-102-556/+557
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 157f7b62e271df5dfd8a3bc4d3821bf806fde51e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: upgrade to 4.5.1Ross Burton2023-07-104-178/+2
| | | | | | | | | | Also remove old CVE_CHECK_IGNOREs which are no longer needed due to CPE updates. (From OE-Core rev: 2200fde7011c4206382150c2602b2eb17423d45e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: upgrade to 2.4.6Ross Burton2023-07-103-38/+1
| | | | | | | | | This resolves CVE-2023-34241. (From OE-Core rev: 829c742b5461c4599d304541e0da0915dc44146c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Update Upstream-StatusFabio Estevam2023-07-101-1/+1
| | | | | | | | | | | | The patch to fix the mkimage path length error has landed in U-Boot upstream. Update the Upstream-Status accordingly. (From OE-Core rev: 9e4e728a03f69d0f42d22820926e056f2db09c21) Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: re-add mdadm-ptest to PTESTS_SLOWOvidiu Panait2023-07-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: dfefff63c547adb1add0c8e3a308b2d0bd6cfc8c) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: skip running known broken ptestsOvidiu Panait2023-07-104-1/+585
| | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 62148b978b26b5fcd1a2fa3a0ff82ef814f4e7ec) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix segfaults when running ptestsOvidiu Panait2023-07-105-0/+341
| | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 9585009e3e505b361cd32b14e0e85e77e7822878) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix 07revert-inplace ptestOvidiu Panait2023-07-101-1/+1
| | | | | | | | | | | | | | | 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. (From OE-Core rev: 7d9386663ac52ab69812867a0823c6055aedbc18) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix util-linux ptest dependencyOvidiu Panait2023-07-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 3004f7589974c135cc82630d980ea281b97ecd83) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMICMingli Yu2023-07-101-0/+2
| | | | | | | | | | | | | | | | | 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) (From OE-Core rev: 3514a3bc6c86c56ee3b23edccbfa566d7a3e4ac5) 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>
* uboot-extlinux-config.bbclass: fix old override syntax in commentQuentin Schulz2023-07-101-4/+4
| | | | | | | | | | | | | | | 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) (From OE-Core rev: bb64f3fed29b9532e6ddc9a2ba0283d373622d87) 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>
* alsa-lib: Disable old API symbolsKhem Raj2023-07-101-1/+1
| | | | | | | | | | | | | | These symbols are currently generated as undefined in the shared object, which means we really do not need them. (From OE-Core rev: a704ba641078d4b31da9d9af13e10c576f4a0b48) (From OE-Core rev: 291656940034f97c2276b7e1acdd1cc30b378cdf) 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>
* kernel-module-split add systemd modulesloaddir and modprobedir configJose Quaresma2023-07-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 075c309bd28bc8e19a82569a2e75da14fa5795dd) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjpeg-turbo: upgrade to 3.0.0Ross Burton2023-07-102-41/+5
| | | | | | | | | | | | | 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. (From OE-Core rev: d0cc8bb5047fe843532bcba37ca48d94c9749daf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pkgconf: update SRC_URIRoss Burton2023-07-101-1/+1
| | | | | | | | | | | | 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 (From OE-Core rev: c3df4594513410c7a6352e62aa928c42982eac13) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Guard fallocate64 with _LARGEFILE64_SOURCEKhem Raj2023-07-101-1/+1
| | | | | | | | | | | Gets this fix * 718f363b move fallocate64 declaration under _LARGEFILE64_SOURCE feature test (From OE-Core rev: 5ebc2f8e4f21f5af67fb1d2d61f6c5d75f2c44e2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: respect MLPREFIX for PACKAGE_WRITE_DEPSMartin Jansa2023-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | * 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) (From OE-Core rev: c74697e194fe07cb4a2fee45142ae626996fd294) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Enable JIT on RISCV64Khem Raj2023-07-101-1/+1
| | | | | | | | | Its supported in 2.40+ release (From OE-Core rev: a74206f32e84a38ac53a9dddb33f8e97714e5aca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libssh2: disable rpath to fix curl-native buildSudip Mukherjee2023-07-101-0/+1
| | | | | | | | | | | | | 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. (From OE-Core rev: c213d8579951e168a19231cf5b2f81d55e059a22) Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: upgrade 5.66 -> 5.68Anuj Mittal2023-07-103-1/+41
| | | | | | | | | Include a patch submitted upstream to fix cross-compilation issues. (From OE-Core rev: 1067c44ee48b2e72624c42c8e1675307bd73900e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: upgrade 2.76.0 -> 2.76.1Anuj Mittal2023-07-101-1/+1
| | | | | | | (From OE-Core rev: 180bc03993b4d6a43d29e98ac678ee508df43b48) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: upgrade 1.6.39 -> 1.6.40Anuj Mittal2023-07-101-2/+2
| | | | | | | | | License-Update: Change in copyright dates (From OE-Core rev: 91c7eadac2521f10e33b48579ff1510e3ae075c8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte: upgrade 0.72.1 -> 0.72.2Anuj Mittal2023-07-101-1/+1
| | | | | | | (From OE-Core rev: 034ab8fdb2d1df0eabcdf15806200b9ec238c749) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: upgrade 3.41.2 -> 3.42.0Anuj Mittal2023-07-101-1/+1
| | | | | | | (From OE-Core rev: 6613920d4058afacfde7000cad9feba7ee5562b9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>