]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
12 months agolinux-yocto/6.10: update to v6.10.12
Bruce Ashfield [Mon, 14 Oct 2024 13:45:33 +0000 (09:45 -0400)] 
linux-yocto/6.10: update to v6.10.12

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

    e0081d1e9c57 Linux 6.10.12
    47e0c6b594de powercap: intel_rapl: Change an error pointer to NULL
    e872738e670d USB: usbtmc: prevent kernel-usb-infoleak
    3f24124ed89f USB: serial: pl2303: add device id for Macrosilicon MS3020
    59ea0c908ade can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into mcp251xfd_chip_start/stop()
    3f08a4a456b1 can: mcp251xfd: properly indent labels
    d285ca605b66 nvme-pci: qdepth 1 quirk
    fa9e1c1b1f38 Bluetooth: btintel_pcie: Allocate memory for driver private data
    3f9d88fbc2eb netfilter: nft_socket: Fix a NULL vs IS_ERR() bug in nft_socket_cgroup_subtree_level()
    ecc5368315af netfilter: nft_socket: make cgroupsv2 matching work with namespaces
    f8a7fa068be0 powercap/intel_rapl: Fix the energy-pkg event for AMD CPUs
    e3203070a635 powercap/intel_rapl: Add support for AMD family 1Ah
    41db9aa05600 drm: Expand max DRM device number to full MINORBITS
    7742221a263f accel: Use XArray instead of IDR for minors
    8b0a86b45ae4 drm: Use XArray instead of IDR for minors
    e4ffea01adf3 ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
    8e7bef408261 ocfs2: add bounds checking to ocfs2_xattr_find_entry()
    b658d9d56a8f spi: spidev: Add missing spi_device_id for jg10309-01
    dd54b7ab069f drm/amd/pm: fix the pp_dpm_pcie issue on smu v14.0.2/3
    e7a76ab59372 tools: hv: rm .*.cmd when make clean
    4e512c442da8 x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency
    e13431de1dfd ice: check for XDP rings instead of bpf program when unconfiguring
    8d92ea5741e1 platform/x86/amd: pmf: Make ASUS GA403 quirk generic
    cb2936c24a7a smb: client: fix hang in wait_for_response() for negproto
    ecc8b3b6cc44 spi: bcm63xx: Enable module autoloading
    ed07a5988031 drm: komeda: Fix an issue related to normalized zpos
    d8635fbd44e9 ALSA: hda: add HDMI codec ID for Intel PTL
    69e4321192d7 clk: qcom: gcc-sm8650: Don't use shared clk_ops for QUPs
    6784da0b04dc ASoC: amd: yc: Add a quirk for MSI Bravo 17 (D7VEK)
    dc41e72e33b8 spi: spidev: Add an entry for elgin,jg10309-01
    9173a2003d8e ASoC: mediatek: mt8188-mt6359: Modify key
    feff318d6d2d ASoC: fix module autoloading
    09ab4b2b460d ASoC: tda7419: fix module autoloading
    ca50510bac3c ASoC: google: fix module autoloading
    7cd03e167735 ASoC: intel: fix module autoloading
    98865eac258a ASoC: Intel: soc-acpi-cht: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    62d0c6ce2cf0 can: mcp251xfd: mcp251xfd_ring_init(): check TX-coalescing configuration
    8809b849687a can: m_can: Limit coalescing to peripheral instances
    d154700d6280 wifi: iwlwifi: clear trans->state earlier upon error
    e31a0656848a wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()
    7188b7a72320 wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead
    55086c97a55d wifi: iwlwifi: mvm: pause TCM when the firmware is stopped
    5116deb3ee26 wifi: iwlwifi: mvm: fix iwl_mvm_max_scan_ie_fw_cmd_room()
    05ccaedbd651 wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation
    0c211da3fcb8 wifi: iwlwifi: lower message level for FW buffer destination
    05969a694471 LoongArch: KVM: Invalidate guest steal time address on vCPU reset
    ae2b89a2a164 LoongArch: Define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE
    3520cf2e3cc3 net: ftgmac100: Ensure tx descriptor updates are visible
    66e05bb477da platform/x86: x86-android-tablets: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    6b65b4f1c4c0 platform/x86: asus-wmi: Fix spurious rfkill on UX8406MA
    32ee7b7e9d31 microblaze: don't treat zero reserved memory regions as error
    9afeb3d0c1fe hwmon: (asus-ec-sensors) remove VRM temp X570-E GAMING
    ddbb44b11292 pinctrl: at91: make it work with current gpiolib
    338425c8ba38 scsi: lpfc: Fix overflow build issue
    4b0d65561ee8 ALSA: hda/realtek - FIxed ALC285 headphone no sound
    478b57ec45bf ALSA: hda/realtek - Fixed ALC256 headphone no sound
    0aa8eca1d4dc ASoC: allow module autoloading for table board_ids
    486d4c4485fb ASoC: allow module autoloading for table db1200_pids
    4830fa8eb426 ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile
    706ddb6363c0 ASoC: SOF: mediatek: Add missing board compatible
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agospdx30: Link license and build by alias
Joshua Watt [Mon, 7 Oct 2024 16:24:15 +0000 (10:24 -0600)] 
spdx30: Link license and build by alias

The license information and Build created by do_create_spdx are changed
to be referenced by their link alias instead of the actual SPDX ID. This
fixes a case where do_create_package_spdx would pull these from
mismatching sstate, and then the SPDX IDs would be unresolved when
assembling the final document

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agobitbake.conf: Mark VOLATILE_TMP_DIR as obsolete
Niko Mauno [Mon, 14 Oct 2024 08:27:04 +0000 (08:27 +0000)] 
bitbake.conf: Mark VOLATILE_TMP_DIR as obsolete

This variable was removed in
https://git.yoctoproject.org/poky/commit/?id=2f46b6f27dfa3a9d5ad177900fcecfe64c3536f1
("bitbake.conf: drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead")
so ensure that distributions become aware that it no longer has any
effect.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agobitbake.conf: Mark VOLATILE_LOG_DIR as obsolete
Niko Mauno [Mon, 14 Oct 2024 08:27:03 +0000 (08:27 +0000)] 
bitbake.conf: Mark VOLATILE_LOG_DIR as obsolete

This variable was removed in
https://git.yoctoproject.org/poky/commit/?id=2f8806deb7655b37d6f8d12ff54680d6acf7a298
("bitbake.conf: drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead")
so ensure that distributions become aware that it no longer has any
effect.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoiproute2: upgrade 6.10 -> 6.11
Changhyeok Bae [Sun, 13 Oct 2024 21:52:51 +0000 (21:52 +0000)] 
iproute2: upgrade 6.10 -> 6.11

This is regular release of iproute2 corresponding to the 6.11 kernel.
Most of the changes are to the man pages.
Release is smaller than usual less activity during summer vacations

The two musl build fixes have been backported from upstream.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoethtool: upgrade 6.10 -> 6.11
Changhyeok Bae [Sun, 13 Oct 2024 21:35:15 +0000 (21:35 +0000)] 
ethtool: upgrade 6.10 -> 6.11

Release notes:
* Feature: cmis: print active and inactive firmware versions
* Feature: flash transceiver module firmware (--flash-module-firmware)
* Feature: add T1BRR 10Mb/s mode to link mode tables
* Feature: support for disabling netlink from command line
* Fix: fix lanes parameter format specifier
* Fix: add missing clause 33 PSE manual description
* Fix: qsf: Better handling of Page A2h netlink read failure
* Fix: rss: retrieve ring count using ETHTOOL_GRXRINGS ioctl (-x)
* Misc: man page formatting fix

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agorepo: upgrade 2.47 -> 2.48
Changhyeok Bae [Sun, 13 Oct 2024 21:29:55 +0000 (21:29 +0000)] 
repo: upgrade 2.47 -> 2.48

