]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agolayer.conf: Update to use kirkstone
Richard Purdie [Thu, 17 Feb 2022 12:26:48 +0000 (12:26 +0000)]
layer.conf: Update to use kirkstone

Update the layers to use the kirkstone namespace. No compatibility is made
for honister due to the variable renaming.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity.conf: Require bitbake version 1.53.1
Richard Purdie [Thu, 17 Feb 2022 12:24:46 +0000 (12:24 +0000)]
sanity.conf: Require bitbake version 1.53.1

We require the code to handle variable renaming which is in this version
of bitbake.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoyocto-check-layer: add ability to perform tests from a global bbclass
Denys Dmytriyenko [Tue, 1 Feb 2022 03:16:42 +0000 (22:16 -0500)]
yocto-check-layer: add ability to perform tests from a global bbclass

This is useful when needing to test layer's recipes, where this special
bbclass can define a global python function that gets called on each
recipe parsing during "bitbake -S none world" signature dump and be able
to fail layer's check accordingly.

First test being added is to detect recipes skipping "installed-vs-shipped"
QA check. As "installed-vs-shipped" is a packaging QA check, it happens very
late in the build process and failing it could mean some potential issues
with packaging, especially when recipe uses BBCLASSEXTEND="nativesdk" and
resulting package is used in an SDK.

In OE-Core failing this QA check leads to an error, but other layers can
suppress it or change it to a warning. Detecting weird packaging problems
with SDKs is quite difficult and time consuming. Also, waiting for the
actual "installed-vs-shipped" packaging QA check to fail means that all
recipes in the layer under test have to run through all standard tasks in
the build chain, equivalent to a multi-hour world-build.

Hence yocto-check-layer takes a shortcut and only detects a mere attempt
at skipping "installed-vs-shipped" QA check in the INSANE_SKIP list during
initial parsing when dumping the signature information for the layer.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevtool: explicitly set main or master branches in upgrades when available
Alexander Kanavin [Mon, 21 Feb 2022 09:28:12 +0000 (10:28 +0100)]
devtool: explicitly set main or master branches in upgrades when available

In particular this resolves devtool's inability to pick a branch
when the same tagged commit is avaiable in main and in a release maintenance
branch.

Thanks to Peter Kjellerstedt for the suggestion.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston-init: replace deprecated/disabled fbdev with drm backend
Alexander Kanavin [Mon, 21 Feb 2022 09:28:11 +0000 (10:28 +0100)]
weston-init: replace deprecated/disabled fbdev with drm backend

drm will default to opengl rendering by default; if this is
problematic, --use-pixman option may help, apply only where
it's proven necessary.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel: make kernel-base recommend kernel-image, not depend
Ross Burton [Thu, 10 Feb 2022 11:52:01 +0000 (11:52 +0000)]
kernel: make kernel-base recommend kernel-image, not depend

As kernel modules depend on the base kernel package, and the base kernel
recipe depends on the kernel image, it's impossible to build file system
images which contain kernel modules but not the kernel itself, such as
an initramfs.

Change the RDEPENDS to RRECOMMENDS so that the disk images can set
PACKAGE_EXCLUDE = "kernel-image-*" to remove the kernel.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/bblogging: Split the test cases up for ease of testing
Richard Purdie [Mon, 21 Feb 2022 15:52:41 +0000 (15:52 +0000)]
oeqa/selftest/bblogging: Split the test cases up for ease of testing

This makes it easier to see which of the tests are passing/failing for
a given change which aids debugging.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with shell/python...
Peter Kjellerstedt [Thu, 17 Feb 2022 17:14:15 +0000 (18:14 +0100)]
oeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with shell/python code

The situation regarding logging is different when a function called by
bb.build.exec_func() fails compared to when the task code fails
directly. There is a recent fix in bitbake to solve that and these
tests will hopefully prevent regressions.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: Fix build on 32bit arches with 64bit time_t defaults
Khem Raj [Mon, 21 Feb 2022 06:20:28 +0000 (22:20 -0800)]
boost: Fix build on 32bit arches with 64bit time_t defaults

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: fix DeprecationWarning about regexps
Martin Jansa [Sun, 20 Feb 2022 08:47:43 +0000 (09:47 +0100)]
systemd: fix DeprecationWarning about regexps

* fixes:
  oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: Add backports for two CVEs from upstream
Richard Purdie [Sun, 20 Feb 2022 14:53:13 +0000 (14:53 +0000)]
tiff: Add backports for two CVEs from upstream

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Upgrade 8.2.4314 -> 8.2.4424
Richard Purdie [Sun, 20 Feb 2022 14:51:40 +0000 (14:51 +0000)]
vim: Upgrade 8.2.4314 -> 8.2.4424

License file had some grammar fixes.

Includes CVE-2022-0554.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml-parser-perl: Add missing RDEPENDS
Richard Purdie [Sun, 20 Feb 2022 14:05:36 +0000 (14:05 +0000)]
libxml-parser-perl: Add missing RDEPENDS

Running the ptest package in an image alone highlighted missing module
dependencies. Add them to fix those errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: Improve and update module RPDEPENDS
Richard Purdie [Sun, 20 Feb 2022 14:03:39 +0000 (14:03 +0000)]
perl: Improve and update module RPDEPENDS

The perl module RDEPENDS needed refreshing so I updated it with the script. I
also found a ton of issues with missing test2 module dependencies so I've tweaked
the generator script to improve those. For some reason they were previously excluded
but I can't see anything wrong with the generated dependencies so I've added them. A
number of manual dependencies were still needed in addition.

I did notice an issue with trailing ")" characters so the sed is updated to handle
that (it did already handle "(").

