]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agoneard: Switch SRC_URI to git repo
Rahul Kumar [Tue, 26 Apr 2022 17:39:36 +0000 (23:09 +0530)] 
neard: Switch SRC_URI to git repo

The tarball (neard-0.16.tar.xz) fetched by the recipe is incomplete.
Few plugins (e.g. tizen) and tests scripts (e.g. Test-channel, test-see,
neard-ui.py, ndef-agent etc) are missing.

Since neard did not release latest tarballs, so as per community
recommendation switching the recipe SRC_URI to git repo.

Community Discussion:
https://lists.openembedded.org/g/openembedded-core/topic/90058043#163681

Signed-off-by: Rahul Kumar <rahul.kumar_3@philips.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozlib: Add patch to fix building icedtea7-native from meta-java
Jacob Kroon [Tue, 26 Apr 2022 20:19:52 +0000 (22:19 +0200)] 
zlib: Add patch to fix building icedtea7-native from meta-java

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.59.0 -> 1.60.0
Pgowda [Tue, 26 Apr 2022 13:02:05 +0000 (06:02 -0700)] 
rust: update 1.59.0 -> 1.60.0

Rust has been upgraded to rust-1.60.0 that uses LLVM 14.

Please refer the following link for more detailed features.
https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
https://github.com/rust-lang/rust/blob/master/RELEASES.md

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: mark all directories as safe for git to read
Ross Burton [Tue, 26 Apr 2022 12:07:20 +0000 (13:07 +0100)] 
bitbake.conf: mark all directories as safe for git to read

Recent git releases containing [1] have an ownership check when opening
repositories, and refuse to open a repository if it is owned by a
different user.

This breaks any use of git in do_install, as that is executed by the
(fake) root user. Whilst not common, this does happen.

Setting the git configuration safe.directories=* disables this check, so
that git is usable in fakeroot tasks.  This can be set globally via the
internal environment variable GIT_CONFIG_PARAMETERS, we can't use
GIT_CONFIG_*_KEY/VALUE as that isn't present in all the releases which
have the ownership check.

We already set GIT_CEILING_DIRECTORIES to ensure that git doesn't
recurse up out of the work directory, so this isn't a security issue.

[1] https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobase: Drop git intercept
Richard Purdie [Tue, 26 Apr 2022 17:29:44 +0000 (18:29 +0100)] 
base: Drop git intercept

We're going to use the environment approach for solving this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolayer.conf: Post release codename changes
Richard Purdie [Thu, 21 Apr 2022 20:31:24 +0000 (21:31 +0100)] 
layer.conf: Post release codename changes

Post release add langdale to the series names.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo.bbclass: disable the use of the default configuration file
Chen Qi [Tue, 26 Apr 2022 03:59:09 +0000 (11:59 +0800)] 
go.bbclass: disable the use of the default configuration file

We need to disable the use the default configuration file. This is
to ensure that user settings do not mess things up when building go
recipes.

For example, if I set 'GOBIN=./relative/path' in $HOME/.config/go/env,
then go-runtime fails to build with error like below:

  cannot install, GOBIN must be an absolute path

