Compare commits

...

561 Commits

Author SHA1 Message Date
Richard Purdie
cc97d775cb build-appliance-image: Update to master head revision
(From OE-Core rev: f7ed7ae854e49276750d1895593e0a2033714235)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-07 11:09:23 +01:00
Richard Purdie
581edf2012 poky: Enable spdx manifests by default
We're now in a position to enable SPDX manifests by default, do this
for poky.

(From meta-yocto rev: 511f2f60cc2637ebc06049f58acb4f68562b2fce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:31 +01:00
Frieder Paape
f7035ce464 image_types: Fix reproducible builds for initramfs and UKI img
I've encountered issues reproducing initramfs and UKI image builds,
which will be fixed with this patch.

1. initramfs
There's a symbolic link to /sbin/init, which is appended to the cpio archive after creation.
The links timestamp needs to be static and the cpio append command needs the '--reproducible' flag to produce deterministic outcomes.

2. Unified Kernel Image
'--preserve-dates' is required for a static 'Time/Date' entry.
I've added '--enable-deterministic-archives' although in my case this
didn't change anything.

(From OE-Core rev: fd027729bafb4e085ba0949e38e724f3a8cad102)

Signed-off-by: Frieder Paape <frieder@konvera.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Richard Purdie
06b5f249ce packagegroup: Handle SPDX signature issues
Packagegroups have "special" sstate signature behaviour in that they don't rebuild
when their dependencies do. This causes problems for SPDX task signatures. Since
packagegroups don't actually have any code in them, we don't need the standard
dependencies anyway so cancel out and allow the sstate signatures to function
correctly.

(From OE-Core rev: 5c4ed243c144e261eae5f2ccf5626371d87a8a43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Richard Purdie
72902feb0e sstatesig: Drop SPDX special casing
Other changes in create-spdx code mean we shouldn't need to do this now. We
need the various exclusions to allow the task hashes to behave correctly
for the SPDX tasks too.

(From OE-Core rev: 5e645ff3d02decba4ed7d082a0e41a2655862039)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Dmitry Baryshkov
e16d16ffa6 openssl: fix building on riscv32
On riscv32 configurations OpenSSL fails to build with "undefined
reference to `__atomic_foo'" kind of errors. Change OpenSSL recipe to
use linux-latomic configuration instead of linux-generic32.

(From OE-Core rev: e8ce80fc6d6579554bca2eba057e65d4b12c0793)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Ross Burton
6e6fdfd542 cve-extra-exclusions: add more linux-yocto CVE ignores
These CVEs have all been fixed <6.1.30, which is the default linux-yocto
kernel version.

(From OE-Core rev: 73f03970f0aadfb053666a1e93f6f6d5b5156ca6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Anuj Mittal
99e9f52216 glib-networking: upgrade 2.74.0 -> 2.76.0
(From OE-Core rev: 43505bcfc09c5951d333085f4cfdaadf2be0a1cf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Anuj Mittal
4570ef68d8 stress-ng: upgrade 0.15.07 -> 0.15.08
(From OE-Core rev: 4c56636b0cbeb7b280cec19283551369e8458284)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Anuj Mittal
93e2a68066 gstreamer1.0: upgrade 1.22.2 -> 1.22.3
(From OE-Core rev: 8ff5c4bfe46bb325535041a9127356ae425dbe5f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Victor Kamensky
207aed036d systemtap: upgrade 4.8 -> 4.9
SystemTap 4.9 release went out with a little hick up: release date was not
set correctly and fix for it was added as ebb424eee5599fcc131901c0d82d0bfc0d2f57ab
commit and tagged as 'release-4.9'. Unfortunately by that time 'master'
branch already has moved on, and it turns out that now 'release-4.9' tag does
not belong to any branch. On other hand OE SRC_URI does complain about git
uri without branch. To deal with it we will use SRCREV set to
418f0a45ca4473491385b5c7eef777607bbdb3b7, commit one that precedes
ebb424eee5599fcc131901c0d82d0bfc0d2f57ab, and add separate patch for
ebb424eee5599fcc131901c0d82d0bfc0d2f57ab as 0001-release-date-fix.patch.

Note for any future version move: please remove 0001-release-date-fix.patch

(From OE-Core rev: 2a10dc2a80a42368b222a7a832dd342a9c2d9d0a)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:13 +01:00
Richard Purdie
0498637354 v86d: Improve kernel dependency
Working with enabling SPDX, an issue was observerd where v86d wasn't rebuilding
when the kernel was changed from linux-yocto to linux-yocto-rt.

This is due to the code in sstatesig.py which was seeing the RRECOMMENDS on a
kernel module and ignoring the DEPENDS. The v86d is technically a kernel module
since it uses kernel header files.

There are two ways to address this, we could inherit the module-base class and
the dependency code does the correct thing. It appears the code doesn't look into
STAGING_KERNEL_DIR though and doesn't use the kernel sources. We can therefore drop
the DEPENDS and the code will the do the correct thing.

(From OE-Core rev: 37ccd11cb0b89416b8e23160445186269b6c0c8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 23:41:12 +01:00
Chen Qi
5eec70a456 qemurunner.py: fix error message about qmp
The error message is a little misleading as the qmp module is a
directory with __init__.py file, not qmp.py file. Also, put the
path where we try to import it from in the error message to make
the message more indicative.

(From OE-Core rev: 08bacbf797f6a50ae8abe8fc3455b3a15a0a94b3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:43 +01:00
Ross Burton
5131819228 binutils: fix CVE-2023-1972
Backport a patch from upstream to fix CVE-2023-1972.

(From OE-Core rev: 10d63933e3a30bfac2f6cec896460c22e04baadd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
83d458d958 git: upgrade to 2.39.3
This minor point release fixes CVE-2023-25652 and CVE-2023-29007.

(From OE-Core rev: 469c28924ab9debe810e3277b27ad936781e7ce5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
bcb0d3f385 ghostscript: upgrade to 10.01.1
Drop the merged fix for CVE-2023-28879.

(From OE-Core rev: 659b0cf41db00420366d0eca103f16922c2c5d72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
816e0b9b84 pkgconf: upgrade 1.9.4 -> 1.9.5
(From OE-Core rev: fb9e05592e7c1c61a677d9cb842c9adc84689dde)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
ae980b4d65 piglit: upgrade to latest revision
(From OE-Core rev: 9d0cb9bbdddb7029f70a1c1aa9c81ea5f8cbfecd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
1e049e4e7a gtk+3: upgrade 3.24.37 -> 3.24.38
(From OE-Core rev: 7056611ae3bd356908b17201d35879024f2628c2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
a82397c2b9 vulkan-samples: fix build on 32-bit platforms
Backport a patch from upstream to fix the build on 32-bit platforms, and
remove the COMPATIBLE_HOST restriction.

(From OE-Core rev: f4f693ac3ba46373103f749f028ab296e6aeb085)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Bruce Ashfield
492e59b331 linux-yocto/6.1: update to v6.1.32
Updating  to the latest korg -stable release that comprises
the following commits:

    76ba310227d2 Linux 6.1.32
    cd51ba98aeaa tools headers UAPI: Sync the linux/in.h with the kernel sources
    2cd02ae65654 netfilter: ctnetlink: Support offloaded conntrack entry deletion
    55ce796e9b0a cpufreq: amd-pstate: Add ->fast_switch() callback
    c18f6919b4e7 cpufreq: amd-pstate: Update policy->cur in amd_pstate_adjust_perf()
    efc8ec1636fa block: fix bio-cache for passthru IO
    5d08604754e8 Revert "thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function"
    2333dbc88f38 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
    6c1fad655b40 drm/amd: Don't allow s0ix on APUs older than Raven
    83a7f27c5b94 octeontx2-af: Add validation for lmac type
    3236221bb8e4 RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"
    592af07ac0c8 wifi: iwlwifi: mvm: fix potential memory leak
    0c469078bde4 wifi: iwlwifi: mvm: support wowlan info notification version 2
    b5ceb6aac607 wifi: rtw89: correct 5 MHz mask setting
    07c8c1a3cfcf net: phy: mscc: enable VSC8501/2 RGMII RX clock
    7c95f56995c6 page_pool: fix inconsistency for page_pool_ring_[un]lock()
    7dccd5fa7edb net: page_pool: use in_softirq() instead
    cd3c5e4e0d60 vfio/type1: check pfn valid before converting to struct page
    6793a3c6326e blk-mq: fix race condition in active queue accounting
    fe735073a50e bpf, sockmap: Incorrectly handling copied_seq
    dd628fc697ee bpf, sockmap: Wake up polling after data copy
    ab90b68f650e bpf, sockmap: TCP data stall on recv before accept
    3a2129ebae35 bpf, sockmap: Handle fin correctly
    ba4fec5bd6f8 bpf, sockmap: Improved check for empty queue
    1e4e379ccde8 bpf, sockmap: Reschedule is now done through backlog
    9f4d7efb3345 bpf, sockmap: Convert schedule_work into delayed_work
    4ae2af3e59e2 bpf, sockmap: Pass skb ownership through read_skb
    49b5b5bfeef1 gpio-f7188x: fix chip name and pin count on Nuvoton chip
    085f27f48c84 net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register
    3347ac7a8160 tls: rx: strp: preserve decryption status of skbs when needed
    ba93977437e7 tls: rx: strp: factor out copying skb data
    52a89de3e9f2 tls: rx: strp: force mixed decrypted records into copy mode
    c48b8399e430 tls: rx: strp: fix determining record length in copy mode
    ecd9f6ed9ed2 tls: rx: strp: set the skb->len of detached / CoW'ed skbs
    e734a693a24c tls: rx: device: fix checking decryption status
    b3e54fb3a35d platform/x86/amd/pmf: Fix CnQF and auto-mode after resume
    8e8c33cc89a0 selftests/bpf: Fix pkg-config call building sign-file
    ca39992f1048 firmware: arm_ffa: Fix usage of partition info get count flag
    3f5413c95445 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
    6728486447ee inet: Add IP_LOCAL_PORT_RANGE socket option

(From OE-Core rev: 34ba408ca84839e82dba63e2f6b4673e8d5caaa2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Bruce Ashfield
59d6540022 linux-yocto/6.1: update to v6.1.31
Updating  to the latest korg -stable release that comprises
the following commits:

    d2869ace6eeb Linux 6.1.31
    2f32b89d8120 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
    3bcb97e4241b 3c589_cs: Fix an error handling path in tc589_probe()
    9540765d1882 net/smc: Reset connection when trying to use SMCRv2 fails.
    be4022669e66 regulator: mt6359: add read check for PMIC MT6359
    22157f744581 firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors
    1ae70faa86fd arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
    3e8a82fb55a6 net/mlx5: Devcom, serialize devcom registration
    eaa365c10459 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
    411e4d6caa7f net/mlx5: Collect command failures data only for known commands
    390aa5c006b3 net/mlx5: Fix error message when failing to allocate device memory
    59dd110ca241 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
    b17294e7aa8c net/mlx5: Handle pairing of E-switch via uplink un/load APIs
    e501ab136691 net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
    6f0dce5f7822 net/mlx5e: do as little as possible in napi poll when budget is 0
    00959a1bad58 net/mlx5e: Use correct encap attribute during invalidation
    362063df6cee net/mlx5e: Fix deadlock in tc route query code
    2051f762c508 net/mlx5e: Fix SQ wake logic in ptp napi_poll context
    47b4f741a3f6 platform/mellanox: mlxbf-pmc: fix sscanf() error checking
    04238c23853a forcedeth: Fix an error handling path in nv_probe()
    0392c9185d71 sctp: fix an issue that plpmtu can never go to complete state
    c9e09b070d0b cxl: Wait Memory_Info_Valid before access memory related info
    ad72cb5899ce ASoC: Intel: avs: Access path components under lock
    6ae9cf40b4e0 ASoC: Intel: avs: Fix declaration of enum avs_channel_config
    5eaaad19c82c ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
    d8cfe5ccc98e x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
    a7edc86e149e xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
    53384076f743 x86/pci/xen: populate MSI sysfs entries
    84b211b02894 ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator
    225a5f394b09 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
    55224690958c platform/x86: ISST: Remove 8 socket limit
    f34428b5a373 regulator: pca9450: Fix BUCK2 enable_mask
    ccc6e9ded63b fs: fix undefined behavior in bit shift for SB_NOUSER
    dfc5aaa57f52 firmware: arm_ffa: Fix FFA device names for logical partitions
    ad73dc7263ea firmware: arm_ffa: Check if ffa_driver remove is present before executing
    06ec5be89118 optee: fix uninited async notif value
    9c744c6ff238 power: supply: sbs-charger: Fix INHIBITED bit for Status reg
    71e60a58d7f6 power: supply: bq24190: Call power_supply_changed() after updating input current
    1f02bfd5d94c power: supply: bq25890: Call power_supply_changed() after updating input current or voltage
    57842035d298 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
    221f7cb12285 power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
    3c573e7910c6 power: supply: bq27xxx: Move bq27xxx_battery_update() down
    9108ede08d7a power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
    d952a1eaafcc power: supply: bq27xxx: Fix poll_interval handling and races on remove
    e65fee45687f power: supply: bq27xxx: Fix I2C IRQ race on remove
    d746fbf4f09c power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
    e1073f81478f power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
    2ac38f130e5b power: supply: leds: Fix blink to LED on transition
    94373413e13d cifs: mapchars mount option ignored
    91dd8aab9c9f ipv6: Fix out-of-bounds access in ipv6_find_tlv()
    9bc1dbfd9158 lan966x: Fix unloading/loading of the driver
    1a9e80f757bb bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
    177ee41f6162 bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
    a1d7c357f4dc octeontx2-pf: Fix TSOv6 offload
    4883d9e2a221 selftests: fib_tests: mute cleanup error message
    722af06e6100 drm: fix drmm_mutex_init()
    cc18b4685910 net: fix skb leak in __skb_tstamp_tx()
    8d81d3b0ed36 ASoC: lpass: Fix for KASAN use_after_free out of bounds
    53764a17f5d8 media: radio-shark: Add endpoint checks
    d5dba4b7bf90 USB: sisusbvga: Add endpoint checks
    09e9d1f52f97 USB: core: Add routines for endpoint checks in old drivers
    2a112f04629f udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
    ed66e6327a69 net: fix stack overflow when LRO is disabled for virtual interfaces
    c8fdf7feca77 fbdev: udlfb: Fix endpoint check
    d7fff52c99d5 debugobjects: Don't wake up kswapd from fill_pool()
    8694853768e3 irqchip/mips-gic: Use raw spinlock for gic_lock
    dc1b7641a989 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
    4ca6b06e9be2 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
    ed0ef89508d2 perf/x86/uncore: Correct the number of CHAs on SPR
    f3078be2febb drm/amd/amdgpu: limit one queue per gang
    34570f85a282 selftests/memfd: Fix unknown type name build failure
    931ea1ed31be binder: fix UAF of alloc->vma in race with munmap()
    e1e198eff1fb binder: fix UAF caused by faulty buffer cleanup
    d7cee853bcb0 binder: add lockless binder_alloc_(set|get)_vma()
    72a94f8c14a1 Revert "android: binder: stop saving a pointer to the VMA"
    7e6b8548549e Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
    8069bcaa5b39 drm/amd/pm: Fix output of pp_od_clk_voltage
    6acfbdda4d06 drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
    8756863c7fe0 drm/radeon: reintroduce radeon_dp_work_func content
    3897ac532af0 drm/mgag200: Fix gamma lut not initialized.
    3970ee926e7e dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
    937264cd9aab btrfs: use nofs when cleaning up aborted transactions
    63e12910b7f5 gpio: mockup: Fix mode of debugfs files
    b49706d1799a parisc: Handle kprobes breakpoints only in kernel context
    5596e2ef5f1a parisc: Enable LOCKDEP support
    d935edd510d7 parisc: Allow to reboot machine after system halt
    c49ffd89b66e parisc: Fix flush_dcache_page() for usage from irq context
    c0993b463fe7 parisc: Handle kgdb breakpoints only in kernel context
    e1f14a407140 parisc: Use num_present_cpus() in alternative patching code
    bd90ac0002d1 xtensa: add __bswap{si,di}2 helpers
    522bbbfcb612 xtensa: fix signal delivery to FDPIC process
    084566050891 m68k: Move signal frame following exception on 68020/030
    6147745d43ff net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
    da1e8adab366 ASoC: rt5682: Disable jack detection interrupt during suspend
    72c28207c19c power: supply: bq25890: Fix external_power_changed race
    0456b912121e power: supply: axp288_fuel_gauge: Fix external_power_changed race
    7d5e0150eeec mmc: block: ensure error propagation for non-blk
    a24aec210aa5 mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
    0d97634ad498 SUNRPC: Don't change task->tk_status after the call to rpc_exit_task
    40599969ff58 ALSA: hda/realtek: Enable headset onLenovo M70/M90
    7d3d306f159e ALSA: hda: Fix unhandled register update during auto-suspend period
    5222e81afa26 ALSA: hda/ca0132: add quirk for EVGA X299 DARK
    688c9af6e5fc platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain
    c26b9e193172 x86/mm: Avoid incomplete Global INVLPG flushes
    4eb600f386ef arm64: Also reset KASAN tag if page is not PG_mte_tagged
    8bdf47f9dbea ocfs2: Switch to security_inode_init_security()
    28ee628fff1e drm/amd/display: hpd rx irq not working with eDP interface
    7bfd4c0ebcb4 net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
    66ede2e4235f platform/x86: hp-wmi: Fix cast to smaller integer type warning
    0dbc898f5917 skbuff: Proactively round up to kmalloc bucket size
    ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
    a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
    ae9e65319f99 watchdog: sp5100_tco: Immediately trigger upon starting.
    7cd46930b8bf tpm: Prevent hwrng from activating during resume
    25d38d5eaa1f tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers
    e76f61a2c523 tpm, tpm_tis: startup chip before testing for interrupts
    9953dbf65f92 tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume
    c5a5d33886a7 tpm, tpm_tis: Only handle supported interrupts
    5c4c8075bc8a tpm, tpm_tis: Avoid cache incoherency in test for interrupts
    1ec145277a26 usb: dwc3: fix gadget mode suspend interrupt handler issue

(From OE-Core rev: d03ecad7bd2997654d2a623b59b409ff0c0f363b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Richard Purdie
511d007248 oeqa/selftest/wic: Fix host contamination issue
If wic.Wic2.test_gpt_partition_name is run on a system without sfdisk, the test
will currently fail. As done in another test, it needs to use sfdisk from the
wic-tools sysroot. This patch fixes that host contamination issue.

(From OE-Core rev: 6f9200cc30d50888b9b63103824880abaf8b5eea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-06 07:41:42 +01:00
Ross Burton
9a106486ad ninja: ignore CVE-2021-4336, wrong ninja
(From OE-Core rev: c2dd2c13ff26c3f046e35a2f6b8afeb099ef422a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-05 16:54:10 +01:00
Michael Opdenacker
351aa3ea85 bitbake: bitbake-user-manual: document "network" task flag
This addresses [YOCTO #15127]

(Bitbake rev: 6abdc81dec06a362bfbcc06d69b90b96bd9bef01)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:43:19 +01:00
Michael Opdenacker
dfd7c62834 bitbake: bitbake-user-manual: update releases.rst
- Move "langdale" link to outdated section
- Add link to "mickledore" manual
- Fix typo in "kirkstone" name

(Bitbake rev: 29774ec6e6f08e9ec0dee5e75c97e750ed055d6e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:43:19 +01:00
Tom Isaacson
5be9f4ad77 sdk-manual: fix Makefile example
"module.h" should be part of the dependency line
Space fixes too

(From yocto-docs rev: ad24794b095b17beee8e7bdb0b8c92ae72c6e5b0)

Signed-off-by: Tom Isaacson <tom.isaacson@teknique.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Ulrich Ölmann
9f3a49c3ad ref-manual: classes.rst: fix typo
(From yocto-docs rev: 93db28cda2ea8251735c86aa3edc862846a33642)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Daniel Ammann
53c035e5e3 overview-manual: concepts.rst: Fix a typo
(From yocto-docs rev: 8a940247c32bf24f6b5fdd0c6559d6d9c2708cd6)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Michael Opdenacker
fcaf9c6887 manuals: document SPLASH_IMAGES variable
(From yocto-docs rev: a30204ade74a93077017e3c5e1167102a0213983)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Michael Opdenacker
9c201d951c ref-manual: document SPLASH variable
(From yocto-docs rev: d32029dd3ce4a66e2fb403a778f748f4a1d52bcc)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Lee Chee Yang
df91611f73 migration-guides: add release notes for 4.2.1
(From yocto-docs rev: 55b091c3cf2d9feefe7cf45df14dd50ce1f7baab)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 16:42:46 +01:00
Joshua Watt
034762abbd classes/create-spdx-2.2: Make license errors fatal
Otherwise the task is still put into sstate, which means the error can
effectively be hidden by ignoring it.

(From OE-Core rev: 9d00f3ba4555510cf9525f4f6f186bf8a1371cee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
c47ba43785 oeqa/selftest/sstatetests: Add easier debug option
In order to debug these selftest failures you end up having to comment out
the file cleanup. Make this an option at the top of the file to make it
a bit easier, I've had to do this too many times now.

(From OE-Core rev: ae69d48b0e5b58b18553a6b3cd03ffbd3f369aa3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
e2a71c7d25 selftest/incompatible_lic: Ensure create_sdpx isn't used with the tests
The SPDX class doens't get on well with non-standard licenses. Disable it for
the purposes of this test to avoid errors.

Add a new helper function to the core test code to allow this to be done easily.

(From OE-Core rev: b9fb4c68f2ab5becb0a10418884e09dee93cd247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
7c0d6ee5b1 layer.conf: Add missing dependency exclusion
Add a dependency which should have been in this list but wasn't, found
when debugging create-spdx hash issues.

(From OE-Core rev: 1075b9fc5d562dada45b3187cb737511ff8c7376)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
e16c5bfdc5 create-spdx-2.2: Add missing variable exclusions
Some variables cause issues with taskhashes and are accounted for in the
output in other ways, or don't affect it. Exclude these to improve the
taskhashes with create-spdx and allow the sstate selftests to work better.

(From OE-Core rev: e7daaa50af4ccd5ccb568f7a380ded18c7f74ab0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Richard Purdie
8fa72c0e91 create-spdx-2-2: Fix packagedata usage to work with SDK packages
There are two seperate PKGDATA_DIR directories, one for the target and one for
the SDK. Rather than fail when a package can't be found, try the SDK first.

We use a datastore copy to keep the code simple, rather than havng to parameterise
all the packagedata functions.

(From OE-Core rev: 701d8f975c89dc6753188fbcf9d4883650ba5b58)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Joshua Watt
819596507c classes/create-spdx-2.2: Fix runtime dependency calculations
Fixes the runtime dependency calculations to also only follow direct
dependencies of the current task instead of all transient dependencies
in a similar way as the build time dependencies.

(From OE-Core rev: 5fa00564b047725541a5fed95b621f0202803345)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Joshua Watt
15acbd1090 classes/create-spdx-2.2: Fix build time dependency calculations
Build time dependencies were not being correctly calculated for SPDX
documents because while a task can `deptask` itself (as do_create_spdx
did), those dependencies do not appear in BB_TASKDEPDATA (to avoid
circular dependencies).

To fix this, an intermediate task called do_collect_sdpx_deps is created
that does the 'deptask' on do_create_spdx and records the recipe
dependencies. do_create_spdx then runs after this new task. This breaks
the circular dependency and thus all of the do_create_spdx tasks
correctly show up as dependencies of do_collect_spdx_deps.

In addition, the dependency collection logic was improved to handle the
case of transitive dependencies (that is, a dependency of a dependency)
SPDX documents missing and causing an error. These transitive
dependencies don't actually need to be included anyway since one can
follow the relationship of the direct dependency to find them. As such,
the code is reworked to find the current task in BB_TASKDEPDATA, and
then only collect the immediate dependencies of the current task.

(From OE-Core rev: 55b3f160b13c6db778db09476cc4c73e70c5e930)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Joshua Watt
af0136ee4e classes/create-spdx-2.2: Respect PKG for providers
If a package renames itself using PKG, the new name should be respected
as a name that the recipe provides.

(From OE-Core rev: 871f48126180bf30c001c6b97268cee1853dbda2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Joshua Watt
42071227f6 classes/create-spdx-2.2: Use hashfn from BB_TASKDEPDATA instead of MACHINE
Enabling the SPDX class and running two builds, one with SDKMACHINE=i686
and then again with SDKMACHINE=x86_64 would lead to errors since the output
was stored per MACHINE and the overlapping files would cause manifest errors.

The hashfn data from bitbake has SSTATE_PKGARCH encoded into it which is how
sstate separates out it's targets and SDPX should be using the same structure.
Therefore switch to using this.

(From OE-Core rev: 51049cde0cf477f7988b94c1041eb33b018a669f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:59:07 +01:00
Michael Opdenacker
3b20aaad5a alsa-utils: upgrade 1.2.8 -> 1.2.9
(From OE-Core rev: 919079de918b6608fb9fa976eea0fe8b5b1359f6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
ec7576dbdc xdpyinfo: upgrade 1.3.3 -> 1.3.4
Changelog:
=========
configure: Make xf86misc support disabled by default
Variable scope reduction
Remove unnecessary downcast of double to float
Call memset() instead of hand-coding our own equivalent

(From OE-Core rev: d87785189336a69ae998f75394ceaebf63decb16)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
12789f1872 sysklogd: upgrade 2.4.4 -> 2.5.0
Changes
=======
- Issue #59: initial port to NuttX, contributed by Xiaomi
- Issue #61: add support for '-c' and '-cc' to disable log compression.
  A single '-c' disables compression for pipes, another '-c' (or '-cc')
  disables compression for all other log targets
- The default 'syslog.conf' now logs debug messages again (disabled in
  v2.4.0) due to problems (confusion) reported in the field
- Dropped not recommended 'KillMode=process' from systemd unit file

Fixes
========
- Issue #60: document how to set side-wide permissions on log files
- Issue #62: early log messages lost when running under systemd, found
  by Wind River Systems, including initial fix

(From OE-Core rev: 9dfab9e662f2e6ef05c5812b7e8595c2ae8a79a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
e5cff84ccb repo: upgrade 2.32 -> 2.34.1
(From OE-Core rev: 54f0821740badd571a437ee602fa92155cd95879)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
674b2c8b77 python3-typing-extensions: upgrade 4.5.0 -> 4.6.2
Changelog:
============
-  Fix use of @deprecated on classes with __new__ but no __init__.
-  Fix regression in version 4.6.1 where comparing a generic class against a
   runtime-checkable protocol using isinstance() would cause AttributeError to
   be raised if using Python 3.7.
-  Change deprecated @runtime to formal API @runtime_checkable in the error message.
-  Fix regression in 4.6.0 where attempting to define a Protocol that was generic
   over a ParamSpec or a TypeVarTuple would cause TypeError to be raised.
-  typing_extensions is now documented at https://typing-extensions.readthedocs.io/en/latest/.
-  Add typing_extensions.Buffer, a marker class for buffer types, as proposed
   by PEP 688. Equivalent to collections.abc.Buffer in Python 3.12.
-  Backport two CPython PRs fixing various issues with typing.Literal:
   python/cpython#23294 and python/cpython#23383. Both CPython PRs were originally,
   and both were backported to Python >=3.9.1, but no earlier.
-  A side effect of one of the changes is that equality comparisons of Literal
   objects will now raise a TypeError if one of the Literal objects being compared
   has a mutable parameter. (Using mutable parameters with Literal is not
   supported by PEP 586 or by any major static type checkers.)
-  Literal is now reimplemented on all Python versions <= 3.10.0.
-  Backport CPython PR 26067, ensuring that isinstance() calls on protocols raise
   TypeError when the protocol is not decorated with @runtime_checkable.
-  Backport several significant performance improvements to runtime-checkable protocols
   that have been made in Python 3.12 (see python/cpython#74690 for details).
-  A side effect of one of the performance improvements is that the members of a
   runtime-checkable protocol are now considered "frozen" at runtime as soon as the
   class has been created. Monkey-patching attributes onto a runtime-checkable
   protocol will still work, but will have no impact on isinstance() checks comparing
   objects to the protocol. See "What's New in Python 3.12" for more details.
-  isinstance() checks against runtime-checkable protocols now use inspect.getattr_static()
   rather than hasattr() to lookup whether attributes exist (backporting python/cpython#103034).
-  Backport the ability to define __init__ methods on Protocol classes, a change
   made in Python 3.11 (originally implemented in python/cpython#31628
-  Speedup isinstance(3, typing_extensions.SupportsIndex) by >10x on Python <3.12.
-  Add typing_extensions versions of SupportsInt, SupportsFloat, SupportsComplex,
   SupportsBytes, SupportsAbs and SupportsRound. These have the same semantics as
   the versions from the typing module, but isinstance() checks against the
   typing_extensions versions are >10x faster at runtime on Python <3.12.
-  Add __orig_bases__ to non-generic TypedDicts, call-based TypedDicts, and call-based NamedTuples.
-  Add typing_extensions.get_original_bases, a backport of types.get_original_bases,
   introduced in Python 3.12 (CPython PR python/cpython#101827, originally
-  This function should always produce correct results when called on classes
   constructed using features from typing_extensions.
-  Constructing a call-based TypedDict using keyword arguments for the fields
   now causes a DeprecationWarning to be emitted. This matches the behaviour
   of typing.TypedDict on 3.11 and 3.12.
-  Backport the implementation of NewType from 3.10 (where it is implemented as
   a class rather than a function). This allows user-defined NewTypes to be pickled.
-  Fix tests and import on Python 3.12, where typing.TypeVar can no longer be subclassed.
-  Add typing_extensions.TypeAliasType, a backport of typing.TypeAliasType from PEP 695.
-  Backport changes to the repr of typing.Unpack that were made in order
   to implement PEP 692 (backport of python/cpython#104048).

(From OE-Core rev: a37154b9166323d05cca970ebb37bee0d5250893)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
15815e6d6c python3-trove-classifiers: upgrade 2023.5.2 -> 2023.5.24
Changelog:
Add identifier "Programming Language :: Lua" (#145)

(From OE-Core rev: e39aa7d116826a34900f4fcd2a4c38e81116c4fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
7c9b7691d6 python3-sphinx-rtd-theme: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 83019518bbd32c2c2fc753d3e9ec8c205682285a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
29355ebe30 python3-setuptools-rust: upgrade 1.5.2 -> 1.6.0
Changelog:
==========
 Prefer passing --crate-type option to cargo if "toolchain >= 1.64". #322
 Fix a bug where rebuilding the library would cause any running processes using it to segfault. #295
 Fix setup.cfg format for compatibility with "poetry==1.4.0". #319

(From OE-Core rev: 04cae5651275b233ec0ecd9c51ee0aaad951baa0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
8172d3f70c python3-requests: upgrade 2.30.0 -> 2.31.0
Changelog:
==========
Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
forwarding of Proxy-Authorization headers to destination servers when
following HTTPS redirects.

(From OE-Core rev: 97bdf3baf6e612757863e05e84e3b79c4330d27b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
2e4fda8324 python3-pycryptodomex: upgrade 3.17 -> 3.18.0
Changelog:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.

Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.

(From OE-Core rev: e11c8fe22ed3683d032b4a1d3c46f607c36edbf2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
9403c5b0d2 python3-pycryptodome: upgrade 3.17 -> 3.18.0
Changelog:
===========
New features
---------------
* Added support for DER BOOLEAN encodings.
* The library now compiles on Windows ARM64.

  Resolved issues
---------------
* GH#722: "nonce" attribute was not correctly set for XChaCha20_Poly1305 ciphers.
* GH#728: Workaround for a possible x86 emulator bug in Windows for ARM64.
* GH#739: OID encoding for arc 2 didn't accept children larger than 39.
* Correctly check that the scalar matches the point when importing an ECC private key.

(From OE-Core rev: 74ab9f3f90ca56fbef06b3f075b0120da052b379)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
a58c545876 python3-numpy: upgrade 1.24.2 -> 1.24.3
Changelog:
==========
A total of 17 pull requests were merged for this release.

    #23206: BUG: fix for f2py string scalars (#23194)
    #23207: BUG: datetime64/timedelta64 comparisons return NotImplemented
    #23208: MAINT: Pin matplotlib to version 3.6.3 for refguide checks
    #23221: DOC: Fix matplotlib error in documentation
    #23226: CI: Ensure submodules are initialized in gitpod.
    #23341: TYP: Replace duplicate reduce in ufunc type signature with reduceat.
    #23342: TYP: Remove duplicate CLIP/WRAP/RAISE in __init__.pyi.
    #23343: TYP: Mark d argument to fftfreq and rfftfreq as optional...
    #23344: TYP: Add type annotations for comparison operators to MaskedArray.
    #23345: TYP: Remove some stray type-check-only imports of msort
    #23370: BUG: Ensure like is only stripped for like= dispatched functions
    #23543: BUG: fix loading and storing big arrays on s390x
    #23544: MAINT: Bump larsoner/circleci-artifacts-redirector-action
    #23634: BUG: Ignore invalid and overflow warnings in masked setitem
    #23635: BUG: Fix masked array raveling when order="A" or order="K"
    #23636: MAINT: Update conftest for newer hypothesis versions
    #23637: BUG: Fix bug in parsing F77 style string arrays.

(From OE-Core rev: 38192c432204ec498cbdd1005ec2577f84e36018)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
9f2173f18f python3-hypothesis: upgrade 6.71.0 -> 6.75.7
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 80005afefa000dd4016a63cb365735666f898d3d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
db8001891f python3-hatch-fancy-pypi-readme: upgrade 22.8.0 -> 23.1.0
Changelog:
 Add CLI support for hatch.toml.

(From OE-Core rev: 9c1c6442d015e86fc07a154bed1e28ecde659f0e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
a093d23802 python3-dbusmock: upgrade 0.28.7 -> 0.29.0
Changelog:
==========
    Support loading templates from XDG_DATA_DIRS
    iio-sensors-proxy: Throw proper D-Bus errors instead of Python Exception

(From OE-Core rev: f32eb15fc3d310803bc99012039989d039b34959)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
d74800ca36 python3-cython: upgrade 0.29.34 -> 0.29.35
Changelog:
==========
* A garbage collection enabled subtype of a non-GC extension type could call into the
  deallocation function of the super type with GC tracking enabled.  This could lead
  to crashes during deallocation if GC was triggered on the type at the same time.
  (Github issue :issue:'5432')

* Some C compile failures and crashes in CPython 3.12 were resolved.

* "except + nogil" was syntactically not allowed.
  "except +nogil" (i.e. defining a C++ exception handling function called "nogil")
  is now disallowed to prevent typos.
  (Github issue :issue:'5430')

* A C compile failure in PyPy 3.10 was resolved.
  Patch by Matti Picus.  (Github issue :issue:'5408')

* Cython modules now use PEP-489 multi-phase init by default in PyPy 3.9 and later.
  Original patch by Matti Picus.  (Github issue :issue:'5413')

* API header files generated by different Cython versions can now be included in the
  same C file.
  (Github issue :issue:'5383')

* Function signatures containing a type like 'tuple[()]' could not be printed.
  Patch by Lisandro Dalcin.  (Github issue :issue:'5355')

(From OE-Core rev: 73a1e908048374d6873497beacab9ae26b258332)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
6ba20c1412 orc: upgrade 0.4.33 -> 0.4.34
Changelog:
===========
    Thread-safety improvements around orc codemem allocation/freeing
    Add orc_parse_code() with more detailed error reporting
    Implement Orc function lazy initialization correctly via atomic operations
    orc program parser fixes and improvements
    build fixes and compiler warning fixes
    coverity and clang scan-build static code analysis fixes
    meson: Do not always generate static library for test library
    ci improvements

(From OE-Core rev: 0f65b68b90c2b71386f30ed8753928967dce871e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
cae9740a66 python3-sphinx: upgrade 6.1.3 -> 7.0.1
License-Update: Remove smartypants from LICENSE

Changelog:
===========
 #11411: Support Docutils 0.20.
 #11418: Clean up remaining references to sphinx.setup_command following the removal of support for setuptools.

(From OE-Core rev: c823432d3941c85ca936a99da69be35220f01bd9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
edf998161c python3-ruamel-yaml: upgrade 0.17.21 -> 0.17.31
Changelog:
=========
- added tag.setter on 'ScalarEvent' and on 'Node', that takes either
    a 'Tag' instance, or a str
- fix issue 467, caused by Tag instances not being hashable
- changed the internals of the tag property from a string to a class which allows
  for preservation of the original handle and suffix. This should
  result in better results using documents with %TAG directives, as well
  as preserving URI escapes in tag suffixes.
- fix for issue 464: documents ending with document end marker without final newline
  fail to load
- fix issue with inline mappings as value for merge keys
- fix for 468, error inserting after accessing merge attribute on "CommentedMap"
- fix for issue 461 pop + insert on same 'CommentedMap' key throwing error
- Fix for error on edge cage for issue 459
- fix for regression while dumping wrapped strings with too many backslashes removed
- rewrite of "CommentedMap.insert()". If you have a merge key in
  the YAML document for the mapping you insert to, the position value should
  be the one as you look at the YAML input.
  This fixes issue 453 where other
  keys of a merged in mapping would show up after an insert
  It
  also fixes a call to '.insert()' resulting into the merge key to move
  to be the first key if it wasn't already and it is also now possible
  to insert a key before a merge key (even if the fist key in the mapping).
- fix (in the pure Python implementation including default) for issue 447.
  also brought up by brent on
  'StackOverflow <https://stackoverflow.com/q/40072485/1307905>'__)
- fix 458, error on plain scalars starting with word longer than width.
- fix for ".update()" no longer correctly handling keyword arguments
- fix issue 454: high Unicode (emojis) in quoted strings always
  escaped
- fix issue with emitter conservatively inserting extra backslashes in wrapped
  quoted strings
- fix issue 449 where the second exclamation marks got URL encoded
  and fixing PR
- fix issue with indent != 2 and literal scalars with empty first line
- updated __repr__ of CommentedMap, now that Python's dict is ordered -> no more
  ordereddict(list-of-tuples)
- merge MR 4, handling OctalInt in YAML 1.1
- fix loading of '!!float 42'
- line numbers are now set on 'CommentedKeySeq' and 'CommentedKeyMap' (which
  are created if you have a sequence resp. mapping as the key in a mapping)
- plain scalars: put single words longer than width on a line of their own, instead
  of after the previous line
- fix for folded scalar part of 421: comments after ">" on first line of folded
  scalars are now preserved (as were those in the same position on literal scalars).
- added stacklevel to warnings
- typing changed from Py2 compatible comments to Py3, removed various Py2-isms

License-Update: Copyright year updated to 2023

(From OE-Core rev: a83a1f21c1c1637017d4046b32fc5e558f342add)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:36 +01:00
Wang Mingyu
dd560415b0 python3-psutil: upgrade 5.9.4 -> 5.9.5
License-Update: Fix license: extra open quote.

(From OE-Core rev: c59d320d21620eb0788f87828a402aef4393f499)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
e4d4076a83 python3-pip: upgrade 23.0.1 -> 23.1.2
License-Update:
  -Copyright changed from "(C) 2016 Jason R Coombs <jaraco@jaraco.com>"
   to "Jason R. Coombs"
  -The wrapping position has been adjusted

Changelog:
===========
- Upgrade setuptools to 67.7.2
- Revert #11487, as it causes issues with virtualenvs created by the Windows
  Store distribution of Python. (#11987)
- Fix grammar by changing "A new release of pip available:" to "A new release
  of pip is available:" in the notice used for indicating that. (#11529)
- Normalize paths before checking if installed scripts are on PATH. (#11719)
- Correct the way to decide if keyring is available. (#11774)
- More consistent resolution backtracking by removing legacy hack related to
  setuptools resolution (#11837)
- Include AUTHORS.txt in pip's wheels. (#11882)
- The uninstall and install --force-reinstall commands no longer call
  normalize_path() repeatedly on the same paths. Instead, these results are
  cached for the duration of an uninstall operation, resulting in improved
  performance, particularly on Windows. (#11889)
- Fix and improve the parsing of hashes embedded in URL fragments. (#11936)
- When package A depends on package B provided as a direct URL dependency
  including a hash embedded in the link, the --require-hashes option did not
  warn when user supplied hashes were missing for package B. (#11938)
- Correctly report requested_extras in the installation report when extras
  are specified for a local directory installation. (#11946)
- When installing an archive from a direct URL or local file, populate
  download_info.info.hashes in the installation report, in addition to the
  legacy download_info.info.hash key. (#11948)

(From OE-Core rev: d859e35c533976d05bc7e74e05c3fc111654670f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
aa5b3eb07d libuv: upgrade 1.44.2 -> 1.45.0
License-Update:  doc: clean up license file (#3876)
 GitHub gets confused by the non-standard format of the LICENSE file.
 Move the extra bits into the creatively named LICENSE-extra file.

Changelog:
==========
 linux: introduce io_uring support #3952
 src: add new metrics APIs #3749
 unix,win: give thread pool threads an 8 MB stack #3787
 win,unix: change execution order of timers #3927

(From OE-Core rev: 594953f635894217b9dcf570a601ac84ad908b4d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
75bd124bee libcap: upgrade 2.68 -> 2.69
(From OE-Core rev: a6c9f01098083de40666a920be5819aade635999)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
6d423750b9 ccache: upgrade 4.8 -> 4.8.1
License-Update:
 cpp-httplib updated to v0.12.3
 Copyright year updated to 2023

(From OE-Core rev: dcbee8c1855a2d54d315626c85ede2c117e11878)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
74ea57552f bind: upgrade 9.18.14 -> 9.18.15
Changelog:
=========
[bug]  Set the rndc idle read timeout back to 60 seconds,
       from the netmgr default of 30 seconds, in order to
       match the behavior of 9.16 and earlier. [GL #4046]

[bug]  Fix log file rotation when using absolute path as
       file. [GL #3991]

[bug]  When removing delegations in an OPTOUT range
       empty-non-terminal NSEC3 records generated by
       those delegations were not removed. [GL #4027]

[bug]  Reimplement the maximum and idle timeouts for incoming
       zone tranfers. [GL #4004]

[bug]  Treat ISC_R_INVALIDPROTO as a networking error
       in the dispatch code to avoid retrying with the
       same server. [GL #4005]

[bug]  In dispatch, honour the configured source-port
       selection when UDP connection fails with address
       in use error.

       Also treat ISC_R_NOPERM same as ISC_R_ADDRINUSE.
       [GL #3986]

[test] As a workaround, include an OpenSSL header file before
       including cmocka.h in the unit tests, because OpenSSL
       3.1.0 uses __attribute__(malloc), conflicting with a
       redefined malloc in cmocka.h. [GL #4000]

(From OE-Core rev: 9d5f8062fc2c11bd6ff98a96caa03aac3984ae9c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
a41e79235c mobile-broadband-provider-info: upgrade 20221107 -> 20230416
(From OE-Core rev: 125f72393c9b6fea02757cdc3a22696945e0f490)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
496d7c993c libxpm: upgrade 3.5.15 -> 3.5.16
Changelog:
===========
test: skip compressed file tests when --disable-open-zfile is used
itlab CI: build with each of --enable-open-zfile & --disable-open-zfile
configure: correct error message to suggest --disable-open-zfile
Fix a memleak in ParsePixels error code path
Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
open-zfile: Make compress & uncompress commands optional
Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
test: Use PACKAGE_BUGREPORT instead of hard-coded URL's
test: Add simple test cases for functions in src/rgb.c
xpmReadRgbNames: constify filename argument
XpmCreateDataFromXpmImage: Fix misleading indentation
parse.c: Wrap FREE_CIDX definition in do { ... } while(0)
parse.c: remove unused function xstrlcpy()

(From OE-Core rev: 4d9f0958eecdf683434d77a4f65611803cffd247)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
c4a0cea0ab libxft: upgrade 2.3.7 -> 2.3.8
Changelog:
=========
add check for missing glyph in XftFontCheckGlyph()
issue 17: libxft-2.3.7: Bold fonts in urxvt missing leftmost pixels
issue 18: Problems with rotated text (monospace font only)
configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
Clears autoconf warnings

(From OE-Core rev: 5f6eae1dfb910347ab47ca868e6978768fb14f46)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
7f2da28eff libmicrohttpd: upgrade 0.9.76 -> 0.9.77
Changelog:
==========
 API changes:
-------------
 + Added new function MHD_get_version_bin().

 Improvements and enhancements:
-------------------------------
 * Digest Auth: changed algorithm identifiers in server generated
   headers from "md5" / "sha-256" to "MD5" / "SHA-256" to better match
   RFC (while clients should use caseless matching).
 * Improved Base64 decoding by new implementation with robust input
   data validation checks.
 * Improved configure for cross-compiling, for better compatibility
   with POSIX and for better compatibility with the latest compiler
   versions.
 * New internal tests: for Base64 decoding, Basic Auth and folded
   headers.
 * Supported new libcurl API in tests to mute deprecation warnings.
 * Supported ARM and ARM64 for VC compilers.

 Functionality changes:
------------------------
 * any negative number returned by response data generation callback
   function is treated as an error. Previously negative values except
   predefined error codes could produce undefined behaviour.
 * Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG".

 Fixes:
---------
 # Fixed functionality with blocking sockets.
 # Fixed very inefficient data pumping for upgraded TLS connections.
 # Fixed processing of folded headers in the requests.
 # Fixed data races when closing upgraded connection.
 # Removed duplication of "Connection: upgrade" header.
 # Digest auth: fixed thread sync to avoid "stale hash" results.
 # Fixed harmless unwanted extra data processing resulting in triggering
   of the assert.
 # Fixed tests for LTO.
 # Removed removed non-portable functions in examples.
 # Fixed delayed call of connection notification callback in
   thread-per-connection mode.
 # Fixed Address Sanitizer unpoison of memory when memory pool is
   destroyed. This fixed periodic ASAN error when used for a long time
   with the sanitizer.
 # Fixed compiler warnings in library code, examples, tests and configure
   checks.
 # New TLS certificates for test-suite: all with SAN fields and SHA-256
   hash.
 # Tests: fixed tests on Darwin 22.x (Ventura).
 # Tests: redesigned one tests group to avoid stress-testing of the OS.

(From OE-Core rev: bdc28b0262ad8a57d56f029b55b338478afb3a07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
25755281cb libdnf: upgrade 0.70.0 -> 0.70.1
Changelog:
==========
 Add repoid to solver errors for RPMs (RhBug:2179413)
 Avoid using obsolete RPM API and drop redundant calls
 Remove DNF from list of protected packages

(From OE-Core rev: 965f0b5f50c2c1453d6e7d4f32091635c0ec1e49)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
95f9caef1f fribidi: upgrade 1.0.12 -> 1.0.13
Changelog:
* Adding missing man pages to the tar release file.

(From OE-Core rev: 0f6da8601fd4d992550e8afe7b09ba7c491250fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
22eb71161c enchant2: upgrade 2.3.4 -> 2.5.0
Changelog:
=========
  * A new dictionary method remove_from_session() allows providers to stay
    in sync with Enchant's personal wordlist, by removing as well as adding
    words in the spelling session.
  * The public API enchant_dict_store_replacement() is deprecated, and no
    longer does anything. It only previously had an effect with the Aspell
    provider.
  * The APIs enchant_dict_add() and enchant_dict_remove() also respectively
    add the word to the session or remove it.

(From OE-Core rev: c21b5b930430f5fbf47866380f94c088dd809089)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
8728f950b6 dos2unix: upgrade 7.4.4 -> 7.5.0
Changelog:
===========
* New option -O, --to-stdout to write to standard output.
* New option -e, --add-eol to add a line break to the last
  line if there isn't one. Option --no-add-eol disables the
  feature.

(From OE-Core rev: a81874c8898ccd33c0c20260f2bfe9bcb2d75d69)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
426ddff18d curl: upgrade 8.1.1 -> 8.1.2
Changelog:
===========
- lib1560: verify more scheme guessing
- page-header: minor wording polish in the URL segment
- page-header: mention curl version and how to figure out current release
- RELEASE-NOTES: synced
- configure: without pkg-config and no custom path, use -lnghttp2
- curl: cache the --trace-time value for a second
- libcurl.m4: remove trailing 'dnl' that causes this to break autoconf
- http3: send EOF indicator early as possible
- scripts/contri*sh: no longer grep -v ' '
- cf-socket: restore Curl_sock_assign_addr()
- libssh: when keyboard-interactive auth fails, try password
- configure: fix build with arbitrary CC and LD_LIBRARY_PATH
- urlapi: remove superfluous host name check
- http2: fix EOF handling on uploads with auth negotiation
- lib: remove unused functions, make single-use static
- scripts/singleuse.pl: add more API calls
- configure: quote the assignments for run-compiler
- misc: fix spelling mistakes

(From OE-Core rev: db5773bf9c5e78affaaf0a21422bad07560eaa86)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Wang Mingyu
7c88bb0700 babeltrace2: upgrade 2.0.4 -> 2.0.5
Changelog:
==========
 * bt2: honor build system compiler/linker preferences
 * Fix: clear_string_field(): set first character to 0
 * Fix: src.ctf.fs: Not resolving event common ctx
 * debug-info: fix -Wenum-int-mismatch problem in copy_field_class_content_internal
 * fix: pass exec-prefix to python bindings install
 * fix: document proper Bison version requirement
 * cli: use return value of g_string_free
 * babeltrace2-query(1): erroneous parameter used in example
 * Fix: tests: print real values in a fixed format
 * Fix: bt2: autodisc: remove thread error while inserting status in map
 * tests: src.ctf.fs: add test for metadata with invalid syntax
 * tests: shorten names of session-rotation trace
 * bt2: ignore -Wredundant-decls warning
 * ctf: fix -Wformat-overflow error in ctf-meta-resolve.cpp
 * ctf-writer: fix -Wformat-overflow errors in resolve.c
 * Fix: src.text.details: use write_uint_prop_value to handle unsigned values in write_int_range
 * Add `dev-requirements.txt` for pip
 * Fix: src.ctf.lttng-live: consider empty metadata packet as retry
 * Fix: ctf: wrongfully requiring CTF metadata signature for every section
 * Fix: src.ctf.lttng-live: session closed before any metadata is received
 * fix: obsolete warnings with autoconf >= 2.71
 * fix: explicitly disable '-Wsuggest-attribute=format'
 * fix: set stable branch in gitreview config
 * Fix: ctf-writer: list of reserved keywords
 * compiler warning cleanup: is_signed_type: compare -1 to 1
 * Update working version to Babeltrace 2.0.5

(From OE-Core rev: ae47b6c2a4bdee031d42687582049c15614faa6d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Alexander Kanavin
37a7a24d0c maintainers.inc: correct Carlos Rafael Giani's email address
As confirmed via private email.

(From OE-Core rev: c7f934368d3fb3e9cf268f8237eae80b1c1665a5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 15:16:35 +01:00
Chen Qi
649ae001fd Revert "libsdl2: disable SDL's own ccache"
The reverted patch's purpose is to avoid libsdl2-native from
detecting ccache from host. Now that we have made cmake.bbclass
to not search the host paths, the original patch is no longer
needed.

This reverts commit 01472f512f.

(From OE-Core rev: b614147df47138d95da17800e39af923e15671ad)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 14:41:50 +01:00
Chen Qi
2a97429c16 cmake.bbclass: do not search host paths for find_program()
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM[1] controls the search
behavior of find_program(). When this variable's value was
first used in OE, it was deliberately set to BOTH to allow
searching of host tools. This is to ensure the necessary tools
from host could be used. The downside is that the configure
behavior may differ on different host environments.

Later, this cmake.bbclass was added the ability to search tools
under the HOSTTOOLS_DIR. This means we no longer needs cmake to
search the host paths. So we remove the class-native setting of
BOTH.

[1] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html

(From OE-Core rev: f4ea12f6635125ee793f4dd801c538c0186f9dc3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 14:41:50 +01:00
Trevor Gamblin
ef70f26445 python_hatchling: remove empty python sysroot dirs
In some cases, empty versioned directories are being left behind in
sysroots from previous versions of packages. This appears to be found
with recipes relying on hatchling, and causes errors at the do_compile
step:

|   File "/workspace/yocto/manual/openembedded-core/build/tmp-glibc/work/core2-64-oe-linux/python3-iniconfig/2.0.0-r0/recipe-sysroot-native/usr/lib/python3.11/site-packages/packaging/version.py", line 197, in __init__
|     match = self._regex.search(version)
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| TypeError: expected string or bytes-like object, got 'NoneType'

To fix this error, add a do_prepare_recipe_sysroot postfunc in the
python_hatchling class that removes any nested empty directories from
the sysroots during build, so that dependent recipes don't get caught
on them.

(From OE-Core rev: 3ded8b83cebb6d2b9f9da1c0325148f8da4ed23b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-02 14:41:50 +01:00
Joshua Watt
c6763d27ef bitbake: runqueue: Pass hashfn in taskdep data
Include the hashfn (the value of BB_HASHFILENAME) in the task dependency
data. This allows tasks to get a specific unique hash for dependent
tasks when one is available.

(Bitbake rev: 4dbecf6059e495246267b09d0f43086d51e6df2c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:08:33 +01:00
Joshua Watt
28a7202ac5 bitbake: server: Fix crash when checking lock file
Fixes a crash when the server process attempts to check the PID of the
lock file that resulted because an integer (os.getpid()) was attempting
to be concatenated to a string

(Bitbake rev: 5d499682a0a739b5269247a8f6dbb874e3eec456)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:08:33 +01:00
Bruce Ashfield
1f6778c738 linux-yocto/6.1: update to v6.1.30
Updating  to the latest korg -stable release that comprises
the following commits:

    a343b0dd87b4 Linux 6.1.30
    da9a8dc33da2 drm/amdgpu: reserve the old gc_11_0_*_mes.bin
    616843d5a11b drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
    09bf14907d86 drm/amdgpu: declare firmware for new MES 11.0.4
    f05ccf6a6ac6 crypto: testmgr - fix RNG performance in fuzz tests
    682679fc953d remoteproc: imx_dsp_rproc: Fix kernel test robot sparse warning
    7099e14f601e rethook, fprobe: do not trace rethook related functions
    c46d3efb4d23 rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler
    4e38a02b2207 arm64: mte: Do not set PG_mte_tagged if tags were not initialized
    02cf4a336e7d s390/qdio: fix do_sqbs() inline assembly constraint
    25e8d30507aa s390/crypto: use vector instructions only if available for ChaCha20
    eeb63c07ba72 s390/dasd: fix command reject error on ESE devices
    acc2a40e428f nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
    0fc73f310c05 powerpc/64s/radix: Fix soft dirty tracking
    ae5d148965bc tpm/tpm_tis: Disable interrupts for more Lenovo devices
    9a74146540cf powerpc/iommu: Incorrect DDW Table is referenced for SR-IOV device
    fc983cf5ddd2 powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs
    6e092fa42ed1 dt-bindings: ata: ahci-ceva: Cover all 4 iommus entries
    76313a63f779 drm/amdgpu/gfx11: update gpu_clock_counter logic
    055852074c96 drm/amdgpu: refine get gpu clock counter method
    4e2f9159f942 drm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well
    abfe2ffc004a drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
    9de5a985884a drm/amdgpu/gmc11: implement get_vbios_fb_size()
    903e942500c6 drm/amd/pm: fix possible power mode mismatch between driver and PMFW
    595824a45090 ceph: force updating the msg pointer in non-split case
    3338d0b9acde vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
    e16629c639d4 thunderbolt: Clear registers properly when auto clear isn't in use
    abc7e50e891f serial: qcom-geni: fix enabling deactivated interrupt
    1db5db7a99a0 serial: 8250_exar: Add support for USR298x PCI Modems
    cda8aa19bfdb serial: Add support for Advantech PCI-1611U card
    2cab13f500a6 mm: fix zswap writeback race condition
    254ee530286a maple_tree: make maple state reusable after mas_empty_area()
    6c4172d44cf9 statfs: enforce statfs[64] structure initialization
    154de42fe3f2 KVM: Fix vcpu_array[0] races
    75378b03a90d ksmbd: fix global-out-of-bounds in smb2_find_context_vals
    40d90ee0275a ksmbd: fix wrong UserName check in session_user
    af7335a4b946 ksmbd: allocate one more byte for implied bcc[0]
    f1d013b0f0f0 ksmbd: smb2: Allow messages padded to 8byte boundary
    4d25f93e64be SMB3: drop reference to cfile before sending oplock break
    3b66d58c89fd SMB3: Close all deferred handles of inode in case of handle lease break
    107677a8f435 wifi: rtw88: use work to update rate to avoid RCU warning
    d61191092d63 can: kvaser_pciefd: Disable interrupts in probe error path
    eabb11236a64 can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
    45ce3beb02a0 can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
    fcdfc1860f8a can: kvaser_pciefd: Empty SRB buffer in probe
    50bdf44a1bda can: kvaser_pciefd: Call request_irq() before enabling interrupts
    24bdfcb09947 can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
    9cd1025b1a46 can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
    836641cc41cd can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
    0eee95cbbbf7 ALSA: hda/realtek: Fix mute and micmute LEDs for yet another HP laptop
    0cc95fdb67bb ALSA: hda/realtek: Add quirk for HP EliteBook G10 laptops
    4ea7c3388f38 ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
    9328c6569457 ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
    30043b0a065c ALSA: hda/realtek: Add quirk for Clevo L140AU
    0e1e6c077952 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
    dc8c569d59f1 ALSA: hda: Fix Oops by 9.1 surround channel names
    44f2ed29e16d xhci: Fix incorrect tracking of free space on transfer rings
    643a45387896 xhci-pci: Only run d3cold avoidance quirk for s2idle
    ea56ede91178 Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"
    7356d42ceffe Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"
    08bd1be1c716 usb: typec: altmodes/displayport: fix pin_assignment_show
    f1f810e54163 usb: gadget: u_ether: Fix host MAC address case
    a9342bd4c29b usb: dwc3: debugfs: Resume dwc3 before accessing registers
    ad43004fd532 usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
    56a0769fa40a USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
    4c3312745ffb usb-storage: fix deadlock when a scsi command timeouts more than once
    0ced12bdf624 USB: usbtmc: Fix direction for 0-length ioctl control messages
    2cd7d88fcb1e ALSA: usb-audio: Add a sample rate workaround for Line6 Pod Go
    d319fe244e87 bridge: always declare tunnel functions
    a836be60a3aa netfilter: nft_set_rbtree: fix null deref on element insertion
    8f58c538573a netfilter: nf_tables: fix nft_trans type confusion
    d862b63605df net: selftests: Fix optstring
    fdc5c8fb57d7 net: pcs: xpcs: fix C73 AN not getting enabled
    ee44bacf462d net: wwan: iosm: fix NULL pointer dereference when removing device
    c3e3e8933faa vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
    e02d2b987c02 igb: fix bit_shift to be in [1..8] range
    516114d7fb58 net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset
    172146c26f0c cassini: Fix a memory leak in the error handling path of cas_init_one()
    9cae243b9ae2 tun: Fix memory leak for detached NAPI queue.
    e2d59768f851 net: tun: rebuild error handling in tun_get_user
    ae42c6f79cec scsi: storvsc: Don't pass unused PFNs to Hyper-V host
    557ba100d8cf wifi: iwlwifi: mvm: don't trust firmware n_channels
    a270c552ced3 wifi: iwlwifi: mvm: fix OEM's name in the tas approved list
    bc907fbf48bc wifi: iwlwifi: fix OEM's name in the ppag approved list
    2160e1198191 wifi: iwlwifi: fw: fix DBGI dump
    a20550b3aac3 wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
    bc2265643208 wifi: mac80211: Abort running color change when stopping the AP
    01a4503d9fb8 wifi: mac80211: fix min center freq offset tracing
    c79d794a2cd7 wifi: mac80211: fortify the spinlock against deadlock by interrupt
    f9a85347e4d1 wifi: cfg80211: Drop entries with invalid BSSIDs in RNR
    dda9c9b117a2 ice: Fix ice VF reset during iavf initialization
    f181d799fb53 ice: introduce clear_reset_state operation
    36e6c7ada5ed net: bcmgenet: Restore phy_stop() depending upon suspend/close
    41357a52b83e net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
    e90cefcffd73 can: dev: fix missing CAN XL support in can_put_echo_skb()
    c9abef1e07ff s390/cio: include subchannels without devices also for evaluation
    f215b62f59be tipc: check the bearer min mtu properly when setting it by netlink
    259683001d7e tipc: do not update mtu if msg_max is too small in mtu negotiation
    735c64ea8802 tipc: add tipc_bearer_min_mtu to calculate min mtu
    73f53bc29572 virtio_net: Fix error unwinding of XDP initialization
    978a55b0c096 virtio-net: Maintain reverse cleanup order
    6fbedf987b6b net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
    82ede435440e drm/exynos: fix g2d_open/close helper function definitions
    866c78a3a99b ASoC: SOF: topology: Fix logic for copying tuples
    3e56a1c04882 ASoC: mediatek: mt8186: Fix use-after-free in driver remove path
    da1b6989764d SUNRPC: Fix trace_svc_register() call site
    47adb84916ee SUNRPC: always free ctxt when freeing deferred request
    fd86534872f4 SUNRPC: double free xprt_ctxt while still in use
    07821524f67b media: netup_unidvb: fix use-after-free at del_timer()
    4147a0cee15d net: hns3: fix reset timeout when enable full VF
    89982e050110 net: hns3: fix reset delay time to avoid configuration timeout
    2a06c5ab7b92 net: hns3: fix sending pfc frames after reset issue
    8ee34c90ce5e net: hns3: fix output information incomplete for dumping tx queue info with debugfs
    37c1e28967e1 net: dsa: rzn1-a5psw: disable learning for standalone ports
    7ceeb5608d16 net: dsa: rzn1-a5psw: fix STP states handling
    374c9cf3ad60 net: dsa: rzn1-a5psw: enable management frames for CPU port
    33a93db90967 erspan: get the proto with the md version for collect_md
    2a3e5f428fc4 serial: 8250_bcm7271: fix leak in `brcmuart_probe`
    dcf08087c2cd serial: 8250_bcm7271: balance clk_enable calls
    081790eee6b4 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
    820a60a4160f tcp: fix possible sk_priority leak in tcp_v4_send_reset()
    9bcf4794f1c6 vsock: avoid to close connected socket after the timeout
    116cc7670f06 sfc: disable RXFCS and RXALL features by default
    1c052acd717a ALSA: hda/realtek: Apply HP B&O top speaker profile to Pavilion 15
    a16bf8f9c8b5 wifi: mt76: connac: fix stats->tx_bytes calculation
    ee1a221d9478 ALSA: firewire-digi00x: prevent potential use after free
    ea9c758184ae net: phy: dp83867: add w/a for packet errors seen with short cables
    9407454a9b18 net: fec: Better handle pm_runtime_get() failing in .remove()
    e412fa5d81f0 selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test
    7099beeec97d selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test
    c498e5d39294 drm/msm: Fix submit error-path leaks
    474d57adf16a af_key: Reject optional tunnel/BEET mode templates in outbound policies
    e5a0b280b05f xfrm: Reject optional tunnel/BEET mode templates in outbound policies
    0d778f0cb131 cpupower: Make TSC read per CPU for Mperf monitor
    ce6c7befc2ea ASoC: fsl_micfil: Fix error handler with pm_runtime_enable
    9d3ac384cbce platform: Provide a remove callback that returns no value
    394336e13973 dt-bindings: display/msm: dsi-controller-main: Document qcom, master-dsi and qcom, sync-dual-dsi
    97d6437cbf10 drm/msm/dpu: Remove duplicate register defines from INTF
    d6d90e140226 drm/msm/dpu: Move non-MDP_TOP INTF_INTR offsets out of hwio header
    092f382f65c4 drm/msm/dpu: Assign missing writeback log_mask
    ccde7016d131 drm/msm/dp: unregister audio driver during unbind
    6867c4b5dbfe Revert "Fix XFRM-I support for nested ESP tunnels"
    070d0047c670 xfrm: don't check the default policy if the policy allows the packet
    7b5a8a23acbc drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs
    b5f3f923d421 platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
    1189b7f49540 platform/x86: Move existing HP drivers to a new hp subdir
    c9888aaed1a2 parisc: Replace regular spinlock with spin_trylock on panic path
    e112b2e26569 mfd: intel-lpss: Add Intel Meteor Lake PCH-S LPSS PCI IDs
    77f43c014a77 mfd: dln2: Fix memory leak in dln2_probe()
    d3ee2f9e3069 mfd: intel_soc_pmic_chtwc: Add Lenovo Yoga Book X90F to intel_cht_wc_models
    4e5e9da139c0 soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow
    60eb1afb4fb6 soundwire: qcom: gracefully handle too many ports in DT
    3060b08d633a phy: st: miphy28lp: use _poll_timeout functions for waits
    81e8f1abd08f soundwire: dmi-quirks: add remapping for Intel 'Rooks County' NUC M15
    895130e63c93 recordmcount: Fix memory leaks in the uwrite function
    4e2df9111887 lkdtm/stackleak: Fix noinstr violation
    fa825017fb15 sched: Fix KCSAN noinstr violation
    eaa182a6c81c mcb-pci: Reallocate memory region to avoid memory overlapping
    af4d6dbb1a92 serial: 8250: Reinit port->pm on port specific driver unbind
    6a4cef8244de usb: typec: tcpm: fix multiple times discover svids error
    1edff076cc41 HID: wacom: generic: Set battery quirk only when we see battery data
    37358a22a334 HID: Ignore battery for ELAN touchscreen on ROG Flow X13 GV301RA
    10ba1c342451 HID: apple: Set the tilde quirk flag on the Geyser 3
    f3e2f3e0a7af ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list for acp6x
    1a6371c50b79 ASoC: amd: Add Dell G15 5525 to quirks list
    26fda3734523 ALSA: hda: LNL: add HD Audio PCI ID
    907d6b615e79 usb: typec: ucsi: acpi: add quirk for ASUS Zenbook UM325
    b484aa214763 spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
    1844749dcfc4 HID: logitech-hidpp: Reconcile USB and Unifying serials
    16420da84522 HID: logitech-hidpp: Don't use the USB serial for USB devices
    2e64faf6553b ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)
    6ce24d176ea6 staging: axis-fifo: initialize timeouts in init only
    b268082188e6 HID: apple: Set the tilde quirk flag on the Geyser 4 and later
    ec310591cf83 staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
    022fe9fcac06 Bluetooth: btrtl: Add the support for RTL8851B
    fd269a0435f8 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
    2f4a1b24dad0 Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851
    76dd7893bd10 Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set
    803ba6dcc4b6 Bluetooth: btintel: Add LE States quirk support
    ea160ece0866 Bluetooth: btrtl: check for NULL in btrtl_set_quirks()
    f4f3cbdbf2c8 Bluetooth: Improve support for Actions Semi ATS2851 based devices
    88deda7cd8fa Bluetooth: btrtl: add support for the RTL8723CS
    c97ab504419b Bluetooth: Add new quirk for broken local ext features page 2
    d9a68e9e89ce Bluetooth: btusb: Add new PID/VID 04ca:3801 for MT7663
    75481fa7aa5b ipvs: Update width of source for ip_vs_sync_conn_options
    fab766c8a1af nbd: fix incomplete validation of ioctl arg
    068fd06148fb wifi: ath11k: Fix SKB corruption in REO destination ring
    57189c885149 wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
    fd35b7bb6d5a null_blk: Always check queue mode setting from configfs
    63e2d06adf6b wifi: iwlwifi: fix iwl_mvm_max_amsdu_size() for MLO
    e78526a06b53 wifi: ath11k: Ignore frags from uninitialized peer in dp.
    1655cfc85250 block, bfq: Fix division by zero error on zero wsum
    dbebdee3f2e9 wifi: iwlwifi: mvm: fix ptk_pn memory leak
    eb1ef44efac7 wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
    19f063df737b wifi: iwlwifi: add a new PCI device ID for BZ device
    0f9a1bcb9401 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
    b4acb6c3ede8 md: fix soft lockup in status_resync
    60039bf72f81 bpf: Add preempt_count_{sub,add} into btf id deny list
    f2065b8b0a21 samples/bpf: Fix fout leak in hbm's run_bpf_prog
    e05d63f8b48a f2fs: fix to check readonly condition correctly
    7741ddc882a0 f2fs: fix to drop all dirty pages during umount() if cp_error is set
    f4631d295ae3 f2fs: Fix system crash due to lack of free space in LFS
    c1b0b32f2dfa crypto: jitter - permanent and intermittent health errors
    9d4430b7f862 ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
    c6bee8970075 ext4: set goal start correctly in ext4_mb_normalize_request
    7739981b9c6a scsi: ufs: ufs-pci: Add support for Intel Lunar Lake
    d48590323186 gfs2: Fix inode height consistency check
    9c6da3b7f125 scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
    c9115f49cf26 lib: cpu_rmap: Avoid use after free on rmap->obj array entries
    a7a4def6c704 scsi: target: iscsit: Free cmds before session free
    d957a100bcc2 netdev: Enforce index cap in netdev_get_tx_queue
    cf1fe8ccb506 net: Catch invalid index in XPS mapping
    ee5929c1e85e net: pasemi: Fix return type of pasemi_mac_start_tx()
    efb1a2575134 bnxt: avoid overflow in bnxt_get_nvram_directory()
    8a7228969431 scsi: lpfc: Correct used_rpi count when devloss tmo fires with no recovery
    a9df88cb31dc scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
    e6f4fb28890c ext2: Check block size validity during mount
    f8a6c53ff1d9 wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
    c35105f375b5 wifi: brcmfmac: pcie: Provide a buffer of random bytes to the device
    4e7a81b5e718 bpf: Annotate data races in bpf_local_storage
    660ab315619b wifi: ath: Silence memcpy run-time false positive warning
    48e4e06e2c5f media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
    83c42283bff0 media: Prefer designated initializers over memset for subdev pad ops
    210ef6cd8e63 drm/amdgpu: Fix sdma v4 sw fini error
    5675ecd2e0b0 drm/amd: Fix an out of bounds error in BIOS parser
    ec5f00a59aad drm/amd/display: Correct DML calculation to follow HW SPEC
    cf180afea303 ACPI: video: Remove desktops without backlight DMI quirks
    86ba4f7b9f94 irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4
    57b5a56cecbe arm64: dts: qcom: sdm845-polaris: Drop inexistent properties
    fee613349009 ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
    8c4a7163b7f1 ACPICA: Avoid undefined behavior: applying zero offset to null pointer
    b1db73e27f0b drm/msm/dp: Clean up handling of DP AUX interrupts
    a6eb3aa0ec5b drm/tegra: Avoid potential 32-bit integer overflow
    a7f9c14aced3 remoteproc: stm32_rproc: Add mutex protection for workqueue
    3dc61a19c924 drm/amd/display: fixed dcn30+ underflow issue
    86a159fd5bdb ACPI: EC: Fix oops when removing custom query handlers
    a8267bc8de73 firmware: arm_sdei: Fix sleep from invalid context BUG
    b963e1b7066f arm64: dts: imx8mq-librem5: Remove dis_u3_susphy_quirk from usb_dwc3_0
    9a342d4eb9fb memstick: r592: Fix UAF bug in r592_remove due to race condition
    110d42025223 drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
    79ca94bc3e8c ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()
    cc4273233ace media: pvrusb2: VIDEO_PVRUSB2 depends on DVB_CORE to use dvb_* symbols
    3c67f49a6643 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish
    6738841f6fcf media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()
    346c97552455 arm64: dts: qcom: msm8996: Add missing DWC3 quirks
    44361033a880 remoteproc: imx_dsp_rproc: Add custom memory copy implementation for i.MX DSP Cores
    10add04ee608 regmap: cache: Return error in cache sync operations for REGCACHE_NONE
    34813f041d0e drm/amd/display: Use DC_LOG_DC in the trasform pixel function
    d547d499e451 drm/amd/display: Enable HostVM based on rIOMMU active
    898b031dc267 platform/x86: x86-android-tablets: Add Acer Iconia One 7 B1-750 data
    09f7da1301cf drm/amd/display: Correct DML calculation to align HW formula
    92e6c79acad4 drm/amd/display: populate subvp cmd info only for the top pipe
    4b17053ba268 drm/displayid: add displayid_get_header() and check bounds better
    48960a503fce fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
    e8c322b76e58 open: return EINVAL for O_DIRECTORY | O_CREAT
    d0a8c0e31a09 rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access
    801593f70be8 selftests: cgroup: Add 'malloc' failures checks in test_memcontrol
    522c441faf82 refscale: Move shutdown from wait_event() to wait_event_idle()
    b4319e457d6e ext4: allow ext4_get_group_info() to fail
    f12aa035e814 ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
    cd2341c26fb6 ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
    cc4086759fda ext4: reflect error codes from ext4_multi_mount_protect() to its callers
    5a08a72da35b fbdev: arcfb: Fix error handling in arcfb_probe()
    dcd289136bcc drm/i915: taint kernel when force probing unsupported devices
    36fa6187753a drm/i915: Expand force_probe to block probe of devices as well.
    86d73b1f98a8 drm/i915/dp: prevent potential div-by-zero
    dbf25cc21bef drm/i915: Fix NULL ptr deref by checking new_crtc_state
    1b485f39acf3 drm/i915/guc: Don't capture Gen8 regs on Xe devices
    e410895892f9 af_unix: Fix data races around sk->sk_shutdown.
    75924fb0f373 af_unix: Fix a data race of sk->sk_receive_queue->qlen.
    8759c1a361fa net: datagram: fix data-races in datagram_poll()
    9e62a4960838 net: mscc: ocelot: fix stat counter register values
    610a433810b2 ipvlan:Fix out-of-bounds caused by unclear skb->cb
    d695dccb74e3 gve: Remove the code of clearing PBA bit
    b4c0af8974be tcp: add annotations around sk->sk_shutdown accesses
    55caf900e13c net: add vlan_get_protocol_and_depth() helper
    65531f567536 net: deal with most data-races in sk_wait_event()
    bd0f360ee864 net: annotate sk->sk_err write from do_recvmmsg()
    a115dadf8995 netlink: annotate accesses to nlk->cb_running
    6b4585a3c9f0 bonding: fix send_peer_notif overflow
    d9176dc690bc netfilter: conntrack: fix possible bug_on with enable_hooks=1
    30e4b13b1bfb netfilter: nf_tables: always release netdev hooks from notifier
    6fa2e7bb7ba4 net: phy: bcm7xx: Correct read from expansion register
    7145f2309d64 net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
    edc1f6d89be3 net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register
    9e916db758a0 linux/dim: Do nothing if no time delta between samples
    a84b08314f44 tick/broadcast: Make broadcast device replacement work correctly
    262841702603 scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
    27c6b573d150 net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
    3e785c8deb04 net: skb_partial_csum_set() fix against transport header magic value
    8547757056c4 ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
    3ff962242f5b drm/mipi-dsi: Set the fwnode for mipi_dsi_device
    efd2821b8abe drm/fbdev-generic: prohibit potential out-of-bounds access

(From OE-Core rev: 9e4ec14423ff33557be00aa020ad988d4deafd54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
77b669eccc linux-yocto/6.1: update to v6.1.29
Updating  to the latest korg -stable release that comprises
the following commits:

    fa74641fb6b9 Linux 6.1.29
    49f63bd0625a drm/amd/display: Fix hang when skipping modeset
    7f6738e003b3 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
    441fa642995a spi: fsl-spi: Re-organise transfer bits_per_word adaptation
    76ce32682635 x86: fix clear_user_rep_good() exception handling annotation
    4ae066699dc0 x86/amd_nb: Add PCI ID for family 19h model 78h
    514728ffc05b f2fs: inode: fix to do sanity check on extent cache correctly
    85eb8b61dd4c f2fs: fix to do sanity check on extent cache correctly
    18ecffd03626 drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
    c5fa4eedddd1 ext4: fix invalid free tracking in ext4_xattr_move_to_block()
    d87a4e4094c9 ext4: remove a BUG_ON in ext4_mb_release_group_pa()
    19fb73b8eaef ext4: fix lockdep warning when enabling MMP
    6e7a97628f27 ext4: bail out of ext4_xattr_ibody_get() fails for any reason
    1d2caddbeeee ext4: add bounds checking in get_max_inline_xattr_value_size()
    665cc3ba5033 ext4: fix deadlock when converting an inline directory in nojournal mode
    f68876aeef96 ext4: improve error handling from ext4_dirhash()
    25c9fca7b71c ext4: improve error recovery code paths in __ext4_remount()
    748e4bb27d2e ext4: check iomap type only if ext4_iomap_begin() does not fail
    b006e2228503 ext4: fix data races when using cached status extents
    1fffe4750500 ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
    dba62fa84a8e ext4: fix WARNING in mb_find_extent
    1b9c92432fdf locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
    98643c991057 drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
    f95a60099dfd drm: Add missing DP DSC extended capability definitions.
    4aba9ab6a007 ksmbd: fix racy issue from smb2 close and logoff with multichannel
    502cf9709036 ksmbd: block asynchronous requests when making a delay on session setup
    1fc8a2b14ef5 ksmbd: destroy expired sessions
    f623f627ad2b ksmbd: fix racy issue from session setup and logoff
    91bbf9cb2387 ksmbd: Implements sess->ksmbd_chann_list as xarray
    3db734e4d95a drm/amd/display: Change default Z8 watermark values
    a009acf68717 drm/amd/display: Update Z8 SR exit/enter latencies
    e22ef1561085 drm/amd/display: Update Z8 watermarks for DCN314
    cf49b2ff253f ASoC: codecs: wcd938x: fix accessing regmap on unattached devices
    400950f66a8a ASoC: codecs: constify static sdw_slave_ops struct
    5279ab199cbd ASoC: rt1318: Add RT1318 SDCA vendor-specific driver
    1d383f9d6527 drm/amd/display: Lowering min Z8 residency time
    e6332695d484 drm/amd/display: Update minimum stutter residency for DCN314 Z8
    25f603624246 drm/amd/display: Add minimum Z8 residency debug option
    97b3d8eed097 drm/amd/display: Fix Z8 support configurations
    182251340884 drm/amd/display: Add debug option to skip PSR CRTC disable
    bcde2c877993 drm/amd/display: Add Z8 allow states to z-state support list
    83468820168a drm/amd/display: Refactor eDP PSR codes
    74a03d3c8d89 drm/i915: Check pipe source size when using skl+ scalers
    549ce5199d99 drm/i915/mtl: update scaler source and destination limits for MTL
    20a1064a7598 wifi: rtw88: rtw8821c: Fix rfe_option field width
    6578ae84e9ad irqchip/loongson-eiointc: Fix registration of syscore_ops
    fa29d577e2fc irqchip/loongson-eiointc: Fix incorrect use of acpi_get_vec_parent
    9e7f788dd74a irqchip/loongarch: Adjust acpi_cascade_irqdomain_init() and sub-routines
    c5111be87376 drm/msm: fix missing wq allocation error handling
    46062a1c0a01 drm/msm: Hangcheck progress detection
    a7fdb37d93bc drm/msm/adreno: Simplify read64/write64 helpers
    cba285695872 f2fs: factor out victim_entry usage from general rb_tree use
    4377b1d3b19e f2fs: allocate the extent_cache by default
    33112a0a17ef f2fs: refactor extent_cache to support for read and more
    3af09dee7f9b f2fs: remove unnecessary __init_extent_tree
    91b1554e66bc f2fs: move internal functions into extent_cache.c
    155ff41cf28c f2fs: specify extent cache for read explicitly
    77d2651cc8b5 drm/msm/adreno: adreno_gpu: Use suspend() instead of idle() on load error
    b2bd08be1a64 fs/ntfs3: Refactoring of various minor issues
    fb98336e23c1 HID: wacom: insert timestamp to packed Bluetooth (BT) events
    fb2f0c00048b HID: wacom: Set a default resolution for older tablets
    7a0731130425 drm/amd: Use `amdgpu_ucode_*` helpers for MES
    a3e3a640d4fd drm/amd: Add a new helper for loading/validating microcode
    3e1fa150e798 drm/amd: Load MES microcode during early_init
    369b89184222 drm/amdgpu: remove deprecated MES version vars
    506da05a5e0f drm/amd/pm: avoid potential UBSAN issue on legacy asics
    2a179117a3b2 drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
    17a69415679c drm/amd/pm: parse pp_handle under appropriate conditions
    348dcdf102a4 drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes
    7a8248317b32 drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
    6197fb331a6e drm/amdgpu: change gfx 11.0.4 external_id range
    28c2e072fa13 drm/amdgpu/jpeg: Remove harvest checking for JPEG3
    f661ad53658a drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
    02e6cb9b3aef drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini
    59cb2d46e177 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
    59e2439111ac drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini
    f2e43c98042c drm/amd/display: fix flickering caused by S/G mode
    4c1e747ca61c drm/amd/display: filter out invalid bits in pipe_fuses
    c2b2641ecb9a drm/amd/display: Fix 4to1 MPC black screen with DPP RCO
    cc9942840afa drm/amd/display: Add NULL plane_state check for cursor disable logic
    bfe56245f4f1 drm/panel: otm8009a: Set backlight parent to panel device
    2e51d7c09d1f irqchip/loongson-eiointc: Fix returned value on parsing MADT
    84c64fb57887 irqchip/loongson-pch-pic: Fix pch_pic_acpi_init calling
    8a0b544b7cae f2fs: fix potential corruption when moving a directory
    424f8cdc0ad2 f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block
    aa0f98c5d196 drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()
    6e1476225ec0 drm/msm: fix workqueue leak on bind errors
    544711591a67 drm/msm: fix vram leak on bind errors
    0fad173f9cf2 drm/msm: fix drm device leak on bind errors
    dd8ce825b165 drm/msm: fix NULL-deref on irq uninstall
    16e0e6fb4511 drm/msm: fix NULL-deref on snapshot tear down
    5b6b81decdf0 drm/i915/color: Fix typo for Plane CSC indexes
    2b01534c8fa2 drm/bridge: lt8912b: Fix DSI Video Mode
    47bfe1280456 drm/msm/adreno: fix runtime PM imbalance at gpu load
    3d0fdfefb384 ARM: dts: aspeed: romed8hm3: Fix GPIO polarity of system-fault LED
    f327c7443610 ARM: dts: s5pv210: correct MIPI CSIS clock name
    5503ea70de6c ARM: dts: exynos: fix WM8960 clock name in Itop Elite
    6efe88c34f5f ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks
    a64910ba868c sysctl: clarify register_sysctl_init() base directory order
    c3c70209a991 remoteproc: rcar_rproc: Call of_node_put() on iteration error
    948f81dac388 remoteproc: imx_rproc: Call of_node_put() on iteration error
    fe3497c3bfcb remoteproc: imx_dsp_rproc: Call of_node_put() on iteration error
    8a0fc842af1c remoteproc: st: Call of_node_put() on iteration error
    0d6b66657c24 remoteproc: stm32: Call of_node_put() on iteration error
    fde64a409bee proc_sysctl: enhance documentation
    f4708645c144 proc_sysctl: update docs for __register_sysctl_table()
    c93185ffd996 sh: nmi_debug: fix return value of __setup handler
    2ebd0064352e sh: init: use OF_EARLY_FLATTREE for early init
    ab2221dc3c76 sh: mcount.S: fix build error when PRINTK is not enabled
    fdac282b3c17 sh: math-emu: fix macro redefined warning
    6d103a576522 SMB3: force unmount was failing to close deferred close files
    bb0091a5c97a smb3: fix problem remounting a share after shutdown
    145f54ea336b inotify: Avoid reporting event with invalid wd
    d759abeb273c platform/x86: thinkpad_acpi: Add profile force ability
    66d4f7f327e4 platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
    e614c1de9e8d platform/x86: thinkpad_acpi: Fix platform profiles on T490
    a02d29de79a4 platform/x86: touchscreen_dmi: Add upside-down quirk for GDIX1002 ts on the Juno Tablet
    61549b7414b6 platform/x86/intel-uncore-freq: Return error on write frequency
    b886ad6b6bfb cifs: release leases for deferred close handles when freezing
    187f89cff775 cifs: fix pcchunk length type in smb2_copychunk_range
    c5544c95ad3d btrfs: zoned: fix full zone super block reading on ZNS
    4def3a0a8522 btrfs: zoned: zone finish data relocation BG with last IO
    1e8de3223bd2 btrfs: fix space cache inconsistency after error loading it from disk
    1689eabbc3d0 btrfs: print-tree: parent bytenr must be aligned to sector size
    83ae0282f17d btrfs: make clear_cache mount option to rebuild FST without disabling it
    dd5a21941f51 btrfs: zero the buffer before marking it dirty in btrfs_redirty_list_add
    15e877e5923e btrfs: don't free qgroup space unless specified
    44c52544b271 btrfs: fix encoded write i_size corruption with no-holes
    17eaeee4c5f2 btrfs: fix assertion of exclop condition when starting balance
    0a99cd08e236 btrfs: properly reject clear_cache and v1 cache for block-group-tree
    8583cc10aad7 btrfs: zoned: fix wrong use of bitops API in btrfs_ensure_empty_zones
    bcd7aa2963d3 btrfs: fix btrfs_prev_leaf() to not return the same key twice
    000322b29c01 x86/retbleed: Fix return thunk alignment
    2feac714c681 RISC-V: fix taking the text_mutex twice during sifive errata patching
    0fad198fffda RISC-V: take text_mutex during alternative patching
    13a0e212ddef perf stat: Separate bperf from bpf_profiler
    602603baae5f perf tracepoint: Fix memory leak in is_valid_tracepoint()
    3fb0d061dd0b perf symbols: Fix return incorrect build_id size in elf_read_build_id()
    2dd641d78d44 crypto: engine - fix crypto_queue backlog handling
    14a2259317f9 crypto: engine - Use crypto_request_complete
    6ba620fc9164 crypto: api - Add scaffolding to change completion function signature
    1055eddce776 crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
    267db6bff34b perf cs-etm: Fix timeless decode mode detection
    b6671b7172a7 perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
    d592598f4775 perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents
    36a840a86278 perf vendor events power9: Remove UTF-8 characters from JSON files
    0dabe1ae74e9 perf ftrace: Make system wide the default target for latency subcommand
    44060612613c perf tests record_offcpu.sh: Fix redirection of stderr to stdin
    6d20672d52ef perf vendor events s390: Remove UTF-8 characters from JSON file
    b2b916996042 perf scripts intel-pt-events.py: Fix IPC output for Python 2
    f108cbc83641 perf record: Fix "read LOST count failed" msg with sample read
    2424b456c37d net: enetc: check the index of the SFI rather than the handle
    d86d42e4a9b6 virtio_net: suppress cpu stall when free_unused_bufs
    4a61d7965611 ice: block LAN in case of VF to VF offload
    2f80efc46b73 net: dsa: mt7530: fix network connectivity with multiple CPU ports
    9d46edd93aa4 net: dsa: mt7530: split-off common parts from mt7531_setup
    98fc75c172ba net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
    c6fafaa6f20a KVM: s390: fix race in gmap_make_secure()
    4e875cf90d75 ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
    7887397338a5 drm/amdgpu: add a missing lock for AMDGPU_SCHED
    f2e8e338622b af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
    0d02efe7f251 ionic: catch failure from devlink_alloc
    942a2a0184f7 ethtool: Fix uninitialized number of lanes
    a05e5634c158 ionic: remove noise from ethtool rxnfc error msg
    3cad35b62eaa octeontx2-vf: Detach LF resources on probe cleanup
    401d11f274a5 octeontx2-pf: Disable packet I/O for graceful exit
    d28f6ad8b1a0 octeontx2-af: Skip PFs if not enabled
    ac613d0bd244 octeontx2-af: Fix issues with NPC field hash extract
    ab0742bd5b43 octeontx2-af: Update/Fix NPC field hash extract feature
    2b84d24d3ad1 octeontx2-pf: Add additional checks while configuring ucast/bcast/mcast rules
    bd9234da97fd octeontx2-af: Allow mkex profile without DMAC and add L2M/L2B header extraction support
    14504aaa8b55 octeontx2-pf: Increase the size of dmac filter flows
    2376ca72b55c octeontx2-af: Fix depth of cam and mem table.
    1c98271e0c23 octeontx2-af: Fix start and end bit for scan config
    e92399f52744 octeontx2-af: Secure APR table update with the lock
    419cc2c50761 selftests: netfilter: fix libmnl pkg-config usage
    4b08cdd239e7 drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
    2bb120405ad3 riscv: compat_syscall_table: Fixup compile warning
    40f8b3f5e679 rxrpc: Fix hard call timeout units
    ab14de49e44f sfc: Fix module EEPROM reporting for QSFP modules
    68b1614b3211 r8152: move setting r8153b_rx_agg_chg_indicate()
    2642d7c136cd r8152: fix the poor throughput for 2.5G devices
    fbdde7ef2564 r8152: fix flow control issue of RTL8156A
    e2efb94966e7 net/sched: act_mirred: Add carrier check
    3b3537d4a026 i2c: tegra: Fix PEC support for SMBUS block read
    ffa97b59526e RISC-V: mm: Enable huge page support to kernel_page_present() function
    1e8ad3e45b5d watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
    c36975a654d4 block: Skip destroyed blkg when restart in blkg_destroy_all()
    7c4c6e2a4075 writeback: fix call of incorrect macro
    5ac2914f67c8 net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
    1f274d53165b net: ipv6: fix skb hash for some RST packets
    686c70131e93 selftests: srv6: make srv6_end_dt46_l3vpn_test more robust
    5a98019e96e1 sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
    55866fe3fded net/sched: cls_api: remove block_cb from driver_list before freeing
    7fa93e39fbb0 tcp: fix skb_copy_ubufs() vs BIG TCP
    449280afaa05 net/ncsi: clear Tx enable mode when handling a Config required AEN
    a78b922d1180 octeontx2-pf: mcs: Do not reset PN while updating secy
    fd59ec145595 octeontx2-pf: mcs: Fix shared counters logic
    a8ddb974f014 octeontx2-pf: mcs: Clear stats before freeing resource
    c52ebecd89ae octeontx2-pf: mcs: Match macsec ethertype along with DMAC
    a3dcc45eca01 octeontx2-pf: mcs: Fix NULL pointer dereferences
    9ff806d07025 octeontx2-af: mcs: Fix MCS block interrupt
    add6bdb8d603 octeontx2-af: mcs: Config parser to skip 8B header
    39b436f0acfb octeontx2-af: mcs: Write TCAM_DATA and TCAM_MASK registers at once
    06fdaf7711f3 octeonxt2-af: mcs: Fix per port bypass config
    192445017534 ixgbe: Fix panic during XDP_TX with > 64 CPUs
    80a791a19902 drm/amd/display: Update bounding box values for DCN321
    7bba2e5e096e drm/amd/display: Do not clear GPINT register when releasing DMUB from reset
    ccb0ad946adc drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset
    bb13726625e7 drm/amd/display: Fixes for dcn32_clk_mgr implementation
    b7ae53dd0d29 drm/amd/display: Return error code on DSC atomic check failure
    374f7fa01ae5 drm/amd/display: Add missing WA and MCLK validation
    0b47019f544f drm/amd/display: Remove FPU guards from the DML folder
    3738a230831e scsi: qedi: Fix use after free bug in qedi_remove()
    e60e5d672248 ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working
    1193a36f58c6 KVM: x86/mmu: Refresh CR0.WP prior to checking for emulated permission faults
    71e848bac0a4 KVM: VMX: Make CR0.WP a guest owned bit
    27ec4cbc1d51 KVM: x86: Make use of kvm_read_cr*_bits() when testing bits
    956777b2538e KVM: x86: Do not unload MMU roots when only toggling CR0.WP with TDP enabled
    d20a0195b3fe KVM: x86/mmu: Avoid indirect call for get_cr3
    28d0f85aff34 drm/amd/display: Ext displays with dock can't recognized after resume
    d69d5e2a81df fs/ntfs3: Fix null-ptr-deref on inode->i_op in ntfs_lookup()
    93eb8dd4b4c1 mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER flash
    50f54a48f678 mailbox: zynqmp: Fix counts of child nodes
    e63a796b852f mailbox: zynq: Switch to flexible array to simplify code
    b12078b67a6d soc: qcom: llcc: Do not create EDAC platform device on SDM845
    bf9712195f5e qcom: llcc/edac: Support polling mode for ECC handling
    4fdb257b2a4c mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx SEMPER flash
    8630dfcdab0d mtd: spi-nor: Add a RWW flag
    897a40dbcf1e mtd: spi-nor: add SFDP fixups for Quad Page Program
    de26d26f5519 mtd: spi-nor: spansion: Remove NO_SFDP_FLAGS from s28hs512t info
    b951d4924c50 KVM: x86/pmu: Disallow legacy LBRs if architectural LBRs are available
    189cdd8fe7c6 KVM: x86: Track supported PERF_CAPABILITIES in kvm_caps
    0457b6d04fb7 perf/x86/core: Zero @lbr instead of returning -1 in x86_perf_get_lbr() stub
    9239f895a854 crypto: ccp - Clear PSP interrupt status register before calling handler
    add662775df4 drm/vmwgfx: Fix Legacy Display Unit atomic drm support
    b3204cb3e0ad drm/vmwgfx: Remove explicit and broken vblank handling
    c613c951e686 usb: dwc3: gadget: Execute gadget stop after halting the controller
    065c3d4319c5 USB: dwc3: gadget: drop dead hibernation code

(From OE-Core rev: 7e1ecd91b71c3246599b22c9281404d3a9a7db01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
7ba6361c5f linux-yocto/6.1: update to v6.1.28
Updating  to the latest korg -stable release that comprises
the following commits:

    bf4ad6fa4e53 Linux 6.1.28
    4507918cd1f8 netfilter: nf_tables: deactivate anonymous set from preparation phase
    1887a4faff5c scsi: libsas: Grab the ATA port lock in sas_ata_device_link_abort()
    6dc7e3633461 debugobject: Ensure pool refill (again)
    010842e88269 drm/amd/display (gcc13): fix enum mismatch
    915923898ffc i40e: use int for i40e_status
    8c82be552512 i40e: Remove string printing for i40e_status
    3cd9d45e87c4 i40e: Remove unused i40e status codes
    b593f157a875 sfc (gcc13): synchronize ef100_enqueue_skb()'s return type
    245653ed73e3 block/blk-iocost (gcc13): keep large values in a new enum
    40db6d172b1f perf intel-pt: Fix CYC timestamps after standalone CBR
    376e662ebb48 perf auxtrace: Fix address filter entire kernel size
    146b7251c129 wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type
    d8d206beb365 bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
    55c91905b9e1 thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype
    e4a37e906009 cifs: protect session status check in smb2_reconnect()
    64d62ac6d651 cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
    a74406057488 blk-iocost: avoid 64-bit division in ioc_timer_fn
    7ac1a137beb3 dm: don't lock fs when the map is NULL in process of resume
    9a94ebc74c35 dm ioctl: fix nested locking in table_clear() to remove deadlock concern
    cb874a190f3f dm flakey: fix a crash with invalid table line
    3877b5c1509b dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
    21d5198c210c dm clone: call kmem_cache_destroy() in dm_clone_init() error path
    1da79e01e403 dm verity: fix error handling for check_at_most_once on FEC
    2f5aa54e4051 vhost_vdpa: fix unmap process in no-batch mode
    6b5b755463be mm/mempolicy: correctly update prev when policy is equal on mbind
    840516585c63 ia64: fix an addr to taddr in huge_pte_offset()
    7964bacf8381 s390/dasd: fix hanging blockdevice after request requeue
    9628d45a0667 btrfs: scrub: reject unsupported scrub flags
    7a0a402930ef scripts/gdb: fix lx-timerlist for Python3
    a16e9117759b clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
    5b4052aa956e clk: microchip: fix potential UAF in auxdev release callback
    39712c8aeb79 wifi: rtw89: fix potential race condition between napi_init and napi_enable
    430933064122 wifi: rtl8xxxu: RTL8192EU always needs full init
    ead3b023aef9 mailbox: zynqmp: Fix typo in IPI documentation
    706ae665747b kcsan: Avoid READ_ONCE() in read_instrumented_memory()
    c051c472fbb5 mailbox: zynqmp: Fix IPI isr handling
    8cc1ab7de215 mtd: spi-nor: core: Update flash's current address mode when changing address mode
    f1b4affca1e1 mtd: core: fix error path for nvmem provider
    26358f330405 mtd: core: fix nvmem error reporting
    43a72c1619aa mtd: core: provide unique name for nvmem device, take two
    da4c74773079 kasan: hw_tags: avoid invalid virt_to_page()
    507fbfa79acb md/raid5: Improve performance for sequential IO
    b50fd1c3d9d0 md/raid10: fix null-ptr-deref in raid10_sync_request
    acffdf1a7fe4 drbd: correctly submit flush bio on barrier
    8d67449f907e mm: do not reclaim private data from pinned page
    25457d07c814 nilfs2: fix infinite loop in nilfs_mdt_get_block()
    a73201c607d8 nilfs2: do not write dirty data after degenerating to read-only
    4844052acb55 ALSA: hda/realtek: Fix mute and micmute LEDs for an HP laptop
    358aa78c024a ALSA: hda/realtek: support HP Pavilion Aero 13-be0xxx Mute LED
    6d57f6cc21cb ALSA: hda/realtek: Add quirk for ASUS UM3402YAR using CS35L41
    b433bfab89a5 ALSA: hda/realtek: Add quirk for ThinkPad P1 Gen 6
    9e915d81f5c1 ALSA: usb-audio: Add quirk for Pioneer DDJ-800
    fd0286717764 parisc: Ensure page alignment in flush functions
    b80b7a9bb868 parisc: Fix argument pointer in real64_call_asm()
    274c0b0c2f49 afs: Avoid endless loop if file is larger than expected
    7b6ccf752a11 afs: Fix getattr to report server i_size on dirs, not local size
    2cfce11132e4 afs: Fix updating of i_size with dv jump from server
    72f3217aa1d3 PM: hibernate: Do not get block device exclusively in test_resume mode
    208ba216cc90 PM: hibernate: Turn snapshot_test into global variable
    fc3153a91486 ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini
    fed87ce073c7 hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()
    a51e150ef998 hte: tegra: fix 'struct of_device_id' build error
    5790f76dd204 mfd: arizona-spi: Add missing MODULE_DEVICE_TABLE
    d617022971a5 mfd: ocelot-spi: Fix unsupported bulk read
    eefc8cbb6060 mfd: tqmx86: Correct board names for TQMxE39x
    4598908562ae mfd: tqmx86: Specify IO port register range more precisely
    8c989fa9e82f mfd: tqmx86: Do not access I2C_DETECT register through io_base
    b3b3f66bd47c thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe
    86dfb4709490 pinctrl-bcm2835.c: fix race condition when setting gpio dir
    6107896806a6 dmaengine: at_xdmac: do not enable all cyclic channels
    a8c24a80de00 dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
    7d28c500e5bb dmaengine: dw-edma: Fix to change for continuous transfer
    502c33c7e75f dma: gpi: remove spurious unlock in gpi_ch_init
    a1f131d2e1e8 phy: ti: j721e-wiz: Fix unreachable code in wiz_mode_select()
    548113502ea0 phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
    6c0df503cd2e soundwire: intel: don't save hw_params for use in prepare
    bae3248bb1ed soundwire: cadence: rename sdw_cdns_dai_dma_data as sdw_cdns_dai_runtime
    655b64724568 pwm: mtk-disp: Configure double buffering before reading in .get_state()
    7cbcb1ca53bd pwm: mtk-disp: Disable shadow registers before setting backlight values
    19f5910a1e6e leds: tca6507: Fix error handling of using fwnode_property_read_string
    8c16219c96dd dmaengine: mv_xor_v2: Fix an error code.
    60d95b747f7c pinctrl: ralink: reintroduce ralink,rt2880-pinmux compatible string
    1b50402d3a52 leds: TI_LMU_COMMON: select REGMAP instead of depending on it
    eefc7676d595 pinctrl: renesas: r8a779g0: Fix ERROROUTC function names
    d6004abdf5d6 pinctrl: renesas: r8a779g0: Fix Group 6/7 pin functions
    3727fafed747 pinctrl: renesas: r8a779g0: Fix Group 4/5 pin functions
    9af5833818c7 pinctrl: renesas: r8a779f0: Fix tsn1_avtp_pps pin group
    6a02dda05473 pinctrl: renesas: r8a779a0: Remove incorrect AVB[01] pinmux configuration
    96d440bee177 ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
    d30090eb546d ext4: fix i_disksize exceeding i_size problem in paritally written case
    32dce45c8eed SMB3: Close deferred file handles in case of handle lease break
    3aa9d065b068 SMB3: Add missing locks to protect deferred close file list
    c2b990d7aad7 timekeeping: Fix references to nonexistent ktime_get_fast_ns()
    b265609a2ad7 openrisc: Properly store r31 to pt_regs on unhandled exceptions
    369d9e8fae93 clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
    07ad6cc82b3c RDMA/mlx5: Use correct device num_ports when modify DC
    43d48cec9af2 SUNRPC: remove the maximum number of retries in call_bind_status
    10dcd0ed787f RDMA/mlx5: Fix flow counter query via DEVX
    911652893751 RDMA/mlx5: Check pcie_relaxed_ordering_enabled() in UMR
    4aa9243ebe15 swiotlb: fix debugfs reporting of reserved memory pools
    e6c69b06e720 swiotlb: relocate PageHighMem test away from rmem_swiotlb_setup
    36d087e49dab Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
    ed90364b4299 clk: qcom: dispcc-qcm2290: Remove inexistent DSI1PHY clk
    86d9cafdd89a clk: qcom: dispcc-qcm2290: get rid of test clock
    c3d4119fa5f6 clk: qcom: gcc-sm8350: fix PCIe PIPE clocks handling
    b75450f51c5f clk: qcom: lpassaudiocc-sc7280: Add required gdsc power domain clks in lpass_cc_sc7280_desc
    0b421824ecda clk: qcom: lpasscc-sc7280: Skip qdsp6ss clock registration
    8f7f8d06afd6 iommu/amd: Set page size bitmap during V2 domain allocation
    c49a8c5c8b91 NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
    9b75bd4eef4f clk: imx: imx8ulp: Fix XBAR_DIVBUS and AD_SLOW clock parents
    72ff6c115667 clk: imx: fracn-gppll: disable hardware select control
    b32bb993164b clk: imx: fracn-gppll: fix the rate table
    dce59b544370 IB/hfi1: Fix bugs with non-PAGE_SIZE-end multi-iovec user SDMA requests
    39d39bfb82ab IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
    4323aaedeba3 RDMA/srpt: Add a check for valid 'mad_agent' pointer
    720c915a6298 RDMA/cm: Trace icm_send_rej event before the cm state is reset
    40b4ad4c17cb power: supply: rk817: Fix low SOC bugs
    8be358c80471 clk: qcom: gcc-sm6115: Mark RCGs shared where applicable
    e70ce2193974 RDMA/siw: Remove namespace check from siw_netdev_event()
    d3b2acaa1489 clk: add missing of_node_put() in "assigned-clocks" property parsing
    a2b3eaaa9782 power: supply: generic-adc-battery: fix unit scaling
    37f689d859ee iommu/mediatek: Set dma_mask for PGTABLE_PA_35_EN
    9163a5b4ed29 fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
    17048287ac79 fs/ntfs3: Fix OOB read in indx_insert_into_buffer
    7898db22ed6c fs/ntfs3: Add check for kmemdup
    1bc6bb657dfb fs/ntfs3: Fix memory leak if ntfs_read_mft failed
    7d374becc000 RDMA/erdma: Use fixed hardware page size
    bb0433ae6fa2 rtc: k3: handle errors while enabling wake irq
    8a4e9482f45d rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
    3ce0df349327 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
    5f5876ae295a rtc: omap: include header for omap_rtc_power_off_program prototype
    c3c2aee6f926 workqueue: Fix hung time report of worker pools
    8fbcfff08380 clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
    bddbb3b9dc14 RDMA/rdmavt: Delete unnecessary NULL check
    a6d8529dcfee clk: mediatek: mt8135: Properly use CLK_IS_CRITICAL flag
    d193c4aea391 clk: mediatek: mt7622: Properly use CLK_IS_CRITICAL flag
    2b18f12fe6d2 clk: mediatek: Consistently use GATE_MTK() macro
    6f24e8ef3372 clk: mediatek: mt2712: Add error handling to clk_mt2712_apmixed_probe()
    23cc8191255a RDMA/siw: Fix potential page_array out of range access
    d7c8d32e5d3a IB/hifi1: add a null check of kzalloc_node in hfi1_ipoib_txreq_init
    a2290ed2afa7 clk: at91: clk-sam9x60-pll: fix return value check
    0489c2b2c310 tracing/user_events: Ensure write index cannot be negative
    6472a6d0c798 sched/rt: Fix bad task migration for rt tasks
    1969b143d096 riscv: Fix ptdump when KASAN is enabled
    e38f070a57c9 Revert "objtool: Support addition to set CFA base"
    2d44928903ed perf/core: Fix hardlockup failure caused by perf throttle
    944465c772fb sched/fair: Fix inaccurate tally of ttwu_move_affine
    46f773f39e30 powerpc/rtas: use memmove for potentially overlapping buffer copy
    8bcecadabb35 macintosh: via-pmu-led: requires ATA to be set
    5dae22c28f6c powerpc/sysdev/tsi108: fix resource printk format warnings
    89e458456c9d powerpc/wii: fix resource printk format warnings
    2f40b71e4634 powerpc/mpc512x: fix resource printk format warning
    f9325ac52f52 powerpc/perf: Properly detect mpc7450 family
    7c71aee351fe macintosh/windfarm_smu_sat: Add missing of_node_put()
    c0f49bbb305b selftests/powerpc/pmu: Fix sample field check in the mmcra_thresh_marked_sample_test
    ae69d36d4635 fbdev: mmp: Fix deferred clk handling in mmphw_probe()
    ce818ee162cf virtio_ring: don't update event idx on get_buf
    428cc252701d spmi: Add a check for remove callback when removing a SPMI driver
    ec01408c0f5d staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
    7f43a5bde87b spi: cadence-quadspi: use macro DEFINE_SIMPLE_DEV_PM_OPS
    727e92fe13e8 serial: 8250: Add missing wakeup event reporting
    1ae3e5f20203 tty: serial: fsl_lpuart: adjust buffer length to the intended size
    26d40b3fca6d firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    f26273428657 usb: mtu3: fix kernel panic at qmu transfer done irq handler
    17993a13b5f6 usb: chipidea: fix missing goto in `ci_hdrc_probe`
    94fa043a47a8 usb: gadget: tegra-xudc: Fix crash in vbus_draw
    6a1cfc3036c2 sh: sq: Fix incorrect element size for allocating bitmap buffer
    ef9f85410301 uapi/linux/const.h: prefer ISO-friendly __typeof__
    9bc5e5417785 scripts/gdb: raise error with reduced debugging information
    06e661a25997 i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path
    a712b5a95270 i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path
    79acf7fb856e spi: cadence-quadspi: fix suspend-resume implementations
    eef4c4109a6d drm/panel: novatek-nt35950: Only unregister DSI1 if it exists
    08e9653bb9e8 PCI/PM: Extend D3hot delay for NVIDIA HDA controllers
    402299cca892 ASoC: fsl_mqs: move of_node_put() to the correct location
    225e81c3af9e drm/panel: novatek-nt35950: Improve error handling
    18e21fa199fc coresight: etm_pmu: Set the module field
    f0b58720f2b0 cacheinfo: Check sib_leaf in cache_leaves_are_shared()
    8ba48e58bafb HID: amd_sfh: Handle "no sensors" enabled for SFH1.1
    198474bef31f HID: amd_sfh: Increase sensor command timeout for SFH1.1
    a5e4df860d40 HID: amd_sfh: Correct the stop all command
    959f6ae96b9f HID: amd_sfh: Add support for shutdown operation
    dac12293c7f7 HID: amd_sfh: Fix illuminance value
    e66a085d900a HID: amd_sfh: Correct the sensor enable and disable command
    269259b7c7be HID: amd_sfh: Correct the structure fields
    7035d8b73af2 scripts/gdb: bail early if there are no generic PD
    ce8137636464 scripts/gdb: bail early if there are no clocks
    15b29ac9b8d5 ia64: salinfo: placate defined-but-not-used warning
    f890f34a15a1 ia64: mm/contig: fix section mismatch warning/error
    ab0f424cd2ce PCI/EDR: Clear Device Status after EDR error recovery
    3e28d59a5fee of: Fix modalias string generation
    d22b2a35729c vmci_host: fix a race condition in vmci_host_poll() causing GPF
    282efdf47279 spi: fsl-spi: Fix CPM/QE mode Litte Endian
    55a32fd96eaf interconnect: qcom: rpm: drop bogus pm domain attach
    2d0f63077f48 spi: qup: Don't skip cleanup in remove's error path
    5e678bfebb52 linux/vt_buffer.h: allow either builtin or modular for macros
    321946fa10d3 ASoC: es8316: Handle optional IRQ assignment
    873fff9fd682 PCI: imx6: Install the fault handler only on compatible match
    9de1183f3f2b ASoC: soc-compress: Inherit atomicity from DAI link for Compress FE
    df2380520926 usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
    6d16305a1535 spi: imx: Don't skip cleanup in remove's error path
    f6974fb20499 spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()
    d748e32026aa spi: atmel-quadspi: Don't leak clk enable count in pm resume
    3eb8bebd02f0 serial: 8250_bcm7271: Fix arbitration handling
    1757621b873a iio: light: max44009: add missing OF device matching
    53cdfec25135 fpga: bridge: fix kernel-doc parameter description
    c996ca87cf68 serial: stm32: Re-assert RTS/DE GPIO in RS485 mode only if more data are transmitted
    3c5fafc27c02 usb: dwc3: gadget: Change condition for processing suspend event
    cd5708f6052a usb: host: xhci-rcar: remove leftover quirk handling
    9145880e8c04 pstore: Revert pmsg_lock back to a normal mutex
    70ee7b8a6d96 drivers: staging: rtl8723bs: Fix locking in rtw_scan_timeout_handler()
    2a50e44a66d2 drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()
    a61639201171 ASoC: cs35l41: Only disable internal boost
    5eb0e23ab05e ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it
    cb52e7f24c1d tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
    0211342dd66c net: amd: Fix link leak when verifying config failed
    f040bee2913c netlink: Use copy_to_user() for optval in netlink_getsockopt().
    952030c914b5 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
    fc60067260c2 ipv4: Fix potential uninit variable access bug in __ip_make_skb()
    4fbefeab88c6 net/sched: sch_fq: fix integer overflow of "credit"
    8fa6c8dad4a6 net: dpaa: Fix uninitialized variable in dpaa_stop()
    6cf1d03a423f netfilter: nf_tables: don't write table validation state without mutex
    551a26668c87 bpf: Don't EFAULT for getsockopt with optval=NULL
    c3fb321447ca bpf: Fix race between btf_put and btf_idr walk.
    ad5b2cf5d135 net: stmmac:fix system hang when setting up tag_8021q VLAN for DSA ports
    fd40d2eb5ef0 net/mlx5e: Nullify table pointer when failing to create
    15968f65081f net/mlx5: Use recovery timeout on sync reset flow
    c63830a1cc98 Revert "net/mlx5: Remove "recovery" arg from mlx5_load_one() function"
    c499593821db net/mlx5: Suspend auxiliary devices only in case of PCI device suspend
    d481a6800ba8 net/mlx5: Remove "recovery" arg from mlx5_load_one() function
    62fea2c2e4e3 net/mlx5e: Fix error flow in representor failing to add vport rx rule
    2ca9f9b837ce net/mlx5: E-switch, Don't destroy indirect table in split rule
    8b5f69628872 net/mlx5: E-switch, Create per vport table based on devlink encap mode
    c382b693ffcb net/mlx5e: Don't clone flow post action attributes second time
    707a31951f7a ixgbe: Enable setting RSS table to default values
    c8b37d2b5b1d ixgbe: Allow flow hash to be set via ethtool
    37f64bc8e001 wifi: iwlwifi: fw: fix memory leak in debugfs
    80c5ba0078e2 netfilter: conntrack: fix wrong ct->timeout value
    6a62a2a09c41 netfilter: conntrack: restore IPS_CONFIRMED out of nf_conntrack_hash_check_insert()
    d6e03af0a4c3 wifi: iwlwifi: mvm: check firmware response size
    180c4ae0de9d wifi: mt76: connac: fix txd multicast rate setting
    d365e1448398 wifi: mt76: mt7921e: stop chip reset worker in unregister hook
    741bf262bdba wifi: mt76: mt7921e: improve reliability of dma reset
    1ab837a34229 wifi: mt76: mt7921: fix missing unwind goto in `mt7921u_probe`
    11181b6c8641 mt76: mt7921: fix kernel panic by accessing unallocated eeprom.data
    c42efff8208a wifi: mt76: fix 6GHz high channel not be scanned
    c5cdab3c045f wifi: mt76: mt7921e: fix probe timeout after reboot
    27ce664b7f49 wifi: mt76: add flexible polling wait-interval support
    710f3c7fb3e2 wifi: mt76: handle failure of vzalloc in mt7615_coredump_work
    9c036152adf8 wifi: mt76: mt7915: expose device tree match table
    bd5121ef1842 wifi: iwlwifi: make the loop for card preparation effective
    5611be6c3d9c io_uring/rsrc: use nospec'ed indexes
    f1bd3414d97c jdb2: Don't refuse invalidation of already invalidated buffers
    f6b46f843829 wifi: iwlwifi: fw: move memset before early return
    6b345ddd4939 wifi: iwlwifi: mvm: initialize seq variable
    243f6d6ba585 wifi: iwlwifi: yoyo: Fix possible division by zero
    7c31103f7f30 wifi: iwlwifi: yoyo: skip dump correctly on hw error
    164acf216c18 wifi: iwlwifi: mvm: don't drop unencrypted MCAST frames
    8f3382624c45 md/raid10: don't call bio_start_io_acct twice for bio which experienced read error
    36ba0c7b86ac md/raid10: fix memleak of md thread
    b21019a220d9 md/raid10: fix memleak for 'conf->bio_split'
    11141630f03e md/raid10: fix leak of 'r10bio->remaining' for recovery
    9050576bff9f md/raid10: fix task hung in raid10d
    df6222b01f53 f2fs: fix to check return value of inc_valid_block_count()
    2eb5d0165b36 f2fs: fix to check return value of f2fs_do_truncate_blocks()
    a8091dc8149e bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
    339d14334a13 wifi: iwlwifi: mvm: don't set CHECKSUM_COMPLETE for unsupported protocols
    6f14a945011e wifi: iwlwifi: trans: don't trigger d3 interrupt twice
    8e5d05ca1527 wifi: iwlwifi: debug: fix crash in __iwl_err()
    6aa401a654fd blk-mq: don't plug for head insertions in blk_execute_rq_nowait
    3c0b7993461a selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach
    67c81ecbf723 selftests/bpf: Use read_perf_max_sample_freq() in perf_event_stackmap
    160fcf5c6b17 nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
    0f1c4ae80d14 nvme: fix async event trace event
    1e4f23c61feb nvmet: fix I/O Command Set specific Identify Controller
    fd95ae3bb8a6 nvmet: fix Identify Active Namespace ID list handling
    4898a8d6b16b nvmet: fix Identify Controller handling
    4a7a14e87cca nvmet: fix Identify Namespace handling
    b743d68c9fbd nvmet: fix error handling in nvmet_execute_identify_cns_cs_ns()
    1d4ac7b0ffc9 bpf, sockmap: fix deadlocks in the sockhash and sockmap
    cfc7ee210f2f wifi: ath11k: fix writing to unintended memory region
    f43744872a04 net: ethernet: stmmac: dwmac-rk: fix optional phy regulator handling
    c649bf43a28e net: ethernet: stmmac: dwmac-rk: rework optional clock handling
    e6f1ef4a5385 scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
    52c3d68d9910 bpf/btf: Fix is_int_ptr()
    1f1267ce0b0e wifi: iwlwifi: fix duplicate entry in iwl_dev_info_table
    7d058f0ab161 f2fs: fix to avoid use-after-free for cached IPU bio
    3ee343914c1f xsk: Fix unaligned descriptor validation
    8bc8e34e8017 crypto: drbg - Only fail when jent is unavailable in FIPS mode
    81366e333c7e bpftool: Fix bug for long instructions in program CFG dumps
    d199c2b3943e selftests/bpf: Wait for receive in cg_storage_multi test
    751168d0d2a0 selftests: xsk: Deflakify STATS_RX_DROPPED test
    0ea59567d001 selftests: xsk: Disable IPv6 on VETH1
    30a4ff7eb4bf selftests: xsk: Use correct UMEM size in testapp_invalid_desc
    90d2f5225d13 net: qrtr: correct types of trace event parameters
    a7f5be2ac004 f2fs: fix iostat lock protection
    bea3f8aa9993 wifi: rt2x00: Fix memory leak when handling surveys
    828439964f94 scsi: hisi_sas: Handle NCQ error when IPTT is valid
    cd94f74888f2 scsi: libsas: Add sas_ata_device_link_abort()
    f7871c9df18c wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
    4eb666646c40 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
    7f6714fc2ac8 crypto: sa2ul - Select CRYPTO_DES
    be421554994b crypto: caam - Clear some memory in instantiate_rng
    74f74c8b8419 f2fs: fix scheduling while atomic in decompression path
    6604df2a9d07 f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_pages()
    88fccb8d0c8a f2fs: apply zone capacity to all zone type
    d9e30b8ed41b f2fs: fix uninitialized skipped_gc_rwsem
    61fbf097b7df f2fs: handle dqget error in f2fs_transfer_project_quota()
    10f7b4975b4b net: sunhme: Fix uninitialized return code
    e3e55385fa53 scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
    770c3fd4d732 scsi: target: iscsit: Fix TAS handling during conn cleanup
    eacfe32c3650 scsi: target: Fix multiple LUN_RESET handling
    cc84bbdde901 scsi: target: iscsit: Stop/wait on cmds during conn close
    edd90020711e scsi: target: iscsit: isert: Alloc per conn cmd counter
    b7ca8ded3731 scsi: target: Pass in cmd counter to use during cmd setup
    741443436ed8 scsi: target: Move cmd counter allocation
    76b77646f171 scsi: target: Move sess cmd counter to new struct
    87ee7227cce3 scsi: target: core: Change the way target_xcopy_do_work() sets restiction on max I/O
    f9361cf40b4d bpf: Fix __reg_bound_offset 64->32 var_off subreg propagation
    2361aee1c52c netfilter: keep conntrack reference until IPsecv6 policy checks are done
    8d05f25475a2 net: dsa: qca8k: remove assignment of an_enabled in pcs_get_state()
    c997f28917da libbpf: Fix ld_imm64 copy logic for ksym in light skeleton.
    382310d9c82e net/packet: convert po->auxdata to an atomic flag
    3eae0f4c3129 net/packet: convert po->origdev to an atomic flag
    f2d971608a88 net/packet: annotate accesses to po->xmit
    c3ee3540a133 vlan: partially enable SIOCSHWTSTAMP in container
    07782db81e08 net: pcs: xpcs: remove double-read of link state when using AN
    157c84b793e7 bpf: Remove misleading spec_v1 check on var-offset stack read
    b73438a4a63f selftests/bpf: Fix a fd leak in an error path in network_helpers.c
    0324300dce34 wifi: ath11k: fix deinitialization of firmware resources
    af5265c64d8a scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
    1f1fba8b3a75 crypto: qat - fix concurrency issue when device state changes
    a62ba7e0d2e8 bpf: fix precision propagation verbose logging
    0049d2eddaf3 bpf: take into account liveness when propagating precision
    78eee85913e7 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
    154d4d630ef0 wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
    1c8f46578d03 tools: bpftool: Remove invalid \' json escape
    644df7e865e7 wifi: ath6kl: reduce WARN to dev_dbg() in callback
    0022a3936e4d wifi: brcmfmac: support CQM RSSI notification with older firmware
    9354826c02e0 wifi: ath11k: fix SAC bug on peer addition with sta band migration
    76f9b0d6f01d wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
    7e5f42abfc85 wifi: ath5k: Use platform_get_irq() to get the interrupt
    7d3fd8da721f wifi: ath11k: Use platform_get_irq() to get the interrupt
    9b9356a30141 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
    1a59067bde3f wifi: ath6kl: minor fix for allocation size
    830d79af9eee platform/chrome: cros_typec_switch: Add missing fwnode_handle_put()
    aefea3016a15 hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E
    d29faefa8d21 rpmsg: glink: Propagate TX failures in intentless mode as well
    2f51bac27678 cpufreq: use correct unit when verify cur freq
    0985838a9c87 ACPI: bus: Ensure that notify handlers are not running after removal
    290e26ec0d01 tick/common: Align tick period with the HZ tick.
    0fe6ef82e4f4 drm/i915: Make intel_get_crtc_new_encoder() less oopsy
    fc2b20c0921f debugobject: Prevent init race with static objects
    1d1735c6fbfd media: mediatek: vcodec: add remove function for decoder platform driver
    c692a44bc514 media: mediatek: vcodec: fix decoder disable pm crash
    54e85ee2b40d perf/arm-cmn: Fix port detection for CMN-700
    a8897bffca64 arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
    3df8a8739415 x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
    f25994f7a9ad regulator: stm32-pwr: fix of_iomap leak
    16c7fcbfe058 media: venus: dec: Fix capture formats enumeration order
    1e229899e3ea media: venus: dec: Fix handling of the start cmd
    b21a9a57c74e media: rc: gpio-ir-recv: Fix support for wake-up
    b75aaebac265 drm/amd/display: Fix potential null dereference
    fd22e8c8c38f media: hi846: Fix memleak in hi846_init_controls()
    893b267ccc4a media: v4l: async: Return async sub-devices to subnotifier list
    45b7461d914c media: rcar_fdp1: Fix refcount leak in probe and remove function
    affad9e79101 media: platform: mtk-mdp3: fix potential frame size overflow in mdp_try_fmt_mplane()
    5a72aea9acfe media: saa7134: fix use after free bug in saa7134_finidev due to race condition
    305262a23c94 media: dm1105: Fix use after free bug in dm1105_remove due to race condition
    1495945f7c93 platform/x86/amd: pmc: Move out of BIOS SMN pair for STB init
    1603a098b474 platform/x86/amd: pmc: Utilize SMN index 0 for driver probe
    f82af0dd225f platform/x86/amd: pmc: Move idlemask check into `amd_pmc_idlemask_read`
    4e6c35193af6 platform/x86/amd: pmc: Don't dump data after resume from s0i3 on picasso
    abfb0ff8706e platform/x86/amd: pmc: Hide SMU version and program attributes for Picasso
    d1dbf5b7ea45 platform/x86/amd: pmc: Don't try to read SMU version on Picasso
    1c1798c45b40 platform/x86/amd/pmf: Move out of BIOS SMN pair for driver probe
    6a17add9c610 media: rkvdec: fix use after free bug in rkvdec_remove
    2cdc8f729d95 media: cedrus: fix use after free bug in cedrus_remove due to race condition
    231a6947ff84 media: mediatek: vcodec: change lat thread decode error condition
    b02cd74741d9 media: mediatek: vcodec: making sure queue_work successfully
    60fe2a3d6dc8 media: mediatek: vcodec: remove unused lat_buf
    8be5ead0b314 media: mediatek: vcodec: add core decode done event
    894278b772b8 media: mediatek: vcodec: move lat_buf to the top of core list
    f08900ca36d3 media: mediatek: vcodec: using each instance lat_buf count replace core ready list
    8aae2e6444a3 media: mediatek: vcodec: add params to record lat and core lat_buf count
    01dc8f41fc7b media: mediatek: vcodec: Force capture queue format to MM21
    4d5c8a891630 media: mediatek: vcodec: Make MM21 the default capture format
    5c4cc91b77ee media: mediatek: vcodec: Use 4K frame size when supported by stateful decoder
    0333177548fd arm64: dts: sc7280: Rename qspi data12 as data23
    edbbd78148e7 arm64: dts: sc7180: Rename qspi data12 as data23
    39f6de10df32 arm64: dts: qcom: msm8994-angler: removed clash with smem_region
    57aa05d59b56 arm64: dts: qcom: msm8994-angler: Fix cont_splash_mem mapping
    7eaa457d1e71 x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
    849ab4cf182b regulator: core: Avoid lockdep reports when resolving supplies
    fd092b355ac8 regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
    d2151c5d9dbe drm/ttm/pool: Fix ttm_pool_alloc error path
    5e5a4185c66f drm/ttm: optimize pool allocations a bit v2
    dfd1c26e40b5 arm64: dts: qcom: apq8096-db820c: drop unit address from PMI8994 regulator
    3a0c0f7c2f71 arm64: dts: qcom: msm8994-msft-lumia-octagon: drop unit address from PMI8994 regulator
    3c8cb6155ac0 arm64: dts: qcom: msm8994-kitakami: drop unit address from PMI8994 regulator
    f3694202d9ce arm64: dts: qcom: sc7180-trogdor-pazquel: correct trackpad supply
    f89b2591bb2b arm64: dts: qcom: sc7180-trogdor-lazor: correct trackpad supply
    d7d13d353acf arm64: dts: qcom: sc7280-herobrine-villager: correct trackpad supply
    958c6cbc3299 gpu: host1x: Fix memory leak of device names
    b81cfee96703 gpu: host1x: Fix potential double free if IOMMU is disabled
    62cb9c468dc9 soc: renesas: renesas-soc: Release 'chipid' from ioremap()
    724911eeaef4 soc: bcm: brcmstb: biuctrl: fix of_iomap leak
    4cf71779ead4 mailbox: mpfs: switch to txdone_poll
    41a51318ab37 drm/mediatek: dp: Change the aux retries times when receiving AUX_DEFER
    e80c69eb795f drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
    a260921b81b0 ACPI: VIOT: Initialize the correct IOMMU fwspec
    1a258bfa00f1 arm64: dts: mediatek: mt8192-asurada: Fix voltage constraint for Vgpu
    82f6ffb8e0fd cpufreq: qcom-cpufreq-hw: Revert adding cpufreq qos
    2e8aad9cd52a cpufreq: mediatek: Raise proc and sram max voltage for MT7622/7623
    9a5fa6333fac cpufreq: mediatek: raise proc/sram max voltage for MT8516
    4bacdbd7d937 cpufreq: mediatek: fix KP caused by handler usage after regulator_put/clk_put
    bd1c00687249 cpufreq: mediatek: fix passing zero to 'PTR_ERR'
    f977dbefeaea arm64: dts: apple: t8103: Disable unused PCIe ports
    eb617ab02334 ARM: dts: stm32: fix spi1 pin assignment on stm32mp15
    7ff92db0dd6f perf/arm-cmn: Move overlapping wp_combine field
    198ca89deaed firmware: arm_scmi: Fix xfers allocation on Rx channel
    da3babe96be7 ARM: dts: gta04: fix excess dma channel usage
    fd67875ebaea drm: rcar-du: Fix a NULL vs IS_ERR() bug
    46a1c9ba908f arm64: dts: qcom: sm8450: fix pcie1 gpios properties name
    98893ae40bc5 mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
    1975bf02595e ACPI: processor: Fix evaluating _PDC method when running as Xen dom0
    a24194121e7f drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings
    acd8f2efa29e arm64: dts: qcom: sm8350-microsoft-surface: fix USB dual-role mode property
    577a64725bfd virt/coco/sev-guest: Double-buffer messages
    02891701516b drm: msm: adreno: Disable preemption on Adreno 510
    a8d2b469541f drm/msm/adreno: drop bogus pm_runtime_set_active()
    a9b3ef13ebdd arm64: dts: ti: k3-am62a7: Correct L2 cache size to 512KB
    fe9dc0a2643e arm64: dts: ti: k3-am625: Correct L2 cache size to 512KB
    1e9fc6c47321 media: max9286: Free control handler
    052d22acd7da drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535
    1f141fe5153a firmware: qcom_scm: Clear download bit during reboot
    423350af9e27 media: av7110: prevent underflow in write_ts_to_decoder()
    0883003ffb5e media: amphion: decoder implement display delay enable
    51fc1880e474 media: platform: mtk-mdp3: Add missing check and free for ida_alloc
    c2e55481731b media: bdisp: Add missing check for create_workqueue
    ba8ffb1251eb x86/MCE/AMD: Use an u64 for bank_map
    c0a8025c746d ARM: dts: qcom: sdx55: Fix the unit address of PCIe EP node
    2b5325f9cce6 ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
    2ebb3f120e34 ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
    671c3a4d7d84 arm64: dts: qcom: sm8450: Fix the PCI I/O port range
    5334324f097d arm64: dts: qcom: sm8150: Fix the PCI I/O port range
    be8101493607 arm64: dts: qcom: sm8250: Fix the PCI I/O port range
    87397ffbc9bb arm64: dts: qcom: msm8996: Fix the PCI I/O port range
    c8178285ba1a arm64: dts: qcom: ipq6018: Fix the PCI I/O port range
    7803b357d9e2 arm64: dts: qcom: ipq8074: Fix the PCI I/O port range
    ec67a4ef28ea arm64: dts: qcom: sc7280: Fix the PCI I/O port range
    a35d6fdd7f60 arm64: dts: qcom: msm8998: Fix the PCI I/O port range
    6035794dd2de arm64: dts: qcom: sdm845: Fix the PCI I/O port range
    44018ad5f230 arm64: dts: qcom: sdm845: correct dynamic power coefficients
    7cb080295476 arm64: dts: qcom: sc7280: fix EUD port properties
    bd90d249bceb arm64: dts: qcom: msm8998: Fix stm-stimulus-base reg name
    6c6a69f82281 arm64: dts: broadcom: bcmbca: bcm4908: fix procmon nodename
    1be866857a3f arm64: dts: broadcom: bcmbca: bcm4908: fix LED nodenames
    c0454f814b36 arm64: dts: broadcom: bcmbca: bcm4908: fix NAND interrupt name
    93c22d107a3e arm64: dts: ti: k3-j721e-main: Remove ti,strobe-sel property
    5ea54b26d6e3 arm64: dts: ti: k3-am62a7-sk: Fix DDR size to full 4GB
    5d77e665ee21 arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT
    d585d1072eab regulator: core: Shorten off-on-delay-us for always-on/boot-on by time since booted
    36ecd6c6ed52 ARM: dts: qcom-apq8064: Fix opp table child name
    6006310a472d EDAC/skx: Fix overflows on the DRAM row address mapping arrays
    2c8c8398e19e drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
    6524d3d58797 drm/mediatek: dp: Only trigger DRM HPD events if bridge is attached
    6fcfd2861fd8 arm64: dts: renesas: r9a07g043: Update IRQ numbers for SSI channels
    14c480b2f382 arm64: dts: renesas: r9a07g043: Introduce SOC_PERIPHERAL_IRQ() macro to specify interrupt property
    e83e635becb9 arm64: dts: renesas: r9a07g054: Update IRQ numbers for SSI channels
    684fecd4f332 arm64: dts: renesas: r9a07g044: Update IRQ numbers for SSI channels
    dc062516db36 arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
    c82f50e55f4e arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
    6dbcc493a18d soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe
    f5222fbd797e tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007
    78e32896ecc7 drm/amdgpu: register a vga_switcheroo client for MacBooks with apple-gmux
    809a3fb8d8fc drm/probe-helper: Cancel previous job before starting new one
    6bd38a1454d9 drm/vgem: add missing mutex_destroy
    46473f3bd14a drm/i915/dg2: Drop one PCI ID
    86a77cef0959 drm/rockchip: Drop unbalanced obj unref
    0955b8eac335 erofs: fix potential overflow calculating xattr_isize
    50f1c1fba045 erofs: initialize packed inode after root inode is assigned
    7ee7a86e28ce erofs: stop parsing non-compact HEAD index if clusterofs is invalid
    fe2f093b051c tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
    380f9f79b493 tpm, tpm: Implement usage counter for locality
    71becf3ffea6 tpm, tpm_tis: Claim locality before writing interrupt registers
    0085052a2c27 tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed
    10eea3cfda29 tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE register
    12839c326ae5 tpm, tpm_tis: Do not skip reset of original interrupt vector
    784c206c66df selinux: ensure av_permissions.h is built when needed
    5453f22911cb selinux: fix Makefile dependencies of flask.h
    74f77a799dad selftests/resctrl: Check for return value after write_schemata()
    bceef0c7f6ed selftests/resctrl: Allow ->setup() to return errors
    7a570dda1d5a selftests/resctrl: Move ->setup() call outside of test specific branches
    0bf90aac4341 selftests/resctrl: Return NULL if malloc_and_init_memory() did not alloc mem
    ae6803b66365 rcu: Fix missing TICK_DEP_MASK_RCU_EXP dependency check
    05f437eba011 kunit: fix bug in the order of lines in debugfs logs
    9ad3b3867730 kunit: improve KTAP compliance of KUnit test output
    d0e2f01b534f ASoC: dt-bindings: qcom,lpass-rx-macro: correct minItems for clocks
    a2cbb1a45a0c bus: mhi: host: Range check CHDBOFF and ERDBOFF
    4afe300afb37 bus: mhi: host: Use mhi_tryset_pm_state() for setting fw error state
    cc3e7c033367 bus: mhi: host: Remove duplicate ee check for syserr
    a6f5c84b41aa cxl/hdm: Fail upon detecting 0-sized decoders
    0ae98a8b4f00 xfs: don't consider future format versions valid
    2b2515b8095c ceph: fix potential use-after-free bug when trimming caps
    9f565752b328 ubifs: Fix memory leak in do_rename
    29738e1bcc79 ubifs: Free memory for tmpfile name
    884e961674b5 ubi: Fix return value overwrite issue in try_write_vid_and_data()
    ef9aac603659 ubifs: Fix memleak when insert_old_idx() failed
    18c234685603 Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
    ccfe86622082 RISC-V: Align SBI probe implementation with spec
    f8076d2a7fce iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE
    f455c9cb9eed drm/amd/pm: re-enable the gfx imu when smu resume
    d78777c1d4de swsmu/amdgpu_smu: Fix the wrong if-condition
    d79d3430e174 tracing: Fix permissions for the buffer_percent file
    339dd534f21d riscv: mm: remove redundant parameter of create_fdt_early_page_table
    3c96dd239ae4 i2c: omap: Fix standard mode false ACK readings
    142a975738f7 ACPI: video: Remove acpi_backlight=video quirk for Lenovo ThinkPad W530
    18973b73fa51 ksmbd: fix deadlock in ksmbd_find_crypto_ctx()
    1f0490586544 ksmbd: not allow guest user on multichannel
    c3a3259675a6 ksmbd: fix memleak in session setup
    a70751dd7b60 ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()
    b80422474ffe ksmbd: call rcu_barrier() in ksmbd_server_exit()
    bd80d35725a0 ksmbd: fix racy issue under cocurrent smb2 tree disconnect
    cec378687a5a KVM: RISC-V: Retry fault if vma_lookup() results become invalid
    e43cf7abece2 drm/amd/display: fix a divided-by-zero error
    09c41688b6e5 drm/amd/display: fix PSR-SU/DSC interoperability support
    2abff94db2c6 drm/amd/display: limit timing for single dimm memory
    5e1574aa0639 drm/amd/display: Remove stutter only configurations
    f6ee841ff216 relayfs: fix out-of-bounds access in relay_file_read
    5bd77c239339 KVM: arm64: vgic: Don't acquire its_lock before config_lock
    569f33c3c2f9 KVM: arm64: Use config_lock to protect vgic state
    2b57af7bb9f1 KVM: arm64: Use config_lock to protect data ordered against KVM_RUN
    6c9d3f2a5e17 KVM: arm64: Avoid lock inversion when setting the VM register width
    36e0c405b86e KVM: arm64: Avoid vcpu->mutex v. kvm->lock inversion in CPU_ON
    f01c5f1ae9de KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
    eae127cd2ce6 reiserfs: Add security prefix to xattr name in reiserfs_security_write()
    c8a3341b3392 rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed
    c0bf94154ce0 crypto: ccp - Don't initialize CCP for PSP 0x1649
    b952a9cf3de2 crypto: arm64/aes-neonbs - fix crash with CFI enabled
    4d9d2fd86766 crypto: safexcel - Cleanup ring IRQ workqueues on load failure
    42ca037d0c3f crypto: api - Demote BUG_ON() in crypto_unregister_alg() to a WARN_ON()
    d9834abd8b24 ring-buffer: Sync IRQ works before buffer destruction
    ad7cc2a29e13 ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset_online_cpus
    cb99866895e6 pinctrl: qcom: lpass-lpi: set output value before enabling output
    956bbf1871e1 soundwire: qcom: correct setting ignore bit on v1.5.1
    c2c563c137cf pwm: meson: Fix g12a ao clk81 name
    f7e930b179ef pwm: meson: Fix axg ao mux parents
    1b0341e8fb2f wifi: mt76: add missing locking to protect against concurrent rx/status calls
    b9f6845a492d kheaders: Use array declaration instead of char
    9fd4768b0937 iio: addac: stx104: Fix race condition for stx104_write_raw()
    c38a4eb8aa47 iio: addac: stx104: Fix race condition when converting analog-to-digital
    44847a506e71 ipmi: fix SSIF not responding under certain cond.
    aeff5808f172 ipmi:ssif: Add send_retries increment
    a6b54af40787 MIPS: fw: Allow firmware to pass a empty env
    7f3340bf06f8 fs: fix sysctls.c built
    3e7b8a723b0c tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
    c94e5baa989f serial: max310x: fix IO data corruption in batched operations
    65fdabefd9c4 serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
    719a2f969b7d serial: fix TIOCSRS485 locking
    27df5bca965b xhci: fix debugfs register accesses while suspended
    7fb0b81e85d8 tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
    ad44530d46a5 staging: iio: resolver: ads1210: fix config mode
    64ef787bb158 blk-crypto: make blk_crypto_evict_key() more robust
    26632a538222 blk-crypto: make blk_crypto_evict_key() return void
    7d206ec7a04e blk-mq: release crypto keyslot before reporting I/O complete
    3b5fbb8219eb blk-crypto: Add a missing include directive
    5ca1668a9f5d blk-crypto: move internal only declarations to blk-crypto-internal.h
    3aab3abb856b blk-crypto: add a blk_crypto_config_supported_natively helper
    f0efb2365153 blk-crypto: don't use struct request_queue for public interfaces
    316ad076e0d3 blk-stat: fix QUEUE_FLAG_STATS clear
    3285613127d3 media: ov8856: Do not check for for module version
    bccf9fe2963e posix-cpu-timers: Implement the missing timer_wait_running callback
    1408d27f25c7 tpm: Add !tpm_amd_is_rng_defective() to the hwrng_unregister() call site
    ee508dfbafa1 hwmon: (adt7475) Use device_property APIs when configuring polarity
    d899ae3e768e hwmon: (k10temp) Check range scale when CUR_TEMP register is read-write
    986bd947bcd1 USB: dwc3: fix runtime pm imbalance on unbind
    d4b1e04d271b USB: dwc3: fix runtime pm imbalance on probe errors
    befdcb8e880e usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive
    491d32c896e0 usb: gadget: udc: core: Prevent redundant calls to pullup
    f6aaeacf0596 usb: gadget: udc: core: Invoke usb_gadget_connect only when started
    5b6c295947e6 IMA: allow/fix UML builds
    38a42842a6d0 phy: qcom-qmp-pcie: sc8180x PCIe PHY has 2 lanes
    5c274804e27e PCI: qcom: Fix the incorrect register usage in v2.7.0 config
    58e56aa83848 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
    a07176956014 PCI: kirin: Select REGMAP_MMIO
    6e5bf8c9f7b3 powerpc/boot: Fix boot wrapper code generation with CONFIG_POWER10_CPU
    4403c7b7e5e1 arm64: Stash shadow stack pointer in the task struct on interrupt
    2dd0f8994da1 arm64: Always load shadow stack pointer directly from the task struct
    06003e397523 ASoC: amd: ps: update the acp clock source.
    f9dc736e686c ASoC: amd: fix ACP version typo mistake
    f66cd9995917 wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset
    24d158856cef wireguard: timers: cast enum limits members to int in prints
    103f618cee51 x86/cpu: Add model number for Intel Arrow Lake processor
    88b9e97c1447 asm-generic/io.h: suppress endianness warnings for readq() and writeq()
    5ded8299b7de tracing: Error if a trace event has an array for a __field()
    324b854ce475 wifi: ath11k: reduce the MHI timeout to 20s
    cde904042870 platform/x86: thinkpad_acpi: Add missing T14s Gen1 type to s2idle quirk list
    7e26bfb49d00 net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II
    388764ea64e2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
    0ac10535aed9 selftests mount: Fix mount_setattr_test builds failed
    ec6f22171dc2 net: wwan: t7xx: do not compile with -Werror
    c58f26bdeec3 ASoC: da7213.c: add missing pm_runtime_disable()
    e373f76e20d6 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
    372bec6747bb iio: adc: palmas_gpadc: fix NULL dereference on rmmod
    c81f5c8b8c23 ASoC: amd: yc: Add DMI entries to support Victus by HP Laptop 16-e1xxx (8A22)
    32aae7831462 x86/hyperv: Block root partition functionality in a Confidential VM
    5c7648e96d90 ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm
    a89c7b86b5e2 ASoC: Intel: soc-acpi: add table for Intel 'Rooks County' NUC M15
    4f7b42a9bfd9 ASOC: Intel: sof_sdw: add quirk for Intel 'Rooks County' NUC M15

(From OE-Core rev: ead4f27c1ab133133e2eaf76527d4dbd9cf60138)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
7aad4c963c linux-yocto: move build / debug dependencies to .inc
When the architecture and debug specific build and runtime dependencies
were introduced, they were only applicable to "newer" kernel versions
and were enabled in the version specific recipes.

These are now common dependencies, so we can avoid the duplication and
move them to a common location.

We also change the adhoc nature of the existing elfutils definition,
as it is now detected by the kernel build and we no longer need the
work around to the native sysroot.

Finally, we change the undocumented KERNEL_DEBUG_OPTIONS to KERNEL_DEBUG
and use it to conditionally enable features that need extended support
(and support sometimes out of oe-core).

(From OE-Core rev: 7ddeb149e7a78bedeb945898fec5e8f13b7c5711)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
4fafe2da01 kernel: don't force PAHOLE=false
If a specific kernel provider or configuration wants to enable BTF
and pahole analysis, it isn't currently possible due to the explicit
definition to false in the base kernel build arguments.

pahole is now detected by the kernel built itself, so unless
pahole-native is enabled, the result is the same.

If a kernel does require an explicit disable of pahole, it is better
to carry PAHOLE=false in those specific recipes.

(From OE-Core rev: b1e4851a36ed47ce6ba880a49264b9a57c78cf4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
35316d206b linux-yocto-dev: bump to v6.4+
(From OE-Core rev: d3d7c2735eba0b985032cf55a001a6f21e2f01cf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
03ebed607a linux-yocto/6.1: update to v6.1.27
Updating  to the latest korg -stable release that comprises
the following commits:

    ca48fc16c493 Linux 6.1.27
    0bbec73fdd9e riscv: No need to relocate the dtb as it lies in the fixmap region
    17509e73ac8b riscv: Do not set initial_boot_params to the linear address of the dtb
    ed96b3143540 riscv: Move early dtb mapping into the fixmap region
    7cb8c95c0a6d driver core: Don't require dynamic_debug for initcall_debug probe timing
    ce0555352a28 USB: serial: option: add UNISOC vendor and TOZED LT70C product
    17e5ce4d89ad btrfs: fix uninitialized variable warnings
    47e6893a5b0a bluetooth: Perform careful capability checks in hci_sock_ioctl()
    c4acbf376124 gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU
    d27acf15c8fa drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
    e29661611e6e wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
    34cec5cd7abc mptcp: fix accept vs worker race
    b45d8f5375ed mptcp: stops worker on unaccepted sockets at listener close
    862ea63fad16 mm/mempolicy: fix use-after-free of VMA iterator
    e1562cc202c9 KVM: arm64: Retry fault if vma_lookup() results become invalid
    d70f63be626d phy: phy-brcm-usb: Utilize platform_get_irq_byname_optional()
    7d057bf201ca um: Only disable SSE on clang to work around old GCC bugs

(From OE-Core rev: 80f045c03cde302e135af53a19276d6487fcdf66)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Bruce Ashfield
706961b762 linux-yocto/6.1: update to v6.1.26
Updating  to the latest korg -stable release that comprises
the following commits:

    ca1c9012c941 Linux 6.1.26
    ab91b09f399f ASN.1: Fix check for strdup() success
    1831d8cbaea8 ASoC: fsl_sai: Fix pins setting for i.MX8QM platform
    6cb818ed5f08 ASoC: fsl_asrc_dma: fix potential null-ptr-deref
    7a6593b5d7ad ASoC: SOF: pm: Tear down pipelines only if DSP was active
    b528537d131f mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
    71b6df69f17e fpga: bridge: properly initialize bridge device before populating children
    f8c3eb751a9b iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
    342c1db4fa8c Input: pegasus-notetaker - check pipe type when probing
    a93c20f58322 gcc: disable '-Warray-bounds' for gcc-13 too
    a09b9383b749 sctp: Call inet6_destroy_sock() via sk->sk_destruct().
    a530b33fe986 dccp: Call inet6_destroy_sock() via sk->sk_destruct().
    a8cf1141057a inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
    588d682251e6 purgatory: fix disabling debug info
    7ca973d830c0 fuse: always revalidate rename target dentry
    f9a20ef5e83c MIPS: Define RUNTIME_DISCARD_EXIT in LD script
    8d6a870a428f KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
    9e7976c0cd63 KVM: arm64: Make vcpu flag updates non-preemptible
    d362a03d920e sched/fair: Fixes for capacity inversion detection
    799c7301ded6 sched/fair: Consider capacity inversion in util_fits_cpu()
    fe1c982958c5 sched/fair: Detect capacity inversion
    7e6631f782a1 mm/mmap: regression fix for unmapped_area{_topdown}
    059f24aff65c mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages
    bd6f3421a586 mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()
    433a7ecaed4b mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()
    e8a7bdb6f76c mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO
    519dbe737f0d mm/khugepaged: check again on anon uffd-wp during isolation
    cc647e05db67 mm/userfaultfd: fix uffd-wp handling for THP migration entries
    b1644a0031cf drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume
    904e1b66854b drm/rockchip: vop2: fix suspend/resume
    4ac57c3fe2c0 drm/amd/display: set dcn315 lb bpp to 48
    bef774effb27 drm/amdgpu: Fix desktop freezed after gpu-reset
    66eb772be27e drm/i915: Fix fast wake AUX sync len
    d9caa028d7ad mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
    3e6bd2653ff8 writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs
    ec90129b91b6 kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()
    a3a93b46833f memstick: fix memory leak if card device is never registered
    f6a5f61200ff tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used
    a0aa4827f791 nilfs2: initialize unused bytes in segment summary blocks
    a1176791ab74 maple_tree: fix a potential memory leak, OOB access, or other unpredictable bug
    66f13a1acf0a maple_tree: fix mas_empty_area() search
    c51b9ef3f521 maple_tree: make maple state reusable after mas_empty_area_rev()
    be100a8460e3 LoongArch: Mark 3 symbol exports as non-GPL
    e82caab68951 LoongArch: Fix probing of the CRC32 feature
    55fba69fbfd0 rust: kernel: Mark rust_fmt_argument as extern "C"
    e19ebc5f9a71 btrfs: get the next extent map during fiemap/lseek more efficiently
    b28def6ed970 ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    31f7c99e3685 iio: light: tsl2772: fix reading proximity-diodes from device tree
    b263f81bd16e iio: dac: ad5755: Add missing fwnode_handle_put()
    9ad34ea8d2d6 drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes
    9bdbd0099262 Revert "userfaultfd: don't fail on unrecognized features"
    8e610b699385 mtd: spi-nor: fix memory leak when using debugfs_lookup()
    f4d1bbb97728 platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models
    25e2413c9374 platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE
    bbf4d72be001 xen/netback: use same error messages for same errors
    79d22faeba7b nvme-tcp: fix a possible UAF when failing to allocate an io queue
    0cc5da7990ff drm: test: Fix 32-bit issue in drm_buddy_test
    fb766acce3cf drm: buddy_allocator: Fix buddy allocator init on 32-bit systems
    3059a67e02dc s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
    ba6486192268 platform/x86: gigabyte-wmi: add support for B650 AORUS ELITE AX
    fbc72b63520a net: dsa: b53: mmap: add phy ops
    480df96832f4 scsi: core: Improve scsi_vpd_inquiry() checks
    83760e74ed14 scsi: megaraid_sas: Fix fw_crash_buffer_show()
    e0ac735ee4e2 selftests: sigaltstack: fix -Wuninitialized
    8563ab97a870 platform/x86 (gigabyte-wmi): Add support for A320M-S2H V2
    c4043891a10f platform/x86/intel: vsec: Fix a memory leak in intel_vsec_add_aux
    23f18f35bf1f f2fs: Fix f2fs_truncate_partial_nodes ftrace event
    b2bfa742b871 net: bridge: switchdev: don't notify FDB entries with "master dynamic"
    b91798017c3e e1000e: Disable TSO on i219-LM card to increase speed
    89603f4c9154 bpf: Fix incorrect verifier pruning due to missing register precision taints
    39eeb724c4d9 spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
    ef018e12b1ed mlxsw: pci: Fix possible crash during initialization
    9a0b96d03c59 net: rpl: fix rpl header size calculation
    64489c22d085 bonding: Fix memory leak when changing bond type to Ethernet
    68b0f2843173 mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()
    fa82a725e8cb bnxt_en: Do not initialize PTP on older P3/P4 chips
    8e1f40e8f707 netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
    ef87cd81321b netfilter: nf_tables: validate catch-all set elements
    8a5dad80bd83 i40e: fix i40e_setup_misc_vector() error handling
    0ec73187f026 i40e: fix accessing vsi->active_filters without holding lock
    9387a515cbc3 netfilter: nf_tables: fix ifdef to also consider nf_tables=m
    6a4029f4f91f sfc: Fix use-after-free due to selftest_work
    d43f024e8c2a virtio_net: bugfix overflow inside xdp_linearize_page()
    ce729b06dc33 net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg
    519c96885eae regulator: fan53555: Fix wrong TCS_SLEW_MASK
    49b9758d44d4 regulator: fan53555: Explicitly include bits header
    8acb00f377f9 rust: str: fix requierments->requirements typo
    1c4dbb001fd3 netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
    ea854a25c832 netfilter: br_netfilter: fix recent physdev match breakage
    6369276efa7a arm64: dts: imx8mp-verdin: correct off-on-delay
    e09602ba40b6 arm64: dts: imx8mm-verdin: correct off-on-delay
    94e05ccaf335 arm64: dts: imx8mm-evk: correct pmic clock source
    ed26418b2dff arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers
    8fe3333f7229 arm64: dts: meson-g12-common: specify full DMC range
    4ba06237c4a2 arm64: dts: qcom: ipq8074-hk10: enable QMP device, not the PHY node
    ecff49fd3758 arm64: dts: qcom: hk10: use "okay" instead of "ok"
    fb42f8abdebd arm64: dts: qcom: ipq8074-hk01: enable QMP device, not the PHY node
    80cc8410af29 arm64: dts: rockchip: Lower sd speed on rk3566-soquartz
    8f33e7c677a9 ARM: dts: rockchip: fix a typo error for rk3288 spdif node

(From OE-Core rev: 3d50c853ef003d8d9bdc0ae3a5c9567fe3474c6c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Richard Purdie
8d887d226b selftest/license: Exclude from world
These test recipes shouldn't be built as part of world builds. Some recent
changes are exposing issues from this so exclude them.

(From OE-Core rev: 80d3f5586cd060ae69fbc6dec2e8978d87da10ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Richard Purdie
1e2ab22b1c meta-world-pkgdata: Fix for create-spdx
(From OE-Core rev: 981917eaa347c7660f0ed3fae436359cd61baf29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:07:51 +01:00
Denys Dmytriyenko
7c67fe1b4d bitbake.conf: Add SRCPV to BB_HASH_CODEPARSER_VALS
Also add SRCPV to the list of BB_HASH_CODEPARSER_VALS for code parser
cache handling. Otherwise an empty SRC_URI in the list triggers this
exception:

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception
 FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI
The variable dependency chain for the failure is: SRCPV -> UBOOT_LOCALVERSION -> do_compile

(From OE-Core rev: d17f9da69f430337ee1ef9c09b731c27393eba83)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:05:11 +01:00
Natasha Bailey
2f56bdb289 tiff: backport a fix for CVE-2023-2731
This patch fixes an issue in libtiff's LZWDecode function which could cause a null pointer dereference.

(From OE-Core rev: 7da5abf23232f61bf8009b4b8e97632768867e07)

Signed-off-by: Natasha Bailey <nat.bailey@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:05:11 +01:00
Sudip Mukherjee
47bc65bf55 apt: Upgrade to v2.6.1
Changes:
Update sha256sum for new version

(From OE-Core rev: 5eb6c747f8b25cd16125307a51470463c02dffd3)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:05:11 +01:00
Ming Liu
66ed174ccd kernel.bbclass: introduce KERNEL_LOCALVERSION
Just like UBOOT_LOCALVERSION, an end user can set KERNEL_LOCALVERSION
to append a string to the name of the local version of the kernel
image.

(From OE-Core rev: 229435a52f36ddec5f85fb6d5ccd42044b688397)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:05:11 +01:00
Tim Orling
9d01c892b4 openssl: upgrade 3.1.0 -> 3.1.1
* Drop CVE-2023-0464.patch (merged upstream).
* Refresh 0001-Configure-do-not-tweak-mips-cflags.patch

https://github.com/openssl/openssl/blob/openssl-3.1.1/NEWS.md

Major changes between OpenSSL 3.1.0 and OpenSSL 3.1.1 [30 May 2023]

* Mitigate for very slow OBJ_obj2txt() performance with gigantic OBJECT IDENTIFIER sub-identities. (CVE-2023-2650)
* Fixed buffer overread in AES-XTS decryption on ARM 64 bit platforms (CVE-2023-1255)
* Fixed documentation of X509_VERIFY_PARAM_add0_policy() (CVE-2023-0466)
* Fixed handling of invalid certificate policies in leaf certificates (CVE-2023-0465)
* Limited the number of nodes created in a policy tree (CVE-2023-0464)

Security Advisory:
https://www.openssl.org/news/secadv/20230530.txt

CVE: CVE-2023-2650
CVE: CVE-2023-1255
CVE: CVE-2023-0466
CVE: CVE-2023-0465
CVE: CVE-2023-0464

(From OE-Core rev: 26ce9a5fd31c27812ce8784a398b600cc0e9aa80)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:05:11 +01:00
Marc Ferland
cbbd535205 connman: fix warning by specifying runstatedir at configure time
Without this patch, systemd complains on startup with messages similar
to:

systemd-tmpfiles[128]: /etc/tmpfiles.d/connman_resolvconf.conf:1: Line references path below legacy directory /var/run/, updating /var/run/connman → /run/connman; please update the tmpfiles.d/ drop-in file accordingly.
systemd-tmpfiles[172]: /etc/tmpfiles.d/connman_resolvconf.conf:1: Line references path below legacy directory /var/run/, updating /var/run/connman → /run/connman; please update the tmpfiles.d/ drop-in file accordingly.

By default, connman will use "/var/run/connman" for runstatedir
instead of the now recommended "/run/connman".

(From OE-Core rev: 8d17776765a99a4ae327797206ef2a8a735ce87b)

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01 08:05:11 +01:00
Alexander Kanavin
09505f8768 maintainers.inc: correct unassigned entries (> was missing)
(From OE-Core rev: ab37ddf53607111bf5c49c4f2388224999c4a5a9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 17:09:51 +01:00
Alexander Kanavin
01488f204b maintainers.inc: unassign Pascal Bach from cmake entry
This was confirmed via private email.

(From OE-Core rev: c30e9f1972a3e1d4099f39fd6d0dfb37acb73ce1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 17:09:51 +01:00
Alexander Kanavin
855da3f927 maintainers.inc: unassign Andreas Müller from itstool entry
This was confirmed via private email.

(From OE-Core rev: cc8bb0da24419424989548ced27b2e76030340d9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 17:09:51 +01:00
Alexander Kanavin
4c1acce03e maintaines.inc: unassign Richard Weinberger from erofs-utils entry
This was confirmed via private email.

(From OE-Core rev: 834519933fcd6e4ff54f24d0cf671ea9ce24398a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 17:09:51 +01:00
Trevor Gamblin
1f32a9868d vim: upgrade 9.0.1527 -> 9.0.1592
Fixes:

https://nvd.nist.gov/vuln/detail/CVE-2023-2609
d1ae836 patch 9.0.1531: crash when register contents ends up being invalid
https://nvd.nist.gov/vuln/detail/CVE-2023-2610
ab9a2d8 patch 9.0.1532: crash when expanding "~" in substitute causes very long text

(From OE-Core rev: 1e4b4dfb4145bc00eb6937b5f54a41170e9a5b4c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Richard Purdie
0869a82d19 glib-2.0: Update ptest fix to upstream backport
Update the ptest fix to match the one accepted upstream.

(From OE-Core rev: 82910dd43889e9ac50f7dba9437e3304c52eb1c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Chen Qi
01472f512f libsdl2: disable SDL's own ccache
OE has its own ccache mechanism, disable libsdl2's own ccache
searching/enabling mechanism. Otherwise, if ccache is installed
on system, it will be used by default.

(From OE-Core rev: 7c1cd24de5ec06501354ca6378887f4b1048274e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Jialing Zhang
3edaa511b2 linuxloader/initramfs: Add support for loongarch64
Add support for loongarch64 to:

linuxloader
core-image-minimal-initramfs
initramfs-module-install

(From OE-Core rev: bed5e0fc0ff1795e80277d306bbdade0915983b6)

Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Mauro Queiros
b71e70374b pybootchartgui: show elapsed time for each task
Currently, finding the elapsed time of each task in buildtimes.svg
is a manual effort of checking the top axis and finding and subtracting
the end and start time of the task.

This change adds the elapsed time for each task, so that
manual effort of comparing start/end time is avoided.

(From OE-Core rev: 3efebd3404de548f0757863da237f2d18ce60013)

Signed-off-by: Mauro Queiros <Mauro.Queiros@criticaltechworks.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Xiangyu Chen
9eb992471f sysstat: Fix CVE-2023-33204
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-33204
https://ubuntu.com/security/CVE-2023-33204

Upstream Patch:
https://github.com/sysstat/sysstat/commit/954ff2e2673c

(From OE-Core rev: 7a6871590b908e4b749484d913da5e280c20d05f)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Khem Raj
5f022cd62c perf: Make built-in libtraceevent plugins cohabit with external libtraceevent
This will package the plugins built by perf into kernel specific dir
under libdir, so it does not conflict with plugins from newly added
libtraceevent recipe

Fixes
do_sdk_depends: The file /usr/lib/traceevent/plugins/plugin_cfg80211.so is installed by both perf and libtraceevent, aborting

(From OE-Core rev: 28f39769c27d257a60ff0152acc0c76f0276fa6a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Michael Opdenacker
1975ed8c8d psplash: enable fullscreen and disable startup-msg
by setting PACKAGECONFIG entries
- fullscreen wasn't set by default but caused
  issues displaying the image (image translated upwards,
  white stripe at the bottom)
- startup-msg was set by default but didn't seem
  to work, showing a white stripe in the lower half
  of the display.
- progress-bar was already enabled, but it can
  now be disabled through PACKAGECONFIG.

(From OE-Core rev: 31be4944528c6266eda6e8ab07cdc81a6c906c8b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
CC: Tim Orling <ticotimo@gmail.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Louis Rannou
beae214a45 spdx: Fix license parsing
[YOCTO #14890] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=14890#c3

Since spaces in the license name are not mandatory, we need to add spaces around
 `|` and `&` before spliting.

(From OE-Core rev: 28c704bdf731f1c5012b74e4fdb899622f15a7b1)

Signed-off-by: Louis Rannou <lrannou@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Trevor Gamblin
de8be85b9a pciutils: upgrade 3.9.0 -> 3.10.0
Changelog (see https://github.com/pciutils/pciutils/blob/master/ChangeLog):

* Fixed bug in definition of versioned symbol aliases in shared libpci,
which made compiling with link-time optimization fail.
* Filters now accept "0x..." syntax for backward compatibility.
* Windows: The cfgmgr32 back-end which provides the list of devices
can be combined with another back-end which provides access to
configuration space.
* ECAM (Enhanced Configuration Access Mechanism), which is defined by
the PCIe standard, is now supported. It requires root privileges,
access to physical memory, and also manual configuration on some
systems.
* lspci: Tree view now works on multi-domain systems. It now respects
filters properly.
* Last but not least, pci.ids were updated to the current snapshot of
the database. This includes overall cleanup of entries with non-ASCII
characters in their names -- such characters are allowed, but only if
they convey interesting information (e.g., umlauts in German company
names, but not the "registered trade mark" sign).

(From OE-Core rev: 04b5aa6c73bc3b9f0be2b28acfa0d66c2ecca310)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Trevor Gamblin
82b694678f bind: upgrade 9.18.13 -> 9.18.14
(From OE-Core rev: 43c97c6e64c554f41a3a45241a7547bce21533e7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Ross Burton
fa6135ab32 base: add ability to provide further details when using LICENSE_FLAGS
Recipes with proprietary licenses often need to use LICENSE_FLAGS so
that the user can opt-in with consent. However, if you don't consent
then the error simply tells you the license identifier but not further
context.

Add a new variable LICENSE_FLAGS_DETAILS, which will be looked in for a
flag with the name of the licence.  If found then the contents are
printed as a source of further details.

For example, a recipe with an EULA may set:

  LICENSE_FLAGS = "FooBar-EULA"
  LICENSE_FLAGS_DETAILS[FooBar-EULA] = "https://example.com/eula"

If Foobar-EULA isn't in LICENSE_FLAGS_ACCEPTED then the error message is
more useful:

  Has a restricted license 'FooBar-EULA' which is not listed in your
  LICENSE_FLAGS_ACCEPTED. For further details, see
  https://example.com/eula.

(From OE-Core rev: cb5cdcaf3310e889e80861ccfaf46c1bce624ac1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Ross Burton
496d14c3ec avahi: remove redundant gobject-introspection DEPENDS
The gobject-introspection class adds this dependency as needed, so
remove it from DEPENDS.

(From OE-Core rev: f1d436577d6029de8cb0a470e124dc2f4a3cd4cd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Michael Opdenacker
2ef25f4a3e alsa-ucm-conf: upgrade 1.2.8 -> 1.2.9
(From OE-Core rev: 31f3a2ff0df33072c947df0a755e72d02c817d71)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Michael Opdenacker
4e8c592f27 alsa-lib: upgrade 1.2.8 -> 1.2.9
(From OE-Core rev: e4aa2a4c2fde0ff5ae8ec1f1f8f9d05a19a17a97)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31 16:53:04 +01:00
Richard Purdie
6c02a8628d Revert "sqlite3: Whitelist CVE-2022-21227"
This reverts commit cfc42fdabb3f12eb4ac5069a549ba5699385dfdc.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-30 13:25:47 +01:00
Martin Jansa
ca12fac112 selftest: wic.py respect IMAGE_LINK_NAME
* use IMAGE_LINK_NAME instead of hardcoding
  core-image-minimal-${MACHINE} assumption

[YOCTO #12937]

(From OE-Core rev: e34d7617b00ec9423221c9c7b96be6f9e5358e6a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:42:56 +01:00
Sanjay Chitroda
4a4f2b6df0 sqlite3: Whitelist CVE-2022-21227
This CVE is applicable to "SQLite3 bindings for Node.js" only.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-21227

(From OE-Core rev: cfc42fdabb3f12eb4ac5069a549ba5699385dfdc)

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:42:00 +01:00
Martin Jansa
2e44751098 connman: backport a fix for build with pppd-2.5.0
* pppd was upgraded in:
  https://git.openembedded.org/openembedded-core/commit/?id=5512bf4dfd299b8d5d474d9f26c2146b3e53514a

* connman fails to build with pptp or l2tp PACKAGECONFIG is enabled

(From OE-Core rev: 0688b307c82c8cc454633ff92e4bc06987a7ac77)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:42:00 +01:00
Robert Joslyn
9e3a0a060f curl: Update from 8.1.0 to 8.1.1
This is a bugfix only release. Release notes:
https://curl.se/changes.html#8_1_1

(From OE-Core rev: 833191171181f11802a3e0ae8b91b8ca5892b067)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:42:00 +01:00
schitrod=cisco.com@lists.openembedded.org
934487d99a Revert "sqlite3: update CVE_PRODUCT"
This reverts commit 8800976e79d65956218ab462d9644d0661579301.

As per NVD database "ghost:sqlite3" product is specific to "node.js"
CVEs reported against above products are not applicable to us.

(From OE-Core rev: 7616b1d28cb119adb471b5268a77ec61d5dd555c)

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:42:00 +01:00
Richard Purdie
7412af2d39 Revert "python3/ruby/shadow: Revert add libxcrypt-native dependency"
This reverts commit c6198e1b1c3e3a3413b6ff9f014b40114f1850db.
This reverts commit 167c2c9f15c1bfe401c0512e420a76fa1379c012.
This reverts commit 65532fc751dc00e5568e256166f7b259d3a3c06c.

The dependencies should not be a -native in the target case. Revert
these whilst the proper patch is worked out.

(From OE-Core rev: 54eccb76eb8ba2086a56a30dfbb8aba06b02865a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 13:32:55 +01:00
Michael Halstead
6ebe71a52e uninative: Upgrade to 4.0 to include latest gcc 13.1.1
(From OE-Core rev: f87becb69e02bdf055dffb633ed4f6d36b36f7a7)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29 12:37:29 +01:00
Andrej Valek
29f061ab4f busybox: 1.36.0 -> 1.36.1
- regression on x86 is still in place

(From OE-Core rev: 09c5499f5885662a55a8810078e7208a1696b29f)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Richard Purdie
d72aac4be9 glib: Fix ptest race issue
gio/tests/portal: Fix test ordering race

When the gnome test runner executes the tests, the test appear to execute in disk
order. This means it sometimes works and we sometimes see breakage in portal-support-snap
and portal-support-snap-classic.

The issue is that some tests create config files but some don't. If they run
in the wrong order, tests see config files they shouldn't and break.

Fix this by deleting the files after each test run, properly cleaning up after
themselves. There are probably better ways to handle this but this patch should
at least let us check this is the issue.

I've tried to report upstream but their issue tracker account creation is struggling
and I can't get my account to work.

(From OE-Core rev: bff17171841fd15fb6084262e397c736005f7e3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Markus Volk
0b51f406d8 shadow: add libxcrypt-native dependency
crypt.h is otherwise taken from the host machine

(From OE-Core rev: 65532fc751dc00e5568e256166f7b259d3a3c06c)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Markus Volk
0f44ebfef9 ruby: add libxcrypt-native dependency
crypt.h is otherwise taken from the host machine

(From OE-Core rev: 167c2c9f15c1bfe401c0512e420a76fa1379c012)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Markus Volk
81fd8e59b5 python3: add libxcrypt-native dependency
crypt.h is otherwise taken from the host machine

(From OE-Core rev: c6198e1b1c3e3a3413b6ff9f014b40114f1850db)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Markus Volk
25723919fa ell: upgrade 0.56 -> 0.57
ver 0.57:
	Fix issue with handling Generic Netlink cancel requests.

ell 0.57 is required for iwd 2.5

(From OE-Core rev: f13fe33403f077802640e70a84596546d555c3b9)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Khem Raj
f0136a9976 gcc: Upgrade to 13.1.1
Some distros e.g. gentoo have latest on gcc-13 branch and we have a
situation where libstdc++ ABI is changed between 13.1 and 13.2 so
official 13.1 release based uninative will no longer work on these
distros, therefore switch to a snapshot that includes [1] which fixes
it

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969

Reported-by: Martin Jansa <Martin.Jansa@gmail.com>
(From OE-Core rev: d554c404166f6ba1aa247c377fa9d3316e53aa40)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Michael Halstead
8d4ff36d63 uninative: Upgrade to 3.10 to support gcc 13
(From OE-Core rev: f811bffb861b23238e8291394bd6e8407f013619)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28 09:09:47 +01:00
Michael Opdenacker
85b08e950b migration-guides: release-notes-4.0.4.rst: fix typo
Introduced by previous commit

(From yocto-docs rev: 084ba9fad50d9903f520d0333e6a7d5ed4f40cc9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Lee Chee Yang
1b582fd60a migration-guides: add release notes for 4.0.10
(From yocto-docs rev: 49cfa32a08be0d0fe0d98c8c1a6b2ff69c659025)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Michael Opdenacker
9323f4160d migration-guides: use new cve_mitre macro
(From yocto-docs rev: 9dc21e807e76c5ea8429ac31b57ad7b352fbaa71)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Michael Opdenacker
a618060cce conf.py: add macro for Mitre CVE links
Useful for CVEs that are not found (yet) on https://nvd.nist.gov/

(From yocto-docs rev: bd9add8a0e62465429cf62c314aaa766b7f6f544)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Peter Kjellerstedt
076eda5d6e manuals: kernel-dev: Use protocol=https in a SRC_URI example
This matches the change in commit 139102a73d (recipes: Default to https
git protocol where possible) in openembedded-core.

(From yocto-docs rev: 0e1e0d2dd986dcc6462f979ecc5a1ac1e17476ba)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Michael Opdenacker
517b555e09 releases.svg: fix and explain duration of Hardknott 3.3
(From yocto-docs rev: 518a81859619104cb97d5a68d8542c1861ad772b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Takayasu Ito <ito@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Michael Opdenacker
af5cb21d9f migration-guides: update 4.3 release notes
(From yocto-docs rev: ad3ba5c576011e31f71a39c9138f8bd67b3c444f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Michael Opdenacker
7475d86c18 ref-manual: improve documentation for kernel-devicetree class
- Document the new KERNEL_DTBDEST and KERNEL_DTBVENDORED variables
- Also document the related KERNEL_DEVICETREE_BUNDLE
  and KERNEL_PACKAGE_NAME variables

(From yocto-docs rev: 19f128e725da35234ec2c234c667ee7ff3d67d8d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:51 +01:00
Lee Chee Yang
e3b7b22255 migration-guides: add release-notes for 4.1.4
(From yocto-docs rev: 77c0076a5dc35282aa09fb4453a69e2f4738b09e)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Michael Opdenacker
e31de097c2 ref-manual: document uboot-sign class and variables
(From yocto-docs rev: 221bcf2e32fb42b6527ff0b4cfe0c4591ab89f78)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Jamin Lin <jamin_lin@aspeedtech.com>
CC: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Michael Opdenacker
a95cbed77f ref-manual: improve description of kernel-fitimage variables
- Mentioning that they are related to this class
  (for further information about their usage)
- Replace "fitImage" by "FIT image"
- Minor formating and style fixes

(From yocto-docs rev: 07214a4ff2646efb143a02fc9381a029870e9b56)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Petr Kubizňák
4417a30196 ref-manual: document devicetree class variables
Document the newly added DT_FILES variable and closely related
DT_FILES_PATH. Also add DT_PADDING_SIZE to the glossary.

(From yocto-docs rev: 8f3f187e2353c718c6fb4e224d13ba559ad2f85b)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Michael Opdenacker
fd56748380 releases.svg: update according to latest release
- Update the Mickledore starting and ending time
- Mickledore is no longer a future release

(From yocto-docs rev: 47b5eba8a38df4bfc6c704d3cfb7a24bfd8c4dce)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Lee Chee Yang
e7f8590844 release-notes-4.2: update known issues and Repositories/Downloads
(From yocto-docs rev: 3f5897c5909b8b9b0e2f9d1f1d541c4a8a4d89da)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Michael Opdenacker
d807d0f1ea migration-guides: release-notes-4.3: add stub section for documentation changes
(From yocto-docs rev: 91ce841fa166d68448fa26b68a199de020ff18ac)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Michael Opdenacker
85bfe72efe migration-guides: release-notes-4.2: add doc improvement highlights
(From yocto-docs rev: 66b5f10bf0747b6ae0a8fbb05103e2f1070b6474)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 17:32:50 +01:00
Richard Purdie
76494f2b66 linux-yocto: Drop 5.15 support
5.15 doesn't work with gcc 13 and we'll be replacing 5.15 with a new kernel
version later in the release cycle. Drop 5.15 now so we can move forward
with gcc 13 and we'll add a new kernel version later.

(From meta-yocto rev: 084d840d7f655466d5d668ca309a8b09b83f23fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Richard Purdie
29206e7240 glib-2.0: Fix TMPDIR mismatch test failures
gcc 13 appears to trigger TMPDIR changes in glib which causes ptest failures:

FAIL: glib/utils-c-90.test (Child process killed by signal 6)
FAIL: glib/utils.test (Child process killed by signal 6)
FAIL: glib/utils-c-99.test (Child process killed by signal 6)
FAIL: glib/utils-c-17.test (Child process killed by signal 6)
FAIL: glib/utils-c-11.test (Child process killed by signal 6)

The issue is caused by our symlinks between tmp directories which
cause the tests to get confused. We can set G_TEST_TMPDIR to
a resolved path using readlink to avoid the failures.

(From OE-Core rev: 7ef0ce88e23c7ca138bc4041931d9bfe1d85dfc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Richard Purdie
47d33683a1 lttng-tools: Add patch to fix gcc 13 test issue
Add a couple of patches from upstream which fix a failing test with gcc 13.

(From OE-Core rev: 9148de637f565578a96e8c02bad765ce3daffe27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Khem Raj
d52d7f524b perf: Fix build with gcc-13
(From OE-Core rev: 5a891d8c3d7e9d8d36bab680ef9fe3ac40fdb8b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Khem Raj
ac176badb2 bitbake.conf: Add -fcanon-prefix-map to DEBUG_PREFIX_MAP
This should help canonicalize the relative paths and symlinks
during cross compile, -fcanon-prefix-map is newly added in gcc-13+ [1]

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108464#c8
(From OE-Core rev: ba778e43576aaab212751ccc13270fd4c504ba1f)

(From OE-Core rev: abe97fa74b10c2c71d79bc3573d4edb509b111f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Khem Raj
17085d769f gcc: Upgrade to GCC 13.1 release
- Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on
  gcc13+
- GCC 13 Porting guide [1] and major changes [2] and detailed documentation [3]
- Fix aarch64 cross build when S != B

[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
[2] https://www.gnu.org/software/gcc/gcc-13/changes.html
[3] https://gcc.gnu.org/onlinedocs/13.1.0/

(From OE-Core rev: b80c020eaeaaae82e5b32209ca8608b36eaaee40)

(From OE-Core rev: bea46612fd9106cc5b46eb1d81623b6492563c13)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Richard Purdie
deaedea295 linux-yocto: Drop 5.15 support
5.15 doesn't work with gcc 13 and we'll be replacing 5.15 with a new kernel
version later in the release cycle. Drop 5.15 now so we can move forward
with gcc 13 and we'll add a new kernel version later.

(From OE-Core rev: e30b37776d16cfd4ce7f79746427ccd95b306059)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26 07:54:17 +01:00
Arno Baumfalk
34004afb65 bitbake: fetch2/npm: evaluate PATH before patching HOME
When the user configures the TMPDIR variable in a way that it contains $HOME (in local.conf), the DataSmart (d) object's PATH variable will also contain $HOME.

As the NpmEnvironment patches HOME with a temporary directory, further evaluation of PATH will become invalid an the build breaks with an error (npm not found).

As countermeasure PATH is evaluated *before* patching HOME.

(Bitbake rev: 893f3b116b628457fe0bfaf4b8394b1cd05a90a5)

Signed-off-by: Arno Baumfalk <a.baumfalk@astro-kom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 13:16:24 +01:00
Richard Purdie
695998f921 bitbake: cooker: Add FILE_LAYERNAME variable containing the layername for a recipe
There are times when it would be useful for code to know which layer
(or collection in old bitbake terms) it is contained within.

Add support for FILE_LAYERNAME to be set by bitbake when parsing a recipe
so that it is possible to determine this. To do it, we need to pass data
from the cooker into the recipe endpoints, since only the top level cooker
information knows about the layer structure which makes the patch a bit
painful.

The idea is that this would make layer overrides possible:

OVERRIDES .= ":layer-${FILE_LAYERNAME}"

which then opens possibilities like:

WARN_QA:append:layer-core = " patch-fuzz"

as an example where OE-Core could enable specific QA tests only for that
specific layer.

(Bitbake rev: 7090a14b0035842112d073acf7f2ed1a01fdeccf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 13:16:24 +01:00
Khem Raj
3673a43c22 go: Use -no-pie to build target cgo
Fixes
go: ELF binary /usr/lib/go/pkg/tool/linux_arm64/pprof has relocations in .text
go: ELF binary /usr/lib/go/bin/go has relocations in .text [textrel]

(From OE-Core rev: a27d39aebd5966ffffb57c20518381cb06ba8373)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Khem Raj
c3bdaa70e6 go: Upgrade 1.20.1 -> 1.20.4
- Remove already upstreamed patches

- Brings a list of changes [1] [2] [3]

[1] https://github.com/golang/go/issues?q=milestone%3AGo1.20.2+label%3ACherryPickApproved
[2] https://github.com/golang/go/issues?q=milestone%3AGo1.20.3+label%3ACherryPickApproved
[3] https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved

(From OE-Core rev: e043bfb42156c59c93c6a4816528a63cfdaccc3e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Kai Kang
57761516e6 pm-utils: fix multilib conflictions
It fails to instal pm-utils and lib32-pm-utils at same time:

Error: Transaction test error:
  file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-hibernate conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-powersave conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-suspend conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-suspend-hybrid conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64

All of the conflicted files either is script which source a file in
${libdir}, or a link file to some file in ${libdir}. Compare the content
of installed files in ${libdir} exclude binaries, only the paths of
${libdir} diff. So re-define libdir with ${nonarch_libdir} to fix the
conflicts.

(From OE-Core rev: f836541bcfdbf033a37537530b4e3b87b0a7f003)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Martin Jansa
4841284f40 kmod: remove unused ptest.patch
* it was removed from SRC_URI in 2015:
  https://git.openembedded.org/openembedded-core/commit/?id=f80d136bdd578468035a88125fa1b84973fd912b

(From OE-Core rev: cfc4586b4bf080a3a4aa419dffc76c5da2a95b74)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Martin Jansa
9a314c2d88 libgloss: remove unused patch file
* it was removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1

(From OE-Core rev: c78439a8048c30ef96e11ae698c32f4e088787d3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Martin Jansa
55703b38d1 inetutils: remove unused patch files
* they were removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=a21e8fdf1b66961ddae5929d393daa08800bb748

(From OE-Core rev: e2030f2a651920435787b4a580dd18894c1bc02c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Martin Jansa
38c8b07980 minicom: remove unused patch files
* they were removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57

(From OE-Core rev: a0f28cd8d01f4faeedc1089e5d1e2dacc5b046f9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Martin Jansa
829580b554 qemu: remove unused qemu-7.0.0-glibc-2.36.patch
* it was removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=e94d182889ca3c02df913c59f0b66b228ffe588c

(From OE-Core rev: 351c461859df02118e9fadb57320120dfbcd97eb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Martin Jansa
58061d15eb libx11: remove unused patch and FILESEXTRAPATHS
* 0001-fix-a-memory-leak-in-XRegisterIMInstantiateCallback.patch was removed
  from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=e13f651f73db0f26f4645447ab5fa17e36d1903b

(From OE-Core rev: ee37d9f05c047e1dd68e0cb47b809240d2f33835)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Khem Raj
b481883f0f systemd: Drop a backport
This patch should have been dropped when upgrading to 253
since its already available upstream since then

(From OE-Core rev: 5b677b766280b39e8bf507d5aec4f08e49fd72a9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Khem Raj
c2d2dbee6d llvm,mesa: Drop MESA_LLVM_RELEASE
This was needed to use provide different llvm from meta-clang or other
layers, seems unused since meta-clang has stopped providing a versioned
llvm

(From OE-Core rev: 7012aefb10a4101b2f3baf4dc20c64e3260b4cc8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Richard Purdie
2b02561776 bitbake.conf: Empty SRC_URI for code parser cache handling
(From OE-Core rev: 93a09a05d6dde3542587735df0aa2371e79a3bb7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 12:36:00 +01:00
Bergin, Peter
5c3b6b6fd1 bitbake: lib/bb/tests/fetch.py: set initial branch
If you have a host where the git config for initial branch
name is something else than 'master' the unittest will fail
as they assume the default branch name is 'master'. Fix this
by explicitly set the intial branch name at 'git init'.

(Bitbake rev: 5bcd213c23da30a84baba88b775b1740e6bb77d0)

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:33:15 +01:00
Richard Purdie
222c5668a6 bitbake: fetch2/local: Add debug to include chosen path
The current debug lists all the potential search paths but not the end result
which isn't helpful for debugging. Tweak to include the end result.

(Bitbake rev: a98b8dbb5fbd937a9530793485cf7c68fdd75cc2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:33:15 +01:00
Richard Purdie
71eef845bd bitbake: fetch2: Clarify different localpaths functions
To avoid confusion, rename the local fetcher localpaths function to
something more specific so it doesn't appear similar to the localpaths
top level function.

(Bitbake rev: ada5ea712cc42fff8c55bd261ee6d7579efd4a68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:33:15 +01:00
Richard Purdie
8f728e3383 bitbake: cooker: Fix/improve collections handling
Code changes for FILE_LAYERNAME exposed lifecycle issues around the collections
object in Cooker which only appeared in devtool usage in eSDK. Move
the collections setup to an earlier stage after parsing completes to
avoid any kind of race around it.

Also stop overwriting the code variable in MatchFiles. Ultimately we
need to combine these codepaths but that is for another patch.

(Bitbake rev: 27b872ed4fbe73b3b61e14cb885bb7c16c039cdb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:33:15 +01:00
Peter Kjellerstedt
5b4c7dc600 bitbake: fetch2/crate: Correct unpack for a crate that matches the recipe name
The crate fetcher handles a crate with a name that matches the recipe's
name specially by placing the unpacked code in the current directory
(which typically is ${S}) rather than together with the sources for the
other crates. This broke when the URI names for all crates were changed
recently to include the version in the name.

Correct the crate fetcher to test against ${BP} instead of ${BPN}.
Also add a test case to the selftests to avoid this breaking again.

[Yocto #15012]

(Bitbake rev: 9af52b748357d0c843ce2507ce4d119fd9c37008)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:33:15 +01:00
Peter Kjellerstedt
ddc06f0a30 bitbake: fetch2/crate: Simplify extraction of crate names and versions from URIs
(Bitbake rev: 4f2d8bcbaea33425f6de2c3c88a0beabec8a59f9)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:33:15 +01:00
Frieder Schrempf
9fa2c57313 psmisc: Set ALTERNATIVE for pstree to resolve conflict with busybox
If pstree in busybox is enabled there is a conflict with pstree from
psmisc resulting in:

  do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If
  the intention is to defer them to first boot, then please place
  them into pkg_postinst_ontarget:${PN} ().
  Deferring to first boot via 'exit 1' is no longer supported.

And more detailed in do_rootfs.log:

  update-alternatives: Error: not linking [...]/rootfs/usr/bin/pstree to /bin/busybox.nosuid since [...]/rootfs/usr/bin/pstree exists and is not a link

On order to fix this set ALTERNATIVE:pstree accordingly.

(From OE-Core rev: deb2176df76dcb16c0d90072ad63d308a0ab1158)

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Martin Jansa
4ed6dc5602 rpm: drop unused 0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch
* it was removed from SRC_URI in oe-core commit:
  commit 67257ca87c6fa8e6050a20ecea50daf834c7e869
  Author: Alexander Kanavin <alex.kanavin@gmail.com>
  Date:   Sat Apr 25 19:28:00 2020 +0200
  Subject: rpm: upgrade to 4.15.1

  and it's unused since then

(From OE-Core rev: c801a215fb2d53bdec7f4c9a20ff7969e8071e5c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Pavel Zhukov
12885620a8 lib/terminal.py: Add urxvt terminal
This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if
xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color

[1]
WARNING: Terminal screen is supported but did not start
ERROR: No valid terminal found, unable to open devshell.
Tried the following commands:
	tmux split-window -c "{cwd}" "do_terminal"
	tmux new-window -c "{cwd}" -n "zephyr-helloworld Configuration" "do_terminal"
	xfce4-terminal -T "zephyr-helloworld Configuration" -e "do_terminal"
	terminology -T="zephyr-helloworld Configuration" -e do_terminal
	mate-terminal --disable-factory -t "zephyr-helloworld Configuration" -x do_terminal
	konsole --separate --workdir . -p tabtitle="zephyr-helloworld Configuration" -e do_terminal
	gnome-terminal -t "zephyr-helloworld Configuration" -- do_terminal
	xterm -T "zephyr-helloworld Configuration" -e do_terminal
	rxvt -T "zephyr-helloworld Configuration" -e do_terminal
	tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
	screen -D -m -t "zephyr-helloworld Configuration" -S devshell do_terminal
DEBUG: Python function do_menuconfig finished

(From OE-Core rev: 8d2fe4df8ae33e033caf4119a76715f085be1d15)

Signed-off-by: Pavel Zhukov <pazhukov@suse.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Chen Qi
cdd38494f0 staging.bbclass: do not add extend_recipe_sysroot to prefuncs of prepare_recipe_sysroot
When running prepare_recipe_sysroot task, the extend_recipe_sysroot
is run twice.

What prepare_recipe_sysroot does is executing extend_recipe_sysroot,
there's no need to add extend_recipe_sysroot to its prefuncs.

(From OE-Core rev: bf7584a2ac16ee46ff5b41536b06bb46d0cbada7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Peter Kjellerstedt
3dd2eae381 xf86-video-intel: Use the HTTPS protocol to fetch the Git repositories
This matches the change in commit 139102a73d (recipes: Default to https
git protocol where possible), which did this for most recipes.

(From OE-Core rev: 21a06cb3f19570c65fc83d45069cab22136768b0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Peter Kjellerstedt
3796033686 musl: Correct SRC_URI
When the protocol used to fetch the Git repository was changed from
"git" to "https" in commit 139102a73d (recipes: Default to https git
protocol where possible), the URI was not updated to match.

(From OE-Core rev: 0434a5ae168f737741e66a7fe1e30a8703b8ce16)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Peter Kjellerstedt
67ad6c8dc2 glib-2.0: Avoid having g_futex_simple() inadvertently modify errno
If both __NR_futex and __NR_futex_time64 are defined, g_futex_simple()
will first call futex_time64(). If that fails with ENOSYS, then
futex_time() is called instead. However, errno was not saved and
restored in this case, which would result in g_futex_simple()
returning with errno set to ENOSYS, even if futex_time() succeeded.

(From OE-Core rev: 1d6bff65391045ba40e84721eb0f6826e25e09f3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Randolph Sapp
63a7ae21cc kernel-devicetree: recursively search for dtbs
Upstream's dtb directory structure has no real standard. They just tend
to idle around the 2/3 directory depth. Recursively search for the
dtb/dtbo files instead of assuming anything.

Fixes: 04ab57d200 (kernel-devicetree: allow specification of dtb
directory, 2023-05-02)

(From OE-Core rev: 81570ba93eb282fd4566077d3b7b9ddf8c303002)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Randolph Sapp
2f68c2d727 package: enable recursion on file globs
Enable recursion of file globs. This just allows the use of '**' in file
globs to match 0 or more subdirectories, it should not make all current
globs recursive [1].

[1] https://docs.python.org/3.6/library/glob.html#glob.glob

(From OE-Core rev: 4cd62f72dbaa0361e97d7c118752d0a2b02adfbe)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Alexander Kanavin
f18e1d2c6a valgrind: update 3.20.0 -> 3.21.0
Drop patches merged upstream.

(From OE-Core rev: 3c4d78d8a1d5eca91bee66fd815c80eb0889ce81)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Alexander Kanavin
c103a15111 gdb: enable python PACKAGECONFIG
This is required by latest valgrind ptests.

(From OE-Core rev: 99aa6d82a75f2492cb395ac5b8bf25e9dc3fbbe9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Alexander Kanavin
9f82bd0f79 gdb: trim python support RDEPENDS
Depending on all of python3 (which pulls in all modules)
is not needed, python3-codecs is enough.

(From OE-Core rev: 718eda28f4f54d3033d2925e6c1232f4f8c2bc49)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Alexander Kanavin
4bc0bdfabf meson: update 1.0.1 ->1.1.0
Rebase a patch.

Remove unneeded patch:
Khem confirmed that upstream fixed the issue with
24ea1d3f19

(From OE-Core rev: a34cbc66a17b754b8a8053c816f384a687d4179f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Thomas Roos
5f08f9e0fc oeqa/selftest/cases/devtool.py: skip all tests require folder a git repo
Devtool selftests require poky dir a git repo, when downloading poky as a tar,
this is not the case. Those tests will now skipped.

[YOCTO #12389]

(From OE-Core rev: 95a5bc130dc51ea9de95c64dbf0e9c7892415d50)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:09 +01:00
Martin Jansa
541754ae37 binutils: package static libs from gprofng
* fixes:
  ERROR: binutils-2.40-r0 do_package: QA Issue: binutils: Files/directories were installed but not shipped in any package:
    /usr/lib/gprofng/libgp-collectorAPI.a
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  binutils: 1 installed and not shipped files. [installed-vs-shipped]

(From OE-Core rev: ab6ae4b715143364288ba164f8ab5c3cd7f486ae)

(From OE-Core rev: f72fd51e0da100e7ed90992225688bf43e2a69b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Deepthi Hemraj
d880b69f02 binutils: stable 2.40 branch updates
- Rebase existing patches
- Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch
  which is already in
- Correct packaging path to libgprofng.so
- Below commits on binutils-2.40 stable branch are updated.

4671be001eb Updated Hungarian translation for the gprof directory
ded035f913e lto: Don't add indirect symbols for versioned aliases in IR
74cb2ddeabc gas: arm: Change warning message to not reference specific A-class architecture revision
570b9c09bbf gas: arm: Fix a further IT-predicated vcvt issue in the presense of MVE vcvtn
bddd62e188c libctf: get the offsets of fields of unnamed structs/unions right
7aa47eafcce libctf: fix assertion failure with no system qsort_r
165accf0752 coff_get_normalized_symtab bfd_release
af35798e957 PR30217, dynamic relocations using local dynamic symbols
18bb604f1e1 PR30198, Assertion and segfault when linking x86_64 elf and coff
34a2b4a0e21 PR30155, ld segfault in _bfd_nearby_section
3d0046f39aa PR30046, power cmpi leads to unknown architecture
5c87fb1d59b ppc32 and "LOAD segment with RWX permissions"
11f5c1ebf14 Updated Serbian translations for gold, gprof and opcodes sub-directories
38e455b1d9a Updated translations for the bfd and gprof directories.
b2bc62b7b4e gas: correct symbol name comparison in .startof./.sizeof. handling
17294931e3e configure: remove dependencies on gmp and mpfr when gdb is disabled
1fc096a4c59 Regen config files
e1815414077 Pass $JANSSON_LIBS and $ZSTD_LIBS to ld-bootstrap/bootrap.exp
3e888977f16 bpf: fix error conversion from long unsigned int to unsigned int [-Werror=overflow]
65dbb942145 Updated Swedish translation for the binutils sub-directory
27f59ec47a1 RISC-V: make C-extension JAL available again for (32-bit) assembly
edd36b26f35 gprofng: PR30043 libgprofng.so.* are installed to a wrong location
c6e269febbc gprofng: PR29521 [docs] man pages are not in the release tarball
bcea253f5fa toplevel: Makefile.def: add install-strip dependency on libsframe

(From OE-Core rev: 5d7389770af6613af4ca8a2d30cc79d494a91075)

(From OE-Core rev: dcaf5192599b9474901ab73b66c330a401623fc1)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Ranjitsinh Rathod
0d424494b3 kmscube: Correct DEPENDS to avoid overwrite
As part of the below commit, DEPENDS gets overwrite which is wrong
Link: https://git.yoctoproject.org/poky/commit/?id=bd947d3343dcd96e79fc8157f32a2a087cd710a7

So correct the DEPENDS varibales

(From OE-Core rev: 63f338255000874c62bf01ccc11f2c100014c3d9)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Ross Burton
a43a4ea686 gdbm: improve run-ptest
There's no need to use a sed to get the output we need, autotest can do
that itself if told.

(From OE-Core rev: fa74ffac2e9ecf1b30fd893a21a7d2f8531e558d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Ross Burton
973c37ce44 libcomps: clean up DEPENDS
This recipe depends on zlib so add that explicitly.

Disable the tests and remove the dependency on libcheck, as we don't
install them.

Remove obsolete PYTHON_DESIRED assignment that isn't used anywhere.

Explicitly disable the documentation for now.

(From OE-Core rev: 035996470bebf909146681bbaf276831bb7be17d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Ross Burton
7ba5011adf libnl: clean up ptest
libnl builds lots of test-* binaries but these are for manual testing
purposes.  Instead, the test suite is entirely contained in the
check-all binary.

Clean up the compilation by simply building check-all, and install it
with libtool so the binary is installed correctly.

There is no need to RDEPEND on libcheck as that happens automatically,
and the rpath workaround appears to be obsolete.

Finally rewrite run-ptest to invoke the test directly, and use the new
automake-style output that has been added to libcheck.

(From OE-Core rev: d500c46754ad8e8e3736c64b5b2e29039019fe88)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Ross Burton
16b0f2d54e libcheck: add ghetto automake output
(From OE-Core rev: e1bf4c24697c72e9d3f58d6fa6f6f0d6fde982f6)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Antonin Godard
08c4b7f46d archiver: move exclusion logic in a dedicated function
Extending archiver is not possible without duplicating the anonymous
function's logic. Move this logic in a separate function
"include_package" which returns a bool.

(From OE-Core rev: 292c626526b2ba6d3a66463c0c7ab59eb8903ab4)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Leon Anavi
08d26fb375 wic: Add argument --hidden to default imager
Add argument --hidden to avoid MS Windows prompting to format
partition after flashing to a USB stick, SD card on another media.
Set Bit 0 (RequiredPartition) to mark that the partition is
required for the platform to function on GUID Partition Table
(GPT).

The new argument simplifies setting RequiredPartition on GPT
through a WKS file and the default imager plugin. Otherwise,
without this feature, to achieve the same result a new imager
plugin has to be implemented and set in WIC_CREATE_EXTRA_ARGS.

(From OE-Core rev: 7a111ff58d7390b79e2e63c8059f6c25f40f8977)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Mikko Rapeli
7fbf5fdd02 qemurunner: add boot logs to do_testimage task logs in real time
Complex boot sequences take a lot of time to reach serial console login.
In our case boot involves multiple bootloaders like u-boot and grub,
then hypervisors like xen, then initramfs images which do things like
validating secure boot and encrypting the main rootfs. All these happen
before main rootfs serial console login prompt is reached and thus many
things can go wrong, including race conditions, hangs and deadlocks, and
thus logging the details is important for development.

This change adds the qemu serial console logs to do_testimage task logs while
they are being read out. The logs are not added to bitbake output. This
enables debugging and tracing the do_testimage via task log file while the boot
and tests are running.

(From OE-Core rev: cb62fae6ea3e411643395b12e56c363ce4d73e5d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Alexander Kanavin
d7d3ce1156 elfutils: update 0.188 -> 0.189
Drop backports, rebase musl patches.

(From OE-Core rev: a15edb7aa905420b434f9b0a523d1c708466145e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-25 10:29:08 +01:00
Ross Burton
9e3be6c905 python3-async: remove recipe
This is part of the same project as GitPython, but hasn't been used by
gitdb (the sole user) since 2014.

(From OE-Core rev: 22a4aba5c2799cb09e1cdff075f9fe92426ea438)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Anuj Mittal
2b9983587f libsoup: upgrade 3.4.0 -> 3.4.2
(From OE-Core rev: f7f8b47b17364cff94697b025671eacf5037e19e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Anuj Mittal
c2765446ca libevdev: upgrade 1.13.0 -> 1.13.1
(From OE-Core rev: 963d4ce6fdd157e27b03d6b319dde3b0eac3565f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Anuj Mittal
d38b023827 harfbuzz: upgrade 7.1.0 -> 7.3.0
(From OE-Core rev: 675682c26fe9016c17dc831eb4178dcdedab16e4)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Anuj Mittal
1650fe187a gsettings-desktop-schemas: upgrade 43.0 -> 44.0
(From OE-Core rev: 0fd840ba792c6f3a42e8cf8000d09fda95999753)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Robert Joslyn
dd5ac59404 curl: Update from 8.0.1 to 8.1.0
This is a feature and bugfix release. Release notes are available at:
https://curl.se/changes.html#8_1_0

(From OE-Core rev: b3265b703590a9e2a7dd6772c5ca0a72b21d7567)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Sudip Mukherjee
12bf2a59d3 libxi: upgrade to v1.8.1
Changes:
Use xz: upstream has not released bz2.
Update sha256sum for new version.

(From OE-Core rev: 278f73b2bc06f25fd66322e38c06ef5ebf894f98)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Sudip Mukherjee
2c60b8119d dhcpcd: upgrade to v10.0.1
Changes:
Update license checksum: change in copyright year.
Rebase patches for upstream changes.
Remove upstream applied patches.

(From OE-Core rev: d6e1f0d5eb22c94ad1ec5eef719db00deb1fb263)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Trevor Gamblin
e3ac99049d python3-trove-classifiers: upgrade 2023.4.29 -> 2023.5.2
(From OE-Core rev: 682f527fb78ce3cce7e981dac9d55dde4e920784)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Trevor Gamblin
bce7fcc0b5 python3-hatchling: upgrade 1.14.1 -> 1.17.0
(From OE-Core rev: f656c8b3b05f1453d0a6401613d1340b758b7a4b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Thomas Roos
6c8fe83bb5 oeqa: adding selftest-hello and use it to speed up tests
Adding a selftest version of hello world to run it in tests where no download is necessary.
Also using this in several tests to speed them up.
Using the -native version wherever possible will also speed up tests a lot.

[YOCTO #11142]

(From OE-Core rev: c3f26b63934888df0e3cd563c1c2804eb78a368e)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Chi Xu
a0998bf22b expect: Add ptest support
Test results:
root@qemux86-64:~# ptest-runner expect
START: ptest-runner
2023-05-17T01:25
BEGIN: /usr/lib64/expect/ptest
via send_stdout
PASS: cat-1.1
PASS: expect-1.1
PASS: expect-1.2
PASS: expect-1.3
PASS: expect-1.4
PASS: expect-1.5
PASS: expect-1.6
PASS: expect-1.7
PASS: expect-1.10
PASS: expect-1.11
PASS: expect-1.12
PASS: expect-1.13
PASS: expect-1.8
PASS: expect-1.8b
PASS: expect-1.9
PASS: logfile-1.1
PASS: pid-1.2
PASS: pid-1.3
PASS: pid-1.4
PASS: pid-1.5
PASS: send-1.1
PASS: send-1.2
PASS: spawn-1.1
PASS: spawn-1.2
PASS: spawn-1.3
PASS: spawn-1.4
PASS: spawn-1.5
PASS: stty-1.1
PASS: stty-1.2
DURATION: 17
END: /usr/lib64/expect/ptest
2023-05-17T01:26
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 13711656b1470e9d440bcf83e9fc9dc7ab2292f9)

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Lorenzo Arena
c0e4aa38b2 conf: add nice level to the hash config ignred variables
This is needed as each user could be setting different nice levels
while building, however this should not make the shared cache unusable.

(From OE-Core rev: 42784f9360345da1c01d988070253e7ffd5ac4ac)

Signed-off-by: Lorenzo Arena <arena.lor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Ross Burton
00a0136c3b python3-gitdb: remove python3-async dependency
The dependency on the async module was removed back in 0.6.0 (November
2014).

Whilst here, also merge the bb/inc and stop using PYTHON_PN, as we only
support Python 3.

(From OE-Core rev: 5fc09287ec8ca4332614eaa6b0dd5aabf10f6a31)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
70f38fa6a7 python3-manifest: turtle: new package
Extend the manifest with definitions for the turtle package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

(From OE-Core rev: 09476b2be0c8a155dc6494442cc3caca97782595)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
7640c4b578 python3-manifest: zipapp: new package
Extend the manifest with definitions for the zipapp package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

(From OE-Core rev: 30186af3a3c46d9349940d952a0d8d1826b0dd4a)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
ed4ddd6619 python3-manifest: cgitb: new package
Extend the manifest with definitions for the cgitb package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

(From OE-Core rev: b9428ccad6238e33dc7bb344e06f4f8cf73b2ef8)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
83c329ed86 python3-pygobject: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: b6d6b4be79b3ee0837680296c9c90e18d35fbee1)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
ccf95f51e7 python3-pycryptodome: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: d22713851eaafad78b8b6392a7bff15d34b7d09c)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
32378e8736 python3-pycryptodome: don't use PYTHON_PN
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

(From OE-Core rev: f7b4443a83570f8e8560a684a580084053ba3c52)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
0b9f94d1e5 python3-pyproject-hooks: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 2720189038338518abc791609b5962dcce4aa30c)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
d7d56550ac python3-setuptools-rust: fix RDEPENDS and allow target build
Cargo and rustc can now be built for the target architecture. There's no
reason to limit the setuptools rust extensions to native build only so
make the RDEPENDS global. Also: add the missing ones.

(From OE-Core rev: aa8001e9bff9f9dd92a4a1ce435f1ae452e104c9)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
dddaef591f python3-sphinx-rtd-theme: add missing run-time dependencies
Add missing RDEPENDS for this package.

Remove DEPENDS as this package doesn't really have any.

(From OE-Core rev: ee64269ffe45a54b0ec2385bac5997b9b294c2c3)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
ec57590b88 python3-installer: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 85ca038b00ce2406ae0e9bb66bee7e544d333537)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
9aef5578dd python3-pathspec: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 7d0e2a4fc168ae7642fdf93e600b87fd989caeca)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
59a1d628ca python3-tomli: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: ae6053858810b5b2e8e7f09f85a50246bed54dbc)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
709411fac3 python3-hypothesis: fix run-time dependencies
The main hypothesis module depends on pytest already so move it to
global RDEPENDS from ptest-specific ones.

(From OE-Core rev: 434f9473791f0159bf79df7731753ff91bdbe190)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
4589cc39da python3-certifi: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: cc65a232164caee7bf05ab73a6cd519fd07a5d0a)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
2dc8cf6d9a python3-attrs: add missing run-time dependencies
Add missing RDEPENDS for this package.

(From OE-Core rev: 852fbb49d41dd31ce4e30d0a25081a5b12dcb29f)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
a13bf50538 python3-attrs: don't use PYTHON_PN
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

(From OE-Core rev: 877e55cd5d626c2ad06624992ff9e17a2b481acf)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Bartosz Golaszewski
cdd2b728d0 python3-attrs: unify RDEPENDS
The nativesdk and target RDEPENDS are the same and there's nothing that
prohibits this package from build built for the native sysroot either.
Use the global RDEPENDS instead of per-class assignments.

While at it: order the dependencies alphabetically.

(From OE-Core rev: aaaeffe8fca578abcbc19bbb306ff4a8b21bb59e)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Wang Mingyu
d25d6fcd0c iso-codes: upgrade 4.13.0 -> 4.15.0
Changelog:
==========
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924
* ISO 3166-2: Fix wrong Spanish translation

(From OE-Core rev: 355f2f9fe8a1e6c5e78f136cb3ed77c9004fb75c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:49 +01:00
Tom Hochstein
8e88f20171 piglit: Add missing glslang dependencies
The vulkan configuration requires glslangValidator for build and
runtime.

Fixes configure error:
```
| CMake Error at CMakeLists.txt:191 (message):
|   glslangValidator required by vulkan tests not found
```

Fixes runtime error:
```
name: vulkan@shaders@fs-large-local-array
    result: fail
    returncode: 1
    out:
    err: glslangValidator: No such file or directory
glslangValidator failed
```

(From OE-Core rev: 89423cc35d9d2d709adaf032bee8340fb91a3af5)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
848a16c6ee gstreamer1.0-python: mandate gobject-introspection-data DISTRO_FEATURE
This layers on top of python3-pygobject, which needs
gobject-introspection to work.

(From OE-Core rev: 4ea25d10cbaf90fb928587691addc92c177ca135)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
1ee93dc114 python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE
PyGObject needs gobject-introspection to function, so add a distro
features check.

(From OE-Core rev: 723949d491991ec6e555f30d4b06a59fecbc1f35)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
5198bf480d gi-docgen.bbclass: depends on gobject-introspection-data being enabled
The gi-docgen tool depends, as it's name suggests, on
gobject-introspection being available.

(From OE-Core rev: 874dc89182835ff01d881b998c707c1a9f1ccb08)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
c7c7d774d0 gconf: remove explicit gobject-introspection DEPENDS
The gobject-introspection inherit does this for us.

(From OE-Core rev: 89062b2b89aa095eb7083f63fd3e13a8e056dfb6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
f96ce2cdf9 python3-pygobject: remove explicit gobject-introspection DEPENDS
The gobject-introspection inherit pulls in the dependency for us.

(From OE-Core rev: 96825cc883ceaf68cc2f90cd619bb55b5c5a7850)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
ce5f961acd gobject-introspection: always DEPEND on gobject-introspection-native
If a recipe inherits gobject-introspection then there's a good chance
that it needs the gobject-introspection-native recipe for the m4 macros
in introspection.m4, because we always autoreconf so we always need the
macros to be present.

Change the dependencies so that inheriting g-i always adds a dependency
on gobject-introspection-native, and a dependency on qemu-native and
target gobject-introspection if G-I is enabled.

Partially reverts 4e51c18.

(From OE-Core rev: 2763bc8c3a8d789ddc8e22e6df69400dcba6d6f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
19d9114042 meta: depend on autoconf-archive-native, not autoconf-archive
autoconf-archive is a collection of m4 autoconf macros needed at
build-time, and autoconf-archive-native is a suitable provider as there
is nothing in the recipe that needs to be cross-compiled.

Also if we use DEPENDS=autoconf-archive then the recipe's -dev package
ends up RDEPENDing on autoconf-archive, which isn't correct.

Universally change any DEPENDS on autoconf-archive to the -native form,
and add any missing dependencies that were implicit before.

(From OE-Core rev: 571132415ea7fe2d91c62948f2b6aa553eafa83d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
4c0c0201c0 qemu: add PACKAGECONFIG for debuginfo support
qemu was auto-detecting the presence of libdw from elfutils, which
causes problems with a sstate object for qemu-native built with libdw is
ran on a machine without libdw.

We have no need for the debuginfo support to be enabled, so disable this
by default.

(From OE-Core rev: 9afb0fbfbf2cde3b1c3f0995f883fe6887e9f103)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Geoff Parker
c9708664c8 libwebp: add BBCLASSEXTEND
Add BBCLASSEXTEND += "native nativesdk"
Needed by native imagemagick

(From OE-Core rev: 07d93b4545ae5e807fcf2cd818f6d1d62e0c9e1a)

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Denys Dmytriyenko
1643ef8a9a xz: upgrade 5.4.2 -> 5.4.3
5.4.3 (2023-05-04)
    * All fixes from 5.2.12
    * Features in the CMake build can now be disabled as CMake cache
      variables, similar to the Autotools build.
    * Minor update to the Croatian translation.

(From OE-Core rev: 75aaa3d8efa9ba4fdf7145321dc85b34cd3dcebb)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Denys Dmytriyenko
fd18acfca8 grep: upgrade 3.10 -> 3.11
This is to announce grep-3.11, a stable release.

This release makes PCRE patterns like [\d] work again, at the expense of
reverting to the behavior of grep 3.8, in that patterns like \w and \b go
back to using ASCII rather than Unicode interpretations.  However, if you
build grep using pcre2 newer than 10.42, then \w and \b do work properly.

(From OE-Core rev: 4c3381e5ea1ff19759a09ba885842ff0e4e14882)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Martin Jansa
54400cf690 image-live.bbclass: respect IMAGE_MACHINE_SUFFIX
* fixes:
  ERROR: core-image-minimal-1.0-r0 do_bootimg: /OE/build/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-initramfs-qemux86-64.cpio.gz is invalid. initrd image creation failed.
  ERROR: core-image-minimal-1.0-r0 do_bootimg: ExecutionError('/OE/build/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.build_hddimg.2001892', 1, None, None)
  when IMAGE_MACHINE_SUFFIX is set to empty in local.conf

(From OE-Core rev: ed072d2a0abe5a22330160f67ee5e83c2eae1dac)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Martin Jansa
9164810019 go.bbclass: don't use test to check output from ls
* avoids possibly confusing error message in log.do_install like:
  ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory

(From OE-Core rev: 2f1777e6ac5269a71203b6a2c562a43503be95ae)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
a5378a0074 glib-networking add environment variable proxy PACKAGECONFIG
Add a PACKAGECONFIG for the environment variable proxy configuration
(http_proxy, etc), and enable by default as this is the fallback
provider if you're not using libproxy or gnomeproxy.

(From OE-Core rev: e844ce92838f59fac7be310c83e62431dbf45940)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
51c9f78b09 glib-networking: add gnomeproxy PACKAGECONFIG
Add a PACKAGECONFIG for the Gnome proxy configuration.

(From OE-Core rev: 2de4dc4e3da4cbdab031df60534e4d960aad3aef)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
411835b729 glib-networking: fix LICENSE statement
The glib-networking license is LGPLv2.1 _or later_ and also has an
additional exception if OpenSSL is being used.

Add source comments to the checksum, and extend LICENSE if the openssl
PACKAGECONFIG has been enabled.

(From OE-Core rev: cdfeb38ffc8d15618be0dd768c9abf44ff23678e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
04dd0ecc49 gnutls: remove use of argp-standalone for musl
This was made obsoleten in 3.5.0 when crywrap was removed from the
GnuTLS source tree.

(From OE-Core rev: b49dc6f29533ab7debd299419c8b891e106f5d9d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
04dc2e5311 gnutls: clean up ptest compilation
Don't always build the tests in do_compile, use do_compile_ptest so they
are only built when needed.

(From OE-Core rev: 5f4b10a3361e273d22bc880b4127eb53291be47d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
d3455c6ff2 gnutls: use system libtasn1
Instead of using an internal ASN.1 parser, re-use libtasn1 from the
system by default.

(From OE-Core rev: db20ffc4ffb5e734258f0a9f9d1fb72d1f0df490)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
bc142cdcb0 gnutls: add PACKAGECONFIG options for certification compression
GnuTLS has optional support for certificate compression. These are not
widely enabled in other distributions and were previously disabled in
standard builds, so don't enable them by default.

(From OE-Core rev: d22a406e7ca3018e0d1c0a7b1b6254c2aba6faba)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Ross Burton
abdaeae74d gnutls: add PACKAGECONFIG for DANE
DANE (DNS-based Authentication of Named Entities) allows certificates to
be bound to DNS entries.

This requires unbound which is not part of oe-core.  Add a PACKAGECONFIG
but disable by default.

(From OE-Core rev: cfb328b2a7c35a8c1e0dd7cd8c7552a0837db206)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Qiu Tingting
ea989926eb e2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURES
When build e2fsprogs ptest with usrmerge DISTRO_FEATURES,
    in test_script and test_one scripts, value of SRCDIR has problem.
      SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test

    ptest log
      # ptest-runner e2fsprogs
      START: ptest-runner
      2022-12-17T11:08
      BEGIN: /usr/lib/e2fsprogs/ptest
      ls: cannot access '/usr/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory
      ./test_script: line 54: /usr/usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory
      DURATION: 0
      END: /usr/lib/e2fsprogs/ptest
      2022-12-17T11:08
      STOP: ptest-runner
      TOTAL: 1 FAIL: 0

    Reason
      In Makefile.in, SRCDIR is set by prefix and libdir.
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script
      prefix=/usr
      libdir=/usr/lib (when usrmerge is set)

    solution
      Use PTEST_PATH to fix it.

(From OE-Core rev: 85e3b4f1d4b8734b0dd427d107a9f736bca9b7f7)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:48 +01:00
Eero Aaltonen
c23a17d8fb avahi: fix D-Bus introspection
Install and package the D-Bus introspection files.

(From OE-Core rev: b8183ad25af3bcf23f04dd649b6ef665569fac8c)

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Chen Qi
fff443cb20 oe-buildenv-internal: remove path from previous project
Util now, only paths added for current project are removed
to avoid PATH growing unnecessarily. This is to handle the case
of sourcing the init script into different build directories.

However, if we source the init script from different projects into
different build directories, the paths added by previous projects
are not cleaned up.

To avoid this, we record the paths added into OE_ADDED_PATHS, and
remove it in the next sourcing.

The OE_ADDED_PATHS variable is exported mainly for the two reasons:
1. users can clearly see it in the `env' command's output.
2. if the prefixed PATH is carried into the subprocess (e.g., a subshell),
   so should this OE_ADDED_PATHS variable that prefixes it.

Note that the paths, "$OEROOT/scripts:$BITBAKEDIR/bin:", are added
as a whole. A previous commit, "oe-buildenv-internal: Add paths to $PATH individually",
made the change to treat these two paths separately, the reason was
not "assuming the path to the scripts directory always is in $PATH
directly before the bitbake directory". But this is exactly the effect
of the codes. I see no reason why we should complicate things.

(From OE-Core rev: 3405a3221b8f6641a8e42b04bc7acd6e032aeab8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Khem Raj
01ab8228c7 llvm: Enable RISCV support
LLVM 16 should work well for RV32/RV64

(From OE-Core rev: 09ac564539a2bea835bdb8aee022505fc4b391f8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Martin Jansa
e6eb278ce8 kernel-devicetree: make shell scripts posix compliant
Use the notation suggested by Martin Jansa to avoid a bashism. Also
switch KERNEL_DTBVENDORED to the more common 0/1 notation instead of
true/false.

Fixes: 04ab57d200 (kernel-devicetree: allow specification of dtb
directory, 2023-05-02)

(From OE-Core rev: dd5a5abc9d88c3bc8ff2c52b042600f00f054015)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Max Krummenacher
fc899f1e1b perf: add libtraceevent packageconfig
With kernel 6.4-rc1 commit 6898e60f709b ("perf build: If libtraceevent
isn't present error the build") having libtraceevent is a required
dependency unless building it with 'NO_LIBTRACEEVENT=1'.

Older kernels did build libtraceevent as provided by the kernel sources.
(Unless LIBTRACEEVENT_DYNAMIC=1 was defined, then it tried to pickup
an external provided libtraceevent and printed a warning if not found.)

Add a libtraceevent packageconfig which adds the dependency on
libtraceevent if set, otherwise builds with NO_LIBTRACEEVENT=1.
For older kernels the old behaviour of building libtraceevent from
the kernel sources isn't changed.

(From OE-Core rev: 7e7a7394b47f6fd4a4dd26a18a5d94302ab6df1e)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Max Krummenacher
03adf4b267 perf: make pkg-config available
Fixup the to be called pkg-config as $(CROSS_COMPILE)pkg-config doesn't
exist.
With kernels < 6.4 pkg-config is only used for the gtk+-2.0 integration
which is disabled in the OE config. Thus the issue wasn't exposed so
far. With kernel 6.4 pkg-config is additionally used for libtraceevent
and libtracefs.

(From OE-Core rev: f7e743428792fde93d5ca1c97244fc2b967fe666)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Max Krummenacher
9f504623c5 libtraceevent: fix qa issue reference to tmpdir
Make sure that the OE provided CFLAGS are passed to the compiler so
that the -fdebug-prefix-map and -fmacro-prefix-map options are
actually active.

Fixes:
| WARNING: libtraceevent-1.7.2-r0 do_package_qa: QA Issue: File /usr/lib/libtraceevent.a in package libtraceevent-staticdev contains reference to TMPDIR [buildpaths]
| WARNING: libtraceevent-1.7.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libtraceevent.so.1.7.2 in package libtraceevent-dbg contains reference to TMPDIR [buildpaths]

(From OE-Core rev: bb5cffd48513f05bc66c20e91a25e13d3ba1555c)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Max Krummenacher
2d5f1b7ac1 libtraceevent: import from meta-openembedded
Import from meta-openembedded at commit d250a0dc0 ("libtraceevent:
upgrade 1.7.1 -> 1.7.2").
Starting with kernel 6.4 libtraceevent is a dependency of perf. While
one can still build perf without it by opting out one would loose its
functionality compared with building perf from kernels before 6.4

(From OE-Core rev: 45dddecd1eebc76a9835844c9bd36ac865a792c9)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Randy MacLeod
d4b1dfde1f vim: upgrade 9.0.1429 -> 9.0.1527
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-2426
caf642c25 patch 9.0.1499: using uninitialized memory with fuzzy matching

(From OE-Core rev: 4f9a8df5aca99d0a5c2d2346b27ce7be08e7896c)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Ross Burton
181cf7a4aa cpio: upgrade to 2.14
Specifically this includes the commit "Fix appending to archives bigger
than 2G".

Drop all submitted patches.

Apply a patch from git to fix the build with clang.

[ YOCTO #11674 ]

(From OE-Core rev: 84619c2eb2574d808d52d1862ad3b5e099e4dbf7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Mikko Rapeli
c7a68ff3cc qemurunner: avoid leaking server_socket
close() the server_socket before qemusock replaces
it.

(From OE-Core rev: be7bbbeeb44158b181d1abc5a4d7871a9045fdd6)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Mikko Rapeli
830f4cb0a6 qemurunner: support serial console login via qemu stdout
runqemu script works with qemu machines which provide login
and serial console to the qemu process stdout. Add the same support
to qemurunner so that testing with testimage.bbclass is possible.

Default qemu machines provide serial console boot logs and login via
socket to qemu process but I don't see a reason why qemu process stdout
should not be supported too since they work with runqemu as well.

(From OE-Core rev: a3d4b80c5b4cce933c759d023c75b8671c56fe12)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
cf8610beb7 createrepo-c: update 0.20.1 -> 0.21.1
(From OE-Core rev: 9012ad6f3bdda5ca669c20ade397ec45d2bed731)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
14261b3f74 libgpg-error: update 1.46 -> 1.47
License-Update: copyright years

(From OE-Core rev: 6f0c3844e3ced175416daac645179a3044df6bcf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
ee552b2829 libgcrypt: update 1.10.1 -> 1.10.2
(From OE-Core rev: fc7a39d1a16b424ab80f7463c2e1258e6ea3ab38)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
850fc2b915 libatomic-ops: update 7.6.14 -> 7.8.0
License-update: file relocated, formatting.

(From OE-Core rev: 269e7ee642b8e1fb2499dd6df210c6224ca39894)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
0117b5e9b3 gpgme: update 1.18.0 -> 1.20.0
Rebase patches.

(From OE-Core rev: cb6185c52ed0c4b035715f351f5aea563bc99047)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
7069940be6 cryptodev: remove unneeded patch
With 1.13 version the needed rules are available directly
upstream. This wasn't noticed in 1.12->1.13 patch rebase.

I verified that installed files are exactly same with and
without the patch.

(From OE-Core rev: 71a36a0c3e84c3a2b6bc5c52349eda12f0bede0d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
4858d204d2 libva: update 2.16 -> 2.18
(From OE-Core rev: 5be540165aa74e29703975504aa0872f92f26528)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
3f06c1a753 librsvf: update 2.54.5 -> 2.56.0
Upstream no longer includes all the crates into tarballs, so
use cargo_update_recipe_crates class to make a list for the crate://
fetcher.

(From OE-Core rev: 365fac1a696b6e109849fa9ee21112ee777c5163)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
12ed0bd791 less: update 608 -> 633
Drop backport.

License-update: copyright years.

(From OE-Core rev: 1df20ffdf96f048e54197c838e5544a88e879855)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
d1c2e5a929 rpm: update 4.18.0 -> 4.18.1
Drop:
0001-docs-do-not-build-manpages-requires-pandoc.patch
(pandoc is now detected from $PATH)
fifofix.patch
(upstream fixed the issue)

(From OE-Core rev: d8d673b2dc86e04cc278dc111b36d52d60bc25f7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
588201e3d0 perl: update 5.36.0 -> 5.36.1
Drop gcc 12 patch, as upstream rejected it, and then (presumably) fixed gcc 12 issues differently.

(From OE-Core rev: 0057ac8ef6ebc5a8f32c62de0d713b12eb4d48ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
cddd24f1b7 perlcross: update 1.4 -> 1.4.1
(From OE-Core rev: 4d0182fbf9c936da1a6bf2c18a3444ce8c9a7c7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
4e36c11fd1 llvm: update 15.0.7 -> 16.0.3
(From OE-Core rev: d15b4091dd94b227f4ad03cab814d2e49f1aac02)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
fe5708db1d erofs-utils: update 1.5 -> 1.6
Drop patches merged upstream.

--enable-largefile is no longer necessary, as compiler options are being passed in explicitly.

(From OE-Core rev: 39d38b278cba7b46fd9b367e6f8c989327899e6f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
f0d57ea117 btrfs-tools: update 6.1.3 -> 6.3
Drop patch, as upstream fixed the issue separately.

(From OE-Core rev: 7a6e4734858848c587ee4bc1643b535d53699f27)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
3c8969b6e6 ovmf: update 202211 -> 202302
(From OE-Core rev: 8cdea67a68896a9e5964ffcd3dff2ca465ef5675)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
6158563286 ppp: upgrade 2.4.9 -> 2.5.0
Convert the build from handcrafted makefiles to autotools;
this makes all custom tweaks in the recipe unnecessary, and
allows removing all patches.

(From OE-Core rev: 5512bf4dfd299b8d5d474d9f26c2146b3e53514a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Alexander Kanavin
e805f3c612 glib-2.0: upgrade 2.74.6 -> 2.76.2
Drop backports.

Refactor relocate-modules.patch; upstream has implemented the same
logic, but made it os x only - we can simply drop those ifdef guards:
af83c6571e

(From OE-Core rev: 5627068ab335229cef6fb295f995e8547d591944)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-22 10:53:47 +01:00
Martin Jansa
35e5d29a7d populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner
* since "populate_sdk_base: ensure ptest-pkgs pulls in ptest-runner" change:
  https://git.openembedded.org/openembedded-core/commit/?id=ecff0642be5781f7f6cca617158b04ac9a0e85f0
  in multilib build when building lib32-foo-image it can pick wrong
  ptest-runner package if it was built in the same TMPDIR before the
  image, do_rootfs then fails to find it, if the package manager config
  doesn't have 64-bit feed enabled:

  opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ptest-runner'

(From OE-Core rev: 4d24749e7e94881bb952f5c927f0012eb70d4390)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Richard Purdie
d54530b3da qemu: Further updates to the ppc patch after upstream discussion
After someone tested real hardware, the patch needs tweaks to match the 3.0 ISA
behaviour. It won't change much from our perspective but may as well keep the
patch in sync.

(From OE-Core rev: 5a698a53bc0b8d5f518916b6a03d31db1272707a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Khem Raj
1bc8aad6ff python3-requests: Upgrade to 2.30.0
Adds supports for urllib3 2.0 and might break urllib3 1.x [1]

[1] https://github.com/psf/requests/releases/tag/v2.30.0

(From OE-Core rev: 9f7d4942875d9c996e5f36e46f4b9e5e6d19c6ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Trevor Gamblin
1f6815e210 python3-calver: Add recipe
calver is "a setuptools extension for automatically defining your Python
package version as a calendar version." It is required for
python3-trove-classifiers (another new recipe), which in turn is
required for the upgrade of python3-hatchling from 1.13.0 to work.

(From OE-Core rev: 79ed4fcad6bd49c269ada3ab99ca4548aaf34e99)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Trevor Gamblin
a54cb25905 python3-hatchling: upgrade 1.13.0 -> 1.14.1
This upgrade depends on python3-calver and python3-trove-classifiers,
which have new recipes being submitted.

(From OE-Core rev: 1cdec71577c19d9b1592e9521d6a653eb91dfb18)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Trevor Gamblin
91d31b8670 python3-trove-classifiers: Add recipe
python3-trove-classifiers is "Canonical source for classifiers on
PyPI.". It is required to update python3-hatchling from the current
version (1.13.0) in oe-core, and depends on python3-calver (another new
recipe). Also add ptests.

(From OE-Core rev: 1b417898c296b5732eac14465ba459411ebe4902)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Alexander Kanavin
b6557a5d9f gcr: consider all versions, not only x.even.y
For example 4.1 is stable:
https://gitlab.gnome.org/GNOME/gcr/-/tags

(From OE-Core rev: e08b562a0f044b3455f97710764edb37ea83ec4d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 17:08:29 +01:00
Paul Gortmaker
0c64d0e431 yocto-bsp: drop MIPS Edgerouter support
As per ongoing discussions, there is a general desire to try and update
our hardware reference platforms when an appropriate (newer) substitute
is available.  However, in the case of MIPS, there isn't an obvious one
to choose.  But continuing to maintain support for an old board that
hasn't been available for purchase for years doesn't make sense either.

So we are dropping support for the Edgerouter for future releases.  The
MIPS architecture will still get coverage via QEMU build/boot testing.

(From meta-yocto rev: 5ea231c6c6387804a85adf15d3f03bdae9b2be25)

Signed-off-by: Paul Gortmaker <paulg@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 09:15:19 +01:00
nikhil
ddf68ab675 tiff: Remove unused patch from tiff
Remove 0001-Revised-handling-of-TIFFTAG_INKNAMES-and-related-TIF.patch
file from tiff as it was removed while upgrading tiff from
4.4.0 -> 4.5.0

(From OE-Core rev: c53abdb5ce9cdbfb0f9e48b64b800c45549d18a6)

Signed-off-by: Nikhil R <nikhilar2410@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-11 09:15:00 +01:00
Chen Qi
4e8ce11d0d sqlite3: update CVE_PRODUCT
Both 'sqlite' and 'sqlite3' are used in NVD database.

(From OE-Core rev: 8800976e79d65956218ab462d9644d0661579301)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-10 17:18:57 +01:00
Zang Ruochen
4b77dd0063 elfutils: upgrade 0.188 -> 0.189
Refresh the following patch.
0015-config-eu.am-do-not-use-Werror.patch

Remove the following patches as they have been fixed in the new version.
0001-PR29926-debuginfod-Fix-usage-of-deprecated-CURLINFO_.patch
0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch

changelog:
Version 0.189 "Don't deflate!"

configure: eu-nm, eu-addr2line and eu-stack can provide demangled symbols
           when linked with libstdc++. Use --disable-demangler to disable.

           A new option --enable-sanitize-memory has been added for msan
           sanitizer support.

libelf: elf_compress now supports ELFCOMPRESS_ZSTD when build against
        libzstd

libdwfl: dwfl_module_return_value_location now returns 0 (no return type)
         for DIEs that point to a DW_TAG_unspecified_type.

elfcompress: -t, --type= now support zstd if libelf has been build with
             ELFCOMPRESS_ZSTD support.

backends: Add support for LoongArch and Synopsys ARCv2 processors.

(From OE-Core rev: 918cff06ac52f265428e97307fff9d2b381b1302)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-10 17:18:57 +01:00
Frederic Martinsons
6588655baa ptest-cargo.bbclass: add the possibility to define test arguments
It can be useful for user of this class for giving common rust test
arguments (like --shuffle, --format or --test-threads)

To add arguments to test binary , simply define RUST_TEST_ARGS
in your recipe that inherit ptest-cargo, for example:

RUST_TEST_ARGS = "--shuffle"

(From OE-Core rev: ea1feece62b0347aa2ebf02509ff2da151d96b61)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-10 17:18:57 +01:00
Qiu Tingting
15da7b5e24 e2fsprogs: fix ptest bug for second running
At second running, there are four new failed case:
  d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize

The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.

(From OE-Core rev: d0d08dd9a8a179e25b9cfcbac696c1d212a1910c)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-10 17:18:57 +01:00
Ross Burton
2942c7f2c1 python3: use system expat
Instead of statically linking to an integrated expat which may not be
updated to fix security issues, dynamically link to the system expat.

(From OE-Core rev: 4c63942a47f6d10eda6ed6718bfcfc89396b7d67)

(From OE-Core rev: 2621924191fa516c66eb42295ec4c68820c0ed17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Ross Burton
ee2f28c91a python3: clean up PACKAGECONFIG
There's no need to define the PACKAGECONFIG for each class when they're
all identical (as native DISTRO_FEATURES are pruned before use).

Also add a disabled case to the LTO configuration to be explicit.

(From OE-Core rev: 00471d196768fcb4acaf1e2439fd90936d93fd98)

(From OE-Core rev: 52232f8a6afef20ff4ef70367ecce74043210a46)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Ross Burton
ce6add6f8a python3: use libedit instead of readline
libedit has feature parity with readline but is more permissively
licensed (BSD verses GPLv3), so switch to libedit by default.

(From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986)

(From OE-Core rev: 685df78325435db2d67ceb1a96839e0adbb568d0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Andrew Jeffery
1ced55d221 Revert "ipk: Decode byte data to string in manifest handling"
cf9df9e8d89f ("ipk: Decode byte data to string in manifest handling")
did a bit of least-effort fix to a string vs byte sequence issue in the
manifest handling. The approach was chosen as it localised the fix,
rather than having to analyse further call sites.

However since then f2167ae80258 ("package_manager/ipk: do not pipe
stderr to stdout") was applied, reworking the output handling from the
subcommand. dummy_bytes() now returns a string, so stop trying to decode
it.

Fixes: f2167ae80258 ("package_manager/ipk: do not pipe stderr to stdout")
Cc: Curtis Meier <cmeier@us.ibm.com>
Cc: Pam Eggler <eggler@us.ibm.com>
(From OE-Core rev: b61739554780d70307d2b6b37d2b3b1c7df93c77)

(From OE-Core rev: 07e5a6331be60d5e35d7336a6215a972ced6eb57)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Tim Orling
a9d52e2621 python3-attrs: upgrade 22.2.0 -> 23.1.0
* Change inherit python_setuptools_build_meta to python_hatchling
* Add DEPENDS:
  - python3-hatch-vcs-native
  - python3-hatch-fancy-pypi-readme-native

Changes:
https://www.attrs.org/en/stable/changelog.html

(From OE-Core rev: 9577a327572acb5c32400f6983ade0c3f0e1b71d)

(From OE-Core rev: 07e576b1798433a70e63f9bb12f4dce2a5220b0e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Anuj Mittal
d1c2c448a8 vte: upgrade 0.72.0 -> 0.72.1
(From OE-Core rev: c5bbceb78a2ebf132b5d20baabf2b5e631c6556e)

(From OE-Core rev: c7aa8d43835a73dab23ffc057c4d14470823a4b6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Anuj Mittal
aa53f70b44 gstreamer1.0: upgrade 1.22.0 -> 1.22.2
(From OE-Core rev: 3da67b03cff75df3f109da961818b3aa6c4ddf95)

(From OE-Core rev: 136a3ea22179eb8e1087928fc8c83ed8eca40b57)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Tim Orling
4641605c79 python3-urllib3: upgrade 1.26.15 -> 2.0.2
* Change inherit from setuptools3 to python_hatchling
* Add RDEPENDS for python3-json

Migration Guide:
https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html

Changes:
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#202-2023-05-03
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#201-2023-04-30
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#200-2023-04-26

(From OE-Core rev: bb33ddf5faa47274f9a2f3ca285f2ec3eb3588f5)

(From OE-Core rev: df716c1039826510a5d03fcad972e7b3913368d0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Ross Burton
bf2c3c3d94 ffmpeg: add v4l2 PACKAGECONFIG
Can't be enabled by default as v4l-utils is in meta-oe.

(From OE-Core rev: c7a200553b720b9a58c5e6702a89b9ea49f70f74)

(From OE-Core rev: 1d290bd4373dea5fd035593249a1f31afe54b789)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Ross Burton
e846f0bea3 Revert "ffmpeg: move ffmpeg config into packageconfig"
There's very little reason to expose "build shared libraries", "build
position-independent code", or "enable threads" as recipe-specific
packageconfig options.  Revert the commit which did this and explicitly
set the relevant options in EXTRA_OECONF.

This reverts commit b6e67e3d28.

(From OE-Core rev: ec62603a348154d837d5f0cbd52bb12468973341)

(From OE-Core rev: 521a084190f72fc7a8783571829bd697e2baa1f0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Ross Burton
ab8accbf14 gdb: fix crashes when debugging threads with Arm Pointer Authentication enabled
(From OE-Core rev: 8057edfcb23004b18ab8cb09b9a359346ed54db9)

(From OE-Core rev: a6120d0c7946842195f0c7624b7c3025e74e7964)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Khem Raj
b81c523326 cpio: Run ptests under ptest user
Running these tests under root user on musl works ok but it emits
additional diagnostic

cpio: dir: Cannot change ownership to uid 0, gid 0: Not supported

Ideally its better to run this test suite under non-root user which
is often how these are run. Moreover, tests work on musl as well.

(From OE-Core rev: 22d19266269c28f596f031fcba8f2831c6465880)

(From OE-Core rev: 587e007d9febfe92fef434dea984d31642bb23a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Khem Raj
f70ab32ec4 musl: Update to 1.2.4 release
Brings the following changes

* f5f55d65 release 1.2.4

(From OE-Core rev: 9f2fe39d92816343347bd08f55cd4aca98e8a209)

(From OE-Core rev: a3de74f00812fa342d4dc69a857994fa10728635)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-09 07:50:14 +01:00
Richard Purdie
b5a7d85a9e glib-networking: Correct glib error handling in test patch
(From OE-Core rev: 4ba74f61f38827d82586cf9c993a4b27065f5c6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-08 10:59:14 +01:00
Richard Purdie
fbbe776202 glib-networking: Add test retry to avoid failures
In autobuilder testing we regularly see glib-networking ptest fail with a
"Resource temporarily unavailable (g-io-error-quark, 27)" error.

Add a patch to see if a retry can resolve the issue.

(From OE-Core rev: 4deb03ee5af8fcf7c2b1c81c686839341cf753c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-07 09:38:02 +01:00
Richard Purdie
be08694f00 qemu: Update ppc instruction fix to match revised upstream version
Upstream asked for some changes, this updates our patch to match. The differences
likely don't change our real world use.

(From OE-Core rev: 42591e07a469cff881fa087d5251a8c783897634)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-07 09:38:02 +01:00
Luca Ceresoli
8cba63f668 ref-manual: classes: kernel: document automatic defconfig usage
Since a very long time the kernel bbclass uses a defconfig file from
SRC_URI automatically. Document this feature.

(From yocto-docs rev: 220b25d7d47d46b0d85c616b88ead75fab917092)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-06 09:38:58 +01:00
Luca Ceresoli
a019f55a28 ref-manual: classes: kernel: remove incorrect sentence opening
"This means that" implies that this sentence is a consequence of the
previous, but this is not the case, the two sentences being quite unrelated
to each other.

(From yocto-docs rev: 1f352ad21bb892e74bdb46aee791d0f86b150249)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-06 09:38:58 +01:00
Michael Opdenacker
ce7a814b3b ref-manual: document FIT_ADDRESS_CELLS
(From yocto-docs rev: 81ee2e82a5bd0b7f1cb910bf266ceb808c05bba9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-06 09:38:58 +01:00
Richard Purdie
2347121381 migration/release-notes-4.3: Add extra notes
(From yocto-docs rev: c365f3d02ed880d4cd3f7970094249780d443b2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-06 09:38:58 +01:00
Michael Opdenacker
dc7a4f0036 migration-guides: start of 4.3 migration and release notes
From notes from Richard Purdie

(From yocto-docs rev: 62fcaabd06558669034e8732b8d22a9c46e36cf2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: richard.purdie@linuxfoundation.org
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-06 09:38:58 +01:00
Martin Jansa
76cec94fad image_types_wic: Remove incorrect MLPREFIX to already prefixed virtual/
Avoid dependency on unavailable virtual/lib32-arm-distromllib32-linux-gnueabi-binutils

MLPREFIX was dropped from other cases in:
https://git.openembedded.org/openembedded-core/commit/?id=6856fc5c848cc2564bebe03a007ef109f46d0adb

This was causing:
  ERROR: Nothing PROVIDES 'virtual/lib32-arm-distromllib32-linux-gnueabi-binutils' (but virtual:multilib:lib32:oe-core/meta/recipes-core/images/core-image-minimal.bb DEPENDS on or otherwise requires it). Close matches:
    virtual/arm-distromllib32-linux-gnueabi-binutils
    virtual/lib32-arm-distromllib32-linux-gnueabi-compilerlibs
    virtual/lib32-arm-distromllib32-linux-gnueabi-go-runtime
  ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
  Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'virtual/lib32-arm-distromllib32-linux-gnueabi-binutils']

in cases where multilib and WIC were enabled at the same time

(From OE-Core rev: d7644212a17537e9966218fbb99f21a64569f322)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 12:13:06 +01:00
Richard Purdie
e53cf94d6e bitbake: tests/fetch: Default to https git protocol where possible
The recommendation from server maintainers is that the https protocol
is both faster and more reliable than the dedicated git protocol at this point.
Switch to it where possible.

(Bitbake rev: 879b830fcc60a022682ef22f58c04e7e07d03c63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:42 +01:00
Khem Raj
c6c1817419 piglit: Fix c++11-narrowing warnings in tests
This is found with clang on 32bit builds

(From OE-Core rev: 844a1f1f593e0b4e4b0949ad78a00aa4ab8657e9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Khem Raj
9a62bd8d78 cmake: Upgrade to 3.26.3
License-Update: Copyright year changed from 2022 -> 2023

- Copyright 2000-2022 Kitware, Inc. and Contributors
+ Copyright 2000-2023 Kitware, Inc. and Contributors

Call bootstrap directly without wrapping it with configure
since all it does it find the sourcedir

(From OE-Core rev: f038e40328eff37fe5d16310853448ba21e5c9f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
a47d7ba1af spirv-tools: remove redundant python3native inherit
Python is needed at build-time, but the host Python is sufficient.

(From OE-Core rev: dafb93e64ea59a970d1932ce42eaed5b9419dfbb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
31336dd15b spirv-headers: remove description
This description doesn't actually describe the recipe in any meaningful
way, remove it.

(From OE-Core rev: bdaa254d1a7c0562339f3842eff5d1dca8459e08)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Paul Gortmaker
e9980b8b38 scripts: fix buildstats diff/summary hard bound to host python3
Somehow these two got left behind and hence on older hosts that
are using buildtools for a newer python - they will still fail.

(From OE-Core rev: f1b11b83a6dd991f393940741c930691463e6d53)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Tim Orling
735e6b4278 libmodule-build-perl: upgrade 0.4232 -> 0.4234
* Skip t/pod_parser.t ptest since it is for testing
  documentation and requires Pod::Parser for which
  we do not have a recipe. Adding one does not make
  much sense since Pod::Parser was dropped from
  Perl > 5.31.1 in favor of Pod::Simple
  https://metacpan.org/pod/Pod::Parser#DESCRIPTION

Changes:

https://metacpan.org/dist/Module-Build/changes

0.4234 - Fri 28 Apr 2023 10:46:26 CEST
  - PodParser now respects =encoding directives
  - Don't use libraries in t/bundled for Build.PL
  - make_tarball: workaround for broken tar on Darwin
  - Respect $Config{man1ext}/$Config{man3ext}
  - Do not require a compiler if c_source is an empty list

(From OE-Core rev: c3b97f6d74b67706fbbc8685e8060566b815630d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Sudip Mukherjee
811997a246 xinput: upgrade to v1.6.4
Changes:
Use xz: upstream has not released bz2.
Update sha256sum and md5sum for new version.

(From OE-Core rev: 4080fda237b8c7c540b54b7abc2075fd40a684d4)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Armin Kuster
d674b5fe13 os-release: Add CPE_NAME
Its time we add the CPE_NAME to os-release.

The vendor field is hardcoded to "openembedded" as it is the base
framework. We will use "DISTRO" to identify which variation of
openembedded is being used.

(From OE-Core rev: 9730770e3b5a48775ddc89acd0f029e34f135bba)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
29a8fa1f20 vulkan-tools: upgrade to 1.3.243
(From OE-Core rev: e57c5de6c64f0ae146cde235ab83c22e51216c5c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
63ae67cc4a vulkan-loader: upgrade to 1.3.243
(From OE-Core rev: b238b66542b8ed24b6157cf4123fdbb4a0938254)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
4ea1fe2f76 vulkan-headers: upgrade to 1.3.243
(From OE-Core rev: 2c8b376f9b0d9362cc348cc2b43a90aa86ee5f7d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
4383afa533 glslang: upgrade to 1.3.243
The libraries are now versioned correctly, so remove the manual
packaging.

(From OE-Core rev: 5fe6207cb16ef7601bc7ebab21a5ee6724a940aa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Sudip Mukherjee
44d970aa76 xwininfo: upgrade to v1.1.6
Changes:
Use xz: upstream has not released bz2.
Update license checksum: change in copyright year.
Update sha256sum and md5sum for new version.

(From OE-Core rev: 44db345f3a1f13ba31edbff28774b4512d07f8d9)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ranjitsinh Rathod
dc2708bbe8 libbsd: Add correct license for all packages
BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause

~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
COPYING
man/arc4random.3bsd

~/sources/libbsd$ grep -rnB5 "BSD-4"
COPYING-9-Files:
COPYING-10- man/arc4random.3bsd
COPYING-11-Copyright:
COPYING-12- Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
COPYING-13- All rights reserved.
COPYING:14:License: BSD-4-clause-Niels-Provos

So other all PACKAGES should not contain the BSD-4-Clause

(From OE-Core rev: fe57f5ec7fa46f595a302275ce3063d53634c00e)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
861299995f vulkan: add a comment explaining upstream version policy
(From OE-Core rev: 7484c71ca3a932bcb4c3679e25b0233c06be4404)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Sudip Mukherjee
d71cf0224d libxfixes: Upgrade to v6.0.1
Changes:
Use tar.xz: upstream has not released bz2.
Update license checksum: minor change in text.
Update sha256sum for new version.

(From OE-Core rev: 1a435cb3e6cf3450867f6a591c1e3ceb4918a97d)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ross Burton
536acf57d7 vulkan-samples: update to latest SHA
(From OE-Core rev: 9af4bb9eacaba0de69cc73eac08058fa71408c34)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Randolph Sapp
0fea26cb9a kernel-devicetree: allow specification of dtb directory
Fedora/Redhat and Arch are somewhat standardized on their dtb directory
structure. Let's add some flags to configure yocto to mimic that
behavior.

Add the following variables to the kernel class:
	- KERNEL_DTBDEST (controls the destination directory for dtbs)
	- KERNEL_DTBVENDORED (controls if vendor subdirectories are to
	  be respected)

Currently KERNEL_DTBDEST is expected to be a subdir of KERNEL_IMAGEDEST
and KERNEL_DTBVENDORED is expected to be "true"/"false". This only
applies to the package directory structure. The deploydir structure is
purposely left untouched for compatibility with existing recipes.

By default this is configured to behave the same as the current recipe
and produce a flat dtb directory at KERNEL_IMAGEDEST.

(From OE-Core rev: 04ab57d20009d85eb566e83ae6fe1dcea4db7300)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Markus Volk
b2797c3fbb gcr: update 4.0.0 -> 4.1.0
- remove backported patch

(From OE-Core rev: 9c7f54c70541a9a5be6f1312b4ef5247b25f37fa)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Markus Volk
3c91b3a37e gtk4: update 4.10.0 -> 4.10.3
Overview of Changes in 4.10.3, 22-04-2023
=========================================

* Fix a popover positioning regression in 4.10.2

* Fix issues with slow loading files in the file chooser

Overview of Changes in 4.10.2, 21-04-2023
=========================================

* Fixed issues:
 - Holding control to select multiple files broken in filechooser (#5669)
 - Inspector crash (#5681)
 - Listbase doesn't account for bottom padding in size_allocate_child (#5380)
 - Leaking AT contexts (#5690)
 - OpenGL / Windows: Crash when closing gtk4-widget-factory (#5685)
 - GTK apps crash on startup when setting cursor-size to 0 on Wayland (#5700)
 - Segmentation fault: gdk_wayland_toplevel_set_startup_id() needs to null-check
   display->xdg_activation before using it (#5701)
 - Possible use-after-free under gtk_scrolled_window_update_use_indicators() (#5684)
 - Wrong error message in `gtk_init` (#5704)
 - Segfault when scrolling after changing ListView model (#5763)
 - Bluetooth panel from the Settings app: clicking in the "Downloads" link
   no longer opens Nautilus (#5671)
 - Broadway docs or code is broken (#5662)
 - Disabled GtkPicture's are not properly themed (#5683)
 - Setting CSS padding to a GtkTextView gives the context menu an offset (#5695)
 - A11y: the Showing state is used only for windows (#5194)
 - Gtk4 expander: CSS nodes mismatch code vs. documentation (#5723)
 - Invoking gtk inspector on a folder results in a crash (#5729)
 - Double tap requires very precise touch input (#5580)
 - Name autocompletion dropdown in the GTK4 FileChooser's Save dialog gets
   stuck, creates artifacts, jumps around (#5743)
 - Links are not opened when xdg-desktop-portal OpenURI is not available (#5733)
 - GtkSnapshot generates no nodes appending whitespace-only layouts (#5747)

* Translation updates
 British English
 Bulgarian
 Chinese (China)
 French
 Indonesian
 Korean
 Russian
 Serbian
 Slovenian
 Turkish

Overview of Changes in 4.10.1, 14-03-2023
=========================================

* GtkFileChooser
 - Improve search performance
 - Be safe against pathless files
 - Fix memory leaks
 - Only show local files in recent files
 - Show most recent files first
 - Make files non-selectable in selet_folder mode

* GtkListView / GtkColumnView / GtkGridView
 - Fix scrolling problems
 - Support CSS border-spacing

* GtkComboBox
 - Fix a size allocation problem

* gtk
 - Size allocation fixes

* Accessibility
 - Miscellaneous property fixes and improvements

* Wayland
 - Fix an ordering problem in surface disposal

* Windows
 - Fix Visual Studio build with older GLib

* Translation updates
 Basque
 Bulgarian
 Catalan
 Czech
 Danish
 Finnish
 Friulian
 Galician
 Georgian
 Hungarian
 Lithuanian
 Polish
 Portuguese
 Swedish
 Turkish
 Ukrainian

(From OE-Core rev: 0f07445de85c71926e0901d051d330f29a8486d6)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Sudip Mukherjee
813a35e253 libxt: Upgrade to v1.3.0
Changes:
Use .xz, upstream is not creating .bz2 anymore.
Update license checksum: Change in copyright years.
Update sha256sum for new version.

(From OE-Core rev: 1be52fe725d7b0fac763af1ccc02383afe2c9bd0)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Sudip Mukherjee
aeccadeda8 apt: Upgrade to v2.6.0
Changes:
Rebase patches for upstream changes
Remove upstream applied patches
Update homepage
Update sha256sum for new version

(From OE-Core rev: 2e42fb105e474b5ab25f2d2ded55124838b39e8d)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Andrey Zhizhikin
2cd57b3f33 cryptodev: upgrade to 1.13
Upgrade cryptodev to new release 1.13. This resoves the Kernel build
issues for 6.3.y, where Crypto API has been updated, see [1].

Refresh all layer patches with `devtool` to resolve hunks.

Link: [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=255e48eb17684157336bd6dd98d22c1b2d9e3f43
(From OE-Core rev: dc85b747af14f5262590e72e55d2c49670cf09a7)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Khem Raj
b729a12fc0 qtwebkitgtk: Backport a build fix for GCC 13
(From OE-Core rev: b2a8379713af625f1667bc63ee85031ac65ca3a4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Changhyeok Bae
7163568576 iproute2: upgrade 6.2.0 -> 6.3.0
(From OE-Core rev: 70835d2cfa781e7a30f026d1ab1f88256f6d1693)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Khem Raj
6e18dad884 systemd: Fix timesyncd runtime assertions with 64bit time_t
This issue is seen on 32bit architectures using 64bit time_t

(From OE-Core rev: 75dcd69f0589a42e01f0e0f9353f68977d2f319f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
35e3f3b8d4 insane.bbclass: simplify exceptions for 32 bit time API check
Existing implementation required to list both specific problematic apis, and files that
use them: neither is necessary as both are seen in package_qa error messages, and
can cause excessive amount of exception lines, if there are too many files, or
they are installed in arch-specific locations. Also, the value of INSANE_SKIP
should be the test that needs to be skipped, and in this case it wasn't.

Also, all problematic recipes are now correctly listed.

(From OE-Core rev: e6ebd0c556dfc576a59f5755d97089a2a241f698)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
850b5d5eed oeqa/sdk/assimp: run only when zlib is in the SDK
Otherwise assimp will silently fall back to a vendored copy of zlib
which will fail with -D_TIME_BITS=64 due to https://github.com/madler/zlib/pull/764

This was exposed by multilib mips core-image-minimal SDKs, where the default
64 bit sysroot has zlib, but 32 bit sysroot does not.

(From OE-Core rev: c0fb603c9e26e91388320c02842b42cc7b091d6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
1d82fbc95a time64.inc: add a comment about how to simulate Y2038 in qemu
Setting clock to 2040 causes the following ptest failures on qemux86:

{'perl': ['t/op/magic', 'lib/File/stat', 'ext/POSIX/t/time']}
{'python3': ['test_create_server_ssl_verified',
             'test_create_unix_server_ssl_verified',
             'test_local_good_hostname']}
{'dbus': ['dbus/test-relay_with_config.test',
          'dbus/test-misc-internals.test',
          'dbus/test-corrupt.test',
          'dbus/test-loopback_with_config.test',
          'dbus/test-relay.test',
          'dbus/test-misc-internals_with_config.test',
          'dbus/test-loopback.test',
          'dbus/test-fdpass_with_config.test',
          'dbus/test-corrupt_with_config.test',
          'dbus/test-fdpass.test']}
{'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']}
{'glibc-tests': ['/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimes',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimensat',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timespec_get',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timer4',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-stat',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sigtimedwait',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-settimeofday',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sem5',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-select',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-scm_rights',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-rwlock14',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ppoll',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettimex',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_adjtime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mtx-timedlock',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue8',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue2',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue10',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue1',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lutimes',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimesat',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimes',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimens',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fts',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fcntl',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cond11',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cnd-timedwait',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_settime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_adjtime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-aio6',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-adjtimex',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/ftwtest',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod-time64']}
{'openssh': ['key_options']}
{'curl': ['test_0031',
          'test_0046',
          'test_0053',
          'test_0061',
          'test_0062',
          'test_0172',
          'test_0179',
          'test_0327',
          'test_0329',
          'test_0420',
          'test_1104',
          'test_1216',
          'test_1415']}
{'glib-2.0': ['glib/asyncqueue.test',
              'glib/module-test-plugin.test',
              'glib/file.test',
              'glib/fileutils.test',
              'glib/module-test-library.test']}
{'gstreamer1.0': ['gstreamer/elements_multiqueue.test']} (may be flaky)
{'tcl': ['cmdAH.test', 'interp.test']}
{'libmodule-build-perl': ['t/compat']}

Some ptests fail on qemux86-64 as well:
{'curl': ['test_0031',
          'test_0046',
          'test_0053',
          'test_0061',
          'test_0062',
          'test_0172',
          'test_0179',
          'test_0327',
          'test_0329',
          'test_0420',
          'test_1104',
          'test_1216',
          'test_1415']}
{'python3': ['test_create_server_ssl_verified',
             'test_create_unix_server_ssl_verified',
             'test_local_good_hostname']}
{'openssh': ['key_options']}
{'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']}
{'tcl': ['interp.test']}
{'python3-cryptography': ['tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_smime_sign_detached',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_pem',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg0-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x01]',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg1-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x02]',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg2-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x03]',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_attached',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_binary',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_smime_canonicalization',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_text',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_capabilities',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_attributes',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers_different_hash_algs']}

Note that setting the year to 2035 resolves almost all of the above,
as onl the following then fail:

qemux86:
{'python3': ['test_local_good_hostname']}
{'curl': ['test_0420']}

qemux86-64:
{'python3': ['test_local_good_hostname']}
{'curl': ['test_0420']}

(From OE-Core rev: 333836663ab7bb7994ef23ac8698f8fe2cb95580)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
04514378e0 bitbake.conf: set minimum required target kernel to 5.15
In particular this enables a number of useful features in glibc
(which utilize newer kernel APIs), such as actually using 64 bit
time_t versions of kernel syscalls:

https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/kernel-features.h;h=07b440f4eea364b05fa49bf71ceebf78f80efe13;hb=HEAD#l164

In general, OLDEST_KERNEL setting is used in these two places:

- kernel.bbclass compares it with the target kernel version being built.
If a vendor BSP still offers an older kernel, OLDEST_KERNEL should be set to match.

- glibc recipe passes it as a parameter to the build so that additional features
and optimized paths that kernels older than OLDEST_KERNEL are enabled.

Note that there is a related setting, SDK_OLDEST_KERNEL, which remains as
it was (at 3.2.0) to ensure maximum compatibility with kernels on SDK host
machines; that setting is used to build nativesdk-glibc and verify the kernel
version when the SDK is being installed.

Build host kernel versions are not checked directly; compatible distros
are listed instead.

(From OE-Core rev: feb8e3fb71131a414a2a9271832b4e16860301ea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
7e90e5bdd3 time64.inc: add glibc-testsuite to 'special cases'
It builds glibc source like other glibc recipes do,
and so the same problems occur.

(From OE-Core rev: 68b50d362ec61f27be818e40fcbb281d9bacf756)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alexander Kanavin
c88ce1ff0e binutils: backport a patch to address failures when time64.inc is in use
(From OE-Core rev: e80a836be72d304aa2f47421882390263623b6fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Ming Liu
ce460d2462 weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland
Otherwise xwayland.pc would not be present in sysroot, this leads to
some xwayland configs missing like have_listenfd, have_glamor.

(From OE-Core rev: 7f1932cb5a408320a5b542e20ba2807718349e8f)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Martin Siegumfeldt
e510222b57 systemd-systemctl: fix instance template WantedBy symlink construction
Fix issue of the below instance template systemd service dependency

[Install]
WantedBy=svc-wants@%i.service

creating the symlink (instance "a" example)

/etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service

which should be

/etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service

as implemented by this change.

The functionality appears regressed just after "thud" baseline when the
logic was refactored from shell script into python (commit
925e30cb10)

(From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5)

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Peter Kjellerstedt
9ed46595f8 license.bbclass: Include LICENSE in the output when it fails to parse
(From OE-Core rev: 1a5197760da3890cc80ac7da8d589766612d9051)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Frederic Martinsons
e7e7999b23 zvariant: add ptest feature for zvariant test suite
Below is the output of run-ptest script under qemu

root@qemux86-64:~# /usr/lib/zvariant/ptest/run-ptest

running 37 tests
test framing_offset_size::tests::framing_offset_size_bump ... ok$<2>
test owned_value::tests::from_value ... ok$<2>
test object_path::unit::owned_from_reader ... ok$<2>
test str::tests::from_string ... ok$<2>
test signature::tests::signature_slicing ... ok$<2>
test str::tests::test_ordering ... ok$<2>
test owned_value::tests::map_conversion ... ok$<2>
test owned_value::tests::serde ... ok$<2>
test tests::enums ... ok$<2>
test tests::derive ... ok$<2>
test tests::f64_value ... ok$<2>
test tests::i16_value ... ok$<2>
test tests::fd_value ... ok$<2>
test tests::i32_value ... ok$<2>
test tests::i8_value ... ok$<2>
test tests::i64_value ... ok$<2>
test tests::ip_addr ... ok$<2>
test tests::issue_59 ... ok$<2>
test tests::issue_99 ... ok$<2>
test tests::array_value ... ok$<2>
test tests::object_path_value ... ok$<2>
test tests::dict_value ... ok$<2>
test tests::signature_value ... ok$<2>
test tests::serialized_size ... ok$<2>
test tests::struct_byte_array ... ok$<2>
test tests::struct_ref ... ok$<2>
test tests::str_value ... ok$<2>
test tests::option_value ... ok$<2>
test tests::struct_value ... ok$<2>
test tests::struct_with_hashmap ... ok$<2>
test tests::u16_value ... ok$<2>
test tests::u32_value ... ok$<2>
test tests::unit ... ok$<2>
test tests::u8_value ... ok$<2>
test tests::unit_fds ... ok$<2>
test tests::value_value ... ok$<2>
test tests::recursion_limits ... ok$<2>

test result: ok$<2>. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

root@qemux86-64:~#

(From OE-Core rev: 912bbec9fe44f22ab70c3553af6cb699543b8411)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Frederic Martinsons
eb1cc1e319 python3-bcrypt: enable build of unit tests
The source code of bcrypt extension doesn't define any tests
but it is to show the ptest-cargo usage

Below is the updated test suite output for the recipe (cut):

PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError]
PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError]
PASS: tests/test_bcrypt.py:test_2a_wraparound_bug
============================================================================
Testsuite summary

running 0 tests

test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

root@qemux86-64:/usr/lib/python3-bcrypt/ptest#

(From OE-Core rev: 7388fec005b94d8e3827afcdf0de1e5b05ea1346)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Frederic Martinsons
e6b18a4ced ptest-cargo.bbclass: create class
This new class offers the possibility to build rust unit tests
(and integration tests) and find them correctly.
Due to non deterministic names of generated binaries, a custom
parsing of build result must be performed.
See https://github.com/rust-lang/cargo/issues/1924

All rust projects will generate a test binary with "cargo build --tests"
command, even if there are no test defined in source code.
The binary will just output that it ran 0 tests.

(From OE-Core rev: dad9bad239d757ae0b159fe5f1276b6856547b4c)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Virendra Thakur
92036d454a qemu: Whitelist CVE-2023-0664
This CVE is related to Windows.

Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664

(From OE-Core rev: d5ce88c15183c2bf887543c8c31e9c31aaa56a1a)

Signed-off-by: Virendra Thakur <virendrak@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:26 +01:00
Alex Kiernan
b17491f7f1 rust: Upgrade 1.68.2 -> 1.69.0
Rebase patches, drop crossbeam_atomic is this fully merged upstream.

https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html

(From OE-Core rev: 39e05f9b0fdc3f76f8b80a12989f78614bc9ea5c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Alexander Kanavin
2e84bb1971 perl: patch out build paths from native binaries
(From OE-Core rev: 9ea0f850928b3e7d7a2eb280b8b3ed0c9f977cd6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Alexander Kanavin
3f89c3ffdc dhcpcd: use git instead of tarballs
As announced here:
https://roy.marples.name/downloads/dhcpcd/

(From OE-Core rev: 6e317eaab45da2dea70d1485fdae93cfeea0db1d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Alexander Kanavin
1f21419fc8 selftest/distrodata: clean up exception lists in recipe maintainers test
Specifically:
- add missing maintainer.inc entries for initramfs-module-*, systemd-machine-units and
target-sdk-provides-dummy and drop them from exception list.

- remove rust from exception list for unbuildable-by-default recipes as it is now buildable.

- add missing maintainer.inc entry for libx11-compose-data and cve-update-nvd2-native;
as they are also unbuildable by default, they needs to be in exception list as well.

(From OE-Core rev: e9158b191c1cfc16f97abed6c05891aa84fe9463)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Enrico Jörns
c3380dbe3d package_manager/ipk: fix config path generation in _create_custom_config()
"sysconfdir" contains "/" by definition and thus using os.path.join()
leads to self.target_rootfs being always ignored (and thus attempting to
generate paths in host's /etc).

Use oe.path.join() instead which was made for this purpose.

(From OE-Core rev: 8414c504138f6de663f5130c6b4a6ede5605d88b)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Johannes Schrimpf
94571aa1b7 python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting
[YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108

Since the latest change, the PYTHONPATH is overwritten instead of extended.
This leads to changed behavior and build errors of recipes where the PYTHONPATH
is set before setup_target_config is run.

Fixes: c9617c03bcee ("python3targetconfig.bbclass: use PYTHONPATH to point to the target config")
(From OE-Core rev: 2442ab92f8610784d28d8d83056b643bd95b0b4e)

Signed-off-by: Johannes Schrimpf <dev@loewen-email.de>
[Luca: add Fixes: tag]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Khem Raj
d0882a936e quilt: Fix merge.test race condition
This is consistently seen with musl and grep from busybox
Therefore backport a patch from upstream to fix it

(From OE-Core rev: 511bcd965af658e6bb0c61d9f2adb1af75af773b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
hen Qi
8a6f52393e unfs3: fix symlink time setting issue
Add back the dropped 0001-attr-fix-utime-for-symlink.patch
to fix symlink time setting issue on NFS.

The problem could be reproduced by runing the following command
on nfs booted qemu:

  ln -s dest src && touch -h src

Apart from the rpm operations mentioned in the original patch,
'docker pull' also fails with a 'stale file' error. The common
pattern here is extracting files from a bundle and setting times
for them.

(From OE-Core rev: fe35a2c11ba6f87735bccae244817016f9c1b5db)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Joe Slater
f917836354 ghostscript: fix CVE-2023-28879
Backport from tag ghostpdl-10.01.1-gse-10174 which is
after 10.01.1.

(From OE-Core rev: 8a70d6935afa38173dbf012b8e1c3d59228504df)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Ross Burton
c7ede907d9 connman: backport fix for CVE-2023-28488
(From OE-Core rev: ee1de8f4e52f98c141f0807484b505287f161aa6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Ross Burton
4233caf60b dmidecode: upgrade to 3.5
This includes a fix for CVE-2023-30630.

Remove the patch changing prefix and instead pass the paths to the make
install command.

Passing -e to make is no longer needed, the Makefile respects variables
now.

(From OE-Core rev: 86f2f9cfdc23cc9a2579d968cb9bb0fc61608b62)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Richard Purdie
1285f78ce8 recipes: Default to https git protocol where possible
The recommendation from server maintainers is that the https protocol
is both faster and more reliable than the dedicated git protocol at this point.
Switch to it where possible.

(From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-05 11:07:25 +01:00
Michael Opdenacker
3a89e9a056 ref-manual: variables.rst: don't mention the INIT_MANAGER "none" option
As it is mainly used for internal purposes, so not necessarily useful
for regular users.

OE-core "nodistro" uses it as a fallback to the default setting.

(From yocto-docs rev: aa4d4034707d7c74488678e77d4f45d65782b2a7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 13:53:06 +01:00
Michael Halstead
d9a7f94724 docs: add support for mickledore (4.2) release
This adds support for the Mickledore (4.2) release and update the
current dev branch to Nanbield.

(From yocto-docs rev: 5321befbfdc014d469b298bdd5b31d684231b2cb)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 13:53:06 +01:00
Richard Purdie
225abef15b maintainers.inc: Move repo to unassigned
(From OE-Core rev: a51a069bad78c578122ae1a5b500f715246d413d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 13:45:29 +01:00
Jamin Lin
b68a24bed5 uboot-sign: support 64bits address
The default value of address-cells is "1", so the generated "its" file
only support 32bits address for uboot FIT image.
However, some platforms may want to support 64bits address of
UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT.
Therefore, add variables to support both 64bits and 32bits address.

By default, the address-cell is 1 which is used for 32bits load address.
If users would like to use 64bits load address,
users are able to set as following for "0x400000000" 64bits load address.
1. FIT_ADDRESS_CELLS = "2"
2. UBOOT_LOADADDRESS= "0x04 0x00000000"

(From OE-Core rev: b4e46cdbd0727d97d13c2b8e9e4ce19c5c693f51)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:46:14 +01:00
Jamin Lin
b6c9cc306a kernel-fitimage: support 64 bits address
The default value of address-cells is "1", so the generated "its" file
only supports 32bits address for kernel FIT image.
However, some platforms may want to support 64bits address
of UBOOT_LOADADDRESS and UBOOT_ENTRYPOINT.
Therefore, adds a variable to support both 64bits and 32bits address cells.

By default, the address-cell is "1" which is used for 32bits load address.
If users would like to use 64bits load address, users are able to
set as following for "0x400000000" 64bits load address.
1. FIT_ADDRESS_CELLS = "2"
2. UBOOT_LOADADDRESS= "0x04 0x00000000"

(From OE-Core rev: 8ce15c76c50d5d61524fea585d19989baefb5df2)

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:46:14 +01:00
Martin Jansa
d5d0b3f785 populate_sdk_ext.bbclass: redirect stderr to stdout so that both end in LOGFILE
* this in the end doesn't help much, I was debugging warning (about base-files.do_install
  signature being different than expected) from:

  python3 $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'

  this shows the warning on console, but it doesn't end in $LOGFILE, because it
  writes only contents of cooker log into the $LOGFILE with:

    with open(logfile, 'a') as logf:
        logf.write('Preparing SDK for %s...\n' % ', '.join(sdk_targets))

        ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet %s' % ' '.join(sdk_targets))
        if not ret:
            ret = run_command_interruptible('bitbake --quiet build-sysroots')
        lastlog = get_last_consolelog()
        if lastlog:
            with open(lastlog, 'r') as f:
                for line in f:
                    logf.write(line)
        if ret:
            print('ERROR: SDK preparation failed: error log written to %s' % logfile)
            return ret

  maybe we could remove whole support for $LOGFILE parameter and just redirect
  the output like other commands on this line

(From OE-Core rev: 719f22df160ebde303274ccfc04049cffdb51577)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:46:14 +01:00
Khem Raj
928609318f mpg123: Reset ac_cv_sys_file_offset_bits on musl
This is required to nullify whats passed from cached site file
musl-common

(From OE-Core rev: 19c9ba1089863b8ba2ff8e089cce29d16993c8f8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:46:14 +01:00
Khem Raj
621fdfb126 gpgme: Reset ac_cv_sys_file_offset_bits on musl
This is required to nullify whats passed from cached site file
musl-common

(From OE-Core rev: 9357ef5dd9ba8bc9e906aab3630c9e2bdb14b174)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:46:14 +01:00
Sergei Zhmylev
6722f40600 wic: add support for proper kernel name to bootimg-pcbios
Use appropriate kernel image name instead of hard-coded vmlinuz for bootimg-pcbios plugin.

(From OE-Core rev: 8d9f00ba456fe76e0f4ef0e68ec64fc538c90d89)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:37:00 +01:00
Petr Kubizňák
0f0bd5e231 devicetree.bbclass: Allow selection of dts files to build
Add DT_FILES variable to allow the user of the class to select specific
dts files to build. This is useful for packages featuring dts files
for multiple machines.

Since many machine configs contain a list of dtb files
(e.g. KERNEL_DEVICETREE), DT_FILES works with both dts and dtb files.

(From OE-Core rev: a6164c384a5bf3980a7a6c7f23927af9aca93b85)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:37:00 +01:00
Patrick Williams
b7574378e8 perl-version: remove PERL* assignments
The perl-version.bbclass executes functions which can depend on
variables potentially populated by native, such as `libdir`.  The
sanity `native-last` suggests that recipes should `inherit native`
last, but when that is done the variables like PERLVERSION end up
as `None`, since `${STAGING_LIBDIR}` needs `${libdir}` which is not
yet populated (by native).

All recipes in poky and widely used meta-layers have already been
updated to use the functions directly instead of relying on these
problematic variables.  Delete the variables so that future recipes
do not make the mistake of using them.

Related: openbmc/openbmc#3770
(From OE-Core rev: 9351b6e7fab5669340bb062b9c84fb4faa3dce0b)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:34:30 +01:00
Richard Purdie
fb8d21e73f qemu: Upgrade 7.2.0 -> 8.0.0
Drop backported/merged patches:

  Revert-linux-user-add-more-compat-ioctl-definitions.patch
  configure-Fix-check-tcg-not-executing-any-tests.patch
  contrib-vhost-user-blk-Replace-lseek64-with-lseek.patch
  Revert-linux-user-fix-compat-with-glibc-2.36-sys-mou.patch

Drop socket chardev patch with conflicts:

  chardev-connect-socket-to-a-spawned-command.patch

This last patch was added in support of swtpm however it isn't clear if anyone
is still using that workflow. The patch uses API calls such as as qemu_fork()
which were removed in 8.0.0 and replaced with gspawn calls. If anyone needs the
patch, it will be better for them to forward port it, test it and reinstate it,
preferably with a discussion with upstream about it too.

(From OE-Core rev: fe8125565af07b73f9b29db2188ecb6e884bcc70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:15:31 +01:00
Richard Purdie
12e2d10541 qemu: Add fix for powerpc instruction fallback issue
See the patch for more details, fixes a regression in qemu causing
illegal instructions in libm on powerpc, triggered by a libinput
upgrade.

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f1c56cdff09f650ad721fae026eb6a3651631f3d
was the glibc code generating the instruction and triggering the issue.

(From OE-Core rev: bf0e4c8bb6ba22274d17d74c1df69a78f8aa157c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 12:14:57 +01:00
Richard Purdie
90aefeb6a0 maintainers.inc: Fix email address typo
(From OE-Core rev: 2a86ca028980b501e386f6bb8293a094fd77f97b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 14:37:13 +01:00
Otavio Salvador
a5de3d8c22 mesa: 23.0.2 -> 23.0.3
Update to 23.0.3 stable release. Release notes in:

 - https://docs.mesa3d.org/relnotes/23.0.3.html

(From OE-Core rev: 0defbb5925e309799162e221285e4cfb2e2c2ca5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:50:09 +01:00
Ross Burton
0f87358065 piglit: upgrade to latest revision
(From OE-Core rev: ba1d66131aa93733828e8dfd718acd6659e82802)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:50:09 +01:00
Upgrade Helper
0166381cc7 waffle: upgrade 1.7.0 -> 1.7.2
Upstream now only generates CMake files on Windows, so remove all
references to CMake.

A zsh completion is now installed, remove this for now as we don't really
use zsh.

(From OE-Core rev: 94cf6ef11bba381ab6f65b03ed1ed14022438151)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:50:09 +01:00
Ross Burton
801538a349 gtk+3: upgrade 3.24.36 -> 3.24.37
Drop merged introspection patch.

(From OE-Core rev: 8ac81784ce414057039bc16417a8b2dd8f58497d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:50:09 +01:00
Ross Burton
e222579ba7 libinput: upgrade to 1.23.0
Remove determinism.patch, this is obsolete now that we set
GIT_CEILING_DIRECTORIES to stop git climbing the tree outside of the
work directory.

(From OE-Core rev: e652d9bee3940e8ee7c3346c801deef4801dbaeb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:50:09 +01:00
Michael Opdenacker
3ce82d9737 ref-manual: system-requirements.rst: fix AlmaLinux variable name
(From yocto-docs rev: d84b771e2ca22fa7dd9525dc515d3972035366eb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 10:00:32 +01:00
Michael Opdenacker
1db44f2242 dev-manual: init-manager.rst: add summary
Comparing init managers by features

(From yocto-docs rev: 1039bbe55b5b7375e8dd969940bbd656115a5ab0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 10:00:32 +01:00
Lee Chee Yang
c4d933a347 release-notes-4.2: remove/merge duplicates entries
(From yocto-docs rev: 6e4b1af0fed2b59909ac9db1be2aaf3e3b542b0c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 10:00:32 +01:00
Peter Bergin
09a1c15627 update-alternatives.bbclass: fix old override syntax
Function 'gen_updatealternativesvardeps' still used old override
syntax when fetching variable flags. Update to use ':' instead to match
recipe meta data. This was found by review and no real issue encountered
but it is a bug that affects variable dependencies and can affect rebuilds
as task hashes might not be accurate.

(From OE-Core rev: 5691f554b2cd50f256a8cbb1d96781e9eb6b930e)

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Khem Raj
6ec64c396b musl: Update to latest master
Brings the following changes

* b928c723 fix return value of wmemcmp for extreme wchar_t values
* 4724793f fix wide printf numbered argument buffer overflow
* c1b42c4a wait4: fix missing rusage on x32 due to wrong success condition
* 9b12982d semtimedop: fix timespec kernel ABI mismatch for 32-bit timeouts on x32
* 6d322159 getopt: fix null pointer arithmetic ub
* 35e98311 nftw: fix use of uninitialized struct stat
* 7c410472 fix inadvertently static local var in dynlink get_lfs64
* 77327ed0 dns: check length field in tcp response message

(From OE-Core rev: 07ed616f776dd09cdadd323dfc8572491bab5aa3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Richard Purdie
1b301fa2d5 patchelf: Upgrade 0.17.2 -> 0.18.0
Add package to contain the new zsh completion files.

(From OE-Core rev: 9db1a06969e33cb7a67b196b9ff7479202384151)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Richard Purdie
24a718080f maintainers.inc: Move apt/dpkg to unassigned
(From OE-Core rev: dd5f69ab172e60eb222c599bfbab5833b94483a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Richard Purdie
d364062065 python3-psutil: Drop nativesdk class extension due to breakage
We're seeing warnings like:

WARNING: Nothing RPROVIDES 'nativesdk-procps' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil-dev' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-psutil' (but virtual:nativesdk:XXX/python3-psutil_5.9.4.bb RDEPENDS on or otherwise requires it)

which means this likely has never been working in the first place. Drop it
until it is needed and fixed to work.

(From OE-Core rev: e1c9cbe8b14c259c30df375d3f8c1bd9b3a818fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Armin Kuster
a674d7c1ce maintainers.inc: remove myself from assignment
Found two places missed with droping from this list a few years back.

(From OE-Core rev: 7db8c52dd31c495c35c239d317bc5a098662cc53)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Otavio Salvador
45269ffda1 glide: remove as 'go mod' has become standard
(From OE-Core rev: 7870364e482bfae35fb647977c8e03bf3ef1e2a9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Ross Burton
0d8b76c74f python3-pytest: add missing tomllib RDEPENDS
Pytest can call tomllib (for example, when running the
python3-cryptography tests), so add it as a RDEPENDS.

(From OE-Core rev: 2bc8c7135045cea2d95990df7df96f271a609758)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Richard Purdie
5caf9e375f oeqa/runtime/ptest: Make returning no test results a failure
Ensure that even if a ptests results section is empty, the log parser adds that
empty section. Then ensure that empty sections trigger warnings.

This means if a ptest suddently stops returning any results, we notice and see
warnings about it. This has gone unnoticed on the autobuilder far too many times
so is very much worth highlighting as a regression. We shouldn't have empty ptests.

(From OE-Core rev: 5ad0cf57b41ec7f44647a03bc568d0b24906cc8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 07:33:18 +01:00
Qiu Tingting
9ca04fc169 lz4: Add ptest support
Add a ptest for lz4.
- It is taking around 9 min to execute with kvm, so added it to PTEST_SLOW.
- It contains one case: test_frame.
- Below is the run log:
  START: ptest-runner
  2023-04-06T00:36
  BEGIN: /usr/lib/lz4/ptest
  Starting lz4frame tester (64-bits, 1.9.4)
  Seed = 7314
  Basic tests completed
  All tests completed
  PASS: lz4/test_frame
  DURATION: 573
  END: /usr/lib/lz4/ptest
  2023-04-06T00:45
  STOP: ptest-runner
  TOTAL: 1 FAIL: 0

(From OE-Core rev: 2ee144a0bfb88823bfa788697bb7afc9a572c413)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-02 10:25:40 +01:00
Richard Purdie
768c89e306 gcc/go: Drop crosssdk suffix from virtual provides to improve dependency handling
There is little point in having "crosssdk" suffex added to the virtual provider within
gcc/go since the TARGET_PREFIX or SDK_PREFIX already encapsulates this. Remove it
allowing some of the special case overriding to be removed.

This also allows removal of some of the MLPREFIX usage since again, the triplet
also covers this.

(From OE-Core rev: fe0206ba482d209b24e636d578aa68ba5e67ba1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-02 10:24:50 +01:00
Richard Purdie
9a20fbe23f binutils: Drop crosssdk suffix from virtual provides to improve dependency handling
There is little point in having "crosssdk" suffex added to the virtual provider within
binutils since the TARGET_PREFIX or SDK_PREFIX already encapsulates this. Remove it
allowing some of the special case overriding to be removed.

(From OE-Core rev: 6856fc5c848cc2564bebe03a007ef109f46d0adb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-02 10:24:50 +01:00
Richard Purdie
af40561315 bitbake: cooker: Log config and parse cache status changes
It can be hard to tell why bitbake does some things slowly. Log the changes
to the base configuration and parse cache status so that it becomes clear
from the logs when the cache invalidation causes a slowdown.

(Bitbake rev: 6e99d89f3c00a5f53c24d687eaef24f52fe0ef99)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-02 10:24:50 +01:00
Michael Opdenacker
cce6db2a59 ref-manual: variables.rst: document KERNEL_DANGLING_FEATURES_WARN_ONLY
(From yocto-docs rev: dc59b636bb4319a3af552bce84929ddb22a479fb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
b01a12a135 manuals: expand init manager documentation
- Add details about INIT_MANAGER
  Correct the fact that "none" currently generates
  an image with "sysvinit", at least on Poky.
  This behaviour should probably be changed.

- Expand the "Selecting an Initialization Manager" section.

- Stop mentioning "rescue image" generation, as this
  is not detailed anywhere else.

(From yocto-docs rev: fd99f2753b50b7ad6133b787b90331fcb3a35152)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
7f39a583e7 migration-guides: fixes and improvements to 4.2 release notes
- Remove empty subsections (detailed elsewhere)
- Fix bullet list syntax (missing leading empty line)
- Fix a few CVE URLs
- Add some references
- Minor font and case fixes

(From yocto-docs rev: ec63abf8b67458ad9f8d8942e0c327d3de93eef9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
c621743c13 migration-guides: release-notes-4.0.9.rst: add missing SPDX info
(From yocto-docs rev: 59b6dcc2ea952a76df96b6b8ae80cce5dcae4161)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
59f7a0ee5a ref-manual: add "Mixin" term
Also add a target (and use) a target
for the "Long Term Support Release" section.

(From yocto-docs rev: 98d6f2066fcdb20e63b8da6ed52d0f3590b15195)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
a9bd0f690e overview-manual: development-environment: update text and screenshots
- Reduce the importance of https://downloads.yoctoproject.org/releases
  (mostly obsolete), mention only
  https://downloads.yoctoproject.org/releases/yocto/

- Update the corresponding text, especially the names of the components.

- Update screenshots.

(From yocto-docs rev: 9b2eb5f19f6121406ff7b72b846554f3016bc789)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
9b6a25606e manuals: document SPDX_CUSTOM_ANNOTATION_VARS
(From yocto-docs rev: 5811f4eb3e73aa5f8ca90e40ec6559a6d4d58fa3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Saul Wold <Saul.Wold@windriver.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
aa6c2cc60e overview-manual: update section about source archives
Except the "yocto" and "uninative" directories, everything
under https://downloads.yoctoproject.org/releases/, in particular
"bitbake".

Point to https://downloads.yoctoproject.org/releases/yocto/
instead for people interested in tar archives.

Simplify the description too, unnecessarily verbose.

(From yocto-docs rev: 502b00003b1c84d7b419f01b87a6ab6a121a7ad9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
c48e088682 ref-manual: variables.rst: add wikipedia shortcut for "getty"
(From yocto-docs rev: 2f07fddce909d13a7175e713118af7730e2e5529)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
86d9c4cb2a ref-manual: remove unused and obsolete file
(From yocto-docs rev: 707596c89e42b222df1f1659eb39a7574fba95e9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Michael Opdenacker
6f71ce8214 ref-manual: classes.rst: document devicetree.bbclass
This addresses [YOCTO #15092]

(From yocto-docs rev: f65816f5ea62e6c4301c0bd0c6aad91110963f9e)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-28 14:46:17 +01:00
Yoann Congal
8fba302211 cve-extra-exclusions: linux-yocto: ignore fixed CVE-2023-1652 & CVE-2023-1829
CVE-2023-1652 & CVE-2023-1829 are fixed by all version used by
linux-yocto.

Fixing commits are not referenced by NVD but are referenced by:
* https://www.linuxkernelcves.com
* Debian kernel-sec team
... this should be trust worthy enough.

(From OE-Core rev: 8f9d6c5b0238641313387c139442566752a1d25d)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Randolph Sapp
ef577b03d7 wic/bootimg-efi: if fixed-size is set then use that for mkdosfs
This is a bit of a compatibility issue more than anything. Some devices
get upset if the FAT file system contains less blocks than the
partition.

The fixed-size argument is currently respected by the partition creation
step but not by the file system creation step. Let's make it so the file
system respects this value as well.

(From OE-Core rev: 38e1a235f5eceade7c871f96dc97f6c384384c7b)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Wang Mingyu
24f1964fcd gdb: Fix conflict of sframe-spec.info
error message:
file /usr/share/info/sframe-spec.info conflicts between attempted installs of binutils-doc-2.40-r0.aarch64 and gdb-doc-13.1-r0.aarch64

(From OE-Core rev: 26760f6220b459a34e6cdef3cd70be40dc3b68c8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Khem Raj
dd317ae2a0 m4: Do not munge locale in ptests for musl
locale setting are done with glibc in mind and they cause segfaults with
musl. Therefore make these tweaks specific to glibc

(From OE-Core rev: ec613440e4fb9a9d1f35081654a6d95dee6dc3bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Pascal Bach
cce022a507 cmake: add CMAKE_SYSROOT to generated toolchain file
This already got fixed in the toolchain file that is used during development
in cb42802f2f

The toolchain file generated by the cmake.bbclass however does not set
CMAKE_SYSROOT. Under certain circumstances this also leads to the error:
`"stdlib.h: No such file or directory #include_next <stdlib.h>"`
during the build of a recipe.

An example where this accured was during the upgrade of the Apache Thrift
recipe in meta-openembedded to 0.11.0. With this change the build works out of
the box.

CMAKE_SYSROOT must only be set when crosscompiling, otherwise it will interfere
with the native compiler headers.

(From OE-Core rev: eb51e30e17c0c98441583854e8f8632e4fb5d11c)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>

(from http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154791.html )

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Poonam Jadhav <ppjadhav456@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Khem Raj
a83f1f289d fts: Fix typo in summary
(From OE-Core rev: 0bcf105ec39ea86836ec05d4bd1746bbaaec7406)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Khem Raj
4bbf473b64 acl: Disable misc.test on musl
misc.test fails on musl due to nftw order, ignore it for now

(From OE-Core rev: 91168c7ddb06454106fa15bd26e7dc70db6eefd0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Khem Raj
6f45ae15f2 attr: Disable attr.test on musl
the error message in musl based systems is
EXPECTED: Operation not supported
RECIEVED: Not supported

The test is then marked as failed due to this.
Ignore this test on musl

(From OE-Core rev: b29ce2f571fa38646e5d2000a502eed040cae1c0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Khem Raj
aab8d5b6a4 lua: Disable locale dependent tests on musl
These tests depend on features of locale which is not fully available on
musl

(From OE-Core rev: 1179ab508b9cf6492d9c92887c11a8030e8a9763)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Qiu Tingting
074b39e7d5 coreutils: Delete gcc sysroot parameter for ptest on target
If gcc is installed in image, ptest result has 4 ERROR.
  ERROR: tests/rm/r-root.sh
  ERROR: tests/rm/rm-readdir-fail.sh
  ERROR: tests/cp/nfs-removal-race.sh
  ERROR: tests/ls/getxattr-speedup.sh

r-root.log as an example:
  --------------------------
  k.c:1:10: fatal error: stdio.h: No such file or directory
  1 | #include <stdio.h>
    |  ^~~~~~~~~
  compilation terminated.
  r-root.sh: set-up failure: failed to build shared library
  ERROR tests/rm/r-root.sh (exit status: 99)
  --------------------------

reason:
  The run-ptest calls make cmd to run test cases.
  In these cases, k.c file is created and compiled by gcc before run.
  There is a stdio.h file in /usr/include/ directory.
  Normally, gcc has /usr/include as part of its default search path.
  But in Makefile, it has the "--sysroot=recipe-sysroot" parameter
  which makes it does not work.

solution:
  Delete "--sysroot=recipe-sysroot" from Makefile.

other:
  If gcc is not installed in image, these cases will be skipped.

(From OE-Core rev: e8ccb880c85ec03d055f195f28ba6a838b4b93c7)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:41:31 +01:00
Bruce Ashfield
42acfb14bd linux-yocto/5.15: update to v5.15.108
Updating  to the latest korg -stable release that comprises
the following commits:

    3299fb36854f Linux 5.15.108
    adef0cebea85 nvme-pci: avoid the deepest sleep state on ZHITAI TiPro5000 SSDs
    c6897dfe2bb6 counter: Add the necessary colons and indents to the comments of counter_compi
    fa934784fb65 counter: fix docum. build problems after filename change
    0cf283340023 panic, kexec: make __crash_kexec() NMI safe
    9e1e511119b1 kexec: turn all kexec_mutex acquisitions into trylocks
    6fc7a53fcc4c nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
    fa43e0591900 nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
    a814fc9e6e59 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM760
    972e06d09e86 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM610
    cf773832139b nvme-pci: Crucial P2 has bogus namespace ids
    5a19b9a49aea nvme-pci: avoid the deepest sleep state on ZHITAI TiPro7000 SSDs
    65f5dc5dff29 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S50
    3daaa5f7aae2 i2c: ocores: generate stop condition after timeout in polling mode
    0af686415ca2 x86/rtc: Remove __init for runtime functions
    b11ff3ef4d09 sched/fair: Fix imbalance overflow
    90e3dc510106 sched/fair: Move calculate of avg_load to a better location
    6d1353781bba powerpc/papr_scm: Update the NUMA distance table for the target node
    0b031f5983f8 ubi: Fix deadlock caused by recursively holding work_sem
    85d7a7044b75 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
    f0b4a4086cf2 mptcp: stricter state check in mptcp_worker
    925e1a510a2e mptcp: use mptcp_schedule_work instead of open-coding it
    f4f2a1d491e9 cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
    19c7f9329bdb x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
    05143d90ac90 scsi: ses: Handle enclosure with just a primary component gracefully
    aaae6d303150 net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
    b1ca14361d49 net: phy: nxp-c45-tja11xx: add remove callback
    0359e505bcd7 net: sfp: initialize sfp->i2c_block_size at sfp allocation
    a42f565c0e96 riscv: add icache flush for nommu sigreturn trampoline
    6eeb1cba4c9d drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
    9b344cf6aea0 i915/perf: Replace DRM_DEBUG with driver specific drm_dbg call
    6b337a13c144 tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
    1403518ed0d9 tracing: Add trace_array_puts() to write into instance
    670e54151b7a counter: 104-quad-8: Fix Synapse action reported for Index signals
    6e25d374cd95 counter: Internalize sysfs interface code
    c4153e662883 counter: stm32-timer-cnt: Provide defines for slave mode selection
    4c1010848b12 counter: stm32-lptimer-cnt: Provide defines for clock polarities
    189ada57e88c ACPI: resource: Add Medion S17413 to IRQ override quirk
    248a18a895e2 wifi: iwlwifi: mvm: fix mvmtxq->stopped handling
    0efd9ed92926 asymmetric_keys: log on fatal failures in PE/pkcs7
    ae2b44aeade1 verify_pefile: relax wrapper length check
    744f80ae0716 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
    05a24344296e efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
    0f9d2fc58824 i2c: hisi: Avoid redundant interrupts
    d21a46212009 i2c: imx-lpi2c: clean rx/tx buffers upon new message
    8451da304b4a wifi: mwifiex: mark OF related data as maybe unused
    9aeff275b7f7 power: supply: cros_usbpd: reclassify "default case!" as debug
    788f4a3d3987 ARM: 9290/1: uaccess: Fix KASAN false-positives
    53967ac8080b libbpf: Fix single-line struct definition output in btf_dump
    906a6689bb01 skbuff: Fix a race between coalescing and releasing SKBs
    7ccc58a1a756 net: macb: fix a memory corruption in extended buffer descriptor mode
    ed2ec39e46fe udp6: fix potential access to stale information
    e97ff11b396c RDMA/core: Fix GID entry ref leak when create_ah fails
    6109f5b13ce3 sctp: fix a potential overflow in sctp_ifwdtsn_skip
    c6a796ee5a63 net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
    9b1ca43bcf3d qlcnic: check pci_reset_function result
    ffa4f32952e2 drm/armada: Fix a potential double free in an error handling path
    a94f5d35fdbb tcp: restrict net.ipv4.tcp_app_win
    a08ec4ed3b6e niu: Fix missing unwind goto in niu_alloc_channels()
    e35ae49bc198 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
    b41da67451b0 bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
    48e8e7851dc0 RDMA/cma: Allow UD qp_type to join multicast only
    1569a4cdb973 IB/mlx5: Add support for 400G_8X lane speed
    f6711bc5c016 RDMA/irdma: Add ipv4 check to irdma_find_listener()
    c8c7a7aee861 RDMA/irdma: Increase iWARP CM default rexmit count
    810250c9c661 RDMA/irdma: Fix memory leak of PBLE objects
    aa2607bae45f clk: sprd: set max_register according to mapping range
    0004a50c535f drm/i915/dsi: fix DSS CTL register offsets for TGL+
    1bb4a52c3caa KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
    c7acce3a0eeb mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
    7233b5baba10 mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
    5ded9b750f30 mtd: rawnand: meson: fix bitmask for length in command word
    0162836a51bb mtdblock: tolerate corrected bit-flips
    ad574345ce26 fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
    a55a95365e08 btrfs: fix fast csum implementation detection
    6da03c237d56 btrfs: print checksum type and implementation at mount time
    0efb276d5848 Bluetooth: Fix race condition in hidp_session_thread
    ac6725a634f7 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
    d98498ad5695 ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
    c5797c87e74e ALSA: emu10k1: don't create old pass-through playback device on Audigy
    f1ef453157b4 ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
    7901d787e455 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
    d8697aa12ae6 ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
    34a0ada0a8b2 ALSA: emu10k1: fix capture interrupt handler unlinking
    55e4eef5545d Revert "pinctrl: amd: Disable and mask interrupts on resume"

(From OE-Core rev: f430362a2bd2d40b878f09486bb42315867cdc2d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:15:31 +01:00
Bruce Ashfield
a769ebbd5f linux-yocto/6.1: update to v6.1.25
Updating  to the latest korg -stable release that comprises
the following commits:

    f17b0ab65d17 Linux 6.1.25
    243d9f3a1101 cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods
    e33ab28395d3 cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properly
    ff5a4fe2598e cgroup/cpuset: Skip spread flags update on v2
    1058e9a130ce nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
    dfae73fafd72 nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
    f4523cd4986f cifs: fix negotiate context parsing
    8f09ece19c22 i2c: ocores: generate stop condition after timeout in polling mode
    6f5758fd2edf x86/rtc: Remove __init for runtime functions
    31c5ad43bdd1 sched/fair: Fix imbalance overflow
    98c77adf519d powerpc/papr_scm: Update the NUMA distance table for the target node
    9277d0e5889c i2c: mchp-pci1xxxx: Update Timing registers
    50eb90da4fa0 ubi: Fix deadlock caused by recursively holding work_sem
    3dce44039b62 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
    aff9099e9c51 mptcp: stricter state check in mptcp_worker
    4d433920eb5e mptcp: use mptcp_schedule_work instead of open-coding it
    1f93ed9a6841 drm/amd/pm: correct SMU13.0.7 max shader clock reporting
    8464a01508f4 drm/amd/pm: correct SMU13.0.7 pstate profiling clock settings
    a746ad276b2e cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
    f06c9b01540c cgroup/cpuset: Fix partition root's cpuset.cpus update bug
    53244494bfcb cgroup: fix display of forceidle time at root
    226f6410fd43 x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
    f8e702c54413 scsi: ses: Handle enclosure with just a primary component gracefully
    c918d0bc687c net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
    4fb1a978a373 net: phy: nxp-c45-tja11xx: add remove callback
    4b3101989e19 net: sfp: initialize sfp->i2c_block_size at sfp allocation
    6c8cc40c588f HID: intel-ish-hid: Fix kernel panic during warm reset
    5d12b36d72bb riscv: add icache flush for nommu sigreturn trampoline
    a2f6ded41bec ksmbd: avoid out of bounds access in decode_preauth_ctxt()
    2128f7c00fa5 maple_tree: fix write memory barrier of nodes once dead for RCU mode
    f58574f238c3 tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
    5620eeb379d1 tracing: Add trace_array_puts() to write into instance
    41afd2473dc4 KVM: SVM: Flush Hyper-V TLB when required
    d8b1253f223c x86/hyperv: KVM: Rename "hv_enlightenments" to "hv_vmcb_enlightenments"
    8eb5ca7f344e KVM: SVM: Add a proper field for Hyper-V VMCB enlightenments
    38b091c8a3f2 KVM: selftests: Move "struct hv_enlightenments" to x86_64/svm.h
    59ef934fcc52 x86/hyperv: Move VMCB enlightenment definitions to hyperv-tlfs.h
    6e999e45ab1c ACPI: resource: Add Medion S17413 to IRQ override quirk
    8c1e247907b9 drm/amdgpu/gfx: set cg flags to enter/exit safe mode
    b4efb6af93ca drm/amdgpu: Force signal hw_fences that are embedded in non-sched jobs
    df27bcd0cf2b drm/amdgpu: add mes resume when do gfx post soft reset
    6c2103d9a88e wifi: iwlwifi: mvm: protect TXQ list manipulation
    742ae1a6c65d wifi: iwlwifi: mvm: fix mvmtxq->stopped handling
    bb0cf2bd6363 nvme: send Identify with CNS 06h only to I/O controllers
    3221808c1c6e asymmetric_keys: log on fatal failures in PE/pkcs7
    d29a47b456fd verify_pefile: relax wrapper length check
    9d482a09acd3 hwmon: (xgene) Fix ioremap and memremap leak
    f2226c840f8d hwmon: (peci/cputemp) Fix miscalculated DTS for SKX
    1fe2ed70c054 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
    25d36216b160 ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG
    cec44fdfbdd6 block: ublk_drv: mark device as LIVE before adding disk
    09b1f40a4ea2 efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
    a1cfba541300 i2c: hisi: Avoid redundant interrupts
    bd51c04b7e18 i2c: imx-lpi2c: clean rx/tx buffers upon new message
    bf7d62cac546 wifi: mwifiex: mark OF related data as maybe unused
    3565e0b6bca5 selftests/bpf: Fix progs/find_vma_fail1.c build error.
    ac5866fcb6f5 power: supply: axp288_fuel_gauge: Added check for negative values
    d71b48d5b181 power: supply: cros_usbpd: reclassify "default case!" as debug
    43bba80efd07 power: supply: rk817: Fix unsigned comparison with less than zero
    eb365d1f507d ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
    19fdbc60b6be ARM: 9290/1: uaccess: Fix KASAN false-positives
    8a5342878429 libbpf: Fix single-line struct definition output in btf_dump
    71850b5af92d skbuff: Fix a race between coalescing and releasing SKBs
    9412a9bf5952 net: macb: fix a memory corruption in extended buffer descriptor mode
    ecdf42c23f3f udp6: fix potential access to stale information
    6985701e628a selftests: openvswitch: adjust datapath NL message declaration
    370280c65c28 RDMA/core: Fix GID entry ref leak when create_ah fails
    5c9367ac5a22 sctp: fix a potential overflow in sctp_ifwdtsn_skip
    bef57c227b52 net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
    3756171b97c3 cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex
    eabf778f9b21 net: wwan: iosm: Fix error handling path in ipc_pcie_probe()
    f517b5ee826a qlcnic: check pci_reset_function result
    09f4dec1f6ac drm/armada: Fix a potential double free in an error handling path
    a3f1344a7644 Bluetooth: Set ISO Data Path on broadcast sink
    2fcfd51add22 Bluetooth: SCO: Fix possible circular locking dependency sco_sock_getsockopt
    99f1bc32ebcb Bluetooth: Fix printing errors if LE Connection times out
    7c90d78301f8 Bluetooth: hci_conn: Fix not cleaning up on LE Connection failure
    644b3051b06b net: openvswitch: fix race on port output
    d10c951191af iavf: remove active_cvlans and active_svlans bitmaps
    aa0f377c9b00 iavf: refactor VLAN filter states
    4f6c08c2323b bonding: fix ns validation on backup slaves
    9d7765638fd8 tcp: restrict net.ipv4.tcp_app_win
    53a22fa7f9c2 niu: Fix missing unwind goto in niu_alloc_channels()
    24da5765d1ed KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs
    361b02e68181 KVM: arm64: Initialise hypervisor copies of host symbols unconditionally
    8b9c64942ada bpf, arm64: Fixed a BTI error on returning to patched function
    c4002b9d5e83 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
    b7abd535881a dmaengine: apple-admac: Fix 'current_tx' not getting freed
    fdbd0392352c dmaengine: apple-admac: Set src_addr_widths capability
    c7bb085947c3 dmaengine: apple-admac: Handle 'global' interrupt flags
    37b39345b952 LoongArch, bpf: Fix jit to skip speculation barrier opcode
    db9c9086d362 bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
    02eabb635bc6 RDMA/cma: Allow UD qp_type to join multicast only
    74f4471ad642 clk: rs9: Fix suspend/resume
    132918e08e86 RDMA/erdma: Defer probing if netdevice can not be found
    d682c9bc41fa RDMA/erdma: Inline mtt entries into WQE if supported
    3570f3cc4aab RDMA/erdma: Update default EQ depth to 4096 and max_send_wr to 8192
    9554a6b5e2ec IB/mlx5: Add support for 400G_8X lane speed
    6ea322a1ee6a RDMA/irdma: Add ipv4 check to irdma_find_listener()
    ad960ae9f56a RDMA/irdma: Increase iWARP CM default rexmit count
    ee02fa4a71bd RDMA/irdma: Fix memory leak of PBLE objects
    6d61b0cc2ade RDMA/irdma: Do not generate SW completions for NOPs
    b8f3162579e1 clk: sprd: set max_register according to mapping range
    8d901a336302 drm/i915/dsi: fix DSS CTL register offsets for TGL+
    b15df140fe09 fbcon: set_con2fb_map needs to set con2fb_map!
    93aa242f598e fbcon: Fix error paths in set_con2fb_map
    d6c4dfb62d55 KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
    3ad491459d4a mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
    1029642ce63e mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
    4efb01e9e3f4 mtd: rawnand: meson: fix bitmask for length in command word
    205c503c8920 mtdblock: tolerate corrected bit-flips
    d5392c1c64f9 fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
    874cf0b2c0a8 btrfs: fix fast csum implementation detection
    3103c0781257 btrfs: restore the thread_pool= behavior in remount for the end I/O workqueues
    8c4b65f6c707 Bluetooth: hci_conn: Fix possible UAF
    4290d89ae934 Bluetooth: Free potentially unfreed SCO connection
    ba7d93969275 bluetooth: btbcm: Fix logic error in forming the board name.
    f6719fd8f409 Bluetooth: Fix race condition in hidp_session_thread
    348d446762e7 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
    71964e93fcb1 ALSA: hda/hdmi: disable KAE for Intel DG2
    d5c9d46f1c1d ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
    cd65ce6696b2 ALSA: emu10k1: don't create old pass-through playback device on Audigy
    8456a96c6b3b ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
    97d70398126d ALSA: hda/realtek: Add quirks for Lenovo Z13/Z16 Gen2
    474f951fb2f8 ALSA: hda: patch_realtek: add quirk for Asus N7601ZM
    165182b56569 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
    721cdcb7a53b ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
    409f3e57fd2b ALSA: emu10k1: fix capture interrupt handler unlinking
    779fd2a575cc drm/amd/display: Pass the right info to drm_dp_remove_payload
    8b1700d79f9e Revert "pinctrl: amd: Disable and mask interrupts on resume"

(From OE-Core rev: d94d3eba31aa861815eaa1622c0a56fb7253441d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:15:31 +01:00
Bruce Ashfield
50d461df73 linux-yocto/5.15: update to v5.15.107
Updating  to the latest korg -stable release that comprises
the following commits:

    4fdad925aa1a Linux 5.15.107
    c862d7debe55 bpftool: Print newline before '}' for struct with padding only fields
    1585f3fc24b5 ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown
    b97e4100be37 kbuild: fix single directory build
    326b80bd2267 mm: take a page reference when removing device exclusive entries
    1fc9263ad795 drm/bridge: lt9611: Fix PLL being unable to lock
    4bdf1514b426 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
    cbe5f7fed7f7 ring-buffer: Fix race while reader and writer are on the same page
    23ed5af5767a drm/nouveau/disp: Support more modes by checking with lower bpc
    6f2180c5273a drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
    a184df0de132 mm: vmalloc: avoid warn_alloc noise caused by fatal signal
    d88d7a9fcf20 ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
    33d5d4e67a0e tracing: Free error logs of tracing instances
    c74065da695e can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
    4fe1d9b6231a can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
    0af8fae81d8b fs: drop peer group ids under namespace lock
    33a503b7c339 ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
    20c5e10950e9 ftrace: Mark get_lock_parent_ip() __always_inline
    a007b7dc19de perf/core: Fix the same task check in perf_event_set_output
    8417eb9aaf1e cifs: sanitize paths in cifs_update_super_prepath.
    df23c702d11c smb3: lower default deferred close timeout to address perf regression
    1d9cad9c5873 smb3: allow deferred close timeout to be configurable
    5e5c5f472972 scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
    ae73c4dd48f2 scsi: qla2xxx: Fix memory leak in qla2x00_probe_one()
    c8c17991dab0 iio: adc: ad7791: fix IRQ flags
    bc61cce6a658 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
    97302eb6ca48 coresight: etm4x: Do not access TRCIDR1 for identification
    fd23e9bbfccc ALSA: hda/realtek: Add quirk for Clevo X370SNW
    f204f38212dc ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
    091b3e31275b dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
    d540aea451ab nilfs2: fix sysfs interface lifetime
    92684e02654c nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
    ba3a88b444cd tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
    ad142624ccc3 tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
    1184bd5c5ee4 tty: serial: sh-sci: Fix transmit end interrupt handler
    1f49173be32d iio: light: cm32181: Unregister second I2C client if present
    77593b4e963c iio: dac: cio-dac: Fix max DAC write value check for 12-bit
    73742a446e08 iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
    7a1e21d26104 iio: adis16480: select CONFIG_CRC32
    4d3841fe16c4 USB: serial: option: add Quectel RM500U-CN modem
    7151d2af0656 USB: serial: option: add Telit FE990 compositions
    e1aa1c1bc51f usb: typec: altmodes/displayport: Fix configure initial pin assignment
    9cd66aa2fa04 USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
    f8d59e2a36ac usb: dwc3: pci: add support for the Intel Meteor Lake-S
    11453332fa40 usb: cdnsp: Fixes error: uninitialized symbol 'len'
    83637720ea20 xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
    1122474b757a usb: xhci: tegra: fix sleep in atomic call
    f5c5934580e7 kbuild: refactor single builds of *.ko
    e62d179b9177 gve: Secure enough bytes in the first TX desc for all TCP pkts
    40c6802d7dae ethtool: reset #lanes when lanes is omitted
    4eada1dabdfb ice: Reset FDIR counter in FDIR init stage
    391d28c0e38c ice: fix wrong fallback logic for FDIR
    e215928a510c NFSD: callback request does not use correct credential for AUTH_SYS
    bbca64f2052e sunrpc: only free unix grouplist after RCU settles
    ca7c3b4ae03e net: stmmac: fix up RX flow hash indirection table when setting channels
    3a997c0d2341 net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
    0ae8cdf0153c gpio: davinci: Add irq chip flag to skip set wake
    1c19a42b2863 platform/x86: think-lmi: Clean up display of current_value on Thinkstation
    cccdb30935c8 platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
    b9396d991abe platform/x86: think-lmi: Fix memory leak when showing current settings
    d65ff2fe877c ipv6: Fix an uninit variable access bug in __ip6_make_skb()
    926c8299ac3d net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
    667eb99cf7c1 sctp: check send stream number after wait_for_sndbuf
    9692e16b5991 net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
    5d1007e81fb6 net: don't let netpoll invoke NAPI if in xmit context
    e150a5c9f44c icmp: guard against too small mtu
    a64160124d5a NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL
    b9ba5906c420 net: qrtr: Fix a refcount bug in qrtr_recvmsg()
    3ef52e4bcfd7 net: qrtr: combine nameservice into main module
    30c5a016a37a wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
    32a8dc8d9ebe KVM: s390: pv: fix external interruption loop not always detected
    fcd6c7476e43 pwm: sprd: Explicitly set .polarity in .get_state()
    a8ab13c73259 pwm: cros-ec: Explicitly set .polarity in .get_state()
    c373e49fbb87 Drivers: vmbus: Check for channel allocation before looking up relids
    b50cd6789dbb gpio: GPIO_REGMAP: select REGMAP instead of depending on it
    0a473f834393 bpf: hash map, avoid deadlock with suitable hash mask
    543d66a54dbf serial: exar: Add support for Sealevel 7xxxC serial cards
    7773bb08e8b6 serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards
    c73db89da686 iavf/iavf_main: actually log ->src mask when talking about it
    b2d29830db30 iavf: return errno code instead of status code
    cdf3f5ef1893 platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode
    7798cd69cfc3 platform/x86: int3472: Split into 2 drivers
    5cc70e78bbcc RDMA/irdma: Do not request 2-level PBLEs for CQ alloc
    c22ac849aabb NFSD: pass range end to vfs_fsync_range() instead of count
    34a14759d90c NFSD: Fix sparse warning
    8059e200259e ocfs2: fix memory leak in ocfs2_mount_volume()
    b613d8dcdff3 ocfs2: rewrite error handling of ocfs2_fill_super
    05abe9c0bf38 ocfs2: ocfs2_mount_volume does cleanup job before return error

(From OE-Core rev: 86b0707ac9a36d46acbdcd006c28ea1ed35e904b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:15:31 +01:00
Bruce Ashfield
22cae3525a linux-yocto/6.1: update to v6.1.24
Updating  to the latest korg -stable release that comprises
the following commits:

    0102425ac76b Linux 6.1.24
    77e41187a387 bpftool: Print newline before '}' for struct with padding only fields
    1c87a6f82a4e mm: enable maple tree RCU mode by default.
    9b6627bc36aa maple_tree: add RCU lock checking to rcu callback functions
    a29025a1b61c maple_tree: add smp_rmb() to dead node detection
    d3af5f8a50dd maple_tree: remove extra smp_wmb() from mas_dead_leaves()
    cc2f2507f3f0 maple_tree: fix freeing of nodes in rcu mode
    5f7c59126498 maple_tree: detect dead nodes in mas_start()
    3825e4495bcc maple_tree: refine ma_state init from mas_start()
    64cb480523b4 maple_tree: be more cautious about dead nodes
    0a0372d1d234 maple_tree: fix mas_prev() and mas_find() state handling
    19d8f782e380 maple_tree: fix handle of invalidated state in mas_wr_store_setup()
    2c9bc4903b96 maple_tree: reduce user error potential
    f41e9e69277b maple_tree: fix potential rcu issue
    edc5a4e880fa maple_tree: remove GFP_ZERO from kmem_cache_alloc() and kmem_cache_alloc_bulk()
    0b73b8ac30c3 mm: take a page reference when removing device exclusive entries
    726825297dd6 drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
    64244a900ddf drm/i915: Use _MMIO_PIPE() for SKL_BOTTOM_COLOR
    0a3e21976517 drm/bridge: lt9611: Fix PLL being unable to lock
    1297278ce239 drm/i915/dp_mst: Fix payload removal during output disabling
    0c64d72fd3f2 drm/display/dp_mst: Handle old/new payload states in drm_dp_remove_payload()
    62de38c8201d drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset
    73ca74fc7ab6 drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume
    245525543f48 drm/amd/display: Clear MST topology if it fails to resume
    414207ff47d1 blk-throttle: Fix that bps of child could exceed bps limited in parent
    240bb94f3510 maple_tree: fix a potential concurrency bug in RCU mode
    4f5760757fa2 maple_tree: fix get wrong data_end in mtree_lookup_walk()
    f042ee354c82 mm/hugetlb: fix uffd wr-protection for CoW optimization path
    85cc118ce6f1 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
    3663f5d5bb1f ring-buffer: Fix race while reader and writer are on the same page
    240b15027088 drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
    4e29fb89f771 drm/i915: Fix context runtime accounting
    e53d28a6df0e drm/nouveau/disp: Support more modes by checking with lower bpc
    3c260efd82f5 drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
    b4b37727bc78 ublk: read any SQE values upfront
    94dd3a274bf5 wifi: mt76: ignore key disable commands
    ef6bd8f64ce0 mm: vmalloc: avoid warn_alloc noise caused by fatal signal
    0d33aa43516a zsmalloc: document freeable stats
    dc48648699c7 tracing/synthetic: Make lastcmd_mutex static
    14d34eb9b076 ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
    c0cf0f55be04 tracing: Free error logs of tracing instances
    1ea5f8d1facd tracing/osnoise: Fix notify new tracing_max_latency
    162e6e6ff25f tracing/timerlat: Notify new max thread latency
    9fe183f659a2 tracing/synthetic: Fix races on freeing last_cmd
    101e8e6bbae5 net: stmmac: Add queue reset into stmmac_xdp_open() function
    106e64a2e6a5 ACPI: video: Add acpi_backlight=video quirk for Lenovo ThinkPad W530
    1c2842a7fdac ACPI: video: Add acpi_backlight=video quirk for Apple iMac14,1 and iMac14,2
    9610adf8b2c8 ACPI: video: Make acpi_backlight=video work independent from GPU driver
    be12e390c246 ACPI: video: Add auto_detect arg to __acpi_video_get_backlight_type()
    b14abd688714 can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos
    f0bfe06c5569 can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
    db3f6340a7eb can: isotp: fix race between isotp_sendsmg() and isotp_release()
    4c3fb22a6ec6 can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
    ddca03d97daa fs: drop peer group ids under namespace lock
    3caa69378107 ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
    68973c84ea23 ftrace: Mark get_lock_parent_ip() __always_inline
    023036e38923 perf/core: Fix the same task check in perf_event_set_output
    a2eb778aacea block: don't set GD_NEED_PART_SCAN if scan partition failed
    231a49460ac0 block: ublk: make sure that block size is set correctly
    fb9ec305e764 cifs: sanitize paths in cifs_update_super_prepath.
    012c045d6128 nvme: fix discard support without oncs
    6e06a68fbbfc scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
    44374911ac63 scsi: qla2xxx: Fix memory leak in qla2x00_probe_one()
    ac48787f58d1 io_uring: fix memory leak when removing provided buffers
    bd4081fa1cd9 io_uring: fix return value when removing provided buffers
    9f03d09b090c iio: adc: ad7791: fix IRQ flags
    9c8fb43419a9 blk-mq: directly poll requests
    5a62d771e514 counter: 104-quad-8: Fix Synapse action reported for Index signals
    6284b686c276 counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
    e3d2f71fbf09 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
    13ec3c238f4b coresight: etm4x: Do not access TRCIDR1 for identification
    54df8e39ce25 mm: kfence: fix handling discontiguous page
    476699a8a739 mm: kfence: fix PG_slab and memcg_data clearing
    dc54e4ea3190 KVM: nVMX: Do not report error code when synthesizing VM-Exit from Real Mode
    5f35a72fcc8b KVM: x86: Clear "has_error_code", not "error_code", for RM exception injection
    da429cddabe0 x86/ACPI/boot: Use FADT version to check support for online capable
    29e8d76446e8 x86/acpi/boot: Correct acpi_is_processor_usable() check
    cc53c92b7c96 ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    f66a18f8915c ALSA: hda/realtek: Add quirk for Clevo X370SNW
    a8334a0c535d ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
    c1f461ed5d24 ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
    e736180eaf03 serial: 8250: Prevent starting up DMA Rx on THRI interrupt
    4230a94cbe37 dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
    1942ccb7d95f nilfs2: fix sysfs interface lifetime
    bae009a2f1b7 nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
    b347d5474225 tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
    0fd57dd7a79d tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
    2a6dd54da5de tty: serial: sh-sci: Fix transmit end interrupt handler
    85c3acbeef41 iio: light: cm32181: Unregister second I2C client if present
    9ba3466e6336 iio: buffer: make sure O_NONBLOCK is respected
    1658d973b2f8 iio: buffer: correctly return bytes written in output buffers
    59d667d7ae46 iio: dac: cio-dac: Fix max DAC write value check for 12-bit
    c723a410a497 iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
    a09eb53a18f9 iio: adc: qcom-spmi-adc5: Fix the channel name
    a876adf4ad6d iio: adis16480: select CONFIG_CRC32
    b3ea2426cc22 drivers: iio: adc: ltc2497: fix LSB shift
    2fc866050751 USB: serial: option: add Quectel RM500U-CN modem
    f91b9490a72c USB: serial: option: add Telit FE990 compositions
    9339f4b67417 usb: typec: altmodes/displayport: Fix configure initial pin assignment
    f2dc47de2874 USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
    0105bcb9e555 usb: dwc3: pci: add support for the Intel Meteor Lake-S
    095eb65bba30 usb: cdnsp: Fixes error: uninitialized symbol 'len'
    167c05646f67 xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
    745dbe21daf7 xhci: Free the command allocated for setting LPM if we return early
    130c61c516cd usb: xhci: tegra: fix sleep in atomic call
    2a0e0f4773fe PCI/DOE: Fix memory leak with CONFIG_DEBUG_OBJECTS=y
    87f2d92fc892 PCI/DOE: Silence WARN splat with CONFIG_DEBUG_OBJECTS=y
    5f625160b67f cxl/pci: Handle excessive CDAT length
    0d8dc8993a8d cxl/pci: Handle truncated CDAT entries
    ff7edd1ac643 cxl/pci: Handle truncated CDAT header
    021544721f49 cxl/pci: Fix CDAT retrieval on big endian
    435a319e3cc1 net: stmmac: check fwnode for phy device before scanning for phy
    70f1913824fd arm64: compat: Work around uninitialized variable warning
    332e7f93f112 gve: Secure enough bytes in the first TX desc for all TCP pkts
    e3bcf2a77060 netlink: annotate lockless accesses to nlk->max_recvmsg_len
    23a4bc3a2cec ethtool: reset #lanes when lanes is omitted
    5a08a32e6249 ping: Fix potentail NULL deref for /proc/net/icmp.
    b34056bedf04 raw: Fix NULL deref in raw_get_next().
    53a0031217c9 raw: use net_hash_mix() in hash function
    73b99db789ef ice: Reset FDIR counter in FDIR init stage
    aad3b871efe2 ice: fix wrong fallback logic for FDIR
    6460fee86abf NFSD: callback request does not use correct credential for AUTH_SYS
    94ef35dd2ea1 sunrpc: only free unix grouplist after RCU settles
    710392fd6546 net: stmmac: fix up RX flow hash indirection table when setting channels
    b29e7b24de18 net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
    c35f0a48fbd0 gpio: davinci: Add irq chip flag to skip set wake
    8309ca6f09b2 gpio: davinci: Do not clear the bank intr enable bit in save_context
    73e863aa2505 platform/x86: think-lmi: Clean up display of current_value on Thinkstation
    081da7b1c881 platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
    9071525bfcb1 platform/x86: think-lmi: Fix memory leak when showing current settings
    2c9cefc142c1 ipv6: Fix an uninit variable access bug in __ip6_make_skb()
    ef5fa4de4cac net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
    d2128636b303 sctp: check send stream number after wait_for_sndbuf
    90c29c00b156 net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
    e48e6a4652c5 net: don't let netpoll invoke NAPI if in xmit context
    8354db058092 ALSA: hda/hdmi: Preserve the previous PCM device upon re-enablement
    0185e87c69af icmp: guard against too small mtu
    b623a8e5d38a nfsd: call op_release, even when op_func returns an error
    ffcbcf087581 NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL
    0d2a6a508b9f wifi: brcmfmac: Fix SDIO suspend/resume regression
    0f638a3d1b61 l2tp: generate correct module alias strings
    c951c392a9d8 net: stmmac: remove redundant fixup to support fixed-link mode
    1aca718e1a84 net: stmmac: check if MAC needs to attach to a PHY
    2b15feabc95b net: phylink: add phylink_expects_phy() method
    aa95efa187b4 net: qrtr: Fix a refcount bug in qrtr_recvmsg()
    022c8320d9eb wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
    c46239e6295c wifi: mac80211: fix the size calculation of ieee80211_ie_len_eht_cap()
    1d797b152ca3 KVM: s390: pv: fix external interruption loop not always detected
    84f940586845 ASoC: codecs: lpass: fix the order or clks turn off during suspend
    6f62d2d396f1 pwm: meson: Explicitly set .polarity in .get_state()
    c6af1a3ae767 pwm: sprd: Explicitly set .polarity in .get_state()
    116a17f97764 pwm: iqs620a: Explicitly set .polarity in .get_state()
    8a3a6a0aca8c pwm: cros-ec: Explicitly set .polarity in .get_state()
    98ba763cc91c pwm: hibvt: Explicitly set .polarity in .get_state()
    547cc8dae247 pwm: Make .get_state() callback return an error code
    eafd3967b9e7 ASoC: SOF: ipc4: Ensure DSP is in D0I0 during sof_ipc4_set_get_data()
    8c3f0ae5435f Drivers: vmbus: Check for channel allocation before looking up relids
    8df93c8da532 gpio: GPIO_REGMAP: select REGMAP instead of depending on it
    74347b99d4eb KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPU
    3d8c8a9ad53e KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu run
    508d71a67708 KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflow
    eb3df961021b KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode
    5d70c2e2f973 dm: fix improper splitting for abnormal bios
    83ee6b272942 dm: change "unsigned" to "unsigned int"
    32bde86816aa dm integrity: Remove bi_sector that's only used by commented debug code
    6b1af0115f41 dm cache: Add some documentation to dm-cache-background-tracker.h

(From OE-Core rev: 8649e3b8ab16f43682f8246a8190bb61deae4dc4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:15:31 +01:00
Bruce Ashfield
2e8b28d98e linux-yocto/5.15: update to v5.15.106
Updating  to the latest korg -stable release that comprises
the following commits:

    d86dfc4d95cd Linux 5.15.106
    06a948b8347c x86/PVH: avoid 32-bit build warning when obtaining VGA console info
    3abdf6d71fdb hsr: ratelimit only when errors are printed
    fcc09ef87e79 libbpf: Fix btf_dump's packed struct determination
    74059587b25d selftests/bpf: Add few corner cases to test padding handling of btf_dump
    c74ae8678dfa libbpf: Fix BTF-to-C converter's padding logic
    17a61d1e9431 selftests/bpf: Test btf dump for struct with padding only fields
    6777291c7b14 zonefs: Fix error message in zonefs_file_dio_append()
    71ab5c1d506d KVM: x86: Purge "highest ISR" cache when updating APICv state
    61e0863dc8dd KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
    4483dc41d123 KVM: VMX: Move preemption timer <=> hrtimer dance to common x86
    a58d4e66712b s390/uaccess: add missing earlyclobber annotations to __clear_user()
    1dfccde646aa KVM: arm64: Disable interrupts while walking userspace PTs
    25e74e728168 drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
    3bfedfdbf92b drm/etnaviv: fix reference leak when mmaping imported buffer
    fd1f48613e9f rcu: Fix rcu_torture_read ftrace event
    9097ba15ea5c xtensa: fix KASAN report for show_stack
    8861429f883e ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
    77ab3e5f9873 ALSA: hda/realtek: Add quirks for some Clevo laptops
    f775413ffeff ALSA: usb-audio: Fix regression on detection of Roland VS-100
    b39d42ed67d5 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
    305a171cf617 NFSv4: Fix hangs when recovering open state after a server reboot
    7624973bc15b powerpc: Don't try to copy PPR for task with NULL pt_regs
    3a9510113f5b pinctrl: at91-pio4: fix domain name assignment
    6c1bc7b50e02 pinctrl: amd: Disable and mask interrupts on resume
    45ed4e5149e8 net: phy: dp83869: fix default value for tx-/rx-internal-delay
    0f75ef136169 xen/netback: don't do grant copy across page boundary
    8a581b71cf68 can: j1939: prevent deadlock by moving j1939_sk_errqueue()
    a3373a681d9a zonefs: Always invalidate last cached page on append write
    c1310fc7abe6 btrfs: scan device in non-exclusive mode
    c976f9233ef9 btrfs: fix race between quota disable and quota assign ioctls
    1484852ca152 Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
    b64305185b76 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
    0a2e0baf3677 cifs: prevent infinite recursion in CIFSGetDFSRefer()
    a5075c097de1 Input: focaltech - use explicitly signed char type
    cf43bc826159 Input: alps - fix compatibility with -funsigned-char
    16c951f3eba4 iommu/vt-d: Allow zero SAGAW if second-stage not supported
    e4fbeaa31362 pinctrl: ocelot: Fix alt mode for ocelot
    76f09582a191 net: ethernet: mtk_eth_soc: fix flow block refcounting logic
    9caf3cbf1224 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
    4c6c0e8510a2 bnxt_en: Add missing 200G link speed reporting
    c519174366a3 bnxt_en: Fix typo in PCI id to device description string mapping
    24722a0e0925 bnxt_en: Fix reporting of test result in ethtool selftest
    3e3654bf679f i40e: fix registers dump after run ethtool adapter self test
    8d7b0b22ea22 net: ipa: compute DMA pool size properly
    81d2a7e93c83 ALSA: ymfpci: Fix BUG_ON in probe function
    95642872c466 ALSA: ymfpci: Create card with device-managed snd_devm_card_new()
    9cb4f23e4f7a ice: fix invalid check for empty list in ice_sched_assoc_vsi_to_agg()
    938eba5b434d ice: add profile conflict check for AVF FDIR
    0ea60b230d19 smsc911x: avoid PHY being resumed when interface is not up
    41f77a6d9841 net: mvpp2: parser fix PPPoE
    ec117d22f143 net: mvpp2: parser fix QinQ
    18d6e95fbb08 net: mvpp2: classifier flow fix fragmentation flags
    aa45d3dd74e9 loop: LOOP_CONFIGURE: send uevents for partitions
    83ee49ab185d loop: suppress uevents while reconfiguring the device
    aa2bff25e9bb s390/vfio-ap: fix memory leak in vfio_ap device driver
    bf70e0eab64c can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
    959348f7c300 platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix
    c8e7ff3071bf drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
    61e2e6d444cd net: stmmac: don't reject VLANs when IFF_PROMISC is set
    2d5cebf57296 net/net_failover: fix txq exceeding warning
    829a0d013c00 regulator: Handle deferred clk
    75155f4d8dcd r8169: fix RTL8168H and RTL8107E rx crc error
    4597e104a365 net: dsa: microchip: ksz8863_smi: fix bulk access
    c0de1a26e659 ptp_qoriq: fix memory leak in probe()
    d84796008a89 scsi: mpt3sas: Don't print sense pool info twice
    27b1ae000bf1 scsi: megaraid_sas: Fix crash after a double completion
    d63a83146d25 sfc: ef10: don't overwrite offload features at NIC reset
    7ea88e90dabb SUNRPC: fix shutdown of NFS TCP client socket
    34c554376ec9 mtd: rawnand: meson: invalidate cache on polling ECC bit
    dae47bf0222e platform/x86: think-lmi: Add possible_values for ThinkStation
    e91ffea491af platform/x86: think-lmi: only display possible_values if available
    fbfd5f59fa5c platform/x86: think-lmi: use correct possible_values delimiters
    2c67f08bdc5f platform/x86: think-lmi: add missing type attribute
    cb1baad60e5d ALSA: usb-audio: Fix recursive locking at XRUN during syncing
    65b723644294 mips: bmips: BCM6358: disable RAC flush for TP1
    e38b0ab9dba3 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
    5362344e1c2c tracing: Fix wrong return in kprobe_event_gen_test.c
    19c71156fa92 tools/power turbostat: fix decoding of HWP_STATUS
    f8580c0a3279 tools/power turbostat: Fix /dev/cpu_dma_latency warnings
    6494344d7ef7 fbdev: au1200fb: Fix potential divide by zero
    f9c5deee4b66 fbdev: lxfb: Fix potential divide by zero
    86c8db5d12f4 fbdev: intelfb: Fix potential divide by zero
    c22a8d3ae54a fbdev: nvidia: Fix potential divide by zero
    9de1325bc2cc sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
    f9584dcc5549 fbdev: tgafb: Fix potential divide by zero
    d23f65f08247 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
    cb1bc1223906 ALSA: asihpi: check pao in control_message()
    1ec57d1bed38 net: hsr: Don't log netdev_err message on unknown prp dst node
    4e90e52616f6 x86/PVH: obtain VGA console info in Dom0
    5175ed17a5a8 md: avoid signed overflow in slot_store()
    da35a4e6eee5 ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
    0725daaa9a87 xfrm: Zero padding when dumping algos and encap
    7258c58f6e25 bus: imx-weim: fix branch condition evaluates to a garbage value
    07987422023e ksmbd: don't terminate inactive sessions after a few seconds
    0c873ab68fcb kcsan: avoid passing -g for test
    b27e663cf1e5 kernel: kcsan: kcsan_test: build without structleak plugin
    1450c82a16bb usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
    1536e51c30ad usb: dwc3: gadget: move cmd_endtransfer to extra function
    0f7fddb5a9b7 fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
    c957cbb87315 Linux 5.15.105
    ec5b78143535 NFSD: fix use-after-free in __nfs42_ssc_open()
    a9e53869cb43 ocfs2: fix data corruption after failed write
    5229bb42fba2 mm: kfence: fix using kfence_metadata without initialization in show_object()
    7a74603c248d sched/fair: Sanitize vruntime of entity being migrated
    ab938a0c81eb sched/fair: sanitize vruntime of entity being placed
    1ac20290f6b4 dm crypt: avoid accessing uninitialized tasklet
    eb485b7404a2 dm crypt: add cond_resched() to dmcrypt_write()
    443c9d522397 dm stats: check for and propagate alloc_percpu failure
    272dc775a52f i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
    8e69fae32e88 firmware: arm_scmi: Fix device node validation for mailbox transport
    02b296978a21 tee: amdtee: fix race condition in amdtee_open_session
    9c7ee9471550 riscv: Handle zicsr/zifencei issues between clang and binutils
    c10023682096 riscv: mm: Fix incorrect ASID argument when flushing TLB
    555ec88c75ad drm/i915: Preserve crtc_state->inherited during state clearing
    476b3f03dca8 drm/i915/active: Fix missing debug object activation
    ef3c38f33b62 drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
    fdd5b4e37200 drm/meson: fix missing component unbind on bind errors
    071a69cde196 drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
    5bb105cc72be nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
    8ec5e996c2f8 wifi: mac80211: fix qos on mesh interfaces
    51a8534c0f35 ksmbd: return unsupported error on smb1 mount
    496e186bc005 ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
    604a4a6f8414 ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
    52e7ac849971 KVM: x86: hyper-v: Avoid calling kvm_make_vcpus_request_mask() with vcpu_mask==NULL
    6f682b070f46 kfence: avoid passing -g for test
    7dd27aed9c45 usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
    27c40c3aa4b0 usb: chipidea: core: fix possible concurrent when switch role
    ef74a7ffe77c usb: chipdea: core: fix return -EINVAL if request role is the same with current role
    76e8bd0f5544 usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver
    e4df290deb33 usb: cdnsp: Fixes issue with redundant Status Stage
    5662d139e6e1 usb: cdns3: Fix issue with using incorrect PCI device function
    bb579b3f75c6 usb: typec: tcpm: fix warning when handle discover_identity message
    0f84b0b71179 dm thin: fix deadlock when swapping to thin device
    66e5577cabc3 igb: revert rtnl_lock() that causes deadlock
    a179d3450c0c arm64: dts: imx8mm-nitrogen-r2: fix WM8960 clock name
    ed1869a25286 lockd: set file_lock start and end when decoding nlm4 testargs
    0bfadbbcd7a5 fsverity: Remove WQ_UNBOUND from fsverity read workqueue
    992a3f3e8a0c fscrypt: destroy keyring after security_sb_delete()
    287bb9a918e2 mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
    408dcd7c3883 efi: sysfb_efi: Fix DMI quirks not working for simpledrm
    b131989797f7 usb: gadget: u_audio: don't let userspace block driver unbind
    cba76e1fb896 usb: dwc2: fix a devres leak in hw_enable upon suspend resume
    c83f7ba71d38 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
    df0462e4b361 cifs: print session id while listing open files
    9a45df4ec39b cifs: empty interface list when server doesn't support query interfaces
    169a41073993 act_mirred: use the backlog for nested calls to mirred ingress
    5b347652aebd net/sched: act_mirred: better wording on protection against excessive stack growth
    f6cf5f13fa5b sh: sanitize the flags on sigreturn
    91bcae3df2a4 net: usb: qmi_wwan: add Telit 0x1080 composition
    f631af07cfc9 net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
    41b67e621b93 scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
    60643ef5a139 scsi: lpfc: Avoid usage of list iterator variable after loop
    67b8343998b8 scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
    d758f543cea2 scsi: ufs: core: Add soft dependency on governor_simpleondemand
    0267cd047133 scsi: hisi_sas: Check devm_add_action() return value
    83e7b1db4523 scsi: target: iscsi: Fix an error message in iscsi_check_key()
    40c216efb327 selftests/bpf: check that modifier resolves after pointer
    8bf8d5dade4c m68k: Only force 030 bus error if PC not in exception table
    8c1d378b8c22 HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
    d143e327c972 ca8210: fix mac_len negative array access
    3056af1a2d46 HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
    3e9aac5e935f drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
    a4c639012ad0 riscv: Bump COMMAND_LINE_SIZE value to 1024
    c2cf47dc0822 ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
    8dc1c6efd7d2 thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
    a74a2e124c48 thunderbolt: Use const qualifier for `ring_interrupt_index`
    752007df40ca thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
    8f7525a8b98c thunderbolt: Disable interrupt auto clear for rings
    56cba129dd11 thunderbolt: Call tb_check_quirks() after initializing adapters
    d50a527b4815 thunderbolt: Use scale field when allocating USB3 bandwidth
    7ab026561cb0 uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
    d6f7377528d2 scsi: qla2xxx: Perform lockless command completion in abort path
    6295b3ec64a3 scsi: qla2xxx: Synchronize the IOCB count to be in order
    f1e2ab24c4ea hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
    5662f50cd9e9 hwmon: fix potential sensor registration fail if of_node is missing
    8f6b943f9fc9 entry/rcu: Check TIF_RESCHED _after_ delayed RCU wake-up
    eb57d0dcd5da entry: Snapshot thread flags
    d9c53eb46217 thread_info: Add helpers to snapshot thread flags
    ebea2e16504f platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
    8efae2112d91 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
    c35fd1b9b90a Bluetooth: L2CAP: Fix responding with wrong PDU type
    b203ee4be2f1 Bluetooth: btqcomsmd: Fix command timeout after setting BD address
    771d3c1c949b net: mdio: thunder: Add missing fwnode_handle_put()
    b433fbf17603 net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case
    01c727402ddc net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()
    5163bb8e4c6b net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()
    a76d35f3448c gve: Cache link_speed value from device
    c33344b79722 ksmbd: fix possible refcount leak in smb2_open()
    96039c44ae47 ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
    d897216325d7 ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
    7a83bb6d56a5 hvc/xen: prevent concurrent accesses to the shared ring
    29e80d7964cf nvme-tcp: fix nvme_tcp_term_pdu to match spec
    c7037dea19f0 net/sonic: use dma_mapping_error() for error check
    b41f37dbd9cd erspan: do not use skb_mac_header() in ndo_start_xmit()
    4a8286baf22e atm: idt77252: fix kmemleak when rmmod idt77252
    48f52431af99 net: dsa: tag_brcm: legacy: fix daisy-chained switches
    388188fb58be net/mlx5: E-Switch, Fix an Oops in error handling code
    6068a6db3a96 net/mlx5: Read the TC mapping of all priorities on ETS query
    4df1f2d36bdc net/mlx5: Fix steering rules cleanup
    2b0f1716c107 net/mlx5e: Set uplink rep as NETNS_LOCAL
    54869daa6a43 bpf: Adjust insufficient default bpf_jit_limit
    9b2e9105230f i40e: fix flow director packet filter programming
    7a29799fc141 iavf: fix hang on reboot with ice
    ce19c70f308f keys: Do not cache key in task struct if key is requested from kernel thread
    0cb68c307e72 bootconfig: Fix testcase to increase max node
    90874b76e5f8 octeontx2-vf: Add missing free for alloc_percpu
    77d2f5ff9365 net/ps3_gelic_net: Use dma_mapping_error
    cc8531d0e223 net/ps3_gelic_net: Fix RX sk_buff length
    8c4a180dc123 net: qcom/emac: Fix use after free bug in emac_remove due to race condition
    e686b78a003a drm/i915/gt: perform uc late init after probe error injection
    cbb8bac2388a net: mdio: fix owner field for mdio buses registered using ACPI
    b94af62cdd50 net: mdio: fix owner field for mdio buses registered using device-tree
    0bdf593390e7 net: phy: Ensure state transitions are processed from phy_stop()
    4ab9e85a5ce0 xirc2ps_cs: Fix use after free bug in xirc2ps_detach
    e42d3bde4ec0 qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
    ba6c40227108 net: usb: smsc95xx: Limit packet length to skb->len
    9bbb3d3f218f net: dsa: b53: mmap: fix device tree support
    9311e7a554df scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
    257738627a9b i2c: hisi: Only use the completion interrupt to finish the transfer
    c0deddabb278 i2c: imx-lpi2c: check only for enabled interrupt flags
    b82b0a0eea27 igc: fix the validation logic for taprio's gate list
    68ebdcba619a igbvf: Regard vf reset nack as success
    9630432b427f intel/igbvf: free irq on the error path in igbvf_request_msix()
    2afe7aebf642 iavf: fix non-tunneled IPv6 UDP packet type and hashing
    078e049c49a6 iavf: fix inverted Rx hash condition leading to disabled hash
    3cfc3564411a xsk: Add missing overflow check in xdp_umem_reg
    1d59b8fae0c3 arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes
    98c9bca167e6 ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
    ed5f3c0b95bd ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
    0fdb1cc4fe52 power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
    4ca3fd39c72e power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
    10ce6db6253d power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
    0b54d75aa43a net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
    2ebe231abaf1 trace/hwlat: Do not start per-cpu thread if it is already running
    7743dd873f2a trace/hwlat: make use of the helper function kthread_run_on_cpu()
    909c5eb6ed76 kthread: add the helper function kthread_run_on_cpu()
    09b51f10bc1f serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
    cfb64de61f07 serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED
    90530e7214c8 tty: serial: fsl_lpuart: fix race on RX DMA shutdown
    b7d0fbe4976d tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API
    90a77bca4240 serial: fsl_lpuart: Fix comment typo
    bde1ae240751 tracing/hwlat: Replace sched_setaffinity with set_cpus_allowed_ptr
    5255e6d49ff9 perf: fix perf_event_context->time
    ac5f88642cb2 perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
    d2430d45f1a0 interconnect: qcom: osm-l3: fix icc_onecell_data allocation
    115472395b0a Linux 5.15.104
    de3ef7ba684a perf: Fix check before add_event_to_groups() in perf_group_detach()
    02904e8a2f65 HID: uhid: Over-ride the default maximum data buffer value with our own
    3df32812eb4b HID: core: Provide new max_buffer_size attribute to over-ride the default
    ffe2318405e6 PCI/DPC: Await readiness of secondary bus after reset
    09795f82aecc PCI: Unify delay handling for reset and resume
    f4ba55411cc8 io_uring: avoid null-ptr-deref in io_arm_poll_handler
    6ab7d3361755 drm/i915/active: Fix misuse of non-idle barriers as fence trackers
    71dffdd4764c drm/i915: Don't use stolen memory for ring buffers with LLC
    86db319d25db x86/resctrl: Clear staged_config[] before and after it is used
    0186f7656940 x86/mm: Fix use of uninitialized buffer in sme_enable()
    09d3a46c8c02 x86/mce: Make sure logged MCEs are processed after sysfs update
    8575c98224b2 cpuidle: psci: Iterate backwards over list in psci_pd_remove()
    b3d042638049 net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
    f3de49782612 trace/hwlat: Do not wipe the contents of per-cpu thread data
    cb72b4bd81b9 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
    e9cdd3f722b6 mmc: sdhci_am654: lower power-on failed message severity
    b02de083c7c7 mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
    87b9ac7bd301 ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
    520e134431ac nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000
    2a0d71fabfeb ftrace: Fix invalid address access in lookup_rec() when index is 0
    ad7f9c6982b1 mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket()
    f4afee17de43 mptcp: avoid setting TCP_CLOSE state twice
    64473c18d27a mptcp: add ro_after_init for tcp{,v6}_prot_override
    c1df4bed3d91 mptcp: fix possible deadlock in subflow_error_report
    ccf44ffbbf25 drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
    64ef8aa3910b drm/sun4i: fix missing component unbind on bind errors
    5cfb617967b0 drm/shmem-helper: Remove another errant put in error path
    d1d826954475 riscv: asid: Fixup stale TLB entry cause application crash
    aeefcfc57978 Revert "riscv: mm: notify remote harts about mmu cache updates"
    882cbe0c5d6a ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
    36d75e1f7357 ALSA: hda: intel-dsp-config: add MTL PCI id
    9c2f09add608 KVM: nVMX: add missing consistency checks for CR0 and CR4
    77fcc52d2919 cifs: Fix smb2_set_path_size()
    9b9a118cc428 tracing: Make tracepoint lockdep check actually test something
    2846bf67cd24 tracing: Check field value in hist_field_name()
    2dd00dbc6a5a tracing: Make splice_read available again
    fd4738ae1a0c interconnect: exynos: fix node leak in probe PM QoS error path
    2e0b13a18272 interconnect: fix mem leak when freeing nodes
    62b74cf8bcee s390/ipl: add missing intersection check to ipl_report handling
    86afb633beaa firmware: xilinx: don't make a sleepable memory allocation from an atomic context
    250a11f9c43b serial: 8250_fsl: fix handle_irq locking
    4c23bf093449 serial: 8250_em: Fix UART port type
    53a5ab3a8991 tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
    1c93c42c7bb2 ext4: fix possible double unlock when moving a directory
    bec1bea2fa97 drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    f9252605b8f3 sh: intc: Avoid spurious sizeof-pointer-div warning
    0fc608a115ce net/9p: fix bug in client create for .L
    2fece63b55c5 drm/amdkfd: Fix an illegal memory access
    1aec41c98cce ext4: fix task hung in ext4_xattr_delete_inode
    499fef2030fb ext4: update s_journal_inum if it changes after journal replay
    088da6b80539 ext4: fail ext4_iget if special inode unallocated
    eccd017165db jffs2: correct logic when creating a hole in jffs2_write_begin
    4392e87c47e8 mmc: atmel-mci: fix race between stop command and start of next command
    0c511f926b00 media: m5mols: fix off-by-one loop termination error
    233058efee02 hwmon: (ltc2992) Set `can_sleep` flag for GPIO chip
    b576de01da80 hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
    c80b2acdb049 kconfig: Update config changed flag before calling callback
    52f64c5fc0d6 hwmon: tmp512: drop of_match_ptr for ID table
    3f3576e25bfe hwmon: (ucd90320) Add minimum delay between bus accesses
    9cc4aa40b58c hwmon: (ina3221) return prober error code
    7091951c2ca9 hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
    a8e42dbfc493 hwmon: (adt7475) Fix masking of hysteresis registers
    d1f4eda1ae85 hwmon: (adt7475) Display smoothing attributes in correct order
    93c8cbeb1b2b bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails
    d424c7b1c478 bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change
    8a1ce024f1f6 ethernet: sun: add check for the mdesc_grab()
    030393041f8c qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
    a7836253349e selftests: net: devlink_port_split.py: skip test if no suitable device available
    3cfdefdaaa4b net/iucv: Fix size of interrupt data
    7bf0eac3fdd2 net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
    c99779740100 ipv4: Fix incorrect table ID in IOCTL path
    340dd8f1942a sh_eth: avoid PHY being resumed when interface is not up
    d5236286398d ravb: avoid PHY being resumed when interface is not up
    7059be754873 net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
    b89a453c6918 ice: xsk: disable txq irq before flushing hw
    d1bfd4cf6bb8 block: sunvdc: add check for mdesc_grab() returning NULL
    f1d5888a5efe nvmet: avoid potential UAF in nvmet_req_complete()
    07eac3310e00 nvme: fix handling single range discard request
    fff9441da1c3 block: null_blk: Fix handling of fake timeout request
    6d3ff07347d3 drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
    105db6574281 net: usb: smsc75xx: Limit packet length to skb->len
    b615238e5bc0 net/smc: fix deadlock triggered by cancel_delayed_work_syn()
    84dd9cc34014 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
    edc0a34e277b net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
    e0a557fc1daf net: tunnels: annotate lockless accesses to dev->needed_headroom
    407badf73ec9 loop: Fix use-after-free issues
    a0316de981ce net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
    f48468b27c0b net: dsa: mt7530: remove now incorrect comment regarding port 5
    6ffa05700100 qed/qed_dev: guard against a possible division by zero
    b108bd9e6be0 net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
    d59d2561da73 drm/i915/psr: Use calculated io and fast wake lines
    297ae18bd2cd drm/i915/display: clean up comments
    21d679cb983e drm/i915/display/psr: Handle plane and pipe restrictions at every page flip
    8c80b12e697f drm/i915/display/psr: Use drm damage helpers to calculate plane damaged area
    eea001d88ffd drm/i915/display: Workaround cursor left overs with PSR2 selective fetch enabled
    437bb839e36c PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
    ee6ef8137789 vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
    1cdbaf18a5e4 vdpa_sim: not reset state in vdpasim_queue_ready
    4ff826952665 i40e: Fix kernel crash during reboot when adapter is in recovery mode
    ecaa1bf50635 ipvlan: Make skb->skb_iif track skb->dev for l3s mode
    2bee84369b76 nfc: pn533: initialize struct pn533_out_arg properly
    ad07290d63ff tcp: tcp_make_synack() can be called from process context
    2a764d55e938 scsi: core: Fix a procfs host directory removal regression
    a219cabadaee netfilter: nft_redir: correct value of inet type `.maxattrs`
    de03d130176b netfilter: nft_redir: correct length for loading protocol registers
    d2a2ad64b9b6 netfilter: nft_masq: correct length for loading protocol registers
    343fe451e6d3 netfilter: nft_nat: correct length for loading protocol registers
    256bcf626b7c ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
    9937f784a608 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    29cb0f6c1dd8 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
    a5a1a7112e98 clk: HI655X: select REGMAP instead of depending on it
    0f78e36f652a drm/meson: fix 1px pink line on GXM when scaling video overlay
    630f8a857578 cifs: Move the in_send statistic to __smb_send_rqst()
    418bde7227dd drm/panfrost: Don't sync rpm suspension after mmu flushing
    b9cd2f875525 xfrm: Allow transport-mode states with AF_UNSPEC selector

(From OE-Core rev: 9a5380e6c8e7ef7ee3989dc4bfec67766152aa23)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:15:31 +01:00
Bruce Ashfield
828fe1c39a linux-yocto/6.1: update to v6.1.23
Updating  to the latest korg -stable release that comprises
the following commits:

    543aff194ab6 Linux 6.1.23
    9c5aa3c8619f Revert "cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*"
    cafb47f5f59b x86/PVH: avoid 32-bit build warning when obtaining VGA console info
    9f291f2348ed hsr: ratelimit only when errors are printed
    d0386bd84e6d drm/amdkfd: Get prange->offset after svm_range_vram_node_new
    fbfe493874e9 usb: ucsi: Fix ucsi->connector race
    e5c5cb47a9eb libbpf: Fix btf_dump's packed struct determination
    6c8afd54f8e9 selftests/bpf: Add few corner cases to test padding handling of btf_dump
    524617e553bc libbpf: Fix BTF-to-C converter's padding logic
    2e35b08b66b0 selftests/bpf: Test btf dump for struct with padding only fields
    0f9e728e1a6c net: dsa: mv88e6xxx: replace VTU violation prints with trace points
    be831b5c6963 net: dsa: mv88e6xxx: replace ATU violation prints with trace points
    8f872c781f64 net: dsa: mv88e6xxx: read FID when handling ATU violations
    e4ca4572de06 KVM: arm64: Disable interrupts while walking userspace PTs
    051e660c8185 KVM: arm64: PMU: Fix GET_ONE_REG for vPMC regs to return the current value
    fcf712b4e5d0 drm/i915: Move CSC load back into .color_commit_arm() when PSR is enabled on skl/glk
    0fc6fea41c71 drm/i915: Disable DC states for all commits
    c781c107731f drm/i915/dpt: Treat the DPT BO as a framebuffer
    21ee19974b19 drm/i915/gem: Flush lmem contents after construction
    fd71f4c9e3fa drm/amd/display: Take FEC Overhead into Timeslot Calculation
    41abe8828c83 drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
    febacc33298f drm/amdgpu: allow more APUs to do mode2 reset when go to S4
    f931ca46773a drm/etnaviv: fix reference leak when mmaping imported buffer
    3f878da42862 s390: reintroduce expoline dependence to scripts
    a028d92967bb s390/uaccess: add missing earlyclobber annotations to __clear_user()
    bc2f8b56217b dt-bindings: mtd: jedec,spi-nor: Document CPOL/CPHA support
    69bec5ac6ea0 rcu: Fix rcu_torture_read ftrace event
    75289cdbe125 xtensa: fix KASAN report for show_stack
    3a0e34af6bff ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
    036d5ae0a7cf ALSA: hda/realtek: Add quirks for some Clevo laptops
    3e120e920016 ALSA: usb-audio: Fix regression on detection of Roland VS-100
    0c60b9c0b774 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
    f6bcbd556978 NFSv4: Fix hangs when recovering open state after a server reboot
    3f5ded246953 powerpc/64s: Fix __pte_needs_flush() false positive warning
    0bb88976bdd2 powerpc/pseries/vas: Ignore VAS update for DLPAR if copy/paste is not enabled
    064a1c7b0f84 powerpc: Don't try to copy PPR for task with NULL pt_regs
    44917e8c38d8 platform/x86: ideapad-laptop: Stop sending KEY_TOUCHPAD_TOGGLE
    61c1f420bb01 pinctrl: at91-pio4: fix domain name assignment
    d9c63daa576b pinctrl: amd: Disable and mask interrupts on resume
    0e7ac17634d2 modpost: Fix processing of CRCs on 32-bit build machines
    2269be495142 net: phy: dp83869: fix default value for tx-/rx-internal-delay
    cdfac0a50641 xen/netback: don't do grant copy across page boundary
    ace6aa2ab5ba can: j1939: prevent deadlock by moving j1939_sk_errqueue()
    8b7c731e5444 dm: fix __send_duplicate_bios() to always allow for splitting IO
    d7c67be755cc zonefs: Always invalidate last cached page on append write
    4d35d375efed vmxnet3: use gro callback when UPT is enabled
    d67b3cdacac9 io_uring: fix poll/netmsg alloc caches
    ef329fa764c3 io_uring/rsrc: fix rogue rsrc node grabbing
    3eb2138d4693 io_uring/poll: clear single/double poll flags on poll arming
    e5da11825ef7 block/io_uring: pass in issue_flags for uring_cmd task_work handling
    4a8f1f512266 zonefs: Do not propagate iomap_dio_rw() ENOTBLK error to user space
    8a6539ea362e btrfs: scan device in non-exclusive mode
    a38ff2024805 btrfs: fix race between quota disable and quota assign ioctls
    6134a4bb6b1c btrfs: fix deadlock when aborting transaction during relocation with scrub
    85ec44199b5a Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
    89c4b695431d Input: i8042 - add quirk for Fujitsu Lifebook A574/H
    b7d854c33ab4 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
    eb94ea52afff cifs: prevent infinite recursion in CIFSGetDFSRefer()
    f8bdc959cefe Input: focaltech - use explicitly signed char type
    5ee6df525715 Input: alps - fix compatibility with -funsigned-char
    30a8863f21ec Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix
    973043d6bdea iommu/vt-d: Allow zero SAGAW if second-stage not supported
    db0ac14908af Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON
    2a858f3f804c pinctrl: ocelot: Fix alt mode for ocelot
    106fb49b14af net: ethernet: mtk_eth_soc: add missing ppe cache flush when deleting a flow
    a7bd974edf12 net: ethernet: mtk_eth_soc: fix flow block refcounting logic
    1b0e8aba4510 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
    b055e322907e bnxt_en: Add missing 200G link speed reporting
    f06ae13e995a bnxt_en: Fix typo in PCI id to device description string mapping
    a4dd9f756973 bnxt_en: Fix reporting of test result in ethtool selftest
    37f9fe34482e i40e: fix registers dump after run ethtool adapter self test
    6e43dc9dcf22 net: ipa: compute DMA pool size properly
    32b9bd7cfc2e ALSA: ymfpci: Fix BUG_ON in probe function
    db7d7782677f ALSA: ymfpci: Create card with device-managed snd_devm_card_new()
    9bc9e4442fe3 ice: fix invalid check for empty list in ice_sched_assoc_vsi_to_agg()
    d10900058fa6 ice: add profile conflict check for AVF FDIR
    088573884165 ice: Fix ice_cfg_rdma_fltr() to only update relevant fields
    0b9541ae1dd1 smsc911x: avoid PHY being resumed when interface is not up
    a921dbbc04e3 net: mvpp2: parser fix PPPoE
    2a4f74420538 net: mvpp2: parser fix QinQ
    5718b58ca0ec net: mvpp2: classifier flow fix fragmentation flags
    bee9ca40b839 loop: LOOP_CONFIGURE: send uevents for partitions
    b7707176f858 ACPI: bus: Rework system-level device notification handling
    6a40fda14b4b s390/vfio-ap: fix memory leak in vfio_ap device driver
    c11dbc7705b3 can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
    7ffdf7e6fc92 platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix
    75084659969f drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
    ce1b88dd4013 net: stmmac: don't reject VLANs when IFF_PROMISC is set
    c942f5cd63b7 net/net_failover: fix txq exceeding warning
    f70328a0bfb2 regulator: Handle deferred clk
    1b808f5d8449 r8169: fix RTL8168H and RTL8107E rx crc error
    4ffa3fec1c34 net: dsa: microchip: ksz8: fix MDB configuration with non-zero VID
    adfe55665203 net: dsa: microchip: ksz8863_smi: fix bulk access
    8d86ea65e0f1 net: dsa: microchip: ksz8: ksz8_fdb_dump: avoid extracting ghost entry from empty dynamic MAC table.
    628f76b8ae7b net: dsa: microchip: ksz8: fix offset for the timestamp filed
    91840597869d net: dsa: microchip: ksz8: fix ksz8_fdb_dump() to extract all 1024 entries
    9524c2ea47cc net: dsa: microchip: ksz8: fix ksz8_fdb_dump()
    43b4331ce0cd ptp_qoriq: fix memory leak in probe()
    cc0f9bb99735 net: dsa: realtek: fix out-of-bounds access
    089e6318e1de scsi: mpt3sas: Don't print sense pool info twice
    9526222c1a11 scsi: megaraid_sas: Fix crash after a double completion
    1da26860a348 sfc: ef10: don't overwrite offload features at NIC reset
    c5a159d5e559 SUNRPC: fix shutdown of NFS TCP client socket
    43b70c9c4c90 mtd: rawnand: meson: invalidate cache on polling ECC bit
    53dc0b69fbac platform/surface: aggregator: Add missing fwnode_handle_put()
    f0a67ad7dce4 platform/x86: think-lmi: Add possible_values for ThinkStation
    5b2e50d837f2 platform/x86: think-lmi: only display possible_values if available
    3991efd0c1aa platform/x86: think-lmi: use correct possible_values delimiters
    6c69f1ab7bdc platform/x86: think-lmi: add missing type attribute
    ba85e83f9330 PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled
    e39afd6095a5 ALSA: usb-audio: Fix recursive locking at XRUN during syncing
    2cdbcff99f15 mips: bmips: BCM6358: disable RAC flush for TP1
    a07cf4fd610e riscv/kvm: Fix VM hang in case of timer delta being zero.
    60b2027077ea ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
    8b46440d1a63 mtd: nand: mxic-ecc: Fix mxic_ecc_data_xfer_wait_for_completion() when irq is used
    c84d28b32236 mtd: rawnand: meson: initialize struct with zeroes
    f5527b3b4d3d btrfs: use temporary variable for space_info in btrfs_update_block_group
    bd265f2061aa btrfs: fix uninitialized variable warning in btrfs_update_block_group
    089d656992c0 tracing: Fix wrong return in kprobe_event_gen_test.c
    88cdf1d8a522 tools/power turbostat: fix decoding of HWP_STATUS
    6ecdea91ef95 tools/power turbostat: Fix /dev/cpu_dma_latency warnings
    2a3562ea9d72 fbdev: au1200fb: Fix potential divide by zero
    9f2a69d5e677 fbdev: lxfb: Fix potential divide by zero
    8ab9eada22d9 fbdev: intelfb: Fix potential divide by zero
    c8d88107971e fbdev: nvidia: Fix potential divide by zero
    35a32a50dc8f net/mlx5e: Lower maximum allowed MTU in XSK to match XDP prerequisites
    b969838c9554 drm/amdkfd: Fixed kfd_process cleanup on module exit.
    e437554b1452 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620
    c8943cf3ab9b sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
    2961b331b074 ACPI: tools: pfrut: Check if the input of level and type is in the right numeric range
    b8b7d5eac5ee fbdev: tgafb: Fix potential divide by zero
    32854bc91ae7 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
    69280e8e669c ALSA: asihpi: check pao in control_message()
    8b4dc07eb938 net: hsr: Don't log netdev_err message on unknown prp dst node
    5045360f3bb6 drm/amdkfd: fix potential kgd_mem UAFs
    b861f0e62ae1 drm/amdkfd: fix a potential double free in pqm_create_queue
    b61b21bcbb8a drm/amdkfd: Fix BO offset for multi-VMA page migration
    3e48f7b53de4 x86/PVH: obtain VGA console info in Dom0
    df0833da4bfa md: avoid signed overflow in slot_store()
    50f6507aadf8 ASoC: SOF: IPC4: update gain ipc msg definition to align with fw
    6d0ab3efb282 ASoC: SOF: Intel: pci-tng: revert invalid bar size setting
    6290404aa142 ASoC: SOF: ipc4-topology: Fix incorrect sample rate print unit
    a56be07a8c0c ASoC: SOF: ipc3: Check for upper size limit for the received message
    ab7a700fec40 ACPI: video: Add backlight=native DMI quirk for Dell Vostro 15 3535
    78b342f0cda7 zstd: Fix definition of assert()
    6beb32105eea ASoC: Intel: avs: nau8825: Adjust clock control
    30878a7eec00 ASoC: Intel: avs: ssm4567: Remove nau8825 bits
    ea7950db7650 ASoC: Intel: avs: da7219: Explicitly define codec format
    d0652061c3b8 ASoC: Intel: avs: max98357a: Explicitly define codec format
    57f9a9a232bd ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
    5218af4ad5d8 xfrm: Zero padding when dumping algos and encap
    2b4830eefc41 cifs: fix missing unload_nls() in smb2_reconnect()
    e0169d62efce arm64: efi: Set NX compat flag in PE/COFF header
    ec6cd79c4e54 net: mscc: ocelot: fix stats region batching
    39cd75f2f3a4 tracing: Do not let histogram values have some modifiers
    8ebeea1052f6 tracing: Add .graph suffix option to histogram value
    93454d1a306e tracing: Add .percent suffix option to histogram values
    954fc9931f0a tty: serial: fsl_lpuart: fix race on RX DMA shutdown
    3a4d6f959caa tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API
    33123ad902f3 drm/msm/disp/dpu: fix sc7280_pp base offset
    3f7c4839fc04 drm/msm/dpu: correct sm8250 and sm8350 scaler
    30fff49ea686 drm/msm/dpu: Refactor sc7280_pp location
    942100ec928c ARM: dts: aspeed: p10bmc: Update battery node name
    84cfcf240f4a riscv: ftrace: Fixup panic by disabling preemption
    a35f863210e8 net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action
    64621e4607f4 btrfs: zoned: count fresh BG region as zone unusable
    ea34b8bcc7ae btrfs: rename BTRFS_FS_NO_OVERCOMMIT to BTRFS_FS_ACTIVE_ZONE_TRACKING
    bae092f58759 kcsan: avoid passing -g for test
    01f3150cc7a7 kernel: kcsan: kcsan_test: build without structleak plugin
    0b0e1551ba9a fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
    fc426026c3a3 zonefs: Fix error message in zonefs_file_dio_append()
    81cf745f1105 zonefs: Separate zone information from inode information
    7558b249cb4e zonefs: Reduce struct zonefs_inode_info size
    3741898b1694 zonefs: Simplify IO error handling
    a624b4796f38 zonefs: Reorganize code
    9dad2690b126 cifs: avoid race conditions with parallel reconnects
    a5698f3ebb78 cifs: prevent data race in cifs_reconnect_tcon()
    f60cdd319b2c cifs: update ip_addr for ses only for primary chan setup
    eddee1c229c2 thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers
    3b29299e5f60 Linux 6.1.22
    8c31b663edc1 drm/amdkfd: Fix the memory overrun
    132f1d394391 drm/amdkfd: add GC 11.0.4 KFD support
    0ac954ec7f6c drm/amdkfd: Fix the warning of array-index-out-of-bounds
    a5528973c676 drm/amdkfd: introduce dummy cache info for property asic
    388c4c1d1212 sched/fair: Sanitize vruntime of entity being migrated
    e427be68892e sched/fair: sanitize vruntime of entity being placed
    b9d6816713b0 dm crypt: avoid accessing uninitialized tasklet
    f0eb61b493db dm crypt: add cond_resched() to dmcrypt_write()
    a42180dd3615 dm stats: check for and propagate alloc_percpu failure
    7c64e839585e i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
    d22bc65a98ff bus: imx-weim: fix branch condition evaluates to a garbage value
    286b0cab31ba mm/ksm: fix race with VMA iteration and mm_struct teardown
    318b65386756 soc: qcom: llcc: Fix slice configuration values for SC8280XP
    83f40feee690 arm64: dts: qcom: sm8150: Fix the iommu mask used for PCIe controllers
    267b899375bf arm64: dts: qcom: sc7280: Mark PCIe controller as cache coherent
    0156ad2a60fe firmware: arm_scmi: Fix device node validation for mailbox transport
    a63cce9393e4 tee: amdtee: fix race condition in amdtee_open_session
    8a09fa7be62f riscv: Handle zicsr/zifencei issues between clang and binutils
    aa8a49b61007 riscv: mm: Fix incorrect ASID argument when flushing TLB
    75e10d7fb979 drm/amdgpu: reposition the gpu reset checking for reuse
    9f7e1dd835ec drm/amdgpu: skip ASIC reset for APUs when go to S4
    220da3bf1fc3 drm/i915: Preserve crtc_state->inherited during state clearing
    c355945957ef drm/i915/active: Fix missing debug object activation
    ed6364fb7c40 drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
    19b4396f0a39 drm/meson: fix missing component unbind on bind errors
    c590fce42c21 drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk
    dec28169efd8 drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
    5f33b042f74f nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
    c5d24e07e316 wifi: mac80211: fix qos on mesh interfaces
    0b3ec5671ac0 ksmbd: return unsupported error on smb1 mount
    3060466e38ca ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
    fe9591a5a004 ksmbd: don't terminate inactive sessions after a few seconds
    d55c0560893c ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
    e54752f596a7 ksmbd: fix wrong signingkey creation when encryption is AES256
    0608b3da04f5 maple_tree: fix mas_skip_node() end slot detection
    94f6b92bad23 test_maple_tree: add more testing for mas_empty_area()
    450317033f04 Revert "kasan: drop skip_kasan_poison variable in free_pages_prepare"
    7b100a45dc19 io_uring/rsrc: fix null-ptr-deref in io_file_bitmap_get()
    87f2d329f4cb io_uring/net: avoid sending -ECONNABORTED on repeated connection requests
    1c00030a59a9 kfence: avoid passing -g for test
    f2a4304e9ff5 mm: kfence: fix using kfence_metadata without initialization in show_object()
    1e8525f37871 usb: ucsi_acpi: Increase the command completion timeout
    1c5abcb13491 usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
    2d0558c29122 usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
    4c1a06454f00 usb: chipidea: core: fix possible concurrent when switch role
    4e3498143863 usb: chipdea: core: fix return -EINVAL if request role is the same with current role
    bfcd692c833e usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver
    4e6e31e0a6ee usb: cdnsp: Fixes issue with redundant Status Stage
    0cc5fbfaacaa usb: cdns3: Fix issue with using incorrect PCI device function
    d55ca2d2ea1a usb: typec: tcpm: fix warning when handle discover_identity message
    657431b040b8 usb: typec: tcpm: fix create duplicate source-capabilities file
    0131f901835b dm thin: fix deadlock when swapping to thin device
    62a646457499 igb: revert rtnl_lock() that causes deadlock
    f8b34ed7cdac arm64: dts: imx8mm-nitrogen-r2: fix WM8960 clock name
    41a68444e562 lockd: set file_lock start and end when decoding nlm4 testargs
    260becc3891a fsverity: Remove WQ_UNBOUND from fsverity read workqueue
    d77531fac6a1 fscrypt: destroy keyring after security_sb_delete()
    f311869d72f7 mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
    a6766e457d4c efi: sysfb_efi: Fix DMI quirks not working for simpledrm
    608901a77c94 Bluetooth: Fix race condition in hci_cmd_sync_clear
    00331677c084 btrfs: zoned: fix btrfs_can_activate_zone() to support DUP profile
    3bc7324e4911 usb: gadget: u_audio: don't let userspace block driver unbind
    ffb8ab6f87bd usb: dwc2: fix a devres leak in hw_enable upon suspend resume
    cd1340202266 usb: dwc2: drd: fix inconsistent mode if role-switch-default-mode="host"
    ac49318c8adf usb: misc: onboard-hub: add support for Microchip USB2517 USB 2.0 hub
    b03b85ec8247 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
    d080337f6827 selftests/x86/amx: Add a ptrace test
    79f1e15c6b4b x86/fpu/xstate: Prevent false-positive warning in __copy_xstate_uabi_buf()
    362628048710 cifs: fix dentry lookups in directory handle cache
    d4bab65f80ce cifs: print session id while listing open files
    dc9e203f9f51 cifs: dump pending mids for all channels in DebugData
    f401c35e6cb4 cifs: empty interface list when server doesn't support query interfaces
    ee1767a12e13 cifs: do not poll server interfaces too regularly
    a163106b6d16 cifs: append path to open_enter trace event
    f11f6ea883de cifs: lock chan_lock outside match_session
    4c8fc3fe28e4 act_mirred: use the backlog for nested calls to mirred ingress
    e0c12b9bfffc net/sched: act_mirred: better wording on protection against excessive stack growth
    a0e39cdddc15 drm/amd: Fix initialization mistake for NBIO 7.3.0
    f06b902511ea drm/amdgpu: Fix call trace warning and hang when removing amdgpu device
    5fdb54270f7c sh: sanitize the flags on sigreturn
    b66804fc7e21 drm/amd/display: Update clock table to include highest clock setting
    43c33c487252 net: usb: qmi_wwan: add Telit 0x1080 composition
    8224ef96a8de net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
    886acbcb2982 platform/x86: int3472: Add GPIOs to Surface Go 3 Board data
    4a7d64d38584 scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
    1f822ae8fb2a scsi: mpi3mr: Bad drive in topology results kernel crash
    a0b33e1d8dc1 scsi: mpi3mr: NVMe command size greater than 8K fails
    92548801f01e scsi: mpi3mr: Wait for diagnostic save during controller init
    88f7fb47e0f0 scsi: mpi3mr: Driver unload crashes host when enhanced logging is enabled
    ec3a119c30e5 scsi: lpfc: Avoid usage of list iterator variable after loop
    4829a1e11715 scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
    476d8ca83e6c scsi: ufs: core: Add soft dependency on governor_simpleondemand
    d92460985d78 scsi: hisi_sas: Check devm_add_action() return value
    b139678fb1b3 scsi: qla2xxx: Add option to disable FC2 Target support
    27f6579f3c0c scsi: target: iscsi: Fix an error message in iscsi_check_key()
    95ba926edd65 selftests/bpf: check that modifier resolves after pointer
    54fa25ffab2b m68k: Only force 030 bus error if PC not in exception table
    4ee33bfaeb3f m68k: mm: Fix systems with memory at end of 32-bit address space
    0a594cb490ca HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
    e6f150861b28 HID: logitech-hidpp: Add support for Logitech MX Master 3S mouse
    fd176a18db96 ca8210: fix mac_len negative array access
    aee32b594f2c HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
    586a9fe14283 drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
    fd20cc4e5ea0 riscv: Bump COMMAND_LINE_SIZE value to 1024
    48bef3023f4d ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
    d146b2741320 ACPI: x86: Drop quirk for HP Elitebook
    f845ecdd1342 ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A43)
    bf83d04c135d ASoC: amd: yp: Add OMEN by HP Gaming Laptop 16z-n000 to quirks
    03b5fae39897 thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
    587dd59049bf thunderbolt: Use const qualifier for `ring_interrupt_index`
    278fb64ce473 thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
    416db7fa3e89 thunderbolt: Disable interrupt auto clear for rings
    f390095bbd13 thunderbolt: Fix memory leak in margining
    f2326d046ae7 thunderbolt: Add quirk to disable CLx
    516b1752fe6a thunderbolt: Call tb_check_quirks() after initializing adapters
    b82c564886a0 thunderbolt: Use scale field when allocating USB3 bandwidth
    3497afbd5780 uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
    4a369bb39187 smb3: fix unusable share after force unmount failure
    3de686a36592 smb3: lower default deferred close timeout to address perf regression
    cd0a1804ac5b scsi: qla2xxx: Perform lockless command completion in abort path
    6d57b77d7369 scsi: qla2xxx: Synchronize the IOCB count to be in order
    682938af0a5f hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
    f3263768965f hwmon: fix potential sensor registration fail if of_node is missing
    d716ea059cd3 entry/rcu: Check TIF_RESCHED _after_ delayed RCU wake-up
    ab33a8f7649b perf/x86/amd/core: Always clear status for idx
    adfc7aaa0df9 entry: Fix noinstr warning in __enter_from_user_mode()
    eab28bfafcd1 platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
    b3168abd2424 Bluetooth: HCI: Fix global-out-of-bounds
    24997df50b35 Bluetooth: mgmt: Fix MGMT add advmon with RSSI command
    cbf8deacb705 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
    c357e28b01c4 Bluetooth: L2CAP: Fix responding with wrong PDU type
    95085960062d Bluetooth: btqcomsmd: Fix command timeout after setting BD address
    612cf2495ec6 drm/amd/display: Set dcn32 caps.seamless_odm
    d84fe6dc7377 net: mdio: thunder: Add missing fwnode_handle_put()
    d1775958c2ae net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case
    cd6251c02ac9 net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()
    4424f88795d6 net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()
    d4fe4edc6cf0 net: asix: fix modprobe "sysfs: cannot create duplicate filename"
    1b9613402ce2 gve: Cache link_speed value from device
    554828c833e6 Bluetooth: Remove "Power-on" check from Mesh feature
    e2a90a5b153a Bluetooth: ISO: fix timestamped HCI ISO data packet parsing
    e0338af405ae Bluetooth: btusb: Remove detection of ISO packets over bulk
    f770ce652b27 Bluetooth: hci_core: Detect if an ACL packet is in fact an ISO packet
    bc7a5dde52a2 Bluetooth: hci_sync: Resume adv with no RPA when active scan
    303f8e58cc3a ksmbd: fix possible refcount leak in smb2_open()
    a4e6cd9253c8 ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
    bd344dc3bbf0 ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
    82268b2da28a hvc/xen: prevent concurrent accesses to the shared ring
    4df371323e4f mlxsw: spectrum_fid: Fix incorrect local port type
    869bb1932bc7 nvme-tcp: fix nvme_tcp_term_pdu to match spec
    a338bd69e55b net/sonic: use dma_mapping_error() for error check
    9c7d6803689c erspan: do not use skb_mac_header() in ndo_start_xmit()
    ff0d8cc6cde9 atm: idt77252: fix kmemleak when rmmod idt77252
    774865342132 net: dsa: tag_brcm: legacy: fix daisy-chained switches
    c4c977935b2f net/mlx5: E-Switch, Fix an Oops in error handling code
    fba0b70e8cf7 net/mlx5: Read the TC mapping of all priorities on ETS query
    4e42fd7c0be5 net/mlx5e: Overcome slow response for first macsec ASO WQE
    63546395a0e6 net/mlx5: Fix steering rules cleanup
    93260bd809e0 net/mlx5e: Block entering switchdev mode with ns inconsistency
    3169140ee294 net/mlx5e: Set uplink rep as NETNS_LOCAL
    9cda812c7606 bpf: Adjust insufficient default bpf_jit_limit
    25634e4df7b2 i40e: fix flow director packet filter programming
    502b898235f0 iavf: fix hang on reboot with ice
    e16fa0c9ff7c ice: check if VF exists before mode check
    32c2b3f157d8 keys: Do not cache key in task struct if key is requested from kernel thread
    8a22203bec3b bootconfig: Fix testcase to increase max node
    840631bcf21f octeontx2-vf: Add missing free for alloc_percpu
    84548ce2b2db net/ps3_gelic_net: Use dma_mapping_error
    e6c10d12ae76 net/ps3_gelic_net: Fix RX sk_buff length
    83de34967473 net: usb: lan78xx: Limit packet length to skb->len
    5fc2c4e311a9 net: qcom/emac: Fix use after free bug in emac_remove due to race condition
    6e516595e886 drm/i915/gt: perform uc late init after probe error injection
    be8c6ad6b16e drm/i915/guc: Fix missing ecodes
    d2b9357d3da3 drm/i915/guc: Rename GuC register state capture node to be more obvious
    9595d71b2a27 drm/i915/fbdev: lock the fbdev obj before vma pin
    b6375c5ecd8c drm/i915: Print return value on error
    be282c83caec mlxsw: core_thermal: Fix fan speed in maximum cooling state
    a71f388045ed thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
    0e60f30e65d3 net: stmmac: Fix for mismatched host/device DMA address width
    77800daf7529 net: mdio: fix owner field for mdio buses registered using ACPI
    c2b6e1a440d2 net: mdio: fix owner field for mdio buses registered using device-tree
    8f07f16b3455 net: phy: Ensure state transitions are processed from phy_stop()
    9d882229d365 xirc2ps_cs: Fix use after free bug in xirc2ps_detach
    97ea704f39b5 qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
    58c11bc7adaa efi/libstub: smbios: Use length member instead of record struct size
    e041bef1adee net: usb: smsc95xx: Limit packet length to skb->len
    53a915a00bd1 net: dsa: b53: mmap: fix device tree support
    51ddb84baff6 nfsd: don't replace page in rq_pages if it's a continuation of last page
    1c55982beb80 scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
    a0de3f29d878 i2c: hisi: Only use the completion interrupt to finish the transfer
    d6ea83a476a3 i2c: mxs: ensure that DMA buffers are safe for DMA
    6d1c6e982b7e i2c: imx-lpi2c: check only for enabled interrupt flags
    ec897f7524de igc: fix the validation logic for taprio's gate list
    910e2013d098 igbvf: Regard vf reset nack as success
    460e4073b715 intel/igbvf: free irq on the error path in igbvf_request_msix()
    3faa2b8f8f39 iavf: do not track VLAN 0 filters
    c9c56af093aa iavf: fix non-tunneled IPv6 UDP packet type and hashing
    0bfadea827eb iavf: fix inverted Rx hash condition leading to disabled hash
    a069909acc44 xsk: Add missing overflow check in xdp_umem_reg
    4797ad1f5617 NFS: Fix /proc/PID/io read_bytes for buffered reads
    26aef3be6efa arm64: dts: imx93: add missing #address-cells and #size-cells to i2c nodes
    9f66c5dbaf0a arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes
    d75af9878680 ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
    0828dda42e5f ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
    8505ead526be ARM: dts: imx6sll: e70k02: fix usbotg1 pinctrl
    08589e3ca8b1 arm64: dts: imx8dxl-evk: Fix eqos phy reset gpio
    bcbc0df73111 arm64: dts: imx8dxl-evk: Disable hibernation mode of AR8031 for EQOS
    47b2e1a67e6d power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
    84bdb3b76b07 power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
    1b483a983a84 arm64: dts: qcom: sm8450: Mark UFS controller as cache coherent
    ee9caccc5e5c drm/amd/display: Fix DP MST sinks removal issue
    5564be74a22a mptcp: fix UaF in listener shutdown
    2827f099b3fb mptcp: use the workqueue to destroy unaccepted sockets
    1516ddbc34bc mptcp: refactor passive socket initialization
    75eb69023ba3 drm/amd/display: Remove OTG DIV register write for Virtual signals.
    0ac86f7dda2b drm/amd/display: fix k1 k2 divider programming for phantom streams
    4a36da161b7a drm/amd/display: Include virtual signal to set k1 and k2 values
    a1f48806559a tracing/hwlat: Replace sched_setaffinity with set_cpus_allowed_ptr
    d496185c25a6 perf: fix perf_event_context->time
    ff8137727a2a perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
    e13d1b6979ca interconnect: qcom: qcm2290: Fix MASTER_SNOC_BIMC_NRT
    e598cf599a39 interconnect: qcom: sm8450: switch to qcom_icc_rpmh_* function
    d4c3aaee17fb interconnect: qcom: osm-l3: fix icc_onecell_data allocation
    e3a87a10f259 Linux 6.1.21
    7f4da237af30 powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500
    6ec2eb9db3f9 powerpc: Disable CPU unknown by CLANG when CC_IS_CLANG
    529546ea2834 perf: Fix check before add_event_to_groups() in perf_group_detach()
    36773a78b0de io_uring/msg_ring: let target know allocated index
    ba4045cc7d0c virt/coco/sev-guest: Add throttling awareness
    917f21725452 virt/coco/sev-guest: Convert the sw_exit_info_2 checking to a switch-case
    77be7df33e99 virt/coco/sev-guest: Do some code style cleanups
    77083f3c392d virt/coco/sev-guest: Carve out the request issuing logic into a helper
    92bbffb33f44 virt/coco/sev-guest: Remove the disable_vmpck label in handle_guest_request()
    9579ca57104b virt/coco/sev-guest: Simplify extended guest request handling
    12319ef1cfc7 virt/coco/sev-guest: Check SEV_SNP attribute at probe time
    bed3a56c5718 powerpc: Pass correct CPU reference to assembler
    3fc5941ecc31 x86/resctrl: Clear staged_config[] before and after it is used
    701d3da21321 x86/mm: Fix use of uninitialized buffer in sme_enable()
    18211af8ef1a x86/mce: Make sure logged MCEs are processed after sysfs update
    c87ada07340f ASoC: qcom: q6prm: fix incorrect clk_root passed to ADSP
    bfbbfb709ded ASoC: Intel: soc-acpi: fix copy-paste issue in topology names
    d511caa25dda cpuidle: psci: Iterate backwards over list in psci_pd_remove()
    1ea3e18e53f2 fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release()
    697893e0da3c net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
    1318a07706bb ACPI: PPTT: Fix to avoid sleep in the atomic context when PPTT is absent
    ac1d15d58d8a trace/hwlat: Do not start per-cpu thread if it is already running
    a78eab86e2a8 trace/hwlat: Do not wipe the contents of per-cpu thread data
    15f6110abd27 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
    0ad710a83dfa mmc: sdhci_am654: lower power-on failed message severity
    c2f879fd141c powerpc/boot: Don't always pass -mcpu=powerpc when building 32-bit uImage
    da0beae24493 powerpc/64: Set default CPU in Kconfig
    aff80fb99bd2 mm: teach mincore_hugetlb about pte markers
    b8388048b59f mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
    baafa2960731 vp_vdpa: fix the crash in hot unplug with vp_vdpa
    0556fd71a140 ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
    b61e86e38881 nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000
    47eb055ad358 ocfs2: fix data corruption after failed write
    4f84f31f6341 ftrace: Fix invalid address access in lookup_rec() when index is 0
    c3c3d36430dc mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket()
    85cd9045f193 mptcp: avoid setting TCP_CLOSE state twice
    d283617f97e1 mptcp: add ro_after_init for tcp{,v6}_prot_override
    f76e08cf98aa mptcp: fix possible deadlock in subflow_error_report
    39374fc8bb11 drm/amd/display: disconnect MPCC only on OTG change
    f8080f1e300e drm/amd/display: Do not set DRR on pipe Commit
    20f8225ae7f4 drm/amd/pm: bump SMU 13.0.4 driver_if header version
    6e403a0a69f7 drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
    dab920478e2b drm/amdgpu: Don't resume IOMMU after incomplete init
    0243590e33a7 drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz
    5c7591b8574c drm/i915/active: Fix misuse of non-idle barriers as fence trackers
    8bfeb1dd6f57 drm/sun4i: fix missing component unbind on bind errors
    dede8c14a37a drm/shmem-helper: Remove another errant put in error path
    873657813618 riscv: asid: Fixup stale TLB entry cause application crash
    eed0dc9c42ea Revert "riscv: mm: notify remote harts about mmu cache updates"
    d813d8e6d9a0 ALSA: hda/realtek: fix speaker, mute/micmute LEDs not work on a HP platform
    3ce3f1558b61 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
    44717bdf7139 ALSA: hda: intel-dsp-config: add MTL PCI id
    4bba9c8adec8 KVM: nVMX: add missing consistency checks for CR0 and CR4
    ade62ea3e897 KVM: SVM: Modify AVIC GATag to support max number of 512 vCPUs
    acb0288bdd42 KVM: SVM: Fix a benign off-by-one bug in AVIC physical table mask
    72f90f9cf032 cifs: Fix smb2_set_path_size()
    c8f31c1a0b7c tracing: Make tracepoint lockdep check actually test something
    3968bb946a07 tracing: Check field value in hist_field_name()
    192dcbf57311 tracing: Make splice_read available again
    4aa004224c07 cifs: generate signkey for the channel that's reconnecting
    ae75a110ccc1 md: select BLOCK_LEGACY_AUTOLOAD
    313a5dc3a2aa interconnect: exynos: fix registration race
    c479e4ac4a3d interconnect: exynos: fix node leak in probe PM QoS error path
    323e51d21d67 interconnect: qcom: msm8974: fix registration race
    1b1325879ca6 interconnect: qcom: rpmh: fix registration race
    0add9360fee9 interconnect: qcom: rpmh: fix probe child-node error handling
    5e8d808cb274 interconnect: qcom: rpm: fix registration race
    1d7dd7291b88 interconnect: qcom: rpm: fix probe child-node error handling
    306b406e4ec9 interconnect: qcom: osm-l3: fix registration race
    3167306455d0 interconnect: fix mem leak when freeing nodes
    c8a8ebeaa040 interconnect: imx: fix registration race
    949cb37d21bc interconnect: fix provider registration API
    3d6e1ac21d79 interconnect: fix icc_provider_del() error handling
    f99450d919ff s390/ipl: add missing intersection check to ipl_report handling
    9ba1720f6c4a drm/ttm: Fix a NULL pointer dereference
    20d305f79c4e memory: tegra30-emc: fix interconnect registration race
    d40e710e956b memory: tegra124-emc: fix interconnect registration race
    32013d947a76 memory: tegra20-emc: fix interconnect registration race
    772764570bd7 memory: tegra: fix interconnect registration race
    162049c31eb6 firmware: xilinx: don't make a sleepable memory allocation from an atomic context
    fad3809467df serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
    4d8c41584bc9 serial: 8250_fsl: fix handle_irq locking
    ba2849db4983 serial: 8250_em: Fix UART port type
    d72ebe4855eb tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
    4d2304d8f779 Revert "tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config dependency"
    e71eb4dca41f ext4: fix possible double unlock when moving a directory
    a16394b5d661 drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    7be9a2f8c517 drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini
    ff74b0122f56 sh: intc: Avoid spurious sizeof-pointer-div warning
    b9c379e1d7e1 LoongArch: Only call get_timer_irq() once in constant_clockevent_init()
    3f7c09f64289 net/9p: fix bug in client create for .L
    d9923e7214a8 drm/amdkfd: Fix an illegal memory access
    94fd091576b1 ext4: fix task hung in ext4_xattr_delete_inode
    70e66bdeae4d ext4: update s_journal_inum if it changes after journal replay
    b4afe4629ec8 ext4: fail ext4_iget if special inode unallocated
    20ca409886ce rust: arch/um: Disable FP/SIMD instruction to match x86
    1cffdf91ca2b jffs2: correct logic when creating a hole in jffs2_write_begin
    71285be619cb soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported
    2746fdf51b59 mmc: atmel-mci: fix race between stop command and start of next command
    a2b8a41cc9e3 media: m5mols: fix off-by-one loop termination error
    d3827d53b098 hwmon: (ltc2992) Set `can_sleep` flag for GPIO chip
    b9e80aa64ee0 hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
    8a3876f8c79f kconfig: Update config changed flag before calling callback
    fc331de5523f hwmon: tmp512: drop of_match_ptr for ID table
    634b3304f78d hwmon: (ucd90320) Add minimum delay between bus accesses
    265656c43eb9 hwmon: (ina3221) return prober error code
    b2ae1f15cd6f hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
    afda11bae889 hwmon: (adt7475) Fix masking of hysteresis registers
    ad22336d33d5 hwmon: (adt7475) Display smoothing attributes in correct order
    ecb1b5135bd3 bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails
    40d8c4f6e427 bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change
    42e8ecb1d30d ethernet: sun: add check for the mdesc_grab()
    6992a1004def net: dsa: microchip: fix RGMII delay configuration on KSZ8765/KSZ8794/KSZ8795
    5f916531e750 qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
    51b6912a6bac selftests: net: devlink_port_split.py: skip test if no suitable device available
    76d8a9a194ca i825xx: sni_82596: use eth_hw_addr_set()
    c78f1345db4e net/iucv: Fix size of interrupt data
    ee744ac65c40 net: atlantic: Fix crash when XDP is enabled but no program is loaded
    4caee8e7d91e net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
    1c5642cfa6d5 ipv4: Fix incorrect table ID in IOCTL path
    c058d3e4e82a sh_eth: avoid PHY being resumed when interface is not up
    fba6fb5447c6 ravb: avoid PHY being resumed when interface is not up
    eaae4e3f3a1d net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
    b5d6e4f6b97c net: dsa: don't error out when drivers return ETH_DATA_LEN in .port_max_mtu()
    2ecc6e449593 ice: xsk: disable txq irq before flushing hw
    717d20710596 veth: Fix use after free in XDP_REDIRECT
    555a9c6a191a net/mlx5: Set BREAK_FW_WAIT flag first when removing driver
    b7350f8dbe0c net/mlx5e: Fix cleanup null-ptr deref on encap lock
    a506e38b6940 net/mlx5: E-switch, Fix missing set of split_count when forward to ovs internal port
    3a1f54924548 net/mlx5: E-switch, Fix wrong usage of source port rewrite in split rules
    76422c92e480 net/mlx5e: Support Geneve and GRE with VF tunnel offload
    bec05b05e698 net/mlx5: Disable eswitch before waiting for VF pages
    752860d8aaf4 net/mlx5: Fix setting ec_function bit in MANAGE_PAGES
    20b097ca2205 net/mlx5e: Don't cache tunnel offloads capability
    e79eee0e7091 net/mlx5e: Fix macsec ASO context alignment
    f72a9737f5f9 block: sunvdc: add check for mdesc_grab() returning NULL
    bcd535f07c58 nvmet: avoid potential UAF in nvmet_req_complete()
    afd94e7cbabb nvme: fix handling single range discard request
    351c9633c9d4 block: null_blk: Fix handling of fake timeout request
    5ca66a9fff75 powerpc/mm: Fix false detection of read faults
    9821576e1170 drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
    c7bdc137ca16 net: usb: smsc75xx: Limit packet length to skb->len
    3517584cf1b3 net/smc: fix deadlock triggered by cancel_delayed_work_syn()
    bb0c7212efb9 mlxsw: spectrum: Fix incorrect parsing depth after reload
    5e331022b448 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
    b339c0af83d4 tcp: Fix bind() conflict check for dual-stack wildcard address.
    42173a7147e2 net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
    a69b72b57b7d net: tunnels: annotate lockless accesses to dev->needed_headroom
    e3fda704903f loop: Fix use-after-free issues
    221f655b574d block: do not reverse request order when flushing plug list
    68fbc35583ab net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
    85d6c1fc36b3 net: dsa: mt7530: remove now incorrect comment regarding port 5
    e10c7ab7d3a1 qed/qed_dev: guard against a possible division by zero
    3c270435db8a net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
    1a1682abf739 drm/i915/sseu: fix max_subslices array-index-out-of-bounds access
    d586d58c3f2a drm/i915/psr: Use calculated io and fast wake lines
    a2410d0c3d2d PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
    1e803737141f vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
    6efd13e9acd1 vdpa_sim: not reset state in vdpasim_queue_ready
    374bcab6c141 vhost-vdpa: free iommu domain after last use during cleanup
    c703362a66ea i40e: Fix kernel crash during reboot when adapter is in recovery mode
    e92ee025b53d ipvlan: Make skb->skb_iif track skb->dev for l3s mode
    a97ef110c491 nfc: pn533: initialize struct pn533_out_arg properly
    4d2ee43ac2a9 selftests: fix LLVM build for i386 and x86_64
    dcf94604d4a9 wifi: cfg80211: fix MLO connection ownership
    87e80ea4fbc9 wifi: nl80211: fix NULL-ptr deref in offchan check
    928fa441f149 vdpa/mlx5: should not activate virtq object when suspended
    9180aa4622a7 tcp: tcp_make_synack() can be called from process context
    6f93f5d6d7af ftrace,kcfi: Define ftrace_stub_graph conditionally
    7e0ae8667fcd scsi: core: Fix a procfs host directory removal regression
    d2112b18b591 scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD
    71ba8c384b77 netfilter: nft_redir: correct value of inet type `.maxattrs`
    d0f645ea552c netfilter: nft_redir: correct length for loading protocol registers
    8b02143c2ea6 netfilter: nft_masq: correct length for loading protocol registers
    ef6b379d5cec netfilter: nft_nat: correct length for loading protocol registers
    d0564e648c7a ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
    0023972a7593 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
    c6260ceea4a0 scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
    5aab9342f12f scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
    705097d52a15 scsi: mpi3mr: Return proper values for failures in firmware init path
    480aae2f3063 scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
    f28bdab9e208 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
    dca06ccf13de scsi: mpi3mr: Fix config page DMA memory leak
    574cc10edaa7 scsi: mpi3mr: Fix throttle_groups memory leak
    b5e5bbb3fa5f scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    704e3a33bda4 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
    22ea42969325 ASoC: SOF: ipc4-topology: set dmic dai index from copier
    827700ad25d6 ASOC: SOF: Intel: pci-tgl: Fix device description
    1415eb56dd2a ASoC: SOF: Intel: SKL: Fix device description
    47a7b53c52c7 ASoC: SOF: Intel: HDA: Fix device description
    bda78144c8a5 ASoC: SOF: Intel: MTL: Fix the device description
    019fb49c3d83 clk: HI655X: select REGMAP instead of depending on it
    33f080889cfe drm/meson: fix 1px pink line on GXM when scaling video overlay
    0b26f080ccf5 cifs: Move the in_send statistic to __smb_send_rqst()
    59f750e5d2ea fbdev: chipsfb: Fix error codes in chipsfb_pci_init()
    2ece1e25bb42 drm/panfrost: Don't sync rpm suspension after mmu flushing
    96a5aee27439 drm/msm/gem: Prevent blocking within shrinker loop
    5ed267cc7b6c drm/virtio: Pass correct device to dma_sync_sgtable_for_device()
    c436a1743333 xfrm: Allow transport-mode states with AF_UNSPEC selector

(From OE-Core rev: 8a91cb055e624d8a5f0f8c9c3d0975a16c366fd1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:15:31 +01:00
Ulrich Ölmann
de71f28d9f bitbake: bitbake-user-manual: fix BB_RUNFMT's default value
According to the code the default value is slightly different (see [1] which
reflects the current tip commit at the time of writing).

[1] https://git.openembedded.org/bitbake/tree/lib/bb/build.py?id=d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c#n237

(Bitbake rev: c9aaac79f62bb388ec87ca80b6ac119ef39c7c4a)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-27 14:11:19 +01:00
Lee Chee Yang
405feecef8 release-notes-4.2: update RC3 changes
also fix typo for CVE-2023-24532.

(From yocto-docs rev: daafb70e6d60fd7d00c8de736eca2c430db77ee8)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-26 15:59:47 +01:00
Ross Burton
5a944d32a1 go: backport fix for CVE-2023-24537
(From OE-Core rev: 9d059c11a60d1aca8ffefe42c7b49fa3e4180eb3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:05:14 +01:00
Ross Burton
5323e885bc screen: backport fix for CVE-2023-24626
(From OE-Core rev: 26242b20d407d5e498083d7e6fa082153be75092)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:05:14 +01:00
Paul Eggleton
63bd5762b4 release-notes-4.2: add release notes
Add new features, upgrades, CVEs, contributors and license changes
based upon combing through the commits in the release. I haven't yet
noted any known issues.

Note: I had to add the upgrades list from the commits rather than from
the layer index this time (as the branch comparison feature is
unfortunately broken there at the moment), thus the format is a little
different.

(From yocto-docs rev: 4d6807e34adf5d92d9b6e5852736443a867c78fa)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
86b1247db4 release-notes-4.1: fix some CVE links
The "(ignored)" suffixes were included in the link value which broke the
link.

(From yocto-docs rev: bff0fb0e39f69101f036ddbc27a82c15047bdbcd)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
57bf1f17d7 migration-guides: extend migration guide for 4.2
* Reorder and extend existing info a little
* Add additional sections after combing through changes

(From yocto-docs rev: 337d35d85b5b4361655549ea7eb6fdf5f55e7506)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
7508711b38 dev/ref-manual: Document INIT_MANAGER
The INIT_MANAGER variable was added in 3.0 but it seems we didn't get
around to documenting it yet. I have added a variable glossary entry and
made the basic adjustment of the "Using systemd Exclusively" section in
the dev manual, however I think the latter section still needs work.

(From yocto-docs rev: 602c0e8f770516256dab04edfd887377303c06bb)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
5a8e2d41a6 ref-manual: move Initramfs entry from variables to terms
It looks like this was accidentally added to the variable glossary
instead of the terms list, so move it to the latter.

(From yocto-docs rev: c9829dcae18cd2cb5f008081d841ca995b76b8bf)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
f961d5f73e ref-manual: add SDK_ARCHIVE_TYPE
This appears to have been introduced back in 2019, but we missed
documenting it.

(From yocto-docs rev: 064a5d84890416362a1a7a337347abbe9afe485d)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
bc18257617 ref-manual: add section link also to buildtools-extended entry
I realise it's already in the buildtools entry above, but for
completeness let's add it to the buildtools-extended entry as well.

(From yocto-docs rev: d9db1d380120e976a30e9eddb86b391084178c94)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
d469b1fae0 ref-manual: add FIT_CONF_DEFAULT_DTB
New variable in 4.2.

(From yocto-docs rev: 1228ce16a33bd6f00e5399e4c381be808a272281)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
d2852faef4 ref-manual: document new patch-status-* QA checks
Newly added in 4.2.

(From yocto-docs rev: 12e576fb6a932c4089651371c71c61fd1e96cd48)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
216b0af07e ref-manual: add missing QA checks from previous releases
This section needs to be kept in sync with the "QA Error and Warning
Messages" section (qa-checks.rst) - this is the other direction that
tells folks what all of the values in WARN_QA / ERROR_QA are intended
to do. Add the ones that we missed adding here for previous releases,
and also use a proper reference for the buildhistory class in the entry
for version-going-backwards.

(From yocto-docs rev: 356a6e650bb1de66b806142f75a03bda57972a94)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
356b6f0e32 ref-manual: Remove references to package_tar class
This has been removed in 4.2.

(From yocto-docs rev: a5dcaf95915deec5243ab2fd0711c63e98b2a661)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
8242bd30de migration-guides: Add coverage of addpylib directive
To complement what I am adding to the BitBake reference manual, add a
section in the 4.2 migration guide, a reference in the structure section
of the reference manual (where we talk about meta/lib) and adjust the
release notes item to be a little more concise.

(From yocto-docs rev: 0903e82a9da263c6d64aead03407eb377eb5bbfe)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
f901224f88 ref-manual: add BB_CACHEDIR
New in 4.2 (pointer to BitBake manual, changes sent separately for
that).

(From yocto-docs rev: a2112eb3f1084040ad48e392075297b4630b93e1)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:54 +01:00
Paul Eggleton
62031fbfce dev/ref-manual: Remove references to INC_PR
This technique is no longer used (nor necessary), let's just remove it
to avoid any confusion.

(From yocto-docs rev: 8f50d0bf22fea8064c112f52df06dbd6a85a7a83)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:53 +01:00
Paul Eggleton
37f0bc3701 ref-manual: update for IMAGE_MACHINE_SUFFIX addition
IMAGE_MACHINE_SUFFIX is a new variable in 4.2, and there were some
associated changes to how IMAGE_NAME, IMAGE_LINK_NAME,
INITRAMFS_IMAGE_NAME and KERNEL_ARTIFACT_NAME are set by default. As a
result, instead of repeating how KERNEL_ARTIFACT_NAME is set by default,
let's just direct people to the entry for that variable so we only have
to update one place.

At the same time I noticed INITRAMFS_IMAGE_NAME  was not documented at
all, so add that in.

(From yocto-docs rev: d53bf2878a268fb71785c73053e3657436f3f5ba)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:53 +01:00
Paul Eggleton
f64e767e83 ref-manual: Add new RUST_CHANNEL variable
Newly added for 4.2.

(From yocto-docs rev: 89b583413e616aafa5f853a7631cac0f97d387db)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:53 +01:00
Paul Eggleton
84a9d5e09b ref-manual: add new SDK_ZIP_OPTIONS variable
Newly added for 4.2.

(From yocto-docs rev: e599d82cb3377900632182d216925a2aa44d3989)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:53 +01:00
Lee Chee Yang
df6dbc5776 migration-guides: add release-notes for 4.0.9
(From yocto-docs rev: cc2f1a4a106d36ec99b7c1bedfcc876839c0c20b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:30 +01:00
Paul Eggleton
bfa9338b57 bitbake: bitbake-user-manual: add BB_HASH_CODEPARSER_VALS
New variable for 2.4.

(Bitbake rev: d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:30 +01:00
Paul Eggleton
433a90204c bitbake: bitbake-user-manual: add addpylib and BB_GLOBAL_PYMODULES
New directive and variable for 2.4.

(Bitbake rev: 1b74a7b71e6c8a034163b57ef4e13b4a58c1f844)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:30 +01:00
Paul Eggleton
c020160248 bitbake: bitbake-user-manual: document BB_CACHEDIR
New variable for 2.4.

(Bitbake rev: fa91e1a02240be1f7b78ef70953ff4a0e0106cc2)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:30 +01:00
Enrico Scholz
cbae80ec40 bitbake: cooker: do not abort on single ctrl-c
After b7ed7e9a815c4e10447fd499508be3dbb47f06e8 bitbake aborts immediately
when a single ctrl-c is pressed.

Patch restores the previous behavior where a single ctrl-c waits for
active tasks to finish.

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

(Bitbake rev: 66131fa6a3e12c28710d09e1dbf3c03f2981280d)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 12:36:21 +01:00
Svend Meyland Nicolaisen
1a1025658c bitbake: npmsw fetcher: Avoid instantiating Fetch class if url list is empty
Recipes containing both git and npmsw sources in the SRC_URI fail
during fetch from the shrinkwrap. It seems that when the fetcher is
fetching from the shrinkwrap, the SRCREV variable has been deleted but it
till ends up fetching from the git source resulting in an error because
SRCREV is undefined. The root cause of this is that the Fetch class defaults
to urls from the SRC_URI when the urls parameter contains an empty list. This
patch will ensure that Fetch is not instantiated if the urls list is empty.

(Bitbake rev: e602963dfd505eef08702366383358d29ee20c4d)

Signed-off-by: Svend Meyland Nicolaisen <public@smn.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:59:14 +01:00
Khem Raj
6fedd43f96 apt-util: Fix ptest on musl
(From OE-Core rev: 45a8bb6e4676899d40525e7d5ad1c1ddefee3185)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Xiangyu Chen
ef16919e98 shadow: backport patch to fix CVE-2023-29383
The fix of CVE-2023-29383.patch contains a bug that it rejects all
characters that are not control ones, so backup another patch named
"0001-Overhaul-valid_field.patch" from upstream to fix it.

(From OE-Core rev: c5da9027cc73484936f4f82a37c32348cee1e229)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Mingli Yu
22fc34613b report-error: make it catch ParseError error
Make the report-error catch ParseError error as below and then
we can check it directly via error report web.

ParseError at /build/layers/oe-core/meta/recipes-support/curl/curl_7.88.1.bb:32: unparsed line: 'PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver'

(From OE-Core rev: dc22ac8b20cafbc517b7750dc3381c1a9a42cda4)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Ross Burton
78ddb9f87e machine/qemuarm*: don't explicitly set vmalloc
In 5c6064 the qemuarm* machines gained vmalloc=256, because in testing
Bruce was seeing problems when the vmalloc area was too big for the
memory size of the machine (eg 256MB).

The intention was for the area to be very small, but 256 bytes is too
small and the kernel sets a minimal vmalloc area of 16MiB:

[    0.000000] vmalloc area is too small, limiting to 16MiB

However, a 16MiB area is too small and results in pages of messages when
you try and use the system:

[  242.822481] vmap allocation for size 4100096 failed: use vmalloc=<size> to increase size

There have been a number of changes since this commit, remove the
explicit vmalloc argument and use the default.  I've tested that the
system still boots locally.

[1] early_vmalloc(), https://elixir.bootlin.com/linux/latest/source/arch/arm/mm/mmu.c#L1170
(From OE-Core rev: 816dd95320ba2e4a0f6b816e4f58999c0f235ae2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Pavel Zhukov
c1e24cee0e scripts/runqemu: Add possibility to disable network
Default network configuration requires tun/tap module and while being
usable it conflicts with tap devices created by VPN clients sometimes
and requires root permissions to use . While it's possible to work
this around it's not always feasible if network is not required
Add nonetwork option which can be specified if the network connectivity is
not needed and SDL/serial is enough to communicate with the image.

(From OE-Core rev: d4073dedbb234ff3c6bbebafc836fedf90d96569)

Signed-off-by: Pavel Zhukov <pazhukov@suse.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Pavel Zhukov
d84eb2a5e4 scripts/rpm2cpio.sh: Use bzip2 instead of bunzip2
bzip2 is in HOSTTOOLS already and used in few other places already.
This fixes bin_package class for RPM packages without adding bunzip2 to
HOSTTOOLS.

(From OE-Core rev: eb3ec7469fff857c819332371ad1d586f43c79c3)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
1cca2202bf stress-ng: upgrade 0.15.06 -> 0.15.07
(From OE-Core rev: 5aaf64d33c650bd7f9dd4460a411c9eea355a6da)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
bc9b1df26f python3-pytest: upgrade 7.2.2 -> 7.3.1
Changelog:
https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 596b7242bc0730d24689fa1556aa0e1f66cde840)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
5f2b568c89 python3-packaging: upgrade 23.0 -> 23.1
Changelog:
===========
 Parse raw metadata
 Import underlying parser functions as an underscored variable
 Improve error for local version label with unsupported operators
 Add dedicated error for specifiers with incorrect .* suffix
 Replace spaces in platform names with underscores
 Relax typing of _key on _BaseVersion
 Handle prefix match with zeros at end of prefix correctly

(From OE-Core rev: ecd541b4290932d2b547376e8dc04863634f11a7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
afa28c7e17 python3-dtschema: upgrade 2023.1 -> 2023.4
Changelog:
==========
Schemas:
 - Add missing PCI descriptions and properties
 - Add I2C clock stretching property
 - Add 'firmware-name' property
 - Add UEFI chosen properties
 - Enable cache schema

Meta-schemas:
 - Improve checking non-patterns in patternProperties
 - Allow 'not' at top-level of schemas
 - Relax meta-schema checks on referenced schemas

Tools:
 - Handle examples with 'interrupt-controller' node

(From OE-Core rev: 997715fcb7fc3c9c8d1a5d886857772098bd511c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
7c582c805d ofono: upgrade 2.0 -> 2.1
(From OE-Core rev: 404acd14a992101578a4806df161fd587a9279a6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
49abe28bba boost: upgrade 1.81.0 -> 1.82.0
Changelog:
https://www.boost.org/users/history/version_1_82_0.html

(From OE-Core rev: 9d9042f58f6bbb7d9f0441436556ceb887887866)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
f3f38e2c80 libxml2: upgrade 2.10.3 -> 2.10.4
Changelog:
==========
### Security

- [CVE-2023-29469] Hashing of empty dict strings isn't deterministic
- [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType
- schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK

### Regressions

- SAX2: Ignore namespaces in HTML documents
- io: Fix "buffer full" error with certain buffer sizes

(From OE-Core rev: 9ddbbf2f86f046784c3baa58de5606a73e9e24f4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
8457590f9f libsolv: upgrade 0.7.23 -> 0.7.24
Changelog:
==========
- selected bug fixes:
  * handle learnt rules in solver_alternativeinfo()
- new features:
  * support x86_64_v[234] architecture levels
  * implement decision sorting for package decisionlists

(From OE-Core rev: 9c9a4efa5f726a8f4fbde256c20595f9fbb40580)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Wang Mingyu
6ba9422665 libgit2: upgrade 1.6.3 -> 1.6.4
Bug fixes
=========
    config: return GIT_ENOTFOUND for missing programdata

(From OE-Core rev: 9edb13d7a7d79423c93f01d9e112193dd7b1be21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Khem Raj
77b5567f18 libxml2: Disable icu tests on musl
these tests do not work with musl's iconv implementation and would need
enabling icu support using --with-icu which we do not enable by default

Additionally enable locale with musl too.

(From OE-Core rev: 03980db15fa1de2f970705364c2316f17428a3aa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Khem Raj
2e2450a704 gawk: Add skipped.txt to emit test to ignore
This file can be processed by run-ptest during runtime and tests
mentioned in skipped.txt will not be run.

(From OE-Core rev: 4d30f3535f53ad6d8f462f99b6cd2fe8d2ecbfb5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Khem Raj
50cceeb627 gawk: Remove redundant patch
This patch is doing the same things thats already being done in the
do_install_ptest where the problematic tests are being deleted from
final package. run-ptest script runs a find for available tests and runs
each test target found during run therefore its enough to remove
them from final install.

(From OE-Core rev: 4a32ad54d6c051fe387c67721cf96eb851ecd835)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Khem Raj
66eab8234c gawk: Disable known ptest fails on musl
Add needed locale rdeps on musl as well.

(From OE-Core rev: 1e71eaf6792727d2335ee2e2ad4c5ce88137fe77)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:06 +01:00
Bruce Ashfield
01f0a371b1 kernel: improve initramfs bundle processing time
This is a partial fix for bugzilla 15059 [https://bugzilla.yoctoproject.org/show_bug.cgi?id=15059]

It has been noted by several people that when an initramfs is bundled:

  - a lot of the kernel is rebuilt
  - it takes a really long time

When looking at the logs, the second kernel compilation (that performs
the bundle) is not using the parallel make settings, and builds with
-j1.

We are already explicitly passing PARALLEL_MAKE when building kernel
modules, and by extending that explicit use to the main kernel
compilation, we ensure that we always get a parallel build.

Build times chnaged from more than 30 minutes for the bundle, to
3 minutes in local testing.

The question of whether or not too much is rebuilding during the
bundle step is still an open question, but with this tweak, at least
the build time is back in the realm of acceptable.

(From OE-Core rev: 88fd394ecf0f2174b792075d409d87046896426b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:05 +01:00
Thomas Roos
150464e2ff oeqa/utils/metadata.py: Fix running oe-selftest running with no distro set
This will use default values when no distribution is set.

[YOCTO #15086]

(From OE-Core rev: 888fe63b46efceeff08dbe8c4f66fec33d06cb7a)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:05 +01:00
Thomas Roos
67e22b9fc9 oeqa/selftest: Use SSTATE_DIR of parent build dir
This will configure the build-st/conf/local.conf with the SSTATE_DIR
of the parent build dir to speed up the build, test, dev process.

(From OE-Core rev: 71dca60ddcf4370ff7e91de6ddf8a7d4cf76db50)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:05 +01:00
Wang Mingyu
d8e9c1c049 systemd: upgrade 253.1 -> 253.3
Changelog:
https://github.com/systemd/systemd-stable/blob/v253.3/NEWS

0025-systemctl-explicitly-cast-the-constants-to-uint64_t.patch
removed since it's included in 253.3

(From OE-Core rev: 37ca7f59245c31b483db01f2e1050ba979768b1b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-20 11:56:05 +01:00
Bartosz Golaszewski
ff633ce7a7 python3-build: add missing run-time dependencies
python3-build has several run-time dependencies that are missing from
the recipe. This makes it impossible to use the module in self-hosted
images. Add missing RDEPENDS.

(From OE-Core rev: f4a4de1dc3521695c14dfc206fa4cd0e10c250aa)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Bartosz Golaszewski
a3ff0f2d4b python3-manifest: add ensurepip
Add the pip bootstrapping module from the standard library to the
manifest. This module is a run-time requirement of python3-build.

(From OE-Core rev: 7013ddda8f249377c00bc4efb40c34dd5fcfe15a)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Bartosz Golaszewski
28b08e55b3 python3-manifest: add tomllib
Add the TOML parsing module from the standard library to the manifest.

(From OE-Core rev: b6f2ca4713447710f5ce29261d1009c3574af721)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Bartosz Golaszewski
3c12f99c35 python3-packaging: add missing run-time dependencies
python3-profile is required by python3-packaging at run-time.

(From OE-Core rev: 5281d5f8a9111413ed8d09360185aca7fe1f23a5)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Bartosz Golaszewski
82ee2dc94b python3-pyproject-hooks: add missing run-time dependencies
JSON module is required at run-time by pyproject-hooks.

(From OE-Core rev: f886fe227fe91d0d1566e3ddb01856d7e67a8a2d)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Ola x Nilsson
1d70f5b466 package: Use shlex instead of deprecated pipe
The pipe library is deprecated in Python 3.11 and will be removed in
Python 3.13.  pipe.quote is just an import of shlex.quote anyway.

(From OE-Core rev: 47731e0f7d9e92db39a3d551fe50df69c1cc6d6a)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Ola x Nilsson
2f958e043a patch.py: Use shlex instead of deprecated pipe
The pipe library is deprecated in Python 3.11 and will be removed in
Python 3.13.  pipe.quote is just an import of shlex.quote anyway.

Clean up imports while we're at it.

(From OE-Core rev: 5f33c7b99a991c380d1813da8248ba5470ca4d4e)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Khem Raj
1a5d7fa527 musl-locales: Add Canadian French (fr_CA) locale support
(From OE-Core rev: 5531b272527323488aa0c9f7b17eff085e800e78)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Jan Vermaete
378dddd7a3 cve-update-nvd2-native: added the missing http import
(From OE-Core rev: 39d2cde7eb922cb0a2cf9402cd8b3ae3b4cc2f62)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Zhixiong Chi
c9205c3bfd libpam: Fix the xtests/tst-pam_motd[1|3] failures
Reproducer:
1.Enable the ptest of libpam and build the image.
2.Boot the rootfs with nfs, then run the following tests as root:
 cd /usr/share/Linux-PAM/xtests
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd1
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd3

After applying this patch, the ptest doesn't be failed.

(From OE-Core rev: 549e54ad6a175359b0a57987ccdab8989df9d3a9)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-14 16:44:24 +01:00
Martin Jansa
493e0eae7f populate_sdk_ext.bbclass: set METADATA_REVISION with an DISTRO override
* otherwise it ends '<unknown>' inside esdk, because of parsing order:
  # $METADATA_REVISION [3 operations]
  #   set /OE/build/test-D/conf/local.conf:43
  #     "f2da54ef432eac89b0f18eaad68e602b6990b5de"
  #   immediate /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:9
  #     "${@oe.buildcfg.detect_revision(d)}"
  #   set /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:10
  #     [vardepvalue] "${METADATA_REVISION}"
  # pre-expansion value:
  #   "<unknown>"
  METADATA_REVISION="<unknown>"

* This causes base-files.do_install and following tasks to have different
  signatures between esdk and the build directory where this esdk was created:

  bitbake-diffsigs {test-D,poky/build-uninative-disabled}/tmp/stamps/qemux86_64-poky-linux/base-files/*do_install*sigdata*
  NOTE: Starting bitbake server...
  basehash changed from 5b6981cf58bfd57d416b0e31611b73a26baae635dd1ac31c08d46f95064c3ffc to dbdce042da4d7813d632b6d1cc87a16f728ad20e55fecbc392830e6acf72babd
  Variable METADATA_REVISION value changed from '<unknown>' to 'f2da54ef432eac89b0f18eaad68e602b6990b5de'

  and an warning from "python3 /OE/build/test-D/ext-sdk-prepare.py" when eSDK is being prepared for use:
  WARNING: The base-files:do_install sig is computed to be 83b9c9a6ef1145baac5a1e0d08814b9156af239c58fc42df95c25a9cd8a7f201,
    but the sig is locked to 3dc22233059075978e5503691e98e79e7cc60db94259dfcd886bca2291c0add7 in SIGGEN_LOCKEDSIGS_t-qemux86-64

[RP: Add commit about why we need the override for future reference]
(From OE-Core rev: 675ea7281c17f77bf5dea17cfd4d9da0928382a0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 13:53:44 +01:00
Piotr Łobacz
fa56412806 libarchive: Enable acls, xattr for native as well as target
Libarchive is being used by OPKG package manager as default
API for extracting tar files. This fix allows us to extract
ipks packages with preserved ACLs and xattrs.

Partially addresses [YOCTO #15091]

[RP: Merge into main PACKAGECONFIG and tweak commit message]
(From OE-Core rev: 913aad1ac013368aef8f6af332588ef24bba46bd)

Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 13:53:44 +01:00
Alexander Kanavin
9f96e49468 meta/recipes: ensure all recipes have a SUMMARY
DESCRIPTION is optional for now; writing good component descriptions
is not easy (but appreciated).

(From OE-Core rev: 9ce4f9248db3db70732d886a18ea355f321bd49d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 13:53:44 +01:00
Chen Qi
ba94f9a3b1 bitbake: runqueue: fix PSI check calculation
The current PSI check calculation does not take into consideration
the possibility of the time interval between last check and current
check being much larger than 1s. In fact, the current behavior does
not match what the manual says about BB_PRESSURE_MAX_XXX, even if
the value is set to upper limit, 1000000, we still get many blocks
on new task launch. The difference between 'total' should be divided
by the time interval if it's larger than 1s.

(Bitbake rev: b4763c2c93e7494e0a27f5970c19c1aac66c228b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 12:01:45 +01:00
Kai Kang
a99566dac1 bitbake: bitbake: ConfHandler: Allow variable flag name with a single character
Update regex pattern to allow variable flag name with a single character.

Regression tests have also been updated in `bb.parse` and
`bin/bitbake-selftest -k ParseTest` has been successfully executed.

Eliminate a trailing space as well.

(Bitbake rev: bb9e523291a3cad6e1596ee6a1e715b5e5feba8f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 12:01:45 +01:00
Mingli Yu
066f44b161 bitbake: event: add bb.event.ParseError
Add bb.event.ParseError to let error-report can catch this kind of error.

(Bitbake rev: 316524ab59a5e738c25e062923ee5717d88ae5c7)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 12:01:45 +01:00
Michael Opdenacker
00d9f298b0 migration-guides: update 4.2 migration and release notes
(From yocto-docs rev: 3aac9f8b57434f3852a78915c326074252177515)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Frederic Martinsons <frederic.martinsons@gmail.com>
CC: Marta Rybczynska <rybczynska@gmail.com>
CC: Paul Eggleton <paul.eggleton@linux.microsoft.com>
CC: Alex Kiernan <alex.kiernan@gmail.com>
CC: Alexis Lothoré <alexis.lothore@bootlin.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:59:58 +01:00
Michael Opdenacker
6406677e92 ref-manual: variables: document VOLATILE_TMP_DIR
(From yocto-docs rev: 9e66f080b3609e5d51648feec4d6d7ff72644e9e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:59:58 +01:00
bkylerussell@gmail.com
2368c2c884 kernel-devsrc: depend on python3-core instead of python3
Avoids pulling in potential GPLv3 packages through python3-misc catch-all.

python3-core is the intended minimal RDEPENDS for packages requiring python3
support.  Other python3 module dependencies should be listed explicitly.

(From OE-Core rev: 231f93becad619f6afa383f9b1132f1d4b02fa64)

Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Pawan Badganchi
2c9488e5d2 tiff: Add fix for CVE-2022-4645
Below patch fixes the CVE-2022-4645 as well.

0001-Revised-handling-of-TIFFTAG_INKNAMES-and-related-TIF.patch

Link: https://nvd.nist.gov/vuln/detail/CVE-2022-4645

(From OE-Core rev: 312393edf0aa5b2c515c08245d1c289ba79bad55)

Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Arslan Ahmad
03395abc2c kernel-fitimage: Fix the default dtb config check
The current check for default dtb image checks if the file exists and is
not empty but appends a slash to the path due to which the file is never
found. It also doesn't replace slash in filename with _ as done when
populating the DTB variable. A better way to check the existence of the
device tree would be from the list of DTBs since this is used during
compilation.

(From OE-Core rev: e8e31e11b158837804d029e85f5f8ed3c219a4ea)

Signed-off-by: Arslan Ahmad <arslan_ahmad@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
042d94dce8 mesa: upgrade 23.0.0 -> 23.0.2
(From OE-Core rev: f7f483f90ba17342a83fdfe7c7dccf5a3f7bf624)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Khem Raj
25f6334feb systemd: Refresh a musl patch to remove patch-fuzz with 253.3
(From OE-Core rev: cb89375d8753f01f7da69bc5609dafb707a8a983)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Dmitry Baryshkov
2ac329445c linux-firmware: upgrade 20230210 -> 20230404
The LICENCE.qat_firmware license file was updated to reflect Intel
licensing (it removed a term regarding patent licenses).

License-Update: additional files

(From OE-Core rev: fd43b59ab32e2115fcda7ad63d3a5ccc2683c7d5)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
346bf4e814 python3-setuptools: upgrade 67.6.0 -> 67.6.1
Changelog:
==========
 #3865: Fixed _WouldIgnoreField warnings for scripts and gui_scripts, when entry-points is not listed in dynamic.
 #3875: Update code generated by validate-pyproject to use v0.12.2. This should fix default license patterns when pyproject.toml is used.

(From OE-Core rev: 8c8170871cc2ab770fb52bb5ab08a9d723975d68)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
1419a694ac python3-pytz: upgrade 2022.7.1 -> 2023.3
(From OE-Core rev: 932612c1034848f9d5da5b264a5859c02257d582)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Alex Kiernan
b205ab58a6 rust: Upgrade 1.68.1 -> 1.68.2
Changes:

* Update the GitHub RSA host key bundled within Cargo. The key was
  rotated by GitHub on 2023-03-24 after the old one leaked.
* Mark the old GitHub RSA host key as revoked. This will prevent Cargo
  from accepting the leaked key even when trusted by the system.
* Add support for @revoked and a better error message for
  @cert-authority in Cargo’s SSH host key verification

(From OE-Core rev: 4563432b41026adc56c54452984b19ab64e7406e)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
b61233e179 python3-pyopenssl: upgrade 23.0.0 -> 23.1.1
Changelog:
===========
- Worked around an issue in OpenSSL 3.1.0 which caused X509Extension.get_short_name
  to raise an exception when no short name was known to OpenSSL. #1204.
- cryptography maximum version has been increased to 40.0.x.
- Add OpenSSL.SSL.Connection.DTLSv1_get_timeout and
  OpenSSL.SSL.Connection.DTLSv1_handle_timeout to support DTLS timeouts #1180.

(From OE-Core rev: 0015bd07542ceaba8fa533d5179ffab0162259e0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
45b7594b1f python3-pygobject: upgrade 3.42.2 -> 3.44.1
Changelog:
==========
    Fix tests with glib 2.76 !240
    Note: PyGObject is in need of more maintainers, please read https://www.bassi.io/articles/2022/12/02/on-pygobject/
    Note: This is an unstable release.
    Drop support for Python 3.6 !184
    meson: bump minimum version to 0.53.0 and update subprojects !227
    gimodule: fix floating state of python objects created with g_object_new !129
    Gtk.Template: Accept PathLike objects as a filename !195
    info: Show which type/object callables are bound to !194
    IntrospectionModule: handle two threads loading type at same time !149
    Port to Py_TRASHCAN_BEGIN !226
    Other cleanups/improvements: !181 !173
    This release also includes all changes from 3.42.1 and 3.42.2

(From OE-Core rev: d725ef02a36d497e7ed44c61f9b72f9212f0521a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
7a5fb2122d python3-pathspec: upgrade 0.11.0 -> 0.11.1
Changelog:
==========
Bug fixes:
----------
    Issue #74: Include directory should override exclude file.

Improvements:
-------------
    Pull #75: Fix partially unknown PathLike type.
    Convert os.PathLike to a string properly using os.fspath.

(From OE-Core rev: cf79bc6c5cec0026ef3f56b6f4eb67499df0c60a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
961e16a132 python3-markdown: upgrade 3.4.1 -> 3.4.3
Changelog:
=========
 Restore console script (#1327).
 Improve standalone * and _ parsing (#1300).
 Consider <html> HTML tag a block-level element (#1309).
 Officially support Python 3.11.
 Switch from setup.py to pyproject.toml.

(From OE-Core rev: f0e963faf34e223a8d7b31a792dc00b063910aa6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
8d4149f232 python3-installer: upgrade 0.6.0 -> 0.7.0
(From OE-Core rev: 18d511f1f03b5f33e791b1e9c97ef136df3ebf0c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
46e219de63 python3-importlib-metadata: upgrade 6.0.0 -> 6.2.0
Changelog:
===========
- #384: PackageMetadata now stipulates an additional get method allowing for
  easy querying of metadata keys that may not be present.
- #428: packages_distributions now honors packages and modules with Python
  modules that not .py sources (e.g. .pyc, .so).
- #434: Expand protocol for PackageMetadata.get_all to match the upstream
  implementation of email.message.Message.get_all in python/typeshed#9620.

(From OE-Core rev: e3991141939e5e2393cf36edd02ef3765cacd330)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
f9f1eeece4 python3-hypothesis: upgrade 6.68.2 -> 6.71.0
Changelog:
https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: c9f5b3557311db4ec0a6aefca5d634c9c1fef996)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
bd346a9eca python3-cython: upgrade 0.29.33 -> 0.29.34
Bugs fixed
==========
- A refence leak of the for-loop list/tuple iterable was resolved if the
  for-loop's else: branch executes a break for an outer loop.
- Some C compile failures in CPython 3.12 were resolved.
- Some old usages of the deprecated Python imp module were replaced with importlib.
- Some issues with depfile generation were resolved.

(From OE-Core rev: 4589082930c86aa4a24003c79cd99d6e414cbf44)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
94d818760d vala: upgrade 0.56.4 -> 0.56.6
Changelog:
===========
 * Regression fix:
  - vala: Improve initialization of namespace fields with compound
    literal [#1424]

 * Bindings:
  - gio-2.0,glib-2.0,gobject-2.0: Update 2.74 symbols
  - webkit2gtk-4.*: Update to 2.40.0
  - webkitgtk-6.0: Update to 2.40.0
  - gtk4: Update to 4.10.1~40b154bf from 0.58
  - gtk4: Add sealed to all the final types
  - gtk+-3.0: Fix ToolPalette.icon_size get-accessor type
  - webkitgtk-6.0: Update to 2.39.90

 * Various improvements and bug fixes:
  - codegen:
    + Consistently handle GLib.Error as boxed type [#1418]
    + Add cast to accessor calls for generic property implementations
    + Use g_object_class_override_property to implement generic interface
      properties [#1419]
    + Add declaration for register call of dynamic DBus interfaces [#1422]
  - vala:
    + Correctly handle pre/post-increment expression as index of element
      access [#1417]
    + Set proper value-type of unary ref/out expression in initializers [#1421]
    + Allow assignment of namespace fields with inline allocated arrays
  - gtkmodule: Improve error messages

(From OE-Core rev: e3eb6b4e6477dea953d4d93d2eadc5f430c160b1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
42badb5444 xwayland: upgrade 22.1.8 -> 23.1.1
(From OE-Core rev: 35fdbd0ea81650a0421d50fb53989d96c5956331)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
163c9ffb9b xserver-xorg: upgrade 21.1.7 -> 21.1.8
(From OE-Core rev: 7b08dff8f46bcaa05f7fbffbe27d524579af4faf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
862bfce832 wpebackend-fdo: upgrade 1.14.0 -> 1.14.2
Changelog:
==========
- Reverted a change introduced in 1.14.1 which introduced crashes both
  with WebKitGTK and WPE running under Wayland in some configurations.
- Fix a crash caused by wrong assertion, which was typically triggered in
  debug builds when using the NVidia drivers.
- Fix WebKit no longer repainting after provisional navigation with
  PSON enabled.
- Fix graphics buffer leaks by always freeing them in buffer destroy
  listener callbacks.

(From OE-Core rev: aa37e18a51714af3281b4127dceb40b38aa8ac3c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
ed9e8941f4 wayland: upgrade 1.21.0 -> 1.22.0
(From OE-Core rev: b737848513d06c60fb26d5e796e99639d663feb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
deb8f527ba texinfo: upgrade 7.0.2 -> 7.0.3
Changelog:
==========
* texi2any
  . fix performance regression when Perl binary extension (XS) modules
    are not being used (e.g. with TEXINFO_XS=omit)

* info
  . further fix of recoding of UTF-8 files to ASCII to avoid text
    disappearing from nodes
  . avoid possible freeze at start of a file with '-v nodeline=pointers'

(From OE-Core rev: 87bb580f6a02468d372254480302a60faa965131)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
3c499ac5a3 sqlite3: upgrade 3.41.0 -> 3.41.2
(From OE-Core rev: b6c475ea37660859b6ae91ac2e5fbf674f7ccfde)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
41b91c6956 spirv-tools: upgrade 1.3.239.0 -> 1.3.243.0
(From OE-Core rev: dbb0e5b6362a152206df440d3bb60e96459d0488)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
bf2fa5bf8b spirv-headers: upgrade 1.3.239.0 -> 1.3.243.0
(From OE-Core rev: f3f4b5aa6ebfc011ba49faad499aff3b19294b19)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
d1c86d713e ruby: upgrade 3.2.1 -> 3.2.2
(From OE-Core rev: b261bc704839b12769118f6f1c4207f3d19fe4fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
70a069093e pango: upgrade 1.50.13 -> 1.50.14
Changelog:
- Fix underline thickness in scaled contexts

(From OE-Core rev: f34ee7f08bdf94297042969b114da38b71168c5b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
7ee4f1cb5d mtools: upgrade 4.0.42 -> 4.0.43
Changelog:
==========
- Fix root directory test in mattrib
- -b BiosDisk flag for mformat to allow setting physdrive to
  a user-specified value
- Clearer error message in mformat when trying to mformat a
  disk whose total size is not known
- Make recursive copy more consistent
- Trailing slash now always implies target should be a directory
- Code cleanup

(From OE-Core rev: 7f04fd469f9ee989eadd85ea949527300704ca70)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
695552afa4 man-pages: upgrade 6.03 -> 6.04
License-Update:
 tmp/ -> .tmp/

Changelog:
============
-  Sections:
   -  Add HISTORY.
   -  HISTORY: Restore C89 references.
   -  Repurpose VERSIONS.
   -  Simplify STANDARDS.
   -  SYNOPSIS: Mark several functions as deprecated.

-  Build system:
   -  Support installing in different mandirs
      (e.g., man3typedir='/usr/share/man/man3').
   -  Support installing compressed pages (Z='.gz').
   -  Support installing link pages as symlinks (LINK_PAGES='symlink').

(From OE-Core rev: 17b93f86d17c6164005fa9f3173585f092539dc6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
93809a4028 libcap: upgrade 2.67 -> 2.68
(From OE-Core rev: 351ceddc01b33d2ef34c3e10d1e17436854514d8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
63903b3b1a ccache: upgrade 4.7.4 -> 4.8
License-Update:
 bump: Upgrade to doctest 2.4.10
 chore: Update copyright years

Changelog:
https://ccache.dev/releasenotes.html#_ccache_4_8

(From OE-Core rev: a0828afd27ba8d7b888bd13743d050cc277cc416)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
596d9eb5cf acpica: upgrade 20220331 -> 20230331
License-Update: Copyright year updated to 2023.

Changelog:
==========
-Update all copyright notices to the year 2023. This effects all source
 modules, as well as utility signons.
-Add OS-specific support for Zephyr RTOS.
-Fix miscellaneous code that accesses various objects.
-Remove some dead code.
-Add C ?Flexible Array? support.
-Add support for 64 bit LoongArch compilation.
-Add first batch of RISC-V related definitions.
-Performed a global automated update to remove tabs, fix indentation
 issues, etc.
-Allow disabling of -Werror. For distro maintainers having '-Werror' can
 delay update of GCC. Since every GCC release might add new warnings that
 were not yet captured, it might break the build of packages. With this
 change, distros can now build with 'NOWERROR=TRUE' instead of patching
 either the errors or the makefiles. The default behavior keeps on using
 '-Werror'.

(From OE-Core rev: acc23110730cc2a08fe476a5a3b30ef17b5cbe37)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
e4ad4ebd68 mpg123: upgrade 1.31.2 -> 1.31.3
Changelog:
=========
- build:
-- Fix --disable-8bit.
-- Fall back to generic decoder if no yasm for MSVC (bug 346).
-- Fix some pedantic compiler warnings, avoid breaking libtool wrappers.
- mpg123:
-- Fix verbose position printout for new resampling outside libmpg123 (where
   output rate differs from decoding rate).
- libsyn123:
-- Fix reconfiguration of resampler to avoid double free when reducing
   decimator stages to zero (bug 350).

(From OE-Core rev: 01ccf7c55d3d9c32ffd509abebd928ccb402b9f8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
aeb61cc313 libsoup: upgrade 3.2.2 -> 3.4.0
Changelog:
==========
* Fix possible crash in SoupContentSniffer
* Fix socket leak
* Add missing annotation to soup_header_g_string_append_param_quoted()
* Fix regression in 'SoupCookieJar' not handling valid Secure cookies
* Fix crash when skipping HTTP/1 response stream with chunked enconding
* Change Session to unqueue finished items earlier without an extra MainContext iteration
* Add 'SoupMessage::got-body-data' signal to monitor progress of reads
* Add 'soup_session_send_and_splice()' and 'soup_session_send_and_splice_async()' convenience APIs
* Add 'soup_message_set_force_http1()' and 'soup_message_get_force_http1()' APIs
* Change 'soup_cookie_copy()' to not retain default ports
* Ensure 'SoupServerMessage' socket is available in websocket handler
* Fix 'soup_message_new()' not erroring when URI has an empty host
* Fix thread-saftey issues in 'SoupConnectionAuth'
* Fix various connection leaks
* Fix the possibility of sending invalid empty 'Sec-WebSocket-Protocol' header
* Fix IO errors not being handled on 'CONNECT' messages
* Numerous improvements to cookies:
    * Add support for cookie prefixes ('__Secure-' and '__Host-')
    * Reject cookies with control characters in name or value
    * Reject 'SameSite=None' cookies without 'Secure'
    * Change 'soup_cookie_parse()' to be more strict about what is considered whitespace
    * Change default SameSite value to 'Lax'
    * Fix 'soup_cookie_equal()' with 'NULL' path

(From OE-Core rev: c98d4d5cc7e1fd1f6d81e2bf2d7629a83bc9a63b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
6ee7eb3e01 libsdl2: upgrade 2.26.3 -> 2.26.5
(From OE-Core rev: 106cdae227775f8e3b32462ed68b99231595f075)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
992987cf52 libpcap: upgrade 1.10.3 -> 1.10.4
(From OE-Core rev: da76bde131a7fe0833c9fd59a1ca48edaed6fa54)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
9210079aac libhandy: upgrade 1.8.1 -> 1.8.2
Changelog:
==========
- Demo
  - Correctly use GtkSwitch
  - Fix a GLib deprecation
- Docs
  - Fix dependency names
- HdyTabView
  - Fix set_menu_model() input check
  - Fix a typo in docs
- HdySwipeable
  - Fix get_swipe_area() fallback
- Memory leak fixes
- Translation updates
  - Slovenian

(From OE-Core rev: b1ebdff55fd8ca77eaff6066370c628a9425bec7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
2cb34218f6 cracklib: upgrade 2.9.10 -> 2.9.11
(From OE-Core rev: a3932906cba1e693ff51a4fdcc60a7b15debee9f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
f0f4ed9ba5 bind: upgrade 9.18.12 -> 9.18.13
Changelog:
==========
[bug] Use two pairs of dns_db_t and dns_dbversion_t in a
      catalog zone structure to avoid a race between the
      dns__catz_update_cb() and dns_catz_dbupdate_callback()
      functions. [GL #3907]

[bug] Make sure to revert the reconfigured zones to the
      previous version of the view, when the new view
      reconfiguration fails during the configuration of
      one of the configured zones. [GL #3911]

[bug] Fix error path cleanup issues in dns_catz_new_zones()
      and dns_catz_new_zone() functions. [GL #3900]

[bug] Unregister db update notify callback before detaching
      from the previous db inside the catz update notify
      callback. [GL #3777]

[func Run the catalog zone update process on the offload
      threads. [GL #3881]

[func Add shutdown signaling for catalog zones. [GL !7571]

[func Add reference count tracing for dns_catz_zone_t and
      dns_catz_zones_t. [GL !7570]

[bug] Detach 'rpzs' and 'catzs' from the previous view in
      configure_rpz() and configure_catz(), respectively,
      just after attaching it to the new view. [GL #3880]

[test Don't test HMAC-MD5 when not supported by libcrypto.
      [GL #3871]

[bug] Fix RPZ reference counting error on shutdown in
      dns__rpz_timer_cb(). [GL #3866]

[test Test various 'islands of trust' configurations when
      using managed keys. [GL #3662]

[bug] Building against (or running with) libuv versions
      1.35.0 and 1.36.0 is now a fatal error.  The rules for
      mixing and matching compile-time and run-time libuv
      versions have been tightened for libuv versions between
      1.35.0 and 1.40.0. [GL #3840]

[bug] dnssec-cds failed to cleanup properly. [GL #3831]

[bug] Source ports configured for query-source,
      transfer-source, etc, were being ignored. (This
      feature is deprecated, but it is not yet removed,
      so the bug still needed fixing.) [GL #3790]

(From OE-Core rev: 51ab191224aa1320d622bf79184940afa3910d60)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Wang Mingyu
af9cb6b4cc apr: upgrade 1.7.2 -> 1.7.3
Changelog:
===========
  *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
  *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
     available.
  *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
     pointer on Windows.
  *) apr_dir_read: Do not request short file names on Windows 7
     and later.
  *) apr_file_gets: Optimize for buffered files on Windows.
  *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
     on Windows. PR 50058.
  *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
  *) apr_file_write: Optimize large writes to buffered files on Windows.
  *) apr_file_write: Optimize large reads from buffered files on Windows.

(From OE-Core rev: 1bee38556441fbff9a4e39942271001ec620416b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Khem Raj
a04b0eaa38 musl: Update to latest trunk
Brings these changes

* 1d5750b9 fix swprintf handling of nul character in output
* 0e523480 in printf, use ferror macro rather than directly inspecting flags bit
* 868c9643 remove wide printf dependency on ugly hack in vfprintf
* 3a051769 fix (normal, narrow) printf erroneously processing %n after output errors
* 0440ed69 fix wide printf continuation after output or encoding errors
* d055e6a4 fix wide printf forms ignoring width for %lc format specifier
* b6811019 poll: fix misuse of timespec type on 32-bit archs without poll syscall
* 8949da7a select: fix 64-bit timeout truncation on pre-time64 kernels
* 3281047c dup3: don't set FD_CLOEXEC on failure on kernels without dup3 syscall
* c99b7daa fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscall
* fb7fb5e4 fix pipe2 silently ignoring unknown flags on old kernels
* b1dfb734 getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
* 595416b1 getservbyport_r: fix out-of-bounds buffer read
* 1a708ece getifaddrs: fix UB via taking address of null pointer union dereference
* c499c108 accept4: don't fall back to accept if we got unknown flags
* 523d9b96 fix potential read past end of buffer in getnameinfo host name lookup
* d0b7f976 dns: fix workaround for systems defaulting to ipv6-only sockets
* bec42ef3 dns: handle early eof in tcp fallback
* 9b132e55 prevent CNAME/PTR parsing from reading data past the response end
* 12590c8b fix out-of-bounds reads in __dns_parse
* bc695a5a fix incorrect unit for CPU_SETSIZE macro

(From OE-Core rev: bb591e83e3d203d60d59a36f1ff0b2ce437dc7a2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Khem Raj
9200d01057 cargo: Fix build on musl/riscv
libc needs fix for defining scope of SOCK_SEQPACKET

(From OE-Core rev: 378da16ebe2917f26f9fe8cf654bced09ec6ecfe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Khem Raj
e6cb422333 ffmpeg: Disable asm and rvv on riscv32
ffmpeg 6.0 has added assembly routines which uses rv64i ISA
unconditionally, ideally it should check for ISA before using those
instructions.

Fixes errors like
<instantiation>:1:1: error: instruction requires the following: RV64I Base Instruction Set
ld t0, (a1)
^
src/libavcodec/riscv/pixblockdsp_rvi.S:24:1: note: while in macro instantiation
.irp row, 0, 1, 2, 3, 4, 5, 6, 7
^
<instantiation>:3:9: error: instruction requires the following: RV64I Base Instruction Set
        sd zero, ((0 * 16) + 0)(a0)
        ^

(From OE-Core rev: 010b068bcc126dbbc1e2032997e8d83360a7de35)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Khem Raj
b85f62ba30 e2fsprogs: Define 64bit off_t on rv32
Help configure to build it correctly on rv32 and musl especially, it
shoild not ideally poke at _FILE_OFFSET_BITS, its not a portable define

(From OE-Core rev: d7909538067843d60b9cb56d79a51e2a240c8b18)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Mark Asselstine
b44a87156d python3-psutil: fix-up -tests runtime dependencies
The psutil.tests module makes use of gcc, other tools and a minimal
set of headers and build tools. If these are missing you will see

======================================================================
ERROR: psutil.tests.test_process.TestProcess.test_weird_environ
----------------------------------------------------------------------
Traceback (most recent call last):
 File "./psutil/tests/test_process.py", line 1452, in test_weird_environ
   create_exe(path, c_code=code)
 File "./psutil/tests/__init__.py", line 831, in create_exe
   raise ValueError("gcc is not installed")
ValueError: gcc is not installed

along with other errors related to the missing tools and headers.

Add the missing RDEPENDS for the -tests package such that simply
adding the -tests package to an image will be all that is needed.

(From OE-Core rev: c50135a3893d8bb7736b0ab34d960026fbbc7012)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Kai Kang
73f1b93e7d libnotify: remove dependency dbus
It ported to use GDBus in libnotify 0.7.0 [1]. So remove dbus from
DEPENDS. And GDBus is provided by glib-2.0.

[1]: https://gitlab.gnome.org/GNOME/libnotify/-/commit/f63e8ab

(From OE-Core rev: 3e585e41f561aab73685290631f2263795f571b9)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Dit Kozmaj
a60925d00a selftest: wic: Add test for --part-name argument
Add test for wic --part-name argument in .wks file.
Test three different cases:
- Set only the --part-name argument.
- Set only the --label argument. In this case the GPT partition label
  is set to the value of --label for compatibility reasons.
- Set both. In this case the code has been changed to set the GPT
  partition label to the --part-name value.

The test uses a test_gpt_partition_name.wks file created for this
purpose.

(From OE-Core rev: 06af6795cf6f079362303bddb39a14459e228e72)

Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Dit Kozmaj
18b04f9c3f wic: use part_name when defined
So far part.label has been used to define GPT partition label even if
part.part_name was defined.
Fix the code to use part.part_name whenever available, as it makes sense
to have a GPT partition label which is different from the contained
filesystem label.

(From OE-Core rev: 7704d5fc36eb065224792bf4d5543814eaa5fed3)

Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com>
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Frank WOLFF
d5592877fe logrotate: add ptest support
Below is an extract of the test log:

root@qemux86-64:~# ptest-runner
START: ptest-runner
2023-04-05T12:20
BEGIN: /usr/lib/logrotate/ptest
make  check-TESTS
make[1]: Entering directory '/usr/lib/logrotate/ptest'
make[2]: Entering directory '/usr/lib/logrotate/ptest'
PASS: test-0001.sh
PASS: test-0002.sh
...
...
PASS: test-0107.sh
PASS: test-0108.sh
============================================================================
Testsuite summary for logrotate 3.21.0
============================================================================
 # TOTAL: 102
 # PASS:  97
 # SKIP:  5
 # XFAIL: 0
 # FAIL:  0
 # XPASS: 0
 # ERROR: 0
============================================================================
make[2]: Leaving directory '/usr/lib/logrotate/ptest'
make[1]: Leaving directory '/usr/lib/logrotate/ptest'
DURATION: 353
END: /usr/lib/logrotate/ptest
2023-04-05T12:26
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: 0bdfe34c016c8db1f18d76b59a38af280b4c70aa)

Signed-off-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Markus Volk
56b8b8a867 at-spi2-core: update 2.46.0 -> 2.48.0
What's new in at-spi2-core 2.48.0:

* Add a "atk-only" build option. This allows atk to be built without libdbus
  installed, but it does not build libatspi or the atk bridge.

* Fix some typos in the documentation.

What's new in at-spi2-core 2.47.90:

* Downgrade meson requirement to 0.63.

*  at-spi-dbus-bus service: set stop timeout to 5s

* Fix possible crash in screen_reader_signal_watcher.

What's new in at-spi2-core 2.47.1:
* The meson options -Dx11 and -Dintrospection are now implemented with
  meson features - https://mesonbuild.com/Build-options.html#features

  Instead of accepting values of "yes/no/auto", they take
  "enabled/disabled/auto".  Please change your build scripts
  accordingly if you use these options.

* Use gi-docgen to generate documentation.

* Register key grabs using the focused window, rather than the root window.
  This should prevent the window from losing focus when a key grab is used.

* atk-adaptor: Handle sockets in GetChildren.

* Improve documentation of the dbus interfaces.

* Various code clean-ups. Some unused code has been removed.

(From OE-Core rev: c589c87a8caef0afbc731c219fe713ba970a2055)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:07 +01:00
Petr Kubizňák
e79fd53d0a gobject-introspection: reduce dependencies
When GI_DATA_ENABLED is 'False' (e.g. because
'gobject-introspection-data' is not in DISTRO_FEATURES),
gobject-introspection, gobject-introspection-native and qemu-native
should not be added to DEPENDS. This is to reduce dependency chain
when g-i is disabled.

(From OE-Core rev: 4e51c1815c92bb15977a3bdb14171d770da44004)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:06 +01:00
Fabio Estevam
89e29cf2e1 u-boot: Upgrade to 2023.04
Upgrade to U-Boot 2023.04.

Remove the patch that is now upstream.

(From OE-Core rev: 57003af06d50fbbb33b94a4b10ea6c77fa294027)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:06 +01:00
Alexander Kanavin
476c25f200 ffmpeg: update 5.1.2 -> 6.0
Add a patch to gstreamer1.0-libav to address an API compatibility fail.

(From OE-Core rev: 2ebea6658458ca926af58b4904cecdbec7416e04)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13 11:56:06 +01:00
Richard Purdie
f79046d082 cve-exclusions: Document some further linux-yocto CVE statuses
Add some information about some further kernel CVEs which don't apply for
either linux-yocto or don't apply for linux-yocto 6.1.

(From OE-Core rev: 85c1713bf0c01c68558bfba38edcc005c1ebb1c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:48:04 +01:00
Yoann Congal
8bda92936b cve-extra-exclusion: ignore disputed CVE-2023-23005
(From OE-Core rev: 39274240b7756f498507b229d5f3461c207f1823)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-07 15:24:02 +01:00
Yoann Congal
b22f81bc6f cve-exclusions_6.1: ignore patched CVE-2022-38457 & CVE-2022-40133
Ignore CVE-2022-38457 & CVE-2022-40133 as they looks patched in our 6.1
branch.

I've asked the NVD to add the commit as the patch for these CVEs, but in
the meantime, other sources seem to agree that the commit fixes these
CVEs (and I concur).

(From OE-Core rev: 990d1cbb1628577bd159e8266fa15976f1f17062)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-07 15:24:02 +01:00
736 changed files with 10139 additions and 9252 deletions

View File

@@ -151,6 +151,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
taskhash = runtask['taskhash']
unihash = runtask['unihash']
appends = runtask['appends']
layername = runtask['layername']
taskdepdata = runtask['taskdepdata']
quieterrors = runtask['quieterrors']
# We need to setup the environment BEFORE the fork, since
@@ -262,7 +263,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
bb.parse.siggen.set_taskhashes(workerdata["newhashes"])
ret = 0
the_data = databuilder.parseRecipe(fn, appends)
the_data = databuilder.parseRecipe(fn, appends, layername)
the_data.setVar('BB_TASKHASH', taskhash)
the_data.setVar('BB_UNIHASH', unihash)
bb.parse.siggen.setup_datacache_from_datastore(fn, the_data)

View File

@@ -1519,6 +1519,12 @@ functionality of the task:
released. You can use this variable flag to accomplish mutual
exclusion.
- ``[network]``: When set to "1", allows a task to access the network. By
default, only the ``do_fetch`` task is granted network access. Recipes
shouldn't access the network outside of ``do_fetch`` as it usually
undermines fetcher source mirroring, image and licence manifests, software
auditing and supply chain security.
- ``[noexec]``: When set to "1", marks the task as being empty, with
no execution required. You can use the ``[noexec]`` flag to set up
tasks as dependency placeholders, or to disable tasks defined
@@ -1972,6 +1978,24 @@ looking at the source code of the ``bb`` module, which is in
the commonly used functions ``bb.utils.contains()`` and
``bb.utils.mkdirhier()``, which come with docstrings.
Extending Python Library Code
-----------------------------
If you wish to add your own Python library code (e.g. to provide
functions/classes you can use from Python functions in the metadata)
you can do so from any layer using the ``addpylib`` directive.
This directive is typically added to your layer configuration (
``conf/layer.conf``) although it will be handled in any ``.conf`` file.
Usage is of the form::
addpylib <directory> <namespace>
Where <directory> specifies the directory to add to the library path.
The specified <namespace> is imported automatically, and if the imported
module specifies an attribute named ``BBIMPORTS``, that list of
sub-modules is iterated and imported too.
Testing and Debugging BitBake Python code
-----------------------------------------

View File

@@ -99,10 +99,26 @@ overview of their function and contents.
the path of the build. BitBake's output should not (and usually does
not) depend on the directory in which it was built.
:term:`BB_CACHEDIR`
Specifies the code parser cache directory (distinct from :term:`CACHE`
and :term:`PERSISTENT_DIR` although they can be set to the same value
if desired). The default value is "${TOPDIR}/cache".
:term:`BB_CHECK_SSL_CERTS`
Specifies if SSL certificates should be checked when fetching. The default
value is ``1`` and certificates are not checked if the value is set to ``0``.
:term:`BB_HASH_CODEPARSER_VALS`
Specifies values for variables to use when populating the codeparser cache.
This can be used selectively to set dummy values for variables to avoid
the codeparser cache growing on every parse. Variables that would typically
be included are those where the value is not significant for where the
codeparser cache is used (i.e. when calculating variable dependencies for
code fragments.) The value is space-separated without quoting values, for
example::
BB_HASH_CODEPARSER_VALS = "T=/ WORKDIR=/ DATE=1234 TIME=1234"
:term:`BB_CONSOLELOG`
Specifies the path to a log file into which BitBake's user interface
writes output during the build.
@@ -343,6 +359,14 @@ overview of their function and contents.
For example usage, see :term:`BB_GIT_SHALLOW`.
:term:`BB_GLOBAL_PYMODULES`
Specifies the list of Python modules to place in the global namespace.
It is intended that only the core layer should set this and it is meant
to be a very small list, typically just ``os`` and ``sys``.
:term:`BB_GLOBAL_PYMODULES` is expected to be set before the first
``addpylib`` directive.
See also ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:extending python library code`".
:term:`BB_HASHCHECK_FUNCTION`
Specifies the name of the function to call during the "setscene" part
of the task's execution in order to validate the list of task hashes.
@@ -539,7 +563,7 @@ overview of their function and contents.
:term:`BB_RUNFMT` variable is undefined and the run filenames get
created using the following form::
run.{task}.{pid}
run.{func}.{pid}
If you want to force run files to take a specific name, you can set this
variable in a configuration file.

View File

@@ -4,15 +4,15 @@
BitBake Supported Release Manuals
=================================
*****************************
Release Series 4.1 (langdale)
*****************************
*******************************
Release Series 4.2 (mickledore)
*******************************
- :yocto_docs:`BitBake 2.2 User Manual </bitbake/2.2/>`
- :yocto_docs:`BitBake 2.4 User Manual </bitbake/2.4/>`
*****************************
Release Series 4.0 (kirstone)
*****************************
******************************
Release Series 4.0 (kirkstone)
******************************
- :yocto_docs:`BitBake 2.0 User Manual </bitbake/2.0/>`
@@ -26,6 +26,12 @@ Release Series 3.1 (dunfell)
BitBake Outdated Release Manuals
================================
*****************************
Release Series 4.1 (langdale)
*****************************
- :yocto_docs:`BitBake 2.2 User Manual </bitbake/2.2/>`
******************************
Release Series 3.4 (honister)
******************************

View File

@@ -514,11 +514,11 @@ class Cache(object):
return len(self.depends_cache)
def parse(self, filename, appends):
def parse(self, filename, appends, layername):
"""Parse the specified filename, returning the recipe information"""
self.logger.debug("Parsing %s", filename)
infos = []
datastores = self.databuilder.parseRecipeVariants(filename, appends, mc=self.mc)
datastores = self.databuilder.parseRecipeVariants(filename, appends, mc=self.mc, layername=layername)
depends = []
variants = []
# Process the "real" fn last so we can store variants list

View File

@@ -561,6 +561,7 @@ class CommandsSync:
appendfiles = command.cooker.collections[mc].get_file_appends(fn)
else:
appendfiles = []
layername = command.cooker.collections[mc].calc_bbfile_priority(fn)[2]
# We are calling bb.cache locally here rather than on the server,
# but that's OK because it doesn't actually need anything from
# the server barring the global datastore (which we have a remote
@@ -568,10 +569,10 @@ class CommandsSync:
if config_data:
# We have to use a different function here if we're passing in a datastore
# NOTE: we took a copy above, so we don't do it here again
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc)['']
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc, layername)['']
else:
# Use the standard path
envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles)
envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles, layername)
idx = command.remotedatastores.store(envdata)
return DataStoreConnectionHandle(idx)
parseRecipeFile.readonly = True

View File

@@ -151,6 +151,8 @@ class BBCooker:
def __init__(self, featureSet=None, server=None):
self.recipecaches = None
self.baseconfig_valid = False
self.parsecache_valid = False
self.eventlog = None
self.skiplist = {}
self.featureset = CookerFeatures()
@@ -264,11 +266,25 @@ class BBCooker:
n.read_events()
n.process_events()
def _baseconfig_set(self, value):
if value and not self.baseconfig_valid:
bb.server.process.serverlog("Base config valid")
elif not value and self.baseconfig_valid:
bb.server.process.serverlog("Base config invalidated")
self.baseconfig_valid = value
def _parsecache_set(self, value):
if value and not self.parsecache_valid:
bb.server.process.serverlog("Parse cache valid")
elif not value and self.parsecache_valid:
bb.server.process.serverlog("Parse cache invalidated")
self.parsecache_valid = value
def config_notifications(self, event):
if event.maskname == "IN_Q_OVERFLOW":
bb.warn("inotify event queue overflowed, invalidating caches.")
self.parsecache_valid = False
self.baseconfig_valid = False
self._parsecache_set(False)
self._baseconfig_set(False)
bb.parse.clear_cache()
return
if not event.pathname in self.configwatcher.bbwatchedfiles:
@@ -281,12 +297,12 @@ class BBCooker:
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self.baseconfig_valid = False
self._baseconfig_set(False)
def notifications(self, event):
if event.maskname == "IN_Q_OVERFLOW":
bb.warn("inotify event queue overflowed, invalidating caches.")
self.parsecache_valid = False
self._parsecache_set(False)
bb.parse.clear_cache()
return
if event.pathname.endswith("bitbake-cookerdaemon.log") \
@@ -300,7 +316,7 @@ class BBCooker:
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self.parsecache_valid = False
self._parsecache_set(False)
def add_filewatch(self, deps, watcher=None, dirs=False):
if not watcher:
@@ -422,8 +438,8 @@ class BBCooker:
for mc in self.databuilder.mcdata.values():
self.add_filewatch(mc.getVar("__base_depends", False), self.configwatcher)
self.baseconfig_valid = True
self.parsecache_valid = False
self._baseconfig_set(True)
self._parsecache_set(False)
def handlePRServ(self):
# Setup a PR Server based on the new configuration
@@ -488,8 +504,11 @@ class BBCooker:
self.recipecaches[mc] = bb.cache.CacheData(self.caches_array)
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
self.collections = {}
for mc in self.multiconfigs:
self.collections[mc] = CookerCollectFiles(self.bbfile_config_priorities, mc)
self.parsecache_valid = False
self._parsecache_set(False)
def updateConfigOpts(self, options, environment, cmdline):
self.ui_cmdline = cmdline
@@ -624,7 +643,8 @@ class BBCooker:
if fn:
try:
envdata = self.databuilder.parseRecipe(fn, self.collections[mc].get_file_appends(fn))
layername = self.collections[mc].calc_bbfile_priority(fn)[2]
envdata = self.databuilder.parseRecipe(fn, self.collections[mc].get_file_appends(fn), layername)
except Exception as e:
parselog.exception("Unable to read %s", fn)
raise
@@ -1362,8 +1382,8 @@ class BBCooker:
if bf.startswith("/") or bf.startswith("../"):
bf = os.path.abspath(bf)
self.collections = {mc: CookerCollectFiles(self.bbfile_config_priorities, mc)}
filelist, masked, searchdirs = self.collections[mc].collect_bbfiles(self.databuilder.mcdata[mc], self.databuilder.mcdata[mc])
collections = {mc: CookerCollectFiles(self.bbfile_config_priorities, mc)}
filelist, masked, searchdirs = collections[mc].collect_bbfiles(self.databuilder.mcdata[mc], self.databuilder.mcdata[mc])
try:
os.stat(bf)
bf = os.path.abspath(bf)
@@ -1429,7 +1449,8 @@ class BBCooker:
bb_caches = bb.cache.MulticonfigCache(self.databuilder, self.data_hash, self.caches_array)
infos = bb_caches[mc].parse(fn, self.collections[mc].get_file_appends(fn))
layername = self.collections[mc].calc_bbfile_priority(fn)[2]
infos = bb_caches[mc].parse(fn, self.collections[mc].get_file_appends(fn), layername)
infos = dict(infos)
fn = bb.cache.realfn2virtual(fn, cls, mc)
@@ -1509,7 +1530,7 @@ class BBCooker:
bb.event.fire(bb.event.BuildCompleted(len(rq.rqdata.runtaskentries), buildname, item, failures, interrupted), self.databuilder.mcdata[mc])
bb.event.disable_heartbeat()
# We trashed self.recipecaches above
self.parsecache_valid = False
self._parsecache_set(False)
self.configuration.limited_deps = False
bb.parse.siggen.reset(self.data)
if quietlog:
@@ -1660,13 +1681,10 @@ class BBCooker:
for dep in self.configuration.extra_assume_provided:
self.recipecaches[mc].ignored_dependencies.add(dep)
self.collections = {}
mcfilelist = {}
total_masked = 0
searchdirs = set()
for mc in self.multiconfigs:
self.collections[mc] = CookerCollectFiles(self.bbfile_config_priorities, mc)
(filelist, masked, search) = self.collections[mc].collect_bbfiles(self.databuilder.mcdata[mc], self.databuilder.mcdata[mc])
mcfilelist[mc] = filelist
@@ -1678,7 +1696,7 @@ class BBCooker:
self.add_filewatch([[dirent]], dirs=True)
self.parser = CookerParser(self, mcfilelist, total_masked)
self.parsecache_valid = True
self._parsecache_set(True)
self.state = state.parsing
@@ -1764,9 +1782,9 @@ class BBCooker:
def shutdown(self, force=False):
if force:
self.state = state.forceshutdown
bb.event._should_exit.set()
else:
self.state = state.shutdown
bb.event._should_exit.set()
if self.parser:
self.parser.shutdown(clean=False)
@@ -1796,8 +1814,7 @@ class BBCooker:
self.data = self.databuilder.data
# In theory tinfoil could have modified the base data before parsing,
# ideally need to track if anything did modify the datastore
self.parsecache_valid = False
self._parsecache_set(False)
class CookerExit(bb.event.Event):
"""
@@ -1818,10 +1835,10 @@ class CookerCollectFiles(object):
self.bbfile_config_priorities = sorted(priorities, key=lambda tup: tup[1], reverse=True)
def calc_bbfile_priority(self, filename):
for _, _, regex, pri in self.bbfile_config_priorities:
for layername, _, regex, pri in self.bbfile_config_priorities:
if regex.match(filename):
return pri, regex
return 0, None
return pri, regex, layername
return 0, None, None
def get_bbfiles(self):
"""Get list of default .bb files by reading out the current directory"""
@@ -1994,7 +2011,7 @@ class CookerCollectFiles(object):
# Calculate priorities for each file
for p in pkgfns:
realfn, cls, mc = bb.cache.virtualfn2realfn(p)
priorities[p], regex = self.calc_bbfile_priority(realfn)
priorities[p], regex, _ = self.calc_bbfile_priority(realfn)
if regex in unmatched_regex:
matched_regex.add(regex)
unmatched_regex.remove(regex)
@@ -2131,7 +2148,7 @@ class Parser(multiprocessing.Process):
self.results.close()
self.results.join_thread()
def parse(self, mc, cache, filename, appends):
def parse(self, mc, cache, filename, appends, layername):
try:
origfilter = bb.event.LogHandler.filter
# Record the filename we're parsing into any events generated
@@ -2145,7 +2162,7 @@ class Parser(multiprocessing.Process):
bb.event.set_class_handlers(self.handlers.copy())
bb.event.LogHandler.filter = parse_filter
return True, mc, cache.parse(filename, appends)
return True, mc, cache.parse(filename, appends, layername)
except Exception as exc:
tb = sys.exc_info()[2]
exc.recipe = filename
@@ -2185,10 +2202,11 @@ class CookerParser(object):
for mc in self.cooker.multiconfigs:
for filename in self.mcfilelist[mc]:
appends = self.cooker.collections[mc].get_file_appends(filename)
layername = self.cooker.collections[mc].calc_bbfile_priority(filename)[2]
if not self.bb_caches[mc].cacheValid(filename, appends):
self.willparse.add((mc, self.bb_caches[mc], filename, appends))
self.willparse.add((mc, self.bb_caches[mc], filename, appends, layername))
else:
self.fromcache.add((mc, self.bb_caches[mc], filename, appends))
self.fromcache.add((mc, self.bb_caches[mc], filename, appends, layername))
self.total = len(self.fromcache) + len(self.willparse)
self.toparse = len(self.willparse)
@@ -2223,7 +2241,7 @@ class CookerParser(object):
self.results = itertools.chain(self.results, self.parse_generator())
def shutdown(self, clean=True):
def shutdown(self, clean=True, eventmsg="Parsing halted due to errors"):
if not self.toparse:
return
if self.haveshutdown:
@@ -2238,6 +2256,7 @@ class CookerParser(object):
bb.event.fire(event, self.cfgdata)
else:
bb.event.fire(bb.event.ParseError(eventmsg), self.cfgdata)
bb.error("Parsing halted due to errors, see error messages above")
# Cleanup the queue before call process.join(), otherwise there might be
@@ -2298,7 +2317,7 @@ class CookerParser(object):
self.syncthread.join()
def load_cached(self):
for mc, cache, filename, appends in self.fromcache:
for mc, cache, filename, appends, layername in self.fromcache:
infos = cache.loadCached(filename, appends)
yield False, mc, infos
@@ -2355,7 +2374,7 @@ class CookerParser(object):
except bb.parse.ParseError as exc:
self.error += 1
logger.error(str(exc))
self.shutdown(clean=False)
self.shutdown(clean=False, eventmsg=str(exc))
return False
except bb.data_smart.ExpansionError as exc:
self.error += 1
@@ -2401,9 +2420,10 @@ class CookerParser(object):
bb.cache.SiggenRecipeInfo.reset()
to_reparse = set()
for mc in self.cooker.multiconfigs:
to_reparse.add((mc, filename, self.cooker.collections[mc].get_file_appends(filename)))
layername = self.cooker.collections[mc].calc_bbfile_priority(filename)[2]
to_reparse.add((mc, filename, self.cooker.collections[mc].get_file_appends(filename), layername))
for mc, filename, appends in to_reparse:
infos = self.bb_caches[mc].parse(filename, appends)
for mc, filename, appends, layername in to_reparse:
infos = self.bb_caches[mc].parse(filename, appends, layername)
for vfn, info_array in infos:
self.cooker.recipecaches[mc].add_from_recipeinfo(vfn, info_array)

View File

@@ -494,8 +494,9 @@ class CookerDataBuilder(object):
return data
@staticmethod
def _parse_recipe(bb_data, bbfile, appends, mc=''):
def _parse_recipe(bb_data, bbfile, appends, mc, layername):
bb_data.setVar("__BBMULTICONFIG", mc)
bb_data.setVar("FILE_LAYERNAME", layername)
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
bb.parse.cached_mtime_noerror(bbfile_loc)
@@ -505,7 +506,7 @@ class CookerDataBuilder(object):
bb_data = bb.parse.handle(bbfile, bb_data)
return bb_data
def parseRecipeVariants(self, bbfile, appends, virtonly=False, mc=None):
def parseRecipeVariants(self, bbfile, appends, virtonly=False, mc=None, layername=None):
"""
Load and parse one .bb build file
Return the data and whether parsing resulted in the file being skipped
@@ -515,32 +516,32 @@ class CookerDataBuilder(object):
(bbfile, virtual, mc) = bb.cache.virtualfn2realfn(bbfile)
bb_data = self.mcdata[mc].createCopy()
bb_data.setVar("__ONLYFINALISE", virtual or "default")
datastores = self._parse_recipe(bb_data, bbfile, appends, mc)
datastores = self._parse_recipe(bb_data, bbfile, appends, mc, layername)
return datastores
if mc is not None:
bb_data = self.mcdata[mc].createCopy()
return self._parse_recipe(bb_data, bbfile, appends, mc)
return self._parse_recipe(bb_data, bbfile, appends, mc, layername)
bb_data = self.data.createCopy()
datastores = self._parse_recipe(bb_data, bbfile, appends)
datastores = self._parse_recipe(bb_data, bbfile, appends, '', layername)
for mc in self.mcdata:
if not mc:
continue
bb_data = self.mcdata[mc].createCopy()
newstores = self._parse_recipe(bb_data, bbfile, appends, mc)
newstores = self._parse_recipe(bb_data, bbfile, appends, mc, layername)
for ns in newstores:
datastores["mc:%s:%s" % (mc, ns)] = newstores[ns]
return datastores
def parseRecipe(self, virtualfn, appends):
def parseRecipe(self, virtualfn, appends, layername):
"""
Return a complete set of data for fn.
To do this, we need to parse the file.
"""
logger.debug("Parsing %s (full)" % virtualfn)
(fn, virtual, mc) = bb.cache.virtualfn2realfn(virtualfn)
bb_data = self.parseRecipeVariants(virtualfn, appends, virtonly=True)
bb_data = self.parseRecipeVariants(virtualfn, appends, virtonly=True, layername=layername)
return bb_data[virtual]

View File

@@ -856,3 +856,11 @@ class FindSigInfoResult(Event):
def __init__(self, result):
Event.__init__(self)
self.result = result
class ParseError(Event):
"""
Event to indicate parse failed
"""
def __init__(self, msg):
super().__init__()
self._msg = msg

View File

@@ -1234,7 +1234,7 @@ def get_checksum_file_list(d):
ud = fetch.ud[u]
if ud and isinstance(ud.method, local.Local):
found = False
paths = ud.method.localpaths(ud, d)
paths = ud.method.localfile_searchpaths(ud, d)
for f in paths:
pth = ud.decodedurl
if os.path.exists(f):

View File

@@ -59,11 +59,11 @@ class Crate(Wget):
# version is expected to be the last token
# but ignore possible url parameters which will be used
# by the top fetcher class
version, _, _ = parts[len(parts) -1].partition(";")
version = parts[-1].split(";")[0]
# second to last field is name
name = parts[len(parts) - 2]
name = parts[-2]
# host (this is to allow custom crate registries to be specified
host = '/'.join(parts[2:len(parts) - 2])
host = '/'.join(parts[2:-2])
# if using upstream just fix it up nicely
if host == 'crates.io':
@@ -98,8 +98,8 @@ class Crate(Wget):
save_cwd = os.getcwd()
os.chdir(rootdir)
pn = d.getVar('BPN')
if pn == ud.parm.get('name'):
bp = d.getVar('BP')
if bp == ud.parm.get('name'):
cmd = "tar -xz --no-same-owner -f %s" % thefile
else:
cargo_bitbake = self._cargo_bitbake_path(rootdir)

View File

@@ -41,9 +41,9 @@ class Local(FetchMethod):
"""
Return the local filename of a given url assuming a successful fetch.
"""
return self.localpaths(urldata, d)[-1]
return self.localfile_searchpaths(urldata, d)[-1]
def localpaths(self, urldata, d):
def localfile_searchpaths(self, urldata, d):
"""
Return the local filename of a given url assuming a successful fetch.
"""
@@ -51,11 +51,13 @@ class Local(FetchMethod):
path = urldata.decodedurl
newpath = path
if path[0] == "/":
logger.debug2("Using absolute %s" % (path))
return [path]
filespath = d.getVar('FILESPATH')
if filespath:
logger.debug2("Searching for %s in paths:\n %s" % (path, "\n ".join(filespath.split(":"))))
newpath, hist = bb.utils.which(filespath, path, history=True)
logger.debug2("Using %s for %s" % (newpath, path))
searched.extend(hist)
return searched

View File

@@ -103,6 +103,7 @@ class NpmEnvironment(object):
"""Run npm command in a controlled environment"""
with tempfile.TemporaryDirectory() as tmpdir:
d = bb.data.createCopy(self.d)
d.setVar("PATH", d.getVar("PATH")) # PATH might contain $HOME - evaluate it before patching
d.setVar("HOME", tmpdir)
if not workdir:

View File

@@ -205,7 +205,9 @@ class NpmShrinkWrap(FetchMethod):
# This fetcher resolves multiple URIs from a shrinkwrap file and then
# forwards it to a proxy fetcher. The management of the donestamp file,
# the lockfile and the checksums are forwarded to the proxy fetcher.
ud.proxy = Fetch([dep["url"] for dep in ud.deps if dep["url"]], data)
shrinkwrap_urls = [dep["url"] for dep in ud.deps if dep["url"]]
if shrinkwrap_urls:
ud.proxy = Fetch(shrinkwrap_urls, data)
ud.needdonestamp = False
@staticmethod

View File

@@ -21,7 +21,7 @@ __config_regexp__ = re.compile( r"""
^
(?P<exp>export\s+)?
(?P<var>[a-zA-Z0-9\-_+.${}/~:]+?)
(\[(?P<flag>[a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]+)\])?
(\[(?P<flag>[a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]*)\])?
\s* (
(?P<colon>:=) |
@@ -103,7 +103,7 @@ def include_single_file(parentfn, fn, lineno, data, error_out):
# We have an issue where a UI might want to enforce particular settings such as
# an empty DISTRO variable. If configuration files do something like assigning
# a weak default, it turns out to be very difficult to filter out these changes,
# particularly when the weak default might appear half way though parsing a chain
# particularly when the weak default might appear half way though parsing a chain
# of configuration files. We therefore let the UIs hook into configuration file
# parsing. This turns out to be a hard problem to solve any other way.
confFilters = []

View File

@@ -198,15 +198,20 @@ class RunQueueScheduler(object):
curr_cpu_pressure = cpu_pressure_fds.readline().split()[4].split("=")[1]
curr_io_pressure = io_pressure_fds.readline().split()[4].split("=")[1]
curr_memory_pressure = memory_pressure_fds.readline().split()[4].split("=")[1]
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) > self.rq.max_memory_pressure
now = time.time()
if now - self.prev_pressure_time > 1.0:
tdiff = now - self.prev_pressure_time
if tdiff > 1.0:
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) / tdiff > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) / tdiff > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) / tdiff > self.rq.max_memory_pressure
self.prev_cpu_pressure = curr_cpu_pressure
self.prev_io_pressure = curr_io_pressure
self.prev_memory_pressure = curr_memory_pressure
self.prev_pressure_time = now
else:
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) > self.rq.max_memory_pressure
return (exceeds_cpu_pressure or exceeds_io_pressure or exceeds_memory_pressure)
return False
@@ -2161,6 +2166,7 @@ class RunQueueExecute:
'unihash' : self.rqdata.get_task_unihash(task),
'quieterrors' : True,
'appends' : self.cooker.collections[mc].get_file_appends(taskfn),
'layername' : self.cooker.collections[mc].calc_bbfile_priority(taskfn)[2],
'taskdepdata' : self.sq_build_taskdepdata(task),
'dry_run' : False,
'taskdep': taskdep,
@@ -2254,6 +2260,7 @@ class RunQueueExecute:
'unihash' : self.rqdata.get_task_unihash(task),
'quieterrors' : False,
'appends' : self.cooker.collections[mc].get_file_appends(taskfn),
'layername' : self.cooker.collections[mc].calc_bbfile_priority(taskfn)[2],
'taskdepdata' : self.build_taskdepdata(task),
'dry_run' : self.rqdata.setscene_enforce,
'taskdep': taskdep,
@@ -2346,7 +2353,8 @@ class RunQueueExecute:
taskhash = self.rqdata.runtaskentries[revdep].hash
unihash = self.rqdata.runtaskentries[revdep].unihash
deps = self.filtermcdeps(task, mc, deps)
taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash]
hashfn = self.rqdata.dataCaches[mc].hashfn[taskfn]
taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn]
for revdep2 in deps:
if revdep2 not in taskdepdata:
additional.append(revdep2)
@@ -2686,7 +2694,8 @@ class RunQueueExecute:
provides = self.rqdata.dataCaches[mc].fn_provides[taskfn]
taskhash = self.rqdata.runtaskentries[revdep].hash
unihash = self.rqdata.runtaskentries[revdep].unihash
taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash]
hashfn = self.rqdata.dataCaches[mc].hashfn[taskfn]
taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn]
for revdep2 in deps:
if revdep2 not in taskdepdata:
additional.append(revdep2)

View File

@@ -375,7 +375,7 @@ class ProcessServer():
lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=False)
if not lock:
newlockcontents = get_lock_contents(lockfile)
if not newlockcontents[0].startswith([os.getpid() + "\n", os.getpid() + " "]):
if not newlockcontents[0].startswith([f"{os.getpid()}\n", f"{os.getpid()} "]):
# A new server was started, the lockfile contents changed, we can exit
serverlog("Lockfile now contains different contents, exiting: " + str(newlockcontents))
return

View File

@@ -424,6 +424,10 @@ class FetcherTest(unittest.TestCase):
def git_init(self, cwd=None):
self.git('init', cwd=cwd)
# Explicitly set initial branch to master as
# a common setup is to use other default
# branch than master.
self.git(['checkout', '-b', 'master'], cwd=cwd)
if not self.git(['config', 'user.email'], cwd=cwd):
self.git(['config', 'user.email', 'you@example.com'], cwd=cwd)
if not self.git(['config', 'user.name'], cwd=cwd):
@@ -535,7 +539,7 @@ class MirrorUriTest(FetcherTest):
class GitDownloadDirectoryNamingTest(FetcherTest):
def setUp(self):
super(GitDownloadDirectoryNamingTest, self).setUp()
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master;protocol=https"
self.recipe_dir = "git.openembedded.org.bitbake"
self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https;branch=master"
self.mirror_dir = "github.com.openembedded.bitbake.git"
@@ -583,7 +587,7 @@ class GitDownloadDirectoryNamingTest(FetcherTest):
class TarballNamingTest(FetcherTest):
def setUp(self):
super(TarballNamingTest, self).setUp()
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master;protocol=https"
self.recipe_tarball = "git2_git.openembedded.org.bitbake.tar.gz"
self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https;branch=master"
self.mirror_tarball = "git2_github.com.openembedded.bitbake.git.tar.gz"
@@ -617,7 +621,7 @@ class TarballNamingTest(FetcherTest):
class GitShallowTarballNamingTest(FetcherTest):
def setUp(self):
super(GitShallowTarballNamingTest, self).setUp()
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master;protocol=https"
self.recipe_tarball = "gitshallow_git.openembedded.org.bitbake_82ea737-1_master.tar.gz"
self.mirror_url = "git://github.com/openembedded/bitbake.git;protocol=https;branch=master"
self.mirror_tarball = "gitshallow_github.com.openembedded.bitbake.git_82ea737-1_master.tar.gz"
@@ -652,7 +656,7 @@ class GitShallowTarballNamingTest(FetcherTest):
class CleanTarballTest(FetcherTest):
def setUp(self):
super(CleanTarballTest, self).setUp()
self.recipe_url = "git://git.openembedded.org/bitbake"
self.recipe_url = "git://git.openembedded.org/bitbake;protocol=https"
self.recipe_tarball = "git2_git.openembedded.org.bitbake.tar.gz"
self.d.setVar('BB_GENERATE_MIRROR_TARBALLS', '1')
@@ -1011,25 +1015,25 @@ class FetcherNetworkTest(FetcherTest):
@skipIfNoNetwork()
def test_gitfetch(self):
url1 = url2 = "git://git.openembedded.org/bitbake;branch=master"
url1 = url2 = "git://git.openembedded.org/bitbake;branch=master;protocol=https"
self.gitfetcher(url1, url2)
@skipIfNoNetwork()
def test_gitfetch_goodsrcrev(self):
# SRCREV is set but matches rev= parameter
url1 = url2 = "git://git.openembedded.org/bitbake;rev=270a05b0b4ba0959fe0624d2a4885d7b70426da5;branch=master"
url1 = url2 = "git://git.openembedded.org/bitbake;rev=270a05b0b4ba0959fe0624d2a4885d7b70426da5;branch=master;protocol=https"
self.gitfetcher(url1, url2)
@skipIfNoNetwork()
def test_gitfetch_badsrcrev(self):
# SRCREV is set but does not match rev= parameter
url1 = url2 = "git://git.openembedded.org/bitbake;rev=dead05b0b4ba0959fe0624d2a4885d7b70426da5;branch=master"
url1 = url2 = "git://git.openembedded.org/bitbake;rev=dead05b0b4ba0959fe0624d2a4885d7b70426da5;branch=master;protocol=https"
self.assertRaises(bb.fetch.FetchError, self.gitfetcher, url1, url2)
@skipIfNoNetwork()
def test_gitfetch_tagandrev(self):
# SRCREV is set but does not match rev= parameter
url1 = url2 = "git://git.openembedded.org/bitbake;rev=270a05b0b4ba0959fe0624d2a4885d7b70426da5;tag=270a05b0b4ba0959fe0624d2a4885d7b70426da5"
url1 = url2 = "git://git.openembedded.org/bitbake;rev=270a05b0b4ba0959fe0624d2a4885d7b70426da5;tag=270a05b0b4ba0959fe0624d2a4885d7b70426da5;protocol=https"
self.assertRaises(bb.fetch.FetchError, self.gitfetcher, url1, url2)
@skipIfNoNetwork()
@@ -1038,7 +1042,7 @@ class FetcherNetworkTest(FetcherTest):
# `usehead=1' and instead fetch the specified SRCREV. See
# test_local_gitfetch_usehead() for a positive use of the usehead
# feature.
url = "git://git.openembedded.org/bitbake;usehead=1;branch=master"
url = "git://git.openembedded.org/bitbake;usehead=1;branch=master;protocol=https"
self.assertRaises(bb.fetch.ParameterError, self.gitfetcher, url, url)
@skipIfNoNetwork()
@@ -1047,26 +1051,26 @@ class FetcherNetworkTest(FetcherTest):
# `usehead=1' and instead fetch the specified SRCREV. See
# test_local_gitfetch_usehead() for a positive use of the usehead
# feature.
url = "git://git.openembedded.org/bitbake;usehead=1;name=newName;branch=master"
url = "git://git.openembedded.org/bitbake;usehead=1;name=newName;branch=master;protocol=https"
self.assertRaises(bb.fetch.ParameterError, self.gitfetcher, url, url)
@skipIfNoNetwork()
def test_gitfetch_finds_local_tarball_for_mirrored_url_when_previous_downloaded_by_the_recipe_url(self):
recipeurl = "git://git.openembedded.org/bitbake;branch=master"
mirrorurl = "git://someserver.org/bitbake;branch=master"
recipeurl = "git://git.openembedded.org/bitbake;branch=master;protocol=https"
mirrorurl = "git://someserver.org/bitbake;branch=master;protocol=https"
self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake")
self.gitfetcher(recipeurl, mirrorurl)
@skipIfNoNetwork()
def test_gitfetch_finds_local_tarball_when_previous_downloaded_from_a_premirror(self):
recipeurl = "git://someserver.org/bitbake;branch=master"
recipeurl = "git://someserver.org/bitbake;branch=master;protocol=https"
self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake")
self.gitfetcher(recipeurl, recipeurl)
@skipIfNoNetwork()
def test_gitfetch_finds_local_repository_when_premirror_rewrites_the_recipe_url(self):
realurl = "git://git.openembedded.org/bitbake"
recipeurl = "git://someserver.org/bitbake"
realurl = "https://git.openembedded.org/bitbake"
recipeurl = "git://someserver.org/bitbake;protocol=https"
self.sourcedir = self.unpackdir.replace("unpacked", "sourcemirror.git")
os.chdir(self.tempdir)
self.git(['clone', realurl, self.sourcedir], cwd=self.tempdir)
@@ -1076,9 +1080,9 @@ class FetcherNetworkTest(FetcherTest):
@skipIfNoNetwork()
def test_git_submodule(self):
# URL with ssh submodules
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=ssh-gitsm-tests;rev=049da4a6cb198d7c0302e9e8b243a1443cb809a7;branch=master"
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=ssh-gitsm-tests;rev=049da4a6cb198d7c0302e9e8b243a1443cb809a7;branch=master;protocol=https"
# Original URL (comment this if you have ssh access to git.yoctoproject.org)
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=a2885dd7d25380d23627e7544b7bbb55014b16ee;branch=master"
url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=a2885dd7d25380d23627e7544b7bbb55014b16ee;branch=master;protocol=https"
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
# Previous cwd has been deleted
@@ -1329,9 +1333,9 @@ class URLHandle(unittest.TestCase):
"http://www.google.com/index.html" : ('http', 'www.google.com', '/index.html', '', '', {}),
"cvs://anoncvs@cvs.handhelds.org/cvs;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', '', {'module': 'familiar/dist/ipkg'}),
"cvs://anoncvs:anonymous@cvs.handhelds.org/cvs;tag=V0-99-81;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', 'anonymous', collections.OrderedDict([('tag', 'V0-99-81'), ('module', 'familiar/dist/ipkg')])),
"git://git.openembedded.org/bitbake;branch=@foo" : ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'}),
"git://git.openembedded.org/bitbake;branch=@foo;protocol=https" : ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo', 'protocol' : 'https'}),
"file://somelocation;someparam=1": ('file', '', 'somelocation', '', '', {'someparam': '1'}),
r'git://s.o-me_ONE:!#$%^&*()-_={}[]\|:?,.<>~`@git.openembedded.org/bitbake;branch=main': ('git', 'git.openembedded.org', '/bitbake', 's.o-me_ONE', r'!#$%^&*()-_={}[]\|:?,.<>~`', {'branch': 'main'}),
r'git://s.o-me_ONE:!#$%^&*()-_={}[]\|:?,.<>~`@git.openembedded.org/bitbake;branch=main;protocol=https': ('git', 'git.openembedded.org', '/bitbake', 's.o-me_ONE', r'!#$%^&*()-_={}[]\|:?,.<>~`', {'branch': 'main', 'protocol' : 'https'}),
}
# we require a pathname to encodeurl but users can still pass such urls to
# decodeurl and we need to handle them
@@ -1359,14 +1363,14 @@ class FetchLatestVersionTest(FetcherTest):
: "1.99.4",
# version pattern "vX.Y"
# mirror of git.infradead.org since network issues interfered with testing
("mtd-utils", "git://git.yoctoproject.org/mtd-utils.git;branch=master", "ca39eb1d98e736109c64ff9c1aa2a6ecca222d8f", "")
("mtd-utils", "git://git.yoctoproject.org/mtd-utils.git;branch=master;protocol=https", "ca39eb1d98e736109c64ff9c1aa2a6ecca222d8f", "")
: "1.5.0",
# version pattern "pkg_name-X.Y"
# mirror of git://anongit.freedesktop.org/git/xorg/proto/presentproto since network issues interfered with testing
("presentproto", "git://git.yoctoproject.org/bbfetchtests-presentproto;branch=master", "24f3a56e541b0a9e6c6ee76081f441221a120ef9", "")
("presentproto", "git://git.yoctoproject.org/bbfetchtests-presentproto;branch=master;protocol=https", "24f3a56e541b0a9e6c6ee76081f441221a120ef9", "")
: "1.0",
# version pattern "pkg_name-vX.Y.Z"
("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master", "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf", "")
("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master;protocol=https", "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf", "")
: "1.4.0",
# combination version pattern
("sysprof", "git://gitlab.gnome.org/GNOME/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "")
@@ -1378,9 +1382,9 @@ class FetchLatestVersionTest(FetcherTest):
: "20120614",
# packages with a valid UPSTREAM_CHECK_GITTAGREGEX
# mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing
("xf86-video-omap", "git://git.yoctoproject.org/bbfetchtests-xf86-video-omap;branch=master", "ae0394e687f1a77e966cf72f895da91840dffb8f", r"(?P<pver>(\d+\.(\d\.?)*))")
("xf86-video-omap", "git://git.yoctoproject.org/bbfetchtests-xf86-video-omap;branch=master;protocol=https", "ae0394e687f1a77e966cf72f895da91840dffb8f", r"(?P<pver>(\d+\.(\d\.?)*))")
: "0.4.3",
("build-appliance-image", "git://git.yoctoproject.org/poky;branch=master", "b37dd451a52622d5b570183a81583cc34c2ff555", r"(?P<pver>(([0-9][\.|_]?)+[0-9]))")
("build-appliance-image", "git://git.yoctoproject.org/poky;branch=master;protocol=https", "b37dd451a52622d5b570183a81583cc34c2ff555", r"(?P<pver>(([0-9][\.|_]?)+[0-9]))")
: "11.0.0",
("chkconfig-alternatives-native", "git://github.com/kergoth/chkconfig;branch=sysroot;protocol=https", "cd437ecbd8986c894442f8fce1e0061e20f04dee", r"chkconfig\-(?P<pver>((\d+[\.\-_]*)+))")
: "1.3.59",
@@ -2189,7 +2193,7 @@ class GitShallowTest(FetcherTest):
self.d.setVar('SRCREV', 'e5939ff608b95cdd4d0ab0e1935781ab9a276ac0')
self.d.setVar('BB_GIT_SHALLOW', '1')
self.d.setVar('BB_GENERATE_SHALLOW_TARBALLS', '1')
fetcher = bb.fetch.Fetch(["git://git.yoctoproject.org/fstests;branch=master"], self.d)
fetcher = bb.fetch.Fetch(["git://git.yoctoproject.org/fstests;branch=master;protocol=https"], self.d)
fetcher.download()
bb.utils.remove(self.dldir + "/*.tar.gz")
@@ -2391,6 +2395,31 @@ class CrateTest(FetcherTest):
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/.cargo-checksum.json"))
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/src/lib.rs"))
@skipIfNoNetwork()
def test_crate_url_matching_recipe(self):
self.d.setVar('BP', 'glob-0.2.11')
uri = "crate://crates.io/glob/0.2.11"
self.d.setVar('SRC_URI', uri)
uris = self.d.getVar('SRC_URI').split()
d = self.d
fetcher = bb.fetch2.Fetch(uris, self.d)
ud = fetcher.ud[fetcher.urls[0]]
self.assertIn("name", ud.parm)
self.assertEqual(ud.parm["name"], "glob-0.2.11")
self.assertIn("downloadfilename", ud.parm)
self.assertEqual(ud.parm["downloadfilename"], "glob-0.2.11.crate")
fetcher.download()
fetcher.unpack(self.tempdir)
self.assertEqual(sorted(os.listdir(self.tempdir)), ['download', 'glob-0.2.11', 'unpacked'])
self.assertEqual(sorted(os.listdir(self.tempdir + "/download")), ['glob-0.2.11.crate', 'glob-0.2.11.crate.done'])
self.assertTrue(os.path.exists(self.tempdir + "/glob-0.2.11/src/lib.rs"))
@skipIfNoNetwork()
def test_crate_url_params(self):
@@ -2966,7 +2995,7 @@ class NPMTest(FetcherTest):
class GitSharedTest(FetcherTest):
def setUp(self):
super(GitSharedTest, self).setUp()
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master;protocol=https"
self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40')
self.d.setVar("__BBSRCREV_SEEN", "1")
@@ -2999,7 +3028,7 @@ class FetchPremirroronlyLocalTest(FetcherTest):
os.mkdir(self.mirrordir)
self.reponame = "bitbake"
self.gitdir = os.path.join(self.tempdir, "git", self.reponame)
self.recipe_url = "git://git.fake.repo/bitbake;branch=master"
self.recipe_url = "git://git.fake.repo/bitbake;branch=master;protocol=https"
self.d.setVar("BB_FETCH_PREMIRRORONLY", "1")
self.d.setVar("BB_NO_NETWORK", "1")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n")
@@ -3053,7 +3082,7 @@ class FetchPremirroronlyNetworkTest(FetcherTest):
self.reponame = "fstests"
self.clonedir = os.path.join(self.tempdir, "git")
self.gitdir = os.path.join(self.tempdir, "git", "{}.git".format(self.reponame))
self.recipe_url = "git://git.yoctoproject.org/fstests"
self.recipe_url = "git://git.yoctoproject.org/fstests;protocol=https"
self.d.setVar("BB_FETCH_PREMIRRORONLY", "1")
self.d.setVar("BB_NO_NETWORK", "0")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n")
@@ -3135,7 +3164,7 @@ class FetchPremirroronlyBrokenTarball(FetcherTest):
os.mkdir(self.mirrordir)
self.reponame = "bitbake"
self.gitdir = os.path.join(self.tempdir, "git", self.reponame)
self.recipe_url = "git://git.fake.repo/bitbake"
self.recipe_url = "git://git.fake.repo/bitbake;protocol=https"
self.d.setVar("BB_FETCH_PREMIRRORONLY", "1")
self.d.setVar("BB_NO_NETWORK", "1")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n")

View File

@@ -222,6 +222,7 @@ VAR = " \\
at_sign_in_var_flag = """
A[flag@.service] = "nonet"
B[flag@.target] = "ntb"
C[f] = "flag"
unset A[flag@.service]
"""
@@ -232,6 +233,7 @@ unset A[flag@.service]
self.assertEqual(d.getVar("B"), None)
self.assertEqual(d.getVarFlag("A","flag@.service"), None)
self.assertEqual(d.getVarFlag("B","flag@.target"), "ntb")
self.assertEqual(d.getVarFlag("C","f"), "flag")
def test_parse_invalid_at_sign_in_var_flag(self):
invalid_at_sign = self.at_sign_in_var_flag.replace("B[f", "B[@f")

View File

@@ -91,6 +91,7 @@ rst_prolog = """
# external links and substitutions
extlinks = {
'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
'yocto_home': ('https://www.yoctoproject.org%s', None),
'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
'yocto_dl': ('https://downloads.yoctoproject.org%s', None),

View File

@@ -98,11 +98,12 @@ layer. The following steps provide some more detail:
- Add any image recipes that are specific to your distribution.
- Add a ``psplash`` append file for a branded splash screen. For
information on append files, see the
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
section.
- Add a ``psplash`` append file for a branded splash screen, using
the :term:`SPLASH_IMAGES` variable.
- Add any other append files to make custom changes that are
specific to individual recipes.
For information on append files, see the
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
section.

View File

@@ -1,5 +1,7 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. _device-manager:
Selecting a Device Manager
**************************

View File

@@ -1,83 +1,107 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. _init-manager:
Selecting an Initialization Manager
***********************************
By default, the Yocto Project uses SysVinit as the initialization
manager. However, there is also support for systemd, which is a full
replacement for init with parallel starting of services, reduced shell
overhead and other features that are used by many distributions.
By default, the Yocto Project uses :wikipedia:`SysVinit <Init#SysV-style>` as
the initialization manager. There is also support for BusyBox init, a simpler
implementation, as well as support for :wikipedia:`systemd <Systemd>`, which
is a full replacement for init with parallel starting of services, reduced
shell overhead, increased security and resource limits for services, and other
features that are used by many distributions.
Within the system, SysVinit treats system components as services. These
services are maintained as shell scripts stored in the ``/etc/init.d/``
directory. Services organize into different run levels. This
organization is maintained by putting links to the services in the
``/etc/rcN.d/`` directories, where `N/` is one of the following options:
"S", "0", "1", "2", "3", "4", "5", or "6".
Within the system, SysVinit and BusyBox init treat system components as
services. These services are maintained as shell scripts stored in the
``/etc/init.d/`` directory.
SysVinit is more elaborate than BusyBox init and organizes services in
different run levels. This organization is maintained by putting links
to the services in the ``/etc/rcN.d/`` directories, where `N/` is one
of the following options: "S", "0", "1", "2", "3", "4", "5", or "6".
.. note::
Each runlevel has a dependency on the previous runlevel. This
dependency allows the services to work properly.
Both SysVinit and BusyBox init are configured through the ``/etc/inittab``
file, with a very similar syntax, though of course BusyBox init features
are more limited.
In comparison, systemd treats components as units. Using units is a
broader concept as compared to using a service. A unit includes several
different types of entities. Service is one of the types of entities.
different types of entities. ``Service`` is one of the types of entities.
The runlevel concept in SysVinit corresponds to the concept of a target
in systemd, where target is also a type of supported unit.
In a SysVinit-based system, services load sequentially (i.e. one by one)
during init and parallelization is not supported. With systemd, services
start in parallel. Needless to say, the method can have an impact on
system startup performance.
In systems with SysVinit or BusyBox init, services load sequentially (i.e. one
by one) during init and parallelization is not supported. With systemd, services
start in parallel. This method can have an impact on the startup performance
of a given service, though systemd will also provide more services by default,
therefore increasing the total system boot time. systemd also substantially
increases system size because of its multiple components and the extra
dependencies it pulls.
If you want to use SysVinit, you do not have to do anything. But, if you
want to use systemd, you must take some steps as described in the
following sections.
On the contrary, BusyBox init is the simplest and the lightest solution and
also comes with BusyBox mdev as device manager, a lighter replacement to
:wikipedia:`udev <Udev>`, which SysVinit and systemd both use.
Using systemd Exclusively
The ":ref:`device-manager`" chapter has more details about device managers.
Using SysVinit with udev
=========================
Set these variables in your distribution configuration file as follows::
SysVinit with the udev device manager corresponds to the
default setting in Poky. This corresponds to setting::
DISTRO_FEATURES:append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
INIT_MANAGER = "sysvinit"
You can also prevent the SysVinit distribution feature from
being automatically enabled as follows::
Using BusyBox init with BusyBox mdev
====================================
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
BusyBox init with BusyBox mdev is the simplest and lightest solution
for small root filesystems. All you need is BusyBox, which most systems
have anyway::
Doing so removes any
redundant SysVinit scripts.
INIT_MANAGER = "mdev-busybox"
To remove initscripts from your image altogether, set this variable
also::
Using systemd
=============
VIRTUAL-RUNTIME_initscripts = ""
The last option is to use systemd together with the udev device
manager. This is the most powerful and versatile solution, especially
for more complex systems::
For information on the backfill variable, see
:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`.
INIT_MANAGER = "systemd"
Using systemd for the Main Image and Using SysVinit for the Rescue Image
========================================================================
This will enable systemd and remove sysvinit components from the image.
See :yocto_git:`meta/conf/distro/include/init-manager-systemd.inc
</poky/tree/meta/conf/distro/include/init-manager-systemd.inc>` for exact
details on what this does.
Set these variables in your distribution configuration file as follows::
Controling systemd from the target command line
-----------------------------------------------
DISTRO_FEATURES:append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
Here is a quick reference for controling systemd from the command line on the
target. Instead of opening and sometimes modifying files, most interaction
happens through the ``systemctl`` and ``journalctl`` commands:
Doing so causes your main image to use the
``packagegroup-core-boot.bb`` recipe and systemd. The rescue/minimal
image cannot use this package group. However, it can install SysVinit
and the appropriate packages will have support for both systemd and
SysVinit.
- ``systemctl status``: show the status of all services
- ``systemctl status <service>``: show the status of one service
- ``systemctl [start|stop] <service>``: start or stop a service
- ``systemctl [enable|disable] <service>``: enable or disable a service at boot time
- ``systemctl list-units``: list all available units
- ``journalctl -a``: show all logs for all services
- ``journalctl -f``: show only the last log entries, and keep printing updates as they arrive
- ``journalctl -u``: show only logs from a particular service
Using systemd-journald without a traditional syslog daemon
==========================================================
----------------------------------------------------------
Counter-intuitively, ``systemd-journald`` is not a syslog runtime or provider,
and the proper way to use systemd-journald as your sole logging mechanism is to
and the proper way to use ``systemd-journald`` as your sole logging mechanism is to
effectively disable syslog entirely by setting these variables in your distribution
configuration file::
@@ -85,5 +109,54 @@ configuration file::
VIRTUAL-RUNTIME_base-utils-syslog = ""
Doing so will prevent ``rsyslog`` / ``busybox-syslog`` from being pulled in by
default, leaving only ``journald``.
default, leaving only ``systemd-journald``.
Summary
-------
The Yocto Project supports three different initialization managers, offering
increasing levels of complexity and functionality:
.. list-table::
:widths: 40 20 20 20
:header-rows: 1
* -
- BusyBox init
- SysVinit
- systemd
* - Size
- Small
- Small
- Big [#footnote-systemd-size]_
* - Complexity
- Small
- Medium
- High
* - Support for boot profiles
- No
- Yes ("runlevels")
- Yes ("targets")
* - Services defined as
- Shell scripts
- Shell scripts
- Description files
* - Starting services in parallel
- No
- No
- Yes
* - Setting service resource limits
- No
- No
- Yes
* - Support service isolation
- No
- No
- Yes
* - Integrated logging
- No
- No
- Yes
.. [#footnote-systemd-size] Using systemd increases the ``core-image-minimal``
image size by 160\% for ``qemux86-64`` on Mickledore (4.2), compared to SysVinit.

View File

@@ -1289,6 +1289,8 @@ as described in the ":ref:`dev-manual/licenses:tracking license changes`"
section in the Yocto Project Overview and Concepts Manual. You can quickly
create Autotool-based recipes in a manner similar to the previous example.
.. _ref-building-meson-package:
Building a Meson Package
------------------------

View File

@@ -227,18 +227,6 @@ default value is "r0", the practice of adding it to a new recipe makes
it harder to forget to bump the variable when you make changes to the
recipe in future.
If you are sharing a common ``.inc`` file with multiple recipes, you can
also use the :term:`INC_PR` variable to ensure that the recipes sharing the
``.inc`` file are rebuilt when the ``.inc`` file itself is changed. The
``.inc`` file must set :term:`INC_PR` (initially to "r0"), and all recipes
referring to it should set :term:`PR` to "${INC_PR}.0" initially,
incrementing the last number when the recipe is changed. If the ``.inc``
file is changed then its :term:`INC_PR` should be incremented.
When upgrading the version of a binary package, assuming the :term:`PV`
changes, the :term:`PR` variable should be reset to "r0" (or "${INC_PR}.0"
if you are using :term:`INC_PR`).
Usually, version increases occur only to binary packages. However, if
for some reason :term:`PV` changes but does not increase, you can increase
the :term:`PE` variable (Package Epoch). The :term:`PE` variable defaults to

View File

@@ -63,6 +63,9 @@ generated files are available in ``tmp/deploy/spdx/MACHINE`` too, such as:
(when :term:`SPDX_ARCHIVE_SOURCES` is set). Those are needed to fulfill
"source code access" license requirements.
See also the :term:`SPDX_CUSTOM_ANNOTATION_VARS` variable which allows
to associate custom notes to a recipe.
See the `tools page <https://spdx.dev/resources/tools/>`__ on the :term:`SPDX`
project website for a list of tools to consume and transform the :term:`SPDX`
data generated by the OpenEmbedded build system.

View File

@@ -613,44 +613,23 @@ Use the following procedure to locate the latest upstream copy of the
For information on cloning a repository, see the
":ref:`dev-manual/start:cloning the \`\`poky\`\` repository`" section.
Accessing Index of Releases
---------------------------
Accessing Source Archives
-------------------------
Yocto Project maintains an Index of Releases area that contains related
files that contribute to the Yocto Project. Rather than Git
repositories, these files are tarballs that represent snapshots in time
of a given component.
The Yocto Project also provides source archives of its releases, which
are available on :yocto_dl:`/releases/yocto/`. Then, choose the subdirectory
containing the release you wish to use, for example
:yocto_dl:`yocto-&DISTRO; </releases/yocto/yocto-&DISTRO;/>`.
You will find there source archives of individual components (if you wish
to use them individually), and of the corresponding Poky release bundling
a selection of these components.
.. note::
The recommended method for accessing Yocto Project components is to
use Git to clone the upstream repository and work from within that
locally cloned repository. However, this section documents how to
use a tarball snapshot of any given component.
Follow these steps to locate and download a particular tarball:
#. *Access the Index of Releases:* Open a browser and go to
:yocto_dl:`Index of Releases </releases>`. The
list represents released components (e.g. ``bitbake``, ``sato``, and
so on).
.. note::
The ``yocto`` directory contains the full array of released Poky
tarballs. The ``poky`` directory in the Index of Releases was
historically used for very early releases and exists now only for
retroactive completeness.
#. *Select a Component:* Click on any released component in which you
are interested (e.g. ``yocto``).
#. *Find the Tarball:* Drill down to find the associated tarball. For
example, click on ``yocto-&DISTRO;`` to view files associated with the
Yocto Project &DISTRO; release.
#. *Download the Tarball:* Click the tarball to download and save a
snapshot of the given component.
locally cloned repository.
Using the Downloads Page
------------------------
@@ -659,7 +638,7 @@ The :yocto_home:`Yocto Project Website <>` uses a "DOWNLOADS" page
from which you can locate and download tarballs of any Yocto Project
release. Rather than Git repositories, these files represent snapshot
tarballs similar to the tarballs located in the Index of Releases
described in the ":ref:`dev-manual/start:accessing index of releases`" section.
described in the ":ref:`dev-manual/start:accessing source archives`" section.
#. *Go to the Yocto Project Website:* Open The
:yocto_home:`Yocto Project Website <>` in your browser.

View File

@@ -730,11 +730,10 @@ reside in a separate repository. The OpenEmbedded build system adds the
Metadata to the build as a "type=kmeta" repository through the
:term:`SRC_URI` variable. As an
example, consider the following :term:`SRC_URI` statement from the
``linux-yocto_4.12.bb`` kernel recipe::
SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.12.git;name=machine;branch=${KBRANCH}; \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.12;destsuffix=${KMETA}"
``linux-yocto_5.15.bb`` kernel recipe::
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH};protocol=https \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA};protocol=https"
``${KMETA}``, in this context, is simply used to name the directory into
which the Git fetcher places the Metadata. This behavior is no different

View File

@@ -12,6 +12,7 @@ to move to one release of the Yocto Project from the previous one.
.. toctree::
migration-general
release-4.3
release-4.2
release-4.1
release-4.0

View File

@@ -9,27 +9,109 @@ Migration notes for 4.2 (mickledore)
This section provides migration information for moving to the Yocto
Project 4.2 Release (codename "mickledore") from the prior release.
.. _migration-4.2-supported-distributions:
Supported distributions
~~~~~~~~~~~~~~~~~~~~~~~
This release supports running BitBake on new GNU/Linux distributions:
- Fedora 36 and 37
- AlmaLinux 8.7 and 9.1
- OpenSuse 15.4
On the other hand, some earlier distributions are no longer supported:
- Debian 10.x
- Fedora 34 and 35
- AlmaLinux 8.5
See :ref:`all supported distributions <system-requirements-supported-distros>`.
.. _migration-4.2-python-3.8:
Python 3.8 is now the minimum required Python version version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake and OpenEmbedded-Core are now relying on Python 3.8,
BitBake and OpenEmbedded-Core now require Python 3.8 or newer,
making it a requirement to use a distribution providing at least this
version, or to use :term:`buildtools`.
version, or to install a :term:`buildtools` tarball.
.. _migration-4.2-qa-checks:
.. _migration-4.2-gcc-8.0:
QA check changes
~~~~~~~~~~~~~~~~
gcc 8.0 is now the minimum required GNU C compiler version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. _migration-4.2-misc-changes:
This version, released in 2018, is a minimum requirement
to build the ``mesa-native`` recipe and as the latter is in the
default dependency chain when building QEMU this has now been
made a requirement for all builds.
Miscellaneous changes
~~~~~~~~~~~~~~~~~~~~~
In the event that your host distribution does not provide this
or a newer version of gcc, you can install a
:term:`buildtools-extended` tarball.
.. _migration-4.2-new-nvd-api:
Fetching the NVD vulnerability database through the 2.0 API
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This new version adds a new fetcher for the NVD database using the 2.0 API,
as the 1.0 API will be retired in 2023.
The implementation changes as little as possible, keeping the current
database format (but using a different database file for the transition
period), with a notable exception of not using the META table.
Here are minor changes that you may notice:
- The database starts in 1999 instead of 2002
- The complete fetch is longer (30 minutes typically)
.. _migration-4.2-rust-crate-checksums:
Rust: mandatory checksums for crates
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This release now supports checksums for Rust crates and makes
them mandatory for each crate in a recipe. See :yocto_git:`python3_bcrypt recipe changes
</poky/commit/?h=mickledore&id=0dcb5ab3462fdaaf1646b05a00c7150eea711a9a>`
for example.
The ``cargo-update-recipe-crates`` utility
:yocto_git:`has been extended </poky/commit/?h=mickledore&id=eef7fbea2c5bf59369390be4d5efa915591b7b22>`
to include such checksums. So, in case you need to add the list of checksums
to a recipe just inheriting the :ref:`ref-classes-cargo` class so far, you can
follow these steps:
#. Make the recipe inherit :ref:`ref-classes-cargo-update-recipe-crates`
#. Remove all ``crate://`` lines from the recipe
#. Create an empty ``${BPN}-crates.inc`` file and make your recipe require it
#. Execute ``bitbake -c update_crates your_recipe``
#. Copy and paste the output of BitBake about the missing checksums into the
``${BPN}-crates.inc`` file.
.. _migration-4.2-addpylib:
Python library code extensions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake in this release now supports a new ``addpylib`` directive to enable
Python libraries within layers.
This directive should be added to your layer configuration
as in the below example from ``meta/conf/layer.conf``::
addpylib ${LAYERDIR}/lib oe
Layers currently adding a lib directory to extend Python library code should now
use this directive as :term:`BBPATH` is not going to be added automatically by
OE-Core in future. Note that the directives are immediate operations, so it does
make modules available for use sooner than the current BBPATH-based approach.
For more information, see :ref:`bitbake-user-manual/bitbake-user-manual-metadata:extending python library code`.
- The ``OEBasic`` signature handler (see :term:`BB_SIGNATURE_HANDLER`) has been
removed.
.. _migration-4.2-removed-variables:
@@ -38,7 +120,11 @@ Removed variables
The following variables have been removed:
- ``SERIAL_CONSOLE``, deprecated since version 2.6, replaced by :term:``SERIAL_CONSOLES``.
- ``SERIAL_CONSOLE``, deprecated since version 2.6, replaced by :term:`SERIAL_CONSOLES`.
- ``PACKAGEBUILDPKGD``, a mostly internal variable in the ref:`ref-classes-package`
class was rarely used to customise packaging. If you were using this in your custom
recipes or bbappends, you will need to switch to using :term:`PACKAGE_PREPROCESS_FUNCS`
or :term:`PACKAGESPLITFUNCS` instead.
.. _migration-4.2-removed-recipes:
@@ -47,3 +133,144 @@ Removed recipes
The following recipes have been removed in this release:
- ``python3-picobuild``: after switching to ``python3-build``
- ``python3-strict-rfc3339``: unmaintained and not needed by anything in
:oe_git:`openembedded-core </openembedded-core>`
or :oe_git:`meta-openembedded </meta-openembedded>`.
- ``linux-yocto``: removed version 5.19 recipes (6.1 and 5.15 still provided)
.. _migration-4.2-removed-classes:
Removed classes
~~~~~~~~~~~~~~~
The following classes have been removed in this release:
- ``rust-bin``: no longer used
- ``package_tar``: could not be used for actual packaging, and thus not particularly useful.
LAYERSERIES_COMPAT for custom layers and devtool workspace
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some layer maintainers have been setting :term:`LAYERSERIES_COMPAT` in their
layer's ``conf/layer.conf`` to the value of ``LAYERSERIES_CORENAMES`` to
effectively bypass the compatibility check - this is no longer permitted.
Layer maintainers should set :term:`LAYERSERIES_COMPAT` appropriately to
help users understand the compatibility status of the layer.
Additionally, the :term:`LAYERSERIES_COMPAT` value for the devtool workspace
layer is now set at the time of creation, thus if you upgrade with the
workspace layer enabled and you wish to retain it, you will need to manually
update the :term:`LAYERSERIES_COMPAT` value in ``workspace/conf/layer.conf``
(or remove the path from :term:`BBLAYERS` in ``conf/bblayers.conf`` and
delete/move the ``workspace`` directory out of the way if you no longer
need it).
.. _migration-4.2-runqemu-slirp:
runqemu now limits slirp host port forwarding to localhost
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With default slirp port forwarding configuration in runqemu, qemu
previously listened on TCP ports 2222 and 2323 on all IP addresses
available on the build host. Most use cases with runqemu only need
it for localhost and it is not safe to run qemu images with root
login without password enabled and listening on all available,
possibly Internet reachable network interfaces. Thus, in this
release we limit qemu port forwarding to localhost (127.0.0.1).
However, if you need the qemu machine to be reachable from the
network, then it can be enabled via ``conf/local.conf`` or machine
config variable ``QB_SLIRP_OPT``::
QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::2222-:22"
.. _migration-4.2-patch-qa:
Patch QA checks
~~~~~~~~~~~~~~~
The QA checks for patch fuzz and Upstream-Status have been reworked
slightly in this release. The Upstream-Status checking is now configurable
from :term:`WARN_QA` / :term:`ERROR_QA` (``patch-status-core`` for the
core layer, and ``patch-status-noncore`` for other layers).
The ``patch-fuzz`` and ``patch-status-core`` checks are now in the default
value of :term:`ERROR_QA` so that they will cause the build to fail
if triggered. If you prefer to avoid this you will need to adjust the value
of :term:`ERROR_QA` in your configuration as desired.
.. _migration-4.2-mesa:
Native/nativesdk mesa usage and graphics drivers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This release includes mesa 23.0, and with that mesa release it is not longer
possible to use drivers from the host system, as mesa upstream has added strict
checks for matching builds between drivers and libraries that load them.
This is particularly relevant when running QEMU built within the build
system. A check has been added to runqemu so that there is a helpful error
when there is no native/nativesdk opengl/virgl support available.
To support this, a number of drivers have been enabled when building ``mesa-native``.
The one major dependency pulled in by this change is ``llvm-native`` which will
add a few minutes to the build on a modern machine. If this is undesirable, you
can set the value of :term:`DISTRO_FEATURES_NATIVE` in your configuration such
that ``opengl`` is excluded.
.. _migration-4.2-misc-changes:
Miscellaneous changes
~~~~~~~~~~~~~~~~~~~~~
- The :term:`IMAGE_NAME` variable is now set based on :term:`IMAGE_LINK_NAME`. This
means that if you are setting :term:`IMAGE_LINK_NAME` to "" to disable unversioned
image symlink creation, you also now need to set :term:`IMAGE_NAME` to still have
a reasonable value e.g.::
IMAGE_LINK_NAME = ""
IMAGE_NAME = "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}"
- In ``/etc/os-release``, the ``VERSION_CODENAME`` field is now used instead of
``DISTRO_CODENAME`` (though its value is still set from the :term:`DISTRO_CODENAME`
variable) for better conformance to standard os-release usage. If you have runtime
code reading this from ``/etc/os-release`` it may need to be updated.
- The kmod recipe now enables OpenSSL support by default in order to support module
signing. If you do not need this and wish to reclaim some space/avoid the dependency
you should set :term:`PACKAGECONFIG` in a kmod bbappend (or ``PACKAGECONFIG:pn-kmod``
at the configuration level) to exclude ``openssl``.
- The ``OEBasic`` signature handler (see :term:`BB_SIGNATURE_HANDLER`) has been
removed. It is unlikely that you would have selected to use this, but if you have
you will need to remove this setting.
- The :ref:`ref-classes-package` class now checks if package names conflict via
``PKG:${PN}`` override during ``do_package``. If you receive the associated error
you will need to address the :term:`PKG` usage so that the conflict is resolved.
- openssh no longer uses :term:`RRECOMMENDS` to pull in ``rng-tools``, since rngd
is no longer needed as of Linux kernel 5.6. If you still need ``rng-tools``
installed for other reasons, you should add ``rng-tools`` explicitly to your
image. If you additionally need rngd to be started as a service you will also
need to add the ``rng-tools-service`` package as that has been split out.
- The cups recipe no longer builds with the web interface enabled, saving ~1.8M of
space in the final image. If you wish to enable it, you should set
:term:`PACKAGECONFIG` in a cups bbappend (or ``PACKAGECONFIG:pn-cups`` at the
configuration level) to include ``webif``.
- The :ref:`ref-classes-scons` class now passes a ``MAXLINELENGTH`` argument to
scons in order to fix an issue with scons and command line lengths when ccache is
enabled. However, some recipes may be using older scons versions which don't support
this argument. If that is the case you can set the following in the recipe in order
to disable this::
SCONS_MAXLINELENGTH = ""

View File

@@ -0,0 +1,102 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release 4.3 (nanbield)
========================
Migration notes for 4.3 (nanbield)
------------------------------------
This section provides migration information for moving to the Yocto
Project 4.3 Release (codename "nanbield") from the prior release.
.. _migration-4.3-supported-kernel-versions:
Supported kernel versions
~~~~~~~~~~~~~~~~~~~~~~~~~
The :term:`OLDEST_KERNEL` setting has been changed to "5.15" in this release, meaning that
out the box, older kernels are not supported. There were two reasons for this.
Firstly it allows glibc optimisations that improve the performance of the system
by removing compatibility code and using modern kernel APIs exclusively. The second
issue was this allows 64 bit time support even on 32 bit platforms and resolves Y2038
issues.
It is still possible to override this value and build for older kernels, this is just
no longer the default supported configuration. This setting does not affect which
kernel versions SDKs will run against and does not affect which versions of the kernel
can be used to run builds.
.. _migration-4.3-supported-distributions:
Supported distributions
~~~~~~~~~~~~~~~~~~~~~~~
This release supports running BitBake on new GNU/Linux distributions:
On the other hand, some earlier distributions are no longer supported:
See :ref:`all supported distributions <system-requirements-supported-distros>`.
.. _migration-4.3-go-changes:
Go language changes
~~~~~~~~~~~~~~~~~~~
- Support for the Glide package manager has been removed, as ``go mod``
has become the standard.
.. _migration-4.3-recipe-changes:
Recipe changes
~~~~~~~~~~~~~~
- Runtime testing of ptest now fails if no test results are returned by
any given ptest.
.. _migration-4.3-class-changes:
Class changes
~~~~~~~~~~~~~
- The ``perl-version`` class no longer provides the ``PERLVERSION`` and ``PERLARCH`` variables
as there were no users in any core layer. The functions for this functionality
are still available.
.. _migration-4.3-removed-variables:
Removed variables
~~~~~~~~~~~~~~~~~
The following variables have been removed:
- ``PERLARCH``
- ``PERLVERSION``
.. _migration-4.3-removed-recipes:
Removed recipes
~~~~~~~~~~~~~~~
The following recipes have been removed in this release:
- ``glide``, as explained in :ref:`migration-4.3-go-changes`.
.. _migration-4.3-removed-classes:
Removed classes
~~~~~~~~~~~~~~~
The following classes have been removed in this release:
.. _migration-4.3-misc-changes:
Miscellaneous changes
~~~~~~~~~~~~~~~~~~~~~
- The ``-crosssdk`` suffix and any :term:`MLPREFIX` were removed from
``virtual/XXX`` provider/dependencies where a ``PREFIX`` was used as well,
as we don't need both and it made automated dependency rewriting
unnecessarily complex. In general this only affects internal toolchain
dependencies so isn't end user visible.

View File

@@ -15,3 +15,5 @@ Release 4.0 (kirkstone)
release-notes-4.0.6
release-notes-4.0.7
release-notes-4.0.8
release-notes-4.0.9
release-notes-4.0.10

View File

@@ -10,3 +10,4 @@ Release 4.1 (langdale)
release-notes-4.1.1
release-notes-4.1.2
release-notes-4.1.3
release-notes-4.1.4

View File

@@ -7,3 +7,4 @@ Release 4.2 (mickledore)
migration-4.2
release-notes-4.2
release-notes-4.2.1

View File

@@ -0,0 +1,9 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release 4.3 (nanbield)
========================
.. toctree::
migration-4.3
release-notes-4.3

View File

@@ -0,0 +1,180 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.10 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- binutils: Fix :cve:`2023-1579`, :cve:`2023-1972`, :cve_mitre:`2023-25584`, :cve_mitre:`2023-25585` and :cve_mitre:`2023-25588`
- cargo : Ignore :cve:`2022-46176`
- connman: Fix :cve:`2023-28488`
- curl: Fix :cve:`2023-27533`, :cve:`2023-27534`, :cve:`2023-27535`, :cve:`2023-27536` and :cve:`2023-27538`
- ffmpeg: Fix :cve:`2022-48434`
- freetype: Fix :cve:`2023-2004`
- ghostscript: Fix :cve_mitre:`2023-29979`
- git: Fix :cve:`2023-25652` and :cve:`2023-29007`
- go: Fix :cve:`2022-41722`, :cve:`2022-41724`, :cve:`2022-41725`, :cve:`2023-24534`, :cve:`2023-24537` and :cve:`2023-24538`
- go: Ignore :cve:`2022-41716`
- libxml2: Fix :cve:`2023-28484` and :cve:`2023-29469`
- libxpm: Fix :cve:`2022-44617`, :cve:`2022-46285` and :cve:`2022-4883`
- linux-yocto: Ignore :cve:`2021-3759`, :cve:`2021-4135`, :cve:`2021-4155`, :cve:`2022-0168`, :cve:`2022-0171`, :cve:`2022-1016`, :cve:`2022-1184`, :cve:`2022-1198`, :cve:`2022-1199`, :cve:`2022-1462`, :cve:`2022-1734`, :cve:`2022-1852`, :cve:`2022-1882`, :cve:`2022-1998`, :cve:`2022-2078`, :cve:`2022-2196`, :cve:`2022-2318`, :cve:`2022-2380`, :cve:`2022-2503`, :cve:`2022-26365`, :cve:`2022-2663`, :cve:`2022-2873`, :cve:`2022-2905`, :cve:`2022-2959`, :cve:`2022-3028`, :cve:`2022-3078`, :cve:`2022-3104`, :cve:`2022-3105`, :cve:`2022-3106`, :cve:`2022-3107`, :cve:`2022-3111`, :cve:`2022-3112`, :cve:`2022-3113`, :cve:`2022-3115`, :cve:`2022-3202`, :cve:`2022-32250`, :cve:`2022-32296`, :cve:`2022-32981`, :cve:`2022-3303`, :cve:`2022-33740`, :cve:`2022-33741`, :cve:`2022-33742`, :cve:`2022-33743`, :cve:`2022-33744`, :cve:`2022-33981`, :cve:`2022-3424`, :cve:`2022-3435`, :cve:`2022-34918`, :cve:`2022-3521`, :cve:`2022-3545`, :cve:`2022-3564`, :cve:`2022-3586`, :cve:`2022-3594`, :cve:`2022-36123`, :cve:`2022-3621`, :cve:`2022-3623`, :cve:`2022-3629`, :cve:`2022-3633`, :cve:`2022-3635`, :cve:`2022-3646`, :cve:`2022-3649`, :cve:`2022-36879`, :cve:`2022-36946`, :cve:`2022-3707`, :cve:`2022-39188`, :cve:`2022-39190`, :cve:`2022-39842`, :cve:`2022-40307`, :cve:`2022-40768`, :cve:`2022-4095`, :cve:`2022-41218`, :cve:`2022-4139`, :cve:`2022-41849`, :cve:`2022-41850`, :cve:`2022-41858`, :cve:`2022-42328`, :cve:`2022-42329`, :cve:`2022-42703`, :cve:`2022-42721`, :cve:`2022-42722`, :cve:`2022-42895`, :cve:`2022-4382`, :cve:`2022-4662`, :cve:`2022-47518`, :cve:`2022-47519`, :cve:`2022-47520`, :cve:`2022-47929`, :cve:`2023-0179`, :cve:`2023-0394`, :cve:`2023-0461`, :cve:`2023-0590`, :cve:`2023-1073`, :cve:`2023-1074`, :cve:`2023-1077`, :cve:`2023-1078`, :cve:`2023-1079`, :cve:`2023-1095`, :cve:`2023-1118`, :cve:`2023-1249`, :cve:`2023-1252`, :cve:`2023-1281`, :cve:`2023-1382`, :cve:`2023-1513`, :cve:`2023-1829`, :cve:`2023-1838`, :cve:`2023-1998`, :cve:`2023-2006`, :cve:`2023-2008`, :cve:`2023-2162`, :cve:`2023-2166`, :cve:`2023-2177`, :cve:`2023-22999`, :cve:`2023-23002`, :cve:`2023-23004`, :cve:`2023-23454`, :cve:`2023-23455`, :cve:`2023-23559`, :cve:`2023-25012`, :cve:`2023-26545`, :cve:`2023-28327` and :cve:`2023-28328`
- nasm: Fix :cve:`2022-44370`
- python3-cryptography: Fix :cve:`2023-23931`
- qemu: Ignore :cve:`2023-0664`
- ruby: Fix :cve:`2023-28755` and :cve:`2023-28756`
- screen: Fix :cve:`2023-24626`
- shadow: Fix :cve:`2023-29383`
- tiff: Fix :cve:`2022-4645`
- webkitgtk: Fix :cve:`2022-32888` and :cve:`2022-32923`
- xserver-xorg: Fix :cve:`2023-1393`
Fixes in Yocto-4.0.10
~~~~~~~~~~~~~~~~~~~~~
- bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system
- build-appliance-image: Update to kirkstone head revision
- cmake: add CMAKE_SYSROOT to generated toolchain file
- glibc: stable 2.35 branch updates.
- kernel-devsrc: depend on python3-core instead of python3
- kernel: improve initramfs bundle processing time
- libarchive: Enable acls, xattr for native as well as target
- libbsd: Add correct license for all packages
- libpam: Fix the xtests/tst-pam_motd[1|3] failures
- libxpm: upgrade to 3.5.15
- linux-firmware: upgrade to 20230404
- linux-yocto/5.15: upgrade to v5.15.108
- migration-guides: add release-notes for 4.0.9
- oeqa/utils/metadata.py: Fix running oe-selftest running with no distro set
- openssl: Move microblaze to linux-latomic config
- package.bbclass: correct check for /build in copydebugsources()
- poky.conf: bump version for 4.0.10
- populate_sdk_base: add zip options
- populate_sdk_ext.bbclass: set :term:`METADATA_REVISION` with an :term:`DISTRO` override
- run-postinsts: Set dependency for ldconfig to avoid boot issues
- update-alternatives.bbclass: fix old override syntax
- wic/bootimg-efi: if fixed-size is set then use that for mkdosfs
- wpebackend-fdo: upgrade to 1.14.2
- xorg-lib-common: Add variable to set tarball type
- xserver-xorg: upgrade to 21.1.8
Known Issues in Yocto-4.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Archana Polampalli
- Arturo Buzarra
- Bruce Ashfield
- Christoph Lauer
- Deepthi Hemraj
- Dmitry Baryshkov
- Frank de Brabander
- Hitendra Prajapati
- Joe Slater
- Kai Kang
- Kyle Russell
- Lee Chee Yang
- Mark Hatle
- Martin Jansa
- Mingli Yu
- Narpat Mali
- Pascal Bach
- Pawan Badganchi
- Peter Bergin
- Peter Marko
- Piotr Łobacz
- Randolph Sapp
- Ranjitsinh Rathod
- Ross Burton
- Shubham Kulkarni
- Siddharth Doshi
- Steve Sakoman
- Sundeep KOKKONDA
- Thomas Roos
- Virendra Thakur
- Vivek Kumbhar
- Wang Mingyu
- Xiangyu Chen
- Yash Shinde
- Yoann Congal
- Yogita Urade
- Zhixiong Chi
Repositories / Downloads for Yocto-4.0.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.10 </poky/log/?h=yocto-4.0.10>`
- Git Revision: :yocto_git:`f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f </poky/commit/?id=f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f>`
- Release Artefact: poky-f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f
- sha: 8820aeac857ce6bbd1c7ef26cadbb86eca02be93deded253b4a5f07ddd69255d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.10/poky-f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.10/poky-f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.10 </openembedded-core/log/?h=yocto-4.0.10>`
- Git Revision: :oe_git:`d2713785f9cd2d58731df877bc8b7bcc71b6c8e6 </openembedded-core/commit/?id=d2713785f9cd2d58731df877bc8b7bcc71b6c8e6>`
- Release Artefact: oecore-d2713785f9cd2d58731df877bc8b7bcc71b6c8e6
- sha: 78e084a1aceaaa6ec022702f29f80eaffade3159e9c42b6b8985c1b7ddd2fbab
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.10/oecore-d2713785f9cd2d58731df877bc8b7bcc71b6c8e6.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.10/oecore-d2713785f9cd2d58731df877bc8b7bcc71b6c8e6.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.10 </meta-mingw/log/?h=yocto-4.0.10>`
- Git Revision: :yocto_git:`a90614a6498c3345704e9611f2842eb933dc51c1 </meta-mingw/commit/?id=a90614a6498c3345704e9611f2842eb933dc51c1>`
- Release Artefact: meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1
- sha: 49f9900bfbbc1c68136f8115b314e95d0b7f6be75edf36a75d9bcd1cca7c6302
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.10/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.10/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.10 </meta-gplv2/log/?h=yocto-4.0.10>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.10/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.10/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.10 </bitbake/log/?h=yocto-4.0.10>`
- Git Revision: :oe_git:`0c6f86b60cfba67c20733516957c0a654eb2b44c </bitbake/commit/?id=0c6f86b60cfba67c20733516957c0a654eb2b44c>`
- Release Artefact: bitbake-0c6f86b60cfba67c20733516957c0a654eb2b44c
- sha: 4caa94ee4d644017b0cc51b702e330191677f7d179018cbcec8b1793949ebc74
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.10/bitbake-0c6f86b60cfba67c20733516957c0a654eb2b44c.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.10/bitbake-0c6f86b60cfba67c20733516957c0a654eb2b44c.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.10 </yocto-docs/log/?h=yocto-4.0.10>`
- Git Revision: :yocto_git:`8388be749806bd0bf4fccf1005dae8f643aa4ef4 </yocto-docs/commit/?id=8388be749806bd0bf4fccf1005dae8f643aa4ef4>`

View File

@@ -1,6 +1,6 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Releae notes for Yocto-4.0.4 (Kirkstone)
Release notes for Yocto-4.0.4 (Kirkstone)
-----------------------------------------
Security Fixes in Yocto-4.0.4

View File

@@ -7,7 +7,7 @@ Security Fixes in Yocto-4.0.7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- binutils: Fix :cve:`2022-4285`
- curl: Fix :cve:`2022-43551` and `CVE-2022-43552 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-43552>`__
- curl: Fix :cve:`2022-43551` and :cve_mitre:`2022-43552`
- ffmpeg: Fix :cve:`2022-3109` and :cve:`2022-3341`
- go: Fix :cve:`2022-41715` and :cve:`2022-41717`
- libX11: Fix :cve:`2022-3554` and :cve:`2022-3555`
@@ -24,7 +24,7 @@ Security Fixes in Yocto-4.0.7
- sqlite: Fix :cve:`2022-46908`
- systemd: Fix :cve:`2022-45873`
- vim: Fix :cve:`2023-0049`, :cve:`2023-0051`, :cve:`2023-0054` and :cve:`2023-0088`
- webkitgtk: Fix :cve:`2022-32886`, `CVE-2022-32891 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32891>`__ and :cve:`2022-32912`
- webkitgtk: Fix :cve:`2022-32886`, :cve_mitre:`2022-32891` and :cve:`2022-32912`
Fixes in Yocto-4.0.7

View File

@@ -0,0 +1,249 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.9 (Kirkstone)
-----------------------------------------
Security Fixes in Yocto-4.0.9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- binutils: Fix :cve:`2023-22608`
- curl: Fix :cve:`2023-23914`, :cve:`2023-23915` and :cve:`2023-23916`
- epiphany: Fix :cve:`2023-26081`
- git: Ignore :cve:`2023-22743`
- glibc: Fix :cve:`2023-0687`
- gnutls: Fix :cve:`2023-0361`
- go: Fix :cve:`2022-2879`, :cve:`2022-41720` and :cve:`2022-41723`
- harfbuzz: Fix :cve:`2023-25193`
- less: Fix :cve:`2022-46663`
- libmicrohttpd: Fix :cve:`2023-27371`
- libsdl2: Fix :cve:`2022-4743`
- openssl: Fix :cve:`2022-3996`, :cve:`2023-0464`, :cve:`2023-0465` and :cve:`2023-0466`
- pkgconf: Fix :cve:`2023-24056`
- python3: Fix :cve:`2023-24329`
- shadow: Ignore :cve:`2016-15024`
- systemd: Fix :cve:`2022-4415`
- tiff: Fix :cve:`2023-0800`, :cve:`2023-0801`, :cve:`2023-0802`, :cve:`2023-0803` and :cve:`2023-0804`
- vim: Fix :cve:`2023-0433`, :cve:`2023-0512`, :cve:`2023-1127`, :cve:`2023-1170`, :cve:`2023-1175`, :cve:`2023-1264` and :cve:`2023-1355`
- xserver-xorg: Fix :cve:`2023-0494`
- xwayland: Fix :cve:`2023-0494`
Fixes in Yocto-4.0.9
~~~~~~~~~~~~~~~~~~~~
- base-files: Drop localhost.localdomain from hosts file
- binutils: Fix nativesdk ld.so search
- bitbake: cookerdata: Drop dubious exception handling code
- bitbake: cookerdata: Improve early exception handling
- bitbake: cookerdata: Remove incorrect SystemExit usage
- bitbake: fetch/git: Fix local clone url to make it work with repo
- bitbake: utils: Allow to_boolean to support int values
- bmap-tools: switch to main branch
- buildtools-tarball: Handle spaces within user $PATH
- busybox: Fix depmod patch
- cracklib: update github branch to 'main'
- cups: add/fix web interface packaging
- cups: check PACKAGECONFIG for pam feature
- cups: use BUILDROOT instead of DESTDIR
- curl: fix dependencies when building with ldap/ldaps
- cve-check: Fix false negative version issue
- dbus: upgrade to 1.14.6
- devtool/upgrade: do not delete the workspace/recipes directory
- dhcpcd: Fix install conflict when enable multilib.
- dhcpcd: fix dhcpcd start failure on qemuppc64
- gcc-shared-source: do not use ${S}/.. in deploy_source_date_epoch
- glibc: Add missing binutils dependency
- image_types: fix multiubi var init
- iso-codes: upgrade to 4.13.0
- json-c: Add ptest for json-c
- kernel-yocto: fix kernel-meta data detection
- lib/buildstats: handle tasks that never finished
- lib/resulttool: fix typo breaking resulttool log --ptest
- libjpeg-turbo: upgrade to 2.1.5.1
- libmicrohttpd: upgrade to 0.9.76
- libseccomp: fix for the ptest result format
- libssh2: Clean up ptest patch/coverage
- linux-firmware: add yamato fw files to qcom-adreno-a2xx package
- linux-firmware: properly set license for all Qualcomm firmware
- linux-firmware: upgrade to 20230210
- linux-yocto-rt/5.15: update to -rt59
- linux-yocto/5.10: upgrade to v5.10.175
- linux-yocto/5.15: upgrade to v5.15.103
- linux: inherit pkgconfig in kernel.bbclass
- lttng-modules: fix for kernel 6.2+
- lttng-modules: upgrade to v2.13.9
- lua: Fix install conflict when enable multilib.
- mdadm: Fix raid0, 06wrmostly and 02lineargrow tests
- meson: Fix wrapper handling of implicit setup command
- migration-guides: add 4.0.8 release notes
- nghttp2: never build python bindings
- oeqa rtc.py: skip if read-only-rootfs
- oeqa ssh.py: fix hangs in run()
- oeqa/sdk: Improve Meson test
- oeqa/selftest/prservice: Improve debug output for failure
- oeqa/selftest/resulttooltests: fix minor typo
- openssl: upgrade to 3.0.8
- package.bbclase: Add check for /build in copydebugsources()
- patchelf: replace a rejected patch with an equivalent uninative.bbclass tweak
- poky.conf: bump version for 4.0.9
- populate_sdk_ext: Handle spaces within user $PATH
- pybootchartui: Fix python syntax issue
- python3-git: fix indent error
- python3-setuptools-rust-native: Add direct dependency of native python3 modules
- qemu: Revert "fix :cve:`2021-3507`" as not applicable for qemu 6.2
- rsync: Add missing prototypes to function declarations
- rsync: Turn on -pedantic-errors at the end of 'configure'
- runqemu: kill qemu if it hangs
- scripts/lib/buildstats: handle top-level build_stats not being complete
- selftest/recipetool: Stop test corrupting tinfoil class
- selftest/runtime_test/virgl: Disable for all Rocky Linux
- selftest: devtool: set BB_HASHSERVE_UPSTREAM when setting SSTATE_MIRROR
- sstatesig: Improve output hash calculation
- staging/multilib: Fix manifest corruption
- staging: Separate out different multiconfig manifests
- sudo: update 1.9.12p2 -> 1.9.13p3
- systemd.bbclass: Add /usr/lib/systemd to searchpaths as well
- systemd: add group sgx to udev package
- systemd: fix wrong nobody-group assignment
- timezone: use 'tz' subdir instead of ${WORKDIR} directly
- toolchain-scripts: Handle spaces within user $PATH
- tzcode-native: fix build with gcc-13 on host
- tzdata: use separate B instead of WORKDIR for zic output
- uninative: upgrade to 3.9 to include libgcc and glibc 2.37
- vala: Fix install conflict when enable multilib.
- vim: add missing pkgconfig inherit
- vim: set modified-by to the recipe MAINTAINER
- vim: upgrade to 9.0.1429
- wic: Fix usage of fstype=none in wic
- wireless-regdb: upgrade to 2023.02.13
- xserver-xorg: upgrade to 21.1.7
- xwayland: upgrade to 22.1.8
Known Issues in Yocto-4.0.9
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.9
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alexander Kanavin
- Alexis Lothoré
- Bruce Ashfield
- Changqing Li
- Chee Yang Lee
- Dmitry Baryshkov
- Federico Pellegrin
- Geoffrey GIRY
- Hitendra Prajapati
- Hongxu Jia
- Joe Slater
- Kai Kang
- Kenfe-Mickael Laventure
- Khem Raj
- Martin Jansa
- Mateusz Marciniec
- Michael Halstead
- Michael Opdenacker
- Mikko Rapeli
- Ming Liu
- Mingli Yu
- Narpat Mali
- Pavel Zhukov
- Pawan Badganchi
- Peter Marko
- Piotr Łobacz
- Poonam Jadhav
- Randy MacLeod
- Richard Purdie
- Robert Yang
- Romuald Jeanne
- Ross Burton
- Sakib Sajal
- Saul Wold
- Shubham Kulkarni
- Siddharth Doshi
- Simone Weiss
- Steve Sakoman
- Tim Orling
- Tom Hochstein
- Trevor Woerner
- Ulrich Ölmann
- Vivek Kumbhar
- Wang Mingyu
- Xiangyu Chen
- Yash Shinde
Repositories / Downloads for Yocto-4.0.9
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.9 </poky/log/?h=yocto-4.0.9>`
- Git Revision: :yocto_git:`09def309f91929f47c6cce386016ccb777bd2cfc </poky/commit/?id=09def309f91929f47c6cce386016ccb777bd2cfc>`
- Release Artefact: poky-09def309f91929f47c6cce386016ccb777bd2cfc
- sha: 5c7ce209c8a6b37ec2898e5ca21858234d91999c11fa862880ba98e8bde62f63
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.9/poky-09def309f91929f47c6cce386016ccb777bd2cfc.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.9/poky-09def309f91929f47c6cce386016ccb777bd2cfc.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.9 </openembedded-core/log/?h=yocto-4.0.9>`
- Git Revision: :oe_git:`ff4b57ffff903a93b710284c7c7f916ddd74712f </openembedded-core/commit/?id=ff4b57ffff903a93b710284c7c7f916ddd74712f>`
- Release Artefact: oecore-ff4b57ffff903a93b710284c7c7f916ddd74712f
- sha: 726778ffc291136db1704316b196de979f68df9f96476b785e1791957fbb66b3
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.9/oecore-ff4b57ffff903a93b710284c7c7f916ddd74712f.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.9/oecore-ff4b57ffff903a93b710284c7c7f916ddd74712f.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.9 </meta-mingw/log/?h=yocto-4.0.9>`
- Git Revision: :yocto_git:`a90614a6498c3345704e9611f2842eb933dc51c1 </meta-mingw/commit/?id=a90614a6498c3345704e9611f2842eb933dc51c1>`
- Release Artefact: meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1
- sha: 49f9900bfbbc1c68136f8115b314e95d0b7f6be75edf36a75d9bcd1cca7c6302
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.9/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.9/meta-mingw-a90614a6498c3345704e9611f2842eb933dc51c1.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.9 </meta-gplv2/log/?h=yocto-4.0.9>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.9/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.9/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.9 </bitbake/log/?h=yocto-4.0.9>`
- Git Revision: :oe_git:`2802adb572eb73a3eb2725a74a9bbdaafc543fa7 </bitbake/commit/?id=2802adb572eb73a3eb2725a74a9bbdaafc543fa7>`
- Release Artefact: bitbake-2802adb572eb73a3eb2725a74a9bbdaafc543fa7
- sha: 5c6e713b5e26b3835c0773095c7a1bc1f8affa28316b33597220ed86f1f1b643
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.9/bitbake-2802adb572eb73a3eb2725a74a9bbdaafc543fa7.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.9/bitbake-2802adb572eb73a3eb2725a74a9bbdaafc543fa7.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.9 </yocto-docs/log/?h=yocto-4.0.9>`
- Git Revision: :yocto_git:`86d0b38a97941ad52b1af220c7b801a399d50e93 </yocto-docs/commit/?id=86d0b38a97941ad52b1af220c7b801a399d50e93>`

View File

@@ -24,8 +24,8 @@ Security Fixes in Yocto-4.1.3
- sudo: Fix :cve:`2023-22809`
- tar: Fix :cve:`2022-48303`
- vim: Fix :cve:`2023-0049`, :cve:`2023-0051`, :cve:`2023-0054`, :cve:`2023-0288`, :cve:`2023-0433` and :cve:`2023-0512`
- xserver-xorg: Fix `CVE-2023-0494 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0494>`__
- xwayland: Fix `CVE-2023-0494 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0494>`__
- xserver-xorg: Fix :cve_mitre:`2023-0494`
- xwayland: Fix :cve_mitre:`2023-0494`
Fixes in Yocto-4.1.3

View File

@@ -0,0 +1,254 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.1.4 (Langdale)
----------------------------------------
Security Fixes in Yocto-4.1.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cve-extra-exclusions/linux-yocto: Ignore :cve:`2020-27784`, :cve:`2021-3669`, :cve:`2021-3759`, :cve:`2021-4218`, :cve:`2022-0480`, :cve:`2022-1184`, :cve:`2022-1462`, :cve:`2022-2308`, :cve:`2022-2327`, :cve:`2022-26365`, :cve:`2022-2663`, :cve:`2022-2785`, :cve:`2022-3176`, :cve:`2022-33740`, :cve:`2022-33741`, :cve:`2022-33742`, :cve:`2022-3526`, :cve:`2022-3563`, :cve:`2022-3621`, :cve:`2022-3623`, :cve:`2022-3624`, :cve:`2022-3625`, :cve:`2022-3629`, :cve:`2022-3630`, :cve:`2022-3633`, :cve:`2022-3635`, :cve:`2022-3636`, :cve:`2022-3637`, :cve:`2022-3646` and :cve:`2022-3649`
- cve-extra-exclusions/linux-yocto 5.15: Ignore :cve:`2022-3435`, :cve:`2022-3534`, :cve:`2022-3564`, :cve:`2022-3564`, :cve:`2022-3619`, :cve:`2022-3640`, :cve:`2022-42895`, :cve:`2022-42896`, :cve:`2022-4382`, :cve:`2023-0266` and :cve:`2023-0394`
- epiphany: Fix :cve:`2023-26081`
- git: Ignore :cve:`2023-22743`
- go: Fix :cve:`2022-41722`, :cve:`2022-41723`, :cve:`2022-41724`, :cve:`2022-41725` and :cve:`2023-24532`
- harfbuzz: Fix :cve:`2023-25193`
- libmicrohttpd: Fix :cve:`2023-27371`
- libxml2: Fix :cve:`2022-40303` and :cve:`2022-40304`
- openssl: Fix :cve:`2023-0464`, :cve:`2023-0465` and :cve:`2023-0466`
- python3-setuptools: Fix :cve:`2022-40897`
- qemu: Fix :cve:`2022-4144`
- screen: Fix :cve:`2023-24626`
- shadow: Ignore :cve:`2016-15024`
- tiff: Fix :cve:`2022-48281`, :cve:`2023-0795`, :cve:`2023-0796`, :cve:`2023-0797`, :cve:`2023-0798`, :cve:`2023-0799`, :cve:`2023-0800`, :cve:`2023-0801`, :cve:`2023-0802`, :cve:`2023-0803` and :cve:`2023-0804`
- vim: Fix :cve:`2023-1127`, :cve:`2023-1170`, :cve:`2023-1175`, :cve:`2023-1264` and :cve:`2023-1355`
- xdg-utils: Fix :cve:`2022-4055`
- xserver-xorg: Fix for :cve:`2023-1393`
Fixes in Yocto-4.1.4
~~~~~~~~~~~~~~~~~~~~
- apt: re-enable version check
- base-files: Drop localhost.localdomain from hosts file
- binutils: Fix nativesdk ld.so search
- bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system
- bitbake: cookerdata: Drop dubious exception handling code
- bitbake: cookerdata: Improve early exception handling
- bitbake: cookerdata: Remove incorrect SystemExit usage
- bitbake: fetch/git: Fix local clone url to make it work with repo
- bitbake: toaster: Add refreshed oe-core and poky fixtures
- bitbake: toaster: fixtures/README: django 1.8 -> 3.2
- bitbake: toaster: fixtures/gen_fixtures.py: update branches
- bitbake: utils: Allow to_boolean to support int values
- bmap-tools: switch to main branch
- build-appliance-image: Update to langdale head revision
- buildtools-tarball: Handle spaces within user $PATH
- busybox: move hwclock init earlier in startup
- cargo.bbclass: use offline mode for building
- cpio: Fix wrong CRC with ASCII CRC for large files
- cracklib: update github branch to 'main'
- cups: add/fix web interface packaging
- cups: check :term:`PACKAGECONFIG` for pam feature
- cups: use BUILDROOT instead of DESTDIR
- cve-check: Fix false negative version issue
- devtool/upgrade: do not delete the workspace/recipes directory
- dhcpcd: Fix install conflict when enable multilib.
- ffmpeg: fix build failure when vulkan is enabled
- filemap.py: enforce maximum of 4kb block size
- gcc-shared-source: do not use ${S}/.. in deploy_source_date_epoch
- glibc: Add missing binutils dependency
- go: upgrade to 1.19.7
- image_types: fix multiubi var init
- image_types: fix vname var init in multiubi_mkfs() function
- iso-codes: upgrade to 4.13.0
- kernel-devsrc: fix mismatched compiler warning
- lib/oe/gpg_sign.py: Avoid race when creating .sig files in detach_sign
- lib/resulttool: fix typo breaking resulttool log --ptest
- libcomps: Fix callback function prototype for PyCOMPS_hash
- libdnf: upgrade to 0.70.0
- libgit2: update license information
- libmicrohttpd: upgrade to 0.9.76
- linux-yocto-rt/5.15: upgrade to -rt59
- linux-yocto/5.15: upgrade to v5.15.108
- linux: inherit pkgconfig in kernel.bbclass
- lttng-modules: upgrade to v2.13.9
- lua: Fix install conflict when enable multilib.
- mdadm: Fix raid0, 06wrmostly and 02lineargrow tests
- mesa-demos: packageconfig weston should have a dependency on wayland-protocols
- meson: Fix wrapper handling of implicit setup command
- meson: remove obsolete RPATH stripping patch
- migration-guides: update release notes
- oeqa ping.py: avoid busylooping failing ping command
- oeqa ping.py: fail test if target IP address has not been set
- oeqa rtc.py: skip if read-only-rootfs
- oeqa/runtime: clean up deprecated backslash expansion
- oeqa/sdk: Improve Meson test
- oeqa/selftest/cases/package.py: adding unittest for package rename conflicts
- oeqa/selftest/cases/runqemu: update imports
- oeqa/selftest/prservice: Improve debug output for failure
- oeqa/selftest/reproducible: Split different packages from missing packages output
- oeqa/selftest: OESelftestTestContext: convert relative to full path when newbuilddir is provided
- oeqa/targetcontrol: do not set dump_host_cmds redundantly
- oeqa/targetcontrol: fix misspelled RuntimeError
- oeqa/targetcontrol: remove unused imports
- oeqa/utils/commands: fix usage of undefined EPIPE
- oeqa/utils/commands: remove unused imports
- oeqa/utils/qemurunner: replace hard-coded user 'root' in debug output
- oeqs/selftest: OESelftestTestContext: replace the os.environ after subprocess.check_output
- package.bbclass: check packages name conflict in do_package
- pango: upgrade to 1.50.13
- piglit: Fix build time dependency
- poky.conf: bump version for 4.1.4
- populate_sdk_base: add zip options
- populate_sdk_ext: Handle spaces within user $PATH
- pybootchart: Fix extents handling to account for cpu/io/mem pressure changes
- pybootchartui: Fix python syntax issue
- report-error: catch Nothing :term:`PROVIDES` error
- rpm: Fix hdr_hash function prototype
- run-postinsts: Set dependency for ldconfig to avoid boot issues
- runqemu: respect :term:`IMAGE_LINK_NAME`
- runqemu: Revert "workaround for APIC hang on pre 4.15 kernels on qemux86q"
- scripts/lib/buildstats: handle top-level build_stats not being complete
- selftest/recipetool: Stop test corrupting tinfoil class
- selftest/runtime_test/virgl: Disable for all Rocky Linux
- selftest: devtool: set :term:`BB_HASHSERVE_UPSTREAM` when setting :term:`SSTATE_MIRRORS`
- selftest: runqemu: better check for ROOTFS: in the log
- selftest: runqemu: use better error message when asserts fail
- shadow: Fix can not print full login timeout message
- staging/multilib: Fix manifest corruption
- staging: Separate out different multiconfig manifests
- sudo: upgrade to 1.9.13p3
- systemd.bbclass: Add /usr/lib/systemd to searchpaths as well
- systemd: add group sgx to udev package
- systemd: fix wrong nobody-group assignment
- timezone: use 'tz' subdir instead of ${WORKDIR} directly
- toolchain-scripts: Handle spaces within user $PATH
- tzcode-native: fix build with gcc-13 on host
- tzdata: upgrade to 2023c
- tzdata: use separate :term:`B` instead of :term:`WORKDIR` for zic output
- u-boot: Map arm64 into map for u-boot dts installation
- uninative: Upgrade to 3.9 to include glibc 2.37
- vala: Fix install conflict when enable multilib.
- vim: add missing pkgconfig inherit
- vim: set modified-by to the recipe :term:`MAINTAINER`
- vim: upgrade to 9.0.1429
- xcb-proto: Fix install conflict when enable multilib.
Known Issues in Yocto-4.1.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.1.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alexander Kanavin
- Andrew Geissler
- Arturo Buzarra
- Bhabu Bindu
- Bruce Ashfield
- Carlos Alberto Lopez Perez
- Chee Yang Lee
- Chris Elledge
- Christoph Lauer
- Dmitry Baryshkov
- Enrico Jörns
- Fawzi KHABER
- Frank de Brabander
- Frederic Martinsons
- Geoffrey GIRY
- Hitendra Prajapati
- Jose Quaresma
- Kenfe-Mickael Laventure
- Khem Raj
- Marek Vasut
- Martin Jansa
- Michael Halstead
- Michael Opdenacker
- Mikko Rapeli
- Ming Liu
- Mingli Yu
- Narpat Mali
- Pavel Zhukov
- Peter Marko
- Piotr Łobacz
- Randy MacLeod
- Richard Purdie
- Robert Yang
- Romuald JEANNE
- Romuald Jeanne
- Ross Burton
- Siddharth
- Siddharth Doshi
- Soumya
- Steve Sakoman
- Sudip Mukherjee
- Tim Orling
- Tobias Hagelborn
- Tom Hochstein
- Trevor Woerner
- Wang Mingyu
- Xiangyu Chen
- Zoltan Boszormenyi
Repositories / Downloads for Yocto-4.1.4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`langdale </poky/log/?h=langdale>`
- Tag: :yocto_git:`yocto-4.1.4 </poky/log/?h=yocto-4.1.4>`
- Git Revision: :yocto_git:`3e95f268ce04b49ba6731fd4bbc53b1693c21963 </poky/commit/?id=3e95f268ce04b49ba6731fd4bbc53b1693c21963>`
- Release Artefact: poky-3e95f268ce04b49ba6731fd4bbc53b1693c21963
- sha: 54798c4b519f5e11f409e1fd074bea1bc0a1b80672aa60dddbac772c8e4d838b
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.4/poky-3e95f268ce04b49ba6731fd4bbc53b1693c21963.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.1.4/poky-3e95f268ce04b49ba6731fd4bbc53b1693c21963.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`langdale </openembedded-core/log/?h=langdale>`
- Tag: :oe_git:`yocto-4.1.4 </openembedded-core/log/?h=yocto-4.1.4>`
- Git Revision: :oe_git:`78211cda40eb018a3aa535c75b61e87337236628 </openembedded-core/commit/?id=78211cda40eb018a3aa535c75b61e87337236628>`
- Release Artefact: oecore-78211cda40eb018a3aa535c75b61e87337236628
- sha: 1303d836bae54c438c64d6b9f068eb91c32be4cc1779e89d0f2d915a55d59b15
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.4/oecore-78211cda40eb018a3aa535c75b61e87337236628.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.1.4/oecore-78211cda40eb018a3aa535c75b61e87337236628.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`langdale </meta-mingw/log/?h=langdale>`
- Tag: :yocto_git:`yocto-4.1.4 </meta-mingw/log/?h=yocto-4.1.4>`
- Git Revision: :yocto_git:`b0067202db8573df3d23d199f82987cebe1bee2c </meta-mingw/commit/?id=b0067202db8573df3d23d199f82987cebe1bee2c>`
- Release Artefact: meta-mingw-b0067202db8573df3d23d199f82987cebe1bee2c
- sha: 704f2940322b81ce774e9cbd27c3cfa843111d497dc7b1eeaa39cd694d9a2366
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.4/meta-mingw-b0067202db8573df3d23d199f82987cebe1bee2c.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.1.4/meta-mingw-b0067202db8573df3d23d199f82987cebe1bee2c.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.2 </bitbake/log/?h=2.2>`
- Tag: :oe_git:`yocto-4.1.4 </bitbake/log/?h=yocto-4.1.4>`
- Git Revision: :oe_git:`5b105e76dd7de3b9a25b17b397f2c12c80048894 </bitbake/commit/?id=5b105e76dd7de3b9a25b17b397f2c12c80048894>`
- Release Artefact: bitbake-5b105e76dd7de3b9a25b17b397f2c12c80048894
- sha: 2cd6448138816f5a906f9927c6b6fdc5cf24981ef32b6402312f52ca490edb4f
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.1.4/bitbake-5b105e76dd7de3b9a25b17b397f2c12c80048894.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.1.4/bitbake-5b105e76dd7de3b9a25b17b397f2c12c80048894.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`langdale </yocto-docs/log/?h=langdale>`
- Tag: :yocto_git:`yocto-4.1.4 </yocto-docs/log/?h=yocto-4.1.4>`
- Git Revision: :yocto_git:`da685fc5e69d49728e3ffd6c4d623e7e1745059d </yocto-docs/commit/?id=da685fc5e69d49728e3ffd6c4d623e7e1745059d>`

View File

@@ -238,20 +238,20 @@ Security Fixes in 4.1
- grub2: :cve:`2021-3695`, :cve:`2021-3696`, :cve:`2021-3697`, :cve:`2022-28733`, :cve:`2022-28734`, :cve:`2022-28735`
- inetutils: :cve:`2022-39028`
- libtirpc: :cve:`2021-46828`
- libxml2: :cve:`2016-3709 (ignored)`
- libxslt: :cve:`2022-29824 (not applicable)`
- libxml2: :cve:`2016-3709` (ignored)
- libxslt: :cve:`2022-29824` (not applicable)
- linux-yocto/5.15: :cve:`2022-28796`
- logrotate: :cve:`2022-1348`
- lua: :cve:`2022-33099`
- nasm: :cve:`2020-18974 (ignored)`
- nasm: :cve:`2020-18974` (ignored)
- ncurses: :cve:`2022-29458`
- openssl: :cve:`2022-1292`, :cve:`2022-1343`, :cve:`2022-1434`, :cve:`2022-1473`, :cve:`2022-2068`, :cve:`2022-2274`, :cve:`2022-2097`
- python3: :cve:`2015-20107 (ignored)`
- qemu: :cve:`2021-20255 (ignored)`, :cve:`2019-12067 (ignored)`, :cve:`2021-3507`, :cve:`2022-0216`, :cve:`2022-2962`, :cve:`2022-35414`
- python3: :cve:`2015-20107` (ignored)
- qemu: :cve:`2021-20255` (ignored), :cve:`2019-12067` (ignored), :cve:`2021-3507`, :cve:`2022-0216`, :cve:`2022-2962`, :cve:`2022-35414`
- rpm: :cve:`2021-35937`, :cve:`2021-35938`, :cve:`2021-35939`
- rsync: :cve:`2022-29154`
- subversion: :cve:`2021-28544`, :cve:`2022-24070`
- tiff: :cve:`2022-1210 (not applicable)`, :cve:`2022-1622`, :cve:`2022-1623 (invalid)`, :cve:`2022-2056`, :cve:`2022-2057`, :cve:`2022-2058`, :cve:`2022-2953`, :cve:`2022-34526`
- tiff: :cve:`2022-1210` (not applicable), :cve:`2022-1622`, :cve:`2022-1623` (invalid), :cve:`2022-2056`, :cve:`2022-2057`, :cve:`2022-2058`, :cve:`2022-2953`, :cve:`2022-34526`
- unzip: :cve:`2022-0529`, :cve:`2022-0530`
- vim: :cve:`2022-1381`, :cve:`2022-1420`, :cve:`2022-1621`, :cve:`2022-1629`, :cve:`2022-1674`, :cve:`2022-1733`, :cve:`2022-1735`, :cve:`2022-1769`, :cve:`2022-1771`, :cve:`2022-1785`, :cve:`2022-1796`, :cve:`2022-1927`, :cve:`2022-1942`, :cve:`2022-2257`, :cve:`2022-2264`, :cve:`2022-2284`, :cve:`2022-2285`, :cve:`2022-2286`, :cve:`2022-2287`, :cve:`2022-2816`, :cve:`2022-2817`, :cve:`2022-2819`, :cve:`2022-2845`, :cve:`2022-2849`, :cve:`2022-2862`, :cve:`2022-2874`, :cve:`2022-2889`, :cve:`2022-2980`, :cve:`2022-2946`, :cve:`2022-2982`, :cve:`2022-3099`, :cve:`2022-3134`, :cve:`2022-3234`, :cve:`2022-3278`
- zlib: :cve:`2022-37434`

View File

@@ -0,0 +1,206 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.2.1 (Mickledore)
------------------------------------------
Security Fixes in Yocto-4.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- connman: Fix :cve:`2023-28488`
- linux-yocto: Ignore :cve:`2023-1652` and :cve:`2023-1829`
- ghostscript: Fix :cve:`2023-28879`
- qemu: Ignore :cve:`2023-0664`
- ruby: Fix :cve:`2022-28738` and :cve:`2022-28739`
- tiff: Fix :cve:`2022-4645`
- xwayland: Fix :cve:`2023-1393`
Fixes in Yocto-4.2.1
~~~~~~~~~~~~~~~~~~~~
- apr: upgrade to 1.7.3
- bind: upgrade to 9.18.13
- build-appliance-image: Update to mickledore head revision
- cargo: Fix build on musl/riscv
- cpio: fix appending to archives larger than 2GB
- cracklib: upgrade to 2.9.11
- cve-update-nvd2-native: added the missing http import
- dev-manual: init-manager.rst: add summary
- dhcpcd: use git instead of tarballs
- docs: add support for mickledore (4.2) release
- gawk: Add skipped.txt to emit test to ignore
- gawk: Disable known ptest fails on musl
- gawk: Remove redundant patch
- glib-networking: Add test retry to avoid failures
- glib-networking: Correct glib error handling in test patch
- gtk4: upgrade to 4.10.3
- kernel-devsrc: depend on python3-core instead of python3
- kernel-fitimage: Fix the default dtb config check
- kernel: improve initramfs bundle processing time
- libarchive: Enable acls, xattr for native as well as target
- libhandy: upgrade to 1.8.2
- libnotify: remove dependency dbus
- libpam: Fix the xtests/tst-pam_motd[1|3] failures
- libpcap: upgrade to 1.10.4
- libsdl2: upgrade to 2.26.5
- libxml2: Disable icu tests on musl
- license.bbclass: Include :term:`LICENSE` in the output when it fails to parse
- linux-firmware: upgrade to 20230404
- machine/qemuarm*: don't explicitly set vmalloc
- maintainers.inc: Fix email address typo
- maintainers.inc: Move repo to unassigned
- man-pages: upgrade to 6.04
- manuals: document :term:`SPDX_CUSTOM_ANNOTATION_VARS`
- manuals: expand init manager documentation
- mesa: upgrade to 23.0.3
- migration-guides: add release-notes for 4.1.4
- migration-guides: fixes and improvements to 4.2 release notes
- migration-guides: release-notes-4.0.9.rst: add missing :term:`SPDX` info
- migration-guides: release-notes-4.2: add doc improvement highlights
- mpg123: upgrade to 1.31.3
- mtools: upgrade to 4.0.43
- oeqa/utils/metadata.py: Fix running oe-selftest running with no distro set
- overview-manual: development-environment: update text and screenshots
- overview-manual: update section about source archives
- package_manager/ipk: fix config path generation in _create_custom_config()
- pango: upgrade to 1.50.14
- perl: patch out build paths from native binaries
- poky.conf: bump version for 4.2.1 release
- populate_sdk_ext.bbclass: redirect stderr to stdout so that both end in LOGFILE
- populate_sdk_ext.bbclass: set :term:`METADATA_REVISION` with an :term:`DISTRO` override
- python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting
- qemu: Add fix for powerpc instruction fallback issue
- qemu: Update ppc instruction fix to match revised upstream version
- quilt: Fix merge.test race condition
- recipes: Default to https git protocol where possible
- ref-manual: add "Mixin" term
- ref-manual: classes.rst: document devicetree.bbclass
- ref-manual: classes: kernel: document automatic defconfig usage
- ref-manual: classes: kernel: remove incorrect sentence opening
- ref-manual: remove unused and obsolete file
- ref-manual: system-requirements.rst: fix AlmaLinux variable name
- ref-manual: variables.rst: add wikipedia shortcut for "getty"
- ref-manual: variables.rst: document :term:`KERNEL_DANGLING_FEATURES_WARN_ONLY`
- ref-manual: variables.rst: don't mention the :term:`INIT_MANAGER` "none" option
- release-notes-4.2: remove/merge duplicates entries
- release-notes-4.2: update RC3 changes
- release-notes-4.2: update known issues and Repositories/Downloads
- releases.svg: fix and explain duration of Hardknott 3.3
- ruby: upgrade to 3.2.2
- rust: upgrade to 1.68.2
- selftest/distrodata: clean up exception lists in recipe maintainers test
- systemd-systemctl: fix instance template WantedBy symlink construction
- texinfo: upgrade to 7.0.3
- unfs3: fix symlink time setting issue
- update-alternatives.bbclass: fix old override syntax
- vala: upgrade to 0.56.6
- waffle: upgrade to 1.7.2
- weston: add xwayland to :term:`DEPENDS` for :term:`PACKAGECONFIG` xwayland
- wpebackend-fdo: upgrade to 1.14.2
- xserver-xorg: upgrade to 21.1.8
- xwayland: upgrade to 23.1.1
Known Issues in Yocto-4.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alex Kiernan
- Alexander Kanavin
- Arslan Ahmad
- Bruce Ashfield
- Chen Qi
- Dmitry Baryshkov
- Enrico Jörns
- Jan Vermaete
- Joe Slater
- Johannes Schrimpf
- Kai Kang
- Khem Raj
- Kyle Russell
- Lee Chee Yang
- Luca Ceresoli
- Markus Volk
- Martin Jansa
- Martin Siegumfeldt
- Michael Halstead
- Michael Opdenacker
- Ming Liu
- Otavio Salvador
- Pawan Badganchi
- Peter Bergin
- Peter Kjellerstedt
- Piotr Łobacz
- Richard Purdie
- Ross Burton
- Steve Sakoman
- Thomas Roos
- Virendra Thakur
- Wang Mingyu
- Yoann Congal
- Zhixiong Chi
Repositories / Downloads for Yocto-4.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`mickledore </poky/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2.1 </poky/log/?h=yocto-4.2.1>`
- Git Revision: :yocto_git:`c5c69f78fc7ce4ba361363c14352e4264ce7813f </poky/commit/?id=c5c69f78fc7ce4ba361363c14352e4264ce7813f>`
- Release Artefact: poky-c5c69f78fc7ce4ba361363c14352e4264ce7813f
- sha: 057d7771dceebb949a79359d7d028a733a29ae7ecd98b60fefcff83fecb22eb7
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.1/poky-c5c69f78fc7ce4ba361363c14352e4264ce7813f.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.1/poky-c5c69f78fc7ce4ba361363c14352e4264ce7813f.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`mickledore </openembedded-core/log/?h=mickledore>`
- Tag: :oe_git:`yocto-4.2.1 </openembedded-core/log/?h=yocto-4.2.1>`
- Git Revision: :oe_git:`20cd64812d286c920bd766145ab1cd968e72667e </openembedded-core/commit/?id=20cd64812d286c920bd766145ab1cd968e72667e>`
- Release Artefact: oecore-20cd64812d286c920bd766145ab1cd968e72667e
- sha: 877fb909af7aa51e1c962d33cfe91ba3e075c384716006aa1345b4bcb15a48ef
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.1/oecore-20cd64812d286c920bd766145ab1cd968e72667e.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.1/oecore-20cd64812d286c920bd766145ab1cd968e72667e.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`mickledore </meta-mingw/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2.1 </meta-mingw/log/?h=yocto-4.2.1>`
- Git Revision: :yocto_git:`cc9fd0a988dc1041035a6a6cafb2d1237ef38d8e </meta-mingw/commit/?id=cc9fd0a988dc1041035a6a6cafb2d1237ef38d8e>`
- Release Artefact: meta-mingw-cc9fd0a988dc1041035a6a6cafb2d1237ef38d8e
- sha: 69ccc3ee503b5c35602889e85d28df64a5422ad0f1e55c96c94135b837bb4a1c
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.1/meta-mingw-cc9fd0a988dc1041035a6a6cafb2d1237ef38d8e.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.1/meta-mingw-cc9fd0a988dc1041035a6a6cafb2d1237ef38d8e.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.4 </bitbake/log/?h=2.4>`
- Tag: :oe_git:`yocto-4.2.1 </bitbake/log/?h=yocto-4.2.1>`
- Git Revision: :oe_git:`d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c </bitbake/commit/?id=d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c>`
- Release Artefact: bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c
- sha: 5edcb97cb545011226b778355bb840ebcc790552d4a885a0d83178153697ba7a
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2.1/bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2.1/bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`mickledore </yocto-docs/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2.1 </yocto-docs/log/?h=yocto-4.2.1>`
- Git Revision: :yocto_git:`6b04269bba72311e83139cc88b7a3539a5d832e8 </yocto-docs/commit/?id=6b04269bba72311e83139cc88b7a3539a5d832e8>`

View File

@@ -6,23 +6,979 @@ Release notes for 4.2 (mickledore)
New Features / Enhancements in 4.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Python 3.8 is the minimum Python version required on the build host.
For host distributions that do not provide it, this is included as part of the
:term:`buildtools` tarball.
- Linux kernel 6.1, glibc 2.37 and ~350 other recipe upgrades
- This release now supports a new ``addpylib`` directive to enable
Python libraries within layers.
- Python 3.8+ and GCC 8.0+ are now the minimum required versions on the build host.
For host distributions that do not provide it, this is included as part of the
:term:`buildtools` tarball.
This directive should be added to your layer configuration,
as in the below example from ``meta/conf/layer.conf``::
- BitBake in this release now supports a new ``addpylib`` directive to enable
Python libraries within layers. For more information,
see :ref:`bitbake-user-manual/bitbake-user-manual-metadata:extending python library code`.
addpylib ${LAYERDIR}/lib oe
This directive should be added to your layer configuration
as in the below example from ``meta/conf/layer.conf``::
addpylib ${LAYERDIR}/lib oe
- BitBake has seen multiple internal changes that may improve
memory and disk usage as well as parsing time, in particular:
- BitBake's Cooker server is now multithreaded.
- Ctrl+C can now be used to interrupt some long-running operations
that previously ignored it.
- BitBake's cache has been extended to include more hash
debugging data, but has also been optimized to :yocto_git:`compress
cache data <https://git.yoctoproject.org/poky/commit/?h=mickledore&id=7d010055e2af3294e17db862f42664ca689a9356>`.
- BitBake's UI will now ping the server regularly to ensure
it is still alive.
- New variables:
- :term:`VOLATILE_TMP_DIR` allows to specify
whether ``/tmp`` should be on persistent storage
or in RAM.
- :term:`SPDX_CUSTOM_ANNOTATION_VARS` allows to add
specific comments to the :term:`SPDX` description of a recipe.
- Rust improvements:
- This release adds Cargo support on the target, and includes
automated QA tests for this functionality.
- It also supports checksums for Rust crates and makes
them mandatory for each crate in a recipe.
- New :ref:`ref-classes-cargo-update-recipe-crates` class to
enable updating :term:`SRC_URI` crate lists from ``Cargo.lock``
- Enabled building Rust for baremetal targets
- You can now also easily select to build beta or nightly
versions of Rust with a new :term:`RUST_CHANNEL` variable
(use at own risk)
- Support for local GitHub repos in :term:`SRC_URI` as
replacements for Cargo dependencies
- Use built-in Rust targets for ``-native`` builds to save several
minutes building the Rust toolchain
- Architecture-specific enhancements:
- This release adds initial support for the
:wikipedia:`LoongArch <Loongson#LoongArch>`
(``loongarch64``) architecture, though there is no testing for it yet.
- New ``x86-64-v3`` tunes (AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE)
- go: add support to build on ppc64le
- rust: rustfmt now working and installed for riscv32
- libpng: enable NEON for aarch64 to ensure consistency with arm32.
- baremetal-helloworld: Enable x86 and x86-64 ports
- Kernel-related enhancements:
- Added some support for building 6.2/6.3-rc kernels
- linux-yocto-dev: mark as compatible with qemuarm64 and qemuarmv5
- Add kernel specific OBJCOPY to help switching toolchains cleanly for kernel build between gcc and clang
- New core recipes:
- ``debugedit``
- ``gtk4`` (import from meta-gnome)
- ``gcr``: add recipe for gcr-4
- ``graphene`` (import from meta-oe)
- ``libc-test``
- ``libportal`` (import from meta-gnome)
- ``libslirp``
- ``libtest-fatal-perl``
- ``libtest-warnings-perl`` (import from meta-perl)
- ``libtry-tiny-perl``
- ``python3-build``
- ``python3-pyproject-hooks``
- ``python3-hatch-fancy-pypi-readme``
- ``python3-unittest-automake``
- QEMU/runqemu enhancements:
- Set ``QB_SMP`` with ?= to make it easier to modify
- Set ``QB_CPU`` with ?= to make it easier to modify (x86 configuration only)
- New ``QB_NFSROOTFS_EXTRA_OPT`` to allow extra options to be appended to the NFS rootfs options in kernel boot args, e.g. ``"wsize=4096,rsize=4096"``
- New ``QB_SETUP_CMD`` and ``QB_CLEANUP_CMD`` to enable running custom shell setup and cleanup commands before and after QEMU.
- ``QB_DEFAULT_KERNEL`` now defaults to pick the bundled initramfs kernel image if the Linux kernel image is generated with :term:`INITRAMFS_IMAGE_BUNDLE` set to "1"
- Split out the QEMU guest agent to its own ``qemu-guest-agent`` package
- runqemu: new ``guestagent`` option to enable communication with the guest agent
- runqemu: respect :term:`IMAGE_LINK_NAME` when searching for image
- Image-related enhancements:
- Add 7-Zip support in image conversion types (``7zip``)
- New :term:`IMAGE_MACHINE_SUFFIX` variable to allow easily removing machine name suffix from image file names
- wic Image Creator enhancements:
- ``bootimg-efi.py``: add support for directly loading Linux kernel UEFI stub
- ``bootimg-efi.py``: implement ``--include-path``
- Allow usage of ``fstype=none`` to specify an unformatted partition
- Implement repeatable disk identifiers based on :term:`SOURCE_DATE_EPOCH`
- FIT image related improvements:
- FIT image signing support has been reworked to remove interdependencies and make it more easily extensible
- Skip FDT section creation for applicable symlinks to avoid the same dtb being duplicated
- New :term:`FIT_CONF_DEFAULT_DTB` variable to enable selecting default dtb when multiple dtbs exist
- SDK-related improvements:
- Extended the following recipes to nativesdk:
- ``bc``
- ``gi-docgen``
- ``gperf``
- ``python3-iniconfig``
- ``python3-atomicwrites``
- ``python3-markdown``
- ``python3-smartypants``
- ``python3-typogrify``
- ``ruby``
- ``unifdef``
- New :term:`SDK_ZIP_OPTIONS` variable to enable passing additional options to the zip command when preparing the SDK zip archive
- New Rust SDK target packagegroup (``packagegroup-rust-sdk-target``)
- Testing:
- The ptest images have changed structure in this release. The
underlying ``core-image-ptest`` recipe now uses :term:`BBCLASSEXTEND` to
create a variant for each ptest enabled recipe in OE-Core.
For example, this means that ``core-image-ptest-bzip2``,
``core-image-ptest-lttng-tools`` and many more image targets now exist
and can be built/tested individually.
The ``core-image-ptest-all`` and ``core-image-ptest-fast`` targets are now
wrappers that target groups of individual images and means that the tests
can be executed in parallel during our automated testing. This also means
the dependencies are more accurately tested.
- It is now possible to track regression changes between releases using
:oe_git:`yocto_testresults_query.py </openembedded-core/tree/scripts/yocto_testresults_query.py>`,
which is a thin wrapper over :oe_git:`resulttool
</openembedded-core/tree/scripts/resulttool>`. Here is an example
command, which allowed to spot and fix a regression in the
``quilt`` ptest::
yocto_testresults_query.py regression-report 4.2_M1 4.2_M2
See this `blog post about regression detection
<https://bootlin.com/blog/continuous-integration-in-yocto-improving-the-regressions-detection/>`__.
- This release adds support for parallel ptest execution with a ptest per image.
This takes ptest execution time from 3.5 hours to around 45 minutes on the autobuilder.
- Basic Rust compile/run and cargo tests
- New ``python3-unittest-automake`` recipe which provides modules for pytest
and unittest to adjust their output to automake-style for easier integration
with the ptest system.
- ptest support added to ``bc``, ``cpio`` and ``gnutls``, and fixes made to
ptests in numerous other recipes.
- ``ptest-runner`` now adds a non-root "ptest" user to run tests.
- ``resulttool``: add a ``--list-ptest`` option to the log subcommand to list ptest names
in a results file
- ``resulttool``: regression: add metadata filtering for oeselftest
- New :term:`PACKAGECONFIG` options in the following recipes:
- ``at-spi2-core``
- ``base-passwd``
- ``cronie``
- ``cups``
- ``curl``
- ``file``
- ``gstreamer1.0-plugins-good``
- ``gtk+3``
- ``iproute2``
- ``libsdl2``
- ``libtiff``
- ``llvm``
- ``mesa``
- ``psmisc``
- ``qemu``
- ``sudo``
- ``systemd``
- ``tiff``
- ``util-linux``
- Extended the following recipes to native:
- ``iso-codes``
- ``libxkbcommon``
- ``p11-kit``
- ``python3-atomicwrites``
- ``python3-dbusmock``
- ``python3-iniconfig``
- ``xkeyboard-config``
- Utility script changes:
- ``devtool``: ignore patch-fuzz errors when extracting source in order to enable fixing fuzz issues
- ``oe-setup-layers``: make efficiently idempotent
- ``oe-setup-layers``: print a note about submodules if present
- New ``buildstats-summary`` script to show a summary of the buildstats data
- :ref:`ref-classes-report-error` class: catch ``Nothing PROVIDES`` error
- ``combo-layer``: add ``sync-revs`` command
- ``convert-overrides``: allow command-line customizations
- bitbake-layers improvements:
- ``layerindex-fetch``: checkout layer(s) branch when clone exists
- ``create``: add ``-a``/``--add-layer option`` to add layer to ``bblayers.conf`` after creating layer
- ``show-layers``: improve output layout
- Other BitBake improvements:
- Inline Python snippets can now include dictionary expressions
- Evaluate the value of export/unexport/network flags so that they can be reset to "0"
- Make :term:`EXCLUDE_FROM_WORLD` boolean so that it can be reset to "0"
- Support int values in ``bb.utils.to_boolean()`` in addition to strings
- ``bitbake-getvar``: Add a ``quiet`` command line argument
- Allow the ``@`` character in variable flag names
- Python library code will now be included when calculating task hashes
- ``fetch2/npmsw``: add more short forms for git operations
- Display a warning when ``SRCREV = "${AUTOREV}"`` is set too late to be effective
- Display all missing :term:`SRC_URI` checksums at once
- Improve error message for a missing multiconfig
- Switch to a new :term:`BB_CACHEDIR` variable for codeparser cache location
- Mechanism introduced to reduce the codeparser cache unnecessarily growing in size
- Packaging changes:
- ``rng-tools`` is no longer recommended by ``openssh``, and the ``rng-tools``
service files have been split out to their own package
- ``linux-firmware``: split ``rtl8761`` and ``amdgpu`` firmware
- ``linux-firmware``: add new firmware file to ``${PN}-qcom-adreno-a530``
- ``iproute2``: separate ``routel`` and add Python dependency
- ``xinetd``: move ``xconv.pl`` script to separate package
- ``perf``: enable debug/source packaging
- Prominent documentation updates:
- Substantially expanded the ":doc:`/dev-manual/vulnerabilities`" section.
- Added a new ":doc:`/dev-manual/sbom`" section about SPDX SBoM generation.
- Expanded ":ref:`init-manager`" documentation.
- New section about :ref:`ref-long-term-support-releases`.
- System Requirements: details about :ref:`system-requirements-minimum-ram`.
- Details about :ref:`ref-building-meson-package` and the
:ref:`ref-classes-meson` class.
- Documentation about how to write recipes for Rust programs. See the
:ref:`ref-classes-cargo` class.
- Documentation about how to write recipes for Go programs. See the
:ref:`ref-classes-go` class.
- Variable index: added references to variables only documented in the
BitBake manual. All variables should be easy to access through the Yocto
Manual variable index.
- Expanded the description of the :term:`BB_NUMBER_THREADS` variable.
- Miscellaneous changes:
- Supporting 64 bit dates on 32 bit platforms: several packages have been
updated to pass year 2038 tests, and a QA check for 32 bit time and file
offset functions has been added (default off)
- Patch fuzz/Upstream-Status checking has been reworked:
- Upstream-Status checking is now configurable from :term:`WARN_QA`/:term:`ERROR_QA` (``patch-status-core``)
- Can now be enabled for non-core layers (``patch-status-noncore``)
- ``patch-fuzz`` is now in :term:`ERROR_QA` by default, and actually stops the build
- Many packages were updated to add large file support.
- ``vulkan-loader``: allow headless targets to build the loader
- ``dhcpcd``: fix to work with systemd
- ``u-boot``: add /boot to :term:`SYSROOT_DIRS` to allow boot files to be used by other recipes
- ``linux-firmware``: don't put the firmware into the sysroot
- ``cups``: add :term:`PACKAGECONFIG` to control web interface and default to off
- ``buildtools-tarball``: export certificates to python and curl
- ``yocto-check-layer``: allow OE-Core to be tested
- ``yocto-check-layer``: check for patch file upstream status
- ``boost``: enable building ``Boost.URL`` library
- ``native``: drop special variable handling
- Poky: make it easier to set :term:`INIT_MANAGER` from local.conf
- :ref:`ref-classes-create-spdx`: add support for custom annotations (:term:`SPDX_CUSTOM_ANNOTATION_VARS`)
- :ref:`ref-classes-create-spdx`: report downloads as separate packages
- :ref:`ref-classes-create-spdx`: remove the top-level image SPDX file and the JSON index file from :term:`DEPLOYDIR` to avoid confusion
- ``os-release``: replace ``DISTRO_CODENAME`` with ``VERSION_CODENAME`` (still set from :term:`DISTRO_CODENAME`)
- ``weston``: add kiosk shell
- :ref:`ref-classes-overlayfs`: Allow unused mount points
- ``sstatesig``: emit more helpful error message when not finding sstate manifest
- :ref:`ref-classes-pypi`.bbclass: Set :term:`SRC_URI` downloadfilename with an optional prefix
- ``poky-bleeding`` distro: update and rework
- :ref:`package.bbclass <ref-classes-package>`: check if package names conflict via ``PKG:${PN}`` override in :ref:`do_package <ref-tasks-package>`
- ``cve-update-nvd2-native``: new NVD CVE database fetcher using the 2.0 API
- :ref:`ref-classes-mirrors` class: use shallow tarball for ``binutils-native``/``nativesdk-binutils``
- ``meta/conf``: move default configuration templates into ``meta/conf/templates/default``
- ``binutils``: enable ``--enable-new-dtags`` as per many Linux distributions
- ``base-files``: drop ``localhost.localdomain`` from hosts file as per many Linux distributions
- ``packagegroup-core-boot``: make ``init-ifupdown`` package a recommendation
Known Issues in 4.2
~~~~~~~~~~~~~~~~~~~
- N/A
Recipe License changes in 4.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following corrections have been made to the :term:`LICENSE` values set by recipes:
- ``curl``: set :term:`LICENSE` appropriately to ``curl`` as it is a special derivative of the MIT/X license, not exactly that license.
- ``libgit2``: added ``Zlib``, ``ISC``, ``LGPL-2.1-or-later`` and ``CC0-1.0`` to :term:`LICENSE` covering portions of the included code.
- ``linux-firmware``: set package :term:`LICENSE` appropriately for all qcom packages
Security Fixes in 4.2
~~~~~~~~~~~~~~~~~~~~~
- binutils: :cve:`2022-4285`, :cve_mitre:`2023-25586`
- curl: :cve:`2022-32221`, :cve:`2022-35260`, :cve:`2022-42915`, :cve:`2022-42916`
- epiphany: :cve:`2023-26081`
- expat: :cve:`2022-43680`
- ffmpeg: :cve:`2022-3964`, :cve:`2022-3965`
- git: :cve:`2022-39260`, :cve:`2022-41903`, :cve:`2022-23521`, :cve:`2022-41953` (ignored)
- glibc: :cve:`2023-25139` (ignored)
- go: :cve:`2023-24532`, :cve:`2023-24537`
- grub2: :cve:`2022-2601`, :cve:`2022-3775`, :cve_mitre:`2022-28736`
- inetutils: :cve:`2019-0053`
- less: :cve:`2022-46663`
- libarchive: :cve:`2022-36227`
- libinput: :cve:`2022-1215`
- libpam: :cve:`2022-28321`
- libpng: :cve:`2019-6129`
- libx11: :cve:`2022-3554`
- openssh: :cve:`2023-28531`
- openssl: :cve:`2022-3358`, :cve:`2022-3786`, :cve:`2022-3602`, :cve:`2022-3996`, :cve:`2023-0286`, :cve:`2022-4304`, :cve:`2022-4203`, :cve:`2023-0215`, :cve:`2022-4450`, :cve:`2023-0216`, :cve:`2023-0217`, :cve:`2023-0401`, :cve:`2023-0464`
- ppp: :cve:`2022-4603`
- python3-cryptography{-vectors}: :cve:`2022-3602`, :cve:`2022-3786`, :cve:`2023-23931`
- python3: :cve_mitre:`2022-37460`
- qemu: :cve:`2022-3165`
- rust: :cve:`2022-46176`
- rxvt-unicode: :cve:`2022-4170`
- screen: :cve:`2023-24626`
- shadow: :cve:`2023-29383`, :cve:`2016-15024` (ignored)
- sudo: :cve:`2022-43995`
- systemd: :cve:`2022-4415` (ignored)
- tar: :cve:`2022-48303`
- tiff: :cve:`2022-3599`, :cve:`2022-3597`, :cve:`2022-3626`, :cve:`2022-3627`, :cve:`2022-3570`, :cve:`2022-3598`, :cve:`2022-3970`, :cve:`2022-48281`
- vim: :cve:`2022-3352`, :cve:`2022-4141`, :cve:`2023-0049`, :cve:`2023-0051`, :cve:`2023-0054`, :cve:`2023-0288`, :cve:`2023-1127`, :cve:`2023-1170`, :cve:`2023-1175`, :cve:`2023-1127`, :cve:`2023-1170`, :cve:`2023-1175`, :cve:`2023-1264`, :cve:`2023-1355`, :cve:`2023-0433`, :cve:`2022-47024`, :cve:`2022-3705`
- xdg-utils: :cve:`2022-4055`
- xserver-xorg: :cve:`2022-3550`, :cve:`2022-3551`, :cve:`2023-1393`, :cve:`2023-0494`, :cve:`2022-3553` (ignored)
Recipe Upgrades in 4.2
~~~~~~~~~~~~~~~~~~~~~~
- acpid: upgrade 2.0.33 -> 2.0.34
- adwaita-icon-theme: update 42.0 -> 43
- alsa-lib: upgrade 1.2.7.2 -> 1.2.8
- alsa-ucm-conf: upgrade 1.2.7.2 -> 1.2.8
- alsa-utils: upgrade 1.2.7 -> 1.2.8
- apr: update 1.7.0 -> 1.7.2
- apr-util: update 1.6.1 -> 1.6.3
- argp-standalone: replace with a maintained fork
- at-spi2-core: upgrade 2.44.1 -> 2.46.0
- autoconf-archive: upgrade 2022.09.03 -> 2023.02.20
- babeltrace: upgrade 1.5.8 -> 1.5.11
- base-passwd: Update to 3.6.1
- bash: update 5.1.16 -> 5.2.15
- bind: upgrade 9.18.7 -> 9.18.12
- binutils: Upgrade to 2.40 release
- bluez: update 5.65 -> 5.66
- boost-build-native: update 1.80.0 -> 1.81.0
- boost: upgrade 1.80.0 -> 1.81.0
- btrfs-tools: upgrade 5.19.1 -> 6.1.3
- busybox: 1.35.0 -> 1.36.0
- ccache: upgrade 4.6.3 -> 4.7.4
- cmake: update 3.24.0 -> 3.25.2
- cracklib: upgrade to v2.9.10
- curl: upgrade 7.86.0 -> 8.0.1
- dbus: upgrade 1.14.0 -> 1.14.6
- diffoscope: upgrade 221 -> 236
- diffstat: upgrade 1.64 -> 1.65
- diffutils: update 3.8 -> 3.9
- dos2unix: upgrade 7.4.3 -> 7.4.4
- dpkg: update 1.21.9 -> 1.21.21
- dropbear: upgrade 2022.82 -> 2022.83
- dtc: upgrade 1.6.1 -> 1.7.0
- e2fsprogs: upgrade 1.46.5 -> 1.47.0
- ed: upgrade 1.18 -> 1.19
- elfutils: update 0.187 -> 0.188
- ell: upgrade 0.53 -> 0.56
- enchant2: upgrade 2.3.3 -> 2.3.4
- encodings: update 1.0.6 -> 1.0.7
- epiphany: update 42.4 -> 43.1
- ethtool: upgrade 5.19 -> 6.2
- expat: upgrade to 2.5.0
- ffmpeg: upgrade 5.1.1 -> 5.1.2
- file: upgrade 5.43 -> 5.44
- flac: update 1.4.0 -> 1.4.2
- font-alias: update 1.0.4 -> 1.0.5
- fontconfig: upgrade 2.14.0 -> 2.14.2
- font-util: upgrade 1.3.3 -> 1.4.0
- freetype: update 2.12.1 -> 2.13.0
- gawk: update 5.1.1 -> 5.2.1
- gcr3: update 3.40.0 -> 3.41.1
- gcr: rename gcr -> gcr3
- gdb: Upgrade to 13.1
- gdk-pixbuf: upgrade 2.42.9 -> 2.42.10
- gettext: update 0.21 -> 0.21.1
- ghostscript: update 9.56.1 -> 10.0.0
- gi-docgen: upgrade 2022.1 -> 2023.1
- git: upgrade 2.37.3 -> 2.39.2
- glib-2.0: update 2.72.3 -> 2.74.6
- glibc: upgrade to 2.37 release + stable updates
- glib-networking: update 2.72.2 -> 2.74.0
- glslang: upgrade 1.3.236.0 -> 1.3.239.0
- gnu-config: upgrade to latest revision
- gnupg: upgrade 2.3.7 -> 2.4.0
- gnutls: upgrade 3.7.7 -> 3.8.0
- gobject-introspection: upgrade 1.72.0 -> 1.74.0
- go: update 1.19 -> 1.20.1
- grep: update 3.7 -> 3.10
- gsettings-desktop-schemas: upgrade 42.0 -> 43.0
- gstreamer1.0: upgrade 1.20.3 -> 1.22.0
- gtk+3: upgrade 3.24.34 -> 3.24.36
- gtk4: update 4.8.2 -> 4.10.0
- harfbuzz: upgrade 5.1.0 -> 7.1.0
- hdparm: update 9.64 -> 9.65
- help2man: upgrade 1.49.2 -> 1.49.3
- icu: update 71.1 -> 72-1
- ifupdown: upgrade 0.8.37 -> 0.8.41
- igt-gpu-tools: upgrade 1.26 -> 1.27.1
- inetutils: upgrade 2.3 -> 2.4
- init-system-helpers: upgrade 1.64 -> 1.65.2
- iproute2: upgrade 5.19.0 -> 6.2.0
- iptables: update 1.8.8 -> 1.8.9
- iputils: update to 20221126
- iso-codes: upgrade 4.11.0 -> 4.13.0
- jquery: upgrade 3.6.0 -> 3.6.3
- kexec-tools: upgrade 2.0.25 -> 2.0.26
- kmscube: upgrade to latest revision
- libarchive: upgrade 3.6.1 -> 3.6.2
- libbsd: upgrade 0.11.6 -> 0.11.7
- libcap: upgrade 2.65 -> 2.67
- libdnf: update 0.69.0 -> 0.70.0
- libdrm: upgrade 2.4.113 -> 2.4.115
- libedit: upgrade 20210910-3.1 -> 20221030-3.1
- libepoxy: update 1.5.9 -> 1.5.10
- libffi: upgrade 3.4.2 -> 3.4.4
- libfontenc: upgrade 1.1.6 -> 1.1.7
- libgit2: upgrade 1.5.0 -> 1.6.3
- libgpg-error: update 1.45 -> 1.46
- libhandy: update 1.6.3 -> 1.8.1
- libical: upgrade 3.0.14 -> 3.0.16
- libice: update 1.0.10 -> 1.1.1
- libidn2: upgrade 2.3.3 -> 2.3.4
- libinput: upgrade 1.19.4 -> 1.22.1
- libjpeg-turbo: upgrade 2.1.4 -> 2.1.5.1
- libksba: upgrade 1.6.0 -> 1.6.3
- libmicrohttpd: upgrade 0.9.75 -> 0.9.76
- libmodule-build-perl: update 0.4231 -> 0.4232
- libmpc: upgrade 1.2.1 -> 1.3.1
- libnewt: update 0.52.21 -> 0.52.23
- libnotify: upgrade 0.8.1 -> 0.8.2
- libpcap: upgrade 1.10.1 -> 1.10.3
- libpciaccess: update 0.16 -> 0.17
- libpcre2: upgrade 10.40 -> 10.42
- libpipeline: upgrade 1.5.6 -> 1.5.7
- libpng: upgrade 1.6.38 -> 1.6.39
- libpsl: upgrade 0.21.1 -> 0.21.2
- librepo: upgrade 1.14.5 -> 1.15.1
- libsdl2: upgrade 2.24.1 -> 2.26.3
- libsm: 1.2.3 > 1.2.4
- libsndfile1: upgrade 1.1.0 -> 1.2.0
- libsolv: upgrade 0.7.22 -> 0.7.23
- libsoup-2.4: upgrade 2.74.2 -> 2.74.3
- libsoup: upgrade 3.0.7 -> 3.2.2
- libtest-fatal-perl: upgrade 0.016 -> 0.017
- libtest-needs-perl: upgrade 0.002009 -> 0.002010
- libunistring: upgrade 1.0 -> 1.1
- liburcu: upgrade 0.13.2 -> 0.14.0
- liburi-perl: upgrade 5.08 -> 5.17
- libva: upgrade 2.15.0 -> 2.16.0
- libva-utils: upgrade 2.15.0 -> 2.17.1
- libwebp: upgrade 1.2.4 -> 1.3.0
- libwpe: upgrade 1.12.3 -> 1.14.1
- libx11: 1.8.1 -> 1.8.4
- libx11-compose-data: 1.6.8 -> 1.8.4
- libxau: upgrade 1.0.10 -> 1.0.11
- libxcomposite: update 0.4.5 -> 0.4.6
- libxcrypt-compat: upgrade 4.4.30 -> 4.4.33
- libxcrypt: upgrade 4.4.28 -> 4.4.30
- libxdamage: update 1.1.5 -> 1.1.6
- libxdmcp: update 1.1.3 -> 1.1.4
- libxext: update 1.3.4 -> 1.3.5
- libxft: update 2.3.4 -> 2.3.6
- libxft: upgrade 2.3.6 -> 2.3.7
- libxinerama: update 1.1.4 -> 1.1.5
- libxkbcommon: upgrade 1.4.1 -> 1.5.0
- libxkbfile: update 1.1.0 -> 1.1.1
- libxkbfile: upgrade 1.1.1 -> 1.1.2
- libxml2: upgrade 2.9.14 -> 2.10.3
- libxmu: update 1.1.3 -> 1.1.4
- libxpm: update 3.5.13 -> 3.5.15
- libxrandr: update 1.5.2 -> 1.5.3
- libxrender: update 0.9.10 -> 0.9.11
- libxres: update 1.2.1 -> 1.2.2
- libxscrnsaver: update 1.2.3 -> 1.2.4
- libxshmfence: update 1.3 -> 1.3.2
- libxslt: upgrade 1.1.35 -> 1.1.37
- libxtst: update 1.2.3 -> 1.2.4
- libxv: update 1.0.11 -> 1.0.12
- libxxf86vm: update 1.1.4 -> 1.1.5
- lighttpd: upgrade 1.4.66 -> 1.4.69
- linux-firmware: upgrade 20220913 -> 20230210
- linux-libc-headers: bump to 6.1
- linux-yocto/5.15: update genericx86* machines to v5.15.103
- linux-yocto/5.15: update to v5.15.108
- linux-yocto/6.1: update to v6.1.25
- linux-yocto-dev: bump to v6.3
- linux-yocto-rt/5.15: update to -rt59
- linux-yocto-rt/6.1: update to -rt7
- llvm: update 14.0.6 -> 15.0.7
- log4cplus: upgrade 2.0.8 -> 2.1.0
- logrotate: upgrade 3.20.1 -> 3.21.0
- lsof: upgrade 4.95.0 -> 4.98.0
- ltp: upgrade 20220527 -> 20230127
- lttng-modules: upgrade 2.13.4 -> 2.13.9
- lttng-tools: update 2.13.8 -> 2.13.9
- lttng-ust: upgrade 2.13.4 -> 2.13.5
- makedepend: upgrade 1.0.6 -> 1.0.8
- make: update 4.3 -> 4.4.1
- man-db: update 2.10.2 -> 2.11.2
- man-pages: upgrade 5.13 -> 6.03
- matchbox-config-gtk: Update to latest SRCREV
- matchbox-desktop-2: Update 2.2 -> 2.3
- matchbox-panel-2: Update 2.11 -> 2.12
- matchbox-terminal: Update to latest SRCREV
- matchbox-wm: Update 1.2.2 -> 1.2.3
- mc: update 4.8.28 -> 4.8.29
- mesa: update 22.2.0 -> 23.0.0
- meson: upgrade 0.63.2 -> 1.0.1
- mmc-utils: upgrade to latest revision
- mobile-broadband-provider-info: upgrade 20220725 -> 20221107
- mpfr: upgrade 4.1.0 -> 4.2.0
- mpg123: upgrade 1.30.2 -> 1.31.2
- msmtp: upgrade 1.8.22 -> 1.8.23
- mtd-utils: upgrade 2.1.4 -> 2.1.5
- mtools: upgrade 4.0.40 -> 4.0.42
- musl-obstack: Update to 1.2.3
- musl: Upgrade to latest master
- nasm: update 2.15.05 -> 2.16.01
- ncurses: upgrade 6.3+20220423 -> 6.4
- netbase: upgrade 6.3 -> 6.4
- newlib: Upgrade 4.2.0 -> 4.3.0
- nghttp2: upgrade 1.49.0 -> 1.52.0
- numactl: upgrade 2.0.15 -> 2.0.16
- opensbi: Upgrade to 1.2 release
- openssh: upgrade 9.0p1 -> 9.3p1
- openssl: Upgrade 3.0.5 -> 3.1.0
- opkg: upgrade to version 0.6.1
- orc: upgrade 0.4.32 -> 0.4.33
- ovmf: upgrade edk2-stable202205 -> edk2-stable202211
- pango: upgrade 1.50.9 -> 1.50.13
- patchelf: upgrade 0.15.0 -> 0.17.2
- pciutils: upgrade 3.8.0 -> 3.9.0
- piglit: upgrade to latest revision
- pinentry: update 1.2.0 -> 1.2.1
- pixman: upgrade 0.40.0 -> 0.42.2
- pkgconf: upgrade 1.9.3 -> 1.9.4
- popt: update 1.18 -> 1.19
- powertop: upgrade 2.14 -> 2.15
- procps: update 3.3.17 -> 4.0.3
- psmisc: upgrade 23.5 -> 23.6
- puzzles: upgrade to latest revision
- python3-alabaster: upgrade 0.7.12 -> 0.7.13
- python3-attrs: upgrade 22.1.0 -> 22.2.0
- python3-babel: upgrade 2.10.3 -> 2.12.1
- python3-bcrypt: upgrade 3.2.2 -> 4.0.1
- python3-certifi: upgrade 2022.9.14 -> 2022.12.7
- python3-chardet: upgrade 5.0.0 -> 5.1.0
- python3-cryptography: upgrade 38.0.3 -> 39.0.4
- python3-cryptography-vectors: upgrade 37.0.4 -> 39.0.2
- python3-cython: upgrade 0.29.32 -> 0.29.33
- python3-dbusmock: update 0.28.4 -> 0.28.7
- python3-dbus: upgrade 1.2.18 -> 1.3.2
- python3-dtschema: upgrade 2022.8.3 -> 2023.1
- python3-flit-core: upgrade 3.7.1 -> 3.8.0
- python3-gitdb: upgrade 4.0.9 -> 4.0.10
- python3-git: upgrade 3.1.27 -> 3.1.31
- python3-hatch-fancy-pypi-readme: upgrade 22.7.0 -> 22.8.0
- python3-hatchling: upgrade 1.9.0 -> 1.13.0
- python3-hatch-vcs: upgrade 0.2.0 -> 0.3.0
- python3-hypothesis: upgrade 6.54.5 -> 6.68.2
- python3-importlib-metadata: upgrade 4.12.0 -> 6.0.0
- python3-iniconfig: upgrade 1.1.1 -> 2.0.0
- python3-installer: update 0.5.1 -> 0.6.0
- python3-iso8601: upgrade 1.0.2 -> 1.1.0
- python3-jsonschema: upgrade 4.9.1 -> 4.17.3
- python3-lxml: upgrade 4.9.1 -> 4.9.2
- python3-mako: upgrade 1.2.2 -> 1.2.4
- python3-markupsafe: upgrade 2.1.1 -> 2.1.2
- python3-more-itertools: upgrade 8.14.0 -> 9.1.0
- python3-numpy: upgrade 1.23.3 -> 1.24.2
- python3-packaging: upgrade to 23.0
- python3-pathspec: upgrade 0.10.1 -> 0.11.0
- python3-pbr: upgrade 5.10.0 -> 5.11.1
- python3-pip: upgrade 22.2.2 -> 23.0.1
- python3-poetry-core: upgrade 1.0.8 -> 1.5.2
- python3-psutil: upgrade 5.9.2 -> 5.9.4
- python3-pycairo: upgrade 1.21.0 -> 1.23.0
- python3-pycryptodome: upgrade 3.15.0 -> 3.17
- python3-pycryptodomex: upgrade 3.15.0 -> 3.17
- python3-pygments: upgrade 2.13.0 -> 2.14.0
- python3-pyopenssl: upgrade 22.0.0 -> 23.0.0
- python3-pyrsistent: upgrade 0.18.1 -> 0.19.3
- python3-pytest-subtests: upgrade 0.8.0 -> 0.10.0
- python3-pytest: upgrade 7.1.3 -> 7.2.2
- python3-pytz: upgrade 2022.2.1 -> 2022.7.1
- python3-requests: upgrade 2.28.1 -> 2.28.2
- python3-scons: upgrade 4.4.0 -> 4.5.2
- python3-setuptools-rust: upgrade 1.5.1 -> 1.5.2
- python3-setuptools-scm: upgrade 7.0.5 -> 7.1.0
- python3-setuptools: upgrade 65.0.2 -> 67.6.0
- python3-sphinxcontrib-applehelp: update 1.0.2 -> 1.0.4
- python3-sphinxcontrib-htmlhelp: 2.0.0 -> 2.0.1
- python3-sphinx-rtd-theme: upgrade 1.0.0 -> 1.2.0
- python3-sphinx: upgrade 5.1.1 -> 6.1.3
- python3-subunit: upgrade 1.4.0 -> 1.4.2
- python3-testtools: upgrade 2.5.0 -> 2.6.0
- python3-typing-extensions: upgrade 4.3.0 -> 4.5.0
- python3: update 3.10.6 -> 3.11.2
- python3-urllib3: upgrade 1.26.12 -> 1.26.15
- python3-wcwidth: upgrade 0.2.5 -> 0.2.6
- python3-wheel: upgrade 0.37.1 -> 0.40.0
- python3-zipp: upgrade 3.8.1 -> 3.15.0
- qemu: update 7.1.0 -> 7.2.0
- quota: update 4.06 -> 4.09
- readline: update 8.1.2 -> 8.2
- repo: upgrade 2.29.2 -> 2.32
- rgb: update 1.0.6 -> 1.1.0
- rng-tools: upgrade 6.15 -> 6.16
- rsync: update 3.2.5 -> 3.2.7
- rt-tests: update 2.4 -> 2.5
- ruby: update 3.1.2 -> 3.2.1
- rust: update 1.63.0 -> 1.68.1
- rxvt-unicode: upgrade 9.30 -> 9.31
- sed: update 4.8 -> 4.9
- shaderc: upgrade 2022.2 -> 2023.2
- shadow: update 4.12.1 -> 4.13
- socat: upgrade 1.7.4.3 -> 1.7.4.4
- spirv-headers: upgrade 1.3.236.0 -> 1.3.239.0
- spirv-tools: upgrade 1.3.236.0 -> 1.3.239.0
- sqlite3: upgrade 3.39.3 -> 3.41.0
- strace: upgrade 5.19 -> 6.2
- stress-ng: update 0.14.03 -> 0.15.06
- sudo: upgrade 1.9.11p3 -> 1.9.13p3
- swig: update 4.0.2 -> 4.1.1
- sysstat: upgrade 12.6.0 -> 12.6.2
- systemd: update 251.4 -> 253.1
- systemtap: upgrade 4.7 -> 4.8
- taglib: upgrade 1.12 -> 1.13
- tcf-agent: Update to current version
- tcl: update 8.6.11 -> 8.6.13
- texinfo: update 6.8 -> 7.0.2
- tiff: update 4.4.0 -> 4.5.0
- tzdata: update 2022d -> 2023c
- u-boot: upgrade 2022.07 -> 2023.01
- unfs: update 0.9.22 -> 0.10.0
- usbutils: upgrade 014 -> 015
- util-macros: upgrade 1.19.3 -> 1.20.0
- vala: upgrade 0.56.3 -> 0.56.4
- valgrind: update to 3.20.0
- vim: Upgrade 9.0.0598 -> 9.0.1429
- virglrenderer: upgrade 0.10.3 -> 0.10.4
- vte: update 0.68.0 -> 0.72.0
- vulkan-headers: upgrade 1.3.236.0 -> 1.3.239.0
- vulkan-loader: upgrade 1.3.236.0 -> 1.3.239.0
- vulkan-samples: update to latest revision
- vulkan-tools: upgrade 1.3.236.0 -> 1.3.239.0
- vulkan: update 1.3.216.0 -> 1.3.236.0
- wayland-protocols: upgrade 1.26 -> 1.31
- wayland-utils: update 1.0.0 -> 1.1.0
- webkitgtk: update 2.36.7 -> 2.38.5
- weston: update 10.0.2 -> 11.0.1
- wireless-regdb: upgrade 2022.08.12 -> 2023.02.13
- wpebackend-fdo: upgrade 1.12.1 -> 1.14.0
- xcb-util: update 0.4.0 -> 0.4.1
- xcb-util-keysyms: 0.4.0 -> 0.4.1
- xcb-util-renderutil: 0.3.9 -> 0.3.10
- xcb-util-wm: 0.4.1 -> 0.4.2
- xcb-util-image: 0.4.0 -> 0.4.1
- xf86-input-mouse: update 1.9.3 -> 1.9.4
- xf86-input-vmmouse: update 13.1.0 -> 13.2.0
- xf86-video-vesa: update 2.5.0 -> 2.6.0
- xf86-video-vmware: update 13.3.0 -> 13.4.0
- xhost: update 1.0.8 -> 1.0.9
- xinit: update 1.4.1 -> 1.4.2
- xkbcomp: update 1.4.5 -> 1.4.6
- xkeyboard-config: upgrade 2.36 -> 2.38
- xprop: update 1.2.5 -> 1.2.6
- xrandr: upgrade 1.5.1 -> 1.5.2
- xserver-xorg: upgrade 21.1.4 -> 21.1.7
- xset: update 1.2.4 -> 1.2.5
- xvinfo: update 1.1.4 -> 1.1.5
- xwayland: upgrade 22.1.3 -> 22.1.8
- xz: upgrade 5.2.6 -> 5.4.2
- zlib: upgrade 1.2.12 -> 1.2.13
- zstd: upgrade 1.5.2 -> 1.5.4
Contributors to 4.2
~~~~~~~~~~~~~~~~~~~
Thanks to the following people who contributed to this release:
- Adrian Freihofer
- Ahmad Fatoum
- Alejandro Hernandez Samaniego
- Alexander Kanavin
- Alexandre Belloni
- Alexey Smirnov
- Alexis Lothoré
- Alex Kiernan
- Alex Stewart
- Andrej Valek
- Andrew Geissler
- Anton Antonov
- Antonin Godard
- Archana Polampalli
- Armin Kuster
- Arnout Vandecappelle
- Arturo Buzarra
- Atanas Bunchev
- Benjamin Szőke
- Benoît Mauduit
- Bernhard Rosenkränzer
- Bruce Ashfield
- Caner Altinbasak
- Carlos Alberto Lopez Perez
- Changhyeok Bae
- Changqing Li
- Charlie Johnston
- Chase Qi
- Chee Yang Lee
- Chen Qi
- Chris Elledge
- Christian Eggers
- Christoph Lauer
- Chuck Wolber
- Ciaran Courtney
- Claus Stovgaard
- Clément Péron
- Daniel Ammann
- David Bagonyi
- Denys Dmytriyenko
- Denys Zagorui
- Diego Sueiro
- Dmitry Baryshkov
- Ed Tanous
- Enguerrand de Ribaucourt
- Enrico Jörns
- Enrico Scholz
- Etienne Cordonnier
- Fabio Estevam
- Fabre Sébastien
- Fawzi KHABER
- Federico Pellegrin
- Frank de Brabander
- Frederic Martinsons
- Geoffrey GIRY
- George Kelly
- Harald Seiler
- He Zhe
- Hitendra Prajapati
- Jagadeesh Krishnanjanappa
- James Raphael Tiovalen
- Jan Kircher
- Jan Luebbe
- Jan-Simon Moeller
- Javier Tia
- Jeremy Puhlman
- Jermain Horsman
- Jialing Zhang
- Joel Stanley
- Joe Slater
- Johan Korsnes
- Jon Mason
- Jordan Crouse
- Jose Quaresma
- Joshua Watt
- Justin Bronder
- Kai Kang
- Kasper Revsbech
- Keiya Nobuta
- Kenfe-Mickael Laventure
- Kevin Hao
- Khem Raj
- Konrad Weihmann
- Lei Maohui
- Leon Anavi
- Liam Beguin
- Louis Rannou
- Luca Boccassi
- Luca Ceresoli
- Luis Martins
- Maanya Goenka
- Marek Vasut
- Mark Asselstine
- Mark Hatle
- Markus Volk
- Marta Rybczynska
- Martin Jansa
- Martin Larsson
- Mateusz Marciniec
- Mathieu Dubois-Briand
- Mauro Queiros
- Maxim Uvarov
- Michael Halstead
- Michael Opdenacker
- Mike Crowe
- Mikko Rapeli
- Ming Liu
- Mingli Yu
- Narpat Mali
- Nathan Rossi
- Niko Mauno
- Ola x Nilsson
- Oliver Lang
- Ovidiu Panait
- Pablo Saavedra
- Patrick Williams
- Paul Eggleton
- Paulo Neves
- Pavel Zhukov
- Pawel Zalewski
- Pedro Baptista
- Peter Bergin
- Peter Kjellerstedt
- Peter Marko
- Petr Kubizňák
- Petr Vorel
- pgowda
- Piotr Łobacz
- Quentin Schulz
- Randy MacLeod
- Ranjitsinh Rathod
- Ravineet Singh
- Ravula Adhitya Siddartha
- Richard Elberger
- Richard Leitner
- Richard Purdie
- Robert Andersson
- Robert Joslyn
- Robert Yang
- Romuald JEANNE
- Ross Burton
- Ryan Eatmon
- Sakib Sajal
- Sandeep Gundlupet Raju
- Saul Wold
- Sean Anderson
- Sergei Zhmylev
- Siddharth Doshi
- Soumya
- Sudip Mukherjee
- Sundeep KOKKONDA
- Teoh Jay Shen
- Thomas De Schampheleire
- Thomas Perrot
- Thomas Roos
- Tim Orling
- Tobias Hagelborn
- Tom Hochstein
- Trevor Woerner
- Ulrich Ölmann
- Vincent Davis Jr
- Vivek Kumbhar
- Vyacheslav Yurkov
- Wang Mingyu
- Wentao Zhang
- Xiangyu Chen
- Xiaotian Wu
- Yan Xinkuan
- Yash Shinde
- Yi Zhao
- Yoann Congal
- Yureka Lilian
- Zang Ruochen
- Zheng Qiu
- Zheng Ruoqin
- Zoltan Boszormenyi
- 张忠山
Repositories / Downloads for Yocto-4.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`mickledore </poky/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2 </poky/log/?h=yocto-4.2>`
- Git Revision: :yocto_git:`21790e71d55f417f27cd51fae9dd47549758d4a0 </poky/commit/?id=21790e71d55f417f27cd51fae9dd47549758d4a0>`
- Release Artefact: poky-21790e71d55f417f27cd51fae9dd47549758d4a0
- sha: 38606076765d912deec84e523403709ef1249122197e61454ae08818e60f83c2
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/poky-21790e71d55f417f27cd51fae9dd47549758d4a0.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2/poky-21790e71d55f417f27cd51fae9dd47549758d4a0.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`mickledore </openembedded-core/log/?h=mickledore>`
- Tag: :oe_git:`yocto-4.2 </openembedded-core/log/?h=yocto-4.2>`
- Git Revision: :oe_git:`c57d1a561db563ed2f521bbac5fc12d4ac8e11a7 </openembedded-core/commit/?id=c57d1a561db563ed2f521bbac5fc12d4ac8e11a7>`
- Release Artefact: oecore-c57d1a561db563ed2f521bbac5fc12d4ac8e11a7
- sha: e8cdd870492017be7e7b74b8c2fb73ae6771b2d2125b2aa1f0e65d0689f96af8
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/oecore-c57d1a561db563ed2f521bbac5fc12d4ac8e11a7.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2/oecore-c57d1a561db563ed2f521bbac5fc12d4ac8e11a7.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`mickledore </meta-mingw/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2 </meta-mingw/log/?h=yocto-4.2>`
- Git Revision: :yocto_git:`250617ffa524c082b848487359b9d045703d59c2 </meta-mingw/commit/?id=250617ffa524c082b848487359b9d045703d59c2>`
- Release Artefact: meta-mingw-250617ffa524c082b848487359b9d045703d59c2
- sha: 873a97dfd5ed6fb26e1f6a2ddc2c0c9d7a7b3c7f5018588e912294618775c323
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/meta-mingw-250617ffa524c082b848487359b9d045703d59c2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2/meta-mingw-250617ffa524c082b848487359b9d045703d59c2.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.4 </bitbake/log/?h=2.4>`
- Tag: :oe_git:`yocto-4.2 </bitbake/log/?h=yocto-4.2>`
- Git Revision: :oe_git:`d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c </bitbake/commit/?id=d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c>`
- Release Artefact: bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c
- sha: 5edcb97cb545011226b778355bb840ebcc790552d4a885a0d83178153697ba7a
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.2/bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.2/bitbake-d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`mickledore </yocto-docs/log/?h=mickledore>`
- Tag: :yocto_git:`yocto-4.2 </yocto-docs/log/?h=yocto-4.2>`
- Git Revision: :yocto_git:`4d6807e34adf5d92d9b6e5852736443a867c78fa </yocto-docs/commit/?id=4d6807e34adf5d92d9b6e5852736443a867c78fa>`

View File

@@ -0,0 +1,86 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for 4.3 (nandbield)
----------------------------------
New Features / Enhancements in 4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Linux kernel 6.x, glibc 2.xx and ~xxx other recipe upgrades
- New variables:
- :term:`FIT_ADDRESS_CELLS` and :term:`UBOOT_FIT_ADDRESS_CELLS`.
See details below.
- :term:`KERNEL_DTBDEST`: directory where to install DTB files.
- :term:`KERNEL_DTBVENDORED`: whether to keep vendor subdirectories.
- Architecture-specific enhancements:
- Kernel-related enhancements:
- New core recipes:
- New classes:
- A ``ptest-cargo`` class was added to allow Cargo based recipes to easily add ptests
- QEMU/runqemu enhancements:
- QEMU has been upgraded to version 8.0
- Rust improvements:
- Rust has been upgraded to version 1.69
- Image-related enhancements:
- wic Image Creator enhancements:
- FIT image related improvements:
- New :term:`FIT_ADDRESS_CELLS` and :term:`UBOOT_FIT_ADDRESS_CELLS` variables allowing
to specify 64 bit addresses, typically for loading U-Boot.
- SDK-related improvements:
- Testing:
- Utility script changes:
- BitBake improvements:
- The BitBake Cooker log now contains notes when the caches are
invalidated which is useful for memory resident bitbake debugging.
- Packaging changes:
- Prominent documentation updates:
- Miscellaneous changes:
- Git based recipes in OE-Core which used the git protocol have been
changed to use https where possibile. https is now believed to be
faster and more reliable.
- The ``os-release`` recipe added a ``CPE_NAME`` to the fields provided, with the
default being populated from :term:`DISTRO`.
Known Issues in 4.3
~~~~~~~~~~~~~~~~~~~
Recipe License changes in 4.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following corrections have been made to the :term:`LICENSE` values set by recipes:
Security Fixes in 4.3
~~~~~~~~~~~~~~~~~~~~~
Recipe Upgrades in 4.3
~~~~~~~~~~~~~~~~~~~~~~
Contributors to 4.3
~~~~~~~~~~~~~~~~~~~

View File

@@ -638,9 +638,8 @@ package files are kept:
type sub-folder. Given RPM, IPK, or DEB packaging and tarball
creation, the
:term:`DEPLOY_DIR_RPM`,
:term:`DEPLOY_DIR_IPK`,
:term:`DEPLOY_DIR_DEB`, or
:term:`DEPLOY_DIR_TAR`,
:term:`DEPLOY_DIR_IPK`, or
:term:`DEPLOY_DIR_DEB`
variables are used, respectively.
- :term:`PACKAGE_ARCH`: Defines
@@ -653,9 +652,8 @@ tasks to generate packages and place them into the package holding area
(e.g. ``do_package_write_ipk`` for IPK packages). See the
":ref:`ref-tasks-package_write_deb`",
":ref:`ref-tasks-package_write_ipk`",
":ref:`ref-tasks-package_write_rpm`",
and
":ref:`ref-tasks-package_write_tar`"
":ref:`ref-tasks-package_write_rpm`"
sections in the Yocto Project Reference Manual for additional
information. As an example, consider a scenario where an IPK packaging
manager is being used and there is package architecture support for both
@@ -1943,7 +1941,7 @@ Thanks to this, the depending tasks will keep a previously recorded
task hash, and BitBake will be able to retrieve their output from
the Shared State cache, instead of re-executing them. Similarly, the
output of further downstream tasks can also be retrieved from Shared
Shate.
State.
If the output hash is unknown, a new entry will be created on the Hash
Equivalence server, matching the task hash to that output.

View File

@@ -169,10 +169,9 @@ these tarballs gives you a snapshot of the released files.
In summary, here is where you can get the project files needed for
development:
- :yocto_git:`Source Repositories: <>` This area contains IDE
Plugins, Matchbox, Poky, Poky Support, Tools, Yocto Linux Kernel, and
Yocto Metadata Layers. You can create local copies of Git
repositories for each of these areas.
- :yocto_git:`Source Repositories: <>` This area contains Poky, Yocto
documentation, metadata layers, and Linux kernel. You can create local
copies of Git repositories for each of these areas.
.. image:: figures/source-repos.png
:width: 100%
@@ -181,28 +180,17 @@ development:
see the ":ref:`dev-manual/start:accessing source repositories`"
Section in the Yocto Project Development Tasks Manual.
- :yocto_dl:`Index of /releases: </releases>` This is an index
of releases such as Poky, Pseudo, installers for cross-development
toolchains, miscellaneous support and all released versions of Yocto
Project in the form of images or tarballs. Downloading and extracting
these files does not produce a local copy of the Git repository but
rather a snapshot of a particular release or image.
- :yocto_dl:`Yocto release archives: </releases/yocto>` This is where you can
download tarballs corresponding to each Yocto Project release. Downloading
and extracting these files does not produce a local copy of a Git repository
but rather a snapshot corresponding to a particular release.
.. image:: figures/index-downloads.png
:align: center
:width: 50%
For steps on how to view and access these files, see the
":ref:`dev-manual/start:accessing index of releases`"
section in the Yocto Project Development Tasks Manual.
- *"DOWNLOADS" page for the* :yocto_home:`Yocto Project Website <>` *:*
The Yocto Project website includes a "DOWNLOADS" page accessible
- :yocto_home:`DOWNLOADS page </software-overview/downloads/>`:
The :yocto_home:`Yocto Project website <>` includes a "DOWNLOADS" page accessible
through the "SOFTWARE" menu that allows you to download any Yocto
Project release, tool, and Board Support Package (BSP) in tarball
form. The tarballs are similar to those found in the
:yocto_dl:`Index of /releases: </releases>` area.
form. The hyperlinks point to the tarballs under
:yocto_dl:`/releases/yocto/`.
.. image:: figures/yp-download.png
:width: 100%

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 KiB

After

Width:  |  Height:  |  Size: 758 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 506 KiB

View File

@@ -1,10 +1,10 @@
DISTRO : "4.1"
DISTRO_NAME_NO_CAP : "langdale"
DISTRO_NAME : "Langdale"
DISTRO_NAME_NO_CAP_MINUS_ONE : "kirkstone"
DISTRO : "4.2"
DISTRO_NAME_NO_CAP : "mickledore"
DISTRO_NAME : "Mickledore"
DISTRO_NAME_NO_CAP_MINUS_ONE : "langdale"
DISTRO_NAME_NO_CAP_LTS : "kirkstone"
YOCTO_DOC_VERSION : "4.1"
DISTRO_REL_TAG : "yocto-4.1"
YOCTO_DOC_VERSION : "4.2"
DISTRO_REL_TAG : "yocto-4.2"
DOCCONF_VERSION : "dev"
BITBAKE_SERIES : ""
YOCTO_DL_URL : "https://downloads.yoctoproject.org"

View File

@@ -1,11 +0,0 @@
Handbook Todo List:
* Document adding a new IMAGE_FEATURE to the customising images section
* Add instructions about using zaurus/openmoko emulation
* Add component overview/block diagrams
* Software Development intro should mention its software development for
intended target and could be a different arch etc and thus special case.
* Expand insane.bbclass documentation to cover tests
* Document remaining classes (see list in ref-classes)
* Document formfactor

View File

@@ -580,6 +580,54 @@ add the task at the appropriate place, which is usually after
:ref:`ref-tasks-install`. The class then takes care of
staging the files from :term:`DEPLOYDIR` to :term:`DEPLOY_DIR_IMAGE`.
.. _ref-classes-devicetree:
``devicetree``
==============
The :ref:`ref-classes-devicetree` class allows to build a recipe that compiles
device tree source files that are not in the kernel tree.
The compilation of out-of-tree device tree sources is the same as the kernel
in-tree device tree compilation process. This includes the ability to include
sources from the kernel such as SoC ``dtsi`` files as well as C header files,
such as ``gpio.h``.
The :ref:`ref-tasks-compile` task will compile two kinds of files:
- Regular device tree sources with a ``.dts`` extension.
- Device tree overlays, detected from the presence of the ``/plugin/;``
string in the file contents.
This class behaves in a similar way as the :ref:`ref-classes-kernel-devicetree`
class, also deploying output files into ``/boot/devicetree``. However, this
class stores the deployed device tree binaries into the ``devicetree``
subdirectory. This avoids clashes with the :ref:`ref-classes-kernel-devicetree`
output. Additionally, the device trees are populated into the sysroot for
access via the sysroot from within other recipes.
By default, all device tree sources located in :term:`DT_FILES_PATH` directory
are compiled. To select only particular sources, set :term:`DT_FILES` to
a space-separated list of files (relative to :term:`DT_FILES_PATH`). For
convenience, both ``.dts`` and ``.dtb`` extensions can be used.
An extra padding is appended to non-overlay device trees binaries. This
can typically be used as extra space for adding extra properties at boot time.
The padding size can be modified by setting :term:`DT_PADDING_SIZE`
to the desired size, in bytes.
See :oe_git:`devicetree.bbclass sources
</openembedded-core/tree/meta/classes-recipe/devicetree.bbclass>`
for further variables controlling this class.
Here is an excerpt of an example ``recipes-kernel/linux/devicetree-acme.bb``
recipe inheriting this class::
inherit devicetree
COMPATIBLE_MACHINE = "^mymachine$"
SRC_URI:mymachine = "file://mymachine.dts"
.. _ref-classes-devshell:
``devshell``
@@ -1192,6 +1240,11 @@ Here are the tests you can list with the :term:`WARN_QA` and
``initscripts`` recipe is actually built and thus the
``initscripts-functions`` package is made available.
- ``configure-gettext:`` Checks that if a recipe is building something
that uses automake and the automake files contain an ``AM_GNU_GETTEXT``
directive, that the recipe also inherits the :ref:`ref-classes-gettext`
class to ensure that gettext is available during the build.
- ``compile-host-path:`` Checks the
:ref:`ref-tasks-compile` log for indications that
paths to locations on the build host were used. Using such paths
@@ -1308,11 +1361,39 @@ Here are the tests you can list with the :term:`WARN_QA` and
``/usr/libexec``. This check is not performed if the ``libexecdir``
variable has been set explicitly to ``/usr/libexec``.
- ``mime:`` Check that if a package contains mime type files (``.xml``
files in ``${datadir}/mime/packages``) that the recipe also inherits
the :ref:`ref-classes-mime` class in order to ensure that these get
properly installed.
- ``mime-xdg:`` Checks that if a package contains a .desktop file with a
'MimeType' key present, that the recipe inherits the
:ref:`ref-classes-mime-xdg` class that is required in order for that
to be activated.
- ``missing-update-alternatives:`` Check that if a recipe sets the
:term:`ALTERNATIVE` variable that the recipe also inherits
:ref:`ref-classes-update-alternatives` such that the alternative will
be correctly set up.
- ``packages-list:`` Checks for the same package being listed
multiple times through the :term:`PACKAGES` variable
value. Installing the package in this manner can cause errors during
packaging.
- ``patch-fuzz:`` Checks for fuzz in patch files that may allow
them to apply incorrectly if the underlying code changes.
- ``patch-status-core:`` Checks that the Upstream-Status is specified
and valid in the headers of patches for recipes in the OE-Core layer.
- ``patch-status-noncore:`` Checks that the Upstream-Status is specified
and valid in the headers of patches for recipes in layers other than
OE-Core.
- ``perllocalpod:`` Checks for ``perllocal.pod`` being erroneously
installed and packaged by a recipe.
- ``perm-config:`` Reports lines in ``fs-perms.txt`` that have an
invalid format.
@@ -1366,12 +1447,20 @@ Here are the tests you can list with the :term:`WARN_QA` and
options are being passed to the linker commands and your binaries
have potential security issues.
- ``shebang-size:`` Check that the shebang line (``#!`` in the first line)
in a packaged script is not longer than 128 characters, which can cause
an error at runtime depending on the operating system.
- ``split-strip:`` Reports that splitting or stripping debug symbols
from binaries has failed.
- ``staticdev:`` Checks for static library files (``*.a``) in
non-``staticdev`` packages.
- ``src-uri-bad:`` Checks that the :term:`SRC_URI` value set by a recipe
does not contain a reference to ``${PN}`` (instead of the correct
``${BPN}``) nor refers to unstable Github archive tarballs.
- ``symlink-to-sysroot:`` Checks for symlinks in packages that point
into :term:`TMPDIR` on the host. Such symlinks will
work on the host, but are clearly invalid when running on the target.
@@ -1382,6 +1471,12 @@ Here are the tests you can list with the :term:`WARN_QA` and
":doc:`/ref-manual/qa-checks`" for more information regarding runtime performance
issues.
- ``unhandled-features-check:`` check that if one of the variables that
the :ref:`ref-classes-features_check` class supports (e.g.
:term:`REQUIRED_DISTRO_FEATURES`) is set by a recipe, then the recipe
also inherits :ref:`ref-classes-features_check` in order for the
requirement to actually work.
- ``unlisted-pkg-lics:`` Checks that all declared licenses applying
for a package are also declared on the recipe level (i.e. any license
in ``LICENSE:*`` should appear in :term:`LICENSE`).
@@ -1391,19 +1486,23 @@ Here are the tests you can list with the :term:`WARN_QA` and
the linker (e.g. ``/lib`` and ``/usr/lib``). While these paths will
not cause any breakage, they do waste space and are unnecessary.
- ``usrmerge:`` If ``usrmerge`` is in :term:`DISTRO_FEATURES`, this
check will ensure that no package installs files to root (``/bin``,
``/sbin``, ``/lib``, ``/lib64``) directories.
- ``var-undefined:`` Reports when variables fundamental to packaging
(i.e. :term:`WORKDIR`,
:term:`DEPLOY_DIR`, :term:`D`,
:term:`PN`, and :term:`PKGD`) are undefined
during :ref:`ref-tasks-package`.
- ``version-going-backwards:`` If Build History is enabled, reports
when a package being written out has a lower version than the
previously written package under the same name. If you are placing
output packages into a feed and upgrading packages on a target system
using that feed, the version of a package going backwards can result
in the target system not correctly upgrading to the "new" version of
the package.
- ``version-going-backwards:`` If the :ref:`ref-classes-buildhistory`
class is enabled, reports when a package being written out has a lower
version than the previously written package under the same name. If
you are placing output packages into a feed and upgrading packages on
a target system using that feed, the version of a package going
backwards can result in the target system not correctly upgrading to
the "new" version of the package.
.. note::
@@ -1438,11 +1537,18 @@ code to build all kernel trees. All needed headers are staged into the
:term:`STAGING_KERNEL_DIR` directory to allow out-of-tree module builds
using the :ref:`ref-classes-module` class.
This means that each built kernel module is packaged separately and
inter-module dependencies are created by parsing the ``modinfo`` output.
If all modules are required, then installing the ``kernel-modules``
package installs all packages with modules and various other kernel
packages such as ``kernel-vmlinux``.
If a file named ``defconfig`` is listed in :term:`SRC_URI`, then by default
:ref:`ref-tasks-configure` copies it as ``.config`` in the build directory,
so it is automatically used as the kernel configuration for the build. This
copy is not performed in case ``.config`` already exists there: this allows
recipes to produce a configuration by other means in
``do_configure:prepend``.
Each built kernel module is packaged separately and inter-module
dependencies are created by parsing the ``modinfo`` output. If all modules
are required, then installing the ``kernel-modules`` package installs all
packages with modules and various other kernel packages such as
``kernel-vmlinux``.
The :ref:`ref-classes-kernel` class contains logic that allows you to embed an initial
RAM filesystem (:term:`Initramfs`) image when you build the kernel image. For
@@ -1470,19 +1576,27 @@ Linux kernel compilation (including modules).
The :ref:`ref-classes-kernel-devicetree` class, which is inherited by the
:ref:`ref-classes-kernel` class, supports device tree generation.
Its behavior is mainly controlled by the following variables:
- :term:`KERNEL_DEVICETREE_BUNDLE`: whether to bundle the kernel and device tree
- :term:`KERNEL_DTBDEST`: directory where to install DTB files
- :term:`KERNEL_DTBVENDORED`: whether to keep vendor subdirectories
- :term:`KERNEL_DTC_FLAGS`: flags for ``dtc``, the Device Tree Compiler
- :term:`KERNEL_PACKAGE_NAME`: base name of the kernel packages
.. _ref-classes-kernel-fitimage:
``kernel-fitimage``
===================
The :ref:`ref-classes-kernel-fitimage` class provides support to pack a kernel image,
device trees, a U-boot script, a :term:`Initramfs` bundle and a RAM disk
device trees, a U-boot script, an :term:`Initramfs` bundle and a RAM disk
into a single FIT image. In theory, a FIT image can support any number
of kernels, U-boot scripts, :term:`Initramfs` bundles, RAM disks and device-trees.
However, :ref:`ref-classes-kernel-fitimage` currently only supports
limited usecases: just one kernel image, an optional U-boot script,
an optional :term:`Initramfs` bundle, an optional RAM disk, and any number of
device tree.
device trees.
To create a FIT image, it is required that :term:`KERNEL_CLASSES`
is set to include ":ref:`ref-classes-kernel-fitimage`" and :term:`KERNEL_IMAGETYPE`
@@ -1496,7 +1610,8 @@ Only a single kernel can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the kernel image in FIT is mandatory. The
address where the kernel image is to be loaded by U-Boot is
specified by :term:`UBOOT_LOADADDRESS` and the entrypoint by
:term:`UBOOT_ENTRYPOINT`.
:term:`UBOOT_ENTRYPOINT`. Setting :term:`FIT_ADDRESS_CELLS` to "2"
is necessary if such addresses are 64 bit ones.
Multiple device trees can be added to the FIT image created by
:ref:`ref-classes-kernel-fitimage` and the device tree is optional.
@@ -2025,13 +2140,7 @@ The :ref:`ref-classes-package` class supports generating packages from a build's
output. The core generic functionality is in ``package.bbclass``. The
code specific to particular package types resides in these
package-specific classes: :ref:`ref-classes-package_deb`,
:ref:`ref-classes-package_rpm`, :ref:`ref-classes-package_ipk`, and
:ref:`ref-classes-package_tar`.
.. note::
The :ref:`ref-classes-package_tar` class is broken and
not supported. It is recommended that you do not use this class.
:ref:`ref-classes-package_rpm`, :ref:`ref-classes-package_ipk`.
You can control the list of resulting package formats by using the
:term:`PACKAGE_CLASSES` variable defined in your ``conf/local.conf``
@@ -2121,25 +2230,6 @@ This class inherits the :ref:`ref-classes-package` class and
is enabled through the :term:`PACKAGE_CLASSES`
variable in the ``local.conf`` file.
.. _ref-classes-package_tar:
``package_tar``
===============
The :ref:`ref-classes-package_tar` class provides support for creating tarballs. The
class ensures the packages are written out in a tarball format to the
``${``\ :term:`DEPLOY_DIR_TAR`\ ``}`` directory.
This class inherits the :ref:`ref-classes-package` class and
is enabled through the :term:`PACKAGE_CLASSES`
variable in the ``local.conf`` file.
.. note::
You cannot specify the :ref:`ref-classes-package_tar` class first using the
:term:`PACKAGE_CLASSES` variable. You must use ``.deb``, ``.ipk``, or ``.rpm``
file formats for your image or SDK.
.. _ref-classes-packagedata:
``packagedata``
@@ -3096,6 +3186,44 @@ You can also specify the machine using this method::
See the :term:`UBOOT_CONFIG` and :term:`UBOOT_MACHINE` variables for additional
information.
.. _ref-classes-uboot-sign:
``uboot-sign``
==============
The :ref:`ref-classes-uboot-sign` class provides support for U-Boot verified boot.
It is intended to be inherited from U-Boot recipes.
Here are variables used by this class:
- :term:`SPL_MKIMAGE_DTCOPTS`: DTC options for U-Boot ``mkimage`` when
building the FIT image.
- :term:`SPL_SIGN_ENABLE`: enable signing the FIT image.
- :term:`SPL_SIGN_KEYDIR`: directory containing the signing keys.
- :term:`SPL_SIGN_KEYNAME`: base filename of the signing keys.
- :term:`UBOOT_FIT_ADDRESS_CELLS`: ``#address-cells`` value for the FIT image.
- :term:`UBOOT_FIT_DESC`: description string encoded into the FIT image.
- :term:`UBOOT_FIT_GENERATE_KEYS`: generate the keys if they don't exist yet.
- :term:`UBOOT_FIT_HASH_ALG`: hash algorithm for the FIT image.
- :term:`UBOOT_FIT_KEY_GENRSA_ARGS`: ``openssl genrsa`` arguments.
- :term:`UBOOT_FIT_KEY_REQ_ARGS`: ``openssl req`` arguments.
- :term:`UBOOT_FIT_SIGN_ALG`: signature algorithm for the FIT image.
- :term:`UBOOT_FIT_SIGN_NUMBITS`: size of the private key for FIT image
signing.
- :term:`UBOOT_FIT_KEY_SIGN_PKCS`: algorithm for the public key certificate
for FIT image signing.
- :term:`UBOOT_FITIMAGE_ENABLE`: enable the generation of a U-Boot FIT image.
- :term:`UBOOT_MKIMAGE_DTCOPTS`: DTC options for U-Boot ``mkimage`` when
rebuilding the FIT image containing the kernel.
See U-Boot's documentation for details about `verified boot
<https://source.denx.de/u-boot/u-boot/-/blob/master/doc/uImage.FIT/verified-boot.txt>`__
and the `signature process
<https://source.denx.de/u-boot/u-boot/-/blob/master/doc/uImage.FIT/signature.txt>`__.
See also the description of :ref:`ref-classes-kernel-fitimage` class, which this class
imitates.
.. _ref-classes-uninative:
``uninative``

View File

@@ -344,7 +344,7 @@ Here are the image features available for all images:
- *splash:* Enables showing a splash screen during boot. By default,
this screen is provided by ``psplash``, which does allow
customization. If you prefer to use an alternative splash screen
package, you can do so by setting the ``SPLASH`` variable to a
package, you can do so by setting the :term:`SPLASH` variable to a
different package name (or names) within the image recipe or at the
distro configuration level.

View File

@@ -750,6 +750,29 @@ Errors and Warnings
other things in the patches, those can be discarded.
.. _qa-check-patch-status:
- ``Missing Upstream-Status in patch <patchfile> Please add according to <url> [patch-status-core/patch-status-noncore]``
The Upstream-Status value is missing in the specified patch file's header.
This value is intended to track whether or not the patch has been sent
upstream, whether or not it has been merged, etc.
There are two options for this same check - ``patch-status-core`` (for
recipes in OE-Core) and ``patch-status-noncore`` (for recipes in any other
layer).
For more information on setting Upstream-Status see:
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status
- ``Malformed Upstream-Status in patch <patchfile> Please correct according to <url> [patch-status-core/patch-status-noncore]``
The Upstream-Status value in the specified patch file's header is invalid -
it must be a specific format. See the "Missing Upstream-Status" entry above
for more information.
.. _qa-check-buildpaths:
- ``File <filename> in package <packagename> contains reference to TMPDIR [buildpaths]``

View File

@@ -87,6 +87,8 @@ stable release.
exception to this policy occurs when there is a strong reason such as
the fix happens to also be the preferred upstream approach.
.. _ref-long-term-support-releases:
Long Term Support Releases
==========================
@@ -120,16 +122,16 @@ of stable and :term:`LTS` releases.
In some circumstances, a layer can be created by the community in order to
add a specific feature or support a new version of some package for an :term:`LTS`
release. This is called a "mixin" layer. These are thin and specific
release. This is called a :term:`Mixin` layer. These are thin and specific
purpose layers which can be stacked with an :term:`LTS` release to "mix" a specific
feature into that build. These are created on an as-needed basis and
maintained by the people who need them.
Policies on testing these layers depend on how widespread their usage is and
determined on a case-by-case basis. You can find some "mixin" layers in the
determined on a case-by-case basis. You can find some :term:`Mixin` layers in the
:yocto_git:`meta-lts-mixins </meta-lts-mixins>` repository. While the Yocto
Project provides hosting for those repositories, it does not provides
testing on them. Other "mixin" layers may be released elsewhere by the wider
testing on them. Other :term:`Mixin` layers may be released elsewhere by the wider
community.
Testing and Quality Assurance

View File

@@ -750,7 +750,9 @@ and lists of files and directories with known permissions.
-------------
This directory contains OpenEmbedded Python library code used during the
build process.
build process. It is enabled via the ``addpylib`` directive in
``meta/conf/local.conf``. For more information, see
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:extending python library code`.
.. _structure-meta-recipes-bsp:

View File

@@ -383,9 +383,9 @@
inkscape:window-height="1016"
id="namedview4"
showgrid="true"
inkscape:zoom="0.72360224"
inkscape:cx="889.30073"
inkscape:cy="397.31773"
inkscape:zoom="2.0466562"
inkscape:cx="450.4909"
inkscape:cy="286.56498"
inkscape:window-x="1994"
inkscape:window-y="27"
inkscape:window-maximized="1"
@@ -530,7 +530,7 @@
<rect
style="fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
id="rect917-0-0-4-4"
width="140.00002"
width="260"
height="45.000004"
x="599.99994"
y="45.000011"
@@ -562,9 +562,9 @@
<rect
style="fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
id="rect917-0-0-4-4-9-4"
width="140.00002"
width="160.00002"
height="45.000004"
x="960"
x="959.99994"
y="-120"
ry="2.2558987" />
<text
@@ -584,26 +584,26 @@
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan10317-2-9-1">4.1</tspan></text>
<rect
style="opacity:0.75;fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
style="opacity:1;fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2;stroke-opacity:1"
id="rect917-0-0-4-4-9-4-5"
width="140.00002"
height="45.000004"
x="1080"
y="-174.99998"
x="1100"
y="-175.00003"
ry="2.2558987" />
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#fffefe;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="1134.2344"
x="1156.057"
y="-155.49881"
id="text1185-3-55-4-0-0-0-1"><tspan
sodipodi:role="line"
x="1134.2344"
x="1156.057"
y="-155.49881"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan957-2-8-6-3-9-7">Mickledore</tspan><tspan
sodipodi:role="line"
x="1134.2344"
x="1156.057"
y="-137.50214"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan10317-2-9-1-4">4.2</tspan></text>
@@ -658,17 +658,17 @@
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#fffefe;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="650.42737"
y="64.633629"
x="653.72168"
y="64.866302"
id="text1185-3-55-4-0-0-7"><tspan
sodipodi:role="line"
x="650.42737"
y="64.633629"
x="653.72168"
y="64.866302"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan957-2-8-6-3-2">Hardknott</tspan><tspan
id="tspan957-2-8-6-3-2">Hardknott </tspan><tspan
sodipodi:role="line"
x="650.42737"
y="82.63031"
x="653.72168"
y="82.862984"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans Bold';text-align:center;text-anchor:middle;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan10317-2-9-8">3.3</tspan></text>
<g
@@ -777,20 +777,41 @@
id="tspan49906">2023</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="962.71832"
y="250.21216"
style="font-weight:bold;font-size:6.66667px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="849.49744"
y="61.106953"
id="text1185-9-7-1-1-0"><tspan
sodipodi:role="line"
x="962.71832"
y="250.21216"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:center;text-anchor:middle;stroke:none"
id="tspan31345-42">Oct.</tspan><tspan
x="849.49744"
y="61.106953"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:6.66667px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:end;text-anchor:end;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan46212">Support for this version was extended to leave</tspan><tspan
sodipodi:role="line"
x="962.71832"
y="268.20883"
x="849.49744"
y="70.105324"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:6.66667px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:end;text-anchor:end;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan120364">users more time to adapt to override syntax</tspan><tspan
sodipodi:role="line"
x="849.49744"
y="79.103691"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:6.66667px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:end;text-anchor:end;fill:#fffefe;fill-opacity:1;stroke:none"
id="tspan123280">changes in the 3.4 release.</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="972.71832"
y="260.21216"
id="text1185-9-7-1-1-0-7"><tspan
sodipodi:role="line"
x="972.71832"
y="260.21216"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:center;text-anchor:middle;stroke:none"
id="tspan49906-9">2022</tspan></text>
id="tspan31345-42-7">Oct.</tspan><tspan
sodipodi:role="line"
x="972.71832"
y="278.20883"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:13.3333px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans, Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:center;text-anchor:middle;stroke:none"
id="tspan49906-9-6">2022</tspan></text>
<text
xml:space="preserve"
style="font-weight:bold;font-size:13.3333px;line-height:125%;font-family:'Nimbus Roman';-inkscape-font-specification:'Nimbus Roman, Bold';letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

@@ -40,6 +40,8 @@ to run multiple builds and to cache build artifacts, improving build efficiency.
If you have a shortage of disk space, see the ":doc:`/dev-manual/disk-space`"
section of the Development Tasks Manual.
.. _system-requirements-minimum-ram:
Minimum System RAM
==================
@@ -182,7 +184,7 @@ AlmaLinux Packages
Here are the packages needed to build an image on a headless system
with a supported AlmaLinux distribution::
$ sudo dnf install &ALMALINUX8_HOST_PACKAGES_ESSENTIAL;
$ sudo dnf install &ALMALINUX_HOST_PACKAGES_ESSENTIAL;
.. note::

View File

@@ -260,17 +260,6 @@ the package feeds area. For more information, see the
":ref:`overview-manual/concepts:package feeds`" section in
the Yocto Project Overview and Concepts Manual.
.. _ref-tasks-package_write_tar:
``do_package_write_tar``
------------------------
Creates tarballs and places them in the
``${``\ :term:`DEPLOY_DIR_TAR`\ ``}`` directory in
the package feeds area. For more information, see the
":ref:`overview-manual/concepts:package feeds`" section in
the Yocto Project Overview and Concepts Manual.
.. _ref-tasks-packagedata:
``do_packagedata``

View File

@@ -123,6 +123,10 @@ universal, the list includes them just in case:
tools, such as a required version of the GCC compiler to run the
OpenEmbedded build system.
See the ":ref:`system-requirements-buildtools`" paragraph in the
Reference Manual for details about downloading or building an archive
of such tools.
:term:`buildtools-make`
A variant of :term:`buildtools`, just providing the required
version of ``make`` to run the OpenEmbedded build system.
@@ -208,6 +212,48 @@ universal, the list includes them just in case:
of the supported image types that the Yocto Project provides, see the
":ref:`ref-manual/images:Images`" chapter.
:term:`Initramfs`
An Initial RAM Filesystem (:term:`Initramfs`) is an optionally compressed
:wikipedia:`cpio <Cpio>` archive which is extracted
by the Linux kernel into RAM in a special :wikipedia:`tmpfs <Tmpfs>`
instance, used as the initial root filesystem.
This is a replacement for the legacy init RAM disk ("initrd")
technique, booting on an emulated block device in RAM, but being less
efficient because of the overhead of going through a filesystem and
having to duplicate accessed file contents in the file cache in RAM,
as for any block device.
.. note:
As far as bootloaders are concerned, :term:`Initramfs` and "initrd"
images are still copied to RAM in the same way. That's why most
most bootloaders refer to :term:`Initramfs` images as "initrd"
or "init RAM disk".
This kind of mechanism is typically used for two reasons:
- For booting the same kernel binary on multiple systems requiring
different device drivers. The :term:`Initramfs` image is then customized
for each type of system, to include the specific kernel modules
necessary to access the final root filesystem. This technique
is used on all GNU / Linux distributions for desktops and servers.
- For booting faster. As the root filesystem is extracted into RAM,
accessing the first user-space applications is very fast, compared
to having to initialize a block device, to access multiple blocks
from it, and to go through a filesystem having its own overhead.
For example, this allows to display a splashscreen very early,
and to later take care of mounting the final root filesystem and
loading less time-critical kernel drivers.
This cpio archive can either be loaded to RAM by the bootloader,
or be included in the kernel binary.
For information on creating and using an :term:`Initramfs`, see the
":ref:`dev-manual/building:building an initial ram filesystem (Initramfs) image`"
section in the Yocto Project Development Tasks Manual.
:term:`Layer`
A collection of related recipes. Layers allow you to consolidate related
metadata to customize your build. Layers also isolate information used
@@ -231,7 +277,7 @@ universal, the list includes them just in case:
This term means "Long Term Support", and in the context of the Yocto
Project, it corresponds to selected stable releases for which bug and
security fixes are provided for at least two years. See
":doc:`/ref-manual/release-process`" for details.
the :ref:`ref-long-term-support-releases` section for details.
:term:`Metadata`
A key element of the Yocto Project is the Metadata that
@@ -252,6 +298,12 @@ universal, the list includes them just in case:
:yocto_git:`yocto-kernel-cache </yocto-kernel-cache>`
Git repository.
:term:`Mixin`
A :term:`Mixin` layer is a layer which can be created by the community to
add a specific feature or support a new version of some package for an
:term:`LTS` release. See the :ref:`ref-long-term-support-releases`
section for details.
:term:`OpenEmbedded-Core (OE-Core)`
OE-Core is metadata comprised of
foundational recipes, classes, and associated files that are meant to

View File

@@ -354,6 +354,9 @@ system and gives an overview of their function and contents.
:term:`BB_BASEHASH_IGNORE_VARS`
See :term:`bitbake:BB_BASEHASH_IGNORE_VARS` in the BitBake manual.
:term:`BB_CACHEDIR`
See :term:`bitbake:BB_CACHEDIR` in the BitBake manual.
:term:`BB_CHECK_SSL_CERTS`
See :term:`bitbake:BB_CHECK_SSL_CERTS` in the BitBake manual.
@@ -1986,25 +1989,6 @@ system and gives an overview of their function and contents.
":ref:`overview-manual/concepts:package feeds`" section
in the Yocto Project Overview and Concepts Manual.
:term:`DEPLOY_DIR_TAR`
Points to the area that the OpenEmbedded build system uses to place
tarballs that are ready to be used outside of the build system. This
variable applies only when :term:`PACKAGE_CLASSES` contains
":ref:`ref-classes-package_tar`".
The BitBake configuration file initially defines this variable as a
sub-folder of :term:`DEPLOY_DIR`::
DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar"
The :ref:`ref-classes-package_tar` class uses the
:term:`DEPLOY_DIR_TAR` variable to make sure the
:ref:`ref-tasks-package_write_tar` task
writes TAR packages into the appropriate folder. For more information
on how packaging works, see the
":ref:`overview-manual/concepts:package feeds`" section
in the Yocto Project Overview and Concepts Manual.
:term:`DEPLOYDIR`
When inheriting the :ref:`ref-classes-deploy` class, the
:term:`DEPLOYDIR` points to a temporary work area for deployed files that
@@ -2263,6 +2247,28 @@ system and gives an overview of their function and contents.
For information on policies and on how to use this variable, see the
comments in the ``meta/classes-recipe/compress_doc.bbclass`` file.
:term:`DT_FILES`
Space-separated list of device tree source files to compile using
a recipe that inherits the :ref:`ref-classes-devicetree` class. These
are relative to the :term:`DT_FILES_PATH`.
For convenience, both ``.dts`` and ``.dtb`` extensions can be used.
Use an empty string (default) to build all device tree sources within
the :term:`DT_FILES_PATH` directory.
:term:`DT_FILES_PATH`
When compiling out-of-tree device tree sources using a recipe that
inherits the :ref:`ref-classes-devicetree` class, this variable specifies
the path to the directory containing dts files to build.
Defaults to the :term:`S` directory.
:term:`DT_PADDING_SIZE`
When inheriting the :ref:`ref-classes-devicetree` class, this variable
specifies the size of padding appended to the device tree blob, used as
extra space typically for additional properties during boot.
:term:`EFI_PROVIDER`
When building bootable images (i.e. where ``hddimg``, ``iso``, or
``wic.vmdk`` is in :term:`IMAGE_FSTYPES`), the
@@ -2914,64 +2920,102 @@ system and gives an overview of their function and contents.
For guidance on how to create your own file permissions settings
table file, examine the existing ``fs-perms.txt``.
:term:`FIT_ADDRESS_CELLS`
Specifies the value of the ``#address-cells`` value for the
description of the FIT image.
The default value is set to "1" by the :ref:`ref-classes-kernel-fitimage`
class, which corresponds to 32 bit addresses.
For platforms that need to set 64 bit addresses, for example in
:term:`UBOOT_LOADADDRESS` and :term:`UBOOT_ENTRYPOINT`, you need to
set this value to "2", as two 32 bit values (cells) will be needed
to represent such addresses.
Here is an example setting "0x400000000" as a load address::
FIT_ADDRESS_CELLS = "2"
UBOOT_LOADADDRESS= "0x04 0x00000000"
See `more details about #address-cells <https://elinux.org/Device_Tree_Usage#How_Addressing_Works>`__.
:term:`FIT_CONF_DEFAULT_DTB`
Specifies the default device tree binary (dtb) file for a FIT image
when multiple ones are provided.
This variable is used in the :ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_DESC`
Specifies the description string encoded into a fitImage. The default
value is set by the :ref:`ref-classes-kernel-fitimage`
class as follows::
Specifies the description string encoded into a FIT image. The
default value is set by the :ref:`ref-classes-kernel-fitimage` class as
follows::
FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"
:term:`FIT_GENERATE_KEYS`
Decides whether to generate the keys for signing fitImage if they
don't already exist. The keys are created in :term:`UBOOT_SIGN_KEYDIR`.
The default value is 0.
Decides whether to generate the keys for signing the FIT image if
they don't already exist. The keys are created in
:term:`UBOOT_SIGN_KEYDIR`. The default value is set to "0"
by the :ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_HASH_ALG`
Specifies the hash algorithm used in creating the FIT Image. For e.g. sha256.
Specifies the hash algorithm used in creating the FIT Image.
This variable is set by default to "sha256" by the
:ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_KERNEL_COMP_ALG`
Compression algorithm to use for the kernel image inside the FIT Image.
The compression algorithm to use for the kernel image inside the FIT Image.
At present, the only supported values are "gzip" (default), "lzo" or "none".
If you set this variable to anything other than "none" you may also need
to set :term:`FIT_KERNEL_COMP_ALG_EXTENSION`.
This variable is used in the :ref:`ref-classes-kernel-uboot` class.
:term:`FIT_KERNEL_COMP_ALG_EXTENSION`
File extension corresponding to :term:`FIT_KERNEL_COMP_ALG`. The default
value is ".gz". If you set :term:`FIT_KERNEL_COMP_ALG` to "lzo",
you may want to set this variable to ".lzo".
value is set ".gz" by the :ref:`ref-classes-kernel-uboot` class. If you
set :term:`FIT_KERNEL_COMP_ALG` to "lzo", you may want to set this
variable to ".lzo".
:term:`FIT_KEY_GENRSA_ARGS`
Arguments to openssl genrsa for generating RSA private key for signing
fitImage. The default value is "-F4". i.e. the public exponent 65537 to
use.
Arguments to ``openssl genrsa`` for generating a RSA private key for
signing the FIT image. The default value is set to "-F4" by the
:ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_KEY_REQ_ARGS`
Arguments to openssl req for generating certificate for signing fitImage.
The default value is "-batch -new". batch for non interactive mode
and new for generating new keys.
Arguments to ``openssl req`` for generating a certificate for signing
the FIT image. The default value is "-batch -new" by the
:ref:`ref-classes-kernel-fitimage` class, "batch" for
non interactive mode and "new" for generating new keys.
:term:`FIT_KEY_SIGN_PKCS`
Format for public key certificate used in signing fitImage.
The default value is "x509".
Format for the public key certificate used for signing the FIT image.
The default value is set to "x509" by the
:ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_SIGN_ALG`
Specifies the signature algorithm used in creating the FIT Image.
For e.g. rsa2048.
This variable is set by default to "rsa2048" by the
:ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_PAD_ALG`
Specifies the padding algorithm used in creating the FIT Image.
The default value is "pkcs-1.5".
The default value is set to "pkcs-1.5" by the
:ref:`ref-classes-kernel-fitimage` class.
:term:`FIT_SIGN_INDIVIDUAL`
If set to "1", then the :ref:`ref-classes-kernel-fitimage`
class will sign the kernel, dtb and ramdisk images individually in addition
to signing the fitImage itself. This could be useful if you are
to signing the FIT image itself. This could be useful if you are
intending to verify signatures in another context than booting via
U-Boot.
This variable is set to "0" by default.
:term:`FIT_SIGN_NUMBITS`
Size of private key in number of bits used in fitImage. The default
value is "2048".
Size of the private key used in the FIT image, in number of bits.
The default value for this variable is set to "2048"
by the :ref:`ref-classes-kernel-fitimage` class.
:term:`FONT_EXTRA_RDEPENDS`
When inheriting the :ref:`ref-classes-fontcache` class,
@@ -3583,11 +3627,34 @@ system and gives an overview of their function and contents.
:term:`IMAGE_LINK_NAME`
The name of the output image symlink (which does not include
the version part as :term:`IMAGE_NAME` does). The default value
is derived using the :term:`IMAGE_BASENAME` and :term:`MACHINE`
variables::
is derived using the :term:`IMAGE_BASENAME` and
:term:`IMAGE_MACHINE_SUFFIX` variables::
IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}"
IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}"
.. note::
It is possible to set this to "" to disable symlink creation,
however, you also need to set :term:`IMAGE_NAME` to still have
a reasonable value e.g.::
IMAGE_LINK_NAME = ""
IMAGE_NAME = "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}"
:term:`IMAGE_MACHINE_SUFFIX`
Specifies the by default machine-specific suffix for image file names
(before the extension). The default value is set as follows::
IMAGE_MACHINE_SUFFIX ??= "-${MACHINE}"
The default :term:`DEPLOY_DIR_IMAGE` already has a :term:`MACHINE`
subdirectory, so you may find it unnecessary to also include this suffix
in the name of every image file. If you prefer to remove the suffix you
can set this variable to an empty string::
IMAGE_MACHINE_SUFFIX = ""
(Not to be confused with :term:`IMAGE_NAME_SUFFIX`.)
:term:`IMAGE_MANIFEST`
The manifest file for the image. This file lists all the installed
@@ -3608,12 +3675,11 @@ system and gives an overview of their function and contents.
section in the Yocto Project Overview and Concepts Manual.
:term:`IMAGE_NAME`
The name of the output image files minus the extension. This variable
is derived using the :term:`IMAGE_BASENAME`,
:term:`MACHINE`, and :term:`IMAGE_VERSION_SUFFIX`
variables::
The name of the output image files minus the extension. By default
this variable is set using the :term:`IMAGE_LINK_NAME`, and
:term:`IMAGE_VERSION_SUFFIX` variables::
IMAGE_NAME ?= "${IMAGE_BASENAME}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
IMAGE_NAME ?= "${IMAGE_LINK_NAME}${IMAGE_VERSION_SUFFIX}"
:term:`IMAGE_NAME_SUFFIX`
Suffix used for the image output filename --- defaults to ``".rootfs"``
@@ -3654,12 +3720,7 @@ system and gives an overview of their function and contents.
Defines the package type (i.e. DEB, RPM, IPK, or TAR) used by the
OpenEmbedded build system. The variable is defined appropriately by
the :ref:`ref-classes-package_deb`, :ref:`ref-classes-package_rpm`,
:ref:`ref-classes-package_ipk`, or :ref:`ref-classes-package_tar` class.
.. note::
The ``package_tar`` class is broken and is not supported. It is
recommended that you do not use it.
or :ref:`ref-classes-package_ipk` class.
The :ref:`ref-classes-populate-sdk-*` and :ref:`ref-classes-image`
classes use the :term:`IMAGE_PKGTYPE` for packaging up images and SDKs.
@@ -3837,43 +3898,6 @@ system and gives an overview of their function and contents.
files to be deployed into :term:`IMGDEPLOYDIR`, and the class will take
care of copying them into :term:`DEPLOY_DIR_IMAGE` afterwards.
:term:`INC_PR`
Helps define the recipe revision for recipes that share a common
``include`` file. You can think of this variable as part of the
recipe revision as set from within an include file.
Suppose, for example, you have a set of recipes that are used across
several projects. And, within each of those recipes the revision (its
:term:`PR` value) is set accordingly. In this case, when
the revision of those recipes changes, the burden is on you to find
all those recipes and be sure that they get changed to reflect the
updated version of the recipe. In this scenario, it can get
complicated when recipes that are used in many places and provide
common functionality are upgraded to a new revision.
A more efficient way of dealing with this situation is to set the
:term:`INC_PR` variable inside the ``include`` files that the recipes
share and then expand the :term:`INC_PR` variable within the recipes to
help define the recipe revision.
The following provides an example that shows how to use the
:term:`INC_PR` variable given a common ``include`` file that defines the
variable. Once the variable is defined in the ``include`` file, you
can use the variable to set the :term:`PR` values in each recipe. You
will notice that when you set a recipe's :term:`PR` you can provide more
granular revisioning by appending values to the :term:`INC_PR` variable::
recipes-graphics/xorg-font/xorg-font-common.inc:INC_PR = "r2"
recipes-graphics/xorg-font/encodings_1.0.4.bb:PR = "${INC_PR}.1"
recipes-graphics/xorg-font/font-util_1.3.0.bb:PR = "${INC_PR}.0"
recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
The
first line of the example establishes the baseline revision to be
used for all recipes that use the ``include`` file. The remaining
lines in the example are from individual recipes and show how the
:term:`PR` value is set.
:term:`INCOMPATIBLE_LICENSE`
Specifies a space-separated list of license names (as they would
appear in :term:`LICENSE`) that should be excluded
@@ -3988,46 +4012,31 @@ system and gives an overview of their function and contents.
even if the toolchain's binaries are strippable, there are other files
needed for the build that are not strippable.
:term:`Initramfs`
An Initial RAM Filesystem (:term:`Initramfs`) is an optionally compressed
:wikipedia:`cpio <Cpio>` archive which is extracted
by the Linux kernel into RAM in a special :wikipedia:`tmpfs <Tmpfs>`
instance, used as the initial root filesystem.
:term:`INIT_MANAGER`
Specifies the system init manager to use. Available options are:
This is a replacement for the legacy init RAM disk ("initrd")
technique, booting on an emulated block device in RAM, but being less
efficient because of the overhead of going through a filesystem and
having to duplicate accessed file contents in the file cache in RAM,
as for any block device.
- ``sysvinit``
- ``systemd``
- ``mdev-busybox``
.. note:
With ``sysvinit``, the init manager is set to
:wikipedia:`SysVinit <Init#SysV-style>`, the traditional UNIX init
system. This is the default choice in the Poky distribution, together with
the Udev device manager (see the ":ref:`device-manager`" section).
As far as bootloaders are concerned, :term:`Initramfs` and "initrd"
images are still copied to RAM in the same way. That's why most
most bootloaders refer to :term:`Initramfs` images as "initrd"
or "init RAM disk".
With ``systemd``, the init manager becomes :wikipedia:`systemd <Systemd>`,
which comes with the :wikipedia:`udev <Udev>` device manager.
This kind of mechanism is typically used for two reasons:
With ``mdev-busybox``, the init manager becomes the much simpler BusyBox
init, together with the BusyBox mdev device manager. This is the simplest
and lightest solution, and probably the best choice for low-end systems
with a rather slow CPU and a limited amount of RAM.
- For booting the same kernel binary on multiple systems requiring
different device drivers. The :term:`Initramfs` image is then customized
for each type of system, to include the specific kernel modules
necessary to access the final root filesystem. This technique
is used on all GNU / Linux distributions for desktops and servers.
- For booting faster. As the root filesystem is extracted into RAM,
accessing the first user-space applications is very fast, compared
to having to initialize a block device, to access multiple blocks
from it, and to go through a filesystem having its own overhead.
For example, this allows to display a splashscreen very early,
and to later take care of mounting the final root filesystem and
loading less time-critical kernel drivers.
This cpio archive can either be loaded to RAM by the bootloader,
or be included in the kernel binary.
For information on creating and using an :term:`Initramfs`, see the
":ref:`dev-manual/building:building an initial ram filesystem (Initramfs) image`"
More concretely, this is used to include
``conf/distro/include/init-manager-${INIT_MANAGER}.inc`` into the global
configuration. You can have a look at the
:yocto_git:`meta/conf/distro/include/init-manager-*.inc </poky/tree/meta/conf/distro/include>`
files for more information, and also the ":ref:`init-manager`"
section in the Yocto Project Development Tasks Manual.
:term:`INITRAMFS_DEPLOY_DIR_IMAGE`
@@ -4140,6 +4149,19 @@ system and gives an overview of their function and contents.
:term:`Initramfs`, see the ":ref:`dev-manual/building:building an initial ram filesystem (Initramfs) image`" section
in the Yocto Project Development Tasks Manual.
:term:`INITRAMFS_IMAGE_NAME`
This value needs to stay in sync with :term:`IMAGE_LINK_NAME`, but with
:term:`INITRAMFS_IMAGE` instead of :term:`IMAGE_BASENAME`. The default value
is set as follows:
INITRAMFS_IMAGE_NAME ?= "${@['${INITRAMFS_IMAGE}${IMAGE_MACHINE_SUFFIX}', ''][d.getVar('INITRAMFS_IMAGE') == '']}"
That is, if :term:`INITRAMFS_IMAGE` is set, the value of
:term:`INITRAMFS_IMAGE_NAME` will be set based upon
:term:`INITRAMFS_IMAGE` and :term:`IMAGE_MACHINE_SUFFIX`.
:term:`INITRAMFS_LINK_NAME`
The link name of the initial RAM filesystem image. This variable is
set in the ``meta/classes-recipe/kernel-artifact-names.bbclass`` file as
@@ -4174,10 +4196,7 @@ system and gives an overview of their function and contents.
INITRAMFS_NAME ?= "initramfs-${KERNEL_ARTIFACT_NAME}"
The value of the :term:`KERNEL_ARTIFACT_NAME`
variable, which is set in the same file, has the following value::
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
See :term:`KERNEL_ARTIFACT_NAME` for additional information.
:term:`INITRD`
Indicates list of filesystem images to concatenate and use as an
@@ -4381,9 +4400,9 @@ system and gives an overview of their function and contents.
``meta/classes-recipe/kernel-artifact-names.bbclass`` file, has the
following default value::
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}"
See the :term:`PKGE`, :term:`PKGV`, :term:`PKGR`, :term:`MACHINE`
See the :term:`PKGE`, :term:`PKGV`, :term:`PKGR`, :term:`IMAGE_MACHINE_SUFFIX`
and :term:`IMAGE_VERSION_SUFFIX` variables for additional information.
:term:`KERNEL_CLASSES`
@@ -4391,10 +4410,24 @@ system and gives an overview of their function and contents.
:ref:`ref-classes-kernel` class should inherit. You typically
append this variable to enable extended image types. An example is
":ref:`ref-classes-kernel-fitimage`", which enables
fitImage support and resides in ``meta/classes-recipe/kernel-fitimage.bbclass``.
FIT image support and resides in ``meta/classes-recipe/kernel-fitimage.bbclass``.
You can register custom kernel image types with the
:ref:`ref-classes-kernel` class using this variable.
:term:`KERNEL_DANGLING_FEATURES_WARN_ONLY`
When kernel configuration fragments are missing for some
:term:`KERNEL_FEATURES` specified by layers or BSPs,
building and configuring the kernel stops with an error.
You can turn these errors into warnings by setting the
following in ``conf/local.conf``::
KERNEL_DANGLING_FEATURES_WARN_ONLY = "1"
You will still be warned that runtime issues may occur,
but at least the kernel configuration and build process will
be allowed to continue.
:term:`KERNEL_DEBUG_TIMESTAMPS`
If set to "1", enables timestamping functionality during building
the kernel. The default is "0" to disable this for reproducibility
@@ -4418,6 +4451,16 @@ system and gives an overview of their function and contents.
In order to use this variable, the :ref:`ref-classes-kernel-devicetree`
class must be inherited.
:term:`KERNEL_DEVICETREE_BUNDLE`
When set to "1", this variable allows to bundle the Linux kernel
and the Device Tree Binary together in a single file.
This feature is currently only supported on the "arm" (32 bit)
architecture.
This variable is set to "0" by default by the
:ref:`ref-classes-kernel-devicetree` class.
:term:`KERNEL_DTB_LINK_NAME`
The link name of the kernel device tree binary (DTB). This variable
is set in the ``meta/classes-recipe/kernel-artifact-names.bbclass`` file as
@@ -4441,10 +4484,24 @@ system and gives an overview of their function and contents.
KERNEL_DTB_NAME ?= "${KERNEL_ARTIFACT_NAME}"
The value of the :term:`KERNEL_ARTIFACT_NAME`
variable, which is set in the same file, has the following value::
See :term:`KERNEL_ARTIFACT_NAME` for additional information.
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
:term:`KERNEL_DTBDEST`
This variable, used by the :ref:`ref-classes-kernel-devicetree`
class, allows to change the installation directory of the DTB
(Device Tree Binary) files.
It is set by default to "${KERNEL_IMAGEDEST}" by the
:ref:`ref-classes-kernel` class.
:term:`KERNEL_DTBVENDORED`
This variable, used by the :ref:`ref-classes-kernel-devicetree`,
allows to ignore vendor subdirectories when installing DTB
(Device Tree Binary) files, when it is set to "false".
To keep vendor subdirectories, set this variable to "true".
It is set by default to "false" by the :ref:`ref-classes-kernel` class.
:term:`KERNEL_DTC_FLAGS`
Specifies the ``dtc`` flags that are passed to the Linux kernel build
@@ -4507,10 +4564,7 @@ system and gives an overview of their function and contents.
KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}"
The value of the :term:`KERNEL_ARTIFACT_NAME`
variable, which is set in the same file, has the following value::
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
See :term:`KERNEL_ARTIFACT_NAME` for additional information.
:term:`KERNEL_IMAGE_LINK_NAME`
The link name for the kernel image. This variable is set in the
@@ -4546,11 +4600,7 @@ system and gives an overview of their function and contents.
KERNEL_IMAGE_NAME ?= "${KERNEL_ARTIFACT_NAME}"
The value of the
:term:`KERNEL_ARTIFACT_NAME` variable,
which is set in the same file, has the following value::
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
See :term:`KERNEL_ARTIFACT_NAME` for additional information.
:term:`KERNEL_IMAGETYPE`
The type of kernel to build for a device, usually set by the machine
@@ -4601,6 +4651,14 @@ system and gives an overview of their function and contents.
provide those module configurations, see the
:term:`module_conf_* <module_conf>` variable.
:term:`KERNEL_PACKAGE_NAME`
Specifies the base name of the kernel packages, such as "kernel"
in the kernel packages such as "kernel-modules", "kernel-image" and
"kernel-dbg".
The default value for this variable is set to "kernel" by the
:ref:`ref-classes-kernel` class.
:term:`KERNEL_PATH`
The location of the kernel sources. This variable is set to the value
of the :term:`STAGING_KERNEL_DIR` within the :ref:`ref-classes-module`
@@ -5299,10 +5357,7 @@ system and gives an overview of their function and contents.
MODULE_TARBALL_NAME ?= "${KERNEL_ARTIFACT_NAME}"
The value of the :term:`KERNEL_ARTIFACT_NAME` variable,
which is set in the same file, has the following value::
KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
See :term:`KERNEL_ARTIFACT_NAME` for additional information.
:term:`MOUNT_BASE`
On non-systemd systems (where ``udev-extraconf`` is being used),
@@ -5678,14 +5733,7 @@ system and gives an overview of their function and contents.
You can provide one or more of the following arguments for the
variable::
PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk package_tar"
.. note::
While it is a legal option, the :ref:`ref-classes-package_tar`
class has limited functionality due to no support for package
dependencies by that backend. Therefore, it is recommended that
you do not use it.
PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
The build system uses only the first argument in the list as the
package manager when creating your image or SDK. However, packages
@@ -7040,6 +7088,11 @@ system and gives an overview of their function and contents.
RSUGGESTS:${PN} = "useful_package another_package"
:term:`RUST_CHANNEL`
Specifies which version of Rust to build - "stable", "beta" or "nightly".
The default value is "stable". Set this at your own risk, as values other
than "stable" are not guaranteed to work at a given time.
:term:`S`
The location in the :term:`Build Directory` where
unpacked recipe source code resides. By default, this directory is
@@ -7090,6 +7143,14 @@ system and gives an overview of their function and contents.
The target architecture for the SDK. Typically, you do not directly
set this variable. Instead, use :term:`SDKMACHINE`.
:term:`SDK_ARCHIVE_TYPE`
Specifies the type of archive to create for the SDK. Valid values:
- ``tar.xz`` (default)
- ``zip``
Only one archive type can be specified.
:term:`SDK_BUILDINFO_FILE`
When using the :ref:`ref-classes-image-buildinfo` class,
specifies the file in the SDK to write the build information into. The
@@ -7318,6 +7379,11 @@ system and gives an overview of their function and contents.
:term:`DISTRO_VERSION` and
:term:`METADATA_REVISION` variables.
:term:`SDK_ZIP_OPTIONS`
Specifies extra options to pass to the ``zip`` command when zipping the SDK
(i.e. when :term:`SDK_ARCHIVE_TYPE` is set to "zip"). The default value is
"-y".
:term:`SDKEXTPATH`
The default installation directory for the Extensible SDK. By
default, this directory is based on the :term:`DISTRO`
@@ -7385,9 +7451,9 @@ system and gives an overview of their function and contents.
:term:`SERIAL_CONSOLES`
Defines a serial console (TTY) to enable using
`getty <https://en.wikipedia.org/wiki/Getty_(Unix)>`__. Provide a
value that specifies the baud rate followed by the TTY device name
separated by a semicolon. Use spaces to separate multiple devices::
:wikipedia:`getty <Getty_(Unix)>`. Provide a value that specifies the
baud rate followed by the TTY device name separated by a semicolon.
Use spaces to separate multiple devices::
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
@@ -7629,6 +7695,32 @@ system and gives an overview of their function and contents.
(+ 0.07\% with the tested image), compared to just enabling
:term:`SPDX_INCLUDE_SOURCES`.
:term:`SPDX_CUSTOM_ANNOTATION_VARS`
This option allows to associate `SPDX annotations
<https://spdx.github.io/spdx-spec/v2.3/annotations/>`__ to a recipe,
using the values of variables in the recipe::
ANNOTATION1 = "First annotation for recipe"
ANNOTATION2 = "Second annotation for recipe"
SPDX_CUSTOM_ANNOTATION_VARS = "ANNOTATION1 ANNOTATION2"
This will add a new block to the recipe ``.sdpx.json`` output::
"annotations": [
{
"annotationDate": "2023-04-18T08:32:12Z",
"annotationType": "OTHER",
"annotator": "Tool: oe-spdx-creator - 1.0",
"comment": "ANNOTATION1=First annotation for recipe"
},
{
"annotationDate": "2023-04-18T08:32:12Z",
"annotationType": "OTHER",
"annotator": "Tool: oe-spdx-creator - 1.0",
"comment": "ANNOTATION2=Second annotation for recipe"
}
],
:term:`SPDX_INCLUDE_SOURCES`
This option allows to add a description of the source files used to build
the host tools and the target packages, to the ``spdx.json`` files in
@@ -7702,6 +7794,70 @@ system and gives an overview of their function and contents.
section in the Yocto Project Board Support Package Developer's Guide
for additional information.
:term:`SPL_MKIMAGE_DTCOPTS`
Options for the device tree compiler passed to ``mkimage -D`` feature
while creating a FIT image with the :ref:`ref-classes-uboot-sign`
class. If :term:`SPL_MKIMAGE_DTCOPTS` is not set then the
:ref:`ref-classes-uboot-sign` class will not pass the ``-D`` option
to ``mkimage``.
The default value is set to "" by the :ref:`ref-classes-uboot-config`
class.
:term:`SPL_SIGN_ENABLE`
Enable signing of the U-Boot FIT image. The default value is "0".
This variable is used by the :ref:`ref-classes-uboot-sign` class.
:term:`SPL_SIGN_KEYDIR`
Location of the directory containing the RSA key and certificate used for
signing the U-Boot FIT image, used by the :ref:`ref-classes-uboot-sign`
class.
:term:`SPL_SIGN_KEYNAME`
The name of keys used by the :ref:`ref-classes-kernel-fitimage` class
for signing U-Boot FIT image stored in the :term:`SPL_SIGN_KEYDIR`
directory. If we have for example a ``dev.key`` key and a ``dev.crt``
certificate stored in the :term:`SPL_SIGN_KEYDIR` directory, you will
have to set :term:`SPL_SIGN_KEYNAME` to ``dev``.
:term:`SPLASH`
This variable, used by the :ref:`ref-classes-image` class, allows
to choose splashscreen applications. Set it to the names of packages
for such applications to use. This variable is set by default to
``psplash``.
:term:`SPLASH_IMAGES`
This variable, used by the ``psplash`` recipe, allows to customize
the default splashscreen image.
Specified images in PNG format are converted to ``.h`` files by the recipe,
and are included in the ``psplash`` binary, so you won't find them in
the root filesystem.
To make such a change, it is recommended to customize the
``psplash`` recipe in a custom layer. Here is an example structure for
an ``ACME`` board::
meta-acme/recipes-core/psplash
├── files
│   └── logo-acme.png
└── psplash_%.bbappend
And here are the contents of the ``psplash_%.bbappend`` file in
this example::
SPLASH_IMAGES = "file://logo-acme.png;outsuffix=default"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
You could even add specific configuration options for ``psplash``,
for example::
EXTRA_OECONF += "--disable-startup-msg --enable-img-fullscreen"
For information on append files, see the
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
section.
:term:`SRCREV_FORMAT`
See :term:`bitbake:SRCREV_FORMAT` in the BitBake manual.
@@ -8316,12 +8472,10 @@ system and gives an overview of their function and contents.
will be silently ignored.
:term:`SYSVINIT_ENABLED_GETTYS`
When using
:ref:`SysVinit <dev-manual/new-recipe:enabling system services>`,
When using :ref:`SysVinit <dev-manual/new-recipe:enabling system services>`,
specifies a space-separated list of the virtual terminals that should
run a `getty <https://en.wikipedia.org/wiki/Getty_%28Unix%29>`__
(allowing login), assuming :term:`USE_VT` is not set to
"0".
run a :wikipedia:`getty <Getty_(Unix)>` (allowing login), assuming
:term:`USE_VT` is not set to "0".
The default value for :term:`SYSVINIT_ENABLED_GETTYS` is "1" (i.e. only
run a getty on the first virtual terminal).
@@ -9042,11 +9196,107 @@ system and gives an overview of their function and contents.
creation, the :term:`UBOOT_ENTRYPOINT` variable is passed as a
command-line parameter to the ``uboot-mkimage`` utility.
To pass a 64 bit address for FIT image creation, you will need to set:
- The :term:`FIT_ADDRESS_CELLS` variable for FIT image creation.
- The :term:`UBOOT_FIT_ADDRESS_CELLS` variable for U-Boot FIT image creation.
This variable is used by the :ref:`ref-classes-kernel-fitimage`,
:ref:`ref-classes-kernel-uimage`, :ref:`ref-classes-kernel`,
:ref:`ref-classes-uboot-config` and :ref:`ref-classes-uboot-sign`
classes.
:term:`UBOOT_FIT_ADDRESS_CELLS`
Specifies the value of the ``#address-cells`` value for the
description of the U-Boot FIT image.
The default value is set to "1" by the :ref:`ref-classes-uboot-sign`
class, which corresponds to 32 bit addresses.
For platforms that need to set 64 bit addresses in
:term:`UBOOT_LOADADDRESS` and :term:`UBOOT_ENTRYPOINT`, you need to
set this value to "2", as two 32 bit values (cells) will be needed
to represent such addresses.
Here is an example setting "0x400000000" as a load address::
UBOOT_FIT_ADDRESS_CELLS = "2"
UBOOT_LOADADDRESS= "0x04 0x00000000"
See `more details about #address-cells <https://elinux.org/Device_Tree_Usage#How_Addressing_Works>`__.
:term:`UBOOT_FIT_DESC`
Specifies the description string encoded into a U-Boot fitImage. The default
value is set by the :ref:`ref-classes-uboot-sign` class as follows::
UBOOT_FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"
:term:`UBOOT_FIT_GENERATE_KEYS`
Decides whether to generate the keys for signing the U-Boot fitImage if
they don't already exist. The keys are created in :term:`SPL_SIGN_KEYDIR`.
The default value is "0".
Enable this as follows::
UBOOT_FIT_GENERATE_KEYS = "1"
This variable is used in the :ref:`ref-classes-uboot-sign` class.
:term:`UBOOT_FIT_HASH_ALG`
Specifies the hash algorithm used in creating the U-Boot FIT Image.
It is set by default to ``sha256`` by the :ref:`ref-classes-uboot-sign`
class.
:term:`UBOOT_FIT_KEY_GENRSA_ARGS`
Arguments to ``openssl genrsa`` for generating a RSA private key for
signing the U-Boot FIT image. The default value of this variable
is set to "-F4" by the :ref:`ref-classes-uboot-sign` class.
:term:`UBOOT_FIT_KEY_REQ_ARGS`
Arguments to ``openssl req`` for generating a certificate for signing
the U-Boot FIT image. The default value is "-batch -new" by the
:ref:`ref-classes-uboot-sign` class, "batch" for
non interactive mode and "new" for generating new keys.
:term:`UBOOT_FIT_KEY_SIGN_PKCS`
Format for the public key certificate used for signing the U-Boot FIT
image. The default value is set to "x509" by the
:ref:`ref-classes-uboot-sign` class.
:term:`UBOOT_FIT_SIGN_ALG`
Specifies the signature algorithm used in creating the U-Boot FIT Image.
This variable is set by default to "rsa2048" by the
:ref:`ref-classes-uboot-sign` class.
:term:`UBOOT_FIT_SIGN_NUMBITS`
Size of the private key used in signing the U-Boot FIT image, in number
of bits. The default value for this variable is set to "2048"
by the :ref:`ref-classes-uboot-sign` class.
:term:`UBOOT_FITIMAGE_ENABLE`
This variable allows to generate a FIT image for U-Boot, which is one
of the ways to implement a verified boot process.
Its default value is "0", so set it to "1" to enable this functionality::
UBOOT_FITIMAGE_ENABLE = "1"
See the :ref:`ref-classes-uboot-sign` class for details.
:term:`UBOOT_LOADADDRESS`
Specifies the load address for the U-Boot image. During U-Boot image
creation, the :term:`UBOOT_LOADADDRESS` variable is passed as a
command-line parameter to the ``uboot-mkimage`` utility.
To pass a 64 bit address, you will also need to set:
- The :term:`FIT_ADDRESS_CELLS` variable for FIT image creation.
- The :term:`UBOOT_FIT_ADDRESS_CELLS` variable for U-Boot FIT image creation.
This variable is used by the :ref:`ref-classes-kernel-fitimage`,
:ref:`ref-classes-kernel-uimage`, :ref:`ref-classes-kernel`,
:ref:`ref-classes-uboot-config` and :ref:`ref-classes-uboot-sign`
classes.
:term:`UBOOT_LOCALVERSION`
Appends a string to the name of the local version of the U-Boot
image. For example, assuming the version of the U-Boot image built
@@ -9075,11 +9325,13 @@ system and gives an overview of their function and contents.
script or function if desired. The default is "uboot-mkimage".
:term:`UBOOT_MKIMAGE_DTCOPTS`
Options for the device tree compiler passed to mkimage '-D' feature while
creating FIT image in :ref:`ref-classes-kernel-fitimage` class. If
:term:`UBOOT_MKIMAGE_DTCOPTS` is not set then
:ref:`ref-classes-kernel-fitimage` will not pass the ``-D`` option to
mkimage.
Options for the device tree compiler passed to ``mkimage -D`` feature
while creating a FIT image with the :ref:`ref-classes-kernel-fitimage`
class. If :term:`UBOOT_MKIMAGE_DTCOPTS` is not set then the
:ref:`ref-classes-kernel-fitimage` class will not pass the ``-D`` option
to ``mkimage``.
This variable is also used by the :ref:`ref-classes-uboot-sign` class.
:term:`UBOOT_MKIMAGE_KERNEL_TYPE`
Specifies the type argument for the kernel as passed to ``uboot-mkimage``.
@@ -9112,15 +9364,21 @@ system and gives an overview of their function and contents.
:term:`UBOOT_SIGN_ENABLE`
Enable signing of FIT image. The default value is "0".
This variable is used by the :ref:`ref-classes-kernel-fitimage`,
:ref:`ref-classes-uboot-config` and :ref:`ref-classes-uboot-sign`
classes.
:term:`UBOOT_SIGN_KEYDIR`
Location of the directory containing the RSA key and
certificate used for signing FIT image.
Location of the directory containing the RSA key and certificate used for
signing FIT image, used by the :ref:`ref-classes-kernel-fitimage` and
:ref:`ref-classes-uboot-sign` classes.
:term:`UBOOT_SIGN_KEYNAME`
The name of keys used for signing U-Boot FIT image stored in
:term:`UBOOT_SIGN_KEYDIR` directory. For e.g. dev.key key and dev.crt
certificate stored in :term:`UBOOT_SIGN_KEYDIR` directory will have
:term:`UBOOT_SIGN_KEYNAME` set to "dev".
The name of keys used by the :ref:`ref-classes-kernel-fitimage` class
for signing U-Boot FIT image stored in the :term:`UBOOT_SIGN_KEYDIR`
directory. If we have for example a ``dev.key`` key and a ``dev.crt``
certificate stored in the :term:`UBOOT_SIGN_KEYDIR` directory, you will
have to set :term:`UBOOT_SIGN_KEYNAME` to ``dev``.
:term:`UBOOT_SUFFIX`
Points to the generated U-Boot extension. For example, ``u-boot.sb``
@@ -9228,9 +9486,8 @@ system and gives an overview of their function and contents.
:term:`USE_VT`
When using
:ref:`SysVinit <dev-manual/new-recipe:enabling system services>`,
determines whether or not to run a
`getty <https://en.wikipedia.org/wiki/Getty_%28Unix%29>`__ on any
virtual terminals in order to enable logging in through those
determines whether or not to run a :wikipedia:`getty <Getty_(Unix)>`
on any virtual terminals in order to enable logging in through those
terminals.
The default value used for :term:`USE_VT` is "1" when no default value is
@@ -9387,6 +9644,18 @@ system and gives an overview of their function and contents.
file is not persistent. You can override this setting by setting the
variable to "no" to make the log directory persistent.
:term:`VOLATILE_TMP_DIR`
Specifies the persistence of the target's ``/tmp`` directory.
By default, :term:`VOLATILE_TMP_DIR` is set to "yes", in which case
``/tmp`` links to a directory which resides in RAM in a ``tmpfs``
filesystem.
If instead, you want the ``/tmp`` directory to be persistent, set the
variable to "no" to make it a regular directory in the root filesystem.
This supports both sysvinit and systemd based systems.
:term:`WARN_QA`
Specifies the quality assurance checks whose failures are reported as
warnings by the OpenEmbedded build system. You set this variable in

View File

@@ -293,11 +293,11 @@ example:
# CC=i586-poky-linux-gcc -m32 -march=i586 --sysroot=/opt/poky/2.5/sysroots/i586-poky-linux
# CC="gcc"
all: main.o module.o
${CC} main.o module.o -o target_bin
${CC} main.o module.o -o target_bin
main.o: main.c module.h
${CC} -I . -c main.c
module.o: module.c
module.h ${CC} -I . -c module.c
module.o: module.c module.h
${CC} -I . -c module.c
clean:
rm -rf *.o
rm target_bin

View File

@@ -26,8 +26,8 @@ ourversion = None
if len(sys.argv) == 2:
ourversion = sys.argv[1]
activereleases = ["langdale", "kirkstone", "dunfell"]
devbranch = "mickledore"
activereleases = ["mickledore", "kirkstone", "dunfell"]
devbranch = "nanbield"
ltsseries = ["kirkstone", "dunfell"]
# used by run-docs-builds to get the default page
@@ -36,6 +36,7 @@ if ourversion == "getlatest":
sys.exit(0)
release_series = collections.OrderedDict()
release_series["nanbield"] = "4.3"
release_series["mickledore"] = "4.2"
release_series["langdale"] = "4.1"
release_series["kirkstone"] = "4.0"
@@ -66,6 +67,7 @@ release_series["laverne"] = "0.9"
bitbake_mapping = {
"nanbield" : "2.6",
"mickledore" : "2.4",
"langdale" : "2.2",
"kirkstone" : "2.0",

View File

@@ -2,7 +2,7 @@
DISTRO_FEATURES:append = " pam"
# Use the LTSI Kernel
PREFERRED_VERSION_linux-yocto = "5.15%"
PREFERRED_VERSION_linux-yocto = "6.1%"
# Ensure the kernel nfs server is enabled
KERNEL_FEATURES:append:pn-linux-yocto = " features/nfsd/nfsd-enable.scc"

View File

@@ -69,3 +69,6 @@ INIT_MANAGER ?= "${POKY_INIT_MANAGER}"
# We need debug symbols so that SPDX license manifests for the kernel work
KERNEL_EXTRA_FEATURES:append = " features/debug/debug-kernel.scc"
# Enable creation of SPDX manifests by default
INHERIT += "create-spdx"

View File

@@ -7,6 +7,8 @@ HOMEPAGE = "https://gitlab.freedesktop.org/dbus/zbus/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b377b220f43d747efdec40d69fcaa69d"
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'glib-2.0', '', d)}"
SRC_URI = " \
git://gitlab.freedesktop.org/dbus/zbus;protocol=https;branch=main;subpath=zvariant \
file://0001-Tweak-zvariant-crate-config.patch;striplevel=2 \
@@ -21,10 +23,15 @@ python do_clean_lic_file_symlink() {
addtask clean_lic_file_symlink after do_unpack before do_patch
inherit cargo cargo-update-recipe-crates
inherit ptest-cargo pkgconfig cargo-update-recipe-crates
# Remove this when the recipe is reproducible
EXCLUDE_FROM_WORLD = "1"
require ${BPN}-crates.inc
require ${BPN}-git-crates.inc
# zvariant is an indermediate product for the zbus project
# and so, it provided only a static lib (rlib) which fall only
# in -dev package
ALLOW_EMPTY:${PN} = "1"

View File

@@ -1,3 +1,5 @@
SUMMARY = "Recipe with an alias of an SPDX license"
DESCRIPTION = "Is licensed with an alias of an SPDX license to be used for testing"
LICENSE = "GPLv3"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -1,3 +1,5 @@
SUMMARY = "Recipe with an SPDX license"
DESCRIPTION = "Is licensed with an SPDX license to be used for testing"
LICENSE = "GPL-3.0-only"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -1,3 +1,5 @@
SUMMARY = "Recipe with multiple SPDX licenses"
DESCRIPTION = "Is licensed with multiple SPDX licenses to be used for testing"
LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-3.0-only"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -1,3 +1,5 @@
SUMMARY = "Recipe with a non-SPDX license"
DESCRIPTION = "Is licensed with a non-SPDX license to be used for testing"
LICENSE = "FooLicense"
EXCLUDE_FROM_WORLD = "1"

View File

@@ -0,0 +1,8 @@
#include <stdio.h>
int main(void)
{
printf("Hello world!\n");
return 0;
}

View File

@@ -0,0 +1,19 @@
DESCRIPTION = "Simple helloworld application -- selftest variant"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://helloworld.c"
S = "${WORKDIR}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} helloworld.c -o helloworld
}
do_install() {
install -d ${D}${bindir}
install -m 0755 helloworld ${D}${bindir}
}
BBCLASSEXTEND = "native nativesdk"

View File

@@ -0,0 +1,7 @@
# short-description: image to test part-name in GPT partitions
part --fstype=ext4 --part-name boot-A --label boot --size 1M --align 1024
part / --source rootfs --fstype=ext4 --part-name root-A --align 1024
part --fstype=ext4 --label ext-space --size 1M --align 1024
bootloader --ptable gpt

View File

@@ -28,7 +28,6 @@ Hardware Reference Boards
The following boards are supported by the meta-yocto-bsp layer:
* Texas Instruments Beaglebone (beaglebone-yocto)
* Ubiquiti Networks EdgeRouter Lite (edgerouter)
* General IA platforms (genericx86 and genericx86-64)
For more information see the board's section below. The appropriate MACHINE
@@ -48,7 +47,6 @@ Consumer Devices
The following consumer devices are supported by the meta-yocto-bsp layer:
* Intel x86 based PCs and devices (genericx86)
* Ubiquiti Networks EdgeRouter Lite (edgerouter)
For more information see the device's section below. The appropriate MACHINE
variable value corresponding to the device is given in brackets.
@@ -153,113 +151,3 @@ From a Linux system with access to the image files perform the following steps:
# dd if=core-image-minimal-beaglebone-yocto.wic of=/dev/sdb
3. Insert the SD card into the Beaglebone and boot the board.
Ubiquiti Networks EdgeRouter Lite (edgerouter)
==============================================
The EdgeRouter Lite is part of the EdgeMax series. It is a MIPS64 router
(based on the Cavium Octeon processor) with 512MB of RAM, which uses an
internal USB pendrive for storage.
Setup instructions
------------------
You will need the following:
* RJ45 -> serial ("rollover") cable connected from your PC to the CONSOLE
port on the device
* Ethernet connected to the first ethernet port on the board
If using NFS as part of the setup process, you will also need:
* NFS root setup on your workstation
* TFTP server installed on your workstation (if fetching the kernel from
TFTP, see below).
--- Preparation ---
Build an image (e.g. core-image-minimal) using "edgerouter" as the MACHINE.
In the following instruction it is based on core-image-minimal. Another target
may be similiar with it.
--- Booting from NFS root / kernel via TFTP ---
Load the kernel, and boot the system as follows:
1. Get the kernel (vmlinux) file from the tmp/deploy/images/edgerouter
directory, and make them available on your TFTP server.
2. Connect the board's first serial port to your workstation and then start up
your favourite serial terminal so that you will be able to interact with
the serial console. If you don't have a favourite, picocom is suggested:
$ picocom /dev/ttyS0 -b 115200
3. Power up or reset the board and press a key on the terminal when prompted
to get to the U-Boot command line
4. Set up the environment in U-Boot:
=> setenv ipaddr <board ip>
=> setenv serverip <tftp server ip>
5. Download the kernel and boot:
=> tftp $loadaddr vmlinux
=> bootoctlinux $loadaddr coremask=0x3 root=/dev/nfs rw nfsroot=<nfsroot ip>:<rootfs path> ip=<board ip>:<server ip>:<gateway ip>:<netmask>:edgerouter:eth0:off mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)
--- Booting from USB disk ---
To boot from the USB disk, you either need to remove it from the edgerouter
box and populate it from another computer, or use a previously booted NFS
image and populate from the edgerouter itself.
Type 1: Use partitioned image
-----------------------------
Steps:
1. Remove the USB disk from the edgerouter and insert it into a computer
that has access to your build artifacts.
2. Flash the image.
# dd if=core-image-minimal-edgerouter.wic of=/dev/sdb
3. Insert USB disk into the edgerouter and boot it.
Type 2: NFS
-----------
Note: If you place the kernel on the ext3 partition, you must re-create the
ext3 filesystem, since the factory u-boot can only handle 128 byte inodes and
cannot read the partition otherwise.
These boot instructions assume that you have recreated the ext3 filesystem with
128 byte inodes, you have an updated uboot or you are running and image capable
of making the filesystem on the board itself.
1. Boot from NFS root
2. Mount the USB disk partition 2 and then extract the contents of
tmp/deploy/core-image-XXXX.tar.bz2 into it.
Before starting, copy core-image-minimal-xxx.tar.bz2 and vmlinux into
rootfs path on your workstation.
and then,
# mount /dev/sda2 /media/sda2
# tar -xvjpf core-image-minimal-XXX.tar.bz2 -C /media/sda2
# cp vmlinux /media/sda2/boot/vmlinux
# umount /media/sda2
# reboot
3. Reboot the board and press a key on the terminal when prompted to get to the U-Boot
command line:
# reboot
4. Load the kernel and boot:
=> ext2load usb 0:2 $loadaddr boot/vmlinux
=> bootoctlinux $loadaddr coremask=0x3 root=/dev/sda2 rw rootwait mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)

View File

@@ -1,26 +0,0 @@
#@TYPE: Machine
#@NAME: Edgerouter
#@DESCRIPTION: Machine configuration for a generic edgerouter
require conf/machine/include/mips/tune-mips64.inc
MACHINE_FEATURES = "pci ext2 ext3 serial"
KERNEL_IMAGETYPE = "vmlinux"
KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "6.1%"
SERIAL_CONSOLES = "115200;ttyS0"
USE_VT ?= "0"
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
IMAGE_FSTYPES ?= "jffs2 tar.bz2 wic wic.bmap"
JFFS2_ERASEBLOCK = "0x10000"
WKS_FILE ?= "edgerouter.wks"
IMAGE_BOOT_FILES ?= "vmlinux;vmlinux.64"
do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"

View File

@@ -1,89 +0,0 @@
# Copyright (C) 2014 Intel Corporation
#
# Released under the MIT license (see COPYING.MIT)
# This module adds support to testimage.bbclass to deploy images and run
# tests on a Ubiquiti Networks EdgeRouter Lite. The device must be set up
# to boot into the master image already - the easiest way to do that is as
# follows:
#
# 1. Take out the internal USB drive and plug it into your PC
# 2. Repartition the USB drive so that you have three partitions in this
# order:
# 1: vfat, labelled "boot" (it will need to be formatted with mkfs.vfat
# for this to be possible, since FAT partitions formatted under
# DOS/Windows will only support uppercase labels)
# 2: ext3 (for master image) labelled "testmaster"
# 3: ext3 (for image under test) labelled "testrootfs"
# 3. Copy the kernel to be used by the master image to the FAT partition
# (it should be named "vmlinux.64" with the factory u-boot configuration)
# 4. Install the master image onto the "testmaster" ext3 partition. If
# you do this by just extracting the contents of an image onto the
# partition, you will also likely need to create the master image marker
# file /etc/masterimage within this partition so that we can tell when
# we're booted into it that it is the master image.
# 5. Put the USB drive back into the device, and ensure the console port
# and first ethernet port are connected before powering on
#
# TEST_SERIALCONTROL_CMD will need to be set in local.conf so that we can
# interact with u-boot over the serial console port.
import os
import bb
import time
import subprocess
import sys
import pexpect
from oeqa.controllers.controllerimage import ControllerImageHardwareTarget
class EdgeRouterTarget(ControllerImageHardwareTarget):
def __init__(self, d):
super(EdgeRouterTarget, self).__init__(d)
self.image_fstype = self.get_image_fstype(d)
self.deploy_cmds = [
'mount -L boot /boot',
'mkdir -p /mnt/testrootfs',
'mount -L testrootfs /mnt/testrootfs',
'cp ~/test-kernel /boot',
'rm -rf /mnt/testrootfs/*',
'tar xvf ~/test-rootfs.%s -C /mnt/testrootfs' % self.image_fstype
]
if not self.serialcontrol_cmd:
bb.fatal("This TEST_TARGET needs a TEST_SERIALCONTROL_CMD defined in local.conf.")
def _deploy(self):
self.controller.run("umount /mnt/testrootfs;")
self.controller.ignore_status = False
self.controller.copy_to(self.kernel, "~/test-kernel")
self.controller.copy_to(self.rootfs, "~/test-rootfs.%s" % self.image_fstype)
for cmd in self.deploy_cmds:
self.controller.run(cmd)
def _start(self, params=None):
self.power_cycle(self.controller)
try:
serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
serialconn.expect("U-Boot")
serialconn.sendline("a")
serialconn.expect("Octeon ubnt_e100#")
serialconn.sendline("fatload usb 0:1 $loadaddr test-kernel")
serialconn.expect(" bytes read")
serialconn.expect("Octeon ubnt_e100#")
serialconn.sendline("bootoctlinux $loadaddr coremask=0x3 root=/dev/sda3 rw rootwait mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)")
serialconn.expect("login:", timeout=120)
serialconn.close()
except pexpect.ExceptionPexpect as e:
bb.fatal('Serial interaction failed: %s' % str(e))
def _wait_until_booted(self):
try:
serialconn = pexpect.spawn(self.serialcontrol_cmd, env=self.origenv, logfile=sys.stdout)
serialconn.expect("login:", timeout=120)
serialconn.close()
except pexpect.ExceptionPexpect as e:
bb.fatal('Serial interaction failed: %s' % str(e))

View File

@@ -1,6 +1,5 @@
KBRANCH:genericx86 = "standard/base"
KBRANCH:genericx86-64 = "standard/base"
KBRANCH:edgerouter = "standard/edgerouter"
KBRANCH:beaglebone-yocto = "standard/beaglebone"
KMACHINE:genericx86 ?= "common-pc"
@@ -9,5 +8,4 @@ KMACHINE:beaglebone-yocto ?= "beaglebone"
COMPATIBLE_MACHINE:genericx86 = "genericx86"
COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE:edgerouter = "edgerouter"
COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"

View File

@@ -1,23 +0,0 @@
KBRANCH:genericx86 = "v5.15/standard/base"
KBRANCH:genericx86-64 = "v5.15/standard/base"
KBRANCH:edgerouter = "v5.15/standard/edgerouter"
KBRANCH:beaglebone-yocto = "v5.15/standard/beaglebone"
KMACHINE:genericx86 ?= "common-pc"
KMACHINE:genericx86-64 ?= "common-pc-64"
KMACHINE:beaglebone-yocto ?= "beaglebone"
SRCREV_machine:genericx86 ?= "024d08fb706170a9723e9751e505681f9d4c7ab6"
SRCREV_machine:genericx86-64 ?= "024d08fb706170a9723e9751e505681f9d4c7ab6"
SRCREV_machine:edgerouter ?= "2ac6461adfceb54f47a756046fbdd142adce4301"
SRCREV_machine:beaglebone-yocto ?= "26aee42556a000123129552b73de6bf2ac039034"
COMPATIBLE_MACHINE:genericx86 = "genericx86"
COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE:edgerouter = "edgerouter"
COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
LINUX_VERSION:genericx86 = "5.15.103"
LINUX_VERSION:genericx86-64 = "5.15.103"
LINUX_VERSION:edgerouter = "5.15.103"
LINUX_VERSION:beaglebone-yocto = "5.15.103"

View File

@@ -1,6 +1,5 @@
KBRANCH:genericx86 = "v6.1/standard/base"
KBRANCH:genericx86-64 = "v6.1/standard/base"
KBRANCH:edgerouter = "v6.1/standard/edgerouter"
KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone"
KMACHINE:genericx86 ?= "common-pc"
@@ -9,15 +8,12 @@ KMACHINE:beaglebone-yocto ?= "beaglebone"
SRCREV_machine:genericx86 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
SRCREV_machine:genericx86-64 ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
SRCREV_machine:edgerouter ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
SRCREV_machine:beaglebone-yocto ?= "423e1996694b61fbfc8ec3bf062fc6461d64fde1"
COMPATIBLE_MACHINE:genericx86 = "genericx86"
COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
COMPATIBLE_MACHINE:edgerouter = "edgerouter"
COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
LINUX_VERSION:genericx86 = "6.1.20"
LINUX_VERSION:genericx86-64 = "6.1.20"
LINUX_VERSION:edgerouter = "6.1.20"
LINUX_VERSION:beaglebone-yocto = "6.1.20"

View File

@@ -1,4 +0,0 @@
# short-description: Create SD card image for Edgerouter
# long-description: Create a partitioned SD card image for MIPS64 Edgerouter reference hardware.
part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --active --align 4 --size 16
part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 4

View File

@@ -516,12 +516,12 @@ python () {
check_license_format(d)
unmatched_license_flags = check_license_flags(d)
if unmatched_license_flags:
if len(unmatched_license_flags) == 1:
message = "because it has a restricted license '{0}'. Which is not listed in LICENSE_FLAGS_ACCEPTED".format(unmatched_license_flags[0])
else:
message = "because it has restricted licenses {0}. Which are not listed in LICENSE_FLAGS_ACCEPTED".format(
", ".join("'{0}'".format(f) for f in unmatched_license_flags))
bb.debug(1, "Skipping %s %s" % (pn, message))
for unmatched in unmatched_license_flags:
message = "Has a restricted license '%s' which is not listed in your LICENSE_FLAGS_ACCEPTED." % unmatched
details = d.getVarFlag("LICENSE_FLAGS_DETAILS", unmatched)
if details:
message += " For further details, see %s." % details
bb.debug(1, "Skipping %s: %s" % (pn, message))
raise bb.parse.SkipRecipe(message)
# If we're building a target package we need to use fakeroot (pseudo)

View File

@@ -617,22 +617,14 @@ def check_32bit_symbols(path, packagename, d, elf, messages):
# At this point, any symbol information is stripped into the debug
# package, so that is the only place we will find them.
elfpath = elfpath.replace('.debug/', '')
allowed = (
d.getVarFlag(
'INSANE_SKIP:' + d.getVar('PN'), elfpath.replace('/', '_')
) or ''
).split()
usedapis -= set(allowed)
if usedapis:
allowed = "32bit-time" in (d.getVar('INSANE_SKIP') or '').split()
if not allowed:
msgformat = elfpath + " uses 32-bit api '%s'"
for sym in usedapis:
oe.qa.add_message(messages, '32bit-time', msgformat % sym)
oe.qa.add_message(
messages, '32bit-time',
'Suppress with INSANE_SKIP:%s[%s] = "%s"' % (
d.getVar('PN'), elfpath.replace('/', '_'),
' '.join(usedapis)
)
'Suppress with INSANE_SKIP = "32bit-time"'
)
# Check license variables

View File

@@ -229,7 +229,7 @@ def find_license_files(d):
bb.fatal('%s: %s' % (d.getVar('PF'), exc))
except SyntaxError:
oe.qa.handle_error("license-syntax",
"%s: Failed to parse it's LICENSE field." % (d.getVar('PF')), d)
"%s: Failed to parse LICENSE: %s" % (d.getVar('PF'), d.getVar('LICENSE')), d)
# Add files from LIC_FILES_CHKSUM to list of license files
lic_chksum_paths = defaultdict(OrderedDict)
for path, data in sorted(lic_chksums.items()):

View File

@@ -125,8 +125,8 @@ do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}"
do_populate_sysroot[vardepsexclude] += "BB_MULTI_PROVIDER_ALLOWED"
POPULATESYSROOTDEPS = ""
POPULATESYSROOTDEPS:class-target = "virtual/${MLPREFIX}${HOST_PREFIX}binutils:do_populate_sysroot"
POPULATESYSROOTDEPS:class-nativesdk = "virtual/${HOST_PREFIX}binutils-crosssdk:do_populate_sysroot"
POPULATESYSROOTDEPS:class-target = "virtual/${HOST_PREFIX}binutils:do_populate_sysroot"
POPULATESYSROOTDEPS:class-nativesdk = "virtual/${HOST_PREFIX}binutils:do_populate_sysroot"
do_populate_sysroot[depends] += "${POPULATESYSROOTDEPS}"
SSTATETASKS += "do_populate_sysroot"
@@ -654,7 +654,7 @@ python staging_taskhandler() {
bbtasks = e.tasklist
for task in bbtasks:
deps = d.getVarFlag(task, "depends")
if task == "do_configure" or (deps and "populate_sysroot" in deps):
if task != 'do_prepare_recipe_sysroot' and (task == "do_configure" or (deps and "populate_sysroot" in deps)):
d.prependVarFlag(task, "prefuncs", "extend_recipe_sysroot ")
}
staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess"

View File

@@ -61,7 +61,6 @@ OECMAKE_PERLNATIVE_DIR ??= ""
OECMAKE_EXTRA_ROOT_PATH ?= ""
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY"
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM:class-native = "BOTH"
EXTRA_OECMAKE:append = " ${PACKAGECONFIG_CONFARGS}"
@@ -94,6 +93,8 @@ def map_host_arch_to_uname_arch(host_arch):
cmake_do_generate_toolchain_file() {
if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
cmake_crosscompiling="set( CMAKE_CROSSCOMPILING FALSE )"
else
cmake_sysroot="set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )"
fi
cat > ${WORKDIR}/toolchain.cmake <<EOF
# CMake system name must be something like "Linux".
@@ -126,6 +127,8 @@ set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
set( CMAKE_PROGRAM_PATH "/" )
$cmake_sysroot
# Use qt.conf settings
set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf )

View File

@@ -53,8 +53,10 @@ KERNEL_INCLUDE ??= " \
DT_INCLUDE[doc] = "Search paths to be made available to both the device tree compiler and preprocessor for inclusion."
DT_INCLUDE ?= "${DT_FILES_PATH} ${KERNEL_INCLUDE}"
DT_FILES_PATH[doc] = "Defaults to source directory, can be used to select dts files that are not in source (e.g. generated)."
DT_FILES_PATH[doc] = "Path to the directory containing dts files to build. Defaults to source directory."
DT_FILES_PATH ?= "${S}"
DT_FILES[doc] = "Space-separated list of dts or dtb files (relative to DT_FILES_PATH) to build. If empty, all dts files are built."
DT_FILES ?= ""
DT_PADDING_SIZE[doc] = "Size of padding on the device tree blob, used as extra space typically for additional properties during boot."
DT_PADDING_SIZE ??= "0x3000"
@@ -125,9 +127,12 @@ def devicetree_compile(dtspath, includes, d):
subprocess.run(dtcargs, check = True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
python devicetree_do_compile() {
import re
includes = expand_includes("DT_INCLUDE", d)
dtfiles = d.getVar("DT_FILES").split()
dtfiles = [ re.sub(r"\.dtbo?$", ".dts", dtfile) for dtfile in dtfiles ]
listpath = d.getVar("DT_FILES_PATH")
for dts in os.listdir(listpath):
for dts in dtfiles or os.listdir(listpath):
dtspath = os.path.join(listpath, dts)
try:
if not(os.path.isfile(dtspath)) or not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):

View File

@@ -10,7 +10,8 @@
# This variable is set to True if api-documentation is in
# DISTRO_FEATURES, and False otherwise.
GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'True', 'False', d)}"
GIDOCGEN_ENABLED ?= "${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation gobject-introspection-data', 'True', 'False', d)}"
# When building native recipes, disable gi-docgen, as it is not necessary,
# pulls in additional dependencies, and makes build times longer
GIDOCGEN_ENABLED:class-native = "False"

View File

@@ -1,15 +0,0 @@
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
# Handle Glide Vendor Package Management use
#
# Copyright 2018 (C) O.S. Systems Software LTDA.
DEPENDS:append = " glide-native"
do_compile:prepend() {
( cd ${B}/src/${GO_IMPORT} && glide install )
}

View File

@@ -37,7 +37,7 @@ GOMIPS:mips:class-target[export] = "1"
DEPENDS_GOLANG:class-target = "virtual/${TUNE_PKGARCH}-go virtual/${TARGET_PREFIX}go-runtime"
DEPENDS_GOLANG:class-native = "go-native"
DEPENDS_GOLANG:class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk virtual/${TARGET_PREFIX}go-runtime"
DEPENDS_GOLANG:class-nativesdk = "virtual/${TARGET_PREFIX}go virtual/${TARGET_PREFIX}go-runtime"
DEPENDS:append = " ${DEPENDS_GOLANG}"
@@ -132,7 +132,7 @@ go_do_install() {
tar -C ${B} -cf - --exclude-vcs --exclude '*.test' --exclude 'testdata' pkg | \
tar -C ${D}${libdir}/go --no-same-owner -xf -
if [ -n "`ls ${B}/${GO_BUILD_BINDIR}/`" ]; then
if ls ${B}/${GO_BUILD_BINDIR}/* >/dev/null 2>/dev/null ; then
install -d ${D}${bindir}
install -m 0755 ${B}/${GO_BUILD_BINDIR}/* ${D}${bindir}/
fi

View File

@@ -35,12 +35,10 @@ EXTRA_OEMESON:prepend:class-nativesdk = "${@['', '${GIRMESONBUILD}'][d.getVar('G
# Generating introspection data depends on a combination of native and target
# introspection tools, and qemu to run the target tools.
DEPENDS:append:class-target = " gobject-introspection gobject-introspection-native qemu-native"
DEPENDS:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'gobject-introspection qemu-native', '', d)}"
# Even though introspection is disabled on -native, gobject-introspection package is still
# needed for m4 macros.
DEPENDS:append:class-native = " gobject-introspection-native"
DEPENDS:append:class-nativesdk = " gobject-introspection-native"
# Even when introspection is disabled, the gobject-introspection package is still needed for m4 macros.
DEPENDS:append = " gobject-introspection-native"
# This is used by introspection tools to find .gir includes
export XDG_DATA_DIRS = "${STAGING_DATADIR}:${STAGING_LIBDIR}"
@@ -49,7 +47,7 @@ do_configure:prepend:class-target () {
# introspection.m4 pre-packaged with upstream tarballs does not yet
# have our fixes
mkdir -p ${S}/m4
cp ${STAGING_DIR_TARGET}/${datadir}/aclocal/introspection.m4 ${S}/m4
cp ${STAGING_DIR_NATIVE}/${datadir}/aclocal/introspection.m4 ${S}/m4
}
# .typelib files are needed at runtime and so they go to the main package (so

View File

@@ -38,7 +38,7 @@ do_bootimg[depends] += "dosfstools-native:do_populate_sysroot \
LABELS_LIVE ?= "boot install"
ROOT_LIVE ?= "root=/dev/ram0"
INITRD_IMAGE_LIVE ?= "${MLPREFIX}core-image-minimal-initramfs"
INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}"
INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}${IMAGE_MACHINE_SUFFIX}.${INITRAMFS_FSTYPES}"
LIVE_ROOTFS_TYPE ?= "ext4"
ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${LIVE_ROOTFS_TYPE}"

View File

@@ -148,10 +148,11 @@ IMAGE_CMD:cpio () {
if [ ! -L ${IMAGE_ROOTFS}/init ] && [ ! -e ${IMAGE_ROOTFS}/init ]; then
if [ -L ${IMAGE_ROOTFS}/sbin/init ] || [ -e ${IMAGE_ROOTFS}/sbin/init ]; then
ln -sf /sbin/init ${WORKDIR}/cpio_append/init
touch -h -r ${IMAGE_ROOTFS}/sbin/init ${WORKDIR}/cpio_append/init
else
touch ${WORKDIR}/cpio_append/init
touch -r ${IMAGE_ROOTFS} ${WORKDIR}/cpio_append/init
fi
(cd ${WORKDIR}/cpio_append && echo ./init | cpio -oA -H newc -F ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio)
(cd ${WORKDIR}/cpio_append && echo ./init | cpio --reproducible -oA -H newc -F ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cpio)
fi
fi
}

View File

@@ -91,7 +91,7 @@ do_image_wic[deptask] += "do_image_complete"
WKS_FILE_DEPENDS_DEFAULT = '${@bb.utils.contains_any("BUILD_ARCH", [ 'x86_64', 'i686' ], "syslinux-native", "",d)}'
WKS_FILE_DEPENDS_DEFAULT += "bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native erofs-utils-native"
# Unified kernel images need objcopy
WKS_FILE_DEPENDS_DEFAULT += "virtual/${MLPREFIX}${TARGET_PREFIX}binutils"
WKS_FILE_DEPENDS_DEFAULT += "virtual/${TARGET_PREFIX}binutils"
WKS_FILE_DEPENDS_BOOTLOADERS = ""
WKS_FILE_DEPENDS_BOOTLOADERS:x86 = "syslinux grub-efi systemd-boot os-release"
WKS_FILE_DEPENDS_BOOTLOADERS:x86-64 = "syslinux grub-efi systemd-boot os-release"

View File

@@ -12,7 +12,12 @@ python () {
d.appendVar("PACKAGES", " ${KERNEL_PACKAGE_NAME}-image-zimage-bundle")
}
FILES:${KERNEL_PACKAGE_NAME}-devicetree = "/${KERNEL_IMAGEDEST}/*.dtb /${KERNEL_IMAGEDEST}/*.dtbo"
# recursivly search for devicetree files
FILES:${KERNEL_PACKAGE_NAME}-devicetree = " \
/${KERNEL_DTBDEST}/**/*.dtb \
/${KERNEL_DTBDEST}/**/*.dtbo \
"
FILES:${KERNEL_PACKAGE_NAME}-image-zimage-bundle = "/${KERNEL_IMAGEDEST}/zImage-*.dtb.bin"
# Generate kernel+devicetree bundle
@@ -73,12 +78,16 @@ do_compile:append() {
}
do_install:append() {
install -d ${D}/${KERNEL_DTBDEST}
for dtbf in ${KERNEL_DEVICETREE}; do
dtb=`normalize_dtb "$dtbf"`
dtb_ext=${dtb##*.}
dtb_base_name=`basename $dtb .$dtb_ext`
dtb_path=`get_real_dtb_path_in_kernel "$dtb"`
install -m 0644 $dtb_path ${D}/${KERNEL_IMAGEDEST}/$dtb_base_name.$dtb_ext
if "${@'false' if oe.types.boolean(d.getVar('KERNEL_DTBVENDORED')) else 'true'}"; then
dtb_ext=${dtb##*.}
dtb_base_name=`basename $dtb .$dtb_ext`
dtb=$dtb_base_name.$dtb_ext
fi
install -Dm 0644 $dtb_path ${D}/${KERNEL_DTBDEST}/$dtb
done
}
@@ -88,7 +97,10 @@ do_deploy:append() {
dtb_ext=${dtb##*.}
dtb_base_name=`basename $dtb .$dtb_ext`
install -d $deployDir
install -m 0644 ${D}/${KERNEL_IMAGEDEST}/$dtb_base_name.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext
if "${@'false' if oe.types.boolean(d.getVar('KERNEL_DTBVENDORED')) else 'true'}"; then
dtb=$dtb_base_name.$dtb_ext
fi
install -m 0644 ${D}/${KERNEL_DTBDEST}/$dtb $deployDir/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext
if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name.$dtb_ext
fi

View File

@@ -92,6 +92,10 @@ FIT_SUPPORTED_INITRAMFS_FSTYPES ?= "cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst
# Allow user to select the default DTB for FIT image when multiple dtb's exists.
FIT_CONF_DEFAULT_DTB ?= ""
# length of address in number of <u32> cells
# ex: 1 32bits address, 2 64bits address
FIT_ADDRESS_CELLS ?= "1"
# Keys used to sign individually image nodes.
# The keys to sign image nodes must be different from those used to sign
# configuration nodes, otherwise the "required" property, from
@@ -110,7 +114,7 @@ fitimage_emit_fit_header() {
/ {
description = "${FIT_DESC}";
#address-cells = <1>;
#address-cells = <${FIT_ADDRESS_CELLS}>;
EOF
}
@@ -388,6 +392,7 @@ symlink_points_below() {
# $5 ... u-boot script ID
# $6 ... config ID
# $7 ... default flag
# $8 ... default DTB image name
fitimage_emit_section_config() {
conf_csum="${FIT_HASH_ALG}"
@@ -404,6 +409,7 @@ fitimage_emit_section_config() {
bootscr_id="$5"
config_id="$6"
default_flag="$7"
default_dtb_image="$8"
# Test if we have any DTBs at all
sep=""
@@ -415,7 +421,6 @@ fitimage_emit_section_config() {
bootscr_line=""
setup_line=""
default_line=""
default_dtb_image="${FIT_CONF_DEFAULT_DTB}"
dtb_image_sect=$(symlink_points_below $dtb_image "${EXTERNAL_KERNEL_DEVICETREE}")
if [ -z "$dtb_image_sect" ]; then
@@ -469,11 +474,7 @@ fitimage_emit_section_config() {
# Select default node as user specified dtb when
# multiple dtb exists.
if [ -n "$default_dtb_image" ]; then
if [ -s "${EXTERNAL_KERNEL_DEVICETREE}/$default_dtb_image" ]; then
default_line="default = \"${FIT_CONF_PREFIX}$default_dtb_image\";"
else
bbwarn "Couldn't find a valid user specified dtb in ${EXTERNAL_KERNEL_DEVICETREE}/$default_dtb_image"
fi
default_line="default = \"${FIT_CONF_PREFIX}$default_dtb_image\";"
else
default_line="default = \"${FIT_CONF_PREFIX}$dtb_image\";"
fi
@@ -555,7 +556,8 @@ fitimage_assemble() {
ramdiskcount=$3
setupcount=""
bootscr_id=""
rm -f $1 ${KERNEL_OUTPUT_DIR}/$2
default_dtb_image=""
rm -f $1 arch/${ARCH}/boot/$2
if [ -n "${UBOOT_SIGN_IMG_KEYNAME}" -a "${UBOOT_SIGN_KEYNAME}" = "${UBOOT_SIGN_IMG_KEYNAME}" ]; then
bbfatal "Keys used to sign images and configuration nodes must be different."
@@ -593,6 +595,13 @@ fitimage_assemble() {
DTB_PATH="${KERNEL_OUTPUT_DIR}/$DTB"
fi
# Set the default dtb image if it exists in the devicetree.
if [ ${FIT_CONF_DEFAULT_DTB} = $DTB ];then
default_dtb_image=$(echo "$DTB" | tr '/' '_')
fi
DTB=$(echo "$DTB" | tr '/' '_')
# Skip DTB if we've picked it up previously
echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue
@@ -606,6 +615,13 @@ fitimage_assemble() {
dtbcount=1
for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtb' -printf '%P\n' | sort) \
$(find "${EXTERNAL_KERNEL_DEVICETREE}" -name '*.dtbo' -printf '%P\n' | sort); do
# Set the default dtb image if it exists in the devicetree.
if [ ${FIT_CONF_DEFAULT_DTB} = $DTB ];then
default_dtb_image=$(echo "$DTB" | tr '/' '_')
fi
DTB=$(echo "$DTB" | tr '/' '_')
# Skip DTB/DTBO if we've picked it up previously
echo "$DTBS" | tr ' ' '\n' | grep -xq "$DTB" && continue
@@ -619,6 +635,10 @@ fitimage_assemble() {
done
fi
if [ -n "${FIT_CONF_DEFAULT_DTB}" ] && [ -z $default_dtb_image ]; then
bbwarn "${FIT_CONF_DEFAULT_DTB} is not available in the list of device trees."
fi
#
# Step 3: Prepare a u-boot script section
#
@@ -691,15 +711,15 @@ fitimage_assemble() {
for DTB in ${DTBS}; do
dtb_ext=${DTB##*.}
if [ "$dtb_ext" = "dtbo" ]; then
fitimage_emit_section_config $1 "" "$DTB" "" "$bootscr_id" "" "`expr $i = $dtbcount`"
fitimage_emit_section_config $1 "" "$DTB" "" "$bootscr_id" "" "`expr $i = $dtbcount`" "$default_dtb_image"
else
fitimage_emit_section_config $1 $kernelcount "$DTB" "$ramdiskcount" "$bootscr_id" "$setupcount" "`expr $i = $dtbcount`"
fitimage_emit_section_config $1 $kernelcount "$DTB" "$ramdiskcount" "$bootscr_id" "$setupcount" "`expr $i = $dtbcount`" "$default_dtb_image"
fi
i=`expr $i + 1`
done
else
defaultconfigcount=1
fitimage_emit_section_config $1 $kernelcount "" "$ramdiskcount" "$bootscr_id" "$setupcount" $defaultconfigcount
fitimage_emit_section_config $1 $kernelcount "" "$ramdiskcount" "$bootscr_id" "$setupcount" $defaultconfigcount "$default_dtb_image"
fi
fitimage_emit_section_maint $1 sectend

View File

@@ -215,6 +215,8 @@ KERNEL_RELEASE ?= "${KERNEL_VERSION}"
# The directory where built kernel lies in the kernel tree
KERNEL_OUTPUT_DIR ?= "arch/${ARCH}/boot"
KERNEL_IMAGEDEST ?= "boot"
KERNEL_DTBDEST ?= "${KERNEL_IMAGEDEST}"
KERNEL_DTBVENDORED ?= "0"
#
# configuration
@@ -235,7 +237,7 @@ KERNEL_EXTRA_ARGS ?= ""
EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}"'
EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"'
EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}" PAHOLE=false'
EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"'
KERNEL_ALT_IMAGETYPE ??= ""
@@ -382,7 +384,7 @@ kernel_do_compile() {
use_alternate_initrd=CONFIG_INITRAMFS_SOURCE=${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
fi
for typeformake in ${KERNEL_IMAGETYPE_FOR_MAKE} ; do
oe_runmake ${typeformake} ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
oe_runmake ${PARALLEL_MAKE} ${typeformake} ${KERNEL_EXTRA_ARGS} $use_alternate_initrd
done
}
@@ -616,6 +618,7 @@ do_shared_workdir () {
# We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware
SYSROOT_DIRS = ""
KERNEL_LOCALVERSION ??= ""
KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig"
python check_oldest_kernel() {
@@ -637,7 +640,10 @@ kernel_do_configure() {
# $ scripts/setlocalversion . => +
# $ make kernelversion => 2.6.37
# $ make kernelrelease => 2.6.37+
touch ${B}/.scmversion ${S}/.scmversion
if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]; then
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
fi
if [ "${S}" != "${B}" ] && [ -f "${S}/.config" ] && [ ! -f "${B}/.config" ]; then
mv "${S}/.config" "${B}/.config"

View File

@@ -46,6 +46,8 @@ def get_glibc_loader(d):
dynamic_loader = "${base_libdir}/ld-linux-mipsn8.so.1"
elif targetarch.startswith("mips"):
dynamic_loader = "${base_libdir}/ld.so.1"
elif targetarch.startswith("loongarch64"):
dynamic_loader = "${base_libdir}/ld-linux-loongarch-lp64d.so.1"
elif targetarch == "powerpc64le":
dynamic_loader = "${base_libdir}/ld64.so.2"
elif targetarch == "powerpc64":

View File

@@ -54,6 +54,9 @@ deltask do_compile
deltask do_install
deltask do_populate_sysroot
do_create_runtime_spdx[deptask] = "do_create_spdx"
do_create_runtime_spdx[rdeptask] = ""
INHIBIT_DEFAULT_DEPS = "1"
python () {

View File

@@ -26,9 +26,6 @@ def get_perl_version(d):
return m.group(1)
return None
PERLVERSION := "${@get_perl_version(d)}"
PERLVERSION[vardepvalue] = ""
# Determine the staged arch of perl from the perl configuration file
# Assign vardepvalue, because otherwise signature is changed before and after
@@ -49,9 +46,6 @@ def get_perl_arch(d):
return m.group(1)
return None
PERLARCH := "${@get_perl_arch(d)}"
PERLARCH[vardepvalue] = ""
# Determine the staged arch of perl-native from the perl configuration file
# Assign vardepvalue, because otherwise signature is changed before and after
# perl is built (from None to real version in config.sh).

Some files were not shown because too many files have changed in this diff Show More