This fixes issues seen in the dependecies for libxml-parser-perl's ptest package.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Upgrade 2.4.5 -> 2.4.6
Richard Purdie [Sun, 20 Feb 2022 21:16:05 +0000 (21:16 +0000)]
expat: Upgrade 2.4.5 -> 2.4.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Upgrade 2.4.4 -> 2.4.5
Richard Purdie [Sat, 19 Feb 2022 18:19:42 +0000 (18:19 +0000)]
expat: Upgrade 2.4.4 -> 2.4.5

This is a security fix release containing fixes for CVE-2022-25235, CVE-2022-25236,
CVE-2022-25313, CVE-2022-25314 and CVE-2022-25315.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibhandy: Use upstream regex to check version of upgrade.
wangmy [Thu, 17 Feb 2022 10:38:09 +0000 (18:38 +0800)]
libhandy: Use upstream regex to check version of upgrade.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowaffle: add wayland-protocols when building with wayland
Andrey Zhizhikin [Thu, 17 Feb 2022 14:17:35 +0000 (14:17 +0000)]
waffle: add wayland-protocols when building with wayland

When 'wayland is selected in ' DISTRO_FEATURES, following build error
occurs during do_configure:

| Run-time dependency wayland-protocols found: NO (tried pkgconfig)
|
| ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig

Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub: Fix build with bintutils 2.38 on riscv
Khem Raj [Thu, 17 Feb 2022 23:10:32 +0000 (15:10 -0800)]
grub: Fix build with bintutils 2.38 on riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgit2: Upgrade to 1.4.1
Khem Raj [Fri, 18 Feb 2022 21:24:24 +0000 (13:24 -0800)]
libgit2: Upgrade to 1.4.1

this is bugfix release
https://github.com/libgit2/libgit2/releases/tag/v1.4.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Setup fetcher environment in advance
Richard Purdie [Sat, 19 Feb 2022 17:59:07 +0000 (17:59 +0000)]
sstate: Setup fetcher environment in advance

The threading code here can race as the fetcher changes the environment which is
shared between the threads. By setting it up in advance, it isn't changed and
therefore no longer races.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/bbtests: Update after license changes
Richard Purdie [Sat, 19 Feb 2022 18:22:13 +0000 (18:22 +0000)]
oeqa/selftest/bbtests: Update after license changes

Update the test to match the renamed license in the recipe.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers
Richard Purdie [Fri, 18 Feb 2022 17:15:36 +0000 (17:15 +0000)]
meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers

An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers. Two recipes in meta-selftest
were not converted as they're that way specifically for testing. A change in
linux-firmware was also skipped and may need a more manual tweak.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts: Add a conversion script to use SPDX license names
Richard Purdie [Fri, 18 Feb 2022 17:09:23 +0000 (17:09 +0000)]
scripts: Add a conversion script to use SPDX license names

We're standardising on SPDX license names so it is overdue to change
the ones in the LICENSE fileds to the SPDX values. Add a conversion
script which makes this straightforward on the most part.

Ultimately this allows the core code to be more efficient and not need
to consult the mappings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocore-image-testmaster: Rename to core-image-testcontroller
Richard Purdie [Wed, 16 Feb 2022 17:43:45 +0000 (17:43 +0000)]
core-image-testmaster: Rename to core-image-testcontroller

Rename the image, the test controller class/code/module and the underlying
image sentinel file to all match the controller terminology.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0: update licenses of all modules
Jose Quaresma [Fri, 18 Feb 2022 00:26:59 +0000 (00:26 +0000)]
gstreamer1.0: update licenses of all modules

Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdb: update 11.1 -> 11.2
Alexander Kanavin [Thu, 27 Jan 2022 10:20:01 +0000 (11:20 +0100)]
gdb: update 11.1 -> 11.2

Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename
gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates.

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarchiver: Fix typo
Richard Purdie [Fri, 18 Feb 2022 17:53:47 +0000 (17:53 +0000)]
archiver: Fix typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: fix create thread failed in unprivileged process
Hongxu Jia [Wed, 16 Feb 2022 02:54:29 +0000 (18:54 -0800)]
glibc: fix create thread failed in unprivileged process

Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: upgrade 1.17.6 -> 1.17.7
wangmy [Mon, 14 Feb 2022 14:27:26 +0000 (22:27 +0800)]
go: upgrade 1.17.6 -> 1.17.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipeutils: Add missing get_srcrev() call
Richard Purdie [Fri, 18 Feb 2022 10:53:25 +0000 (10:53 +0000)]
recipeutils: Add missing get_srcrev() call

Updates within bitbake now require this call to be triggered somewhere with
floating git source revs. Add the missing call. Issue can be reproduced with:

