]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoliburcu: upgrade 0.13.0 -> 0.13.1
Alexander Kanavin [Wed, 19 Jan 2022 10:41:15 +0000 (11:41 +0100)]
liburcu: upgrade 0.13.0 -> 0.13.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsoup: upgrade 3.0.3 -> 3.0.4
Alexander Kanavin [Wed, 19 Jan 2022 10:41:14 +0000 (11:41 +0100)]
libsoup: upgrade 3.0.3 -> 3.0.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 199 -> 200
Alexander Kanavin [Wed, 19 Jan 2022 10:41:13 +0000 (11:41 +0100)]
diffoscope: upgrade 199 -> 200

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: upgrade 2.34.2 -> 2.34.3
Alexander Kanavin [Wed, 19 Jan 2022 10:41:12 +0000 (11:41 +0100)]
webkitgtk: upgrade 2.34.2 -> 2.34.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: upgrade to latest revision
Alexander Kanavin [Wed, 19 Jan 2022 10:41:11 +0000 (11:41 +0100)]
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxwayland: upgrade 21.1.3 -> 21.1.4
Alexander Kanavin [Wed, 19 Jan 2022 10:41:10 +0000 (11:41 +0100)]
xwayland: upgrade 21.1.3 -> 21.1.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibinput: upgrade 1.19.2 -> 1.19.3
Alexander Kanavin [Wed, 19 Jan 2022 10:41:09 +0000 (11:41 +0100)]
libinput: upgrade 1.19.2 -> 1.19.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
Alexander Kanavin [Wed, 19 Jan 2022 10:41:08 +0000 (11:41 +0100)]
piglit: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpcsvc-proto: upgrade 1.4.2 -> 1.4.3
Alexander Kanavin [Wed, 19 Jan 2022 10:41:06 +0000 (11:41 +0100)]
rpcsvc-proto: upgrade 1.4.2 -> 1.4.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopigz: upgrade 2.6 -> 2.7
Alexander Kanavin [Wed, 19 Jan 2022 10:41:05 +0000 (11:41 +0100)]
pigz: upgrade 2.6 -> 2.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovala: upgrade 0.54.4 -> 0.54.6
Alexander Kanavin [Wed, 19 Jan 2022 10:41:04 +0000 (11:41 +0100)]
vala: upgrade 0.54.4 -> 0.54.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-ruamel-yaml: upgrade 0.17.19 -> 0.17.20
Alexander Kanavin [Wed, 19 Jan 2022 10:41:03 +0000 (11:41 +0100)]
python3-ruamel-yaml: upgrade 0.17.19 -> 0.17.20

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyrsistent: upgrade 0.18.0 -> 0.18.1
Alexander Kanavin [Wed, 19 Jan 2022 10:41:02 +0000 (11:41 +0100)]
python3-pyrsistent: upgrade 0.18.0 -> 0.18.1

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pygments: upgrade 2.11.1 -> 2.11.2
Alexander Kanavin [Wed, 19 Jan 2022 10:41:01 +0000 (11:41 +0100)]
python3-pygments: upgrade 2.11.1 -> 2.11.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtools: upgrade 4.0.36 -> 4.0.37
Alexander Kanavin [Wed, 19 Jan 2022 10:41:00 +0000 (11:41 +0100)]
mtools: upgrade 4.0.36 -> 4.0.37

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoe2fsprogs: upgrade 1.46.4 -> 1.46.5
Alexander Kanavin [Wed, 19 Jan 2022 10:40:58 +0000 (11:40 +0100)]
e2fsprogs: upgrade 1.46.4 -> 1.46.5

Remove patch as upstream addressed the issue.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: upgrade 4.10 -> 4.11.1
Alexander Kanavin [Wed, 19 Jan 2022 10:40:56 +0000 (11:40 +0100)]
shadow: upgrade 4.10 -> 4.11.1

License-Update: license clarified to BSD-3-Clause only

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: upgrade 1.17.5 -> 1.17.6
Alexander Kanavin [Wed, 19 Jan 2022 10:40:54 +0000 (11:40 +0100)]
go: upgrade 1.17.5 -> 1.17.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosocat: upgrade 1.7.4.2 -> 1.7.4.3
Alexander Kanavin [Wed, 19 Jan 2022 10:40:52 +0000 (11:40 +0100)]
socat: upgrade 1.7.4.2 -> 1.7.4.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoreadline: upgrade 8.1 -> 8.1.2
Alexander Kanavin [Wed, 19 Jan 2022 10:40:53 +0000 (11:40 +0100)]
readline: upgrade 8.1 -> 8.1.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.57.0 -> 1.58.0
Alexander Kanavin [Wed, 19 Jan 2022 10:40:47 +0000 (11:40 +0100)]
rust: update 1.57.0 -> 1.58.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosqlite: update 3.37.1 -> 3.37.2
Alexander Kanavin [Wed, 19 Jan 2022 10:40:50 +0000 (11:40 +0100)]
sqlite: update 3.37.1 -> 3.37.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agologrotate: update 3.18.1 -> 3.19.0, drop rotate-across-filesystems patches
Alexander Kanavin [Wed, 19 Jan 2022 10:40:48 +0000 (11:40 +0100)]
logrotate: update 3.18.1 -> 3.19.0, drop rotate-across-filesystems patches

Upstream review and request to address it got no reaction
from the author, and the patches are an ongoing rebase burden,
so if someone needs this feature, please complete
the upstreaming work first.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: update 3.10.1 -> 3.10.2
Alexander Kanavin [Wed, 19 Jan 2022 10:40:46 +0000 (11:40 +0100)]
python3: update 3.10.1 -> 3.10.2

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: update 250.1 -> 250.3
Alexander Kanavin [Wed, 19 Jan 2022 10:40:45 +0000 (11:40 +0100)]
systemd: update 250.1 -> 250.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoresolvconf: update 1.87 -> 1.91
Alexander Kanavin [Wed, 19 Jan 2022 10:40:44 +0000 (11:40 +0100)]
resolvconf: update 1.87 -> 1.91

