]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agogstreamer1.0-python: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:22 +0000 (01:08 +0000)]
gstreamer1.0-python: upgrade 1.18.5 -> 1.20.0

- Add new meson options

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-omx: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:21 +0000 (01:08 +0000)]
gstreamer1.0-omx: upgrade 1.18.5 -> 1.20.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-vaapi: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:20 +0000 (01:08 +0000)]
gstreamer1.0-vaapi: upgrade 1.18.5 -> 1.20.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-libav: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:19 +0000 (01:08 +0000)]
gstreamer1.0-libav: upgrade 1.18.5 -> 1.20.0

- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  https://gitlab.freedesktop.org/gstreamer/gst-libav/-/commit/678773bb6468e815c180ff82a09d863451e89ba8

- Drop backported patches
  0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch

- Add new meson options

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-rtsp-server: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:18 +0000 (01:08 +0000)]
gstreamer1.0-rtsp-server: upgrade 1.18.5 -> 1.20.0

- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/commit/cc5cdab0165e3bdf5f4f748b3ba2a3493d304e70

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-ugly: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:17 +0000 (01:08 +0000)]
gstreamer1.0-plugins-ugly: upgrade 1.18.5 -> 1.20.0

- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   a52dec: Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)
   cdio: CD audio source plugin based on libcdio (GPL - only built if gpl option is also enabled!)
   dvdread: DVD video source plugin based on libdvdread (GPL - only built if gpl option is also enabled!)
   mpeg2dec: MPEG 2 video decoder plugin based on libmpeg2 (GPL - only built if gpl option is also enabled!)
   x264: H.264 video encoder plugin based on libx264 (GPL - only built if gpl option is also enabled!)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:16 +0000 (01:08 +0000)]
gstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0

- Remove meson options
  libmms
  ofa

- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   faad: Free AAC audio decoder plugin (GPL - only built if gpl option is also enabled!)
   resindvd: Resin DVD playback plugin (GPL - only built if gpl option is also enabled!)
   x265: HEVC/H.265 video encoder plugin (GPL - only built if gpl option is also enabled!)

- Add new meson options
  Feature options for plugins without external deps
   codecalpha
   aes: AES encryption/decryption plugin

  Feature options for plugins that need external deps
   asio: Steinberg Audio Streaming Input Output (ASIO) plugin
   gs: Google Cloud Storage source and sink plugin
   ldac: LDAC bluetooth audio codec plugin
   openaptx: Open Source implementation of Audio Processing Technology codec (aptX) plugin
   qroverlay: new elements that allow overlaying data on top of video in the form of a QR code
   onnx: ONNX neural network plugin

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-good: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:15 +0000 (01:08 +0000)]
gstreamer1.0-plugins-good: upgrade 1.18.5 -> 1.20.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-base: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:14 +0000 (01:08 +0000)]
gstreamer1.0-plugins-base: upgrade 1.18.5 -> 1.20.0

- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/e5382fe84ccaa17cad3569f2fd061ac0b499329c

- Drop unneed patches
  0004-glimagesink-Downrank-to-marginal.patch

- Add new meson options
  qt5 is needed to build some tests
   tests/examples/gl/qt/meson.build
   tests/examples/overlay/meson.build

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0: upgrade 1.18.5 -> 1.20.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:13 +0000 (01:08 +0000)]
gstreamer1.0: upgrade 1.18.5 -> 1.20.0

- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/d157b23fb0ce175b167611a4cb019599d9017042

- Drop backported patches
  0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
  0002-Remove-unused-valgrind-detection.patch
  0003-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch

- Update submitted patches
  0001-tests-respect-the-idententaion-used-in-meson.patch
  0002-tests-add-support-for-install-the-tests.patch
  0003-tests-use-a-dictionaries-for-environment.patch
  0004-tests-add-helper-script-to-run-the-installed_tests.patch

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: upgrade 2021.4 -> 2022.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:12 +0000 (01:08 +0000)]
shaderc: upgrade 2021.4 -> 2022.0