devtool check-upgrade-status dbus-wait

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 202 -> 204
Alexander Kanavin [Thu, 17 Feb 2022 16:09:38 +0000 (17:09 +0100)]
diffoscope: upgrade 202 -> 204

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibical: upgrade 3.0.13 -> 3.0.14
Alexander Kanavin [Thu, 17 Feb 2022 16:09:39 +0000 (17:09 +0100)]
libical: upgrade 3.0.13 -> 3.0.14

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogst-examples: upgrade 1.18.5 -> 1.18.6
Alexander Kanavin [Thu, 17 Feb 2022 16:09:37 +0000 (17:09 +0100)]
gst-examples: upgrade 1.18.5 -> 1.18.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: upgrade 2022.0 -> 2022.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:36 +0000 (17:09 +0100)]
shaderc: upgrade 2022.0 -> 2022.1

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 [Thu, 17 Feb 2022 16:09:35 +0000 (17:09 +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 agopango: upgrade 1.48.10 -> 1.50.4
Alexander Kanavin [Thu, 17 Feb 2022 16:09:34 +0000 (17:09 +0100)]
pango: upgrade 1.48.10 -> 1.50.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogi-docgen: upgrade 2021.8 -> 2022.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:33 +0000 (17:09 +0100)]
gi-docgen: upgrade 2021.8 -> 2022.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovala: upgrade 0.54.6 -> 0.54.7
Alexander Kanavin [Thu, 17 Feb 2022 16:09:32 +0000 (17:09 +0100)]
vala: upgrade 0.54.6 -> 0.54.7

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest: upgrade 7.0.0 -> 7.0.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:31 +0000 (17:09 +0100)]
python3-pytest: upgrade 7.0.0 -> 7.0.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dtschema: upgrade 2021.12 -> 2022.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:30 +0000 (17:09 +0100)]
python3-dtschema: upgrade 2021.12 -> 2022.1

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 [Thu, 17 Feb 2022 16:09:29 +0000 (17:09 +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 agomeson: upgrade 0.61.1 -> 0.61.2
Alexander Kanavin [Thu, 17 Feb 2022 16:09:28 +0000 (17:09 +0100)]
meson: upgrade 0.61.1 -> 0.61.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohelp2man: upgrade 1.48.5 -> 1.49.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:27 +0000 (17:09 +0100)]
help2man: upgrade 1.48.5 -> 1.49.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorepo: upgrade 2.20 -> 2.21
Alexander Kanavin [Thu, 17 Feb 2022 16:09:26 +0000 (17:09 +0100)]
repo: upgrade 2.20 -> 2.21

sed-patch the sources from do_configure, as otherwise
this breaks automated updates (devtool creates a patch
out of changes done by sed).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-tomli: upgrade 2.0.0 -> 2.0.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:25 +0000 (17:09 +0100)]
python3-tomli: upgrade 2.0.0 -> 2.0.1

sources moved to src/tomli

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoutil-linux: upgrade 2.37.3 -> 2.37.4
Alexander Kanavin [Thu, 17 Feb 2022 16:09:24 +0000 (17:09 +0100)]
util-linux: upgrade 2.37.3 -> 2.37.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgit2: update 1.3.0 -> 1.4.0
Alexander Kanavin [Thu, 17 Feb 2022 16:09:23 +0000 (17:09 +0100)]
libgit2: update 1.3.0 -> 1.4.0

License-Update: regex replaced with pcre, overall licensing doesn't change

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxkeyboard-config: update 2.34 -> 2.35.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:22 +0000 (17:09 +0100)]
xkeyboard-config: update 2.34 -> 2.35.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Thu, 17 Feb 2022 16:09:21 +0000 (17:09 +0100)]
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan: update 1.2.198 -> 1.3.204
Alexander Kanavin [Thu, 17 Feb 2022 16:09:20 +0000 (17:09 +0100)]
vulkan: update 1.2.198 -> 1.3.204

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: remove rejected patch
Alexander Kanavin [Thu, 17 Feb 2022 16:09:18 +0000 (17:09 +0100)]
webkitgtk: remove rejected patch

Upstream has first accepted, then reverted this change,
so this needs to be re-submitted, after verifying that it is
still relevant.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoman-db: update 2.10.0 -> 2.10.1
Alexander Kanavin [Thu, 17 Feb 2022 16:09:19 +0000 (17:09 +0100)]
man-db: update 2.10.0 -> 2.10.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: drop patch merged upstream
Alexander Kanavin [Thu, 17 Feb 2022 16:09:17 +0000 (17:09 +0100)]
webkitgtk: drop patch merged upstream

Portions of it were then further refactored upstream, leading
to some bits of the patch dropped and some re-applied on a
automated version upgrade.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston-init: disable systemd watchdog option
Alexander Kanavin [Thu, 17 Feb 2022 16:09:14 +0000 (17:09 +0100)]
weston-init: disable systemd watchdog option

There is no other unit in oe-core where watchdog is enabled, and
this feature starts to behave weirdly when test_date is adjusting the clock,
which means weston is restarted without need, so disable for weston
test stability.

The issue won't show up on kvm qemu (x86/x86_64) because it runs
too quickly, but non-kvm qemu (ppc/mips/arm) all fail in the same
way due to slower timings.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0: disable flaky gstbin:test_watch_for_state_change test
Alexander Kanavin [Thu, 17 Feb 2022 16:09:16 +0000 (17:09 +0100)]
gstreamer1.0: disable flaky gstbin:test_watch_for_state_change test

Upstream issue:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/778

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofeatures_check/insane: Use hasOverrides datastore method
Richard Purdie [Tue, 15 Feb 2022 23:09:43 +0000 (23:09 +0000)]
features_check/insane: Use hasOverrides datastore method

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/bbtests: Update to match changed bitbake output
Richard Purdie [Tue, 15 Feb 2022 22:40:09 +0000 (22:40 +0000)]
oeqa/selftest/bbtests: Update to match changed bitbake output

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/bbtests: Add tests for git floating tag resolution
Richard Purdie [Thu, 10 Feb 2022 13:44:22 +0000 (13:44 +0000)]
selftest/bbtests: Add tests for git floating tag resolution

This test ensures that where a floating tag is used for a git url, there
aren't a number of different bugs such as inconsistent source revisions
for the tag within a given build and that the recipe is reparsed at each
run to ensure the tag is checked.

A test is also added to ensure that the build fails if SRCPV (get_srcrev())
isn't used yet there is a floating tag.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Fix RISCV build with binutils 2.38
Khem Raj [Mon, 14 Feb 2022 23:37:39 +0000 (15:37 -0800)]
u-boot: Fix RISCV build with binutils 2.38

Ensure right ABI and march is used which matches OE core settings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopensbi: Upgrade to 1.0
Khem Raj [Mon, 14 Feb 2022 23:37:38 +0000 (15:37 -0800)]
opensbi: Upgrade to 1.0

Drop OE specific patch to shunt march/mabi
this seems to work fine now.

unset CLANG_TARGET so it can compile with OE produced clang toolchain
which provides --target itself

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: upgrade 21.3.5 -> 21.3.6
wangmy [Mon, 14 Feb 2022 23:54:35 +0000 (07:54 +0800)]
mesa: upgrade 21.3.5 -> 21.3.6

