]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agowireless-regdb: upgrade 2021.04.21 -> 2021.07.14
Alexander Kanavin [Sun, 22 Aug 2021 12:50:55 +0000 (14:50 +0200)]
wireless-regdb: upgrade 2021.04.21 -> 2021.07.14

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20210511 -> 20210818
Alexander Kanavin [Sun, 22 Aug 2021 12:50:54 +0000 (14:50 +0200)]
linux-firmware: upgrade 20210511 -> 20210818

License-Update: new firmware files, copyright years, file names
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxserver-xorg: upgrade 1.20.12 -> 1.20.13
Alexander Kanavin [Sun, 22 Aug 2021 12:50:53 +0000 (14:50 +0200)]
xserver-xorg: upgrade 1.20.12 -> 1.20.13

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxft: upgrade 2.3.3 -> 2.3.4
Alexander Kanavin [Sun, 22 Aug 2021 12:50:52 +0000 (14:50 +0200)]
libxft: upgrade 2.3.3 -> 2.3.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxfont2: upgrade 2.0.4 -> 2.0.5
Alexander Kanavin [Sun, 22 Aug 2021 12:50:51 +0000 (14:50 +0200)]
libxfont2: upgrade 2.0.4 -> 2.0.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibinput: upgrade 1.18.0 -> 1.18.1
Alexander Kanavin [Sun, 22 Aug 2021 12:50:50 +0000 (14:50 +0200)]
libinput: upgrade 1.18.0 -> 1.18.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 21.1.5 -> 21.2.1
Alexander Kanavin [Sun, 22 Aug 2021 12:50:48 +0000 (14:50 +0200)]
mesa: upgrade 21.1.5 -> 21.2.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: upgrade 1.48.7 -> 1.48.9
Alexander Kanavin [Sun, 22 Aug 2021 12:50:49 +0000 (14:50 +0200)]
pango: upgrade 1.48.7 -> 1.48.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibepoxy: upgrade 1.5.8 -> 1.5.9
Alexander Kanavin [Sun, 22 Aug 2021 12:50:47 +0000 (14:50 +0200)]
libepoxy: upgrade 1.5.8 -> 1.5.9

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjpeg-turbo: upgrade 2.1.0 -> 2.1.1
Alexander Kanavin [Sun, 22 Aug 2021 12:50:46 +0000 (14:50 +0200)]
libjpeg-turbo: upgrade 2.1.0 -> 2.1.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgudev: upgrade 236 -> 237
Alexander Kanavin [Sun, 22 Aug 2021 12:50:45 +0000 (14:50 +0200)]
libgudev: upgrade 236 -> 237

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: upgrade 40.2 -> 40.3
Alexander Kanavin [Sun, 22 Aug 2021 12:50:44 +0000 (14:50 +0200)]
epiphany: upgrade 40.2 -> 40.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosudo: upgrade 1.9.7p1 -> 1.9.7p2
Alexander Kanavin [Sun, 22 Aug 2021 12:50:43 +0000 (14:50 +0200)]
sudo: upgrade 1.9.7p1 -> 1.9.7p2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.12.12 -> 0.13.00
Alexander Kanavin [Sun, 22 Aug 2021 12:50:42 +0000 (14:50 +0200)]
stress-ng: upgrade 0.12.12 -> 0.13.00

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibidn2: upgrade 2.3.1 -> 2.3.2
Alexander Kanavin [Sun, 22 Aug 2021 12:50:41 +0000 (14:50 +0200)]
libidn2: upgrade 2.3.1 -> 2.3.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoacpica: upgrade 20210331 -> 20210730
Alexander Kanavin [Sun, 22 Aug 2021 12:50:40 +0000 (14:50 +0200)]
acpica: upgrade 20210331 -> 20210730

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: upgrade 4.4 -> 4.5
Alexander Kanavin [Sun, 22 Aug 2021 12:50:39 +0000 (14:50 +0200)]
squashfs-tools: upgrade 4.4 -> 4.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: upgrade 57.1.0 -> 57.4.0
Alexander Kanavin [Sun, 22 Aug 2021 12:50:38 +0000 (14:50 +0200)]
python3-setuptools: upgrade 57.1.0 -> 57.4.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pygments: upgrade 2.9.0 -> 2.10.0
Alexander Kanavin [Sun, 22 Aug 2021 12:50:37 +0000 (14:50 +0200)]
python3-pygments: upgrade 2.9.0 -> 2.10.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: upgrade 21.2.1 -> 21.2.4
Alexander Kanavin [Sun, 22 Aug 2021 12:50:36 +0000 (14:50 +0200)]
python3-pip: upgrade 21.2.1 -> 21.2.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-git: upgrade 3.1.18 -> 3.1.20
Alexander Kanavin [Sun, 22 Aug 2021 12:50:35 +0000 (14:50 +0200)]
python3-git: upgrade 3.1.18 -> 3.1.20

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopkgconf: upgrade 1.7.4 -> 1.8.0
Alexander Kanavin [Sun, 22 Aug 2021 12:50:34 +0000 (14:50 +0200)]
pkgconf: upgrade 1.7.4 -> 1.8.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: upgrade 0.12 -> 0.13
Alexander Kanavin [Sun, 22 Aug 2021 12:50:33 +0000 (14:50 +0200)]
patchelf: upgrade 0.12 -> 0.13

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtools: upgrade 4.0.34 -> 4.0.35
Alexander Kanavin [Sun, 22 Aug 2021 12:50:32 +0000 (14:50 +0200)]
mtools: upgrade 4.0.34 -> 4.0.35

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolog4cplus: upgrade 2.0.6 -> 2.0.7
Alexander Kanavin [Sun, 22 Aug 2021 12:50:31 +0000 (14:50 +0200)]
log4cplus: upgrade 2.0.6 -> 2.0.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibedit: upgrade 20210522-3.1 -> 20210714-3.1
Alexander Kanavin [Sun, 22 Aug 2021 12:50:30 +0000 (14:50 +0200)]
libedit: upgrade 20210522-3.1 -> 20210714-3.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohelp2man: upgrade 1.48.3 -> 1.48.4
Alexander Kanavin [Sun, 22 Aug 2021 12:50:29 +0000 (14:50 +0200)]
help2man: upgrade 1.48.3 -> 1.48.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoe2fsprogs: upgrade 1.46.2 -> 1.46.4
Alexander Kanavin [Sun, 22 Aug 2021 12:50:28 +0000 (14:50 +0200)]
e2fsprogs: upgrade 1.46.2 -> 1.46.4

