]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoscripts: fix file writing in convert-spdx-licenses
Scott Murray [Tue, 22 Feb 2022 14:45:34 +0000 (09:45 -0500)]
scripts: fix file writing in convert-spdx-licenses

The convert-spdx-licenses.py script needs the same file closing
fix as was made to convert-variable-renames to ensure modified
file contents get flushed out.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc.bbclass: fix syntax error
Martin Jansa [Tue, 22 Feb 2022 13:26:57 +0000 (14:26 +0100)]
icecc.bbclass: fix syntax error

'class' is already taken as keyword and python doesn't like this:

  ERROR: Error in compiling python function in oe-core/meta/classes/icecc.bbclass, line 151:

  The code lines resulting in this error were:
       0020:    check_pn = set([pn, bpn])
       0021:
       0022:    class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split()
       0023:
   *** 0024:    for class in class_disable:
       0025:        if bb.data.inherits_class(class, d):
       0026:            bb.debug(1, "%s: class %s found in disable, disable icecc" % (pn, class))
       0027:            return "no"
       0028:
  SyntaxError: invalid syntax (icecc.bbclass, line 151)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts: fix file writing in convert-variable-renames
Scott Murray [Tue, 22 Feb 2022 04:21:38 +0000 (23:21 -0500)]
scripts: fix file writing in convert-variable-renames

In my test environments (Fedora 35 and Debian 10.10 on AMD 2970WX),
running the convert-variable-renames.py rename script was resulting
in empty files instead of updated ones.  From inspection, the new
files are never flushed/closed before moving them into place, which
seems inherently racy.  Adding an explicit close to flush the modified
contents out before moving into place fixes the issue for me.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: Further LICENSE_FLAGS variable updates
Saul Wold [Mon, 21 Feb 2022 23:39:03 +0000 (15:39 -0800)]
meta: Further LICENSE_FLAGS variable updates

Add further tweaks to comments and variable names for license variable change.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: Rename LICENSE_FLAGS variable
Saul Wold [Mon, 21 Feb 2022 18:36:13 +0000 (10:36 -0800)]
meta: Rename LICENSE_FLAGS variable

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Add entries to warn on usage of removed variables
Richard Purdie [Thu, 17 Feb 2022 12:22:55 +0000 (12:22 +0000)]
bitbake.conf: Add entries to warn on usage of removed variables

Add entries for the removed variables TUNEABI_WHITELIST and INHERIT_BLACKLIST.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc: Improve variables/terminology
Richard Purdie [Thu, 17 Feb 2022 11:43:36 +0000 (11:43 +0000)]
icecc: Improve variables/terminology

The SYSTEM and USER seperation between variables seems odd and not necessary,
drop it. Avoid the use of whitelist/blacklist and also change "packages" to
"recipes" since that misuse causes confusion.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa/scripts: Automated conversion of OE renamed variables
Richard Purdie [Wed, 16 Feb 2022 20:33:47 +0000 (20:33 +0000)]
meta/scripts: Automated conversion of OE renamed variables

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts: Add convert-variable-renames script for inclusive language variable renaming
Saul Wold [Thu, 17 Feb 2022 00:32:48 +0000 (16:32 -0800)]
scripts: Add convert-variable-renames script for inclusive language variable renaming

This script searches for a list of variable that have been renamed
and converts them to their more descriptive names. It also searches
for a list of variables that have been removed or deprecated and
prints a message.

It will print a message to inform the user that there are terms that
need to be updated in their files. Many of these changes are context
sensitive and may not be modified as they might be existing calls to
other libraries. This message is informational only.

I have tested this on poky and meta-openembedded so far.

(From OE-Core rev: 50fe7ba8dba05a9681c9095506f798796cfc2750)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Add entries for renamed variables
Richard Purdie [Wed, 16 Feb 2022 20:29:44 +0000 (20:29 +0000)]
bitbake.conf: Add entries for renamed variables

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimagefeatures: selftest: Change variable to be more descriptive
Saul Wold [Fri, 4 Feb 2022 17:01:41 +0000 (09:01 -0800)]
imagefeatures: selftest: Change variable to be more descriptive

This changes a couple of variables to be more representive of
their usage.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomultilib: Use renamed SKIP_RECIPE varFlag
Saul Wold [Fri, 4 Feb 2022 17:01:42 +0000 (09:01 -0800)]
multilib: Use renamed SKIP_RECIPE varFlag

This is a more descriptive variable name updated in base.bbclass

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodnf: Use renamed SKIP_RECIPE varFlag
Saul Wold [Fri, 4 Feb 2022 17:01:43 +0000 (09:01 -0800)]
dnf: Use renamed SKIP_RECIPE varFlag

This is a more descriptive variable name updated in base.bbclass

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoblacklist: Replace class with SKIP_RECIPE variable
Saul Wold [Fri, 4 Feb 2022 17:01:40 +0000 (09:01 -0800)]
blacklist: Replace class with SKIP_RECIPE variable

Remove the old class and rename VarFlag to SKIP_RECIPE, handling this
in base.bbclass for efficiency. This means a separate inherit is no longer
needed.

This change better describes what the VarFlag is doing since it
is implemeted with the SkipRecipe() function.

By moving this into base.bbclass we simplify the distro inherit.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf/oeqa: Update BB_DISKMON_DIRS use
Scott Murray [Thu, 17 Feb 2022 22:12:55 +0000 (17:12 -0500)]
local.conf/oeqa: Update BB_DISKMON_DIRS use

Update the example BB_DISKMON_DIRS definitions in the sample
local.conf files for the rename of the "ABORT" action to "HALT",
and also update related error messages in one selftest to use
the new action name.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa/scripts: Handle bitbake variable renaming
Richard Purdie [Wed, 16 Feb 2022 13:49:59 +0000 (13:49 +0000)]
meta/scripts: Handle bitbake variable renaming

After other variables were renamed in bitbake, update OE-Core to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS
Richard Purdie [Wed, 16 Feb 2022 13:36:37 +0000 (13:36 +0000)]
meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS

After the change to bitbake, update the references in OE-Core to match the updates.

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