Changelog:
- sync: Always use WORKER_BATCH_SIZE
- project: Handle git sso auth failures as repo exit
- superproject: Remove notice about beta
- project: run fetch --refetch on unable to not parse commit
- Disable git terminal prompt during fetch/clone
- init: add --manifest-upstream-branch
- man: regenerate man pages

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoffmpeg: Disable asm optimizations on x86
Khem Raj [Sun, 13 Oct 2024 19:17:03 +0000 (12:17 -0700)] 
ffmpeg: Disable asm optimizations on x86

disable asm code if PIC is required, as the provided asm
decidedly is not PIC for x86.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agogcc-source: Fix racing on building gcc-source-14.2.0 and lib32-gcc-source-14.2.0
Hongxu Jia [Sat, 12 Oct 2024 07:18:44 +0000 (15:18 +0800)] 
gcc-source: Fix racing on building gcc-source-14.2.0 and lib32-gcc-source-14.2.0

While enabling multilib, build gcc-source-14.2.0 and lib32-gcc-source-14.2.0
at the same time:

    $ MACHINE = "qemux86-64"
    $ require conf/multilib.conf
    $ MULTILIBS = "multilib:lib32"
    $ DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
    $ bitbake gcc-source-14.2.0 lib32-gcc-source-14.2.0
    ...
    $ cat tmp-glibc/work-shared/gcc-14.2.0-r0.vr2401/temp/log.task_order
    20241012-064533.415426 do_recipe_qa (2688052): log.do_recipe_qa.2688052
    20241012-064533.463783 do_recipe_qa (2688051): log.do_recipe_qa.2688051
    20241012-064533.805164 do_fetch (2688257): log.do_fetch.2688257
    20241012-064533.852955 do_fetch (2688256): log.do_fetch.2688256
    20241012-064617.823714 do_unpack (2698542): log.do_unpack.2698542
    20241012-064617.871730 do_unpack (2698541): log.do_unpack.2698541
    ...

There are two tasks for do_fetch, do_unpack and others, so there are race issues.

Both of them have the same hardcode 'gcc' prefix in ${WORKDIR} and
${S}, explicitly disable lib32-gcc-source-14.2.0 for multilib

Set gcc-source as BPN of gcc-source-14.2.0

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoqemu: Do not define sched_attr with glibc >= 2.41
Khem Raj [Fri, 11 Oct 2024 19:43:15 +0000 (12:43 -0700)] 
qemu: Do not define sched_attr with glibc >= 2.41

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoopenssh: Be more restrictive on private key file permissions
Khem Raj [Fri, 11 Oct 2024 19:42:51 +0000 (12:42 -0700)] 
openssh: Be more restrictive on private key file permissions

Sometimes default permissions on filesystems can be more permissive
e.g. 0644, this can make the private key file created here to inherit
those permissions and these permissions can then cause ssh server to
not allow ssh connections due to non-secure permissions on file.

Reported-by: Jean-Michel Papy <jean-michel.papy@exail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-pip: add missing RDEPENDS
Bartosz Golaszewski [Fri, 11 Oct 2024 19:16:54 +0000 (21:16 +0200)] 
python3-pip: add missing RDEPENDS

pip3 package is missing the runtime dependency on tomllib. Add
python3-tomllib to the recipe's RDEPENDS. While at it: order the
dependencies alphabetically.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agocve-check-update-nvd2-native: Incremement DL_DIR database location
Richard Purdie [Fri, 11 Oct 2024 10:56:40 +0000 (11:56 +0100)] 
cve-check-update-nvd2-native: Incremement DL_DIR database location

We're seeing a lot of sqlite database corruption issues in our automated
testing. It is unclear why this is happening. There were process
imrpovements implemented in master and it is unclear if older releases
are somehow making those changes ineffective or if the problem is
elsewhere.

By changing the location in DL_DIR, we split the two sets of accesses
to be separate and can isolate whether the master changes really did
improve things or not. If successful, we may consider backporting those
changes to the stable releases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoovmf-native: remove .pyc files from install
Mikko Rapeli [Mon, 14 Oct 2024 10:28:16 +0000 (13:28 +0300)] 
ovmf-native: remove .pyc files from install

They break builds which share sstate files on different
machines and paths:

ERROR: ovmf-edk2-stable202408-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes-global/staging.bbclass', lineno: 624, function: extend_recipe_sysroot
     0620:
     0621:    # Handle deferred binfiles
     0622:    for l in binfiles:
     0623:        (targetdir, dest) = binfiles[l]
 *** 0624:        staging_copyfile(l, targetdir, dest, postinsts, seendirs)
     0625:
     0626:    bb.note("Installed into sysroot: %s" % str(msg_adding))
     0627:    bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
     0628:
File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes-global/staging.bbclass', lineno: 165, function: staging_copyfile
     0161:        os.symlink(linkto, dest)
     0162:        #bb.warn(c)
     0163:    else:
     0164:        try:
 *** 0165:            os.link(c, dest)
     0166:        except OSError as err:
     0167:            if err.errno == errno.EXDEV:
     0168:                bb.utils.copyfile(c, dest)
     0169:            else:
Exception: FileExistsError: [Errno 17] File exists: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-667282/tmp/sysroots-components/x86_64/ovmf-native/usr/bin/edk2_basetools/BaseTools/Source/Python/AutoGen/__pycache__/WorkspaceAutoGen.cpython-312.pyc' -> '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-667282/tmp/work/core2-64-poky-linux/ovmf/edk2-stable202408/recipe-sysroot-native/usr/bin/edk2_basetools/BaseTools/Source/Python/AutoGen/__pycache__/WorkspaceAutoGen.cpython-312.pyc'

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: Don't used cachedpath for os.lstat()
Richard Purdie [Mon, 14 Oct 2024 10:05:59 +0000 (11:05 +0100)] 
insane: Don't used cachedpath for os.lstat()

The functions behave slightly differently to the functions they're
caching and the use in insane.bbclass isn't compatible. For now, to
avoid build failures, switch back to the stat calls. We may be able
to improve cachedpath or change the call sites.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooeqa/runtime/ssh: Fix incorrect timeout fix
Richard Purdie [Sun, 13 Oct 2024 22:02:16 +0000 (23:02 +0100)] 
oeqa/runtime/ssh: Fix incorrect timeout fix

I'd meant to change the command timeout in the previous change, fix
the correct one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoqemurunner: Clean up serial_lock handling
Richard Purdie [Sun, 13 Oct 2024 07:37:07 +0000 (08:37 +0100)] 
qemurunner: Clean up serial_lock handling

Avoid "RuntimeError: release unlocked lock" since the lock shouldn't
be locked even in the error path. Add a try/finally path to ensure
this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoresulttool/regression.py: skip checking status for ptestresult.rawlogs/ptestresult...
Changqing Li [Fri, 11 Oct 2024 02:19:11 +0000 (10:19 +0800)] 
resulttool/regression.py: skip checking status for ptestresult.rawlogs/ptestresult.sections

ptestresult.rawlogs/ptestresult.sections don't have status is expected,
so skip them to avoid following error when running "resulttool regression
base target":

ERROR: Failed to retrieved base test case status: ptestresult.rawlogs
ERROR: Failed to retrieved base test case status: ptestresult.sections

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoresulttool/regression.py: fix AttributeError
Changqing Li [Fri, 11 Oct 2024 02:19:10 +0000 (10:19 +0800)] 
resulttool/regression.py: fix AttributeError

Fix following AttributeError when running "resulttool regression base target":
  File "/yocto/poky/scripts/lib/resulttool/regression.py", line 322, in regression_common
    res, resstr = compare_result(logger, c, b, base_results[a][c], target_results[a][b], args.limit)
AttributeError: 'Namespace' object has no attribute 'limit'

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agowic/rootfs.py: allow --exclude-path option to exclude symlinks
Yi Zhao [Fri, 11 Oct 2024 09:19:35 +0000 (17:19 +0800)] 
wic/rootfs.py: allow --exclude-path option to exclude symlinks