Drop big-inodes-for-small-fs.patch: upstream made the same fix.

Drop 0001-lib-ext2fs-unix_io.c-do-unlock-on-error.patch
0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
(upstream has fixed the issue).

Add 0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
to correct a ptest failure due to incorrectly expected inode size
(recent change that wasn't run against the tests upstream?).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-networking: upgrade 2.68.1 -> 2.68.2
Alexander Kanavin [Sun, 22 Aug 2021 12:50:27 +0000 (14:50 +0200)]
glib-networking: upgrade 2.68.1 -> 2.68.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomobile-broadband-provider-info: upgrade 20201225 -> 20210805
Alexander Kanavin [Sun, 22 Aug 2021 12:50:26 +0000 (14:50 +0200)]
mobile-broadband-provider-info: upgrade 20201225 -> 20210805

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinetutils: upgrade 2.0 -> 2.1
Alexander Kanavin [Sun, 22 Aug 2021 12:50:25 +0000 (14:50 +0200)]
inetutils: upgrade 2.0 -> 2.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agousbutils: upgrade 013 -> 014
Alexander Kanavin [Sun, 22 Aug 2021 12:50:24 +0000 (14:50 +0200)]
usbutils: upgrade 013 -> 014

License-Update: SPDX ids corrected, license are same.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibjitterentropy: update 3.0.2 -> 3.1.0
Alexander Kanavin [Sun, 22 Aug 2021 12:50:23 +0000 (14:50 +0200)]
libjitterentropy: update 3.0.2 -> 3.1.0

License-Update: formatting, files renamed.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopulseaudio: update 14.2 -> 15.0
Alexander Kanavin [Sun, 22 Aug 2021 12:50:22 +0000 (14:50 +0200)]
pulseaudio: update 14.2 -> 15.0

Drop backports.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Sun, 22 Aug 2021 12:50:21 +0000 (14:50 +0200)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: update 2.0.14 -> 2.0.16
Alexander Kanavin [Sun, 22 Aug 2021 12:50:20 +0000 (14:50 +0200)]
libsdl2: update 2.0.14 -> 2.0.16

License-Update: formatting
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomc: update 4.8.26 - > 4.8.27
Alexander Kanavin [Sun, 22 Aug 2021 12:50:19 +0000 (14:50 +0200)]
mc: update 4.8.26 - > 4.8.27

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffutils: update 3.7 -> 3.8
Alexander Kanavin [Sun, 22 Aug 2021 12:50:18 +0000 (14:50 +0200)]
diffutils: update 3.7 -> 3.8

Drop patch as issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobtrfs-tools: update 5.13 -> 5.13.1
Alexander Kanavin [Sun, 22 Aug 2021 12:50:17 +0000 (14:50 +0200)]
btrfs-tools: update 5.13 -> 5.13.1

Drop patch as issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxeyes: upgrade 1.1.2 -> 1.2.0
Alexander Kanavin [Sun, 22 Aug 2021 12:50:16 +0000 (14:50 +0200)]
xeyes: upgrade 1.1.2 -> 1.2.0

libxi is a new requirement.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: upgrade 249.1 -> 249.3
Alexander Kanavin [Sun, 22 Aug 2021 12:50:13 +0000 (14:50 +0200)]
systemd: upgrade 249.1 -> 249.3

The patch changes are all git rearranging chunks on rebase; there are no functional changes.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-numpy: upgrade 1.21.0 -> 1.21.2
Alexander Kanavin [Sun, 22 Aug 2021 12:50:15 +0000 (14:50 +0200)]
python3-numpy: upgrade 1.21.0 -> 1.21.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: upgrade 0.29.23 -> 0.29.24
Alexander Kanavin [Sun, 22 Aug 2021 12:50:14 +0000 (14:50 +0200)]
python3-cython: upgrade 0.29.23 -> 0.29.24

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxcrypt: upgrade 4.4.23 -> 4.4.25
Alexander Kanavin [Sun, 22 Aug 2021 12:50:12 +0000 (14:50 +0200)]
libxcrypt: upgrade 4.4.23 -> 4.4.25

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolighttpd: convert from autotools to meson
Alexander Kanavin [Sun, 22 Aug 2021 12:50:11 +0000 (14:50 +0200)]
lighttpd: convert from autotools to meson

virtual/crypt is a hard dependency in meson builds.

ipv6 support is determined automatically.

The rest of the options are converted where available;
not every autoconf option exists in meson.

Modules are now packaged in /usr/lib/lighttpd, so adjust packaging accordingly.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotcf-agent: fetching over git:// no longer works
Alexander Kanavin [Sun, 22 Aug 2021 12:50:09 +0000 (14:50 +0200)]
tcf-agent: fetching over git:// no longer works

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowordsize.h: Fix a miss, this file in arm and aarch64 should be the same.
leimaohui [Sat, 21 Aug 2021 21:41:52 +0000 (05:41 +0800)]
wordsize.h: Fix a miss, this file in arm and aarch64 should be the same.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoFix conflict error when enable multilib.
leimaohui [Sat, 21 Aug 2021 21:41:53 +0000 (05:41 +0800)]
Fix conflict error when enable multilib.

file /usr/include/bits/pthread_stack_min.h conflicts between attempted installs of libc6-dev-2.34-r0.aarch64 and lib32-libc6-dev-2.34-r0.armv7ahf_neon

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: enable ptest
Tim Orling [Sun, 22 Aug 2021 03:39:41 +0000 (20:39 -0700)]
python3-hypothesis: enable ptest

The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).