- Update to Glslang 11.8.0

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: upgrade 2021.3 -> 2021.4
Jose Quaresma [Mon, 7 Feb 2022 01:08:11 +0000 (01:08 +0000)]
shaderc: upgrade 2021.3 -> 2021.4

- Support Vulkan 1.3
- Support targeting SPIR-V 1.6, which is the default for Vulkan 1.3
- Updated copyright check: Excludes Glslang generated files when
  building in source tree
- Fix Android.mk rules for building libshaderc_combined, to adapt to more
  recent NDKs that have removed the GNU binutils.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglslang: upgrade 11.7.1 -> 11.8.0
Jose Quaresma [Mon, 7 Feb 2022 01:08:10 +0000 (01:08 +0000)]
glslang: upgrade 11.7.1 -> 11.8.0

* Add support for SPIR-V 1.6
* Add support for Vulkan 1.3
* Add --hlsl-dx-position-w option

Update LICENSE.txt
- Expand the GPL 3 with special bison exception to the fully expanded license.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-tools: upgrade 2021.4 -> 2022.1
Jose Quaresma [Mon, 7 Feb 2022 01:08:09 +0000 (01:08 +0000)]
spirv-tools: upgrade 2021.4 -> 2022.1

- General
 - Add SPIR-V 1.6 support to wasm build (#4674)
 - Improvements to disassembly within PassManager (#4677)
 - Basic support for SPIR-V 1.6 (#4663)
 - reflect debug (#4662)
 - Fix endianness of string literals (#4622)
- Optimizer
 - spirv-opt: add pass to Spread Volatile semantics (#4667)
 - Fix constant propagation and folding of FClamp instructions (#4651)
 - Manually fold floating point division by zero (#4637)
 - Allow ADCE to remove dead inputs (#4629)
- Linker
 - Linker improvements (#4679)
   * test/linker: Code factorisation and small tweaks
   * linker: Do not fail when going over limits
- Validator
  - val: interface struct with builtins must be Block (#4665)
- Fuzzer
  - Avoid id bound errors during opt fuzzing (#4658)
  - Avoid uninitialised read when parsing hex float (#4646)

https://github.com/KhronosGroup/SPIRV-Tools/blob/b1877de5cd776117050bd42f08d04b52bce16099/CHANGES

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-headers: bump to b42ba6
Jose Quaresma [Mon, 7 Feb 2022 01:08:08 +0000 (01:08 +0000)]
spirv-headers: bump to b42ba6

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc.bbclass: replace deprecated bash command substitution
Jose Quaresma [Mon, 7 Feb 2022 01:08:07 +0000 (01:08 +0000)]
icecc.bbclass: replace deprecated bash command substitution

- build some packages with icecc enabled is not supported
  because of the folling that disables the icecc:

  DEBUG: while parsing set_icecc_env, unable to handle non-literal command '$ICECC_CC'

- it can be replicated with:

 bitbake make && bitbake make -c cleansstate && bitbake make -DD
 grep ICECC_CC tmp/log/cooker/qemux86-64/console-latest.log

- bash command substitution backquote deprecated

 https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
 https://mywiki.wooledge.org/BashFAQ/082

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotoolchain-scripts.bbclass: use double quotes for exported PS1
Kai Kang [Mon, 7 Feb 2022 07:38:34 +0000 (15:38 +0800)]
toolchain-scripts.bbclass: use double quotes for exported PS1

Use double quotes("") rather than single quotes('') for PS1 in
EXPORT_SDK_PS1 which will be exported in SDK environment file. Then it
could set PS1 for SDK env with some variables in host env, such as the
original PS1. The SDK PS1 could be some distinct words plus original PS1
rather than replace the whole original PS1. For example, it could set in
local.conf with

SDK_PS1 = "(oesdk) \${PS1}"

then it just prepends '(oesdk) ' before original PS1 after source the
SDK environment file.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomdadm: install mdcheck
Chen Qi [Mon, 7 Feb 2022 08:35:44 +0000 (00:35 -0800)]
mdadm: install mdcheck

This script is used in mdcheck_xxx.service files. So we need to
install it. Also, as it requires bash, we add bash to RDEPENDS.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: restore reproducibility on centos 7
Alexander Kanavin [Mon, 7 Feb 2022 09:16:21 +0000 (10:16 +0100)]
git: restore reproducibility on centos 7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: preload uninative libraries when host gl drivers are in use
Alexander Kanavin [Fri, 4 Feb 2022 19:59:43 +0000 (20:59 +0100)]
runqemu: preload uninative libraries when host gl drivers are in use

Some of the host distributions build the drivers in a way (RPATH/RUNPATH)
that tricks uninative loader into loading pieces of the host libc, if
the same pieces haven't been previously loaded by native binaries. Mixing
the two libc versions leads to failures.

This change ensures that the correct (uninative) versions are always in use.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: replace a gtk wrapper with directly setting environment from runqemu
Alexander Kanavin [Sun, 6 Feb 2022 11:56:02 +0000 (12:56 +0100)]
qemu: replace a gtk wrapper with directly setting environment from runqemu

The wrapper is executed by host bash, and host bash refuses to run
when pseudo libc is preloaded via LD_PRELOAD (which is the case
when gl is enabled).

Only the fontconfig setting is carried over as local testing showed that
only that is necessary for the gui to look ok nowadays; adjust further
if necessary.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Add fix for CVE-2021-45078
Richard Purdie [Sun, 6 Feb 2022 20:58:40 +0000 (20:58 +0000)]
binutils: Add fix for CVE-2021-45078

Backport a fix for CVE-2021-45078.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Upgrade 4269 -> 4134
Richard Purdie [Sun, 6 Feb 2022 20:52:43 +0000 (20:52 +0000)]
vim: Upgrade 4269 -> 4134

License text underwent changes on how to submit Uganda donations, switch from http
to https urls and an update date change but the license itself is unchanged.

Also, add an entry for the top level license file. This is also the vim license
so LICENSE is unchanged but we should monitor it too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: enable KeepConfiguration= when running on network filesystem
Pavel Zhukov [Sat, 5 Feb 2022 20:33:22 +0000 (21:33 +0100)]
systemd: enable KeepConfiguration= when running on network filesystem

This fix boot from NFS for systemd enabled systems. Previously
systemd-networkd dropped network configuration on exit from initrd even
if there're NFS mount.

[YOCTO #14708]

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospdx: Add set helper for list properties
Joshua Watt [Tue, 1 Feb 2022 23:31:11 +0000 (17:31 -0600)]
spdx: Add set helper for list properties

This adds the set helper for list properties to allow list members to be
replaced with a new list. This is necessary as it is (currently) the
only way to replace the default value for a list member.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: deploy-target: Remove stripped binaries in pseudo context
Florian Amstutz [Wed, 2 Feb 2022 10:15:14 +0000 (02:15 -0800)]
devtool: deploy-target: Remove stripped binaries in pseudo context

deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocommon-licences: remove ambiguous "BSD" license
Ross Burton [Fri, 4 Feb 2022 12:46:17 +0000 (12:46 +0000)]
common-licences: remove ambiguous "BSD" license

Our "BSD" license is the 3-clause BSD license, but many recipes were
using "BSD" for any variation of the license.

We've mostly moved recipes away from the vague "BSD" license to concrete
names such as "BSD-3-Clause", so delete the BSD license to force the
remaining users to update their license statements.

[ YOCTO #14539 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses/create-spdx: Remove unnecessary package
Joshua Watt [Thu, 27 Jan 2022 22:48:58 +0000 (16:48 -0600)]
classes/create-spdx: Remove unnecessary package

A superfluous package was being created, but it was never used.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>