]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoclasses/create-spdx: Add packageSupplier field
Joshua Watt [Thu, 27 Jan 2022 22:48:52 +0000 (16:48 -0600)]
classes/create-spdx: Add packageSupplier field

Per NIST SBoM recommendations, include the Package Supplier field for
all SPDX packages that are created. This field should generally be set
to the person or organization that is performing the build, since they
would be considered the "supplier" of the SPDX packages.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonewlib: Upgrade 4.1.0 -> 4.2.0
Alejandro Hernandez Samaniego [Fri, 28 Jan 2022 01:40:22 +0000 (18:40 -0700)]
newlib: Upgrade 4.1.0 -> 4.2.0

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Minimize udev package size if DISTRO_FEATURES doen't contain sysvinit
Stefan Herbrechtsmeier [Wed, 2 Feb 2022 07:35:25 +0000 (08:35 +0100)]
systemd: Minimize udev package size if DISTRO_FEATURES doen't contain sysvinit

Link udev shared with systemd helper to minimize the udev package size
if DISTRO_FEATURES doesn't configure sysvinit to be used.

It is only usefull to link udev static with systemd helper if udev
should be installed without systemd such as a mixed sysvinit and systemd environment

[RP: Fixed to use sysvinit distro feature instead of systemd]
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Add link-udev-shared PACKAGECONFIG
Stefan Herbrechtsmeier [Wed, 2 Feb 2022 07:35:24 +0000 (08:35 +0100)]
systemd: Add link-udev-shared PACKAGECONFIG

Add a PACKAGECONFIG to link systemd-udev and its helpers to
libsystemd-shared.so. If enabled the udev package depends on the systemd
package.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: create directory of CVE_CHECK_MANIFEST before copy
Stefan Herbrechtsmeier [Wed, 2 Feb 2022 07:35:23 +0000 (08:35 +0100)]
cve-check: create directory of CVE_CHECK_MANIFEST before copy

Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: allow to create directory whose path contains symlink
Pavel Zhukov [Wed, 2 Feb 2022 13:57:29 +0000 (14:57 +0100)]
systemd: allow to create directory whose path contains symlink

Systemd version 250 has a regression which blocks mountd service from
creating subdirectories if path contains symlink. This blocks bind
mounts under /var/run, /lib for example.

Bug-Url: https://github.com/systemd/systemd/issues/22334

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoyocto-check-layer: check for duplicate layers when finding layers
Ross Burton [Wed, 2 Feb 2022 13:00:11 +0000 (13:00 +0000)]
yocto-check-layer: check for duplicate layers when finding layers

detect_layers() is very greedy and if it recurses into poky or bitbake
it will find the test suite layers, such as
bitbake/lib/layerindexlib/tests/testdata/layer4. This is a dummy layer
which claims to be openembedded-layer, so if the real openembedded-layer
is a dependency then layer4 may be used instead, which will cause
errors: initially because it's only compatible with Sumo, but later
because it doesn't contain any recipes.

Add a check that the set of layers we've found doesn't contain any
duplicate collection names with different patterns, and abort if that is
the case as the test will be non-deterministic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/runqemu-ifdown: Don't treat the last iptables command as special
Daniel Müller [Wed, 2 Feb 2022 17:18:05 +0000 (17:18 +0000)]
scripts/runqemu-ifdown: Don't treat the last iptables command as special

The runqemu-ifup script performs a bunch of setup steps that
runqemu-ifdown attempts to undo later on. While a bunch of said setup
operations are considered fatal should they fail, the iptables based NAT
setup notably is not.
The tear down procedure in runqemu-ifdown, however, has the iptables
based tear down as the last operation, with the status of it determining
the overall status of the script. Hence, if this step fails, the script
is considered a failure overall. That is arguably inconsistent: If the
NAT setup did not succeed, the tear down cannot succeed either.
To ensure similarity of the two paths, let's not treat the last iptables
tear down operation any special and allow it to fail the runqemu-ifdown
script, but just ignore failures.

