]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
5 years agodbus: Upgrade to 1.12.16
Mingli Yu [Fri, 14 Jun 2019 02:58:25 +0000 (19:58 -0700)]
dbus: Upgrade to 1.12.16

Security fixes:
  CVE-2019-12749

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu/qemu-system-native: depend bison-native
Kai Kang [Fri, 14 Jun 2019 01:38:10 +0000 (21:38 -0400)]
qemu/qemu-system-native: depend bison-native

Add bison-native to DEPENDS of qemu and qemu-system-native to fix
compile warning:

|      BISON dtc-parser.tab.c
| make[1]: bison: Command not found

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopopt: fix SRC_URI
Oleksandr Kravchuk [Wed, 12 Jun 2019 22:10:06 +0000 (00:10 +0200)]
popt: fix SRC_URI

rpm5.org has been down for about a year now. Use linuxfromscratch.org
as an alternative reliable source instead.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Update 19.0.6 -> 19.1.0
Fabio Berton [Wed, 12 Jun 2019 21:12:57 +0000 (18:12 -0300)]
mesa: Update 19.0.6 -> 19.1.0

Update all patches to apply on 19.1.0 version.

See full mesa 19.0.1 changes here:
  - https://www.mesa3d.org/relnotes/19.1.0.html

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoefibootmgr: add
Ross Burton [Wed, 12 Jun 2019 20:35:36 +0000 (21:35 +0100)]
efibootmgr: add

This was in meta-oe but EFI is sufficiently widespread now that we need it in
core.

The recipe is based on the one in meta-oe but with several updates.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoefivar: add
Ross Burton [Wed, 12 Jun 2019 20:35:35 +0000 (21:35 +0100)]
efivar: add

This was in meta-oe but EFI is sufficiently wide spread now that we need it in
core.

The recipe is based on the one in meta-oe but with several updates.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopigz: install pigz, unpigz, pigzcat in native and nativesdk builds again
Martin Jansa [Wed, 12 Jun 2019 19:48:16 +0000 (19:48 +0000)]
pigz: install pigz, unpigz, pigzcat in native and nativesdk builds again

* since this commit:
  commit ad1db93d134db1ec4f6d6598c9741dc13e82e1f3
  Author: Anuj Mittal <anuj.mittal@intel.com>
  Date:   Tue May 28 06:32:10 2019 +0800
  Subject: Revert "pigz: pigz is not gzip"

  pigz-native and nativesdk-pigz no longer installs pigz, unpigz, pigzcat,
  so scripts explicitly depending on pigz-native and calling pigz started to fail.

* reverse the logic
  - all the builds install pigz, unpigz, pigzcat
  - only the native one installs it as gzip as well

* it could be optimized a bit more to create gzip as just a symlink
  in native case as well, but they are in different directories
  (pigz in base_bindir and gzip in bindir) and it's only 130kB..

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorng-tools: harmonise systemd and sysvinit
Nicola Lunghi [Wed, 12 Jun 2019 13:00:05 +0000 (14:00 +0100)]
rng-tools: harmonise systemd and sysvinit

this commit will permit to read the option from
/etc/default/rng-tools both from systemd and sysvinit unit file.

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez: fix test case failures with GCC 9
Ross Burton [Wed, 12 Jun 2019 12:42:04 +0000 (13:42 +0100)]
bluez: fix test case failures with GCC 9

