]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
18 months agolibhandy: upgrade 1.8.2 -> 1.8.3
Wang Mingyu [Wed, 28 Feb 2024 07:32:18 +0000 (15:32 +0800)] 
libhandy: upgrade 1.8.2 -> 1.8.3

Changelog:
==========
- HdyStyleManager
  - Support contrast setting in the settings portal
  - Remove an extra unref
- Translation updates
  - Catalan
  - Georgian
  - Romanian
  - Turkish

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibgpg-error: upgrade 1.47 -> 1.48
Wang Mingyu [Wed, 28 Feb 2024 07:32:17 +0000 (15:32 +0800)] 
libgpg-error: upgrade 1.47 -> 1.48

0001-Do-not-fail-when-testing-config-scripts.patch
refreshed for 1.48

Changelog:
===========
 * New configure option --with-libtool-modification.
 * New option parser flag to detect commands given without a double
   dash.  There is also the new meta command "command-mode" to set
   this flag via a config file.
 * Added an es_fopen mode flag "sequential" with support on Windows.
 * Added an es_fopen mode flag "wipe" to cleanup internal buffers at
   close time.
 * New function gpgrt_wipememory.
 * Improvements to setenv on Windows.
 * Fixed call to estream-printf string filters.
 * Many improvements to the yat2m tool.
 * Updates to the build system.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibffi: upgrade 3.4.5 -> 3.4.6
Wang Mingyu [Wed, 28 Feb 2024 07:32:16 +0000 (15:32 +0800)] 
libffi: upgrade 3.4.5 -> 3.4.6

meta/recipes-support/libffi/libffi/not-win32.patch
refreshed for 3.4.6

Changelog:
===========
-chore: update version to 3.4.6 and fix long double regression on mips64 and alpha
-Update sparc64 host
-Update cfarm hostnames
-Always define long double types
-update copyright year in libffi.texi
-Update version, copyright and testsuite info
-Fix test filename reference

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogit: upgrade 2.43.0 -> 2.44.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:15 +0000 (15:32 +0800)] 
git: upgrade 2.43.0 -> 2.44.0

Changelog:
==========
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.44.0.txt

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogcr: upgrade 4.1.0 -> 4.2.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:14 +0000 (15:32 +0800)] 
gcr: upgrade 4.1.0 -> 4.2.0

Changelog:
==========
- gcr-ssh-agent: add command line options to gcr-ssh-agent [GNOME/gcr!129]
- gcr-ssh-agent: Fix memory leak spotted by ASan [GNOME/gcr!133]
- gcr-ssh-agent: Port memory safety fixes from gnome-keyring ssh-agent [GNOME/gcr!128]
- Updated translations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoefivar: upgrade 38 -> 39
Wang Mingyu [Wed, 28 Feb 2024 07:32:13 +0000 (15:32 +0800)] 
efivar: upgrade 38 -> 39

Changelog:
==========
-Add -T workaround for GNU ld 2.36
-Add extern "C" to headers for easier use by C++
-Avoid format error on i686
-Fix the -march issue for riscv64
-Fix musl build
-Fix invalid free in main()
-Remove deprecated --add-needed linker flag
-src/Makefile: build util.c separately for makeguids
-Adjust dependency for libefivar and libefiboot objects
-Set LC_ALL=C to force English output from ld
-LLD: fix detection and remove not needed workarounds
-Fix glibc 2.36 build (mount.h conflicts)
-File device paths: don't print "File(" or ")"
-Use off_t instead of off64_t
-Revamp efi_well_known_* variable handling
-Allow overriding PKG_CONFIG
-Allow passing of hex values to -A
-Allow -a to create a non-existent variable
-make: add option to disable building/installing the docs
-esl-iter.h: fix type declaration of return value for gcc-13
-Minor code updates
-src/Makefile: do not override LIBS and CFLAGS for prerequisites
-linux: handle non-ACPI systems in device_get()
-Change set&append data to be const.
-dp.h: check _ucs2size in format_ucs2()
-Fix wrong if condition in efi_variable_get_data
-Make README statement match license
-Remove needless access() in efivarfs_probe()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoed: upgrade 1.20 -> 1.20.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:12 +0000 (15:32 +0800)] 
ed: upgrade 1.20 -> 1.20.1

Changelog:
  io.c (write_file): Don't create missing intermediate directories.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocreaterepo-c: upgrade 1.0.3 -> 1.0.4
Wang Mingyu [Wed, 28 Feb 2024 07:32:10 +0000 (15:32 +0800)] 
createrepo-c: upgrade 1.0.3 -> 1.0.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoccache: upgrade 4.9 -> 4.9.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:09 +0000 (15:32 +0800)] 
ccache: upgrade 4.9 -> 4.9.1

License-Update: Copyright year updated to 2024.

Changelog:
==========
- Improved detection of bad remote storage URLs gracefully. This also fixes
  crashes seen in ccache's own test suite. +
- Made caching completely disabled when modification of a source or include file
  is detected during ccache invocation. Previously this was only done for the
  direct mode. +
- Fixed a MSVC crash when using '/Zi' with many concurrent compilations. +
- Fixed a crash when '-arch' is the last compiler option. +

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobash-completion: upgrade 2.11 -> 2.12.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:08 +0000 (15:32 +0800)] 
bash-completion: upgrade 2.11 -> 2.12.0

License-Update:
 docs(COPYING): use unmodified upstream license file

Changelog:
 https://github.com/scop/bash-completion/releases/tag/2.12.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomirrors: Switch llvm to use shallow cloning
Richard Purdie [Wed, 28 Feb 2024 12:48:26 +0000 (12:48 +0000)] 
mirrors: Switch llvm to use shallow cloning

The llvm github repo appears to see a lot of churn on branches we're not
interested in and is in general huge and unreliable to clone.

Switch to shallow clones to improve the user experience.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogstreamer1.0: skip a test that is known to be flaky
Ross Burton [Wed, 28 Feb 2024 13:31:04 +0000 (13:31 +0000)] 
gstreamer1.0: skip a test that is known to be flaky

The aggregator testcase test_infinite_seek_50_src_live is known upstream
to be flaky[1] and when this fails in their CI they just ignore it.

It's failing often on our autobuilder, so disable the test case for now
until upstream have resolved this issue.