The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.

Instead, use two test suites from examples/

References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.14.8 -> 6.15.0
Tim Orling [Sun, 22 Aug 2021 03:39:40 +0000 (20:39 -0700)]
python3-hypothesis: upgrade 6.14.8 -> 6.15.0

6.15.0 - 2021-08-22

This release emits a more useful error message when @given() is applied to
a coroutine function, i.e. one defined using async def (issue #3054).

This was previously only handled by the generic return_value health check,
which doesn’t direct you to use either a custom executor or a library such
as pytest-trio or pytest-asyncio to handle it for you.

6.14.9 - 2021-08-20

This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed
to resolve types which inherit from multiple parametrised generic types,
affecting the returns package (issue #3060).

References:
https://github.com/HypothesisWorks/hypothesis/issues/3054
https://github.com/HypothesisWorks/hypothesis/issues/3060

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: Re-order gbm destruction at DRM-backend tear down
Khem Raj [Sat, 21 Aug 2021 20:08:09 +0000 (13:08 -0700)]
weston: Re-order gbm destruction at DRM-backend tear down

Fixes an annoying segfault seen on rpi4 when launching weston during
boot especially using systemd service or sysvinit script, if weston is
launched manually on VT, it works fine. This backport specifically
addresses the issue described above.

For more details see [1]

[1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarch-arm*: Fix bugs with dsp and simd feature include files
Jon Mason [Sat, 21 Aug 2021 19:32:16 +0000 (15:32 -0400)]
arch-arm*: Fix bugs with dsp and simd feature include files

Fix bugs found with a duplicate inclusion of feature-arm-simd.inc and
dsp not being defined in feature-arm-dsp.inc

Found by compiling with DEFAULTTUNE set to 'armv8r' and 'cortexm33'
respectively.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib/oe/elf: Add Android OS to machine_dict
Hsia-Jun Li [Fri, 20 Aug 2021 06:11:50 +0000 (14:11 +0800)]
lib/oe/elf: Add Android OS to machine_dict

Add entries for Android to the mappings.

Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoutils: Reduce the number of calls to the "dirname" command
Oleksandr Popovych [Fri, 20 Aug 2021 12:41:43 +0000 (05:41 -0700)]
utils: Reduce the number of calls to the "dirname" command

utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".

Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.

There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.

Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolzo: add CVE_PRODUCT
Marta Rybczynska [Fri, 20 Aug 2021 10:09:38 +0000 (12:09 +0200)]
lzo: add CVE_PRODUCT

lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were
not reported.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoassimp: added patch to fix hardcoded non-existing paths in CMake modules
Purushottam Choudhary [Fri, 20 Aug 2021 10:07:09 +0000 (15:37 +0530)]
assimp: added patch to fix hardcoded non-existing paths in CMake modules

assimp CMake modules were adding non-existing paths to its CMake modules
breaking builds for users of assimp. Remove the hardcoded paths with
an upstream patch with small tweaks.

Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_rpm/update-alternatives: fix package's provides
Chen Qi [Fri, 20 Aug 2021 06:59:31 +0000 (23:59 -0700)]
package_rpm/update-alternatives: fix package's provides

Currently we have:
  $ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
  bash = 5.1.8-r0

This is incorrect as bash provides /bin/bash and /bin/sh. This is caused by
incomplete conversion of new override syntax, which breaks the per-file
parsing of package_rpm.

With this patch, we have:
  $ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
  /bin/bash
  /bin/sh
  bash = 5.1.8-r0

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: also relocate the musl loader
Ross Burton [Tue, 17 Aug 2021 16:08:15 +0000 (16:08 +0000)]
gcc: also relocate the musl loader

Alongside GLIBC and UCLIBC, also relocate the musl loader.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Fix nativesdk builds and multilib fixes with gcc 11
Richard Purdie [Mon, 16 Aug 2021 22:23:05 +0000 (23:23 +0100)]
gcc: Fix nativesdk builds and multilib fixes with gcc 11

In newer gcc versions the headers changed locations and our multiconfig
and nativesdk tweaks to loader paths wasn't working. The broke
buildtools-extended-tarball, particularly on arm. Update to fix this.

Ultimately we should dump the gcc specs and check for hardcoded paths.
This isn't possible quite yet as this patch doesn't fix the musl ones
as we don't use that in mutlilib or nativesdk scenarios at present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.14.5 -> 6.14.8
Tim Orling [Thu, 19 Aug 2021 05:18:25 +0000 (22:18 -0700)]
python3-hypothesis: upgrade 6.14.5 -> 6.14.8

6.14.8 - 2021-08-16
This patch ensures that registering a strategy for a subclass of a
parametrised generic type such as class Lines(Sequence[str]): will not
“leak” into unrelated strategies such as st.from_type(Sequence[int])
(issue #2951). Unfortunately this fix requires PEP 560, meaning Python
3.7 or later.

6.14.7 - 2021-08-14
This patch fixes issue #3050, where attrs classes could cause an internal
error in the ghostwriter.

6.14.6 - 2021-08-07
This patch improves the error message for issue #3016, where PEP 585 builtin
generics with self-referential forward-reference strings cannot be resolved
to a strategy by from_type().

References:
https://github.com/HypothesisWorks/hypothesis/issues/2951
https://www.python.org/dev/peps/pep-0560
https://github.com/HypothesisWorks/hypothesis/issues/3050
https://www.python.org/dev/peps/pep-0585

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-importlib-metadata: upgrade 4.6.3 -> 4.6.4
Tim Orling [Thu, 19 Aug 2021 05:18:24 +0000 (22:18 -0700)]
python3-importlib-metadata: upgrade 4.6.3 -> 4.6.4

v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
https://github.com/python/importlib_metadata/issues/334

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotune-cortexr*: add support for all Arm Cortex-R processors
Jon Mason [Thu, 19 Aug 2021 02:52:21 +0000 (22:52 -0400)]
tune-cortexr*: add support for all Arm Cortex-R processors

Add tune entries for all Arm Cortex-R processors currently supported in
GCC.  Also, add the simd feature, which can be used in ARMv7a and
ARMv8a, but currently isn't.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarch-arm*: add better support for gcc march extensions
Jon Mason [Thu, 19 Aug 2021 02:52:20 +0000 (22:52 -0400)]
arch-arm*: add better support for gcc march extensions

GCC has the ability to pass extensions to the march parameter, which
expand the funcationality of the march.  For example
"-march=armv7ve+simd" adds SIMD to ARMv7.  Currently, there is no way to
expand the march setting without modifying each instance, as you can't
guarantee the ordering when using the existing TUNE_CCARGS.  By
introducing two new variables, TUNE_CCARGS_MARCH and
TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together.

Also, expand existing and create new feature files that use these
variables to expand the functionality.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoAllow global override of golang GO_DYNLINK
Oliver Kranz [Thu, 19 Aug 2021 09:22:00 +0000 (11:22 +0200)]
Allow global override of golang GO_DYNLINK

Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead of =.

Signed-off-by: Oliver Kranz <o.kranz.88@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcgroup: upgrade to 2.0
Ross Burton [Thu, 19 Aug 2021 12:51:43 +0000 (13:51 +0100)]
libcgroup: upgrade to 2.0

Our UPSTREAM_CHECK_URI was looking at SourceForge, but development has
moved to GitHub so update the URI.

Update to 2.0.

Swap musl-decls-compat.patch for a backport of an upstream commit.

Replace do_install commands with a backport of an upstream commit to
install the PAM module correctly.

Don't mess about installing the library into base_libdir as the /lib vs
/usr/lib prefix split is moot these days.

Delete libcgroupfortesting.so as we don't install the test suite.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: add /etc/default/useradd
Yi Zhao [Thu, 19 Aug 2021 09:56:21 +0000 (17:56 +0800)]
shadow: add /etc/default/useradd

The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in
settings by default. Some settings are not consistent with previous
shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than
/bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back.

[1] https://github.com/shadow-maint/shadow/commit/bbf4b79bc49fd1826eb41f6629669ef0b647267b

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate.bbclass: get the number of threads from BB_NUMBER_THREADS
Jose Quaresma [Wed, 18 Aug 2021 20:29:53 +0000 (21:29 +0100)]
sstate.bbclass: get the number of threads from BB_NUMBER_THREADS

- bitbake BB_NUMBER_THREADS uses cpu_count from oe utils that uses
the python os.sched_getaffinity and it is more acurrate.

 grep -nH ^BB_NUMBER_THREADS meta/conf/bitbake.conf
 meta/conf/bitbake.conf:806:BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

- multiprocessing.cpu_count() returns the number of CPUs on the host,
not the number of usable CPUs on the host. If the user is using
scheduler affinity then the number of usable CPUs may be less,
so when determining how many cores we can use check the affinity instead.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa: wic: Add tests for --no-fstab-update
Daniel Gomez [Tue, 17 Aug 2021 20:11:15 +0000 (22:11 +0200)]
oeqa: wic: Add tests for --no-fstab-update

Add tests for the --no-fstab-update wic part command.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: Add --no-fstab-update part option
Daniel Gomez [Tue, 17 Aug 2021 20:11:14 +0000 (22:11 +0200)]
wic: Add --no-fstab-update part option

When embedding a rootfs image (e.g. 'rootfs-dir') as a partition we
might want to keep the stock fstab for that image. In such a case, use
this option to not update the fstab and use the stock one instead.

This option allows you to specify which partitions get the fstab
updated and which get the stock fstab.

The option matches the argument you can pass to wic itself where the
same action is performed but for all the partitions.

Example:
    part /export --source rootfs --rootfs-dir=hockeycam-image
--fstype=ext4 --label export --align 1024 --no-fstab-update

    part / --source rootfs --fstype=ext4 --label rootfs --align 1024

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Fix CVE-2021-38604
Vinay Kumar [Wed, 18 Aug 2021 15:31:41 +0000 (08:31 -0700)]
glibc: Fix CVE-2021-38604

Source: https://sourceware.org/git/glibc.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=28213

Backported upstream commits b805aebd42364fe696e417808a700fdb9800c9e8 and 4cc79c217744743077bf7a0ec5e0a4318f1e6641
to glibc-2.34 source.

Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=4cc79c217744743077bf7a0ec5e0a4318f1e6641]

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoelfutils: Fix ptest dependencies
Richard Purdie [Wed, 18 Aug 2021 16:33:18 +0000 (17:33 +0100)]
elfutils: Fix ptest dependencies

The elfutils ptests require debug symbols for the libc to be available, else
we see failures such as those on the autobuilder for the fast ptest image
on arm (the dbg symbols are pulled in by other recipes in other images).

Also fix various test skips/error messages due to missing gcc/ld and
development headers.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/sdk: add HTTPS test for buildtools
Ross Burton [Wed, 18 Aug 2021 10:16:20 +0000 (11:16 +0100)]
oeqa/sdk: add HTTPS test for buildtools

Verify that HTTPS connections work in both wget and Python, as this
depends on variables correctly pointing to the certificate chain.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-devsrc: fix 5.14+ objtool compilation
Bruce Ashfield [Tue, 17 Aug 2021 15:27:32 +0000 (11:27 -0400)]
kernel-devsrc: fix 5.14+ objtool compilation

In v5.14+, x86 requires not just elfutils, but the elf headers
on the target to build objtool (required for 'scripts parepare'),
so we tweak our RDEPENDS to ensure that the right headers are
on the target.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-devsrc: 5.14+ updates
Bruce Ashfield [Tue, 17 Aug 2021 15:27:31 +0000 (11:27 -0400)]
kernel-devsrc: 5.14+ updates

commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.

We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.

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.0
Bruce Ashfield [Tue, 17 Aug 2021 15:27:30 +0000 (11:27 -0400)]
lttng-modules: update to 2.13.0

Updating to 2.13.0, so we can pick up the latest -stable and
support for 5.14+ kernels.

We refresh one patch for new context, and update the LICENSE
checksum due to commit 2df37e95fa4303 [Cleanup: Move headers from
toplevel to include/lttng/]. which impacted the LICENSE file (but
licensing is the same).

MODULES_MODULE_SYMVERS_LOCATION must also be specified in this
release, as the lttng build has moved the module target to a
'src' subdirectory.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto-dev: bump to v5.14+
Bruce Ashfield [Tue, 17 Aug 2021 15:27:29 +0000 (11:27 -0400)]
linux-yocto-dev: bump to v5.14+

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: package the stub .a libaries into glibc-dev
Ross Burton [Tue, 17 Aug 2021 22:29:19 +0000 (23:29 +0100)]
glibc: package the stub .a libaries into glibc-dev

In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have
been integrated into libc. To retain compatibility with old binaries the
shared libaries are still shipped but are empty, and to keep software
building there are empty static libraries.

However, these static libraries get packaged into glibc-staticdev (as
they should be), but by this design they should be in glibc-dev.

https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/sdk: add relocation test for buildtools
Ross Burton [Tue, 17 Aug 2021 22:37:55 +0000 (23:37 +0100)]
oeqa/sdk: add relocation test for buildtools

The buildtools-extended tarball includes GCC, which relies on being
relocated correctly to work.  Add a test case that verifies that the
loader paths have all been relocated, as otherwise there are
hard-to-debug errors at build time.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrep: upgrade 3.6 -> 3.7
Denys Dmytriyenko [Tue, 17 Aug 2021 17:39:27 +0000 (13:39 -0400)]
grep: upgrade 3.6 -> 3.7

GNU grep 3.7 has been released with a fix for a bug causing
"extreme performance degradation" in certain types of search.

https://www.theregister.com/2021/08/16/gnu_grep_37/

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Apply upstream patch to fix 'too many open files' on qtwebengine
Andreas Müller [Tue, 17 Aug 2021 14:32:55 +0000 (16:32 +0200)]
binutils: Apply upstream patch to fix 'too many open files' on qtwebengine

Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even
with ulimits -n 1000000 (!!).
Fix that by applying a patch from stable 'binutils-2_37-branch'.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 21.1.5 -> 21.1.7
Andreas Müller [Tue, 17 Aug 2021 14:32:54 +0000 (16:32 +0200)]
mesa: upgrade 21.1.5 -> 21.1.7

Joshua's vc4/v3d/dma-patch was applied in 21.1.7

Release notes 21.1.7:

Bug fixes
    Miscompilation of a switch case
    [radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f.
    dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R
    The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU)
    lima: regression in plbu scissors cmd
    Incorrect rendering
Changes
    pan/bi: Restrict swizzles on same cycle temporaries
    nir/lower_mediump_io: Don’t remap base unless needed
    nir/lower_mediump: Fix metadata in all passes
    util/fossilize_db: Update parsed_offset correctly.
    util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
    util/fossilize_db: Flush files after header write.
    util/fossilize_db: Be conservative about header length check for locking.
    util/fossilize_db: Only allocate entries after full read.
    util/fossilize_db: Use uint64_t for file size.
    util/fossilize_db: Unlock the cache file if the entry already exists.
    util/fossilize_db: Add extra flock mutex.
    radv: Allocate space for inline push constants.
    vulkan/wsi/x11: do not inherit last_present_mode
    ir3: Preserve gl_ViewportIndex in the binning shader
    teximage: return correct desktop GL error for compressedteximage
    intel/fs: restrict max push length on older GPUs to a smaller amount
    virgl: disable anisotropic filtering.
    freedreno/ir3: Add build id to the disassembler test
    .pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a
    .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
    .pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated
    .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
    .pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7
    .pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4
    pick-ui: drop assert that optional argument is passed
    pick-ui: show nomination type in the UI
    pick-ui: show commit date
    lima: avoid crash with negative viewport values
    zink: make codegen compatible with python 3.5
    mesa/main: Check for fbo attachments when importing EGL images to textures
    v3d, vc4: Fix dmabuf import for non-scanout buffers
    gallium/hud: initialize query
    nv30: fix emulated vertex index buffers
    gallium: Reset {d,r}Priv in dri_unbind_context
    loader/dri3: create linear buffer with scanout support
    anv: fix submission batching with perf queries
    anv: don’t try to access Android swapchains
    renderonly: don’t complain when GPU import fails
    etnaviv: always try to create KMS side handles for imported resources
    glsl: evaluate switch expression once
    zink: use array size in spirv bo length calculations
    etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images
    clover/spirv: Properly size 3-component vector args
    clover/nir: Set constant buffer pointer size to host
    gallium/va: don’t use key=NULL in hash tables
    amd/registers: fix fields conflict detection
    radeonsi: don’t create an infinite number of variants
    nir/algebraic: fix imod by negative power-of-two
    radv: fix selecting the first active CU when profiling with SQTT
    etnaviv: fix renderonly check in etna_resource_alloc
    etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource
    freedreno: fail in get_handle(TYPE_KMS) without a scanout resource
    panfrost: fail in get_handle(TYPE_KMS) without a scanout resource
    lima: fail in get_handle(TYPE_KMS) without a scanout resource
    nine: Fix assert in tx_src_param
    intel/compiler: make sure swizzle is applied to if condition
    glsl: Add operator for .length() method on implicitly-sized arrays
    glsl: Properly handle .length() of an unsized array
    gallium/vl: don’t leak fd in vl_dri3_screen_create

Release notes 21.1.6:

Bug fixes
    [RADV] FSR in Resident Evil: Village looks very pixelated on Polaris
    Crash in update_buffers after closing KDE “splash screen” downloader
    Crash in update_buffers after closing KDE “splash screen” downloader
    radeonsi: persistent, read-only buffer maps are slow to read
    substance painter flickering with jagged texture and masks shown black
    radv: FP16 mode in FidelityFX FSR doesn’t look right
    [RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4
    Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering

Changes
    targets/graw-xlib: Add missing dep_x11
    egl/surfaceless: try kms_swrast before swrast
    meson: allow egl_native_platform to be specified
    freedreno/computerator: Fix local_size typo
    aco/optimizer: ensure to not erase high bits when propagating packed constants
    egl/wayland: Error on invalid native window
    egl/wayland: Allow EGLSurface to outlive wl_egl_window
    softpipe/aniso: move DDQ calculation to after scaling.
    llvmpipe: add support for time elapsed queries.
    .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported
    .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06
    .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3
    .pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb
    zink: remove duplicate format-mapping on little-endian
    vulkan: do not map zero-sized region of memory
    vulkan: allocate host-visible memory for swapchain images
    nir/gcm: Clear out pass_flags before starting
    iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
    anv: Handle errors properly in anv_i915_query
    v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
    lavapipe: Use common Vulkan format helpers
    broadcom/compiler: emit TMU flush before a jump
    nv50/ir/nir: fix smem size for GL
    radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues
    st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
    egl/android: include “util/compiler.h” for FALLTHROUGH macro
    util/foz: stop crashing on destroy if prepare hasn’t been called
    radeonsi: Check aux_context on si_destroy_screen()
    mesa: clear shader_info::is_lowered in prog_to_nir
    mesa: fix bindless uniform samplers update
    aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
    freedreno/ir3: Don’t force RTNE if rounding mode is undefined
    radv: only init the TC-compat ZRANGE metadata for the depth aspect
    glsl: replace some C++ code with C
    util: add workaround for Full Bore
    glsl: relax rule on varying matching for shaders older than 4.20
    lima: handle fp16 vertex formats

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: fix CVE-2021-3682
Sakib Sajal [Tue, 17 Aug 2021 00:09:13 +0000 (20:09 -0400)]
qemu: fix CVE-2021-3682

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconf/machine: move tune files to architecture directories
Jon Mason [Mon, 16 Aug 2021 22:01:42 +0000 (18:01 -0400)]
conf/machine: move tune files to architecture directories

Move all of the tune files found in conf/machine/include into their
respective architecture directories in that same location.  All
references to these will need to be updated.  So, change the relevant
ones for this tree in this commit as well.

For the ARM tunes, nest them one further into armv8a, armv8m, etc. and
rename some to make them uniform with the rest of the tunes.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.3, support glibc 2.34
Michael Halstead [Mon, 16 Aug 2021 23:03:49 +0000 (16:03 -0700)]
uninative: Upgrade to 3.3, support glibc 2.34

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Improve glob to handle glibc 2.34
Ross Burton [Fri, 13 Aug 2021 14:59:18 +0000 (15:59 +0100)]
uninative: Improve glob to handle glibc 2.34

With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.

[RP: tweak commit message]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Add lz4c, pzstd and zstd
Joshua Watt [Wed, 14 Jul 2021 13:42:48 +0000 (08:42 -0500)]
bitbake.conf: Add lz4c, pzstd and zstd

Adds the command line compression tools which are needed by bitbake

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoconf/machine: bump qemu preferred versions to 5.13
Bruce Ashfield [Sun, 15 Aug 2021 15:08:58 +0000 (11:08 -0400)]
conf/machine: bump qemu preferred versions to 5.13

5.13 is the latest reference kernel, so let's make it the
default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.4: remove recipes
Bruce Ashfield [Sun, 15 Aug 2021 15:08:57 +0000 (11:08 -0400)]
linux-yocto/5.4: remove recipes

We have 5.10 and 5.13 as the active recipes in the release/development
branches, so we remove 5.4.

This leaves us with the standard three versions for release (5.10,
5.13 and -dev).

5.4 will continue to be updated in stable/supported releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Fix overrides converion issue with PKGSIZE
Richard Purdie [Mon, 16 Aug 2021 15:20:44 +0000 (16:20 +0100)]
package: Fix overrides converion issue with PKGSIZE

This fixes pkgdata PKGSIZE info after the overrides change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage/scripts: Fix FILES_INFO handling
Richard Purdie [Mon, 16 Aug 2021 15:01:06 +0000 (16:01 +0100)]
package/scripts: Fix FILES_INFO handling

There is a long standing bug where FILES_INFO isn't written into pkgdata
with a package suffix. This means if the files are read into the datastore
as intended, the last one "wins".

Fix this to work as intended. Most of the call sites using the data need
to be updated to handle this and the overrides change correctly.

Also fix some other problematic references noticed along the way.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarch-armv8m-main: missing space
Jon Mason [Mon, 16 Aug 2021 21:48:38 +0000 (17:48 -0400)]
arch-armv8m-main: missing space

Correct an issue with 2 AVAILTUNES not being separated by a space.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/buildoptions: test buildhistory PKGSIZE and FILELIST fields
Ross Burton [Mon, 16 Aug 2021 15:38:29 +0000 (16:38 +0100)]
oeqa/selftest/buildoptions: test buildhistory PKGSIZE and FILELIST fields

Add tests to ensure that PKGSIZE and FILELIST fields are set correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoprelink: add PACKAGECONFIG for selinux
Yi Zhao [Mon, 16 Aug 2021 02:09:10 +0000 (10:09 +0800)]
prelink: add PACKAGECONFIG for selinux

Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/lib/wic/help/py: "Redhat" -> "Red Hat"
Robert P. J. Day [Sun, 15 Aug 2021 17:45:21 +0000 (13:45 -0400)]
scripts/lib/wic/help/py: "Redhat" -> "Red Hat"

Company name is properly spelled as "Red Hat".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshadow: fix default value in SHA_get_salt_rounds()
Mingli Yu [Mon, 16 Aug 2021 08:03:45 +0000 (16:03 +0800)]
shadow: fix default value in SHA_get_salt_rounds()

Backport a patch [1] to fix chpasswd, gpasswd and passwd "hang" for
several minutes (10-20min) at 100% cpu usage though they finally
terminate successfully.

[1] https://github.com/shadow-maint/shadow/issues/393

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test results
Richard Purdie [Mon, 16 Aug 2021 09:15:40 +0000 (10:15 +0100)]
oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test results

We dont control the test output and sometimes see badly encoded characters.
These don't affect the operation of the code we're running. Use
errors='replace' to avoid those issues and the resulting test failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoman-db: Add compression PACKAGECONFIG entries
Richard Purdie [Mon, 16 Aug 2021 08:51:15 +0000 (09:51 +0100)]
man-db: Add compression PACKAGECONFIG entries

Add PACKAGECONFIG entries for various compression algorithms to ensure
builds are deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoelfutils: Add zstd PACKAGECONFIG for determinism
Richard Purdie [Mon, 16 Aug 2021 08:39:03 +0000 (09:39 +0100)]
elfutils: Add zstd PACKAGECONFIG for determinism

Ensure builds as deterministic by covering all compression configuration
options.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomaintainers.inc: maintainer for alsa-*, flac, lame and speex
Michael Opdenacker [Tue, 10 Aug 2021 15:37:15 +0000 (17:37 +0200)]
maintainers.inc: maintainer for alsa-*, flac, lame and speex

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.13: update to v5.13.9
Bruce Ashfield [Sun, 15 Aug 2021 15:08:56 +0000 (11:08 -0400)]
linux-yocto/5.13: update to v5.13.9

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

    f259ee2f0379 Linux 5.13.9
    4288f43d9e0e spi: mediatek: Fix fifo transfer
    fad0494f626f drm/amd/display: Fix ASSR regression on embedded panels
    02db470b866f Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    c268b30ff4e0 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    989b27104a97 io_uring: explicitly catch any illegal async queue attempt
    f7be9c72d1de io_uring: never attempt iopoll reissue from release path
    eb9b9c610f25 drm/amd/display: Fix max vstartup calculation for modes with borders
    9cc57c6cdd24 drm/amd/display: Fix comparison error in dcn21 DML
    b3b7be424610 nvme: fix nvme_setup_command metadata trace event
    d26ac2d83b02 efi/mokvar: Reserve the table only if it is in boot services data
    dbdf7e3d5684 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
    f248077aef20 ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
    a35d559db687 net: Fix zero-copy head len calculation.
    4bf6168d0b6a ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
    3cadaeae64dc qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    a6b2ef5b5ffb r8152: Fix a deadlock by doubly PM resume
    5feeb2da23e5 r8152: Fix potential PM refcount imbalance
    bf7dd85e9e02 regulator: mtk-dvfsrc: Fix wrong dev pointer for devm_regulator_register
    ee37879e24c4 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    c2fdcb148e33 spi: stm32h7: fix full duplex irq handler handling
    64d62c4e4ccb regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    2e4e8df287c1 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
    1c5b8c4e4cb5 ASoC: Intel: boards: fix xrun issue on platform with max98373
    497a0258df14 ASoC: Intel: boards: create sof-maxim-common module
    301f2270d3ac ASoC: Intel: boards: handle hda-dsp-common as a module
    c348419f365b net: dsa: sja1105: fix address learning getting disabled on the CPU port
    5ee064ade19a net: dsa: sja1105: parameterize the number of ports
    1ce09f0ae455 cifs: add missing parsing of backupuid
    cf5663d06bc3 cifs: use helpers when parsing uid/gid mount options and validate them
    2abe7e0f1983 bpf, sockmap: On cleanup we additionally need to remove cached skb
    96b1d399a4f2 skmsg: Pass source psock to sk_psock_skb_redirect()
    b82ffbf55977 skmsg: Increase sk->sk_drops when dropping packets
    af8884055780 power: supply: ab8500: Call battery population once
    5a40048e60b2 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
    15c8463df133 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
    3cfdd7252e00 Linux 5.13.8
    d92d15c28841 octeontx2-af: Remove unnecessary devm_kfree
    187463c4a262 perf pmu: Fix alias matching
    5e1fc537c1be can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    f27deb33bbdb i40e: Add additional info to PHY type error
    e95d994d2f8f io_uring: fix race in unified task_work running
    ee6d50cb1c23 Revert "perf map: Fix dso->nsinfo refcounting"
    9755a447ec42 powerpc/pseries: Fix regression while building external modules
    c73256979654 powerpc/vdso: Don't use r30 to avoid breaking Go lang
    52e9158959d2 SMB3: fix readpage for large swap cache
    19f60bf08ee3 bpf: Fix pointer arithmetic mask tightening under state pruning
    8595837e9df5 bpf: verifier: Allocate idmap scratch in verifier env
    738ab7d5e554 bpf: Remove superfluous aux sanitation on subprog rejection
    0b27bdf02c40 bpf: Fix leakage due to insufficient speculative store bypass mitigation
    ddab060f996e bpf: Introduce BPF nospec instruction for mitigating Spectre v4
    9ec54436991f can: hi311x: fix a signedness bug in hi3110_cmd()
    dda5c13325f1 sis900: Fix missing pci_disable_device() in probe and remove
    6cbc642e6f82 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    c7d5458d5589 sctp: fix return value check in __sctp_rcv_asconf_lookup
    fc553003e361 block: delay freeing the gendisk
    926fa6598cdd net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32
    601c356d1e0a net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    6b35ae3f6b42 net/mlx5: Unload device upon firmware fatal error
    9bf4345430b4 net/mlx5e: Fix page allocation failure for ptp-RQ over SF
    09f2d23a618e net/mlx5e: Fix page allocation failure for trap-RQ over SF
    e6eaea0980ee net/mlx5e: Add NETIF_F_HW_TC to hw_features when HTB offload is available
    b0ba8a145d8d net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined
    4d253ea99fba net/mlx5: E-Switch, handle devcom events only for ports on the same device
    0b26a4e2d5dd net/mlx5: E-Switch, Set destination vport vhca id only when merged eswitch is supported
    1dc7f1219c13 net/mlx5e: Disable Rx ntuple offload for uplink representor
    644c3c58ec77 net/mlx5: Fix flow table chaining
    951e41ddd214 bpf, sockmap: Zap ingress queues after stopping strparser
    0664f9acc5bf KVM: selftests: Fix missing break in dirty_log_perf_test arg parsing
    9e27f578a403 drm/msm/dp: Initialize the INTF_CONFIG register
    c122e9371bd6 drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run
    58389fac95fb drm/msm/dpu: Fix sm8250_mdp register length
    5e8c20b001e8 net: llc: fix skb_over_panic
    40e79954edce KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
    9eb2c41471e6 drm/i915/bios: Fix ports mask
    4689d61012a6 drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c
    7d93d6111d0e mlx4: Fix missing error code in mlx4_load_one()
    58b30f9e1a48 net: phy: broadcom: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811 PHY
    0379d6b0118a octeontx2-pf: Dont enable backpressure on LBK links
    4182c0d66639 octeontx2-pf: Fix interface down flag on error
    b8a071889fb3 tipc: do not write skb_shinfo frags when doing decrytion
    0e99b794c0bc can: mcp251xfd: mcp251xfd_irq(): stop timestamping worker in case error in IRQ
    d6892195dfbe ionic: count csum_none when offload enabled
    70da7c504236 ionic: fix up dim accounting for tx and rx
    e8927398faa1 ionic: remove intr coalesce update from napi
    b367a9a2cebe ionic: catch no ptp support earlier
    12e88273896d ionic: make all rx_mode work threadsafe
    2e618cf6db69 net: qrtr: fix memory leaks
    56a5e590b31e loop: reintroduce global lock for safe loop_validate_file() traversal
    fcc99d41954f net: dsa: mv88e6xxx: silently accept the deletion of VID 0 too
    a6964b4c65c7 net: Set true network header for ECN decapsulation
    7b3f85278d90 tipc: fix sleeping in tipc accept routine
    a73d03806166 tipc: fix implicit-connect for SYN+
    457202b9132f i40e: Fix log TC creation failure when max num of queues is exceeded
    a7ce70625f44 i40e: Fix queue-to-TC mapping on Tx
    644575296661 i40e: Fix firmware LLDP agent related warning
    79c71f5168c5 i40e: Fix logic of disabling queues
    367bec7665d1 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    62659ab3563a netfilter: conntrack: adjust stop timestamp to real expiry value
    525e6eb9258c mac80211: fix enabling 4-address mode on a sta vif after assoc
    13b8ab2f6f84 bpf: Fix OOB read when printing XDP link fdinfo
    467c905bb613 netfilter: nf_tables: fix audit memory leak in nf_tables_commit
    f7046443c8ac RDMA/rxe: Fix memory leak in error path code
    1544d2b86fa7 platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd()
    d23677f3da7a platform/x86: amd-pmc: Fix SMU firmware reporting mechanism
    91f5c8fb6d8e platform/x86: amd-pmc: Fix command completion code
    7113367b2229 RDMA/bnxt_re: Fix stats counters
    d68acf353765 cfg80211: Fix possible memory leak in function cfg80211_bss_update
    a8d4169f924a io_uring: fix poll requests leaking second poll entries
    5db0ca0fbebf io_uring: don't block level reissue off completion path
    5bb49c88472f io_uring: fix io_prep_async_link locking
    ca324a215bf9 nfc: nfcsim: fix use after free during module unload
    caed0df2e52d blk-iocost: fix operation ordering in iocg_wake_fn()
    749abc8d274f drm/amdgpu: Fix resource leak on probe error path
    070f46bcf6b4 drm/amdgpu: Avoid printing of stack contents on firmware load error
    4e7961b3d5fd drm/amdgpu: Check pmops for desired suspend state
    0652b1eade53 drm/amd/display: ensure dentist display clock update finished in DCN20
    9c2cae70e3a0 NIU: fix incorrect error return, missed in previous revert
    633799ddcff4 net: stmmac: add est_irq_status callback function for GMAC 4.10 and 5.10
    fa1c5eff378f HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    892ced352e05 alpha: register early reserved memory in memblock
    a63d311c966c can: esd_usb2: fix memory leak
    d23e7c014cc4 can: ems_usb: fix memory leak
    62365842aed3 can: usb_8dev: fix memory leak
    78673a83947b can: mcba_usb_start(): add missing urb->transfer_dma initialization
    87d268fe1bdb can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
    aec236c7147a can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    ea9e6fc2bc5d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    9293727af539 mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()
    87370a9d413a mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresholding code
    3df2bd9978b1 ocfs2: issue zeroout to EOF blocks
    c9302ab319ed ocfs2: fix zero out valid data
    a9f2d0884d70 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    a80e3243e924 x86/kvm: fix vcpu-id indexed array sizes
    3c82e27986af ACPI: DPTF: Fix reading of attributes
    cf90e1c4ad57 Revert "ACPI: resources: Add checks for ACPI IRQ override"
    1d381aca0d9c btrfs: mark compressed range uptodate only if all bio succeed
    c543bced163b btrfs: fix rw device counting in __btrfs_free_extra_devids
    9e4417af187e btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    89e34995bdd7 fs/ext2: Avoid page_address on pages returned by ext2_get_page
    f0aa1bc37e9a pipe: make pipe writes always wake up readers
    5a5aaf4177da selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>