Drop patch as issue resolved upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibuv: update 1.42.0 -> 1.43.0
Alexander Kanavin [Wed, 19 Jan 2022 10:40:43 +0000 (11:40 +0100)]
libuv: update 1.42.0 -> 1.43.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoefivar: update 37 -> 38
Alexander Kanavin [Wed, 19 Jan 2022 10:40:42 +0000 (11:40 +0100)]
efivar: update 37 -> 38

Drop determinism.patch, resolved by
https://github.com/rhboot/efivar/commit/641a1626543ca3bf0cdd5ea0bd6cc3a82462521a

Drop no-werror.patch, can now be replaced by ERRORS= in make invocation.

Add a patch to efibootmgr to address build failures with new version.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: update 0.60.3 -> 0.61.1
Alexander Kanavin [Wed, 19 Jan 2022 10:40:41 +0000 (11:40 +0100)]
meson: update 0.60.3 -> 0.61.1

Backport patches to epiphany/gcr/g-i to address failures with new meson.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: fold nativesdk into the main recipe
Alexander Kanavin [Wed, 19 Jan 2022 10:40:40 +0000 (11:40 +0100)]
meson: fold nativesdk into the main recipe

This allows automated version updates when possible, and reduces friction in manual ones.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 19 Jan 2022 23:04:05 +0000 (23:04 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocrate-fetch: Switch to version contained in bitbake
Richard Purdie [Wed, 19 Jan 2022 14:21:40 +0000 (14:21 +0000)]
crate-fetch: Switch to version contained in bitbake

This avoids various sstate fetch errors from weird silent failures in the sstate
archive testing code caused by lack of srcrev support in the crate fetcher.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoabi_version: Bump HASHEQUIV_HASH_VERSION
Richard Purdie [Wed, 19 Jan 2022 17:57:57 +0000 (17:57 +0000)]
abi_version: Bump HASHEQUIV_HASH_VERSION

After the changes to the native outhash files to ensure populate_sysroot for
native recipes correctly accounts for runtime dependencies, this doesn't reset
the target output namespace and means reproducibility issues are still triggering
on our test infrastructure.

Bump the version being used for hashequiv to ensure we avoid these issues with
a new namespace.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Improve failure to obtain archive message/handling
Richard Purdie [Wed, 19 Jan 2022 17:50:33 +0000 (17:50 +0000)]
sstate: Improve failure to obtain archive message/handling

The bb.fatal() case where sstate failed to find/use an archive in setcene tasks
is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal
will turn this into an error, despite the real task being rerun.

In these failure cases other messages would usually have been printed so turn
this into a warning and raise a handled exception status so that bitbake knows
to fail the task but not print more messages.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Show better exception information for failures
Richard Purdie [Wed, 19 Jan 2022 13:42:46 +0000 (13:42 +0000)]
sstate: Show better exception information for failures

Errors like

SState: cannot test file://universal/5f/10/sstate:m4-native:x86_64-linux:1.4.19:r0:x86_64:7:5f108b175274798b17950b5ee686bf61445e90fb204d7f795e5b879b5603e88b_deploy_source_date_epoch.tar.zst: 'GIT_SSL_CAINFO'

aren't useful, try and improve on this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 19 Jan 2022 10:41:09 +0000 (10:41 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/stap: increase buffer size
Ross Burton [Tue, 18 Jan 2022 18:07:54 +0000 (18:07 +0000)]
oeqa/runtime/stap: increase buffer size

We're seeing random failures in the SystemTap tests in qemuarm on kernel
5.10. This might be related to the buffer between user and kernel space
being too small, so explicitly set the size.

If this cures the problem it should be considered a workaround and not
the solution.

[ YOCTO #14673 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Simplify ptest-runner
Richard Purdie [Tue, 18 Jan 2022 15:43:40 +0000 (15:43 +0000)]
expat: Simplify ptest-runner

Upstream mentioned our ptest-runner could likely be simplified. I had a
look at the output and yes, most of the code in the runner is now obsolete
as upstream output is compatible with what we need. Simplify accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiproute2: update 5.15.0 to 5.16.0
Changhyeok Bae [Tue, 18 Jan 2022 01:31:39 +0000 (01:31 +0000)]
iproute2: update 5.15.0 to 5.16.0

0001-lib-fix-ax25.h-include-for-musl.patch is the fix for musl and comes
from upstream.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtd-utils: upgrade 2.1.3 -> 2.1.4
Denys Dmytriyenko [Mon, 17 Jan 2022 23:58:52 +0000 (23:58 +0000)]
mtd-utils: upgrade 2.1.3 -> 2.1.4

https://lore.kernel.org/all/c31dba4f-42a8-ba48-7df2-b56bf4699a4c@sigma-star.at/t/

Roughly half a year after the last release, this is a smaller, patch level
release that primarily consists of a hand full of fixes that have accumulated
since then.

This includes some fixes regarding the user space ports of mtd-tests using the
wrong page size, and most recently a fix regarding a missing jffs2 kernel header
in the last release tarball, causing build failures on some systems.

Changes from 2.1.3 to 2.1.4:

Features:
      - ubiscan debugging and statistics utility

Fixes:
      - Some mtd-tests erroneously using sub-pages instead of the full page size
      - Buffer overrun in fectest
      - Missing jffs2 kernel header in the last release, leading to build
        failures on some systems.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: upgrade 5.15 -> 5.16
wangmy [Mon, 17 Jan 2022 14:31:43 +0000 (22:31 +0800)]
strace: upgrade 5.15 -> 5.16

License-Update: year updated to 2022.

Changelog:
=========
Improvements
-----------
-Implemented --secontext=mismatch option to find mismatches in SELinux contexts.
-Implemented decoding of futex_waitv syscall introduced in Linux 5.16.
-Implemented decoding of BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID bpf
 syscall commands.
-Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD
 bpf syscall commands.
-Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command.
-Updated lists of AUDIT_*, BPF_*, BTRFS_*, DEVCONF_*, FAN_*, ETH_P_*,
 IPV4_DEVCONF_*, KVM_*, NDA_*, SO_*, and V4L2_* constants.
-Updated lists of ioctl commands from Linux 5.16.

Bug fixes
---------
-Fixed build for older Android.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.22.0 -> 1.22.1
wangmy [Mon, 17 Jan 2022 14:31:14 +0000 (22:31 +0800)]
python3-numpy: upgrade 1.22.0 -> 1.22.1

License-Update: year updated to 2022.

Changelog:
=========
The NumPy 1.22.1 is maintenance release that fixes bugs discovered after
the 1.22.0 release. Notable fixes are:

Fix f2PY docstring problems
Fix reduction type problems
Fix various typing bugs.
The Python versions supported for this release are 3.8-3.10.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-git: upgrade 3.1.24 -> 3.1.26
wangmy [Mon, 17 Jan 2022 14:31:13 +0000 (22:31 +0800)]
python3-git: upgrade 3.1.24 -> 3.1.26

Changelog:
=========
Fixes a leaked file descriptor when reading the index, which would cause make
writing a previously read index on windows impossible.
See https://github.com/gitpython-developers/GitPython/issues/1395 for details.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 21.3.3 -> 21.3.4
wangmy [Mon, 17 Jan 2022 14:30:06 +0000 (22:30 +0800)]
mesa: upgrade 21.3.3 -> 21.3.4

Changelog:
==========
Bug fixes
---------
i965: gen5 exposes EXT_texture_integer incorrectly
[radeonsi, regression, bisected]: Rendering issues with Factorio
mesa >= 21.x (with llvmpipe) will break the game JVGS
Panfrost - RK3399 - FACTORIO - glitches everywhere
Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures
Game Starsector crashes under certain circumstances with mesa 21.3.+
FreeSpace models incorrectly rendered on Polaris cards, causing system freeze
Incomplete evaluation of nested DEFINE macros
[r300g, bisected] piglit glsl-fs-discard-04 fails
Panfrost G52 Firefox terrible glitches on youtube playback

Changes
-------
pan/bi: Fix load_const of 1-bit booleans
gallium/util: Add pixel->blocks box helper
lima,panfrost: Correct pixel vs block mismatches
radv: Set optimal copy alignment to 1.
microsoft/compiler: Fix dxil_nir_create_bare_samplers()
ir3/ra: Fix logic bug in compress_regs_left
ir3: Bump type mismatch penalty to 3
aco: don't allow SDWA on VOP3P instructions
aco: validate VOP3P opsel correctly
tu: fix workaround for depth bounds test without depth test
intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint
crocus: fail resource allocation properly.
freedreno/afuc: Disable the disassembler on 32-bit builds.
i915g: Turn off FP16 in the vertex shaders.
r300: Fix omod failing to increase the number of channels stored.
nir_to_tgsi: Fix a bug in TXP detection after backend lowering.
pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4
pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated
pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated
r300: fix handling swizzle in transform_source_conflicts
intel/compiler/test: Fix build with GCC 7
i965: Disable EXT_texture_integer on Gfx4 and Gfx5
Revert "anv: Stop doing too much per-sample shading"
anv: don't leave anv_batch fields undefined
anv: limit compiler valid color outputs using NIR variables
intel/dev: fixup chv workaround
etnaviv: initialize vertex attributes on context reset
etnaviv: drm: fix size limit in etna_cmd_stream_realloc
etnaviv: drm: properly handle reviving BOs via a lookup
zink: fix -Warray-bounds warning
radv: fix xfb query copy param ordering
zink: always unset vertex shader variant key data when changing last vertex stage
zink: add extra synchronization for buffer descriptor binds
zink: use device-local heap for sparse backing allocations
r300: Remove broken optimization in rc_transform_KILL
radeonsi/gfx8: use the proper dcc clear size
vbo/dlist: fix loopback crash
vbo/dlist: add vertices to incomplete primitives
radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex
glapi: should not add alias function to static_data.py
aco: remove pack_half_2x16(a, 0) optimization
intel/fs: OpImageQueryLod does not support arrayed images as an operand
v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM
radv: add drirc radv_disable_htile_layers and enable it for F1 2021
iris: unref syncobjs and free r/w dependencies array for slab entries
mesa: free idalloc storage for display lists
mesa: free vbo_save_vertex_list store prims
glsl/glcpp: make sure to expand new token after concatenation
venus: subtract appended header size in vn_CreatePipelineCache
Fix compilation on armv7l with gcc 11.2.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohdparm: upgrade 9.62 -> 9.63
wangmy [Mon, 17 Jan 2022 14:30:04 +0000 (22:30 +0800)]
hdparm: upgrade 9.62 -> 9.63

Changelog:
=========
new --sanitize-overwrite-passes flag
applied "Plurals patch"

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: upgrade 2.0.18 -> 2.0.20
wangmy [Mon, 17 Jan 2022 14:30:05 +0000 (22:30 +0800)]
libsdl2: upgrade 2.0.18 -> 2.0.20

0001-Fix-build-against-wayland-1.20.patch
removed since it is included in 2.0.20

License-Update: year updated to 2022.

Changelog:
=========
General:

SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int.
You can cast color data in SDL_PIXELFORMAT_RGBA32 format
(SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this parameter.
Improved accuracy of horizontal and vertical line drawing when using OpenGL
or OpenGLES
Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line
drawing used, to select speed, correctness, and compatibility.
Fixed hotplug controller detection, broken in 2.0.18

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: upgrade 2021.10 -> 2022.01
Marek Vasut [Tue, 11 Jan 2022 03:04:22 +0000 (04:04 +0100)]
u-boot: upgrade 2021.10 -> 2022.01

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotune-cortexa73: Introduce cortexa73-crypto tune
Kevin Hao [Fri, 14 Jan 2022 05:11:40 +0000 (13:11 +0800)]
tune-cortexa73: Introduce cortexa73-crypto tune

The crypto extension is optional for the Cortex-A73 processor, so we
shouldn't enable the crypto by default for the cortexa73 tune.
Introduce the cortexa73-crypto for the processors which do have
the cryptography unit.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Drop unneeded libtool patch, we use cmake
Richard Purdie [Mon, 17 Jan 2022 12:02:54 +0000 (12:02 +0000)]
expat: Drop unneeded libtool patch, we use cmake

This patch is old. We use cmake for building expat now and libtool isn't even
used. The upstream author asked questions about it and can clearly be dropped
so do so.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopigz: fix one failure of command "unpigz -l"
Changqing Li [Mon, 17 Jan 2022 08:11:04 +0000 (16:11 +0800)]
pigz: fix one failure of command "unpigz -l"

Refer [1], "unpigz -l" failed with error:
$ ./unpigz -l test.txt.gz
compressed original reduced name
228799 209715200 99.9% test.txt
unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy)
unpigz: abort: internal threads error

or

$ ./unpigz -l test.txt.gz
unpigz: skipping: test.txt.gz unrecognized format
unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy)
unpigz: abort: internal threads error

[1] https://github.com/madler/pigz/issues/96

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolighttpd: backport a fix for CVE-2022-22707
Ross Burton [Mon, 17 Jan 2022 11:20:56 +0000 (11:20 +0000)]
lighttpd: backport a fix for CVE-2022-22707

Backport the fix for CVE-2022-22707, a buffer overflow in mod_extforward.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: update to include latest CVE fixes
Ross Burton [Mon, 17 Jan 2022 11:20:55 +0000 (11:20 +0000)]
vim: update to include latest CVE fixes

Update the version to 4.2.4118, which incorporates the following CVE
fixes:

- CVE-2021-4187
- CVE-2022-0128
- CVE-2022-0156
- CVE-2022-0158

Also remove the explicit whitelisting of CVE-2021-3968 as this is now
handled with an accurate CPE specifying the fixed version.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Upgrade 2.4.2 -> 2.4.3
Richard Purdie [Sun, 16 Jan 2022 22:51:00 +0000 (22:51 +0000)]
expat: Upgrade 2.4.2 -> 2.4.3

Primarily a security fix release which includes:

    CVE-2021-45960
    CVE-2021-46143
    CVE-2022-22822
    CVE-2022-22823
    CVE-2022-22824
    CVE-2022-22825
    CVE-2022-22826
    CVE-2022-22827

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.34.1 -> 6.35.0
Tim Orling [Sun, 16 Jan 2022 18:04:11 +0000 (10:04 -0800)]
python3-hypothesis: upgrade 6.34.1 -> 6.35.0

6.35.0 - 2022-01-08¶
This release disallows using typing.ClassVar with from_type() and register_type_strategy().

Why? Because ClassVar can only be used during class definition. We don’t generate class attributes.

It also does not make sense as a runtime type on its own.

6.34.2 - 2022-01-05¶
This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospeex: fix CVE-2020-23903
Kai Kang [Sun, 16 Jan 2022 16:23:58 +0000 (00:23 +0800)]
speex: fix CVE-2020-23903

Backport patch to fix CVE-2020-23903.

CVE: CVE-2020-23903

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomultilib.bbclass: set rpm file color for 32-bit multilib image
Kai Kang [Sun, 16 Jan 2022 16:21:50 +0000 (00:21 +0800)]
multilib.bbclass: set rpm file color for 32-bit multilib image

The default rpm file color is 2 that Elf64 is preferred according to
OE-Core commit 56fa74497393a10f751d01c600c1936761e00294. For 32-bit
multilib image such as lib32-core-image-sato, Elf32 should be preferred.
Set it in multilib.bbclass.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobootchart2: Add missing python3-math dependency
Marek Vasut [Sun, 16 Jan 2022 03:42:46 +0000 (04:42 +0100)]
bootchart2: Add missing python3-math dependency

Without this dependency, generating the bootchart may fail with:
"
ModuleNotFoundError: No module named 'random'
"

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses/native: Propagate dependencies to outhash
Joshua Watt [Fri, 14 Jan 2022 17:12:22 +0000 (11:12 -0600)]
classes/native: Propagate dependencies to outhash

Native task outputs are directly run on the build system during the build
after being built. Even if the output of a native recipe doesn't change, a
change in one of its dependencies may cause a change in the output it
generates (e.g. rpm output depends on the output of its dependent zstd
library).

This can cause poor interactions with hash equivalence, since this
recipe's output-changing dependency is "hidden" and downstream tasks only
see that this recipe has the same outhash and therefore is equivalent.
This can result in different output in different cases and issues with
reproducible builds in parcular (e.g. rpm compression changes for the same
content).

To resolve this, unhide the output-changing dependency by adding it's
unihash to this tasks outhash calculation. Unfortunately, we don't know
specifically know which dependencies are output-changing, so we have to
add all of them.

[YOCTO #14685]

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-rt/5.15: update to -rt22
Bruce Ashfield [Fri, 14 Jan 2022 18:23:39 +0000 (13:23 -0500)]
linux-yocto-rt/5.15: update to -rt22

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

    799919ec2113 v5.15.5-rt22
    4745560a36e7 v5.15.3-rt21
    9b4d36e0fbeb v5.15.2-rt20
    d156320aca54 net: sched: gred: dynamically allocate tc_gred_qopt_offload
    d36603e0d213 v5.15.2-rt19
    7ddf3a205fa3 mm/vmalloc: Remove unused `cpu' variable.
    3f8e7f777049 v5.15.2-rt18
    7b0fd383bb9a printk: fixup -stable merge to -rt

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.91
Bruce Ashfield [Fri, 14 Jan 2022 18:23:38 +0000 (13:23 -0500)]
linux-yocto/5.10: update to v5.10.91

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

    df395c763ba0 Linux 5.10.91
    674071c9eb26 Input: zinitix - make sure the IRQ is allocated before it gets enabled
    ef81f7d406c2 ARM: dts: gpio-ranges property is now required
    f63fa1a0d4df ipv6: raw: check passed optlen before reading
    cf07884e6bec drm/amd/display: Added power down for DCN10
    10b9ccd0674d mISDN: change function names to avoid conflicts
    dd8a09cfbb99 atlantic: Fix buff_ring OOB in aq_ring_rx_clean
    c2f4bb251eb4 net: udp: fix alignment problem in udp4_seq_show()
    f82b48d1d86b ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
    8c87a83ef891 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
    b798b677f94d usb: mtu3: fix interval value for intr and isoc
    498d77fc5e38 ipv6: Do cleanup if attribute validation fails in multipath route
    72b0d14a0a88 ipv6: Continue processing multipath route even if gateway attribute is invalid
    5a7d650bb181 power: bq25890: Enable continuous conversion for ADC at charging
    4f260ea5537d phonet: refcount leak in pep_sock_accep
    61952934608c rndis_host: support Hytera digital radios
    62cbde77d9c1 power: reset: ltc2952: Fix use of floating point literals
    998d157e3b2a power: supply: core: Break capacity loop
    16d8568378f9 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
    aa606b82cdfb net: ena: Fix error handling when calculating max IO queues number
    e7f5480978fd net: ena: Fix undefined state when tx request id is out of bounds
    2de3d961f8e7 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
    4c34d5fd8c96 batman-adv: mcast: don't send link-local multicast to mcast routers
    f403b5f96e9a lwtunnel: Validate RTA_ENCAP_TYPE attribute length
    48d5adb08d60 ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
    173bfa2782fa ipv6: Check attribute length for RTA_GATEWAY in multipath route
    914420a2a6c5 ipv4: Check attribute length for RTA_FLOW in multipath route
    a8fe915be6c2 ipv4: Check attribute length for RTA_GATEWAY in multipath route
    786a335fef18 ftrace/samples: Add missing prototypes direct functions
    c859c4de0bd7 i40e: Fix incorrect netdev's real number of RX/TX queues
    d0ad64438fb5 i40e: Fix for displaying message regarding NVM version
    32845aa60203 i40e: fix use-after-free in i40e_sync_filters_subtask()
    f7edb6b9438b sfc: The RX page_ring is optional
    2b3f34da0d79 mac80211: initialize variable have_higher_than_11mbit
    16e5cad6eca1 RDMA/uverbs: Check for null return of kmalloc_array
    a7c2cae997db netrom: fix copying in user data in nr_setsockopt
    beeb0fdedae8 RDMA/core: Don't infoleak GRH fields
    3ca132e6b065 iavf: Fix limit of total number of queues to active queues of VF
    396e3016905d i40e: Fix to not show opcode msg on unsuccessful VF MAC change
    7f13d14e563c ieee802154: atusb: fix uninit value in atusb_set_extended_addr
    7db1e245cb71 tracing: Tag trace_percpu_buffer as a percpu pointer
    760c6a625506 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
    c1e2da4b3f72 selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
    384111e12367 f2fs: quota: fix potential deadlock

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: update to v5.15.14
Bruce Ashfield [Fri, 14 Jan 2022 18:23:37 +0000 (13:23 -0500)]
linux-yocto/5.15: update to v5.15.14

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

    d114b082bef7 Linux 5.15.14
    b8a1293e3850 drm/amd/pm: keep the BACO feature enabled for suspend
    19070d812e13 Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)"
    b228924bb619 Input: zinitix - make sure the IRQ is allocated before it gets enabled
    1917ace18375 ARM: dts: gpio-ranges property is now required
    2f66e0976b4a userfaultfd/selftests: fix hugetlb area allocations
    ec33da9ae072 ipv6: raw: check passed optlen before reading
    04d945934362 drm/amd/display: Added power down for DCN10
    9b1df8dab312 drm/amd/display: fix B0 TMDS deepcolor no dislay issue
    9964f0840a82 mISDN: change function names to avoid conflicts
    f55383e6b92b drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform
    3c196f056666 drm/amdgpu: always reset the asic in suspend (v2)
    fbabb82b11b4 drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume
    80f229009b59 atlantic: Fix buff_ring OOB in aq_ring_rx_clean
    cf8f0e76c4ce net: udp: fix alignment problem in udp4_seq_show()
    294f3fc9dc27 ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
    847050d40dc0 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
    6ebb6853108f usb: mtu3: fix interval value for intr and isoc
    12a4c1092ae7 drm/amd/pm: Fix xgmi link control on aldebaran
    31d95ff41cdf drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify
    4ed66cdc542f auxdisplay: charlcd: checking for pointer reference before dereferencing
    8a7520c49994 ipv6: Do cleanup if attribute validation fails in multipath route
    c1de618c95e9 ipv6: Continue processing multipath route even if gateway attribute is invalid
    5aec746bf7f2 power: bq25890: Enable continuous conversion for ADC at charging
    b4391e49ac1d drm/amdgpu: disable runpm if we are the primary adapter
    fa3d8456f7cd fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb
    9ca97a693aa8 phonet: refcount leak in pep_sock_accep
    d57da5185def net ticp:fix a kernel-infoleak in __tipc_sendmsg()
    75d840c0f5d7 gpio: gpio-aspeed-sgpio: Fix wrong hwirq base in irq handler
    7601a265696c rndis_host: support Hytera digital radios
    b381e0f98711 reset: renesas: Fix Runtime PM usage
    550acd770f9f power: reset: ltc2952: Fix use of floating point literals
    be816676f38b power: supply: core: Break capacity loop
    b0e72ba9e520 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
    800f02fa8a51 i2c: mpc: Avoid out of bounds memory access
    e24c6a48c6ea Revert "i2c: core: support bus regulator controlling in adapter"
    43fa0b3639c5 cgroup: Use open-time cgroup namespace for process migration perm checks
    50273128d640 cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
    c6ebc3529884 cgroup: Use open-time credentials for process migraton perm checks
    247b6244d40e KVM: x86: Check for rmaps allocation
    a08275570392 EDAC/i10nm: Release mdev/mbase when failing to detect HBM
    3400aa7eda64 md/raid1: fix missing bitmap update w/o WriteMostly devices
    15fb002977f6 net: ena: Fix error handling when calculating max IO queues number
    c4c20dc24e09 net: ena: Fix wrong rx request id by resetting device
    bf8263c71420 net: ena: Fix undefined state when tx request id is out of bounds
    6511f8074b70 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
    9b8bbe489ced batman-adv: mcast: don't send link-local multicast to mcast routers
    9f00a2a0c139 sctp: hold endpoint before calling cb in sctp_transport_lookup_process
    3c5c81d1e350 selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature
    41844e68eb92 lwtunnel: Validate RTA_ENCAP_TYPE attribute length
    ca0097c543fc ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
    00e8b9f313b2 ipv6: Check attribute length for RTA_GATEWAY in multipath route
    bb471784ca85 ipv4: Check attribute length for RTA_FLOW in multipath route
    72971eaad6ea ipv4: Check attribute length for RTA_GATEWAY in multipath route
    5cb0bd07125f ftrace/samples: Add missing prototypes direct functions
    61169d6c77de i40e: Fix incorrect netdev's real number of RX/TX queues
    7b177d34a123 i40e: Fix for displaying message regarding NVM version
    3f4c2ade4d65 i40e: fix use-after-free in i40e_sync_filters_subtask()
    8fbbc33cf018 sfc: The RX page_ring is optional
    03fb6db4ad61 mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
    18b224910edc mac80211: initialize variable have_higher_than_11mbit
    0ea8bb0811ba RDMA/uverbs: Check for null return of kmalloc_array
    6716b40d162f netrom: fix copying in user data in nr_setsockopt
    21a18420ae2d Revert "net: usb: r8152: Add MAC passthrough support for more Lenovo Docks"
    e1e354771812 RDMA/core: Don't infoleak GRH fields
    607f126d4a21 iavf: Fix limit of total number of queues to active queues of VF
    fda95797fc50 i40e: Fix to not show opcode msg on unsuccessful VF MAC change
    deb65735b5b1 ieee802154: atusb: fix uninit value in atusb_set_extended_addr
    c44979ace49b Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow"
    21f8a3b110f2 tracing: Tag trace_percpu_buffer as a percpu pointer
    be134e7c5b38 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
    3cf50a37286c selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
    ef3047fca111 fscache_cookie_enabled: check cookie is valid before accessing it

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: amdgpu: updates for CVE-2021-42327
Bruce Ashfield [Fri, 14 Jan 2022 18:23:36 +0000 (13:23 -0500)]
linux-yocto/5.10: amdgpu: updates for CVE-2021-42327

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

    fd84b99a8ccb drm/amd/display: Don't allow partial copy_from_user
    024f4ff63d55 drm/amdgpu: Fix even more out of bound writes from debugfs

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: update to 2.13.1
Bruce Ashfield [Fri, 14 Jan 2022 18:23:34 +0000 (13:23 -0500)]
lttng-modules: update to 2.13.1

Bumping lttng-modules to 2.13.1, which fixes the build against 5.16+
kernels.

We drop two previously backported patches.

The following commits are part of this update:

  8c0aec7e Version 2.13.1
  533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16)
  2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
  9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16)
  036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16)
  a029f2a3 fix: isystem: delete global -isystem compile option (v5.16)
  d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16)
  4fabf854 Fix: syscall tracing: missing trigger actions
  38b35aff Warn on event registration/unregistration failure
  e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL
  c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)
  8be4c8a3 fix: cpu/hotplug: Remove deprecated CPU-hotplug functions. (v5.15)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: fix arm defconfig warnings
Bruce Ashfield [Fri, 14 Jan 2022 18:23:35 +0000 (13:23 -0500)]
linux-yocto/5.15: fix arm defconfig warnings

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

    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/stap: rewrite test
Ross Burton [Fri, 14 Jan 2022 18:08:10 +0000 (18:08 +0000)]
oeqa/runtime/stap: rewrite test

There's no need to copy files to the target when stap can take the short
probe directly.

Add more has-package decorators for the kernel source and GCC symlinks.
Remove the test dependencies as it's not a hard dependency.

Change the probe to print a message with some minimal logic, and verify
that the message was correctly constructed in the output.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemtap: fix vsprintf errors
Ross Burton [Fri, 14 Jan 2022 18:04:28 +0000 (18:04 +0000)]
systemtap: fix vsprintf errors

In some configurations (such as 32-bit arm), using printf() causes
gcc errors.  Backport a patch from upstream to fix this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Preserve permissions when extracting tar archive
Jacob Kroon [Fri, 14 Jan 2022 07:41:38 +0000 (08:41 +0100)]
sstate: Preserve permissions when extracting tar archive

This is done by default when tar is run by the superuser, but for native
recipes the corresponding task is not run as root under pseudo, so pass
the flag explicitly.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Avoid accessing network in ptest task
Khem Raj [Fri, 14 Jan 2022 02:47:36 +0000 (18:47 -0800)]
valgrind: Avoid accessing network in ptest task

Avoid calling docs validation and manpages validation to avoid it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: fix building without SECURITY_LDFLAGS
Dmitry Baryshkov [Thu, 13 Jan 2022 19:22:49 +0000 (22:22 +0300)]
go: fix building without SECURITY_LDFLAGS

Commit 9985b17a30bb ("go: correctly set debug-prefix-map and build
directory") has changed CGO_LDFLAGS to the manually crafted version of
LDFLAGS to strip out DEBUG_PREFIX_MAP contents.

However this manually crafted version includes ${SECURITY_LDFLAGS}.

If security_flags.inc is not included, the variable is not defined, thus
CGO_LDFLAGS will include the '${SECURITY_LDFLAGS}' literally. When
building the recipe, the build would break with the follwing message:

aarch64-linaro-linux-gcc: error: ${SECURITY_LDFLAGS}: No such file or directory

So, instead of manually specifying variable contents, perform the
expected action: filter offending arguments out of LDFLAGS.

Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDE
Richard Purdie [Thu, 13 Jan 2022 21:25:41 +0000 (21:25 +0000)]
sanity: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDE

These were added nearly a decade ago but there are no users in OE-Core. I
checked with the likely users and they seem to have no current usage either.
Therefore remove them.

If needed for some prebuilt library somewhere, they could be implemented
in the layer using them instead but I doubt these are in use any longer.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64
Kamil Dziezyk [Thu, 13 Jan 2022 11:16:37 +0000 (12:16 +0100)]
grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64

'xen-boot' module is available only for aarch64.

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Avoid a Python deprecation warning
Peter Kjellerstedt [Thu, 13 Jan 2022 03:18:50 +0000 (04:18 +0100)]
systemd: Avoid a Python deprecation warning

This avoids the following warning:

  WARNING: .../meta/recipes-core/systemd/systemd_250.1.bb: Var
  <do_install>:1: DeprecationWarning: invalid escape sequence \$

seen when doing `devtool finish --force-patch-refresh systemd meta`.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: update 41.0 -> 41.3
Khairul Rohaizzat Jamaluddin [Thu, 13 Jan 2022 01:45:03 +0000 (09:45 +0800)]
epiphany: update 41.0 -> 41.3

Includes fix patches for epiphany CVE.

CVE: CVE-2021-45085 CVE-2021-45086 CVE-2021-45087 CVE-2021-45088

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotune-cortexa72: Drop the redundant cortexa72-crc tune
Kevin Hao [Thu, 13 Jan 2022 13:45:23 +0000 (21:45 +0800)]
tune-cortexa72: Drop the redundant cortexa72-crc tune

We have enabled the crc extension by default for cortexa72 in patch
("tune-cortexa72: Enable the crc extension by default for cortexa72"),
then the cortexa72-crc seems redundant. So drop it. We also rename the
cortexa72-crc-crypto to cortexa72-crypto. With these changes, it will
break the BSPs which used these two tunes, but it should be easy to fix.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: Add kernel work-shared source
Saul Wold [Wed, 12 Jan 2022 17:20:39 +0000 (09:20 -0800)]
create-spdx: Add kernel work-shared source

Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Add support for kernel stripping
Saul Wold [Wed, 12 Jan 2022 17:20:40 +0000 (09:20 -0800)]
package: Add support for kernel stripping

Extend runstrip() to accept additional argument to enable
sharing it with the kernel do_strip() so that
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS can be passed.

Since is_elf() understands kernel modules there is no need to keep a
seperate list for kernmodules or hardcode the values to runstrip.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel.bbclass: use common strip()
Saul Wold [Wed, 12 Jan 2022 17:20:41 +0000 (09:20 -0800)]
kernel.bbclass: use common strip()

Re-use the runstrip() code from oe.packaging, for the kernel
stripping process. Since runstrip() is python the kernel do_strip()
need to be converted to Python also. The stripped kernel image
will be used for deployment in do_deploy(). This will allow the
package.bbclass to split an unstripped kernel binary for the debug
information and extended packagedata. The extended package data is
used by create-spdx.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarmv9a/tune: Add the support for the Neoverse N2 core
Kevin Hao [Fri, 24 Dec 2021 10:05:18 +0000 (18:05 +0800)]
armv9a/tune: Add the support for the Neoverse N2 core

This adds the support for the Neoverse N2 core, even though the
Neoverse N2 core implements the Arm v9.0-A architecture, but the support
of it in GCC is based on the Arm v8.5-A architecture. Please see the
commit 50d9db203bc3 ("aarch64: Add support for Neoverse N2 CPU") in GCC
for more detail.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarch-armv8-5a.inc: Add tune include for armv8.5a
Kevin Hao [Fri, 24 Dec 2021 10:05:17 +0000 (18:05 +0800)]
arch-armv8-5a.inc: Add tune include for armv8.5a

This adds support for the armv8.5a architecture and the crypto
extension.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotune-cortexa72: Enable the crc extension by default for cortexa72
Kevin Hao [Wed, 12 Jan 2022 09:07:08 +0000 (17:07 +0800)]
tune-cortexa72: Enable the crc extension by default for cortexa72

The crc extension is optional for the ARMv8.0 but is mandatory for the
cortexa72, so there is no reason not to enable it for the cortexa72
tune. With this change, the cortexa72-crc seems redundant. But we
had better to keep it to be compatible with the BSP which already used
that tune.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: Only allow network in existing network accessing code
Richard Purdie [Tue, 21 Dec 2021 17:38:58 +0000 (17:38 +0000)]
classes: Only allow network in existing network accessing code

Use the newly added network task flag against tasks where network
access is expected. This is do_fetch, do_checkuri, do_testimage, do_testsdk
and do_testsdkext.

We can't disable networking in sstate tasks due to sstate downloads and
also so we can report hash equivalence to the server so network access
is enabled in sstate tasks.

Access within build-appliance do_image is also allowed due to the use
of pip, this is a poor example made rather obvious now and needs to be reworked.

Network access anywhere else in any other task isn't allowed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: update 3.0.3 -> 3.1.0
Alexander Kanavin [Tue, 11 Jan 2022 22:14:40 +0000 (23:14 +0100)]
ruby: update 3.0.3 -> 3.1.0

Turn on "link external modules statically" option
as otherwise ruby installer tries to do additional
building inside installed module directories in do_install
which fails horribly.

License-Update: additional MIT/BSD items

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: drop unneeded multiprocessing module patch
Alexander Kanavin [Tue, 11 Jan 2022 22:14:38 +0000 (23:14 +0100)]
python3: drop unneeded multiprocessing module patch

pthread has been merged into the main libc library
(and was never separate in musl), so separate linking
for it is no longer needed.

I ran the reproducing sequence on qemux86, qemux86_64 and same targets with musl,
and it went fine:

root@qemux86:~# python3
Python 3.10.0 (default, Oct  4 2021, 17:55:55) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
>>> pool_sema.acquire()
True
>>> pool_sema.release()
>>>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs_rpm.bbclass: distutils -> sysconfig module
Tim Orling [Tue, 11 Jan 2022 19:01:31 +0000 (11:01 -0800)]
rootfs_rpm.bbclass: distutils -> sysconfig module

Change a comment to reference our custom changes to the
sysconfig module, as dnf no longer uses distutils.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3native.bbclass: distutils -> sysconfig
Tim Orling [Tue, 11 Jan 2022 19:01:30 +0000 (11:01 -0800)]
python3native.bbclass: distutils -> sysconfig

In the comment it says we patch distutils modules, but we now are
patching sysconfig and not using distutils.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodnf: drop python3-distutils dependency
Tim Orling [Tue, 11 Jan 2022 19:01:29 +0000 (11:01 -0800)]
dnf: drop python3-distutils dependency

Upstream dropped the now deprecated distutils:
18995d65 Remove distutils which are deprecated in python3.10 (RhBug:1950229)

Usage was replaced with sysconfig, which is in python3-core

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowaf.bbclass: drop usage of distutils
Tim Orling [Tue, 11 Jan 2022 19:01:28 +0000 (11:01 -0800)]
waf.bbclass: drop usage of distutils

Refactor to use bb.utils.vercmp_string_op() instead of StrictVersion
from distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipetool/create_buildsys_python.py: less distutils
Tim Orling [Tue, 11 Jan 2022 19:01:27 +0000 (11:01 -0800)]
recipetool/create_buildsys_python.py: less distutils

'distutils' is deprecated in Python 3.10 with removal in Python 3.12
(~October 2023). Replace 'distutils.command.build_py' with
'setuptools.command.build_py'.

To avoid an AttributeError, we call super().__init__() which provides
the missing 'distribution' attribute. However, for some reason, __init__()
in 'setuptools.command.build_py.build_py' class requires a 'dist' positional
argument which must be a 'Distribution' instance. It is not clear why
'distutils.command.build_py.build_py' class does not require this.

There is still a check which decides to inherit setuptools3 vs distutils3
that will need to be refactored when we add pyproject.toml and setup.cfg
support for more modern PEP 517 packaging.

Once distutils3.bbclass is dropped, any recipe inheriting distutils3
will throw a parsing error. The plan is to move distutils*.bbclasses to
meta-python. However if meta-python is not in bblayers, the parsing
error would still occur.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-python: inherit setuptools3-base
Tim Orling [Tue, 11 Jan 2022 19:01:26 +0000 (11:01 -0800)]
gstreamer1.0-python: inherit setuptools3-base

Drop distutils3-base usage as it is now deprecated.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: do not depend on distutils
Tim Orling [Tue, 11 Jan 2022 19:01:25 +0000 (11:01 -0800)]
python3-setuptools: do not depend on distutils

No longer depend on python3-distutils, current versions of setuptools
vendor as _distutils.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pygobject: setuptools instead of distuils
Tim Orling [Tue, 11 Jan 2022 19:01:23 +0000 (11:01 -0800)]
python3-pygobject: setuptools instead of distuils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: inherit setuptools3-base instead of distutils
Tim Orling [Tue, 11 Jan 2022 19:01:24 +0000 (11:01 -0800)]
bind: inherit setuptools3-base instead of distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobtrfs-tools: use setuptools3-base not distutils
Tim Orling [Tue, 11 Jan 2022 19:01:22 +0000 (11:01 -0800)]
btrfs-tools: use setuptools3-base not distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrepo: inherit setuptools3-base not distutils
Tim Orling [Tue, 11 Jan 2022 19:01:21 +0000 (11:01 -0800)]
librepo: inherit setuptools3-base not distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreaterepo-c: inherit setuptools3-base not distutils
Tim Orling [Tue, 11 Jan 2022 19:01:20 +0000 (11:01 -0800)]
createrepo-c: inherit setuptools3-base not distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcomps: inherit setuptools3-base not distutils
Tim Orling [Tue, 11 Jan 2022 19:01:19 +0000 (11:01 -0800)]
libcomps: inherit setuptools3-base not distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemtap: use setuptools-base not distutils
Tim Orling [Tue, 11 Jan 2022 19:01:18 +0000 (11:01 -0800)]
systemtap: use setuptools-base not distutils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: inherit setuptools3 not distuils3
Tim Orling [Tue, 11 Jan 2022 19:01:17 +0000 (11:01 -0800)]
python3-pip: inherit setuptools3 not distuils3

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogpgme: inherit setuptools-base not distuils
Tim Orling [Tue, 11 Jan 2022 19:01:16 +0000 (11:01 -0800)]
gpgme: inherit setuptools-base not distuils

What was distutils-common-base has been merged into setuptools3-base,
since we no longer need to support python2 and python3.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dbus: inherit setuptools3-base not distuils
Tim Orling [Tue, 11 Jan 2022 19:01:15 +0000 (11:01 -0800)]
python3-dbus: inherit setuptools3-base not distuils

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>