Currently, if we specify a symbolic link in --exclude-path option,
we will get the following error in do_image_wic:

ERROR: --exclude-path: Must point inside the rootfs: usr/bin/hello.link

This is because it uses os.path.realpath to eliminate symbolic links. To
exclude symbolic links, use os.path.abspath instead of os.path.realpath.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooeqa/selftest/cases: add basic barebox tests
Enrico Jorns [Fri, 11 Oct 2024 12:01:17 +0000 (14:01 +0200)] 
oeqa/selftest/cases: add basic barebox tests

This adds basic tests for qemuarm and qemuarm64.

So far, barebox fails to run properly under KVM for the same reasons
u-boot fails to run.

A patch series to address the problem was submitted by Ahmad Fatoum
after debugging the oe-selftest failures for this series:

https://lore.kernel.org/barebox/20241009060511.4121157-1-a.fatoum@pengutronix.de/

For now, simply disable KVM for these tests.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooeqa/selftest/cases: add basic u-boot test
Enrico Jorns [Fri, 11 Oct 2024 12:01:16 +0000 (14:01 +0200)] 
oeqa/selftest/cases: add basic u-boot test

This adds basic tests for qemuarm and qemuarm64.

So far, U-Boot fails to run properly under KVM since this requires some
special care with instructions used for MMIO accesses.

Reported upstream by Ahmad Fatoum after debugging the oe-selftest
failures for this series:
https://lore.kernel.org/u-boot/2211f9f0-cd7d-4b55-860d-a34c04877e7b@pengutronix.de/

For now, simply disable KVM for these tests.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooeqa: support passing custom boot patterns to runqemu
Enrico Jorns [Fri, 11 Oct 2024 12:01:15 +0000 (14:01 +0200)] 
oeqa: support passing custom boot patterns to runqemu

This allows defining non-standard patterns from QEMU tests just as they
are already supported by the testimage.bbclass.

Will allow testing non-Linux shells in QEMU, too (e.g. a U-Boot shell or
another bootloader shell).

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooeqa/utils/qemurunner: support ignoring vt100 escape sequences
Enrico Jorns [Fri, 11 Oct 2024 12:01:14 +0000 (14:01 +0200)] 
oeqa/utils/qemurunner: support ignoring vt100 escape sequences

If we talk to terminals that like colors, we need to ignore the vt100
escape sequences when matching strings.