[ YOCTO #15054 ]

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/lib/utils/postactions: fix host disk usage stats retrieval
Alexis Lothoré [Wed, 28 Feb 2024 16:41:35 +0000 (17:41 +0100)] 
oeqa/lib/utils/postactions: fix host disk usage stats retrieval

The recently introduced postactions module  can raise, on failing ptests,
the following warning:

WARNING: core-image-ptest-glib-2.0-1.0-r0 do_testimage: Can not get host
disk usage: [Errno 2] No such file or directory: '/usr/bin/df'

The issue is likely not happening because of df absence (to be confirmed
amongst the variety of workers) but because of the wrong path. Fix it by
letting subprocess search for df, passing only the binary name. To make it
work, we also have to reset the environment, otherwise the environment
configured before running bitbake will be used, and search will fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-cryptography{-vectors}: upgrade to 42.0.5
Tim Orling [Wed, 28 Feb 2024 16:25:31 +0000 (08:25 -0800)] 
python3-cryptography{-vectors}: upgrade to 42.0.5

* Includes an upgrade to pyo3 from 0.20.0 to 0.20.3 which fixes ppc64
* Refresh -crates.inc

https://cryptography.io/en/latest/changelog/#v42-0-5
https://cryptography.io/en/latest/changelog/#v42-0-4
https://cryptography.io/en/latest/changelog/#v42-0-3

42.0.5 - 2024-02-23
* Limit the number of name constraint checks that will be performed in
  X.509 path validation to protect against denial of service attacks.
* Upgrade pyo3 version, which fixes building on PowerPC.

42.0.4 - 2024-02-20
* Fixed a null-pointer-dereference and segfault that could occur when
  creating a PKCS#12 bundle. Credit to Alexander-Programming for
  reporting the issue. CVE-2024-26130
* Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields
  SMIMECapabilities and SignatureAlgorithmIdentifier should now be
  correctly encoded according to the definitions in RFC 2633 RFC 3370.

42.0.3 - 2024-02-15
* Fixed an initialization issue that caused key loading failures for
  some users.

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

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibc-locale: fix ASCII compatible warning cause build failure.
Xiangyu Chen [Mon, 26 Feb 2024 09:59:21 +0000 (17:59 +0800)] 
libc-locale: fix ASCII compatible warning cause build failure.

Some locales are not listed in glibc locales support list, but can be generated,
here using ja_JP.SHIFT_JIS as an example. We can add following line into local.conf
to enable and generate it:

GLIBC_GENERATE_LOCALES += "en_GB.UTF-8 en_US.UTF-8 ja_JP.UTF-8 ja_JP.SHIFT_JIS"
IMAGE_LINGUAS += "ja-jp en-us ja-jp.shift-jis"

The localedef tool would report a warning and exit with 1, that cause build failure,
error message as below:

[warning] character map `SHIFT_JIS' is not ASCII compatible, locale not ISO C compliant [--no-warnings=ascii]

So add a --no-warnings=ascii in libc-package.bbclass to fix build failure if someone needs those locale
in yocto.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorpm: Fix the following error when run nativesdk-rpm in nativesdk environment.
Lei Maohui [Wed, 28 Feb 2024 07:41:41 +0000 (15:41 +0800)] 
rpm: Fix the following error when run nativesdk-rpm in nativesdk environment.

  package busybox-inittab-1.36.1-r0.ubinux_x86_64 is intended for a different architecture
  package busybox-udhcpc-1.36.1-r0.core2_64 is intended for a different architecture
  package ldconfig-2.39+git0+312e159626-r0.core2_64 is intended for a different architecture
  ......

CMAKE_INSTALL_SYSCONFDIR is necessary. If not set
CMAKE_INSTALL_SYSCONFDIR, nativesdk-rpm will use the default setting:
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-ubinuxsdk-linux/etc to find rpmrc file.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3: dont disable readline module for editline
Nick Owens [Tue, 27 Feb 2024 21:56:32 +0000 (13:56 -0800)] 
python3: dont disable readline module for editline

if we use editline, then the readline module must also be enabled for
python to build the readline module and link it against libedit.

Signed-off-by: Nick Owens <nick.owens@eero.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-maturin: Recognise riscv32 architecture
Khem Raj [Tue, 27 Feb 2024 19:52:02 +0000 (11:52 -0800)] 
python3-maturin: Recognise riscv32 architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-bcrypt: Fix build break on arches without 64 bit atomics
Khem Raj [Tue, 27 Feb 2024 17:51:37 +0000 (09:51 -0800)] 
python3-bcrypt: Fix build break on arches without 64 bit atomics

bump pyo3 to 0.20.3, which brings the needed fixes for building for
architectures without 64bit atomics [1]

[1] https://github.com/pyca/bcrypt/pull/746

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-git: upgrade 3.1.41 -> 3.1.42
Trevor Gamblin [Tue, 27 Feb 2024 18:44:40 +0000 (13:44 -0500)] 
python3-git: upgrade 3.1.41 -> 3.1.42

This release contains bugfixes, documentation updates, and changes to
metadata for build and CI.

Changelog: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agowpa-supplicant: Fix CVE-2023-52160
Claus Stovgaard [Tue, 27 Feb 2024 17:45:50 +0000 (18:45 +0100)] 
wpa-supplicant: Fix CVE-2023-52160

PEAP client: Update Phase 2 authentication requirements. Also see
https://www.top10vpn.com/research/wifi-vulnerabilities/

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibexif: remove unused version_underscore
Ross Burton [Tue, 27 Feb 2024 15:51:44 +0000 (15:51 +0000)] 
libexif: remove unused version_underscore

This function hasn't been used since the upgrade to 0.6.23 in 2021[1]

[1] oe-core 65a54f72e15f59bdf9d8c4618f3ef8510541d134

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: update CVE exclusions
Bruce Ashfield [Mon, 26 Feb 2024 22:34:53 +0000 (17:34 -0500)] 
linux-yocto/6.6: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: update to v6.6.18
Bruce Ashfield [Mon, 26 Feb 2024 22:34:52 +0000 (17:34 -0500)] 
linux-yocto/6.6: update to v6.6.18

Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    d8a27ea2c986 Linux 6.6.18
    9e083726d5e3 tracing: Fix a NULL vs IS_ERR() bug in event_subsystem_dir()
    9389eaaca7b9 tracing: Make system_callback() function static
    cec85aa54b12 Documentation/arch/ia64/features.rst: fix kernel-feat directive
    ccce12ecf2a7 x86/barrier: Do not serialize MSR accesses on AMD
    438d19492b7f dm: limit the number of targets and parameter size area
    2c3bdba00283 nilfs2: fix potential bug in end_buffer_async_write
    c20fc13082d1 of: property: Add in-ports/out-ports support to of_graph_get_port_parent()
    b6a2a9cbb675 sched/membarrier: reduce the ability to hammer on sys_membarrier
    0a962f2fbaa9 x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section
    686b58ce5052 x86/boot: Increase section and file alignment to 4k/512
    f7eedad78068 x86/boot: Split off PE/COFF .data section
    476316bb48c1 x86/boot: Drop PE/COFF .reloc section
    0db81e8e20f6 x86/boot: Construct PE/COFF .text section from assembler
    0cf3d613a141 x86/boot: Derive file size from _edata symbol
    c731fbcfdbb6 x86/boot: Define setup size in linker script
    431b39e62594 x86/boot: Set EFI handover offset directly in header asm
    8e102324e743 x86/boot: Grab kernel_info offset from zoffset header directly
    a38801ba1875 x86/boot: Drop references to startup_64
    08796fc9bfe2 x86/boot: Drop redundant code setting the root device
    4bac079dba04 x86/boot: Omit compression buffer from PE/COFF image memory footprint
    d9b6b6e8d871 x86/boot: Remove the 'bugger off' message
    e17a8bf1fb5d x86/efi: Drop alignment flags from PE section headers
    8117961d98fb x86/efi: Disregard setup header of loaded image
    fa244085025f x86/efi: Drop EFI stub .bss from .data section
    940c919be813 nfsd: don't take fi_lock in nfsd_break_deleg_cb()
    a49e9c7267d0 eventfs: Keep all directory links at 1
    9bb8131a9ff9 eventfs: Remove fsnotify*() functions from lookup()
    ed823ca4bcf3 eventfs: Restructure eventfs_inode structure to be more condensed
    5c3ea7dfef17 eventfs: Warn if an eventfs_inode is freed without is_freed being set
    5dfb04100326 eventfs: Get rid of dentry pointers without refcounts
    c46192051c20 eventfs: Clean up dentry ops and add revalidate function
    ca2d3b2c260d eventfs: Remove unused d_parent pointer field
    21faa3de640d tracefs: dentry lookup crapectomy
    4928d0e32228 tracefs: Avoid using the ei->dentry pointer unnecessarily
    d1bcde94223e eventfs: Initialize the tracefs inode properly
    f0686a194549 tracefs: Zero out the tracefs_inode when allocating it
    35e219f7cd36 tracefs: remove stale update_gid code
    9a187657d681 eventfs: Save directory inodes in the eventfs_inode structure
    1f20155a724c eventfs: Use kcalloc() instead of kzalloc()
    c55d11ea8e07 eventfs: Do not create dentries nor inodes in iterate_shared
    4e8731d20fba eventfs: Have the inodes all for files and directories all be the same
    e638899f9963 eventfs: Shortcut eventfs_iterate() by skipping entries already read
    f3f41f444b32 eventfs: Read ei->entries before ei->children in eventfs_iterate()
    82820a2d76cc eventfs: Do ctx->pos update for all iterations in eventfs_iterate()
    98102764cca9 eventfs: Have eventfs_iterate() stop immediately if ei->is_freed is set
    628adb842bd5 tracefs/eventfs: Use root and instance inodes as default ownership
    1bfdd54adbb8 eventfs: Stop using dcache_readdir() for getdents()
    ee699b547b63 eventfs: Remove "lookup" parameter from create_dir/file_dentry()
    ee3bde693ee8 eventfs: Fix bitwise fields for "is_events"
    f6bf29570034 tracefs: Check for dentry->d_inode exists in set_gid()
    1b4dfdb3274a eventfs: Fix file and directory uid and gid ownership
    4d12a83ecdb6 eventfs: Have event files and directories default to parent uid and gid
    53cd8c57cc73 eventfs: Fix events beyond NAME_MAX blocking tasks
    6eee5c670861 eventfs: Make sure that parent->d_inode is locked in creating files/dirs
    29bb70cad668 eventfs: Do not allow NULL parent to eventfs_start_creating()
    43fbddf34c3c eventfs: Move taking of inode_lock into dcache_dir_open_wrapper()
    6586a12d3f02 eventfs: Use GFP_NOFS for allocation when eventfs_mutex is held
    7b4cb5d59f3e eventfs: Do not invalidate dentry in create_file/dir_dentry()
    b1391e3653f5 eventfs: Remove expectation that ei->is_freed means ei->dentry == NULL
    74a9e56b682f eventfs: Use simple_recursive_removal() to clean up dentries
    fb9b8eea5d21 eventfs: Remove special processing of dput() of events directory
    c58673cad4e9 eventfs: Delete eventfs_inode when the last dentry is freed
    1a6edfc7be2f eventfs: Hold eventfs_mutex when calling callback functions
    32f4c167cbef eventfs: Save ownership and mode
    d2a632aeecc4 eventfs: Test for ei->is_freed when accessing ei->dentry
    6e2a33522ee7 eventfs: Have a free_ei() that just frees the eventfs_inode
    4bb123ce29cd eventfs: Remove "is_freed" union with rcu head
    773cd7dfd092 eventfs: Fix kerneldoc of eventfs_remove_rec()
    810a957e343b eventfs: Remove extra dget() in eventfs_create_events_dir()
    7cac392f5640 eventfs: Fix typo in eventfs_inode union comment
    f7842e0617ff eventfs: Fix WARN_ON() in create_file_dentry()
    843879a6ddd9 tracefs/eventfs: Modify mismatched function name
    c99e5cfe77e5 eventfs: Fix failure path in eventfs_create_events_dir()
    17e4e4d2335c eventfs: Use ERR_CAST() in eventfs_create_events_dir()
    bceba0d35b43 eventfs: Use eventfs_remove_events_dir()
    35ee34c0f6d5 eventfs: Remove eventfs_file and just use eventfs_inode
    4015fc492774 Revert "eventfs: Remove "is_freed" union with rcu head"
    dc9ee9a8aef8 Revert "eventfs: Save ownership and mode"
    65a54d6dbf3b Revert "eventfs: Delete eventfs_inode when the last dentry is freed"
    601daf7e31d8 Revert "eventfs: Use simple_recursive_removal() to clean up dentries"
    5e9fb476196d Revert "eventfs: Check for NULL ef in eventfs_set_attr()"
    6fdc0bcd066d Revert "eventfs: Do not allow NULL parent to eventfs_start_creating()"
    fa69a8063f8b parisc: Fix random data corruption from exception handler
    4480ead69a3a netfilter: ipset: Missing gc cancellations fixed
    b93a6756a01f netfilter: ipset: fix performance regression in swap operation
    b2261c2e763e block: fix partial zone append completion handling in req_bio_endio()
    56f98598ddf0 md: bypass block throttle for superblock update
    49bca0710ebe tracing: Inform kmemleak of saved_cmdlines allocation
    ab94509051ea tracing: Fix HAVE_DYNAMIC_FTRACE_WITH_REGS ifdef
    5d858e2d3eca fs/proc: do_task_stat: move thread_group_cputime_adjusted() outside of lock_task_sighand()
    63e2bd10a89a pmdomain: core: Move the unused cleanup to a _sync initcall
    f84e7534457d can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)
    26dfe112ec2e can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
    6019c77391a6 can: netlink: Fix TDCO calculation using the old data bittiming
    23429e2c33dd of: property: fix typo in io-channels
    7366ff7ca1c7 docs: kernel_feat.py: fix build error for missing files
    601b5540c154 blk-wbt: Fix detection of dirty-throttled tasks
    496273439b3c LoongArch: Fix earlycon parameter if KASAN enabled
    4d850ed74740 mm: hugetlb pages should not be reserved by shmat() if SHM_NORESERVE
    13c5a9fb0710 fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super
    ae20db45e482 ceph: prevent use-after-free in encode_cap_msg()
    a71302c86389 hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
    9680b2ab54ba net: stmmac: protect updates of 64-bit statistics counters
    1b1631895e40 pmdomain: renesas: r8a77980-sysc: CR7 must be always on
    3dbf262ab0c1 net: ethernet: ti: cpsw_new: enable mac_managed_pm to fix mdio
    a1b4ed4125ca s390/qeth: Fix potential loss of L3-IP@ in case of network issues
    d59e1c2fbd76 net: ethernet: ti: cpsw: enable mac_managed_pm to fix mdio
    31f71f2d7a08 fs: relax mount_setattr() permission checks
    02afaeb6c52b tools/rtla: Fix Makefile compiler options for clang
    f0542eb7122e tools/rtla: Fix uninitialized bucket/data->bucket_size warning
    7c3611ca86f1 tools/rtla: Exit with EXIT_SUCCESS when help is invoked
    8a585914c266 tools/rtla: Fix clang warning about mount_point var size
    daa5e6a4a8b4 tools/rtla: Replace setting prio with nice for SCHED_OTHER
    a71597b4e5c7 tools/rtla: Remove unused sched_getattr() function
    828be9ff1770 tools/rv: Fix Makefile compiler options for clang
    2863f8cf9f56 tools/rv: Fix curr_reactor uninitialized variable
    62a1b9b6343e ASoC: amd: yc: Add DMI quirk for Lenovo Ideapad Pro 5 16ARP8
    eb06fca2c740 ASoC: tas2781: add module parameter to tascodec_init()
    1be2669565b3 ASoC: SOF: IPC3: fix message bounds on ipc ops
    19758688bd05 arm64: Subscribe Microsoft Azure Cobalt 100 to ARM Neoverse N2 errata
    60480c6bc160 arm64/signal: Don't assume that TIF_SVE means we saved SVE state
    4796a1a41300 mmc: sdhci-pci-o2micro: Fix a warm reboot issue that disk can't be detected by BIOS
    6d5eae9a95fe zonefs: Improve error handling
    3d16cebf0112 KVM: arm64: Fix circular locking dependency
    4145ccff546e smb: Fix regression in writes when non-standard maximum write size negotiated
    c2aa2718cda2 smb: client: set correct id, uid and cruid for multiuser automounts
    e5643b23cbb0 thunderbolt: Fix setting the CNS bit in ROUTER_CS_5
    65ac3a4fee03 irqchip/gic-v3-its: Fix GICv4.1 VPE affinity update
    91a80fff3eee irqchip/gic-v3-its: Restore quirk probing for ACPI-based systems
    5fcc75e44de5 irqchip/irq-brcmstb-l2: Add write memory barrier before exit
    00f4eb31b819 wifi: iwlwifi: mvm: fix a crash when we run out of stations
    e700e44fd2cc wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()
    6585c74b4faa wifi: cfg80211: fix wiphy delayed work queueing
    ab9d4bb9a189 wifi: iwlwifi: fix double-free bug
    080da821b2c5 nfp: flower: prevent re-adding mac index for bonded port
    d194f1c73160 nfp: enable NETDEV_XDP_ACT_REDIRECT feature flag
    0bb84600c23c nfp: use correct macro for LengthSelect in BAR config
    9c82920359b7 crypto: algif_hash - Remove bogus SGL free on zero-length error path
    88aa493f393d crypto: ccp - Fix null pointer dereference in __sev_platform_shutdown_locked
    ea5ddbc11613 nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
    2e1480538ef6 nilfs2: fix data corruption in dsync block recovery for small block sizes
    af8625f713a4 ALSA: hda/realtek: add IDs for Dell dual spk platform
    53447b46a64e ALSA: hda/conexant: Add quirk for SWS JS201D
    027df06c2915 ALSA: hda/realtek: fix mute/micmute LED For HP mt645
    224378140269 mmc: slot-gpio: Allow non-sleeping GPIO ro
    13b01aedb585 io_uring/net: fix multishot accept overflow handling
    1dc09ca85871 x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
    b8525dced380 KVM: x86/pmu: Fix type length error when reading pmu->fixed_ctr_ctrl
    eea9b2e0d222 KVM: x86: make KVM_REQ_NMI request iff NMI pending for vcpu
    b2479ab426ce x86/fpu: Stop relying on userspace for info to fault in xsave buffer
    97b37ffbcebe x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6
    536006966678 serial: mxs-auart: fix tx
    ab288bbaedcc serial: core: introduce uart_port_tx_flags()
    760f0f9d85fe powerpc/pseries: fix accuracy of stolen time
    7fec35ffce05 powerpc/cputable: Add missing PPC_FEATURE_BOOKE on PPC64 Book-E
    1b5181cb4b30 powerpc/64: Set task pt_regs->link to the LR value on scv entry
    b1ac5b885cf3 ftrace: Fix DIRECT_CALLS to use SAVE_REGS by default
    24ea2c4d4864 serial: max310x: prevent infinite while() loop in port startup
    89992713f364 serial: max310x: fail probe if clock crystal is unstable
    2655f0892c04 serial: max310x: improve crystal stable clock detection
    8c6df38c7033 serial: max310x: set default value when reading clock ready bit
    8663564114d1 nfp: flower: fix hardware offload for the transfer layer port
    15392de705e7 nfp: flower: add hardware offload check for post ct entry
    0dc6bc63d9ec net: dsa: mv88e6xxx: Fix failed probe due to unsupported C45 reads
    f5f6332f1870 ring-buffer: Clean ring_buffer_poll_wait() error return
    22a77c0f5b82 hv_netvsc: Fix race condition between netvsc_probe and netvsc_remove
    482cda9e50de drm/amd/display: Preserve original aspect ratio in create stream
    7fc395f0f562 drm/amd/display: Increase frame-larger-than for all display_mode_vba files
    7407c61f43b6 drm/amd/display: Fix MST Null Ptr for RV
    b476ae1da136 drm/amdgpu/soc21: update VCN 4 max HEVC encoding resolution
    4ff8ec01a865 drm/prime: Support page array >= 4GB
    b9e373ed8d9c drm/amd/display: Add align done check
    c96a494c9b0f drm/msm: Wire up tlb ops
    6cef4e68777b ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
    93136132d1b5 media: rc: bpf attach/detach requires write permission
    f83b9abee9fa pmdomain: mediatek: fix race conditions with genpd
    5894212f3abf iio: pressure: bmp280: Add missing bmp085 to SPI id table
    28639eea710c iio: imu: bno055: serdev requires REGMAP
    68f2bdcbd7db iio: imu: adis: ensure proper DMA alignment
    c0f2ab954b02 iio: adc: ad_sigma_delta: ensure proper DMA alignment
    54e67b77be3a iio: accel: bma400: Fix a compilation problem
    e0cb5cc558f0 iio: commom: st_sensors: ensure proper DMA alignment
    b90126c86d83 iio: core: fix memleak in iio_device_register_sysfs
    1d8c67e94e9e iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
    f83ec2ee91d0 staging: iio: ad5933: fix type mismatch regression
    5ad73e1056a6 Revert "workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()"
    d76792931185 tracing/probes: Fix to search structure fields correctly
    ebc1972c2c89 tracing/probes: Fix to set arg size and fmt after setting type from BTF
    d5889a68522c tracing/probes: Fix to show a parse error for bad type for $comm
    ac9a1c3bcd45 tracing/synthetic: Fix trace_string() return value
    6e48f4c61673 tracing: Fix wasted memory in saved_cmdlines logic
    5f703935fdb5 tracing/timerlat: Move hrtimer_init to timerlat_fd open()
    aafdc920d70d ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
    2883940b19c3 ext4: fix double-free of blocks due to wrong extents moved_len
    e3c4e10e3a79 misc: fastrpc: Mark all sessions as invalid in cb_remove
    a7ae586f6f60 binder: signal epoll threads of self-work
    53953faf9180 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power
    39ca594f8098 ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
    4629bf52d952 ASoC: codecs: wcd938x: handle deferred probe
    ea102272ffa2 ALSA: hda/realtek - Add speaker pin verbtable for Dell dual speaker platform
    24a98774dc8d ALSA: hda/realtek: Enable headset mic on Vaio VJFE-ADL
    d83d6f66bb3a usb: typec: tpcm: Fix issues with power being removed during reset
    32bfb13db982 modpost: Add '.ltext' and '.ltext.*' to TEXT_SECTIONS
    6cddb7a4d78c linux/init: remove __memexit* annotations
    fd06e32ea464 um: Fix adding '-no-pie' for clang
    2dc2b0a42aaf xen-netback: properly sync TX responses
    54944f45470a parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
    2524299b6106 net: stmmac: do not clear TBS enable bit on link up/down
    923dea2a7ea9 net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()
    16d3f507b0fa nfc: nci: free rx_data_reassembly skb on NCI device cleanup
    04c0dbdba3b0 kbuild: Fix changing ELF file type for output of gen_btf for big endian
    0f48dea0926d ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads
    1a2f08576e30 firewire: core: correct documentation of fw_csr_string() kernel API
    6d2a97b7b6f2 lsm: fix the logic in security_inode_getsecctx()
    8df43e53f2f7 lsm: fix default return value of the socket_getpeersec_*() hooks
    38fd4dfa2764 drm/amd: Don't init MEC2 firmware when it fails to load
    8983397951b4 drm/amdgpu: Reset IH OVERFLOW_CLEAR bit
    0b1d4187c2df drm/virtio: Set segment size for virtio_gpu device
    c99d215c0c0f connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared"
    56a19b790f57 Revert "drm/msm/gpu: Push gpu lock down past runpm"
    caa2565a2e13 Revert "drm/amd: flush any delayed gfxoff on suspend entry"
    2996c7e97ea7 scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"
    889a5f329e47 media: Revert "media: rkisp1: Drop IRQF_SHARED"
    9978d5b744e0 Revert "powerpc/pseries/iommu: Fix iommu initialisation during DLPAR add"
    4bfe217e075d mptcp: really cope with fastopen race
    ed34dfa19ddb mptcp: check addrs list in userspace_pm_get_local_id
    a2d743747e9e mptcp: fix rcv space initialization
    877a72e3b66c mptcp: drop the push_pending field
    1fdb37a673d2 selftests: mptcp: add mptcp_lib_kill_wait
    2decb7d94d34 selftests: mptcp: allow changing subtests prefix
    a4887b7aa676 selftests: mptcp: increase timeout to 30 min
    969afb521f6f selftests: mptcp: add missing kconfig for NF Mangle
    ecdb48c5f538 selftests: mptcp: add missing kconfig for NF Filter in v6
    2d60c017e448 selftests: mptcp: add missing kconfig for NF Filter
    b609c783c535 mptcp: fix data re-injection from stale subflow
    fa3866b67d5e kallsyms: ignore ARMv4 thunks along with others
    3a9d624593c5 modpost: trim leading spaces when processing source files list
    6be99c51829b i2c: i801: Fix block process call transactions
    a99ba46e8a20 i2c: pasemi: split driver into two separate modules
    4cc31fa07445 powerpc/kasan: Limit KASAN thread size increase to 32KB
    f7e84c8e196b irqchip/gic-v3-its: Handle non-coherent GICv4 redistributors
    fcb82e9739f2 irqchip/loongson-eiointc: Use correct struct type in eiointc_domain_alloc()
    0589dff4fbf4 i2c: qcom-geni: Correct I2C TRE sequence
    f7ff1c89fb6e cifs: fix underflow in parse_server_interfaces()
    e7f744f6f420 iio: adc: ad4130: only set GPIO_CTRL if pin is unused
    0e0dab377509 iio: adc: ad4130: zero-initialize clock init data
    63b1a3d9dd3b PCI: Fix active state requirement in PME polling
    7f414d306320 Revert "kobject: Remove redundant checks for whether ktype is NULL"
    0516c06b19dc powerpc/kasan: Fix addr error caused by page alignment
    8631837dbf8b powerpc/6xx: set High BAT Enable flag on G2_LE cores
    0040386b0b71 powerpc/pseries/iommu: Fix iommu initialisation during DLPAR add
    22920e410234 driver core: fw_devlink: Improve detection of overlapping cycles
    7219a692ffc0 media: ir_toy: fix a memleak in irtoy_tx
    008cf5d1da7f interconnect: qcom: sm8550: Enable sync_state
    d8e36ff40cf9 interconnect: qcom: sc8180x: Mark CO0 BCM keepalive
    c7ebd8149ee5 usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
    ed85777c640c usb: core: Prevent null pointer dereference in update_port_device_state
    84a13b97e8e2 usb: chipidea: core: handle power lost in workqueue
    0d179c570486 usb: f_mass_storage: forbid async queue when shutdown happen
    eafeda9ee9c0 USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT
    ec68d8d25b84 usb: ucsi_acpi: Fix command completion handling
    330d22aba17a usb: ulpi: Fix debugfs directory leak
    d25f43a25794 usb: ucsi: Add missing ppm_lock
    ad42f8087146 iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP
    fc41101a94b1 HID: wacom: Do not register input devices until after hid_hw_start
    04fa3e1387bf HID: wacom: generic: Avoid reporting a serial of '0' to userspace
    4cad91344a62 HID: i2c-hid-of: fix NULL-deref on failed power up
    467fce636a3a HID: bpf: actually free hdev memory after attaching a HID-BPF program
    d83a7e591d26 HID: bpf: remove double fdget()
    c34c01fba0f0 ALSA: hda/realtek: Enable Mute LED on HP Laptop 14-fq0xxx
    134c9f699c16 ALSA: hda/realtek: Fix the external mic not being recognised for Acer Swift 1 SF114-32
    63bc8a394083 parisc: Prevent hung tasks when printing inventory on serial console
    7f5375875e84 ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF
    5735a2671ffb dm-crypt, dm-verity: disable tasklets
    cc0037fa592d nouveau: offload fence uevents work to workqueue
    acd2eda2b28f scsi: storvsc: Fix ring buffer size calculation
    2f61cb94def1 selftests: mm: fix map_hugetlb failure on 64K page size systems
    8f02931edb7d selftests/mm: Update va_high_addr_switch.sh to check CPU for la57 flag
    ec18ec230301 mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again
    85f052b55ce2 selftests/mm: switch to bash from sh
    6022c065c9ec tracing/trigger: Fix to return error if failed to alloc snapshot
    8b5a4fe34279 scs: add CONFIG_MMU dependency for vfree_atomic()
    d6a14d9ddbed selftests/mm: ksm_tests should only MADV_HUGEPAGE valid memory
    ee35363764d8 userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
    38e6fede36bb i40e: Fix waiting for queues of all VSIs to be disabled
    be147926140a i40e: Do not allow untrusted VF to remove administratively set MAC
    94d34a6861a2 mm/memory: Use exception ip to search exception tables
    fdd12a80f64f ptrace: Introduce exception_ip arch hook
    2252913f156f MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
    61e1c101bacb nouveau/svm: fix kvcalloc() argument order
    d4053005d55a net: sysfs: Fix /sys/class/net/<iface> path for statistics
    050ad2ca0ac1 ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
    211db3da3f61 spi: ppc4xx: Drop write-only variable
    6a67bf10934c net: tls: fix returned read length with async decrypt
    d684763534b9 net: tls: fix use-after-free with partial reads and async decrypt
    13eca403876b net: tls: handle backlogging of crypto requests
    6db22d6c7a6d tls: fix race between tx work scheduling and socket close
    86dc27ee36f5 tls: fix race between async notify and socket close
    de31df6f8720 net: tls: factor out tls_*crypt_async_wait()
    5e01c54ebcaf tls: extract context alloc/initialization out of tls_set_sw_offload
    48fae67d8374 lan966x: Fix crash when adding interface under a lag
    5eeb2a9eaa5b net: openvswitch: limit the number of recursions from action sets
    65095912b0f3 selftests: forwarding: Fix bridge locked port test flakiness
    d8893ac849ba selftests: forwarding: Suppress grep warnings
    925fd1a0fb41 selftests: bridge_mdb: Use MDB get instead of dump
    c3e0cfe7d7cb selftests: forwarding: Fix bridge MDB test flakiness
    2fc52eb6369c selftests: forwarding: Fix layer 2 miss test flakiness
    dcaf06afaad8 selftests: net: Fix bridge backup port test flakiness
    30c59775a292 selftests/net: convert test_bridge_backup_port.sh to run it in unique namespace
    7512d7866640 perf: CXL: fix mismatched cpmu event opcode
    6e00027aef47 ALSA: hda/cs35l56: select intended config FW_CS_DSP
    c3dc7cb88815 of: property: Improve finding the supplier of a remote-endpoint property
    e0dce2c981ff of: property: Improve finding the consumer of a remote-endpoint property
    c1c50ca73e41 devlink: Fix command annotation documentation
    59d440ae52b5 bonding: do not report NETDEV_XDP_ACT_XSK_ZEROCOPY
    d74226e03df1 net/handshake: Fix handshake_req_destroy_test1
    cd16ed2e9417 ASoC: SOF: ipc3-topology: Fix pipeline tear down logic
    8723db10f063 wifi: iwlwifi: uninitialized variable in iwl_acpi_get_ppag_table()
    83f4bf711f30 wifi: iwlwifi: Fix some error codes
    9f9aff002a4d KVM: selftests: Fix a semaphore imbalance in the dirty ring logging test
    04e01dc1fce1 spi: imx: fix the burst length at DMA mode and CPU mode
    52fe802f95f2 drm/msm/gem: Fix double resv lock aquire
    3b23d6512d49 of: unittest: Fix compile in the non-dynamic case
    267f7b04effa KVM: selftests: Avoid infinite loop in hyperv_features when invtsc is missing
    03aee9284d9b KVM: selftests: Delete superfluous, unused "stage" variable in AMX test
    854357db2f93 selftests/landlock: Fix fs_test build with old libc
    8f1903863219 driver core: Fix device_link_flag_is_sync_state_only()
    7bddf18f474f btrfs: don't drop extent_map for free space inode on write error
    2f2d90376924 btrfs: reject encoded write if inode has nodatasum flag set
    2dc6dbbddc18 btrfs: don't reserve space for checksums when writing to nocow files
    7efadbcb3200 btrfs: send: return EOPNOTSUPP on unknown flags
    92182dc179ec btrfs: forbid deleting live subvol qgroup
    833775656d44 btrfs: do not ASSERT() if the newly created subvolume already got read
    4f48ef7d97d5 btrfs: forbid creating subvol qgroups
    505a948d0555 btrfs: do not delete unused block group if it may be used soon
    e97ebc2a8c8e btrfs: add and use helper to check if block group is used
    f328d96d6b38 update workarounds for gcc "asm goto" issue
    aaff74d886d0 work around gcc bugs with 'asm goto' with outputs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: genericarm64 configuration/definition
Bruce Ashfield [Mon, 26 Feb 2024 22:34:51 +0000 (17:34 -0500)] 
linux-yocto/6.6: genericarm64 configuration/definition

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

1/3 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: features/numa: remove CONFIG_NEED_MULTIPLE_NODES
    Date: Mon, 26 Feb 2024 12:10:12 +0000

    This was removed in kernel a9ee6cf (5.14 onwards).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: features/cgroups: remove trailing whitespace
    Date: Mon, 26 Feb 2024 12:10:13 +0000

    Otherwise the audit will notice that "y " was requested but "y" was set.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp: Add initial genericarm64 BSP
    Date: Mon, 26 Feb 2024 12:10:14 +0000

    Add the skeleton of an initial genericarm64 kernel.

    At present this has only been boot tested on a BeaglePlay and is missing
    some functionality, but it does boot via EFI from SD card successfully.

    Future work will organise the configuration fragments more neatly,
    move more options to modules, increase functionality, and add support
    for more boards.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokern-tools: depend on git-replacement-native
Bruce Ashfield [Mon, 26 Feb 2024 22:34:50 +0000 (17:34 -0500)] 
kern-tools: depend on git-replacement-native

Konstantin Aladyshev <aladyshev22@gmail.com> reported that the
kern-tools require git functionality that was introduced in
git versions greater than the minimum project requirements.

In particular:

   commit 923a9de418b3ca8592c3 [kgit-s2q: don't run verication hooks]

uses the --no-verify flag to prevent local git hooks from
running and breaking patching or introducing security
issues from the host configuration.

To ensure that we have a new enough git available for the tools,
we update our DEPENDS to git-native-replacement, and the version
available in oe-core will be built and used instead of the
host provided version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: config: x86 tidy & consolidation
Bruce Ashfield [Mon, 26 Feb 2024 22:34:49 +0000 (17:34 -0500)] 
linux-yocto/6.6: config: x86 tidy & consolidation

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

1/3 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: BSP: remove from all - latencytop feature inclusion
    Date: Thu, 30 Nov 2023 14:07:48 -0500

    Consider this 5+ year old commit

        commit bcbc7bbc4fb967d8d4ae6333f71b73491a80b94e
        Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
        Date:   Thu Mar 1 16:00:41 2018 +0200

        latencytop: remove recipe

        Last commit and release were in 2009; website is down; it's a dead project.

        (From OE-Core rev: 36aae56e7f86a4d5ce93e4528e7dcc42f60c705e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Given that, it seems sensible to drop it from default inclusion across
    the BSPs.  I've left the feature itself, so anyone who still cares can
    easily manually add it still.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: x86-64: separate out the NUMA features to our existing NUMA scc/cfg
    Date: Thu, 30 Nov 2023 14:07:45 -0500

    A user reported getting NUMA warnings like the ones reported here:

    https://www.suse.com/support/kb/doc/?id=000021040

    "Fail to get numa node for CPU:0 bus:0 dev:0 fn:1"

    ...and repeated for every core on the platform.  Distracting.

    When I asked if it was a crazy big server system with multiple CPU
    sockets and localized RAM near each socket - the answer was "no".

    Turns out they didn't choose NUMA support - rather we did it for them.

    Yocto has been and still remains more "embedded leaning".  That is not
    to say we can't support NUMA.  We just shouldn't be enabling it by
    default in the base x86-64 config fragment that everyone uses.

    Move the two NUMA settings that were not in our existing numa.cfg
    feature out of the BSP and into the feature.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: x86-64: consolidate crypto options
    Date: Thu, 30 Nov 2023 14:07:44 -0500

    No functional change - just makes further reorganizations and
    refactoring more easy to review/parse.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: enable squashfs for selftests
Bruce Ashfield [Mon, 26 Feb 2024 22:34:48 +0000 (17:34 -0500)] 
linux-yocto/6.6: enable squashfs for selftests

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

1/1 [
    Author: Vyacheslav Yurkov
    Email: uvv.mail@gmail.com
    Subject: squashfs: Add initial support
    Date: Wed, 21 Feb 2024 07:15:31 +0100

    It's required at least in selftest to test read-only file systems.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoyocto-uninative: Update to 4.4 for glibc 2.39
Michael Halstead [Tue, 27 Feb 2024 02:08:02 +0000 (18:08 -0800)] 
yocto-uninative: Update to 4.4 for glibc 2.39

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglib-2.0: backport a switch from distutils to packaging in codegen
Martin Jansa [Sun, 25 Feb 2024 09:37:26 +0000 (10:37 +0100)] 
glib-2.0: backport a switch from distutils to packaging in codegen

* to fix build on hosts with python-3.12, now it fails with:

Traceback (most recent call last):
  File "recipe-sysroot-native/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import distutils.version
ModuleNotFoundError: No module named 'distutils'
CMake Error at CMakeLists.txt:90 (message):
  Error in generating code for connman interface using gdbus-codegen

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooe-selftest devtool: ide-sdk tests
Adrian Freihofer [Sun, 25 Feb 2024 20:47:03 +0000 (21:47 +0100)] 
oe-selftest devtool: ide-sdk tests

Improve the GDB related tests. Verify GDB finds the correct source
files.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide-sdk prefer sources from workspace
Adrian Freihofer [Sun, 25 Feb 2024 20:47:02 +0000 (21:47 +0100)] 
devtool: ide-sdk prefer sources from workspace

Improve the previous commit:
- log an error if some assumptions are not true
- Use TARGET_DBGSRC_DIR variable
- Do the same for ide none

Why the additional source mapping is required:

For example the cmake-example recipe refers to sources like this:
./recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-readelf \
  -wi image/usr/bin/cmake-example | grep -B1 DW_AT_comp_dir
    ...
    <560>   DW_AT_name        : (indirect line string, offset: 0x1da):
    /usr/src/debug/cmake-example/1.0/oe-local-files/cpp-example.cpp
    ...

Another example is powertop:
./recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-readelf \
  -wi image/usr/sbin/powertop | grep -B1 DW_AT_comp_dir
    ...
    <561>   DW_AT_name        : (indirect line string, offset: 0x1da):
    /usr/src/debug/powertop/2.15/src/devlist.cpp
    ...

For recipes with local files this works. The oe-local-files folder is
not available in the rootfs-dbg and therefore the sources are first
found in the workspace folder. GDB searches for source files in various
places:
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Source-Path.html
However, for the powertop example the sources opened in the editor are
from the rootfs-dbg instead of from the workspace.

Bitbake calls the compiler with
  -fmacro-prefix-map=${S}=${TARGET_DBGSRC_DIR}
where TARGET_DBGSRC_DIR defaults to "/usr/src/debug/${PN}/${PV}".

A source map which maps the recipe specific path from TARGET_DBGSRC_DIR
to the workspace fixes this.
The already existing source map for /usr/src/debug applies for all other
recipes. It finds the sources (read only) in the rootfs-dbg folder.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide-sdk source mapping for vscode
Enguerrand de Ribaucourt [Sun, 25 Feb 2024 20:47:01 +0000 (21:47 +0100)] 
devtool: ide-sdk source mapping for vscode

When launching the debug configuration, the source files from the debug
rootfs were openened in the editor instead of the local workspace files.
We add an exception to properly map them to the file being developed and
compiled by the IDE integration. This also more closely matches what the
user would expect compared to native development.

This is also true for the devtool fallback mode.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide-sdk launch.json per recipe only
Adrian Freihofer [Sun, 25 Feb 2024 20:47:00 +0000 (21:47 +0100)] 
devtool: ide-sdk launch.json per recipe only

If multiple recipes are processed at once, the launch.json and the
tasks.json of the second recipe contains also the configurations for the
binaries of the first recipe.

Example:
  devtool ide-sdk powertop cmake-example oe-selftest-image
generated a launch and a tasks configuration for the cmake-example
recipe which also offers debugging the powertop binary.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agowic: 'empty' plugin: fix typo in comment
Enrico Jörns [Sun, 25 Feb 2024 22:44:28 +0000 (23:44 +0100)] 
wic: 'empty' plugin: fix typo in comment

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoopenssl: Match target name for loongarch64
Xiaotian Wu [Mon, 26 Feb 2024 08:13:37 +0000 (16:13 +0800)] 
openssl: Match target name for loongarch64

This is updated in openssl [1] since opensssl 3.2.0-alpha1 onwards

[1] https://github.com/openssl/openssl/commit/b625e21e67666213ffd3ba6b1f2cd8a847ba6b66

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/utils/postactions: testimage: add host disk usage stat as post action
Alexis Lothoré [Mon, 26 Feb 2024 09:19:22 +0000 (10:19 +0100)] 
oeqa/utils/postactions: testimage: add host disk usage stat as post action

Since the target under test can be a virtualized guest, when some tests
fail because of disk usage (see [1]), also fetch disk usage statistics from
host to allow checking whether a host disk space saturation could affect
running tests.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/utils/postactions: add target disk usage stat as post action
Alexis Lothoré [Mon, 26 Feb 2024 09:19:21 +0000 (10:19 +0100)] 
oeqa/utils/postactions: add target disk usage stat as post action

In order to debug issues related to disk space (see [1]),  add a failed
tests post action to retrieve disk usage on the target. Rely on the test
context object to run the corresponding command onto the target

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/utils/postactions: isolate directory creation in dedicated action
Alexis Lothoré [Mon, 26 Feb 2024 09:19:20 +0000 (10:19 +0100)] 
oeqa/utils/postactions: isolate directory creation in dedicated action

In order to be able to create actions that could store new files during
failed test post actions, we need to split artifacts directory creation
from artifacts retrieval.

Create a new dedicated action to create artifacts main directory so we can
add actions creating files in this new directory, without worrying about
actions order if at least this action is set first.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agotestimage: create a list of failed test post actions
Alexis Lothoré [Mon, 26 Feb 2024 09:19:19 +0000 (10:19 +0100)] 
testimage: create a list of failed test post actions

testimage is able to detect whenever a test run leads to some tests
failing, and execute some actions in this case. The only action currently
defined in such case is to retrieve artifacts from the target under test,
as listed in TESTIMAGE_FAILED_QA_ARTIFACTS

In order to be able to add multiple actions, define a central function to
gather all "post actions" to run whenever a test has failed
(run_failed_tests_post_actions). This function contains a table listing all
functions to be called whenever a test fails. Any function in this table
will be provided with bitbake internal data dictionary ("d") and the
current runtime testing context ("tc"). Isolate all this feature in a
dedicated postactions.py file inherited by testimage.
This patch does not bring any functional change.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oeqa: share get_json_result_dir helper
Alexis Lothoré [Mon, 26 Feb 2024 09:19:18 +0000 (10:19 +0100)] 
lib/oeqa: share get_json_result_dir helper

Multiple places in oeqa need to get the log output path, and redefine a
small helper to accomplish this

Define this helper in lib/oeqa/utils/__init__.py and import it wherever
needed to allow using it.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoloongarch64: change -march to loongarch64
Xiaotian Wu [Mon, 26 Feb 2024 08:43:35 +0000 (16:43 +0800)] 
loongarch64: change -march to loongarch64

Now both gcc and clang all support -march=loongarch64, so we can use it.

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocve-check: Log if CVE_STATUS set but not reported for component
Simone Weiß [Sat, 24 Feb 2024 08:18:38 +0000 (08:18 +0000)] 
cve-check: Log if CVE_STATUS set but not reported for component

Log if the CVE_STATUS is set for a CVE, but the cve is not reported for a
component. This should hopefully help to clean up not needed CVE_STATUS
settings.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agometa: Update CVE_STATUS for incorrect cpes
Simone Weiß [Sun, 18 Feb 2024 22:32:32 +0000 (22:32 +0000)] 
meta: Update CVE_STATUS for incorrect cpes

Set CVE_STATUS as none of the issues apply against the versions
used in the recipes.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agometa: Remove some not needed CVE_STATUS
Simone Weiß [Fri, 23 Feb 2024 21:31:01 +0000 (21:31 +0000)] 
meta: Remove some not needed CVE_STATUS

CVE_STATUS was set for those components, but meanwhile databases are updated
with corrected information, so setting the CVE_STATUS is not needed anymore.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopatchtest: Skip test for CVE_CHECK_IGNORE for older branches
Simone Weiß [Fri, 23 Feb 2024 21:07:40 +0000 (21:07 +0000)] 
patchtest: Skip test for CVE_CHECK_IGNORE for older branches

Skip the test for checking if CVE_CHECK_IGNORE is not used.
It is deprecated now, but was not deprecated for kirkstone and dunfell.
Skip it therefore if a patch is intended for those branches.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopatchtest: provide further guidance for failed testcases
Simone Weiß [Fri, 23 Feb 2024 20:56:39 +0000 (20:56 +0000)] 
patchtest: provide further guidance for failed testcases

Cross-reference the wiki page on patchtest now that it is updated and contains
more information how to address failed testcases. Adding it in patchtest only
is enough as patchtest-send-result already points to the wikipage for failures.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokernel.bbclass: Set pkg-config variables for building modules
Munehisa Kamata [Fri, 23 Feb 2024 08:05:13 +0000 (00:05 -0800)] 
kernel.bbclass: Set pkg-config variables for building modules

The pkg-config workaround has been applied for kernel image building, but
not for module building. So pkg-config variables are different between
do_compile and do_compile_kernelmodules tasks. It may unnecessary trigger
rebuilding of a few host tools at the later task.

Especially when CONFIG_DEBUG_INFO_BTF is enabled in the kernel, it may even
trigger rebuilding vmlinux at do_compile_kernelmodules due to the rebuilt
host tools such as certs/extract-cert or objtool (on x86). This eventually
creates an inconsistent set of kernel binaries.

Here is the repro steps:

 - Check out nanbield on x86
   - The unexpected rebuild happens on kirkstone or possibly earlier

 - Ensure that pahole is available (e.g. via meta-oe)

 - Set KERNEL_DEBUG to "True" to properly set up PAHOLE
   e.g.
   $ export KERNEL_DEBUG="True"
   $ export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS} KERNEL_DEBUG"

 - Enable CONFIG_DEBUG_INFO_BTF=y
   e.g.
   $ bitbake -c menuconfig virtual/kernel
    -> Kernel hacking
      -> Compile-time checks and compiler options
        -> Generate BTF typeinfo

 - Build the kernel
   e.g.
   $ bitbake virtual/kernel

The BTF information in the resulting bzImage and kernel modules are
inconsistent, because the module's BTF information is generated using the
"second" vmlinux that doesn't have the identical BTF to the "first" vmlinux.
These modules can't be loaded at runtime due to the BTF mismatch.

This also leads to a build-id mismatch between the installed bzImage and
vmlinux since the bzImage is created from the first vmlinux, but the
installed vmlinux is the second one.

  $ eu-readelf -n tmp/work/qemux86_64-poky-linux/linux-yocto/6.5.13+git/image/boot/{bzImage*,vmlinux*} | grep "Build ID"
   Build ID: 4a0d62ee7fef0244950f0f604253729875bea493
   Build ID: fb99b3d91399dbe42bf67ddee59e0f5a0c7f74d9

To avoid the unexpected rebuilding that results in such inconsistency, set
the same pkg-config variables when building kernel and modules. For kernel
5.19 and above, simply set the HOSTPKG_CONFIG in the make command line.

Signed-off-by: Munehisa Kamata <kamatam@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogo: update 1.20.13 -> 1.20.14
Jose Quaresma [Fri, 23 Feb 2024 11:39:43 +0000 (11:39 +0000)] 
go: update 1.20.13 -> 1.20.14

Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.13..go1.20.14
90a870f1dc (tag: go1.20.14, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.14
a2f4a5a6e7 [release-branch.go1.20] Revert "crypto/internal/boring: upgrade module to fips-20220613" +1
746a072791 [release-branch.go1.20] crypto/x509: properly gate test on macos version
d7df7f4fa0 [release-branch.go1.20] runtime: properly model rwmutex in lock ranking

$ git log --oneline go1.20.13..go1.20.14

[1] https://github.com/golang/go/compare/go1.20.13...go1.20.14

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide-sdk python 3.12 escaping
Adrian Freihofer [Thu, 22 Feb 2024 18:14:14 +0000 (19:14 +0100)] 
devtool: ide-sdk python 3.12 escaping

scripts/lib/devtool/ide_sdk.py:709: SyntaxWarning: invalid escape sequence '\.'
  re_so = re.compile('.*\.so[.0-9]*$')

scripts/lib/devtool/ide_plugins/__init__.py:87: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "test -f \$TEMP_DIR/pid && exit 0; "

scripts/lib/devtool/ide_plugins/__init__.py:88: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "mkdir -p \$TEMP_DIR; "

scripts/lib/devtool/ide_plugins/__init__.py:89: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "%s --multi :%s > \$TEMP_DIR/log 2>&1 & " % (

scripts/lib/devtool/ide_plugins/__init__.py:91: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "echo \$! > \$TEMP_DIR/pid;"

scripts/lib/devtool/ide_plugins/__init__.py:94: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_stop += "test -f \$TEMP_DIR/pid && kill \$(cat \$TEMP_DIR/pid); "

scripts/lib/devtool/ide_plugins/__init__.py:95: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_stop += "rm -rf \$TEMP_DIR; "

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobluez5: remove configuration files from install task
Emil Kronborg [Thu, 22 Feb 2024 19:44:59 +0000 (19:44 +0000)] 
bluez5: remove configuration files from install task

Since be0e796299b0 ("build: ship all config files with
--enable-datafiles") in bluez, installing input.conf and network.conf
has been redundant, as the bluez5 recipe already includes
--enable-datafiles.

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobind: Upgrade 9.18.21 -> 9.18.24
Soumya Sambu [Fri, 23 Feb 2024 06:19:12 +0000 (06:19 +0000)] 
bind: Upgrade 9.18.21 -> 9.18.24

Changelog:
=========
9.18.24:
- Fix case insensitive setting for isc_ht hashtable.
[GL #4568]

9.18.23:
- Specific DNS answers could cause a denial-of-service
condition due to DNS validation taking a long time.
(CVE-2023-50387) [GL #4424]
- Change 6315 inadvertently introduced regressions that
could cause named to crash. [GL #4234]
- Under some circumstances, the DoT code in client
mode could process more than one message at a time when
that was not expected. That has been fixed. [GL #4487]

9.18.22:
- Limit isc_task_send() overhead for RBTDB tree pruning.
[GL #4383]
- Restore DNS64 state when handling a serve-stale timeout.
(CVE-2023-5679) [GL #4334]
- Specific queries could trigger an assertion check with
nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281]
- Speed up parsing of DNS messages with many different
names. (CVE-2023-4408) [GL #4234]
- Address race conditions in dns_tsigkey_find().
[GL #4182]
- Conversion from NSEC3 signed to NSEC signed could
temporarily put the zone into a state where it was
treated as unsigned until the NSEC chain was built.
Additionally conversion from one set of NSEC3 parameters
to another could also temporarily put the zone into a
state where it was treated as unsigned until the new
NSEC3 chain was built. [GL #1794] [GL #4495]
- Memory leak in zone.c:sign_zone. When named signed a
zone it could leak dst_keys due to a misplaced
'continue'. [GL #4488]
- Log more details about the cause of "not exact" errors.
[GL #4500]
- The wrong time was being used to determine what RRSIGs
where to be generated when dnssec-policy was in use.
[GL #4494]
- The "trust-anchor-telemetry" statement is no longer
marked as experimental. This silences a relevant log
message that was emitted even when the feature was
explicitly disabled. [GL #4497]
- Fix statistics export to use full 64 bit signed numbers
instead of truncating values to unsigned 32 bits.
[GL #4467]
- NetBSD has added 'hmac' to libc which collides with our
use of 'hmac'. [GL #4478]

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agowic: allow imager-specific filename extensions
Trevor Woerner [Fri, 23 Feb 2024 00:55:27 +0000 (19:55 -0500)] 
wic: allow imager-specific filename extensions

Currently there is only one defined imager as part of oe-core's wic
implementation: 'direct'. However, having a highly plugin-based design,
wic allows users to define their own imagers (and sources).

Therefore don't hard-code the filename extension of the imager output to
be 'direct' (i.e. the default imager). Allow the extension to follow the
name of the imager being used.

A user can specify a custom imager via the WIC_CREATE_EXTRA_ARGS variable.
If the user does not specify an imager, then 'direct' is assumed.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglibc-locale: add an explicit dedicated package for locale.alias file
Jonathan GUILLOT [Fri, 23 Feb 2024 09:51:45 +0000 (09:51 +0000)] 
glibc-locale: add an explicit dedicated package for locale.alias file

Until now, ${datadir}/locale/locale.alias file were automatically added
to a weird glibc-locale-locale.alias package by split_locales() during
do_package task.
Create an explicit package name in recipe for this file.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oe/package: fix LOCALE_PATHS scan to create locale packages
Jonathan GUILLOT [Mon, 19 Feb 2024 16:19:28 +0000 (16:19 +0000)] 
lib/oe/package: fix LOCALE_PATHS scan to create locale packages

split_locales() must only check subdirectories in paths added to
LOCALE_PATHS to avoid creating weird packages based on filenames also
present in paths.

Without such a filter, cups recipe adding ${datadir}/cups/templates to
LOCALE_PATHS creates the following incorrect packages:
- cups-locale-add-class.tmpl
- cups-locale-add-printer.tmpl
- cups-locale-admin.tmpl

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoselftest-users: Convoluted selftest for USERADD_DEPENDS
Eilís 'pidge' Ní Fhlannagáin [Fri, 23 Feb 2024 13:25:21 +0000 (13:25 +0000)] 
selftest-users: Convoluted selftest for USERADD_DEPENDS

This adds a test for 13904's fix by creating a convoluted set of recipes
with USERADD_DEPENDS in non-alpha order.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agouseradd.bbclass: Fix order of postinst-useradd-*
Piotr Łobacz [Fri, 23 Feb 2024 13:25:20 +0000 (13:25 +0000)] 
useradd.bbclass: Fix order of postinst-useradd-*

postinst-useradd-* haven't been running in order of dependency.

This patch is reworked from Piotr Łobacz's patch and fixes:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=15084
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13904

basepasswd_sysroot_postinst in base-passwd can install postinst-useradd-*
scripts with any order. Sometimes this means, for example a useradd postinst
will attempt to run without the corresponding group postinst causing errors.
This patch ensures that we first run groupadd, then useradd and then
group membership.

[RP: Tweaked to avoid removing previous fixes and for whitespace/style issues
     Also ensure the scripts are changed to execute with -e to highlight errors]

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Jan Górski <j.gorski@welotec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool: Fix errors with meta-poky bbappend
Richard Purdie [Thu, 22 Feb 2024 17:20:59 +0000 (17:20 +0000)] 
recipetool: Fix errors with meta-poky bbappend

When a new base-files bbappend was added to meta-poky, it causes selftest
failures. Whilst this isn't ideal, workaround that issue for now since
the append is being added for security visibility and changing the tests
to support this more generically looks invasive.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocreategroup*: Remove coreutils-native as a DEPENDS
Eilís 'pidge' Ní Fhlannagáin [Thu, 22 Feb 2024 14:53:56 +0000 (14:53 +0000)] 
creategroup*: Remove coreutils-native as a DEPENDS

There isn't any reason for coreutils-native as a DEPENDS, so
remove it to speed up tests.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoRevert "meson: use absolute cross-compiler paths"
Enguerrand de Ribaucourt [Thu, 22 Feb 2024 10:29:56 +0000 (11:29 +0100)] 
Revert "meson: use absolute cross-compiler paths"

This reverts commit fc8e5d7c13f62e987b76971116cf290fd01a0c8f.

We need to use the absolute path to the compiler so that the VSCode
configuration generated by devtool ide-sdk could lint meson projects.

A feature was just added to vscode-cpptools to support conveying the
compilerPath in addition to the compile_commands.json. The next
commits adds the necessary configuration. We can revert this one and
keep the meson paths as they were.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide: define compilerPath for meson projects
Enguerrand de Ribaucourt [Thu, 22 Feb 2024 10:29:55 +0000 (11:29 +0100)] 
devtool: ide: define compilerPath for meson projects

The compile_commands.json file output by meson uses the compiler as if
present in the $PATH. However, when using an IDE, the $PATH used by
bitbake is not there.

The vscode-cpptools now allows to define the compilerPath in addition
to replace the one from compile_commands.json.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto: Remove unused patch
Khem Raj [Wed, 21 Feb 2024 18:16:59 +0000 (10:16 -0800)] 
linux-yocto: Remove unused patch

This patch remained after bumping from 6.1 to 6.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/rust: Simplify the rust testsuite output gathering/processing
Richard Purdie [Wed, 21 Feb 2024 13:14:58 +0000 (13:14 +0000)] 
oeqa/selftest/rust: Simplify the rust testsuite output gathering/processing

The rust testsuite was redirecting command output to a file, which made it
hard to debug failure cases since the logs were not available to print to
the console.

Rework the code so it uses the existing popen logging and hence allows us
to improve the error logging situation and make debugging failures easier.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agosystemd-systemctl: fix dead loop when multi services enable each other
Xiangyu Chen [Wed, 21 Feb 2024 07:29:42 +0000 (15:29 +0800)] 
systemd-systemctl: fix dead loop when multi services enable each other

libvirt has added a feature that all sockets for a service being enabled when a single
one of them is enabled since 9.9.x[1], it likes serviceA enable serviceB, serviceB enable
serviceA, that cause our systemctl script trap into a dead loop in postinstall stage,
the error message as below:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 722, in __str__
    return self._str
AttributeError: _str

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
    SystemdUnit(self.root, also).enable(unit)
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
    SystemdUnit(self.root, also).enable(unit)
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
    SystemdUnit(self.root, also).enable(unit)
  [Previous line repeated 988 more times]
......
RecursionError: maximum recursion depth exceeded while calling a Python object

Here using an array to record the services which has been enabled to filter the duplicates.

Ref:
[1] https://github.com/libvirt/libvirt/commit/826931e95a38af8322f8ad069dc89117c6404a00

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoncurses: Always pass -D_GNU_SOURCE
Khem Raj [Wed, 21 Feb 2024 01:58:19 +0000 (17:58 -0800)] 
ncurses: Always pass -D_GNU_SOURCE

So far it was assumed that it was detected ok for target recipe but
actually it ends up with warnings and build moves on, however with
gcc-14 these warnings are treated as errors and we see the problem even
with target recipes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoqemuboot: predictable network interface names
Joe Slater [Wed, 21 Feb 2024 00:04:17 +0000 (16:04 -0800)] 
qemuboot: predictable network interface names

Allow interface renaming if 'pni-names' is a distro
feature.

We do not add QB_NO_PNI to QB_CMDLINE_IP_SLIRP because
renaming was never suppressed for slirp.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodbus: disable assertions and enable only modular tests
Alexander Kanavin [Tue, 20 Feb 2024 19:55:04 +0000 (20:55 +0100)] 
dbus: disable assertions and enable only modular tests

There was a report that enabling assertions and all tests results in
notices in log.do_configure:

NOTE: building with unit tests increases the size of the installed library and renders it insecure.
NOTE: building with assertions increases library size and decreases performance.

This was overlooked when dbus and dbus-tests recipes were merged;
enabling all tests and assertions still requires a special, separate
build of dbus. If those tests are useful this could be revisited.
Until then, we should use productions settings for the main recipe.

Buildhistory-diff:
packages/core2-64-poky-linux/dbus/dbus-dbg: PKGSIZE changed from 9958176 to 8627824 (-13%)
packages/core2-64-poky-linux/dbus/dbus-lib: PKGSIZE changed from 544347 to 346339 (-36%)
packages/core2-64-poky-linux/dbus/dbus-ptest: PKGSIZE changed from 3524983 to 3116951 (-12%)
packages/core2-64-poky-linux/dbus/dbus-ptest: FILELIST: removed "/usr/share/installed-tests/dbus/test-dbus-launch-eval.sh_with_config.test /usr/share/installed-tests/dbus/test-counter_with_config.test /usr/libexec/installed-tests/dbus/test-dbus-launch-eval.sh /usr/libexec/installed-tests/dbus/test-dbus-launch-x11.sh /usr/share/installed-tests/dbus/test-counter.test /usr/libexec/installed-tests/dbus/test-counter /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh.test /usr/share/installed-tests/dbus/test-dbus-launch-x11.sh_with_config.test /usr/share/installed-tests/dbus/test-dbus-launch-eval.sh.test"
packages/core2-64-poky-linux/dbus/dbus: PKGSIZE changed from 510939 to 350331 (-31%)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: update CVE exclusions
Bruce Ashfield [Wed, 21 Feb 2024 02:18:37 +0000 (21:18 -0500)] 
linux-yocto/6.6: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 9Feb24
        Date: Fri, 9 Feb 2024 18:02:45 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-yocto/6.6: update to v6.6.17
Bruce Ashfield [Wed, 21 Feb 2024 02:18:36 +0000 (21:18 -0500)] 
linux-yocto/6.6: update to v6.6.17

Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    b2c9bf06474e Linux 6.6.17
    b734f7a47aeb netfilter: nft_set_rbtree: skip end interval element from gc
    d850a1f8dbbe net: stmmac: xgmac: fix a typo of register name in DPP safety handling
    2fbdc116640f ALSA: usb-audio: Sort quirk table entries
    460951a8e502 net: stmmac: xgmac: use #define for string constants
    22ccf61c336e io_uring/net: limit inline multishot retries
    7cbd3aa59db5 io_uring/poll: add requeue return code from poll multishot handling
    eac52bfe2333 io_uring/net: un-indent mshot retry path in io_recv_finish()
    0848bf7e539a io_uring/poll: move poll execution helpers higher up
    0ceb7a9230d6 io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL and buffers
    7a62d444a252 media: solo6x10: replace max(a, min(b, c)) by clamp(b, a, c)
    d41ba25cb8b6 Revert "ASoC: amd: Add new dmi entries for acp5x platform"
    ac589a37bc0c Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
    38d4dfeb0a8d Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
    4abccba26f63 hrtimer: Report offline hrtimer enqueue
    f0b1398669a3 usb: dwc3: pci: add support for the Intel Arrow Lake-H
    f5e7ffa9269a xhci: handle isoc Babble and Buffer Overrun events properly
    b5595a07ce1b xhci: process isoc TD properly when there was a transaction error mid TD.
    a78f36f39a76 usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
    b3e8e687d2db usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
    2aed1b6c33af x86/lib: Revert to _ASM_EXTABLE_UA() for {get,put}_user() fixups
    7add0db9543e Revert "usb: typec: tcpm: fix cc role at port reset"
    2d744a0cf852 USB: serial: cp210x: add ID for IMST iM871A-USB
    4d53c5124b82 USB: serial: option: add Fibocom FM101-GL variant
    1f2c1cf43e88 USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
    dbeb9bf62c95 ALSA: usb-audio: add quirk for RODE NT-USB+
    49ab71ba24b3 ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
    790053c73394 ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
    27b216130e64 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
    89b00dc3d6bb riscv: declare overflow_stack as exported from traps.c
    bc401f796061 riscv: Fix arch_hugetlb_migration_supported() for NAPOT
    da9c33a70f09 libceph: just wait for more data to be available on the socket
    90731f99f8c1 libceph: rename read_sparse_msg_*() to read_partial_sparse_msg_*()
    f4b69db0efca riscv: Flush the tlb when a page directory is freed
    aceb4ab9689b scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
    d0d1f9a9b937 riscv: Fix hugetlb_mask_last_page() when NAPOT is enabled
    21dba4e4f071 riscv: Fix set_huge_pte_at() for NAPOT mapping
    d37708448b13 riscv: mm: execute local TLB flush after populating vmemmap
    c4a05cf0ed78 mm: Introduce flush_cache_vmap_early()
    9bf829def8cf riscv: Improve flush_tlb_kernel_range()
    53a38f8f75ec riscv: Make __flush_tlb_range() loop over pte instead of flushing the whole tlb
    72afe05d6265 riscv: Improve tlb_flush()
    fb7bcd1722bc fs/ntfs3: Fix an NULL dereference bug
    bab2fb9d6b67 netfilter: nft_set_pipapo: remove scratch_aligned pointer
    9af9079ca1fd netfilter: nft_set_pipapo: add helper to release pcpu scratch area
    e96795240aec netfilter: nft_set_pipapo: store index in scratch maps
    28c5407cd2e4 netfilter: nft_ct: reject direction for ct id
    cd9bd10c59e3 drm/amd/display: Implement bounds check for stream encoder creation in DCN301
    3f3c237a7065 drm/amd/display: Add NULL test for 'timing generator' in 'dcn21_set_pipe()'
    2e150ccea131 drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'
    a600c1ebc464 netfilter: nft_compat: restrict match/target protocol to u16
    b3f2e143eb30 netfilter: nft_compat: reject unused compat flag
    6a64b8293506 netfilter: nft_compat: narrow down revision to unsigned 8-bits
    84bfcb7774b6 selftests: cmsg_ipv6: repeat the exact packet
    7e5ef4967076 ppp_async: limit MRU to 64K
    b74aa9ce13d0 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
    888e3524be87 tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
    94cac7da5889 selftests: net: let big_tcp test cope with slow env
    024b25117511 rxrpc: Fix counting of new acks and nacks
    2868b8e45a89 rxrpc: Fix response to PING RESPONSE ACKs to a dead call
    200cb50b9e15 rxrpc: Fix delayed ACKs to not set the reference serial number
    2c9dc472e66f rxrpc: Fix generation of serial numbers to skip zero
    41d5340cb01e drm/i915/gvt: Fix uninitialized variable in handle_mmio()
    4a5e31bdd3c1 inet: read sk->sk_family once in inet_recv_error()
    2109eb2d6aaa hwmon: (coretemp) Fix bogus core_id to attr name mapping
    853a6503c586 hwmon: (coretemp) Fix out-of-bounds memory access
    c9b0d253f1ab hwmon: (aspeed-pwm-tacho) mutex for tach reading
    76ce07eb215d octeontx2-pf: Fix a memleak otx2_sq_init
    f9d5410d8f1b atm: idt77252: fix a memleak in open_card_ubr0
    510c869ffa40 tunnels: fix out of bounds access when building IPv6 PMTU error
    10db3a7e54e2 tsnep: Fix mapping for zero copy XDP_TX action
    9ecd0d78ead2 selftests: net: avoid just another constant wait
    4bd05772c7dc selftests: net: fix tcp listener handling in pmtu.sh
    1000bd0afca1 selftests/net: change shebang to bash to support "source"
    9cf2d6d71bee selftests/net: convert pmtu.sh to run it in unique namespace
    7be281a41111 selftests/net: convert unicast_extensions.sh to run it in unique namespace
    104ab0e82134 selftests: net: cut more slack for gro fwd tests.
    004fe5b7f592 net: atlantic: Fix DMA mapping for PTP hwts ring
    6eecddd9c3c8 netdevsim: avoid potential loop in nsim_dev_trap_report_work()
    4571767d66d6 wifi: brcmfmac: Adjust n_channels usage for __counted_by
    3da5fdb61ae9 wifi: iwlwifi: exit eSR only after the FW does
    733031cd485c wifi: mac80211: fix waiting for beacons logic
    fc3432ae8232 wifi: mac80211: fix RCU use in TDLS fast-xmit
    7e0ff50131e9 net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
    0e7ca435c574 x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR
    c756fd5d460b x86/efistub: Give up if memory attribute protocol returns an error
    79592a6e7bdc drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup
    1449c75720e8 drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
    1506145c2cd5 drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case
    05955a703b75 xfs: respect the stable writes flag on the RT device
    d7d5ed65364c xfs: clean up FS_XFLAG_REALTIME handling in xfs_ioctl_setattr_xflags
    3581868f51a2 xfs: dquot recovery does not validate the recovered dquot
    d744e578802a xfs: clean up dqblk extraction
    b28b234276a8 xfs: inode recovery does not validate the recovered inode
    5411625f8dde xfs: fix again select in kconfig XFS_ONLINE_SCRUB_STATS
    0838177b012b xfs: fix internal error from AGFL exhaustion
    c86562e6918a xfs: up(ic_sema) if flushing data device fails
    767a94d81616 xfs: only remap the written blocks in xfs_reflink_end_cow_extent
    005be6684225 xfs: abort intent items when recovery intents fail
    23f3d79fc983 xfs: factor out xfs_defer_pending_abort
    d7d84772c3f0 xfs: allow read IO and FICLONE to run concurrently
    d4eba134c509 xfs: handle nimaps=0 from xfs_bmapi_write in xfs_alloc_file_space
    47b07e51d0c2 xfs: introduce protection for drop nlink
    0fbbfe5fbfbe xfs: make sure maxlen is still congruent with prod when rounding down
    e3aca4536b6b xfs: fix units conversion error in xfs_bmap_del_extent_delay
    fe327b8234d4 xfs: rt stubs should return negative errnos when rt disabled
    6a6bb41b31df xfs: prevent rt growfs when quota is enabled
    e820b13ba866 xfs: hoist freeing of rt data fork extent mappings
    195f22386e19 xfs: bump max fsgeom struct version
    c778631b4abc MAINTAINERS: add Catherine as xfs maintainer for 6.6.y
    73596f5ab35f rust: upgrade to Rust 1.73.0
    aacae44644fb rust: print: use explicit link in documentation
    e8e7a528220a rust: task: remove redundant explicit link
    9b33bb254d1b rust: upgrade to Rust 1.72.1
    31a254f6920a rust: arc: add explicit `drop()` around `Box::from_raw()`
    cff97d683a08 cifs: failure to add channel on iface should bump up weight
    fb708025b1f1 cifs: avoid redundant calls to disable multichannel
    14ef61594a5a phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
    9851389b1c39 dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
    f7799ecf30be perf evlist: Fix evlist__new_default() for > 1 core PMU
    6f67140cf7e1 phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
    5cd8a51517ce dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
    df6a1dc71c1d dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
    43ad9840c123 dmaengine: ti: k3-udma: Report short packet errors
    f24ba6f9f741 dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
    ea42d6cffb0d ext4: regenerate buddy after block freeing failed if under fc replay

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agotestimage: log exception when failing to retrieve artifacts
Alexis Lothoré [Tue, 20 Feb 2024 13:33:12 +0000 (14:33 +0100)] 
testimage: log exception when failing to retrieve artifacts

Despite managing to retrieve the failed ptests artifacts, testimage seems
to dump some retrieval errors like the following one:

WARNING: core-image-ptest-valgrind-1.0-r0 do_testimage: Can not retrieve
/usr/lib/valgrind/ptest from test target

Log the corresponding exception to help analyzing such issue

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolttng-ust: Upgrade 2.13.6 -> 2.13.7
Richard Purdie [Tue, 20 Feb 2024 12:22:01 +0000 (12:22 +0000)] 
lttng-ust: Upgrade 2.13.6 -> 2.13.7

Update one of the patches to account for upstream changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agonumactl: Upgrade 2.0.17 -> 2.0.18
Richard Purdie [Tue, 20 Feb 2024 12:13:35 +0000 (12:13 +0000)] 
numactl: Upgrade 2.0.17 -> 2.0.18

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooverlayfs: add missing vardeps
Christoph Vogtländer [Tue, 20 Feb 2024 11:28:26 +0000 (12:28 +0100)] 
overlayfs: add missing vardeps

Fixes [YOCTO #15120]

Consider OVERLAYFS_WRITABLE_PATHS as dependecy of do_create_overlayfs_units() in
order to rebuild the recipe when changing the used mount point.

Tested in a local recipe by changing the used mount point and verified that the
recipe was re-build: passed

Signed-off-by: Christoph Vogtländer <christoph.vogtlaender@loewensteinmedical.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomeson: use absolute cross-compiler paths
Enguerrand de Ribaucourt [Mon, 19 Feb 2024 16:55:24 +0000 (17:55 +0100)] 
meson: use absolute cross-compiler paths

Among the files generated by meson is compile_commands.json. It is not
used by bitbake during the build. However, if the devtool workspace is
opened inside an IDE, that IDE can use compile_commands.json to
configure linting and code completion. This is notably relied on by the
new devtool ide-sdk command.

The problem is that the IDE using compile_commands.json does not know
the $PATH set-up by bitbake, so it won't find the compiler. This results
in linting errors, like missing headers. We can fix this by expliciting
the absolute compiler paths in meson.cross.

The compile_commands.json specification expressly states:
"All paths specified in the command or file fields must be either
absolute or relative to this directory."
Link: https://clang.llvm.org/docs/JSONCompilationDatabase.html
An alternative way to implement this is to directly change CXX inside
bitbake.conf to make all recipes use absolute compiler paths.Since this
would affect all recipes, so I would like to have the maintainers'
opinion on this. It could make sense to use absolute compiler paths for
all toolchain binaries, we already do so for the sysroot
TOOLCHAIN_OPTIONS.

Discussions have been opened with meson/ninja maintainers to implement
this at their level:
 - https://github.com/ninja-build/ninja/issues/2383
 - https://github.com/mesonbuild/meson/issues/12834
These tools have even less information on the environment so it makes
sense for Yocto to provide the absolute paths.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide: vscode: Configure read-only files
Enguerrand de Ribaucourt [Mon, 19 Feb 2024 16:55:23 +0000 (17:55 +0100)] 
devtool: ide: vscode: Configure read-only files

When debugging or browsing files, the user may fall into external
sources from other packages in the sysroot or dbg-rootfs. Modifying them
will only lead to confusion since they will be overwritten by Yocto. The
user should open them in a separate devtool modify session if they want
to make changes. Meanwhile, we should prevent write access to them.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: ide_sdk: Use bitbake's python3 for generated scripts
Enguerrand de Ribaucourt [Mon, 19 Feb 2024 16:55:21 +0000 (17:55 +0100)] 
devtool: ide_sdk: Use bitbake's python3 for generated scripts

The generated scripts use the sys.path configuration found inside
bitbake. It can be a different python version than the one used on the
host through the IDE.

For instance, when running the generated script
deploy_target_cmake-example-core2-64 from an eSDK generated on another
machine, I got the following exception:
    AssertionError: SRE module mismatch

We need to match the sys.executable to the sys.path.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobash: rebase the patch to fix ptest failure
Xiangyu Chen [Tue, 20 Feb 2024 03:46:48 +0000 (11:46 +0800)] 
bash: rebase the patch to fix ptest failure

This fix commit oe-core: 1b69769b -- bash: changes to SIGINT handler while waiting for a child

Due to the patch adjust and drop some codes to be applicable the tree,
the line number has been changed, that cause test case "run-type" fail.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibsdl2: upgrade 2.28.5 -> 2.30.0
Yi Zhao [Tue, 20 Feb 2024 04:40:45 +0000 (12:40 +0800)] 
libsdl2: upgrade 2.28.5 -> 2.30.0

License-Update: Copyright year updated to 2024.

ChangeLog (https://github.com/libsdl-org/SDL/releases/tag/release-2.30.0):
* Added support for 2 bits-per-pixel indexed surface formats
* Added the function SDL_GameControllerGetSteamHandle() to get the Steam
  API handle for a controller, if available
* Added the event SDL_CONTROLLERSTEAMHANDLEUPDATED which is sent when
  the Steam API handle for a controller changes. This could also change
  the name, VID, and PID of the controller.
* Added the environment variable SDL_LOGGING to control default log
  output

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinsane.bbclass: Allow the warning about virtual/ to be disabled
Peter Kjellerstedt [Mon, 22 Jan 2024 05:52:32 +0000 (06:52 +0100)] 
insane.bbclass: Allow the warning about virtual/ to be disabled

Commit f673d3d239799fb1ab50f4aa5d44187666aa0cd7 introduced a warning for
virtual/ being used in RPROVIDES and RDEPENDS. Make it possible to
disable the warning by removing "virtual-slash from WARN_QA.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool; add support for python_mesonpy class
Tim Orling [Mon, 19 Feb 2024 17:30:24 +0000 (09:30 -0800)] 
recipetool; add support for python_mesonpy class

* Add support to detect the "mesonpy" build-backend for recipetool create.
* Add oe-selftest case for creating a recipe for "siphash24" from pypi.
  https://pypi.org/project/siphash24/

This is by far the simplest recipe using the mesonpy build backend.

Upstream does not provide LICENSE file(s) and we do not detect the
LICENSE so don't check for that result in the test. Likewise, upstream
does not define HOMEPAGE, so skip that result.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython_mesonpy.bbclass: move from meta-python
Tim Orling [Mon, 19 Feb 2024 17:30:22 +0000 (09:30 -0800)] 
python_mesonpy.bbclass: move from meta-python

Move the PEP-517 back-end bbclass from meta-python to support:

[build-system]
build-backend = "mesonpy"

This is the declared backend in python3-numpy since:
https://github.com/numpy/numpy/commit/942fb8caf33a65e449fbf198ecf1cd39be953248

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-meson-python: move from meta-python
Tim Orling [Mon, 19 Feb 2024 17:30:21 +0000 (09:30 -0800)] 
python3-meson-python: move from meta-python

meson-python is a Python build backend built on top of the Meson
build-system. It enables you to use Meson for your Python packages.

https://meson-python.readthedocs.io/en/latest/

It is used as the PEP-517 build-backend for python3-numpy and python3-scipy.

For other projects using the backend, see:
https://meson-python.readthedocs.io/en/latest/projects-using-meson-python.html

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pyproject-metadata: HOMEPAGE; DESCRIPTION
Tim Orling [Mon, 19 Feb 2024 23:49:03 +0000 (15:49 -0800)] 
python3-pyproject-metadata: HOMEPAGE; DESCRIPTION

Add HOMEPAGE and DESCRIPTION that were missing in
the original recipe in meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pyproject-metadata: move from meta-python
Tim Orling [Mon, 19 Feb 2024 21:26:45 +0000 (13:26 -0800)] 
python3-pyproject-metadata: move from meta-python

This is a dependency for python3-meson-python.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython: Drop ${PYTHON_PN}
Richard Purdie [Mon, 19 Feb 2024 16:07:55 +0000 (16:07 +0000)] 
python: Drop ${PYTHON_PN}

python 2 is gone and we don't need the abstraction now, drop the remaining usage
of this variable.

The definition in python3-dir.bbclass is left for now for other layers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oe/patch: Use git notes to store the filenames for the patches
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:32 +0000 (02:28 +0100)] 
lib/oe/patch: Use git notes to store the filenames for the patches

The old way of keeping track of the filenames for the patches that
correspond to the commits was to add a special comment line to the end
of the commit message, e.g., "%% original patch: <filename>", using a
temporary git hook. This method had some drawbacks, e.g.:

* It caused problems if one wanted to push the commits upstream as the
  comment line had to be manually removed.
* The comment line would end up in patches if someone used git
  format-path rather than devtool finish to generate the patches.
* The comment line could interfere with global Git hooks used to
  validate the format of the Git commit message.
* When regenerating patches with `devtool finish --force-patch-refresh`,
  the process typically resulted in adding empty lines to the end of the
  commit messages in the updated patches.

A better way of keeping track of the patch filenames is to use Git
notes. This way the commit messages remain unaffected, but the
information is still shown when, e.g., doing `git log`. A special Git
notes space, refs/notes/devtool, is used to not intefere with the
default Git notes. It is configured to be shown in, e.g., `git log` and
to survive rewrites (i.e., `git commit --amend` and `git rebase`).

Since there is no longer any need for a temporary Git hook, the code
that manipulated the .git/hooks directory has also been removed. To
avoid potential problems due to global Git hooks, --no-verify was added
to the `git commit` command.

To not cause troubles for those who have done `devtool modify` for a
recipe with the old solution and then do `devtool finish` with the new
solution, the code will fall back to look for the old strings in the
commit message if no Git note can be found.

While not technically motivated like above, the way to keep track of
ignored commits is also changed to use Git notes to avoid having
different methods to store similar information.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopatch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored()
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:31 +0000 (02:28 +0100)] 
patch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored()

This makes use of the oe.patch.GitApplyTree.commitIgnored() function to
create commits that shall be ignored by `devtool finish`.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agodevtool: Make use of oe.patch.GitApplyTree.commitIgnored()
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:30 +0000 (02:28 +0100)] 
devtool: Make use of oe.patch.GitApplyTree.commitIgnored()

This makes use of the oe.patch.GitApplyTree.commitIgnored() function to
create commits that shall be ignored by `devtool finish`.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oe/patch: Add GitApplyTree.commitIgnored()
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:29 +0000 (02:28 +0100)] 
lib/oe/patch: Add GitApplyTree.commitIgnored()

This function can be used to create a commit that devtool will ignore
when creating/updating the patches.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oe/patch: Make extractPatches() not extract ignored commits
Peter Kjellerstedt [Mon, 19 Feb 2024 01:28:28 +0000 (02:28 +0100)] 
lib/oe/patch: Make extractPatches() not extract ignored commits

If a commit is marked with "%% ignore" it means it is used by devtool to
keep track of changes to the source code that are not the result of
running do_patch(). These changes need to actually be ignored when
extracting the patches as they typically make no sense as actual patches
in a recipe.

This also adds a new test for oe-selftest that verifies that there are
no patches generated from ignored commits.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoswig: upgrade 4.1.1 -> 4.2.0
Anuj Mittal [Fri, 16 Feb 2024 11:40:32 +0000 (19:40 +0800)] 
swig: upgrade 4.1.1 -> 4.2.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooverlayfs-etc: add option to skip creation of mount dirs
baruch@tkos.co.il [Mon, 12 Feb 2024 18:30:06 +0000 (20:30 +0200)] 
overlayfs-etc: add option to skip creation of mount dirs

The 'preinit' script can't create mount directories when rootfs is
read-only. Add an option to skip this step. The user must make sure that
all required directories are already in the rootfs directory layout.

Cc: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agoell: update 0.61 -> 0.62
Markus Volk [Mon, 19 Feb 2024 06:32:11 +0000 (07:32 +0100)] 
ell: update 0.61 -> 0.62

ver 0.62:
Add support for cleanup functions and macros.
Add support for setting DHCP max attempts.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinitramfs-framework: overlayroot: align bootparams with module name
Johannes Schneider [Tue, 13 Feb 2024 12:24:25 +0000 (13:24 +0100)] 
initramfs-framework: overlayroot: align bootparams with module name

Renaming the 'rootrw' kernel commandline parameter to
'overlayrootrwdev' to both align better with this modules name, and
point out the usage of the variable.

This patch also includes an if block to migrate the old 'rootrw'
block, should it be already used by someone.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agoinitramfs-framework: overlayroot: fix kernel commandline clash
Johannes Schneider [Tue, 13 Feb 2024 12:24:24 +0000 (13:24 +0100)] 
initramfs-framework: overlayroot: fix kernel commandline clash

The initramfs-framwork takes kernel commandline options and converts
them for internal use to variables following the 'bootparam_name'
pattern. The overlayroot module uses 'bootparam_rootfstype' and
'bootparam_rootfsflags' which both collide with linux kernel
parameters 'rootfstype' and 'rootfsflags'.  This collision is solved
by putting the variables in the namespace of the initramfs-framework
module.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agosanity.conf: Require bitbake 2.7.3
Richard Purdie [Mon, 19 Feb 2024 11:57:47 +0000 (11:57 +0000)] 
sanity.conf: Require bitbake 2.7.3

Due to hashserv API changes in siggen, we need bitbake 2.7.3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agosstatesig: Implement new siggen API
Joshua Watt [Sun, 18 Feb 2024 20:08:30 +0000 (13:08 -0700)] 
sstatesig: Implement new siggen API

Implements the new API required for querying unihashes in parallel

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobitbake-layers: Add test case layers setup for custom references
Jermain Horsman [Thu, 8 Feb 2024 13:50:30 +0000 (14:50 +0100)] 
bitbake-layers: Add test case layers setup for custom references

This includes a simple test which creates a layer setup using
custom references, and subsequently modifies the resulting layers
setup using a different custom reference.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agobitbake-layers: Add ability to update the reference of repositories
Jermain Horsman [Thu, 8 Feb 2024 13:50:28 +0000 (14:50 +0100)] 
bitbake-layers: Add ability to update the reference of repositories

This creates a new layers setup with, or, modifies an existing layers
setup using, one or more repositories where the references are provided
by the user.

This is a very minimal implementation, no validation of any reference
is done and it is left to the user to provide a valid value.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agooe-setup-build: add a tool for discovering config templates and setting up builds
Alexander Kanavin [Fri, 16 Feb 2024 11:52:22 +0000 (12:52 +0100)] 
oe-setup-build: add a tool for discovering config templates and setting up builds

This is another piece of the puzzle in setting up builds from nothing
without having to write custom scripts or use external tools.

After layers have been fetched and placed into their respective locations by
oe-setup-layers, one would surely want to proceed to the actual build, and here's how:

1. Without arguments the tool reads available layers
from .oe-layers.json file (written out by oe-setup-layers or a fallback under scripts/),
prints what templates it has found, and asks the user to select one, as seen below.
This will land the user in a shell ready to run bitbake:

=============================================
alex@Zen2:/srv/work/alex$ ./setup-build
Available build configurations:

1. alex-configuration-gadget
This configuration will set up a build for the purposes of supporting gadget.

2. alex-configuration-gizmo
This configuration allows building a gizmo.

3. poky-default
This is the default build configuration for the Poky reference distribution.

Re-run with 'list -v' to see additional information.
Please choose a configuration by its number: 1
Running: TEMPLATECONF=/srv/work/alex/meta-alex/conf/templates/configuration-gadget . /srv/work/alex/poky/oe-init-build-env /srv/work/alex/build-alex-configuration-gadget && /bin/bash
You had no conf/local.conf file. This configuration file has therefore been
created for you from /srv/work/alex/meta-alex/conf/templates/configuration-gadget/local.conf.sample
You may wish to edit it to, for example, select a different MACHINE (target
hardware).

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you from /srv/work/alex/meta-alex/conf/templates/configuration-gadget/bblayers.conf.sample
To add additional metadata layers into your configuration please add entries
to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    https://docs.yoctoproject.org

For more information about OpenEmbedded see the website:
    https://www.openembedded.org/

This configuration will set up a build for the purposes of supporting gadget.
Please refer to meta-alex/README for additional details and available bitbake targets.
==============================================

2. It is also possible to list available configurations without selecting one using
'setup-build list' or to select and setup one non-interactively with 'setup-build setup'.

3. The full set of command line options is:

$ ./setup-build --help
usage: setup-build [-h] [--layerlist LAYERLIST] {list,setup} ...

A script that discovers available build configurations and sets up a build environment based on one of them. Run without arguments to choose one interactively.

positional arguments:
  {list,setup}
    list                List available configurations
    setup               Set up a build environment and open a shell session with it, ready to run builds.

optional arguments:
  -h, --help            show this help message and exit
  --layerlist LAYERLIST
                        Where to look for available layers (as written out by setup-layers script) (default is /srv/work/alex/.oe-layers.json).

$ ./setup-build list --help
usage: setup-build list [-h] [-v]

optional arguments:
  -h, --help  show this help message and exit
  -v          Print detailed information and usage notes for each available build configuration.

$ ./setup-build setup --help
usage: setup-build setup [-h] [-c configuration_name] [-b build_path] [--no-shell]

optional arguments:
  -h, --help            show this help message and exit
  -c configuration_name
                        Use a build configuration configuration_name to set up a build environment (run this script with 'list' to see what is available)
  -b build_path         Set up a build directory in build_path (run this script with 'list -v' to see where it would be by default)
  --no-shell            Create a build directory but do not start a shell session with the build environment from it.

4. There's an an added hint in oe-setup-layers about how to proceed (as it is really not user-friendly
to fetch the layer repos successfully and then exit without a word), and a symlink to the script
from the top level layer checkout directory.

5. The selftest to check layer setup has been adjusted to run a basic check for template
discovery and build setup. The revision of poky to be cloned has been bumped to 4.1,
as that's the first version with a default template in a standard location.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>