Changelog:
=========
Bug fixes
---------
radv: CullDistance fail
i965: Segmentation fault during glinfo context destruction, regression in 21.3.x
Vulkan Wayland WSI returns empty surface formats
[REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white
Flickering Intel Uhd 620 Graphics
Broken Terraria & Glitches in Forza Horizon 4

Changes
-------
Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants"
anv: Fix subgroupSupportedStages physical property
Revert "zink: handle vertex buffer offset overflows"
ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor()
ir3/cp: ir3: Prevent propagating shared regs out of loops harder
ir3: opt_deref in opt loop to remove unnecessary tex casts
crocus: find correct relocation target for the bo.
vulkan: Fix leak of error messages
pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68
pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated
pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated
intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE.
vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness.
vulkan/wsi/wayland: Convert missing vulkan formats to shm formats.
vulkan/wsi/wayland: Add modifiers for RGB formats.
vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness.
anv/pass: Don't set first_subpass_layout for stencil-only attachments
vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path
i965: Avoid NULL drawbuffer in brw_flush_front
intel/fs: don't set allow_sample_mask for CS intrinsics
intel/nir: fix shader call lowering
panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs
zink: never use SpvOpImageQuerySizeLod for texel buffers
zink: reorder fbfetch flag-setting to avoid null deref
zink: fix vertex buffer mask computation for null buffers
zink: clamp tbo creation to maxTexelBufferElements
zink: add vertex shader pipeline bit for generated barrier construction
zink: fix waiting on current batch id
zink: cast image atomic op params/results based on image type
zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops
zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: ci updates
zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds
zink: fix PIPE_CAP_TGSI_BALLOT export conditional
zink: reject invalid draws
zink: min/max blit region in coverage functions
anv: Disable CCS_E for some 8/16bpp copies on TGL+
anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+
anv: Re-enable CCS_E on TGL+
iris: implement inter-context busy-tracking
aco: fix neg(abs(mul(a, b))) if the mul is not VOP3
aco: don't encode src2 for v_writelane_b32_e64
radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances
radv/winsys: fix missing buffer_make_resident() for the null winsys
tu: VkExternalImageFormatProperties is optional

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorng-tools: upgrade 6.14 -> 6.15
wangmy [Mon, 14 Feb 2022 23:54:36 +0000 (07:54 +0800)]
rng-tools: upgrade 6.14 -> 6.15

0001-Adding-ability-to-detect-non-posix-extensions-for-pt.patch
0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch
removed since they're included in 6.15.

Changelog:
=========
Adjust rngtests for better behavior in travis
fix use of non-posix setaffinity call to allow building on strict posix (musl) systems
Add armv6l to list of detected arches for pkcs11
misc fixes to allow building on libc-musl
fix a deadlock in jitter shutdown sequence
minor warning fixups (unused variables)
improve cpu detection code
improve jitter cpu monopolization on small/single cpu systems

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20211216 -> 20220209
wangmy [Mon, 14 Feb 2022 23:54:34 +0000 (07:54 +0800)]
linux-firmware: upgrade 20211216 -> 20220209

License-Update:
Version of some driver files updated
Added files for some drivers

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-ruamel-yaml: upgrade 0.17.20 -> 0.17.21
wangmy [Tue, 15 Feb 2022 07:36:46 +0000 (15:36 +0800)]
python3-ruamel-yaml: upgrade 0.17.20 -> 0.17.21

Changelog:
=========
- fix bug in calling '.compose()' method with 'pathlib.Path' instance.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: configure with '--without-ssl' if ssl is disabled
Christian Eggers [Tue, 15 Feb 2022 12:54:56 +0000 (13:54 +0100)]
curl: configure with '--without-ssl' if ssl is disabled

curl requires that at least one SSL implementation or explicitly
'--without-ssl' is specified. This is particularly the case if
PACKAGECONFIG is empty.

| configure: error: select TLS backend(s) or disable TLS with
--without-ssl.
|
| Select from these:
|
|   --with-amissl
|   --with-bearssl
|   --with-gnutls
|   --with-mbedtls
|   --with-mesalink
|   --with-nss
|   --with-openssl (also works for BoringSSL and libressl)
|   --with-rustls
|   --with-schannel
|   --with-secure-transport
|   --with-wolfssl
|

Fixes: eef6c45fc6ec ("curl: Rework openssl and random PACKAGECONFIGs")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogmp: fix EXTRA_OECONF for mipsarchr6
Konrad Weihmann [Tue, 15 Feb 2022 12:41:02 +0000 (13:41 +0100)]
gmp: fix EXTRA_OECONF for mipsarchr6

previously used mipsarchr6:append created an empty set for
EXTRA_OECONF and then appended --disable-assembly
while it should be just added to the existing var value.
Without this patch gmp will be configured without
--enable-cxx=detect for mipsarchr6 targets

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: fix DEPENDS append
Konrad Weihmann [Tue, 15 Feb 2022 10:14:32 +0000 (11:14 +0100)]
ruby: fix DEPENDS append

recent change create a blank scope of DEPENDS for class-target,
basically leaving out all general dependencies, leading to the effect
that ruby will be shipped without the runtime dependencies of zlib,
openssl and libffi, making the corresponding gems unusable at runtime.

As the class-target scope should be appended only the correct override
is append:class-target

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoltp: Disable proc01 test
Richard Purdie [Mon, 14 Feb 2022 16:20:18 +0000 (16:20 +0000)]
ltp: Disable proc01 test

This test has history of hanging on arm trying to read from /proc/kmsg and it has
reappeared. Disable the test since hanging autobuilder builds are annoying. I suspect
there is a genuine race on ARM somewhere here in the kernel.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pbr: upgrade 5.8.0 -> 5.8.1
wangmy [Mon, 14 Feb 2022 14:28:43 +0000 (22:28 +0800)]
python3-pbr: upgrade 5.8.0 -> 5.8.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pathlib2: upgrade 2.3.6 -> 2.3.7
wangmy [Mon, 14 Feb 2022 14:28:42 +0000 (22:28 +0800)]
python3-pathlib2: upgrade 2.3.6 -> 2.3.7

Changelog:
=========
This version will be the last release to support Python 2.7.
Fix bug in samefile on Windows when file does not exist.
Add newline parameter for write_text (see issue #64).
Add many more type annotations.
Continuous integration migrated to github actions.
Project migrated to jazzband.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.36.1 -> 6.36.2
wangmy [Mon, 14 Feb 2022 14:28:41 +0000 (22:28 +0800)]
python3-hypothesis: upgrade 6.36.1 -> 6.36.2

Changelog:
=========
Updates vendored list of top-level domains, which is used by the provisional
domains() strategy.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 3.3.2 -> 3.4.0
wangmy [Mon, 14 Feb 2022 14:28:14 +0000 (22:28 +0800)]
harfbuzz: upgrade 3.3.2 -> 3.4.0

Changelog:
=========
*Perform sanity checks on shaping results is now part of "harfbuzz" library
 and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
*Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
*ISO 15924 code for mathematical notation, 'Zmth', now maps to the OpenType
 'math' tag.
*It is now possible to get at once all math kerning values for a given glyph
 at a given corner.
*Fix locale_t portability issues on systems the typedef's it to a void pointer
*New API:
+HB_BUFFER_FLAG_VERIFY
+HB_OT_TAG_MATH_SCRIPT
+HB_SCRIPT_MATH
+hb_ot_math_kern_entry_t
+hb_ot_math_get_glyph_kernings

Deprecated API

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: upgrade 2.70.3 -> 2.70.4
wangmy [Mon, 14 Feb 2022 14:27:25 +0000 (22:27 +0800)]
glib-2.0: upgrade 2.70.3 -> 2.70.4

Changelog:
=========
* Bugs fixed:
 - !2462 Backport !2461 "Fix memory leak in gio/gdbusauthmechanismsha1.c"
   to glib-2-70

* Translation updates:
 - Czech
 - French
 - Indonesian
 - Japanese
 - Polish
 - Portuguese (Brazil)
 - Russian
 - Slovenian
 - Spanish
 - Swedish
 - Ukrainian

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogpgme: upgrade 1.16.0 -> 1.17.0
wangmy [Mon, 14 Feb 2022 14:27:27 +0000 (22:27 +0800)]
gpgme: upgrade 1.16.0 -> 1.17.0

The following patches refreshed for 1.17.0
0001-pkgconfig.patch
0001-use-closefrom-on-linux-and-glibc-2.34.patch

Changelog:
=========
qt: Fix build for older Qt versions.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoautoconf-archive: upgrade 2021.02.19 -> 2022.02.11
wangmy [Mon, 14 Feb 2022 14:27:24 +0000 (22:27 +0800)]
autoconf-archive: upgrade 2021.02.19 -> 2022.02.11

Changelog:
=========
AX_CC_FOR_BUILD was deprecated in favor of AX_PROG_CC_FOR_BUILD.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: wic: Disable graphic of qemu to support WSL
Stefan Herbrechtsmeier [Mon, 14 Feb 2022 15:45:21 +0000 (16:45 +0100)]
selftest: wic: Disable graphic of qemu to support WSL

Disable graphic support of qemu to support qemu tests in WSL.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: wic: Add rawcopy plugin unpack test
Stefan Herbrechtsmeier [Mon, 14 Feb 2022 15:45:20 +0000 (16:45 +0100)]
selftest: wic: Add rawcopy plugin unpack test

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: wic: Remove requirement of syslinux from test_rawcopy_plugin
Stefan Herbrechtsmeier [Mon, 14 Feb 2022 15:45:19 +0000 (16:45 +0100)]
selftest: wic: Remove requirement of syslinux from test_rawcopy_plugin

Remove bootimg-pcbios from wks to eliminate requirement of syslinux from
test_rawcopy_plugin to avoid the following error.

ERROR: Couldn't find correct bootimg_dir, exiting

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: rawcopy: Add support for packed images
Stefan Herbrechtsmeier [Mon, 14 Feb 2022 15:45:18 +0000 (16:45 +0100)]
wic: rawcopy: Add support for packed images

Add support for packed images to wic rawcopy handler do minimize disk
usage in deploy directory and reuse of packed images between wic and
swupdate. Add `unpack` to sourceparams to unpack an bz2, gz and xz
archives.

Example:
part / --source rawcopy --sourceparams="file=core-image-minimal-qemu.ext4.gz,unpack"

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: partition: Support valueless keys in sourceparams
Stefan Herbrechtsmeier [Mon, 14 Feb 2022 15:45:17 +0000 (16:45 +0100)]
wic: partition: Support valueless keys in sourceparams

Accept valueless keys in sourceparams without equals sign (=) to match
the comment and support Boolean entries.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomc: fix build if ncurses have been configured without wide characters
Christian Eggers [Mon, 14 Feb 2022 10:18:14 +0000 (11:18 +0100)]
mc: fix build if ncurses have been configured without wide characters

Some distros like poky-tiny set ENABLE_WIDEC=false, which disables wide
character support for ncurses. The new patch fixes the build of mc for
this case.

Since 9000f8033662, NCURSES_WIDECHAR is set explicitly to 1 for musl.
This doesn't work for ENABLE_WIDEC==false. In this case,
NCURSES_WIDECHAR must be set explicitly to 0, as curses.h does not
record whether the ncurses library has actually been built with or
without wide characters.

Fixes: 9000f8033662 ("mc: upgrade 4.8.25 -> 4.8.26")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: Add perl functionality test to do_configure
Richard Purdie [Mon, 14 Feb 2022 11:47:11 +0000 (11:47 +0000)]
openssl: Add perl functionality test to do_configure

Loading the POSIX module after loading others in perl causes errors to get hidden. The
resulting build failures are obtuse and hard to debug. We see this quite often when
we upgrade glibc but not uninative and there are symbol mismatches.

Add a quick test to the start of configure which tests perl operates correct and shows
a much more obvious error if it isn't since the POSIX module doesn't have to reload.

An example of the new error is:

| Can't load 'XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so' for module POSIX:
| XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/sysroots-uninative/x86_64-linux/lib/libm.so.6: version `GLIBC_2.35' not found
|  (required by XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so) at
|  XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/XSLoader.pm line 111.
|  at XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/POSIX.pm line 24.

which clearly shows the glibc symbol issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Upgrade to 2.38 release
Khem Raj [Thu, 10 Feb 2022 18:37:19 +0000 (10:37 -0800)]
binutils: Upgrade to 2.38 release

Release Notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2022-02/msg00009.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffutils: Link with libbcrypt on mingw
Khem Raj [Mon, 14 Feb 2022 04:43:45 +0000 (20:43 -0800)]
diffutils: Link with libbcrypt on mingw

This ensures that symbol is found in the library which is providing it
in mingw runtime >= 9.0.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: fix dssall build error with binutils 2.3.8
Bruce Ashfield [Tue, 15 Feb 2022 14:57:16 +0000 (09:57 -0500)]
linux-yocto/5.15: fix dssall build error with binutils 2.3.8

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

    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: fix dssall build error with binutils 2.3.8
Bruce Ashfield [Tue, 15 Feb 2022 14:57:15 +0000 (09:57 -0500)]
linux-yocto/5.10: fix dssall build error with binutils 2.3.8

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

    c0b313d988a1 powerpc/mm: Switch obsolete dssall to .long

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocore-image-weston-sdk: synchronize with core-image-sato-sdk
Alexander Kanavin [Sat, 12 Feb 2022 10:40:21 +0000 (11:40 +0100)]
core-image-weston-sdk: synchronize with core-image-sato-sdk

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: ppc/riscv: fix build with binutils 2.3.8
Bruce Ashfield [Sun, 13 Feb 2022 01:23:44 +0000 (20:23 -0500)]
linux-yocto/5.10: ppc/riscv: fix build with binutils 2.3.8

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

    1bd813fe8d0e riscv: fix build with binutils 2.38
    835a2d1b24c6 powerpc/lib/sstep: fix 'ptesync' build error

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: ppc/riscv: fix build with binutils 2.3.8
Bruce Ashfield [Sun, 13 Feb 2022 01:23:43 +0000 (20:23 -0500)]
linux-yocto/5.15: ppc/riscv: fix build with binutils 2.3.8

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

    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error

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.99
Bruce Ashfield [Sun, 13 Feb 2022 01:23:42 +0000 (20:23 -0500)]
linux-yocto/5.10: update to v5.10.99

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

    fb063a6465f9 Linux 5.10.99
    4889d6ee9e48 selftests: nft_concat_range: add test for reload with no element add/del
    557727313534 cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    f1f7d1a22fd7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    84b76a509cc3 ext4: fix incorrect type issue during replay_del_range
    62e46e0ffc02 ext4: fix error handling in ext4_fc_record_modified_inode()
    764793b4a5d0 ext4: fix error handling in ext4_restore_inline_data()
    6c5bd55e36d3 ext4: modify the logic of ext4_mb_new_blocks_simple
    8d71fc23fcb8 ext4: prevent used blocks from being allocated during fast commit replay
    ef2053afd71e EDAC/xgene: Fix deferred probing
    2a12faf55bae EDAC/altera: Fix deferred probing
    dd274cf85269 x86/perf: Default set FREEZE_ON_SMI for all
    456f041e0359 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    8c0e6a8a630e perf stat: Fix display of grouped aliased events
    57e8859acc60 fbcon: Add option to enable legacy hardware acceleration
    460f6b1a238d Revert "fbcon: Disable accelerated scrolling"
    460aa9d87340 rtc: cmos: Evaluate century appropriate
    2324f5fcdf9d tools/resolve_btfids: Do not print any commands when building silently
    1536fafa23ac selftests: futex: Use variable MAKE instead of make
    8f0fff8b5968 selftests/exec: Remove pipe from TEST_GEN_FILES
    6304a613a97d bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    f744a064041c gve: fix the wrong AdminQ buffer queue index check
    51e88e892273 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    ec4334152dae scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    fd482f2d63db pinctrl: bcm2835: Fix a few error paths
    752d9eafc64e pinctrl: intel: fix unexpected interrupt
    14bc9978b486 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    5a45448ac95b ASoC: max9759: fix underflow in speaker_gain_control_put()
    02f459719832 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    cb5f1fbd1f22 ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    56e0747d59ac ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    3e698375517d drm/i915/overlay: Prevent divide by zero bugs in scaling
    9ea018536111 net: stmmac: ensure PTP time register reads are consistent
    41df2da2c1f3 net: stmmac: dump gmac4 DMA registers correctly
    114bf9350413 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    2e7f5b6ee1a7 net: macsec: Fix offload support for NETDEV_UNREGISTER event
    87b1c9fab6fe net: ieee802154: Return meaningful error codes from the netlink helpers
    78b3f20c17cb net: ieee802154: ca8210: Stop leaking skb's
    0bfe50dc5d91 net: ieee802154: mcr20a: Fix lifs/sifs periods
    75bbda318987 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    e895e067d73e spi: uniphier: fix reference count leak in uniphier_spi_probe()
    ec942d08e070 spi: meson-spicc: add IRQ check in meson_spicc_probe
    c2cf65e1008b spi: mediatek: Avoid NULL pointer crash in interrupt
    30e05c98b99d spi: bcm-qspi: check for valid cs before applying chip select
    6d226e8afe88 iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    9d9995b0371e iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    b3958d315163 RDMA/mlx4: Don't continue event handler after memory allocation failure
    d3f8b927df2f RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    c7db20f5be73 IB/rdmavt: Validate remote_addr during loopback atomic tests
    75c610212b9f RDMA/ucma: Protect mc during concurrent multicast leaves
    371979069a57 RDMA/cma: Use correct address when leaving multicast group
    aa4ecd995f59 memcg: charge fs_context and legacy_fs_context
    080f371d984e Revert "ASoC: mediatek: Check for error clk pointer"
    4a9bd1e6780f IB/hfi1: Fix AIP early init panic
    5d40f1bdad3d dma-buf: heaps: Fix potential spectre v1 gadget
    30de3bc09978 block: bio-integrity: Advance seed correctly for larger interval sizes
    352715593e81 mm/kmemleak: avoid scanning potential huge holes
    7053188ddba3 mm/pgtable: define pte_index so that preprocessor could recognize it
    bce7f5d74d74 mm/debug_vm_pgtable: remove pte entry from the page table
    2d83a7463d75 nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    a0c73dbdd197 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    f071d9fa8575 drm/nouveau: fix off by one in BIOS boundary checking
    32747e01436a btrfs: fix deadlock between quota disable and qgroup rescan worker
    aa5d406153c5 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    d4aa3a98596f ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    3a8a8072e32b ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    532cde962f5f ALSA: hda/realtek: Add quirk for ASUS GU603
    410f231fd70c ALSA: hda: realtek: Fix race at concurrent COEF updates
    a7de1002135c ALSA: hda: Fix UAF of leds class devs at unbinding
    470bbb9cbd8f ALSA: usb-audio: Correct quirk for VF0770
    6877f87579ed ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    038f8b7caa74 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    a9394f21fba0 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    0ff6b8050695 audit: improve audit queue handling when "audit=1" on cmdline
    f446089a268c selinux: fix double free of cond_list on error paths
    12a0a56cbae3 Linux 5.10.98
    97a47e25559e Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    e27042060f81 Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"
    c8ed22bd97d4 Linux 5.10.97
    176356550ced tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()
    32e179971085 af_packet: fix data-race in packet_setsockopt / packet_setsockopt
    aa9e96db3121 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
    3bbe2019dd12 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
    e7be56926397 net: sched: fix use-after-free in tc_new_tfilter()
    7b4741644cf7 fanotify: Fix stale file descriptor in copy_event_to_user()
    4d3fcfe84648 net: amd-xgbe: Fix skb data length underflow
    cadfa7dce526 net: amd-xgbe: ensure to reset the tx_timer_active flag
    77534b114f24 ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
    b4ced7a46d9f net/mlx5: E-Switch, Fix uninitialized variable modact
    502c37b033fa net/mlx5: Use del_timer_sync in fw reset flow of halting poll
    a01ee1b8165f net/mlx5e: Fix handling of wrong devices during bond netevent
    1fc3444cda9a cgroup-v1: Require capabilities to set release_agent
    ac4ba79bb028 drm/vc4: hdmi: Make sure the device is powered with CEC
    46f919c6bdc5 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN
    fbdbf6743f77 x86/mce: Add Xeon Sapphire Rapids to list of CPUs that support PPIN
    d4e4e61d4a5b psi: Fix uaf issue when psi trigger is destroyed while being polled
    080dbe7e9b86 KVM: x86: Forcibly leave nested virt when SMM state is toggled
    063029a8820e Revert "drivers: bus: simple-pm-bus: Add support for probing simple bus only devices"
    42fdbf8b7dab net: ipa: prevent concurrent replenish
    ad81380d3a48 net: ipa: use a bitmap for endpoint replenish_enabled
    2ed912e3e057 net: ipa: fix atomic update in ipa_endpoint_replenish()
    3b4c966fb156 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault

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.22
Bruce Ashfield [Sun, 13 Feb 2022 01:23:41 +0000 (20:23 -0500)]
linux-yocto/5.15: update to v5.15.22

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

    0bf5b7cc9848 Linux 5.15.22
    3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup
    b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del
    7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq()
    3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq()
    ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources
    f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    f187daed64e1 ext4: fix incorrect type issue during replay_del_range
    1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode()
    ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data()
    869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple
    0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay
    d583cb17ee50 EDAC/xgene: Fix deferred probing
    c6c04bb32b73 EDAC/altera: Fix deferred probing
    587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all
    e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    0f4dcaeaf6ae perf stat: Fix display of grouped aliased events
    64e133ce280b perf: Copy perf_event_attr::sig_data on modification
    9a60e92b76d6 kvm/arm64: rework guest entry logic
    83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff()
    aba976f96bbc rtc: cmos: Evaluate century appropriate
    3b5fcdfab628 e1000e: Separate ADP board type from TGP
    b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently
    7620887a7779 selftests: futex: Use variable MAKE instead of make
    c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES
    5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check
    3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths
    3cdcfa3c526e pinctrl: intel: fix unexpected interrupt
    ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data
    f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function
    b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets
    aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid
    baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put()
    263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    841e6a6b831b ASoC: simple-card: fix probe failure on platform component
    c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
    5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling
    b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds
    a84854bc230a net: stmmac: ensure PTP time register reads are consistent
    27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly
    0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event
    2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove()
    6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
    0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback
    ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers
    566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting
    94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's
    6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods
    29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv
    40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc
    dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe()
    66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe
    7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt
    101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select
    ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered
    0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments
    c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors
    63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure
    035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests
    2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp()
    2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves
    7715682f357d RDMA/cma: Use correct address when leaving multicast group
    0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
    e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur
    aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer"
    9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
    778283dc2840 fbcon: Add option to enable legacy hardware acceleration
    2a2629db4248 Revert "fbcon: Disable accelerated scrolling"
    a3dd4d2682f2 IB/hfi1: Fix AIP early init panic
    24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget
    f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes
    a5389c80992f mm/kmemleak: avoid scanning potential huge holes
    65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it
    120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table
    90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31
    4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby
    39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout
    d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking
    b9e9f848c82b Revert "fs/9p: search open fids first"
    a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot
    89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker
    f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only
    7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603
    586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates
    0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding
    303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770
    b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses
    0b8b02903173 spi: stm32-qspi: Update spi registering
    45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held
    b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline
    70caa32e6d81 selinux: fix double free of cond_list on error paths
    d63d077fc446 drm/i915: Disable DSB usage for now
    f01ed5defb04 Linux 5.15.21
    2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"
    8deae2f4172c Linux 5.15.20
    e6b678c1a367 ovl: fix NULL pointer dereference in copy up warning
    c3d81231ab84 tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()
    34321180b94d af_packet: fix data-race in packet_setsockopt / packet_setsockopt
    03f42c8ef64a e1000e: Handshake with CSME starts from ADL platforms
    6be234917788 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
    def5e7070079 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
    f36cacd6c933 net: sched: fix use-after-free in tc_new_tfilter()
    60765e43e40f fanotify: Fix stale file descriptor in copy_event_to_user()
    db6fd92316a2 net: amd-xgbe: Fix skb data length underflow
    8cb5afa71033 net: amd-xgbe: ensure to reset the tx_timer_active flag
    b82364abc54b i40e: Fix reset path while removing the driver
    047fc3396cc6 i40e: Fix reset bw limit when DCB enabled with 1 TC
    86186352e36d ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
    5ca77e0c5080 net/mlx5: E-Switch, Fix uninitialized variable modact
    0ca746e2996b net/mlx5: Bridge, Fix devlink deadlock on net namespace deletion
    5d575586c4b3 net/mlx5e: Don't treat small ceil values as unlimited in HTB offload
    f232acbb786f net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    60c48abf62ca net/mlx5e: Fix module EEPROM query
    f895ebeb44d0 net/mlx5: Use del_timer_sync in fw reset flow of halting poll
    fe70126da606 net/mlx5e: Fix handling of wrong devices during bond netevent
    e882123e6e64 net/mlx5: Bridge, ensure dev_name is null-terminated
    c4e3cf1a8e48 net/mlx5: Bridge, take rtnl lock in init error handler
    490292d08946 net/mlx5e: IPsec: Fix tunnel mode crypto offload for non TCP/UDP traffic
    6dfc954efb98 lockd: fix failure to cleanup client locks
    cb5864bf93b2 lockd: fix server crash on reboot of client holding lock
    559bc6ec873a ovl: don't fail copy up if no fileattr support on upper
    9341457fdd0d Revert "mm/gup: small refactoring: simplify try_grab_page()"
    4b1c32bfaa02 cgroup-v1: Require capabilities to set release_agent
    d5e81e3a3e0b drm/vc4: hdmi: Make sure the device is powered with CEC
    dffeeca9268b net: ipa: prevent concurrent replenish
    5f4ed9829617 net: ipa: use a bitmap for endpoint replenish_enabled
    ee782b802ee0 selftests: mptcp: fix ipv6 routing setup
    1db58c6584a7 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/buildtools: Switch to our webserver instead of example.com
Richard Purdie [Sat, 12 Feb 2022 17:37:15 +0000 (17:37 +0000)]
oeqa/buildtools: Switch to our webserver instead of example.com

Similarly to the sanity connectivity check, switch away from example.com
for the buildtools tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: correctly set native/target dependencies
Alexander Kanavin [Sat, 12 Feb 2022 06:32:50 +0000 (07:32 +0100)]
ruby: correctly set native/target dependencies

In particular libffi was missing from native, which
led to linking with host libffi instead.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostaging: use relative path in sysroot_stage_dir()
Ahsan Hussain [Mon, 31 Jan 2022 08:55:48 +0000 (13:55 +0500)]
staging: use relative path in sysroot_stage_dir()

A regression form cpio CVE-2021-38185 caused the tool to hang for paths
greater than 128 character long. It was reported here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992098

We were able to reliable reproduce this with dunfell, meta-freescale
recipe imx-boot

https://github.com/Freescale/meta-freescale/blob/dunfell/recipes-bsp/imx-mkimage/imx-boot_1.0.bb

Using relative path on the affected host fixes the issue as this is
always short, being in the same work dir. It would be harmless, and
useful to generally use the relative path for sysroot_stage_dir()

Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain file
Martin Beeger [Fri, 11 Feb 2022 12:57:14 +0000 (13:57 +0100)]
cmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain file

As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects
CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes
these from environment there is no need to specify the linker flags in the toolchain
file at all. So this just removes the variable, as its value was also set wrong.

Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.5
Michael Halstead [Fri, 11 Feb 2022 18:10:45 +0000 (10:10 -0800)]
uninative: Upgrade to 3.5

Add support for glibc 2.35.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodefault-distrovars.inc: Switch connectivity check to a yoctoproject.org page
Richard Purdie [Fri, 11 Feb 2022 17:42:03 +0000 (17:42 +0000)]
default-distrovars.inc: Switch connectivity check to a yoctoproject.org page

example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscriptutils: Fix handling of srcuri urls
Richard Purdie [Fri, 11 Feb 2022 17:28:07 +0000 (17:28 +0000)]
scriptutils: Fix handling of srcuri urls

Bitbake is now requiring there be a call to get_srcrev() when urls contain
floating revisions. This breaks some recipetool workflows since it is running
these queries to determine those revisions. Add a PV entry which triggers
that call to avoid the errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpcap: Disable DPDK explicitly
Sean Anderson [Thu, 10 Feb 2022 20:49:19 +0000 (15:49 -0500)]
libpcap: Disable DPDK explicitly

libpcap looks for DPDK in the same way it looks for DAG. This can poison
the build even if it doesn't find anything. Explicitly disable dpdk.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>