According to `go help environment',
"""
Setting GOENV=off in the environment disables the use of the default
configuration file.
"""

We can explicitly disable the configuration file by setting GOENV to off.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: delete virtual/kernel dependency to fix FreeRTOS build
Davide Gardenal [Tue, 26 Apr 2022 13:49:08 +0000 (15:49 +0200)] 
create-spdx: delete virtual/kernel dependency to fix FreeRTOS build

When building FreeRTOS this dependency generates an error because
bitbake cannot find any provider for "virtual/kernel".
>From a dependency analysis the task is executed independently from
this so it can be safely removed.

This patch has been discussed in this ML thread:
https://lists.openembedded.org/g/openembedded-core/topic/90602531

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocases/buildepoxy.py: fix typo
Chen Qi [Tue, 26 Apr 2022 03:59:08 +0000 (11:59 +0800)] 
cases/buildepoxy.py: fix typo

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl-locales: Add package
Khem Raj [Tue, 26 Apr 2022 03:28:54 +0000 (20:28 -0700)] 
musl-locales: Add package

This package will provide a limited set of localedata for musl based
systems. It will fill in into images when IMAGE_LINGUAS variable is set
however the choice is limited to the given 13 locales as of now.

e.g.
IMAGE_LINGUAS ?= "de-de fr-fr en-gb"

would work fine

Default locale can be set by exporting LANG=<locale> in /etc/profile or some
such file e.g.

export LANG=de_DE.UTF-8

This will also help in ptest coverage with musl where some test packages
expect locales e.g. pango to name one.

Do not empty out IMAGE_LINGUAS forcibly for musl anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodevshell.bbclass: Allow devshell & pydevshell to use the network
Peter Kjellerstedt [Mon, 25 Apr 2022 21:35:37 +0000 (23:35 +0200)] 
devshell.bbclass: Allow devshell & pydevshell to use the network

Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:

  xterm: Xt error: Can't open display: localhost:0.0

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoterminal.py: Restore error output from Terminal
Peter Kjellerstedt [Mon, 25 Apr 2022 21:05:19 +0000 (23:05 +0200)] 
terminal.py: Restore error output from Terminal

In bitbake commit 1ecc1d94 (process: Do not mix stderr with stdout),
bb.process.Popen() was changed to no longer combine stdout and stderr by
default. However, the Terminal class was not updated to reflect this and
subsequently only output stdout in case of failures.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0: Minor documentation addition
Carlos Rafael Giani [Mon, 25 Apr 2022 15:01:04 +0000 (17:01 +0200)] 
gstreamer1.0: Minor documentation addition

This clears up some confusing packageconfigs.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-good: Fix libsoup dependency
Carlos Rafael Giani [Mon, 25 Apr 2022 15:01:03 +0000 (17:01 +0200)] 
gstreamer1.0-plugins-good: Fix libsoup dependency

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: ignore CVE-2015-20107
Ross Burton [Mon, 25 Apr 2022 11:24:44 +0000 (12:24 +0100)] 
python3: ignore CVE-2015-20107

CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.

Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosubversion: upgrade to 1.14.2
Ross Burton [Mon, 25 Apr 2022 11:20:45 +0000 (12:20 +0100)] 
subversion: upgrade to 1.14.2

This release is primarily to fix two CVEs:
- CVE-2021-28544
- CVE-2022-24070

It also rewrites the macOS autoconf macros to be cross-compile friendly,
so we don't need to delete them anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoe2fsprogs: fix CVE-2022-1304
Ross Burton [Mon, 25 Apr 2022 11:20:44 +0000 (12:20 +0100)] 
e2fsprogs: fix CVE-2022-1304

Backport a submitted patch to fix CVE-2022-1304.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobusybox: Use base_bindir instead of hardcoding /bin path
Khem Raj [Sun, 24 Apr 2022 22:20:30 +0000 (15:20 -0700)] 
busybox: Use base_bindir instead of hardcoding /bin path

This symlink is not valid when using usrmerge and ptest packaging would fail

Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu.bbclass: Extend ppc/ppc64 extra options
Khem Raj [Sun, 24 Apr 2022 04:49:33 +0000 (21:49 -0700)] 
qemu.bbclass: Extend ppc/ppc64 extra options

Some recipes are marked machine specific which need qemu usermode during
build eg. if they use meson build system, which means they wont get
right -cpu settings to run qemu-ppc/qemu-ppc64 and build fails, this
ensures that we set the right options when PACKAGE_ARCH is set to
MACHINE_ARCH on ppc/ppc64 qemu

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Update to latest 2.35 tip
Khem Raj [Sun, 24 Apr 2022 03:05:53 +0000 (20:05 -0700)] 
glibc: Update to latest 2.35 tip

Brings in below changes

499a601796 Default to --with-default-link=no (bug 25812)
70f1eecdc1 scripts: Add glibcelf.py module
d3feff2232 m68k: Handle fewer relocations for RTLD_BOOTSTRAP (#BZ29071)
68d3a9a696 nptl: Fix pthread_cancel cancelhandling atomic operations
8e8d46d598 mips: Fix mips64n32 64 bit time_t stat support (BZ#29069)
bd415684df hurd: Fix arbitrary error code
ba9c42ac0e nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029)
6583d53445 S390: Add new s390 platform z16.
cc9a4a664f elf: Fix memory leak in _dl_find_object_update (bug 29062)
db03235895 NEWS: Move PLT tracking slowdown to glibc 2.35.
9be62976af hppa: Use END instead of PSEUDO_END in swapcontext.S
01d5214bb4 hppa: Implement swapcontext in assembler (bug 28960)
123bd1ec66 nss: Protect against errno changes in function lookup (bug 28953)
c54c5cd8e3 nss: Do not mention NSS test modules in <gnu/lib-names.h>
3149f47b80 io: Add fsync call in tst-stat
e30c1c73da nptl: Fix cleanups for stack grows up [BZ# 28899]
ca0570fee3 hppa: Fix warnings from _dl_lookup_address
d82d9cdff4 hppa: Revise gettext trampoline design
2631d3b3a6 hppa: Fix swapcontext
1f77081178 Fix elf/tst-audit2 on hppa
c60e6a458b hppa: Fix bind-now audit (BZ #28857)
90797f4972 localedef: Handle symbolic links when generating locale-archive
732dd3a63d localedata: Do not generate output if warnings were present.
3feecd8001 localedef: Update LC_MONETARY handling (Bug 28845)
a787325e83 NEWS: Add a bug fix entry for BZ #28688
264ad5d7d6 resolv: Fix tst-resolv tests for 2.35 ABIs and later
e247a3b118 elf: Replace tst-audit24bmod2.so with tst-audit24bmod2
1dd783fafd elf: Check invalid hole in PT_LOAD segments [BZ #28838]
3226ffde07 NEWS: Add a bug fix entry for BZ #28896
676f85759c x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
d001088e22 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896]
fd412fff6d x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896]
a30807b7db string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]
f055faf801 linux: Use socket-constants-time64.h on tst-socket-timestamp-compat
491f2ef1f0 linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ #28865]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibc-glibc: Use libxcrypt to provide virtual/crypt
Khem Raj [Fri, 22 Apr 2022 18:05:30 +0000 (11:05 -0700)] 
libc-glibc: Use libxcrypt to provide virtual/crypt

Fixes
NOTE: Multiple providers are available for virtual/crypt (libxcrypt, musl)
Consider defining a PREFERRED_PROVIDER entry to match virtual/crypt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: do not use PARTLABEL for msdos partition tables
Henning Schild [Fri, 22 Apr 2022 09:44:48 +0000 (11:44 +0200)] 
wic: do not use PARTLABEL for msdos partition tables

When using "msdos" partition tables and "--label" but not "--use-uuid"
one can generate images which will not find their root, because
PARTLABEL does not work for "msdos".

Fix that by simply not going the PARTLABEL path in case of "msdos".

Fixes: 2fb247c5ecf0 ("wic: support rootdev identified by partition label")
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Package shared library into wpa-supplicant-lib
Alex Kiernan [Fri, 22 Apr 2022 09:07:01 +0000 (10:07 +0100)] 
wpa-supplicant: Package shared library into wpa-supplicant-lib

When CONFIG_BUILD_WPA_CLIENT_SO is enabled, package the library into
wpa-supplicant-lib.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Install wpa_passphrase when not disabled
Alex Kiernan [Fri, 22 Apr 2022 09:07:00 +0000 (10:07 +0100)] 
wpa-supplicant: Install wpa_passphrase when not disabled

As part of fixing CONFIG_NO_WPA_PASSPHRASE, whilst wpa_passphrase gets
built, its not installed during `make install`.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.41.0 -> 6.44.0
wangmy [Fri, 22 Apr 2022 05:39:13 +0000 (13:39 +0800)] 
python3-hypothesis: upgrade 6.41.0 -> 6.44.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: upgrade 2.4.4 -> 2.4.5
wangmy [Fri, 22 Apr 2022 05:39:12 +0000 (13:39 +0800)] 
apt: upgrade 2.4.4 -> 2.4.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcompat: Fix build when usrmerge distro feature is enabled
Khem Raj [Fri, 22 Apr 2022 04:05:52 +0000 (21:05 -0700)] 
gcompat: Fix build when usrmerge distro feature is enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Fix build when usrmerge distro feature is enabled
Khem Raj [Fri, 22 Apr 2022 04:05:51 +0000 (21:05 -0700)] 
musl: Fix build when usrmerge distro feature is enabled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Upgrade to 11.3 release
Khem Raj [Fri, 22 Apr 2022 02:04:10 +0000 (19:04 -0700)] 
gcc: Upgrade to 11.3 release

This is a bugfix release on gcc-11 series, fixes 189 bugs [1]
Drop backported patches already included in 11.3 release

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=11.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxorg-app: Tweak handling of compression changes in SRC_URI
Richard Purdie [Wed, 20 Apr 2022 11:49:50 +0000 (12:49 +0100)] 
xorg-app: Tweak handling of compression changes in SRC_URI

Rather than duplicating SRC_URI, change the compression to a variable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinstall/devshell: Introduce git intercept script due to fakeroot issues
Paul Gortmaker [Wed, 20 Apr 2022 15:11:41 +0000 (11:11 -0400)] 
install/devshell: Introduce git intercept script due to fakeroot issues

In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:

 ------
  bitbake -c devshell linux-yocto

  [...]

  kernel-source#git branch
  fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
  To add an exception for this directory, call:

        git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
  kernel-source#
 ------

Of course the devshell has UID zero and the "real" UID is for "paul" in
this case.  And so recent git versions complain.

As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.

Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.

Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.

As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.

RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.

RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarch-armv8-4a.inc: add tune include for armv8.4a
Dmitry Baryshkov [Wed, 20 Apr 2022 10:24:51 +0000 (13:24 +0300)] 
arch-armv8-4a.inc: add tune include for armv8.4a

Add tune include for armv8.4a. This adds support only for bare armv8.4a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoarch-armv8-2a.inc: fix a typo in TUNEVALID variable
Dmitry Baryshkov [Wed, 20 Apr 2022 10:23:39 +0000 (13:23 +0300)] 
arch-armv8-2a.inc: fix a typo in TUNEVALID variable

Fix a typo in the TUNEVALID[armv8-2a]: It enables instructions for
ARMv8.2-a, not just ARMv8-a.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agolinux-firmware: split ath3k firmware
Dmitry Baryshkov [Wed, 20 Apr 2022 10:11:29 +0000 (13:11 +0300)] 
linux-firmware: split ath3k firmware

Atheros AR3011 Bluetooth devices require special ath3k-1.fw firmware
file. Package it separately from the main linux-firmware package to
allow deploying this firmware on embedded devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agolinux-firmware: correct license for ar3k firmware
Dmitry Baryshkov [Wed, 20 Apr 2022 10:11:28 +0000 (13:11 +0300)] 
linux-firmware: correct license for ar3k firmware

According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE:${PN}-ar3k and depending on both of them.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agokernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA
Russ Dill [Thu, 21 Apr 2022 03:58:19 +0000 (20:58 -0700)] 
kernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA

The do_kernel_configcheck task requires a meta directory, normally
set by ${KMETA}. The meta directory is taken as a relative path
from ${S}:

        outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta )

However, when checking for the presence of ${KMETA} the current
working directory is searched. This will almost always fail and
"kgit --meta" is used instead. If the user does have a path in
their current working directory that matches the ${KMETA}
variable but the path is not present within the kernel source
directory, the build will fail if it tries to write config errors/
warnings to that path.

If ${KMETA} is not set, the same problem exists with the hard-coded
"meta" directory.

Fix these issues by checking for ${KMETA} within ${S} rather than
the current working directory. Additionally, drop the hardcoded
backup directory "meta" as it hasn't been functioning and
probably has no users

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopackage.bbclass: Prevent perform_packagecopy from removing /sysroot-only
Russ Dill [Wed, 20 Apr 2022 16:03:29 +0000 (09:03 -0700)] 
package.bbclass: Prevent perform_packagecopy from removing /sysroot-only

The files in /sysroot-only are intended to make it into the
recipes sysroot output, but not into the package. However, if
do_package is run before do_populate_sysroot, the files are
removed.

Use a smaller hammer to avoid copying the files into the package so
they are still around when do_populate_sysroot runs.

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoautomake: Drop redundant 'u' flag in ARFLAGS
Andrei Gherzan [Wed, 20 Apr 2022 15:44:52 +0000 (17:44 +0200)] 
automake: Drop redundant 'u' flag in ARFLAGS

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoxdpyinfo: upgrade 1.3.2 -> 1.3.3
wangmy [Wed, 20 Apr 2022 04:10:19 +0000 (12:10 +0800)] 
xdpyinfo: upgrade 1.3.2 -> 1.3.3

temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomkfontscale: upgrade 1.2.1 -> 1.2.2
wangmy [Wed, 20 Apr 2022 04:10:18 +0000 (12:10 +0800)] 
mkfontscale: upgrade 1.2.1 -> 1.2.2

temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxcursor: upgrade 1.2.0 -> 1.2.1
wangmy [Wed, 20 Apr 2022 04:10:17 +0000 (12:10 +0800)] 
libxcursor: upgrade 1.2.0 -> 1.2.1

temporarily override SRC_URI which is hard-coded in xorg-lib-common.inc
since new versions of packages use a new compression format - .tar.xz

License-Update:
file type changed from "ISO-8859 text" to "UTF-8 Unicode text".

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-bad: drop patch
Naveen Saini [Wed, 20 Apr 2022 02:26:55 +0000 (10:26 +0800)] 
gstreamer1.0-plugins-bad: drop patch

With latest gstreamer version pkg-config able to find header
path with msdk enabled.

Drop this patch as its not require anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoseatd: Disable overflow warning as error on ppc64/musl
Khem Raj [Wed, 20 Apr 2022 01:36:48 +0000 (18:36 -0700)] 
seatd: Disable overflow warning as error on ppc64/musl

Disabling the warning is easier fix then trying to fix it
in musl which results in ABI breakage and disabling the Werror
gets us along by doing minimal change, also see [1]

[1] https://todo.sr.ht/~kennylevinsen/seatd/10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemux86-64: disable legacy i8042 (AT keyboard, PS/2 mouse)
Ross Burton [Tue, 19 Apr 2022 15:45:41 +0000 (16:45 +0100)] 
qemux86-64: disable legacy i8042 (AT keyboard, PS/2 mouse)

These devices are historical, modern Linux will just use the USB
devices, and occasionally the init of these devices fails:

  atkbd serio0: Failed to deactivate keyboard on isa0060/serio0
  psmouse serio1: Failed to reset mouse on isa0060/serio1: -5

Explicitly add a USB keyboard to go with the USB tablet, and disable the
i8042 entirely.

[ YOCTO #14718 ]
[ YOCTO #14743 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: backport a patch to optionally disable i8042 (AT and PS/2) hardware
Ross Burton [Tue, 19 Apr 2022 15:45:40 +0000 (16:45 +0100)] 
qemu: backport a patch to optionally disable i8042 (AT and PS/2) hardware

Backport a patch from upstream (will be in qemu 7.0) to add an option to
disable the legacy i8042 support (AT keyboard, PS/2 mouse).  These
devices are very historical and modern Linux environments use USB anyway.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorepo: upgrade 2.22 -> 2.23
Jasper Orschulko [Sun, 17 Apr 2022 18:10:56 +0000 (20:10 +0200)] 
repo: upgrade 2.22 -> 2.23

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgpg-error: Add ptest
Simone Weiss [Tue, 19 Apr 2022 12:59:41 +0000 (14:59 +0200)] 
libgpg-error: Add ptest

Add a ptest for libgpg-error to core-image-ptest-all. Avoid refreshing the
Makefile in qemu as this would fail and is not needed. All tests passed on
a trial run.

Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: extract legacy provider module to a separate package
Peter Marko [Tue, 19 Apr 2022 11:21:18 +0000 (13:21 +0200)] 
openssl: extract legacy provider module to a separate package

This module contains legacy cipher suites from libcrypto.
We should not need to include base package because we want
  to use this part of libcrypto.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokexec-tools: upgrade 2.0.23 -> 2.0.24
wangmy [Tue, 19 Apr 2022 10:31:20 +0000 (18:31 +0800)] 
kexec-tools: upgrade 2.0.23 -> 2.0.24

refresh 0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogptfdisk: upgrade 1.0.8 -> 1.0.9
wangmy [Tue, 19 Apr 2022 10:31:19 +0000 (18:31 +0800)] 
gptfdisk: upgrade 1.0.8 -> 1.0.9

0001-gptcurses-correct-ncurses-6.3-errors.patch
removed since it's included in 1.0.9.

Changelog:
===========
- Added support for aligning partitions' end points. This feature affects the
  default partition size when using n in gdisk; it affects the default
  partition size in cgdisk; and it's activated by the new -I option in sgdisk.
  See the programs' respective man pages for details. This feature is intended
  to help with LUKS2 encryption, which reacts badly to partitions that are not
  sized as exact multiples of the encryption block size.
- Added several new partition type codes:
      FreeBSD nandfs (0xa506)
      Apple APFS Pre-Boot (0xaf0b)
      Apple APFS Recovery (0xaf0c)
      ChromeOS firmware (0x7f03)
      ChromeOS mini-OS (0x7f04)
      ChromeOS hibernate (0x7f05)
      U-Boot boot loader (0xb000)
      27 (!) codes for Fuchsia (0xf100 to 0xf11a)
- Added the ability to build sgdisk and cgdisk for Windows.
- Added a check for too-small disks (most likely to be an issue when trying to
  use a too-small disk image); program now aborts if this happens.
- Removed stray debugging code that caused partNum is x to be printed when
  changing a partition's name with sgdisk.
- Fixed build problems with recent versions of ncurses.
- Fixed bug that caused cgdisk to report incorrect partition attributes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodropbear: upgrade 2020.81 -> 2022.82
wangmy [Tue, 19 Apr 2022 10:31:18 +0000 (18:31 +0800)] 
dropbear: upgrade 2020.81 -> 2022.82

refresh the following patches for new version:
0001-urandom-xauth-changes-to-options.h.patch
0005-dropbear-enable-pam.patch
dropbear-disable-weak-ciphers.patch

Changelog:
https://github.com/mkj/dropbear/releases/tag/DROPBEAR_2022.82

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: ptest: Fix glibc-tests package issue
Pgowda [Tue, 19 Apr 2022 06:15:56 +0000 (23:15 -0700)] 
glibc: ptest: Fix glibc-tests package issue

Run glibc-tests only when its enabled in the DISTRO_FEATURES.

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sphinx-rtd-theme: upgrade 0.5.0 -> 1.0.0
wangmy [Tue, 19 Apr 2022 01:44:46 +0000 (09:44 +0800)] 
python3-sphinx-rtd-theme: upgrade 0.5.0 -> 1.0.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-jsonpointer: upgrade 2.2 -> 2.3
wangmy [Tue, 19 Apr 2022 01:44:44 +0000 (09:44 +0800)] 
python3-jsonpointer: upgrade 2.2 -> 2.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: Always pass interpreter to linker
Joerg Vehlow [Mon, 11 Apr 2022 12:35:20 +0000 (14:35 +0200)] 
go: Always pass interpreter to linker

When gos internal linker is used, it uses hardcoded paths to the
interpreter (dynamic linker). For x86_64 this hardcoded path is
/lib64/ld-linux-x86-64.so.2, but yocto's default dynamic linker path
is /lib64/ld-linux-x86-64.so.2.
Most of the time, the internal linker is not used and binutils linker
sets the correct path, but sometimes the internal linker is used and
the resulting binary will not work on x86_64.

To ensure the path is always correct, pass  it to the linker.

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo-helloworld: update to latest revision
Alexander Kanavin [Thu, 7 Apr 2022 17:00:17 +0000 (19:00 +0200)] 
go-helloworld: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo-target: Pass -trimpath to go linker
Khem Raj [Tue, 29 Mar 2022 23:39:53 +0000 (16:39 -0700)] 
go-target: Pass -trimpath to go linker

This is for improving reproducibility to trim absolute paths as these
recipes do not inherit go bbclass where it would be set automatically

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: Disable pie in cgo for mips
Khem Raj [Tue, 29 Mar 2022 23:39:52 +0000 (16:39 -0700)] 
go: Disable pie in cgo for mips

This overcomes the linking errors e.g.
| /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60fef8): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC         | /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60ff0c): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: Drop GOBUILDMODE
Khem Raj [Tue, 29 Mar 2022 23:39:51 +0000 (16:39 -0700)] 
go: Drop GOBUILDMODE

This is local invention which is no longer needed, pie-mode works good
now a days to build go for target

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: Upgrade to 1.18
Khem Raj [Tue, 29 Mar 2022 23:39:50 +0000 (16:39 -0700)] 
go: Upgrade to 1.18

1.18 is a major release brings in long awaited new features e.g.
generics, fuzzing

Detailed list is here [1]

Drop patches to manipulate multiword CC/CXX as go has fixed it
differently [2]

Drop cgo portion of patch to hack hash generation logic
either we should find a way to not use it or redo it,
in current form its not upstreamable and its
altering core features of go compiler, it can not be maintained as is

Do not emit linkinfo into the actionID

Drop ignoring CVE-2021-29923 its already addressed in go >= 1.17

[1] https://go.dev/doc/go1.18
[2] https://groups.google.com/g/golang-codereviews/c/fUhCbpYG7HE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoruby: upgrade 3.1.1 -> 3.1.2
zhengruoqin [Mon, 18 Apr 2022 12:29:16 +0000 (20:29 +0800)] 
ruby: upgrade 3.1.1 -> 3.1.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowireless-regdb: upgrade 2022.02.18 -> 2022.04.08
zhengruoqin [Mon, 18 Apr 2022 12:27:33 +0000 (20:27 +0800)] 
wireless-regdb: upgrade 2022.02.18 -> 2022.04.08

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: upgrade 8.9p1 -> 9.0p1
zhengruoqin [Mon, 18 Apr 2022 12:27:14 +0000 (20:27 +0800)] 
openssh: upgrade 8.9p1 -> 9.0p1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: upgrade 2.35.2 -> 2.35.3
zhengruoqin [Mon, 18 Apr 2022 12:26:18 +0000 (20:26 +0800)] 
git: upgrade 2.35.2 -> 2.35.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpcre2: upgrade 10.39 -> 10.40
wangmy [Mon, 18 Apr 2022 12:19:21 +0000 (20:19 +0800)] 
libpcre2: upgrade 10.39 -> 10.40

License-Update: year updated to 2022

Changelog:
==========
1. Merged patch from @carenas (GitHub #35, 7db87842) to fix pcre2grep incorrect
handling of multiple passes.

2. Merged patch from @carenas (GitHub #36, dae47509) to fix portability issue
in pcre2grep with buffered fseek(stdin).

3. Merged patch from @carenas (GitHub #37, acc520924) to fix tests when -S is
not supported.

4. Revert an unintended change in JIT repeat detection.

5. Merged patch from @carenas (GitHub #52, b037bfa1) to fix build on GNU Hurd.

6. Merged documentation and comments patches from @carenas (GitHub #47).

7. Merged patch from @carenas (GitHub #49) to remove obsolete JFriedl test code
from pcre2grep.

8. Merged patch from @carenas (GitHub #48) to fix CMake install issue #46.

9. Merged patch from @carenas (GitHub #53) fixing NULL checks in matching and
substituting.

10. Add null_subject and null_replacement modifiers to pcre2test.

11. Add check for NULL subject to POSIX regexec() function.

12. Add check for NULL replacement to pcre2_substitute().

13. For the subject arguments of pcre2_match(), pcre2_dfa_match(), and
pcre2_substitute(), and the replacement argument of the latter, if the pointer
is NULL and the length is zero, treat as an empty string. Apparently a number
of applications treat NULL/0 in this way.

14. Added support for Bidi_Class and a number of binary Unicode properties,
including Bidi_Control.

15. Fix some minor issues raised by clang sanitize.

16. Very minor code speed up for maximizing character property matches.

17. A number of changes to script matching for \p and \P:

    (a) Script extensions for a character are now coded as a bitmap instead of
        a list of script numbers, which should be faster and does not need a
        loop.

    (b) Added the syntax \p{script:xxx} and \p{script_extensions:xxx} (synonyms
        sc and scx).

    (c) Changed \p{scriptname} from being the same as \p{sc:scriptname} to being
        the same as \p{scx:scriptname} because this change happened in Perl at
        release 5.26.

    (d) The standard Unicode 4-letter abbreviations for script names are now
        recognized.

    (e) In accordance with Unicode and Perl's "loose matching" rules, spaces,
        hyphens, and underscores are ignored in property names, which are then
        matched independent of case.

18. The Python scripts in the maint directory have been refactored. There are
now three scripts that generate pcre2_ucd.c, pcre2_ucp.h, and pcre2_ucptables.c
(which is #included by pcre2_tables.c). The data lists that used to be
duplicated are now held in a single common Python module.

19. On CHERI, and thus Arm's Morello prototype, pointers are represented as
hardware capabilities, which consist of both an integer address and additional
metadata, meaning they are twice the size of the platform's size_t type, i.e.
16 bytes on a 64-bit system. The ovector member of heapframe happens to only be
8 byte aligned, and so computing frame_size ended up with a multiple of 8 but
not 16. Whilst the first frame was always suitably aligned, this then
misaligned the frame that follows, resulting in an alignment fault when storing
a pointer to Fecode at the start of match. Patch to fix this issue by Jessica
Clarke PR#72.

20. Added -LP and -LS listing options to pcre2test.

21. A user discovered that the library names in CMakeLists.txt for MSVC
debugger (PDB) files were incorrect - perhaps never tried for PCRE2?

22. An item such as [Aa] is optimized into a caseless single character match.
When this was quantified (e.g. [Aa]{2}) and was also the last literal item in a
pattern, the optimizing "must be present for a match" character check was not
being flagged as caseless, causing some matches that should have succeeded to
fail.

23. Fixed a unicode properrty matching issue in JIT. The character was not
fully read in caseless matching.

24. Fixed an issue affecting recursions in JIT caused by duplicated data
transfers.

25. Merged patch from @carenas (GitHub #96) which fixes some problems with
pcre2test and readline/readedit:

  * Use the right header for libedit in FreeBSD with autoconf
  * Really allow libedit with cmake
  * Avoid using readline headers with libedit

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtools: upgrade 4.0.38 -> 4.0.39
wangmy [Mon, 18 Apr 2022 12:19:22 +0000 (20:19 +0800)] 
mtools: upgrade 4.0.38 -> 4.0.39

Changelog:
==========
Rename strtoi to strosi (string to signed int). The strtoi function
on BSD does something else (returns an intmax, not an int)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20220310 -> 20220411
wangmy [Mon, 18 Apr 2022 12:19:23 +0000 (20:19 +0800)] 
linux-firmware: upgrade 20220310 -> 20220411

License-Update:
    Version of 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 agolibcap: upgrade 2.63 -> 2.64
wangmy [Mon, 18 Apr 2022 12:19:20 +0000 (20:19 +0800)] 
libcap: upgrade 2.63 -> 2.64

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgit2: upgrade 1.4.2 -> 1.4.3
wangmy [Mon, 18 Apr 2022 12:12:22 +0000 (20:12 +0800)] 
libgit2: upgrade 1.4.2 -> 1.4.3

Changelog:
=========
Validate repository directory ownership (v1.4)
midx: Fix an undefined behavior (left-shift signed overflow)
fetch: support OID refspec without dst
Fix crash when regenerating a patch with unquoted spaces in filename

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibusb1: upgrade 1.0.25 -> 1.0.26
wangmy [Mon, 18 Apr 2022 12:12:23 +0000 (20:12 +0800)] 
libusb1: upgrade 1.0.25 -> 1.0.26

Changelog:
==========
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplog enumeration regression
* Fix Windows isochronous transfer regression since 1.0.24
* Fix macOS exit crash in some multi-context cases
* Build fixes for various platforms and configurations
* Fix Windows HID multi-interface product string retrieval
* Update isochronous OUT packet actual lengths on Windows
* Add interface bound checking for broken devices
* Add umockdev tests on Linux

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibaio: upgrade 0.3.112 -> 0.3.113
wangmy [Mon, 18 Apr 2022 12:12:21 +0000 (20:12 +0800)] 
libaio: upgrade 0.3.112 -> 0.3.113

refresh 00_arches.patch for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: upgrade 0.15 -> 0.16
wangmy [Mon, 18 Apr 2022 12:10:55 +0000 (20:10 +0800)] 
json-c: upgrade 0.15 -> 0.16

Changelog:
==========
Deprecated and removed features:
--------------------------------
* JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of
  JSON_C_OBJECT_ADD_CONSTANT_KEY
* Direct access to lh_table and lh_entry structure members is deprecated.
  Use access functions instead, lh_table_head(), lh_entry_next(), etc...
* Drop REFCOUNT_DEBUG code.

New features
------------
* The 0.16 release introduces no new features

Build changes
-------------
* Add a DISABLE_EXTRA_LIBS option to skip using libbsd
* Add a DISABLE_JSON_POINTER option to skip compiling in json_pointer support.

Significant changes and bug fixes
---------------------------------
* Cap string length at INT_MAX to avoid various issues with very long strings.
* json_object_deep_copy: fix deep copy of strings containing '\0'
* Fix read past end of buffer in the "json_parse" command
* Avoid out of memory accesses in the locally provided vasprintf() function
  (for those platforms that use it)
* Handle allocation failure in json_tokener_new_ex
* Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL
* printbuf_memset(): set gaps to zero - areas within the print buffer which
  have not been initialized by using printbuf_memset
* printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX)
* sprintbuf(): propagate printbuf_memappend errors back to the caller

Optimizations
--------------
* Speed up parsing by replacing ctype functions with simplified, faster
  non-locale-sensitive ones in json_tokener and json_object_to_json_string.
* Neither vertical tab nor formfeed are considered whitespace per the JSON spec
* json_object: speed up creation of objects, calloc() -> malloc() + set fields
* Avoid needless extra strlen() call in json_c_shallow_copy_default() and
  json_object_equal() when the object is known to be a json_type_string.

Other changes
-------------
* Validate size arguments in arraylist functions.
* Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c
  very early during boot, such as part of cryptsetup.
* Use arc4random() if it's available.
* random_seed: on error, continue to next method instead of exiting the process
* Close file when unable to read from /dev/urandom in get_dev_random_seed()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohelp2man: upgrade 1.49.1 -> 1.49.2
wangmy [Mon, 18 Apr 2022 12:10:54 +0000 (20:10 +0800)] 
help2man: upgrade 1.49.1 -> 1.49.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoenchant2: upgrade 2.3.2 -> 2.3.3
wangmy [Mon, 18 Apr 2022 12:10:53 +0000 (20:10 +0800)] 
enchant2: upgrade 2.3.2 -> 2.3.3

Changelog:
==========
Update Nuspell provider, requiring Nuspell 5.1.0. The new provider takes
advantage of recently-added Nuspell APIs to be smaller and simpler.

Fix the C++ API is_added() method to return a boolean rather than void.

Require C99 and POSIX 2008, and as a result use fewer gnulib modules,
which gives a modest build time reduction.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: upgrade 1.78.0 -> 1.79.0
wangmy [Mon, 18 Apr 2022 12:10:52 +0000 (20:10 +0800)] 
boost: upgrade 1.78.0 -> 1.79.0

0001-futex-fix-build-on-32-bit-architectures-using-64-bit.patch
de657e01635306085488290ea83de541ec393f8b.patch
removed since they're included in 1.79.0

Changelog:
https://www.boost.org/users/history/version_1_79_0.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoupdate_udev_hwdb: fix multilib issue with systemd
Kai Kang [Fri, 15 Apr 2022 14:38:03 +0000 (22:38 +0800)] 
update_udev_hwdb: fix multilib issue with systemd

It duplicates udevadm in systemd recipe to make it could run
update_udev_hwdb with multilib enabled. Since systemd last update,
it deploys a shared library libsystemd-shared-250.so in /lib/systemd/.
The library will be overwritten when multilib enabled. Then if both
udev-hwdb and lib32-udev-hwdb are installed, it fails to run the
multilib version postinstall intercept update_udev_hwdb:

| /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm:
    error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64

`udevadm hwdb --update` just concatenates .hwdb files in dirs
/etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is
identical with the one created by lib32-udevadm. So do NOT duplicate
lib32-udevadm in systemd and eudev. And update intercept script
update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run
${binprefix}qemuwrapper failed.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Inherit pkgconfig
Peter Kjellerstedt [Sun, 17 Apr 2022 01:50:12 +0000 (03:50 +0200)] 
u-boot: Inherit pkgconfig

pkg-config is used by the Makefiles, and thus pkgconfig needs to be
inherited.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Correct the SRC_URI
Peter Kjellerstedt [Sun, 17 Apr 2022 01:50:11 +0000 (03:50 +0200)] 
u-boot: Correct the SRC_URI

This avoids a redirect.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: fix error when symlink cannot be created
Davide Gardenal [Thu, 14 Apr 2022 13:27:47 +0000 (15:27 +0200)] 
create-spdx: fix error when symlink cannot be created

If IMAGE_NAME and IMAGE_LINK_NAME are the same an
exception is raised in image_combine_spdx because
it cannot create a symlink with the same exact
path of the original file. In that case there is
no point in creating a link in the first place.

Refactor image_combine_spdx to avoid code duplication

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipetool: Do not use mutable default arguments in Python
Stefan Herbrechtsmeier [Thu, 14 Apr 2022 11:06:35 +0000 (13:06 +0200)] 
recipetool: Do not use mutable default arguments in Python

Remove mutable default arguments in Python because they can lead to all
sorts of nasty and horrible bugs.

https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/

Revert `recipetool: Change default paramter fallback_licenses of
function split_pkg_licenses from None to []` and instead check
fallback_licenses before use.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: adjust patch status
Alexander Kanavin [Thu, 14 Apr 2022 08:57:07 +0000 (10:57 +0200)] 
webkitgtk: adjust patch status

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoncurses: use COPYING file
Konrad Weihmann [Thu, 14 Apr 2022 06:30:16 +0000 (08:30 +0200)] 
ncurses: use COPYING file

which has the same info as the in-file header used in before

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: correct license
Konrad Weihmann [Thu, 14 Apr 2022 06:30:15 +0000 (08:30 +0200)] 
git: correct license

by default git pulls in several code fragments not being licensed
under just GPL-2.0-only.

obstack and poll are licensed under GPL-2.0-or-later
reftable being BSD-3-Clause
sha1dc and inet_ntop being MIT
netmalloc being Bosst-1.0 aka BSL-1.0
regex being LGPL-2.1-or-later

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_manager: fix missing dependency on gnupg when signing deb package feeds
Ferry Toth [Wed, 13 Apr 2022 20:37:42 +0000 (22:37 +0200)] 
package_manager: fix missing dependency on gnupg when signing deb package feeds

When signing the deb package feed gpg tools are a soft requirement. If gnupg-native
is not declared a dependancy the version from hosttools is used. Unfortunately the
gpg-agent version from Ubuntu 16.04 on the autobuilders is incompatible with the package_index task
and fails during oe-selftest. Fix by making gnupg-native a dependency.

Fixes: 0b4231b5 "package_manager: sign DEB package feeds"
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: add apt selftest to test signed package feeds
Ferry Toth [Wed, 13 Apr 2022 20:37:41 +0000 (22:37 +0200)] 
apt: add apt selftest to test signed package feeds

Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow unsigned repositories by default.
Currently when building images this requirement is worked around by using [allow-insecure=yes] and
equivalently when performing selftest.

Patches "gpg-sign: Add parameters to gpg signature function" and "package_manager: sign DEB package feeds"
enable signed DEB package feeds. This patch adds a runtime test for apt derived from the test_testimage_dnf
test. It creates a signed deb package feed, runs a qemu image to install the key and performs some package
management. To be able to install the key the gnupg package is added to the testimage.

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: Skip test-layout ptest
Khem Raj [Thu, 14 Apr 2022 05:59:34 +0000 (22:59 -0700)] 
pango: Skip test-layout ptest

This has intermittent behavior, is sensitive to harfbuzz version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: Drop using additional cflags with clang
Khem Raj [Thu, 14 Apr 2022 02:52:29 +0000 (19:52 -0700)] 
pango: Drop using additional cflags with clang

This is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: Upgrade to 1.50.6
Khem Raj [Thu, 14 Apr 2022 02:52:28 +0000 (19:52 -0700)] 
pango: Upgrade to 1.50.6

Changes in this release [1]

[1] https://github.com/GNOME/pango/commit/37a427018c92a2bc679ef104097e07a619609c9c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: Upgrade to 4.2.0
Khem Raj [Thu, 14 Apr 2022 02:52:27 +0000 (19:52 -0700)] 
harfbuzz: Upgrade to 4.2.0

Changes in this release [1] [2]

[1] https://github.com/harfbuzz/harfbuzz/releases/tag/4.1.0
[2] https://github.com/harfbuzz/harfbuzz/releases/tag/4.2.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomdadm: Drop clang specific cflags
Khem Raj [Thu, 14 Apr 2022 02:52:26 +0000 (19:52 -0700)] 
mdadm: Drop clang specific cflags

This option is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoriscv: Add tunes for rv64 without compressed instructions
Khem Raj [Thu, 14 Apr 2022 02:52:25 +0000 (19:52 -0700)] 
riscv: Add tunes for rv64 without compressed instructions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibbsd: upgrade 0.11.5 -> 0.11.6
wangmy [Thu, 7 Apr 2022 20:49:59 +0000 (04:49 +0800)] 
libbsd: upgrade 0.11.5 -> 0.11.6

License-Update:
-  Copyright year updated to 2022
-  License ISC changed as following:
   remove "src/arc4random_openbsd.h" from Files
   add "test/explicit_bzero.c" and "test/strtonum.c" to Files
   add "Copyright © 2004 Otto Moerbeek <otto@drijf.net>"
   add "Copyright © 2014 Google Inc."

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sphinx: upgrade 4.4.0 -> 4.5.0
Xu Huan [Thu, 7 Apr 2022 06:19:15 +0000 (14:19 +0800)] 
python3-sphinx: upgrade 4.4.0 -> 4.5.0

License-Update:
- The following description added to "License for Sphinx":
  # +Unless otherwise indicated, all code in the Sphinx project is licenced under the
  # +two clause BSD licence below.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Package dynamic modules
Alex Kiernan [Tue, 12 Apr 2022 13:03:15 +0000 (14:03 +0100)] 
wpa-supplicant: Package dynamic modules

If CONFIG_DYNAMIC_EAP_METHODS and some modules are set to `dyn` ensure
these are packaged as part of the build.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Simplify build/install flow
Alex Kiernan [Tue, 12 Apr 2022 13:03:14 +0000 (14:03 +0100)] 
wpa-supplicant: Simplify build/install flow

The build/install steps for wpa-supplicant support CFLAGS and an install
target, so use these rather than attempting to do it manually (which was
broken by upstream splitting into build.rules and lib.rules).

Note that this installs wpa_passphrase into sbindir rather than bindir.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Use upstream defconfig
Alex Kiernan [Tue, 12 Apr 2022 13:03:13 +0000 (14:03 +0100)] 
wpa-supplicant: Use upstream defconfig

The copy of defconfig we were carrying was from 2014 and very out of
date; drop it and use the upstream version with appropriate edits for
our PACKAGECONFIG.

Switch PACKAGECONFIG to using a default (?=) rather than weak default
(??=) as per current recommendation.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Build static library if not DISABLE_STATIC
Alex Kiernan [Tue, 12 Apr 2022 13:03:12 +0000 (14:03 +0100)] 
wpa-supplicant: Build static library if not DISABLE_STATIC

Build the static library if the configuration indicates we should.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Backport libwpa/clean build fixes
Alex Kiernan [Tue, 12 Apr 2022 13:03:11 +0000 (14:03 +0100)] 
wpa-supplicant: Backport libwpa/clean build fixes

Enabling CONFIG_BUILD_WPA_CLIENT_SO or CONFIG_NO_WPA_PASSPHRASE do
nothing in the released 2.10 wpa-supplicant; backport the fixes for
this.

Also backport the fixes for `make clean` when `wpa_passphrase` is
built.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}
Alex Kiernan [Tue, 12 Apr 2022 13:03:10 +0000 (14:03 +0100)] 
wpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}

Use PACKAGE_BEFORE_PN for packages which need to capture files early,
switch to idiomatic ${PN} for additional packages.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Avoid changing directory in do_install
Alex Kiernan [Tue, 12 Apr 2022 13:03:09 +0000 (14:03 +0100)] 
wpa-supplicant: Avoid changing directory in do_install

Changing directory leads to anyone coming later needing to be explicit
in their directory usage as the working directory is no longer ${B}.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>