Commit Graph

70546 Commits

Author SHA1 Message Date
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