[ YOCTO #13366 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel-fitimage: uboot-sign: Check UBOOT_DTB_BINARY before adding deps
Alex Kiernan [Wed, 12 Jun 2019 08:15:59 +0000 (09:15 +0100)]
kernel-fitimage: uboot-sign: Check UBOOT_DTB_BINARY before adding deps

Since UBOOT_DTB_BINARY empty means we don't need to inject signatures
into the U-Boot DTB, we can remove the dependencies between consumers of
these two classes and resolve a circular dependency between u-boot and
kernel.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemu: fix qemu ptest cannot work
Changqing Li [Wed, 12 Jun 2019 07:09:21 +0000 (15:09 +0800)]
qemu: fix qemu ptest cannot work

do_install_ptest in recipe is covered by default function
in ptest.bbclass since inherit ptest write in wrong place,
fix it by move it to top.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomultilib: add override for image recipe
Changqing Li [Wed, 12 Jun 2019 07:04:05 +0000 (15:04 +0800)]
multilib: add override for image recipe

MACHINE set to qemux86-64
for lib32-core-image-sato, during do_rootfs, it will run
install_complementary, which will get localedir by
d.getVar("libdir"), without override, libdir will still be
lib64. add override to fix it.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoutil-linux: upgrade to 2.33.2
Chen Qi [Wed, 12 Jun 2019 06:08:20 +0000 (14:08 +0800)]
util-linux: upgrade to 2.33.2

The license files' names are changed, but the contents remain the
same. However, the LICENSE section of the recipe was wrong. This
upgrade change the 'BSD' part to 'BSD-3-Clause & BSD-4-Clause'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovim: Update to 8.1.1518 to fix CVE-2019-12735
Tom Rini [Wed, 12 Jun 2019 00:10:58 +0000 (20:10 -0400)]
vim: Update to 8.1.1518 to fix CVE-2019-12735

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agocmake: Avoid passing empty prefix to os.path.relpath
Mike Crowe [Sun, 12 Nov 2017 16:39:23 +0000 (16:39 +0000)]
cmake: Avoid passing empty prefix to os.path.relpath

With meta-micro, ${prefix} is the empty string. This means that
CMAKE_INSTALL_BINDIR:PATH and friends end up containing paths starting with
many instances of "../", presumably due to os.path.relpath attempting to
find its way to the current directory.

Let's avoid this by ensuring that the root path always ends in a slash. If
it already ends in a slash then adding another one shouldn't cause any
problems.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogtk+3: update 3.24.5 -> 3.24.8
Alexander Kanavin [Tue, 11 Jun 2019 14:51:59 +0000 (16:51 +0200)]
gtk+3: update 3.24.5 -> 3.24.8

Rebase 0003-Add-disable-opengl-configure-option.patch
and add another fix to it (g-introspection input file list assumes
opengl is always available).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogdk-pixbuf: update 2.38.0 -> 2.38.1
Alexander Kanavin [Tue, 11 Jun 2019 14:51:58 +0000 (16:51 +0200)]
gdk-pixbuf: update 2.38.0 -> 2.38.1

Remove 0001-loaders.cache-depend-on-loaders-being-fully-build.patch
as upstream has fixed the issue.

Add a patch to revert upstream's decision to not cross-compile
thumbnailer or tests.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoselftests: add tests for INCOMPATIBLE_LICENSE
Quentin Schulz [Tue, 11 Jun 2019 15:11:20 +0000 (17:11 +0200)]
selftests: add tests for INCOMPATIBLE_LICENSE

One bug went unnoticed without these selftests: an INCOMPATIBLE_LICENSE
with a non-SPDX license for a package with that non-SPDX license wasn't
enforcing the denial of build for said package. See
4b6ce4604cc15e289a48f8586d58a101b7a70b52 ("meta: license: fix non-SPDX
license being removed from INCOMPATIBLE_LICENSE")

While adding a test for that particular case, let's add a few more so
that we cover a handful more use cases of INCOMPATIBLE_LICENSE.

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/merge: Enable control TESTSERIES and extra configurations
Yeoh Ee Peng [Thu, 4 Apr 2019 02:30:37 +0000 (10:30 +0800)]
resulttool/merge: Enable control TESTSERIES and extra configurations

Current QA team need to merge test result files from multiple sources.
Adding TESTSERIES configuration too early will have negative
implication to report and regression. Enable control to add TESTSERIES
when needed. Also enable adding EXECUTED_BY configuration when
needed.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/store: Enable add EXECUTED_BY config to results
Yeoh Ee Peng [Thu, 4 Apr 2019 02:30:36 +0000 (10:30 +0800)]
resulttool/store: Enable add EXECUTED_BY config to results

Current results stored does not have information needed to trace who
executed the tests. Enable store to add EXECUTED_BY configuration
to results file in order to track who executed the tests.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/resultutils: Enable add extra configurations to results
Yeoh Ee Peng [Thu, 4 Apr 2019 02:30:35 +0000 (10:30 +0800)]
resulttool/resultutils: Enable add extra configurations to results

Current resultutils library always add "TESTSERIES" configuration
to results. Enhance this to allow control of adding "TESTSERIES"
configuration as well as allow adding extra configurations
when needed.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorng-tools: recipe cleanup
Nicola Lunghi [Thu, 6 Jun 2019 10:40:43 +0000 (11:40 +0100)]
rng-tools: recipe cleanup

- add missing DESCRIPTION, AUTHOR, HOMEPAGE
- cleanup DEPENDS
- fix variable ordering as per https://www.openembedded.org/wiki/Styleguide
- remove unneeded checks for systemd, sysvinit in do_install

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3: fix build on softfloat mips
Matthias Schoepfer via Openembedded-core [Thu, 6 Jun 2019 16:07:18 +0000 (18:07 +0200)]
python3: fix build on softfloat mips

This patch originally only meant to correct the python3 build for mips
with softfloat, as the original test only checked for mips hardfloat.

Replaced custom C Program for triplet detection with autotools triplet
detection.

Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython-nose: python3-nose should be default
Ross Burton [Tue, 11 Jun 2019 10:10:40 +0000 (11:10 +0100)]
python-nose: python3-nose should be default

We have nose recipes for both Py2 and Py3, but they both want to ship the
unversioned nosetest binary.  As Py2 is approaching EOL, remove the unversioned
binary from python-nose (leaving nosetest-2.7) instead of renaming the binary to
nosetest3 in python3-nose.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agokernel.bbclass: Make task clean depend on cleaning of make-mod-scripts
Haiqing Bai [Tue, 11 Jun 2019 01:47:52 +0000 (09:47 +0800)]
kernel.bbclass: Make task clean depend on cleaning of make-mod-scripts

The package 'make-mod-scripts' creates files in 'kernel-build-artifacts/include/config'
which are removed by 'cleanall/cleansstate' of 'virtual/kernel'. And this causes the
below error while building out of tree kernel module:
ERROR: Kernel configuration is invalid.
      include/generated/autoconf.h or include/config/auto.conf are missing.
      Run 'make oldconfig && make prepare' on kernel src to fix it.

Suggested-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotune-thunderx: Set the correct PACKAGE_EXTRA_ARCHS_tune-thunderx
Kevin Hao [Tue, 11 Jun 2019 08:29:18 +0000 (16:29 +0800)]
tune-thunderx: Set the correct PACKAGE_EXTRA_ARCHS_tune-thunderx

The value of PACKAGE_EXTRA_ARCHS_tune-thunderx should be based on
PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto instead of armv8a-crc-crypto.
Otherwise we would get some sanity check error like this:
    OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, the PACKAGE_ARCHS variable (all any noarch armv8a-crc-crypto thunderx qemuarm64) for DEFAULTTUNE (thunderx) does not contain TUNE_PKGARCH (aarch64)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agometa: license: fix non-SPDX license being removed from INCOMPATIBLE_LICENSE
Quentin Schulz [Tue, 11 Jun 2019 08:11:46 +0000 (10:11 +0200)]
meta: license: fix non-SPDX license being removed from INCOMPATIBLE_LICENSE

A non-SPDX license (which is not an alias to an SPDX license) cannot
currently be marked as incompatible in INCOMPATIBLE_LICENSE.
In the current state, we take all INCOMPATIBLE_LICENSE and pass them
through expand_wildcard_licenses which is only adding SPDX licenses that
match the glob regexp of what is in INCOMPATIBLE_LICENSE (be it a direct
match to an SPDX license or via an alias).

This does not work well with custom licenses.

E.g.:

foo.bb:
LICENSE = "FooLicense"

conf/local.conf:
INCOMPATIBLE_LICENSE = "FooLicense"

`bitbake foo`

Gives no warning, no error, builds and packages successfully, because
INCOMPATIBLE_LICENSE is basically empty since FooLicense is neither in
SPDXLICENSEMAP nor in SRC_DISTRIBUTE_LICENSES.

Let's add the original licenses to the list returned by
expand_wildcard_licenses to be able to handle the aforementioned case.

INCOMPATIBLE_LICENSE = "FooLicense GPLv2 GPLv3+" used to "resolve" to
"GPLv2 GPLv3". It now resolves to "FooLicense GPLv2 GPLv3 GPLv3+" which
fixes the issue with custom licenses not being in SPDXLICENSEMAP or
SRC_DISTRIBUTE_LICENSES and thus being left out of the blacklisted
licenses.

I needed to pass a list to expand_wildcard_licenses from the
license_image class instead of the current output of map() because the
operator [:] does not work on this kind of type, and list(map()) or
anything that iterates over map() actually moves the iterator and breaks
the forloop right after in expand_wildcard_licenses.

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/plugins: kernel image refer to KERNEL_IMAGETYPE
Chee Yang Lee [Tue, 11 Jun 2019 06:31:37 +0000 (14:31 +0800)]
wic/plugins: kernel image refer to KERNEL_IMAGETYPE

replaced hardcoded kernel image with KERNEL_IMAGETYPE.
set kernel image to "bzImage" incase KERNEL_IMAGETYPE not set.

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agojson-c: Backport --disable-werror patch to allow compilation under icecc
Douglas Royds via Openembedded-core [Tue, 11 Jun 2019 06:01:42 +0000 (18:01 +1200)]
json-c: Backport --disable-werror patch to allow compilation under icecc

icecc preprocesses source files locally before shipping them off to be compiled
on remote hosts. This preprocessing removes comments, including /* fallthough */
comments in switch statements that normally prevent an implicit-fallthrough
warning, see https://github.com/icecc/icecream/issues/419

Rather than turning off -Werror, the upstream project has implemented a
configure option, --disable-werror, in response to Ross's
https://github.com/json-c/json-c/issues/489

This patch from
https://github.com/json-c/json-c/commit/21c886534f8927fdc0fb5f8647394f3e0e0874b8

Upstream-Status: Backport [Not yet released]
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agodhcp:"dhclient -x eth0" action is not correct.
Jiping Ma [Thu, 23 May 2019 07:03:56 +0000 (15:03 +0800)]
dhcp:"dhclient -x eth0" action is not correct.

The action of "dhclient -x eth0" and "dhclient -r eth0" is
same when enable ENABLE_GENTLE_SHUTDOWN. Disable ENABLE_GENTLE_SHUTDOWN
that will use the default signal hander.

Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogstreamer1.0-python_1.16.0.bb: Override libpython dir
Jaewon Lee [Tue, 11 Jun 2019 00:35:53 +0000 (17:35 -0700)]
gstreamer1.0-python_1.16.0.bb: Override libpython dir

As mentioned in upstream commit a2cf84affff8a78fdaa8fabcfa9b40be1936678e,
"gstpythonplugin hardcodes the location of the libpython from the build
workspace and then fails at runtime."

In other words, PYTHON_LIB_LOC was set to the recipe-sysroot-native dir
in the gstreamer1.0-python workspace on the host. Overriding
PYTHON_LIB_LOC with /usr/lib by adding --with-libpython-dir=${libdir} to
EXTRA_OECONF to fix this issue.

The error that was seen is:
** (gst-plugin-scanner:2343): CRITICAL **: 23:08:18.327: Couldn't
g_module_open libpython. Reason: ${project}/build/tmp/work/${arch}/
gstreamer1.0-python/1.14.4-r0/recipe-sysroot-native/usr/lib/libpython3.5m.so:
cannot open shared object file: No such file or directory

The comment continues and says "it still fails because it looks for
a symlinked library ending in .so instead of the actually library with
LIBNAME.so.MAJOR.MINOR. Although we could patch the code to use the path
we want, it will break again if the library version ever changes."
This isn't the case anymore as the package is deploying
/usr/lib/gstreamer-1.0/libgstpython.cpython-37m-i386-linux-gnu.so, a
versionless so.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 10 Jun 2019 16:47:27 +0000 (17:47 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipetool: add python3 support
Maciej Pijanowski [Sat, 8 Jun 2019 19:13:03 +0000 (21:13 +0200)]
recipetool: add python3 support

Add support for generating python3 recipes using the recipetool / devtool.
Drop python2 support at the same time.

Tested with:

oe-selftest -r recipetool.RecipetoolTest

[YOCTO #13264]

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: QB_FSINFO to support fstype wic images
Adrian Freihofer [Sun, 9 Jun 2019 12:03:42 +0000 (14:03 +0200)]
runqemu: QB_FSINFO to support fstype wic images

wic images are handled as vmtype images. Starting qemu with "-kernel"
parameter and an image of type wic is not supported. Especially for
"-machine virt" the combination of wic with -kernel parameter would
be beneficial.

The new parameter QB_FSINFO allows to pass image type specific flags to
runqemu. QB_FSINFO is a space separated list of parameters. Parameters are
structured according to the following pattern: image-type:flag.

For now two parameters are supported:
- wic:no-kernel-in-fs
  The wic image is treated as rootfs only image. A -kernel option is
  passed to qemu.
- wic:kernel-in-fs
  The wic image is treated as VM image including a bootloader and a
  kernel. This is still the default behavior.

Example:
QB_DEFAULT_FSTYPE = "wic"
QB_FSINFO = "wic:no-kernel-in-fs"
QB_KERNEL_ROOT = "/dev/vda1"
QB_SYSTEM_NAME = "qemu-system-aarch64"
QB_MACHINE = "-machine virt"
...

[YOCTO #13336]

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomulticonfig: Adapt to bitbake switch 'multiconfig' -> 'mc'
Richard Purdie [Fri, 7 Jun 2019 12:45:17 +0000 (13:45 +0100)]
multiconfig: Adapt to bitbake switch 'multiconfig' -> 'mc'

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa: Add reproducible build selftest
Joshua Watt [Thu, 6 Jun 2019 20:33:28 +0000 (15:33 -0500)]
oeqa: Add reproducible build selftest

Adds an initial test for reproducible builds to the OE selftest. This
initial test builds core-image-minimal using sstate, then does a clean
build without sstate in another build directory, and finally does a
binary comparison of the resulting package files between the two builds.

The test is currently always skipped since it doesn't pass yet, but it
can easily be enabled locally

Signed-off-by: Joshua Watt <JPEWHacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobase.bbclass: Add OE_EXTRA_IMPORTS
Chris Laplante [Fri, 7 Jun 2019 18:57:53 +0000 (14:57 -0400)]
base.bbclass: Add OE_EXTRA_IMPORTS

OE_IMPORTS is not intended to be touched by users, but there are cases
in which layers might want to make additional Python modules available
to Python functions. For example, Python modules defined in the layer
themselves (under meta-layer/lib).

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotestimage: consider QB_DEFAULT_FSTYPE
Adrian Freihofer [Sat, 8 Jun 2019 07:59:46 +0000 (09:59 +0200)]
testimage: consider QB_DEFAULT_FSTYPE

testimage.bbclass starts qemu with the first image type found in
the IMAGE_FSTYPES list. It's weird: this ['wic', 'tar'] works but
this ['tar'. 'wic'] does not. If QB_DEFAULT_FSTYPE is defined,
this fstype is booted.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoqemurunner: fix undefined variable
Adrian Freihofer [Sat, 8 Jun 2019 07:59:45 +0000 (09:59 +0200)]
qemurunner: fix undefined variable

While hacking on this I got an Exception. It's better to define
variables also in python.

Signe:-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/runtime: add simple test for scons
Tim Orling [Fri, 7 Jun 2019 23:47:54 +0000 (16:47 -0700)]
oeqa/runtime: add simple test for scons

This test simply compiles a hello world program using scons.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoserf: switch to python3-scons-native
Tim Orling [Fri, 7 Jun 2019 23:47:53 +0000 (16:47 -0700)]
serf: switch to python3-scons-native

SCons has supported python3 since v3.0.0, use it.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoscons.bbclass: use python3-scons
Tim Orling [Fri, 7 Jun 2019 23:47:52 +0000 (16:47 -0700)]
scons.bbclass: use python3-scons

SCons has supported python3 since 3.0.0 release, use it.

[YOCTO #13381]

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopython3-scons-{native}: add recipe for v3.0.5
Tim Orling [Fri, 7 Jun 2019 23:47:51 +0000 (16:47 -0700)]
python3-scons-{native}: add recipe for v3.0.5

SCons has supported python 3 since v3.0.0
https://scons.org/tag/releases.html

Fix shebangs in scripts

[YOCTO #13381]

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Document skipped test dependency
Richard Purdie [Fri, 7 Jun 2019 17:06:43 +0000 (18:06 +0100)]
openssh: Document skipped test dependency

In minimal images the agent-ptrace test is skipped unless gdb is
installed which explains the difference in test counts. We don't
want a build dependency on gdb and the test isn't critical so just
document the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogawk: ptest fixes
Richard Purdie [Fri, 7 Jun 2019 17:06:23 +0000 (18:06 +0100)]
gawk: ptest fixes

In minimal images all tests pass due to a missing dependency on make.
Add the missing dependecy.

The test list created by the run-ptest script is incorrect as it includes
entries like "fi". Simplify it and correct it.

Some tests are skipped due to mpfr not being enabled. Correctly mark these
as SKIP.

Some tests need the "../gawk" script, create a link to it so the tests
work correctly.

Also print more information in the failed test cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoparted: drop patch for linux <2.6.20 support
Ross Burton [Fri, 7 Jun 2019 17:53:48 +0000 (18:53 +0100)]
parted: drop patch for linux <2.6.20 support

We don't really care about kernels this old anymore, so drop the patch.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoparted: swap patches for the commits that landed upstream
Ross Burton [Fri, 7 Jun 2019 17:53:47 +0000 (18:53 +0100)]
parted: swap patches for the commits that landed upstream

Several of the parted fixes are actually upstream in slightly different form.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibxslt: add comment saying when a workaround can be removed
Ross Burton [Fri, 7 Jun 2019 17:53:46 +0000 (18:53 +0100)]
libxslt: add comment saying when a workaround can be removed

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: udpate 2.58.3 -> 2.60.3
Alexander Kanavin [Fri, 7 Jun 2019 12:19:52 +0000 (14:19 +0200)]
glib-2.0: udpate 2.58.3 -> 2.60.3

Drop autotools-specific parts from patches, as all autotools files
have been removed upstream (meson is now the only option).

Remove autotools-specific 0001-Revert-Use-absolute-paths-in-pkg-config-files.patch

Remove backported fix-nl-abaltmon.patch

Add a hunk to Enable-more-tests-while-cross-compiling.patch which comments out
the part of the tests that hard-codes native ld for building.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa: Update 19.0.5 -> 19.0.6
Fabio Berton [Fri, 7 Jun 2019 12:41:50 +0000 (09:41 -0300)]
mesa: Update 19.0.5 -> 19.0.6

Mesa 19.0.6 is a bug fix release which fixes bugs found since the
19.0.5 release.

For full log see:
  - https://www.mesa3d.org/relnotes/19.0.6.html

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/filemap: handle FIGETBSZ failing
Ross Burton [Fri, 7 Jun 2019 11:05:02 +0000 (12:05 +0100)]
wic/filemap: handle FIGETBSZ failing

Some file systems don't support fetching the block size (notably the file system
Docker uses for containers), so handle the iotctl() failing and raise the
expected error.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agognutls: Use the sysconfdir variable for the ca-certificates path
Philippe Normand [Thu, 6 Jun 2019 11:05:03 +0000 (12:05 +0100)]
gnutls: Use the sysconfdir variable for the ca-certificates path

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoslang: modify an array test
Joe Slater [Thu, 6 Jun 2019 17:02:31 +0000 (10:02 -0700)]
slang: modify an array test

One array test attempts to create an array that is far too
large to exist.  Different exceptions are thrown for 32 and 64
bit machines, so we account for that when catching them.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobash: Replace uninative loader path in ptest
Joshua Watt [Thu, 6 Jun 2019 20:07:41 +0000 (15:07 -0500)]
bash: Replace uninative loader path in ptest

The Makefile used for bash-ptest can pick up the path to the uninative
loader through BUILD_LDFLAGS. This includes the full path to the
uninative loader, which is not reproducible. Replace it with /bin/false.
It doesn't appear as if these native programs are used in the test
suites and if there are likely to be other problems related to building
them using the BUILD_* flags.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoRemove manual RDEPENDS from PN-ptest to PN package
Adrian Bunk [Thu, 6 Jun 2019 18:44:28 +0000 (21:44 +0300)]
Remove manual RDEPENDS from PN-ptest to PN package

They are now added automatically by the ptest class.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogpg_sign/selftest: Fix secmem parameter handling
Richard Purdie [Thu, 6 Jun 2019 18:33:02 +0000 (19:33 +0100)]
gpg_sign/selftest: Fix secmem parameter handling

We keep seeing "cannot allocate memory" errors from rpm when signing packages
on the autobuilder. The following were tried:

* checking locked memory use (isn't hitting limits)
* Restricting RPM_GPG_SIGN_CHUNK to 1
* Limiting to 10 parallel do_package_write_rpm tasks
* Allowing unlimied memory overcommit
* Disabling rpm parallel compression

and the test still failed. Further invetigation showed that the --auto-expand-secmem
wasn't being passed to gpg-agent which meant the secmem couldn't be expanded hence the
errors when there was pressure on the agent.

The reason this happens is that some of the early gpg commands can start the agent
without the option and it sticks around in memory so a version with the correct
option may or may not get started.

We therefore add the option to all the key gpg calls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssh: Add missing ptest dependency on coreutils
Richard Purdie [Thu, 6 Jun 2019 22:10:17 +0000 (23:10 +0100)]
openssh: Add missing ptest dependency on coreutils

This fixes the openssh tests in minimal images since they use options
not present in the busybox versions of the commands.

[YOCTO #13295]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agowic/engine: include .wks.in in wic search and list
Chee Yang Lee [Wed, 5 Jun 2019 15:38:22 +0000 (23:38 +0800)]
wic/engine: include .wks.in in wic search and list

allow wic to list and search for kickstart file in .wks.in extension.
basename show by wic list images to fully exclude extension.

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopenssl: Upgrade 1.1.1b -> 1.1.1c
Adrian Bunk [Wed, 5 Jun 2019 18:41:16 +0000 (21:41 +0300)]
openssl: Upgrade 1.1.1b -> 1.1.1c

Backported patch removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc: Remove 0006-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch
Adrian Bunk [Wed, 5 Jun 2019 18:41:15 +0000 (21:41 +0300)]
gcc: Remove 0006-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch

This was added 9 years ago as a workaround for a problem with
gcc 4.5 on mips.

Building webkitgtk works for me without it for qemumips.

Debian also builds webkitgtk for 32/64 bit big/little endian mips
without using this workaround.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agooeqa/utils/qemurunner: Set both the threadport&serverport with tcpserial parameter
Kevin Hao [Thu, 6 Jun 2019 07:11:47 +0000 (15:11 +0800)]
oeqa/utils/qemurunner: Set both the threadport&serverport with tcpserial parameter

After the commit ad522ea6a64e ("runqemu: Let qemuparams override default
settings"), the order of the two "-serial" parameters when running the
qemu have been switched. The effect of this is that the logging thread
will use ttyS1 (of course can't capture the kernel boot message anymore),
and the test command will run on the ttyS0. So the output of the test
command may be mangled by the kernel message (such as call trace), and
let the test command produce a fake timeout error message. We can't fix
it by just adjusting the order of the threadport and serverport, since
it will break some machines such as qemuarm64 which use the virtio
serial. So using the tcpserial to setup both the threadport and
serverport.

[YOCTO Bug 13309]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorunqemu: Add the support to pass multi ports to tcpserial parameter
Kevin Hao [Thu, 6 Jun 2019 07:11:46 +0000 (15:11 +0800)]
runqemu: Add the support to pass multi ports to tcpserial parameter

In some cases(such as the oeqa's qemurunner), we need to setup multi
serial devices via the '-serial 127.0.0.1:xx" and the order of them
is significant. The mixing use of "tcpserial" and "-serial 127.0.0.1:xx"
cause ambiguous issues and we can't fix it by only adjusting the order
of them. So add the support to pass multi ports to the tcpserial
parameter, this will make sure that the order of setting up the serial
is really what we want.

[YOCTO Bug 13309]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agopackage.bbclass: Clean up writing of runtime pkgdata files
Peter Kjellerstedt [Wed, 5 Jun 2019 14:01:28 +0000 (16:01 +0200)]
package.bbclass: Clean up writing of runtime pkgdata files

This introduces a variable, PKGDATA_VARS, that contains the names of
the variables that are to be output in the runtime pkgdata files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agobluez5: fix obex packaging
Diego Rondini [Wed, 5 Jun 2019 10:09:48 +0000 (12:09 +0200)]
bluez5: fix obex packaging

Ship some obex files in the appropriate obex package. This fixes boot
error:
[FAILED] Failed to start Bluetooth OBEX service.
that was caused by the obex.service being shipped in the main package,
rather than the -obex (that includes obexd).

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agorecipes: Fix license "names"/versions.
Filip Jareš [Wed, 5 Jun 2019 07:34:08 +0000 (09:34 +0200)]
recipes: Fix license "names"/versions.

These were broken in commit 4786ecdf7cd427089464dcb62579110d494e7cd7
which performed a cleanup to avoid non-standard field names.

There is an SPDX License list at https://spdx.org/licenses/ which
aims to be a standard. Yocto also uses a substitution map SPDXLICENSEMAP,
default one stored at meta/conf/licenses.conf.

According to meta/conf/licenses.conf, "AFL-2" corresponds to "AFL-2.0"
which is not correct for dbus.

According to the same licenses.conf file "MPL-1" corresponds to "MPL-1.0",
which is correct for libical but since SPDX aims to be a standard
I am updating the identifier in libical's .bb file as well.

To verify the actual license used you can use:

dbus:

    cd /tmp/
    wget http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.110.tar.gz
    tar -xaf dbus-glib-0.110.tar.gz
    cd dbus-glib-0.110
    grep -A1 "^The Academic Free License$" COPYING

    cd /tmp/
    wget http://dbus.freedesktop.org/releases/dbus/dbus-1.12.14.tar.gz
    tar -xaf dbus-1.12.14.tar.gz
    cd dbus-1.12.14
    grep -A1 "^The Academic Free License$" COPYING

cairo:

    wget --quiet -O - https://cgit.freedesktop.org/cairo/plain/COPYING-MPL-1.1?h=1.16.0 | grep -A1 "MOZILLA PUBLIC LICENSE"

libical:

    wget --quiet -O - https://raw.githubusercontent.com/libical/libical/v2.0.0/COPYING | grep "Mozilla Public License"

taglib:

    wget --quiet -O - https://raw.githubusercontent.com/taglib/taglib/v1.11.1/COPYING.MPL | grep -A1 "MOZILLA PUBLIC LICENSE"

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agovte: Fix the license information
Adrian Bunk [Wed, 5 Jun 2019 06:11:49 +0000 (09:11 +0300)]
vte: Fix the license information

Several files that are part of libvte (e.g. src/widget.cc)
are licensed LGPLv3+.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibical: tidy up Perl finding
Ross Burton [Tue, 4 Jun 2019 20:55:00 +0000 (21:55 +0100)]
libical: tidy up Perl finding

Instead of patching out the Perl detection, seed the search for perl with
HOSTTOOLS_DIR/perl.  This search usually fails because we don't let
find_program() hunt in the system paths currently.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoptest-runner: update SRCREV to latest HEAD on ptest-runner2 repo
Sakib Sajal [Tue, 4 Jun 2019 19:29:38 +0000 (15:29 -0400)]
ptest-runner: update SRCREV to latest HEAD on ptest-runner2 repo

   63d097c Add SPDX-License-Identifier: GPL-2.0-or-later in source files (HEAD)
   fb93c99 utils.c: close all file descriptors after completing a ptest

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoopkg-utils: fix opkg-list-fields script
Martin Jansa [Tue, 4 Jun 2019 18:48:41 +0000 (18:48 +0000)]
opkg-utils: fix opkg-list-fields script

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonewlib: export CC_FOR_TARGET as CC
Alejandro Hernandez Samaniego [Tue, 4 Jun 2019 17:57:58 +0000 (10:57 -0700)]
newlib: export CC_FOR_TARGET as CC

Newlibs Makefiles use a variable CC_FOR_TARGET to build
libraries for the TARGET machine (as opposed to
CC_FOR_BUILD).

We pass CC on our compile function, which is normally
use to build, although in this case, the configure
script is trimming CC and using simply gcc for the target
machine, basically taking out the TUNE variables we pass
in CC as well, such as march, mfloat-abi and such.
This causes errors when building applications since
CC will try to use hard floating point for example
whereas the libc.a from newlib will contain libraries
built with the defaults which could be soft floating
point for example.

e.g.:
$ ${CC} test.c
real-ld: error: test.out uses VFP register arguments,
/usr/lib/libg.a(lib_a-stdio.o) does not.

Analizing the object files we can see that one of them
uses soft (library) and the other one uses hard
floating point (program):

$ readelf -A test.out | grep VFP
Tag_ABI_VFP_args: VFP registers

$ readelf -A usr/lib/libc.a | grep VFP

Hence why the linker complains.

Pass CC_FOR_TARGET with the contents of CC to override
the trimming from the configure script and build newlib
with the correct tune.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agonewlib: Upgrade to 3.1.0
Alejandro Hernandez Samaniego [Tue, 4 Jun 2019 17:56:27 +0000 (10:56 -0700)]
newlib: Upgrade to 3.1.0

Upgrade both newlib and libgloss to the yearly
release 3.1.0.

BSD-2 license was added on:
6864c08b94752d34cca

Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibidn2: upgrade to 2.2.0
Ross Burton [Tue, 4 Jun 2019 16:04:13 +0000 (17:04 +0100)]
libidn2: upgrade to 2.2.0

The unistring patch isn't needed anymore (the relevant lines are entirely
removed).

License checksums updated because of a typo fix, and an added author name.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpam: fix upstream version check
Anuj Mittal [Tue, 4 Jun 2019 14:20:38 +0000 (22:20 +0800)]
libpam: fix upstream version check

Recent upgrade to the recipe moved SRC_URI to github. Fix the version
check accordingly.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolocal.conf.sample: change default MACHINE to qemux86-64
Ross Burton [Tue, 4 Jun 2019 10:56:39 +0000 (11:56 +0100)]
local.conf.sample: change default MACHINE to qemux86-64

32-bit x86 isn't really a useful target these days, and if users are
experimenting without setting MACHINE to their actual target then 64-bit x86
will have better performance.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogcc: CVE-2018-12886
Zhixiong Chi [Tue, 4 Jun 2019 09:50:02 +0000 (02:50 -0700)]
gcc: CVE-2018-12886

Backprot CVE patch from the upstream:
https://github.com/gcc-mirror/gcc.git [commit f98495d]
https://nvd.nist.gov/vuln/detail/CVE-2018-12886

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoffmpeg: add PACKAGECONFIG for mfx
Anuj Mittal [Tue, 4 Jun 2019 07:01:37 +0000 (15:01 +0800)]
ffmpeg: add PACKAGECONFIG for mfx

Add option to build ffmpeg with support for Intel MediaSDK codecs. More
details on supported codecs available here:

https://trac.ffmpeg.org/wiki/Hardware/QuickSync

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogroff: improve reproducibility
Hongxu Jia [Tue, 4 Jun 2019 06:42:30 +0000 (14:42 +0800)]
groff: improve reproducibility

As said in ${S}/m4/groff.m4
...
1642 # gdiffmk will attempt to use bash (for option -ef of 'test'). If bash
1643 # is not available it will use /bin/sh.
...

So drop hardcode shebang replacement, and pass variable to configure,
it also remove build path in gdiffmk to improve reproducibility

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool: Remove prints if no tests occur
Jon Mason [Mon, 3 Jun 2019 23:19:49 +0000 (19:19 -0400)]
resulttool: Remove prints if no tests occur

Printing the lack of a test is not necessary (per feedback).  Remove
this from the template to quieten it.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoglib-2.0: ptest fixes
Richard Purdie [Sat, 1 Jun 2019 20:55:29 +0000 (21:55 +0100)]
glib-2.0: ptest fixes

Add missing quotes in ptest runner. Without these it runs all gnome tests
which is why the counts in my minimal image tests differed from those on the
main autobuilder core-image-sato runs.

Also fix an error showing in the ptest logs where invalid options were being
passed to busybox du.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoclasses/package: Sort ELF file list
Joshua Watt [Mon, 3 Jun 2019 15:29:47 +0000 (10:29 -0500)]
classes/package: Sort ELF file list

Sorts the list of detected ELF files by path before processing. This
ensures that when multiple files are hardlinked together the first one
found is always the same. This is required to have reproducible builds.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agozip: Remove build date to improve reproducibility
Joshua Watt [Mon, 3 Jun 2019 15:29:10 +0000 (10:29 -0500)]
zip: Remove build date to improve reproducibility

Applies a patch from Debian to remove the build date from zip.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool/manualexecution: Enable creation of test case configuration
sangeeta jain [Mon, 3 Jun 2019 08:17:47 +0000 (16:17 +0800)]
resulttool/manualexecution: Enable creation of test case configuration

Allow the creation of test case configuration file based on user inputs.
Where this testcase configuration file will be used by the the manual
execution to run selected test cases for a module rather than compulsory
run all test cases in manual json file.

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto: ptest: Add SCSI debug configuration for util-linux
Bruce Ashfield [Mon, 3 Jun 2019 20:27:50 +0000 (16:27 -0400)]
linux-yocto: ptest: Add SCSI debug configuration for util-linux

Bumping the SRCREVs to pickup the following configuration tweak for
ptest usage:

  Author: Mariano López <just.another.mariano@gmail.com>
  Date:   Sat Jun 1 17:30:46 2019 -0500

      Add SCSI debug configuration for util-linux ptest

      The ptests from util-linux require the scsi debug module to be installed
      for a subset of tests. This patch would allow to build the kernel module
      for the linux-yocto kernel.

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoliburcu: update to 0.11.1
Jonathan Rajotte [Mon, 3 Jun 2019 21:56:43 +0000 (21:56 +0000)]
liburcu: update to 0.11.1

0.11.0 contains a major bug regarding the so versionning scheme [1].

0.11.1 includes the following fixes:
        * Fix: SONAME bump to 6.1.0
        * Fix: urcu/futex.h: users of struct timespec should include time.h

[1] https://lists.lttng.org/pipermail/lttng-dev/2019-June/029020.html

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoe2fsprogs: Fix missing ptest dependencies
Richard Purdie [Mon, 3 Jun 2019 13:42:26 +0000 (14:42 +0100)]
e2fsprogs: Fix missing ptest dependencies

This allows ptests to execute successfully in minimal images.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoresulttool: modify to be multi-machine
Jon Mason [Sun, 2 Jun 2019 18:29:12 +0000 (14:29 -0400)]
resulttool: modify to be multi-machine

Currently, the code will sum all of the different machine results into a
single report of the tests results.  This can lead to confusion as to
which machine may be experiencing issues.  Modify the code to store the
results in a per machine basis and report them accordingly.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolib/oe/reciputils.py: support character `+' in git pv
Hongxu Jia [Mon, 3 Jun 2019 08:49:20 +0000 (01:49 -0700)]
lib/oe/reciputils.py: support character `+' in git pv

While pv contains char `+' (such as ncurses 6.1+20181013),
it was incorrectly converted to `6.1'

In this commit:
- Convert [^\+]* to .*?
  Support pv to contain char `+' and not greedy match
  (Such as ncurses 6.1+20181013)

- Add [^\+] to sfx match
  Support sfx contains extra chars between `+' and `git'
  (such as asciidoc "8.6.9+py3-gitAUTOINC+618f6e6f6b")

- Make sfx and rev greedy match

Run `devtool check-upgrade-status --all' in poky and compare results,
only one difference on ncurses version:
Without the commit:
INFO: ncurses                   6.1             6.1+20181013    Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835

With the commit:
INFO: ncurses                   6.1+20181013    MATCH           Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogrub/grub-efi: fix unrecognized command line option '-pipe-Wno-error' in CFLAGS
Hongxu Jia [Wed, 15 May 2019 03:17:56 +0000 (11:17 +0800)]
grub/grub-efi: fix unrecognized command line option '-pipe-Wno-error' in CFLAGS

Since commit [330fc83 grub: Use -Wno-error instead of doing this
on a per-warning basis] applied in oe-core, it missed a space
in append.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpam: Upgrade 1.3.0 -> 1.3.1
Adrian Bunk [Mon, 20 May 2019 16:30:52 +0000 (19:30 +0300)]
libpam: Upgrade 1.3.0 -> 1.3.1

Remove patch applied upstream.
Upstream tarball location changed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agotcp-wrappers: Add compile warning fixes from Debian
Adrian Bunk [Mon, 3 Jun 2019 06:57:27 +0000 (09:57 +0300)]
tcp-wrappers: Add compile warning fixes from Debian

Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch headers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolrzsz: Add implicit declaration fixes from Debian
Adrian Bunk [Mon, 3 Jun 2019 06:57:26 +0000 (09:57 +0300)]
lrzsz: Add implicit declaration fixes from Debian

Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch header.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosystemd-conf: configure wired network with dhcp
Kai Kang [Sun, 2 Jun 2019 14:55:30 +0000 (10:55 -0400)]
systemd-conf: configure wired network with dhcp

Add a configure file for systemd.networkd to configure wired network
interfaces with dhcp. It works with common network interfaces such eth0
and eno1. And do not install it for qemu bsps.

Refer to
https://github.com/YoeDistro/meta-yoe/tree/master/recipes-core/systemd

[YOCTO #13057]

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agoperl-rdepends.txt: fix perl-module-data-dumper dependencies
Tim Orling [Sun, 2 Jun 2019 07:01:01 +0000 (00:01 -0700)]
perl-rdepends.txt: fix perl-module-data-dumper dependencies

Data::Dumper depends on bytes

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agomesa-demos: update to 8.4.0
Alexander Kanavin [Sat, 1 Jun 2019 11:26:23 +0000 (13:26 +0200)]
mesa-demos: update to 8.4.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agosource-highlight: remove the recipe
Alexander Kanavin [Sat, 1 Jun 2019 11:26:22 +0000 (13:26 +0200)]
source-highlight: remove the recipe

gtk-doc was the only user, and has been switched over to python3-pygments.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolibpsl: fix the gtk-doc 1.30 build
Alexander Kanavin [Sat, 1 Jun 2019 11:26:21 +0000 (13:26 +0200)]
libpsl: fix the gtk-doc 1.30 build

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agogtk-doc: upgrade 1.29 -> 1.30
Alexander Kanavin [Sat, 1 Jun 2019 11:26:20 +0000 (13:26 +0200)]
gtk-doc: upgrade 1.29 -> 1.30

Source-highlight support has been replaced upstream with python3-pygments.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/5.0: fix systemtap on arm
Bruce Ashfield [Sat, 1 Jun 2019 18:45:39 +0000 (14:45 -0400)]
linux-yocto/5.0: fix systemtap on arm

The following commit is part of 5.0.17+:

    ARM: fix function graph tracer and unwinder dependencies

    [ Upstream commit 503621628b32782a07b2318e4112bd4372aa3401 ]

    Naresh Kamboju recently reported that the function-graph tracer crashes
    on ARM. The function-graph tracer assumes that the kernel is built with
    frame pointers.

    We explicitly disabled the function-graph tracer when building Thumb2,
    since the Thumb2 ABI doesn't have frame pointers.

    We recently changed the way the unwinder method was selected, which
    seems to have made it more likely that we can end up with the function-
    graph tracer enabled but without the kernel built with frame pointers.

    Fix up the function graph tracer dependencies so the option is not
    available when we have no possibility of having frame pointers, and
    adjust the dependencies on the unwinder option to hide the non-frame
    pointer unwinder options if the function-graph tracer is enabled.

Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
As such, we no longer have UNWINDER_ARM enabled in our ARM builds by
default, since we do have FUNCTION_GRAPH_TRACER enabled in the common
ftrace configuration.

We disable FUNCTION_GRAPH_TRACER for ARM, which allows UNWINDER_ARM to
remain enabled and hence systemtap work out of the box for our ARM
reference builds. Obviously, BSPs or other users of the fragments can
make a different decision, but we chose unwinder to be on by default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto-rt/5.0: update to -rt11
Bruce Ashfield [Thu, 30 May 2019 12:44:43 +0000 (08:44 -0400)]
linux-yocto-rt/5.0: update to -rt11

Updating the 5.0 -rt to -rt11, which comprises the following commits:

   9c1e84c9b81b v5.0.19-rt11
   c4258b70deda workqueue: rework
   2a0f03c9daff softirq: rework
   cb38c9a00313 Revert "drm/i915/fence: Do not use TIMER_IRQSAFE"
   0ffa8402bf10 clocksource: TCLIB: Add proper depend
   6a2ecc186d9a arm: imx6: cpuidle: Use raw_spinlock_t
   c302271409c2 locking/lockdep: Don't complain about incorrect name for no validate class
   4042bcac2c90 v5.0.19-rt10
   d6ad4a85a911 genirq: Handle missing work_struct in irq_set_affinity_notifier()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 years agolinux-yocto/5.0: update to v5.0.19
Bruce Ashfield [Thu, 30 May 2019 12:44:42 +0000 (08:44 -0400)]
linux-yocto/5.0: update to v5.0.19

Integrating the korg -stable updates that comprise the following
commits:

   3f7c1cab1a61 Linux 5.0.19
   64d314bd8cc8 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
   e5c6d75b0f03 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
   b5f95aa7a88b bpf: add map_lookup_elem_sys_only for lookups from syscall side
   d811930f74ac bpf: relax inode permission check for retrieving bpf program
   ca7ef7e3ddfa driver core: Postpone DMA tear-down until after devres release for probe failure
   bad4fbe76cfb md/raid: raid5 preserve the writeback action after the parity check
   3770eb3721be Revert "Don't jump to compute_result state from check_result state"
   07116a6548c8 perf/x86/intel: Fix race in intel_pmu_disable_event()
   58d1e074c742 perf cs-etm: Always allocate memory for cs_etm_queue::prev_packet
   cd448c27b08e perf bench numa: Add define for RUSAGE_THREAD if not present
   7325696ce261 i2c: designware: ratelimit 'transfer when suspended' errors
   8258661858d5 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
   5b73764a5d2c KVM: selftests: make hyperv_cpuid test pass on AMD
   fb654d0763c8 KVM: fix KVM_CLEAR_DIRTY_LOG for memory slots of unaligned size
   497ce5c7f538 x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
   96f0be982c8a sched/cpufreq: Fix kobject memleak
   2a9605f177f8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
   df5eba5f41be qmi_wwan: new Wistron, ZTE and D-Link devices
   bd61ddd3e9fc bpf: Fix preempt_enable_no_resched() abuse
   bd3713424a01 tools: bpftool: fix infinite loop in map create
   1e61a219090f power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
   e6ae43922897 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
   5450811a02f5 net: ieee802154: fix missing checks for regmap_update_bits
   15f64f420bae mac80211: Fix kernel panic due to use of txq after free
   eff6d5429bd2 x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
   48be4d7ced2c PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
   fa42fde1f8e6 apparmorfs: fix use-after-free on symlink traversal
   cf0259f7662a securityfs: fix use-after-free on symlink traversal
   04aa8a51e723 power: supply: cpcap-battery: Fix division by zero
   38a725dd0be7 KVM: PPC: Book3S: Protect memslots while validating user address
   eec0c746757b KVM: PPC: Book3S HV: Perserve PSSCR FAKE_SUSPEND bit on guest exit
   f3adb80bb243 clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
   791746a758e7 ARC: PAE40: don't panic and instead turn off hw ioc
   30bd4585bf14 xfrm4: Fix uninitialized memory read in _decode_session4
   79fad8fd2b76 xfrm: Honor original L3 slave device in xfrmi policy lookup
   ff7fa2c801bc esp4: add length check for UDP encapsulation
   4e8ce2680442 xfrm: clean up xfrm protocol checks
   6c0db1cbf772 vti4: ipip tunnel deregistration fixes.
   f8a427ca50d6 xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
   70a87327025a xfrm: Reset secpath in xfrm failure
   9531aac1ee3e xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
   07a573c046c0 fuse: Add FOPEN_STREAM to use stream_open()
   560c6fd312c9 dm mpath: always free attached_handler_name in parse_path()
   96ecf4c59f08 dm integrity: correctly calculate the size of metadata area
   ecff1441aa15 dm crypt: move detailed message into debug level
   862a78341ade dm delay: fix a crash when invalid device is specified
   fab2e96c6be0 dm zoned: Fix zone report handling
   ef3f84246954 dm cache metadata: Fix loading discard bitset
   6c412dc3b757 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
   d06a30b1a957 PCI: Factor out pcie_retrain_link() function
   4f22ec9f0c28 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
   fbd9c6ef0dfc PCI/AER: Change pci_aer_init() stub to return void
   be361ee757b8 PCI: Init PCIe feature bits for managed host bridge alloc
   adb00a68d2dd PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
   2e4017e3ddfd PCI: Mark Atheros AR9462 to avoid bus reset
   4ddfb43373ca PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
   1fbec8aa02f3 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
   620a97786fd6 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
   b2adbace369e fbdev: sm712fb: fix support for 1024x768-16 mode
   d119b4a43e53 fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
   39045ad5a808 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
   4badede3e74b fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
   62463c4661f1 fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
   2a5d31230505 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
   cfe31930dac8 fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
   a816dc52fe77 x86/mpx, mm/core: Fix recursive munmap() corruption
   9d50a05607a7 objtool: Allow AR to be overridden with HOSTAR
   93dbb5304b51 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
   822e8c43b08a perf intel-pt: Fix sample timestamp wrt non-taken branches
   14f3460ed499 perf intel-pt: Fix improved sample timestamp
   23abb1eed2ee perf intel-pt: Fix instructions sampling rate
   c82da3e43ce1 memory: tegra: Fix integer overflow on tick value calculation
   dda71c1663c8 tracing: probeevent: Fix to make the type of $comm string
   95142e28042b tracing: Fix partial reading of trace event's id file
   9dba717a8156 ftrace/x86_64: Emulate call function while updating in breakpoint handler
   2a1069824a5c x86_64: Allow breakpoints to emulate call instructions
   16e559791d6b x86_64: Add gap to int3 to allow for call emulation
   69fc24195198 ceph: flush dirty inodes before proceeding with remount
   43cc8d378ca0 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
   d79e6a726acb gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6
   0e83f9e5ce46 ovl: fix missing upper fs freeze protection on copy up for ioctl
   bf076fd44bd6 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
   79d8f6321221 fuse: fix writepages on 32bit
   12db517f8a3e udlfb: introduce a rendering mutex
   0bd143ed4109 udlfb: fix sleeping inside spinlock
   02851943751d udlfb: delete the unused parameter for dlfb_handle_damage
   855e2af24ab5 clk: rockchip: fix wrong clock definitions for rk3328
   317e574eaf6d clk: mediatek: Disable tuner_en before change PLL rate
   b5f7027a6f79 clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
   87b083dbdd8f clk: hi3660: Mark clk_gate_ufs_subsys as critical
   3c1f44469d83 PNFS fallback to MDS if no deviceid found
   73e0d62f16ec NFS4: Fix v4.0 client state corruption when mount
   1aa8f89cf5ad RDMA/ipoib: Allow user space differentiate between valid dev_port
   90ebb540a7b1 RDMA/mlx5: Use get_zeroed_page() for clock_info
   2132baff7e0f media: imx: Clear fwnode link struct for each endpoint iteration
   7543aeaf9331 media: imx: csi: Allow unknown nearest upstream entities
   8a6a542635fe media: ov6650: Fix sensor possibly not detected on probe
   252f74c15935 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
   921bb3e9be5b cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
   6c65b5a9d829 brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11 mini PCs
   e15c901c9b1f of: fix clang -Wunsequenced for be32_to_cpu()
   a1243cd45745 p54: drop device reference count if fails to enable device
   24cb69043d68 intel_th: msu: Fix single mode with IOMMU
   86901d0a34ab dcache: sort the freeing-without-RCU-delay mess for good.
   cb259d53313c md: add a missing endianness conversion in check_sb_changes
   ceaae3df28ef md: add mddev->pers to avoid potential NULL pointer dereference
   3d8c54fb4b8f md: batch flush requests.
   dfbe4d1af4b3 Revert "MD: fix lock contention for flush bios"
   be2bcbeda06b proc: prevent changes to overridden credentials
   e2d95e6022f9 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
   019da3cf8d2d stm class: Fix channel bitmap on 32-bit systems
   e52484d4b315 stm class: Fix channel free in stm output free path
   7a76effe2dea parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
   e2d87b36a59b parisc: Use PA_ASM_LEVEL in boot code
   fac8648ec7ce parisc: Allow live-patching of __meminit functions
   62c78938e3ee parisc: Add memory barrier to asm pdc and sync instructions
   81641f9c6039 parisc: Skip registering LED when running in QEMU
   f4a05c586c3a parisc: Add memory clobber to TLB purges
   52b905433b0d parisc: Export running_on_qemu symbol for modules
   5b3b51fe5bef regulator: core: fix error path for regulator_set_voltage_unlocked
   97346dda2c99 blk-mq: free hw queue's resource in hctx's release handler
   860dde8d0962 mm/gup: Remove the 'write' parameter from gup_fast_permitted()
   b80fc1eed537 net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
   5125c4d4cfca net/mlx5: Imply MLXFW in mlx5_core
   ac5465716ae6 net/mlx5e: Additional check for flow destination comparison
   e3e09b07aab6 net/mlx5e: Add missing ethtool driver info for representors
   5048d03fa137 vsock/virtio: Initialize core virtio vsock before registering the driver
   ac01b87ed3ec tipc: fix modprobe tipc failed after switch order of device registration
   51adb8ebe8c1 vsock/virtio: free packets during the socket release
   3f48a2fa3d79 tipc: switch order of device registration to fix a crash
   0501b80b158a rtnetlink: always put IFLA_LINK for links with a link-netnsid
   4d4b20738489 ppp: deflate: Fix possible crash in deflate_init
   ebf4338d96e9 nfp: flower: add rcu locks when accessing netdev for tunnels
   d818a94975ed net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
   18b3bb2503b4 net: test nouarg before dereferencing zerocopy pointers
   4e6d54b16a89 net/mlx4_core: Change the error print to info print
   708c22fedf0c net: avoid weird emergency message
   145708e7d94c net: Always descend into dsa/
   6c8566ebb5f1 ipv6: prevent possible fib6 leaks
   aed9be48191f ipv6: fix src addr routing with the exception table
   8614793dbb41 Linux 5.0.18
   3dacabb35d7f ext4: don't update s_rev_level if not required
   18f59db712ce ext4: fix compile error when using BUFFER_TRACE
   593ddcbac4a4 s390/mm: convert to the generic get_user_pages_fast code
   97249a2034b6 s390/mm: make the pxd_offset functions more robust
   4999174b1a77 iov_iter: optimize page_copy_sane()
   6e52e4b6cf50 libnvdimm/namespace: Fix label tracking error
   63e54af2e570 xen/pvh: correctly setup the PV EFI interface for dom0
   a1c5c7476db0 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
   9339434bdbb4 kbuild: turn auto.conf.cmd into a mandatory include file
   d71c6a4b31db KVM: lapic: Busy wait for timer to expire when using hv_timer
   fae3b156b196 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
   87e61d57ae37 KVM: Fix the bitmap range to copy during clear dirty
   295a7bd172d2 jbd2: fix potential double free
   a5f8b69097a3 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
   20f6e5999787 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
   5ddcddba1be6 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
   ec9ff0dd9829 ext4: avoid panic during forced reboot due to aborted journal
   297a39c6528c ext4: fix use-after-free in dx_release()
   256e27da8b62 ext4: fix data corruption caused by overlapping unaligned and aligned IO
   7f3b711cbf54 ext4: zero out the unused memory region in the extent tree block
   bde5b8473bd3 tty: Don't force RISCV SBI console as preferred console
   549b0b8a9479 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
   f7fea7c067fb crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
   638fffb11c93 ipmi:ssif: compare block number correctly for multi-part return messages
   bfc6980ff235 bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
   5fa31fabc628 bcache: fix a race between cache register and cacheset unregister
   0e56cc24df1a Btrfs: fix race between send and deduplication that lead to failures and crashes
   0565f46b75e4 Btrfs: do not start a transaction at iterate_extent_inodes()
   d48e71659e07 Btrfs: do not start a transaction during fiemap
   e7fb540d6a06 Btrfs: send, flush dellaloc in order to avoid data loss
   b9ee62718749 btrfs: Honour FITRIM range constraints during free space trim
   4afdd2d2afbb btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
   1a6e5f745b57 btrfs: Check the first key and level for cached extent buffer
   f325062756d0 ext4: fix ext4_show_options for file systems w/o journal
   91bf9123ce86 ext4: actually request zeroing of inode table after grow
   715f547a6299 ext4: fix use-after-free race with debug_want_extra_isize
   310aea022196 ext4: avoid drop reference to iloc.bh twice
   7db933229f64 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
   7dfca4b97693 ext4: make sanity check in mballoc more strict
   39108bea309d jbd2: check superblock mapped prior to committing
   033b15ff6b92 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
   770e812bbc1d tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
   9537358c9452 mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
   969859b87f8b mtd: maps: physmap: Store gpio_values correctly
   8a2c3433b51b mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
   ed824ff290d3 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
   12061d7ce0ee mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
   966e7ae49bee ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
   09ceb529c4ac userfaultfd: use RCU to free the task struct when fork fails
   3f26c01c4001 ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
   f989305d02a4 hugetlb: use same fault hash key for shared and private mappings
   6720e0bc50e9 mm/hugetlb.c: don't put_page in lock of hugetlb_lock
   ff191b1d827d mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
   535ca6f75ddb mm/mincore.c: make mincore() more conservative
   b5b076649d2e crypto: ccree - handle tee fips error during power management resume
   2380a8464ee1 crypto: ccree - add function to handle cryptocell tee fips error
   22a44b51f2e0 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
   f1a7dc5d0e46 crypto: ccree - pm resume first enable the source clk
   4a807bab1431 crypto: ccree - don't map AEAD key and IV on stack
   a1cb31fd79be crypto: ccree - use correct internal state sizes for export
   3ff036422024 crypto: ccree - don't map MAC key on stack
   2e1679f6a1d0 crypto: ccree - fix mem leak on error path
   23a072df0482 crypto: ccree - remove special handling of chained sg
   8efcdb781463 bpf, arm64: remove prefetch insn in xadd mapping
   fd049ce703c3 ASoC: codec: hdac_hdmi add device_link to card device
   519511e47f79 ASoC: fsl_esai: Fix missing break in switch statement
   94748513d811 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
   dccbcc8060c8 ASoC: max98090: Fix restore of DAPM Muxes
   b2c90ad71e00 ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
   0a1cf4fdc58b ALSA: hda/realtek - EAPD turn on later
   98ffad31068d ALSA: hda/hdmi - Consider eld_valid when reporting jack event
   787d1c606f1a ALSA: hda/hdmi - Read the pin sense from register when repolling
   bc3c4c9e00b0 ALSA: usb-audio: Fix a memory leak bug
   592b655a306b ALSA: line6: toneport: Fix broken usage of timer for delayed execution
   978e70ead670 mmc: sdhci-pci: Fix BYT OCP setting
   56f590e2e30a mmc: core: Fix tag set memory leak
   1ea20c66648a mmc: tegra: fix ddr signaling for non-ddr modes
   4ea5e92a20b9 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
   b51455e5493a crypto: arm/aes-neonbs - don't access already-freed walk.iv
   86d478d06696 crypto: caam/qi2 - generate hash keys in-place
   fd2830991e56 crypto: caam/qi2 - fix DMA mapping of stack memory
   0eaed393b4ec crypto: caam/qi2 - fix zero-length buffer DMA mapping
   86add9b56835 crypto: rockchip - update IV buffer to contain the next IV
   8d9cdf34aaf9 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
   246ef445e015 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
   47a9de26eb06 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
   8eb6266c8eb1 crypto: crct10dif-generic - fix use via crypto_shash_digest()
   043e69dd7fef crypto: skcipher - don't WARN on unprocessed data after slow walk step
   2c0f409ba69c crypto: vmx - fix copy-paste error in CTR mode
   8d02b83b332b crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
   fdcd8b3b745e crypto: chacha20poly1305 - set cra_name correctly
   d6d54c7c59c6 crypto: chacha-generic - fix use as arm64 no-NEON fallback
   0a348941ad06 crypto: lrw - don't access already-freed walk.iv
   25f1509c739f crypto: salsa20 - don't access already-freed walk.iv
   fb7261b31a2c crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
   3149ac3ef4e6 crypto: crypto4xx - fix ctr-aes missing output IV
   5404a6ff7458 x86/MCE/AMD: Don't report L1 BTB MCA errors on some family 17h models
   ad09c6ef2dcb x86/MCE: Group AMD function prototypes in <asm/mce.h>
   b05237350b4a x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
   e6b8b66f965e x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
   993a6595b253 x86/MCE: Add an MCE-record filtering function
   52176123f9cb sched/x86: Save [ER]FLAGS on context switch
   d81b4ae57fe9 arm64: Save and restore OSDLR_EL1 across suspend/resume
   bd254f9d1157 arm64: Clear OSDLR_EL1 on CPU boot
   a184f8889306 arm64: compat: Reduce address limit
   e57320e0177a arm64: arch_timer: Ensure counter register reads occur with seqlock held
   32e802d947ca arm64: mmap: Ensure file offset is treated as unsigned
   38a6f722c01a power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
   a4e41f047a3e power: supply: axp288_charger: Fix unchecked return value
   fe3f22b7084d ARM: exynos: Fix a leaked reference by adding missing of_node_put
   a6bc3bfb8206 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
   bf6cb21717f4 ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
   de42e519cbee ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
   3ea393bb1ca4 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
   5d6fa0370c51 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
   5414a4761988 arm64: dts: rockchip: fix IO domain voltage setting of APIO5 on rockpro64
   8c1134ff70df objtool: Fix function fallthrough detection
   bc19bb7d8d10 x86/speculation/mds: Improve CPU buffer clear documentation
   d2214ccfecb5 x86/speculation/mds: Revert CPU buffer clear on double fault exit
   bfcac7872252 locking/rwsem: Prevent decrement of reader count before increment

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>