Background: we have seen a NAT related setup problem on the ifup path
(which didn't cause script failure), but then saw an issue bubbled up
when this operation was meant to be undone on the ifdown path.

Signed-off-by: Daniel Müller <muellerd@fb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipetool: Fix circular reference in SRC_URI
Saul Wold [Thu, 3 Feb 2022 19:43:48 +0000 (11:43 -0800)]
recipetool: Fix circular reference in SRC_URI

When creating a new recipe.bb file for a binary, don't use BP which
includes the version information, instead use BPN which is just the
name base Package Name.

Since PB is not specified, it takes the default:
PV = "1.0+git${SRCPV}"

But SRCPV is defined in terms of the SRC_URI, which leads to infinite
recursion (traceback below). Here are the pertinent variables which
cause the recursion:

SRC_URI = "git://github.com/lvc/abi-dumper;protocol=https;subdir=${BP}"
BP = "${BPN}-${PV}"
PV = "1.0+git${SRCPV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"

def get_srcrev(d, method_name='sortable_revision'):
    # ... trimmed
    scms = []
    fetcher = Fetch(d.getVar('SRC_URI').split(), d)
    # ... trimmed

[YOCTO #14040]

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 3.2.0 -> 3.3.1
Alexander Kanavin [Wed, 2 Feb 2022 18:27:49 +0000 (19:27 +0100)]
harfbuzz: upgrade 3.2.0 -> 3.3.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgpg-error: update 1.43 -> 1.44
Alexander Kanavin [Wed, 2 Feb 2022 18:27:39 +0000 (19:27 +0100)]
libgpg-error: update 1.43 -> 1.44

Drop accepted patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agore2c: upgrade 2.2 -> 3.0
Alexander Kanavin [Wed, 2 Feb 2022 18:27:58 +0000 (19:27 +0100)]
re2c: upgrade 2.2 -> 3.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibusb1: upgrade 1.0.24 -> 1.0.25
Alexander Kanavin [Wed, 2 Feb 2022 18:27:57 +0000 (19:27 +0100)]
libusb1: upgrade 1.0.24 -> 1.0.25

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: upgrade 2.62 -> 2.63
Alexander Kanavin [Wed, 2 Feb 2022 18:27:56 +0000 (19:27 +0100)]
libcap: upgrade 2.62 -> 2.63

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 201 -> 202
Alexander Kanavin [Wed, 2 Feb 2022 18:27:55 +0000 (19:27 +0100)]
diffoscope: upgrade 201 -> 202

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, 2 Feb 2022 18:27:54 +0000 (19:27 +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 agopiglit: upgrade to latest revision
Alexander Kanavin [Wed, 2 Feb 2022 18:27:51 +0000 (19:27 +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 agomesa: upgrade 21.3.4 -> 21.3.5
Alexander Kanavin [Wed, 2 Feb 2022 18:27:50 +0000 (19:27 +0100)]
mesa: upgrade 21.3.4 -> 21.3.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.13.10 -> 0.13.11
Alexander Kanavin [Wed, 2 Feb 2022 18:27:48 +0000 (19:27 +0100)]
stress-ng: upgrade 0.13.10 -> 0.13.11

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocups: upgrade 2.4.0 -> 2.4.1
Alexander Kanavin [Wed, 2 Feb 2022 18:27:47 +0000 (19:27 +0100)]
cups: upgrade 2.4.0 -> 2.4.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: upgrade 21.3.1 -> 22.0.2
Alexander Kanavin [Wed, 2 Feb 2022 18:27:46 +0000 (19:27 +0100)]
python3-pip: upgrade 21.3.1 -> 22.0.2

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-hypothesis: upgrade 6.36.0 -> 6.36.1
Alexander Kanavin [Wed, 2 Feb 2022 18:27:45 +0000 (19:27 +0100)]
python3-hypothesis: upgrade 6.36.0 -> 6.36.1

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.26 -> 0.29.27
Alexander Kanavin [Wed, 2 Feb 2022 18:27:44 +0000 (19:27 +0100)]
python3-cython: upgrade 0.29.26 -> 0.29.27

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agommc-utils: upgrade to latest revision
Alexander Kanavin [Wed, 2 Feb 2022 18:27:43 +0000 (19:27 +0100)]
mmc-utils: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolua: upgrade 5.4.3 -> 5.4.4
Alexander Kanavin [Wed, 2 Feb 2022 18:27:42 +0000 (19:27 +0100)]
lua: upgrade 5.4.3 -> 5.4.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: upgrade 2.70.2 -> 2.70.3
Alexander Kanavin [Wed, 2 Feb 2022 18:27:41 +0000 (19:27 +0100)]
glib-2.0: upgrade 2.70.2 -> 2.70.3

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxf86-input-libinput: update 1.2.0 -> 1.2.1
Alexander Kanavin [Wed, 2 Feb 2022 18:27:38 +0000 (19:27 +0100)]
xf86-input-libinput: update 1.2.0 -> 1.2.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: upgrade 9.0.0 -> 10.0.0
Alexander Kanavin [Wed, 2 Feb 2022 18:27:27 +0000 (19:27 +0100)]
weston: upgrade 9.0.0 -> 10.0.0

Release announcement with changes:
https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html

Upstream has deprecated both weston-launch and fbdev backend, so let's
not delay the inevitable and find replacements.

Fbdev can be replaced by passing --use-pixman to drm backend;
this will bypass the opengl paths and use CPU for rendering.
Apply where GL is too slow or unavailable.

weston-launch can be replaced by starting weston directly, with
a seat management daemon for support. This is provided either
by systemd, or on systemd-less systems, by seatd. The sysvinit
startup scripts and tests have been rewritten accordingly. Bonus
fix: under sysvinit weston now starts under weston user as it should,
and not under root.

Upstream discussion:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoseatd: add recipe
Alexander Kanavin [Wed, 2 Feb 2022 18:27:26 +0000 (19:27 +0100)]
seatd: add recipe

This is needed to run weston properly as non-root in the absence
of systemd-logind, and other compositors will likely require seatd
as well.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Pass dv (debug_vars) around instead of individual vars
Peter Kjellerstedt [Wed, 2 Feb 2022 01:59:50 +0000 (02:59 +0100)]
package: Pass dv (debug_vars) around instead of individual vars

This simplifies the APIs for splitdebuginfo(), splitstaticdebuginfo()
and inject_minidebuginfo()

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Make package_debug_vars() return a dict
Peter Kjellerstedt [Wed, 2 Feb 2022 01:59:49 +0000 (02:59 +0100)]
package: Make package_debug_vars() return a dict

It simplifies the API to return one dict instead of seven strings.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Split out package_debug_vars from split_and_strip_files
Peter Kjellerstedt [Wed, 2 Feb 2022 01:59:48 +0000 (02:59 +0100)]
package: Split out package_debug_vars from split_and_strip_files

The split_and_strip_files() function is big and hard to follow. This
takes a small step to improve that by splitting out the part that sets
up the variables used to implement the various debug splitting methods
specified by PACKAGE_DEBUG_SPLIT_STYLE.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooqea/runtime/oe_syslog: Improve test
Richard Purdie [Fri, 4 Feb 2022 17:52:00 +0000 (17:52 +0000)]
oqea/runtime/oe_syslog: Improve test

We're seeing failures on the autobuilder where the log message isn't present in the
log. This could just be a race in the compound command but it is hard to say due
to the poor log output from the test.

Splitting the command into two sections should add more of a delay whilst ssh
reconnects and may well fix the issues but this change should also improve
the log output in the failure case too so if the failure isn't solved, we should
be better able to debug it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Drop prelink patch
Richard Purdie [Thu, 3 Feb 2022 16:51:34 +0000 (16:51 +0000)]
glibc: Drop prelink patch

With the removal of prelink, we no longer need the glibc patch for it
either.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoprelink: Drop support for it
Richard Purdie [Thu, 3 Feb 2022 16:48:56 +0000 (16:48 +0000)]
prelink: Drop support for it

Prelink is being dropped by glibc in 2.36. It already causes issues with
binary corruption, has a number of open bugs and is of questionable benefit
without disabling load address randomization and PIE executables.

We disabled it by default a while back but left people able to use it.
We would be unable to maintain it alone without glibc support so remove
the remaining pieces.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemuppc64.conf: Remove commented prelink use
Khem Raj [Fri, 21 Jan 2022 18:30:02 +0000 (10:30 -0800)]
qemuppc64.conf: Remove commented prelink use

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage-prelink: Remove bbclass
Khem Raj [Fri, 21 Jan 2022 18:30:01 +0000 (10:30 -0800)]
image-prelink: Remove bbclass

Upcoming glibc 2.35 is dropping support for prelinker, this just ensures
that we do not carry non-working classes. [1]

[1] https://patchwork.sourceware.org/project/glibc/patch/20220121172951.285848-2-adhemerval.zanella@linaro.org/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoabi_version/sstate: Bump for hash equivalence fix
Richard Purdie [Tue, 1 Feb 2022 22:39:38 +0000 (22:39 +0000)]
abi_version/sstate: Bump for hash equivalence fix

With the hash equivalence fix, we need to bump the sstate and hash equivalence
version numbers to ensure older task hashes aren't matched into the new namespace.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostaging: Add extra hash handling code
Richard Purdie [Mon, 31 Jan 2022 15:44:56 +0000 (15:44 +0000)]
staging: Add extra hash handling code

Target build output, stored in do_populate_sysroot or do_package can depend
not only upon direct dependencies but also indirect ones. A good example is
linux-libc-headers. The toolchain depends on this but most target recipes do
not. There are some headers which are not used by the toolchain build and do
not change the toolchain task output, hence the task hashes can change without
changing the sysroot output of that recipe yet they can influence others.

A specific example is rtc.h which can change rtcwake.c in util-linux but is not
used in the glibc or gcc build. To account for this, we need to account for the
populate_sysroot hashes in the task output hashes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-libc-headers: update to v5.16
Bruce Ashfield [Thu, 27 Jan 2022 03:55:31 +0000 (22:55 -0500)]
linux-libc-headers: update to v5.16

Bumping our reference headers to 5.16 to support newer kernels (-dev
in particular).

No issues were found in glibc or musl, and no patch referesh/drops
are required

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Drop stdlib++ option patch
Richard Purdie [Fri, 3 Dec 2021 23:34:57 +0000 (23:34 +0000)]
gcc: Drop stdlib++ option patch

The patch to gcc to disable use of libstdc++ when configuring the library
during gcc-runtime is old and there are perhaps better ways to do this now.

If removed, most builds still "work" but incorrect values for things like
atomic ops are found during configure. mips64 and ppc fail with on target
simple tests of g++ in testimage.

Instead we can create a dummy libstdc++ which allows the correct configure
test results to be obtained.

Discussed with upstream about the patch are ongoing, if accepted, we can
switch back to the commandline option if it is added in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosudo: update 1.9.8p2 -> 1.9.9
Alexander Kanavin [Wed, 2 Feb 2022 18:27:37 +0000 (19:27 +0100)]
sudo: update 1.9.8p2 -> 1.9.9

License-Update: markdown conversion, copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoat: update 3.2.2 -> 3.2.4
Alexander Kanavin [Wed, 2 Feb 2022 18:27:36 +0000 (19:27 +0100)]
at: update 3.2.2 -> 3.2.4

Drop patch for issue fixed upstream.

Change additional source copying to be a part of do_configure
to allow automated upgrades.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pycryptodome: update 3.12.0 -> 3.14.0
Alexander Kanavin [Wed, 2 Feb 2022 18:27:35 +0000 (19:27 +0100)]
python3-pycryptodome: update 3.12.0 -> 3.14.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: update 2.34.1 -> 2.35.1
Alexander Kanavin [Wed, 2 Feb 2022 18:27:34 +0000 (19:27 +0100)]
git: update 2.34.1 -> 2.35.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: build manpages from source subject to manpages PACKAGECONFIG
Alexander Kanavin [Wed, 2 Feb 2022 18:27:33 +0000 (19:27 +0100)]
git: build manpages from source subject to manpages PACKAGECONFIG

This allows automated updates, and better aligns with how
documentation is handled in oe-core.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: merge .inc into .bb
Alexander Kanavin [Wed, 2 Feb 2022 18:27:32 +0000 (19:27 +0100)]
git: merge .inc into .bb

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.22.1 -> 3.22.2
Alexander Kanavin [Wed, 2 Feb 2022 18:27:31 +0000 (19:27 +0100)]
cmake: update 3.22.1 -> 3.22.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoutil-linux: update 2.37.2 -> 2.37.3
Alexander Kanavin [Wed, 2 Feb 2022 18:27:30 +0000 (19:27 +0100)]
util-linux: update 2.37.2 -> 2.37.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-tools: upgrade 2.13.2 -> 2.13.4
Richard Purdie [Tue, 1 Feb 2022 18:42:40 +0000 (18:42 +0000)]
lttng-tools: upgrade 2.13.2 -> 2.13.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibstd-rs: Apply patches to right version of libc
Khem Raj [Wed, 26 Jan 2022 01:13:14 +0000 (17:13 -0800)]
libstd-rs: Apply patches to right version of libc

1.58 rust libstd is locked to use 0.2.106, therefore patch the correct
version. once we start using 0.2.108+ these patches will not be required
as the port is available then on.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Update to latest master
Khem Raj [Thu, 27 Jan 2022 19:40:08 +0000 (11:40 -0800)]
musl: Update to latest master

Changes in this srcrev bump

  * c4d4028d fix failure to use add-cfi scripts on asm when building out-of-tree
  * 775bde6b fix wcwidth of hangul combining (vowel/final) letters
  * 8d404733 fix mismatched signatures for strtod_l family
  * 98e688a9 define NULL as nullptr when used in C++11 or later
  * 8274aaaa fix hwcap access in powerpc-sf setjmp/longjmp
  * 3733c831 fix struct layout mismatch in sound ioctl time32 fallback conversion

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: Fix build on riscv/musl
Khem Raj [Tue, 1 Feb 2022 22:02:46 +0000 (14:02 -0800)]
ruby: Fix build on riscv/musl

This fixes a build issue that started with 3.1 upgrade
Fixes
| ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1'
|         dump_machine_register(mctx->__gregs[REG_S1], "s1");

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodhcpcd: add option to set DBDIR location
Andrej Valek [Tue, 1 Feb 2022 15:11:36 +0000 (16:11 +0100)]
dhcpcd: add option to set DBDIR location

This will allow to use the different DBDIR location, because the /var/lib
could be used as a read-only location.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc-tests: Correct PACKAGE_DEBUG_SPLIT_STYLE
Peter Kjellerstedt [Mon, 31 Jan 2022 21:39:53 +0000 (22:39 +0100)]
glibc-tests: Correct PACKAGE_DEBUG_SPLIT_STYLE

It was set to "debug", but the officially supported value is ".debug".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Backport python3-lxml workaround patch
Carlos Rafael Giani [Mon, 31 Jan 2022 19:33:37 +0000 (20:33 +0100)]
libxml2: Backport python3-lxml workaround patch

This is a workaround for the following issue that affects python3-lxml:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/255

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconnman: update 1.40 -> 1.41
Changhyeok Bae [Mon, 31 Jan 2022 22:43:39 +0000 (22:43 +0000)]
connman: update 1.40 -> 1.41

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxwayland: Add xkbcomp runtime dependency
Tom Hochstein [Wed, 19 Jan 2022 23:48:52 +0000 (17:48 -0600)]
xwayland: Add xkbcomp runtime dependency

Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:
Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history
one finds that the runtime dependency for the old xserver was
removed because it wasn't in the correct location [1], then restored
because it was still needed [2].

[1] https://github.com/openembedded/openembedded-core/commit/bdcc5e8f1286d288baf410458efc39a59b68d751
[2] https://github.com/openembedded/openembedded-core/commit/f2330ebc3071d780cbc6d1ddab5c54bfadf8fffc

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: skip a number of load-sensitive tests
Ross Burton [Mon, 31 Jan 2022 17:40:13 +0000 (17:40 +0000)]
strace: skip a number of load-sensitive tests

Some tests are very load-sensitive as they depend on sleep() calls to
take a precise amount of time. These will randomly fail in the automated
QA, so skip them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostrace: remove obsolete musl-on-MIPS patch
Ross Burton [Mon, 31 Jan 2022 17:40:12 +0000 (17:40 +0000)]
strace: remove obsolete musl-on-MIPS patch

This patch was added as musl doesn't define SIGEMT on MIPS, but this was
a mistake in musl and has been  fixed in cabc369, available in musl
1.2.1 onwards (August 2020).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoell: update to 0.48
Oleksandr Kravchuk [Sat, 29 Jan 2022 17:11:56 +0000 (18:11 +0100)]
ell: update to 0.48

Changelog:
- Fix issue with memory leaking from ICMPv6 RA.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa: qemu: create missing directory for _write_dump
Andrej Valek [Fri, 28 Jan 2022 09:34:46 +0000 (10:34 +0100)]
oeqa: qemu: create missing directory for _write_dump

| Failed to dump QMP CMD: query-status with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-status'
| Failed to dump QMP CMD: query-block with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-block'
| Failed to dump QMP CMD: dump-guest-memory with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_dump-guest-memory'

The qmp dump commands could fail, because of missing root directory.
So create it before any log writing.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomdadm: fix testcase 00multipath failure
Changqing Li [Fri, 28 Jan 2022 09:07:18 +0000 (17:07 +0800)]
mdadm: fix testcase 00multipath failure

After upgrade to 4.2, mdadm's testcase 00multipath failed,
because a bug in 4.2 makes "-r" not work in manage mode.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstatetests: Correct a typo in a comment
Peter Kjellerstedt [Sat, 29 Jan 2022 02:24:26 +0000 (03:24 +0100)]
sstatetests: Correct a typo in a comment

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: sdk-update: Remove an unnecessary \n from SSTATE_MIRRORS
Peter Kjellerstedt [Sat, 29 Jan 2022 02:24:25 +0000 (03:24 +0100)]
devtool: sdk-update: Remove an unnecessary \n from SSTATE_MIRRORS

Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowayland-protocols: upgrade 1.24 -> 1.25
Denys Dmytriyenko [Fri, 28 Jan 2022 23:23:15 +0000 (23:23 +0000)]
wayland-protocols: upgrade 1.24 -> 1.25

https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html

wayland-protocols 1.25 is now available.

Apart from minor fixes and clarifications, this release also adds a new staging
protocol for session locking, as well as a 'bounds' event to the xdg_toplevel
interface. See the individual commits and protocol specifications for
details.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemtap: backport buffer size tuning patches
Ross Burton [Mon, 31 Jan 2022 13:54:07 +0000 (13:54 +0000)]
systemtap: backport buffer size tuning patches

Backport a nunber of patches from upstream to tune the buffer size on
machines with a "small amount" of memory, which appears to mean less
than 4GB.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/stap: improve systemtap test
Ross Burton [Mon, 31 Jan 2022 13:54:08 +0000 (13:54 +0000)]
oeqa/runtime/stap: improve systemtap test

Split the test up into compile and execute phases, as the stap binary
is known to be quite memory-hungry and this can result in the probe
being unable to allocate enough memory for the buffers it needs.

If the test fails, dump the dmesg as any useful messages will be there.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocore-image-sato-sdk: allocate more memory when in qemu
Ross Burton [Mon, 31 Jan 2022 13:54:06 +0000 (13:54 +0000)]
core-image-sato-sdk: allocate more memory when in qemu

Compiling code is memory-intensive, especially kernel modules like the
SystemTap probes, so give the VM 768MB of RAM.  Using 1GB appears to
cause PCI error, interestingly.

Hopefully this solves the intermittent failures caused by OOMs during
the SystemTap test.

[ YOCTO #14673 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: upgrade to patch 4269
Ross Burton [Mon, 31 Jan 2022 12:44:07 +0000 (12:44 +0000)]
vim: upgrade to patch 4269

Upgrade to the latest patch release to fix the following CVEs:

- CVE-2022-0261
- CVE-2022-0318
- CVE-2022-0319

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: upgrade to 2.4.4
Ross Burton [Mon, 31 Jan 2022 12:20:28 +0000 (12:20 +0000)]
expat: upgrade to 2.4.4

Fixes CVE-2022-23852 and CVE-2022-23990.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: export OPENSSL_MODULES in the wrapper
Ross Burton [Thu, 27 Jan 2022 11:44:45 +0000 (11:44 +0000)]
openssl: export OPENSSL_MODULES in the wrapper

OpenSSL 3 added the concept of provider modules which are loaded from
disk.  The load path is hard-coded into the library and needs to be
relocated when running natively, so add OPENSSL_MODULES to the wrapper.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogobject-introspection: replace prelink-rtld with objdump -p
Alexander Kanavin [Thu, 27 Jan 2022 10:20:05 +0000 (11:20 +0100)]
gobject-introspection: replace prelink-rtld with objdump -p

g-i internally processes the output with regexes, and seems
happy with what objdump is printing. It only needs to resolve
the library name as passed to the linker to the library file name.
Also recursive resolution (that ldd is doing and objdump is not)
is not necessary.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibusb1: correct SRC_URI
Alexander Kanavin [Thu, 27 Jan 2022 10:20:04 +0000 (11:20 +0100)]
libusb1: correct SRC_URI

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognutls: update 3.7.2 -> 3.7.3
Alexander Kanavin [Thu, 27 Jan 2022 10:20:03 +0000 (11:20 +0100)]
gnutls: update 3.7.2 -> 3.7.3

Drop unsupported option.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: update 20210927 -> 20220121
Alexander Kanavin [Thu, 27 Jan 2022 10:20:02 +0000 (11:20 +0100)]
ltp: update 20210927 -> 20220121

The ltp compliancy parser is rewritten to actually
match the logs: they seem to be unstructured, test case names
are not printed and the only indication of failure is appearance of
FAIL[ED] somewhere.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: update 2.9 -> 2.10
Alexander Kanavin [Thu, 27 Jan 2022 10:19:58 +0000 (11:19 +0100)]
wpa-supplicant: update 2.9 -> 2.10

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.58.0 -> 1.58.1
Alexander Kanavin [Thu, 27 Jan 2022 10:20:00 +0000 (11:20 +0100)]
rust: update 1.58.0 -> 1.58.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozstd: update 1.5.0 -> 1.5.2
Alexander Kanavin [Thu, 27 Jan 2022 10:19:59 +0000 (11:19 +0100)]
zstd: update 1.5.0 -> 1.5.2

Drop patches merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibical: upgrade 3.0.12 -> 3.0.13
Alexander Kanavin [Thu, 27 Jan 2022 10:19:57 +0000 (11:19 +0100)]
libical: upgrade 3.0.12 -> 3.0.13

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibbsd: upgrade 0.11.3 -> 0.11.5
Alexander Kanavin [Thu, 27 Jan 2022 10:19:56 +0000 (11:19 +0100)]
libbsd: upgrade 0.11.3 -> 0.11.5

License-Update: additional files

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 200 -> 201
Alexander Kanavin [Thu, 27 Jan 2022 10:19:55 +0000 (11:19 +0100)]
diffoscope: upgrade 200 -> 201

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodebianutils: upgrade 5.5 -> 5.7
Alexander Kanavin [Thu, 27 Jan 2022 10:19:54 +0000 (11:19 +0100)]
debianutils: upgrade 5.5 -> 5.7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: upgrade 2.34.3 -> 2.34.4
Alexander Kanavin [Thu, 27 Jan 2022 10:19:53 +0000 (11:19 +0100)]
webkitgtk: upgrade 2.34.3 -> 2.34.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoethtool: upgrade 5.15 -> 5.16
Alexander Kanavin [Thu, 27 Jan 2022 10:19:52 +0000 (11:19 +0100)]
ethtool: upgrade 5.15 -> 5.16

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoifupdown: upgrade 0.8.36 -> 0.8.37
Alexander Kanavin [Thu, 27 Jan 2022 10:19:51 +0000 (11:19 +0100)]
ifupdown: upgrade 0.8.36 -> 0.8.37

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: upgrade 9.16.24 -> 9.16.25
Alexander Kanavin [Thu, 27 Jan 2022 10:19:50 +0000 (11:19 +0100)]
bind: upgrade 9.16.24 -> 9.16.25

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoyocto-check-layer: add debug output for the layers that were found
Ross Burton [Mon, 24 Jan 2022 16:25:43 +0000 (16:25 +0000)]
yocto-check-layer: add debug output for the layers that were found

When debugging weird yocto-check-layer output it is useful to know
what the tool found when looking for layers.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: Add CLM blob to linux-firmware-bcm4373 package
Rudolf J Streif [Wed, 26 Jan 2022 18:39:00 +0000 (10:39 -0800)]
linux-firmware: Add CLM blob to linux-firmware-bcm4373 package

The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not
included with the files for the linux-firmware-bcm4373 package
but instead packaged with linux-firmware.

Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.93
Bruce Ashfield [Thu, 27 Jan 2022 03:55:34 +0000 (22:55 -0500)]
linux-yocto/5.10: update to v5.10.93

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

    fd187a492557 Linux 5.10.93
    bed97c903621 mtd: fixup CFI on ixp4xx
    f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
    68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak
    358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    93c4506f9f8b media: uvcvideo: fix division by zero at stream start
    4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation
    0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    723acd75a062 perf: Protect perf_guest_cbs with RCU
    eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param
    c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    0084fefe2960 devtmpfs regression fix: reconfigure on each mount
    ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test

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.16
Bruce Ashfield [Thu, 27 Jan 2022 03:55:33 +0000 (22:55 -0500)]
linux-yocto/5.15: update to v5.15.16

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

    63dcc388662c Linux 5.15.16
    ce2e7b97e588 mtd: fixup CFI on ixp4xx
    9dada19e1096 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4942295ec2af ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    f76d5f9391a5 ALSA: hda/tegra: Fix Tegra194 HDA reset failure
    7c452ca7bc7b ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    8b046b2a63c6 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    5b57c0efec9a ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop
    c104edbb5a3f ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    3a1e48069798 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    adf791cf905a perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions
    8840daa2f629 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    db3337ba6e4a firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    bb08a4d10164 firmware: qemu_fw_cfg: fix sysfs information leak
    898e91c32d04 rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    c671cb0b0087 media: uvcvideo: fix division by zero at stream start
    e2ece45f9450 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    7760404e8487 9p: only copy valid iattrs in 9P2000.L setattr implementation
    c2e7561ba7a8 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP
    252435941c33 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    6e8b6dcec07c KVM: x86: don't print when fail to read/write pv eoi memory
    19f2dfb1a1f6 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    07667f43f8a8 KVM: x86: Register perf callbacks after calling vendor's hardware_setup()
    18c16cef8179 perf: Protect perf_guest_cbs with RCU
    e192ccc17ecf vfs: fs_context: fix up param length parsing in legacy_parse_param
    c78c39a91dd4 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    b07490067dbc orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    ce258c74f8d9 drm/amd/display: explicitly set is_dsc_supported to false before use
    d5df26479c82 devtmpfs regression fix: reconfigure on each mount

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agox86: fix defconfig configuration warnings
Bruce Ashfield [Thu, 27 Jan 2022 03:55:32 +0000 (22:55 -0500)]
x86: fix defconfig configuration warnings

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

    720b61fc400b x86_64_defconfig: Fix warnings

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
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.92
Bruce Ashfield [Thu, 27 Jan 2022 03:55:30 +0000 (22:55 -0500)]
linux-yocto/5.10: update to v5.10.92

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

    c982c1a83932 Linux 5.10.92
    c0091233f3d8 staging: greybus: fix stack size warning with UBSAN
    66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type"
    9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness()
    61cca7d191c7 random: fix data race on crng init time
    3de9478230c3 random: fix data race on crng_node_pool
    43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int
    bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    5f76445a31b7 veth: Do not record rx queue hint in veth_xmit
    ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL
    2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie
    a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests
    413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    b6dd07023699 Bluetooth: bfusb: fix division by zero in send path
    869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A
    83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification
    c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race
    c39d68ab3836 md: revert io stats accounting

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.15
Bruce Ashfield [Thu, 27 Jan 2022 03:55:29 +0000 (22:55 -0500)]
linux-yocto/5.15: update to v5.15.15

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

    760a85303c5a Linux 5.15.15
    54a457ad2c97 staging: greybus: fix stack size warning with UBSAN
    48d56b00c352 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    e29bd72f5c76 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    46c7ff13dfe8 media: Revert "media: uvcvideo: Set unique vdev name based in type"
    e0bb3bf81cc4 platform/x86/intel: hid: add quirk to support Surface Go 3
    26b66120a896 random: fix crash on multiple early calls to add_bootloader_randomness()
    2d5b4a96a60e random: fix data race on crng init time
    f5aaea746b36 random: fix data race on crng_node_pool
    3fbbf56948b2 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    1079b56de4af can: isotp: convert struct tpcon::{idx,len} to unsigned int
    1026f710bd55 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    72bd750d1122 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    78a19e506bdc veth: Do not record rx queue hint in veth_xmit
    3a29fd88f3ad Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2
    7b8a6d60e0d5 Bluetooth: btbcm: disable read tx power for some Macs with the T2 Security chip
    d5eeefa335af Bluetooth: add quirk disabling LE Read Transmit Power
    49e63682cb3b mmc: sdhci-pci: Add PCI ID for Intel ADL
    6f4da584ec4e ath11k: Fix buffer overflow when scanning with extraie
    02f3458289d2 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    0284c0ca3db6 USB: core: Fix bug in resuming hub's handling of wakeup requests
    0544baa4f761 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    402aff59a748 Bluetooth: bfusb: fix division by zero in send path
    db74ee79c9f7 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c6bd1c35bd84 Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices
    a366a81dcbb1 Bluetooth: btusb: Add support for Foxconn MT7922A
    5e1b03c32535 Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    e81cef21ea8a Bluetooth: btusb: Add one more Bluetooth part for WCN6855
    f39825f4fc35 fget: clarify and improve __fget_files() implementation
    edaf018b898f Bluetooth: btusb: Add the new support IDs for WCN6855
    a053e9619bb9 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    e36a4d9c0bb8 Bluetooth: btusb: enable Mediatek to support AOSP extension
    dcfa2d7a9a9f Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    4a5557693f07 Bbluetooth: btusb: Add another Bluetooth part for Realtek 8852AE
    a1e59284193b Bluetooth: btusb: Add support for IMC Networks Mediatek Chip(MT7921)
    fe9ddfd236a6 Bluetooth: btusb: Add the new support ID for Realtek RTL8852A
    3f502147ffc3 Bluetooth: btusb: Add protocol for MediaTek bluetooth devices(MT7922)
    e8efe8369944 bpf: Fix out of bounds access from invalid *_or_null type verification
    f39ffc6f9c60 staging: r8188eu: switch the led off during deinit
    cf5b6bd2c792 workqueue: Fix unbind_workers() VS wq_worker_running() race
    0ed0be755276 s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibical: build gobject and vala introspection
Markus Volk [Tue, 25 Jan 2022 15:13:30 +0000 (16:13 +0100)]
libical: build gobject and vala introspection

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: backport fix for CVE-2022-22844
Ross Burton [Tue, 25 Jan 2022 17:58:25 +0000 (17:58 +0000)]
tiff: backport fix for CVE-2022-22844

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: A third fix for for touching files inside pseudo
Peter Kjellerstedt [Sat, 22 Jan 2022 00:02:51 +0000 (01:02 +0100)]
sstate: A third fix for for touching files inside pseudo

This continues where commit676757f "sstate: fix touching files inside
pseudo" and commit 29fc8599 "sstate: another fix for touching files
inside pseudo" left off.

The previous changes switched from trying to check if the sstate file is
writable before touching it, to always touching the sstate file and
ignoring any errors. However, if the sstate file is actually a symbolic
link that links to nothing, this would actually result in an empty
sstate file being created. And this in turn leads to that future
setscene tasks will fail when they try to unpack the empty file.

Change the code so that if an sstate file linking to nothing already
exists, it is overwritten with the new sstate file. Also change it so
that the temporary file that is used is always removed, even if ln
fails to link the sstate file to it.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicu: fix make_icudata dependencies
Kory Maincent [Mon, 24 Jan 2022 11:45:23 +0000 (12:45 +0100)]
icu: fix make_icudata dependencies

The make_icudata task is set before the configure task then the
dependencies for this task are not populate yet.

Fixed it by adding do_prepare_recipe_sysroot task dependency to the
make_icudata task.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: refresh defconfig
Andrej Valek [Mon, 24 Jan 2022 08:17:12 +0000 (09:17 +0100)]
busybox: refresh defconfig

- extend find command
- disable rootfs skip
- busybox-inittab_1.34.1 -> busybox-inittab_1.35.0

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel.bbclass: Allow initramfs to be built from a separate multiconfig
Alejandro Hernandez Samaniego [Sun, 23 Jan 2022 07:55:25 +0000 (00:55 -0700)]
kernel.bbclass: Allow initramfs to be built from a separate multiconfig

There may be a case where we want to build an initramfs image
that doesnt inherit the same DISTRO_FEATURES (or others) from
the main image being built.

For example we may want our initramfs not to inherit a certain
conf or feature, say we want to use musl for a smaller footprint,
but if we are using TCLIBC=glibc for our DISTRO (and inherently
our main image), the initramfs image would inherit that conf and
be forced to use glibc, growing in size as a side effect, currently
avoiding this is not supported.

Allow the kernel class to create a multiconfig dependency
(mcdepends) vs depends for do_bundle_initramfs and define
our INITRAMFS_IMAGE from a separate multiconfig via two
new variables:
INITRAMFS_MULTICONFIG and INITRAMFS_DEPLOY_DIR_IMAGE which
define the multiconfig where the initramfs image should be
coming from and its deploy directory respectively, these two
keep a default definition which preserves current behavior
(do_bundle_initramfs uses depends).

Example usage:
- Create and use multiconfig initramfscfg.conf and set
  TCLIBC=musl there, along with its TMPDIR.
- Add the following to our DISTRO.conf:
  INITRAMFS_MULTICONFIG = "initramfscfg"

  and set
  INITRAMFS_DEPLOY_DIR_IMAGE to the DEPLOY_DIR_IMAGE of the
  initramfscfg multiconfig (hence our main kernel will be
  able to grab it from there and bundle it).

This will result in our musl based initramfs bundled in our
main kernel and our main image to be glibc based.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>