An unprocessed barebox console prompt would e.g. look like:

  ESC[1;32mbarebox@ESC[1;36mARM QEMU virt64:/ESC[0m

where we cannot match for something like "barebox@ARM QEMU virt64:/".
The same applies to colored Linux terminal output of course.

The "\x1b\[" from the regex catches the standard start of ANSI escape
sequence while the rest catches the actual command code executed.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agobarebox: set default BAREBOX_CONFIG for qemu machines
Enrico Jorns [Fri, 11 Oct 2024 12:01:13 +0000 (14:01 +0200)] 
barebox: set default BAREBOX_CONFIG for qemu machines

These are set in the barebox class rather in the corresponding machines
(where they would belong otherwise) to keep the impact of barebox to
oe-core minimal for now.

"multi_v7_defconfig" is used for qemuarm since this is the default
barebox armv7 config that just enables all supported platforms.

"multi_v8_defconfig" is used for qemuarm64 sine this is the default
barebox armv8 config that just enables all supported platforms.

"efi_defconfig" is used for qemux86-64 which is the primary platform
where barebox will not be the first stage bootloader but an EFI payload.

Since these changes make barebox a provider for virtual/bootloader,
explicitly default to u-boot in the corresponding MACHINE configs to not
unnecessarily surprise users.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agobarebox-tools: add initial barebox tools support
Marco Felsch [Fri, 11 Oct 2024 12:01:12 +0000 (14:01 +0200)] 
barebox-tools: add initial barebox tools support

Add initial support to build the barebox tools for the host and the
target.

Some of the tools are generic barebox utilities (like 'bareboximd' for
image meta data inspection or 'bareboxenv' for accessing the barebox
environment) some are SoC family-specific specific utilities (like
'imx-usb-loader' or 'omap3-usb-loader').

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agobarebox: add initial support
Marco Felsch [Fri, 11 Oct 2024 12:01:11 +0000 (14:01 +0200)] 
barebox: add initial support

This adds the support for the barebox bootloader to oe-core. The recipe
is inspired by meta-ptx [1] but is a major rework of the one found there.

Barebox comes with a wide range of supported architectures and follows
the concepts of Linux in various aspects like the driver model, the
shell, or the virtual file system.
This not only eases porting Linux drivers but also makes barebox a
developer-friendly and feature-rich bootloader alternative [2].

For barebox (like for the kernel or other bootloaders) it is quite
likely that people will not just build the original recipe but need to
adapt it, point to custom repositories, apply patch stacks,
COMPATIBLE_MACHINE etc. They may also choose to have different recipe
names for different variants.
Having only a single .bb file and requiring to copy or .bbappend it is
inconvenient and results in unnecessary code duplication. Therefore, the
base support for building barebox is encapsulated in barebox.bbclass
(like kernel.bbclass for the kernel).

Adds barebox to maintainers.inc but excludes it from the maintainers
check since with the current check mechanism barebox would be skipped
(and making the check fail) due to not being the PREFERRED_PROVIDER for
virtual/bootloader.

[1] https://github.com/pengutronix/meta-ptx/tree/master/recipes-bsp/barebox
[2] https://www.barebox.org/demo/?graphic=0

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agolib/oe/package-manager: skip processing installed-pkgs with empty globs
Claus Stovgaard [Mon, 7 Oct 2024 20:39:46 +0000 (22:39 +0200)] 
lib/oe/package-manager: skip processing installed-pkgs with empty globs

We can skip processing the installed-pkgs file if globs is empty.
This is the case if self.d.getVar for IMAGE_INSTALL_COMPLEMENTARY
returns an empty string. If globs is an empty string the result from
processing with empty glob in oe-pkgdata-util will always be 0 packages
to install.

Instead of return early on this we just skip and still generate the
locale archive if needed.

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agolibarchive: Update SRC_URI to use https
Jermain Horsman [Thu, 10 Oct 2024 09:29:13 +0000 (11:29 +0200)] 
libarchive: Update SRC_URI to use https

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopackage_rpm: Check if file exists before open()
Pavel Zhukov [Thu, 10 Oct 2024 17:45:45 +0000 (19:45 +0200)] 
package_rpm: Check if file exists before open()

Exception handler tries to read() /etc/passwd file in sysroot
and if file doesn't exist for any reason then it raises FileNotFoundError
exception which mask the original source of the problem and makes
debugging of the issue more difficult.

Fixes:
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/codebuild/output/src1899304708/src/build/tmp-container/work/core2-64-oe-linux/emqx-bin/4.3.12/recipe-sysroot/etc/passwd'

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: rewrite package_qa_check_arch
Ross Burton [Thu, 10 Oct 2024 16:06:23 +0000 (17:06 +0100)] 
insane: rewrite package_qa_check_arch

Reorder and comment the architecture checks to make it clearer what they
are actually checking.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: use oe.cachedpath.CachedPath instead of os.path
Ross Burton [Thu, 10 Oct 2024 16:06:22 +0000 (17:06 +0100)] 
insane: use oe.cachedpath.CachedPath instead of os.path

The insane QAPATHTESTs make many os.stat() calls, the majority of which
are redundant with caching as the initial sweep does a stat() on every
entry to determine if it is a file or a directory, and from then on each
test that does further stat()s is redundant as the tree doesn't change.

Switch os.stat() and friends (os.path.isfile(), etc) to use a common
oe.cachedpath.CachedPath() instance that is shared between all of the
functions, meaning only one stat is done.

In my test case of ltp:do_package_qa, this reduces the time taken from
44s to 37s.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: optimise test in package_qa_check_shebang_size
Ross Burton [Thu, 10 Oct 2024 16:06:21 +0000 (17:06 +0100)] 
insane: optimise test in package_qa_check_shebang_size

Check whether the elf is not None first, before doing os.stat() calls
on disk. Also don't check anything that isn't a file, not just FIFOs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: micro-optimise the sweep of pkgfiles
Ross Burton [Thu, 10 Oct 2024 16:06:20 +0000 (17:06 +0100)] 
insane: micro-optimise the sweep of pkgfiles

Don't actively do more work:

- Exit early if there are no packages being generated
- Don't iterate repeatedly when removing CONTROL and DEBIAN
- Extend a list with another list instead of appending item by item
- Remove unused variables

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: tidy up objdump preloading in package_qa_walk()
Ross Burton [Thu, 10 Oct 2024 16:06:19 +0000 (17:06 +0100)] 
insane: tidy up objdump preloading in package_qa_walk()

Move the prepopulate function out of global scope, and access the
dictionary once instead of repeatedly.

This still results in each ELF being opened twice, but this avoids
opening all of the files at once and the ELFFile.open() call is fairly
fast.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: check for RUNPATH as well as RPATH
Ross Burton [Thu, 10 Oct 2024 16:06:18 +0000 (17:06 +0100)] 
insane: check for RUNPATH as well as RPATH

Since oe-core 66f8a7 merged in 2023[1], ld sets DT_RUNPATH instead of
DT_RPATH when -rpath is specified, which we don't check for.

Update the insane tests to look at both RPATH and RUNPATH.

[1] oe-core 66f8a745668a067d8d763fa2af3e65f26c9c1ebe

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoinsane: only parse ELFs if they're files, not symlinks
Ross Burton [Thu, 10 Oct 2024 16:06:17 +0000 (17:06 +0100)] 
insane: only parse ELFs if they're files, not symlinks

This reduces the number of files that need to be swept by not scanning
eg the library symlinks, and means we can remove the explicit islink()
checks in many of the tests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooe/elf: don't regenerate machine data on every call
Ross Burton [Thu, 10 Oct 2024 16:06:16 +0000 (17:06 +0100)] 
oe/elf: don't regenerate machine data on every call

Every time oe.elf.machine_dict() is called a large dictionary is created
and returned. However, the "arch" package_qa test will call this method
for every binary in a package, which results in a lot of dictionary
creation.

Concrete exmaple: in running ltp:do_package_qa, the arch test takes 25%
of the runtime, and opitimising the machine_dict() call to cache the
generated dictionary reduces the runtime from 57s to 44s.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agocml1.bbclass: do_diffconfig: Don't override .config with .config.orig
Robert Yang [Tue, 8 Oct 2024 15:47:27 +0000 (08:47 -0700)] 
cml1.bbclass: do_diffconfig: Don't override .config with .config.orig

Fixed:
1) $ bitbake virtual/kernel -cmenuconfig
Do some changes and save the new config to default .config.
2) $ bitbake virtual/kernel -cdiffconfig
The config fragment is dumped into ${WORKDIR}/fragment.cfg.

But the .config which was saved by step #1 is overridden by .config.orig, so
the changes will be lost if run 'bitbake virtual/kernel'

And the following comment is for subprocess.call(), not for shutil.copy(),
so move subprocess.call() to the correct location.
    # No need to check the exit code as we know it's going to be
    # non-zero, but that's what we expect.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agolibjpeg-turbo: remove redundant RUNPATH entries
Ross Burton [Tue, 8 Oct 2024 19:30:56 +0000 (20:30 +0100)] 
libjpeg-turbo: remove redundant RUNPATH entries

Our RPATH sanity checks currently don't check RUNPATH (patch incoming),
but the libjpeg objects are built with a RUNPATH set to ${libdir}.

RUNPATH is less of a problem than RPATH (because it is used after the
standard search), but redundant entries are still redundant so lets
remove them anyway.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoffmpeg: no need for textrel INSANE_SKIP
Ross Burton [Tue, 8 Oct 2024 19:30:55 +0000 (20:30 +0100)] 
ffmpeg: no need for textrel INSANE_SKIP

It appears in testing that modern ffmpeg no longer needs to disable PIC,
so there's no need to ignore textrel warnings.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoffmpeg: nasm is x86 only, so only DEPEND if x86
Ross Burton [Tue, 8 Oct 2024 19:30:54 +0000 (20:30 +0100)] 
ffmpeg: nasm is x86 only, so only DEPEND if x86

No need to depend on nasm if we're not going to use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agooeqa/runtime/ssh: Rework ssh timeout
Richard Purdie [Thu, 10 Oct 2024 09:32:06 +0000 (10:32 +0100)] 
oeqa/runtime/ssh: Rework ssh timeout

After the changes to improve this test, we keep seeing image testing ssh
failures, particularly on mips.

It looks like part of the problem is that on a loaded system, 5s is too short
for mips to reliably establish an ssh connection. I've seen logs where it keeps
timing out and fails to work, then the debug code successfully uses ssh later after
everything else fails.

Change the timings/retries to give slow platforms enough time to respond.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agovolatile-binds: mount-copybind: fix typo
Ulrich Ölmann [Thu, 10 Oct 2024 07:14:01 +0000 (09:14 +0200)] 
volatile-binds: mount-copybind: fix typo

Amend a small typing error.

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoxz: upgrade 5.6.2 -> 5.6.3
Wang Mingyu [Wed, 9 Oct 2024 05:49:15 +0000 (13:49 +0800)] 
xz: upgrade 5.6.2 -> 5.6.3

Changelog:
 https://github.com/tukaani-project/xz/releases/tag/v5.6.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoxwayland: upgrade 24.1.2 -> 24.1.3
Wang Mingyu [Wed, 9 Oct 2024 05:49:14 +0000 (13:49 +0800)] 
xwayland: upgrade 24.1.2 -> 24.1.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoxkeyboard-config: upgrade 2.42 -> 2.43
Wang Mingyu [Wed, 9 Oct 2024 05:49:13 +0000 (13:49 +0800)] 
xkeyboard-config: upgrade 2.42 -> 2.43

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agowireless-regdb: upgrade 2024.07.04 -> 2024.10.07
Wang Mingyu [Wed, 9 Oct 2024 05:49:12 +0000 (13:49 +0800)] 
wireless-regdb: upgrade 2024.07.04 -> 2024.10.07

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agottyrun: upgrade 2.34.0 -> 2.35.0
Wang Mingyu [Wed, 9 Oct 2024 05:49:11 +0000 (13:49 +0800)] 
ttyrun: upgrade 2.34.0 -> 2.35.0

Changelog:
=============
  Changes of existing tools:
  - cpacfstats: Add support for FULL XTS (MSA 10) and HMAC (MSA 11) PAI counter
  - cpuplugd: Make cpuplugd compatible with hiperdispatch
  - dbginfo.sh: Add network sockstat info
  - pvapconfig: s390x exclusive build
  - zdev: Add option to select IPL device
  - zdump/dfo_s390: Support s390 DFO for vr-kernel dumps
  - zipl: Add support of mirror devices

  Bug Fixes:
  - (genprotimg|zipl)/boot: discard .note.package ELF section to save memory
  - netboot/mk-s390image: Fix size when argument is a symlink
  - ziorep_config: Fix warning message when multipath device is not there.
  - zipl: Fix problems when target parameters are specified by user
  - zipl: Fix segfault when creating device-based dumps with '--dry-run'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoshaderc: upgrade 2024.2 -> 2024.3
Wang Mingyu [Wed, 9 Oct 2024 05:49:10 +0000 (13:49 +0800)] 
shaderc: upgrade 2024.2 -> 2024.3

Changelog:
===========
- Update dependencies: Glslang, SPRIV-Tools, SPIRV-Headers
   - SPIRV-Tools is at v2024.4.rc1
   - This incorporates a SPIRV-Tools fix which was limiting parallelism.
     Validator friendly name generation was serializing on a mutex
     protecting the locale object.
- During HLSL compilation or any optimizing compile, don't tell the
  validator to use "friendly names".  This should save time spent in the
  initial validation step of the optimization recipe.
- Adapt test golden results to Glslang changes which reorder
  decorations by object enum value.
- Fix ndk-build library dependencies: libshaderc_util depends on glslang
- Use Python 3.12 on Linux CI bots
- Fix Python 3.12 warnings for string escapes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-sphinx-rtd-theme: upgrade 2.0.0 -> 3.0.0
Wang Mingyu [Wed, 9 Oct 2024 05:49:09 +0000 (13:49 +0800)] 
python3-sphinx-rtd-theme: upgrade 2.0.0 -> 3.0.0

Changelog:
===========
- Trigger search modal on "Search docs" input focus
- Show hidden version in selector if it's the current active version
- Show version/language selectors below the title
- Docs: do not sign Git tag
- Docs: update the installation note
- Theme option flyout to enable/disable theme's flyout
- Populate html_context with READTHEDOCS_* environment variables
- Tests: sphinxdev tox environment installs Sphinx from master
- Docs: update releasing
- Adjust the expected test_basic output to match Sphinx 7.3+
- Addons: integrate with new beta addons flyout
- Remove html5shiv
- Remove Sphinx<5 compatibility leftovers
- Remove pytest warnings

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-spdx-tools: upgrade 0.8.2 -> 0.8.3
Wang Mingyu [Wed, 9 Oct 2024 05:49:08 +0000 (13:49 +0800)] 
python3-spdx-tools: upgrade 0.8.2 -> 0.8.3

Changelog:
==============
- fix license expression error handling in tag-value parser
- spdx3: software_purpose: add REQUIREMENT type
- fix tag-value parser: parse Tool or Organization as annotator
- shorten output of FileNotFoundError when called via the CLI
- fix tag-value output when related_spdx_element_id is "NONE" or "NOASSERTION"
- catch decoding errors while parsing using the cli tool
- replace Licensing() with spdx_licensing
- spdx3: element_writer: switch from tab characters to two spaces
- fix tag-value parser to allow NONE and NOASSERTION for package source info as they are valid strings
- update changelog for 0.8.3 release

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-setuptools-rust: upgrade 1.10.1 -> 1.10.2
Wang Mingyu [Wed, 9 Oct 2024 05:49:07 +0000 (13:49 +0800)] 
python3-setuptools-rust: upgrade 1.10.1 -> 1.10.2

Changelog:
 Fix deprecation warning from use of wheel.bdist_wheel.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-pycryptodome(x): upgrade 3.20.0 -> 3.21.0
Wang Mingyu [Wed, 9 Oct 2024 05:49:06 +0000 (13:49 +0800)] 
python3-pycryptodome(x): upgrade 3.20.0 -> 3.21.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-pefile: upgrade 2023.2.7 -> 2024.8.26
Wang Mingyu [Wed, 9 Oct 2024 05:49:05 +0000 (13:49 +0800)] 
python3-pefile: upgrade 2023.2.7 -> 2024.8.26

License-Update: Copyright year updated to 2024

Changelog:
===========
- Close the data attribute before reassigning it
- Floor division (//) does mathematical division with the floor function applied to the result.
- Update new dvrt type and Load Config filed adapt to Windows11
- fix PE.get_data
- Fix ambiguous string syntax for PEid parsing regexp
- fixed a memory leak that caused the pe file to be access locked.
- Exphash from sha256 to md5 to match imphash
- More readable calls to superclass
- Fix cache_adjust_FileAlignment to work with files not aligned to 0x200
- [StepSecurity] Apply security best practices
- Create sets using curly brackets
- Change IOError to OSError
- Apply isort to sort all imports
- Remove "OC Patch" comments
- Update tox.ini Python versions
- Use with statement to write to file
- Remove distutils use
- Use chaining comparison operators
- Replace list comprehension with set comprehension
- Use not in operator
- Replace base class name with super()
- Increase readability and consistency
- Tiny comment improvements
- Update oleaut32.py from oleaut32.dll
- Improve parse_rich_header
- Include ordinals for wsock32.dll
- Update ws2_32.py from ws2_32.dll
- Update pefile.py for typo
- Add parsing for IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-hypothesis: upgrade 6.112.1 -> 6.112.4
Wang Mingyu [Wed, 9 Oct 2024 05:49:04 +0000 (13:49 +0800)] 
python3-hypothesis: upgrade 6.112.1 -> 6.112.4

Changelog:
===========
- tweak the paths in @example(...) patches, so that both git apply and patch will work by default.
- refactor internals of hypothesis.stateful.Bundle to have a more consistent representation internally.
- fixe an internal error when the __context__ attribute of a raised exception leads to a cycle

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopython3-dbusmock: upgrade 0.32.1 -> 0.32.2
Wang Mingyu [Wed, 9 Oct 2024 05:49:03 +0000 (13:49 +0800)] 
python3-dbusmock: upgrade 0.32.1 -> 0.32.2

Changelog:
==============
- all templates: Drop wrong variant wrapping from all properties
- tests: Skip TestNetworkManager::test_one_wifi_with_accesspoints with NM >= 1.49.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agomtools: upgrade 4.0.44 -> 4.0.45
Wang Mingyu [Wed, 9 Oct 2024 05:49:02 +0000 (13:49 +0800)] 
mtools: upgrade 4.0.44 -> 4.0.45

Changelog:
============
- Fixed iconv descriptor leak
- Fixed size of error message buffer

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agomsmtp: upgrade 1.8.26 -> 1.8.27
Wang Mingyu [Wed, 9 Oct 2024 05:49:01 +0000 (13:49 +0800)] 
msmtp: upgrade 1.8.26 -> 1.8.27

Changelog:
=============
- Add a testing infrastructure ('make check')
- Many improvements in the msmtpq script
- Many improvements to the vim scripts

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoltp: upgrade 20240524 -> 20240930
Wang Mingyu [Wed, 9 Oct 2024 05:49:00 +0000 (13:49 +0800)] 
ltp: upgrade 20240524 -> 20240930

Changelog:
 https://github.com/linux-test-project/ltp/releases/tag/20240930

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agolibuv: upgrade 1.48.0 -> 1.49.0
Wang Mingyu [Wed, 9 Oct 2024 05:48:59 +0000 (13:48 +0800)] 
libuv: upgrade 1.48.0 -> 1.49.0

Changes since version 1.48.0:
==============================
* test: fix -Wpointer-to-int-cast on 32 bits systems
* build: add alias for libuv to CMakeLists.txt
* linux: create io_uring sqpoll ring lazily
* misc: run sample CI when code changes
* linux: fix uv_available_parallelism using cgroup
* doc: fix tty example segfault
* udp,unix: fix sendmsg use-after-free
* cygwin: implement uv_resident_set_memory
* win: almost fix race detecting ESRCH in uv_kill
* test: disable env var test under win32+asan
* unix,fs: fix realpath calls that use the system allocator
* linux: fix /proc/self/stat executable name parsing
* test,ci: fix [AM]San, disable ASLR
* win: remove _alloca usage
* unix: reinstate preadv/pwritev fallback code
* linux: don't delay EPOLL_CTL_DEL operations
* doc: fix typos in ChangeLog
* unix,win: error on zero delay tcp keepalive
* win: simplify uv_once implementation
* doc: correct udp socket options documentation
* linux: don't use sendmmsg() for single datagrams
* unix: fix fd leaks in SCM_RIGHTS error path
* win: robustify uv_os_getenv() error checking
* test: use newer ASSERT_MEM_EQ macro
* unix: de-duplicate conditions for using kqueue
* darwin: simplify uv_hrtime
* mailmap: update saghul's main email address
* win: remove no longer needed define
* doc: fix some typos
* linux,darwin: make `uv_fs_copyfile` behaves like `cp -r`
* dragonfly: disable SO_REUSEPORT for UDP socket bindings
* test: remove the obsolete HAVE_KQUEUE macro
* unix: use the presence of SOCK_* instead of OS macros for socketpair
* bsd: support pipe2() on *BSD
* unix: support SO_REUSEPORT with load balancing for TCP
* doc: add entries for extended getpw
* test: fix the flaky test-tcp-reuseport
* aix,ibmi: fix compilation errors in fs_copyfile
* unix: support SO_REUSEPORT with load balancing for UDP
* tcpkeepalive: distinguish OS versions and use proper time units
* win: map ERROR_BAD_EXE_FORMAT to UV_EFTYPE
* doc: add instruction how to install with Conan
* unix,win: remove unused req parameter from macros
* build: fix android ci build
* unix,win: export wtf8 functions properly
* hurd: add includes and macro prerequisites
* hurd: stub uv_thread_setpriority()
* ci: use macOS 12 for macOS and iOS builds
* darwin: fix crash on iOS(arm64)
* Create dependabot.yml for updating github-actions
* doc: correct names of Win32 APIs in fs.rst
* ci: bump upload and download-artifact versions
* ci: bump actions/setup-python from 4 to 5
* ci: bump KyleMayes/install-llvm-action from 1 to 2
* win,error: remap ERROR_NO_DATA to EAGAIN
* test: handle zero-length udp datagram
* misc: remove splay trees macros
* test,openbsd: remove superfluous ifdef guard
* win,fs: use posix delete semantics, if supported
* win: fix env var in uv_os_homedir and uv_os_tmpdir
* fsevents: detect watched directory removal
* ci: bump actions/checkout to 4
* linux: eliminate a read on eventfd per wakeup
* test: pipe_overlong_path handle ENAMETOOLONG
* win,fs: use the new Windows fast stat API
* win,pipe: fix race with concurrent readers
* win,signal: fix data race dispatching SIGWINCH
* build: ubsan fixes
* linux: disable SQPOLL io_uring by default
* win: fix fs.c ubsan failure
* test: rmdir can return `EEXIST` or `ENOTEMPTY`
* test: check for `UV_CHANGE` or `UV_RENAME` event
* unix,fs: silence -Wunused-result warning
* linux: support abstract unix socket autobinding
* kqueue: use EVFILT_USER for async if available
* win: remove deprecated GetVersionExW call
* doc: document uv_loop_option
* doc: fix the `uv_*_set_data` series of functions
* doc: properly label enumerations and types
* doc: document specific macOS fs_event behavior
* win,pipe: restore fallback handling for blocking pipes
* unix,win: remove unused rb-tree macro parameters
* win: compute parallelism from process cpu affinity
* win: use NtQueryInformationProcess in uv_os_getppid
* win,pipe: fix missing assignment to success
* win: fix uv_available_parallelism on win32
* win,pipe: fix another missing assignment to success
* kqueue: disallow ill-suited file descriptor kinds
* unix: restore tty attributes on handle close
* test: delete test with invalid assumption
* dragonflybsd: fix compilation failure
* test: run android tests on ci
* darwin: add udp mmsg support
* unix: work around arm-linux-gnueabihf-gcc bug
* unix: expand uv_available_parallelism() to support more platforms
* doc: add known issue in armv7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agolibsdl2: upgrade 2.30.7 -> 2.30.8
Wang Mingyu [Wed, 9 Oct 2024 05:48:58 +0000 (13:48 +0800)] 
libsdl2: upgrade 2.30.7 -> 2.30.8

Changelog:
=========
- Fixed a crash in XInput code at startup
- Fixed flooding the OS with I/O when a PS4/PS5 controller is disconnected
- Added SDL_VIDEO_DOUBLE_BUFFER support to the Wayland backend
- SDL_WINDOWEVENT_EXPOSED is sent appropriately when using Wayland
- Fixed hang at startup in audio code when the application has large stack usage on Linux
- Fixed initializing KMSDRM on older Linux systems
- The pre-built SDL2.dll no longer depends on ucrtbase.dll

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agolibproxy: upgrade 0.5.8 -> 0.5.9
Wang Mingyu [Wed, 9 Oct 2024 05:48:57 +0000 (13:48 +0800)] 
libproxy: upgrade 0.5.8 -> 0.5.9

Changelog:
==========
- Ignore invalid proxy URL
- Memleak fixes
- kde: Add ReversedException support
- Fix memory leak using PX_FORCE_CONFIG
- Update msys2 build steps
- Remove white space in key value

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoharfbuzz: upgrade 9.0.0 -> 10.0.1
Wang Mingyu [Wed, 9 Oct 2024 05:48:56 +0000 (13:48 +0800)] 
harfbuzz: upgrade 9.0.0 -> 10.0.1

Changelog:
============
- Relax sanitization checks for "morx"subtables to fix broken AAT shaping of
macOS 15.0 version of GeezaPro.
- Unicode 16.0.0 support.
- Various documentation fixes.
- Various build fixes.
- Add API to allow HarfBuzz client to set what glyph to use when a Unicode
  Variation Selector is not supported by the font, which would allow the client
  to customize what happens in this case, by using a different font for example.
- Add a callback to for "hb_face_t"for getting the list of table tags. This is
  now used to make calling "hb_face_get_table_tags()"work on a faces created by
  "hb_face_create_for_tables()"(e.g. faces returned by "hb_subset_or_fail()").
- CGJ and Mongolian Variation Selectors are now ignored during glyph
  positioning, previously they would block both glyph substitution and
  positioning across them.
- Support cairo script as an output format for "hb-view"command line tool.
- Drop an optimization that would cause HarfBuzz not apply pair positioning
  lookup subtables under certain circumstances, for compatibility with other
  implementations that do apply these subtables.
- Subsetting will now fail if source font has no glyphs, so feeding the subsetter
  invalid data will not silently return an empty face.
- If after partially instancing a font no variation data is left (the instance
  is fully static), don't consider this a failure.
- Workaround a Firefox bug in displaying SVGs generated be "hb-view"command
  line tool under certain circumstances.
- Fix bug in macroman mapping for "cmap"table.
- Fix difference shaping output when HarfBuzz is built with with
  "HB_NO_OT_RULESETS_FAST_PATH"enabled.
- Various subsetting and instancing fixes.
- Various fuzzing fixes.
- Add "with_libstdcxx"meson build option.
- New API:
  HB_SCRIPT_GARAY
  HB_SCRIPT_GURUNG_KHEMA
  HB_SCRIPT_KIRAT_RAI
  HB_SCRIPT_OL_ONAL
  HB_SCRIPT_SUNUWAR
  HB_SCRIPT_TODHRI
  HB_SCRIPT_TULU_TIGALARI
  hb_buffer_set_not_found_variation_selector_glyph()
  hb_buffer_get_not_found_variation_selector_glyph()
  hb_get_table_tags_func_t
  hb_face_set_get_table_tags_func()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agogit: upgrade 2.46.1 -> 2.47.0
Wang Mingyu [Wed, 9 Oct 2024 05:48:54 +0000 (13:48 +0800)] 
git: upgrade 2.46.1 -> 2.47.0

0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch
refreshed for 2.47.0

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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agofribidi: upgrade 1.0.15 -> 1.0.16
Wang Mingyu [Wed, 9 Oct 2024 05:48:53 +0000 (13:48 +0800)] 
fribidi: upgrade 1.0.15 -> 1.0.16

Changelog:
 Update Unicode character databases to v16.0.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoerofs-utils: upgrade 1.8.1 -> 1.8.2
Wang Mingyu [Wed, 9 Oct 2024 05:48:52 +0000 (13:48 +0800)] 
erofs-utils: upgrade 1.8.1 -> 1.8.2

Changelog:
==========
- Fix build on GNU/Hurd
- Fix maximum volume label length
- Correctly skip unidentified xattrs
- Support exporting xattrs optionally
- Correctly sort shared xattrs
- Allow pax headers with empty names;
- Add '--sort=none' option for tarballs;
- Fix broken compressed packed inodes
- Several minor random fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agodhcpcd: upgrade 10.0.10 -> 10.1.0
Wang Mingyu [Wed, 9 Oct 2024 05:48:51 +0000 (13:48 +0800)] 
dhcpcd: upgrade 10.0.10 -> 10.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agovirglrenderer: Add patch to fix -int-conversion build issue
Purushottam Choudhary [Wed, 9 Oct 2024 09:23:24 +0000 (14:53 +0530)] 
virglrenderer: Add patch to fix -int-conversion build issue

Fix int conversion related error during compilation
as some of the platforms where EGLNativeDisplayType
is an int instead of a pointer with GCC-14.

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agotoolchain-shar-extract.sh: exit when post-relocate-setup.sh fails
Chen Qi [Wed, 9 Oct 2024 08:56:47 +0000 (01:56 -0700)] 
toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails

When LD_LIBRARY_PATH is set, post-relocate-setup.sh will fail and
exit properly. But such failure is ignored and the SDK installation
will continue and tell user that things succeed. This is misleading.
So exit immediately if post-relocate-setup.sh fails.

Fixes [Yocto #15586]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agogtk4: update 4.16.1 -> 4.16.3
Markus Volk [Sat, 5 Oct 2024 08:25:57 +0000 (10:25 +0200)] 
gtk4: update 4.16.1 -> 4.16.3

Overview of Changes in 4.16.3, 04-10-2024
=========================================

* GtkScrolledWindow
 - Fix criticals in size allocation code

* GtkFileChooser
 - Fix a crash in the portal code

* GtkPicture
 - Avoid unnecessary resizes

* GtkVideo
 - Make dmabufs work without GL

* Accessibility:
 - Always realized non-widget accessibles

* Wayland:
 - Improve settings portal handling
 - Improve fallback for cursor themes
 - Sync default values for settings with schema defaults

* Translation updates:
 Brazilian Portuguese
 Galician
 Swedish

Overview of Changes in 4.16.2, 25-09-2024
=========================================

* GtkLabel:
 - Fix centered text in RTL

* Gsk:
 - Speed up some Vulkan operations
 - Improve startup speed by avoiding initialization
   of GL and Vulkan in most cases
 - Reduce critials at startup to warnings
 - Fix a crash on startup with some Vulkan drivers
 - Fix a big texture leak in NGL

* Gdk:
 - Speed up memory format conversions

* Wayland:
 - Be more careful with mimetypes during DND or copy-paste

* Tools:
 - builder-tool: Improve conversion of boxes

* Translation updates:
 Brazilian Portuguese
 Bulgarian
 Catalan
 Chinese (China)
 Georgian
 German
 Hebrew
 Indonesian
 Persian
 Polish
 Portuguese
 Slovenian
 Spanish
 Turkish
 Ukrainian

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agovte: Upgrade to 0.78.0
Khem Raj [Sat, 5 Oct 2024 05:57:53 +0000 (22:57 -0700)] 
vte: Upgrade to 0.78.0

* Needed for Gnome-47 components e.g. gnome-console
* Add backports to fix build with clang libc++

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agoefi-bootdisk.wks: Increase overhead-factor to avoid test failures
Richard Purdie [Thu, 10 Oct 2024 09:02:42 +0000 (10:02 +0100)] 
efi-bootdisk.wks: Increase overhead-factor to avoid test failures

After commit d74bfb2d5c9e6247e4c0a3c2fdba0cc4a7585395:
"linux-yocto: Enable l2tp drivers when ptest featuee is on"
was merged, oe-selftest efibootpartition.GenericEFITest.test_boot_efi
breaks due to space issues.

Increase the disk space available to avoid this and allow functional
automated testing again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agopseudo: Fix envp bug and add posix_spawn wrapper
Richard Purdie [Wed, 2 Oct 2024 23:12:52 +0000 (00:12 +0100)] 
pseudo: Fix envp bug and add posix_spawn wrapper

Fix pseudo with python 3.13 by adding a wrapper for posix_spawn and
fixing a NULL pointer dereference in envp handling it uncovered. This
fixes issues on Fedora 41.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agostrace: download release tarballs from GitHub
Ross Burton [Thu, 3 Oct 2024 19:50:05 +0000 (20:50 +0100)] 
strace: download release tarballs from GitHub

Switch to downloading the release tarballs from GitHub.  Their CDN is
rock solid, and strace.io is hosted inside Russia which some networks
are blocking.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agomigrate_localcount: Drop long obsolete code
Richard Purdie [Thu, 3 Oct 2024 22:52:25 +0000 (23:52 +0100)] 
migrate_localcount: Drop long obsolete code

If BB_URI_LOCALCOUNT isn't set, the code does nothing. That code was removed in 2012:

https://git.yoctoproject.org/poky/commit/?id=d0f35207f9e19b440393a79ebf621649c495738d

Therefore drop the rest of it!

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agogdb: Upgrade 15.1 -> 15.2
Deepthi Hemraj [Tue, 1 Oct 2024 12:01:07 +0000 (05:01 -0700)] 
gdb: Upgrade 15.1 -> 15.2

GDB 15.2 brings the following fixes:
 * PR gdb/31727 (-exec-next fails in mingw (infrun.c:2794: internal-error: resume_1: Assertion `pc_in_thread_step_range (pc, tp)' failed))
 * PR c++/31900 (libstdc++-prettyprinters/debug.cc print redirected fails since gdb-14-branchpoint-2123-g4e417d7bb1c)
 * PR python/31946 (sys.exit from Python no longer exits the GDB process)
 * PR record/31971 (Loading a saved record file asserts if we try to execute the inferior)
 * PR gdb/32005 (frv_current_sos doesn't set solib::lm_info)
 * PR exp/32015 (GDB crashes while printing large D array)
 * PR gdb/32025 (Fatal error when the disassemble command is interrupted with SIGINT)
 * PR gdb/32143 ([15 Regression] arch/amd64.c:71: internal-error: amd64_create_target_description: Assertion `!is_x32' failed)
 * PR symtab/32158 ([gdb/symtab] enum class enumerator has incorrect parent in cooked index)
 * PR symtab/32160 ([gdb/symtab] Parent map: die parent or scope parent?)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 months agodefault-distrovars: Have KERNEL_CONSOLE reference SERIAL_CONSOLES
Jon Mason [Tue, 1 Oct 2024 13:43:22 +0000 (09:43 -0400)] 
default-distrovars: Have KERNEL_CONSOLE reference SERIAL_CONSOLES

Currently, KERNEL_CONSOLE has a default value of "ttyS0".  However, Arm
machines and those using virtio serial prefer to use "ttyAMA0" or "hvc0"
(or something else).  These are usually defined by the machine config
file as SERIAL_CONSOLES, which has one or more entries.  Take the first
one of those instead of ttyS0, but default back to ttyS0 if nothing is
set.

Also, use this variable in the efi wic file instead of "ttyS0".
Of note, this changes the default speed of the default kernel console
from undefined (9600) to 115200.  This allows for users of the
mkefidisk.wks to work as before but any users of this variable could see
changed behavior and would now need to define this as:
KERNEL_CONSOLE ?= "ttyS0,9600"

This includes revisions suggested by Quentin Schulz and Ross Burton.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-pyproject-hooks: upgrade 1.0.0 -> 1.2.0
Ross Burton [Mon, 30 Sep 2024 16:07:24 +0000 (17:07 +0100)] 
python3-pyproject-hooks: upgrade 1.0.0 -> 1.2.0

- Improve interoperability with importlib.metadata, fixing a regression
  in setuptools compatibility in 1.1 (#199).
- Clean up the _in_process directory inside the package from sys.path
  before imporing the backend (#193).
- Add type annotations to the public API.
- More careful handling of the backend-path key from pyproject.toml.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolibarchive: upgrade 3.7.4 -> 3.7.6
Ross Burton [Mon, 30 Sep 2024 16:09:34 +0000 (17:09 +0100)] 
libarchive: upgrade 3.7.4 -> 3.7.6

Drop configurehack.patch, no longer needed

Upstream changes break the python3-libarchive-c test suite, a second
patch follows.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolayer.conf: Update to new layer/release series post-release
Richard Purdie [Tue, 1 Oct 2024 09:39:35 +0000 (10:39 +0100)] 
layer.conf: Update to new layer/release series post-release

Switch from styhead to walnascar (aka walna).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolinux-yocto: Enable l2tp drivers when ptest featuee is on
Khem Raj [Mon, 30 Sep 2024 22:29:13 +0000 (15:29 -0700)] 
linux-yocto: Enable l2tp drivers when ptest featuee is on

openl2tp ptests from networking layer depend upon these

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agostrace: Define sched_attr conditionally
Khem Raj [Mon, 30 Sep 2024 22:29:12 +0000 (15:29 -0700)] 
strace: Define sched_attr conditionally

So that it does not conflict with glibc 2.41+ newly added definitions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agowpa-supplicant: Ignore CVE-2024-5290
Peter Marko [Sat, 28 Sep 2024 15:43:48 +0000 (17:43 +0200)] 
wpa-supplicant: Ignore CVE-2024-5290

NVD CVE report [1] links Ubuntu bug [2] which has a very good
description/discussion about this issue.
It applies only to distros patching wpa-supplicant to allow non-root
users (e.g. via netdev group) to load modules.
This is not the case of Yocto.

Quote:
So upstream isn't vulnerable as they only expose the dbus interface to
root. Downstreams like Ubuntu and Chromium added a patch that grants
access to the netdev group. The patch is the problem, not the upstream
code IMHO.

There is also a commit [3] associated with this CVE, however that only
provides build-time configuration to limit paths which can be accessed
but it acts only as a mitigation for distros which allow non-root users
to load crafted modules.

The patch is included in version 2.11, however NVD has this CVE
version-less, so explicit ignore is necessary.

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-5290
[2] https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/2067613
[3] https://w1.fi/cgit/hostap/commit/?id=c84388ee4c66bcd310db57489eac4a75fc600747

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agooeqa/selftest/gcc: Fix kex exchange identification error
Harish Sadineni [Sat, 28 Sep 2024 04:46:38 +0000 (21:46 -0700)] 
oeqa/selftest/gcc: Fix kex exchange identification error

while runnig oe-selftest for gcc, some of the testcases that need to be run on qemu
are not running due to below failures:
- kex_exchange_identification: read: Connection reset by peer^M
   Connection reset by 192.168.7.2 port 22^M
   ERROR: Couldn't create remote directory /tmp/runtest.3549814 on ssh

To resolve kex exchange identification error increased the MaxStartups.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosystemd-boot-native: add runtime dependency to python3-pefile-native
Mikko Rapeli [Sun, 22 Sep 2024 08:41:19 +0000 (11:41 +0300)] 
systemd-boot-native: add runtime dependency to python3-pefile-native

It's needed to run the ukify script.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agomaintainers.inc: add python3-pefile
Mikko Rapeli [Sun, 22 Sep 2024 08:41:18 +0000 (11:41 +0300)] 
maintainers.inc: add python3-pefile

Recipe moved from meta-oe to oe-core and
Khem Raj <raj.khem@gmail.com> agreed to continue
as maintainer.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-pefile: add recipe from meta-openembedded
Mikko Rapeli [Sun, 22 Sep 2024 08:41:17 +0000 (11:41 +0300)] 
python3-pefile: add recipe from meta-openembedded

It is needed by systemd ukify tool and uki.bbclass to generate
UEFI boot binaries. Added to fast list in ptest-packagelists.inc.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocurl: Upgrade 8.9.1 -> 8.10.1
Peter Marko [Fri, 27 Sep 2024 21:14:55 +0000 (23:14 +0200)] 
curl: Upgrade 8.9.1 -> 8.10.1

resolves CVE-2024-8096

possibility to set random was removed in commit
https://github.com/curl/curl/commit/269fdd4c6ed5d837d57448ac977f6f300968df15

tests have new perl module dependency

removed backported patch present in new version

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoAdd script to make SPDX bindings
Joshua Watt [Fri, 27 Sep 2024 15:51:57 +0000 (09:51 -0600)] 
Add script to make SPDX bindings

Adds a script to generate the SPDX code bindings

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocreate-spdx-3.0: Upgrade to SPDX 3.0.1
Joshua Watt [Fri, 27 Sep 2024 15:51:56 +0000 (09:51 -0600)] 
create-spdx-3.0: Upgrade to SPDX 3.0.1

Upgrades the SPDX 3.0 implementation from 3.0.0 -> 3.0.1. This version
introduced some breaking changes. Effectively, 3.0.0 was a pre-release
version that we do not need to support any longer.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agospdx 3.0: Map gitsm URI to git
Joshua Watt [Fri, 27 Sep 2024 15:51:55 +0000 (09:51 -0600)] 
spdx 3.0: Map gitsm URI to git

"gitsm" is not a recognized URI protocol (outside of bitbake), so map it
to "git" when writing. This should be OK since we report all of the
submodule source code (if enabled), and it's still possible for 3rd
party analyzers to determine that submodules are in use by looking at
.gitmodules.

The code to do the mapping is moved to a common location so it covers
SPDX 2.2 also

[YOCTO #15582]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agospdx 3.0: Find local sources when searching for debug sources
Joshua Watt [Fri, 27 Sep 2024 15:51:54 +0000 (09:51 -0600)] 
spdx 3.0: Find local sources when searching for debug sources

Include the local files when searching for matching debug sources

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agolsb-release: fix Distro Codename shell escaping
Sergei Zhmylev [Fri, 27 Sep 2024 15:31:20 +0000 (18:31 +0300)] 
lsb-release: fix Distro Codename shell escaping

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agokmscube: Upgrade to latest revision
Purushottam Choudhary [Fri, 27 Sep 2024 10:53:33 +0000 (16:23 +0530)] 
kmscube: Upgrade to latest revision

Upgrade to the latest kmscube revision.

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agotexinfo-dummy: log what the invoking command was when failing
Ross Burton [Thu, 26 Sep 2024 15:55:20 +0000 (16:55 +0100)] 
texinfo-dummy: log what the invoking command was when failing

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agorootfs-postcommands.bbclass: make opkg status reproducible
Jonas Gorski [Thu, 26 Sep 2024 15:41:35 +0000 (17:41 +0200)] 
rootfs-postcommands.bbclass: make opkg status reproducible

opkg stores the current time as Installed-Time in its status file when
installing packages to the rootfs. Make this reproducible by replacing
Installed-Time with ${REPRODUCIBLE_TIMESTAMP_ROOTFS}, which then also
matches the files' datestamps.

Based on OpenWrt's approach for the issue [1].

[1] https://github.com/openwrt/openwrt/blob/main/include/rootfs.mk#L103

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agosystemd: upgrade 256.5 -> 256.6
Wang Mingyu [Thu, 26 Sep 2024 00:20:47 +0000 (08:20 +0800)] 
systemd: upgrade 256.5 -> 256.6

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agoefivar: Drop addend to PV
Khem Raj [Thu, 26 Sep 2024 04:49:38 +0000 (21:49 -0700)] 
efivar: Drop addend to PV

We are at exact PR release point 39, drop the appends to PV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agopython3-setuptools: Add "python:setuptools" to CVE_PRODUCT
Shunsuke Tokumoto [Thu, 26 Sep 2024 11:01:03 +0000 (20:01 +0900)] 
python3-setuptools: Add "python:setuptools" to CVE_PRODUCT

Since there are vulnerabilities that cannot be detected by the existing
CVE_PRODUCT, add "python:setuptools" to CVE_PRODUCT.

https://nvd.nist.gov/vuln/detail/CVE-2013-1633
https://nvd.nist.gov/vuln/detail/CVE-2022-40897

Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>