Compare commits

..

1417 Commits

Author SHA1 Message Date
William Bourque
835f7eac06 meta/lib/oeqa: Test for bootimg-biosplusefi Source
Add unittests for bootimg-biosplusefi SourcePlugin in wic module.
First test check wic creation works correctly.
Second test uses qemu to boot image and checks that it has both
EFI and BIOS files in a single partition.

(From OE-Core rev: e0c3436241afca93f107e325d1b9ffcdebf706cd)

Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
William Bourque
def9b64e27 wic/plugins: Source that support both EFI and BIOS
Add a source plugin that support both EFI and legacy PC-Bios.
While using this plugin, both bootloaders configurations reside
in the same /boot partitions.
This plugin has very little code : to avoid code duplication,
we simply re-import bootimg-pcbios and bootmg-efi source and
call both their SourcePlugin methods.

(From OE-Core rev: c8545d54139c6c48bffd1dd1d39d79891626c6f7)

Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Oleksandr Kravchuk
f2d6ec0af1 python3-mako: update to 1.0.14
Got rid of python-git since there is no python2 version of the package.

(From OE-Core rev: cbdb000632b6320fe9741b750a7cf3fe5b3ec640)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Oleksandr Kravchuk
dfbea8ebfd python3-docutils: update to 0.15
(From OE-Core rev: 74b5d8df4e26fcfa8f1bbb91c5184331185973fc)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Oleksandr Kravchuk
76e59cdf85 python3-scons: update to 3.1.0
(From OE-Core rev: 03a04b197dd0d7af7050a132b4f0ad376b81821d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
bf3d65bbea maintainers: Account for musl-obstack and libssp-nonshared
(From OE-Core rev: 9e138c0b468fc827dfbab43c870ff232f3863281)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
d5b73bdb45 elfutils: Fix eu-* utils builds for musl
Re-organize the musl patches in three different areas namely
libs, utils and tests, this will help maintain them in future
version bumps

Add obstack dependency on musl targets which is needed for eu-*

PN and PN-binutils is not empty anymore on musl

(From OE-Core rev: a747239978e63f22d4107e6e12c75b5f78043cce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
002c33a38f musl-obstack: Add recipe
obstacks from GNUlib is used in some OE-Core packages e.g. elfutils
and other packages outside OE-Core, this recipe helps provide this
functionality standalone on musl systems, and helps in getting full
versions of dependent packages

(From OE-Core rev: a0fb9093733a0e7e3e83f9bcedbd0fcbf6e1a0d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
610502927d pam_systemd: Include missing.h for secure_getenv
'secure_getenv' api is not uniformly implemented across all C libraries
therefore its good to include missing.h so it can use the alternative
implementation where its not awvailable

Fixes
../git/src/login/pam_systemd.c:344:13: error: implicit declaration of function 'secure_getenv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        v = secure_getenv(key);

(From OE-Core rev: 6cdcb1488a84da6c15145944c2aab3c604252699)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
f24ef905ed sysvinit: Include sys/sysmacros.h for major/minor definitions on musl too
Fixes musl issue

implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration]
which eventually ends up with a linker error

(From OE-Core rev: 6b603924e50a5694421b9142494315799422928d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
bbd5d098ec mdadm: Include sys/sysmacros.h for major/minor definitions
Fixes
implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration]

which eventually ends up with a linker error

(From OE-Core rev: 5841e52e79274b2da17bf7dbd1224d0a3dca2d6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
2ebc15672c musl: Upgrade to 1.1.23+
License-Update: Added contributor list and copyright years
https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=7a6c8a0df1b685d788fd4d3763681bb3018806d7
https://git.musl-libc.org/cgit/musl/commit/COPYRIGHT?id=d6dcd4185bddff34724d6d539f834e9daf7dcf3d

- include release 1.1.23
- Add riscv support
- Add syscall numbers upto 5.1 kernel

Detailed log
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=ac304227bb3ea1787d581f17d76a5f5f3abff51f..0ce49d0a301b4142741b32773492af90f66ed3ca

(From OE-Core rev: 31a08144f9c739b8d4f0a968860a5de8af44fdce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Oleksandr Kravchuk
cc83f20acc xinput: update to 1.6.3
(From OE-Core rev: f34b852b342cb28fa27a2267ffb211ffec1fa219)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Anuj Mittal
0f05352b69 piglit: fix SRC_URI
Fixes build for older versions of git (like on CentOS 7) which don't
follow redirects properly if the .git suffix is missing and cause
errors:

| error: RPC failed; result=22, HTTP code = 404
| fatal: The remote end hung up unexpectedly

(From OE-Core rev: f5c6b2d54449d5ea4f65e18e89e40794530e20aa)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Anuj Mittal
f7e07e4acd iptables: upgrade 1.8.2 -> 1.8.3
Remove upstreamed patches and manually package symlinks which aren't
handled by do_split_package.

Changelog:
http://git.netfilter.org/iptables/log/?qt=range&q=v1.8.3...v1.8.2

(From OE-Core rev: 845af88f86f143ca0b119f0489397cd505571cae)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Khem Raj
c46f497dbb Revert "unzip: fix CVE-2019-13232"
See [1]

This reverts commit 4df4de2ac8bc0e80446e1ad0ce67eb244e2d2a32.

[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-July/284859.html

(From OE-Core rev: 14655b3a54d086cbbd702adf9446fabf57ce51b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Oleksandr Kravchuk
0bebaa64c6 python3-pbr: update to 5.4.1
(From OE-Core rev: e59c6720271be8e3f1e93c301078a580ffdaafe0)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Oleksandr Kravchuk
ff44852a7b udev-extraconf: do not mount swap partitions
Swap is a special filesystem that cannot be mounted, so do not try to,
otherwise we will have service that tries and fails to mount it with
the following error:

systemd[1]: Mounting /run/media/nvme0n1p3...
mount[1229]: mount: /run/media/nvme0n1p3: unknown filesystem type 'swap'.

(From OE-Core rev: 7a2c56da85326043f0663c29535ac3fb555d96fe)

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-23 22:26:28 +01:00
Stefan Agner
dda8f1bab2 psplash: create psplash tmpfs mount directory in psplash-init
The psplash binary uses TMPDIR as directory to store the FIFO to
communicate with the psplash tools. This directory can be in any
location an init system determines to be suitable, psplash-init
uses /mnt/ for it. Rather than creating the mount directory in
the recipe, just create it in the init script itself. This allows
other init scripts to use a different location without having
an unnecessary .psplash directory in /mnt.

(From OE-Core rev: dd8c7f2466d94fd8326b962e9bcfc4f42a35da38)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Khem Raj
fc497907ce mpeg2dec: Fix PIE build and avoid relocation in text section on ARM
This a backport from upstream

Fixes package_qa on arm

ERROR: QA Issue: ELF binary 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/mpeg2dec/0.5.1-r0/packages-split/libmpeg2/usr/lib/libmpeg2.so.0.1.0' has relocations in .text [textrel]

(From OE-Core rev: 190531943ab43758f83ff021caef1f68dbdc3840)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Ross Burton
c3aaa4b54e ffmpeg: upgrade to 4.1.4
Add a PACKAGECONFIG for the use of XCB and enable by default if X11 is in
DISTRO_FEATURES.

(From OE-Core rev: 69b0f94c117b3ab922e0061255a1814e69b16435)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Ross Burton
560549ba58 ffmpeg: don't use hardcoded lookup tables
ffmpeg can generate lookup tables at build time instead of runtime, but this is
no longer a recommended option.  The size impact is significant (12% of the
total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't
too costly, and only a few codecs actually use the pre-generated tables (MP3,
notably).

(From OE-Core rev: 51f13afe669638dbf72f464f243adccb22be3d21)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Ross Burton
24015adec8 meson.bbclass: export STRIP=${BUILD_STRIP}
In Meson the environment variables are always the native tools, so export
STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning:

WARNING: Env var STRIP seems to point to the cross compiler.
This is probably wrong, it should always point to the native compiler.

(From OE-Core rev: 8d1557356d2c7d94eeef2a9b61d3c9622e337a9e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Joe Slater
c68d44cd0c libtool: remove host information from libtool
Import patch from Debian.

(From OE-Core rev: b2e0b383a17a3cd450adb3d86f7f818729438375)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Ross Burton
e23c103434 unfs3: set upstream tag regex to avoid false-positives
(From OE-Core rev: 4663d06a79c6608127413488676a6e7dfbefb3e1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:04 +01:00
Ross Burton
fa103d3481 freetype: upgrade to 2.10.1
Also switch SRC_URI to the nongnu mirrors as they're more reliable than
Sourceforge.

(From OE-Core rev: 18875698e182d5eb5a9bc1f95abdc2348f66cedc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Ross Burton
82b5ed6acf cve-update-db-native: clean up JSON fetching
Currently the code fetches the compressed JSON, writes it to a temporary file,
uncompresses that with gzip and passes the fake file object to update_db().

Instead, uncompress the gzip'd data in memory and pass the JSON directly to
update_db().

(From OE-Core rev: 9422745979256c442f533770203f62ec071c18fb)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Ross Burton
297605eec0 cve-update-db-native: improve metadata parsing
The metadata parser is fragile: first it coerces a bytes() to a str() (so the
string is b'LastModifiedDate:2019...'), assumes the first line is the date, and
then uses a regex to parse (which then includes the trailing quote as part of
the date).

Clean this up by parsing the bytes as UTF-8 (ASCII is probably fine, but this is
safer), iterate through the lines and split on colons to find the right
key/value pair.

(From OE-Core rev: bb4e53af33d6ca1e9346464adbdc1b39c47530f3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Ross Burton
8ec4cd3e2a cve-update-db-native: use executemany() to optimise CPE insertion
Instead of calling execute() repeatedly, rewrite the function to be a generator
and use executemany() for performance.

(From OE-Core rev: b309840b6aa3423b909a43499356e929c8761318)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Bonnans, Laurent
ffcf23f5f2 openssl: fix valgrind errors on v1.1.1c
Running valgrind against code using Openssl v1.1.1c reports a large number of
uninitialized memory errors. This fix from upstream solves this problem.

(From OE-Core rev: 8081d645353ed934a0158329f2f36ea49d663e19)

Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Chen Qi
cedd95e091 devtool: remove temp dir in upgrade
For now, the temp dir is left in system, although the temporary
source directory has been cleaned up. So we clean it up too.

(From OE-Core rev: 8a0602327d5afcf4f36850d3f05c9721305852af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Chen Qi
1c7a734922 runtime_test.py: use track_for_cleanup for temp dir
Use track_for_cleanup for temp dir to avoid such temp
dir being not cleaned up when something goes wrong, e.g.,
building image failure.

(From OE-Core rev: 7105c9bcceda3e4defbb6aa9fb3e8fd38c1e00a2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-22 17:31:03 +01:00
Adrian Freihofer
2d8e21eaac yocto-bsp: runqemu runs beaglebone-yocto
Append the necessary QB_ flags to the MACHINE configuration of
beaglebone-yocto. Using Qemu with "-machine virt" simplifies things
greatly because for this machine the dtb is compiled into qemu. Since
the beaglebone-yocto kernel config also supports this cpu architecture,
it just works. However, u-boot is not involved and the virt machine is
not 100% equal to a am335x SoC.

A MACHINE configuration suitable for Qemu as well as for the real
hardware allows to provide just one eSDK where both runqemu and devtool
build-image work. Otherwise a qemuarm and a beaglebord-yocto MACHINE
eSDK would be required to support development in Qemu as well as on real
hardware.

(From meta-yocto rev: 48bf40749cc63e8e951c76abbe65b1b9620b2481)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:21:16 +01:00
Richard Purdie
ae5615000b bitbake: siggen: Fix handling of tainted sig files
The addition of some debugging code meant that comparisions between sig
files with a taint and without a taint weren't working. Tweak the logic
to avoid tracebacks if one side doesn't have a taint.

(Bitbake rev: f5ea06fc2b6713c9f8e85ecf7cb981ae9a84d896)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:20:28 +01:00
Ross Burton
047de6962f cve-update-db: actually inherit native
The recipe was called -native but didn't inherit native.

(From OE-Core rev: f0d822fad2a163d1ee32ed3b4c0359245140e19b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Ross Burton
3cd004128d cve-update-db-native: use os.path.join instead of +
(From OE-Core rev: 4b301030cf9cf7a981dcff85a50e915c045e3130)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Anuj Mittal
2a11ee3ad2 gdb: fix CVE-2017-9778
(From OE-Core rev: 4fa03fa14f8facb134ecd772a99c25184d8a4cbd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Anuj Mittal
0176b556fa python: include CVE patches for python-native as well
Also avoids maintaining a different set of patches for both.

(From OE-Core rev: b3b1c00cc46b33ddbf7e008267032220e1e298af)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Anuj Mittal
f53f82fc89 unzip: fix CVE-2019-13232
Include the fix by Mark Adler which has also been adopted by Debian.

(From OE-Core rev: 4df4de2ac8bc0e80446e1ad0ce67eb244e2d2a32)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Anuj Mittal
47732ab6e9 glibc: CVE-2018-20796 is same as CVE-2019-9169
See:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34141
https://www.securityfocus.com/bid/107160

(From OE-Core rev: 7e90506534ed2a70680382cf28614f02fdb98409)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Anuj Mittal
db32c9bda3 rsync: fix CVEs for included zlib
rsync includes its own copy of zlib and doesn't recommend linking with
the system version [1].

Import CVE fixes that impact zlib version 1.2.8 [2] that is currently used
by rsync.

[1] https://git.samba.org/rsync.git/?p=rsync.git;a=blob;f=zlib/README.rsync
[2] https://nvd.nist.gov/vuln/search/results?form_type=Advanced&cves=on&cpe_version=cpe%3a%2fa%3agnu%3azlib%3a1.2.8

(From OE-Core rev: a55fbb4cb489853dfb0b4553f6e187c3f3633f48)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Li Zhou
f56e1ffb1e iptables: Security Advisory - iptables - CVE-2019-11360
Porting patch from <https://git.netfilter.org/iptables/commit/iptables/
xshared.c?id=2ae1099a42e6a0f06de305ca13a842ac83d4683e> to solve
CVE-2019-11360.

(From OE-Core rev: 5a38ef7eef9ecef2d27ae89f01691072bb94a25e)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Yi Zhao
a921c2f9db ltp: upgrade 20190115 -> 20190517
Drop the following patches since the issues have been fixed upstream:
  0001-file01.sh-Fix-in-was-not-recognized.patch
  0001-lapi-Define-TST_ABI-32-64-to-detect-target-type.patch
  0001-syscalls-setrlimit03.c-read-proc-sys-fs-nr_open-for-.patch
  0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
  0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch
  0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
  0023-ptrace-Use-int-instead-of-enum-__ptrace_request.patch
  0024-rt_sigaction-rt_sigprocmark-Define-_GNU_SOURCE.patch
  0026-crash01-Define-_GNU_SOURCE.patch
  0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
  0034-periodic_output.patch
  0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch
  define-sigrtmin-and-sigrtmax-for-musl.patch
  setregid01-security-string-formatting.patch

Refresh the following patches:
  0004-build-Add-option-to-select-libc-implementation.patch
  0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch
  0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
  0018-guard-mallocopt-with-__GLIBC__.patch
  0020-getdents-define-getdents-getdents64-only-for-glibc.patch
  0035-fix-test_proc_kill-hang.patch
  0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
  0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch
  0001-shmctl01-don-t-use-hardcoded-index-0-for-SHM_STAT-te.patch
  0001-diotest4-Let-kernel-pick-an-address-when-calling-mma.patch
  0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch

Add patch:
  0006-rt_tgsigqueueinfo-disable-test-on-musl.patch

(From OE-Core rev: eb59546c83f4c217de6272a8d3b2fa65e3c84e7f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Ricardo Ribalda Delgado
161d036569 systemd-bootconf: Mark as machine specific
APPEND is usually attached to a machine. This patch avoids multiconfig
errors such as:

| NOTE: Direct dependencies are ['multiconfig:qt5022:/workdir/repo/poky/meta/recipes-core/glibc/glibc_2.29.bb:do_populate_sysroot', 'multiconfig:qt5022:virtual:native:/workdir/repo/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'multiconfig:qt5022:/workdir/repo/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot', 'multiconfig:qt5022:/workdir/repo/poky/meta/recipes-devtools/gcc/gcc-cross_8.3.bb:do_populate_sysroot', 'multiconfig:qt5022:/workdir/repo/poky/meta/recipes-devtools/gcc/gcc-runtime_8.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['glibc', 'pseudo-native', 'quilt-native', 'gcc-cross-x86_64', 'gcc-runtime', 'libgcc', 'linux-libc-headers', 'libtool-native', 'texinfo-dummy-native', 'libmpc-native', 'flex-native', 'automake-native', 'zlib-native', 'mpfr-native', 'gmp-native', 'binutils-cross-x86_64', 'xz-native', 'autoconf-native', 'gnu-config-native', 'gettext-minimal-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat 'loader.conf': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /workdir/build/tmp/work/bobcat-poky-linux/systemd-bootconf/1.00-r0/temp/log.do_install.737)
NOTE: recipe systemd-bootconf-1.00-r0: task do_install: Failed
ERROR: Task (multiconfig:qt5022:/workdir/repo/poky/meta/recipes-core/systemd/systemd-bootconf_1.00.bb:do_install) failed with exit code '1'

(From OE-Core rev: 84d08b0bed9e1c5f223f9ec437bb8d96a2bda599)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 16:19:14 +01:00
Richard Purdie
ecf0988775 distro/include: Add poky-distro-alt-test-config.inc
In order to phase out poky-lsb, move the alternate test configurations
to a separate .inc file. This is necessary to avoid maintaining this
configuration in the autobuilder config (such as kernel version numbers).

(From meta-yocto rev: 235f592b44617afcd31211e476428fadf456eaea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:46:04 +01:00
Richard Purdie
a5b82adf9c poky-lsb: Drop libx11 PREFERRED_PROVIDER
This is the default since -trim was dropped back in 2012 so this extra
configuration is pointless.

(From meta-yocto rev: f2868c6c667c109e416d5e51140f50fd5f0a10bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:46:04 +01:00
Richard Purdie
6baf51b716 poky-lsb: Drop features already in poky
(From meta-yocto rev: 91ef1c51e647a2fd5925345b1ec66deeeda2103b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:46:04 +01:00
Robert Yang
b70993cf92 bitbake: cache: Create a symlink for current cachefile
So that people or other tools can easily know which one is being used, just
like what we did for run.do_task and log.do_task, otherwise, we have no way
to know it. I usually use "ls -t", but it isn't reliable since the one which
is being used may not the latest one.

(Bitbake rev: cf286dff653eed542bf347ca46234c224944d5b0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:45:08 +01:00
Ricardo Ribalda Delgado
58589bc538 wic: Fix (again) partition files UIDs on multi rootfs images
Commit 450335ba5e73a375eb9932b4c4cf37979640dbfc copies the pseudo
database to the working directory in order to have ownership information
when the filesystem is generated.

Unfortunately this does not work anymore. The filenames on the database
are absolute and there is no information about the new directory.

Instead of fixing the database, we could redo a bit the way we patch the
fstab file. Now I am saving the old contents of fstab, modifying the
file and then reverting the changes on exit.

This is faster than the previous approach, although it can cause
indeterminism if the application is killed before finishing.

(From OE-Core rev: dcbf7b864dd1713b54a172d8714ce1508482f086)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Pierre Le Magourou
050a96fe03 cve-update-db-native: Remove hash column from database.
djb2 hash algorithm was found to do collisions, so the database was
sometime missing data. Remove this hash mechanism, clear and populate
elements from scratch in PRODUCTS table if the current year needs an
update.

(From OE-Core rev: 78de2cb39d74b030cd4ec811bf6f9a6daa003d19)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Pierre Le Magourou
4b8a6f4929 cve-check: Replace CVE_CHECK_CVE_WHITELIST by CVE_CHECK_WHITELIST
CVE_CHECK_WHITELIST does not contain version anymore, as it was not
used. This variable should be set per recipe.

(From OE-Core rev: 7069302a4ccbb5b72e1902f284cf078516fd7294)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Ulrich Ölmann
b4db437f11 squashfs-tools: upgrade to commit f95864afe883
The master branch's current tip commit as of this writing is [1], see the
squashfs-tool's repo at [0].

Because of commits [2]-[4] which are included in the master branch three
corresponding patches are dropped as they are not needed anymore. The single
remaining patch was rebased on top of [1] to apply cleanly.

Commits [5] & [6] introduced interesting features, namely zstd support and
reproducibility of created SquashFS images. They are reflected in two new
PACKAGECONFIG options now, but only the latter ("reproducible") is appended to
the default options as OE-core does not contain a recipe to build zstd at the
moment (a working zstd recipe can be found e.g. in meta-rauc, see [7]).

[0] https://github.com/plougher/squashfs-tools.git
[1] f95864afe883 ("unsquashfs-4: Add more sanity checks + fix CVE-2015-4645/6")
[2] 46bdc1726e5a ("mksquashfs: Make a load of functions static")
[3] b0ca8a5c98ff ("pseudo.c: add explicit <sys/stat.h> include")
[4] f95864afe883 ("unsquashfs-4: Add more sanity checks + fix CVE-2015-4645/6")
[5] 6113361316d5 ("squashfs-tools: Add zstd support")
[6] e0d74d07bb35 ("Add configuration and Mksquashfs build options for
                   reproducible builds")
[7] https://layers.openembedded.org/layerindex/recipe/79049/

(From OE-Core rev: 92f34fbe321040db3dc0431dd464747324058e2e)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Anuj Mittal
f06689bff2 curl: upgrade 7.65.1 -> 7.65.2
Changelog:
https://curl.haxx.se/changes.html#7_65_2

(From OE-Core rev: 54b91da2bd07e8c3a40e61d90af251a1bfbf50f4)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Yi Zhao
adf037eaf7 debianutils: upgrade 4.8.6.1 -> 4.8.6.3
(From OE-Core rev: bbde94e994f4904b983ee396b55eb68931de7d4c)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Anuj Mittal
67ff99f32a openssl: set CVE vendor to openssl
Differentiate it from openssl gem for Ruby.

(From OE-Core rev: 2ec481b19d6c9c20ce6573de77ae89e576d6b8cb)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Zang Ruochen
7ad1653264 libpciaccess:upgrade 0.14 -> 0.16
-Upgrade from libpciaccess_0.14.bb to libpciaccess_0.16.bb.

-libpciaccess/0004-Don-t-include-sys-io.h-on-arm.patch
 Removed since this is included in 0.16.

(From OE-Core rev: c2140b42c8516100c55c381d98e0f281b562d2db)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Zang Ruochen
d1d2d45417 xwininfo:upgrade 1.1.4 -> 1.1.5
-Upgrade from xwininfo_1.1.4.bb to xwininfo_1.1.5.bb.

(From OE-Core rev: 7f34f3657568a0130aa31a481973509203984a06)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Zang Ruochen
49c90ce762 libice:upgrade 1.0.9 -> 1.0.10
-Upgrade from libice_1.0.9.bb to libice_1.0.10.bb.

-libice/CVE-2017-2626.patch
 Removed since this is included in 1.0.10.

(From OE-Core rev: d3581b5d5562604ba31fc2b10873b3b0c9bf75fc)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Anuj Mittal
3ef6ecd0d7 vte: upgrade 0.56.1 -> 0.56.3
(From OE-Core rev: 00c84fd2583022d6f11067cc0b2e8782a09abc26)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Anuj Mittal
130e8f041d glib-2.0: upgrade 2.60.4 -> 2.60.5
Changes:
https://github.com/GNOME/glib/blob/glib-2-60/NEWS

(From OE-Core rev: 7ab3b3d57df1bddf2241b75ae6ebec29ea288502)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Anuj Mittal
71eb7d07da bzip2: upgrade 1.0.7 -> 1.0.8
License-Update: Change in version and copyright year/date.

Changelog:
https://sourceware.org/git/?p=bzip2.git;a=blob;f=CHANGES

(From OE-Core rev: ad33d889ad551651d72cf1cdfdfffdd147ee91ac)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:40 +01:00
Anuj Mittal
58d3ca6c15 qemu: fix CVE-2019-12155
(From OE-Core rev: a0236a8f682ab0e897cd99555b9225bae4fb04ab)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:39 +01:00
Anuj Mittal
600b9df025 binutils: CVE-2019-9070 is same as CVE-2019-9071
See:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89395

(From OE-Core rev: cef180de3684491f1ac4180ddbcc102121222181)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:39 +01:00
Kai Kang
74646729a4 defaultsetup.conf: enable select init manager
Introduce a new variable INIT_MANAGER and create 4 init-manager-*.inc
files to configure init manager settings. Available values of
INIT_MANAGER are sysvinit, systemd, mdev-busybox and a default of none.
'none' provides backwards compatibility.

The settings of various VIRTUAL-RUNTIME variables are moved into these
files from the packagegroups.

[YOCTO #13031]

[Modifications by RP for backwards compatibility]

(From OE-Core rev: 8d0b4704a526a48cd5e67df61b613424bbbdccde)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-19 08:41:39 +01:00
Richard Purdie
13881ed2bd staging: Drop clean_recipe_sysroot
With recent changes to runqueue, this fuction is unsafe as setscene tasks can run
at the same time as normal ones and doing things before do_fetch no longer
offers any guarantees.

There is other code which cleans out things from the sysroots as tasks rerun so
we should rely upon that instead.

(From OE-Core rev: 27ce69861edb7e52078b59ebf8fefc9201e9a228)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 23:34:39 +01:00
Ross Burton
97c5921666 conf/poky: add Fedora 30 and Opensuse Leap 15.1 to supported distributions
(From meta-yocto rev: a287de83c5d92492a6d2f88c1e86fc11f1b6f310)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 13:32:29 +01:00
Scott Rifenbark
1370f3ad2e ref-manual: Removed "python2" mention in example.
We are not using Python2.  I removed this instance in the ref
manual. The variable "PYTHON_PN" referenced Python 2.  It no
longer does.

(From yocto-docs rev: bd2ed0c640e12e8010ebff0aaba77e8fe367d63e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:53 +01:00
Scott Rifenbark
1cf94948b7 ref-manual: Fixed typo for BBMULTICONFIG variable.
There was a typo in the BBMULTICONFIG variable description.
It appeared as "BBMULTIFONFIG". I fixed it.

(From yocto-docs rev: c53b1bb6e588f9ee87cb8ab85fc8c3985257a37a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:53 +01:00
Scott Rifenbark
bcd50509bf dev-manual: Provided proper link title
In the "Enabling GObject Introspection Support" section, a link
existed to the "Known Issues" section further down in the
chapter.  The target of the link was missing and appeared as the
placeholder "xxx".  I put in the proper link.

(From yocto-docs rev: 8d0d1b2104f08e888075bc0ae0bed4f0ec2f4ea6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:53 +01:00
Scott Rifenbark
25efbee1d7 sdk-manual: Updated devtool to talk about oe-local-files.
Fixes YOCTO #13079

Bug is about making sure the section on the devtool command
talks about oe-local-files.  Two devtool commands (modify
and upgrade) needed to mention the role of the oe-local-files
area and how it is used during these commands.  I updated the
appropriate sections:

 * Use devtool modify to Modify the Source of an Existing Component
 * Use devtool upgrade to Create a Version of the Recipe that
   Supports a Newer Version of the Software.

(From yocto-docs rev: 70ed68eca6dcb5b1f1b5638fd27a7b513b65661e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:53 +01:00
Scott Rifenbark
f3c76f8fd6 overview-manual: Fixed manual history table
Missing information for some of the releases put back in.

(From yocto-docs rev: f4c09ab9eda925c16946d9d6cf58d1e40d8f6a07)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:53 +01:00
Richard Purdie
9881c532c8 bitbake: runqueue: Fix non setscene tasks targets being lost
If you specify both setscene and non-setscene tasks on the commandline, the
non-setscene tasks could be missed, e.g. "bitbake X:do_patch X:do_populate_sysroot"
and do_patch would fail to run.

Fix the problem in runqueue and add a testcase.

(Bitbake rev: 75292fdec5d9c0b5b3c554c4b7474a63656f7e12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
d64c2ad24d pkgconf: upgrade 1.6.1 -> 1.6.3
(From OE-Core rev: 4a69bf5ae3328d124a7607a52333643ebf7ec0b3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
1a2f9898f6 piglit: upgrade to latest revision
(From OE-Core rev: 6ee8d724bb7347a47395709df9d16e32abc9e06e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Alistair Francis
991cd48af5 package_manager: Ensure the base-feed directory exists
Ensure that the /etc/opkg directory exists before we try to create a
file there.

(From OE-Core rev: 30ff50223cd0b79fd3b8aa393ea1e621282773ac)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Alistair Francis
4841d57bdb qemurunner.py: Be more verbose about problems
Instead of hiding problems in the debug log let's print them as warnings
instead.

(From OE-Core rev: 088f5d97001bd4b573f00cfca93b8d24e814fd64)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Alistair Francis
29ee9756b8 opensbi: Fix installed-vs-shipped warning
Fix the following warning by just deleting the files:
WARNING: opensbi-0.4-r0 do_package: QA Issue: opensbi: Files/directories were installed but not shipped in any package:
  /lib
  /lib/libsbiutils.a
  /lib/libsbi.a

(From OE-Core rev: ecbf494b26db71076ad74902a75a3205c849d81e)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
44fd06e20a xkeyboard-config: remove redundant intltool dependency
Upstream now uses plain gettext.

(From OE-Core rev: 0fd2b3318a7fb9bf8eeb760f82fe796f5b29643f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Hongzhi.Song
765b53118d ltp: getrlimit03: adjust-a-bit-of-code-to-compatiable-with mips32
Error info:
getrlimit03.c:104: FAIL: __NR_prlimit64(0) had rlim_cur =
ffffffffffffffff but __NR_getrlimit(0) had rlim_cur = 7fffffff

According to kernel code: [arch/mips/include/uapi/asm/resource.h]
RLIM_INFINITY is set to 0x7fffffffUL instead of ULONG_MAX on mips32.

 /*
 * SuS says limits have to be unsigned.
 * Which makes a ton more sense anyway,
 * but we keep the old value on MIPS32,
 * for compatibility:
 */
 #ifndef __mips64
 # define RLIM_INFINITY      0x7fffffffUL
 #endif

Adding conditional statement about mips to fix this.

(From OE-Core rev: 6bb6de711631fb2d339c447c6f88c8e06c17b967)

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
c0017bee41 cve-update-db-native: use SQL placeholders instead of format strings
(From OE-Core rev: 91770338f76ef35f3c4eeac216eb9d2b3188e575)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
7f5f884e55 flex: set CVE_PRODUCT to include vendor
There are many projects called Flex and they have CVEs, so also set the vendor
to remove these false positives.

(From OE-Core rev: 0598ccdcb31e16f1d1227197591b10ba441fcfe2)

Signed-off-by: Ross Burton <ross.burton@intel.com>

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
a78725c81f cve-check: allow comparison of Vendor as well as Product
Some product names are too vague to be searched without also matching the
vendor, for example Flex could be the parser compiler we ship, or Adobe Flex, or
Apache Flex, or IBM Flex.

If entries in CVE_PRODUCT contain a colon then split it as vendor:product to improve the search.

Also don't use .format() to construct SQL as that can lead to security
issues. Instead, use ? placeholders and lets sqlite3 handle the escaping.

(From OE-Core rev: e6bf90009877d00243417898700d2320fd87b39c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Mikko Rapeli
da620cc68b freetype: add --tag CC to libtool arguments
Fixes build failures on aarch64:

aarch64-poky-linux-libtool: compile: unable to infer tagged configuration

(From OE-Core rev: 2501fb402260d5d3929bffee78a1127dad2d538e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Andrej Valek
c41acbcf8a oe/copy_buildsystem: move layer into layers directory
Layers could be located outside from poky but inside the build directory.
This case should be covered in eSDK.
meta-abc
meta-def/meta-ghi
meta-def/poky
meta-def/meta-oe/meta-oe
...

It should take all enabled layers and put them into 'layers' dir during
build-time with respecting new relative path to poky.
layers/meta-abc
layers/meta-ghi
layers/poky
layers/meta-oe/meta-oe
...

(From OE-Core rev: 55ecf6988d3e3c0935cb6324a6ad2c75f1191a1d)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Mikko Rapeli
9f6dcdaf96 cve-check.bbclass: initialize to_append
Fixes build failure with core-image-minimal:

Exception: UnboundLocalError: local variable 'to_append' referenced before assignment

(From OE-Core rev: 270ac00cb43d0614dfe1c95f960c76e9e5fa20d4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Mikko Rapeli
aab3b7511c busybox: enable unicode support
While creating and deleting files with unicode or other
encodings works, it's annoying when ls and other core utils
show questionmarks instead of the unicode characters.
In 2019, it's quite common that users of embedded devices
based on yocto need unicode support. Debugging a box with
unicode encoded file names is a bit annoying when core utils
from busybox don't support them.

The unicode config fragment has the same config as Debian in their
deb and udeb builds of version 1:1.30.1-4.

If developers do not want this or other default yocto features in busybox,
or optimize the configuration for size, then they likely run a completely
custom configuration. Thus I think it's safe to enable unicode support
by default.

(From OE-Core rev: a48438422dbe64095bdb379c20428ba87e2a0e99)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
ab7dd20bee ed: set CVE vendor to avoid false positives
(From OE-Core rev: 2c3d689e4f78d8ea00b1bd2239af80c8fe038074)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
75b4b5d675 git: set CVE vendor to git-scm
There's a Jenkins plugin for Git.

(From OE-Core rev: f2adf5e4d3e9afc6d45665bbe728c69d195a46ef)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
85a7ae1086 boost: set CVE vendor to Boost
There's a Boost module for Drupal.

(From OE-Core rev: 30ff8bb6502d45549c698be052a1caf4cb5c611f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Ross Burton
b674d5cc27 subversion: set CVE vendor to Apache
There's a Jenkins plugin for Subversion.

(From OE-Core rev: ac115c3b5f1dcb95fb7d39537693fe0dcd330451)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Jun Nie
f1cd5b9b53 kernel-fitimage: uboot-sign: fix missing signature
u-boot.bin with dtb & signature should be placed in ${B} so that
it can be deployed by u-boot as expected. Otherwise, the version
without signature is installed.

(From OE-Core rev: bfc8c964a9760a2c4a1d1902918908a1e7361c17)

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-18 12:16:19 +01:00
Anuj Mittal
edab4b2cec python3: upgrade 3.7.3 -> 3.7.4
Also fixes CVE-2019-9740, CVE-2019-9948. For details, see:

https://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-4-final

(From OE-Core rev: 73579c846fe02fb14464869ed382faf8fe299636)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 19:25:02 +01:00
Anuj Mittal
494a622cb8 python: fix CVE-2019-9740
(From OE-Core rev: 8eddac3305b7b428565103cde88cba444e3f0dd0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 19:25:02 +01:00
Chee Yang Lee
b697aba61e wic: add support for kernel with initramfs bundled
when INITRAMFS_IMAGE_BUNDLE and INITRAMFS_IMAGE are set, wic should
look for kernel with initramfs image bundled.

Include required variable MACHINE, INITRAMFS_IMAGE_BUNDLE,
INITRAMFS_IMAGE, INITRAMFS_LINK_NAME and KERNEL_IMAGETYPE in WICVARS.
No longer require default value for variable kernel as KERNEL_IMAGETYPE
is not optional variable and included in WICVARS.
image_types_wic to inherit kernel-artifact-names to obtain default
INITRAMFS_LINK_NAME when INITRAMFS_IMAGE_BUNDLE are set.

update wic.Wic2.test_image_env test case to filter optional
variable INITRAMFS_LINK_NAME, INITRAMFS_IMAGE and INITRAMFS_IMAGE_BUNDLE.

(From OE-Core rev: bac984fbb2d5ad5d13ba3275c8a3e878d8753c58)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 19:25:02 +01:00
Anuj Mittal
28688a2770 nasm: fix CVE-2018-19755
(From OE-Core rev: 4a46516256c24cb30bc9629371816f893693b488)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 19:25:02 +01:00
Adrian Ratiu
897483147f opkg/package/rootfs_ipk: allow overwriting OPKGLIBDIR
Some distributions for various reasons (like for example mounting a
tmpfs over /var at runtime) can't use /var/lib to store the opkg
metadata, so a different path is required to have a functioning
package manager.

${localstatedir} can't be modified to something other than the
hardcoded value in bitbake.conf because other recipes depending on it
will fail to install.

So the only recourse, which is also the least invasive, is to allow
distros to overwrite the OPKGLIBDIR variable just like they are also
allowed to overwrite OPKGBUILDCMD.

(From OE-Core rev: 81eae383c287ad2e74321345c5eba862d5704cc4)

Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 19:25:02 +01:00
Ross Burton
ab5a665612 libid3tag: handle unknown encodings (CVE-2017-11550)
(From OE-Core rev: 5090afc1b07e62f70ebcf63a7abb75b8552f0a52)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Ross Burton
545858e6a0 libid3tag: CVE-2017-11551 is the same as CVE-2004-2779
(From OE-Core rev: 0663e5f8f906803685f018061d51fd6277916e50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Ross Burton
c75f0e9247 glibc: exclude child recipes from CVE scanning
As glibc will be scanned for CVEs, we don't need to scan glibc-locale,
glibc-mtrace, and glibc-scripts which are all separate recipes for technical
reasons.

Exclude the recipes by setting CVE_PRODUCT in the recipe, instead of using the
global whitelist.

(From OE-Core rev: 1f9a963b9ff7ebe052ba54b9fcbdf7d09478dd17)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Ross Burton
0c0a056db8 cve-check-tool: remove
(From OE-Core rev: 5388ed6d1378d647a65912dbd537f9ef3cb5760a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Ross Burton
91f6c9f3ee cve-check: remove redundant readline CVE whitelisting
CVE-2014-2524 is a readline CVE that was fixed in 6.3patch3 onwards, but the
tooling wasn't able to detect this version.  As we now ship readline 8 we don't
need to manually whitelist it, and if we did then the whitelisting should be in
the readline recipe.

(From OE-Core rev: 07bb8b25e172aa5c8ae96b6e8eb4ac901b835219)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Ricardo Ribalda Delgado
6726c663fd systemd: Fix interface bring-up on kernels >= 5.2
With kernels >=5.2  systemd-networkd is unable to bring up the link.

eth0: Could not bring up interface: Invalid argument

This is already reported upstream and fixed on master:

https://github.com/systemd/systemd/issues/12784

They recommend Debian to backport two patches.

(From OE-Core rev: 536d54ab46708ef921dbdcb68d1cf644ec639be8)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Changqing Li
eba6cd155a mdadm: make ptest output format align with common style
(From OE-Core rev: 99176bce7a185c996ef892b4f9b2617825a607fb)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Changqing Li
d9d208c532 opkg: make ptest output format align with common style
(From OE-Core rev: 333c2bd397ff3b0ec3e7812e04cb5e077fa59683)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Joshua Watt
067d475dbb scripts/buildstats-diff: Add option to filter tasks
Adds a command line option to filter out the buildstats-diff report by
one more more tasks. e.g.:

 buildstats-diff --only-task do_compile A B

will only show the differences for do_compile tasks. The --only-task
option can be specified multiple times to filter out multiple tasks at
once.

(From OE-Core rev: a8c7960d24c48107fd3703e49c38f890e84e2226)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Ricardo Ribalda Delgado
97ca346de8 nfs-mountd: Add missing dependency on systemd service
As described on: https://www.spinics.net/lists/linux-nfs/msg62022.html

mountd requires rpcbind, otherwise it can can fail to start, which can
lead to nfsroot not booting.

Upstream: http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=907426b00bdcd69d9a56ac1870990e8ae8c6fe9f

(From OE-Core rev: 1228dddfd11654e3b8830e1ef51f9ebeb152bd35)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Kai Kang
a659645605 webkitgtk: set incomptible with tune mips
It fails to compile webkit when default tune is 'mips':

| .../tmp-glibc/work/mips-wrs-linux/webkitgtk/2.24.2-r0/webkitgtk-2.24.2
| /Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:418:23:
| error: static assertion failed: CLZ opcode is not available for this ISA

So don't build webkit when default tune is mips.

(From OE-Core rev: 23573d4e69f4316d5812b5dd35314b5a0aa592e9)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:35 +01:00
Sai Hari Chandana Kalluri
57beed1d30 devtool: provide support for devtool menuconfig command
All packages that support the menuconfig task will be able to run
devtool menuconfig command. This would allow the user to modify the
current configure options and create a config fragment which can be
added to a recipe using devtool finish.

1. The patch checks if devtool menuconfig command is called for a valid
package.
2. It checks for oe-local-files dir within source and creates one if
needed, this directory is needed to store the final generated config
fragment so that devtool finish can update the recipe.
3. Menuconfig command is called for users to make necessary changes.
After saving the changes, diffconfig command is run to generate the
fragment.

Syntax:
	devtool menuconfig <package name>
	 Ex: devtool menuconfig linux-yocto

The config fragment is saved as devtool-fragment.cfg within
oe-local-files dir.

	Ex:
<workspace_path>/sources/linux-yocto/oe-local-files/devtool-fragment.cfg

Run devtool finish to update the recipe by appending the config fragment
to SRC_URI and place a copy of the fragment within the layer where the
recipe resides.
	Ex: devtool finish linux-yocto meta

[YOCTO #10416]

(From OE-Core rev: 417feb559a74b367315e8658d6ba868a4f8d1340)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:34 +01:00
Sai Hari Chandana Kalluri
3663a5d216 devtool/standard.py: Create a copy of kernel source within work-shared if not present
If kernel source is not already downloaded i.e staging kernel dir is
empty, place a copy of the source when the user runs devtool modify
linux-yocto.  This way the kernel source is available for other packages
that use it.

[YOCTO #10416]

(From OE-Core rev: bb42ab90835e8ec2f1dfbb35056c353784693266)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:34 +01:00
Sai Hari Chandana Kalluri
015c87d952 devtool/standard.py: Update devtool modify to copy source from work-shared if its already downloaded
In the regular devtool modify flow, the kernel source is fetched by
running do_fetch task. This is an overhead in time and space.

This patch updates modify command to check if the kernel source is
already downloaded. If so, then instead of calling do_fetch, copy the
source from work-shared to devtool workspace by creating hard links
else run the usual devtool modify flow and call do_fetch task.

[YOCTO #10416]

(From OE-Core rev: 3c3a9bae296f849dbfe03942282f44036e6fa1fb)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-17 09:36:34 +01:00
CHerzig@Gauselmann.de
3b6e8a2fe8 bitbake: fetch2/clearcase: Fix class import errors
(Bitbake rev: 9a5152fa4613a1164cbf2a0248460e75207b2624)

Signed-off-by: Christian Herzig <cherzig@gauselmann.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 14:19:15 +01:00
Richard Purdie
efc22e7555 bitbake: tests/runqueue: Allow common sstate tasks to become valid
As the logic in bitbake improves, the logic in the tests needs to as well.

Afer we built a task for the first time, allow its setscene hash verification
status to change, mirroring what would happen in a multiconfig build.

(Bitbake rev: 27ec2e69ab3e32972caf8b072b2945736696d83d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Richard Purdie
1069c36417 bitbake: runqueue: Optimise multiconfig with overlapping setscene
Currently if a multiconfig build contains different configurations which
have overlapping sstate artefacts, it will build them multiple times.
This is clearly suboptimal and not what users want/expect.

This adds code to detect this and stall all but one of the setscne tasks
so that once its built, it can be found by the other tasks.

We take care to iterate the multiconfigs in order so try and avoid
dependency loops. We also match on PN+taskname+taskhash since this is
what we know sstate in OE-Core would use. There are some tasks even within
a multiconfig which match hashes (mostly do_populate_lic tasks) but those
have a much higher chance of circular dependency so aren't work attempting
to optimise.

If a deadlock does occur the build will be slower but there is code to
unbreak such a deadlock so it hopefully doens't break anything.

Comments are injected into the test tasks so they have different task
hashes and a new test for this optimisation is added.

(Bitbake rev: a75c5fd6d4ec56836de0be2fe679c81297a080ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Richard Purdie
5333f31fc7 bitbake: runqueue: Abstract hash verification function
Pull the common pieces of the hash verification code into a single function
and reduce code duplication.

(Bitbake rev: d0c39e05cef841c6f29cc6c919df6cbf271a9bda)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Richard Purdie
be564f82ca bitbake: runqueue: Whitespace fix
Fix some unwanted extra indentation.

(Bitbake rev: 460a5c2e3e1d72f2da16fbc96832fadc82e72c52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Richard Purdie
3b01998281 bitbake: runqueue: Simplify some convoluted logic
This was left from when task IDs complicated the code, simplify.

(Bitbake rev: ae36b5c693bb9f13c88199e78e3c31616852eafb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Armin Kuster
00ec67b1ea timezone: update to 2019b
Briefly:
  Brazil no longer observes DST.
  'zic -b slim' outputs smaller TZif files; please try it out.
  Palestine's 2019 spring-forward transition was on 03-29, not 03-30.

Changes to future timestamps

  Brazil has canceled DST and will stay on standard time indefinitely.
  (Thanks to Steffen Thorsen, Marcus Diniz, and Daniel Soares de
  Oliveira.)

  Predictions for Morocco now go through 2087 instead of 2037, to
  work around a problem on newlib when using TZif files output by
  zic 2019a or earlier.  (Problem reported by David Gauchard.)

Changes to past and future timestamps

  Palestine's 2019 spring transition was 03-29 at 00:00, not 03-30
  at 01:00.  (Thanks to Sharef Mustafa and Even Scharning.)  Guess
  future transitions to be March's last Friday at 00:00.

Changes to past timestamps

  Hong Kong's 1941-06-15 spring-forward transition was at 03:00, not
  03:30.  Its 1945 transition from JST to HKT was on 11-18 at 02:00,
  not 09-15 at 00:00.  In 1946 its spring-forward transition was on
  04-21 at 00:00, not the previous day at 03:30.  From 1946 through
  1952 its fall-back transitions occurred at 04:30, not at 03:30.
  In 1947 its fall-back transition was on 11-30, not 12-30.
  (Thanks to P Chan.)

Changes to past time zone abbreviations

  Italy's 1866 transition to Rome Mean Time was on December 12, not
  September 22.  This affects only the time zone abbreviation for
  Europe/Rome between those dates.  (Thanks to Stephen Trainor and
  Luigi Rosa.)

Changes affecting metadata only

  Add info about the Crimea situation in zone1970.tab and zone.tab.
  (Problem reported by Serhii Demediuk.)

Changes to code

  zic's new -b option supports a way to control data bloat and to
  test for year-2038 bugs in software that reads TZif files.
  'zic -b fat' and 'zic -b slim' generate larger and smaller output;
  for example, changing from fat to slim shrinks the Europe/London
  file from 3648 to 1599 bytes, saving about 56%.  Fat and slim
  files represent the same set of timestamps and use the same TZif
  format as documented in tzfile(5) and in Internet RFC 8536.
  Fat format attempts to work around bugs or incompatibilities in
  older software, notably software that mishandles 64-bit TZif data
  or uses obsolete TZ strings like "EET-2EEST" that lack DST rules.
  Slim format is more efficient and does not work around 64-bit bugs
  or obsolete TZ strings.  Currently zic defaults to fat format
  unless you compile with -DZIC_BLOAT_DEFAULT=\"slim\"; this
  out-of-the-box default is intended to change in future releases
  as the buggy software often mishandles timestamps anyway.

  zic no longer treats a set of rules ending in 2037 specially.
  Previously, zic assumed that such a ruleset meant that future
  timestamps could not be predicted, and therefore omitted a
  POSIX-like TZ string in the TZif output.  The old behavior is no
  longer needed for current tzdata, and caused problems with newlib
  when used with older tzdata (reported by David Gauchard).

  zic no longer generates some artifact transitions.  For example,
  Europe/London no longer has a no-op transition in January 1996.

Changes to build procedure

  tzdata.zi now assumes zic 2017c or later.  This shrinks tzdata.zi
  by a percent or so.

Changes to documentation and commentary

  The Makefile now documents the POSIXRULES macro as being obsolete,
  and similarly, zic's -p POSIXRULES option is now documented as
  being obsolete.  Although the POSIXRULES feature still exists and
  works as before, in practice it is rarely used for its intended
  purpose, and it does not work either in the default reference
  implementation (for timestamps after 2037) or in common
  implementations such as GNU/Linux (for contemporary timestamps).
  Since POSIXRULES was designed primarily as a temporary transition
  facility for System V platforms that died off decades ago, it is
  being decommissioned rather than institutionalized.

  New info on Bonin Islands and Marcus (thanks to Wakaba and Phake
  Nick).

(From OE-Core rev: bbbb985808e5c301cdb7fdb1ff677706e99b4785)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Matthias Schiffer
c412e3d6a3 systemd: backport patch to fix sysctl warning on boot
Due to improved validation of sysctl settings in recent kernels (5.2+, but
also stable kernels like 4.19.53), systemd will log an error message like

    systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument

during boot. Backport the bugfix from the systemd master.

(From OE-Core rev: 289a29fc687d1224097f553a6f8c7f1baf903cae)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Mike Crowe
2381806f26 rootfs-postcommands: Cope with empty IMAGE_LINK_NAME in write_image_test_data
Ensure that we don't create an image test data symlink named
".testdata.json" when IMAGE_LINK_NAME is empty.

(From OE-Core rev: 97e1af51814c63963dc6eee003e0cf0e4dead024)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Mike Crowe
3e1938f6d2 rootfs-postcommands: Cope with empty IMAGE_LINK_NAME in write_image_manifest
Ensure that we don't create a symlink named ".manifest" if IMAGE_LINK_NAME
is empty.

(From OE-Core rev: 267697f5e1c931e39fd81dd1b14691e364be64f3)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Peter Kjellerstedt
63b9248721 nativesdk-meson: Remove some unused variables
(From OE-Core rev: 02b01280c0cc1e426d0cd9210c4bcd1f95977ab2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Peter Kjellerstedt
314fc656d9 meson.bbclass: Remove the MESON_*_ARGS variables
The options in ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} are already passed
via ${CC}/${CXX} and there is no reason to pass them a second time. Thus
we can remove MESON_TOOLCHAIN_ARGS. And when it is removed, the other
MESON_*_ARGS variables revert to the standard CFLAGS, CXXFLAGS and
LDFLAGS, so just use them directly instead.

Apart from the obvious improvement with not passing a lot of options
twice, this also solves a problem where -pie would be passed on the
command line in a way that it would prevent building any dynamic
libraries using meson if using a toolchain that is not built with
--enable-default-pie and if security_flags.inc is used.

(From OE-Core rev: 300f4ac59d4b96fc25a40565b22441b51ab08ede)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Ross Burton
8e63ec13b4 tiff: fix CVE-2019-7663
(From OE-Core rev: d06d6910d1ec9374bb15e02809e64e81198731b6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:17 +01:00
Ross Burton
d3e9a9b2a0 tiff: fix CVE-2019-6128
(From OE-Core rev: 7293e417dd9bdd04fe0fec177a76c9286234ed46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Ross Burton
63731c5d5f tiff: remove redundant patch
The patching to make the new libtool work (from 2008) is no longer needed.

(From OE-Core rev: 4210fafa851d011023f5a58ed3887148168f861c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Adrian Bunk
d46a59b21d e2fsprogs: Remove patch that disabled 64bit for ext4 by default
OE no longer ships a git snapshot of e2fsprogs,
so use the new upstream default now.

(From OE-Core rev: f5edce401cfb31ebd0200adaba9a201caf7ea705)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Zang Ruochen
1903478fe4 xauth:upgrade 1.0.10 -> 1.1
-Upgrade from xauth_1.0.10.bb to xauth_1.1.bb.

(From OE-Core rev: abe86c04ab3f5fec851bc28841fe52e19f6550a7)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Oleksandr Kravchuk
8fe735e7c9 iproute2: update to 5.2.0
(From OE-Core rev: e7844826305000f61e80268b74bf9cb85a005d4b)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Chen Qi
2552109842 msmtp: use alternatives to manage /usr/lib/sendmail
There are several packages which all provide /usr/lib/sendmail
when lsb is enabled. So use alternative to manage it.

(From OE-Core rev: 0a433802a9b7a41ab6732bc1915571b7a190985f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Mingli Yu
8af95f0ee7 mdadm: fix ptest hang
Before commit[80d17497b7 mdadm: improve the run-ptest],
the mdadm ptest just run some tests without
"--keep-going" option. After the option added in
commit 80d17497b7, all test cases have chance to
be called.

But the logic in mdadm upstream commit
[e2a8e9d tests: wait for complete rebuild in integrity checks]
will make the test enter infinite loop especially in
qemu env as commit e2a8e9d update the logic from
"check wait" to "check state 'U*'" for testcase
tests/01r5integ and tests/01raid6integ. Considering all
other cases still use "check wait" logic, so revert e2a8e9d
to make tests/01r5integ and tests/01raid6integ also use
"check wait" logic to avoid the infinite loop.

[YOCTO #13368]

(From OE-Core rev: b507793f4adde0c60588b06520d7d0b70acfd82a)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-16 13:53:16 +01:00
Ross Burton
2c6db4d8e7 conf/poky: add debian-10 to the supported distribution list
Debian 10 is the new stable release and is being tested on the autobuilder, so
add this to the supported distribution list.

[ YOCTO #13432 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 12:44:17 +01:00
Richard Purdie
2d472a3af8 bitbake: uihelper: No longer listen to scenequeue task started
With the merge of the scenequeue with real tasks, this now confuses the
statistics. The real tasks are the definitive progress so monitor only
those.

(Bitbake rev: 20956b508a082224139c8f56b68299edff6e0443)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
7484fb49a4 bitbake: tests: Add initial scenario based test for runqueue
We need some tests for runqueue, its been something which has been hard to test
for a long time. Add some dummy metadata to allow this, mirroring the OE
structure in spirit.

(Bitbake rev: 37564d7440c5d7aa05ec537f3b79026b1c83bb68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
39ef064da5 bitbake: runqueue: Complete the merge of scenequeue and normal task execution
This combines the scqenequeue and normal task execution into one function
and simplifies the state engine accordingly.

This is the final set of cleanup to fully merge things without adding the
extra noise to the previous commits.

(Bitbake rev: 56f3396d8c7cfbebd175877c9d773e4e35f8dea1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
2d84e3682c bitbake: runqueue: Alter setscenewhitelist handling
Since there is now parallel execution of setscene and normal tasks, the way
setscenewhitelist handling worked can't function the way it did. Paul and I
never liked its error output anyway.

This code tries a different approach, checking the task at execution time
but printing the uncovered task list.

This code may need improvement after real world usage but can
work with the new task flows.

(Bitbake rev: a08d8ba5f5194a09391b1904ee31c04c5f0b1e28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
cf829a5f66 bitbake: runqueue: Merge the queues and execute setscene and normal tasks in parallel
This is the serious functionality change in this runqueue patch series of
changes.

Rather than two phases of execution, the scenequeue setscene phase, followed
by normal task exeuction, this change allows them to execute in parallel
together.

To do this we need to handle marking of tasks as covered/uncovered in a piecemeal
fashion on a task by task basis rather than in a single function.

The code will block normal task exeuction until any setcene task which could
cover that task is executed and its status is known. There is a slight
optimisation which could be possible here at the risk of races but that
doesn't seem worthwhile.

The state engine isn't entirely cleaned up in this commit (see FIXME) and
the setscenewhitelist functionality is broken by it (see following patches)
however its good enough to test with normal workflows.

(Bitbake rev: 58b3f0847cc2d47e76f74d59dcbbf78fe41b118b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
491c6049e0 bitbake: runqueue: Clarify scenequeue_covered vs. tasks_covered
It wasn't clear whether the variable contained just setscene covered
tasks or all covered tasks. We need both sets of data so lets just have
two clearly named variables.

(Bitbake rev: a9fb55627762e7c8b3df30b335ad0b2f1adc080e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
4a1cb07df2 bitbake: runqueue: Further scheduler buildable tasks cleanup
The code for setting up buildable tasks can be simplified.

(Bitbake rev: ce3cd2df5b034f8dbdcf9834e8b9a393b6b01aad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
a9e759be65 bitbake: runqueue: Remove pointless variable
Its now clear a variable is pointless, remove it and tweak the logic
so the data structure of the existing variable matches what we need.

(Bitbake rev: c257c7b93b86dd794d31307e820215301c7ccf3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
5e3909bdce bitbake: runqueue: Code simplification
Simplfy some looping code which no longer has any purpose.

(Bitbake rev: 01dfc37095e5c661f275917d22aa1c1ad7f24d8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
5b57335ae4 bitbake: runqueue: Tweak comments and debug code
Add some extra comments to build_scenequeue_data() and fix the debug code
so it actually works.

(Bitbake rev: 8ea6d8193fc89b4596da69e400fbc50e5a443f9f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
b051b819bd bitbake: runqueue: Simplify scenequeue unskippable calculation
The existing code to compute the 'unskippable' setscene task list is overcomlicated,
so replace it with something functionally equivalent but simpler and more efficient.

We don't need to process all chains, just the 'top' ones to the first setscene tasks.

This also makes the code more readable.

(Bitbake rev: 06982c82f10cbdbea0b601e5cf0450a2a99c14c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
376aa786cd bitbake: runqueue: Add covered_tasks (or 'collated_deps') to scenequeue data
Its useful to have a list of all the tasks a given setscene task covers
and we can easily generate this data whilst doing other data processing.

This is used in later changes to runqueue rather than trying to compute it
on the fly which is difficult.

(Bitbake rev: 63ddc2fec40bd1b456702b97091f9dc5ef70a941)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
fb8fc5e78c bitbake: event/runqueue: Drop StampUpdate event, its pointless/unused
Whilst this class has existed for years, it doesn't have any
users and has a questionable interface. Drop it to allow for further
simplification and changes.

(Bitbake rev: 3ab51764f7965d696bb2c5a872bf161473df4289)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
97fda91810 bitbake: runqueue: Fold remains of the scenequeue setup into RunQueueExecute
Also move the scheduler init over, apart for the builtable tasks part which need
to remain called later.

(Bitbake rev: ad30a16cd30f9eab0224eb271f98f9a24516b621)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
b4c6a2d059 bitbake: runqueue: Simplify _execute_runqueue logic
Cleanup to the _execute_runqueue logic to reduce indentation, drop the
dummy executor class concept and prepare for further changes.

(Bitbake rev: 726e3c61a69fef16e605ba9b911a17cd99f1a2c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
d3d7163ab6 bitbake: runqueue: Remove RunQueueExecuteScenequeue and RunQueueExecuteTasks
Replace the remains of the Tasks and Scenequeue Tasks classes with simple
function calls. Also drop the dummy version of the execution class to
simplify further changes as its not needed.

(Bitbake rev: 33805394310046cd58c2194f6d063b3946811014)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
9341a6c5d1 bitbake: runqueue: Fix counter/task updating glitch
Some tasks were not being marked as covered/notcovered since internal
calls were being made without using the external call points.

Fix the accounting issues by using the correct external call points.

(Bitbake rev: fe0a7be03e8baed22f6b0915cd5f7956ba3fbf83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
57c527d630 bitbake: runqueue: Merge scenequeue and real task queue code together
Merge the unique functions from the Tasks and Scenequeue Tasks classes
into the common base class.

(Bitbake rev: 7539fe22bc831bb835901e3aca77985ab4ebc4c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
cfb7312b72 bitbake: runqueue: Merge stats handling together for setscene/real tasks
Use a seperate stats class for scenequeue tasks and move the setup
into the base class. Update references accordingly.

(Bitbake rev: 32f39bbd5d3b7394689da9ba05be2c15b4523b27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
dd7f09f471 bitbake: runqueue: Uniquely namespace the scenequeue functions
In preparation for merging the setscene and normal task execution,
uniquely namespace the scenequeue specific functions.

For the one shared function, add the "sq_live" variable so we know
which functions to send the results to.

(Bitbake rev: 2cbe9399902ba67dca566c7344b2247412cf4d5c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
2c0d4b6816 bitbake: runqueue: Factor out the process_setscene_whitelist checks
For ease of refactoring, move this code to its own separate function
until it becomes clear what we should do with it.

(Bitbake rev: 4b96b204f986dd62fba485876b7208665c14268d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
2a3a81b422 bitbake: runqueue: Remove unused function parameter
The function is only used by setscene code so the parameter is pointless,
remove it.

(Bitbake rev: b52dbf5e9cb327f8434213d286ad333f5dbad1d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
a4dae1741b bitbake: runqueue: Move scenequeue data generation to a separate function
Move the bulk of the scenequeue data generation to its own function
allowing for refactoring of the code.

Create the start of an object to represent this data.

(Bitbake rev: 68326e0426f25a1bbfd5ae3aa278656a3744053e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
76f64f94b3 bitbake: runqueue: Remove now uneeded code
With the removal of the setcene verify code, this additional code block
is also now unneeded since tasks can't be forced at this point in the code
any move. This effectively reverts f21910157d873c030b149c4cdc5b57c5062ab5a6.

(Bitbake rev: 4514fe4f045d595cc9b938f9326f66f2b3e99f71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
3911e74101 bitbake: runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2
Nothing in OE-Core uses this and hasn't since 2017. It wasn't needed by core
metadata since the switch to recipe specific sysroots.

Since this function would be hard to implement with the planned changes to
runqueue, drop it which allows simplification and further code cleanup.

(Bitbake rev: 5deaa5df730a8a846f3192b4a639b7a2a72c1b71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
217094844c bitbake: runqueue: Tweak buildable variable handling in scheduler
Work off a copy of the 'buildable' class variable, allowing easier
future code changes.

(Bitbake rev: e851169acfebba404514135bf512e6f045739a13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 10:28:12 +01:00
Richard Purdie
8a2914fc98 bitbake: siggen: Use unique hashes for tasks
Now that runqueue optimises based on task hash, we need to ensure
tasks have unique hashes even in the simplest siggen mode. Use
the task name to calculate a unique hash.

This fixes runqueue tests when hash optimisations are added.

(Bitbake rev: 8ede873ef4ef492fbaf01474685c1ca8b34d80d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:31:48 +01:00
Richard Purdie
eb3ae4a132 bitbake: siggen: Fix default handler
After the unihash changes the default signature handler didn't work. Tweak it
to adapt to those changes (allowing the runqueue tests to work).

(Bitbake rev: 7d486d3fb7176a3486f3f2484457724d7185df58)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:31:48 +01:00
Robert Yang
afc56a43b0 bitbake: cache: Set packages for skipped recipes
The provides and rprovides had been set for skipped recipes, packages are
similar to them (all of them provide something), so also set it. This makes it
easier to figure out the RDEPENDS issues, for example, lmsensors
(lmsensors_3.5.0.bb) RRECOMMENDS lmsensors-config-fancontrol
(lmsensors-config_1.0.bb), but lmsensors-config is skipped for some reasons,
then if we run:

$ bitbake lmsensors
ERROR: Nothing RPROVIDES 'lmsensors-config-fancontrol' (but /path/to/lmsensors_3.5.0.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'lmsensors-config-fancontrol' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lmsensors-config-fancontrol']
ERROR: Required build target 'lmsensors' has no buildable providers.
Missing or unbuildable dependency chain was: ['lmsensors', 'lmsensors-config-fancontrol']

We had no way to know who rprovides lmsensors-config-fancontrol, we can figure
it out by bitbake/contrib/dump_cache.py after this patch.

(Bitbake rev: 9cf7a5e5a28e676427970a821893e9d930973969)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:31:48 +01:00
Robert Yang
68467cfb89 bitbake: cache: Remove duplicated lines for provides and rprovides
Whether skip or not, they are always set, so move the lines ahead to avoid
duplicated lines.

(Bitbake rev: c1a8ebb8f83e5108b667f291c924fc2fbd2ac769)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:31:48 +01:00
Joshua Watt
e205bc6005 classes/icecc: Disable remote pre-processing by default
Unfortunately, GCC has a number of outstanding bugs related to using
-fdirectives-only, which causes a lot of errors when using Icecream.
See:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47254
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88475
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89658
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91152

Until many of these are addressed, it is better to disable remote
preprocessing.

(From OE-Core rev: 762528a66e5a6e3444f9c13c04ecac7f5bc8efd5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:30:00 +01:00
Ross Burton
e186617d0a ninja: use Python 3
As part of the mission to remove the use of Python 2, explicitly bootstrap Ninja
with Python 3.

(From OE-Core rev: b6a84fff1fbdab49af626d221085f3c052c4021d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:30:00 +01:00
Ross Burton
d19cbe3af5 qemu: use Python 3 to build
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building qemu.

(From OE-Core rev: 9b3ed6f7ab8bf56a05a074162ed37ead12f248cf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:30:00 +01:00
Ross Burton
e79615e786 grub: build with python 3
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building grub.

(From OE-Core rev: f2286cc31bd92d75c7f8662abe816867ab041d50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Ross Burton
65f5857513 libpsl: update Upstream-Status
(From OE-Core rev: 5904f257cb3b9059959c3619e0c7fee248ab1d51)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Adrian Bunk
a9bbda96eb meta: Remove remnants of bluez4 support
bluez4 was removed from meta-oe 2 years ago.

Simplfy the setup of the two level bluetooth and bluez4/bluez5
distro features by removing the bluez4/bluez5 distro features.

This also removes the no longer required bluetooth class.

(From OE-Core rev: dcf889e93401f7c4de0055d53271eacc3882eccc)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Chen Qi
7a6b2ce603 qemurunner.py: fix race condition at qemu startup
When handling pid file, qemu would first create the file, stat it,
lock it and then write actually contents to it.

So it's possbile that when reading the pid file, the content is empty.

[YOCTO #13390]

(From OE-Core rev: 170e59b203a02f8438b9aeab3a45f6fcd6608b1f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Chen Qi
41bac92fdb oeqa/runtime/rpm: Move test_rpm_query_nonroot test case to RpmBasicTest
The test_rpm_query_nonroot test case was in RpmInstallRemoveTest.
But it should logically belong to RpmBasicTest. So move it there.

(From OE-Core rev: 506388a10a26613524602dcb4e630f216c6fee60)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Chen Qi
d0d4c079d1 oeqa/runtime/rpm: ensure no user process running before deleting user
In case of systemd, `su -c 'xxx' test1' via ssh will create
several processes owned by test1, e.g. /lib/system/systemd --user.

These processes are actually managed by user@UID.service
(e.g. user@1000.service). And such service is managed
automatically by systemd. In other words, it will be cleaned
up by systemd automatically.

So we need to wait for systemd to clean it up before trying to
use `userdel' to delete the user.

(From OE-Core rev: 9d398be42a69d25277b929d760aaed1679f3cd54)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Peter Kjellerstedt
d692ff5c89 glibc-package.inc: Do not use bitbake variable syntax for shell variables
Using bitbake variable syntax (i.e., ${FOO}) for shell variables is
bad practice. First of all it is confusing, but more importantly it
can lead to weird problems if someone actually defines a bitbake
variable with the same name as the shell variable.

Also correct the indentation in stash_locale_cleanup().

(From OE-Core rev: 4e303063db731feae192314bab2ca16d26192dbb)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Haiqing Bai
adb34c1098 sysstat: Use sysstat.service in source for cron with systemd
The sysstat.service script in source launchs sysstat-collect and sysstat-summary
services when cron is installed with systemd. At this time, the upstream
sysstat.service must be installed.

(From OE-Core rev: 06a596ff8100f4a6506ff8d7f9ec93dd6aac6cb2)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Ross Burton
f0c0e393fe Revert "sysstat: use service file from source codes"
This doesn't actually work as the unit file is only installed if cron support is
enabled.

This reverts commit 721f09d489.

(From OE-Core rev: 559465348de5210c7d29361f79666b62bd6660aa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Richard Purdie
d04132897c sstate: Add tweak to avoid multiple sstate stats messages
After the recent changes in bitbake to runqueue, we need to recheck sstate validity,
particularly in multiconfig builds where tasks have the same checksum.

Avoid printing summary messages in this case. Also avoid multiple events to toaster
which may not be expecting that at later points in the code.

(From OE-Core rev: 227125b96ad6fb0cf6e259e787d83415993db847)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Zang Ruochen
f5c1349308 nss: Upgrade 3.44.1 -> 3.45
Upgrade from nss_3.44.1.bb to nss_3.45.bb.

(From OE-Core rev: 2d858c6ea0ebf5f79bb8c310f94082067593882d)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Zang Ruochen
b8390996e6 sqlite3: Upgrade 3.28.0 -> 3.29.0
Upgrade from sqlite3_3.28.0.bb to sqlite3_3.29.0.bb.

(From OE-Core rev: 184d574b35be9229c50331ad48c38cd444f53a60)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-15 09:29:59 +01:00
Ross Burton
80ab79168e gnome-themes-standard: remove
This is the Adwaita theme for GTK+ 2, which we don't include in oe-core anymore.

(From OE-Core rev: 9481da15c8eb8d5e866d97fdb337323e80d4f9e6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Ross Burton
c9f400d639 gtk+: remove GTK+ 2
GTK+ 2 is ancient, and shouldn't be used.  It will be moved to meta-oe for
people who do need it, but it shouldn't in oe-core.

[ YOCTO #12673 ]

(From OE-Core rev: 3c692e0d77e68908ab0ec421356bd4738c5327db)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Ross Burton
696cf580a5 oeqa/recipetool: change the CMake test to use taglib
The current test builds Navit, which uses GTK+ 2.  As GTK+ 2 is being removed
from oe-core, change the test to build taglib instead.

(From OE-Core rev: f627bce009dd275df807ffbc53b880c2490559ae)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Ross Burton
b098d0ba84 recipetool: add MD5 hash for the line-wrapped MPL-1.1 license
(From OE-Core rev: d2755523d339a4eba7a034bdef5563657609f563)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Bruce Ashfield
236e36a38e package: check PKG_ variables before executing ontarget postinst
If a package uses PKG_ variables to map package names to version specific
variants, on target postinstall functionality will be broken.

i.e. something like the following casuses rootfs assembly errors:

  d.setVar('pkg_postinst_ontarget_linux-source', 'cd /usr/src/; ln -sf %s linux-source' % source_pkg)

This breakage is due to the fact that the original package name (as specified by
the PACKAGES variable) is logged by the intercept scripts, but the mapped /
specific version is actually installed to the rootfs (and hence logged by the
package manager).

When the runtime listing of on-target scripts is performed, we get a package
manager error due to a missing package, since it checks the generic version
logged by the intercept scripts.

We can fix this by ensuring that the PKG_ variable mapped package name
is logged by the intercept phase, and hence the package manager can locate
and execute the on target postinst script.

This variable check is consistent with other places in the code, and has
no impact if PKG_ variables are not used.

(From OE-Core rev: a6af0886d1be584974086c0ddb4a5bc566eb7984)

Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Bruce Ashfield
82d3721e42 linux-yocto/4.19: update to 4.19.57 and -rt22
Updating the linux-yocto 4.19 recipe to the latest -stable and -rt
releases.

We also integrate a configuration change to support ptests on scsci
targets:

  scsi-debug: include core scsi support for standalone inclusion

The -stable changes comprise the following commits:

   1a0592436669 Linux 4.19.57
   3919d91f4d36 arm64: insn: Fix ldadd instruction encoding
   9c423fd89a2b usb: dwc3: Reset num_trbs after skipping
   2bbb6b547fbe tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
   89c49e7b6b0a RDMA: Directly cast the sockaddr union to sockaddr
   a319c8ff4f09 futex: Update comments and docs about return values of arch futex code
   4423a82cbde3 bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
   436869e0cd6d arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
   ba6340a7297f bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
   79c6a8c09978 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
   613bc37f74c9 bpf: fix unconnected udp hooks
   a7177b94aff4 bpf: fix nested bpf tracepoints with per-cpu data
   4992d4af5881 bpf: lpm_trie: check left child of last leftmost node for NULL
   5e558f9a6d7b bpf: simplify definition of BPF_FIB_LOOKUP related flags
   7d2c0ec20cb2 tun: wake up waitqueues after IFF_UP is set
   a08b915457d6 tipc: check msg->req data len in tipc_nl_compat_bearer_disable
   fdf3e98e1fd9 tipc: change to use register_pernet_device
   32b711f57ce7 team: Always enable vlan tx offload
   eeb770d6ab77 sctp: change to hold sk after auth shkey is created successfully
   9b7b0aab4750 net: stmmac: set IC bit when transmitting frames with HW timestamp
   a373bf728188 net: stmmac: fixed new system time seconds value calculation
   7d76fc211609 net: remove duplicate fetch in sock_getsockopt
   05dceb60e5dd net/packet: fix memory leak in packet_set_ring()
   7c92f3efbad0 ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
   0f3451723ddc bonding: Always enable vlan tx offload
   a4709127e5dd af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
   64032e2d9ba8 eeprom: at24: fix unexpected timeout under high load
   c22cea5a21b2 irqchip/mips-gic: Use the correct local interrupt map registers
   dd9f2fb59e01 SUNRPC: Clean up initialisation of the struct rpc_rqst
   b78ad2169282 cpu/speculation: Warn on unsupported mitigations= parameter
   27380331755f NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
   01a02a98ab1c KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT
   327460322c7c x86/resctrl: Prevent possible overrun during bitmap operations
   1746dc529104 x86/microcode: Fix the microcode load on CPU hotplug for real
   690049eddb0c x86/speculation: Allow guests to use SSBD even if host does not
   ee71e97285c2 scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
   2ba0a5009607 dm log writes: make sure super sector log updates are written in order
   87cf811ab6fb mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
   1192fb703d09 mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
   aab629188848 mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
   bcfed145e583 clk: socfpga: stratix10: fix divider entry for the emac clocks
   75f5d78d9fbe fs/binfmt_flat.c: make load_flat_shared_library() work
   49e9b499a34d mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
   6a811c099186 fs/proc/array.c: allow reporting eip/esp for all coredumping threads
   385cacd953b9 usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
   6edcdd0e6d8f usb: dwc3: gadget: remove wait_end_transfer
   d7ff2e3ff0e0 usb: dwc3: gadget: move requests to cancelled_list
   bba5f9878f67 usb: dwc3: gadget: introduce cancelled_list
   65e1f3403108 usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
   56092bd50eb9 usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue()
   2a2b1c4dc510 usb: dwc3: gadget: track number of TRBs per request
   420b1237c79f usb: dwc3: gadget: combine unaligned and zero flags
   62805d31969b Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup"
   3726d8d0b60f qmi_wwan: Fix out-of-bounds read
   cfbe930c7142 net/9p: include trans_common.h to fix missing prototype warning.
   6518b4126b3f 9p/trans_fd: put worker reqs on destroy
   6fad469c84fc 9p/trans_fd: abort p9_read_work if req status changed
   39bf142ae0ca 9p: potential NULL dereference
   6490cdf9d29d 9p: p9dirent_read: check network-provided name length
   e48e7e27e4df 9p/rdma: remove useless check in cm_event_handler
   fb0cbbd8dec7 9p: acl: fix uninitialized iattr access
   3dc511c9ccb9 9p: Rename req to rreq in trans_fd
   04ee7e7b4795 9p/rdma: do not disconnect on down_interruptible EAGAIN
   3665a4d9dca1 9p: Add refcount to p9_req_t
   fa3625794f1a 9p: rename p9_free_req() function
   be87f21e6b25 9p: add a per-client fcall kmem_cache
   1555583b63b3 9p: embed fcall in req to round down buffer allocs
   3ea4cf422323 9p: Use a slab for allocating requests
   f8bc5f1a3aba 9p/xen: fix check for xenbus_read error in front_probe
   a8782ce02687 IB/hfi1: Close PSM sdma_progress sleep window
   fec1a13bdfa9 Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
   85a3b1ef969b arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
   6461a4543b34 perf header: Fix unchecked usage of strncpy()
   0bf5d53b53c8 perf help: Remove needless use of strncpy()
   6e75d9272c92 perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul
   aec3002d07fd Linux 4.19.56
   cd3e49394cb0 powerpc/mm/64s/hash: Reallocate context ids on fork
   8c4fe20091cd x86/resctrl: Don't stop walking closids when a locksetup group is found
   d451b505b676 mac80211: Do not use stack memory with scatterlist for GMAC
   72dc6786d77a nl80211: fix station_info pertid memory leak
   1e1007ac47d8 mac80211: handle deauthentication/disassociation from TDLS peer
   ccf6a155844b {nl,mac}80211: allow 4addr AP operation on crypto controlled devices
   0e879ef1cb5b mac80211: drop robust management frames from unknown TA
   17d941dc3033 cfg80211: fix memory leak of wiphy device name
   5293c79c6f60 SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
   db7f1076c0bd Bluetooth: Fix regression with minimum encryption key size alignment
   5e9a6c68de0f Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
   64e370233a07 staging: erofs: add requirements field in superblock
   e6803ce36d49 drm/vmwgfx: Use the backdoor port if the HB port is not available
   7499528bb078 arm64: ssbd: explicitly depend on <linux/prctl.h>
   3e16b5c25466 arm64/sve: <uapi/asm/ptrace.h> should not depend on <uapi/linux/prctl.h>
   2296fd59eb30 ARM: dts: am57xx-idk: Remove support for voltage switching for SD card
   cc87ab841bb1 ARM: dts: dra76x: Update MMC2_HS200_MANUAL1 iodelay values
   03426208d1f9 ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX
   48ee85dc9c52 powerpc/bpf: use unsigned division instruction for 64-bit operations
   a96ac5cb8a56 riscv: mm: synchronize MMU after pte change
   5ad9a23e6dae can: purge socket error queue on sock destruct
   4ea81cc49c59 can: flexcan: fix timeout when set small bitrate
   f6a2c8b3c24a can: xilinx_can: use correct bittiming_const for CAN FD core
   c592b1c3a994 btrfs: start readahead also in seed devices
   17f1dca21d16 nvme: Fix u32 overflow in the number of namespace list calculation
   71d019a6dae9 arm64: Silence gcc warnings about arch ABI drift
   d72a4c78c124 hwmon: (pmbus/core) Treat parameters as paged if on multiple pages
   6029e5818805 hwmon: (core) add thermal sensors only if dev->of_node is present
   153f2d97d0d7 s390/qeth: fix VLAN attribute in bridge_hostnotify udev event
   cedb209bfa5a net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
   5327e985e61e scsi: smartpqi: unlock on error in pqi_submit_raid_request_synchronous()
   04ceb1348973 scsi: ufs: Check that space was properly alloced in copy_query_response
   e1a101a9dae9 scripts/checkstack.pl: Fix arm64 wrong or unknown architecture
   1f74977c2740 nvmet: fix data_len to 0 for bdev-backed write_zeroes
   8388af891e0e drm/arm/hdlcd: Allow a bit of clock tolerance
   7c7c88deb14d drm/arm/hdlcd: Actually validate CRTC modes
   1fcb0e389538 drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times
   377958c3ff2c net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled
   ee2f9878bc04 net: ethernet: mediatek: Use hw_feature to judge if HWLRO is supported
   16cdab63987c sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD
   7b460a9bb13d mdesc: fix a missing-check bug in get_vdev_port_node_info()
   6bf97a6cb6ce net: hns: Fix loopback test failed at copper ports
   4336ba249b7d net: dsa: mv88e6xxx: avoid error message on remove from VLAN 0
   bf51ec92a35e selftests: vm: install test_vmalloc.sh for run_vmtests
   a0e8215eb9f8 kselftest/cgroup: fix incorrect test_core skip
   59243d6fb45c kselftest/cgroup: fix unexpected testing failure on test_core
   9c2eebe31d75 kselftest/cgroup: fix unexpected testing failure on test_memcontrol
   ae0d1c08843d xtensa: Fix section mismatch between memblock_reserve and mem_reserve
   3089c0ea8a1f MIPS: uprobes: remove set but not used variable 'epc'
   63542eb24ab9 IB/hfi1: Validate page aligned for a given virtual address
   4d61fc383bb5 IB/{qib, hfi1, rdmavt}: Correct ibv_devinfo max_mr value
   830991121773 IB/hfi1: Insure freeze_work work_struct is canceled on shutdown
   3fe551cc9e4e IB/rdmavt: Fix alloc_qpn() WARN_ON()
   3333e0409424 parisc: Fix compiler warnings in float emulation code
   f9dd0f0928a3 parport: Fix mem leak in parport_register_dev_model
   4c950c8bb31a fpga: dfl: Add lockdep classes for pdata->lock
   505de32ea952 fpga: dfl: afu: Pass the correct device to dma_mapping_error()
   7b2145e22247 ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
   15004afd9845 ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node
   8f3793bfa3ea dmaengine: sprd: Fix block length overflow
   e478abd4ebf7 dmaengine: dw-axi-dmac: fix null dereference when pointer first is null
   4c21b761b40e ARC: fix build warnings
   d64f99ef010d brcmfmac: sdio: Don't tune while the card is off
   0ad82f2eb3f6 brcmfmac: sdio: Disable auto-tuning around commands expected to fail
   31c99580687a apparmor: enforce nullbyte at end of tag string
   eb2b0bf5c4a4 apparmor: fix PROFILE_MEDIATES for untrusted input
   1d08fe254fd6 Input: silead - add MSSL0017 to acpi_device_id
   ebd7dda84ec2 Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD
   9f3559e4f6cd Input: synaptics - enable SMBus on ThinkPad E480 and E580
   e61e41ffcfeb iio: temperature: mlx90632 Relax the compatibility check
   303386b31bfb IB/hfi1: Silence txreq allocation warnings
   7cc9c9930947 IB/hfi1: Validate fault injection opcode user input
   17027034a47b usb: xhci: Don't try to recover an endpoint if port is in error state.
   d606a82ccc0a xhci: detect USB 3.2 capable host controllers correctly
   e6563039674d usb: chipidea: udc: workaround for endpoint conflict issue
   0746b2f50142 scsi: ufs: Avoid runtime suspend possibly being blocked forever
   98467b8fda41 mmc: core: Prevent processing SDIO IRQs when the card is suspended
   0349dbebbb0b mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()
   7ed49e1bf5b3 mmc: core: API to temporarily disable retuning for SDIO CRC errors
   4b6d290cc1c1 mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning
   4c15ded55979 s390/ap: rework assembler functions to use unions for in/out register variables
   fb48fb155e1b s390/jump_label: Use "jdd" constraint on gcc9
   0319ef1d40ff ovl: fix bogus -Wmaybe-unitialized warning
   639e8c2f0910 ovl: don't fail with disconnected lower NFS
   f1c5aa5eda08 ovl: detect overlapping layers
   a00f405e133f ovl: make i_ino consistent with st_ino in more cases
   d6623379d895 ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls
   3cb5d7fa8f7d ovl: support the FS_IOC_FS[SG]ETXATTR ioctls
   76343a1363f8 gcc-9: silence 'address-of-packed-member' warning
   6a997c3a239a objtool: Support per-function rodata sections
   c493ead38adb tracing: Silence GCC 9 array bounds warning
   78778071092e Linux 4.19.55
   dad3a9314ac9 tcp: refine memory limit test in tcp_fragment()
   63bbbcd8ed53 Linux 4.19.54
   e8e448b08450 Abort file_remove_privs() for non-reg. files
   465ce9a50f8a coredump: fix race condition between collapse_huge_page() and core dumping
   c7fb6b75def2 ocfs2: fix error path kobject memory leak
   fedb1b9c9191 mlxsw: spectrum: Prevent force of 56G
   114e8135ae00 scsi: libsas: delete sas port if expander discover failed
   89ede9d8b5b8 scsi: scsi_dh_alua: Fix possible null-ptr-deref
   cb7c6c33d3bb scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
   214c5933ffcf scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
   7b9e10944f0d net: phy: dp83867: Set up RGMII TX delay
   7698ad8c14c7 net: phylink: ensure consistent phy interface mode
   8fb2c7969009 net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
   467f902643f5 arm64: use the correct function type for __arm64_sys_ni_syscall
   98fd62e0a157 arm64: use the correct function type in SYSCALL_DEFINE0
   c5fdfaedecc2 arm64: fix syscall_fn_t type
   df6384e0f42e KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
   b376683f6ab1 KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
   4acce744284c xenbus: Avoid deadlock during suspend due to open transactions
   66f33b2bd2d8 xen/pvcalls: Remove set but not used variable
   d92ebe0c1d26 ia64: fix build errors by exporting paddr_to_nid()
   60a3e3b9e5ec perf record: Fix s390 missing module symbol and warning for non-root users
   be0e62666da1 perf namespace: Protect reading thread's namespace
   7d523e33f4b6 perf data: Fix 'strncat may truncate' build failure with recent gcc
   e9fcebe01822 configfs: Fix use-after-free when accessing sd->s_dentry
   ab7a3d9accae ALSA: hda - Force polling mode on CNL for fixing codec communication
   7bea5618eaf9 i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr
   197501af7ff3 net: aquantia: fix LRO with FCS error
   388534d45f04 net: aquantia: tx clean budget logic error
   b7ca3f331d57 drm/etnaviv: lock MMU while dumping core
   ee61fb4de955 ACPI/PCI: PM: Add missing wakeup.flags.valid checks
   bc19b50b80ca net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
   9a3208b66cc1 net: stmmac: update rx tail pointer register to fix rx dma hang issue.
   3fbcef3350ab gpio: fix gpio-adp5588 build errors
   991ea848a5c9 perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
   c133c9db233d perf/ring_buffer: Add ordering to rb->nest increment
   cca19ab29a1a perf/ring_buffer: Fix exposing a temporarily decreased data_head
   a35e78220a9f x86/CPU/AMD: Don't force the CPB cap when running under a hypervisor
   8e5666cdb36b mISDN: make sure device name is NUL terminated
   f3885eecd253 usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()
   930d31a6f344 powerpc/powernv: Return for invalid IMC domain
   00ed897d618e clk: ti: clkctrl: Fix clkdm_clk handling
   ef4ffa0f0b67 selftests: netfilter: missing error check when setting up veth interface
   61c83de6e622 ipvs: Fix use-after-free in ip_vs_in
   883ce78cded5 netfilter: nf_queue: fix reinject verdict handling
   5a9c29cc2140 perf/x86/intel/ds: Fix EVENT vs. UEVENT PEBS constraints
   dd9b6de79b67 Staging: vc04_services: Fix a couple error codes
   97605ba68790 net: mvpp2: prs: Use the correct helpers when removing all VID filters
   b6a1eabf72a0 net: mvpp2: prs: Fix parser range for VID filtering
   4642a659ab96 net/mlx5: Avoid reloading already removed devices
   1b201b63b647 vsock/virtio: set SOCK_DONE on peer shutdown
   b86a5ccda5c3 tipc: purge deferredq list for each grp member in tipc_group_delete
   e1b0c311b790 sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg
   d7fcb54ed2a9 sctp: Free cookie before we memdup a new one
   4bb4ba362cc1 nfc: Ensure presence of required attributes in the deactivate_target handler
   7530c3f3d5b9 net: openvswitch: do not free vport if register_netdevice() is failed.
   fc762c999768 net: dsa: rtl8366: Fix up VLAN filtering
   103835df6821 neigh: fix use-after-free read in pneigh_get_next
   2980196db6c1 lapb: fixed leak of control-blocks.
   7eadfacd2be2 ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero
   a5ae5920426e hv_netvsc: Set probe mode to sync
   674dc77bd3ec be2net: Fix number of Rx queues used for flow hashing
   10faaa359b41 ax25: fix inconsistent lock state in ax25_destroy_timer
   9f31eb60d7a2 Linux 4.19.53
   90fc261d509e rtc: pcf8523: don't return invalid date when battery is low
   04757d0e3789 drm: add fallback override/firmware EDID modes workaround
   29a6026624cd drm/edid: abstract override/firmware EDID retrieval
   e93ce57f60ca x86/resctrl: Prevent NULL pointer dereference when local MBM is disabled
   0257fc9aa53f x86/mm/KASLR: Compute the size of the vmemmap section properly
   5e3d10d9375d x86/kasan: Fix boot with 5-level paging and KASAN
   ecec31ce4f33 x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback
   fa982c692b2f RAS/CEC: Fix binary search function
   e40db40e45cc RAS/CEC: Convert the timer callback to a workqueue
   ca4c34037bb9 timekeeping: Repair ktime_get_coarse*() granularity
   0fcd1432f8b0 USB: serial: option: add Telit 0x1260 and 0x1261 compositions
   5080fb4b3828 USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode
   d5f20ee10ac0 USB: serial: pl2303: add Allied Telesis VT-Kit3
   c00cd066a024 USB: usb-storage: Add new ID to ums-realtek
   3c7439e2eab9 USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
   f05b0bf073ef usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)
   63feb7e69fdc usb: dwc2: Fix DMA cache alignment issues
   15bc8e8d4dad drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
   328648ac6aa5 drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read
   2399b2ac2be7 tools/kvm_stat: fix fields filter for child events
   f69f5679ff8f KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
   9d8f338c92cc KVM: x86/pmu: do not mask the value that is written to fixed PMUs
   04d2a113a283 KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
   60b300975e5f KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation
   9366f5dc8409 usbnet: ipheth: fix racing condition
   86895090621c tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts
   b64df8133c2e selftests/timers: Add missing fflush(stdout) calls
   3e1d7417b4d6 selftests: fib_rule_tests: fix local IPv4 address typo
   90a564549b4a libnvdimm: Fix compilation warnings with W=1
   ccc9ba8d2508 scsi: bnx2fc: fix incorrect cast to u64 on shift operation
   d7a32c8a1ce1 platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table
   1a80d9ff8253 platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table
   c0d3e166e16a nvme: fix memory leak for power latency tolerance
   ddda7e850bf1 nvme: release namespace SRCU protection before performing controller ioctls
   3188fcebbcbd nvme: merge nvme_ns_ioctl into nvme_ioctl
   54261634bdf8 nvme: remove the ifdef around nvme_nvm_ioctl
   a6515af9b839 nvme: fix srcu locking on error return in nvme_get_ns_from_disk
   c4e97af6bff4 arm64/mm: Inhibit huge-vmap with ptdump
   0e50da1e7ced scsi: lpfc: add check for loss of ndlp when sending RRQ
   334d1a2373af scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
   32d3f7d9dec1 scsi: qedi: remove set but not used variables 'cdev' and 'udev'
   f3a7a1137ffc scsi: qedi: remove memset/memcpy to nfunc and use func instead
   ae3787d433f7 f2fs: fix to avoid accessing xattr across the boundary
   32f26da4b769 Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var
   fcc1ce5b4f42 s390/kasan: fix strncpy_from_user kasan checks
   eddfe9672ed2 Revert "ALSA: seq: Protect in-kernel ioctl calls with mutex"
   731ebeeda51f ALSA: seq: Fix race of get-subscription call vs port-delete ioctls
   b52fd8af8db3 ALSA: seq: Protect in-kernel ioctl calls with mutex
   82055ad3d3ed x86/uaccess, kcov: Disable stack protector
   b08ec06c94fc drm/i915/sdvo: Implement proper HDMI audio support for SDVO
   b7398f45e3d6 ASoC: fsl_asrc: Fix the issue about unsupported rate
   d7d15ac38ba6 ASoC: cs42xx8: Add regcache mask dirty
   c3b85bda41f0 cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()
   e599bfe54305 bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
   973fc2b3434b bcache: fix stack corruption by PRECEDING_KEY()
   da3b915a57c3 i2c: acorn: fix i2c warning
   d3e58022c017 iommu/arm-smmu: Avoid constant zero in TLBI writes
   31e216cf9dc2 ptrace: restore smp_rmb() in __ptrace_may_access()
   662b831dde61 signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO
   54a20289cbfb mm/vmscan.c: fix trying to reclaim unevictable LRU page
   6b9aa7ac48d7 fs/ocfs2: fix race in ocfs2_dentry_attach_lock()
   553a1f0d3c69 mm/list_lru.c: fix memory leak in __memcg_init_list_lru_node
   b7f8bbbbb973 libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
   88fe03076062 ALSA: firewire-motu: fix destruction of data for isochronous resources
   786b1b40dfb9 ALSA: hda/realtek - Update headset mode for ALC256
   27effeff4533 ALSA: oxfw: allow PCM capture for Stanton SCS.1m
   b59c93226489 Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"
   9fbd67c56529 HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
   dd1d71ad57a4 HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth
   529013533d73 HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact
   3e9c0eb15932 HID: wacom: Don't report anything prior to the tool entering range
   52a7d604615a HID: wacom: Don't set tool type until we're in range
   fa212dd5a604 HID: multitouch: handle faulty Elo touch device
   9ae306d8dbc8 nouveau: Fix build with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT disabled
   d54e1b848e99 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
   6500aa436df4 Linux 4.19.52
   59222807fcc9 tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
   7f9f8a37e563 tcp: add tcp_min_snd_mss sysctl
   ec83921899a5 tcp: tcp_fragment() should apply sane memory limits
   c09be31461ed tcp: limit payload size of sacked skbs
   7aa823a959e1 Linux 4.19.51
   b323914cd033 ALSA: seq: Cover unsubscribe_port() in list_mutex
   3af96f3497b7 drm/vc4: fix fb references in async update
   afec706807cd ovl: support stacked SEEK_HOLE/SEEK_DATA
   22dac6cc9549 ovl: check the capability before cred overridden
   b616b9dbc5f6 Revert "drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)"
   8e5483aeae0d Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"
   526972e95ef9 percpu: do not search past bitmap when allocating an area
   d4d5dce6d329 gpio: vf610: Do not share irq_chip
   28229df6ad13 soc: renesas: Identify R-Car M3-W ES1.3
   db54e08c5832 usb: typec: fusb302: Check vconn is off when we start toggling
   ce183fad3aa8 ARM: exynos: Fix undefined instruction during Exynos5422 resume
   384642ff6465 pwm: Fix deadlock warning when removing PWM device
   7905b2331338 ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa
   78002e383be7 pwm: tiehrpwm: Update shadow register for disabling PWMs
   9fdcb04e80e1 dmaengine: idma64: Use actual device for DMA transfers
   da00c89fce7a ice: Add missing case in print_link_msg for printing flow control
   456e3563725a gpio: gpio-omap: add check for off wake capable gpios
   47d281bbbff9 PCI: xilinx: Check for __get_free_pages() failure
   b5a185ee30d7 block, bfq: increase idling for weight-raised queues
   e06d7a92796c video: imsttfb: fix potential NULL pointer dereferences
   1f2611af4581 video: hgafb: fix potential NULL pointer dereference
   5957f6f5aaa6 scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags
   c2c7b6fee389 PCI: rcar: Fix 64bit MSI message address handling
   dd54e70c47de PCI: rcar: Fix a potential NULL pointer dereference
   272f8c3ddd31 net: hns3: return 0 and print warning when hit duplicate MAC
   5a286ced4911 power: supply: max14656: fix potential use-before-alloc
   901daed2f173 platform/x86: intel_pmc_ipc: adding error handling
   613752b3a8fb ARM: OMAP2+: pm33xx-core: Do not Turn OFF CEFUSE as PPA may be using it
   668440f6ee3f drm/amd/display: Use plane->color_space for dpp if specified
   671fc9007c48 PCI: rpadlpar: Fix leaked device_node references in add/remove paths
   b531acbd86d2 ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA
   584cabc69aee ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA
   02936545fbea ARM: dts: imx6ul: Specify IMX6UL_CLK_IPG as "ipg" clock to SDMA
   36a7fda0595b ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA
   c84911bb39d1 ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" clock to SDMA
   a2e661f99c4d ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ahb" clock to SDMA
   461f4183926c ARM: dts: imx53: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
   998860d0384d ARM: dts: imx50: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
   70465bbbaeae ARM: dts: imx51: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
   57f89084a7e1 soc: rockchip: Set the proper PWM for rk3288
   b16594860a30 clk: rockchip: Turn on "aclk_dmac1" for suspend on rk3288
   8e9dd864d6a7 soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher
   f7c0e67054d8 PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64
   a357310a5774 platform/chrome: cros_ec_proto: check for NULL transfer function
   b78a9b2818d5 i40e: Queues are reserved despite "Invalid argument" error
   aeb743dbe936 x86/PCI: Fix PCI IRQ routing table memory leak
   47e6a354e248 net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
   31aa2a7a8566 switchtec: Fix unintended mask of MRPC event
   4b19a45eed4d iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
   f7883f9b5a67 vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"
   806e83958482 nfsd: avoid uninitialized variable warning
   b4330e4a7c12 nfsd: allow fh_want_write to be called twice
   ae35c325d8fd fuse: retrieve: cap requested size to negotiated max_write
   1c2e974628d1 nvmem: sunxi_sid: Support SID on A83T and H5
   0412a8857198 nvmem: core: fix read buffer in place
   962ce4023178 ALSA: hda - Register irq handler after the chip initialization
   028b3d8d549e netfilter: nf_flow_table: fix netdev refcnt leak
   650a4b7c5d66 netfilter: nf_flow_table: check ttl value in flow offload data path
   52d7b067fadf nvme-pci: shutdown on timeout during deletion
   6ce2ad24ae9c nvme-pci: unquiesce admin queue on shutdown
   e9db931283fd PCI: designware-ep: Use aligned ATU window for raising MSI interrupts
   a7f27994b207 misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test
   ed6efdb74438 iommu/vt-d: Set intel_iommu_gfx_mapped correctly
   525b5265fd75 blk-mq: move cancel of requeue_work into blk_mq_release
   d6c80b609d81 watchdog: fix compile time error of pretimeout governors
   0f50c30c8470 watchdog: imx2_wdt: Fix set_timeout for big timeout values
   dc58e4027430 netfilter: nf_tables: fix base chain stat rcu_dereference usage
   2d433cc9bd31 mips: Make sure dt memory regions are valid
   2aed9dfe1e5d netfilter: nf_conntrack_h323: restore boundary check correctness
   d0941980fd81 netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast
   217ec4a6e4ef mmc: mmci: Prevent polling for busy detection in IRQ context
   06382ad6cf31 ovl: do not generate duplicate fsnotify events for "fake" path
   5fbe39bfd1e0 PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi()
   a6b79e2c7c02 PCI: dwc: Free MSI in dw_pcie_host_init() error path
   a4aa02826701 uml: fix a boot splat wrt use of cpu_all_mask
   4dc146d47fea configfs: fix possible use-after-free in configfs_register_group
   5329dcafead2 percpu: remove spurious lock dependency between percpu and sched
   8d7ebdd109b4 f2fs: fix to do checksum even if inode page is uptodate
   640248545436 f2fs: fix to do sanity check on valid block count of segment
   101e48feb661 f2fs: fix to use inline space only if inline_xattr is enable
   45624f0e8142 f2fs: fix to avoid panic in dec_valid_block_count()
   47a92acf9ebf f2fs: fix to clear dirty inode in error path of f2fs_iget()
   ca9fcbc5a5f5 f2fs: fix to do sanity check on free nid
   f3aa313d0d4f f2fs: fix to avoid panic in f2fs_remove_inode_page()
   0325c5cce544 f2fs: fix to avoid panic in f2fs_inplace_write_data()
   8490bf2d6176 f2fs: fix to avoid panic in do_recover_data()
   0b50d08c5d85 ntp: Allow TAI-UTC offset to be set to zero
   102f6e1249fb mailbox: stm32-ipcc: check invalid irq
   c5b2c8249ff3 pwm: meson: Use the spin-lock only to protect register modifications
   689fe88d51aa EDAC/mpc85xx: Prevent building as a module
   f9ee13ce21db bpf: fix undefined behavior in narrow load handling
   991b51048c49 drm/nouveau/kms/gv100-: fix spurious window immediate interlocks
   20e1a16702d9 objtool: Don't use ignore flag for fake jumps
   124c23dca3ac drm/bridge: adv7511: Fix low refresh rate selection
   2a3f2b43a9e3 drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change
   f9706dd945e9 perf/x86/intel: Allow PEBS multi-entry in watermark mode
   5540d0146151 mfd: twl6040: Fix device init errors for ACCCTL register
   3b8892bea9eb drm/nouveau/disp/dp: respect sink limits when selecting failsafe link configuration
   e9a8c9805f58 mfd: intel-lpss: Set the device in reset state when init
   12c57327a128 mfd: tps65912-spi: Add missing of table registration
   1196b79a20f7 drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER
   fd77a5117721 thermal: rcar_gen3_thermal: disable interrupt in .remove
   c50c4fb0cb62 kernel/sys.c: prctl: fix false positive in validate_prctl_map()
   515d18ced8e1 mm/slab.c: fix an infinite loop in leaks_show()
   13e1ea0881da mm/cma_debug.c: fix the break condition in cma_maxchunk_get()
   38c5fce7fc48 mm: page_mkclean vs MADV_DONTNEED race
   77a01e33570c mm/cma.c: fix the bitmap status to show failed allocation reason
   25511676362d initramfs: free initrd memory if opening /initrd.image fails
   e5f8857ea972 mm/cma.c: fix crash on CMA allocation if bitmap allocation fails
   5094a85d6d93 mem-hotplug: fix node spanned pages when we have a node with only ZONE_MOVABLE
   ffaafd27b067 hugetlbfs: on restore reserve error path retain subpool reservation
   85e1a6c4b3e5 mm/hmm: select mmu notifier when selecting HMM
   e0c3fc1f8fe3 ARM: prevent tracing IPI_CPU_BACKTRACE
   4d3811a60e10 drm/pl111: Initialize clock spinlock early
   20de754a7d88 ipc: prevent lockup on alloc_msg and free_msg
   91ae202e2c88 sysctl: return -EINVAL if val violates minmax
   5b6619b4d206 fs/fat/file.c: issue flush after the writeback of FAT
   2a89e4c5ee2e rapidio: fix a NULL pointer dereference when create_workqueue() fails
   768292d05361 Linux 4.19.50
   51dc284e2a87 ethtool: check the return value of get_regs_len
   645fa685bb20 ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
   ec8a9eb2a6c1 TTY: serial_core, add ->install
   6bdc692f5c9e drm/i915/gvt: Initialize intel_gvt_gtt_entry in stack
   fbb7e114e6e6 drm: don't block fb changes for async plane updates
   6600ec2600d6 drm/i915: Maintain consistent documentation subsection ordering
   360e00e290a3 drm/i915/fbc: disable framebuffer compression on GeminiLake
   554f4253700e drm/i915: Fix I915_EXEC_RING_MASK
   f3dcc88d531f drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in
   84c82ab8f133 drm/radeon: prefer lower reference dividers
   748a97ec6c15 drm/amdgpu/psp: move psp version specific function pointers to early_init
   98a8cb0282ab drm: add non-desktop quirks to Sensics and OSVR headsets.
   610382337557 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
   490290b0415f drm: add non-desktop quirk for Valve HMDs
   ac222e8a50af drm/msm: fix fb references in async update
   6470aa05ae15 drm/gma500/cdv: Check vbt config bits when detecting lvds panels
   7fbcb7d1031d test_firmware: Use correct snprintf() limit
   67bdeb0c6f5c genwqe: Prevent an integer overflow in the ioctl
   221c44d2d7fa Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
   2d9d3ab541a6 MIPS: pistachio: Build uImage.gz by default
   eee609635076 MIPS: Bounds check virt_addr_valid
   b9b75a460076 xen-blkfront: switch kcalloc to kvcalloc for large array allocation
   7aad9269a6e8 s390/mm: fix address space detection in exception handling
   7737eff01711 i2c: xiic: Add max_read_len quirk
   b598ddc7b9fc x86/insn-eval: Fix use-after-free access to LDT entry
   4d166206cf41 x86/power: Fix 'nosmt' vs hibernation triple fault during resume
   f4d0227ff170 pstore/ram: Run without kernel crash dump region
   aa73a3b205a4 pstore: Set tfm to NULL on free_buf_for_compression
   d4128a1b580c pstore: Convert buf_lock to semaphore
   c63ce7166daf pstore: Remove needless lock during console writes
   a3b8b4ad6db7 fuse: fallocate: fix return with locked inode
   56e3f73e838a NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled
   ea0327b47754 NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter
   384c1d931b5e parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
   6726307d2008 rcu: locking and unlocking need to always be at least barriers
   39e597d283b0 mtd: spinand: macronix: Fix ECC Status Read
   2488b9f9afde ipv6: fix EFAULT on sendto with icmpv6 and hdrincl
   0b16d956ee5b ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
   d769853dbdaa Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
   396244b6ecf0 pktgen: do not sleep with the thread lock held.
   da096fe1a6a4 packet: unconditionally free po->rollover
   be0343af1291 net/tls: replace the sleeping lock around RX resync with a bit lock
   9740f4ff1a66 net: sfp: read eeprom in maximum 16 byte increments
   7700d5afff30 net: rds: fix memory leak in rds_ib_flush_mr_pool
   c6a020e0117f net: mvpp2: Use strscpy to handle stat strings
   d305d61fcf96 net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query
   831d6d077874 net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set
   893e2a5f5cf6 neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit
   9fd19a3b4f61 ipv6: fix the check before getting the cookie in rt6_get_cookie
   daa11cc841d6 ipv4: not do cache for local delivery if bc_forwarding is enabled
   05b933f25a83 Fix memory leak in sctp_process_init
   d6782b8c5c18 ethtool: fix potential userspace buffer overflow
   bb7b450e61a1 Linux 4.19.49
   9861e2cd4616 media: uvcvideo: Fix uvc_alloc_entity() allocation alignment
   b52ca352489b of: overlay: set node fields from properties when add new overlay node
   15151d0013c9 of: overlay: validate overlay properties #address-cells and #size-cells
   26dace362e7f scsi: lpfc: Fix backport of faf5a744f4f8 ("scsi: lpfc: avoid uninitialized variable warning")
   ca309fef7a69 x86/kprobes: Set instruction page as executable
   b49ca4bf1b9c x86/ftrace: Set trampoline pages as executable
   6fa953c94882 x86/ftrace: Do not call function graph from dynamic trampolines
   9d57cfd4e9d8 binder: fix race between munmap() and direct reclaim
   137c838f177b Revert "binder: fix handling of misaligned binder object"
   385dab299c8a Revert "x86/build: Move _etext to actual end of .text"
   9468870f7cbd include/linux/module.h: copy __init/__exit attrs to init/cleanup_module
   2a0f719db71c Compiler Attributes: add support for __copy (gcc >= 9)
   390a0fd31b02 drm/lease: Make sure implicit planes are leased
   699f0e9d24c8 drm/rockchip: shutdown drm subsystem on shutdown
   1ca811507e41 drm/sun4i: Fix sun8i HDMI PHY configuration for > 148.5 MHz
   1f1372206e0b drm/sun4i: Fix sun8i HDMI PHY clock initialization
   3a20515c3c44 drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
   1715a46322fa drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages()
   132137d1bfa1 gcc-plugins: Fix build failures under Darwin host
   873041930dab Revert "lockd: Show pid of lockd for remote locks"
   297a251062c0 CIFS: cifs_read_allocate_pages: don't iterate through whole page array on ENOMEM
   32d57c0c063c cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case
   f6a39f877feb staging: wlan-ng: fix adapter initialization failure
   27a4b6c8c1cf staging: vc04_services: prevent integer overflow in create_pagelist()
   3078e80b03c8 serial: sh-sci: disable DMA for uart_console
   ff818b449a5b vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
   6e322a9e42cd evm: check hash algorithm passed to init_desc()
   f85b87a9a2a8 ima: show rules with IMA_INMASK correctly
   21158982f6b7 doc: Cope with Sphinx logging deprecations
   c0742228bba6 doc: Cope with the deprecation of AutoReporter
   301b18edbf56 docs: Fix conf.py for Sphinx 2.0
   871953434bd9 arm64: Fix the arm64_personality() syscall wrapper redirection
   6f8d26270ce3 kernel/signal.c: trace_signal_deliver when signal_group_exit
   8b057ad846c5 memcg: make it work on sparse non-0-node systems
   4e29e2ecf186 tty: max310x: Fix external crystal register setup
   a071517b85cc tty: serial: msm_serial: Fix XON/XOFF
   bb03290431bc i2c: synquacer: fix synquacer_i2c_doxfer() return value
   d2d8f6401254 i2c: mlxcpld: Fix wrong initialization order in probe
   88ad86b80782 drm/nouveau/i2c: Disable i2c bus access after ->fini()
   6a2fbec70766 KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_ID
   3834630ef4d3 ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops
   9cfd6c36759b ALSA: hda/realtek - Set default power save node to 0
   eb2eeec920fb ALSA: line6: Assure canceling delayed work at disconnection
   ca221cf9ab6f powerpc/perf: Fix MMCRA corruption by bhrb_filter
   55a94d81f536 KVM: PPC: Book3S HV: XIVE: Do not clear IRQ data of passthrough interrupts
   badbe1abbd59 s390/crypto: fix possible sleep during spinlock aquired
   83c874cf6861 s390/crypto: fix gcm-aes-s390 selftest failures
   5dede5c9e605 iio: adc: ti-ads8688: fix timestamp is not updated in buffer
   06c5ec6fd0b1 iio: dac: ds4422/ds4424 fix chip verification
   8a652fd142c3 Btrfs: incremental send, fix file corruption when no-holes feature is enabled
   a81071110d25 Btrfs: fix fsync not persisting changed attributes of a directory
   37fe038328a2 Btrfs: fix race updating log root item during fsync
   7301bbeae98f Btrfs: fix wrong ctime and mtime of a directory after log replay
   da32e0303d5f tracing: Avoid memory leak in predicate_parse()
   9756c7e0cdc7 scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs)
   e8bd0dffe816 scsi: zfcp: fix missing zfcp_port reference put on -EBUSY from port_remove
   c18a0ecc411a brcmfmac: fix NULL pointer derefence during USB disconnect
   1f64751af190 media: smsusb: better handle optional alignment
   e6df98cafc9c media: usb: siano: Fix false-positive "uninitialized variable" warning
   35b104456652 media: usb: siano: Fix general protection fault in smsusb
   b4c1b4a61f78 USB: rio500: fix memory leak in close after disconnect
   d2d93077bac3 USB: rio500: refuse more than one device at a time
   d8c1703932bc USB: Add LPM quirk for Surface Dock GigE adapter
   d27ea5e9eb4a USB: sisusbvga: fix oops in error path of sisusb_probe
   a43bb9e83155 USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
   2fc485b0008e usbip: usbip_host: fix stub_dev lock context imbalance regression
   e3724d69b732 usbip: usbip_host: fix BUG: sleeping function called from invalid context
   9690202da222 usb: xhci: avoid null pointer deref when bos field is NULL
   8e30ba04a20a xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()
   32adfa3d92e7 xhci: Use %zu for printing size_t type
   eebcff780603 xhci: update bounce buffer with correct sg num
   759766bf2aec include/linux/bitops.h: sanitize rotate primitives
   89156c1005d2 sparc64: Fix regression in non-hypervisor TLB flush xcall
   e109a984cf38 Linux 4.19.48
   ca75a9fc5ba4 tipc: fix modprobe tipc failed after switch order of device registration
   ab69a2304210 Revert "tipc: fix modprobe tipc failed after switch order of device registration"
   99dcf4a4dd2e xen/pciback: Don't disable PCI_COMMAND on PCI device reset.
   0276ebf16675 jump_label: move 'asm goto' support test to Kconfig
   753328727cab compiler.h: give up __compiletime_assert_fallback()
   fd45cd4530eb include/linux/compiler*.h: define asm_volatile_goto
   2bb9c7e42836 crypto: vmx - ghash: do nosimd fallback manually
   fb6cf4f3704b net/tls: don't ignore netdev notifications if no TLS features
   fb69403ec2ff net/tls: fix state removal with feature flags off
   27d8ad1d8ea9 bnxt_en: Fix aggregation buffer leak under OOM condition.
   a1a926fc68c7 net: stmmac: dma channel control register need to be init first
   1db0bcc27c78 net/mlx5e: Disable rxhash when CQE compress is enabled
   e0d95806b05d net/mlx5: Allocate root ns memory using kzalloc to match kfree
   4421d31753ec tipc: Avoid copying bytes beyond the supplied data
   06442f45e5cf net/mlx5: Avoid double free in fs init error unwinding path
   fb836d014e37 usbnet: fix kernel crash after disconnect
   191989817df9 net: stmmac: fix reset gpio free missing
   6ab968473140 net: sched: don't use tc_action->order during action dump
   33f737a4307d net: phy: marvell10g: report if the PHY fails to boot firmware
   c2d4b2feb057 net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
   de9d6a730cc0 net: mvneta: Fix err code path of probe
   39fd0dc4a556 net-gro: fix use-after-free read in napi_gro_frags()
   4294c3475035 net: fec: fix the clk mismatch in failed_reset path
   566dc17b993d net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT
   2d04f32c8861 llc: fix skb leak in llc_build_and_send_ui_pkt()
   442176668ecf ipv6: Fix redirect with VRF
   ed753b394321 ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
   46702dd5d504 ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST
   e9f94e480f3e ipv4/igmp: fix another memory leak in igmpv3_del_delrec()
   07480da0c8a1 inet: switch IP ID generator to siphash
   9c9144e78996 cxgb4: offload VLAN flows regardless of VLAN ethtype
   3cde0a250845 bonding/802.3ad: fix slave link initialization transition states
   0df021b2e841 Linux 4.19.47
   26433652f0e4 NFS: Fix a double unlock from nfs_match,get_client
   1a686177acde drm/sun4i: dsi: Enforce boundaries on the start delay
   6956c0e3cf33 vfio-ccw: Prevent quiesce function going into an infinite loop
   476e87eb7f78 drm/sun4i: dsi: Change the start delay calculation
   00734a9e7329 drm: Wake up next in drm_read() chain if we are forced to putback the event
   d6dea92a4862 drm/drv: Hold ref on parent device during drm_device lifetime
   473bc1af7a22 drm/v3d: Handle errors from IRQ setup.
   b9c8f86f50ac ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
   cc211863ac79 spi: Fix zero length xfer bug
   8f7f333af9f6 spi: imx: stop buffer overflow in RX FIFO flush
   3ae1817a29e7 spi: rspi: Fix sequencer reset during initialization
   676aec9b8f11 drm/omap: dsi: Fix PM for display blank with paired dss_pll calls
   bdc095631d50 spi : spi-topcliff-pch: Fix to handle empty DMA buffers
   98eb1b80fea7 scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
   755dc83020a5 media: saa7146: avoid high stack usage with clang
   584e06c0ed20 scsi: lpfc: Fix fc4type information for FDMI
   aecb245fdd90 scsi: lpfc: Fix FDMI manufacturer attribute value
   4192c77f50dc media: vimc: zero the media_device on probe
   fd1ade15f299 media: go7007: avoid clang frame overflow warning with KASAN
   6d16d2e130e4 media: gspca: do not resubmit URBs when streaming has stopped
   acf41fb8df45 media: vimc: stream: fix thread state before sleep
   aeea87865aa7 scsi: ufs: fix a missing check of devm_reset_control_get
   62e79f4c6bc0 drm/amd/display: Set stream->mode_changed when connectors change
   fc5293ab6c48 drm/amd/display: Fix Divide by 0 in memory calculations
   91435fce9b24 media: staging: davinci_vpfe: disallow building with COMPILE_TEST
   f51db48c1220 media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
   e93677055a5a media: dvbsky: Avoid leaking dvb frontend
   ab934f0ac158 media: si2165: fix a missing check of return value
   561bd5615604 igb: Exclude device from suspend direct complete optimization
   b6bc20249423 tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers
   5ec9ba494db2 e1000e: Disable runtime PM on CNP+
   495e34e62c3b thunderbolt: property: Fix a NULL pointer dereference
   70611b1b81c4 drm/amd/display: fix releasing planes when exiting odm
   988dab7f5778 thunderbolt: Fix to check for kmemdup failure
   877a202f9b27 thunderbolt: Fix to check return value of ida_simple_get
   b9291078edce hwrng: omap - Set default quality
   6b2d1934d1f9 dmaengine: tegra210-adma: use devm_clk_*() helpers
   25204fe6a3f8 batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
   a2ace9b24387 selinux: avoid uninitialized variable warning
   c7595096daf9 scsi: lpfc: avoid uninitialized variable warning
   ac9149bc1402 scsi: qla4xxx: avoid freeing unallocated dma memory
   239156e0c04a usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
   506b28fb9982 rcuperf: Fix cleanup path for invalid perf_type strings
   75a96196d4c4 x86/mce: Handle varying MCA bank counts
   aa7919e37fee rcutorture: Fix cleanup path for invalid torture_type strings
   3d036cbaab92 x86/mce: Fix machine_check_poll() tests for error types
   3c2b1ae4410c overflow: Fix -Wtype-limits compilation warnings
   19ae270d1ce0 tty: ipwireless: fix missing checks for ioremap
   3392cc5f3ce3 virtio_console: initialize vtermno value for ports
   e819d4a13688 scsi: qedf: Add missing return in qedf_post_io_req() in the fcport offload check
   dc0f37b780e9 timekeeping: Force upper bound for setting CLOCK_REALTIME
   ee40c8a3efc2 thunderbolt: Fix to check the return value of kmemdup
   c8eecd658220 thunderbolt: property: Fix a missing check of kzalloc
   1de8f9653585 efifb: Omit memory map check on legacy boot
   356f05fdd490 media: gspca: Kill URBs on USB device disconnect
   2a9331ced525 media: wl128x: prevent two potential buffer overflows
   6b5693f20dd8 media: video-mux: fix null pointer dereferences
   bc75207a54dd kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.
   ba906246e38b spi: tegra114: reset controller on probe
   2cd236c27157 HID: logitech-hidpp: change low battery level threshold from 31 to 30 percent
   fb2c65b4a279 cxgb3/l2t: Fix undefined behaviour
   71efe4c70afc ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
   b6b7a78cf997 ASoC: eukrea-tlv320: fix a leaked reference by adding missing of_node_put
   69f67200cfd6 HID: core: move Usage Page concatenation to Main item
   256f63c6806d sh: sh7786: Add explicit I/O cast to sh7786_mm_sel()
   8ea279184619 RDMA/hns: Fix bad endianess of port_pd variable
   65ec64f28a88 chardev: add additional check for minor range overlap
   fc242af86d07 x86/uaccess: Fix up the fixup
   5007453c7144 x86/ia32: Fix ia32_restore_sigcontext() AC leak
   4614b0bb8f65 x86/uaccess, signal: Fix AC=1 bloat
   1a3188d737ce x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP
   da30c277c4fd wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext
   e667aef54f8a arm64: cpu_ops: fix a leaked reference by adding missing of_node_put
   e3980dbef43a drm/panel: otm8009a: Add delay at the end of initialization
   cb5946e5c86a scsi: ufs: Avoid configuring regulator with undefined voltage range
   31318d4ae3ae scsi: ufs: Fix regulator load and icc-level configuration
   c9e44a1a734a rtlwifi: fix potential NULL pointer dereference
   bd2ab045df4a rtc: xgene: fix possible race condition
   e29aba14e8db brcmfmac: fix Oops when bringing up interface during USB disconnect
   8a412ed97184 brcmfmac: fix race during disconnect when USB completion is in progress
   ce55a5941ed4 brcmfmac: fix WARNING during USB disconnect in case of unempty psq
   4b2f0ebc306b brcmfmac: convert dev_init_lock mutex to completion
   59ec3ad30ab8 b43: shut up clang -Wuninitialized variable warning
   7c9d97f3b11d brcmfmac: fix missing checks for kmemdup
   a27ce4840f89 mwifiex: Fix mem leak in mwifiex_tm_cmd
   7be8d4251bf7 rtlwifi: fix a potential NULL pointer dereference
   f8f54929bd23 selftests/bpf: ksym_search won't check symbols exists
   ef8e5a78406d iio: adc: ti-ads7950: Fix improper use of mlock
   36a59a036896 iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data
   dd106d198dee iio: hmc5843: fix potential NULL pointer dereferences
   d7c773412f4b iio: ad_sigma_delta: Properly handle SPI bus locking vs CS assertion
   ce59174d4e69 drm/pl111: fix possible object reference leak
   e758471be038 x86/build: Keep local relocations with ld.lld
   2b18febc8cdc block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR
   9d8b1d5db780 cpufreq: kirkwood: fix possible object reference leak
   f9ead9f4d145 cpufreq: pmac32: fix possible object reference leak
   513a7f8e8929 cpufreq/pasemi: fix possible object reference leak
   9612f4040f05 cpufreq: ppc_cbe: fix possible object reference leak
   f8a91441b2a1 qmi_wwan: Add quirk for Quectel dynamic config
   1b6141cd052b selftests: cgroup: fix cleanup path in test_memcg_subtree_control()
   9c594cae285c s390: cio: fix cio_irb declaration
   c3c614380548 s390/mm: silence compiler warning when compiling without CONFIG_PGSTE
   a07de9b98fbf x86/microcode: Fix the ancient deprecated microcode loading method
   a3713f2cebdc s390: zcrypt: initialize variables before_use
   e91146984939 clk: rockchip: Make rkpwm a critical clock on rk3288
   c9aa87e5f345 extcon: arizona: Disable mic detect if running when driver is removed
   822342658459 clk: rockchip: Fix video codec clocks on rk3288
   cbaab786ee67 PM / core: Propagate dev->power.wakeup_path when no callbacks
   d8a36f841803 drm/amdgpu: fix old fence check in amdgpu_fence_emit
   e107bc69cc59 mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support
   019ca0bf8d91 mmc: sdhci-of-esdhc: add erratum A-009204 support
   80118cba1f78 mmc: sdhci-of-esdhc: add erratum eSDHC5 support
   fa291e89997a mmc_spi: add a status check for spi_sync_locked
   059c2f5326a0 mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers
   aa06e61237ab scsi: libsas: Do discovery on empty PHY to update PHY info
   4e98f3b11a7a hwmon: (f71805f) Use request_muxed_region for Super-IO accesses
   8cfe000d0a69 hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
   48b31e8a025f hwmon: (smsc47b397) Use request_muxed_region for Super-IO accesses
   e7dbe597ea55 hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses
   fbdce79e7c3b hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
   1cd4902d9088 perf/x86/intel/cstate: Add Icelake support
   ea6ff1bb3d00 perf/x86/intel/rapl: Add Icelake support
   3a9a1fd14b27 perf/x86/msr: Add Icelake support
   9754bab2057e RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure
   b0f6ac8c81e0 arm64: vdso: Fix clock_getres() for CLOCK_REALTIME
   9082058b549a ACPI/IORT: Reject platform device creation on NUMA node mapping failure
   4a9c84499e11 i40e: don't allow changes to HW VLAN stripping on active port VLANs
   e3e8cdacdcce i40e: Able to add up to 16 MAC filters on an untrusted VF
   267b3c6b3f45 phy: mapphone-mdm6600: add gpiolib dependency
   3ecda6884660 phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode
   63b4f89d03c2 drm: etnaviv: avoid DMA API warning when importing buffers
   f843f848c567 x86/irq/64: Limit IST stack overflow check to #DB stack
   97abdfa81f1c USB: core: Don't unbind interfaces following device reset failure
   3711c9885278 s390/qeth: handle error from qeth_update_from_chp_desc()
   5d5652b51c87 thunderbolt: Take domain lock in switch sysfs attribute callbacks
   afee27f38253 irq_work: Do not raise an IPI when queueing work on the local CPU
   dee2faf0ac0c drm/msm: a5xx: fix possible object reference leak
   e0b75a798651 staging: vc04_services: handle kzalloc failure
   355673f80835 sched/core: Handle overflow in cpu_shares_write_u64
   7053046e350f sched/rt: Check integer overflow at usec to nsec conversion
   925275d0cc5d sched/core: Check quota and period overflow at usec to nsec conversion
   4e4d5cea79a7 cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
   944c58523731 random: add a spinlock_t to struct batched_entropy
   6fa6381a2da0 random: fix CRNG initialization when random.trust_cpu=1
   fec8a09f79ec powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX
   f488832c2099 powerpc/numa: improve control of topology updates
   ad393793794e block: fix use-after-free on gendisk
   30f8da71c730 iio: adc: stm32-dfsdm: fix unmet direct dependencies detected
   11ad52770a42 media: pvrusb2: Prevent a buffer overflow
   a90ce66af211 media: au0828: Fix NULL pointer dereference in au0828_analog_stream_enable()
   2096b3ba3274 media: stm32-dcmi: fix crash when subdev do not expose any formats
   6c21fa849a5a audit: fix a memory leak bug
   9fcfaab61420 media: ov2659: make S_FMT succeed even if requested format doesn't match
   e3a9d646ecf2 media: au0828: stop video streaming only when last user stops
   3ccd89123b67 media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper
   81a0b6ff0209 media: coda: clear error return value before picture run
   83544b04a406 dmaengine: at_xdmac: remove BUG_ON macro in tasklet
   bfb9e836cf26 perf/arm-cci: Remove broken race mitigation
   2d1df7fada2d clk: rockchip: undo several noc and special clocks as critical on rk3288
   86a1de9c8d76 pinctrl: samsung: fix leaked of_node references
   c3933fd4a8ee pinctrl: pistachio: fix leaked of_node references
   12e7faac49e2 HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
   1eafabe144f4 Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
   189b396a2580 mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versions
   f46ae1cd7cec x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()
   3dc1e338ae5f smpboot: Place the __percpu annotation correctly
   0fcb3cd5af98 x86/build: Move _etext to actual end of .text
   58a0c2194bac vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev
   8c1c78109a74 vfio-ccw: Do not call flush_workqueue while holding the spinlock
   e0d25d17841a RDMA/cma: Consider scope_id while binding to ipv6 ll address
   06740892db92 bcache: avoid clang -Wunintialized warning
   330b67980381 bcache: add failure check to run_cache_set() for journal replay
   cd83c78897d5 bcache: fix failure in journal relplay
   29b166da7a4e bcache: return error immediately in bch_journal_replay()
   8034a6b89990 bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set
   e82df5f1e54a crypto: sun4i-ss - Fix invalid calculation of hash end
   213e152316ed nvme-rdma: fix a NULL deref when an admin connect times out
   c24860f40b66 nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
   31de7f1d07b5 net: cw1200: fix a NULL pointer dereference
   eacec4367998 rsi: Fix NULL pointer dereference in kmalloc
   9d54cca8f939 mwifiex: prevent an array overflow
   c2582f213897 ASoC: fsl_sai: Update is_slave_mode with correct value
   67d812fbe303 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
   0cbef22f67ba libbpf: fix samples/bpf build failure due to undefined UINT32_MAX
   ca5b9d63e9b1 mac80211/cfg80211: update bss channel on channel switch
   1d057fefa045 dmaengine: pl330: _stop: clear interrupt status
   cadb16d9e0f3 s390: qeth: address type mismatch warning
   99079ceefb7c w1: fix the resume command API
   07da741d48c4 sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
   216155aab507 s390/kexec_file: Fix detection of text segment in ELF loader
   6697d0b3f5b5 scsi: qedi: Abort ep termination if offload not scheduled
   bc90af686912 rtc: stm32: manage the get_irq probe defer case
   7fd0d9d10e5d rtc: 88pm860x: prevent use-after-free on device remove
   0ea8b7cf9436 iwlwifi: pcie: don't crash on invalid RX interrupt
   bd3d8f4cb956 btrfs: Don't panic when we can't find a root key
   431cbaec1287 btrfs: fix panic during relocation after ENOSPC before writeback happens
   1084fc9afbe3 Btrfs: fix data bytes_may_use underflow with fallocate due to failed quota reserve
   8715ce033eb3 x86/modules: Avoid breaking W^X while loading modules
   34f3a58f06da scsi: qla2xxx: Fix hardirq-unsafe locking
   6ce116871011 scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
   55b95ce89ce7 scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
   de3cd35f5195 scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
   73026db866db sched/cpufreq: Fix kobject memleak
   0fe8ed038e88 powerpc/watchdog: Use hrtimers for per-CPU heartbeat
   efa336f785df arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable
   9152b0815430 ARM: vdso: Remove dependency with the arch_timer driver internals
   2d2017675b1a media: stm32-dcmi: return appropriate error codes during probe
   5744fd7fa1d1 drm/nouveau/bar/nv50: ensure BAR is mapped
   07bb9a71ee27 ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()
   c00f0fbd2e85 brcm80211: potential NULL dereference in brcmf_cfg80211_vndr_cmds_dcmd_handler()
   57667dc86bef spi: pxa2xx: fix SCR (divisor) calculation
   5cf668cf1110 ASoC: imx: fix fiq dependencies
   b8bd069f855f powerpc/perf: Fix loop exit condition in nest_imc_event_init
   1a6767f5f152 powerpc/boot: Fix missing check of lseek() return value
   741853944fea powerpc/perf: Return accordingly on invalid chip-id in
   49c0fa1f35c1 ASoC: hdmi-codec: unlock the device on startup errors
   663411719895 usb: dwc3: move synchronize_irq() out of the spinlock protected block
   1a7be0fe0777 usb: dwc2: gadget: Increase descriptors count for ISOC's
   fc8c5907d8fc ASoC: Intel: kbl_da7219_max98357a: Map BTN_0 to KEY_PLAYPAUSE
   b676f6c0b552 pinctrl: zte: fix leaked of_node references
   8603d49906b2 Bluetooth: Ignore CC events not matching the last HCI command
   6d9cfab853ca hv_netvsc: fix race that may miss tx queue wakeup
   83eaba87e73e net: ena: gcc 8: fix compilation warning
   19c2dd5025bb dmaengine: tegra210-dma: free dma controller in remove()
   7ffd692bfce7 bpftool: exclude bash-completion/bpftool from .gitignore pattern
   6d9f8909e540 selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c
   f3ed010f2bfe tools/bpf: fix perf build error with uClibc (seen on ARC)
   d96a6c31e42e mmc: core: Verify SD bus width
   c4b51dbcccfc gfs2: Fix occasional glock use-after-free
   fa4aaa09d17e IB/hfi1: Fix WQ_MEM_RECLAIM warning
   36296b0034ae NFS: make nfs_match_client killable
   506961a7a4ef cxgb4: Fix error path in cxgb4_init_module
   bac852089281 gfs2: Fix lru_count going negative
   06a67c0f4abb Revert "btrfs: Honour FITRIM range constraints during free space trim"
   7c2bcb3cca03 acct_on(): don't mess with freeze protection
   7d562a90a88b at76c50x-usb: Don't register led_trigger if usb_register_driver failed
   363aa80a51c9 batman-adv: mcast: fix multicast tt/tvlv worker locking
   003e2d74c554 bpf: devmap: fix use-after-free Read in __dev_map_entry_free
   3de79cb0ceb2 ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
   c8275cbe2bd8 media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
   0595e0d173f0 media: vb2: add waiting_in_dqbuf flag
   aec118ecf579 media: serial_ir: Fix use-after-free in serial_ir_init_module
   bdf3da72ae79 media: cpia2: Fix use-after-free in cpia2_exit
   de2d09ebff2f fbdev: fix WARNING in __alloc_pages_nodemask bug
   86c43c40fe05 ovl: relax WARN_ON() for overlapping layers use case
   9c0339dd381d btrfs: honor path->skip_locking in backref code
   2eefb4a3894e arm64: errata: Add workaround for Cortex-A76 erratum #1463225
   8783c4128c37 brcmfmac: add subtype check for event handling in data path
   cc240e057c1d brcmfmac: assure SSID length from firmware is limited
   43caa29c99db bpf: add bpf_jit_limit knob to restrict unpriv allocations
   cc1afc1050a9 NFSv4.1 fix incorrect return value in copy_file_range
   e1eed6928b3e NFSv4.2 fix unnecessary retry in nfs4_copy_file_range
   0bad28e92ced fbdev: fix divide error in fb_var_to_videomode
   b8304d918c02 udlfb: fix some inconsistent NULL checking
   94e1f96667b4 btrfs: sysfs: don't leak memory when failing add fsid
   946ad2ecef61 btrfs: sysfs: Fix error path kobject memory leak
   92f907d7d63b Btrfs: fix race between ranged fsync and writeback of adjacent ranges
   4f9a774dda97 Btrfs: avoid fallback to transaction commit during fsync of files with holes
   7ec747c811ab Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path
   ce21e6586eec btrfs: don't double unlock on error in btrfs_punch_hole
   fdc78eedc54d gfs2: Fix sign extension bug in gfs2_update_stats
   53cd8ae3eeb1 arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
   9c15fff28194 arm64/kernel: kaslr: reduce module randomization range to 2 GB
   ee6d3eb31112 libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead
   709a93054118 kvm: svm/avic: fix off-by-one in checking host APIC ID
   5b69ceee2196 mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem
   227e01537baf mmc: sdhci-iproc: cygnus: Set NO_HISPD bit to fix HS50 data hold time problem
   792d65fc49a7 crypto: vmx - CTR: always increment IV as quadword
   136b8cef4e4f Revert "scsi: sd: Keep disk read-only when re-reading partition"
   ac7480a5b504 sbitmap: fix improper use of smp_mb__before_atomic()
   b78255d6cffb bio: fix improper use of smp_mb__before_atomic()
   432ec4fa6cd2 KVM: x86: fix return value for reserved EFER
   70d33cce97f0 f2fs: Fix use of number of devices
   5220582c427b ext4: wait for outstanding dio during truncate in nojournal mode
   71e430fd593b ext4: do not delete unlinked inode from orphan list on failed truncate
   1d84eb87efce x86: Hide the int3_emulate_call/jmp functions from UML
   8b2fc0058255 Linux 4.19.46
   fcac71697a15 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
   107e215c2962 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
   2bb3c5470aaf bpf: add map_lookup_elem_sys_only for lookups from syscall side
   3ded3aaa4aa8 bpf: relax inode permission check for retrieving bpf program
   c33563e9ec87 Revert "selftests/bpf: skip verifier tests for unsupported program types"
   90110ffd86ae driver core: Postpone DMA tear-down until after devres release for probe failure
   430908054540 md/raid: raid5 preserve the writeback action after the parity check
   3d25b7f5c3be Revert "Don't jump to compute_result state from check_result state"
   a0b1dde1e686 perf/x86/intel: Fix race in intel_pmu_disable_event()
   7aea2f94cc64 perf bench numa: Add define for RUSAGE_THREAD if not present
   a06fdd99a339 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
   f037116fe05b x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
   290da8e79c83 sched/cpufreq: Fix kobject memleak
   2da19da7abb8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
   7341daa0548e qmi_wwan: new Wistron, ZTE and D-Link devices
   c1528193f643 bpf: Fix preempt_enable_no_resched() abuse
   aea54f613534 power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
   a1251522a522 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
   36ae546a0046 net: ieee802154: fix missing checks for regmap_update_bits
   9c045d8c9739 mac80211: Fix kernel panic due to use of txq after free
   a0a49d8712de x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
   a469646862aa PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
   b21ca2769b0f apparmorfs: fix use-after-free on symlink traversal
   9a0467e1f671 securityfs: fix use-after-free on symlink traversal
   900bf351dd84 power: supply: cpcap-battery: Fix division by zero
   b7771cb0143b clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
   a654a73de29f xfrm4: Fix uninitialized memory read in _decode_session4
   6faa62060624 xfrm: Honor original L3 slave device in xfrmi policy lookup
   3716c2625099 esp4: add length check for UDP encapsulation
   d410ef75886a xfrm: clean up xfrm protocol checks
   159269cc6456 vti4: ipip tunnel deregistration fixes.
   64f214ce563f xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
   c9516503fe53 xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
   fea685000caf fuse: Add FOPEN_STREAM to use stream_open()
   f9eccf6ca1e0 dm mpath: always free attached_handler_name in parse_path()
   9407680a7bb7 dm integrity: correctly calculate the size of metadata area
   3b92ff729cb3 dm delay: fix a crash when invalid device is specified
   90cc71127a3c dm zoned: Fix zone report handling
   ff0699a5e5d0 dm cache metadata: Fix loading discard bitset
   d5c352305d42 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
   b51a033317cd PCI: Factor out pcie_retrain_link() function
   7bc992e215c8 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
   2e7574982502 PCI/AER: Change pci_aer_init() stub to return void
   8c30e1499335 PCI: Init PCIe feature bits for managed host bridge alloc
   29d031402718 PCI: Mark Atheros AR9462 to avoid bus reset
   f4be6b7ee294 PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
   2cf1dce1bfa5 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
   27968d821368 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
   f1c97f633375 fbdev: sm712fb: fix support for 1024x768-16 mode
   b415308ae49a fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
   02f89dd99c83 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
   7e1b9659a43a fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
   b0f08070903d fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
   d30768975973 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
   702156cd1a9a fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
   e738fb38cf2e objtool: Allow AR to be overridden with HOSTAR
   9ae0f86ceaa7 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
   05fab3457210 perf intel-pt: Fix sample timestamp wrt non-taken branches
   ba86f8f84fd5 perf intel-pt: Fix improved sample timestamp
   3ed850ab2a9c perf intel-pt: Fix instructions sampling rate
   5e011f3319fe memory: tegra: Fix integer overflow on tick value calculation
   fb8c9c900d4e tracing: Fix partial reading of trace event's id file
   07b487eb5762 ftrace/x86_64: Emulate call function while updating in breakpoint handler
   ba246f64b0a5 x86_64: Allow breakpoints to emulate call instructions
   01b6fdcecd5a x86_64: Add gap to int3 to allow for call emulation
   77ca91441696 ceph: flush dirty inodes before proceeding with remount
   b18339bc1d05 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
   a9676c96e7e0 ovl: fix missing upper fs freeze protection on copy up for ioctl
   979d2433b873 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
   a452f733f93e fuse: fix writepages on 32bit
   42f59b83f0cf udlfb: introduce a rendering mutex
   fb36a97654a7 udlfb: fix sleeping inside spinlock
   1b8c955691d4 udlfb: delete the unused parameter for dlfb_handle_damage
   3487804cf6dc clk: rockchip: fix wrong clock definitions for rk3328
   fe082b99d57b clk: mediatek: Disable tuner_en before change PLL rate
   5bfba9529cea clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
   1a7adc2edb98 clk: hi3660: Mark clk_gate_ufs_subsys as critical
   04f34b76368f PNFS fallback to MDS if no deviceid found
   d3dd6057d2d6 NFS4: Fix v4.0 client state corruption when mount
   5e7f9e905ff8 media: imx: Clear fwnode link struct for each endpoint iteration
   ef12f5b54da4 media: imx: csi: Allow unknown nearest upstream entities
   77e178708136 media: ov6650: Fix sensor possibly not detected on probe
   86d67dbdf0a0 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
   939db6fdbea6 cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
   a29b8829291e of: fix clang -Wunsequenced for be32_to_cpu()
   a36430769ee5 p54: drop device reference count if fails to enable device
   88cfd822f9d0 intel_th: msu: Fix single mode with IOMMU
   c939121b5435 dcache: sort the freeing-without-RCU-delay mess for good.
   10cb519c3e34 md: add mddev->pers to avoid potential NULL pointer dereference
   3deaa1dc2f70 md: batch flush requests.
   7f6b9285cada Revert "MD: fix lock contention for flush bios"
   7928396df91e proc: prevent changes to overridden credentials
   bbd559ad3ca7 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
   d9ec75d048d7 stm class: Fix channel bitmap on 32-bit systems
   44bc4e8815a4 stm class: Fix channel free in stm output free path
   85b94de88046 parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
   e5621f7e13f6 parisc: Use PA_ASM_LEVEL in boot code
   615260c947b4 parisc: Skip registering LED when running in QEMU
   9aabffe8c2a6 parisc: Export running_on_qemu symbol for modules
   b11efd3262ef net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
   79742133aff2 net/mlx5: Imply MLXFW in mlx5_core
   9f12f4c922d4 vsock/virtio: Initialize core virtio vsock before registering the driver
   4b900077784f tipc: fix modprobe tipc failed after switch order of device registration
   4af8a327aeba vsock/virtio: free packets during the socket release
   2f7025b0a3b3 tipc: switch order of device registration to fix a crash
   2636da604e76 rtnetlink: always put IFLA_LINK for links with a link-netnsid
   c73ed24c385a ppp: deflate: Fix possible crash in deflate_init
   e4a6df16b441 nfp: flower: add rcu locks when accessing netdev for tunnels
   948cd616504c net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
   3620e546b177 net: test nouarg before dereferencing zerocopy pointers
   0495c8b03545 net/mlx4_core: Change the error print to info print
   746f8cd570ba net: avoid weird emergency message
   466cadba6013 net: Always descend into dsa/
   6bc3240adde5 ipv6: prevent possible fib6 leaks
   81a61a95812e ipv6: fix src addr routing with the exception table
   c3a072597748 Linux 4.19.45
   e8816d3bc595 ext4: don't update s_rev_level if not required
   6172ae55a187 ext4: fix compile error when using BUFFER_TRACE
   953e826e8d0f pstore: Refactor compression initialization
   fea8b84765a1 pstore: Allocate compression during late_initcall()
   f4bf101be366 pstore: Centralize init/exit routines
   627bb2d93b4d iov_iter: optimize page_copy_sane()
   866f011181ff libnvdimm/namespace: Fix label tracking error
   756eda9bc8b7 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
   98bdd33883db kbuild: turn auto.conf.cmd into a mandatory include file
   38f114887ca4 KVM: lapic: Busy wait for timer to expire when using hv_timer
   3b5ea2df6cf6 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
   5b8567682489 jbd2: fix potential double free
   95482af27161 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
   e0e1dc65bb13 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
   ae3155123704 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
   316063bf7d11 ext4: avoid panic during forced reboot due to aborted journal
   c19db366c0a8 ext4: fix use-after-free in dx_release()
   0db24122bd7f ext4: fix data corruption caused by overlapping unaligned and aligned IO
   25d010f4e0ec ext4: zero out the unused memory region in the extent tree block
   c907ce3fd552 tty: Don't force RISCV SBI console as preferred console
   986d3453bee4 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
   a80da82d0840 crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
   f6de0a3b1e66 ipmi:ssif: compare block number correctly for multi-part return messages
   88681649ed8c bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
   ecfc882f6441 bcache: fix a race between cache register and cacheset unregister
   8a8f671b3dad Btrfs: do not start a transaction at iterate_extent_inodes()
   0388d45afc50 Btrfs: do not start a transaction during fiemap
   74ca0a7671cc Btrfs: send, flush dellaloc in order to avoid data loss
   8b13bb911f0c btrfs: Honour FITRIM range constraints during free space trim
   87dcf0c61985 btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
   d8925a1fee71 btrfs: Check the first key and level for cached extent buffer
   45123ae534e0 ext4: fix ext4_show_options for file systems w/o journal
   f795247578aa ext4: actually request zeroing of inode table after grow
   2a18c9c76718 ext4: fix use-after-free race with debug_want_extra_isize
   b12a8d80a46e ext4: avoid drop reference to iloc.bh twice
   f0f805f8b9e7 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
   71478ef67d7c ext4: make sanity check in mballoc more strict
   001fe0dab4ea jbd2: check superblock mapped prior to committing
   0fd2df64f142 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
   d90824ecb887 tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
   6a01793e0763 mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
   dc6d69bde829 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
   5185672f2acf mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
   770e46b38ebe ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
   8bae43985571 userfaultfd: use RCU to free the task struct when fork fails
   3574bc98e2fe ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
   a3ccc156f365 hugetlb: use same fault hash key for shared and private mappings
   0b16b09a723e mm/hugetlb.c: don't put_page in lock of hugetlb_lock
   58db3813680e mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
   f580a54bbd52 mm/mincore.c: make mincore() more conservative
   681f3695d514 crypto: ccree - handle tee fips error during power management resume
   4fb3d87ee7b7 crypto: ccree - add function to handle cryptocell tee fips error
   65f5c14a6011 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
   1a4fc3d29632 crypto: ccree - pm resume first enable the source clk
   120ab825c6fd crypto: ccree - don't map AEAD key and IV on stack
   ca687cdb6159 crypto: ccree - use correct internal state sizes for export
   766121a0a798 crypto: ccree - don't map MAC key on stack
   7560c0adad34 crypto: ccree - fix mem leak on error path
   642de1c00a14 crypto: ccree - remove special handling of chained sg
   1bfceb375034 bpf, arm64: remove prefetch insn in xadd mapping
   f3714257c422 ASoC: codec: hdac_hdmi add device_link to card device
   975ef5c2f6ca ASoC: fsl_esai: Fix missing break in switch statement
   df9f111db871 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
   7295359bd6ac ASoC: max98090: Fix restore of DAPM Muxes
   e13bac4031eb ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
   d33f6063b7c3 ALSA: hda/realtek - EAPD turn on later
   4ac6316a7c0f ALSA: hda/hdmi - Consider eld_valid when reporting jack event
   8c827cda2864 ALSA: hda/hdmi - Read the pin sense from register when repolling
   30dda277333e ALSA: usb-audio: Fix a memory leak bug
   741e3efd8174 ALSA: line6: toneport: Fix broken usage of timer for delayed execution
   003cf675eb07 mmc: core: Fix tag set memory leak
   d42d342022b1 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
   69b9d32d5139 crypto: arm/aes-neonbs - don't access already-freed walk.iv
   b7d2adfd0512 crypto: rockchip - update IV buffer to contain the next IV
   9a61ab689867 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
   63efe31cf544 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
   e7fd8a2862e0 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
   7a19a4bef218 crypto: crct10dif-generic - fix use via crypto_shash_digest()
   aabf86f24d9f crypto: skcipher - don't WARN on unprocessed data after slow walk step
   66f5de68cb61 crypto: vmx - fix copy-paste error in CTR mode
   07d677ae4db4 crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
   fe632ee5ade8 crypto: chacha20poly1305 - set cra_name correctly
   3b5ddd5ea016 crypto: salsa20 - don't access already-freed walk.iv
   7a32ad34b889 crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
   c1ec6beac625 crypto: crypto4xx - fix ctr-aes missing output IV
   2ea1a37d0138 sched/x86: Save [ER]FLAGS on context switch
   d8d751efec28 arm64: Save and restore OSDLR_EL1 across suspend/resume
   f273cd16554a arm64: Clear OSDLR_EL1 on CPU boot
   26e7d2ad97b9 arm64: compat: Reduce address limit
   6d696ceb15a3 arm64: arch_timer: Ensure counter register reads occur with seqlock held
   222abad906ba arm64: mmap: Ensure file offset is treated as unsigned
   592127e9c1bb power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
   26eb5e7fa08d power: supply: axp288_charger: Fix unchecked return value
   921bc15462e2 ARM: exynos: Fix a leaked reference by adding missing of_node_put
   6eaeee1e7845 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
   e2c436d9268f ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
   abea1fb53266 ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
   8cf1bbca4467 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
   7b72ca6312ab objtool: Fix function fallthrough detection
   b185029f5c41 x86/speculation/mds: Improve CPU buffer clear documentation
   393ca9ea37fb x86/speculation/mds: Revert CPU buffer clear on double fault exit
   7761dbf58d22 locking/rwsem: Prevent decrement of reader count before increment
   dafc674bbcb1 Linux 4.19.44
   9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
   76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
   a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
   4179b8580219 powerpc/booke64: set RI in default MSR
   71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
   69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
   e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
   ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
   afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
   98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
   17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
   9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
   737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
   e38406070729 vlan: disable SIOCSHWTSTAMP in container
   dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
   9f51d6f72063 packet: Fix error path in packet_init
   2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
   210057b79e71 net: seeq: fix crash caused by not set dev.parent
   dfd919285f27 net: macb: Change interrupt and napi enable order in open
   68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
   9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
   da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
   947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
   c7b5e55be825 dpaa_eth: fix SG frame cleanup
   a79feef32392 bridge: Fix error path for kobject_init_and_add()
   9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
   0dc9ad4e904d powerpc/64s: Include cpu header
   db1b4aa651df um: Don't hardcode path as it is architecture dependent
   85f347944a6b Don't jump to compute_result state from check_result state
   ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
   d756d1dea670 mwl8k: Fix rate_idx underflow
   c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
   575260507647 x86/kprobes: Avoid kretprobe recursion bug
   322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
   f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
   21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
   85b9e8694f9c net/tls: fix the IV leaks
   e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
   835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
   880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
   a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
   fb7c783b3139 net: fec: manage ahb clock in runtime pm
   c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
   5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
   9965da064e9a usb: typec: Fix unchecked return value
   68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
   bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
   19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
   f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
   6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
   fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
   afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
   f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
   21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
   09185e359827 spi: Micrel eth switch: declare missing of table
   3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
   521ae4da71cc drm/imx: don't skip DP channel disable for background plane
   df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
   3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
   5bc3d4491821 selftests/net: correct the return value for run_netsocktests
   24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
   1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
   005325b7f026 s390: ctcm: fix ctcm_new_device error return code
   ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
   743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
   7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
   4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
   cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
   74e9b761fba0 init: initialize jump labels before command line option parsing
   6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
   1134736869ef scsi: aic7xxx: fix EISA support
   ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
   9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
   7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
   0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
   d39f3cc71382 KVM: fix spectrev1 gadgets
   4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
   3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
   8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
   e360515f41fc drm/amd/display: If one stream full updates, full update all planes
   58be7c109cea afs: Unlock pages for __pagevec_release()
   08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
   090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
   f83beff28048 mISDN: Check address length before reading address family
   e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
   7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
   6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
   068d1cce7801 drm/amd/display: extending AUX SW Timeout
   2773e7454f4f s390/3270: fix lockdep false positive on view->lock
   4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
   f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
   1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
   9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
   35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
   bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
   e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
   af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
   f7ab4818f74e HID: input: add mapping for "Toggle Display" key
   bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
   dc30867da997 HID: input: add mapping for Expose/Overview key
   e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
   5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
   f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
   6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
   06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
   5640d0781267 USB: serial: fix unthrottle races
   4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
   e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
   f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
   87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
   381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
   efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
   824c212908b6 bfq: update internal depth state when queue depth changes
   3351e9d39947 Linux 4.19.43
   b21bde49d386 x86/speculation/mds: Fix documentation typo
   8e65568e9d23 Documentation: Correct the possible MDS sysfs values
   2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
   12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
   59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
   74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
   af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
   8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
   7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
   e9ae32266605 x86/speculation/mds: Fix comment
   b9faa4652867 x86/speculation/mds: Add SMT warning message
   b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
   f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
   cfaa3d76301e Documentation: Add MDS vulnerability documentation
   e3803099d2f4 Documentation: Move L1TF to separate directory
   c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
   8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
   2951067089a3 x86/speculation/mds: Add mitigation control for MDS
   4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
   b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
   e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
   1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
   de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
   aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
   2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
   00b76324bd35 x86/speculation: Consolidate CPU whitelists
   e09450ffa980 x86/msr-index: Cleanup bit defines
   ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
   1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
   34aae15cb179 Documentation/l1tf: Fix small spelling typo

(From OE-Core rev: a2466be459bb97800a83b3f6822ba139161668ec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Bruce Ashfield
ee8481f3b6 linux-yocto: bsp/beaglebone: support qemu -machine virt
While we don't normally do a dual h/w and virt BSP (since they
tend to have conflicting requirements over time). A minimal overhead
option to do this was submitted to linux-yocto. Since it has no
impact on the h/w reference, has SDK testing value and can serve
as a template on how to do this for other arm boards, it is worth
making the configuration available.

The original commit log follows:

[

   If the kernel supports Qemu's virt machine, runqemu works almost for free.
   The device tree for machine virt is included in Qemu, which simplifies
   everything quite a bit.
   This change adds ARCH_VIRT=y and some drivers to the beaglebone kernel
   configuration which allows to:

     export MACHINE="beaglebone-yocto"
     bitbake core-image-minimale
     runqemu

   This also works out of an eSDK. Whithout this feature usually two
   different SDKs need to be compiled and maintained. One SDK is used for development
   in Qemu, another one is used to develop for the real target hardware.

   Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
]

(From OE-Core rev: cc1fca6d464775daa15032f11c02d16b99759407)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Anuj Mittal
a66702f897 libva-utils: upgrade 2.4.0 -> 2.5.0
For changes in this release, see:

https://github.com/intel/libva-utils/releases

(From OE-Core rev: 0f0e1ac71959fb8bd6d776c2ebfb202faf88450a)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Anuj Mittal
18bd4087db libva: upgrade 2.4.1 -> 2.5.0
For changes in this release, see:

https://github.com/intel/libva/releases

(From OE-Core rev: aca1998d07ae4639a4d51978006c81edf5793543)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Kai Kang
cf998b930c openssl: fix multilib files conflict
Inherit multilib_script to fix openssl multilib files conflict issue:

| Error: Transaction check error:
|   file /usr/bin/c_rehash conflicts between attempted installs of
|   lib32-openssl-bin-1.1.1c-r0.core2_32 and openssl-bin-1.1.1c-r0.core2_64

(From OE-Core rev: 01e17130f68a2b96c852756ea3dabef4164bc114)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Chen Qi
43a08e1936 xmlcatalog: hold libxml2-native dependency
Put libxml2-native dependency in this class and remove
it from recipes inheriting this class.

In fact, if a recipe inherits this class and does not have
libxml2-native, the xmlcatalog_sstate_postinst would fail.

(From OE-Core rev: 5a72c6d5cc1c9896c7425ac20eaf82d3d489e5c7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Anuj Mittal
78e9bc140e libxslt: fix CVE-2019-13117 CVE-2019-13118
(From OE-Core rev: 7dc3048fec88dd62ef49ef16517b7382ab7cf2a5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Anuj Mittal
3c5f407923 gnupg: upgrade 2.2.16 -> 2.2.17
Also fixes CVE-2019-13050. Announcement:

https://lists.gnupg.org/pipermail/gnupg-announce/2019q3/000439.html

(From OE-Core rev: c6e46323f0d62daf8bd424e642581fdcba920ef7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Anuj Mittal
6beec1687f binutils: fix CVE-2019-12972 CVE-2019-9071
(From OE-Core rev: 093f0914f261a27d58ecba9c1e9d3b78a35af012)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-11 09:32:50 +01:00
Oleksandr Kravchuk
157dc99982 linux-firmware: bump to 20190618
(From OE-Core rev: 4cbb7392c729a2436c26308c2320fdae5c450d7a)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Ross Burton
143faf9d7a packagegroup-core-lsb: remove GTK+
GTK+ 2 is being removed from oe-core, so remove it from the oe-core LSB
packagegroup.

Also document the fact that GTK+ 2 is no longer part of the LSB packagegroup,
and point to meta-oe for the recipe if required.

(From OE-Core rev: 759af1d5a5c3a0abe907d3875a7f548a6edfb39a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Ross Burton
92302504c3 alsa-utils: disable tools using GTK+2
Change the default configuration so that it doesn't need GTK+ 2 to build, as
GTK+ 2 is obsolete.

(From OE-Core rev: 963a9171c22de402a416016e498d3f266f2f87c6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Zang Ruochen
ad56c84dd7 librepo:upgrade 1.10.3 -> 1.10.4
(From OE-Core rev: ec3962b87ce35c71418cdec6b5315f00788c5595)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Oleksandr Kravchuk
d26bda1656 python3-pbr: update to 5.4.0
(From OE-Core rev: d40d9573d8f7414a3fd255dbfd519185369de13c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Pierre Le Magourou
151c13d3aa cve-update-db-native: Skip recipe when cve-check class is not loaded.
(From OE-Core rev: c807c2a6409e122599196cd914a638b00121cab6)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Jason Wessel
96b1062476 glibc / glibc-locale: Fix stash_locale determinism problems
When using sstate, or performing an incremental build any change to
the do_stash_locale() will cause a build failure because
do_stash_locale() was destroying the results obtained from the
do_install() with several mv operations.  A recent change to
do_stash_locale() for a different problem illustrated a number of
build failures for users in the community.

To fix the problem, do_stash_locale() must use copy operations instead
of the mv operations.  Because this is changed to a copy, the sysroot
and package stage need to remove the files that would have been
previously removed.  The correct "fixup" code to deal with the removal
already existed in the previous do_poststash_install_cleanup().  All
that needed change was the path to where to remove the files
from the sysroot and package stages.

In order to force a re-compilation of glibc some unused white space
was removed from do_compile() for glibc.  I could not find any other
way around this and we don't want to have all the community folks to
have another iteration where they have to remove their tmp directories
or purge some portion of the sstate.  It also makes this change
bisectable. If the change to the glibc is not included, it will fail
with the following message:

=====
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
=====

After this one time change I tested changing only the
do_stash_locale() function and it now works well because it is
deterministically operating off the sstate data or a local build.

(From OE-Core rev: fedc57a41a15bca1d96d14e25e2df0bb1eca904d)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Alistair Francis
6085e491fb opensbi: Update from 0.3 to 0.4
The OpenSBI licence was updated to include contributors in the
copyright notice.

The payload logic has been updated to fix some bugs and handle the new
optional dependency on the Linux kernel for device trees

(From OE-Core rev: 76350b19945db458c60d3f233770543c00cb2067)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Alistair Francis
505c70357d packagegroup-core-sdk: Set blank sanitiser for RISC-V 32
Set the SANITIZERS varialbe to "" for the riscv32 machine as it is
already set for the riscv64 machine.

(From OE-Core rev: 12cd545fcbd2e826fb2c33b03b59113f62cad5a6)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Alistair Francis
27d13d3c9d u-boot: Update to 2019.07
(From OE-Core rev: ef1d305ae39eaa19fe891be2b206a3e26072d378)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Anuj Mittal
b8da24b85d vulkan: remove
This has been split in multiple components which are now being packaged
separately following the repository split upstream.

https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/wiki/Repository-Split

(From OE-Core rev: 928d09f88c0f11cc6686d85fbe47e6e68a999289)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Anuj Mittal
7a9702bdf1 vulkan-demos: depend on vulkan-loader
Depend on vulkan-loader component of the now split-up vulkan.

(From OE-Core rev: 64ee4af8c057dea47cdedf2ae6d1b8f62ecdbc7e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Anuj Mittal
79c3a7f68e gstreamer1.0-plugins-bad: depend on vulkan-loader now
Depend on vulkan-loader instead of vulkan which has been deprecated.

(From OE-Core rev: edfd7164ca5954634f45bb05d76104c8dac00731)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Tim Orling
17dab68520 vulkan-tools: add recipe
Vulkan tools and utilities that can assist development by enabling
developers to verify their applications correct use of the Vulkan API.

DEPENDS on vulkan-headers and vulkan-loader.

(From OE-Core rev: c4db69fc0d8d46a396ee744fddad0300ec730f46)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Tim Orling
e8131220ec vulkan-loader: add recipe
Khronos official Vulkan ICD desktop loader for Windows, Linux, and MacOS.

Adapted from vulkan recipe with the changes done to remove obsolete options.
Needs either of X11 or Wayland to be enabled.

(From OE-Core rev: 4d9b993bd1706a8c29b45f58d513347a3d9f26d6)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Tim Orling
257f47803c vulkan-headers: add recipe
Provides vulkan header files and API registry.

(From OE-Core rev: 59953afcff884684e5b0df3ff7f4f1a1204384d8)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Mike Crowe
ecd8dad98f image.bbclass: Only append to IMAGE_LINK_NAME if it was already set
create_symlinks does not create any links if IMAGE_LINK_NAME is empty.
Unfortunately, setup_debugfs_variables unconditionally appends '-dbg' which
results in a previously-empty IMAGE_LINK_NAME containing just '-dbg'. Let's
check that it's not empty before appending.

(From OE-Core rev: e529c45f29bd9a1de21f31fef7acb23eb6e8ebdd)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Chen Qi
721f09d489 sysstat: use service file from source codes
Use service file from sysstat source codes.

(From OE-Core rev: 2266c8f627af71b89628c25dc412977054ebcd4a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Ross Burton
628c03af41 buildhistory: filter out the unexpected prefix for native/cross sysroots
For various technical reasons, native and cross builds have a prefix that
includes the full path to the sysroot.  As these are stripped away before the
files are used in the sysroot, we should also filter them out of the
buildhistory report.  This both removes noise when sharing a buildhistory
repository between different build directories, and improves the accuracy of the
reports.

(From OE-Core rev: 8bf53fbb62749b5d77c246fab6e1246b93f8c50f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Ross Burton
f74e8081ad buildhistory: don't output ownership for the sysroot
As the sysroot isn't ran inside pseudo the ownership is whoever is running the
builds.  In a setup where multiple builders all contribute to a shared
buildhistory writing the ownership data isn't useful, so just replace it with "-
-".

(From OE-Core rev: fadb7ae78876a7cf25c48481ff4ed3131e53415f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Khem Raj
b184dfe4af efibootmgr: Pass correct flags to compiler from pkg-config
efivar.h is in usr/include/efirvar directory so it should be
added to include search path via -I to compiler cmdline to fix

make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'.  Stop.
| make[1]: *** Waiting for unfinished jobs....

When running clang to generate dependencies -MM -MG -MF it still
parses the compile unit and complains if certain header is not found
where as gcc does not do that, hence the compile error is only seen
when compiling with clang.

(From OE-Core rev: db4fa7e765cb434119d816d86b943eeb62235601)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Ross Burton
7bd06c53ab libsndfile1: remove redundant autoconf seeding
Twelve years ago libsndfile was badly detecting large file handling and
generating bad code[1].  The detection code in libsndfile has had many fixes
since then and this isn't needed anymore (verified by comparing config.h when
built for qemuarm).

[1] https://git.openembedded.org/openembedded/commit/?id=875cfc6f23ae68c6215bf32eb01a486f0387cb92

(From OE-Core rev: 86f3a3ce6a80da66c7a53e7cb794c17230bd466d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Ross Burton
49f3519181 libsndfile1: disable use of sqlite3 by default
sqlite3 is only used by the regression testing tool, which is of limited use
unless you're the developer of libsndfile.  Add a PACKAGECONFIG for this, but
disable by default.

(From OE-Core rev: 5f01497dee9fcd5e5fc6bddb061b6cc55909fe65)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-10 09:56:22 +01:00
Richard Purdie
2a6094ca8c oeqa/bbtests: Tweak test bitbake output pattern matching
The output from bitbake will change slightly soon due to runqueue changes,
adpat the test now to account for both the old and new cases.

(From OE-Core rev: 78fcea74517de4793cc0ecc97bce7f5c7dcd44c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Richard Purdie
9437010a63 core-image-sato-sdk-ptest: Reduce image padding size due to bootimg 4GB limit
This image continues to run out of space on the autobuilder, tweak it a bit
further now the image space requirements were reduced after various ptest
fixes to avoid the error.

(From OE-Core rev: 9f974dd51c18a1387134a9350097dea97ef5f7d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Zang Ruochen
d44e5f1844 util-linux:upgrade 2.33.2 -> 2.34
-Upgrade from util-linux_2.33.2.bb to util-linux_2.34.bb.

-util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
 Removed since this is included in 2.34.

(From OE-Core rev: c8685430d81b60c38d43ed20e480b2a0942dc768)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Adrian Bunk
85af5bb628 i2c-tools: Add alternative for i2ctransfer
i2ctransfer is now also provided by busybox.

(From OE-Core rev: 0325aaebb389370f0c5444da1db9c8a179bf97cb)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Oleksandr Kravchuk
f738ffc85e libdrm: update to 2.4.99
(From OE-Core rev: 09e7f603ac637eab625a0caf23c0efa2d9d6bfb8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Mingli Yu
70a862a367 go.bbclass: separate the ptest logic to go-ptest class
The current go class includes ptest logic by default
and will make the recipe which inherits go class
to support ptest automatically though maybe the
recipe which inherits go class doesn't plan to
support the ptest.

So separate the ptest logic to another specified
class go-ptest to make the recipe which needs to
inherit go class more flexible with regards to
ptest support.

(From OE-Core rev: 099a2a212fed61a24643da63c74c09cef3ba4030)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Pierre Le Magourou
8073a9862e cve-check: Update unpatched CVE matching
Now that cve-update-db added CPE information to NVD database. We can
check for unpatched versions with operators '<', '<=', '>', and '>='.

(From OE-Core rev: bc0195be1b15bcffe60127bc5e8b7011a853c2ed)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Pierre Le Magourou
e7ee189c6a cve-update-db: Use NVD CPE data to populate PRODUCTS table
Instead of using expanded list of affected versions that is not
reliable, use the 'cpe_match' node in the 'configurations' json node.

For cve-check to correctly match affected CVE, the sqlite database need to
contain operator_start, operator_end and the corresponding versions fields.

(From OE-Core rev: f7676e9a38d595564922e5f59acbc69c2109a78f)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Pierre Le Magourou
8f81d2e863 cve-check: Depends on cve-update-db-native
do_populate_cve_db is a native task.

(From OE-Core rev: 4078da92b49946848cddebe1735f301af161e162)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-09 23:30:44 +01:00
Pierre Le Magourou
4a68a44f56 cve-update-db: Catch request.urlopen errors.
If the NVD url is not accessible, print a warning on top of the CVE
report, and continue. The database will not be fully updated, but
cve_check can still run on the previous database.

(From OE-Core rev: 0325dd72714f0b447558084f481b77f0ec850eed)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-05 12:00:20 +01:00
Chen Qi
a61354e965 grub-efi.bbclass: take into consideration of multilib
When enabling multilib and building lib32-IMAGE which
uses grub-efi, the build fails with the following error.

  install: cannot stat '/PROJ_DIR/build/tmp-glibc/deploy/images/intel-x86-64/grub-efi-bootia32.efi': No such file or directory

The grub-efi is in NON_MULTILIB_SCRIPTS. That means we
will use 64bit grub-efi for lib32-IMAGE.

So take into consideration of multilib to fix this problem.

(From OE-Core rev: 3c7b6dfecd22eae369bba54437cdff91fa8542df)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-05 12:00:20 +01:00
Ross Burton
56c9e61f39 insane: use clean_path for the host contamination warnings
We've a nice function to clean up absolute build paths for display, so use it.

(From OE-Core rev: c2f2ea87592d14e7020eff19c11aae2fb644358a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-05 12:00:20 +01:00
Ricardo Salveti
e005972786 gcc-9.1: add back GLIBC_DYNAMIC_LINKER riscv changes
The riscv GLIBC_DYNAMIC_LINKER changes were dropped during the gcc 9.1
update, breaking usrmerge support.

(From OE-Core rev: 87a59a79292d2673d084e148a8161a676d87bf18)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-05 12:00:20 +01:00
Ross Burton
1b7876b060 buildhistory_analysis: ignore ownership for sysroot diffs
The sysroot isn't populated under pseudo, so ownership differences should be ignored.

(From OE-Core rev: 01b816be4adff8f3992c1369810bdcf11a26fd6c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-05 12:00:20 +01:00
Joshua Watt
4fd9ee4670 bitbake: bitbake: Add --skip-setscene option
Adds an option to skip _setscene only if they would normally be
executed, without ignoring sstate completely.

Previously, '--no-setscene' would allow a build that completely ignored
sstate and _setscene tasks, and '--setscene-only' would allow a build
that only ran _setscene tasks, but there was no option do a build that
would respect tasks previously restored from sstate and build everything
else. Now one can run:

 bitbake --setscene-only IMAGE; bitbake --skip-setscene IMAGE

which is functionally equivalent to:

 bitbake IMAGE

The indented use is to allow a build to complete successfully in the
presence of _setscene task failures by splitting apart the two phases
e.g.:

 (bitbake -k --setscene-only IMAGE || true) && bitbake --skip-setscene IMAGE

(Bitbake rev: 813ba5b7c13b573a0b813b628a819bdbf0627540)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Richard Purdie
97e19bf73b bitbake: main: Alter EOFError handling
If the server shuts down 'cleanly' due to some issue, the socket will close.
A recently reported example was an invalid PRSERV being set. Doing this silently
and without changing the retries count will case the server startup to loop
infinitely.

Change the code so it triggers the usual retries note messages and times
out eventually pointing the user at the cooker log file.

[YOCTO #12984]

(Bitbake rev: bb696636ef0c59f9e9640bb9460e7cce323cc785)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Richard Purdie
53138165bc bitbake: main: Ensure log messages are printed when no UI starts
If the UI hasn't started, no messages are printed to the console
until the server starts. This is confusing, particularly if the server
never starts. Flush the UI queue through the simply handler upon connection
retry so the user sees the messages they're supposed to be seeing.

Also point the user at the logfile for hints about why this may be.

(Bitbake rev: 4b9ab675cebb427ab8ad0c56c7b37eed50a2a39e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Richard Purdie
0a0cc5ff2e bitbake: event: Clear ui_queue after handling it
(Bitbake rev: 55631da1336589e583e8341a655179f7714ab3fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Chen Qi
5fc7930064 devtool.py: track to clean devtool.conf in test_create_workspace
`devtool create-workspace' would create devtool.conf, so track to
clean it up. Otherwise, this devtool.conf file would mess things up.

e.g.
oe-selftest -r devtool && oe-selftest -r devtool -j 2
AssertionError: '/PROJ_DIR/build-selftest-st-15753/workspace/conf/layer.conf' does not exist : Workspace directory not created

This is because the devtool.conf is also copied to build-selftest-st-xxxx
directory, resulting in devtool to create and use workspace specified
in this file.

(From OE-Core rev: a0a96db23686a38235fb0373e75e8b2951216c18)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Ross Burton
6df5aa2cc2 multilib_script: fix whitespace
The blocks were intended with 3 spaces instead of 4.

(From OE-Core rev: 98fbf61287971319547cc462b7c81f54950df619)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Jason Wessel
ff9739af25 glibc/glibc-locale: Fix do_stash_locale to work with usrmerge and multilibs
The do_stash_locale was not working consistently across the 4 build
configurations and the multilib, usrmerge configuration would fail
entirely with the obscure message:

| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/temp/run.do_prep_locale_tree.124690:1 exit 1 from 'gunzip $i'

Here is the 4 build configurations without the patch applied:

A) x86-64 no multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
B) x86-64 no multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
C) x86-64 multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
885
D) x86-64 multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
864

The issue here is that all the moves should be processed first, then a
copy should be made of the lib directories, but only in the case they
are different when using the usrmerge feature.  Even though the build
worked for the multilib configuration without usrmerge, the content
was not the same.

After applying the patch the same number of files are in all the
configurations.  The list of files was also diffed, after normalizing
the directory names to ensure all the correct files were copied.

Ultimately there are probably additional files that should be pruned
from what is copied to the stated_locale, but the purpose of this
patch is make it 100% consistent between the build types and fix the
builds.

(From OE-Core rev: 33c2e7b4944af22ca47b53d1f85d03426f169bb7)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Jason Wessel
92ffcf9985 glibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"
When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:

=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====

The simple fix is to prune the empty directory.

(From OE-Core rev: 4b3c5ec80e696fc2c7ce7ceba118095f9b8f6439)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Jason Wessel
52971eeaaf psmisc: Fix dependency for USE_NLS=no
When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:

| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.

This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint.  The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.

(From OE-Core rev: 1f163ab451a8a5a5ba1fb426cf5a9eb41f822368)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Oleksandr Kravchuk
9431fb44bd ifupdown: update to 0.8.22
(From OE-Core rev: 57e472c2c86cf23732cd7babc48beeef07b0882d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Oleksandr Kravchuk
a02eab8d89 python3-mako: update to 1.0.13
(From OE-Core rev: 499df2b1f5cb793ecbedd0f4e28a5ae02d5e64f9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Richard Purdie
9b9cb54dd8 grub2: Drop unneeded code
We no longer export these variables into the environment so we no longer
need this code.

(From OE-Core rev: fd85639bf3092491123e8747e44e7b30648c85cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Joshua Watt
17268ae841 oeqa: Test bitbake --skip-setsecene
Tests the bitbake --skip-setscene option to verify that it correctly
reuses tasks previously restored from sstate, but doesn't execute new
sstate tasks

(From OE-Core rev: af10c620b1496bf5224d0628a92cb42e9cd362a8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
He Zhe
26f7e4e660 ltp: file01: Fix in was not recognized
Some file has "pie" appending after LSB or MSB, which causes mismatch and the
following error.

"file01 10 TFAIL: in: was not recognized"
..."ELF 64-bit LSB pie executable"...

This patches tunes the regulation expression to include those cases.

(From OE-Core rev: 3602a7affd95a22e7e22c9ed4df731f94ed9b64b)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Kai Kang
6fcc6e5ab2 rng-tools: fix rngd blocks system shutdown
fix-rngd-fail-to-stop.patch is added to fix rngd blocks system shutdown
issue. But it causes rngd doesn't release CPU and causes 100% CPU
usage, so drop it.

The block shutdown issue is caused by comit [7cb64b9fe1 rng-tools: start
earlier in the boot process] which updated rngd.service. Revert the
modification of rngd.service.

Update sed expressions in do_install as well which fails to replace
second match in one line.

(From OE-Core rev: edf760682270de36850407c860bea5aea29e30bc)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Andrej Valek
70146ea8a1 busybox: 1.30.1 -> 1.31.0
- update to last stable version 1.31.0
- remove and refresh already merged patches

(From OE-Core rev: 1654e8a6ec53799ce55302dfc075d4b1bd5a6cc0)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
b52d58b8bb devtool: upgrade: fix handling of errors parsing upgraded recipe
As part of upgrading a recipe we create the upgraded recipe file in the
workspace and then try to parse it so we can then make further
modifications. If for some reason that parsing fails then the failure
was not being handled very well - the broken recipe was being left in
place, breaking parsing until it was removed by hand. Fix that by adding
a call to the cleanup function, and fix the following issues:

* Fix the cleanup function which doesn't look like it has ever worked
  due to a typo in the function call

* Fix double-printing the error message

* Remove usage of DevtoolError in this case (DevtoolError is for simple
  usage errors, not this kind of issue which may be the result of a
  bug).

We're still printing a traceback in this scenario but at least it
doesn't break the build system requiring manual cleanup. I also
introduced a command-line option to preserve the broken upgraded recipe
file(s) for debugging purposes.

(The reproducer for this is "devtool upgrade libnewt-python", however
you need to check out revision b82ea144e1
or earlier since that recipe has now been absorbed into the libnewt
recipe. The libnewt-python recipe was causing an issue with the upgrade
because it actually included the libnewt recipe using ${PV} in the
include statement, and of course PV was changing in the upgrade.)

Fixes [YOCTO #13404].

(From OE-Core rev: c519ac360796675d7fc09a5250d21f0f5b6236fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
1dffd9c2ec recipetool: ignore zero-length setup.py files
If a setup.py file exists it ought to have something in it before we
consider the source tree to be a Python module and treating it as such.
(A counter-example is https://www.bro.org/downloads/binpac-0.50.tar.gz -
it's not clear why this has a zero-length setup.py in it but we should
pay no attention to it.)

Fixes [YOCTO #12923].

(From OE-Core rev: 548a5c8f42c6ac1b0f7962926d05276e71505678)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
9a08720b3a list-packageconfig-flags: print PN instead of P
P (which is ${PN}-${PV}) isn't terribly useful in this context - we
don't really care what the version is, but we do want to know what the
recipe is so we can find it or set PACKAGECONFIG_pn-<PN> in our
configuration, so display ${PN} instead.

(From OE-Core rev: 7facaacd145c2924414ad63ddce07602a72d02c1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
12d64d6d1a scripts/contrib/ddimage: be explicit whether device doesn't exist or isn't writeable
Make the error messages a little more friendly.

(From OE-Core rev: 36f308b0134c69b439152c2473a274d96b0fee89)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
d3a9f43305 scripts/contrib/ddimage: replace blacklist with mount check
The blacklist, whilst previously useful for safety, is now becoming
obsolete - on my current system, the main storage is at /dev/nvme* and
if I plug in a USB stick it shows up as /dev/sdb which was previously
blacklisted. To make this more flexible, remove the blacklist and
instead check if the specified device is mounted, has a partition
that is mounted, or is otherwise in use according to the kernel, and
show an appropriate error and quit if so.

To make this robust, also ensure we handle where the specified device is
a symlink to another device.

(From OE-Core rev: 49043de1a7716ad612fb92a2e8a52e43d253c800)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
8ff741d075 scripts/contrib/ddimage: fix typo
UNKOWN -> UNKNOWN

(From OE-Core rev: adf632c959e7f6595b697726fe64ddda40b9f249)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Paul Eggleton
4aef95e8d4 libcap-ng: do not use symlink to share files with libcap-ng-python
I'm not sure what's going on but having this symlink present is causing
git problems rebasing just by being present; deleting it and checking it
out again does not fix it. In any event this is not the standard way of
sharing files between recipes in the same directory - extending
FILESEXTRAPATHS is, so use that method instead.

(From OE-Core rev: 9ddf0597b4ea40b4c2be2eb0f01f833b5ec23030)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-03 17:00:57 +01:00
Oleksandr Kravchuk
1c6b1f926c bzip2: update to 1.0.7
Removed patches were upstreamed.

(From OE-Core rev: 3f88fcac8b5d3067bd4079af336eaf823ba00c96)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 22:01:15 +01:00
Hongzhi.Song
4cbe4cbdc0 ltp: diotest4: Let kernel pick an address when calling mmap
Error:
diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument
diotest4 11 TBROK : diotest4.c:368: Remaining cases broken

This is because the manually specified addr from mmap is invalid.
We should let kernel itself pick an addrress.

(From OE-Core rev: c49e4fd1cc573170fd18c2f6313f8d77f5e68470)

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Ross Burton
41e7ba16ab efivar: ensure that target security flags are not used to build native code
Also set LDFLAGS=BUILD_LDFLAGS when compiling makeguids to ensure that any
target compiler flags are not passed to the native compiler.

[ YOCTO #13423 ]

(From OE-Core rev: f61e0676aabba9e006c32f0e53c69426368cd4f0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Zang Ruochen
2f2e8562a0 nss: upgrade 3.44 -> 3.44.1
Upgrade from nss_3.44.bb to nss_3.44.1.bb.

(From OE-Core rev: 147c7e02fd300efe5f8c0115d127be98348c531f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Changqing Li
d727e24ed5 mdam: fix mdmonitor start up failure
1. recently, mdadm has changed to use service file under srcdir,
   so remove the one not be used.
2. add -y option to fix below problem
   mdadm: No mail address or alert command - not monitoring

(From OE-Core rev: e3cd783f42bff8ac50d4dde560ead999efd01a57)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Chen Qi
da263d9c7a image.bbclass: fix systemd_preset_all
Check the existence of systemd before using systemctl to preset units.
This is because even if 'systemd' is in DISTRO_FEATURES, it's possible
that systemd is not even installed. e.g. container-test-image in
meta-selftest layer.

As systemd DEPENDS on systemd-systemctl-native, the existence of systemd
also ensures the existence of systemd-systemctl-native.

This would fix the following test case when using systemd as the init
manager.

  containerimage.ContainerImageTests.test_expected_files

Also remove the IMAGE_EXTRADEPENDS setting, as nothing references this
variable.

(From OE-Core rev: c9854a4ab6af9e60b1a588a87b9a062624af6fae)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Ross Burton
8c53f5e956 perl: fix Upstream-Status tags
(From OE-Core rev: ec644192c758ce1ec90c487a0fff69d6de0ca55d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Adrian Bunk
3bcd44957d unfs3: Switch to new upstream location
This uses the same code revision in the new repository.

(From OE-Core rev: c7d9991b7536233f33226a729edaf3ba816abc73)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Oleksandr Kravchuk
548b12f672 quilt: update to 0.66
(From OE-Core rev: 73d6034f6b84c80d39aac8099b62322f4379de37)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Oleksandr Kravchuk
cfd8d156fd ruby: update to 2.5.5
(From OE-Core rev: f2c5659968dcdb44ceaf030b45b1e3baf3be7a7e)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Li Zhou
2238858773 bc: dc: fix exit code of q command
The exit code for "echo q | dc" is 1 for dc-1.4.1;
while the exit code for "echo q | dc" is 0 for dc-1.4.

Here is the answer from ken@gnu.org:
dc-1.4 was right.  There was a rewrite of a chunk of code for 1.4.1 to
fix a corner case in the Q command, and somehow the placement of the
clean-up label for the 'q' command got misplaced on the error-handling
branch instead of the clean-exit branch.  The patch below fixes this
(it is committed for whenever the next bc/dc release gets made).

Thanks for the report,
        --Ken Pizzini

(From OE-Core rev: ab16d9ccaf824fbda5e43c5b3cbdc43ec70be87f)

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Oleksandr Kravchuk
dad470264a bison: update to 3.4.1
(From OE-Core rev: b97a5a37262a8d7ce45ae75d861e87dfe28fe0df)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
Richard Purdie
bc5f6725af Revert "pigz: Add debug for autobuilder errors"
This reverts commit b08976456c8ab7f29efd83644ce42746c0d6501b.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 23:33:45 +01:00
Richard Purdie
99206cb7b4 package: Build pkgdata specific to the current recipe
This switches the code to build pkgdata specific to the current recipe
which means that its filtered to the recipes dependencies and can perform
better as we can drop the lockfile.

It uses a similar method to the staging code to do this, using BB_TASKDEPDATA
to construct a list of packagedata task output which this recipe should "see".

The original pkgdata store is left unaltered so existing code works.

The lock file was there to prevent files disappearing as they were read or as
directories were listed. Since we have a copy of the data and only access output
from completed tasks (as per their manifests), we can remove the lock.

The lock was causing starvation issues on systems with parallelism.

There was also a potential determinism problem as the current code could "see"
data from recipes which it doesn't depend upon.

[YOCTO #13412]

(From OE-Core rev: 1951132576bfb95675b4879287f8b3b7c47524fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Richard Purdie
b9bf7d2682 staging: Code cleanup
multiconfig dependencies no longer appear in BB_TASKDEPDATA so we can drop
this code.

(From OE-Core rev: 288b04c8a31fcf257219a57e23663b74178c75f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Alexander Kanavin
fa65c61b3d mobile-broadband-provider-info: upgrade 20190116 -> 20190618
The new version is using xsltproc utility

(From OE-Core rev: a8c370a9ff2c6f7d7d516ef69cc2c4c8b8279f61)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Alexander Kanavin
538e2f430e gtk-doc: correct the style.css permissions
style.css was set to write-only during build which means it wasn't actually
installed or packaged (with only webkitgtk producing a build failure!),
which in turn means generated documentation was broken.

(From OE-Core rev: 946516f5312edaa62fd20162d8c7596f77e9ca64)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Alexander Kanavin
b47cc35280 rt-tests: exclude 1.4 version from upstream check as well
(From OE-Core rev: 4769f94a2cc493cdf77b9e6a41a2e9b6a9c8f52f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Oleksandr Kravchuk
7cceb15182 libsolf: update to 0.7.5
Removed patch was upstreamed.

(From OE-Core rev: 60fb828e581c5e109f19625b05f5bf7363f5c70d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Oleksandr Kravchuk
8e473ebef8 expat: update to 2.2.7
Removed patch is not appropriate anymore.

(From OE-Core rev: 485db07c099845ec106cf555065676efef61030f)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Oleksandr Kravchuk
8763309bd4 libinput: update to 1.13.4
(From OE-Core rev: 0e71fea258ffa53a4d7a693d7cac4a0e9f8b5ee7)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Oleksandr Kravchuk
de80610578 apt: update to 1.2.31
(From OE-Core rev: b414b95a0e0fc5b5e1403272eaaf59e0bec6da06)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Oleksandr Kravchuk
ee50f417f3 dpkg: update to 1.19.7
(From OE-Core rev: 4b312777a2e154a6d86311981299bc16f23f053c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Oleksandr Kravchuk
2db1c45c71 babeltrace: update to 1.5.7
(From OE-Core rev: 2743f3ae192f84be6b216e5d33928e123e82007d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Jason Wessel
d8d7402906 glibc: Fix multilibs + usrmerge builds
The build of glibc fails when you have multilibs enabled + the distro
feature usrmerge.  Here is an example configuration:

===
MACHINE = "qemux86-64"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_append += " usrmerge"

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
===

This will fail with the following error:

NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-2.28-r0 do_poststash_install_cleanup: Function failed: do_poststash_install_cleanup (log file is located at /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893)
ERROR: Logfile of failure stored in: /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893

The fix is to not perform the rmdir check when using the multilib + usr/merge, namely:

if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then

This will evaluate as follows (collecting the output from bitbake -e glibc)

* no multilibs no usrmerge
        if [ "/usr/lib" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* no multilibs yes usrmerge
        if [ "/usr/lib" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
* yes multilibs no usrmerge
        if [ "/usr/lib64" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* yes multilibs yes user merge
        if [ "/usr/lib64" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then

(From OE-Core rev: c5640f8c8663c8f81125bf7c5bc2ef8e9fe55315)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Richard Purdie
267b2f26e5 pigz: Add debug for autobuilder errors
(From OE-Core rev: b08976456c8ab7f29efd83644ce42746c0d6501b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Robert Yang
dcce395782 package_rpm.bbclass: python2 -> python3
(From OE-Core rev: 8208fffc95b46e03bab967462c17d83e0a687d50)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Robert Yang
15cdacb8c0 oeqa: Cleanup /usr/bin/env python
(From OE-Core rev: eb79217b8761816a21c8f7bed3c5379c1b9230ea)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Robert Yang
16e9557850 ext-sdk-prepare.py: python2 -> python3
This script is python3 indeed.

(From OE-Core rev: 62443240d01ba4b696a8dbab9e60774a84662cdd)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Robert Yang
b19ce5d2e8 wic: python2 -> python3
(From OE-Core rev: 9303f92599343adf645fee5d2434fadd97e7febb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Robert Yang
69f1b3962e ksum.py: python -> python3
* Testinfo:
  In kernel's builddir:
  $ /path/to/oe-core/scripts/tiny/ksum.py

Collecting object files [DONE]

Totals:

vmlinux:
    text        data            bss             total
    10933110    3824470         1605632         16363212

modules (2004):
    text        data            bss             total
    46144408    3047516         167580          49359504

vmlinux + modules:
    text        data            bss             total
    57077518    6871986         1773212         65722716

(From OE-Core rev: a55955f337b4cebf557f96f5dd7c2edc0bfa6d8a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-30 22:40:52 +01:00
Robert Yang
1337766521 bitbake: bitbake: toaster:tests: python -> python3
(Bitbake rev: 683c24788d96176699a585055eb62d8a71830a12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:29:04 +01:00
Robert Yang
5161799993 bitbake: bitbake: lib: Cleanup /usr/bin/env python
(Bitbake rev: cc712f3257904960247a7532cfc4611f3dccd36c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:29:04 +01:00
Luca Boccassi
d8551bd029 bitbake: tests/fetch.py: add missing skipIfNoNetwork tags to tests that try to git clone
test_git_submodule_dbus_broker, test_git_submodule_CLI11, test_git_submodule_update_CLI11,
test_git_submodule_aktualizr and test_git_submodule_iotedge try to access the network via
git clone, which fails when there is no network available. Add the relevant skip tag.

(Bitbake rev: 9b0538753da0514e6518723dac537007abf7a649)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:29:04 +01:00
Joshua Watt
f473728b22 python3: Fix .pyc file reproduciblility
Applies a patch to python that makes the pre-compiled .pyc files
generated during the build reproducible.

(From OE-Core rev: 148d54f91f43147f31b16a7c2cb1ade385832366)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:38 +01:00
Oleksandr Kravchuk
275e3c8718 eudev: update to 3.2.8
(From OE-Core rev: e2ae59520e3df661aced4f67fda630cca6aaf6f8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:38 +01:00
Oleksandr Kravchuk
114342029e git: update to 2.22.0
(From OE-Core rev: 7e4d2d2792b70edf4d0a6c2e3d5278d9138c8709)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:38 +01:00
Oleksandr Kravchuk
afe4ea5faa python3-pygobject: update to 3.32.2
(From OE-Core rev: 26b7298d2f34b5a20cf22b449ce362987b2b52f9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:38 +01:00
Oleksandr Kravchuk
7674dab0ed python3-pbr: update to 5.3.1
(From OE-Core rev: 9bb4c8b5b0f0bec15fa80f1d3e55a34ee13c08bb)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
daed49b2a7 python3-mako: update to 1.0.12
License checksum changed due to madified copyright year.

(From OE-Core rev: 9225797184c877dd22aa5f96503a182a548303ff)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
084592e9b8 autoconf-archive: update to 2019.01.06
(From OE-Core rev: 5ef547b9ba4f7a2836dea43013a450c7ca13e6e8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
bc231b1f22 libxt: update to 1.2.0
License checksum changed due to modified copyright year.

Removed patch was upstreamed.

(From OE-Core rev: 4a77ac273cb16167fff8fcb9831434d9a25f8fcf)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
56fd11118c libxi: update to 1.7.10
(From OE-Core rev: d5290687f261e1f4ee35b8c27b2d886fe09b88d8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
8f220f8dc3 libinput: update to 1.13.3
(From OE-Core rev: e4c316699b3937d92d97991aad4f64e9f6f8c132)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
3dae182705 gawk: update to 5.0.1
(From OE-Core rev: 34dd24a00adbce5f10b56028af29db96b2910bb6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Pierre Le Magourou
9335a508a7 cve-update-db: do_populate_cve_db depends on do_fetch
To be able to populate NVD database on a fetchall
(bitbake <image> --run-all=fetch), set the do_populate_cve_db task to be
executed before do_fetch.

Do not get CVE_CHECK_DB_DIR, CVE_CHECK_DB_FILE and CVE_CHECK_TMP_FILE
variable because do_populate_cve_db can be called in a context where
cve-check class is not loaded.

(From OE-Core rev: 975793e3825a2a9ca6dc0e43577f680214cb7993)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Oleksandr Kravchuk
f08c4285a1 encodings: update to 1.0.5
(From OE-Core rev: f65013af8e556b8e56001fae147aac890fb1836c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Ross Burton
adaba4ee4f buildhistory: report sysroot changes
Now that the sysroot is written into the build history, write it out.

(From OE-Core rev: e9df98ba63e6d2baefee550170dbdd11ed2ad03a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Ross Burton
d533ffb82c buildhistory: write the contents of the sysroot
Changes to the sysroot are just as interesting during development, so write the
file listing for the sysroot to buildhistory too.

(From OE-Core rev: b3ac82a27ab70ed6996fe3087a578ac637820329)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Hongzhi.Song
b96d6e2f9b ltp: fix shmctl01 failure when executed.
schmctl01 fails with following error:
[shmctl01    5  TFAIL  :  shmctl01.c:171: shmctl01 call failed - errno =
22 : Invalid argument]

Backport the patch from upstream can fix it.

(From OE-Core rev: 337e6923375e7cf568a66b299b6c3461f33a903c)

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Peter Kjellerstedt
ffbd8bd4ca glib-2.0: Update to 2.60.4
* For changes, see:
  https://gitlab.gnome.org/GNOME/glib/blob/glib-2-60/NEWS
* Remove backported CVE-2019-12450.patch.

(From OE-Core rev: 82714d374744d55f57d48fd08971e8b952a7bcdd)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Chen Qi
dc3b7bd2eb devtool: warn user about multiple layer having the same base name
Currently `devtool finish RECIPE meta' will silently succeed even
if there are multiple layers having the same base name of 'meta'.
e.g. meta layer from oe-core and meta layer from meta-secure-core.

We should at least give user a warning in such case. With the patch,
we will get warning like below.

WARNING: Multiple layers have the same base name 'meta', use the first one '<PROJ_DIR>/oe-core/meta'.
WARNING: Consider using path instead of base name to specify layer:
	 	  <PROJ_DIR>/oe-core/meta
		  <PROJ_DIR>/meta-secure-core/meta

(From OE-Core rev: 2c8740f543c38dbaef3345e40827ef48b3f75405)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Joël Esponde
0df6cef525 package.bbclass: fix directories setuid and setgid bits
populate_packages relies on ``mkdir`` to both create a directory and set
its permissions. However, ``mkdir`` honors the ``umask`` value.
Therefore, some bits may be lost in the operation. In our case, the
setgid bit on the directories were lost.

This commit fixes this by having a distinct call to create the directory
and to set the permissions.

(From OE-Core rev: 0f82b53a650e76e0129fae6ce7581a41d042315b)

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-28 13:28:37 +01:00
Richard Purdie
bfe3012ea4 busybox: Fix typo in syslog initscript
The change to ensure the existing processes shut down had a clear copy
and paste error. This really fixes syslog to avoid errors on restart.

(From OE-Core rev: 9f674a88c781c7092d5b3460922a1579b9fe4bf9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 13:28:48 +01:00
Richard Purdie
897639d7dc oeqa/runtime/syslog: Add delay to test to avoid failures
On a loaded builder we've seen the log message not make it to the log file
before the ssh command completes. Add a short delay to try and ensure
this does happen. There is unforunately no way to flush syslog in all
cases we test.

(From OE-Core rev: 66322b689e46520647e2d94d5e3f3ce282a41247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Richard Purdie
2e91163d59 oeqa/runtime/oesyslog: systemd syslog restart doesn't change pid
The systemd-journald process doesn't restart/change the way syslog
does, don't test/error in this case.

(From OE-Core rev: be48190dca0643df4881624d29c2eae453395919)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Richard Purdie
abfe4b3d5c oeqa/runtime/syslog: Improve test debug messages
Its useful to test whether the restart command returned an error code and
exit early from the test if so.

Also add different messages to tell if the syslog processes didn't
die or didn't restart.

(From OE-Core rev: f19e95b8571a0d8213c4dec0da056e3d243fbbd1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Richard Purdie
91144160e1 busybox: Improve syslog restart handling
We're seeing races on the autobuilder where syslogd fails to shut down
fast enough to be restarted leading to failures.

Add some checks to ensure when restarting that processes exit before
being restarted.

(From OE-Core rev: 04de384256ad321834cf5e3dbb9a8d3ea2ab66c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Richard Purdie
a06a47af30 sysklogd: Fix init script races
In testing we're seeing sysklogd fail to restart klogd since the original
process hasn't stopped before the new one is started. This means a restart
can result in no process running which is clearly not desireable.

Add extra code to ensure this works correctly. Busybox start-stop-daemon
seems particularly open to this kind of issue, the dpkg version maybe
less so if timeout options are used (which we don't use).

(From OE-Core rev: dc1fcb61f7d89cd066ace2edc143e7a2d329e033)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Jon Mason
3e2ab10159 oe_syslog.py: Handle syslogd/klogd restart race
syslogd and klogd can occasionally take too long to restart, which
causes tests to fail by starting before the log daemons are ready.  To
work around this problem, poll for up to 30 seconds on the processes to
verify the old ones are killed and the new ones are up and running.
Similarly, add checks for rsyslogd and systemd-journald to possibly
catch issues with those daemons.

[YOCTO #13379]

(From OE-Core rev: dc73872b828ea271678fa624c15199364a5cba9e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Chen Qi
0729bda024 target-sdk-provides-dummy: add libperl.so.5 64bit
With postgresql added to IMAGE_INSTALL, we will get the following
error when building for 64bit BSPs.

  Problem: package postgresql-11.3-r0.corei7_64 requires libperl.so.5()(64bit), but none of the providers can be installed

A previous patch has added libperl.so.5 to DUMMY_PROVIDES, but this
is not enough. Because for 64bit BSP, it should also provide libperl.so.5()(64bit).

(From OE-Core rev: ae1414fcbe41a70a56021c4d240976dae0adad33)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Alistair Francis
bd7860577a mesa: Add support for the lima PACKAGECONFIG
(From OE-Core rev: 8649c5e36969da061b39db4536d127128382fe15)

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Robert Yang
8eb91205f6 multilib.bbclass: Reduce ALTERNATIVE_PRIORITY for extended recipes
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

$ bitbake core-image-minimal
update-alternatives: libtool has multiple providers with the same priority,
please check
/path/to/rootfs/usr/lib/opkg/alternatives/libtool for details

Both libtool and lib32-libtool have the same priority (as they're the same
recipe), so update-alternatives won't deterministically pick a provider. This
means you could end up with an image using a 32-bit pkgconfig and 64-bit
libtool, for example.

Make extended recipes reduce priority by 1 (or 2, 3 ... when there are multiple
variants in MULTILIB_VARIANTS) to fix the problem.

[YOCTO #13418]

(From OE-Core rev: a2f53255ed7fb3657c470cd6a4452d883edd11cc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Pierre Le Magourou
e9147d16a2 cve-update-db: Manage proxy if needed.
If https_proxy environment variable is defined, manage proxy to be able
to download meta and json data feeds from https://nvd.nist.gov

(From OE-Core rev: 09be21f4d1793b1e26e78391f51bfc0a27b76deb)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Robert Yang
cebda73b3f busybox: make postinst run firstly before update-alternatives
The update-alternatives.bbclass' postinst script runs firstly before other
postinst, but busybox needs set basic tools such as sed command firstly,
otherwise, update-alternatives doesn't work, so run busybox' postinst firstly
to fix the problem.

(From OE-Core rev: 3a035bd0a06a6ded4d0ce7e35a3bce42245727d2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Robert Yang
8d22a45cdd update-alternatives.bbclass: run update-alternatives firstly in postinst script
Recipes like postfix run command newaliases in postinst, but newaliases is
installed as newaliases.postfix, it needs run update-alternatives to update it
to newaliases, so there was an error when installed postinst on target.

Fixed:
$ opkg install postfix
Configuring postfix.
///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command not found

Run update-alternatives firstly will fix the problem.

(From OE-Core rev: 52c36dd869c605c0065c17f9ed502a319ce3dd84)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Adrian Bunk
c60759b2e4 libnotify: Remove obsolete dependency on dbus-glib
Upstream stopped using it in 2010.

(From OE-Core rev: 3583b713884ad7ce39f91b072dc22b8c9730eabd)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Adrian Bunk
31a276fd45 cups: Remove unnecessary dependency on dbus-glib
(From OE-Core rev: 943e25f41129b9558c78f375ff80ddf1b21919ae)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Adrian Bunk
33c1980687 python3-dbus: Remove obsolete dependency on dbus-glib
Upstream stopped using it in 1.2.6.

(From OE-Core rev: b9353d6fbcd36a671e02bb849553a3791270c742)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Adrian Bunk
cd8fc62eb3 bluez5: Remove obsolete dependency on dbus-glib
Upstream stopped using it in 2008.

(From OE-Core rev: 5a73ba641f2fad8d0afa954e7c1a7d199263fbe0)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Fabio Berton
3a073511cc mesa: Update 19.1.0 -> 19.1.1
Mesa 19.1.1 is a bug fix release which fixes bugs found since the
19.1.0 release.

For a complete changelog see:
https://www.mesa3d.org/relnotes/19.1.1.html

(From OE-Core rev: a7c147532e1017bc1d22dd3cd6a2ef2d63e75490)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Richard Purdie
403c9341d1 multilib_global: Fix KERNEL_VERSION expansion problems
KERNEL_VERSION gets expanded at runtime to contain the real kernel
version. There is code to ensure the signatures are determinisic but
the multilib expansion code breaks this.

Exclude the variable from the datastore used for expansion to avoid this.

(From OE-Core rev: c068f907fee16477f59b6e5b168208aa4f677544)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Richard Purdie
16cd4ae3d5 multilib_global: Fix multilib rebuild issue
Building lttng-modules for a "lib32" multilib, then changing to a "lib64"
multilib with "lib32" removed doesn't rebuild lttng-modules.

This is due to the multilib pieces in RPROVIDES being added after RecipeParsed
which is after the signatures are generated.

Changing this to RecipeTaskPreProcess allows the multilib components to be
accounted for correctly in the task hashes.

This addresses failures on the autobuilder seen in lib64-core-image-sato-sdk
builds where lttng-modules was being reused from qemux86 world build's lib32
version.

(From OE-Core rev: a8dc13d4e4e34b061be5c2dd71f26cc0ad92a72e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Mike Crowe
a478ad4c2d bitbake.conf: Stop exporting TARGET_ flags variables
Way back in
http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html
a few of us discussed not exporting TARGET_LDFLAGS. There seemed to be
support for this idea, and I modified our tree to not do so. I then seem to
have dropped the ball. :( We've been running like that for over five years,
and not observed any problems.

It seems sensible to stop exporting TARGET_CPPFLAGS, TARGET_CFLAGS and
TARGET_CXXFLAGS too.

I've successfully compile-tested core-image-minimal and core-image-sato for
x86_64 and qemuarm64 with these changes.

(From OE-Core rev: 1b1ab93408c3ba72f855b2f4a028f1a917e9b551)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Ross Burton
bb75a12425 oeqa/buildoptions: check that Fortran code actually cross-compiles
Don't just test that we can build the cross-compiler, but test that it actually
can cross-compile some Fortran.

The quadmath dependency is now handled in gcc-runtime and isn't needed in this
test (as per local.conf.sample.extended changes).

There's also no need to build libgfortran explicitly, as fortran-helloworld depends on it.

(From OE-Core rev: 4b43c655ed5ff8b9d2662730526811220b21ff8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Ross Burton
f0c76ce18c fortran-helloworld: add a very dumb Fortran Hello World for testing
For future runtime testing something more complex is preferred but this is
sufficient to exercise the cross compiler.

(From OE-Core rev: 7d5f39ca717fa1caea357a4366bbf106386432c0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Alejandro del Castillo
f5379ec0d0 opkg: upgrade to version 0.4.1
- Drop 0001-libopkg-add-add-ignore-recommends-option.patch
- Drop 0001-opkg-add-target-for-testsuite-installation.patch
- Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch
- Remove test binaries tests\libopkg_test, leftovers from make dist
process

(From OE-Core rev: b14c17e9b1992a7f6c9acfa9ee82037325163b31)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Ross Burton
e58f930df5 gtk-icon-cache: rename intercept to update_gtk_icon_cache
The intercept is called update_icon_cache which is vague: rename to
update_gtk_icon_cache to make it clearer what it is for, and add a comment
explaining what class caused it to be used.

(From OE-Core rev: 3158adbe684890adc56af11e19af872e90e09d41)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Oleksandr Kravchuk
b111ac57ae mc: update to 4.8.23
(From OE-Core rev: 7ad36194dc42191b4da29fd29fb3869feb8b0d30)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Adrian Bunk
c2f055257e valgrind: Remove dependency on libx11
It doesn't seem to be used.

(From OE-Core rev: 70fa25399503bd43da28d9d98765d354543c8975)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Changqing Li
98373868d2 mdadm: fix systemd service start up failure
1. mdadm: No mail address or alert command - not monitoring

fixed by use option -y to cause all events to be reported
through 'syslog'.

2. cannot create pid file: No such file or directory

fix by create dir before starting.

(From OE-Core rev: d18c937918ec3553cb98743088a37ff080af2491)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:36 +01:00
Pascal Bach
930a00cd20 cmake: 3.14.1 -> 3.14.5
Fixes:

- A bug with Visual Studio 2019
- An issue with target_link_libraries and PRIVATE
- An issue with include_directories

(From OE-Core rev: 116e876ffdb32d107271bb35e15a5ad951f64f65)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:35 +01:00
Changqing Li
5a1ca9a1ea quilt: run-ptest remove Interactive Input
adduser in busybox and adduser under meta-openembeded have different
behavior, adduser under meta-openembeded need Interactive Input like
below if you manually run ptest.

Enter the new value, or press ENTER for the default
	Full Name []:
	Room Number []:
        ...

remove the "Interactive Input" by add --gecos "" to align the behavior
also it is better for automation without interactive input

(From OE-Core rev: dd1fb3acf58d9a8d5194941976cad37f88ab2fdf)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:35 +01:00
Ross Burton
db98b1ef48 cve-check: be idiomatic
Instead of generating a series of indexes via range(len(list)), just iterate the
list.

(From OE-Core rev: 27eb839ee651c2d584db42d23bcf5dd764eb33f1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:35 +01:00
Pierre Le Magourou
3baf4d7fd0 cve-update-db: Use std library instead of urllib3
urllib3 was used in this recipe but it was not set as a
dependency. As it is not specifically needed, rewrite the recipe with
urllib from the standard library.

(From OE-Core rev: c0eabd30d7b9c2517f4ec9229640be421ecc8a5e)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:35 +01:00
Bruce Ashfield
469f037b3b linux-yocto/5.0: make scsi-debug include scsi core configs
Updating the scsi-debug fragment to include the core scsi config
options. This allows standalone use of the fragment, since all
supporting options will be enabled simply by including the top
level config in a BSP.

This also removes a configuration warning on qemuarm, since we
will no longer have missing / unavailable options during the
config audit.

(From OE-Core rev: c65826e96a77928938fef69fc0cbc65ec7431cb2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:35 +01:00
Bruce Ashfield
6c742d7491 linux-yocto/5.0: bsp: add basic xilinx zynqmp support
Zumeng Chen has added core/basic support for the zynqmp that is bootable
using the 5.0 and 5.2-rcX kernels. This makes the fragments available
for future refinement and factoring. A bootlog follows:

    ZynqMP> setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p3 rw
    rootwait earlycon=cdns,mmio,0xFF000000 clk_ignore_unused ip=dhcp
    ZynqMP> tftpboot 0x10000000 Image; tftpboot 0x11800000 dtb; booti
    0x10000000 - 0x11800000
    Using ethernet@ff0e0000 device

    Filename 'Image'.
    Load address: 0x10000000
    Loading:
	      ###########
	      11.3 MiB/s
    done
    Bytes transferred = 16378368 (f9ea00 hex)
    Using ethernet@ff0e0000 device
    TFTP from server 128.224.162.211; our IP address is 128.224.162.99
    Filename 'dtb'.
    Load address: 0x11800000
    Loading: ##
	      4.7 MiB/s
    done
    Bytes transferred = 19746 (4d22 hex)
	Booting using the fdt blob at 0x11800000
	Loading Device Tree to 0000000007ff8000, end 0000000007fffd21 ... OK

    Starting kernel ...

    Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    Linux version 5.2.0-rc3-yoctodev-standard (oe-user@oe-host) (gcc version
    9.1.0 (GCC)) #1 SMP PREEMPT Thu Jun 6 00:53:26 UTC 2019
    Machine model: ZynqMP ZCU102 Rev1.0
    earlycon: cdns0 at MMIO 0x00000000ff000000 (options '')
    printk: bootconsole [cdns0] enabled
    efi: Getting EFI parameters from FDT:
    efi: UEFI not found.
    cma: Reserved 16 MiB at 0x000000007ec00000
    psci: probing for conduit method from DT.
    psci: PSCIv1.1 detected in firmware.
    psci: Using standard PSCI v0.2 function IDs
    psci: MIGRATE_INFO_TYPE not supported.
    psci: SMC Calling Convention v1.1
    percpu: Embedded 30 pages/cpu s83416 r8192 d31272 u122880
    Detected VIPT I-cache on CPU0
    CPU features: detected: ARM erratum 845719
    Speculative Store Bypass Disable mitigation not required
    Built 1 zonelists, mobility grouping on.  Total pages: 1031940
    Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p3 rw
    rootwait earlycon=cdns,mmio,0xFF000000 clk_ignore_unused ip=dhcp
    Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
    Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
    software IO TLB: mapped [mem 0x7ac00000-0x7ec00000] (64MB)
    Memory: 4013572K/4193280K available (10748K kernel code, 1210K rwdata,
    2764K rodata, 1216K init, 757K bss, 163324K reserved, 16384K
    cma-reserved)
    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    ftrace: allocating 36121 entries in 142 pages
    rcu: Preemptible hierarchical RCU implementation.
    rcu:    RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
	     Tasks RCU enabled.
    rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    GIC: Adjusting CPU interface base to 0x00000000f902f000
    GIC: Using split EOI/Deactivate mode
    random: get_random_bytes called from start_kernel+0x328/0x4c4 with
    crng_init=0
    arch_timer: cp15 timer(s) running at 99.99MHz (phys).
    clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:
    0x170f8de2d3, max_idle_ns: 440795206112 ns
    sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every
    4398046511101ns
    Console: colour dummy device 80x25
    Calibrating delay loop (skipped), value calculated using timer
    frequency.. 199.98 BogoMIPS (lpj=399960)
    pid_max: default: 32768 minimum: 301
    LSM: Security Framework initializing
    Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
    Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
    *** VALIDATE proc ***
    *** VALIDATE cgroup1 ***
    *** VALIDATE cgroup2 ***
    ASID allocator initialised with 32768 entries
    rcu: Hierarchical SRCU implementation.
    EFI services will not be available.
    smp: Bringing up secondary CPUs ...
    Detected VIPT I-cache on CPU1
    CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    Detected VIPT I-cache on CPU2
    CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    Detected VIPT I-cache on CPU3
    CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    smp: Brought up 1 node, 4 CPUs
    SMP: Total of 4 processors activated.
    CPU features: detected: 32-bit EL0 Support
    CPU features: detected: CRC32 instructions
    CPU: All CPU(s) started at EL2
    alternatives: patching kernel code
    devtmpfs: initialized
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
    max_idle_ns: 7645041785100000 ns
    futex hash table entries: 1024 (order: 4, 65536 bytes)
    xor: measuring software checksum speed
	8regs     :  2360.000 MB/sec
	32regs    :  2706.000 MB/sec
	arm64_neon:  2018.000 MB/sec
    xor: using function: 32regs (2706.000 MB/sec)
    DMI not present or invalid.
    NET: Registered protocol family 16
    cpuidle: using governor ladder
    hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    DMA: preallocated 256 KiB pool for atomic allocations
    ��ɥ��ѭ console [ttyPS0] enabled 0xff000000 (irq = 33, base_baud =
    6250000) is a xuartps
    printk: console [ttyPS0] enabled
    printk: bootconsole [cdns0] disabled
    printk: bootconsole [cdns0] disabled
    ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 34, base_baud =
    6250000) is a xuartps
    HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    raid6: neonx8   gen()  1518 MB/s
    raid6: neonx8   xor()  1442 MB/s
    raid6: neonx4   gen()  1471 MB/s
    raid6: neonx4   xor()  1409 MB/s
    raid6: neonx2   gen()  1128 MB/s
    raid6: neonx2   xor()  1175 MB/s
    raid6: neonx1   gen()   737 MB/s
    raid6: neonx1   xor()   887 MB/s
    raid6: int64x8  gen()  1166 MB/s
    raid6: int64x8  xor()   763 MB/s
    raid6: int64x4  gen()   983 MB/s
    raid6: int64x4  xor()   739 MB/s
    raid6: int64x2  gen()   683 MB/s
    raid6: int64x2  xor()   601 MB/s
    raid6: int64x1  gen()   452 MB/s
    raid6: int64x1  xor()   462 MB/s
    raid6: using algorithm neonx8 gen() 1518 MB/s
    raid6: .... xor() 1442 MB/s, rmw enabled
    raid6: using neon recovery algorithm
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    media: Linux media interface: v0.10
    videodev: Linux video capture interface: v2.00
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
    <giometti@linux.it>
    PTP clock support registered
    EDAC MC: Ver: 3.0.0
    FPGA manager framework
    clocksource: Switched to clocksource arch_sys_counter
    *** VALIDATE hugetlbfs ***
    NET: Registered protocol family 2
    tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768
    bytes)
    TCP established hash table entries: 32768 (order: 6, 262144 bytes)
    TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
    TCP: Hash tables configured (established 32768 bind 32768)
    UDP hash table entries: 2048 (order: 4, 65536 bytes)
    UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    PCI: CLS 0 bytes, default 64
    hw perfevents: no interrupt-affinity property for /pmu, guessing.
    hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    kprobes: failed to populate blacklist: -22
    Please take care of using kprobes.
    workingset: timestamp_bits=46 max_order=20 bucket_order=0
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    jffs2: version 2.2. �© 2001-2006 Red Hat, Inc.
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    io scheduler mq-deadline registered
    io scheduler kyber registered
    nwl-pcie fd0e0000.pcie: Link is DOWN
    nwl-pcie fd0e0000.pcie: host bridge /amba/pcie@fd0e0000 ranges:
    nwl-pcie fd0e0000.pcie:   MEM 0xe0000000..0xefffffff -> 0xe0000000
    nwl-pcie fd0e0000.pcie:   MEM 0x600000000..0x7ffffffff -> 0x600000000
    nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00
    pci_bus 0000:00: root bus resource [bus 00-ff]
    pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
    pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref]
    pci 0000:00:00.0: [10ee:d021] type 01 class 0x060400
    pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
    pci 0000:00:00.0: PCI bridge to [bus 01-0c]
    pcieport 0000:00:00.0: PME: Signaling with IRQ 37
    xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
    xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
    cacheinfo: Unable to detect cache hierarchy for CPU 0
    brd: module loaded
    loop: module loaded
    ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl
    platform mode
    ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio
    slum part ccc sds apst
    scsi host0: ahci-ceva
    scsi host1: ahci-ceva
    ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq
    31
    ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq
    31
    libphy: Fixed MDIO Bus: probed
    CAN device driver interface
    libphy: MACB_mii_bus: probed
    Generic PHY ff0e0000.ethernet-ffffffff:0c: attached PHY driver [Generic
    PHY] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL)
    macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000
    irq 20 (00:0a:35:04:9a:86)
    dwc3 fe200000.usb: Failed to get clk 'ref': -2
    dwc3 fe200000.usb: Configuration mismatch. dr_mode forced to host
    xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks
    0x0000000002010010
    xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0xfe200000
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
    usb usb2: We don't know the algorithms for LPM for this host, disabling
    LPM.
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    usbcore: registered new interface driver usb-storage
    rtc_zynqmp ffa60000.rtc: registered as rtc0
    pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator
    GPIO line 322 (sel0) hogged as output/low
    GPIO line 323 (sel1) hogged as output/high
    GPIO line 324 (sel2) hogged as output/high
    GPIO line 325 (sel3) hogged as output/high
    pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
    cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 22
    cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 23
    i2c i2c-0: Added multiplexed i2c bus 2
    i2c i2c-0: Added multiplexed i2c bus 3
    i2c i2c-0: Added multiplexed i2c bus 4
    i2c i2c-0: Added multiplexed i2c bus 5
    pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
    at24 6-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
    i2c i2c-1: Added multiplexed i2c bus 6
    i2c i2c-7: of_i2c: modalias failure on
    /amba/i2c@ff030000/i2c-mux@74/i2c@1/clock-generator@36
    i2c i2c-7: Failed to create I2C device for
    /amba/i2c@ff030000/i2c-mux@74/i2c@1/clock-generator@36
    i2c i2c-1: Added multiplexed i2c bus 7
    si570 8-005d: registered, current frequency 300000000 Hz
    i2c i2c-1: Added multiplexed i2c bus 8
    si570 9-005d: clock registration failed
    si570: probe of 9-005d failed with error -17
    i2c i2c-1: Added multiplexed i2c bus 9
    i2c i2c-10: of_i2c: modalias failure on
    /amba/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69
    i2c i2c-10: Failed to create I2C device for
    /amba/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69
    i2c i2c-1: Added multiplexed i2c bus 10
    i2c i2c-1: Added multiplexed i2c bus 11
    i2c i2c-1: Added multiplexed i2c bus 12
    i2c i2c-1: Added multiplexed i2c bus 13
    pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
    i2c i2c-1: Added multiplexed i2c bus 14
    i2c i2c-1: Added multiplexed i2c bus 15
    i2c i2c-1: Added multiplexed i2c bus 16
    i2c i2c-1: Added multiplexed i2c bus 17
    i2c i2c-1: Added multiplexed i2c bus 18
    i2c i2c-1: Added multiplexed i2c bus 19
    i2c i2c-1: Added multiplexed i2c bus 20
    i2c i2c-1: Added multiplexed i2c bus 21
    pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
    ina2xx 2-0040: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-0041: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-0042: power monitor ina226 (Rshunt = 5000 uOhm)
    ata1: SATA link down (SStatus 0 SControl 330)
    ina2xx 2-0043: power monitor ina226 (Rshunt = 5000 uOhm)
    ata2: SATA link down (SStatus 0 SControl 330)
    ina2xx 2-0044: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-0045: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-0046: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-0047: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-004a: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 2-004b: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0040: power monitor ina226 (Rshunt = 2000 uOhm)
    ina2xx 3-0041: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0042: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0043: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0044: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0045: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0046: power monitor ina226 (Rshunt = 5000 uOhm)
    ina2xx 3-0047: power monitor ina226 (Rshunt = 5000 uOhm)
    cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at (____ptrval____)
    with timeout 10s
    device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised:
    dm-devel@redhat.com
    EDAC MC: ECC not enabled
    cpu cpu0: failed to get clock: -2
    cpufreq-dt: probe of cpufreq-dt failed with error -2
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    sdhci-pltfm: SDHCI platform and OF driver helper
    mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    u32 classifier
	 Actions configured
    NET: Registered protocol family 10
    Segment Routing with IPv6
    sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    NET: Registered protocol family 17
    can: controller area network core (rev 20170425 abi 9)
    NET: Registered protocol family 29
    can: raw protocol (rev 20170425)
    can: broadcast manager protocol (rev 20170425 t)
    can: netlink gateway (rev 20170425) max_hops=1
    Key type dns_resolver registered
    registered taskstats version 1
    Btrfs loaded, crc32c=crc32c-generic
    Key type encrypted registered
    printk: console [netcon0] enabled
    netconsole: network logging started
    rtc_zynqmp ffa60000.rtc: setting system clock to 2019-06-06T03:39:58 UTC
    (1559792398)
    macb ff0e0000.ethernet eth0: link up (1000/Full)
    pps pps0: new PPS source ptp0
    macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
    IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    mmc0: Problem switching card into high-speed mode!
    mmc0: new SDHC card at address 0001
    mmcblk0: mmc0:0001 SD16G 14.5 GiB
    Sending DHCP requests .
      mmcblk0: p1 p2 p3
    , OK
    IP-Config: Complete:
	  device=eth0, hwaddr=00:0a:35:04:9a:86, ipaddr=xxxxx,
    mask=255.255.254.0
	  host=xxx, domain=corp.ad.wrs.com, nis-domain=swamp
	  bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=

    clk: Not disabling unused clocks
    md: Waiting for all devices to be available before autodetect
    md: If you don't use raid, use raid=noautodetect
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts:
    (null)
    VFS: Mounted root (ext4 filesystem) on device 179:3.
    devtmpfs: mounted
    Freeing unused kernel memory: 1216K
    Run /sbin/init as init process
    random: fast init done
    systemd[1]: systemd 242-19-gdb2e367+ running in system mode. (+PAM
    -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP
    -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN
    -)
    systemd[1]: Detected architecture arm64.

    Welcome to Wind River Linux development 19.23 Update 0!

    systemd[1]: Set hostname to <xilinx-zynqmp>.
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Initializing machine ID from random generator.
    systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
    systemd[1]: /lib/systemd/system/dbus.socket:4: ListenStream= references
    a path below legacy directory /var/run/, updating
    /var/run/dbus/system_bus_socket �→ /run/dbus/system_bus_socket; please
    update the unit f.
    systemd[1]: /lib/systemd/system/rpcbind.socket:4: ListenStream=
    references a path below legacy directory /var/run/, updating
    /var/run/rpcbind.sock �→ /run/rpcbind.sock; please update the unit file
    accordingly.
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    random: systemd: uninitialized urandom read (16 bytes read)
    systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [  OK  ] Reached target Swap.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Journal Socket.
	      Starting udev Coldplug all Devices...
	      Mounting POSIX Message Queue File System...
	      Mounting Temporary Directory (/tmp)...
	      Starting Journal Service...
	      Starting Remount Root and Kernel File Systems...
	      Mounting Kernel Debug File System...
    EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
	      Starting Create list of re�…odes for the current kernel...
    [  OK  ] Started Forward Password R�…uests to Wall Directory Watch.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Network Service Netlink Socket.
	      Starting Apply Kernel Variables...
    [  OK  ] Started Dispatch Password �…ts to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice system-getty.slice.
	      Mounting Huge Pages File System...
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Started Create list of req�… nodes for the current kernel.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Huge Pages File System.
	      Starting Create System Users...
	      Starting Rebuild Hardware Database...
	      Starting Flush Journal to Persistent Storage...
    [  OK  ] Started udev Coldplug all Devices.
    systemd-journald[148]: Received request to flush runtime journal from
    PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create System Users.
	      Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
	      Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Reached target Local File Systems.
	      Starting Create Volatile Files and Directories...
	      Starting Load/Save Random Seed...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
	      Starting Network Time Synchronization...
	      Starting Rebuild Journal Catalog...
	      Starting Update UTMP about System Boot/Shutdown...
	      Starting Run pending postinsts...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Run pending postinsts.
    [  OK  ] Started Rebuild Hardware Database.
	      Starting udev Kernel Device Manager...
	      Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Reached target System Initialization.
	      Starting Console System Startup Logging...
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Dynamic Host Configuration Protocol (DHCP).
    [  OK  ] Started Kernel Logging Service.
	      Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Xserver startup without a display manager.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
	      Starting Telephony service...
	      Starting Network Service...
    [  OK  ] Started Console System Startup Logging.
    [  OK  ] Found device /dev/ttyPS0.
    [  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.
    [  OK  ] Started Network Service.
	      Starting Network Name Resolution...
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Telephony service.
    [  OK  ] Reached target Network.
	      Starting Berkeley Internet Name Domain (DNS)...
	      Starting /etc/rc.local Compatibility...
	      Starting Permit User Sessions...
	      Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started /etc/rc.local Compatibility.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyPS0.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Berkeley Internet Name Domain (DNS).
    [  OK  ] Reached target Host and Network Name Lookups.

    Wind River Linux development 19.23 Update 0 xilinx-zynqmp ttyPS0

    xilinx-zynqmp login: root
    root@xilinx-zynqmp:~# uname 0a
    uname: extra operand '0a'
    Try 'uname --help' for more information.
    root@xilinx-zynqmp:~# uname -a
    Linux xilinx-zynqmp 5.2.0-rc3-yoctodev-standard #1 SMP PREEMPT Thu Jun 6
    00:53:26 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux

(From OE-Core rev: b0dc58f535a27be6c649dcf336c7dc0cdb23d96b)

Signed-off-by: Zumeng Chen <zchen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-27 12:20:35 +01:00
Ross Burton
67266331b0 local.conf.sample.extended: remove redundant RUNTIMETARGET assignment
This has been fixed in the GCC recipe, so remove from
local.conf.sample.extended.

(From meta-yocto rev: f19f3a7a5286cabf42a0f6d0ea8f7841dc043324)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-24 17:34:25 +01:00
Alistair Francis
0b3e371116 recipes-bsp/opensbi: Fix the u-boot payload name
(From OE-Core rev: abbd86a961357d1de6b9c57d50eb95abe2b57fce)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-24 10:36:28 +01:00
Tim Orling
6094a64a78 ptest-packagelists.inc: add libmodule-build-perl-ptest
Now that libmodule-build-perl has moved into oe-core,
make sure it is being tested on the autobuilder.

(From OE-Core rev: 91c4328e9b8d95a2e1b6d85dd7d266150ed6dd12)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-24 10:36:28 +01:00
Joshua Watt
65e5b33a25 bash: Remove .build files for reproducible builds
Bash has an internal "build number" that it tracks and automatically
increments ever time a given builds is made from the same sandbox.
However, this can make builds non-reproducible in the event that a build
directory is reused multiple times.

Remove the .build files after every build if reproducible builds have
been requested which will reset the build build number for the next
build.

(From OE-Core rev: 9754be5c22de877bd53226908d03d2eef5751808)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-24 10:36:28 +01:00
Joshua Watt
08be264c8d perl: Reproducible build fixes
Applies two patches that are required to improve the reproducibility of
builds.

(From OE-Core rev: 9297cabb0aca8212d3cc74f8d26e43abc02ded87)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-24 10:36:28 +01:00
Joshua Watt
10ce84dd19 python3: Reformat sysconfig
Reformats the sysconfig file when packaging. This file is output by
using the python pprint function. This function will wrap long lines at
80 characters by default, and will even split strings at whitespace
boundaries to do so, e.g.:

 'A': 'B is really'
    ' long'

This causes a problem for reproducibility however because there might be
lines of differing lengths depending on the build path. These
non-reproducible paths are removed, but their effect on string wrapping
from pprint remains.

To correct this, reformat the entire sysconfig file by re-printing using
pprint with an (effectively) unlimited line length.

(From OE-Core rev: ec8a2b310d5f0b42f60898a5c6d239949842b34c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-24 10:36:28 +01:00
Ross Burton
bb2b83a6ac pigz: bump alternative priority
As pigz is compatible with gzip, but better performing, if it is installed it
should be used by default.  Currently gzip has priority of 100 but pigz has
priority of 80, so gzip is still used by default.

Change the pigz priority to 110 so that it wins of gzip.

(From OE-Core rev: 808792122751714de3ba25e463fd8b2709581cfc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Martin Jansa
4b65e63681 gcc-runtime.inc: create the correct directory before creating the symlinks in it
* since
  commit b071a1a209556158bcfcc20e3c8bd4b15373767c
  Author: Changqing Li <changqing.li@windriver.com>
  Date:   Tue Jun 18 15:46:56 2019 +0800

    gcc-runtime: fix C++ header mapping for n32/x32 tune

  gcc-runtime.do_install is failing with:

  ln: failed to create symbolic link 'work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux-gnueabi/bits': No such file or directory
  WARNING: exit code 1 from a shell command.
  ERROR: Function failed: do_install (log file is located at work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/temp/log.do_install.31049)

  There is only empty directory without the -gnueabi suffix:
  work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux/

  and

  work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oemllib32-linux-gnueabi/
  bits  ext

* make sure to create correct directory (with -${TARGET_OS suffix instead of -linux suffix)
  before creating the symlinks in it

(From OE-Core rev: 41cbf5dc203ba74b06cb4890e1022f3f02fbd6fd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Ricardo Ribalda Delgado
1a82468d2d go: avoid host contamination by GOCACHE
By default GOCACHE is set to $HOME/.cache.

Fixes:
ERROR: go-cross-dbfp4-1.12.1-r0 do_compile: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120)
ERROR: Logfile of failure stored in: /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120
Log data follows:
| DEBUG: Executing shell function do_compile
| Building Go cmd/dist using /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/recipe-sysroot-native/usr/lib/go.
| failed to initialize build cache at /home/pokyuser/.cache/go-build: mkdir /home/pokyuser/.cache: permission denied
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120)
ERROR: Task (/workdir/repo/poky/meta/recipes-devtools/go/go-cross_1.12.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 23 tasks of which 16 didn't need to be rerun and 1 failed.

(From OE-Core rev: 9a6d208b9979035bbfc1def80fb6558db4bddb12)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Changqing Li
ed2a19f87e update-rc.d: support enable/disable options
* update-rc.d has added support of enable/disable options, which are
  expected to keep the previous configuration even after upgrade the packages.
  With support for these options, it will only create start/stop link
  when there are none, or it will keep the previous configuration.

  Our preinst uses "-f remove" to remove any links under the /etc/rcrunlevel.d
  which is conflicting behavior with disable/enable options, so remove it.

  For example, if a user disabled one service before upgrade,
  then after upgrade the service could be started. This happens because during preinst,
  all links have been deleted, then postinst may create the link to start service.

  With this change, we remove preinst and therefore keep the previous links
  so that after upgrade, if a link existed for the package, then the postinst
  will not create new start/stop links.

* remove '-f' for postinst. Previously, the keepalived recipe used 'remove'
  during postinst, so we needed the -f, but now the keepalived recipe has fixed
  this problem, so it's safe to remove '-f'.

[Yocto #12955]

(From OE-Core rev: 7981d5261429cfb06030280460086f9af91876d9)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Changqing Li
239b7ffe20 update-rc.d: update SRCREV and license checksum
This pulls in updates to add enable/disable support.

The license is unchanged, code just changed to use an SPDX license
identifier.

(From OE-Core rev: 01df28021baebf6abe25eb5824e0ff45fded88bc)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Chen Qi
4a36552ef9 oeqa: avoid class setup method to run when skipping the whole class
For now, even if we have specified to skip the whole module/class via
command line, e.g., `oe-selftest -R gotoolchain', the class setup method
is still run. This at least results in unnecessary builds, and at worst
results in ERROR, if the setup method fails.

So improve the skipping mechanism to avoid class setup method to run
when specified to skip.

(From OE-Core rev: b0b79bf65f5e5e65958090a4a88622b42df896bf)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Chen Qi
44d5ec6d74 context.py: avoid skipping tests by meaningless command argument
Currently `oe-selftest -R a' will skip 'archiver' tests. This is
not expected. Fix it so that the '-R' should be followed by actual
module/class/test names.

(From OE-Core rev: de3b070fc2ddd0b63a324679ec5adbe30142fc22)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Joseph Reynolds
d52b1dfc1b dropbear: new feature: disable-weak-ciphers
Enhances dropbear with a new feature "disable-weak-ciphers", on by default.
This feature disables all CBC, SHA1, and diffie-hellman group1 ciphers in
the dropbear ssh server and client.

Disable this feature if you need to connect to the ssh server from older
clients.  Additional customization can be done with local_options.h as usual.

Tested: On dropbear_2019.78.

Upstream-Status: Inappropriate [configuration]

(From OE-Core rev: b11521ce1b1d1f8b4dddf830b41f5ea809730d22)

Signed-off-by: Joseph Reynolds <joseph.reynolds1@ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Joshua Watt
d4d8e85106 perl: Improve ptest package reproducibility
Fixes a few reproducibility issues in the perl ptest package:
 1) config.log has a lot of paths encoded in it. This file is
    unnecessary for ptest, so it is omitted from the package
 2) Makefile.config has a lot of paths encoded in it. This file should
    be fixed up using the same rules as several other files that are in
    the package
 3) Paths in DEBUG_PREFIX_MAP are not being correctly removed from files
    because DEBUG_PREFIX_MAP is now several command line arguments.
    Instead of requiring an exact match for all arguments, remove any
    matching argument.

(From OE-Core rev: 04454faadf5cf18c054c98803380393db42646c4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:36 +01:00
Jonathan Rajotte
ff31e2860a lttng-tools: update to 2.10.7
Remove upstreamed patches.

(From OE-Core rev: 4bd46974d5b80050a031688ecefa9e60df793163)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:35 +01:00
Joe Slater
4a90501229 glib-2.0: Fix CVE-2019-12450
Unchanged patch from glib.git which was added after current release.

(From OE-Core rev: 59ded76363aec9289a007baca52a33b463e02e47)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 15:32:35 +01:00
Martin Jansa
50d272863d bitbake: tests/utils.py: add one more test cases for bb.utils.vercmp_string
* this is just another test case for issue already fixed in:
    commit fef56d28c3efec4876c379898cbc4d4c65303aee
    Author: Alexander Kanavin <alex.kanavin@gmail.com>
    Date:   Sun Feb 24 21:07:28 2019 +0100
    Subject: bitbake: fix version comparison when one of the versions ends in .

* The TypeError is triggered not by '.' at the end, but from the extra
  numberic component in one of the versions.

* When one version has fewer elements, it's extended by another (0, None)
  element where 0 means numeric component. Then the result cannot be
  decided by comparing the types (oa < ob, ob > oa) and it continues
  to compare values (ca < cb) which fails when one of them is the None
  from (0, None) appended before.

  ======================================================================
  ERROR: test_vercmpstring (bb.tests.utils.VerCmpString)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "lib/bb/tests/utils.py", line 32, in test_vercmpstring
      result = bb.utils.vercmp_string('1a', '1a1')
    File "lib/bb/utils.py", line 131, in vercmp_string
      return vercmp(ta, tb)
    File "lib/bb/utils.py", line 123, in vercmp
      r = vercmp_part(va, vb)
    File "lib/bb/utils.py", line 112, in vercmp_part
      elif ca < cb:
  TypeError: '<' not supported between instances of 'NoneType' and 'int'

  ----------------------------------------------------------------------
  Ran 3 tests in 0.002s

(Bitbake rev: 9767fffe3115a1f1afa3c6a2b39720fefb8dc4d5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:32 +01:00
Joe Slater
9d91ba408e parted: change device manager check in ptest
t6001-psep should check for device manager the same way as
other ptests for parted -- look for an environment variable.

(From OE-Core rev: c724a2feaef9030718742c02cb7da5a976e6b6e4)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Joshua Watt
a5431f3b81 python3: Disable PGO for reproducible builds
Enabling PGO for python current causes it to not be reproducible when
building, so disable it for now.

(From OE-Core rev: e53ebf297c86bba727e075c44c595beb061dbfc8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Ross Burton
f384e39ad1 python: make 'python' install everything instead of just the interpretter
Follow the python3 behaviour, and common sense, by making 'python' install
python-modules instead of python-core.  This means a user installing python gets
all of Python, instead of just a fraction of the library.

[ YOCTO #13402 ]

(From OE-Core rev: 778a6b4bf6aa9d0941d52ee05e14b061b659b3df)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Kai Kang
e810484c72 qemu: disable capstone for 32-bit mips with multilib
When build lib32-qemu for qemumips with multilib:

  require conf/multilib.conf
  MACHINE = "qemumips64"
  MULTILIBS = "multilib:lib32"
  DEFAULTTUNE_virtclass-multilib-lib32 = "mips"

it fails to compile capstone:

|  CC      arch/AArch64/AArch64InstPrinter.o
|  {standard input}: Assembler messages:
|  {standard input}:36033: Error: branch out of range
|  {standard input}:36257: Error: branch out of range

Disable capstone for mips o32 in this situation as a workround.

(From OE-Core rev: d741ebf346f265e331722369c8260a0a7af9e8e2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Richard Purdie
b290480f70 uninative: Update to 2.6 release
The 2.6 release contains both libcrypt.so.1 and libcrypt.so.2 which fixes
compatibility with recent fedora/suse releases.

The difference is one is built with obsolete APIs enabled and one disabled.
We now ship both in uninative for compatibility regardless of which distro
a binary is built on.

(From OE-Core rev: 71ae975c49881174c2cb2a07c66e8468a27e7ac1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Robert Yang
ce107dc8af make-mod-scripts: Depends on bison-native
Fixed do_configure error when use linux-dummy:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"

/bin/sh: bison: command not found

Build make-mod-scripts doesn't make sense when use linux-dummy, but it breaks
"bitbake world", so add bison-native to DEPENDS to fix the problem.

(From OE-Core rev: 4301d533512669834282a6ba43ae8e266a79fe22)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Robert Yang
c7e7b81143 linux-dummy: Add do_compile_kernelmodules
Fixed:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"

$ bitbake world
ERROR: Task do_compile in make-mod-scripts_1.0.bb depends upon non-existent task do_compile_kernelmodules in linux-dummy.bb
ERROR: Command execution failed: Exited with 1

(From OE-Core rev: 2e8687174e399bb42e935cd74e08e0da67775704)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Mingli Yu
273691a332 bitbake: add iconv to HOSTTOOLS
Some package such as vim depends on iconv.
Without iconv, vim-common which is the
sub-pakcage of vim may include different files
as failed to use iconv to generate the *.po file.

(From OE-Core rev: a7d3650e346e8a6c2c27c567c4c0bf6a47b47317)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Alexander Kanavin
318cdf9d4a libmodulemd: upgrade 2.4.0 -> 2.5.0
(From OE-Core rev: fcd695060c93f9c9124ac19a8499383cd5f438c2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Alexander Kanavin
8f5019d0d6 librepo: upgrade 1.10.2 -> 1.10.3
(From OE-Core rev: 460c82842156d9b0d8bde9ad574a2b9f514717fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:23 +01:00
Alexander Kanavin
bc71a3fbf9 createrepo-c: upgrade 0.14.0 -> 0.14.2
(From OE-Core rev: 10553cdab855d720495b677ed51d761b13f83110)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:22 +01:00
Adrian Bunk
31612633c6 libxslt: Fix CVE-2019-11068
(From OE-Core rev: 5c0dc2a21e6ab1da9ea3943050793a52c742e539)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:22 +01:00
Adrian Bunk
504be958d5 go: Upgrade 1.12.5 -> 1.12.6
(From OE-Core rev: 12409bd75162510782c5fc6eb4e10e6f8dc572dc)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:22 +01:00
Alistair Francis
607feea946 qemuriscv64: Fix QB_OPT_APPEND overwrite
Avoid overwriting the QB_OPT_APPEND variable.

(From OE-Core rev: 7143a558a61d2b5e3b0ed46ecc2c413a18361e7e)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:22 +01:00
Alistair Francis
e7810c7601 qemuriscv: Build uImage for RISC-V machines
(From OE-Core rev: 12dc5569d832d57b52ed68bc9009506b2d183795)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-21 00:33:22 +01:00
Richard Purdie
70b6880c55 cmake: Clarify comment in cmake toolchain file
The comment is misleading and there was confusion in a bug report. In the native
case STAGING_DATADIR would be equal to the native value so there isn't any issue
but tweak the comment.

[YOCTO #12761]

(From OE-Core rev: 0fdf76305a3cb543c23d6122c523ce5c2af04a0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:22 +01:00
Richard Purdie
2b884845ec lttng-tools: Filter ptest output to remove random tmp directories
These tmp paths end up in the test names making it hard to compare test runs
so filter them out, they're not useful for our purposes.

(From OE-Core rev: dc47b3855d03af962bab176c7aed9bd47426b419)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Richard Purdie
719a2fe479 openssh: Add missing DEPENDS on virtual/crypt
Changes to libxcrypt revealed a missing dependency in the openssh recipe.

(From OE-Core rev: 0fd0a1b1f733a8d9978d64fa23e9d083a716de87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Ross Burton
85075b80d6 oeqa/logparser: ignore test failure commentary
The output format for Python and GLib both can be of this form:

FAIL: foobar (Segmentation fault)

In this case the test is called foobar not foobar_segmentation_fault.

(From OE-Core rev: 0219e9bd0273661b4b70df97e5762f77b3ac3e8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Pierre Le Magourou
9562ec9c36 cve-check: Consider CVE that affects versions with less than operator
In the NVD json CVE feed, affected versions can be strictly matched to a
version, but they can also be matched with the operator '<='.

Add a new condition in the sqlite query to match affected versions that
are defined with the operator '<='. Then use LooseVersion to discard all
versions that are not relevant.

(From OE-Core rev: 3bf63bc60848d91e90c23f6d854d22b78832aa2d)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Pierre Le Magourou
95f0d11e21 cve-check: Manage CVE_PRODUCT with more than one name
In some rare cases (eg. curl recipe) the CVE_PRODUCT contains more than
one name.

(From OE-Core rev: 7f62a20b32a3d42f04ec58786a7d0db68ef1bb05)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Pierre Le Magourou
05fb9db633 cve-check: Remove dependency to cve-check-tool-native
Use the new update-cve-db recipe to update database.

(From OE-Core rev: bc144b028f6f51252f4359248f6921028bcb6780)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Pierre Le Magourou
1704028878 cve-update-db: New recipe to update CVE database
cve-check-tool-native do_populate_cve_db task was using deprecated NVD
xml data feeds, cve-update-db uses NVD json data feeds.

Sqlite database schema was updated to take into account CVSSv3 CVE
scores and operator in affected product versions.
A new META table was added to store the last modification date of the
NVD json data feeds.

(From OE-Core rev: 546d14135c50c6a571dfbf3baf6e9b22ce3d58e0)

Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Alexander Kanavin
f850f85b82 btrfs-tools: update to 5.1.1
Drop backported patch, and a patch where upstream took care of the issue.

(From OE-Core rev: 35bd7de678223f48443bddbeed4f4640534805a4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Alexander Kanavin
0b67e202ad epiphany: update to 3.32.3
Drop backported patch.

(From OE-Core rev: 5e02e75e28a4480c32bff4da59e169e6a2e78469)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Alexander Kanavin
0d8357f9f3 libnewt: merge libnewt-python recipe into the main recipe
libnewt-python was including libnewt recipe and adding tweaks, which is bad form.

It also broke AUH, as it won't update more than one recipe in a single
transaction.

(From OE-Core rev: 282b744f46c5c058966836130084e300030d419e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Alexander Kanavin
b82ea144e1 vala: upgrade 0.44.3 -> 0.44.5
(From OE-Core rev: dab2bd3d97a04f830659296034ce98bb62bc7c1c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Richard Purdie
fe8d2ec19b uninative-tarball: Add libxcrypt-compat
This avoids sstate/uninative relocation issues where a binary was built against
a system with libcrypt.so.1 or libcrypt.so.2 and then run on the opposite by
ensuring both libraries are in uninative.

(From OE-Core rev: 6089bfbc059c8bebb63ae6b0bafe8fe035548ac0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Richard Purdie
e73e46d740 libxcrypt-compat: Add recipe to build the obsolete APIs
Add a recipe which is able to build the obsolete APIs. This is mainly
to support uninative which needs to have both the new and obsolete APIs
available to support the different host combinations.

(From OE-Core rev: ad83f35c012e84dc8d2d27e02a4847568b4f3f35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Richard Purdie
9ca072d707 libxcrypt: Switch to disable obsolete APIs
Since we have a fair amount of control of what we build in OE we can disable the obsolete
APIs which is what most distros are doing at this point.

This causes the library version to bump from 1 to 2.

(From OE-Core rev: 641529503a4bce628327855dc4769b0e57a9cb1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-20 13:14:21 +01:00
Ricardo Ribalda Delgado
1d60af733c python3: python3: Fix build error x86->x86
When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH.  This will fail if the target CPU contains
instructions that the host CPU does not have, add CROSSPYTHONPATH
into PYTHONPATH so we can prepend the list to find correct libs.

Fixes:

Illegal instruction (core dumped)
Makefile:625: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 132
make: *** Waiting for unfinished jobs....

(From OE-Core rev: 2106a567820bad438ff78d54a49e3d87da428dcf)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:42 +01:00
Ricardo Ribalda Delgado
931ed3e4f8 rootfs: Fix dependency for every dpkg run
Avoid getting a warning on do_rootfs.

Fixes:

NOTE: Installing the following packages: libgdk-pixbuf-2.0-locale-en-gb glibc-locale-en-gb libatspi-locale-en-gb gstreamer1.0-locale-en-gb gtk+3-locale-en libatk-1.0-locale-en-gb gtk+3-locale-en-gb gstreamer1.0-plugins-good-locale-en-gb gstreamer1.0-plugins-base-locale-en-gb gstreamer1.0-plugins-bad-locale-en-gb libglib-2.0-locale-en-gb avahi-locale-en-gb vte-locale-en-gb xkeyboard-config-locale-en-gb
WARNING: Unable to install packages. Command '/workdir/build/tmp/work/qt5122-poky-linux/bottlecam-image/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-unauthenticated libgdk-pixbuf-2.0-locale-en-gb glibc-locale-en-gb libatspi-locale-en-gb gstreamer1.0-locale-en-gb gtk+3-locale-en libatk-1.0-locale-en-gb gtk+3-locale-en-gb gstreamer1.0-plugins-good-locale-en-gb gstreamer1.0-plugins-base-locale-en-gb gstreamer1.0-plugins-bad-locale-en-gb libglib-2.0-locale-en-gb avahi-locale-en-gb vte-locale-en-gb xkeyboard-config-locale-en-gb' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...

(From OE-Core rev: 4e315dd23c52b75fd64dca89e7bffe25a0b0e6f9)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:42 +01:00
Ricardo Ribalda Delgado
a935d4ce3b meson: Fix native patch to python3
Fixes:

  File "/workdir/build/tmp/work/dbfp4-poky-linux/qv4l2/1.17.0+gitAUTOINC+95f39aae48-r0/recipe-sysroot-native/usr/lib/python3.7/site-packages/mesonbuild/dependencies/base.py", line 574, in _call_pkgbin
    cache[(self.pkgbin, targs, fenv)] = self._call_pkgbin_real(args, env, use_native)
  File "/workdir/build/tmp/work/dbfp4-poky-linux/qv4l2/1.17.0+gitAUTOINC+95f39aae48-r0/recipe-sysroot-native/usr/lib/python3.7/site-packages/mesonbuild/dependencies/base.py", line 556, in _call_pkgbin_real
    cmd = self.pkgbin.get_command() + "-native" + args
TypeError: can only concatenate list (not "str") to list

(From OE-Core rev: f7a470531d4bcc2888cbb9a7b197b86174f3aba2)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:42 +01:00
Kai Kang
de7a2d26ec rng-tools: 6.6 -> 6.7
Upgrade rng-tools from 6.6 to latest commit 9fc873c which 26 commits
beyond release 6.7:

$ git describe 9fc873c5af0e39263
v6.7-26-g9fc873c

Because it includes some critical fixes such as configure fails and
'Import yocto fixes for 6.6'.

* remove local patches that all are merged by upstream
* backport patch to fix rngd fails to stop issue
* add PACKAGECONFIG libp11

(From OE-Core rev: 3e09c8b5b6517da97a9ec0ce5deb4ba1b066d19b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:42 +01:00
Ricardo Ribalda Delgado
17e59cab32 dpkg: Use less as pager
Debian traditionaly uses /usr/bin/pager as the system pager, which is a
link to the user preferred pager. This is a Debianism.

Without this patch:

root@qt5122:~# dpkg -l
sh: pager: command not found
dpkg-query: error: showing package list on pager subprocess returned error exit status 127

(From OE-Core rev: 580d7f3325af0569239cdd9757ca77fbe6f29146)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:40 +01:00
Ross Burton
7c9ec5a2c1 glib-2.0: fix host path appearing in gsocketclient-slow test script
Glib's build looks for the 'env' binary and embeds that path into the test
script, but thanks to hosttools this is /path/to/tmpdir/hosttools/env.

Fix this by hardcoding the path to env in the cross file.

Also as the cross file is only used in target builds only add it to SRC_URI for
target builds, so that changes to the cross file don't cause a rebuild of
glib-2.0-native.

(From OE-Core rev: 05c9fb5a026e3006a1fc037f957cb4341fb55030)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:40 +01:00
Adrian Bunk
120e9ca1be wireless-regdb: Add recipe
Since wpa-supplicant is provided,
the database of permitted frequencies should also be provided.

wireless-regdb-static should be used with kernel >= 4.15.
wireless-regdb can be used with older kernels and is mostly
irrelevant here, but keeping it in meta-networking would
create needless recipe duplication.

This package was previously in meta-networking.

(From OE-Core rev: 00c5a665b48c830a0008139b7ae1a51e79b72bb5)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:40 +01:00
Martin Jansa
107c5441aa serf: stop scons trying to create directories in hosts rootfs
* since 1522f09a4d serf: cleanup recipe
  serf.do_install fails in builds with multilib enabled (with
  libdir=/usr/lib64 on host where /usr/lib64 doesn't exist)

DEBUG: Executing shell function do_install
scons: Reading SConscript files ...
PermissionError: [Errno 13] Permission denied: '/usr/lib64':
  File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 158:
    ENV = os.environ,
  File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Environment.py", line 965:
    variables.Update(self)
  File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/__init__.py", line 227:
    option.validator(option.key, env.subst('${%s}'%option.key), env)
  File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 60:
    return PathVariable.PathIsDirCreate(key, val, env)
  File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/PathVariable.py", line 101:
    os.makedirs(val)
  File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/lib/python3.7/os.py", line 221:
    mkdir(name, mode)
ERROR: scons install execution failed.

* I don't know how exactly --install-sandbox is supposed to work but
  in this case it's trying to mkdir /usr/lib64 on the host rootfs
  which is clearly wrong and if I set LIBDIR together with
  --install-sandbox then the install paths are prefixed with $D twice
  in some cases (not for includedir and empty libdir at the end).
  So in the end I think it was an issue caused by the custom path
  validator in serf's SConstruct, removing that stops touching host
  and the installed paths (including the paths inside libserf*.pc)
  look correct

(From OE-Core rev: 7ce8b1bc510cfe8b013430a3826ece6878d8568e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Kai Kang
34750ea4b6 systemd-conf: not configure network for nfs root
It fails to boot nfs root with systemd that systemd-networkd
re-configures wired network and breaks the connection with nfs root.

(From OE-Core rev: 2abfbf186989223d5d256c25e0b52b02f29d5bfb)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Alistair Francis
b0815e74e9 linux-yocto: Mark qemuriscv64 as compatible
(From OE-Core rev: 7cc98b0f3414ad705ac136aee4cffb827dc8aade)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Alistair Francis
aad4228593 qemuriscv64: Add the QEMU RISC-V 64-bit machine
The include is split ready to add the 32-bit RISC-V machine as soon as
glibc supports 32-bit RISC-V.

This is based on the work in the meta-riscv layer, thanks to Khem for
starting this.

(From OE-Core rev: 11b6020dff4550fc3a42e04bc1e86baf37942c62)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Alistair Francis
ef82d0230e opensbi: Initial commit of OpenSBI
This is used as a bootloader for RISC-V QEMU machines.

(From OE-Core rev: 112ca2174dd97f5ca9ea25f83007d44054abc487)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Alistair Francis
462ae94d70 libffi: Add RISC-V support
Backport a libffi patch to add RISC-V support.

(From OE-Core rev: 24f4b2a8f2a0ed52fd791a5c393dea7d02f45116)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Chee Yang Lee
fc0c36a647 wic/bootimg-efi: allow multiple initrd
Allow plugin bootimg-efi to configure with multiple initrd
through source parameter.

Uses ; to separate each initrd.

e.g:
--sourceparams="loader=${EFI_PROVIDER},initrd=initrd1;initrd2"

(From OE-Core rev: c7b0823f9ab6a9959aaa809b8c3f70d199feb64d)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
ad636b5061 gobject-introspection:upgrade 1.60.1 -> 1.60.2
-Upgrade from gobject-introspection_1.60.1.bb to gobject-introspection_1.60.2.bb.

(From OE-Core rev: 3b556cbdff6979239dad430bb5366133416315e3)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
96d204a163 xkeyboard:upgrade 2.26 -> 2.27
-Upgrade from xkeyboard-config_2.26.bb to xkeyboard-config_2.27.bb.

(From OE-Core rev: 23dfbb27467c8e0115ce0663781e71af609106af)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
1c7546e372 lttng-ust:upgrade 2.10.3 -> 2.10.4
-Upgrade from lttng-ust_2.10.3.bb to lttng-ust_2.10.4.bb.

-lttng-ust/0001-compat-work-around-broken-_SC_NPROCESSORS_CONF-on-MU.patch
 Removed since this is included in 2.10.4

(From OE-Core rev: dc25e9525495e00940da7716cbba6bca96423acd)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
ca0eeb5c36 curl:upgrade 7.64.1 -> 7.65.1
-Upgrade from curl_7.64.1.bb to curl_7.65.1.bb.

(From OE-Core rev: e3b7cb02a86b5040b3dc1439b142f25f0f8df8a0)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
d55a4d6695 gnupg:upgrade 2.2.15 -> 2.2.16
-Upgrade from gnupg_2.2.15.bb to gnupg_2.2.16.bb.

(From OE-Core rev: 825be9d66ae9f503f1dd2dce0fac530554057613)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
8d68d482cb gnutls:upgrade 3.6.7 -> 3.6.8
-Upgrade from gnutls_3.6.7.bb to gnutls_3.6.8.bb.

(From OE-Core rev: b34486a616ab4d4b30247a5dff58a18ef26ed709)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Chen Qi
bc060556c5 target-sdk-provides-dummy: add libperl.so.5 to DUMMY_PROVIDES
Add libperl.so.5 to DUMMY_PROVIDES to avoid do_rootfs failure like
below.

Error:
Problem: package postgresql-11.3-r0.core2_32 requires libperl.so.5, but none of the providers can be installed

    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.30.0-r0.core2_32
    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl-module-strict provided by perl-5.30.0-r0.core2_32

This problem could be reproduced by add 'postgresql' to IMAGE_INSTALL
and then `bitbake core-image-minimal -c populate_sdk'.

(From OE-Core rev: 8a21559bd49feba6288ad02d928daed6c736df3d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
3ee1db9642 libevdev:upgrade 1.6.0 -> 1.7.0
-Upgrade from libevdev_1.6.0.bb to libevdev_1.7.0.bb.

(From OE-Core rev: 7ddbe6483dd25a7bb09cdb80565df3af2d69c1f9)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Zang Ruochen
f9ac711afb libevent:upgrade 2.1.8 -> 2.1.10
-Upgrade from libevent_2.1.8.bb to libevent_2.1.10.bb.

-libevent/0001-test-fix-32bit-linux-regress.patch
Removed since this is included in 2.1.10.

(From OE-Core rev: 40ea686112e4def38363edb4a5b1cec2692e34da)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Anuj Mittal
4782ccbbde runtime/cases/logrotate: make test more reliable
By default logrotate uses 'dateext' in logrotate.conf which results in a
date string being appended at the end of log name. In cases when a test
that installs configuration in logrotate.d is executed first (dnf for
example), it might result in errors when logrotate test is executed:

error: destination /var/log/dnf.librepo.log-20190528 already exists, skipping rotation
error: destination /var/log/dnf.rpm.log-20190528 already exists, skipping rotation
error: destination /var/log/hawkey.log-20190528 already exists, skipping rotation

Tweak the test to use it's own temporary configuration that doesn't
enable dateext.

Fixes [YOCTO #13363]

(From OE-Core rev: d0a30c1c57edc9a724658e2ed312b34eed3af5a9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 22:13:39 +01:00
Changqing Li
63371ee4ec gcc-runtime: fix C++ header mapping for n32/x32 tune
The SDK was unable to find the C++ header pieces correctly since it's
using a generic compiler, not one specifically targeting the multilib
vendor prefix and default tune.  This adds the right mapping to ensure
SDKs work as expected. And fix problem in below configurations:

multilib configuration 1:
MACHINE="qemumips64"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
require conf/multilib.conf

ignoring nonexistent directory "<path>/sysroots/mips64-poky-linux/usr/include/c++/8.2.0/mips64-poky-linux/32

multilib configuration 2:
MACHINE="qemumips64"
MULTILIBS = 'multilib:lib64 multilib:lib32'
DEFAULTTUNE = 'mips64-n32'
DEFAULTTUNE_virtclass-multilib-lib64 = 'mips64'
DEFAULTTUNE_virtclass-multilib-lib32 = 'mips32r2'
require conf/multilib.conf

For this configuration:
for target gcc-runtime, need to create symlink like mips64-poly-linux --> mips64-poky-linux-gnu32
for target lib64-gcc-runtime, need to create symlink like mips64-poly-linux/32 --> mips64-pokymllib64-linux
in order to avoid conflict during populate_sdk, create symlink for subfoler bits/ext for target gcc-runtime,
this is ugly, but seems no better way to cover all kinds of configuration.

single lib configuration:
MACHINE="qemumips64"
DEFAULTTUNE = "mips64-n32"

(From OE-Core rev: b071a1a209556158bcfcc20e3c8bd4b15373767c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Lei Maohui
9513e6dde4 openssl: Fix a build bug on aarch64BE.
Fix bug as following on aarch64BE:

Error: operand 1 must be an integer register -- `rev v31.16b,v31.16b'

(From OE-Core rev: f29572f70a89fd88ab3898d334c126422b66755c)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Martin Jansa
6bb0cf46a1 base.bbclass: define PACKAGECONFIG_CONFARGS before only sometimes appending to it
* just to make sure it's expaned by bitbake before it gets
  executed in shell
* e.g. with cmake.bbclass and cmake recipe (any recipe without
  PACKAGECONFIG options have this issue) it looks like this:
  bitbake -e cmake | grep EXTRA_OECMAKE=
  EXTRA_OECMAKE="     -DCMAKE_DOC_DIR=share/doc/cmake-3.14
    -DCMAKE_USE_SYSTEM_LIBRARIES=1 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0
    -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0
    -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0     -DKWSYS_CHAR_IS_SIGNED=1
    -DBUILD_CursesDialog=0     -DKWSYS_LFS_WORKS=1
    \${PACKAGECONFIG_CONFARGS}"

(From OE-Core rev: 745b63f4e11a6536cabd97013973562631a0e080)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Matt Madison
2cc0c08f80 apt: fix permissions on apt-daily script for systemd
The script needs to be executable so the service doesn't
fail.

(From OE-Core rev: 1b93bc3857b352394abd652ef83f1081298b7a5b)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Ross Burton
d059cbcf18 libsdl2: use binconfig-disabled
Just like libsdl, we can rip out the sdl2-config script from the sysroot as
pkg-config is preferrable.

(From OE-Core rev: 8d93fc236a72cb1bb0e713c4fc5b73e65ede6f53)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Ross Burton
01bff84386 binconfig: don't try to fix up .la files
If we're going to clean buildpaths from installed .la files then we should do it
globally, not in a class that only six recipes in oe-core use.

(From OE-Core rev: bd4e2cd3f70243f52215f8c92bcd7eb088a9b9f6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Ross Burton
dbf5d29c3d insane: remove empty test that does nothing
(From OE-Core rev: 5da7ad1a483d0840a9a2e3b95fa62a1901be73f2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Ross Burton
ad3f53dfe4 insane: improve buildpath warning messages
Instead of reporting large chunks of the work directory and not the package
name:

"File /work/corei7-64-poky-linux/libidn2/2.2.0-r0/packages-split/libidn2-dev/usr/lib/pkgconfig/libidn2.pc in package contained reference to tmpdir"

We can clean up the paths and be more useful:

"File /usr/lib/pkgconfig/libidn2.pc in package libidn2-dev contains reference to TMPDIR"

(From OE-Core rev: 156329247b40e9ee97e6249468ac3b9af4dffb68)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Ayoub Zaki
5a0f3b18b2 kernel-fitimage: introduce FIT_HASH_ALG
sanitize fitImage hash algorithm selection with FIT_HASH_ALG
switch default hash algorithm from sha1 to sha256

(From OE-Core rev: 8c9d5d59cb1575fac17c461090937df4cbb3d3b5)

Signed-off-by: Ayoub Zaki <ayoub.zaki@embexus.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:44 +01:00
Stefano Babic
ffdd54954b systat: systemd never enables the service
Even if SYSTEMD_AUTO_ENABLE is set to "enable", the service is never
activated by systemd. The cause is the postinst function in the recipe:

 pkg_postinst_${PN} () {
         if [ -n "$D" ]; then
                 exit 0
         fi
         if [ -e /etc/init.d/populate-volatile.sh ]; then
                 /etc/init.d/populate-volatile.sh update
         fi
 }

This generates with activated systemd the following postinst script:

	set -e
	        if [ -n "$D" ]; then
	                exit 0
	        fi
	        if [ -e /etc/init.d/populate-volatile.sh ]; then
	                /etc/init.d/populate-volatile.sh update
	        fi
	OPTS=""

	if [ -n "$D" ]; then
	    OPTS="--root=$D"
	fi

	if type systemctl >/dev/null 2>/dev/null; then
		if [ -z "$D" ]; then
			systemctl daemon-reload
		fi

		systemctl $OPTS enable sysstat.service

		if [ -z "$D" -a "enable" = "enable" ]; then
			systemctl --no-block restart sysstat.service
		fi
	fi

Due to the exit statement, systemctl is never called and the service is
never enabled in rootfs.
Invert the logic for the check to let run the rest of postinst script.

(From OE-Core rev: 24ccfd80edb74871d0d69ddbe83c358f04ac0844)

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Chen Qi
f25d8604ea manifest.py: fix test_SDK_manifest_entries
TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly
instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}.

(From OE-Core rev: 35a13468f551fff6305ba1ebbcb5dd28e99ec050)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Chris PeBenito
af790692f5 volatile-binds: Change cp to use -a instead of -p.
This is needed on SELinux systems, so the labels (xattrs) are preserved.

(From OE-Core rev: ab7e3caf3e29f2d8db55e2901e0a9b01061afd88)

Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Martin Jansa
37e5436e1e buildhistory: show time spent writting buildhistory
* especially when pushing longer history to slow remote git server or when
  it timeouts during the push, it's useful to see where the time was actually
  spent

(From OE-Core rev: 96f1225d47985d94d9ed91eb5e7affdd70671c79)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
He Zhe
d4b6073246 kernel: qemuarmv5: Update machine overrides of KERNEL_DEVICETREE
The original BSP qemuarm has been renamed to qemuarmv5. Update the machine
overrides accordingly to avoid not generating dtb.

(From OE-Core rev: a1ac097686daf0769e7ff94ff2c8795e1e8ae790)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Zang Ruochen
93deba0e6d lighttpd: Upgrade 1.4.53 -> 1.4.54
Upgrade from lighttpd_1.4.53.bb to lighttpd_1.4.54.bb.

(From OE-Core rev: 57d24fbfe484df8f6c4ad7d0a5ca9d593134c4ea)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Yi Zhao
83be3e8fa1 less: upgrade 550 -> 551
(From OE-Core rev: be110d5edb3162db3452653956dc3040e4c30b44)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Yi Zhao
52fd2467c8 shadow: fix configure error with dash
A configure error occurs when /bin/sh -> dash:
  checking for is_selinux_enabled in -lselinux... yes
  checking for semanage_connect in -lsemanage... yes
  configure: 16322: test: yesyes: unexpected operator

Use "=" instead of "==" since dash doesn't support the latter.

(From OE-Core rev: a86da25d620aa9a2fd832ffe12816e7670b43633)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Denys Dmytriyenko
2806373ef2 mtd-utils: add "jffs" and "ubifs" PACKAGECONFIG options
Enabled by default, but allow to optionally disable them.

(From OE-Core rev: c8900a7e79976b044791a2d58d5e24f05b1690d5)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Denys Dmytriyenko
e164dc4184 mtd-utils: upgrade 2.0.2 -> 2.1.0+
* 0001-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch is upstreamed
* Add "crypto" PACKAGECONFIG for UBIFS crypto features
* One extra commit after 2.1.0 release tag is pulled in to fix openssl error
  when "crypto" PACKAGECONFIG is not enabled:
| In file included from ../git/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25:
| ../git/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:49:10: fatal error: openssl/rand.h: No such file or directory
|  #include <openssl/rand.h>
|           ^~~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:3457: recipe for target 'ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o' failed
| make: *** [ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o] Error 1

(From OE-Core rev: 917050ccb750d01a793c053d4b2e0e59723d2e07)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Tim Orling
7b077cedc7 libmodule-build-perl: upgrade 0.4224 -> 0.4229; enable ptest
* Add runtime and ptest dependencies
* Add own run-ptest, since we need to run blib

License-Update: License lines moved up in README

Upstream release notes:

0.4229 - Tue Apr 16 00:49:45 CEST 2019
  - Released 0.42_28 without changes

0.42_28 - Thu Apr 19 16:34:32 CEST 2018

  - Replace "MOTIVATIONS" section with "COMPARISON" [Dan Brook]

  - Update configure, build, test prereqs [Karen Etheridge]

0.4227 - Wed Dec 13 11:17:51 CET 2017

  - Released 0.42_26 without changes

0.42_26 - Wed Dec 13 10:52:39 CET 2017

  - Improve pureperl-only support (#119914) [Shoichi Kaji]

  - Improve the documentation of Module::Build::Compat and dynamic_config [Dan Brook]

(From OE-Core rev: f9ffeab5caa4eafc57692a90f58ff2ef34153884)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Tim Orling
c2cdb5f7b2 libmodule-build-perl: move from meta-perl
* cpan_build.bbclass DEPENDS on libmodule-build-perl
* add self as maintainer

Fixes [YOCTO #12873]

(From OE-Core rev: 81ba07d85d21456bf7248b2f04082958e8d724c2)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Tim Orling
4cab85009c libxml-sax-perl: upgrade 1.00 -> 1.02
* Sort ptest dependencies alphabetically

Upstream release notes:

1.02  14 Jun 2019  Grant McLean
    - Spelling fixes (patch from Ville Skyttä)
    - Add repo location to metadata (patches from Ville Skyttä & Martin McGrath)
    - Reorganise module files under lib/XML
    - Regenerate MANIFEST using 'make manifest' to include missing test files

(From OE-Core rev: 2bd3e9b1aa7bf550564484df842a8a6f89b73497)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Tim Orling
25230682d9 perl-rdepends.txt: more ptest dependencies fixes
* File::Spec::Unix runtime depends on Cwd and constant
* Module::Metadata runtime depends on version
* CPAN::Meta runtime depends on Parse::CPAN::Meta and JSON::PP
* ExtUtils::MakeMaker runtime depends on ExtUtils::MM_Unix
* TAP::Base runtime depends on TAP::Object
* TAP::Parser::SourceHandler::Perl runtime depends on
  TAP::Parser::SourceHandler::Executable
* TAP::Harness runtime depends on TAP::Formatter::File
* TAP::Formatter::File runtime depends on TAP::Formatter::Session
  and TAP::Formatter::Base
* Many TAP::Harness::* dependencies
* POD::Simple::Transcode runtime depends on POD::Simple::Transcode{dumb,smart}

(From OE-Core rev: c80176774f675c1f48353dfd93942c6b60cbea82)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19 12:46:43 +01:00
Scott Rifenbark
111b7173fe dev-manual: Fixed grammar issue.
Fixed in "Selecting an Initialization Manager" section.
Extraneous word needed removed.

(From yocto-docs rev: ab97d36299a7a648bc3f3325175d8ab633ad2d1a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:29:23 +01:00
Scott Rifenbark
ab69e1917f overview-manual: Updated SCM section
Fixes [YOCTO #10098]

I updated the "Source Control Managers (Optional)" section
to reference the "Fetchers" section in the BB manuual.

(From yocto-docs rev: 0c014fba509d3ec28236e63a7bd2355b447c4acf)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:29:23 +01:00
Scott Rifenbark
b0b59bd2b8 ref-manual: Updated "npm.bbclass" section.
I provided a general link to the wiki on npm software.
Also, updated the section to point to the new section on how to
create NPM packages, which is in the dev-manual.

(From yocto-docs rev: 03fd635d06d64a53ad00196919350a45942731ce)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:29:23 +01:00
Scott Rifenbark
4f44204d1a dev-manual: Updated the "Working with Packages" list
I added the "Creating node package manager (NPM) packages
section link to the list.  Also, made some edits to make
the capitalization consistent in the list items.

(From yocto-docs rev: d3e345cd3f44e9588c5fe8f0560e1859df0ff496)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:29:23 +01:00
Scott Rifenbark
688fee4596 Makefile: Updated to support new NPM package creation section
The newly created section on how to create NPM packages
required a figure.  I added the figure to both the dev-manual
and mega-manual tarballs creation areas.

(From yocto-docs rev: 5109274d107b6d3ae6be3f71a20379cb6abb39d6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:29:23 +01:00
Scott Rifenbark
c19e706b2c dev-manual: Added new section for creating NPM packages
Fixes [YOCTO #10098]

This is a new section in the development tasks manual that describes
how to create Node Package Manager (NPM) packages.  I put the
section in the "Working with Packages" section.

(From yocto-docs rev: d7acd9f27418d414854d25bb27842407edfe7dda)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:29:23 +01:00
Oleksandr Kravchuk
8a5501110e bitbake: cooker: list all nonexistent bblayer directories
Check existence of all the bblayer direcotories at once and print them
all, so if there are multiple nonexistent directories, user does not
have to correct bblayers.conf and restart bitbake multiple times.

[YOCTO #11647]

(Bitbake rev: 19291f7c4d17086ebb6a7b80c3cb06333d7fd55b)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Richard Purdie
6896ca82f1 perl: Move perl-sanity -> perl
This was moved during the perl cleanup, it can/should be moved back now as
its confusing too many people.

(From OE-Core rev: ce69c21707aa19ab8a3f6c07dc5a560671ab53a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Bonnans, Laurent
646b596c99 kernel-uboot: compress arm64 kernels
AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.

(From OE-Core rev: a725d188b5d6b5d3c5cf21cc2f3070a0fe711e18)

Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Kai Kang
d301571b13 openssl: fix failure of ptest test_shlibload
It fails to run ptest case test_shlibload which requires libcrypto.so
and libssl.so with version numbers now.

(From OE-Core rev: 728cd93f45096a1ba0997b3812504d27194b1b49)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Randy MacLeod
b56fb24f03 bash: use setpriv, sed.sed to run ptests
The execscript test in bash fails when run with ptest-runner calling
'su', with the error:
   bash: cannot set terminal process group (16036): Inappropriate ioctl for device
Even with ptest-runner fixed to make a child process use the right
process group, 'su' still results in the warning above. Use 'setpriv'
instead. 'runuser' was considered and works but depends on pam so it's
ruled out.

Now that all bash tests are run as a user, the patch:
   fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch
can be removed.  Also to create the account 'bashtest' in the
'run-ptest' script the bash-ptest must depend on 'shadow'. Also,
in 'run-ptest', ensure that the bash ptests are owned by the 'bashtest' user.

Add 'sed' as a dependency for ptests since tests/exp8.sub runs:
    var=$'x\001y\177z'
    declare -p var | sed -n l
and that results in:
    sed.busybox: ""
    sed.sed: declare -- var="x\001y\177z"$
This appears to be a feature that busybox sed has not implemented.

With this series of changes, bash-ptest for qemux86-64 passes
79 of 81 tests. The remaining failures are:

1. run-read:
  # cat tests/read6.sub
  # test read with a timeout of 0 -- input polling
  # sleep with fractional seconds argument is not universal
  echo abcde | { sleep 0.25 2>/dev/null ; read -t 0; }
  echo $?

  read -t 0 < $0
  echo $?

  read -t 0
  echo $? <-- returns 1, when 0 is expected.

I can reproduce this on my workstation but only when using ptest-runner
and initially logging into the console as root. That's a little odd and
seems like I need to continue to improve ptest-runner.

2. run-trap:
  # cat tests/trap3.sub
  PS4='+[$LINENO] '
  trap 'echo trap: $LINENO' ERR

  set -x

  echo 1
  echo 2
  echo 3 | cat | false <--- error
  echo 4

This is a scheduler behaviour difference between the common case
on a workstation and the common case in qemu. The test case does
warn about the completion order not being deterministic so I plan
to ignore it.

>From tests/run-trap:
  UNIX versions number signals and schedule processes differently.
  If output differing only in line numbers is produced, please
  do not consider this a test failure.

Still, it's notable and slightly odd that the common case output
is different.

(From OE-Core rev: 81e3f01867cf114b728ab5a417c29426c9bf8122)

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>
2019-06-18 11:23:48 +01:00
Randy MacLeod
8478801d49 ptest-runner: enable child procs as session leader
When running the run-execscript bash ptest as a user rather than root, a warning:
  bash: cannot set terminal process group (16036): Inappropriate ioctl for device
  bash: no job control in this shell
contaminates the bash log files causing the test to fail. This happens only
when run under ptest-runner and not when interactively testing!

The changes made to fix this include:
1. Get the process group id (pgid) before forking,
2. Set the pgid in both the parent and child to avoid a race,
3. Find, open and set permission on the child tty, and
4. Allow the child to attach to controlling tty.

(From OE-Core rev: 83795a83505a311058130c662ff3342b0e39e67f)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Randy MacLeod
fa239aa7c1 libcap-ng: split into libcap-ng/libcap-ng-python
util-linux's setpriv needs the libcap-ng library but
not the python package so split the package up to enable
this without a dependency loop.

(From OE-Core rev: 9592b318ccd6a8dca60d1060c8255ed8e62ef046)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Randy MacLeod
f1a582bd0b util-linux: add setpriv utility
Enable the setpriv utility for targets only. It will be used in
the run-ptest script for bash and perhaps other packages where
the ptest code is expected to run as a user.

setpriv uses libcap-ng which doesn't build natively so disable
it for native* builds. Also, busybox has a setpriv implementation
so ensure that setpriv adheres to the alternatives scheme.

(From OE-Core rev: 587ba5f4bef18e8260fe671bd2e303140369a5e5)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Chen Qi
1a6d32833e context.py: fix skipping function
The current codes to skip test cases are logically correct, but they
do not work correctly in reality. It does skip the tests as the command
line argument specifies, but the related information is wrong.
e.g.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:24:53,764 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:25:06,309 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:25:06,310 - oe-selftest - INFO - 	      /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - 	      /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - 	      /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:25:06,312 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:25:10,522 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:25:10,522 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,522 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
2019-06-17 09:25:10,523 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:25:10,523 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,523 - oe-selftest - INFO - Skip by the command line argument "runtime_test"

The archiver.Archiver.xxx tests should be skipped by 'archiver' command line
argument, not 'runtime_test'.

Change to use a function generator to achieve the desired effect. After the change,
the effect is as follows.

$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:19:06,223 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:19:19,598 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:19:19,599 - oe-selftest - INFO - 	      /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - 	      /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - 	      /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:19:19,602 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:19:24,369 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,369 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,370 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,370 - oe-selftest - INFO - test_archiver_filters_by_type_and_name (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,371 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,371 - oe-selftest - INFO - test_archiver_srpm_mode (archiver.Archiver)
2019-06-17 09:19:24,371 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,372 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,372 - oe-selftest - INFO - test_bitbakelayers_add_remove (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,373 - oe-selftest - INFO - Skip by the command line argument "bblayers"
2019-06-17 09:19:24,373 - oe-selftest - INFO - test_bitbakelayers_createlayer (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO -  ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,374 - oe-selftest - INFO - Skip by the command line argument "bblayers"
[snip]

(From OE-Core rev: 50004f431a71c71af4acf0f25403fee5a8447eab)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
He Zhe
aba310e5ef lttng-modules: Add git based recipe
The git based recipe is for those who want to build lttng-modules with bleeding
edge kernel, to avoid regularly backporting patches from upstream.

Note that PREFERRED_VERSION needs to be set to select the git recipe instead of
the tar ball one.

(From OE-Core rev: 18dd8e719f7c845d7e4bb1148ef6adad80a9493e)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Hongxu Jia
5758817444 openssh: fix potential signed overflow in pointer arithmatic
Pointer arithmatic results in implementation defined signed integer
type, so that 'd - dst’ in strlcat may trigger signed overflow if
pointer ‘d’ is near 0x7fffffff in 32 bits system. In case of ompilation
by gcc or clang with -ftrapv option, the overflow would generate
program abort.

(From OE-Core rev: 1c4b8d797c76a08ebd1658066e9d32972b6abe58)

Signed-off-by: hguo3 <heng.guo@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-18 11:23:48 +01:00
Ross Burton
27d60c5a81 gstreamer1.0-libav: disable API documentation
With the latest gtk-doc release the gstreamer1.0-libav documentation fails to
build:

| gst-libav-plugins-docs.sgml:38: element include: XInclude error:
| could not load xml/tree_index.sgml, and no fallback was found

For the short term we can just disable the documentation.  The next upstream
release of gstreamer1.0-libav doesn't use gtk-doc anyway.

(From OE-Core rev: 27744ad292c9d7e57ebcf7c3c30acbd85aac77a4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-15 13:46:38 +01:00
Adrian Bunk
4f60156ec1 lttng-modules: Upgrade 2.10.9 -> 2.10.10
(From OE-Core rev: 80f453da04e43cab82999249be0a9dd95322a06e)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-15 13:46:38 +01:00
Richard Purdie
5d8c4e3f47 perl: Fix setgroup call regression from 5.30
The upgrade from 5.28 to 5.30 caused acl's ptests to fail. The issue is
that the new function changes the endptr to the end of the scanned number
and this now needs to be reset to the end of the string for each iteration
of the loop.

[YOCTO #13391]

(From OE-Core rev: c1c4907f0e548564e6744fef1cb93c74bd330c55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-15 13:46:38 +01:00
Jaewon Lee
68d6682398 devicetree.bbclass: Combine stderr into stdout to see actual dtc error
Previously the subprocess command to run dtc was not properly displaying
the error on console. Combining stderr into stdout for the dtc subprocess
so the actual error can be seen on console without having to open the
do_compile log.

For example, previously on a dtc error, just the following stack trace
and dtc command was being shown on console:

File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:devicetree_do_compile(d)
     0003:
File:
function: devicetree_do_compile
     0127:            if not(os.path.isfile(dtspath)) or
not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
     0128:                continue # skip non-.dts files and non-overlay
files
     0129:        except:
     0130:            continue # skip if can't determine if overlay
 *** 0131:        devicetree_compile(dtspath, includes, d)

    ...

Exception: subprocess.CalledProcessError: Command '['dtc', '-R', '8',
'-b', '0', '-p', '0x1000', '-i', '${INCLUDES}, '-o', 'system-top.dtb',
'-I', 'dts', '-O', 'dtb', 'system-top.dts.pp']' returned non-zero exit
status 1

with this patch, the actual error from the dtc command will be appended
like the following:

Subprocess output:
Error: Label or path not found
FATAL ERROR: Syntax error parsing input tree

(From OE-Core rev: 1da43a558ffd5040a1b5aaebfc1c5118f5e59c01)

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Anuj Mittal
2938210267 python3-scons: fix regex replacing python by python3
Match only the first line and match even if the line says python3.
Otherwise we end up with multiple 3s at the end after multiple
invocations of do_install on same source.

(From OE-Core rev: 144c6c7183dd2b32c65edf325038eb84683a28f8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Alex Kiernan
07526deab6 systemd: Backport OpenSSL BUF_MEM fix
Building `systemd-resolve` from systemd 242 with OpenSSL 1.1.1c and enabling
DNS over TLS ends up calling abort (on 32 bit armhf):

  Program terminated with signal SIGABRT, Aborted.
  #0  __libc_do_syscall () at libc-do-syscall.S:49
  49	libc-do-syscall.S: No such file or directory.
  (gdb) where
  #0  __libc_do_syscall () at libc-do-syscall.S:49
  #1  0xb6940ea4 in __libc_signal_restore_set (set=0xbec68b78) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
  #2  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:48
  #3  0xb69336e0 in __GI_abort () at abort.c:79
  #4  0xb6968428 in __libc_message (action=action@entry=do_abort, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181
  #5  0xb696c7e6 in malloc_printerr (str=<optimized out>) at malloc.c:5352
  #6  0xb696ca1a in munmap_chunk (p=<optimized out>) at malloc.c:2840
  #7  0xb6bd1c4a in CRYPTO_clear_realloc (str=0xd0e59a, old_len=388, num=<optimized out>, file=0xb6c300dc "../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c", line=135)
      at ../../../../../../workspace/sources/openssl/crypto/mem.c:290
  #8  0xb6b5da3a in BUF_MEM_grow_clean (str=0xcfb960, len=len@entry=393) at ../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c:135
  #9  0xb6b486a0 in mem_write (b=0xcf8300, in=0xd07c6b "\027\003\003", inl=24) at ../../../../../../workspace/sources/openssl/crypto/bio/bss_mem.c:235
  #10 0xb6b45c86 in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_meth.c:77
  #11 0xb6b452d4 in bio_write_intern (written=0xbec68ec8, dlen=24, data=0xd07c6b, b=0xcf8300) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:343
  #12 bio_write_intern (b=0xcf8300, data=0xd07c6b, dlen=24, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:320
  #13 0xb6b455b2 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:363
  #14 0xb6cabd1a in ssl3_write_pending (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", len=len@entry=2, written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1146
  #15 0xb6cac72e in do_ssl3_write (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", pipelens=pipelens@entry=0xbec698b4, numpipes=numpipes@entry=1, create_empty_fragment=create_empty_fragment@entry=0,
      written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1107
  #16 0xb6cac92e in ssl3_write_bytes (s=0xcfd2d8, type=23, buf_=0xcfcc28, len=<optimized out>, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:613
  #17 0xb6cb1698 in ssl3_write (s=<optimized out>, buf=0xcfcc28, len=2, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/s3_lib.c:4460
  #18 0xb6cb87b2 in ssl_write_internal (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2, written=written@entry=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1943
  #19 0xb6cb8896 in SSL_write (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1957
  #20 0x004ddac8 in dnstls_stream_write (stream=stream@entry=0xcfca60, buf=0xcfcc28 "", count=2) at ../git/src/resolve/resolved-dnstls-openssl.c:270
  #21 0x004d8d5c in dns_stream_writev (s=s@entry=0xcfca60, iov=iov@entry=0xbec69b4c, iovcnt=iovcnt@entry=2, flags=flags@entry=0) at ../git/src/resolve/resolved-dns-stream.c:225
  #22 0x004d9516 in on_stream_io (es=<optimized out>, fd=<optimized out>, revents=4, userdata=0xcfca60) at ../git/src/resolve/resolved-dns-stream.c:334
  #23 0xb6e7f020 in source_dispatch (s=0xcf3658) at ../git/src/libsystemd/sd-event/sd-event.c:2821
  #24 0xb6e806b0 in sd_event_dispatch (e=e@entry=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3234
  #25 0xb6e807f6 in sd_event_run (e=0xced6d0, timeout=<optimized out>) at ../git/src/libsystemd/sd-event/sd-event.c:3291
  #26 0xb6e809bc in sd_event_loop (e=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3312
  #27 0x004bb64c in run (argv=<optimized out>, argc=<optimized out>) at ../git/src/resolve/resolved.c:84
  #28 main (argc=<optimized out>, argv=<optimized out>) at ../git/src/resolve/resolved.c:91

(From OE-Core rev: b11ddab19bc7c0ce35b95345181de8a708268472)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Anuj Mittal
53099ced25 scons: inherit python3native
scons tries to get build time vars by loading sysconfigdata. Inherit
python3native instead of using host python and unset
_PYTHON_SYSCONFIGDATA_NAME to avoid the need to depend on target
python3 for sysconfigdata when using scons to build.

Avoids build errors on still supported CentOS 7:

| DEBUG: Executing shell function do_compile
| scons: *** SCons version 3.0.5 does not run under Python version
3.4.8.
| Python 2.7 or >= 3.5 is required.

(From OE-Core rev: 44f303ba9fb193a985e8e4b7c6962883ae3970d1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Anuj Mittal
b168b3ac94 serf: cleanup recipe
* Inherit scons bbclass and use the task definitions from there.
* Remove the DEPENDS on python3-scons-native that is already present in
scons class.

(From OE-Core rev: 1522f09a4dd21fef177d514cb4d37e94d140dd33)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Hongxu Jia
26780cbde1 diffutils/run-ptest: support to run at arbitrary path
1. Run run-ptest at arbitrary path

2. Fix large-subopt.in1 not found
...
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1:
No such file or directory
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2:
No such file or directory
...

(From OE-Core rev: 0f7ada89ef8ed65eee8ada5e766999af7771c2c8)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Oleksandr Kravchuk
ca9c738053 selftest/devtool: fix URI to MarkupSafe package
PyPi packages are now hosted at files.pythonhosted.org.

[YOCTO #13243]

(From OE-Core rev: 384e2c3765c77c29527a43f2e0bffbc41170eeb6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Alejandro del Castillo
9d9163d36f opkg-utils: upgrade to version 0.4.1
- Drop 0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
- Drop 0001-opkg-list-fields-fix-to-print-the-fields-again.patch

(From OE-Core rev: 76a7f0d60f5dc38da15f21720cb97bf761562b44)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Chen Qi
d9b0adbce8 oescripts.py: avoid error when cairo module is not available
When running 'oe-selftest -r oescripts', the following error appeared.

    cls.skipTest('Python module cairo is not present')
    TypeError: skipTest() missing 1 required positional argument: 'reason'

This is because the host does not have the cairo python module installed.
Fix this problem by using unittest's SkipTest exception.

(From OE-Core rev: 785bb108ceb9dc137ec8d75d887b6a3869cbfb9c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Mariano López
e32d7565a3 linux-yocto: Add scsi_debug module when ptest is in DISTRO_FEATURES
util-linux ptest requires the scsi_debug module to perform eject/mount
tests. This will conditionally add scsi_debug module when ptest is in
DISTRO_FEATURES.

This doesn't include linux-yocto-tiny because the resulting image will
be too big and do_image would complain about this.

[YOCTO #13301]

(From OE-Core rev: 70a30872bd93cc058b05d9cf2b4f9334658629ee)

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Mariano López
fbee8ff72a util-linux: Stop udevd to run ptests
The util-linux's ptest uses the SCSI_DEBUG kernel module to create
virtual SCSI disks. The automount feature of udevd will try to mount
these disks by default. Because udevd controls the mount of the disks,
the eject/mount tests will fail or be skipped. This change will stop
udevd before executing the util-linux's ptest and start the daemon
again after all the tests.

This is for eudevd only, systemd-udevd doesn't present this problem
because there are no automount rules.

[YOCTO #13301]

(From OE-Core rev: f7becf0b5743dfbee06b354a086dc553db2b1348)

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Mingli Yu
3c5fb84222 dbus-test: Upgrade 1.12.16
(From OE-Core rev: 2a6d75242579655d9e73491b147aad8533d1bcbd)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Mingli Yu
404347ebdb dbus: Upgrade to 1.12.16
Security fixes:
  CVE-2019-12749

(From OE-Core rev: 20fe36c347d471d79035ed7d9c2a50d4c8e7745a)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Kai Kang
1fa9343f7c 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

(From OE-Core rev: ef2592eb898b494cf61f1e0614bdcaf94ec103d0)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Oleksandr Kravchuk
f1fdce83cc popt: fix SRC_URI
rpm5.org has been down for about a year now. Use linuxfromscratch.org
as an alternative reliable source instead.

(From OE-Core rev: d9224014da9a512b1b8837e4e7a736d465c97be3)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Fabio Berton
2e395d8053 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

(From OE-Core rev: b16c6d0452c79dcc2fccc4a7b9b2d68d53d2b353)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Ross Burton
b87f4d28f9 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.

(From OE-Core rev: 275e5e7ecf4f79b7892ae35a47902188d9905bd0)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Ross Burton
8a8ae3759d 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.

(From OE-Core rev: 53fe0133432f62024850e87456292b044d1280ee)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Martin Jansa
2510f1c2e8 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..

(From OE-Core rev: 112deafd1c144d770b6ec0953911f2adc1cb30dd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Nicola Lunghi
6f7eaf80f7 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.

(From OE-Core rev: 16ced1a253c74c01ca414db2f1a010c083213b91)

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-14 22:48:22 +01:00
Ross Burton
e00d88475d bluez: fix test case failures with GCC 9
[ YOCTO #13366 ]

(From OE-Core rev: ca737408bb7e9dd24f3a18e60fad290c6e539b7b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 21:08:52 +01:00
Alex Kiernan
2fca533f60 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.

(From OE-Core rev: c6b49cb75285e71909d1f9e4bf636f186941b519)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 21:08:52 +01:00
Changqing Li
508269e4ba 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.

(From OE-Core rev: d4ad8d95c60830ac4bd988314cd865c32d1ec4e0)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 21:08:52 +01:00
Changqing Li
21bd096d6c 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.

(From OE-Core rev: 8ed0cf040abbfb0999ac92b59ca9b7067d340202)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 21:08:52 +01:00
Chen Qi
949cbf198c 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'.

(From OE-Core rev: 9bc68bcc79d9e2464b9b29f6bfde8322b65c09b9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 21:08:52 +01:00
Tom Rini
0f3a7044ce vim: Update to 8.1.1518 to fix CVE-2019-12735
(From OE-Core rev: cdd6f417c5d1535bd922703e18185b9d376e3b6f)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 21:08:52 +01:00
Mike Crowe
03830e2eb9 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.

(From OE-Core rev: 67b19414c1c17f71f39c971b9f9fdd1f776516a1)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Alexander Kanavin
fdd18c8805 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).

(From OE-Core rev: e6ca80559f02a8a38272ae52c568053dde52ac9f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Alexander Kanavin
9fbd020124 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.

(From OE-Core rev: 0598f66aa823ec4355284a0a40c3d125d6c5e0c9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Quentin Schulz
e3d0dd9163 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
4b6ce4604c ("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.

(From OE-Core rev: 6c2ca52218c196e7ccf6b3275bffc3e3a04193c6)

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Yeoh Ee Peng
99c821eaaa 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.

(From OE-Core rev: 651d8d371e78e77599d56681228d5782664f7743)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Yeoh Ee Peng
41f10ab3b1 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.

(From OE-Core rev: dca2a57d54163a2e63b06e2f140fea3bd49cef0d)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Yeoh Ee Peng
588f455082 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.

(From OE-Core rev: 443c0acc14ef2451b10878fc83dd11b46805daf0)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:40 +01:00
Nicola Lunghi
eb92c13421 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

(From OE-Core rev: 8e36880e8a36f828d4670c45f1c4d934d03d4645)

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>
2019-06-12 10:54:40 +01:00
Matthias Schoepfer via Openembedded-core
c85b269416 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.

(From OE-Core rev: 203336486c84528e8779db93f64cc28e4b372aab)

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>
2019-06-12 10:54:39 +01:00
Ross Burton
0191f500c5 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.

(From OE-Core rev: e22111a18a0f67fefd1800f67bd5e45637deaa60)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-12 10:54:39 +01:00
Richard Purdie
9e5a3f40ca bitbake: cooker: Ensure mcdeps are processed even if only one multiconfig
If you have no BBMULTICONFIG set but set mcdepends, they're currently
ignored. We can handle them correctly with this small tweak.

(Bitbake rev: 578f0c02f6a13f4315e7c2ce8b5e876dd2025055)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:27:19 +01:00
Chris Laplante
f77badd46a bitbake: build: implement custom progress handlers injected via OE_EXTRA_IMPORTS
A separate patch to base.bbclass (in poky) will add the OE_EXTRA_IMPORTS
variable. The contents are appended into OE_IMPORTS. This provides a
mechanism by which layers (in their layer.conf) can make custom progress
handlers available.

As a backup, individual recipes can inject progress handlers into
__builtins__.

Custom handlers are expected to have this __init__ signature:

    def __init__(self, d, outfile=None, otherargs=None):

Recipes can then use the handlers like this:

    do_task[progress] = "custom:mylayer.util.ProgressHandler[:args]"

The last part (everything after and including the second colon) is
optional. If provided, it is passed to HandlerClass's __init__ as
otherargs="args". Otherwise, otherargs=None.

(Bitbake rev: 20289d62c84c393990dd3deb0cca1b17c09092e6)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:27:19 +01:00
Chris Laplante
7687469590 bitbake: build/progress: use context managers for progress handlers
It seems context management support was half-implemented, but never
finished. For example, LogTee has __enter__ and __exit__ but they
haven't been exercised until now.

(Bitbake rev: bf522ad3e0c52cdb69b406226840d870ff4f2766)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:27:19 +01:00
Chris Laplante
575ea5532f bitbake: build: extract progress handler creation logic into its own method
(Bitbake rev: a841efa50d3aaf7c57446806327b2b687371cb29)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:27:19 +01:00
Chris Laplante
8c15a93553 bitbake: knotty: allow progress rate for indeterminate bars
(Bitbake rev: 85f0b443b7ab1848abc6eb658be489fc1718004c)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:27:19 +01:00
Haiqing Bai
9729d05975 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>

(From OE-Core rev: f79c95f6a883e999e0c2ecfd60b6b696b7595497)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:26:55 +01:00
Kevin Hao
317a0984e7 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)

(From OE-Core rev: 13cc0f7c0bd98ea228e9bdf51043117d38837ce7)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:26:55 +01:00
Quentin Schulz
4b6ce4604c 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.

(From OE-Core rev: 2d976587d703462db2b7b78661b05ac22fb93787)

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:26:55 +01:00
Chee Yang Lee
97feebdf99 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.

(From OE-Core rev: 88a9fef761c5e67b2964fedc85a7e8ad37067564)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:26:55 +01:00
Douglas Royds via Openembedded-core
ef8080c804 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
21c886534f

Upstream-Status: Backport [Not yet released]
(From OE-Core rev: c668b467415599cb95d93a231eb51d77137a57e4)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:26:55 +01:00
Jiping Ma
fd1cfea5be 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.

(From OE-Core rev: 8e5c85332f222efd5ffddaa9da9272c6e42881f5)

Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-11 13:26:55 +01:00
Jaewon Lee
c07435a83a gstreamer1.0-python_1.16.0.bb: Override libpython dir
As mentioned in upstream commit a2cf84afff,
"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.

(From OE-Core rev: ac1d6d55e9cc647caf104e94465e32cf25647ad1)

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>
2019-06-11 13:26:55 +01:00
Richard Purdie
9910a3631c build-appliance-image: Update to master head revision
(From OE-Core rev: 86266dfcd70b8e3435d267538c3e6e4d69be829e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 17:47:35 +01:00
Maciej Pijanowski
bb59bcd016 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]

(From OE-Core rev: d8b2f58974482b3b1ccc65c5f93104d0d7ba87bc)

Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 17:38:10 +01:00
Adrian Freihofer
0e4c79a7c4 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]

(From OE-Core rev: 2aa79a67affd22dfa37e4c2945c6ab0c86321f98)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 17:38:10 +01:00
Richard Purdie
79ef0eab35 bitbake: cooker: Add compability handling for multiconfig: prefix migration
This allows "multiconfig:" targets to continue to work by internally
mapping them to the new "mc:" naming, allowing older builds to work
as before.

(Bitbake rev: c4d90890547af642e99cc541af3415df3559563e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 14:46:38 +01:00
Richard Purdie
1f68b0bd98 bitbake: multiconfig: Switch from 'multiconfig' -> 'mc'
After real world use its clear the "multiconfig:" prefix to multiconfig tasks,
whilst clear, is also clumbersome. Switch to use the short version instead.

mcdepends will continue to work with "multiconfig:" for now as well. The commandline
will only accept mc: going forward.

[YOCTO #11168]

(Bitbake rev: 821daf093b76504067a8b77dfa4b181af6ec92b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 14:46:38 +01:00
Richard Purdie
32df42cff5 multiconfig: Adapt to bitbake switch 'multiconfig' -> 'mc'
(From OE-Core rev: 8a6f7c1e455156966f467008645fef14db679ccf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 14:46:38 +01:00
Joshua Watt
e5217b6c10 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

(From OE-Core rev: 2e591bdf93ec9e59b900562263dfe8e72b163baa)

Signed-off-by: Joshua Watt <JPEWHacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 14:46:38 +01:00
David Reyna
17dfe628d1 bitbake: toaster: Fix Thud Bitbake release metadata
Fix the Bitbake version ID for Thud (1.40).

[YOCTO #13356]

(Bitbake rev: 7d0ab11a0d1a2510515d7ebab66b922fbfc411c3)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-10 09:44:46 +01:00
Chris Laplante
070218c1c5 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).

(From OE-Core rev: 00fa8391365863fa7805ad61b2d1a8425b9ea040)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Adrian Freihofer
13aa3bea40 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.

(From OE-Core rev: aedb6bf9b6ccf37f69372642bc4c5dbbca92d0d9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Adrian Freihofer
d6c4039e3f 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>
(From OE-Core rev: 1ea225a86cdee4ed932ede509d3351d5aecae497)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Tim Orling
716dff0b2f oeqa/runtime: add simple test for scons
This test simply compiles a hello world program using scons.

(From OE-Core rev: bf6e3f0f3a7a134e8e3cb16366ef01b8c956e4c8)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Tim Orling
2209af86ed serf: switch to python3-scons-native
SCons has supported python3 since v3.0.0, use it.

(From OE-Core rev: e1de553bb2c1885f8323d9ce31b35175d5da3ef2)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Tim Orling
35e4834904 scons.bbclass: use python3-scons
SCons has supported python3 since 3.0.0 release, use it.

[YOCTO #13381]

(From OE-Core rev: 2ce507d65cd2558edc9e7929aff7b80463c26998)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Tim Orling
9a0549969d 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]

(From OE-Core rev: 1873f777aeddfbbf3ce06e93df3fa5318decb7b7)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Richard Purdie
3ef8d2175b 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.

(From OE-Core rev: d3f29e6e52367e124e3f543f970038c0332ad3e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Richard Purdie
8dc2f09ea5 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.

(From OE-Core rev: 8392d60e05c4eed0b08273c1a934eeea54215079)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Ross Burton
946a8802be parted: drop patch for linux <2.6.20 support
We don't really care about kernels this old anymore, so drop the patch.

(From OE-Core rev: b9630048451342a0ca1080955b0df35b0c94ce46)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Ross Burton
939a61c5dc parted: swap patches for the commits that landed upstream
Several of the parted fixes are actually upstream in slightly different form.

(From OE-Core rev: 90e032a4dc8e7d56db667d35a15cbf30b9fcdf06)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Ross Burton
e7260e7c86 libxslt: add comment saying when a workaround can be removed
(From OE-Core rev: 0dc31cb680ecb07f013ae110cff688c62f20573b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Alexander Kanavin
3c80692e36 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.

(From OE-Core rev: c7479bfd5fad4b9ba2e4299048a0c432200a5204)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Fabio Berton
62a30ab5c7 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

(From OE-Core rev: 1e4a5fe4652bd957d822d0d3d6e7c8b7b4ff5b8e)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Ross Burton
ca4cdfcd18 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.

(From OE-Core rev: 3757073726a00c5250556aae3d0daac76b88085e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-08 16:01:41 +01:00
Scott Rifenbark
bbe3bf4bfe ref-manual: Grammar correction
I left out the word "not" in a key sentence in the new
"Checking on the Upgrade Status of a Recipe" section.

Little words can make big differences.

(From yocto-docs rev: 46a524a0d6c9e2ed6428039a4454e384a6ef648d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
99f9a53b6b ref-manual: Updates to check-recipe-upgrade devtool command
I updated the section to include more detail on what the user
sees in the returned table.

(From yocto-docs rev: 671279548dde7f356888ba1ad1551b8bb1f70a65)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
bbdf0453d0 ref-manual: do_checkpkg - added link to checking upgrade status
I show the "devtool check-upgrade-status" command as part of
the "do_checkpkg" task section.  I added a cross-reference
link to the "Checking on the Upgrade Status of a Recipe"
section in the ref-manual.

(From yocto-docs rev: 034054f431cc9f0e61c8e156eed66bdf6e1198a1)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
40233c62f8 dev-manual: Added check-upgrade-status blurb to upgrading recipes
The section "Upgrading Recipes" covers several ways of
upgrading a recipe.  I added some stuff in the introductory
area that mentions the fact a user might want to check
the upgrade status of a recipe first.

(From yocto-docs rev: bd2fd8d0a91b64455c282ebf4974e40874274f46)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
e6b1e54d85 ref-manual: New section "Checking Upgrade Status of a Recipe"
I added a new section showcasing the "devtool check-upgrade-status"
command.

Also, added a note in the "Upgrading a Recipe" section" to tell
the reader they might want to check on a recipe's upgrade
status before upgrading a recipe.

(From yocto-docs rev: 974f63fe8836fccd51f12b511c23644235cbd4b4)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
50d2fb44a5 ref-manual: Udated devtool help output examples.
Specifically missing was the "devtool check-upgrade-status"
command.

(From yocto-docs rev: beaa40e8d1037f237ab588ec6ce256b8c3a18543)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
890a993be1 ref-manual: Removed "distutils-tools" class.
This class was removed for 2.7 and I took the reference section
out of the class area.

(From yocto-docs rev: daf786bebb0286d2ced46c97957d80a94c921c56)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
a4782409c4 ref-manual: Removed bugzilla.bbclass
The migration section noted this class as becoming obsolete.
I removed it from the class reference section.

(From yocto-docs rev: 63128888242493fb5671f11a2e5e470f2da6b22a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
f21fc9d1be dev-manual, ref-manual: removed "distrodata" class
Ousted these since it was noted in the migration section that
the class had been removed.  Modified all references to the
removed class as needed.

(From yocto-docs rev: 7000acc76da6b7ee850b799347ab9083663c7e6a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
d4fc8cf7ae ref-manual: Updated "do_fetch" to have a link to "Fetchers"
Fixes [YOCTO #10098]

This task needed to cross-reference the "Fetchers" section,
which is in the BitBake User Manual.

(From yocto-docs rev: c8862f4c8cc43777acead0e93fc728f2e8be4641)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Scott Rifenbark
d52682c054 sdk-manual: Added link to BB manual fetcher section.
In the "Use devtool upgrade to Create a Version of the Recipe
that Supports a Newer Version of the Software" section, we
reference "fetchers" but do not link to the section on them
in the BB manual.  I added a link.

(From yocto-docs rev: 633ac78daa2ab3bdde17ecb1a203f6addd6ee4af)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Adrian Bunk
39f30789e2 ref-manual: Remove irda feature
IrDA support was removed in upstream kernel 4.17,
and irda-utils as well as the feature are now also removed.

(From yocto-docs rev: 5650b3c733310b4d478440449d427de417946c81)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 13:57:41 +01:00
Philippe Normand
22c84e16f1 gnutls: Use the sysconfdir variable for the ca-certificates path
(From OE-Core rev: 666f6192aaa9e847ad0d920a487b82d984b58d26)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Joe Slater
d3b40352e4 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.

(From OE-Core rev: 03e3721674fe7fc22911ec738524cef86c7a5357)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Joshua Watt
1095ee1f62 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.

(From OE-Core rev: 1208ff934a2bb6378aa8b219345110a0d56bf767)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Adrian Bunk
e7c39ae9cf Remove manual RDEPENDS from PN-ptest to PN package
They are now added automatically by the ptest class.

(From OE-Core rev: 25cf1820122bb2b15057aafe1c9e04a733f81bcf)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Richard Purdie
1334b064d3 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.

(From OE-Core rev: c7e131a76e522503df55e211dd261829feacfa28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Richard Purdie
0a72ec2ed1 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]

(From OE-Core rev: 4059d8eedc5cf6f46a834997b7120150fcec4c0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Chee Yang Lee
cc083399ce 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.

(From OE-Core rev: 2c0a292a790ad069648e37b1b29fcea656fcf3e4)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:49 +01:00
Adrian Bunk
9f348884ab openssl: Upgrade 1.1.1b -> 1.1.1c
Backported patch removed.

(From OE-Core rev: 147d66495622332fdbf3cb1d0c3f0948402e1d1b)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:48 +01:00
Adrian Bunk
2ac6bfc088 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.

(From OE-Core rev: 7af322a995a9385f7f452c2988188de98db300c2)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:48 +01:00
Kevin Hao
720474ee8d oeqa/utils/qemurunner: Set both the threadport&serverport with tcpserial parameter
After the commit ad522ea6a6 ("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]

(From OE-Core rev: 9f2005dee41b1ef5a0d1f7b69bcd6c8352dac016)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:48 +01:00
Kevin Hao
e5f2684d60 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]

(From OE-Core rev: 766c3b56e5071b5a5a64e88df6d3abe5232dd958)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:48 +01:00
Peter Kjellerstedt
f5dd71ec52 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.

(From OE-Core rev: 43e55bfa040425cf93d94ac626a31f6fd00a7a74)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-07 09:11:48 +01:00
Diego Rondini
2b8d484f96 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).

(From OE-Core rev: bc9f5f4c107ea34171aad3245a49b25b671d8679)

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:08 +01:00
Filip Jareš
9f005f0539 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"

(From OE-Core rev: 85cdf2ddfbfa956f9fcb705f886645f1884149c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:08 +01:00
Adrian Bunk
ebc8a8834a vte: Fix the license information
Several files that are part of libvte (e.g. src/widget.cc)
are licensed LGPLv3+.

(From OE-Core rev: 4e3b013daaa07934f1fa81f1b26fe40fea1e3435)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:07 +01:00
Ross Burton
66a0ca52ef 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.

(From OE-Core rev: 802091c09091b71814cbdce0ec3323741862f807)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:07 +01:00
Sakib Sajal
ee5544f301 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

(From OE-Core rev: 4115805fb4ff47fc794651ca59c858f91fe26fc7)

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>
2019-06-06 00:40:07 +01:00
Martin Jansa
6832cd497b opkg-utils: fix opkg-list-fields script
(From OE-Core rev: 95c557761de6a89cc31f5a5910be3fced5259de6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:07 +01:00
Alejandro Hernandez Samaniego
5afd85f1d5 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.

(From OE-Core rev: d00b32f4f961ceeb75e7a014209666c10cf3eb93)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:07 +01:00
Alejandro Hernandez Samaniego
9929318619 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

(From OE-Core rev: ef90ed7e4be3f1ed63faba73bd4bbd593ae7bdf2)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-06 00:40:07 +01:00
Ross Burton
f092b04d4c 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.

(From meta-yocto rev: 69ddecdb15168dcd362f29226419a448d66fdacc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:36 +01:00
Ross Burton
9d36aaacd4 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.

(From OE-Core rev: 73fe3f7108e1d194961440f63afa73d5f7a0b983)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:25 +01:00
Anuj Mittal
6a0d6ca080 libpam: fix upstream version check
Recent upgrade to the recipe moved SRC_URI to github. Fix the version
check accordingly.

(From OE-Core rev: 6119272f8855f949d428e12ab4da987d43a6adbf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:25 +01:00
Zhixiong Chi
c13c0cfc8d 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

(From OE-Core rev: 889ad561093c14da5fc161b137e95e46f3f9af3f)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:25 +01:00
Anuj Mittal
691a7a32a6 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

(From OE-Core rev: b7cfcce4d73e97fb591456ee1352a318393f89c3)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:25 +01:00
Hongxu Jia
01e9547c51 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

(From OE-Core rev: 9726c75c98f04735df33f61cf019ee50f67296f5)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:25 +01:00
Jon Mason
b6ca6ac564 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.

(From OE-Core rev: b1fe6ae66360e160eeaeafe456536f335a0eab60)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 23:09:24 +01:00
Richard Purdie
d45b583da7 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.

(From OE-Core rev: dc0c916e610297063821450761c17e10c53bb4dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 11:34:05 +01:00
Joshua Watt
0965f48949 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.

(From OE-Core rev: de86bfeda6e3845336a0b56c883b49219967128f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Joshua Watt
5eb1d8b63f zip: Remove build date to improve reproducibility
Applies a patch from Debian to remove the build date from zip.

(From OE-Core rev: 222d485e4eb789307093d57cb3c8d373c2e695b8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
sangeeta jain
d9cb1c472c 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.

(From OE-Core rev: 73d2a747c17779da0ca972da776b3cf02c2e1cbc)

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Bruce Ashfield
ce47f982fc 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>

(From OE-Core rev: 1d72b295a22cde80259393e36e3515b6fa2ee34d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Jonathan Rajotte
999879daf6 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

(From OE-Core rev: faefb256b63c7e4f19be8c733e8d496037603b8e)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Richard Purdie
000dd28c6d e2fsprogs: Fix missing ptest dependencies
This allows ptests to execute successfully in minimal images.

(From OE-Core rev: 895d96fc65fbaab6d94b6e2fe56202f256d86ede)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Jon Mason
cb153e8da8 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.

(From OE-Core rev: 16d4031ea5df8a4ddfdb937d35464c09e1abd10e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Hongxu Jia
c113a83dd5 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

(From OE-Core rev: 8049bd34b89e710f7bb20883813ba3f929d9e997)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Hongxu Jia
f6cc637b83 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.

(From OE-Core rev: 62c3c8277fcea61940a4433d3796a4cec1b5f577)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Adrian Bunk
707c0830c6 libpam: Upgrade 1.3.0 -> 1.3.1
Remove patch applied upstream.
Upstream tarball location changed.

(From OE-Core rev: 40b1825a4434334f3513f94775b176545f8d2f3a)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Adrian Bunk
5690aa952a tcp-wrappers: Add compile warning fixes from Debian
(From OE-Core rev: cd1dc2334fd3e3d1db9be1d26e888051e3f59c5a)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch headers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Adrian Bunk
0dc37e9388 lrzsz: Add implicit declaration fixes from Debian
(From OE-Core rev: 6fa60ac102f6d3977df4236bd5a22680298bdac2)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch header.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Kai Kang
a972e4015b 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]

(From OE-Core rev: d87efd14ce0471135c0aa7fd7b5da2808acb9c76)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Tim Orling
0a2382cdca perl-rdepends.txt: fix perl-module-data-dumper dependencies
Data::Dumper depends on bytes

(From OE-Core rev: f044a8ceedbb6f1e429bbac19281b8ef8ff1a3be)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04 09:09:42 +01:00
Alexander Kanavin
6bf187a6c0 mesa-demos: update to 8.4.0
(From OE-Core rev: fa51e660345ade5256a1c566ae387914ca1c109b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:50 +01:00
Alexander Kanavin
6560db9ddf source-highlight: remove the recipe
gtk-doc was the only user, and has been switched over to python3-pygments.

(From OE-Core rev: 5301fe1a41ff921dcf1349dece74644bb7cc3a0f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Alexander Kanavin
f867798bc0 libpsl: fix the gtk-doc 1.30 build
(From OE-Core rev: 5f672c0f80f5486016e2899bb6d3f5bbc7b5c74a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Alexander Kanavin
e0cf6ef582 gtk-doc: upgrade 1.29 -> 1.30
Source-highlight support has been replaced upstream with python3-pygments.

(From OE-Core rev: 25a26ee7bc73a9a475f89cf9fc7876a4e75a26f4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Bruce Ashfield
b31ca8412c 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.

(From OE-Core rev: 8b8fb2e0d991c280317e28867224ed2080aa50c1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Bruce Ashfield
5e5df59066 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()

(From OE-Core rev: 9bef18bd94af24d758d2b6e9b4a1de6f4323ce05)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Bruce Ashfield
d6ea341fde 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

(From OE-Core rev: a05ca00a3c44900bfeade01a998ddc8e8c61d9e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Bruce Ashfield
be8944a369 linux-yocto-rt/5.0: update to -rt9
Updating linux-yocto-rt to -rt9, which comprises the following commits:

   cc66f1b95af7 (HEAD -> v5.0/standard/preempt-rt/base) v5.0.14-rt9
   96957f0ca4a4 sched/completion: Fix a lockup in wait_for_completion()
   7108dfc6c002 iommu/dma-iommu: Remove iommu_dma_map_msi_msg()
   50e9a302a12e irqchip/gic-v3-mbi: Don't map the MSI page in mbi_compose_m{b, s}i_msg()
   4a4c41f25d90 irqchip/ls-scfg-msi: Don't map the MSI page in ls_scfg_msi_compose_msg()
   e6549dc52874 irqchip/gic-v3-its: Don't map the MSI page in its_irq_compose_msi_msg()
   21ab1a505f71 irqchip/gicv2m: Don't map the MSI page in gicv2m_compose_msi_msg()
   5c7e7ee1155f iommu/dma-iommu: Split iommu_dma_map_msi_msg() in two parts
   ed562a120218 genirq/msi: Add a new field in msi_desc to store an IOMMU cookie
   8269017c7c71 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
   834de13e9df3 v5.0.14-rt8
   60a1f2741b0b v5.0.10-rt7
   5cbcfdaf619f clocksource: improve Atmel TCB timer driver
   dde28bc12270 x86/ima: Check EFI_RUNTIME_SERVICES before using
   c02d0b49cf87 printk: kmsg_dump: remove mutex usage
   b4ccebf15704 locking/rwsem: Rename rwsem_rt.h to rwsem-rt.h
   d5758ba7a93e x86/fpu: Remove unnecessary saving of FPU registers in copy_fpstate_to_sigframe()
   e16351073c50 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
   14ff99cb7d48 v5.0.10-rt6
   843445383127 v5.0.7-rt5
   e886711e0449 drm/i915: Don't disable interrupts independently of the lock
   69e41e29c6ad clocksource: improve Atmel TCB timer driver
   c2e266f415d0 x86: load FPU registers on return to userland (Update to v9)
   4be2fd56d44f v5.0.7-rt4
   6fb29acc8efe (origin/v5.0/standard/preempt-rt/base) genirq: Prevent use-after-free and work list corruption on rt

(From OE-Core rev: 80f59dc94ab1522a70412bfb1df9086f6bb7ba22)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Bruce Ashfield
89bcd46b62 linux-yocto/5.0: update to v5.0.17
Integrating the korg -stable commits that comprise the following
changes:

   d59f5a01fa43 Linux 5.0.17
   ba686f90778b f2fs: Fix use of number of devices
   78b8c59eee72 PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
   f20f463b32bc PCI: hv: Add hv_pci_remove_slots() when we unload the driver
   d3a9cd23b172 PCI: hv: Fix a memory leak in hv_eject_device_work()
   7f9572e798ea virtio_ring: Fix potential mem leak in virtqueue_add_indirect_packed
   ba81b50090a4 powerpc/booke64: set RI in default MSR
   0da52ad69b37 powerpc/powernv/idle: Restore IAMR after idle
   d314437d17ad powerpc/book3s/64: check for NULL pointer in pgd_alloc()
   79e981a8503f drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
   1a84219f73b2 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
   8b8fc62b6c67 isdn: bas_gigaset: use usb_fill_int_urb() properly
   12786188dcf3 flow_dissector: disable preemption around BPF calls
   39f7b3941969 net: phy: fix phy_validate_pause
   4a91e5e4c58f tuntap: synchronize through tfiles array instead of tun->numqueues
   e0630246658a tuntap: fix dividing by zero in ebpf queue selection
   92edcf205388 vrf: sit mtu should not be updated when vrf netdev is the link
   13d54150e746 vlan: disable SIOCSHWTSTAMP in container
   83c25477e944 tipc: fix hanging clients using poll with EPOLLOUT flag
   be6a9818866d selinux: do not report error on connect(AF_UNSPEC)
   c3954f8f5a7e packet: Fix error path in packet_init
   7bc936f4f226 net: ucc_geth - fix Oops when changing number of buffers in the ring
   57ee33b48190 net: seeq: fix crash caused by not set dev.parent
   224b04c9e028 net: macb: Change interrupt and napi enable order in open
   a3bf31d7ffb2 net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
   261a8958a57e net: dsa: Fix error cleanup path in dsa_init_module
   2f679c41821f ipv4: Fix raw socket lookup for local traffic
   f8351176aed6 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
   e4607de103ba dpaa_eth: fix SG frame cleanup
   430a64f6fa2c bridge: Fix error path for kobject_init_and_add()
   69798384ba38 bonding: fix arp_validate toggling in active-backup mode
   d3ff0184ebd2 Don't jump to compute_result state from check_result state
   843135c1ce1e rtlwifi: rtl8723ae: Fix missing break in switch statement
   14654a1f2e2b mwl8k: Fix rate_idx underflow
   202436fe0810 cw1200: fix missing unlock on error in cw1200_hw_scan()
   92a9787bb38c drm/rockchip: fix for mailbox read validation.
   5b4ef3c5faf9 net: mvpp2: fix validate for PPv2.1
   45e1075e04cb net: sched: fix cleanup NULL pointer exception in act_mirr
   4b84cde61ce9 bpf: only test gso type on gso packets
   073d8f286f34 mm/page_alloc.c: avoid potential NULL pointer dereference
   61fadd8a5000 mm/memory_hotplug.c: drop memory device reference after find_memory_block()
   59c58e43e80f RDMA/hns: Bugfix for mapping user db
   26f70c4e0aef gpio: Fix gpiochip_add_data_with_key() error path
   fb53ebc9eb9a net: vrf: Fix operation not supported when set vrf mac
   ec69b3c91b3b Input: synaptics-rmi4 - fix possible double free
   6a2abf951ed3 Input: snvs_pwrkey - make it depend on ARCH_MXC
   21a3f7c2c76c drm/sun4i: Unbind components before releasing DRM and memory
   f79084e5372b Revert "drm/virtio: drop prime import/export callbacks"
   2455f6cbd19b ceph: handle the case where a dentry has been renamed on outstanding req
   d3a9275364d9 spi: ST ST95HF NFC: declare missing of table
   943609acd628 spi: Micrel eth switch: declare missing of table
   4c6df58231f8 ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
   dc41fe5d6fb5 ARM: fix function graph tracer and unwinder dependencies
   0cb06e339cee drm/imx: don't skip DP channel disable for background plane
   7680e881fdaa gpu: ipu-v3: dp: fix CSC handling
   28e4593bb148 arm64/module: ftrace: deal with place relative nature of PLTs
   d0f8faa2f540 dmaengine: bcm2835: Avoid GFP_KERNEL in device_prep_slave_sg
   d4dc7d99b111 netfilter: fix nf_l4proto_log_invalid to log invalid packets
   ddb632889fae netfilter: never get/set skb->tstamp
   226ef4f27a45 selftests/net: correct the return value for run_afpackettests
   1a20185157b5 selftests/net: correct the return value for run_netsocktests
   2d83e90c2375 of_net: Fix residues after of_get_nvmem_mac_address removal
   7ba51c0e84b3 drm/sun4i: Fix component unbinding and component master deletion
   3000bdec55c8 drm/sun4i: Set device driver data at bind time for use in unbind
   1330679d64f8 s390: ctcm: fix ctcm_new_device error return code
   143c8279955e IB/mlx5: Fix scatter to CQE in DCT QP creation
   b3a64096c5ee MIPS: perf: ath79: Fix perfcount IRQ assignment
   ecef50c35a07 netfilter: nat: fix icmp id randomization
   c2987d193f8b netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
   b0a90cae081d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
   a3a5ad78488b ipvs: do not schedule icmp errors from tunnels
   44fbb3db2bde selftests: netfilter: check icmp pkttoobig errors are set as related
   16b01614d369 drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs
   5bc0352515ef init: initialize jump labels before command line option parsing
   57c2301fc9c9 mm: fix inactive list balancing between NUMA nodes and cgroups
   47d1b202e325 mm/hotplug: treat CMA pages as unmovable
   247e9fe2f4ad slab: store tagged freelist for off-slab slabmgmt
   4176e671a44e scsi: aic7xxx: fix EISA support
   e9697ba264c2 perf tools: Fix map reference counting
   d39036685e22 ocelot: Don't sleep in atomic context (irqs_disabled())
   d7200d0648e5 ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
   d2ae8127d693 perf top: Always sample time to satisfy needs of use of ordered queuing
   9b2395e2bfec tools lib traceevent: Fix missing equality check for strcmp
   b053700b6ce9 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
   7cee96602903 KVM: fix spectrev1 gadgets
   ac0cd21ff7f3 KVM: nVMX: always use early vmcs check when EPT is disabled
   ad0b4845927e x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
   47155c33761e x86/mm: Prevent bogus warnings with "noexec=off"
   e011d319f736 x86/build/lto: Fix truncated .bss with -fdata-sections
   5a8306e3b433 s390/pkey: add one more argument space for debug feature entry
   7a96a56eea04 drm/amd/display: If one stream full updates, full update all planes
   e3a41f93e337 qed: Fix the DORQ's attentions handling
   47ef1bab8d1d qed: Fix missing DORQ attentions
   deb2cc51dd52 qed: Fix the doorbell address sanity check
   2de1573a5ed9 qed: Delete redundant doorbell recovery types
   775e0e613250 afs: Fix in-progess ops to ignore server-level callback invalidation
   35d71b00267e afs: Unlock pages for __pagevec_release()
   f4faab6c9034 qede: fix write to free'd pointer error and double free of ptp
   40990109952a vxge: fix return of a free'd memblock on a failed dma mapping
   4230787c0655 mISDN: Check address length before reading address family
   2d56b3f53ac8 drm/amdgpu: shadow in shadow_list without tbo.mem.start cause page fault in sriov TDR
   bf4b7bc690e3 selftests: fib_tests: Fix 'Command line is not complete' errors
   b1e68de7659a clocksource/drivers/oxnas: Fix OX820 compatible
   641a9b94456d clocksource/drivers/npcm: select TIMER_OF
   44d7638b3934 drm/amd/display: extending AUX SW Timeout
   6661203b4210 drm/ttm: fix dma_fence refcount imbalance on error path
   1e1bdaca091e s390/3270: fix lockdep false positive on view->lock
   adefea883c1f tools/testing/nvdimm: Retain security state after overwrite
   40af621fefdb libnvdimm/pmem: fix a possible OOB access when read and write pmem
   7547c20fdd1c libnvdimm/security: provide fix for secure-erase to use zero-key
   8f2e6b8c9b0b nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
   0e36c8ed2d52 mac80211: fix memory accounting with A-MSDU aggregation
   c93951de3ecb cfg80211: Handle WMM rules in regulatory domain intersection
   7c7345f1cad8 mac80211: Increase MAX_MSG_LEN
   0c077b14bdc0 mac80211: fix unaligned access in mesh table hash function
   9d02fc4b7789 s390/dasd: Fix capacity calculation for large volumes
   181518b8eb4e libnvdimm/btt: Fix a kmemdup failure check
   f744a5e31a47 HID: input: add mapping for "Toggle Display" key
   0e56b93040c2 HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
   c64e4d22342c HID: input: add mapping for Expose/Overview key
   e42bcea02b46 libnvdimm/namespace: Fix a potential NULL pointer dereference
   469cc616e03c acpi/nfit: Always dump _DSM output payload
   a9189a36d66e iio: adc: xilinx: prevent touching unclocked h/w on remove
   1fc0aeddc0b7 iio: adc: xilinx: fix potential use-after-free on probe
   fc92e97e24df iio: adc: xilinx: fix potential use-after-free on remove
   a41382ca99e8 USB: serial: fix unthrottle races
   b5f2cb384e11 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
   a16532b59cca kernfs: fix barrier usage in __kernfs_new_node()
   0748cf2d9d1c selftests/seccomp: Handle namespace failures gracefully
   5c3c0ffa9d74 hwmon: (occ) Fix extended status bits
   a91e668131ad hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
   b9d31180294a platform/x86: dell-laptop: fix rfkill functionality
   22c8b3235eb2 platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
   8fb172181a29 platform/x86: sony-laptop: Fix unintentional fall-through
   54c140c5b614 bfq: update internal depth state when queue depth changes
   89e11ec0280b Linux 5.0.16
   f8bb2589227b x86/speculation/mds: Fix documentation typo
   14e3ad8a1452 Documentation: Correct the possible MDS sysfs values
   0acbbdf3e41d x86/mds: Add MDSUM variant to the MDS documentation
   4cf168a94fd5 x86/speculation/mds: Add 'mitigations=' support for MDS
   394e3d8de828 s390/speculation: Support 'mitigations=' cmdline option
   f905727fa11c powerpc/speculation: Support 'mitigations=' cmdline option
   bd600de16b82 x86/speculation: Support 'mitigations=' cmdline option
   6d7407ef9272 cpu/speculation: Add 'mitigations=' cmdline option
   c2b25b6b3582 x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
   3f7fe4ad1f62 x86/speculation/mds: Fix comment
   9cd62662dd7e x86/speculation/mds: Add SMT warning message
   c98b736e763d x86/speculation: Move arch_smt_update() call to after mitigation decisions
   fb49e1bb2061 x86/speculation/mds: Add mds=full,nosmt cmdline option
   08831a92501f Documentation: Add MDS vulnerability documentation
   ab8e3e63f23e Documentation: Move L1TF to separate directory
   31fd0223449e x86/speculation/mds: Add mitigation mode VMWERV
   3944139ce828 x86/speculation/mds: Add sysfs reporting for MDS
   0174e8984c2d x86/speculation/mds: Add mitigation control for MDS
   d9117863c521 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
   100087c08030 x86/kvm/vmx: Add MDS protection when L1D Flush is not active
   481871997e37 x86/speculation/mds: Clear CPU buffers on exit to user
   a5a8ef7cd7c9 x86/speculation/mds: Add mds_clear_cpu_buffers()
   87f96d5e7525 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
   78157c977674 x86/speculation/mds: Add BUG_MSBDS_ONLY
   ea3d1b32b86e x86/speculation/mds: Add basic bug infrastructure for MDS
   019159aec4b7 x86/speculation: Consolidate CPU whitelists
   26c0aff1ad63 x86/msr-index: Cleanup bit defines
   7b13756d2c32 Linux 5.0.15
   41d7bb19aa31 arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
   3b928b59fae0 locking/futex: Allow low-level atomic operations to return -EAGAIN
   be4b9a303a25 i3c: Fix a shift wrap bug in i3c_bus_set_addr_slot_status()
   4b1f2ad28fe1 ASoC: Intel: avoid Oops if DMA setup fails
   987722984163 UAS: fix alignment of scatter/gather segments
   349bb9138b3a Bluetooth: hci_bcm: Fix empty regulator supplies for Intel Macs
   41d5f23ef17b Bluetooth: Fix not initializing L2CAP tx_credits
   2c93762f4b38 Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
   1c1727f4b948 Bluetooth: hidp: fix buffer overflow
   69d6687a5c66 scsi: qla2xxx: Fix device staying in blocked state
   aee2053554ea scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
   45076c8e403a scsi: lpfc: change snprintf to scnprintf for possible overflow
   185e58d16ac8 soc: sunxi: Fix missing dependency on REGMAP_MMIO
   34ebc8ad2ea4 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
   61ae16c4586b cpufreq: armada-37xx: fix frequency calculation for opp
   573a935bfb4f iio: adc: qcom-spmi-adc5: Fix of-based module autoloading
   284af2788432 intel_th: pci: Add Comet Lake support
   704eaf49399f usb-storage: Set virt_boundary_mask to avoid SG overflows
   bba2feefcacd USB: cdc-acm: fix unthrottle races
   5b1c70f36832 USB: serial: f81232: fix interrupt worker not stop
   083a8f69962a usb: dwc3: Fix default lpm_nyet_threshold value
   9092861ce665 usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
   70a44a01f8a4 genirq: Prevent use-after-free and work list corruption
   b5dbb4058183 iommu/amd: Set exclusion range correctly
   6610c1785f70 perf/core: Fix perf_event_disable_inatomic() race
   a5f62d2c15a2 NFSv4.1 fix incorrect return value in copy_file_range
   a3aa7cab0fc2 platform/x86: pmc_atom: Drop __initconst on dmi table
   e6f2733f48cb nvmet: fix discover log page when offsets are used
   ea359038ab73 nvme-fc: correct csn initialization and increments on error
   407bb38bf3f7 nvme: cancel request synchronously
   e62732d12bd9 blk-mq: introduce blk_mq_complete_request_sync()
   e81f9ca291ac virtio-blk: limit number of hw queues by nr_cpu_ids
   677713b1254f ALSA: hda: Fix racy display power access
   7c7450aa9838 ASoC: stm32: sai: fix master clock management
   60ec4c3d39be ASoC: Intel: kbl: fix wrong number of channels
   c79f5a7a3559 drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy
   718254750661 drm/mediatek: using new factor for tvdpll for MT2701 hdmi phy
   5b82d95ac6fe drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy
   273ed6c20cb5 drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy
   4b112e5e6af9 drm/mediatek: fix the rate and divder of hdmi phy for MT2701
   a873474c769a drm/mediatek: fix possible object reference leak
   3051b6a1a14a scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
   353392e5b9a5 KEYS: trusted: fix -Wvarags warning
   6fb3aa5d7307 RDMA/hns: Fix bug that caused srq creation to fail
   f4d87f9b027a RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
   3fa40c30fe4c virtio_pci: fix a NULL pointer reference in vp_del_vqs
   e0696fe3c10f drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
   09c5ad16c22c slab: fix a crash by reading /proc/slab_allocators
   ad74ab443e30 objtool: Add rewind_stack_do_exit() to the noreturn list
   fa42760cf276 ASoC: cs35l35: Disable regulators on driver removal
   c577757d294e drm/amd/display: fix cursor black issue
   4b5f2b0ce17c drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list
   f528dbeec017 drm/amdgpu: Adjust IB test timeout for XGMI configuration
   255063992678 drm/amdkfd: Add picasso pci id
   2f0ec100032e ASoC: rockchip: pdm: fix regmap_ops hang issue
   dfa9efe42df2 xtensa: fix initialization of pt_regs::syscall in start_thread
   9680a806201d iov_iter: Fix build error without CONFIG_CRYPTO
   2e94d4e8f2b9 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
   bae9b6b98342 perf/x86/intel: Initialize TFA MSR
   9bd3e66587f5 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
   83f3ed3b4bde drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
   693d72f920e7 ASoC: tlv320aic32x4: Fix Common Pins
   e904a8b14895 MIPS: KGDB: fix kgdb support for SMP platforms.
   59188acd0c7d IB/hfi1: Fix the allocation of RSM table
   a3270ed43389 IB/hfi1: Eliminate opcode tests on mr deref
   1f9f22f6c7d6 IB/hfi1: Clear the IOWAIT pending bits when QP is put into error state
   a2fdb5d19477 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
   08aa8be65b52 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
   15d326f9548b ASoC: cs4270: Set auto-increment bit for register writes
   1be14f5da0b1 ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
   9baa2f8ab758 ASoC: stm32: dfsdm: manage multiple prepare
   5bff91d2a18f clk: meson-gxbb: round the vdec dividers to closest
   b2b47cecd2ce ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
   9fb991d9cf50 ASoC: rt5682: recording has no sound after booting
   b2cb6f8f307b ASoC: rt5682: fix jack type detection issue
   8425db671440 ASoC: rt5682: Check JD status when system resume
   3f60f8813be9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
   b44509a152a3 ASoC: nau8810: fix the issue of widget with prefixed name
   6c4a8ae4baa6 ASoC: nau8824: fix the issue of the widget with prefix name
   f4f4303c6d54 ASoC: dpcm: prevent snd_soc_dpcm use after free
   71ec072682ff ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
   ad8af1f8d26e ASoC:hdac_hda:use correct format to setup hda codec
   30d948ac01d9 ASoC:soc-pcm:fix a codec fixup issue in TDM case
   6872cfa57c42 ASoC: stm32: sai: fix race condition in irq handler
   b329de3769b0 ASoC: stm32: sai: fix exposed capabilities in spdif mode
   27162c8fdfb9 ASoC: stm32: sai: fix iec958 controls indexation
   aba1a357cd90 ASoC: hdmi-codec: fix S/PDIF DAI
   045c73ba325d ASoC: tlv320aic3x: fix reset gpio reference counting
   ce3a072f275a staging: most: sound: pass correct device when creating a sound card
   2dbcc037de1a staging: most: cdev: fix chrdev_region leak in mod_exit
   3f57fef02fa7 staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context.
   9cccac4ee35f staging: greybus: power_supply: fix prop-descriptor request size
   9fe5b8e9d4c2 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
   7c03a3534d24 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
   634424f63373 net: stmmac: Use bfsize1 in ndesc_init_rx_desc

(From OE-Core rev: 3faea669be9aa3c75ffbd5309316116392434aff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-02 10:23:49 +01:00
Richard Purdie
f50dd98381 libxml-perl: Fix module and ptest dependencies
This fixes runtime errors when running the ptest in a minimal image.

(From OE-Core rev: 597eddc71a963613edea243c4c320ecbd6149916)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
bf5662fe4d libxml-sax-perl: Fix module ptest dependencies
This fixes runtime errors when running the ptest in a minimal image.

(From OE-Core rev: 688ac24fca404233d68f26ac8744938e96740541)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
7eef8e3665 libconvert-aan1-perl: Fix module and ptest dependencies
This fixes runtime errors when running the ptest in a minimal image.

(From OE-Core rev: 531e5b0b790434d4cadd9b5abd4b76fc9f197709)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
825a5c7b56 liburi-perl: Fix module ptest dependencies
This fixes runtime errors when running the ptest in a minimal image.

(From OE-Core rev: 35ec94fa3c3d3d6c2781f579c74094a271b220f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
085f2e013e perl: Add missing perl module dependency
This fixes runtime errors when using the module (as used by various other perl
module ptests).

(From OE-Core rev: ba2dff81186c194c5f4b7361f2f9678068d93769)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
ef6985d990 libtimedate-perl: Fix ptest dependencies
This fixes runtime errors when running the ptest in a minimal image.

(From OE-Core rev: 0e1539bfa0e07a9d8d8a670ce4add221d1955feb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
55b212945a libtest-needs-perl: Fix ptest dependencies
This fixes runtime errors when running the ptest in a minimal image.

(From OE-Core rev: a99204f36afd1b98e6a0aabe70cc4d86d8d18315)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
c1e844e2eb quilt: Add patch depends for quilt-ptest
This fixes the ptest to work in minimal images.

(From OE-Core rev: 2a74e127cbb1972923d8b35f6f41b6fba6cf96fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Alexander Kanavin
5c0d4e59d4 python3-pygments: add a recipe
This is the new source highlighter used by gtk-doc.

(From OE-Core rev: 18ac8091728ede09024385cc71acff2b59500017)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 21:43:30 +01:00
Richard Purdie
914c33e8ff beaglebone-yocto: Add missing wic image u-boot deploy dependency
The wic image built for beaglebone-yocto needs the u-boot deployed artefacts but
there is no direct dependency. Usually this happens to work but if the u-boot
build fails, the image built with -k exposes this race.

Add the missing dependnecy.

[YOCTO #13280]

(From meta-yocto rev: d0abe4a39ad261bcd4993ebd3340c2160870959a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:42 +01:00
Alexander Kanavin
9ad477cf40 sysstat: add UPSTREAM_VERSION_UNKNOWN
We are taking a development version from an odd-even versioned project,
so upstream version check reports that the latest version is less than
the one the recipe is using.

UPSTREAM_VERSION_UNKNOWN avoids a version check failure until
there is a new stable series.

(From OE-Core rev: 0e7a4a14dc63588cfd5f6adff527f7613bb69c55)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Sakib Sajal
1233755420 bash: run bash ptest as non-root user
new-exp ptest fails as it expects non-root user.

>From the failed ptest log:
   < new-exp.tests: the test suite should not be run as root
   628c627
   < argv[1] = <host(2)[5.0]# >
   ---
   > argv[1] = <host(2)[5.0]$ >
   FAIL: run-new-exp

Many of the ptests declare that they should not be run as root
and a few fail since the expected result strings are for a
user shell.

When ptests are run as bash_user (non-root) the glob test
fails with error:
    run-glob-test
    59,60d58
    < touch: cannot touch 'a?': Permission denied
    < touch: cannot touch 'aa': Permission denied

So ensure that the bash/ptest/tests directory is owned by the
bash_user while the tests are being run and return it to root
owner afterwards.

(From OE-Core rev: c125609886b36048cfde6e694eee7fb47f197241)

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>
2019-06-01 11:27:07 +01:00
Sakib Sajal
56ccaa3b8d bash: add big5hkscs gconv RDEPENDS needed by bash-ptest.
glob-test failed beacuse it could not convert big5hkscs
encoding to perform comparison.

(From OE-Core rev: 8e147863c4c0fdc22da92e2e5e35502906eac916)

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>
2019-06-01 11:27:07 +01:00
Alexander Kanavin
f5cea25412 Revert "ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX"
This reverts commit 91227184b5.

Instead of fixing incorrect regex, the commit actually broke the correct one.

Before the reverted commit:
alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses
INFO: ncurses                   6.1             6.1+20181013    Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835

After the reverted commit:
alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses
INFO: ncurses                   6.1             UNKNOWN_BROKEN  Hongxu Jia <hongxu.jia@windriver.com>

The code in bitbake/lib/bb/fetch2/git.py actually splits each tag
with '/' as separator and takes only the last part for some reason,
so the "debian/" or "upstream/" prefixes are never a part of the string
that is matched against regex:
https://salsa.debian.org/debian/ncurses/tags

(From OE-Core rev: b6f4c130e5b2df458bf9d1b2d8edc8ac87fecf12)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Alexander Kanavin
6af19f6b35 ccache: fix upstream version check
(From OE-Core rev: 83ad76453a86829c07052d506bc214923e696cf5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Fabio Berton
43ee140f5d mesa: Update 19.0.3 -> 19.0.5
Mesa 19.0.5 is a bug fix release which fixes bugs found since the
19.0.3 release.

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

(From OE-Core rev: 116330fb1a662353b96763169d8502d0d1ddc77c)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Tim Orling
8a6d027fef perl: install Config_git.pl
Config_git.pl is required for Test::Builder and other perl ptest
modules. It was packaged before the perl-sanity change, but
missed in the refactoring.

(From OE-Core rev: a432df483a6b2c44518882b976c73b0d7ad28509)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Tim Orling
99f26fd314 perl-rdepends.txt: improve dependencies for perl module ptests
A number of dependencies for Test::Builder and other perl ptest
modules were missing, especially Test2::API and its like.

Fixes [YOCTO #13200]

(From OE-Core rev: bad9856570094792de22c8a857cecfcb57d3555f)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Tim Orling
729cd9c6e9 libxml-parser-perl: fix ptest dependencies
The ptests have additional dependency on:
* perl-module-filehandle
* perl-module-if
* perl-module-test

(From OE-Core rev: 278b4fb78cc35338f692c559b4e4c068e8f37c71)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Alexander Kanavin
df9f772a2f piglit: upgrade to latest revision
Switch to gitlab.freedesktop.org, as the previous
location is now a mirror of that and may be taken down.

Remove upstreamed patches.

(From OE-Core rev: a109aa96a3c3b8ce3d3e8076955fd72b3a60af77)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:07 +01:00
Alexander Kanavin
815c601db6 perl: update to 5.30.0
(From OE-Core rev: 281eff0f37c2d33ad15590ea0a21515f24fc0cb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:06 +01:00
Jonathan Rajotte
eb952de8fd liburcu: update to 0.11.0
Drop backported patch.
Update paths to files that establish the licensing.

(From OE-Core rev: 93b7a4f6c2149242d2390a8cbb9af86d09f1d7ca)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:06 +01:00
Richard Purdie
44607330cd useradd: Ensure do_populate_sysroot has dependency on useradd variables
The do_populate_sysroot task doesn't rerun if you change any of the USERADD_PARAM
or GROUPADD_PARAM variables, only do_package will.

If another task depends on the recipe, this means it won't see any updated changes.

This patch adds in the missing vardeps ensuring the code is deterministic.

[YOCTO #13232]

(From OE-Core rev: 37d0382a3c67f47f8cfdd977a041069bf912b8c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-01 11:27:06 +01:00
Mingli Yu
72cc2de0d9 elfutils: fix ptest failures
* Add missing files which needed by ptest test
  to fix the ptest failures such as:
  | sh: ../src/elflint: No such file or directory
  | FAIL: asm-tst4

* Rework 0001-skip-the-test-when-gcc-not-deployed.patch
  to skip the tests which depend on gcc

* Define INHIBIT_PACKAGE_STRIP_FILES for elfutils to
  avoid stripping some generated binaries otherwise
  some of the tests such as test-nlist, run-strip-reloc.sh,
  run-strip-strmerge.sh and so on will fail

* Set EXCLUDE_PACKAGES_FROM_SHLIBS = "${PN}-ptest"
  to avoid ${PN}-ptest be the shlibs provider to
  fix below error:
  Problem 1: package rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
  - conflicting requests
  - nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
  Problem 2: package dnf-4.2.2-r0.core2_32 requires python3-rpm, but none of the providers can be installed
  - package python3-rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
  - conflicting requests
  - nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
  Problem 3: package ltp-20190115-r0.core2_32 requires iproute2, but none of the providers can be installed
  - package packagegroup-core-tools-testapps-1.0-r2.qemux86 requires ltp, but none of the providers can be installed
  - package iproute2-5.1.0-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
  - conflicting requests
  - nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32

Before:
--------------------------------------------
Recipe   | Passed    | Failed   | Skipped
--------------------------------------------
elfutils | 176       | 23       | 4
--------------------------------------------

After:
--------------------------------------------
Recipe   | Passed    | Failed   | Skipped
--------------------------------------------
elfutils | 199       | 0       | 4
--------------------------------------------

(From OE-Core rev: 174690b1745eadc6981d83b7c6869712e835b5d0)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 22:13:31 +01:00
Carlos Rafael Giani
e59bdafc65 gstreamer1.0-vaapi: upgrade to version 1.16.0
(From OE-Core rev: d4fe719bf10b224b2dc6e484fd88f54b9bc581c5)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 22:13:31 +01:00
Joshua Watt
908e847b46 glibc-locale: DEPEND on virtual/libc
The restriction against glibc-locale depending on virtual/libc is
removed now that libc-initial no longer exists.

Adding the DEPENDS on virtual/libc fixes a race (and reproducibility
issue) where the packages created by this recipe would have different
runtime dependencies depending on if libc had generated its packages yet
or not.

(From OE-Core rev: 75539cb23073596a9f13446dd6f3921755d7fb53)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 22:13:31 +01:00
Philippe Normand
4babb468b8 gnutls: Use ca-certificates as default trust store file
Since version 2.58 the glib-networking TLS database relies on GnuTLS's system
trust store, so not enabling it leads to TLS errors in applications depending on
glib-networking. The raised runtime warning is:

process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust
(app:490): ... TLS Error: TLS certificate  has unknown CA.

(From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 22:13:31 +01:00
Philippe Normand
67edffa0ae at-spi2: Make X11 support truly optional
X11 support in at-spi2-core can be turned off at compile time, so leverage this
and disable it when X11 is not present in DISTRO_FEATURES.

(From OE-Core rev: be18dabdb28703c889f97faadbaec07e76d5e8bd)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 22:13:31 +01:00
Joshua Watt
fe44532408 perl: Set build date to SOURCE_DATE_EPOCH
Perl uses an internal #define called PERL_BUILD_DATE as the string for
the date when perl was built. If undefined, it defaults to using
__DATE__ and __TIME__, which is not reproducible. If SOURCE_DATE_EPOCH
is set at do_configure time, use it to generate a reproducible string
for PERL_BUILD_DATE.

(From OE-Core rev: 0ab44c72d0fb9b1d110ba975273b520cea5bf29f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 22:13:31 +01:00
Richard Purdie
464a2fed0b useradd: Fix build architecture corruption of sstate artefacts
When mixing aarch64 and x86_64 host builds with common sstate, useradd failures
were found. This was due to references to:

/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo
or
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo

on the wrong architecture within the useradd postinst files.

Instead of using COMPONENTS_DIR as the FIXME, use PSEUDO_SYSROOT which contains
the arch component as well to avoid this.

Add extra comments to cause the relavent sstate to be rebuilt.

(From OE-Core rev: 0384622f72a6c0bd8225cf06f692340fdef67d4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Richard Purdie
a07a6a7415 runqemu: Add support for kvm on aarch64
The main issue is to make the x86 checks apply to x86 targets only. We may
end up with better checks on other architectures but this adapts the code to
allow for that and its still controlled by whether QB_CPU_KVM is set.

The code needed minor refactoring so the qemu-system-XXX name is set
earlier so the kvm code can use it.

(From OE-Core rev: 06c473a0127f19b76d0f647b87873944add1e331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Richard Purdie
6a28a19390 qemuarm64: Add QB_CPU_KVM to allow kvm acceleration
This allows kvm acceleration on arm systems that support it. "host" is the
best option I can find right now to attempt to use the acceleration. It
potentially might not be correct but arm systems are sensitive to the
correct values and I don't want to encode the autobuilders CPU type here.

(From OE-Core rev: f13788541f64774a586971ed57699e4397b38b32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Anuj Mittal
e1afa8762c libva: upgrade 2.4.0 -> 2.4.1
Changes in this release:

979a351 [common] Add A2RGB10 fourcc definition
22cba79 build: meson: enables va messaging and visibility
b89f6ec va/va_trace: add trace support for RIR(rolling intra refresh).
844b90c va/va_trace: add trace support for ROI(region of interest).

(From OE-Core rev: 6072f1f3a0064bbb550367386d96c6cf7d88e32c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Adrian Bunk
f3c995ee4b dpkg: Remove workaround patches for no longer supported host distributions
(From OE-Core rev: 282ddd265d8c63975750a604bc4ac2c1ffbcbd76)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Andrei Gherzan
024825532e ca-certificates: Fix openssl runtime dependencies
Since yocto thud, and more specifically since poky switched to
openssl 1.1 line, the openssl binary is provided by 'openssl-bin'. This
impacts the native and nativesdk recipe variants as well.

(From OE-Core rev: dc778c70449ee5401b5a24ad18b22b88338c47c5)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Bruce Ashfield
600a615042 linux-yocto-dev: bump to v5.2-rc
(From OE-Core rev: 16520b090c494eaafb2ec9eef7e8d511478860c2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Bruce Ashfield
412b88d052 kernel: package modules.builtin.modinfo
As of commit 898490c010b [moduleparam: Save information about built-in
modules in separate file] (kernels v5.2-rc1+), modules.builtin.modinfo
is generated as part of the kernel build process.

We package it along with the other module artifacts, so it can be used
by scripts/other build steps.

(From OE-Core rev: 112a4d3b2b4a829dd5657b6533b1c1bb589d6c8e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Bruce Ashfield
fa4798d953 linux-yocto/4.19: update to v4.19.44
Integrating the korg -stable updates that comprise the following
commits:

   dafc674bbcb1 Linux 4.19.44
   9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
   76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
   a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
   4179b8580219 powerpc/booke64: set RI in default MSR
   71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
   69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
   e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
   ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
   afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
   98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
   17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
   9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
   737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
   e38406070729 vlan: disable SIOCSHWTSTAMP in container
   dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
   9f51d6f72063 packet: Fix error path in packet_init
   2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
   210057b79e71 net: seeq: fix crash caused by not set dev.parent
   dfd919285f27 net: macb: Change interrupt and napi enable order in open
   68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
   9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
   da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
   947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
   c7b5e55be825 dpaa_eth: fix SG frame cleanup
   a79feef32392 bridge: Fix error path for kobject_init_and_add()
   9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
   0dc9ad4e904d powerpc/64s: Include cpu header
   db1b4aa651df um: Don't hardcode path as it is architecture dependent
   85f347944a6b Don't jump to compute_result state from check_result state
   ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
   d756d1dea670 mwl8k: Fix rate_idx underflow
   c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
   575260507647 x86/kprobes: Avoid kretprobe recursion bug
   322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
   f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
   21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
   85b9e8694f9c net/tls: fix the IV leaks
   e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
   835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
   880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
   a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
   fb7c783b3139 net: fec: manage ahb clock in runtime pm
   c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
   5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
   9965da064e9a usb: typec: Fix unchecked return value
   68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
   bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
   19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
   f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
   6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
   fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
   afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
   f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
   21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
   09185e359827 spi: Micrel eth switch: declare missing of table
   3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
   521ae4da71cc drm/imx: don't skip DP channel disable for background plane
   df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
   3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
   5bc3d4491821 selftests/net: correct the return value for run_netsocktests
   24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
   1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
   005325b7f026 s390: ctcm: fix ctcm_new_device error return code
   ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
   743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
   7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
   4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
   cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
   74e9b761fba0 init: initialize jump labels before command line option parsing
   6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
   1134736869ef scsi: aic7xxx: fix EISA support
   ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
   9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
   7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
   0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
   d39f3cc71382 KVM: fix spectrev1 gadgets
   4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
   3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
   8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
   e360515f41fc drm/amd/display: If one stream full updates, full update all planes
   58be7c109cea afs: Unlock pages for __pagevec_release()
   08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
   090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
   f83beff28048 mISDN: Check address length before reading address family
   e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
   7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
   6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
   068d1cce7801 drm/amd/display: extending AUX SW Timeout
   2773e7454f4f s390/3270: fix lockdep false positive on view->lock
   4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
   f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
   1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
   9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
   35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
   bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
   e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
   af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
   f7ab4818f74e HID: input: add mapping for "Toggle Display" key
   bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
   dc30867da997 HID: input: add mapping for Expose/Overview key
   e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
   5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
   f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
   6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
   06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
   5640d0781267 USB: serial: fix unthrottle races
   4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
   e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
   f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
   87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
   381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
   efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
   824c212908b6 bfq: update internal depth state when queue depth changes
   3351e9d39947 Linux 4.19.43
   b21bde49d386 x86/speculation/mds: Fix documentation typo
   8e65568e9d23 Documentation: Correct the possible MDS sysfs values
   2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
   12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
   59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
   74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
   af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
   8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
   7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
   e9ae32266605 x86/speculation/mds: Fix comment
   b9faa4652867 x86/speculation/mds: Add SMT warning message
   b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
   f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
   cfaa3d76301e Documentation: Add MDS vulnerability documentation
   e3803099d2f4 Documentation: Move L1TF to separate directory
   c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
   8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
   2951067089a3 x86/speculation/mds: Add mitigation control for MDS
   4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
   b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
   e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
   1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
   de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
   aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
   2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
   00b76324bd35 x86/speculation: Consolidate CPU whitelists
   e09450ffa980 x86/msr-index: Cleanup bit defines
   ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
   1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
   34aae15cb179 Documentation/l1tf: Fix small spelling typo
   9c2556f428cf Linux 4.19.42
   9ccdbde1850c arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
   0f4ef8fb1dae locking/futex: Allow low-level atomic operations to return -EAGAIN
   6fee39874d1f ASoC: Intel: avoid Oops if DMA setup fails
   c3b3955f0250 UAS: fix alignment of scatter/gather segments
   38f092c41ceb Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
   c6d1f9b4b2cb Bluetooth: hidp: fix buffer overflow
   de7fe08b92dc scsi: qla2xxx: Fix device staying in blocked state
   ef7014d76361 scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
   7a793ca17357 scsi: lpfc: change snprintf to scnprintf for possible overflow
   8b330b3efa91 soc: sunxi: Fix missing dependency on REGMAP_MMIO
   557be5771563 cpufreq: armada-37xx: fix frequency calculation for opp
   6b7daf1ff8bf intel_th: pci: Add Comet Lake support
   5b2ba94386eb usb-storage: Set virt_boundary_mask to avoid SG overflows
   18e6f3027642 USB: cdc-acm: fix unthrottle races
   bce2b9d63786 USB: serial: f81232: fix interrupt worker not stop
   caa5680dc05a usb: dwc3: Fix default lpm_nyet_threshold value
   33f2aa87c294 genirq: Prevent use-after-free and work list corruption
   29184cbaaec0 iommu/amd: Set exclusion range correctly
   42638d6aae06 perf/core: Fix perf_event_disable_inatomic() race
   c1189d68be7d platform/x86: pmc_atom: Drop __initconst on dmi table
   777943cd6c5f nvme-fc: correct csn initialization and increments on error
   0e8e67b8147f virtio-blk: limit number of hw queues by nr_cpu_ids
   d955bb0b3189 ASoC: Intel: kbl: fix wrong number of channels
   e5c749ad6d7f drm/mediatek: fix possible object reference leak
   8f4dbd17777f scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
   fb357b9eb47d RDMA/hns: Fix bug that caused srq creation to fail
   8dfb2896d8c7 RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
   5984fd687600 virtio_pci: fix a NULL pointer reference in vp_del_vqs
   a8f5c1bceb25 drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
   78bc98235e84 slab: fix a crash by reading /proc/slab_allocators
   cf6cb79d57b0 objtool: Add rewind_stack_do_exit() to the noreturn list
   e66e72710962 ASoC: cs35l35: Disable regulators on driver removal
   dd015a3b072a drm/amd/display: fix cursor black issue
   88294658ddbe ASoC: rockchip: pdm: fix regmap_ops hang issue
   95587274e9d5 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
   7d10436ca569 perf/x86/intel: Initialize TFA MSR
   2b791e8ee7b2 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
   929d019d6d44 drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
   0fb785e28833 ASoC: tlv320aic32x4: Fix Common Pins
   e6efcbf3cbce MIPS: KGDB: fix kgdb support for SMP platforms.
   09c6954e83e8 IB/hfi1: Fix the allocation of RSM table
   3abd4aef917f IB/hfi1: Eliminate opcode tests on mr deref
   1ed91af83a45 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
   d356db088333 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
   6f69661f6ebe ASoC: cs4270: Set auto-increment bit for register writes
   8f5077ceee5f ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
   33ffe0807d52 ASoC: stm32: dfsdm: manage multiple prepare
   74f5898f660d clk: meson-gxbb: round the vdec dividers to closest
   8aa62dc731e5 ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
   2ece73fe079b ASoC: rt5682: recording has no sound after booting
   afcbb3c755c9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
   7525d6104ca4 ASoC: nau8810: fix the issue of widget with prefixed name
   c2119de4ed41 ASoC: nau8824: fix the issue of the widget with prefix name
   29f1b9761520 ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
   581a8bd9fa8b ASoC:soc-pcm:fix a codec fixup issue in TDM case
   c37f7344075a ASoC: stm32: sai: fix exposed capabilities in spdif mode
   2aeceaaff09b ASoC: stm32: sai: fix iec958 controls indexation
   6544b4966193 ASoC: hdmi-codec: fix S/PDIF DAI
   98a80393b82a ASoC: tlv320aic3x: fix reset gpio reference counting
   34ae4c6a3609 staging: most: cdev: fix chrdev_region leak in mod_exit
   2197e11bb624 staging: greybus: power_supply: fix prop-descriptor request size
   35d2c86db2d4 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
   eb7b8d1afb92 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
   0f18e433b97b scsi: libsas: fix a race condition when smp task timeout
   e629cabe34ed net: stmmac: Use bfsize1 in ndesc_init_rx_desc
   21de7eb67cff Linux 4.19.41
   e7c2d066566b mm/kmemleak.c: fix unused-function warning
   5b94768bd07c ASoC: wm_adsp: Check for buffer in trigger stop
   c5c74e63985f media: v4l2: i2c: ov7670: Fix PLL bypass register values
   5f18c95d2964 i2c: i2c-stm32f7: Fix SDADEL minimum formula
   7a32cbf1720b x86/mm/tlb: Revert "x86/mm: Align TLB invalidation info"
   c48b027f2aa3 x86/mm: Fix a crash with kmemleak_scan()
   052c78f5cfe2 x86/mm/KASLR: Fix the size of the direct mapping section
   d572a3a03f63 clk: x86: Add system specific quirk to mark clocks as critical
   61ff44069f5b x86/mce: Improve error message when kernel cannot recover, p2
   c7e220eff874 powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search
   a78c3898de59 mac80211: Honor SW_CRYPTO_CONTROL for unicast keys in AP VLAN mode
   574be221407e selinux: never allow relabeling on context mounts
   6b13ae52ac75 selinux: avoid silent denials in permissive mode under RCU walk
   53ffa56456fb gpio: mxc: add check to return defer probe if clock tree NOT ready
   a10c88bf365a Input: stmfts - acknowledge that setting brightness is a blocking call
   a99b9c82bde6 Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
   8d5c1c039708 IB/core: Destroy QP if XRC QP fails
   841487432d11 IB/core: Fix potential memory leak while creating MAD agents
   dabcbe58d8bc IB/core: Unregister notifier before freeing MAD security
   d1698f74bdbd platform/x86: intel_pmc_core: Handle CFL regmap properly
   51e777c795ce platform/x86: intel_pmc_core: Fix PCH IP name
   d4f1e3ef9586 ASoC: stm32: fix sai driver name initialisation
   7d3f7107079b ASoC: wm_adsp: Correct handling of compressed streams that restart
   3b958d5e6972 ASoC: Intel: bytcr_rt5651: Revert "Fix DMIC map headsetmic mapping"
   9d696f405e6d scsi: RDMA/srpt: Fix a credit leak for aborted commands
   f16e83170e25 staging: iio: adt7316: fix the dac write calculation
   ad774285beee staging: iio: adt7316: fix the dac read calculation
   7041e3d6b81f staging: iio: adt7316: allow adt751x to use internal vref for all dacs
   2ccaef716388 clk: qcom: Add missing freq for usb30_master_clk on 8998
   8897bf03ec30 Bluetooth: mediatek: fix up an error path to restore bdev->tx_state
   f5ad05e680aa Bluetooth: btusb: request wake pin with NOAUTOEN
   3f8497cfff3b perf/x86/amd: Update generic hardware cache events for Family 17h
   96e4471d3881 block: pass no-op callback to INIT_WORK().
   14f3c36b47ed ARM: iop: don't use using 64-bit DMA masks
   39839f3ec616 ARM: orion: don't use using 64-bit DMA masks
   04b4d5f75ab0 fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock
   a82cfd770651 xsysace: Fix error handling in ace_setup
   54ad0956ef93 sh: fix multiple function definition build errors
   b51fdcbe45d1 hugetlbfs: fix memory leak for resv_map
   6a62bbe82343 kmemleak: powerpc: skip scanning holes in the .bss section
   82e8da1f1a91 KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow
   57186663b3a1 libcxgb: fix incorrect ppmax calculation
   5c5e9f23df7a net: hns: Fix WARNING when remove HNS driver with SMMU enabled
   c9f431017617 net: hns: fix ICMP6 neighbor solicitation messages discard problem
   1ff38d33d7c4 net: hns: Fix probabilistic memory overwrite when HNS driver initialized
   7713ee691767 net: hns: Use NAPI_POLL_WEIGHT for hns driver
   7e7befd8dee2 net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw()
   98d6651f1878 arm64: fix wrong check of on_sdei_stack in nmi context
   69da58b7386c arm/mach-at91/pm : fix possible object reference leak
   8052c066e6d0 scsi: storvsc: Fix calculation of sub-channel count
   03260f46f2d1 scsi: core: add new RDAC LENOVO/DE_Series device
   4d043d3d2be1 vfio/pci: use correct format characters
   7ce0b428c046 HID: input: add mapping for Assistant key
   ce9e2dc03f63 rtc: da9063: set uie_unsupported when relevant
   e5be04ee1766 block: use blk_free_flush_queue() to free hctx->fq in blk_mq_init_hctx
   177edf25706a mfd: twl-core: Disable IRQ while suspended
   f0112b649525 debugfs: fix use-after-free on symlink traversal
   e22c11da0a86 jffs2: fix use-after-free on symlink traversal
   7cce2543cbcd net: stmmac: don't log oversized frames
   f86c1d3f10a2 net: stmmac: fix dropping of multi-descriptor RX frames
   0ab012e3df48 net: stmmac: don't overwrite discard_frame status
   2170bbf19f6e net: stmmac: don't stop NAPI processing when dropping a packet
   cd50daabf5ee net: stmmac: ratelimit RX error logs
   c13a936f46e3 net: stmmac: use correct DMA buffer size in the RX descriptor
   824451fdcfc2 bonding: show full hw address in sysfs for slave entries
   f91bb70a3616 net/mlx5: E-Switch, Fix esw manager vport indication for more vport commands
   7e0548e111e5 net: hns3: fix compile error
   6869dd570f10 HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630
   bc031095828b riscv: fix accessing 8-byte variable from RV32
   0424b0b35793 igb: Fix WARN_ONCE on runtime suspend
   cc04b5b3314a reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
   ef9533481c11 ARM: dts: rockchip: Fix gpu opp node names for rk3288
   894b4fc04387 batman-adv: fix warning in function batadv_v_elp_get_throughput
   7afe374cc718 batman-adv: Reduce tt_global hash refcnt only for removed entry
   6957021da735 batman-adv: Reduce tt_local hash refcnt only for removed entry
   be807f9b4fc4 batman-adv: Reduce claim hash refcnt only for removed entry
   8a734e251c0c rtc: sh: Fix invalid alarm warning for non-enabled alarm
   5b5c653ddf91 rtc: cros-ec: Fail suspend/resume if wake IRQ can't be configured
   2f4052ffd9be HID: debug: fix race condition with between rdesc_show() and device removal
   61effc648fe4 HID: logitech: check the return value of create_singlethread_workqueue
   dbfef4bd8836 arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay
   3e6b472f474a efi: Fix debugobjects warning on 'efi_rts_work'
   30673786f906 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
   83c6688d679c USB: core: Fix bug caused by duplicate interface PM usage counter
   7b73c2a056b3 USB: core: Fix unterminated string returned by usb_string()
   7df0d2c7d092 usb: usbip: fix isoc packet num validation in get_pipe
   512ce15023a8 USB: dummy-hcd: Fix failure to give back unlinked URBs
   508954883054 USB: w1 ds2490: Fix bug caused by improper use of altsetting array
   9f632afe4f39 USB: yurex: Fix protection fault after device removal
   f02c6460a5b6 ALSA: hda/realtek - Apply the fixup for ASUS Q325UAR
   347411f9aded ALSA: hda/realtek - Fixed Dell AIO speaker noise
   f937634b6626 ALSA: hda/realtek - Add new Dell platform for headset mode
   b19c230648b5 i2c: Prevent runtime suspend of adapter when Host Notify is required
   04e07919f7da i2c: Allow recovery of the initial IRQ by an I2C client device.
   1e031ab31843 i2c: Clear client->irq in i2c_device_remove
   63eab25ed1cc i2c: Remove unnecessary call to irq_find_mapping
   e89ba70e10b2 i2c: imx: correct the method of getting private data in notifier_call
   d1493c5cbbad i2c: synquacer: fix enumeration of slave devices
   ec30811209e4 mac80211: don't attempt to rename ERR_PTR() debugfs dirs
   be7df63d3680 mwifiex: Make resume actually do something useful again on SDIO cards
   81a7534f9ef4 iwlwifi: fix driver operation for 5350

(From OE-Core rev: 0a70d1c66ccb52cbdbe655eccd0560ca38ed5677)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Bruce Ashfield
b71d3e5283 linux-yocto/4.19: update to v4.19.40
Updating to the latest -stable release which comprises the following
changes:

   1656b1457209 Linux 4.19.40
   cc313d405b0c ath10k: Drop WARN_ON()s that always trigger during system resume
   d0a5000f10e7 ALSA: line6: use dynamic buffers
   68d49ff47789 KVM: nVMX: Fix size checks in vmx_set_nested_state
   499bbe739d5a KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
   d0771bd41c27 net/tls: fix copy to fragments in reencrypt
   dd424182bc2d net/tls: don't copy negative amounts of data in reencrypt
   f1fd68e93409 bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
   396350737326 bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
   09a921361353 bnxt_en: Improve multicast address setup logic.
   6a57fa6fa7d5 packet: validate msg_namelen in send directly
   7a42cf4dfa43 selftests: fib_rule_tests: print the result and return 1 if any tests failed
   b563e9bbabfe sctp: avoid running the sctp state machine recursively
   fdd36abd9d09 rxrpc: Fix net namespace cleanup
   a976384b9553 net/tls: avoid NULL pointer deref on nskb->sk in fallback
   1d412d873a12 net: phy: marvell: Fix buffer overrun with stats counters
   b48a0a1207e9 net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
   485f382f2c6d l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
   e571a33963f4 l2ip: fix possible use-after-free
   f78ec0cd0664 ipv6: invert flowlabel sharing check in process and user mode
   39eddbb7cab3 ipv6/flowlabel: wait rcu grace period before put_pid()
   1a9e0134af40 ipv6: fix races in ip6_dst_destroy()
   7ea4f000c41f ipv6: A few fixes on dereferencing rt->from
   3f611a479962 ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
   ad119c970bbe Linux 4.19.39
   ee096f0dc4a4 leds: trigger: netdev: use memcpy in device_name_store
   2663959af22c leds: pca9532: fix a potential NULL pointer dereference
   13a6a6dd3c11 ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
   71f3397a1c31 iommu/amd: Reserve exclusion range in iova-domain
   75a5e3e6340c kconfig/[mn]conf: handle backspace (^H) key
   458a65c71029 perf machine: Update kernel map address and re-order properly
   60d3b51d05a7 nvme-multipath: relax ANA state check
   a918af5b6fd8 gpio: of: Fix of_gpiochip_add() error path
   43dba153d52b libata: fix using DMA buffers on stack
   6a364b2e47a6 x86/mm: Don't exceed the valid physical address space
   a138f995ab84 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
   97c4f3a8853c ceph: fix use-after-free on symlink traversal
   90ce58d457c2 usb: u132-hcd: fix resource leak
   fe71e625e23f x86/realmode: Don't leak the trampoline kernel address
   04cac1dce923 leds: trigger: netdev: fix refcnt leak on interface rename
   0018c21f34d6 usb: usb251xb: fix to avoid potential NULL pointer dereference
   4135e588274e scsi: qla4xxx: fix a potential NULL pointer dereference
   a2b302e4f2fb scsi: aacraid: Insure we don't access PCIe space during AER/EEH
   2c8c8ef8d3b4 scsi: mpt3sas: Fix kernel panic during expander reset
   6222f1c6ed97 ARM: davinci: fix build failure with allnoconfig
   5d545dde8d9d drm/meson: Uninstall IRQ handler
   efa69a66697c drm/meson: Fix invalid pointer in meson_drv_unbind()
   c87a5086d354 gpio: aspeed: fix a potential NULL pointer dereference
   c5eb9a424ebd drm: Fix drm_release() and device unplug
   11242181f52f net: ethernet: ti: fix possible object reference leak
   ae6e6bbc1741 net: ibm: fix possible object reference leak
   b9c8db41912f net: xilinx: fix possible object reference leak
   b989a3e9d260 NFS: Fix a typo in nfs_init_timeout_values()
   e0c34051669c drm/tegra: hub: Fix dereference before check
   abd76731f899 ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
   2b0e6d6bf088 net/sched: don't dereference a->goto_chain to read the chain index
   b435a79e5a87 net: macb: Add null check for PCLK and HCLK
   f85682bc594a staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
   c5750b45e406 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
   5a5f1decd6fc staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
   d55bfd0746ae staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
   bfa4cd06a902 net: ks8851: Set initial carrier state to down
   3796ab4828ed net: ks8851: Delay requesting IRQ until opened
   3005509f88e3 net: ks8851: Reassert reset pin if chip ID check fails
   fb6ca157d738 net: ks8851: Dequeue RX packets explicitly
   cdef35e83c3f i2c: i801: Add support for Intel Comet Lake
   c6694e7c8bf6 ARM: dts: pfla02: increase phy reset duration
   41be4abfb04d usb: gadget: net2272: Fix net2272_dequeue()
   edaebfe7721c usb: gadget: net2280: Fix net2280_dequeue()
   346eab0d1559 usb: gadget: net2280: Fix overrun of OUT messages
   710d4f29fe38 usb: dwc3: pci: add support for Comet Lake PCH ID
   e4705ae72736 KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
   0371fa033741 KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
   51a5d70a59ee KVM: arm64: Reset the PMU in preemptible context
   2ba0421f2b77 serial: ar933x_uart: Fix build failure with disabled console
   1d815c5a9434 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
   2cbb465e526a ARM: imx51: fix a leaked reference by adding missing of_node_put
   f67021192cc1 s390/qeth: fix race when initializing the IP address table
   e634fc48661f netfilter: ip6t_srh: fix NULL pointer dereferences
   506375f509b8 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
   a5374a3086d6 netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
   5f7e5b9bba19 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
   2fbb4c48f138 staging, mt7621-pci: fix build without pci support
   99f1ba88d7f8 staging: axis-fifo: add CONFIG_OF dependency
   947bd0d9bdbc xsk: fix umem memory leak on cleanup
   fc055dffa575 qlcnic: Avoid potential NULL pointer dereference
   98650508a9d0 net: stmmac: don't set own bit too early for jumbo frames
   24a46cad0e18 ieee802154: hwsim: propagate genlmsg_reply return code
   f722b7789afa net: ieee802154: fix a potential NULL pointer dereference
   a1e34e289e15 s390: limit brk randomization to 32MB
   d52dfdf1845d ARM: dts: bcm283x: Fix hdmi hpd gpio pull
   0311ff82b70f fs: prevent page refcount overflow in pipe_buf_get
   d972ebbf42ba mm: prevent get_user_pages() from overflowing page refcount
   0612cae7ec6b mm: add 'try_get_page()' helper function
   9f6da5fd0557 mm: make page ref count overflow check tighter and more explicit
   99ae2bd0772f Revert "ACPICA: Clear status of GPEs before enabling them"
   145f6a70bb9b selinux: use kernel linux/socket.h for genheaders and mdp
   a03957ab0fd5 Linux 4.19.38
   5cb299c80651 powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg
   53db65232428 net/tls: don't leak IV and record seq when offload fails
   d3bdd359fa53 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
   041b3224e8f8 net/mlx5e: Fix use-after-free after xdp_return_frame
   ae6b07107458 net/mlx5e: Fix the max MTU check in case of XDP
   b08774d38882 mlxsw: spectrum: Put MC TCs into DWRR mode
   21e47998d959 mlxsw: pci: Reincrease PCI reset timeout
   e875a409594b net: hns: Fix WARNING when hns modules installed
   7ce836e8a963 team: fix possible recursive locking when add slaves
   1f78e75e85bb stmmac: pci: Adjust IOT2000 matching
   e97f0bc7be88 net/tls: fix refcount adjustment in fallback
   b02f8aa85604 net: stmmac: move stmmac_check_ether_addr() to driver probe
   d7b10dfe6c31 net/rose: fix unbound loop in rose_loopback_timer()
   ed1866aa608a net: rds: exchange of 8K and 1M pool
   7da11d6a5d85 net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
   829fd9849e44 mlxsw: spectrum: Fix autoneg status in ethtool
   250e51f856e1 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
   07445fea9575 ipv4: add sanity checks in ipv4_link_failure()
   d4ff57d0320b x86/fpu: Don't export __kernel_fpu_{begin,end}()
   423497a96d4a mm: Fix warning in insert_pfn()
   e923c6b70ce2 x86/retpolines: Disable switch jump tables when retpolines are enabled
   6cfcff3cfb0e x86, retpolines: Raise limit for generating indirect calls from switch-case
   e9e47779aaa7 Fix aio_poll() races
   aab66dfb757a aio: store event at final iocb_put()
   c20202c51d2b aio: keep io_event in aio_kiocb
   592ea630b081 aio: fold lookup_kiocb() into its sole caller
   c7f2525abfec pin iocb through aio.
   d6b2615f7d31 aio: simplify - and fix - fget/fput for io_submit()
   2afa01cd9186 aio: initialize kiocb private in case any filesystems expect it.
   a812f7b68a39 aio: abstract out io_event filler helper
   d384f8b855a5 aio: split out iocb copy from io_submit_one()
   4d677689742a aio: use iocb_put() instead of open coding it
   ef529eead8cf aio: don't zero entire aio_kiocb aio_get_req()
   730198c889d8 aio: separate out ring reservation from req allocation
   b3373253f0ba aio: use assigned completion handler
   9101cbe70ef6 aio: clear IOCB_HIPRI
   920ecc72093d rxrpc: fix race condition in rxrpc_input_packet()
   5a228d5ddca2 net/rds: Check address length before reading address family
   e30203e4f94d net: netrom: Fix error cleanup path of nr_proto_init
   a0cb0faa15f3 tipc: check link name with right length in tipc_nl_compat_link_set
   f21fae8049cd tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
   9b9b0df4e788 fm10k: Fix a potential NULL pointer dereference
   f7dc13d6e4a2 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
   94ad68a6e570 NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
   245a94a0ffab sched/deadline: Correctly handle active 0-lag timers
   6bf7d3c5c0c5 binder: fix handling of misaligned binder object
   8c37f7c23c02 workqueue: Try to catch flush_work() without INIT_WORK().
   4d476a00b3f9 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
   bce00f419c9d intel_th: gth: Fix an off-by-one in output unassigning
   9c8c39bae89a slip: make slhc_free() silently accept an error pointer
   f41d2de67101 USB: Consolidate LPM checks to avoid enabling LPM twice
   50cda8891818 USB: Add new USB LPM helpers
   8c700e902ceb drm/vc4: Fix compilation error reported by kbuild test bot
   2bc7ce32eb21 Revert "drm/i915/fbdev: Actually configure untiled displays"
   2c892ef09435 drm/vc4: Fix memory leak during gpu reset.
   087341c0f40d powerpc/mm/radix: Make Radix require HUGETLB_PAGE
   478afe341d29 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
   129c337c6659 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
   0f00e1c599b3 dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
   f7b467ad1be0 vfio/type1: Limit DMA mappings per container
   ac9e2bece112 Input: synaptics-rmi4 - write config register values to the right offset
   37ecf31a3e5e perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
   c0309570a5f1 sunrpc: don't mark uninitialised items as VALID.
   b4d4b5e4b839 nfsd: Don't release the callback slot unless it was actually held
   950eec812600 ceph: fix ci->i_head_snapc leak
   246d2bf32da1 ceph: ensure d_name stability in ceph_dentry_hash()
   8d693ef0141c ceph: only use d_name directly when parent is locked
   9b8c07129ddf sched/numa: Fix a possible divide-by-zero
   1af34bf97eca RDMA/mlx5: Do not allow the user to write to the clock page
   8ac57d1bdc25 IB/rdmavt: Fix frwr memory registration
   d0264d10ae6a trace: Fix preempt_enable_no_resched() abuse
   7f9c9d1d79fd MIPS: scall64-o32: Fix indirect syscall number load
   ce900ddd660d lib/Kconfig.debug: fix build error without CONFIG_BLOCK
   710733e539d1 zram: pass down the bvec we need to read into in the work struct
   a19e4a1b4c63 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
   cffeb9c84d20 tracing: Fix buffer_ref pipe ops
   0e78e92da2d8 tracing: Fix a memory leak by early error exit in trace_pid_write()
   ee231063ff95 cifs: do not attempt cifs operation on smb2+ rename error
   d5bf783a09a0 cifs: fix memory leak in SMB2_read
   15e978391577 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
   984c4e00c387 ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
   1e0cab1bce57 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
   ae5e0c773ca6 ipvs: fix warning on unused variable
   8e59639791f2 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
   416699b9bb90 drm/rockchip: fix for mailbox read validation.
   1832b1517c2b loop: do not print warn message if partition scan is successful
   070e34b627f4 tipc: handle the err returned from cmd header function
   8766cc7d0d1d ext4: fix some error pointer dereferences
   816e3e2258e8 net: mvpp2: fix validate for PPv2.1
   e7ddd6af17e4 net/ibmvnic: Fix RTNL deadlock during device reset
   ffc1d85e8c5f netfilter: nf_tables: bogus EBUSY in helper removal from transaction
   e313d5da057b netfilter: nf_tables: bogus EBUSY when deleting set after flush
   25ddad73070c netfilter: nf_tables: fix set double-free in abort path
   8906234c5015 netfilter: nft_compat: use .release_ops and remove list of extension
   4f67e8976f7b netfilter: nft_compat: don't use refcount_inc on newly allocated entry
   af26f3e2903b netfilter: nf_tables: unbind set in rule from commit path
   27458b5457d3 netfilter: nf_tables: warn when expr implements only one of activate/deactivate
   cb2e343d1d85 netfilter: nft_compat: destroy function must not have side effects
   3dbba8ebb066 netfilter: nf_tables: split set destruction in deactivate and destroy phase
   7693bae6b314 netfilter: nft_compat: make lists per netns
   db99f122cbf8 netfilter: nft_compat: use refcnt_t type for nft_xt reference count
   19bb613acb9a Linux 4.19.37
   cdd369fe0f98 kernel/sysctl.c: fix out-of-bounds access when setting file-max
   ac54bc121e1f Revert "locking/lockdep: Add debug_locks check in __lock_downgrade()"
   9c1862566176 i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array
   52dde1160f17 ASoC: rockchip: add missing INTERLEAVED PCM attribute
   a782f8475715 tools include: Adopt linux/bits.h
   6580376fe810 percpu: stop printing kernel addresses
   8a6f2ea0c3dd ALSA: info: Fix racy addition/deletion of nodes
   1343fd8f9629 mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
   628c99a836dd device_cgroup: fix RCU imbalance in error case
   c3edd427d538 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
   c21bcc2352e9 Revert "kbuild: use -Oz instead of -Os when using clang"
   1c36862e8be8 tpm: Fix the type of the return value in calc_tpm2_event_size()
   18af9b7b9138 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
   7de43cb71116 modpost: file2alias: check prototype of handler
   aa0e8cc9d7a8 modpost: file2alias: go back to simple devtable lookup
   87eadc0b8c2a mmc: sdhci: Handle auto-command errors
   ba8a6c055677 mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
   b2be40b73b29 mmc: sdhci: Fix data command CRC error handling
   be608583d9c4 nfit/ars: Avoid stale ARS results
   40221d56ae28 nfit/ars: Allow root to busy-poll the ARS state machine
   bc18c2593635 nfit/ars: Introduce scrub_flags
   82a13a006ed5 nfit/ars: Remove ars_start_flags
   cd37fd46b485 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
   5680b0635cda x86/speculation: Prevent deadlock on ssb_state::lock
   90e17512f1e4 perf/x86: Fix incorrect PEBS_REGS
   293926b37013 x86/cpu/bugs: Use __initconst for 'const' init data
   f45829e6250a perf/x86/amd: Add event map for AMD Family 17h
   ba407222f563 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
   39cad03c4360 mac80211: do not call driver wake_tx_queue op during reconfig
   852de0d53d14 rt2x00: do not increment sequence number while re-transmitting
   23a926e5edd9 kprobes: Fix error check when reusing optimized probes
   426e2a8024c2 kprobes: Mark ftrace mcount handler functions nokprobe
   1fab567a270b x86/kprobes: Verify stack frame on kretprobe
   5105fc758bdc arm64: futex: Restore oldval initialization to work around buggy compilers
   96800ba9e565 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
   fbe5cff93229 crypto: x86/poly1305 - fix overflow during partial reduction
   dacdbc115d23 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
   6ff17bc5936e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
   3e1b3e4d3c83 Revert "svm: Fix AVIC incomplete IPI emulation"
   ee4b8e266229 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
   1aa2682d0a98 scsi: core: set result when the command cannot be dispatched
   8f2ef0e8f967 vt: fix cursor when clearing the screen
   38b7f09a9e83 serial: sh-sci: Fix HSCIF RX sampling point calculation
   de6d6b8902fb serial: sh-sci: Fix HSCIF RX sampling point adjustment
   ec96f65e1214 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
   b50e435df2d8 ALSA: core: Fix card races between register and disconnect
   4171b6ee9328 ALSA: hda/realtek - add two more pin configuration sets to quirk table
   4e78a1fb8d1d staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
   09f9bacae118 staging: comedi: ni_usb6501: Fix use of uninitialized mutex
   edf2f548baa9 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
   1f01a970b8c2 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
   a1da981f6643 staging: most: core: use device description as name
   b007c64d860f io: accel: kxcjk1013: restore the range after resume.
   bbe0bed4647c iio: core: fix a possible circular locking dependency
   98171e1947b6 iio: adc: at91: disable adc channel interrupt in timeout case
   36971130bb2f iio: Fix scan mask selection
   0e47edde9132 iio: dac: mcp4725: add missing powerdown bits in store eeprom
   5ad173ea6c3a iio: ad_sigma_delta: select channel when reading register
   42eae0cff22a iio: cros_ec: Fix the maths for gyro scale calculation
   adfb0f0b17a3 iio:chemical:bme680: Fix SPI read interface
   a3117576a73f iio:chemical:bme680: Fix, report temperature in millidegrees
   f7ee6890caa5 iio/gyro/bmg160: Use millidegrees for temperature scale
   8bd3fd46ec23 iio: gyro: mpu3050: fix chip ID reading
   6f3e66b155f0 staging: iio: ad7192: Fix ad7193 channel address
   c54d1258c637 Staging: iio: meter: fixed typo
   c9e34935a351 KVM: x86: svm: make sure NMI is injected after nmi_singlestep
   18cf09a81771 KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
   2fcee5eaae6e cifs: fix handle leak in smb2_query_symlink()
   c69330a855ab cifs: Fix use-after-free in SMB2_read
   8fb89b43b65f cifs: Fix use-after-free in SMB2_write
   8092ecc306d8 CIFS: keep FileInfo handle live during oplock break
   6e2081f29392 net: IP6 defrag: use rbtrees in nf_conntrack_reasm.c
   684685326ab0 net: IP6 defrag: use rbtrees for IPv6 defrag
   702ddf862d9d net: IP defrag: encapsulate rbtree defrag code into callable functions
   e24be8e38cd7 sch_cake: Simplify logic in cake_select_tin()
   8d9051a4680a nfp: flower: remove vlan CFI bit from push vlan action
   06f7d2182f9d nfp: flower: replace CFI with vlan present
   cbce0413f783 sch_cake: Make sure we can write the IP header before changing DSCP bits
   490532225e20 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
   5f72cb2ab51d route: Avoid crash from dereferencing NULL rt->from
   1d2499b08600 net/mlx5: FPGA, tls, idr remove on flow delete
   785833b9eee0 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
   7cfddb81a817 net/mlx5: FPGA, tls, hold rcu read lock a bit longer
   d1785bea2f34 net: thunderx: don't allow jumbo frames with XDP
   9de22b997fe4 net: thunderx: raise XDP MTU to 1508
   7ba5ec69e1a7 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
   8a430e56a648 ipv4: recompile ip options in ipv4_link_failure
   b82df42059fb vhost: reject zero size iova range
   242e5746cb47 tipc: missing entries in name table of publications
   a60a47206a31 team: set slave to promisc if team is already in promisc mode
   6728c6174a47 tcp: tcp_grow_window() needs to respect tcp_space()
   1cd878836822 net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
   2804598764f9 net: Fix missing meta data in skb with vlan packet
   97fd88e04c8d net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
   08b0b4f28008 net: bridge: fix per-port af_packet sockets
   bcb964012d1b net: atm: Fix potential Spectre v1 vulnerabilities
   fae6053d7611 failover: allow name change on IFF_UP slave interfaces
   2a458eddc4c2 bonding: fix event handling for stacked bonds
   c98875d930e9 Linux 4.19.36
   0c00f71e7d7c appletalk: Fix compile regression
   9e91db59e3b9 mm: hide incomplete nr_indirectly_reclaimable in sysfs
   d49dea545af4 mm: hide incomplete nr_indirectly_reclaimable in /proc/zoneinfo
   7a4626798276 IB/hfi1: Failed to drain send queue when QP is put into error state
   e8eef7ad9841 bpf: fix use after free in bpf_evict_inode
   40c6d718d78c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
   48b0309f85ae f2fs: fix to dirty inode for i_mode recovery
   11582064271d rxrpc: Fix client call connect/disconnect race
   a7e90c1892d9 lib/div64.c: off by one in shift
   6c42507f426b appletalk: Fix use-after-free in atalk_proc_exit
   539282e9cd9b drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
   91583411b5d1 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
   1b871f39097a drm/nouveau/volt/gf117: fix speedo readout register
   ad854fa3c8dc PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
   4984d918cd46 coresight: cpu-debug: Support for CA73 CPUs
   2a3c322d46e0 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
   5f516d0ba082 crypto: axis - fix for recursive locking from bottom half
   862adb5b0da6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
   2be8987a076f lkdtm: Add tests for NULL pointer dereference
   55588aebde38 lkdtm: Print real addresses
   8387c1455d34 soc/tegra: pmc: Drop locking from tegra_powergate_is_powered()
   29b934dd5fa0 scsi: core: Avoid that system resume triggers a kernel warning
   38855a84d891 iommu/dmar: Fix buffer overflow during PCI bus notification
   8c5e9ea11730 net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_version
   d7a90ee5aadd crypto: sha512/arm - fix crash bug in Thumb2 build
   1f52fa127898 crypto: sha256/arm - fix crash bug in Thumb2 build
   bbbe47463da9 xfrm: destroy xfrm_state synchronously on net exit path
   5be4bb315de2 net/rds: fix warn in rds_message_alloc_sgs
   d801282dfd2a ACPI: EC / PM: Disable non-wakeup GPEs for suspend-to-idle
   e434fbf4f049 ALSA: hda: fix front speakers on Huawei MBXP
   b10cc0837472 drm/ttm: Fix bo_global and mem_global kfree error
   cb09e99b9ad3 platform/x86: Add Intel AtomISP2 dummy / power-management driver
   491dee743d6b kernel: hung_task.c: disable on suspend
   e9603cffb1ca cifs: fallback to older infolevels on findfirst queryinfo retry
   fc34758d4af6 net: stmmac: Set OWN bit for jumbo frames
   8722566b7870 f2fs: cleanup dirty pages if recover failed
   263ed7e66b17 netfilter: nf_flow_table: remove flowtable hook flush routine in netns exit routine
   19e6ff0146ef compiler.h: update definition of unreachable()
   f35e2a685c81 KVM: nVMX: restore host state in nested_vmx_vmexit for VMFail
   3d11fc93aa28 HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2
   1424b7fefd6b ACPI / SBS: Fix GPE storm on recent MacBookPro's
   0d41c7b3860e usbip: fix vhci_hcd controller counting
   360186d8ab02 ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms
   1475ce4ff957 pinctrl: core: make sure strcmp() doesn't get a null parameter
   8e271100efa6 HID: i2c-hid: override HID descriptors for certain devices
   09b6c08061bb Bluetooth: Fix debugfs NULL pointer dereference
   6496b9636f74 media: au0828: cannot kfree dev before usb disconnect
   6947d853be19 powerpc/pseries: Remove prrn_work workqueue
   7863304bc00f serial: uartps: console_setup() can't be placed to init section
   1f2b1c6ab353 netfilter: xt_cgroup: shrink size of v2 path
   14b183214c08 f2fs: fix to do sanity check with current segment number
   7fcce1828e5f ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()
   4369f8a38085 9p locks: add mount option for lock retry interval
   db77c7890ed7 9p: do not trust pdu content for stat item size
   f9368366b4d1 f2fs: fix to avoid NULL pointer dereference on se->discard_map
   de1fd69b6541 rsi: improve kernel thread handling to fix kernel panic
   93b7c722637c gpio: pxa: handle corner case of unprobed device
   13cc3e6b2a18 drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up
   6fd66bec6d6a ext4: prohibit fstrim in norecovery mode
   83e3e89d6639 x86/gart: Exclude GART aperture from kcore
   40276e4e2fd0 fix incorrect error code mapping for OBJECTID_NOT_FOUND
   777cd2681b2d x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
   cff04fad89b9 iommu/vt-d: Check capability before disabling protected memory
   181117a1b4f3 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
   276084f0e017 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
   16dab2916615 x86/hyperv: Prevent potential NULL pointer dereference
   30d9b740e201 x86/hpet: Prevent potential NULL pointer dereference
   ac0343a48e7e irqchip/mbigen: Don't clear eventid when freeing an MSI
   f3c3b0f1fae5 irqchip/stm32: Don't clear rising/falling config registers at init
   41b1234677bd drm/exynos/mixer: fix MIXER shadow registry synchronisation code
   bde271d1ad0e blk-iolatency: #include "blk.h"
   b63df738ce7d PM / Domains: Avoid a potential deadlock
   19302c51c043 ACPI / utils: Drop reference in test for device presence
   00059edd3121 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
   2c843ae984a8 perf tests: Fix memory leak by expr__find_other() in test__expr()
   a077618a3af8 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
   cf050670d092 perf evsel: Free evsel->counts in perf_evsel__exit()
   28848061d882 perf hist: Add missing map__put() in error case
   bb644ded9e6d perf top: Fix error handling in cmd_top()
   df894a047f37 perf build-id: Fix memory leak in print_sdt_events()
   871aa38e9525 perf config: Fix a memory leak in collect_config()
   9007d724cb08 perf config: Fix an error in the config template documentation
   93d449bd6552 perf list: Don't forget to drop the reference to the allocated thread_map
   c5d9104281b9 tools/power turbostat: return the exit status of a command
   ada35b525486 x86/mm: Don't leak kernel addresses
   52466ab20393 sched/core: Fix buffer overflow in cgroup2 property cpu.max
   a8c1de3ab8b6 sched/cpufreq: Fix 32-bit math overflow
   a629c32ac2d1 scsi: iscsi: flush running unbind operations when removing a session
   5b67d518eaaf thermal/intel_powerclamp: fix truncated kthread name
   193dd213bebd thermal/int340x_thermal: fix mode setting
   10313672b3f0 thermal/int340x_thermal: Add additional UUIDs
   c5161c689e81 thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
   8fd403fc2a8e thermal: samsung: Fix incorrect check after code merge
   0644ee713c00 thermal/intel_powerclamp: fix __percpu declaration of worker_data
   a803600c5b90 ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
   94a6f47a5ecb mmc: davinci: remove extraneous __init annotation
   f596ad9ea8a4 i40iw: Avoid panic when handling the inetdev event
   74ed2226e65a IB/mlx4: Fix race condition between catas error reset and aliasguid flows
   5e4dc4b6fc10 drm/udl: use drm_gem_object_put_unlocked.
   cbba1f554b4f auxdisplay: hd44780: Fix memory leak on ->remove()
   317e716a8ad9 ALSA: sb8: add a check for request_region
   17829309ec00 ALSA: echoaudio: add a check for ioremap_nocache
   a793860c0f52 ext4: report real fs size after failed resize
   f5a94fd3b375 ext4: add missing brelse() in add_new_gdb_meta_bg()
   90a1327e4ed3 ext4: avoid panic during forced reboot
   673e23ce80a6 perf/core: Restore mmap record type correctly
   ca306c17d2ed inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
   618490ba5841 arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
   2296eedef0c5 ARC: u-boot args: check that magic number is correct
   4b0e041c9dad Linux 4.19.35
   59bf185ae6b7 KVM: x86: nVMX: fix x2APIC VTPR read intercept
   119031be7b0a KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
   f8053df634d4 ACPICA: AML interpreter: add region addresses in global list during initialization
   fad502a9439e arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
   c963475972f6 arm64: dts: rockchip: fix vcc_host1_5v pin assign on rk3328-rock64
   aa9ee4b1ed46 dm integrity: fix deadlock with overlapping I/O
   469b40a429c5 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
   4f5c99e0421c dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
   30dc4d7b299d dm integrity: change memcmp to strncmp in dm_integrity_ctr
   5be6e02cfbdf PCI: pciehp: Ignore Link State Changes after powering off a slot
   250fef8de77c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
   056264656a67 x86/perf/amd: Remove need to check "running" bit in NMI handler
   23d39b0af08e x86/perf/amd: Resolve NMI latency issues for active PMCs
   e5a791b4ab56 x86/perf/amd: Resolve race condition when disabling PMC
   4b004504bfcc x86/asm: Use stricter assembly constraints in bitops
   356ae4deab4b x86/asm: Remove dead __GNUC__ conditionals
   f7b778b9007e xtensa: fix return_address
   cb75a0c5d381 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
   ed3adb562fc8 xen: Prevent buffer overflow in privcmd ioctl
   84c6c2af4c53 arm64: backtrace: Don't bother trying to unwind the userspace stack
   1ec54cee6333 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
   82a30a5d60e3 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
   4362ff977bc6 ARM: dts: at91: Fix typo in ISC_D0 on PC9
   627a7d5a4422 ARM: dts: am335x-evm: Correct the regulators for the audio codec
   57a9c1f40f5b ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
   3ba48b3cf850 ARM: dts: rockchip: fix rk3288 cpu opp node reference
   32fdac09765d virtio: Honour 'may_reduce_num' in vring_create_virtqueue
   8b4f68b47448 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
   cd5b06a93997 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
   543bb48dc48b block: fix the return errno for direct IO
   2591bfc68282 block: do not leak memory in bio_copy_user_iov()
   7af20b60f6db riscv: Fix syscall_get_arguments() and syscall_set_arguments()
   54fb5c9da6cd btrfs: prop: fix vanished compression property after failed set
   fbfbb996d58e btrfs: prop: fix zstd compression parameter validation
   16515acd5bc3 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
   e6265e368022 ASoC: fsl_esai: fix channel swap issue when stream starts
   19b0a7f5a083 ASoC: intel: Fix crash at suspend/resume after failed codec registration
   43f47331a4ce mm: writeback: use exact memcg dirty counts
   576f22ac47ba include/linux/bitrev.h: fix constant bitrev
   c4f103f6ac3a kvm: svm: fix potential get_num_contig_pages overflow
   93d60348edcb drm/udl: add a release method and delay modeset teardown
   df4106f23d0b drm/i915/gvt: do not deliver a workload if its creation fails
   a5277bcc1b7d alarmtimer: Return correct remaining time
   5db86e2a9b36 parisc: also set iaoq_b in instruction_pointer_set()
   53bb8444eab2 parisc: regs_return_value() should return gpr28
   41cf8111f3cb parisc: Detect QEMU earlier in boot process
   ba5765a243ed arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
   9a62d69114d7 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
   b3a8a3728d7e ALSA: hda - Add two more machines to the power_save_blacklist
   bfea74941d6d ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
   c6d25f0b3653 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
   73b50a56e51e ALSA: seq: Fix OOB-reads from strlcpy
   d4b4aeea5506 ACPICA: Namespace: remove address node from global list after method termination
   ed52b07bd698 ACPICA: Clear status of GPEs before enabling them
   370004024aec hwmon: (w83773g) Select REGMAP_I2C to fix build error
   4ebab60d6561 tty: ldisc: add sysctl to prevent autoloading of ldiscs
   894dc8495898 tty: mark Siemens R3964 line discipline as BROKEN
   902eaef7781c arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region
   40177a7931e0 netfilter: nfnetlink_cttimeout: fetch timeouts for udplite and gre, too
   c2d27b330a98 netfilter: nfnetlink_cttimeout: pass default timeout policy to obj_to_nlattr
   564f0391b783 Revert "clk: meson: clean-up clock registration"
   3412671a781b lib/string.c: implement a basic bcmp
   c7415f2a3ad6 x86/vdso: Drop implicit common-page-size linker flag
   f66a52d991de kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
   23605a4664ae kbuild: deb-pkg: fix bindeb-pkg breakage when O= is used
   da9b353c78b8 net/mlx5e: Update xon formula
   e2d92a74a353 net/mlx5e: Update xoff formula
   eab86503fec0 net: mlx5: Add a missing check on idr_find, free buf
   b787544dc5e7 r8169: disable default rx interrupt coalescing on RTL8168
   55a7f7b20c40 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
   a2ef7723a13c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
   5c6f2f4c0e9f net: ip_gre: fix possible use-after-free in erspan_rcv
   ecee513a5273 bnxt_en: Reset device on RX buffer errors.
   d2d055a55403 bnxt_en: Improve RX consumer index validity check.
   a333fcc41075 nfp: disable netpoll on representors
   81da1314596c nfp: validate the return code from dev_queue_xmit()
   c297e8814578 net/mlx5e: Add a lock on tir list
   9441317513b7 net/mlx5e: Fix error handling when refreshing TIRs
   0516ef27ddba vrf: check accept_source_route on the original netdevice
   7243e3520956 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
   0e0afb06e11c tcp: Ensure DCTCP reacts to losses
   87349583e517 sctp: initialize _pad of sockaddr_in before copying to user memory
   1e4a7e7869ac r8169: disable ASPM again
   84dc2f872d2d qmi_wwan: add Olicard 600
   ec0e32da41a6 openvswitch: fix flow actions reallocation
   eeedfa94c195 net/sched: fix ->get helper of the matchall cls
   15c0770e2e83 net/sched: act_sample: fix divide by zero in the traffic path
   78b4bf26a8a7 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
   a1c2f3229734 netns: provide pure entropy for net_hash_mix()
   53a1906859a2 net/mlx5: Decrease default mr cache size
   b87ec81362ac net-gro: Fix GRO flush when receiving a GSO packet.
   80c205813d3f net: ethtool: not call vzalloc for zero sized memory request
   b7b058315577 kcm: switch order of device registration to fix a crash
   42f1fa0fcf55 ipv6: sit: reset ip header pointer in ipip6_rcv
   ea06796f8857 ipv6: Fix dangling pointer when ipv6 fragment
   8e4b4da3d3d9 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
   167019572ca8 ibmvnic: Fix completion structure initialization
   9a7c4f5acc0e hv_netvsc: Fix unwanted wakeup after tx_disable
   902eca1a0ccf powerpc/tm: Limit TM code inside PPC_TRANSACTIONAL_MEM
   8ad895bf4b8b drm/i915/gvt: do not let pin count of shadow mm go negative
   646f8e01fc37 kvm: nVMX: NMI-window and interrupt-window exiting should wake L2 from HLT

(From OE-Core rev: 554970c74c3dc7fd11385076e75350be8afe339f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Bruce Ashfield
ccf9258eb3 linux-yocto/5.0: update to v5.0.13
Integrating the korg stable commits that comprise the following
changes:

   e5b9547b1aa3 Linux 5.0.13
   d467f3acebc5 ath10k: Drop WARN_ON()s that always trigger during system resume
   3c13f6cd254d iwlwifi: mvm: properly check debugfs dentry before using it
   c391e6198768 ALSA: line6: use dynamic buffers
   4c38bd0d4cd6 KVM: nVMX: Fix size checks in vmx_set_nested_state
   119ac69c0772 KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
   a31a8f55c8e8 net/tls: fix copy to fragments in reencrypt
   f7f4d4b85b83 net/tls: don't copy negative amounts of data in reencrypt
   126255f1ef2b bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
   95fc8b4b4367 bnxt_en: Fix statistics context reservation logic.
   1c38ed7b5ef6 bnxt_en: Pass correct extended TX port statistics size to firmware.
   4348cae3a6e1 bnxt_en: Fix possible crash in bnxt_hwrm_ring_free() under error conditions.
   76dba4d8d0db bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
   4aaaa658466a bnxt_en: Improve multicast address setup logic.
   7a0d81d12f62 udp: fix GRO packet of death
   8858d7234542 udp: fix GRO reception in case of length mismatch
   b58d12d306ae tcp: add sanity tests in tcp_add_backlog()
   4d5aaae5fa0e selftests: fib_rule_tests: Fix icmp proto with ipv6
   3362ece2719c packet: in recvmsg msg_name return at least sizeof sockaddr_ll
   3a0701b8d93a packet: validate msg_namelen in send directly
   02694885a2be selftests: fib_rule_tests: print the result and return 1 if any tests failed
   484d404fdc2a sctp: avoid running the sctp state machine recursively
   f8970584f08c rxrpc: Fix net namespace cleanup
   90cb17d3df6f net/tls: avoid NULL pointer deref on nskb->sk in fallback
   52c89e455b5c net: phy: marvell: Fix buffer overrun with stats counters
   801038cca48c net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
   31f4cb2730d8 l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
   f86adc57e7db l2ip: fix possible use-after-free
   d1fa4f8784bb ipv6: invert flowlabel sharing check in process and user mode
   787a77cccb18 ipv6/flowlabel: wait rcu grace period before put_pid()
   d0aa794674e5 ipv6: fix races in ip6_dst_destroy()
   c61a4beb31f0 ipv6: A few fixes on dereferencing rt->from
   5a06ba5ed2ae ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
   6006d5b02522 Linux 5.0.12
   310f9b1e52c0 leds: trigger: netdev: use memcpy in device_name_store
   004ec01370bc leds: pca9532: fix a potential NULL pointer dereference
   107cfb99c81f ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
   87eaf3d8ac51 kasan: fix variable 'tag' set but not used warning
   514860ee6633 iommu/amd: Reserve exclusion range in iova-domain
   8bd7d23a4a76 kconfig/[mn]conf: handle backspace (^H) key
   44fe72aeaae8 perf machine: Update kernel map address and re-order properly
   441d23c87644 perf cs-etm: Add missing case value
   b8bc52cd62e8 nvmet: fix error flow during ns enable
   163719bdcd9c nvmet: fix building bvec from sg list
   2e7d5b2e1fa0 nvme-multipath: relax ANA state check
   a72f60dbb557 gpio: of: Fix of_gpiochip_add() error path
   41a94b1909a4 KVM: selftests: complete IO before migrating guest state
   a312d0eaf90d KVM: selftests: disable stack protector for all KVM tests
   77507936fea3 KVM: selftests: explicitly disable PIE for tests
   e478d1c9b585 KVM: selftests: assert on exit reason in CR4/cpuid sync test
   02a7fc6c77d5 x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init
   e10edda577cc kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
   3d714ded80f6 KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)
   5369433777ec KVM: nVMX: Do not inherit quadrant and invalid for the root shadow EPT
   e8b8dde69f81 gpio: of: Check for "spi-cs-high" in child instead of parent node
   0e48494c0edf gpio: of: Check propname before applying "cs-gpios" quirks
   fb853a4a7748 afs: Fix StoreData op marshalling
   c6d02b1ea4d7 kbuild: skip parsing pre sub-make code for recursion
   479e1afd232e libata: fix using DMA buffers on stack
   8d3c7282cec4 x86/mm: Don't exceed the valid physical address space
   ab4a5df699b5 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
   b0921da055f1 ceph: fix use-after-free on symlink traversal
   1ab2566c5329 usb: u132-hcd: fix resource leak
   4f5d11bf2eca x86/realmode: Don't leak the trampoline kernel address
   89ae17728a98 SUNRPC: fix uninitialized variable warning
   ec44e4273006 leds: trigger: netdev: fix refcnt leak on interface rename
   facfcac8357d usb: usb251xb: fix to avoid potential NULL pointer dereference
   3ce3290dee84 scsi: qla4xxx: fix a potential NULL pointer dereference
   ab602d0043a4 scsi: aacraid: Insure we don't access PCIe space during AER/EEH
   9a5795520b91 scsi: mpt3sas: Fix kernel panic during expander reset
   08dd1acccb43 staging: vc04_services: Fix an error code in vchiq_probe()
   b2814ce32d47 sbitmap: order READ/WRITE freed instance and setting clear bit
   44a7849ecbd2 ARM: davinci: fix build failure with allnoconfig
   e24c5428060f drm/meson: Uninstall IRQ handler
   da9c64dc934a drm/meson: Fix invalid pointer in meson_drv_unbind()
   55a5c46268ff gpio: aspeed: fix a potential NULL pointer dereference
   e9917fd844ec drm: Fix drm_release() and device unplug
   c4cdbd4075a6 net: ethernet: ti: fix possible object reference leak
   6e4f7c129b24 net: ibm: fix possible object reference leak
   3da122192cde net: xilinx: fix possible object reference leak
   8dcf6dce4023 NFS: Fix a typo in nfs_init_timeout_values()
   4d88134c2f7c drm/tegra: hub: Fix dereference before check
   ec44a9a47e7e ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
   4da511ff427b net/sched: don't dereference a->goto_chain to read the chain index
   fe9fae9c5bff net: macb: Add null check for PCLK and HCLK
   ead946dc3824 net: phy: Add DP83825I to the DP83822 driver
   9bd87bbd2988 staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
   62d91f5a1ea4 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
   6300a60f50b9 staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
   5fad07771fb8 staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
   fe4e7a03c742 net: ks8851: Set initial carrier state to down
   372b41d6efe3 net: ks8851: Delay requesting IRQ until opened
   860fd08630a6 net: ks8851: Reassert reset pin if chip ID check fails
   75e3e76a45c6 net: ks8851: Dequeue RX packets explicitly
   07c5093a04f8 KVM: arm/arm64: Fix handling of stage2 huge mappings
   e68cc902c624 i2c: i801: Add support for Intel Comet Lake
   bcc78b63f0b4 ARM: dts: pfla02: increase phy reset duration
   2af87002a5e4 usb: gadget: net2272: Fix net2272_dequeue()
   202db3b5c17c usb: gadget: net2280: Fix net2280_dequeue()
   ad7be5bfe969 usb: gadget: net2280: Fix overrun of OUT messages
   e5a7f0905664 usb: dwc3: pci: add support for Comet Lake PCH ID
   7f482404c11e KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
   d2eecdbc6eca KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
   d6d23d335672 arm64: KVM: Always set ICH_HCR_EL2.EN if GICv4 is enabled
   e38694c6b9a8 KVM: arm64: Reset the PMU in preemptible context
   4343cbf52e36 serial: ar933x_uart: Fix build failure with disabled console
   d25b0c89b3b9 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
   0bb1f79a1427 ARM: imx51: fix a leaked reference by adding missing of_node_put
   42ed22a8b969 s390/qeth: fix race when initializing the IP address table
   f0028f723428 netfilter: ip6t_srh: fix NULL pointer dereferences
   21fde4fcbbd2 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
   eb213c54aaac netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
   0f9c88c5ccc9 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
   7f0d096410af staging, mt7621-pci: fix build without pci support
   6c41d389904c staging: axis-fifo: add CONFIG_OF dependency
   5227fe96b107 xsk: fix umem memory leak on cleanup
   9fc5c6e8fce8 qlcnic: Avoid potential NULL pointer dereference
   2e75be8dd6fa net: stmmac: fix jumbo frame sending with non-linear skbs
   53485ee41fc3 net: stmmac: don't set own bit too early for jumbo frames
   099a26557db9 Btrfs: fix file corruption after snapshotting due to mix of buffered/DIO writes
   61a9e0f4cc86 ieee802154: hwsim: propagate genlmsg_reply return code
   645dc42f97d8 net: ieee802154: fix a potential NULL pointer dereference
   edb616838408 mt76: mt76x2: fix 2.4 GHz channel gain settings
   63019ec07c61 mt76: mt76x2: fix external LNA gain settings
   a495f4c9afbf mt76x02: fix hdr pointer in write txwi for USB
   1d568d7476da s390: limit brk randomization to 32MB
   87240adabb46 ARM: dts: bcm283x: Fix hdmi hpd gpio pull
   9979cd3953b9 arm64: dts: renesas: r8a77990: Fix SCIF5 DMA channels
   27f651142eec fs: prevent page refcount overflow in pipe_buf_get
   ad73e3a19906 mm: prevent get_user_pages() from overflowing page refcount
   bdc8dfd65873 mm: add 'try_get_page()' helper function
   258fc3baeb4b mm: make page ref count overflow check tighter and more explicit
   cc37cb69fbdc drm/i915: Do not enable FEC without DSC
   742c556944e1 Revert "ACPICA: Clear status of GPEs before enabling them"
   635e82b9bdc8 selinux: use kernel linux/socket.h for genheaders and mdp
   d5a2675b207d Linux 5.0.11
   bcf0c1f4d564 net/tls: don't leak IV and record seq when offload fails
   2adb99038ae4 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
   c01e42fdccf5 net/mlx5e: Fix use-after-free after xdp_return_frame
   f9444b6aaa01 net/mlx5e: Fix the max MTU check in case of XDP
   a7b71fc253e8 mlxsw: spectrum: Put MC TCs into DWRR mode
   a3964a683ca1 mlxsw: pci: Reincrease PCI reset timeout
   72f71005903d net/ncsi: handle overflow when incrementing mac address
   19f6d3f49b28 net: socionext: replace napi_alloc_frag with the netdev variant on init
   af31849700e4 team: fix possible recursive locking when add slaves
   dc2b8b627802 stmmac: pci: Adjust IOT2000 matching
   3fd3574106de net/tls: fix refcount adjustment in fallback
   e39643c12d3f net: stmmac: move stmmac_check_ether_addr() to driver probe
   8de6f5e5b90d net/rose: fix unbound loop in rose_loopback_timer()
   b225e518109b net: rds: exchange of 8K and 1M pool
   283882b045ad net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
   f37782f2d708 mlxsw: spectrum: Fix autoneg status in ethtool
   d69b7c8c8ab5 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
   617d24036564 ipv4: add sanity checks in ipv4_link_failure()
   7f909f520742 rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE use
   dee438745d74 x86/retpolines: Disable switch jump tables when retpolines are enabled
   6bd5637a3ebb x86, retpolines: Raise limit for generating indirect calls from switch-case
   b6dd51f041fa Fix aio_poll() races
   f6408361ded7 aio: store event at final iocb_put()
   a8a538aed4f9 aio: keep io_event in aio_kiocb
   636fa71ed5f7 aio: fold lookup_kiocb() into its sole caller
   199f34c1355b pin iocb through aio.
   e2f0a96eeb50 rxrpc: fix race condition in rxrpc_input_packet()
   4f2c07441634 net/rds: Check address length before reading address family
   d0d184559cb4 net: netrom: Fix error cleanup path of nr_proto_init
   d0cf85f49505 tipc: check link name with right length in tipc_nl_compat_link_set
   4ee29a10021f tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
   a92526e257a5 fm10k: Fix a potential NULL pointer dereference
   0d41789ad820 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
   becfa96eaecd NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
   b5db8ea57de5 mac80211_hwsim: calculate if_combination.max_interfaces
   16de5d9b8f6b sched/deadline: Correctly handle active 0-lag timers
   bbb19ca082ce binder: fix handling of misaligned binder object
   8fe1600c91f9 workqueue: Try to catch flush_work() without INIT_WORK().
   abcbf3078130 slip: make slhc_free() silently accept an error pointer
   ba965c2c9808 tipc: handle the err returned from cmd header function
   2501b17f4f72 loop: do not print warn message if partition scan is successful
   acaec7f6e25d ext4: fix some error pointer dereferences
   2cd705091e36 USB: Consolidate LPM checks to avoid enabling LPM twice
   30d57be1f6eb USB: Add new USB LPM helpers
   6ec39721f131 drm/vc4: Fix compilation error reported by kbuild test bot
   3e869fd34856 Revert "drm/i915/fbdev: Actually configure untiled displays"
   6dca846c920d drm/ttm: fix re-init of global structures
   0b029ce3f4ee drm/vc4: Fix memory leak during gpu reset.
   aaceebbb71c5 powerpc/mm/radix: Make Radix require HUGETLB_PAGE
   b9a5bc4bb079 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
   aa5f016ba785 dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
   9476c3ad5ee2 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
   c46e14be004a dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
   16df9424ffaa vfio/type1: Limit DMA mappings per container
   4898e9b99795 Input: synaptics-rmi4 - write config register values to the right offset
   c704bba6dd36 perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
   b2eeeb49027e sunrpc: don't mark uninitialised items as VALID.
   6d29f7c720c6 nfsd: wake blocked file lock waiters before sending callback
   6569ae328aa3 nfsd: wake waiters blocked on file_lock before deleting it
   5e4a20e631a7 nfsd: Don't release the callback slot unless it was actually held
   870588487197 ceph: fix ci->i_head_snapc leak
   d9061ef0ab17 ceph: ensure d_name stability in ceph_dentry_hash()
   bcd9cbffb98f ceph: only use d_name directly when parent is locked
   e548c9702d46 sched/numa: Fix a possible divide-by-zero
   c3e4c555ac86 RDMA/ucontext: Fix regression with disassociate
   52c44c4e81b3 RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
   92d6731e6a6f RDMA/mlx5: Do not allow the user to write to the clock page
   f4dba6bf743e IB/rdmavt: Fix frwr memory registration
   e7e378ed703e arm64: mm: Ensure tail of unaligned initrd is reserved
   e5f06bf8f46c mm: do not boost watermarks to avoid fragmentation for the DISCONTIG memory model
   655b464eeaa8 trace: Fix preempt_enable_no_resched() abuse
   0f73358dff40 MIPS: scall64-o32: Fix indirect syscall number load
   928962e99694 lib/Kconfig.debug: fix build error without CONFIG_BLOCK
   f4ab3de10c84 zram: pass down the bvec we need to read into in the work struct
   e6093c0212d0 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
   0bb4e85bbd34 crypto: lrw - Fix atomic sleep when walking skcipher
   6506cdd4205b crypto: xts - Fix atomic sleep when walking skcipher
   8659a04c77e2 tracing: Fix buffer_ref pipe ops
   68ab802fb8cc tracing: Fix a memory leak by early error exit in trace_pid_write()
   90b70b3ed31b cifs: do not attempt cifs operation on smb2+ rename error
   e6302b845f2d cifs: fix page reference leak with readv/writev
   62cf691cdf74 cifs: fix memory leak in SMB2_read
   34fb6f5eb2cd block, bfq: fix use after free in bfq_bfqq_expire
   41e09d7eab07 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
   685550ad1192 ALSA: hda/realtek - Move to ACT_INIT state
   b6f3aa978866 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
   92d4af2766a1 intel_th: gth: Fix an off-by-one in output unassigning
   0ccd99339030 netfilter: nf_tables: bogus EBUSY in helper removal from transaction
   5b3124548062 netfilter: nf_tables: bogus EBUSY when deleting set after flush
   d3da1f09fff2 Linux 5.0.10
   c735a988a9ca kernel/sysctl.c: fix out-of-bounds access when setting file-max
   822482bff7c5 percpu: stop printing kernel addresses
   b2c65593ea62 ALSA: info: Fix racy addition/deletion of nodes
   c3d0cf332bcd mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
   4ae522890cc1 mm/memory_hotplug: do not unlock after failing to take the device_hotplug_lock
   c138ed72186a perf/ring_buffer: Fix AUX record suppression
   65fce15dbd87 device_cgroup: fix RCU imbalance in error case
   74b4ef5df590 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency
   edc94cb2c13b tpm: fix an invalid condition in tpm_common_poll
   6799f32fff63 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
   fb9693679feb Revert "kbuild: use -Oz instead of -Os when using clang"
   18636692a1b4 tpm: Fix the type of the return value in calc_tpm2_event_size()
   03c1d8f8afd8 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
   4a96e63f8f7d nfit/ars: Avoid stale ARS results
   33dcadf02c1f nfit/ars: Allow root to busy-poll the ARS state machine
   b49a9157c3ec nfit/ars: Introduce scrub_flags
   2cc8e8c230e8 nfit/ars: Remove ars_start_flags
   451fd88f62b9 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
   205c53cbe553 x86/speculation: Prevent deadlock on ssb_state::lock
   19867049334b perf/x86: Fix incorrect PEBS_REGS
   5e34d62b59dd x86/cpu/bugs: Use __initconst for 'const' init data
   35f288b72f64 perf/x86/amd: Add event map for AMD Family 17h
   22cc6e1b4fc0 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
   5b05d7d6fd5b s390/mem_detect: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD)
   b1db090fb046 mac80211: do not call driver wake_tx_queue op during reconfig
   9a0748c55188 rt2x00: do not increment sequence number while re-transmitting
   44aa331f99b4 kprobes: Fix error check when reusing optimized probes
   ca61e51567a7 x86/kprobes: Avoid kretprobe recursion bug
   7b91f26c45b6 kprobes: Mark ftrace mcount handler functions nokprobe
   fbe6f067a3ad x86/kprobes: Verify stack frame on kretprobe
   f89f9d9636f0 arm64: futex: Restore oldval initialization to work around buggy compilers
   508b773175c7 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
   8223263d7c44 crypto: x86/poly1305 - fix overflow during partial reduction
   46c4f2375638 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
   2f6919fdc23b x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
   1eb719f09f7e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
   e58a114d0746 Revert "svm: Fix AVIC incomplete IPI emulation"
   922270b4f018 i3c: Fix the verification of random PID
   33a3fff44a0f i3c: dw: Fix dw_i3c_master_disable controller by using correct mask
   e6200707e648 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
   ad1deea5c4c9 scsi: core: set result when the command cannot be dispatched
   c2116717884c vt: fix cursor when clearing the screen
   5ae77c340c52 serial: sh-sci: Fix HSCIF RX sampling point calculation
   333a81c16e4f serial: sh-sci: Fix HSCIF RX sampling point adjustment
   95df599f95f3 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
   6ef122eb7956 ALSA: core: Fix card races between register and disconnect
   ffd87f87a9c1 ALSA: hda/realtek - add two more pin configuration sets to quirk table
   8834139083cd staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
   16b235e81d9d staging: comedi: ni_usb6501: Fix use of uninitialized mutex
   a47fd7121627 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
   bd3011021447 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
   dcff1b3c1a1d staging: most: core: use device description as name
   68bbd7524a6f io: accel: kxcjk1013: restore the range after resume.
   3e13bb9782f5 iio: core: fix a possible circular locking dependency
   1f6b63285e2f iio: adc: at91: disable adc channel interrupt in timeout case
   2b70088e1509 iio: Fix scan mask selection
   5c526f27861f iio: dac: mcp4725: add missing powerdown bits in store eeprom
   50bc2c022b6e iio: ad_sigma_delta: select channel when reading register
   f65207cfee33 iio: cros_ec: Fix the maths for gyro scale calculation
   b4dd709ada6d iio:chemical:bme680: Fix SPI read interface
   fd3c6ad2a934 iio:chemical:bme680: Fix, report temperature in millidegrees
   5527e1e58007 iio/gyro/bmg160: Use millidegrees for temperature scale
   9efe152f769c iio: gyro: mpu3050: fix chip ID reading
   25a91f7b9810 staging: iio: ad7192: Fix ad7193 channel address
   80c1486b7e20 Staging: iio: meter: fixed typo
   739969f56e4f KVM: x86: svm: make sure NMI is injected after nmi_singlestep
   935fef82120f KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
   d12bcf87e6ff fs/dax: Deposit pagetable even when installing zero page
   f6846161e203 cifs: fix handle leak in smb2_query_symlink()
   76dbd554c273 cifs: Fix use-after-free in SMB2_read
   e8ac406c749e cifs: Fix use-after-free in SMB2_write
   9582ba401ef0 cifs: Fix lease buffer length error
   ebac4d0adf68 CIFS: keep FileInfo handle live during oplock break
   2cf17769d6b5 sch_cake: Simplify logic in cake_select_tin()
   5aa94a5b5641 nfc: nci: Potential off by one in ->pipes[] array
   a023c1a245a7 NFC: nci: Add some bounds checking in nci_hci_cmd_received()
   d58923dac952 sch_cake: Make sure we can write the IP header before changing DSCP bits
   064290d0f6c7 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
   116ac142d2c6 nfp: flower: remove vlan CFI bit from push vlan action
   51db0d068057 nfp: flower: replace CFI with vlan present
   da86299fcccb route: Avoid crash from dereferencing NULL rt->from
   6ad8c35a70cc net/mlx5: FPGA, tls, idr remove on flow delete
   d3697f88a271 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
   1d9005b96dce net/mlx5: FPGA, tls, hold rcu read lock a bit longer
   abe4a1328a78 Revert "net/mlx5e: Enable reporting checksum unnecessary also for L3 packets"
   acf4d270942a net/mlx5e: Rx, Check ip headers sanity
   3ce8793e03cd net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
   af294d42d43e net/mlx5e: Switch to Toeplitz RSS hash by default
   6daad2e30e0b net/mlx5e: Protect against non-uplink representor for encap
   58f682514cb5 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
   0e4b3800c069 net: bridge: fix netlink export of vlan_stats_per_port option
   adfc12451123 net/tls: fix build without CONFIG_TLS_DEVICE
   5e7171bf8db7 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
   96418eaa8e6a net/tls: don't leak partially sent record in device mode
   b30d9457b1dc net/tls: fix the IV leaks
   ae924f4e1c45 net: thunderx: don't allow jumbo frames with XDP
   a902fe6dd585 net: thunderx: raise XDP MTU to 1508
   9be4e8224cd6 mlxsw: spectrum_router: Do not check VRF MAC address
   61647856f32a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
   87ffb893490a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
   565e18a0be10 mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
   6f180e411c3e mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
   ed112abe6795 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
   6bd1ee0a993f ipv4: recompile ip options in ipv4_link_failure
   8cc6c4767e49 vhost: reject zero size iova range
   e35fa0016788 tipc: missing entries in name table of publications
   aad7db2b23c1 team: set slave to promisc if team is already in promisc mode
   8aa965e92750 tcp: tcp_grow_window() needs to respect tcp_space()
   1274905c8e1b net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
   49f472ba481b net: Fix missing meta data in skb with vlan packet
   a7a3382b1564 net: fec: manage ahb clock in runtime pm
   88f561ab1bd4 net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
   88c58435304b net: bridge: fix per-port af_packet sockets
   11ba95c4503b net: atm: Fix potential Spectre v1 vulnerabilities
   b633f6580b62 failover: allow name change on IFF_UP slave interfaces
   7e2c712830d6 bonding: fix event handling for stacked bonds
   e4abcebedac3 Linux 5.0.9
   2db9f8d63d74 paride/pcd: Fix potential NULL pointer dereference and mem leak
   e78434f4dcd2 paride/pf: Fix potential NULL pointer dereference
   b59d92ac8a32 IB/hfi1: Failed to drain send queue when QP is put into error state
   b05baa9f19d0 bpf: fix use after free in bpf_evict_inode
   d05fb50b3d0c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
   1c108a1b6459 f2fs: fix to add refcount once page is tagged PG_private
   b5f51f7abb43 f2fs: fix to use kvfree instead of kzfree
   c55d13d94f8c f2fs: fix to dirty inode for i_mode recovery
   4fb70c2107e9 rxrpc: Fix client call connect/disconnect race
   78154e319888 lib/div64.c: off by one in shift
   f0f1c97f38b8 cifs: return -ENODATA when deleting an xattr that does not exist
   2fbb0171b13a appletalk: Fix use-after-free in atalk_proc_exit
   a33383757975 drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
   3835c46e6ff5 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
   ed3a6901a3d7 platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown
   36f268740bce drm/nouveau/volt/gf117: fix speedo readout register
   3b2457ce9997 f2fs: sync filesystem after roll-forward recovery
   b851a25507e2 PCI/ASPM: Save LTR Capability for suspend/resume
   75e3256e2309 PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
   dce48c5878ab coresight: cpu-debug: Support for CA73 CPUs
   cf56bb03ffa3 RDMA/hns: Fix the Oops during rmmod or insmod ko when reset occurs
   5ada4de03943 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
   41c3883dfadb crypto: axis - fix for recursive locking from bottom half
   b9563b52e802 net: hns3: Fix NULL deref when unloading driver
   f1a2397542f6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
   3fcb02749530 drm/amdgpu: psp_ring_destroy cause psp->km_ring.ring_mem NULL
   e7ab5c78e516 lkdtm: Add tests for NULL pointer dereference
   8167ea40725d lkdtm: Print real addresses
   8bc6ef890c86 ext4: prohibit fstrim in norecovery mode
   642530739f19 x86/gart: Exclude GART aperture from kcore
   14bec2dda7a0 cifs: Fix slab-out-of-bounds when tracing SMB tcon
   a419571b2da5 fix incorrect error code mapping for OBJECTID_NOT_FOUND
   21edc981053f cifs: fix that return -EINVAL when do dedupe operation
   92b646e27677 x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
   aca4bd1a1cc6 iommu/vt-d: Save the right domain ID used by hardware
   d96516127498 iommu/vt-d: Check capability before disabling protected memory
   d9fb98c921a8 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
   f0a085e99ff7 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
   aaddd952f3db x86/hyperv: Prevent potential NULL pointer dereference
   105d043fedcb x86/hpet: Prevent potential NULL pointer dereference
   1512c986c578 irqchip/mbigen: Don't clear eventid when freeing an MSI
   dc60ac49b040 irqchip/stm32: Don't set rising configuration registers at init
   d79220ee57b8 irqchip/stm32: Don't clear rising/falling config registers at init
   c24b1f67cea0 drm/exynos/mixer: fix MIXER shadow registry synchronisation code
   c43003451a01 blk-iolatency: #include "blk.h"
   8bd30e5e0ec5 PM / Domains: Avoid a potential deadlock
   66495ebfd4df ACPI / utils: Drop reference in test for device presence
   fd9f338db867 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
   26980cd03ea6 perf tests: Fix memory leak by expr__find_other() in test__expr()
   5ffefcfe9764 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
   ece1fd3f4023 perf evsel: Free evsel->counts in perf_evsel__exit()
   05fe1d5b6ed1 perf top: Fix global-buffer-overflow issue
   940df86f505d perf maps: Purge all maps from the 'names' tree
   60b7f41c4aea perf map: Remove map from 'names' tree in __maps__remove()
   d86bf97d119d perf hist: Add missing map__put() in error case
   4a66a027c1ba perf top: Fix error handling in cmd_top()
   29dddb32f56b perf build-id: Fix memory leak in print_sdt_events()
   86cb58f1a12f perf config: Fix a memory leak in collect_config()
   5bb92662f2f1 perf config: Fix an error in the config template documentation
   d41f87ee413f perf tools: Fix errors under optimization level '-Og'
   84b2a2ca6d41 perf list: Don't forget to drop the reference to the allocated thread_map
   0c6568492019 perf stat: Fix --no-scale
   c957d798c11c scsi: qla2xxx: Fix NULL pointer crash due to stale CPUID
   9ec3c84936f7 scsi: core: Also call destroy_rcu_head() for passthrough requests
   638bf55940b9 tools/power turbostat: return the exit status of a command
   4a45137bb2eb x86/mm: Don't leak kernel addresses
   8764542aa21c sched/core: Fix buffer overflow in cgroup2 property cpu.max
   02abd369fa77 sched/cpufreq: Fix 32-bit math overflow
   7aa9be519579 scsi: iscsi: flush running unbind operations when removing a session
   b0b05ab719c3 thermal/intel_powerclamp: fix truncated kthread name
   800e3fd7bfce thermal/int340x_thermal: fix mode setting
   891fea677cca thermal/int340x_thermal: Add additional UUIDs
   f1a315ca06be thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
   481c8a89e89a thermal: samsung: Fix incorrect check after code merge
   74920ee161d4 thermal/intel_powerclamp: fix __percpu declaration of worker_data
   6e684bd65a5c paride/pcd: cleanup queues when detection fails
   77323732005a paride/pf: cleanup queues when detection fails
   1f208b0adaee ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
   bdb43acc8858 mmc: davinci: remove extraneous __init annotation
   e52431f7547c i40iw: Avoid panic when handling the inetdev event
   221b45319d05 IB/mlx4: Fix race condition between catas error reset and aliasguid flows
   b21723eda4cc drm/udl: use drm_gem_object_put_unlocked.
   33550275bbcf auxdisplay: hd44780: Fix memory leak on ->remove()
   4c12b50fc86a ALSA: sb8: add a check for request_region
   b3a964aea086 ALSA: echoaudio: add a check for ioremap_nocache
   2c20533ea602 ext4: report real fs size after failed resize
   d45fc2ba0e39 ext4: add missing brelse() in add_new_gdb_meta_bg()
   e23981104716 ext4: avoid panic during forced reboot
   0a7ef6820970 mips: bcm47xx: Enable USB power on Netgear WNDR3400v2
   c5d7b6089be5 perf/core: Restore mmap record type correctly
   7f434180c880 inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
   9005b534c2ba arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
   48de44356e07 ARC: u-boot args: check that magic number is correct
   0b9132ee7429 Linux 5.0.8
   eaa06ac5d1c1 drm/virtio: do NOT reuse resource ids
   7af79a36d188 KVM: x86: nVMX: fix x2APIC VTPR read intercept
   b564364f22ac KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
   63bec9219c39 dm integrity: fix deadlock with overlapping I/O
   de022a3453e6 dm: disable DISCARD if the underlying storage no longer supports it
   ca7671084384 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
   50b2e5c3b0a8 dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
   556b7d910d5d dm integrity: change memcmp to strncmp in dm_integrity_ctr
   78dbc2482a78 powerpc/64s/radix: Fix radix segment exception handling
   49558542e0eb xprtrdma: Fix helper that drains the transport
   8af91139a0a8 PCI: pciehp: Ignore Link State Changes after powering off a slot
   9b63917c6a4c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
   025768c171b8 x86/perf/amd: Remove need to check "running" bit in NMI handler
   ecb09f75a9b9 x86/perf/amd: Resolve NMI latency issues for active PMCs
   c583b4d08f3a x86/perf/amd: Resolve race condition when disabling PMC
   8b866ffe3d31 x86/asm: Use stricter assembly constraints in bitops
   3783a3b1e218 x86/asm: Remove dead __GNUC__ conditionals
   5866b5fc2b8a csky: Fix syscall_get_arguments() and syscall_set_arguments()
   b66f9a1ea65a xtensa: fix return_address
   e09deff8f8f4 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
   05acf6f5b81c xen: Prevent buffer overflow in privcmd ioctl
   e0e77b23a73d IB/mlx5: Reset access mask when looping inside page fault handler
   6b3b09cd4daa arm64/ftrace: fix inadvertent BUG() in trampoline check
   36078cae3790 arm64: backtrace: Don't bother trying to unwind the userspace stack
   de2e5ed04711 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
   7fcf2d915fa0 arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
   68a6a619ebd7 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
   b0266ece310d ARM: dts: at91: Fix typo in ISC_D0 on PC9
   a005242834ac ARM: dts: rockchip: Fix SD card detection on rk3288-tinker
   e74aa76752f4 ARM: dts: am335x-evm: Correct the regulators for the audio codec
   724d26349abf ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
   4e34e23d5708 ARM: dts: rockchip: fix rk3288 cpu opp node reference
   f04200259be8 ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation
   4e6f0d588cd2 drm/i915/dp: revert back to max link rate and lane count on eDP
   88fa815395e3 virtio: Honour 'may_reduce_num' in vring_create_virtqueue
   ec64558908d7 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
   b8ad5278c4d3 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
   fffb3e8b5920 block: fix the return errno for direct IO
   b4af1b3cb545 block: do not leak memory in bio_copy_user_iov()
   43d15c041ad7 block: Revert v5.0 blk_mq_request_issue_directly() changes
   6a184be78d3f riscv: Fix syscall_get_arguments() and syscall_set_arguments()
   ee02ae76d069 btrfs: prop: fix vanished compression property after failed set
   41cd8693bfcc btrfs: prop: fix zstd compression parameter validation
   ddb27d3b30f7 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
   4badea79434d ASoC: fsl_esai: fix channel swap issue when stream starts
   7c394c70a394 ASoC: intel: Fix crash at suspend/resume after failed codec registration
   3859d8fae2d8 mm: writeback: use exact memcg dirty counts
   c4727317b4e5 include/linux/bitrev.h: fix constant bitrev
   a1428aee0c69 kvm: svm: fix potential get_num_contig_pages overflow
   d2c5c9ea9a09 drm/udl: add a release method and delay modeset teardown
   7029188253fc drm/sun4i: DW HDMI: Lower max. supported rate for H6
   3e05b13e52e5 drm/i915/gvt: do not deliver a workload if its creation fails
   56487f7b8330 alarmtimer: Return correct remaining time
   b4dfbd47a494 parisc: also set iaoq_b in instruction_pointer_set()
   97ba69f22665 parisc: regs_return_value() should return gpr28
   d347bbea0668 parisc: Detect QEMU earlier in boot process
   af2abcc62e64 mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning
   13771e12fb7d mmc: alcor: don't write data before command has completed
   8a3bb1553d5b arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
   9e77cd4a9922 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
   89944d7e95e3 ALSA: hda - Add two more machines to the power_save_blacklist
   3c20e6c50e03 ALSA: xen-front: Do not use stream buffer size before it is set
   97bf09839964 ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
   acaf3a112008 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
   df828c33163f ALSA: seq: Fix OOB-reads from strlcpy
   cb11af93e626 ACPICA: Namespace: remove address node from global list after method termination
   da6a87fb0ad4 ACPICA: Clear status of GPEs before enabling them
   bee8b4b4c79b HID: logitech: Handle 0 scroll events for the m560
   0601ac3b4925 SMB3: Allow persistent handle timeout to be configurable on mount
   4d4ec04ed77e hwmon: (occ) Fix power sensor indexing
   026f98a1d51d hwmon: (w83773g) Select REGMAP_I2C to fix build error
   c231b6b0064d tty: ldisc: add sysctl to prevent autoloading of ldiscs
   e4ebae16792a tty: mark Siemens R3964 line discipline as BROKEN
   e2a0237494ce Revert "clk: meson: clean-up clock registration"
   62a23bbaee09 lib/string.c: implement a basic bcmp
   622902df9eba kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
   396f116f6d0a net/mlx5e: Update xon formula
   29b4db4176da net/mlx5e: Update xoff formula
   68ef6f3e1a70 net: mlx5: Add a missing check on idr_find, free buf
   4fe853723d57 r8169: disable default rx interrupt coalescing on RTL8168
   4b780e0fc986 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
   b5f69a5648b0 net: vrf: Fix ping failed when vrf mtu is set to 0
   c83447096390 net: thunderx: fix NULL pointer dereference in nicvf_open/nicvf_stop
   502de75b3b34 net: bridge: always clear mcast matching struct on reports and leaves
   f4473ccd883c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
   b49e1837b15e net: ip_gre: fix possible use-after-free in erspan_rcv
   eefa6c2464c8 bnxt_en: Reset device on RX buffer errors.
   aecbbae850ed bnxt_en: Improve RX consumer index validity check.
   c43bbe6d49f4 nfp: disable netpoll on representors
   c974a681e996 nfp: validate the return code from dev_queue_xmit()
   6fc42565470a net/mlx5e: Add a lock on tir list
   44bd84f1b5a5 net/mlx5e: Fix error handling when refreshing TIRs
   59c5f595a120 vrf: check accept_source_route on the original netdevice
   71707cc55c39 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
   bc7167651e30 tcp: Ensure DCTCP reacts to losses
   cd1b7376d8a3 sctp: initialize _pad of sockaddr_in before copying to user memory
   3c36cc5bdf89 r8169: disable ASPM again
   cdeed1e0f47e qmi_wwan: add Olicard 600
   3bcad39f08ca openvswitch: fix flow actions reallocation
   48a1cd79cc7e net/sched: fix ->get helper of the matchall cls
   4edf174b821e net/sched: act_sample: fix divide by zero in the traffic path
   4e8d8e767f11 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
   ec7aeb6a0709 netns: provide pure entropy for net_hash_mix()
   6ced07adaead net/mlx5: Decrease default mr cache size
   67b0fbfaf828 net-gro: Fix GRO flush when receiving a GSO packet.
   88b9d6f6aff8 net: ethtool: not call vzalloc for zero sized memory request
   351ddbdf532c kcm: switch order of device registration to fix a crash
   472a290314f0 ipv6: sit: reset ip header pointer in ipip6_rcv
   ccec3a09c429 ipv6: Fix dangling pointer when ipv6 fragment
   fd4ecb124730 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
   4f90b9ca3cb2 ibmvnic: Fix completion structure initialization
   b68b3427a2a2 hv_netvsc: Fix unwanted wakeup after tx_disable
   5160fb3353f5 netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
   19589530ec6d netfilter: nf_tables: use-after-free in dynamic operations
   43154d5c868c netfilter: nft_compat: use .release_ops and remove list of extension
   93f7f61ed079 kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
   118003351916 drm/i915/gvt: do not let pin count of shadow mm go negative

(From OE-Core rev: a4544d19b4f5db419e7a02e584a28a14768c8f2f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Zang Ruochen
a18ae07b95 dbus-test: Upgrade 1.12.12 -> 1.12.14
Upgrade from dbus-test_1.12.12.bb to dbus-test_1.12.14.bb.

(From OE-Core rev: c345e26b1ca7685c905ad41fdd436f4e4a3e68ab)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Zang Ruochen
83da3a6932 dbus: Upgrade 1.12.12 -> 1.12.14
Upgrade from dbus_1.12.12.bb to dbus_1.12.14.bb.

(From OE-Core rev: 4beec5f51582ca27963ff200a46595a16a3ba790)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Zang Ruochen
0b755e0269 openssh: Upgrade 7.9p1 -> 8.0p1
Upgrade from openssh_7.9p1.bb to openssh_8.0p1.bb.

-openssh/0001-upstream-Have-progressmeter-force-an-update-at-the-b.patch
-openssh/CVE-2018-20685.patch
-openssh/CVE-2019-6109.patch
-openssh/CVE-2019-6111.patch
-Removed since these are included in 8.0p1.

(From OE-Core rev: 7e21cfec4de3d66585c92632e1503df54a89b79a)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-31 15:36:20 +01:00
Changqing Li
6ba8e155b6 tiny-init: add rconflicts
add rconflicts since error during do_rootfs:
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586

(From meta-yocto rev: 28bdd6efe8a4fff12ee169a227762ec0978dab36)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Matthias Schiffer
482da97cfc bitbake: fetch2: runfetchcmd(): unset _PYTHON_SYSCONFIGDATA_NAME
Since warrior, python3native.bbclass sets _PYTHON_SYSCONFIGDATA_NAME;
unfortunately, this also affects Python scripts run as fetch commands like
git-make-shallow, breaking it with a message like

    Failed to import the site module
    Traceback (most recent call last):
      File "/usr/lib/python3.6/site.py", line 570, in <module>
        main()
      File "/usr/lib/python3.6/site.py", line 556, in main
        known_paths = addusersitepackages(known_paths)
      File "/usr/lib/python3.6/site.py", line 288, in addusersitepackages
        user_site = getusersitepackages()
      File "/usr/lib/python3.6/site.py", line 264, in getusersitepackages
        user_base = getuserbase() # this will also set USER_BASE
      File "/usr/lib/python3.6/site.py", line 254, in getuserbase
        USER_BASE = get_config_var('userbase')
      File "/usr/lib/python3.6/sysconfig.py", line 607, in get_config_var
        return get_config_vars().get(name)
      File "/usr/lib/python3.6/sysconfig.py", line 550, in get_config_vars
        _init_posix(_CONFIG_VARS)
      File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
        _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
    ModuleNotFoundError: No module named '_sysconfigdata'

on an Ubuntu 18.04 system (and likely others) when building with
BB_GIT_SHALLOW and BB_GENERATE_SHALLOW_TARBALLS.

Unset _PYTHON_SYSCONFIGDATA_NAME in runfetchcmd() to work around this.

(Bitbake rev: d94ccd506d04aff182ab48f501f6f366d5dd14f5)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Richard Purdie
cc67ce63d5 bitbake: main: Fix error message typo
(Bitbake rev: a1330b8a15a3f12516e3e293ffb5d840f362375d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Joshua Watt
88f5abb028 bitbake: bitbake: Show base multiconfig environment
Adds support to the 'bitbake -e' command so that it can display the base
environment for a multiconfig. It was previously possible to get the
base environment for the main environment by running "bitbake -e", but
there was no support for getting the base environment for a multiconfig
without specifying a recipe. A user can now print the base environment
for the multiconfig "foo" by running:

 $ bitbake -e multiconfig:foo

(Bitbake rev: 3d657af8a6120193d45d01968605b30075a56198)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Joshua Watt
66fd4c13d9 bitbake: bitbake: cooker: Rename __depends in all multiconfigs
The renaming of the __depends variable to __base_depends and file
watches needs to occurs for all multiconfigs, not just the base config.
Failing to do this for all multiconfigs will result in a huge increase
in the size of the parsing cache (about 5x for a single mulitconfig)
because all multiconfig caches will still depend on the base config
files. This will also seen a similar jump in the amount of time required
to load the parsing cache from memory, both because the cache is larger
and because of explosion of additional existence checks that must be
done for the base files.

[YOCTO #13359]

(Bitbake rev: 34137a00f60280e9e806070c6507a0fc6284b834)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Chee Yang Lee
01543538d1 wic: bootimg-efi: add label source parameter
Add new source parameter label to allow custom boot.conf/grub.cfg label,
so far it's hardcoded to "Boot".

Default label to "Boot" for systemd-boot and blank for grub-efi when source
parameter label are not set.

(From OE-Core rev: 7a0aab1aa31e66e6bc94c04c2f6c1043b64a8967)

Signed-off-by: Chee Yang Lee <chee.yang.lee at intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Changqing Li
70db12c852 systemd: add rconflicts
add rconflicts since error during do_rootfs:
file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586

(From OE-Core rev: 10d0a824ad9b835b6f5ec24a49d41aead613031b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Joshua Watt
41bd3fee9d btrfs-tools: Pass DEBUG_MAP_PREFIX flags to Python
The DEBUG_MAP_PREFIX flags need to be passed when building the Python
library to prevent these non-reproducible paths from being encoded into
the library. The patch that does this was accepted upstream and
supersedes part of a previous patch that passed LDFLAGS to the Python
library in favor of passing EXTRA_PYTHON_LDFLAGS, so the patch and
recipe has been updated to reflect this.

(From OE-Core rev: 04bb44c1b97c3183739e4836588a93dc34af8806)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Martin Jansa
570938d845 bc: use u-a for bc as well
* bc can be provided by busybox as well (e.g. if you have your own
  defconfig and forget to explicitly disable it:
  ...
  *
  * Miscellaneous Utilities
  *
  adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n
  bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n
  bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y
    Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y
      Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW)     Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n
  chat (6.3 kb) (CHAT) [N/y/?] n
  conspy (10 kb) (CONSPY) [N/y/?] n
  ...
  ), causing conflict in u-a:

  update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link

  and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing:

  do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
  then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported.

(From OE-Core rev: f4e712162566373279049fb952d8bceb9184128a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Anuj Mittal
699152506c Revert "pigz: pigz is not gzip"
This reverts commit a54c59f2a2.

The compatibility issues have since been resolved [1][2] and pigz 2.4
annoucement also states that this can be considered as a drop-in
replacemment [3] now.

[1] 33c140e5fd
[2] 6fda8570f6
[3] https://zlib.net/pipermail/pigz-announce_zlib.net/2017-December/000028.html

(From OE-Core rev: ad1db93d134db1ec4f6d6598c9741dc13e82e1f3)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Anuj Mittal
762e557b3c Revert "image_types: use pigz to create .gz files"
This reverts commit a559ffab30.

This is not needed now that pigz has been marked as a drop-in
replacement.

(From OE-Core rev: 3a73662ea72fbf0180d9a66032b6d92248ae4ddf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Khem Raj
669339f9a0 gdb: Let gdbserver be empty for riscv64
gdbserver does not yet build for riscv64, therefore
let the package be empty so we can build core-image-sato-sdk-ptest

(From OE-Core rev: 111f65528e3c0b147c1713cfc684958f94c41cd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Michael Ho
74331a426f base.bbclass: add named SRCREVs to the sstate hash
Several fetchers support named sources that require setting a SRCREV with
the source name as a suffix. These named SRCREV variables are not captured
in the sstate hash calculation because they're only referenced within the
bitbake fetcher function. Several recipes avoid this bug by adding the
different SRCREVs to their packaging versioning but this is not enforced so
it is very trivial to trip this bug case.

Add a snippet to the base.bbclass anonymous python to add all named SRCREV
variables to the vardeps of do_fetch to capture them in the sstate hash
calculation.

Testing of the bug can be shown by running the following bitbake commands
with this patch set not applied:

bitbake vulkan-demos | tee
sed -i 's/SRCREV_gli = ".*"/SRCREV_gli = "xxx"/' \
  ../meta/recipes-graphics/vulkan/vulkan-demos_git.bb
bitbake vulkan-demos | tee;

The above results in no errors despite a broken SRCREV because the recipe  is
considered unchanged by the bitbake sstate hash.

After applying this patch the above commands instead result in a fetcher
error which is correct.

(From OE-Core rev: fdc000b8ae1577f1b29efb2cc4927664ad41e21c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Oliver Stäbler
49e4108756 packagegroup-core-full-cmdline: Make nfs-utils/rpcbind optional
Consider DISTRO_FEATURES for nfs-utils and rpcbind.
This is to prevent the following warning while booting:
NFS daemon support not enabled in kernel

(From OE-Core rev: bd59536158ba29aec979378068d5d50b4a29282d)

Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Changqing Li
0799b21260 inetutils: fix wrong package name
fix below error:
file /etc/xinetd.d/telnet conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586
file /usr/sbin/in.telnetd conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586

(From OE-Core rev: 1ceaaab6aab449f05a6e5f984bd20fa33d84937d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Philippe Normand
a13288fd50 cmake: Use compiler launcher variable when ccache is enabled
Setting the CMAKE_C{,XX}_COMPILER_LAUNCHER variables is the recomended way to
deal with ccache in CMake. It allows build scripts to optionally opt-out of
ccache, which is especially useful when the pre-processed GCC output is required.

(From OE-Core rev: 0a36d1b342c0b4760bc75794c2e941a17012bc19)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Changqing Li
e9e7102fe2 busybox-inittab/sysvinit-inittab: add rconflicts
when both installed, do_rootfs report error like:
file /etc/inittab conflicts between attempted installs of
busybox-inittab-1.30.1-r0.qemux86 and sysvinit-inittab-2.88dsf-r10.qemux86

so add each other to rconflicts

(From OE-Core rev: d66114b07ef3e8482fee4c3c93e4f6324c38da3b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Changqing Li
d365948ebd dropbear: add openssh/openssh-sshd as rconflict
(From OE-Core rev: 0aa21ae925d81cd10d5c44d4d98c9f06df87139d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Changqing Li
4edba7ecd3 connman: add networkmanager as rconflict
(From OE-Core rev: 240dfe2399ec43c81b3c816c299253ddf6c3a732)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Richard Purdie
26f62f2a7d uninative: Switch from bz2 to xz
(From OE-Core rev: 29fc9210b973be68de474e75068e4c72371afe5a)

(From OE-Core rev: b6645596f2d2faf8f1fdfbedfe1edd004fbce6bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:03 +01:00
Richard Purdie
d57255f4c1 yocto-uninative: Update to 2.5 release
This includes libstdc++ changes from gcc 9.X.

It also switches uninative from bz2 to xz compression.

(From OE-Core rev: 7ed16ec033366aea175ac4ecf7cd82656c4141bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:02 +01:00
Richard Purdie
cd925d23e3 mdadm: Add missing ptest dependency
Without this the ptest fails, unable to find mkfs.ext3.

(From OE-Core rev: 8f4e7f4ff4eed6503213f2d15bb86c0c86368966)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:02 +01:00
Richard Purdie
31305767c3 util-linux: Fix ptest dependencies
We should append to the ptest RDEPENDS and RRECOMMENDS otherwise the bbclass
defaults are overwritten. This leads to ptest-runner not being installed in
minimal images. Also drop the duplicate ${PN} value which is unneeded once
we do this.

(From OE-Core rev: 5054038567744d09e51e50f8c663f18224d6c555)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:02 +01:00
Richard Purdie
414215be66 ptest-packagelists: Add mdadm
(From OE-Core rev: a6a5c07b3f004f19ac45ae8f34e43d8fa0d330cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:02 +01:00
Richard Purdie
c6d12254e9 strace: Tweak ptest disk space management
If the test is successful, remove the log and exp files. This stops strace
using around 600MB of disk space and running our ptest images out of space.

(From OE-Core rev: ae94bffc6991efd6a6a74b2c129d3743b5fd1cd3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-30 12:37:02 +01:00
Richard Purdie
08445c4c3c uninative-tarball: Use xz compression and SDK_ARCHIVE_CMD
Switch uninative to use xz compression instead of bzip2. We can then directly
use the SDK_ARCHIVE_CMD.

(From OE-Core rev: c2e30917542297c0dbef2868d4aeebc05b13ef8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Richard Purdie
5ef5ece35b populate_sdk_base: Use highest compression level for xz
Whilst this may take longer to compress, it reduces network transfer and potentially
extraction time so is worthwhile.

(From OE-Core rev: 0a89d486cf596da791c27cff14ef3d6ca1cbb75a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Richard Purdie
fa4dd73823 uninative-tarball: Fix file generation after class changes
OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7 renamed the tar_sdk function
but didn't fix this recipe. This leads to broken uninative tarballs as the internal
structure isn't correct. Fix this.

(From OE-Core rev: 1cfe7cbb20a0eedd46ab6ee57f8d49bc652f818a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Adrian Bunk
15693fe03e go: Remove INSANE_SKIP_* textrel that are now handled in go.bbclass
(From OE-Core rev: e5b8f83d299db4152d547982650ee7b7f535b023)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Adrian Bunk
f6c34549f6 Remove Go 1.11
There doesn't seem to be a reason to keep it in addition to 1.12 now.

(From OE-Core rev: 03bfbbb1d86f102ce23ee6ac0d4b905fc241f23c)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
David Frey
1d06897aba bluez5: manage udev dependency with PACKAGECONFIG
udev is an optional dependency of bluez5, so use PACKAGECONFIG to give
users the ability to build bluez5 without udev support.

(From OE-Core rev: 862438543ef04a3c23f38ec65cd66a3b4e3907d5)

Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Joshua Watt
b7cbd890cc perl: Preserve attributes when applying cross files
The file attributes (specifically the timestamps) must be preserved when
applying the cross files to have reproducible builds. Otherwise, the
cross files get the timestamp from when they are copied in the do_unpack
task, and the reproducible_build class uses this timestamp since it is
the youngest one in the source tree.

(From OE-Core rev: b9b8cd3ce9755087d5d89b54287e171ac5effe3b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Adrian Bunk
15b1bb970c vim: Move PACKAGECONFIG[gtkgui] from GTK 2 to GTK 3
(From OE-Core rev: 79582352f256673999ad3ae1c24a4602c5bcaf26)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Zhixiong Chi
5aa3194795 gcc: reduce the variables in symtab
Backport the patch from upstream:
https://github.com/gcc-mirror/gcc.git [commit beb921e]
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=269925

Add the premark_used_variables function, meanwhile do not mark
not premarked external variables in prune_unused_types_walk.

(From OE-Core rev: 5f2119a309096aa8cbae666c37521b0c93da53d0)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Oleksandr Kravchuk
05eb9a6695 p11-kit: update to 0.23.16.1
(From OE-Core rev: 8e8771228cce595ccf3626e601faa3caa5735353)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Oleksandr Kravchuk
66030644e0 file: update to 5.37
(From OE-Core rev: 127d706d7fe5d29c500ab6f81bc6d97982209bf6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-29 12:54:12 +01:00
Sakib Sajal
124ac408d4 bash: add iso8859-1 gconv RDEPENDS needed by bash-ptest.
One of the ptests failed for internationalization.
>From the failed ptest log:
   run-intl
   fr_FR.ISO8859-1: Error Encoding U+00000080 to  [ "$'\200'" != "\\u0080" ]
   (125 similar errors related to same encoding)
The test was unable to convert iso8859-1 encoding to perform comparison.

(From OE-Core rev: ec1849d7a5964bef53462b9d4763e22433f9d246)

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>
2019-05-29 12:54:12 +01:00
Richard Purdie
57d29416ca mesa: Fix patch Upstream-Status
(From OE-Core rev: 9e5efbe1a32b5debc10205789c13aa1643397f8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Richard Purdie
f3e52cc53a lttng-tools: Fix patch Upstream-Status
(From OE-Core rev: 1a29a9e184f6b8f6971de8e964e0e60ab906f34e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Richard Purdie
11512a2ff8 tcmode-default: Make gcc9 the default
All known issues have been addressed in OE-Core, switch to gc9 by default.

(From OE-Core rev: 55014de1cb19d46467314adf37c88b1b91e001f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Philippe Normand
c939ee3716 gst-validate: upgrade to version 1.16.0
(From OE-Core rev: 680969d403e2e5574277ec92b67e92c3bbbdaa5f)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Philippe Normand
9010a2f3a9 gstreamer1.0-python: upgrade to version 1.16.0
(From OE-Core rev: 892227fd1bf78a6c8c481e89c862e142d53c8062)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Philippe Normand
deb421ffbc gstreamer1.0-rtsp-server: upgrade to version 1.16.0
* 0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
  Removed since this was fixed in 1.16.0 similarly to the fixes to
  -base and -bad in https://bugzilla.gnome.org/show_bug.cgi?id=726571

(From OE-Core rev: 2017a3292cac1fd4e7ea1ad4fef0d97806c31b95)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Carlos Rafael Giani
dd816ac41c gstreamer1.0-libav: upgrade to version 1.16.0
(From OE-Core rev: 470cfb397b213025f9faf231d3886fd7db90aaf4)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Philippe Normand
7d475c6768 gstreamer1.0-omx: upgrade to version 1.16.0
(From OE-Core rev: 83ac54ff9ecf44f15182460d29ff4183f32ee343)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Carlos Rafael Giani
3b50dbc290 gstreamer1.0-plugins-ugly: upgrade to version 1.16.0
(From OE-Core rev: 9f1277bd99115af0cdfbb56a1db9c6393f3ebbab)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Carlos Rafael Giani
99d811197b gstreamer1.0-plugins-bad: upgrade to version 1.16.0
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
  Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
  fix is included in 1.16.0

* SCTP plugin got added

* WPE plugin got added (but currently disabled due to build problems with
  meta-webkit; will be fixed in a separate commit)

* ACM, SPC, daala, VCD plugins got removed

(From OE-Core rev: 19897615db54dd24e4c67f32e64dfee171c03746)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Carlos Rafael Giani
2eddd87e63 gstreamer1.0-plugins-good: upgrade to version 1.16.0
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
  Added this patch that is on track for version 1.16.1 because
  it is needed for WebKit

* 0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
  Removed since it is not needed (using mpeg4videoparse fixes the issue)

* avoid-including-sys-poll.h-directly.patch
* ensure-valid-sentinel-for-gst_structure_get.patch
  Removed since these are included in 1.16.0

(From OE-Core rev: 2af6b5500f719eb4128e27e8346be9d9c3e1377e)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Carlos Rafael Giani
b2a8cc4b05 gstreamer1.0-plugins-base: upgrade to version 1.16.0
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
  Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
  fix is included in 1.16.0

* 0005-viv-fb-Make-sure-config.h-is-included.patch
  Added to prevent build errors due to missing config.h #include

* 0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
* 0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
  Removed since these are included in 1.16.0

(From OE-Core rev: 9dbd91c22cbd39245e72a128e07036c22edd9b4e)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Philippe Normand
30eead8a1d gstreamer1.0: upgrade to version 1.16.0
* 0002-gstconfig.h.in-initial-RISC-V-support.patch
  Removed since this is included in 1.16.0

(From OE-Core rev: 4f9b8ce9aad05fd6e2b7d2fefc0d22fcb431c003)

Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Oleksandr Kravchuk
33a88fa621 ethtool: update to 5.1
Changelog:
* Feature: Add support for 200Gbps (50Gbps per lane) link mode
* Feature: simplify handling of PHY tunable downshift
* Feature: add support for PHY tunable Fast Link Down
* Feature: add PHY Fast Link Down tunable to man page
* Feature: Add a 'start N' option when specifying the Rx flow hash indirection table.
* Feature: Add bash-completion script
* Feature: add 10000baseR_FEC link mode name
* Fix: qsfp: fix special value comparison
* Feature: move option parsing related code into function
* Feature: move cmdline_coalesce out of do_scoalesce
* Feature: introduce new ioctl for per-queue settings
* Feature: support per-queue sub command --show-coalesce
* Feature: support per-queue sub command --coalesce
* Fix: fix up dump_coalesce output to match actual option names
* Feature: fec: add pretty dump

(From OE-Core rev: 0622b7e17b5c3db80a21c11e3079392552f144ea)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-28 10:47:02 +01:00
Chen Qi
777338281c systemd: avoid musl specific patches affect glibc systems
systemd upstream only care about glibc. We made musl specific
patches so that systemd could work. But currently these patches
contain potential security issues.

So apply these patches only when the libc is musl.

(From OE-Core rev: 464a1c16db1d7cc950eaee43bd8a47124dc4398f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Khem Raj
be5672e43a musl: Upgrade to master tip
Changes
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=65c8be380431eebe4d70d130bd38563f8df9a7d7..ac304227bb3ea1787d581f17d76a5f5f3abff51f

(From OE-Core rev: c46c6e6f660d808c1fa49dea2b1df32730bea232)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Khem Raj
6c37069a24 binutils: Workaround mips assembler crash on target
assembler ends up crashing on target sometimes due to
segfaults in libbfd, therefore avoid using -O2 for now

(From OE-Core rev: a6f9327e79df1bfadb1f613eda799586e60009f2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Richard Purdie
c8ef8b3b0f layer.conf: Whitelist lttng-tools->lttng-modules dependency
The API between lttng-tools and lttng-modules is safe, whitelist it as
the dependency fixes tools failures. This needs a hack in the multilib
class as right now there is no way to know if a given recipe is a kernel
module or not. This needs to be revisited.

(From OE-Core rev: 584e713bf7f6885a13c440cd45c0f469feb3a694)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Jonathan Rajotte
85d283c960 lttng-tools: add lttng-modules to ptest dependencies
The lttng-tools project is essentially a "tracer" controller, the tests
depends heavily on lttng-ust and lttng-modules presence.

(From OE-Core rev: f50483cef0a65f3098018600276fba70195643da)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Jonathan Rajotte
d91def0525 lttng-tools: prevent test timeout when lttng-modules is not present
(From OE-Core rev: 3a099ab54e23f797c12777dce97437b7dc97de25)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Alexander Kanavin
a3881ccdb2 chkconfig: fix upstream version check
(From OE-Core rev: 1f6eed8fa1df53acc7eba68cc9ce3bfcb2c66053)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Alexander Kanavin
1ab7c83ce2 chkconfig: do not use unstable github archive tarballs
(From OE-Core rev: db4ea46dc1a16b2079285f305be2753c0f77e611)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Alexander Kanavin
1007307f3b iproute2: upgrade 5.0.0 -> 5.1.0
(From OE-Core rev: dc9ff41d4087d9a6e3e070f35ba95de547728b9c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Adrian Bunk
80f115908e librsvg: Replace workaround for old host systems with upstream fix
(From OE-Core rev: c54d40f98805977d512f5dc86f1f2c84711003ac)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Joshua Watt
cebad35edc avahi: Add PACKAGECONFIG for libdns_sd
Adds a PACKAGECONFIG option to enable the libdns_sd compatibility
library.

(From OE-Core rev: f09a7b7b3a390dace73a94a6ebbe062b0af160df)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Peter Kjellerstedt
c1b73ad2eb texinfo-dummy-native: Rewrite template.py to use argparse
The original version of template.py parses the arguments manually. This
fails when looking for the -E option if, e.g., an -I option is specified
without any space before its argument, and that argument contains the
letter 'E'.

A minor difference to the original version is that it parsed the
arguments in the order they were specified on the command line whereas
this version will always handle -E before -o.

(From OE-Core rev: 60e8de529eb0dfd546d96af3c2cdd7f23041ab45)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Peter Kjellerstedt
cf5dd9812c texinfo-dummy-native: A little clean up of template.py
This is mainly whitespace clean up, plus using the with statement when
writing files.

(From OE-Core rev: f09cb832fa8e83e7e5faf6bd9464481aef5b4547)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Khem Raj
cdbb785595 Revert "musl: Add TEMP_FAILURE_RETRY from glibc"
This reverts commit 0c68c621d3b8690e3a346170006f75b032511a8a.

It should be upstreamed first

Secondly, musl and glibc are under different licenses and importing
code from one to other could taint it.

(From OE-Core rev: 71c6930e304f8918e4bd571237ff41e7e9e9b9a3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Nicola Lunghi
485b0dedbb connman: fix segfault with musl >v1.1.21
musl > v1.1.21 changed the implementation of the freeaddrinfo() function
not allowing anymore to pass null pointers to it.
This was causing a segmentation fault in connman.

(From OE-Core rev: a9bf875af4a5133e4f0e3039a76b1dfc6d5d1f63)

Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Khem Raj
9fc14c7866 ofono: Add TEMP_FAILURE_RETRY optional definition
Fixes build with musl where TEMP_FAILURE_RETRY is not provided

(From OE-Core rev: 2a6c1c33bcf061f65da159d66fae78b31bcc9e60)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Alistair Francis
274f038d3e qemu: Backport the arm segfault fix
When we updated to QEMU 4.0 we saw a segfault when running tests on the
qemuarm machine. At the time we just reverted the offending patch from
QEMU. Now that the fix has been merged into upstream let's remove that
revert patch and replace it with the correct backport.

(From OE-Core rev: ce0cae5511ce4ba7b9dcc9c6676ec7ea10622cb7)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Adrian Bunk
12aa79f5bf pinentry: Switch pinentry-qt from Qt4 to Qt5
(From OE-Core rev: d0c252e5847bd5f5806beecd8f351c72454d677a)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Luca Boccassi
613224104a mdadm: use ${systemd_unitdir} rather than /lib/systemd
Fixes build with usrmerge enabled.

(From OE-Core rev: cafbc4bbe128d13c40e104f773cdf85bbd92a87d)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Khem Raj
1e1e6c0803 mesa: Fix a case when gbm is enabled but DRIDRIVERS is not defined
This is a typical scenario with arm platforms, with meson if DRIDRIVERS
is empty then dri is disabled automatically, but gbm needs dri2 enabled
for it to have proper backend, in autotools we could use --enable-gbm
--enable-dri and get correct behaviour but with meson enabling dri2 only
works if DRIDRIVERS is not empty

This fixes mesa-gl build for rpi machines when using userland graphics

(From OE-Core rev: 0c670a0fad379c3dc2a69ac5abfeaceda98a2f9c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Adrian Bunk
2c0f37d2da m4/tar: Remove remove-gets.patch
When the original problem was fixed in gnulib the
patches were rebased on top of the upstream fix...

(From OE-Core rev: d93ad85d94ea99e3fad7e4c2f6be999088e2f9f9)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Adrian Bunk
03c92bdf9c apt: Remove workaround patches for no longer supported host distributions
All still supported host distributions have gcc >= 4.8.

(From OE-Core rev: c8eeb487d09cc4bd0f637260dd01d0982745038f)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Adrian Bunk
c6dbd6c528 squashfs-tools: Mark as incompatible with musl
Silently ignoring FNM_EXTMATCH makes fnmatch()
behave different from what callers expect.

Mark as incompatible with musl instead of risking
broken runtime behaviour.

The practical consequences should be small since
what is used in OE is mainly squashfs-tools-native.

(From OE-Core rev: c9aed6a84c0a33fee8a52603b22cc2b78928eb5f)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Lei Maohui
919d8bd056 meson.bbclass: Make meson support aarch64_be.
Added aarch64_be into cpu family.

(From OE-Core rev: 40187613038aa9c1ca16eaa46d0669f69f80a398)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Luca Boccassi
6e21f8ad83 python*-setuptools: add separate packages for pkg_resources module
The pkg_resources Python module is useful by itself, for example for
automatic loading of resources shipped in a Python package.
Add separate packages for it, so that users can depend on them
individually and avoid pulling in the entire setuptools, which
include scripts to download other packages, which might not be
desired on minimal images.

Other distributions like Debian and Ubuntu already split setuptools
and pkg-resources in this way.

The setuptools packages now depend on the new pkg-resources packages,
to avoid regressions for other packages that depend on them
already.

(From OE-Core rev: 4316d9afe920460e5d2236f217027cce37ed7bf5)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Andreas Müller
b25a61d8c7 gsettings-desktop-schemas: upgrade 3.28.1 -> 3.32.0
* build with meson
* dependency intltool-native can go - they moved gettext only translation
* put gnome inherits together

(From OE-Core rev: e965b72c08fc94c7c6dbfea36505400f3dbb2c53)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Martin Jansa
710a265831 glib-networking: add PACKAGECONFIG for openssl
* gnutls from meta-gplv2 isn't new enough for this version of glib-networking:
  meson.build:74:0: ERROR:  Invalid version of dependency, need 'gnutls' ['>= 3.4.6'] found '3.3.30'

* disabling gnutls PACKAGECONFIG isn't an option either:
  meson.build:131:2: ERROR:  Problem encountered: No TLS backends enabled. Please enable at least one TLS backend

* add an option to replace gnutls with openssl

(From OE-Core rev: 7fe82038105709a02a29d6b1359b9e6cd4e9dade)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-27 17:06:34 +01:00
Richard Purdie
06381a917e perl/modules: Add various missing ptest perl module dependencies
Whilst not complete, this resolves some module dependency failures being seen
by various lib*-perl ptests and in quilt.

(From OE-Core rev: 2706b396ef9699c560cded4384cbfc9d79beaa7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Richard Purdie
7e2d2a20bb m4: Add coreutils and diffutils dependency for ptest
The scripts use options not supported by busybox utils such as head and diff
so the full coreutils and diffutils utilities are needed.

(From OE-Core rev: f3f60e024a2718d18a68897d7f5ca5e4fbb96f61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Richard Purdie
85e8e30d7d libpcre: Add make dependency for ptest
The tests are run from a makefile so this dependency is needed.

(From OE-Core rev: 0fe3490b5c6ce731b705a5e40341350d64165a4d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Richard Purdie
547fdb1aaa openssh: Add sudo dependency for ptest
Without this we see test failures due to the sudo binary being missing.

(From OE-Core rev: b9e4db06dd95ce709a4a895014cc98fdd7df4624)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Richard Purdie
b91b4f43c9 bash: Fix bash-ptest dependencies
Bash's ptest needs glibc-utils (for locale), some extra locales for various tests
it uses options busybox doesn't support for some tools, hence coreutils and also runs
perl for some tests.

(From OE-Core rev: 7ce6f69e56ef7ccc0187722cd78728a6505073b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Richard Purdie
4649cc3c8e perl-rdepends: Add missing module dependencies
Adding these fixes the acl and attr ptests to work within minimal images.

(From OE-Core rev: d877a7b819e08c2d308ef544a849169c096ef68b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
4e08d31883 btrfs-tools: update to 5.1
(From OE-Core rev: f98a8e4b60f8bafd9921e4f1235fea197ae8a580)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
4b2deb0f48 epiphany: update to 3.32.2
(From OE-Core rev: d3c06e1e0859edab6de411d2c9e6d23104029d01)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
5dffb42612 webkitgtk: update to 2.24.2
Add a patch to address a missing format string error.

Drop the x86-specifc setting for GSTREAMER_GL as it is no longer needed.

(From OE-Core rev: e920e58af56d1d1279d396bfb4e8baf38605b6d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
71290d7131 usbutils: upgrade 010->012
(From OE-Core rev: 22a61a71daa7019e1b89ec5aabbecc0126e453aa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
783bf15e9d freetype: upgrade 2.9.1 -> 2.10.0
(From OE-Core rev: 663aec1e444ddc091c4937879ab224f7587e2016)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
7ea3cba306 acpica: upgrade 20190405 -> 20190509
(From OE-Core rev: 60f2db00702315446bfa0189e59529d74f371d07)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
971db70c0a gst-examples: upgrade to 1.16.0
Upstream has started to tag releases, so drop UPSTREAM_CHECK_COMMITS

(From OE-Core rev: 4df5e8c514a1a169664483505a512547ae68b81e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
c1db144015 bash-completion: upgrade 2.8 -> 2.9
Delete the deletion of files, as they are no longer included in bash-completion
(util-linux provides them).

(From OE-Core rev: 9f9846d975ca9cc863e1510e47a2d2ebb5573302)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
3cad5ae0fe python3-pbr: upgrade 5.1.3 -> 5.2.0
(From OE-Core rev: 414231e9cd75e4d845997b2c5d17d350034747b3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
173a16f931 linux-firmware: upgrade to latest revision
(From OE-Core rev: 643c3ae10fddbae339e47783d9bf1abf1209ce8d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
3d307b5739 x264: upgrade to latest revision
(From OE-Core rev: 12d58ae866a64ce0497a4f9ee906ba07cb04e48a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
159736c287 libsoup-2.4: upgrade 2.66.1 -> 2.66.2
(From OE-Core rev: ba8008e426fbf8417bf08e13393d62ea92669c77)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
648c8ad5bf glib-networking: upgrade 2.60.1 -> 2.60.2
(From OE-Core rev: cb91333aece799ef1d0e2f11a0ff95e60a24cb25)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
981fb45594 at-spi2-atk: upgrade 2.30.0 -> 2.32.0
(From OE-Core rev: 22f6cfe0409cfedafa67ef591287ece6c8f7ce3d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
84ef0b3033 at-spi2-core: upgrade 2.30.0 -> 2.32.1
(From OE-Core rev: a87ff44d6740990dae63d93d6500f5d616c36048)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
22ccbf7557 pkgconf: upgrade 1.6.0 -> 1.6.1
(From OE-Core rev: 83978add57bd5047109de2c1beb53ebdf4945f8b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
0aa2e9368c python3-pip: upgrade 19.0.3 -> 19.1.1
(From OE-Core rev: e5d6709f3d2da93dee740fd8ed6102ab80e8cbab)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
ccab390aef libxcrypt: upgrade 4.4.4 -> 4.4.6
(From OE-Core rev: 12efd701b9875bb955dca038ab67b7fec8fb21f4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
c96fa1105c lz4: upgrade 1.9.0 -> 1.9.1
(From OE-Core rev: 7c0d51db40a6130ee306381bc18a4a426810a66b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
6c94fa0e9f alsa-lib: upgrade 1.1.8 -> 1.1.9
(From OE-Core rev: 39e3b6bd4b7e9082d231116df4b4629b10215bb3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
cb8d6073c3 alsa-utils: upgrade 1.1.8 -> 1.1.9
(From OE-Core rev: 6937ef4bf460308613ff78a5653672793150dcf8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
caf65fd20a alsa-plugins: upgrade 1.1.8 -> 1.1.9
(From OE-Core rev: 167714c1786c32deef1b4e87059f71ad2fee08f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
fed980e7cb gawk: upgrade 4.2.1 -> 5.0.0
(From OE-Core rev: d90ee9a197a0fb3b7374d39d0f79fbea744a8e4e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
d8a760df4d systemtap: upgrade 4.0 -> 4.1
(From OE-Core rev: 3c87e898695bb53aa595a380fdac881c24bfd6b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
13bccc71d7 go: update 1.12.1->1.12.5
(From OE-Core rev: f9bdc86f5e313f46cca0c1e0d5419bc71672e002)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
3fd9f80470 nss: upgrade 3.43 -> 3.44
(From OE-Core rev: 57a6c7bfa326ec7d3c5b162821ac02649acdfc9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
c076bdc1ba python3-mako: upgrade 1.0.9 -> 1.0.10
(From OE-Core rev: d081fd6b04788da7ed8eb46c0bc79e725a9acb2c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
0b801cd317 atk: upgrade 2.30.0 -> 2.32.0
(From OE-Core rev: 7e2e6852691e8ac40424f73b46225cda907c6ab6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
084751c163 bison: upgrade 3.1 -> 3.3.2
(From OE-Core rev: adda007f4afe0d69fba5c2decf2e70d040d89e6d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
3fed044ba3 adwaita-icon-theme: upgrade 3.30.1 -> 3.32.0
(From OE-Core rev: 01b3218f227180c551e298e7a76fe43be5781b4f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:52 +01:00
Alexander Kanavin
9d386512a9 libdazzle: upgrade 3.32.1 -> 3.32.2
(From OE-Core rev: fe1e0651a42c1c1964338c0356318b2cdbe95fb1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Alexander Kanavin
8db637dfe5 createrepo-c: upgrade 0.12.2 -> 0.14.0
(From OE-Core rev: 1b75de0de748189b00caec12a27f5a9123c5c35e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Alexander Kanavin
9ddfe40619 libmodulemd: fix erroneous linking against v2 library when v1 was requested
(From OE-Core rev: f754a9bd0c0b53e449f66d792b5387de6a822865)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Alexander Kanavin
6e013c83bc libmodulemd: upgrade 2.2.3 -> 2.4.0
(From OE-Core rev: 23361e76e3c22aff62b2d61fe09858981b19424c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Alexander Kanavin
b0706f3912 librepo: upgrade 1.9.6 -> 1.10.2
(From OE-Core rev: 35238268a6941322dc6f0fb795b1c74e7c5163ed)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Adrian Bunk
a4ed192338 ofono: Fix another race condition during the build
(From OE-Core rev: 1e4b8c0f60edad14a422dc22b42bd6618695ce85)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Adrian Bunk
bcf0c5b7a2 ofono: Use external ell instead of an internal copy
(From OE-Core rev: 3683f524dc60325b3f3b1bc3a32e70a41064ae03)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-22 07:24:51 +01:00
Jean-Marie LEMETAYER
a35abe31dc bitbake: bitbake: fetch2/npm: fix npw view parsing
Fixes [YOCTO #13344]

When parsing manually the 'npm view --json' ouput, an extra closing
brackets in a JSON string can leads the fetcher to fail with a
JSONDecodeError exception.

This commit use the JSON parser to extract:
 - The last object in the returned array if there are multiple results.
 - The returned object if there is only one result.

(Bitbake rev: 3d319c79981811d3cfd4732885057db4fd5afcc2)

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:34 +01:00
Mark Hatle
a1c1f3f7c5 bitbake: svn.py: Stop SVN from directly pulling from an external layer w/o fetcher
Add a new option to the svn fetcher url "externals=allowed".  This will allow
a user to enable svn co w/ externals.  However, this does avoid the fetcher,
network access and mirror systems.

By default we no longer allow externals in the checkout.  This ensures a
deterministic download.  The system does attempt to identify SVN repos that
have externals enabled, and will warn the user.  It is up to the user to
determine if these are necessary for the recipe.  They may disable the warning
by adding "externals=nowarn" to the url.

In the future we would like to parse this list and see if the items are already
in the SRC_URI for that recipe, but with SVN being in limited use these days
that extra work is likely not worth the trouble.

Add test cases that generated a local SVN tree, with an external source
set to github bitbake in svn format.  One test case checks that externals are
ignored, and one checks that they in downloaded.

(Bitbake rev: bf53f07c3647e57d8452a7743a2b04bcb72c80d6)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:34 +01:00
Chen Qi
937e67f95e libxfont2: set CVE_PRODUCT
(From OE-Core rev: 066fa83eeaaa34e5b901dc4b82ad607d0fa78f0b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:34 +01:00
Martin Jansa
e5f6e0853e python: add a fix for CVE-2019-9948 and CVE-2019-9636
(From OE-Core rev: 9d23b982fa4e0290761b3d15f6959779fed72ad6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:34 +01:00
Randy MacLeod
95a4691d15 valgrind: add 'file' to ptest depends
to avoid:
   ./run_openmp_test: line 12: /usr/bin/file: No such file or directory
   SKIP: drd/tests/omp_matinv
when using core-image-minimal to run valgrind ptests.

(From OE-Core rev: f68ba3e49a8a8da7e48cd3fecf1dd3fc39219a40)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:34 +01:00
Randy MacLeod
706a31f326 valgrind: Make ptest timestamps copasetic
Avoid ptest failures due to .diffs such as
cachegrind/tests/ann1.post.diff:
   @ Source file 'a.c' is more recent than input file 'cgout-test'.
   @ Annotations may not be correct.
by using:
   touch a.c -r cgout-test

(From OE-Core rev: 531cea018fa440fc408e1e061794978a502ad4ba)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:34 +01:00
Alexander Kanavin
6818506b0a libpcre2: upgrade 10.32 -> 10.33
License-update: copyright years

(From OE-Core rev: 833a08d44399baba5059040148f8a33363285025)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Adrian Bunk
7c64bbcf70 socat: Remove workaround for musl issue now fixed upstream
(From OE-Core rev: f9c6556ade1dc4e03aa83e86402f77c9eef662e7)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Ross Burton
bef89e6a8b insane: add sanity checks to SRC_URI
The SRC_URI almost definitely shouldn't be using ${PN}, and GitHub */archive/*
tarballs are dynamically generated so the checksums will change over time.

Detect both of these, and emit a QA warning if found.

(From OE-Core rev: 21f84fcdd659544437fe393285c407e1e9432043)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Adrian Bunk
609f77ae3b icu: Remove workaround for musl issue fixed upstream 2 years ago
(From OE-Core rev: d1070bcf4358a63c384f2baaddbbf04fe3ac1130)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Alistair Francis
29578a1525 gnu-config: Update to latest SHA
(From OE-Core rev: bf9a3459ab7b1d6b4d6588204418b11dd8334cd2)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Alistair Francis
ebedc1511d gdb: Upgrade from 8.2.1 to 8.3
Bump GDB and change the oeqa selftest expression to allow ptests to
pass.

(From OE-Core rev: f31986ed9f82c48834b2f25979c93697228acbf7)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Adrian Bunk
1df11198ee libnss-mdns: Stop trying to build for musl
There's no point in building an NSS module for a C library
that doesn't support NSS.

(From OE-Core rev: e3197eeaf352cb5c578a675ce2a07881fad597e6)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Alejandro Enedino Hernandez Samaniego
4b26e42b97 python-numpy: Avoid installing copy of f2py script
Both python-numpy and python3-numpy try to install the file:

${D}/${bindir}/f2py

which causes an error during do_rootfs since the package manager complains about that.

The numpy packages create basically copies of f2py script with the following names:
f2py (on both)
f2py2 (on python 2)
f2py2.7 (on python 2)
f2py3 (on python 3)
f2py3.7 (on python 3)

Remove the copy of f2py from python-numpy in favor of using the one from python3
to avoid installation issues at do_rootfs().

(From OE-Core rev: a625899c4de4f8ec030ade09686f0c7c0e624a50)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Tom Rini
621bf4ef68 vim: Rework things so vim adds features not vim-tiny removes
Now that we have a common inc file for both vim and vim-tiny move a few
bits of logic out of vim.inc and in to vim_$VER.bb so that vim adds
things rather than vim-tiny removes them.

Suggested-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: a9f62ea2c380375c749a28405708bfdb7754f51f)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Alexander Kanavin
6d401d808a vim: split the common part into vim.inc
Previously vim-tiny would include the vim recipe wholesale;
this meant that they had to be upgraded in a single transaction
which devtool cannot cope with. This thwarted the latest AUH
run in particular.

(From OE-Core rev: 55cc8c6dbef8de240f63e7274a2beaf421124b58)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Adrian Bunk
3b06404e30 systemd: Some upstreamable musl patches have been upstreamed
(From OE-Core rev: 71f99af0d05656a4546e691f6b6e876776c22b13)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Adrian Bunk
ca3de9df8a nss-myhostname: Stop trying to build for musl
There's no point in building an NSS module for a C library
that doesn't support NSS.

(From OE-Core rev: ec528bd5edf5f85abdaef25ff73a282f5c6ce2c4)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Mariano López
e42d45925d util-linux: Add missing ptest dependencies
There are some missing dependencies for the util-linux-ptest package
that causes inconsistencies in the package tests run in different images.

The kernel module in RRECOMMENDS is not build at this time, it needs
more testing and check if the configuration change can be part of the
yocto-kernel-cache repository.

(From OE-Core rev: 56f09cb4873f9de8efb44c640b6c9f1db8b721b7)

Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Jean-Marie LEMETAYER
e90cd2ed61 npm: remove some temporary build files
Fixes [YOCTO #11028]

When dealing with node modules which use "node-gyp" [1] to build native
addons to node. Some temporary build files stay in the image: object
files, static library files, dependency files, ...

This commit does not keep only the required files, but remove the files
which can leads to QA issues (staticdev with static library files).

[1]: https://github.com/nodejs/node-gyp

(From OE-Core rev: bac9075f51f6acba2fcfbe9f79f97f5171186d9c)

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Jean-Marie LEMETAYER
a34d0d539e npm: fix node and npm default directory conflict
Fixes [YOCTO #13349]

When dealing with node modules which have declared "bin" files [1], npm
will create a link in '/usr/bin' with a relative link to
'../lib/node_modules/<module bin file>'.

The commits e9270af429 and
2713d9bcc3 explicitely use
'/usr/lib/node/' as install directory, but does not care about the "bin"
symbolic linked files.

In order to keep valid links, and to keep it as simple as possible, the
path '/usr/lib/node_modules/' is used as install directory for npm. And
a symbolic link is created to have a valid '/usr/lib/node/' path, needed
for node.

[1]: https://docs.npmjs.com/files/package.json#bin

(From OE-Core rev: 2d72007deea7ed529f82b8a6e67e2715dd0a0dca)

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Jean-Marie LEMETAYER
eecba41822 npm: get npm package name from npm pack
Fixes [YOCTO #12534]

When using npm packages with exotic names, like "JSONSelect" (with
uppercase) or "@angular/cli" (with at sign and slash), there are three
different names:
  - the recipe name ("jsonselect" or "angular-cli")
  - the npm module name ("JSONSelect" or "@angular/cli")
  - the npm pack name ("JSONSelect" or "angular-cli")

The commit fa9c077068 allow to have
different recipe name and npm module name by setting the NPMPN variable.

This commit allows to have yet another npm pack name. The pack filename
is now dynamically retrieved from the 'npm pack' command.

(From OE-Core rev: b6ffa59d03fbf53d1681fce5f8c3c1f163cf9923)

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-21 12:56:33 +01:00
Adrian Bunk
797916f93a ofono: upgrade 1.25 -> 1.29
Remove patch applied upstream.
Backport two fixes for build failures

(From OE-Core rev: 8a6ef2044c912d58f3d3bfed614363799a341110)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Marco Felsch
737d9aa3c0 mesa: fix imx gallium driver PACKAGECONFIG option
Since commit [1] the imx-drm driver is covered by the generic kmsro
driver.

[1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
	41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2

(From OE-Core rev: 2ac1d7401aa99c49c73d799ac73868f73d9b586a)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Alexander Kanavin
701da54231 qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium
This matches what the qemux86_64 is currently using, and
will allow testing the instructions added in the meantime;
particularly various SSE extensions are now enabled.

(From OE-Core rev: f3b1e577ec94c849d0354f5679257f02ef4e4fe9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Alexander Kanavin
647f065f80 packagegroup-cross-canadian: repackage when TUNE_ARCH changes
(From OE-Core rev: 11c78268a2e9d333d615ce01b5a5bdc3d5546850)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Adrian Bunk
15070290a1 systemd: Disable idn properly for musl instead of NI_IDN workarounds
(From OE-Core rev: e9d132c25c7e1feca1d078b0891c0f4baba70f81)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Ross Burton
22943d76e8 glib-2.0: add missing libgcc dependency to glib-2.0-ptest
The thread tests need libgcc for pthread_cancel to work.

(From OE-Core rev: 0563003fea0ff432e61f7361fa8c1524ffbc925a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Martin Jansa
0998948714 tcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross
* otherwise P_V might be set for i686 and PN and RECIPE_MAINTAINER for i586
  from bitbake -e lib32-gcc-cross-i686:

  PREFERRED_VERSION_lib32-go-cross-i686="1.12%"
  RECIPE_MAINTAINER_pn-go-cross-i586="Khem Raj <raj.khem@gmail.com>"

  $ git grep 'go-cross-${'
  meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>"
  meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
  meta/recipes-devtools/go/go-cross.inc:PN = "go-cross-${TUNE_PKGARCH}"

* actually is there a reson to use TUNE_PKGARCH here (unlike other cross/canadian-cross recipes
  which are using TARGET_ARCH/TRANSLATED_TARGET_ARCH)?

(From OE-Core rev: 80dc146a5a4cd8772a49e4fca56eb5467cdb1451)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-17 07:07:28 +01:00
Richard Purdie
ff472ffbb0 apr/apr-util: Add ptest dependency on libgcc
Avoid:

libgcc_s.so.1 must be installed for pthread_cancel to work

when running the ptest without libgcc.

(From OE-Core rev: 791bb6f1c95552a44660bb78c522fd8ecc4e6384)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Richard Purdie
fd87837e36 gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packages
This solves ptest runtime errors where make was missing causing the ptests
to fail.

(From OE-Core rev: 2ade2c53388c92d36b8b30dae30670fd96ca4821)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Adrian Bunk
11fd8dc6ff musl: Add TEMP_FAILURE_RETRY from glibc
Patch it into musl instead of patching all users
(currently elfutils and next ofono).

(From OE-Core rev: 0c68c621d3b8690e3a346170006f75b032511a8a)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Martin Jansa
f91866aaf1 grub-efi-cfg, systemd-boot-cfg: use MACHINE_ARCH
* both use KERNEL_IMAGETYPE variable which is MACHINE specific
* fixes:

  === Comparing signatures for task do_configure.sigdata between hammerhead and mako ===
  ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako
  basehash changed from 710332f3ec15670302dd690708730c9e418d53790ce36d6a91b049ae4f7069b1 to c9a46e58b4634b5fd47d20683f8320e15f5c4cb7628e3a62ed97d8528d7aabd2
  Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'

  ERROR: systemd-bootconf different signature for task do_configure.sigdata between hammerhead and mako
  basehash changed from 2abbaf6d7760696fbf1ff5df5705239b475ccbf6f0c831fc4031984c0ce0e9f2 to 24f1e7886dee02b04bc180acc1c946ad82ce842655e5a5f4a8006f4a8490f985
  Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'

  detected with:
  openembedded-core/scripts/sstate-diff-machines.sh --targets=world --tmpdir=tmp-glibc/ --analyze --machines="hammerhead mako qemux86"

(From OE-Core rev: 90a47da8c50da49ecaf0e2786dc4d9a78c61189e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Liwei Song
06abb513ec mdadm: install the systemd service through Makefile
The original mdadm service may include variable like BINDIR,
It should use the real value of it, since the install method
"install-systemd" in Makefile can easily do such work, so don't
install it in bb file manually, use "make install-systemd" to
install all the service of mdadm.

(From OE-Core rev: be24f1dc995f7a996abfa551abea74f06de19ae6)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Haiqing Bai
15d400f1e2 sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option
If 'cron' is added into PACKAGECONFIG, for sysvinit, the related
cron scripts will be installed; for systemd, the services of
data collect and summary will be installed.

(From OE-Core rev: 3ee977629331843cc811b6571d13fa02f5593a10)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Tim Orling
479c981d45 libtest-needs-perl: upgrade 0.002005 -> 0.002006
Change SRC_URI to https://cpan.metacpan.org

License-Update: Lines moved further down in README.

Upstream release notes:
0.002006 - 2019-04-04
  - added additional references to related modules in pod
  - various internal cleanups
  - fix backwards compatibility with earlier versions of version.pm
  - fix output from test script when tests fail
  - added note about RELEASE_TESTING to test message on forced failures

(From OE-Core rev: bec77f5d48055bd30ee69acb43d67c2d05180f7b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 16:35:12 +01:00
Mark Hatle
7a73a435e0 bitbake: gitsm: Fix a bug where the wrong path was used for the submodule init
Because we are trying to avoid network activity and use our own fetcher,
the system emulates the behavior of 'git submodule init'.

git submodule init uses the .gitmodules file, where typically the module
name and path are the same.  However, in this case the module name and
path (in the tree) were different. i.e.:

[submodule "edgelet/hsm-sys/azure-iot-hsm-c/deps/azure-c-shared-utility"]
        path = edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared
        url = https://github.com/Azure/azure-c-shared-utility.git

Previously the code assumed the 'path' was both the checkout location
under .git/modules, as well as the path to extract the components.  This
proved to be incorrect as the .git/modules path needs to match the submodule
'name'.  This causes the components that were fetched to be initialized in
the wrong location, which later caused the 'git submodule update' process to
skip not properly initialized modules.

A test case was added for this specific case to ensure a regression does
not appear in the future.

(Bitbake rev: fd27ab60d33553dba13de39394edaaac04e446b3)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:17:15 +01:00
Khem Raj
d3abad1504 epiphany: Do not bypass initialization of variable with __attribute__((cleanup))
This is reported with clang e.g.
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:391:5: error: cannot jump from this goto statement to its label
    goto out;
    ^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup))
  g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
                   ^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:385:5: error: cannot jump from this goto statement to its label
    goto out;
    ^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup))                                                                                                                     g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
                   ^

Ensure that the initialization is deterministic for goto to work reliably

(From OE-Core rev: 19e4c1f63abc82cf5f8d1eaac28d8fd5d09bf9d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:16:51 +01:00
Khem Raj
d3adbcf504 mmc-utils: Fix build with clang
clang has more warnings to report, lets fix them

(From OE-Core rev: 44b06d940bc3d623c57df0b06092548912a903c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:16:50 +01:00
Ming Liu
f090270118 dhcp: fix a NSUPDATE compiling issue
This patch fixes a following issue:
| omapip/isclib.c: In function 'dns_client_init':
| omapip/isclib.c:356:18: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
|   if (dhcp_gbl_ctx.dnsclient == NULL) {
|                   ^
| omapip/isclib.c:363:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
|            &dhcp_gbl_ctx.dnsclient,
|                         ^
| omapip/isclib.c:364:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local4'
|            (dhcp_gbl_ctx.use_local4 ?
|                         ^
| omapip/isclib.c:365:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local4_sockaddr'
|             &dhcp_gbl_ctx.local4_sockaddr
|                          ^
| omapip/isclib.c:367:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local6'
|            (dhcp_gbl_ctx.use_local6 ?
|                         ^
| omapip/isclib.c:368:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local6_sockaddr'
|             &dhcp_gbl_ctx.local6_sockaddr

(From OE-Core rev: e36076b6feca481b7a7a44b1c03c4cfca2dd8c48)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:16:50 +01:00
Ming Liu
ea8755459f kernel.bbclass: adjust a condition checking
do_bundle_initramfs does not have to depend on
${INITRAMFS_IMAGE}:do_image_complete if INITRAMFS_IMAGE_BUNDLE is not
set.

(From OE-Core rev: 6676411fccff2d331878e4ca1f9411aafb056a80)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:16:50 +01:00
Fabio Berton
e477157087 mesa: Convert recipe to use meson build system
- Remove all non related meson patches
  - Change radeon driver to r100
  - Add python3-mako-native gettext-native to DEPENDS

Based on https://patchwork.openembedded.org/patch/158748/

Alex: added a patch to restore glx-tls option, which
addresses the musl runtime issue.

(From OE-Core rev: c72b6d46d392bfbcf54154f43663a7a8ada8c567)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:16:50 +01:00
Zang Ruochen
9095dc153a libinput: Upgrade 1.13.1 -> 1.13.2
Upgrade from libinput_1.13.1.bb to libinput_1.13.2.bb

(From OE-Core rev: d9dae5cc431c293086c6fab20c3dfddc02614d11)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:16:50 +01:00
Adrian Bunk
8815fd4bea poky-tiny.conf: Remove the removed irda feature from a comment
(From meta-yocto rev: 8eccad46b00c3deef353f864de4a6a3b790a0e63)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-16 09:14:21 +01:00
Scott Rifenbark
a015ed7704 ref-manual: Added "npm" information to the SRC_URI variable.
(From yocto-docs rev: 644cf94333ef289e9d0719f46b76f712f4807573)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 21:54:15 +01:00
Scott Rifenbark
820ebc43d8 overview-manual: Updated SMC section to link to fetchers
Fixes [YOCTO #10098]

I did some re-writing here and also linked over to the
"Fetchers" section, which is in the BitBake User Manual.

(From yocto-docs rev: a2ba04bcf13dd1c68cba5a79ae9e7d4c8fbcdf59)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 21:54:15 +01:00
Scott Rifenbark
9a5f7ae7d9 bitbake: bitbake-user-manual: Added npm to other fetcher list.
Fixes [YOCTO #10098]

(Bitbake rev: 5fb0fb71ae5bda647c45f07aac63084575ed6b39)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 21:54:02 +01:00
Ross Burton
ec408167ae glib-2.0: fix last failing ptest
Upstream glib don't really actually test the test suite with modern glibc and
all the locales present so we're finding a number of bugs.  Backport another fix
from upstream to fix the test data with modern glibc.

(From OE-Core rev: b2832df86b5218954c63b01595620fe8cf7ec921)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Richard Purdie
be2cb32f53 ptest: Add RDEPENDS frpm PN-ptest to PN package
Many different ptests are breaking as they assume that ${PN}-ptest
depends on ${PN}. It doesn't currently but should. If we fix this, many
different ptests start passing when they previously failed.

It does depend on fixing an issue in the dbus-test recipe which is done
in the preceeding patch (mentioned in case this gets backported).

(From OE-Core rev: b47194b57d94260b4e6438c5bf74914027f0b520)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Richard Purdie
a2084a0749 dbus-test: Improve ptest dependencies dependencies
The dbus-test package is empty, move its dependencies to the ${PN}-ptest
package. Also ensure that it doesn't depend on the empty ${PN} package
which is about to start causing image failures in the following commit.
In this case the correct dependency is dbus itself.

(From OE-Core rev: db4ef506b6b86e62a5ee1cbea8f12f97615dd0b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Randy MacLeod
3fc20fcef4 valgrind: fix call/cachegrind ptests
Use the *_annotate executables from ${bindir}

Actually install cachegrind/tests/a.c since it is used by
the call/cachegrind/tests/ann[12].vgtest files.

With this change and the previous commits, the ptest results
on qemux86-64 when invoked with:
    runqemu qemux86 kvm nographic slirp qemuparams="-m 2048"
are:

=== Test Summary ===
TOTAL: 159
PASSED: 149
FAILED: 1
SKIPPED: 9

Only drd/tests/pth_detached3 remains to be fixed.

(From OE-Core rev: 7fc21775e62fddd6620d49a6cf00ca914ba6b4ba)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Randy MacLeod
5ee06716de valgrind: adjust test filters and expected output
Skip two filters in filter_xml_frames since they
are intended to filter filesystem paths under '/usr' that
vary from platform to platform. In the ptest case
for Yocto's valgrind, the ptest executables are placed under:
   /usr/lib/valgrind/ptest
and if these frames are filtered out, then several 'drd' tests fail
the comparision between expected and actual output.

Also adjust the std_list expected output to agree with that
produced when the --yocto-ptest option to vg_regtest is used.

(From OE-Core rev: 38cc663b69ec96ae1470f040f7dcb05e816deb2e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Randy MacLeod
ac087b259e valgrind: update the ptest subdirs list
Split the list into one directory per line.
Sort the list alphabetically.
Add the gdbserver_tests directory to get the 'gone' executable
which is needed by:
    memcheck/tests/gone_abrt_xml.vgtest

(From OE-Core rev: eb7d907deb09f2658f69d8faa8e56e6a56510fca)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Richard Purdie
587990fa28 valgrind: Include debugging symbols in ptests
About half the ptests will fail if the executables deployed
as part of the ptest package are stripped. We therefore need
to add a dependency on the dbg symbols package and silence the
QA test which would complain about this since we really do want
it in this case.

(From OE-Core rev: 7d8407583033ea70039dd7e475c325efcf857c18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Randy MacLeod
eab20c9d50 valgrind: fix vg_regtest return code
(From OE-Core rev: ec7f0ba9bfd8a102e1ca6ab2f93bcb13fd819d95)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Richard Purdie
f8f972c072 core-image-sato-sdk-ptest: Tweak size to stay within 4GB limit
Adding the valgrind debug symbol information caused the genericx86-64 image to
overflow the 4GB boundary. Tweak the sizes to avoid autobuilder failures yet
leave enough space all the tests still run successfully.

(From OE-Core rev: fa24a5056acea6610e2ad1a1eb1e7425a3828979)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Martin Jansa
c10a9f72e3 perf: make sure that the tools/include/uapi/asm-generic directory exists
* before trying to copy unistd.h into it

* older kernels don't have uapi in tools/include and do_configure fails
  with:
  DEBUG: Executing shell function do_configure
  cp: cannot create regular file '.../perf/1.0-r9/perf-1.0/tools/include/uapi/asm-generic/unistd.h':
  No such file or directory
  WARNING: exit code 1 from a shell command.

* tools/include/uapi was added in kernel 4.8 with
  c4b6014e8b
  tools: Add copy of perf_event.h to tools/include/linux/

(From OE-Core rev: 5fdb96f4996856286c4f72b93d31b7990ceed8aa)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Douglas Royds
3de77b33ee distutils: Tidy and simplify for readability
Line lengths, remove duplication, and use the PYTHON variable provided by
pythonnative.bbclass.

Coincidentally fixes a dormant defect in distutils3.bbclass in which we were
sedding for STAGING_BINDIR_NATIVE/python-python3/python3.

(From OE-Core rev: 7b8dd17c65e2d7d163f452833f21469918bf222e)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Adrian Bunk
2537269bf5 Remove irda-utils and the irda feature
IrDA support was removed in kernel 4.17.

(From OE-Core rev: 9609256bfcfbb3860f68f1d8e553e9dd051ad218)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Chee Yang Lee
92cc79f4e6 wic/bootimg-efi: replace hardcoded volume name with label
volume name should refer to --label in .wks.
Replace the hardcoded volume name  with label.
set "ESP" as default name when no lable specified.

(From OE-Core rev: 5621aceaf39ef0dc097b16c83e73b9882c987a7c)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Alexander Kanavin
c7770d5c1c packagegroup-self-hosted: drop epiphany
Originally a web browser was added to build-appliance-image to
enable Hob's use cases that involve opening a URI; with Hob long gone,
a web browser is no longer necessary to have in build-appliance-image.

This will also address the out-of-resources problem when
build-appliance-image builds itself in a VM, as a test case.

(From OE-Core rev: e354b33d4aa16a302e1972d87755b654db3d54fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Oleksandr Kravchuk
38da2746ad ell: update to 0.20
Changelog:
- Fix issue with DHCP client and handling renewing state
- Fix issue with DHCP client and handling rebinding state
- Fix issue with DHCP client and recommended retry timeouts
- Fix issue with Generic Netlink and family discovery

(From OE-Core rev: ebb5b261230dbb2cc13093174960613cfdaf20b4)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Hongxu Jia
d0d0d3e20f oeqa/targetcontrol.py: fix qemuparams not work in runqemu with launch_cmd
As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.

Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();

So we set qemuparams as a parameter in runqemu, the fix makes it work

(From OE-Core rev: 4f0a576fd5b9373cff4ca5ac92ec6af29499df89)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Adrian Bunk
a98ac2a39b openssl: Remove openssl10
OpenSSL 1.0 has been replaced by 1.1, and it would be harder
to security-support after the upstream EOL at the end of 2019.

(From OE-Core rev: 0f7ffcaa18db7bc27f30c994aafbb9f4f8b2ae7e)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-15 17:53:29 +01:00
Richard Purdie
66ef365ba6 oeqa/target/ssh: Replace suggogatepass with ignoring errors
We continued to see encoding problems with ssh commands run in oeqa. After much
research the conclusion was we should use ignore the errors since some occasional bad
locale encoding is better than the unicode decoding issues we were seeing which crashed
large parts of tests.

(From OE-Core rev: b3bae8aba5b897c1afcc8bf4ad8929251812d2b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-13 20:50:05 +01:00
Breno Leitao
8e0c4eebab weston-init: Fix WESTON_USER typo
Commit 837c786d600ba69('weston-init: Add support for non-root start') added a
typo that uses WEST_USER instead of WESTON_USER variable when chwon'ing the
XDG_RUNTIME_DIR directory. Since WEST_USER is not defined, it will `chown
:$WESTON_USER file`, which will work, but that is not 100% correctly and should
be fixed.

This patch basically fix the typo and now the file will be chown'ed to the
WESTON_USER user.

(From OE-Core rev: 1b9a2374be8723de654afa2c59a8b10266e5d8df)

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-13 20:50:05 +01:00
Hongxu Jia
6f9da27c76 groff: imporve musl support
Drop local fix, backport upstream gnulib fix and translate to tarball groff.

Suggested-by: Adrian Bunk <bunk@stusta.de>
(From OE-Core rev: 5a33682c907daf359d3f88d96cc152d37e13a915)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-13 20:50:05 +01:00
Kai Kang
2bacc72553 webkitgtk: fix compile error for arm64
It removes function JSC::AssemblerBuffer::data() for ARM64 in commit
https://trac.webkit.org/changeset/236589/webkit. But it is required by
Cortex A53 from https://trac.webkit.org/changeset/175514/webkit and
fails to compile for arm64:

| .../tmp/work/aarch64-poky-linux/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/JavaScriptCore/assembler/ARM64Assembler.h:3769:100: error: 'class JSC::AssemblerBuffer' has no member named 'data'
|     if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))

Not set WTF_CPU_ARM64_CORTEXA53 for arm64 to fix the failure.

(From OE-Core rev: 754baa7ccc8afad300f1a391469b6b428e37f096)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-13 20:50:05 +01:00
Richard Purdie
ff9d4e893c openssh: Avoid PROVIDES warning from rng-tools dependency
Avoid the warning:

WARNING: Nothing RPROVIDES 'nativesdk-rng-tools' (but virtual:nativesdk:/home/pokybuild/yocto-worker/build-appliance/build/meta/recipes-connectivity/openssh/openssh_7.9p1.bb RDEPENDS on or otherwise requires it)

(From OE-Core rev: f93f026212ebc28fce66682cdb995e061586df45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
7e4ca0f722 ghostscript: 9.26 -> 9.27
- Rebase ghostscript-9.02-genarch.patch

- Drop backported CVE patches

(From OE-Core rev: 62510fc82a8eee19bfc51d7b5bc1c6f2aec3825b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
311f07ebe5 libxml2: upgrade 2.9.8 -> 2.9.9
- Drop backported fix-CVE-2017-8872.patch,
  fix-CVE-2018-14404.patch and
  0001-Fix-infinite-loop-in-LZMA-decompression.patch

(From OE-Core rev: dc51f92b2a6f2439fa93b9b0c1d8c4c13e884813)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
66d67b818a groff: upgrade 1.22.3 -> 1.22.4
- Drop groff-1.22.2-correct-man.local-install-path.patch and
  0001-Unset-need_charset_alias-when-building-for-musl.patch

- Inherit bbclass pkgcnofig to fix `undefined macro: AC_DEFINE'
  ...
  | configure:20010: error: possibly undefined macro: AC_DEFINE
  ...

- Use autotools-brokensep to replace autotools to workaround failure
  caused by out of tree
  ...
  | rm -f lib/alloca.h-t lib/alloca.h && \
  | { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  |   cat ../groff-1.22.4/lib/alloca.in.h; \
  | } > lib/alloca.h-t && \
  | mv -f lib/alloca.h-t lib/alloca.h
  | /bin/sh: line 4: lib/alloca.h-t: No such file or directory
  | Makefile:10407: recipe for target 'lib/alloca.h' failed
  ...

- Add `--without-doc' to not use target groff to generate doc at build time,
  since upstream commit [cfe916e Support of configure option to build the
  documentation.]

- Remove groff depends groff-native, and add DEPENDS bison-native

- Add 0001-fix-shebang-for-taget.patch

- Add 0001-support-musl.patch

(From OE-Core rev: 70c2364cae3aad62877e0267d840ea3567d3d1ea)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
8e7b9685d2 subversion: upgrade 1.11.1 -> 1.12.0
- Backport a patch to fix build failure while APR 1.7.0
...
checking for apr_int64_t Python/C API format string...
configure: error: failed to recognize APR_INT64_T_FMT on this platform
...

- Rebase disable_macos.patch and serfmacro.patch

License-update: no change, declare two new added file
* in build/ac-macros/ax_boost_base.m4
* in build/ac-macros/ax_boost_unit_test_framework.m4

(From OE-Core rev: 68ae5e624642218e7e01805c096da09098a8706f)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
0ac1bb797a gpgme: upgrade 1.12.0 -> 1.13.0
- Revert gpgrt-config support which oe-core does not support it

- Rebase 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch
  and 0001-pkgconfig.patch

- Tweak LANGUAGES, since upstream auto check the version of python rather
  than specify option
  [ff6ff61 python: Auto-check for all installed python versions.]

License-update: SPDX identifiers site and formats
[8d91c0f Add SPDX identifiers to most source files]
"s/LGPL-2.1+/LGPL-2.1-or-later/"
"s#https://www.gnu.org/licenses#https://gnu.org/licenses#"

(From OE-Core rev: 991d374edd6fc66400dad0c54f007bfaaa46e47a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
91227184b5 ncurses: fix incorrect UPSTREAM_CHECK_GITTAGREGEX
The upstream git tag has a `upstream/' prefix, such as:
>>> import re
>>> pattern = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)"
>>> string = "upstream/6.1+20181013"
>>> result = re.match(pattern, string)
>>> result['pver']
'6.1+20181013'

(From OE-Core rev: 50c872f402656e192d47b7a64e003f345227e55c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
777b33a77c bash: upgrade 4.4.18 -> 5.0
- Rebase build-tests.patch and execute_cmd.patch to 5.0

- Drop 0001-help-fix-printf-format-security-warning.patch
  and pathexp-dep.patch, upstream has fixed them in commit
  [d233b48 bash-5.0 distribution sources and documentation]

(From OE-Core rev: db044235e72a1519a081c4f6541f7d7cfe70d49f)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
217d4d5660 man-db: upgrade 2.8.4 -> 2.8.5
Upstream shipped a systemd service in the following commit
[bc52248 Ship a systemd timer for daily DB maintenance]
Backward compatible, disable it by default

(From OE-Core rev: f5a5f7e9a45fe4124aba0fece4656a9706b83342)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
642bb5597d man-pages: upgrade 4.16 -> 5.01
(From OE-Core rev: 6eee866b015be0b0103ad94cb5b5e9394b612213)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Hongxu Jia
29ec9c5f32 apr: upgrade 1.6.5 -> 1.7.0
(From OE-Core rev: 6cbdecf8236153db202d938d0ab8a546852bd564)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Jacob Kroon
0c3d4bb2d8 base-passwd: Add kvm group
Although base-passwd in OE is somewhat outdated, upgrading
to a newer version is not going to solve eudev warnings about
missing groups during boot; input/shutdown/kvm are still not
listed in groups.master. The reason for this is that
Debian uses systemd, which will automatically create
missing groups(systemd-sysusers). In a sysvinit+eudev
configuration you instead get a warning printed to
the console:

  udevd[<pid>]: specified group 'kvm' unknown

(From OE-Core rev: 76caed136b819522b908a2bee7b81103bd2ea7e4)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Ross Burton
310eaf405f glib-2.0: add missing locales for the tests
Some tests are either failing or skipping due to missing locales.

(From OE-Core rev: a7e57e44fefcbc7ca377e310bb295c34faa6874d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Ross Burton
c90507824c glib-2.0: fix locale handling
A bug upstream resulted in broken locale handling with the new glibc we have, so
the test suite was failing.

(From OE-Core rev: 8331008bc5b8c97469301701e4bd899610989198)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 17:55:11 +01:00
Scott Rifenbark
00ff69a5bb dev-manual: Added cross-link to "Fetchers" section in BB manual.
Fixes [YOCTO #10098]

Inside the "Fetching Code" section we mention fetchers but have
no links for more information to the "Fetchers" section in the
BibBake User Manual.  I have added a link.

(From yocto-docs rev: 5224bb7b7a3c0f081b066a45865fd326aa068fc9)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:14:03 +01:00
Scott Rifenbark
cfc0211165 bsp-guide: More corrections to the BSP Kernel Recipe example
After reading this over, I needed to explicitly state the
*.bb and *.bbappend file names.  It is clear now.

(From yocto-docs rev: 901b76d9f94c33da15382068dc933d765cddade5)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:14:03 +01:00
Scott Rifenbark
10edc0b04e ref-manual: Updated PREFERRED_VERSION variable to use 5.0
I changed the PREFERRED_VERSION_linux-yocto example to use
the 5.0 linux-yocto kernel rather than the 4.12 version.

(From yocto-docs rev: 334554dd87f5372066d55246384ed5205aaf1f86)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:14:03 +01:00
Scott Rifenbark
693cbd17df bsp-guide: Updated the BSP kernel recipe example.
There were some issues with this.  The example stated using an
append file and the file was actually named as a regular
recipe file.  I fixed that.  Also, I updated the
PREFERRED_VERSION_linux-yocto variable from "4.12" to "5.0"
to be more up-to-date.

(From yocto-docs rev: 933a668ef73b417587b4a8091b834db220611bd6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:14:03 +01:00
Adrian Bunk
5b0c42e994 iproute2: Remove bogus workaround patch for musl
This patch worked around a problem in musl but caused
the following:

iplink_bridge.c: In function 'br_dump_bridge_id':
iplink_bridge.c:77:2: warning: implicit declaration of function 'ether_ntoa_r'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration]
  ether_ntoa_r((const struct ether_addr *)id->addr, eaddr);
  ^~~~~~~~~~~~

In the meantime upstream has already implemented a different
workaround for musl, so this patch can just be dropped.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:10:52 +01:00
Martin Jansa
17ad93ee40 kexec-tools: refresh patches with devtool
* to make it easier to rebase

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:10:52 +01:00
Kevin Hao
94181dac07 meta-yocto-bsp: Bump to the latest stable kernel for all the BSP
Boot test for all these boards.

(From meta-yocto rev: 3407018bc9d4e4660bba1b1a153815df4640de7e)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Alejandro Enedino Hernandez Samaniego
9f1b36f41d run-postinsts: Fix full execution of scripts at first boot
run-postinsts runs a given set of scripts during the first boot of the
device, when one of these scripts prints something to stdout (isnt
daemonized correctly), since stdout is not available at that time,
the script execution immediately returns with an error (exit_group()),
this error causes the script to terminate all threads within the process,
causing undesired behavior since the script might still had to execute
some other code.

Replace eval built-in with (), since () executes in a subshell,
even if one of the scripts exits, all threads of that process will only
be within that session, this ensures other scripts meant to be run are
still run afterwards.

[YOCTO #13266]

(From OE-Core rev: 706410c847ac9c89317d098de5d5c580736edbbb)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Michael Scott
25c91cf7e9 procps: update legacy sysctl.conf to fix rp_filter sysctl issue
The sysctl.conf file for procps is very outdated:
https://git.openembedded.org/openembedded-core/commit/?id=8a9b9a323f4363e27138077e3e3dce8139a36708
(circa 2014)

The origin of this file is hard to determine and due to it's age
is causing a routing issue when both wifi and ethernet are enabled.
This manifested during an update from thud -> warrior due to the
following:
- upstream change in NetworkManager during 1.16 cycle removes the
  dynamic setting of rp_filter sysctl when more than one interface
  is enabled:
  https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=b1082aa9a711deb96652e5b2fcaefcf399d127b8
- open-embedded updated to NetworkManager 1.16 in March 2019:
  https://git.openembedded.org/meta-openembedded/commit/meta-networking/recipes-connectivity/networkmanager?id=5509328af9e4fab267251456f4d6e7bd51df779a
- setting in legacy sysctl.conf sets rp_filter to 1 which blocks
  packets with different inbound and outbound addresses.

Documentation of rp_filter setting from kernel.org:

rp_filter - INTEGER
0 - No source validation.
1 - Strict mode as defined in RFC3704 Strict Reverse Path
    Each incoming packet is tested against the FIB and if the interface
    is not the best reverse path the packet check will fail.
    By default failed packets are discarded.
2 - Loose mode as defined in RFC3704 Loose Reverse Path
    Each incoming packet's source address is also tested against the FIB
    and if the source address is not reachable via any interface
    the packet check will fail.

This patch updates the sysctl.conf file to current which doesn't set
the rp_filter mode explicity (2 is the default).

NOTE: The kernel/pid_max=10000 setting has been commented out as this
may not be desired by default.

(From OE-Core rev: f0b5f56b101d98574f81decd9de76222e7f20603)

Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Richard Purdie
5a16dee75f oeqa/selftest: Automate manual pybootchart tests
Automate the current manual pybootchart tests. This includes a check
for the cairo dependency, skipping the test if appropriate.

Based on original patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: ff5370a381a4996b7da56aaaa7055f7a1786c823)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Mikko Rapeli
f3b8bea862 openssh: recommend rng-tools with sshd
Since openssl 1.1.1 and openssh which uses it, sshd
startup is delayed. The delays range from few seconds
to minutes and even to hours. The delays are visible
in host keys generation and when sshd process is started
in response to incoming TCP connection but is failing
to provide SSH version string and clients or tests time out.

In all cases traces show that sshd is waiting for getentropy()
system call to return from Linux kernel, which returns only
after kernel side random number pool is initialized. The pool
is initialized via various entropy source which may be
missing on embedded development boards or via rngd from
rng-tools package from userspace. HW random number generation
and kernel support help but rngd is till needed to feed that data
back to the Linux kernel.

Example from an NXP imx8 board shows that kernel random number pool
initialization can take over 400 seconds without rngd,
and with rngd it is initialized at around 4 seconds after boot.
The completion of initialization is visible in kernel dmesg with line
"random: crng init done".

More details are available from:

 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912087
 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572
 * https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=43838a23a05fbd13e47d750d3dfd77001536dd33
 * http://www.man7.org/linux/man-pages/man2/getrandom.2.html

(From OE-Core rev: 9b01375236e19e3366c58877c4154d7c71632984)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Adrian Bunk
4c4ccb0277 lttng-modules: upgrade 2.10.8 -> 2.10.9
Remove the backported patches.

(From OE-Core rev: c0a0590eed7b60c8da5a496169f2ab6f19f4f06f)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Kai Kang
4ed9d2b969 bitbake.conf: set NO_RECOMMENDATIONS with weak assignment
Set NO_RECOMMENDATIONS with weak assignment then it could be set a
default value somewhere else.

(From OE-Core rev: f88da482d74e9f7d7c5bfc164cca52950ab6615d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Adrian Bunk
33ed48fb26 ccache: upgrade 3.6 -> 3.7.1
Remove backported patches.
Switch to new download location.

(From OE-Core rev: 6e0f6a3433c314c870791ef75639a78c39a5f164)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Breno Leitao
837c786d60 weston-init: Add support for non-root start
This commit adds support for two variables (WESTON_USER and WESTON_TTY) that
would be passed to weston_launch. It allows starting weston as a non-root user.

(From OE-Core rev: 4e6ef156028cc48d21ff5b3f131bdb8882407395)

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Breno Leitao
f16d502f46 weston-init: Fix tab indentation
This patch simply fixes space and tab mixes. It converts space to tabs. This is
being done since I am going to change the code in the next commit and I do not
want to change more lines than it is required, thus, I am creating a commit
just to fix indentation, so I can create a cleaner patch later.

(From OE-Core rev: 82e97de432bfd553fb84b62666e2c860be2ecfeb)

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
He Zhe
b5ba1dcf2d systemd: Bump up SRCREV to systemd-stable top to include the fix for shutdown now hang
"shutdown now" makes systemd hang at the following line.
[  OK  ] Stopped Session c1 of user root.

It's already been fixed by 03cb25525423 ("socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP")

(From OE-Core rev: b8f175296905518d0222bd63bb44c93772afb8be)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Khem Raj
5c62059e1c gcc-9: Add recipes for gcc 9.1 release
Add maintainer entry for gcc-source-9.1.0

Delete entry for gcc-source-7.3.0

(From OE-Core rev: bbf32e24608cd9479cf26f52aa14a42411b418c5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Khem Raj
cd422bb07c libgfortan: Package target gcc include directory to fix
ERROR: libgfortran-9.1.0-r0 do_package: QA Issue: libgfortran:
Files/directories were installed but not shipped in any package:
  /usr/lib/gcc/x86_64-poky-linux/9.1.0/include
  /usr/lib/gcc/x86_64-poky-linux/9.1.0/include/ISO_Fortran_binding.h

(From OE-Core rev: 8493fe87e241bb7aeb9075683d2e44dd1e2bc334)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Richard Purdie
913ec73da4 tcmode-default: Add PREFERRED_VERSION for libgfortran
With the addition of gcc 9 recipes it highlighted there is no PREFERRED_VERSION
set for libgfortran and it should match the rest of gcc. Add this missing
PREFERRED_VERSION line to avoid mixing gcc versions in inadvisable ways.

(From OE-Core rev: 172dfdd62b012dc63f492d33239af209f83f4966)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Richard Purdie
4970590ecd oeqa/concurrenttest: Patch subunit module to handle classSetup failures
Currently setupClass errors were not being mapped back to the failing tests
and they were hence being marked as UNKNOWN and the test statistics were
inaccurate.

This is because whilst the errors were being encoded into the test results
stream, the decoder doesn't cope with an error outside a testStart event.

We patch in an addError handler to the outsideTest parser so that this
does get handled in a way similar to the non-concurrent case.

It would be nice if we didn't have to do this but there doesn't seem
to be any other way to fix this other than forking subunit.

We also make a minor change so another of our changes can cope with
tests without a start time.

(From OE-Core rev: 8f7352ed9c1a3e82689b842b7f87e469ebf2e48f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Richard Purdie
52f1b4050b oeqa/runner: Fix subunit setupClass/setupModule failure handling
The string format for subunit setupClass/setupModule failures is slightly
different, tweak the regex to correctly handle both cases.

(From OE-Core rev: 425fbba9348420df72de5c6292f50acaf2023d0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-12 09:04:26 +01:00
Richard Purdie
6172116954 oeqa/systemd_boot: Drop OETestID
Matching changes in OE-Core. drop OETestID.

(From meta-yocto rev: 58e50924e5fd0b3dae5ac3413c40f0f16a857b72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:32:34 +01:00
Lei Maohui
270b49d951 icu: Added armeb support.
Make icu support arm32 BE.

Upstream-Status: Pending

(From OE-Core rev: 244f2e5fb545dd40d020811799a6022e14468eeb)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Matthias Schiffer
ef5a902cf0 systemd: move "machines" symlinks to systemd-container
Move symlinks to the machines.target and var-lib-machines.mount units to
the systemd-container package, where the pointed at units are located as
well.

This avoids an implicit dependency of the systemd package on
systemd-container, which prevented the use of systemd without installing
systemd-container.

(From OE-Core rev: ae3c8d938c261c92ecf06e2d09f7e32bc117ceb8)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Peter Kjellerstedt
310a958fb3 systemd: Use PACKAGECONFIG definition to depend on libnss-myhostname
Rather than adding the dependency on libnss-myhostname to
RDEPENDS_${PN} if the myhostname PACKAGECONFIG is set, add the runtime
dependency to myhostname's PACKAGECONFIG definition.

(From OE-Core rev: e107feab1734d5751ea0d94ca6dbccc059709b55)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Alex Kiernan
541ff15c22 shadow: Backport last change reproducibility
The third field in the /etc/shadow file (sp_lstchg) contains the date of
the last password change expressed as the number of days since Jan 1,
1970.

Backport the upstream changes to honour SOURCE_DATE_EPOCH for build
reproducibility.

(From OE-Core rev: 4ad2cf5054618f2dd14fe40dac9aede66f2c0dd3)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Ying-Chun Liu (PaulLiu)
c99aa3eb43 uboot-sign: Fix u-boot-nodtb symlinks
When using u-boot-nodtb, the symlink didn't install correctly to the
${DEPLOYDIR}. This commit fixes this bug.

(From OE-Core rev: c4eddb65e2ddb61bf519b768fab1e131fb0c297b)

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Ross Burton
92290d3b70 patch: add minver and maxver parameters
Add minver/maxver parameters to limit patch application by comparing PV.

(From OE-Core rev: 3fac9f884ac6bcc0280e1bb5d0f0e397bb53678f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Paul Barker
b5dd016f29 gdb: Fix aarch64 build with musl
(From OE-Core rev: f178990495c773b4b36b1be6aafc2da158b76894)

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Alexander Kanavin
19204c8940 perl: update to 5.28.2
(From OE-Core rev: dfa407230a096adb588e9299a452ac1337ca9940)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Alexander Kanavin
9ddc7aa063 meson: update to 0.50.1
None of the backported patches actually made it into this release.

(From OE-Core rev: a443a765944797b2a62935fc7ea3a2dd827e3b1a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Mikko Rapeli
796b9089c5 oeqa/sdk: use bash to execute SDK test commands
The commands only work with with bash. If /bin/sh is
dash like in Debian, the command execution fails with
errors like:

Standard Output: /bin/sh: 5: export: --sysroot: bad variable name

and all SDK tests fail.

(From OE-Core rev: ba5bee46131bbb31efba766c4d29e5bf71c664a7)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Alex Kiernan
2a2f74a27d systemd: Restore mask and preset targets, fix instance creation
Ensure that anyone who sets SYSTEMD_AUTO_ENABLE_${PN} = "mask" (or
"preset") retains the previous behaviour. In addition fix "enable" so it
can (again) create instance units out of templates.

Remove over-zealous quoting of SYSTEMD_SERVICE_ESCAPED as it's already
safely escaped (and can be multiple arguments).

Reported-by: Paul Barker <paul@betafive.co.uk>
(From OE-Core rev: e9444649f49431a8e203e6e2009a1de05e505007)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:56 +01:00
Alex Kiernan
534731e7a7 systemd-systemctl: Restore support for enable command
Refactor so that SystemdUnit is its own class, then add support for the
enable command. This restores the ability of systemd.bbclass to create
instances using syntax such as:

  SYSTEMD_SERVICE_${PN} = "serial-getty@ttyAMA0.service"

(From OE-Core rev: 9ef6f326ad323b2687440b81b0a983cb3d86a3ab)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:55 +01:00
Alex Kiernan
7e5124a44c systemd: Default to non-stateless images
When creating images, for anything other than the explicitly stateless
case, touch /etc/machine-id so that the images can be booted without an
initramfs and with `ro` set on the kernel command line, otherwise system
refuses to start:

  [    7.222134] systemd[1]: No hostname configured.
  [    7.227266] systemd[1]: Set hostname to <localhost>.
  [    7.232622] systemd[1]: System cannot boot: Missing /etc/machine-id and /etc is mounted read-only.
  [    7.241750] systemd[1]: Booting up is supported only when:
  [    7.247362] systemd[1]: 1) /etc/machine-id exists and is populated.
  [    7.253752] systemd[1]: 2) /etc/machine-id exists and is empty.
  [    7.259757] systemd[1]: 3) /etc/machine-id is missing and /etc is writable.

If IMAGE_FEATURES includes `stateless-rootfs` then systemctl-native is
not run on the image leaving the image for population at runtime by
systemd.

(From OE-Core rev: c5fb399f5894c16cf8eeadd507dc38c29b0fd657)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:55 +01:00
Adrian Bunk
2278d8ef65 sysstat: inherit upstream-version-is-even
Currently a development version is being used.

(From OE-Core rev: ddc2baa8b7ef6ecd6ed450bb8b3ed986b6797d9f)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:55 +01:00
Richard Purdie
970b53370d oeqa/core/runner: Handle unexpectedSucesses
Instead of showing:
RESULTS - ptest.PtestRunnerTest.test_ptestrunner - Testcase 1600: UNKNOWN (32.30s)

map unexpectedSuccesses to PASSED and improve the way they're displayed. We
expect/allow ptest runner to fail but if it passes we should handle it correctly.

(From OE-Core rev: 7885939ca3dea9704185e93469fe515c17eb8017)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:55 +01:00
Richard Purdie
ffae400179 meta/lib+scripts: Convert to SPDX license headers
This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.

The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).

More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.

The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.

(From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:55 +01:00
Richard Purdie
c7592b0147 oeqa: Drop OETestID
These IDs refer to testopia which we're no longer using. We would now use the test
names to definitively reference tests and the IDs can be dropped, along with their
supporting code.

(From OE-Core rev: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-09 16:31:55 +01:00
Richard Purdie
c0dc72bad9 coreutils: Fix patch upstream status field
Should be Backport, not Backported

(From OE-Core rev: 728c6c43deff8a3259a1e0f3aef799bec9983090)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:36:21 +01:00
Kai Kang
254ab4a764 target-sdk-provides-dummy: resolve sstate conflict
It exists a situation that there is a common config file includes
multilib.conf but variable MULTILIBS is not set by default:

  require conf/multilib.conf
  MULTILIBS ?= ""

When build target-sdk-provides-dummy in a build project, it fails with
following steps:

1 $ echo 'MACHINE = "qemux86"' >>conf/local.conf
  $ bitbake target-sdk-provides-dummy
2 $ cat <<EOF >>conf/local.conf
    MACHINE = "qemux86-64"
    MULTILIBS = "multilib:lib32"
    DEFAULTTUNE_virtclass-multilib-lib32 = "i586"
    EOF
  $ bitbake target-sdk-provides-dummy
  $ bitbake lib32-target-sdk-provides-dummy

It fails to build lib32-target-sdk-provides-dummy with error messages:

| ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata: The recipe target-sdk-provides-dummy
|  is trying to install files into a shared area when those files already exist. Those files
|  and their manifest location are:
|   .../tmp/pkgdata/qemux86-64/lib32-target-sdk-provides-dummy
|     (matched in manifest-qemux86_64-lib32-target-sdk-provides-dummy.packagedata)
|   .../tmp/pkgdata/qemux86-64/runtime/lib32-target-sdk-provides-dummy
|     (matched in manifest-qemux86_64-lib32-target-sdk-provides-dummy.packagedata)
|   ... snip ...
| Please verify which recipe should provide the above files.

Add related directories to SSTATE_DUPWHITELIST to avoid the failures.

(From OE-Core rev: 9de9daa3dcbe271b3684f9a6eea1554f377e35fa)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Changqing Li
34b35a1275 python3: fix do_install fail for parallel buiild
When using make -j with the 'install' target, it's possible for altbininstall
(which normally creates BINDIR) and libainstall (which doesn't, though it
installs python-config there) to race, resulting in a failure due to
attempting to install python-config into a nonexistent BINDIR. Ensure it also
exists in the libainstall target.

(From OE-Core rev: 07aeaa4f3f88f575e4674145a7faab3ba8e97fad)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Khem Raj
a89a08ce7c systemd: Backport patch to fix build with gcc9
Do not disable the warning as error for overflow, which was a workaround
until the real fix came in.

(From OE-Core rev: d5e999616e2671442cfc678750bdfb990ef5728c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
601cb3b5e0 bitbake.conf: use https instead of http
Use HTTPS instead of HTTP whenever one is available.

(From OE-Core rev: 686d0e1c6d5b9ccbcd80fcf727f18d5c2d5968f9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
602667a2b8 wpa-supplicant: update to 2.8
License checksums were changed due to modified copyright years.

(From OE-Core rev: d6df8c1a7766e5df6351bb56f905664394cbdcc0)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
9d3a11aa2a msmtp: update to 1.8.4
(From OE-Core rev: 41ec4ad69548ce45d7147b34d760f04e0126349e)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
969087c3cc mtools: update to 4.0.23
Removed patches were mainstreamed.

(From OE-Core rev: 836c178cc34a98877a18540a855534a36bbe722b)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
4815f8847d coreutils: update to 8.31
ls.c license checksum changed due to modified copyright year.

musl fix was backported from RHEL5 and is musl specific as the patched
file is autogenerated during configure phase.

(From OE-Core rev: 5226ce196ff1edb5d2d9d9c7ed5728df8150c09a)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
37bd5e1fe0 kmscube: update to latest revision
(From OE-Core rev: 2479031b9188660b4fe825712eafd3408088dd80)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Oleksandr Kravchuk
fe5b1ceb41 sqlite3: update to 3.28.0
(From OE-Core rev: 9be07e8c8eea8565df73405775ec2ffb60659118)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Adrian Bunk
ad200dfca8 libxcb: remove workaround patch for a bug that was fixed in gcc 5 in 2015
(From OE-Core rev: 78eb9447c64cf4d5d30647af7638eed5aa6531ee)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Adrian Bunk
f590d70680 cogl: remove -Werror=maybe-uninitialized workaround
This should now also be covered by the
   DEBUG_OPTIMIZATION_append = " -Wno-error=maybe-uninitialized"

(From OE-Core rev: 6f4c6fa45733744f2698a98336aa589118c59106)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Adrian Bunk
8a766c0587 cogl: upgrade 1.22.2 -> 1.22.4
Remove backported patch.

(From OE-Core rev: 02ec648def450ee37f712e20a151fc01a0068525)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Adrian Bunk
87d2e1c5b9 mmc-utils: update to the latest upstream code
mmc-utils doesn't do releases, add the git revision to PV.
Remove patch for an issue now fixed upstream.

(From OE-Core rev: ff131346395a58c1579a94f564975dde3fbcf5c8)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 23:00:32 +01:00
Joshua Watt
9a97ea263c resulttool: Add option to dump all ptest logs
Adds an option to dump all the ptest logs to individual files in a
specified directory. If multiple test runs are present, the
'--prepend-run' argument will create separate directories for each test
run under the target directory and put the logs there to prevent each
test run from clobbering the others.

[YOCTO #13331]

(From OE-Core rev: f262b9e7482e38f04dfa162f0aaf65b17e86f8b2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Adrian Bunk
d6b53084af bison: upgrade 3.0.4 -> 3.1
Remove patches applied upstream.

(From OE-Core rev: 5890ed343981b600148a1b4f1bedaf1e55519c67)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Adrian Bunk
0a0ffb2ca8 socat: upgrade 1.7.3.2 -> 1.7.3.3
Remove patches for issues fixed upstream.

(From OE-Core rev: e697fe9c109234f914976ccec78a0776aa59d08d)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Adrian Bunk
0a219f449a grub: Use -Wno-error instead of doing this on a per-warning basis
In practice the warnings were disabled individually instead of fixes added,
so just make all warnings non-fatal to achieve the same.

(From OE-Core rev: 330fc83d4519da3c13eb55e8c060ba3e191c9906)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Adrian Bunk
624ba02f5f gnu-efi: Remove support patch for gcc < 4.7
No host platform that is still supported uses such an old gcc.

(From OE-Core rev: 3265d730e822907808434161e43bf33c3457d83e)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Richard Purdie
61c27c1556 scripts/pybootchart/draw: Fix some bounding problems
The chart size extents were being incorrectly reported, not accounting for the
width of the legend. Set a minimum width to account for that (its fixed size).

Also stop printing the chart background off the bottom of the chart extents.

(From OE-Core rev: ef257afb772daf721f12cb3ff9708d39da06f2c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Richard Purdie
cdce17f820 scripts/pybootchart/draw: Clarify some variable names
This tweaks some intermediate variable names to make it clearer what
is being done.

(From OE-Core rev: 50d9af7bcb05823db36e86170ef9ba3a1d6cfeca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Richard Purdie
020911ab59 scripts/pybootchart: Port to python3
This updates the pybootchart code (used for viewing build timing profiles)
to use python3. The bulk of the changes are to use gi instead of pygtk, i.e.
port from gtk+2 to gtk+3.

The main change is to make the bootchart widget inherit gtk.Scrollable
and change the way the scrollbars are implemented to match the new method
upstream. The drawing code used cairo already so can remain unchanged,

(From OE-Core rev: 949144681ad7f536732169351cab6d0612e9c566)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Richard Purdie
d13b904305 scripts/pybootchart: Fix mixed indentation
The script had a toxic mix of tabs and spaces, fix this.

(From OE-Core rev: 5eebe246e9444a5a7dbf4d8683ae08c468cfc401)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 22:56:45 +01:00
Richard Purdie
ed5198463f openssh/systemd/python/qemu: Fix patch Upstream-Status
Fix some missing or corrupted patch Upstream-Status values.

(From OE-Core rev: 07bc5a5367e0dec45253fd849e0157094152fd31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Hongxu Jia
0f2270cd40 acpica: use update-alternatives for acpidump
acpidump is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
...
|Error: Transaction check error:
|  file /usr/bin/acpidump conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
...

(From OE-Core rev: 6af441a50922943176bf4df32f3541c34a7b0bb2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Chen Qi
c008c8dc7a squashfs-tools: set CVE_PRODUCT
(From OE-Core rev: 8f03a33f61a94e9b8d8232283204588ce18b45a0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Chen Qi
e11c0525fd flac: also add flac to CVE_PRODUCT
flac uses both 'flac' and 'libflac' as cve product.

(From OE-Core rev: 3a043a078f6cc89bcc097823fa37cd1311805ae7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Khem Raj
a06ca789cb systemd: Add -Wno-error=format-overflow to fix build with gcc9
gcc9 throws additional warnings about format string overflow

(From OE-Core rev: 59f93503dcec4e5b8ab46db73095d2669aba8c7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Khem Raj
fd32e1e5e6 gcc-target: Do not set --with-sysroot and gxx-include-dir paths
These options are not needed on target infact since the defaults would
be good enough for compiler to find the relevant headers and libraries
from compiler runtime

with gcc9 it starts to strip the sysroot from gxx-include-dir which
means it tries to look for gxx headers in localdir

ignoring nonexistent directory "usr/include/c++/9.0.1"
ignoring nonexistent directory "usr/include/c++/9.0.1/arm-yoe-linux-gnueabi"
ignoring nonexistent directory "usr/include/c++/9.0.1/backward"

instead of sysroot

Removing these options make it behave normal

(From OE-Core rev: 2996640fb3577a3c28a22f1e25eae15e8e3d46b1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Stefan Müller-Klieser
1544d38716 cml1.bbclass: fix undefined behavior
Whenever cml1 do_configure is used with a defconfig, oldconfig waits for
input. This silently fails on recent kconfig projects with:
"Error in reading or end of file."
We cannot use a more up to date kconfig target such as olddefconfig,
because busybox does not support it.

(From OE-Core rev: 7ad50a8fc1448dd152eaba57aaeb63a8229fdb21)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Douglas Royds
a839671f6e distutils: Run python from the PATH in the -native case as well
The python distutils generate a python wrapper script for each package,
containing shebang lines pointing to the python executable.
In our case, this is a fully-qualified path to python-native in the
recipe-sysroot-native.

Ubuntu 18.04 restricts the useful length of the shebang line to 125
characters, and Ubuntu 16.04 restricts it to 77. In both cases, the
staged python script fails to run due to the length of the path to
the python-native executable.

Replace the shebang line with nativepython or nativepython3 as appropriate.
The nativepython symlink is installed by the python-native recipe:

    #!/usr/bin/env nativepython

We were already doing this for on-target distutils components.
This change applies the sed-line to -native distutils components as well.
In this way, -native clients of these components can invoke the wrapper scripts
directly, without themselves needing to inherit pythonnative.

This works around a known setuptools issue:
https://github.com/pypa/setuptools/issues/494
Even once this issue has been resolved upstream,
we will still need to replace `python` with `nativepython`

(From OE-Core rev: 0a5bd4f30182a3d55153e5ade76f1dfd5b52b482)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Alex Kiernan
568f0ab886 recipetool: fix unbound variable when fixed SRCREV can't be found
If attempting to find a fixed SRCREV fails because the directory doesn't exit,
avoid failing with:

  Traceback (most recent call last):
    File "/home/vagrant/poky/scripts/recipetool", line 121, in <module>
      ret = main()
    File "/home/vagrant/poky/scripts/recipetool", line 110, in main
      ret = args.func(args)
    File "/home/vagrant/poky/scripts/lib/recipetool/create.py", line 707, in create_recipe
      srcrev = stdout.rstrip()
  UnboundLocalError: local variable 'stdout' referenced before assignment

Fixes: 000480c42797 ("recipetool / devtool: set a fixed SRCREV by default when fetching from git")
(From OE-Core rev: 8e4b301573071ea04911b0df6533c25bc4596b93)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Alex Kiernan
f0aa7f09a4 go: Exclude vcs files when installing deps
Because our clones use the host git, on (say) Ubuntu 18.04, the local
git directories acquire perl scripts such as fsmonitor-watchman.sample.
During packaging, this leads to failures:

  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA Issue: /usr/lib/go/pkg/dep/sources/https---github.com-nsf-termbox--go/.git/hooks/fsmonitor-watchman.sample contained in package go-hsperfdata-staticdev requires /usr/bin/perl, but no providers found in RDEPENDS_go-hsperfdata-staticdev? [file-rdeps]
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa:
  ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: Function failed: do_package_qa

(From OE-Core rev: 2ee246524ab881d57d8aac204f671215a25a58d3)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Alex Kiernan
c499f55303 python3: Add ntpath.py to python core
The newer python3 recipe no longer includes ntpath.py in core, leading
to failures in pkg_resources:

  Traceback (most recent call last):
    File "/usr/bin/bmaptool", line 6, in <module>
      from pkg_resources import load_entry_point
    File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 42, in <module>
      import ntpath
  ModuleNotFoundError: No module named 'ntpath'

(From OE-Core rev: 9ff61fa83a0a4f2a7b5b0376b6c48fb1173c9ac7)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Alex Kiernan
27c4975629 patchelf: Upgrade 0.9 -> 0.10
Drop patches merged (or redone differently) upstream

(From OE-Core rev: e81004fd334a8204852f271101ddcf4a39e9ccb5)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Hongxu Jia
6c1ddb5409 cpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.

And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt

(From OE-Core rev: e9ac5ac2f4d135734f549d17cce3ebc52132b7d0)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Chen Qi
918131d453 ghostscript: set CVE_PRODUCT
(From OE-Core rev: 721e69aa12dd9ee22618ef13f29fb6d28eeab9af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Adrian Bunk
9bdb6cfb8a file: Stop adding -std=c99 to CFLAGS
Upstream now adds this automatically when required.

(From OE-Core rev: 26e87532874acde8e653769a8a7b87f2b6d366fb)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Adrian Bunk
a9f6c13c04 libxcrypt: Stop adding -std=gnu99 to CPPFLAGS
Upstream now adds this automatically when required.

(From OE-Core rev: 8ff6a2a8b88befd7e4c7965f525937c0d723c0bf)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Armin Kuster
5beb813833 nss: cleanup recipe to match OE style
(From OE-Core rev: 878e8986de6f269fd5f221d949dd2848bd00e9af)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-08 12:15:17 +01:00
Scott Rifenbark
59f95aaae4 documentation: Cleaned up "plug-in"/"plugin" terminology.
The YP manual set was using the plugin term inconsistently.
It was appearing as "plugin" as well as "plug-in".  The
plugins in the project are all named without a hyphen.
The term itself is either/or according to Google.  I have
changed all references to plugin so that they do not use
a hyphen.

(From yocto-docs rev: 715bb58e2347c5e37a49da7d9e3e230503672337)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:42 +01:00
Scott Rifenbark
2a540a95a5 bsp-guide: Updated the "beaglebone-yocto.conf" example.
This listing had gone stale.  I updated the actual listing to match
what is in poky repository and adjusted the various variable
explanations affected.

(From yocto-docs rev: 44ccb6ea7301ffa43c89f7a4f28265ea28725f99)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
bfe52a3d6c ref-manual: Updated the "Container Layer" term.
I removed the incorrect "meta-intel" layer for the example
and replaced it with the better "meta-openembedded" layer.

Reported by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: eed35c97aa53efdcdb9a270555774a7c3a0e3b69)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
69aa458db2 bsp-guide: Removed inaccurate "container layer" references.
I left only the single mention of "container layers" and changed
the example from "meta-intel" to OpenEmbedded's meta-openembedded
layer.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 8aa4de2be19c001f19cc540e2f7b33ca71f6be60)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
3693f075c4 documentation: Prepared for 2.8 release
poky.ent - variables all set up for 2.8
mega-manual.sed - "2.7" replaced with "2.8"
<folder>.xml - manual revision history tables updated.

(From yocto-docs rev: 6092a9282cbd397a2f64ca74361f862ea76b0e28)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
aa90b8ca24 ref-manual: Review comments applied to 2.7 migration section.
(From yocto-docs rev: 81ced4c68631d4d63efec206e5453b00d8fcc786)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
95f7ae5897 poky.ent: changed 2.7 release variable date to "May 2019"
(From yocto-docs rev: 0c94c5c2c4300a9b91ab2be866d8781a79d2f62d)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
69684c489e ref-manual: Added Fedora 29 to the supported distros list.
(From yocto-docs rev: 196bc35669e81b269d4576f552bdecc191bbc80a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
d38a253147 ref-manual: Added "License Value Corrections to migration.
(From yocto-docs rev: 398a60005b9ce63e6ee141dfb8a71e8ae2bf2d86)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
24c80ee695 ref-manual: Added Eclipse removal for migration section.
(From yocto-docs rev: 06409e5fa0080f76f68d9f98b3c9f5a4edfcc948)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
932b8ae307 ref-manual: Inserted Migration 2.7 section.
(From yocto-docs rev: 238ddd62995420741c2b97ccfa7d2c533b72837c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
f60698d54b dev-manual: Added reasoning blurb to "Viewing Variables" section.
I put a new introductory paragraph in the "Viewing Variables"
section that alludes to why you might want to see variables.
Also, I linked to the section "Modifying Variable Values" in
the BB manual.

(From yocto-docs rev: 6e18524ba62d2ff1231184467b0dd24dab33cfe6)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
237b225552 dev-manual; brief-yoctoprojectqs: Updated checkout branch example
Added the "yocto-2.6.2" tag to the example output since that
will be part of the overal list when 2.7 releases.

(From yocto-docs rev: 4863284811ad459cb0193528d5686a1ec008bb3e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
dbe100d6bb sdk-manual: Removed all references to Eclipse
Took care of links as well.

(From yocto-docs rev: a338dc13ebbcdc77fb16e36f12eb5f0e1e05187f)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
c5bb614ca7 sdk-manual: Removed all references to Eclipse
One Neon appendix completely removed.  One other chapter
removed that held the latest version of Eclipse use
removed.  A figure was also removed.

(From yocto-docs rev: 03524fc363f9232a2ed45d10688ddeb0439b0917)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
75cf92d446 ref-manual: Removed all references to Eclipse
Links updated as needed.

(From yocto-docs rev: acd5a75314b023f613be24b7512f991f8455e325)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
7625e3cffe profile-manual: Removed all references to Eclipse
One figure was removed and files modified.

(From yocto-docs rev: f5d7024c3c38bc7737894a5ad4b750d4d633f173)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
f2c6d6c84b overview-manual: Removed all references to Eclipse
I also fixed all linking as needed.

(From yocto-docs rev: f987bc2846a2356a58934164652bb1dc59623b3b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
9879f0c01d dev-manual: Removed all references to Eclipse.
I also fixed all linking as needed.

(From yocto-docs rev: c8d10a924a3a4ae76e8fc26ebcba52ea04f2f267)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
c149239f08 mega-manual: Removed the Eclipse chapters
Two chapters formerly in the sdk-manual were included when
the mega-manual makes.  These chapters are no longer
needed.

(From yocto-docs rev: a4e76a30baba5ab1d8f9783bb2a329d136600126)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
9ab63d3c9d poky.ent: Removed Eclipse related variables.
(From yocto-docs rev: dc8942cf48cd322c3f125b3ec14817c43ca0322a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
aed303d415 mega-manual, overview-manual: Added updated index releases figure
The index-downloads.png file changes due to "eclipse" no
longer being there.  Both the overview-manual and the
mega-manual figures folders hold this figure.

(From yocto-docs rev: ef7b8dd8d636ef0ad563d1fe1ef44227f5f89fbc)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
5bee5d3677 mega-manual: Removed two Eclipse figures from tarball list
Eclipse is no longer supported.  We do not need thes figures
as they would no longer exist.

(From yocto-docs rev: efcfb5a62fcacdc606b8485da809bdf6aa19a5f3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:41 +01:00
Scott Rifenbark
c18fe9eb64 Documentation: Removed customization.xsl files for Eclipse
The help files for YP manuals used in the Eclipse application
are no longer supported.  I removed the individual
*-customization.xsl files for the individual YP manuals.

(From yocto-docs rev: 8c19244298b2c95ac92a398a5b6d3aca788f075e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:40 +01:00
Scott Rifenbark
323101caf8 Makefile: Removed Eclipse support
Updated the file so that Eclipse help for YP manuals is
not generated.  Updated comments to remove examples of
Eclipse.

(From yocto-docs rev: db62b107e82a9d6fad619b03d57e807b3a617afd)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:23:40 +01:00
Naveen Saini
ee3d4fbd02 linux-yocto: update genericx86* SRCREV for 4.19
Bump to kernel release v4.19.19

(From meta-yocto rev: 09f4441f242e4a07ee84341ddcb4f959f702b314)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:13:13 +01:00
Ross Burton
198434d295 gtk-icon-cache: clean up DEPENDS
Use gtk+3-native instead gtk-icon-utils-native as that recipe no longer exists
and is provided by gtk+3-native for compatibility.

(From OE-Core rev: 078950f6ff88d406894229337b2b367ba049ff44)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Paul Barker
896b0c5769 license_image: Use new oe.path.copyhardlink() helper
This change allows us to support the placement of WORKDIR and DEPLOY_DIR
on different devices.

(From OE-Core rev: f064a581ba31764839459bd667130bccbbedefab)

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Paul Barker
10a14af4ca oe.path: Add copyhardlink() helper function
This function creates hard links if possible, falling back to copying
the file if the destination is on a different volume to the source.

The docstring for copyhardlinktree() is also updated to make the
difference between the two functions a little clearer.

(From OE-Core rev: 5437efa16f9bec914e417c6c939a39c247084f52)

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Khem Raj
80bb16ee71 mdadm: Disable Werror
Werror spews more warnings with gcc9, like other distros (
debian/fedora) disable Warnings as errors

Fixes

super-intel.c:696:9: error: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Werror=address-of-packed-member]

(From OE-Core rev: 7ac6ac8eb8fc3c623eba0e245fd9049dc6e2dd86)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Ross Burton
9a69da4489 wic: add global debug option
Add a global --debug option to assist debugging.

(From OE-Core rev: 4e23b22bdf7b0e1fd16c7e53b6a7232c9c92ce95)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Ross Burton
74b44e59be wic: change expand behaviour to match docs
The documentation says that --expand takes a comma-separated list of
partition:size pairs, but the code was splitting on hyphens.

Hyphens are not a transitional separator for a list of items, so change the code
to reflect the documentation.

(From OE-Core rev: a210e28bb3fd5433ebecf50e218fc548013b35dc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Oleksandr Kravchuk
a514e0f65d ell: add recipe
ELL has originally been part of meta-openembedded, but newer versions
of some of the oe-core components depend on it, e.g. ofono.

(From OE-Core rev: 808d5dbe257d1b6faf241ee252a6ef092e4c6d3d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Ross Burton
b8348a97d7 packagegroup-core-full-cmdline: remove zlib
zlib is just a library so there's no point in it being part of a 'full
commandline experience' packagegroup.

(From OE-Core rev: d54244b43b31f6ef58d302e29ae8970a21f5365c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Oleksandr Kravchuk
f3d8794b8a libsolv: update to 0.7.4
Removed patch has been upstreammed.

(From OE-Core rev: 450af6cf5c38da1cb44fd57ac1da3d2d3f037544)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Alexander Kanavin
ab2be4385e xorg-lib: drop native overrides for REQUIRED_DISTRO_FEATURES
x11 is actually always present in native DISTRO_FEATURES, and
so it's fine to require it in all cases.

(From OE-Core rev: 1d9f1da619089fc8edee027261b1fbe2e673091b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Ross Burton
e6992dfe75 m4: update patch status
(From OE-Core rev: 95a16610383a1eb28eac145b1bce8202213ad18f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Max Kellermann
4e88b42828 initrdscripts: merge multiple "mkdir" calls
Reduce overhead.

(From OE-Core rev: 31e6ea22523ded6a4e4f46472ab95ed17efe890b)

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Max Kellermann
2e7cc1525d useradd-staticids: print exception after parse_args() error
Without this, the user has no idea what went wrong.

(From OE-Core rev: c1d887d63f098a10c7d6286399801d89fd3ebdb0)

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-07 10:12:53 +01:00
Richard Purdie
eb8c7b5e1f bitbake: HEADER: Drop it
We don't really need a header boilerplate now the header is simplified, drop it.

(Bitbake rev: 9b4a9e5459db5f443fcffbdc499e12f09970e709)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-04 10:44:49 +01:00
Richard Purdie
9501864db8 bitbake: bitbake: Strip old editor directives from file headers
There are much better ways to handle this and most editors shouldn't need this
in modern times, drop the noise from the files. Its not consitently applied
anyway.

(Bitbake rev: 5e43070e3087d09aea2f459b033d035c5ef747d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-04 10:44:10 +01:00
Richard Purdie
cf9c0be3f6 bitbake: bitbake: Drop duplicate license boilerplace text
With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.

(Bitbake rev: 695d84397b68cc003186e22f395caa378b06bc75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-04 10:44:10 +01:00
Richard Purdie
79834a7144 bitbake: bitbake: Add initial pass of SPDX license headers to source code
This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.

The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.

The COPYING file is replaced with LICENSE.X files which contain the full
license texts.

(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-04 10:44:04 +01:00
Ross Burton
5eb5383094 meta-poky: remove obsolete DISTRO_FEATURES_LIBC
(From meta-yocto rev: 2d548e8f5f2eaf0b6ae39d01e612284e47ec0899)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Alex Kiernan
d9e8b11b6c uboot-sign: Fix build when UBOOT_DTB_BINARY is empty
When UBOOT_DTB_BINARY is empty and because the code now changes
directory into ${B}, the test for the existence becomes `[ -f ]` which
succeeds and subsequently the install fails.

Reorder the code so it's clear that UBOOT_DTB_BINARY empty is an
expected configuration and then quote UBOOT_DTB_BINARY everywhere so
no one trips over this again.

Fixes: bacb59079eb6 ("uboot-sign: add support for different u-boot configurations")
(From OE-Core rev: e79f0db0745625b35dd83483747e486d08eebfde)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Martin Jansa
0552d9536b opkg: fix ptest packaging when OPKGLIBDIR == libdir
there is small issue with ptest packaging in cases where
OPKGLIBDIR is set to /usr/lib.

Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered:
ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but no providers found in RDEPENDS_libopkg? [file-rdeps]

  # $FILES_libopkg
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:62
  #     "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
  FILES_libopkg="/usr/lib/*.so.* /usr/lib/opkg/"

  # $FILES_opkg-ptest [2 operations]
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:9
  #     "${PTEST_PATH}"
  #   rename from FILES_${PN}-ptest data.py:117 [expandKeys]
  #     "${PTEST_PATH}"
  # pre-expansion value:
  #   "${PTEST_PATH}"
  FILES_opkg-ptest="/usr/lib/opkg/ptest"

  # $PACKAGES [4 operations]
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/bitbake.conf:292
  #     "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
  #   set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/documentation.conf:314
  #     [doc] "The list of packages to be created from the recipe."
  #   prepend /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:20
  #     "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
  #   prepend /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:60
  #     "libopkg"
  # pre-expansion value:
  #   "libopkg ${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)} ${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
  PACKAGES="libopkg opkg-ptest opkg-src opkg-dbg opkg-staticdev opkg-dev opkg-doc opkg-locale  opkg"

The easiest fix should be to reorder PACKAGES (the _prepends) so that ${PN}-ptest is prepended later -> ends before libopkg).

(From OE-Core rev: e329f1a9ad7e68575912345ec7c18c12f5971998)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Alex Kiernan
665fd0ae23 image: call systemctl preset-all for images
Rather than rely on systemd's default invocation of preset-all at
runtime, we pre-populate the symlink tree as part of of the image. This
is done late so any overrides of presets during rootfs construction
should already have happened.

Whilst we don't strictly need this for the read-write root case, it
avoids boot time churn; for read-only root we have to do it here.

(From OE-Core rev: a57678a076109c42fbdf7531e90ff4491b387d53)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Alex Kiernan
925e30cb10 systemctl-native: Rewrite in Python supporting preset-all and mask
Rewrite systemctl-native in Python so that extending/testing it is
easier.

Now that the systemd class sets up service presets instead of actively
enabling services, the 'enable' and 'disable' subcommands for systemctl
are not actually used anywhere.  As such, we can remove these to make
sure that nobody inadvertently introduces new uses of them.

This implementation covers `preset-all` and `mask` which are the only
options used in the current code, but should be readily extensible to
other commands.

We use `preset-all` at image construction time to populate the symlinks
used by systemd.

(From OE-Core rev: 86f5a2383692ac1ab01dce534c1a5c5f32ec4b35)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Jonas Bonn
bc2ca0ea7e systemd: create preset files instead of installing in image
At first boot, systemd will create the /etc/systemd/system directory
from service preset files.  As such, for a normal, writable /etc
(writable rootfs), there is no need to set up this directory at image
creation time.

This patch changes the systemd machinery to create preset files and to
rely on systemd to do the service enablement.

This breaks the read-only-rootfs case; there's a fix for this in a
follow-up patch.

(From OE-Core rev: 154abbc3296eded11d2bbe3e102470b6986d42cd)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Alex Kiernan
92d9c493c4 systemd-conf: simplify creation of machine-specific configuration
The configuration files that systemd installs are just skeletons
detailing the available options and their default values.  The
recommended means of changing the configuration is to provide snippets
in configuration directories.  For example, journald.conf settings are
best set in /usr/lib/system.d/journald.conf.d/ and can be overridden by
the user by providing overriding snippets in
/etc/systemd/journald.conf.d/.

The systemd-conf package is just providing machine-specific overrides
for some systemd defaults.

This patch restores the installation of config files by systemd and
reduces systemd-conf to just providing the config snippets in
/usr/lib/systemd/*.conf.d.  This simpilfies the systemd-conf recipe
considerably since it now just sets up a couple of text files and
doesn't even need access to the systemd source anymore.

License-Update: configuration snippets licensing is independent of
systemd licensing

(From OE-Core rev: 3150253898babce70333376d22090b56b4a70bfb)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Jonas Bonn
119d310f36 systemd: do not create machine-id
There is no reason to have an emtpy machine-id as part of the systemd
package.  Either:

i)  the filesystem is writable and the file will be created
automatically; or
ii) the filesystem is read-only, in which case the empty machine-id file
should be created as part of the read-only-rootfs tweaks.

(From OE-Core rev: 76444b63e614baea33c044851a5859f6d1e69729)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Jonas Bonn
140c96d965 systemd: don't build firstboot by default
The firstboot service prompts the user for information about the host at
first boot.  Systemd determines whether or not a boot is a "first boot"
by the existence of the file /etc/machine-id.  Since oe-core always
includes this file (it is part of the systemd package), the firstboot
service never runs so this service is being built but never run.

A follow-up patch to this one will remove the machine-id from the
systemd build and allow it to be created automatically by systemd at
"first boot".  With that patch, we don't want the firstboot service to
suddenly start being invoked and presenting a prompt to the user.

With this patch, the firstboot service becomes a PACKAGECONFIG option
that the user must actively select.

(From OE-Core rev: 6f0072d34107f4d351c79b43ce71bf4489428a34)

Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Changqing Li
3418d1326c populate_sdk_base: provide options to set sdk type
Current sdk type is tar.xz, but for mingw sdk, since we
have symlink under the sdk folder, 7zip which used to
extract tar.xz cannot handle it, refer 7zip upstream bug:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/
so add option for usr can select the sdk type.

Add override SDK_ARCHIVE_TYPE, default type is tar.xz, and also
support type zip. user want to use zip type can set SDK_ARCHIVE_TYPE
to zip.

(From OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Changqing Li
8216015a85 dbus: fix ptest failure
1. since one bug in run-ptest, testcase test-bus have never been
actually run (althrough it's result is PASS).

After commit 0828850, test-bus can actually run but it
did not install:
  test-service, test-shell-service, test-segfault, and
  dbus-daemon-launch-helper-test
Add the configure flag:
  --enable-embedded-tests
to generate binary dbus-daemon-launch-helper-test, then install
them so that test-bus will now pass.

2. fix testcase test-dbus-daemon failed
we enable --enable-verbose-mode in recipe dbus-test, and don't
enable it in recipe dbus. This will make below test code get
unexpect result of have_verbose and assert.
disable --enable-verbose-mode for recipe dbus-test to fix it.

 #ifdef DBUS_ENABLE_STATS
  g_assert_true (have_stats);
 #else
  g_assert_false (have_stats);
 #endif

[RP: Since the new test is slow dbus moves to the slow ptest list]

(From OE-Core rev: 2ea676072d7edd06ef9e886827c0d61d574ca377)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Alistair Francis
69085ccb29 qemu: Upgrade from 3.1.0 to 4.0.0
This commit upgrade QEMU to the latest 4.0.0 release.

 - The COPYING.LIB file has changed SHA to:
    "Synchronize the LGPL 2.1 with the version from gnu.org"
 - SDL 1.2 has been removed, along with the --with-sdlabi command line
    arg
 - The backported patches have been removed
 - Al the other patches have been refreshed and the numbering has been
    updated

(From OE-Core rev: fed2a0f37a76732cd3de1b127d6902fb16dd4e05)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-03 06:11:57 +01:00
Joshua Watt
3d19803cbd bitbake.conf: Account for older versions of bitbake
Older versions of bitbake (prior to 1.42) don't expose the BB_UNIHASH
variable which is being used by sstate. For compatibility with these
older versions of bitbake, set BB_UNIHASH to BB_TASKHASH (which is the
value it should be for non-hash equivalent aware signature generators).
if bitbake hasn't already set it.

[YOCTO #13314]

(From OE-Core rev: de1782b23f8a98df3b42cb57bbcdff690bfa2343)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-02 09:56:19 +01:00
Richard Purdie
13f45af4a4 elfutils: Fix ptest compile failures on musl
(From OE-Core rev: 0f3bb3541a01701820b52ee31b41d4a24ddd1d43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-02 09:56:19 +01:00
Richard Purdie
8c9e8fd0d1 elfutils: ptest fixes
Changes to improve the way ptest runs:

a) Use the standalone test mode which allows the tests to be run in their
  'installled' locations on target (but not any of the standalone build pieces)
b) We want to use the binaries from their installed locations so the run-subr
   script needs tweaking to run them like that. The rpath conditional isn't
   enough since we want the second entry in the case statement.
c) Add an oecheck make target which we can use to build the test binaries we need
d) Add missing -ptest package dependencies (needs coreutils, ${PN}, ${PN}-binutils, make)
e) Don't add RPATH to the test binaries, we don't need that
f) Add some extra parameters to the make command to ensure tests run correctly

Before:
-----------------------------------------------------
Recipe   | Passed    | Failed   | Skipped  | Time(s)
-----------------------------------------------------
elfutils | 31        | 4        | 168      | 6
-----------------------------------------------------

After:
-----------------------------------------------------
Recipe   | Passed    | Failed   | Skipped  | Time(s)
-----------------------------------------------------
elfutils | 173       | 25       | 5        | 15
-----------------------------------------------------

(From OE-Core rev: 7ff76b86299289a4a5741f910399d95232f64f32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-02 09:56:19 +01:00
Ross Burton
2fc30ac2a8 mpg123: port to use libsdl2
libsdl 1.2 is dead upstream, so change mpg123 to use libsdl2.  Luckily the APIs
that mpg123 use haven't changed, so this is just a matter of changing the
pkg-config name.

(From OE-Core rev: 1aa947a60b0eb31c367b1e9818218ee74d388eea)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-02 09:56:19 +01:00
Tom Rini
2b4f6052db vim: Update to 8.1.1240
This brings us to the current version of vim.  As part of this we need
to work-around a locale issue that upstream has exposed.  We do not
support fully / correctly the certain locales.  Attempting to use these
with msgfmt in order to update the ".desktop" files exposes this problem
and leads to the compile failing.

(From OE-Core rev: ffa4b0abcab2ed4e4f642b4b3140aa6095938422)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-02 09:56:19 +01:00
Tom Rini
554c9904bb vim: Rework to not rely on relative directories
The vim recipe has all of the code inside the "src" subdirectory but
other things we rely on, such as the license file in a subdirectory
relative to the src.  However, as there is a top-level "configure"
script that moves us down to the src directory, we can rework the recipe
to be overall more simple and regularly laid out if we use that.

(From OE-Core rev: 2eb66c1ff55a3fe9785967f45f1cb6a27df44f93)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-02 09:56:19 +01:00
Richard Purdie
ec3c2d4650 oeqa/ssh: Avoid unicode decode exceptions
This code really needs to be rewritten to not split potential
multibyte characters, for now work around it to avoid exceptions like:

  File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/target/ssh.py", line 211, in run
    data = reader.read(1024, 4096)
  File "/usr/lib64/python3.6/codecs.py", line 503, in read
    newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte

(From OE-Core rev: 17e87510378f2729208a8262695f28e1efe5eb4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 23:10:52 +01:00
Richard Purdie
a85601aae1 bitbake: build: Disable warning about dependent tasks for now
This breaks with rm_work so disable the warning until we find a better
solution (and change the test accordingly too).

(Bitbake rev: 93e94c06baf013e3d072465a55bddd1fe61c0772)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 23:09:08 +01:00
Richard Purdie
dabc5ae13a bitbake: build: Ensure warning for invalid task dependencies is useful
WARNING: elfutils: dependent task do_rm_work does not exist

is much less useful than

WARNING: elfutils: dependent task do_rm_work for do_deploy does not exist

(Bitbake rev: e034c6f75e3d7730ff16a8d1bd0cba03beda0af8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 23:09:08 +01:00
Richard Purdie
fcec90de9c bitbake: knotty: Implement console 'keepalive' output
CI systems like jenkins and buildbot will timeout applications which haven't had console output
in some period of time. Add 'keepalive' output to knotty which gives output every 5000s if not
other output was made and tasks are still running. This reduces some problems encountered
with our CI testing.

(Bitbake rev: aa4f31e5741dd98acec73f16f6028e52f4c22d6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 23:09:08 +01:00
Joshua Watt
b89e99f927 qemux86: Allow higher tunes
Allows the qemux86 machine to be tuned all the way up to an i7 if
desired by overriding DEFAULTTUNE. The default if unspecified is left at
i586.

This can be useful for enabling advanced processor features like SSE if
desired or required by various packages.

(From OE-Core rev: 0be64e54a0e67472eaff9c794a33d76971c9b1a3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 09:08:58 +01:00
Andreas Müller
0c4fb7826f qemu: split out vte into seperate PACKAGECONFIG
* vte-native requires host compiler supporting c++17. Some distros we support
  ship comilers not supporting c++17 currently.
* oe-self-test 'test_testimage_virgl_gtk' sets
  PACKAGECONFIG_append_pn-qemu-system-native = " gtk+". With vte enabled by
  'gtk+'-config, build fails on hosts with ancient compilers [1].
* Alexander Kanavin did some tests: Without vte in PACKAGECONFIG there is still
  a working terminal available with reduced functionality [2].
* Users wanting 'full' terminal in system-qemu back should add
  PACKAGECONFIG_append_pn-qemu-system-native = " vte"
  in their local.conf.

The idea of this patch was coming from Ross Burton - thanks!

[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281637.html
[2] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281727.html

(From OE-Core rev: 78e160ac4b72bc3cfbdd89492c711a318585328b)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 09:08:58 +01:00
Alexander Kanavin
4d43e30add maintainers.inc: take over as perl maintainer
Ross requested; I agreed :-)

(From OE-Core rev: 3c5a9ddab11d4b093d95f3a1e6398d14eba0794e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 09:08:58 +01:00
Alexander Kanavin
0a19dacb6b python3-pycairo: update to 1.18.1
Switch over to meson build, as it does not attempt to install
headers into /usr/share and pkg-config files into /usr/share/$libdir.

(From OE-Core rev: 0e2858bd7d6f013bb31b64552a9ea5873c4f7ced)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-05-01 09:08:58 +01:00
Jacob Kroon
be75acf17f bitbake: knotty: Pretty print task elapsed time
A task's runtime is currently printed in seconds. Change it to
include minutes and hours for easier reading.

(Bitbake rev: c593ae5ec9fecd4bde823948024e4d56314a60ce)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:24 +01:00
Stefan Kral
34d526a79b bitbake: build: Add verbnote to shell log commands
Add the missing bbverbnote fifo cmd for logging from shell.

(Bitbake rev: cf11fdb30c405e1a4521a7299f84816c0e13a881)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:24 +01:00
Robert Yang
c761fb126d bitbake: tests/parse.py: Add testcase for addtask and deltask
(Bitbake rev: 4ac388646624e08bef848b560fa52deacf2ff4fb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:24 +01:00
Robert Yang
e236735d45 bitbake: build.py: check dependendent task for addtask
The following command is incorrect, but was ignored silently, that may suprise
users:

addtask task after task_not_existed

This patch can check and warn for it. It would be better to also check "before"
tasks, but there is no easier way to do it.

[YOCTO #13282]

(Bitbake rev: b1ad36169c2ad189d84c53c707b66c12d5ff812f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:24 +01:00
Robert Yang
82300691b0 bitbake: BBHandler: Fix addtask and deltask
The following commands are not supported, but they were ignored silently, that
may suprise users:

* addtask task1 task2
  task2 is ignored

* addtask task1 before task2 before task3
  Should be: addtask task1 before task2 task3

* addtask task1 after task2 after task3
  Should be: addtask task1 after task2 task3

* deltask task1 task2
  task2 is ignore

This patch can check and warn for them.

[YOCTO #13282]

(Bitbake rev: 675689aa7cc7287efecf8ef775ca2059369167f1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:24 +01:00
Bruce Ashfield
1165edbe50 linux-yocto/5.0: update TCP patch to mainline version
Updating the SRCREVs to drop our temporary workaround for TCP
timeout issues and switch to the mainline version:

  tcp: add sanity tests in tcp_add_backlog()
  Revert "tcp: fix issues relaed to implement coalescing on backlog queue"

(From OE-Core rev: 07db18609ce2b868d4ff5eb6cf2128bf6eb6d682)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Ross Burton
1e8cedab44 staging: add ${datadir}/gtk-doc/html to the sysroot blacklist
When api-documentation is enabled the GNOME stack builds API documentation. As
${datadir} is in SYSROOT_DIRS this documentation is in the sysroot but is never
used, wasting time and space.

Add ${datadir}/gtk-doc/html to the blacklist so that the generated documentation
isn't in the sysroot.  Note that we don't blacklist all of ${datadir}/gtk-doc
because gtk-doc itself installs files there which are needed to use gtk-doc.

(From OE-Core rev: 11c87952c9a71036119d509ce09f17e352e4c6d8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Mingli Yu
d208738062 nettle: fix ptest failure
Rework dlopen-test.patch to fix below
dlopen-test failure:
 # cd /usr/lib64/nettle/ptest
 # ./run-ptest
 dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory
 ./run-ptest: line 8:  7607 Aborted                 "./$f"
 FAIL: dlopen-test

As the test dlopen-test depends on libnettle.so
which belongs to nettle-dev package, so add it
to rdepends of nettle-ptest.

(From OE-Core rev: 524fcf34128045f9f5726a1f1b8715a12b12ae7c)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Mingli Yu
47bb6affbe nettle: fix the Segmentation fault
The commit[8ac8fa8ee1 nettle: update to 3.4.1]
add CFLAGS_append = " -std=c99" to silence the
below error for native build:
| ../nettle-3.4.1/rsa-sign-tr.c: In function 'sec_equal':
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode
   for (size_t i = 0; i < limbs; i++)
   ^
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: note: use option -std=c99 or -std=gnu99 to compile your code
| Makefile:263: recipe for target 'rsa-sign-tr.o' failed

But the above change will trigger below Segmentation
fault:
 # echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
 [65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
 [65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
 Segmentation fault

So update the logic to CFLAGS_append = " -std=gnu99"
to fix the issue.

(From OE-Core rev: 91359a91b8c89dc5e1f3a946137204156c47a3af)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Chen Qi
c296e276a8 libsdl: set CVE_PRODUCT
(From OE-Core rev: 1f0cca19014fef24a359d400c96d178463b2760f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Changqing Li
71fecb0473 piglit: support build piglit without x11
*  test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend
   on x11, so respect the DISTRO_FEATURES, only enable it when
   x11 is enabled.
*  mesa-demos depend on libGL.so which is provide by recipe
   mesa, but when x11 is disabled, libGL.so is not generated.
   so we can only rdepend on this when x11 is enabled
*  add x11 PACKAGECONFIG to add correct config/depend/rdepend

[YOCTO #6077]

(From OE-Core rev: 2edf7a19598e10326603603dfa00ab91c9327e2d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Changqing Li
c40482a68e waffle: supprt build waffle without x11
respect DISTRO_FEATURES to make waffle support different platform,
gbm platform is supported by default.

[YOCTO #6077]

(From OE-Core rev: 37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Chen Qi
7603f21aad dropbear: set CVE_PRODUCT
(From OE-Core rev: 3c247a4a166cabf7ddfea403cf272b3fb4e00872)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Anuj Mittal
e0a6bdaa64 openssh: fix CVE-2018-20685, CVE-2019-6109, CVE-2019-6111
Also backport a patch to fix issues introduced by fix for CVE-2019-6109.

(From OE-Core rev: 31b7485d8377c1c535d1878220bbc1d49dc5f13e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Anuj Mittal
71a546aaf3 binutils: fix CVE-2019-9074 CVE-2019-9075 CVE-2019-9076 CVE-2019-9077
(From OE-Core rev: 0e366eda53f6f440708531ed8cb2ac4941ca428f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Anuj Mittal
05d058e645 gdb: fix CVE-2017-9778
(From OE-Core rev: d8faa8974d08651dac42afa7a7e545a4c30d813e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Anuj Mittal
e2cc220b0a gcc: fix CVE-2018-18484
(From OE-Core rev: ac6af654f50aa6f3057dee0de806f5dfae10e4a8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-30 12:05:23 +01:00
Naveen Saini
e7c2bc67b5 bitbake: bitbake: fetch2/git: git-lfs check
Build will fail if repository has lfs contents in absense of git-lfs tool on host.
Build will pass if repository may or may not contains lfs content if host has git-lfs installed.

[YOCTO #13198]

(Bitbake rev: 3f2c2eb2f59707828bdcdd6414db837da8dc3b0e)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Richard Purdie
6b74b69b23 ptest-packagelists: Add m4 and gettext as 'fast' ptests
These new ptests run in under the ~30s criteria so add to the list
of 'fast' ptests.

(From OE-Core rev: ecba50f8713e969131c61424e8d9c4679ade18db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Richard Purdie
120c082cc1 python3: Drop ptest hack
With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels
we don't need this patch anymore and can run the tests.

(From OE-Core rev: 21bfbef23e1f4c90070017e19f70e488e6ff64be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Luca Boccassi
57f36698b1 systemd: add cgroupv2 PACKAGECONFIG
Allow users to change the default cgroup mode at build time
and use the unified hierarchy mode.
Disabled by default - hybrid is the default upstream value.

(From OE-Core rev: 25dc64b8de20021de34ce02ce3855ec9dbade4a4)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Adrian Bunk
79a049d732 gnome-doc-utils: Remove stale patch
The recipe was removed 3 years ago.

(From OE-Core rev: 090e3cbed407abb7dd74ded56da38e7b2ee9d9d5)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Dengke Du
3c51973f03 linux-yocto_5.0: set devicetree for armv5
(From OE-Core rev: ef91d05e4eb4bb25a8978867f9398e9fb7475e7c)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Bruce Ashfield
16907c8f39 linux-yocto/5.0: integrate TCP timeout / hang fix
Integrating the following fix:

[
    tcp: fix issues relaed to implement coalescing on backlog queue

    As was discussed on -netdev, there's an issue with TCP timeouts and
    hangs due to new features introduced in the 5.0 kernel:

      https://www.spinics.net/lists/netdev/msg562928.html

    This is a temporary commit to widely test the proposed solution. It
    will be dropped when an official patch makes mainline.
]

(From OE-Core rev: 72ce03c8ee39b6169f4adfa168a0442d4c94be35)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Bruce Ashfield
ce16518670 linux-yocto/5.0: port RAID configuration tweaks from master
Porting the following three RAID config changes from master to
the 5.0 branch:

   ffd8cf5baf8 intel-x86: add Intel VMD support
   8edf951a15c cfg/efi.cfg: built-in CONFIG_EFIVAR_FS to support Intel VROC
   041a6c04244 intel-x86: built-in nvme driver to support boot from nvme disk

(From OE-Core rev: 3e52941a5d66c4c9b035535728a1cb1a415c4c19)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Bruce Ashfield
ee3209bb62 linux-yocto-rt/4.19: fix merge conflict in lru_drain
Paul Gortmaker sent along the following fixup for 4.19-rt:

[
  Author: Paul Gortmaker <paul.gortmaker@windriver.com>
  Date:   Mon Apr 15 12:01:31 2019 -0400

    Revert "mm: handle lru_add_drain_all for UP properly"

    This reverts commit e6e9d6e290028b0a6b83b563fad9fafa7f1d515e.

    It was a 4.19.31 backport of commit 6ea183d60c46 ("mm: handle
    lru_add_drain_all for UP properly").  In summary, what that did
    was to fix a possible harmless WARN_ON on non-SMP, introduced at
    commit 4d43d395fed1 ("workqueue: Try to catch flush_work() without
    INIT_WORK().") by adding non-SMP variants of lru functions.

    The combination of that, with the -rt commit 473f14a9f234 ("mm:
    perform lru_add_drain_all() remotely") at the merge of the two
    results in the following build failure:

      mm/swap.c:736:2: error: #endif without #if

    since the -rt change wants RT specific lru and the stable backport
    wants non-SMP specific lru, and a chunk of the backport with
    an #ifdef CONFIG_SMP is missing.

    However, before we add a four way cluster of ifdeffery to handle all
    cases, we note 4d43d395fed1 was added to the v5.1 release, and it
    was not (currently) backported to any 4.19.x stable release - so it is
    unclear to me why this commit was ever backported to 4.19.31 at all.

    Further, we note this change was to mm/swap.c -- and by definition,
    any preempt-rt deployment that uses swap for anything other than a
    failure contingency mitigation is broken by design.

    Given all that, I decided that the best path forward was to revert
    the two of the three chunks of the backport that remain in the -rt
    branch, and return us to the pre-4.19.31 merge behaviour for -rt.

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
]

(From OE-Core rev: dfe57d439559cc7d1d662a64f0040cd176c1afa7)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Naveen Saini
a2d6792f3a bitbake.conf: add git-lfs to HOSTTOOLS_NONFATAL
This provides git large file storage (lfs) extension.

Include git-lfs conditionally. If git-lfs is present on host and repo
has lfs pointers, then git-lfs will be used. If git-lfs is not present
on host, it will be ignored.

[YOCTO #13198]

(From OE-Core rev: 2968ad8514721ec06e67aaf3fd5ec7b247b3431d)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:31 +01:00
Jaewon Lee
4a42d6907a Adding back wrapper and using OEPYTHON3HOME variable for python3
Adding back the python wrapper and adding a patch to use OEPYTHON3HOME
instead of PYTHONHOME if set, for python3.

If we add back the wrapper as is, we would see the following error that
we also see in Thud:

ImportError: No module named site
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python
v3.
Please upgrade your python v2

This is because python3 would've set PYTHONHOME to use nativesdk
python3 libraries but when the oe-buildenv-internal script tries to call
python2 for the py_v27_check, there will be no python2 libraries in the
PYTHONHOME directory.
In other words, bitbake needs host python2 and the env variable set from
the wrapper contaminates the env and host python2 won't be able to find
its libraries

Creating another variable OEPYTHON3HOME and using this in the python3
wrapper to allow for a way to set a different paths for python3 and
python2

[YOCTO #13208]

(From OE-Core rev: 75d2a85e24ef9a2bf0e218521944523f0ff281e0)

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>
2019-04-29 14:16:30 +01:00
Alistair Francis
dfd5d84ecf libsoup: Upgrade from 2.64.2 to 2.66.1
(From OE-Core rev: 8e9e352a0c16296cd8a530a8bccfa138b9f04040)

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Changqing Li
7f46ac8b5e gettext: add ptest support
skip test lang-c since it need gcc/libtool on target

(From OE-Core rev: 892e6258f737b0903fef29daef99f31f616e217f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
37af0d00f0 manual compliance: remove bits done at runtime
(From OE-Core rev: 434618bec47efdda90981d248bc481f45da093b4)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
b49916c252 ltp_compliance: add new runtime
test runtimes in sec.
AIO: 14
MEM: 94
MSG: 89
SEM: 30
SIG: 194
THR: 399
TMR: 867
TPS: 23

(From OE-Core rev: e099204c34d1cf90ae4bb44fb0f56e72904c664a)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
65b50feabe logparser: Add LTP compliance section
(From OE-Core rev: 0e02eee4041828608bd64610538551646160fd5e)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
12d8f77a88 resulttool: add LTP compliance section
(From OE-Core rev: a680d7d15fafbecf4edce9a29cc4eda16c11fd94)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
f45d63b484 ltp: add runtime test
This adds the framework for running ltp tests.

Here are some times:
math: 61
syscalls: 3957
dio: 18472
io: 29
mm: 551
ipc: 48
sched: 165
nptl: 46
pty: 37
containers: 52
controllers: 9625
filecaps: 27
cap_bounds: 27
fcntl-locktests: 29
connectors: 27
timers: 37
commands: 165
net.ipv6_lib: 30
input: 29
fs_perms_simple: 31
fs: 3476
fsx: 30
fs_bind: 28
fs_ext4: 28
cve: 675

(From OE-Core rev: 1ec677549d490a29a7c713610db4a56be7b55e26)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
9640fa3b22 logparser: Add decoding ltp logs
(From OE-Core rev: 9be041fbaab71a40a2a7422221d8bd5637d6655c)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Armin Kuster
9c82085036 resulttool: add ltp test support
(From OE-Core rev: 966795aa2c6960aca11a04e87f415256faf26957)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-29 14:16:30 +01:00
Richard Purdie
244cbcce0e utils/multiprocess_launch: Improve failing subprocess output
Output before this patch:

ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.: Traceback (most recent call last):
  File "/media/build1/poky/meta/lib/oe/utils.py", line 272, in run
    ret = self._target(*self._args, **self._kwargs)
  File "/media/build1/poky/meta/classes/package_ipk.bbclass", line 230, in ipk_write_pkg
    shell=True)
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.

Note how stdout/stderr from the failing command isn't shown.

After this patch:

ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Subprocess output:Foobar
*** Error: Package name Foobar contains illegal characters, (other than [a-z0-9.+-])

opkg-build: Please fix the above errors and try again.

We suddenly get a much more usable error message. The traceback is supressed
as its distracting from the real problem in this case.

Ideally python itself would handle this but it doesn't so we have to
wrap the exception. We already do this in bitbake itself for the same reason.

(From OE-Core rev: 09276dc76a8bda237b0b0b6d117a1980ae9dbfcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Andreas Müller
38e01f8b94 vte: move shell auto scripts into seperate package
It bugged me for a while that xfce4-terminal sets (tab-)title to 'Untitled'.
This is caused by bash variable PROMPT_COMMAND not set. vte ships /etc/profile.d/vte.sh
adding PROMPT_COMMAND and a function to handle.

Since

* not all consumers of 'libvte' are interested in this feature
* executable shipped by package 'vte' is not necessary for PROMPT_COMMAND support

create a seperate package.
Once applied patches for xfce4-terminal and gnome-terminal will be send.

(From OE-Core rev: c0bed1aa9549568a966d34d5a9e5902190f980cb)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Jens Rehsack
67886623d9 kernel-module-split.bbclass: support CONFIG_MODULE_COMPRESS=y
In case, kernel config enables compressed modules, support of
splitting via split_kernel_module_packages won't find any module.
So, first expand module pattern regex to recognize compressed
modules and then objcopy on temporary extacted to extract module
information.

(From OE-Core rev: fae400b225827400bf32380a7d599d3b2969db55)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Andrej Valek
c814947e03 systemd: upgrade to 242
PATCH REBASED:
==============
0001-do-not-disable-buffer-in-writing-files.patch
0002-don-t-use-glibc-specific-qsort_r.patch
0003-missing_type.h-add-__compare_fn_t-and-comparison_fn_.patch
0004-add-fallback-parse_printf_format-implementation.patch
0005-rules-watch-metadata-changes-in-ide-devices.patch
0005-src-basic-missing.h-check-for-missing-strndupa.patch
0007-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not.patch
0009-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch
0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch
0021-avoid-redefinition-of-prctl_mm_map-structure.patch
0024-test-json.c-define-M_PIl.patch

PATCH DROPPED:
==============
0001-meson-declare-version.h-as-dep-for-various-targets-t.patch
0001-meson-declare-version.h-as-dependency-for-systemd.patch
0013-test-hexdecoct.c-Include-missing.h-for-strndupa.patch

PATCH ADDED:
0025-fs-utilh-add-missing-sys-stat-include.patch

(From OE-Core rev: 1d453c9087f92da1ceddc66a887941e4929b3448)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Martin Jansa
018be19fbf glibc: always use bfd linker
* Work around broken ld-2.29.so when gold is used
  causing qemu-arm to segfault during e.g. gobject-introspection
  or postinst at do_rootfs time, more details in:
  http://lists.openembedded.org/pipermail/openembedded-devel/2019-March/198937.html
  https://sourceware.org/bugzilla/show_bug.cgi?id=24148
  https://sourceware.org/bugzilla/show_bug.cgi?id=10937
  https://sourceware.org/bugzilla/show_bug.cgi?id=18103

(From OE-Core rev: ac64c3b96bdff0b61bb5247fcd2d7ef4be881c09)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
sangeeta jain
ebeecd60c2 resulttool/manualexecution: Enable test case configuration option
Current manualexecution required user to exceute all test cases defined inside a "modulename.json" file in oeqa/manual

There are cases when all test cases all not required to run for a module on specific DUT.

Enable manualexecution to have the optional feature where it will use pre-defined json format test case configuration file
where user will be able to select test cases from the "modulename.json" instead of running all of them. This will help
in reducing testing time and reporting unneccesary skip or failures.

Example pre-defined json format test case configuration file (for build-applince):

{
    "testcases" : [
        "build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
        "build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)"
    ]
}

(From OE-Core rev: 3950c28a34f94b5907d37b579bdaee5a59794652)

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Khem Raj
852808d4c1 webkitgtk: Fix build with clang
Newer version of webkitgtk has some compile failures with clang/libc++
combination.

(From OE-Core rev: f1741a8209e56cdf51223678239a680d8788f71f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Angus Lees
97f7d39702 Revert "wic: Set a miniumum FAT16 volume size."
This reverts commit f7dfb4d43247d3c13a4e0a3853007d63b9512b83.

FAT16 volumes do not have a minimum size of 8250 blocks
(== slightly over 4MB).  Exhibit A: floppy disks.

The original commit message suggests this was a workaround for a bug in
parted - in which case we should fix it there, or use the wic
`--fixed-size` option to pass down an enforced minimum from a more
context-aware point in the callstack.

(From OE-Core rev: e0a1ae3863bc229512d43e4a5248551bf25950e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Zang Ruochen
6aac2bbe19 icu: Upgrade 64.1 -> 64.2
(From OE-Core rev: 392f18cd7692c90976eff4c6d5fc4ef09f7d357d)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Oleksandr Kravchuk
ffaede2317 wget: update to 1.20.3
(From OE-Core rev: d583ea2ba292b7bafeff3e24d9c17ba81cacedc2)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Oleksandr Kravchuk
08c0268aaa python3-pygobject: update to 3.32.1
(From OE-Core rev: f3f37a0360cedc2dded3ddd34d190ea76eade5cd)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Oleksandr Kravchuk
3c00846ede python-numpy: update to 1.16.3
(From OE-Core rev: 36c9d0d07c017239a0e5cce4b48bf7d4f9e7a0d6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Andreas Müller
9f44921266 vte: upgrade 0.52.2 -> 0.56.1
* license: COPYING was replaced by COPYING.LGPL2/COPYING.LGPL3/COPYING.GPL3
* prettify recipe a bit

(From OE-Core rev: 2cce886e322ac2220af369b75c075cfdb1ac36d3)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Naveen Saini
837637da9e core-image-rt-sdk: make sure that we append to DEPENDS
This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py

(From OE-Core rev: e0a51194c006f26b061367022d4b9f8a7cd66051)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Naveen Saini
8663e6c39b core-image-rt: make sure that we append to DEPENDS
This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py

(From OE-Core rev: 5ca48849ca2107d1c219914cb8614409ca88d435)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Mardegan, Alberto
e03d103e10 oeqa/core/runner: dump stdout and stderr of each test case
Some CI pipelines might perform further processing of the test output
(for instance, to plot some metrics into a chart). However, Since `thud`
we switched away from the XML-based jUnit reporting, and at the same
time we lost the ability of collecting the stdout and stderr of the
various tests.

We now restore this functionality by adding `stdout` and `stderr` keys
to the JSON reports. This behavior is off by default; in order to enable
it, one must set the `TESTREPORT_FULLLOGS` variable in the bitbake
configuration.

(From OE-Core rev: fd0048630ece5b21efb3a79e97046be0ab2a1514)

Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Chen Qi
9d997dff7b webkitgtk: set CVE_PRODUCT
(From OE-Core rev: 43aaa117386490c822b824974fb095bd0d3ce1a3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Kai Kang
63c5912247 cryptodev: fix module loading error
Backport patch from upstream to fix module cryptodev loading error.

(From OE-Core rev: 66c446f96a0f26f3895cc930c5e5ee2d033489ca)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Lei Maohui
dac764b6e2 dnf: Enable nativesdk
Make dnf work on nativesdk environment.

(From OE-Core rev: 88843ff56a8ac8addea3eadb73651bbf49d1509d)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Fabio Berton
2b70287431 mesa: Update 19.0.1 -> 19.0.3
Mesa 19.0.3 is a bug fix release which fixes bugs found since the
19.0.1 release.

For full log see:

https://www.mesa3d.org/relnotes/19.0.2.html
https://www.mesa3d.org/relnotes/19.0.3.html

(From OE-Core rev: 38e2602426945de257a1bd9dd7e70e7b3499a4bf)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Adrian Bunk
0734405c9a Use the best xz compression for the SDK
It saves 23% space for me, and decompression time is also shorter.

Compression time and xz memory usage should be less of a worry
for the SDK.

(From OE-Core rev: 353d93ead899a479fc6bc3625edc87269a891d39)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Richard Purdie
dc9379add2 lttng-tools: Add missing patch Upstream-Status
(From OE-Core rev: 44f4fd033d33ca22102908b2941e652820d72a53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:08 +01:00
Oleksandr Kravchuk
60ac138adc ninja: add Upstream-Status and SOB for musl patch
(From OE-Core rev: f3a20accd2372449746955fec8521ac8a55d60ed)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:07 +01:00
Richard Purdie
d0d822d173 resultool/resultutils: Fix module import error
Fix AttributeError: module 'urllib' has no attribute 'request' when
using remote http urls.

(From OE-Core rev: 9acc47236e2a9ac7f97f80040f5e508f23f01611)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-26 10:09:07 +01:00
Alexander Kanavin
07d29e7cec gtk-doc.bbclass: unify option setting for meson-based recipes
This is done similarly to gobject-introspection work by Andreas Müller,
and allows dropping duplicate clutter from the recipes.

(From OE-Core rev: ff578f4451a0a199202e576b647840910b4d3f59)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Martin Jansa
8833afc0e0 icecc.bbclass: stop causing everything to be effectivelly MACHINE_ARCH
* since this change:
  commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
  Author: Douglas Royds <douglas.royds@taitradio.com>
  Date:   Thu Dec 20 11:59:47 2018 +1300

    icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time

  the set_icecc_env function depends on KERNEL_CC variable even for recipes
  like linux-libc-headers

* KERNEL_CC variable depends on STAGING_KERNEL_DIR:
  Variable KERNEL_CC value is ${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}
  List of dependencies for variable KERNEL_CC is {'STAGING_KERNEL_DIR', 'HOST_PREFIX', 'DEBUG_PREFIX_MAP', 'HOST_CC_KERNEL_ARCH', 'KERNEL_SRC_PATH'}

  which depends on MACHINE:
  Variable STAGING_KERNEL_DIR value is ${TMPDIR}/work-shared/${MACHINE}/kernel-source
  List of dependencies for variable STAGING_KERNEL_DIR is {'MACHINE'}

* as detected with:
  openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=glibc --analyze

  ERROR: linux-libc-headers different signature for task do_configure.sigdata between qemux86 and qemux86copy
  NOTE: Starting bitbake server...
  basehash changed from 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee to f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa
  Variable MACHINE value changed from 'qemux86' to 'qemux86copy'

  $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1556122458/qemux86*/*/linux-libc-headers/*do_configure.sigdata*
  NOTE: Starting bitbake server...
  basehash changed from f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa to 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee
  Variable MACHINE value changed from 'qemux86copy' to 'qemux86'

(From OE-Core rev: 8becde63763027037d40ef82dd6678721e6d90d4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
ac5b7cef59 buildhistory: call a dependency parser only on actual dependency lists
Previously it was also called on filelists and possibly other items which
broke the parser.

(From OE-Core rev: 90bbe1bbc1667bf836d93df1e1ecca0c43315d06)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Joshua Watt
e567c3761b resulttool: Add log subcommand
Adds a subcommand for dumping various logs from test results

(From OE-Core rev: 454b8d2cdc6f79a51e610dae92c22352850c3f7c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Joshua Watt
3326a902db resulttool: Load results from URL
Adds support for resulttool to load JSON files directly from a http://
or https:// URL

(From OE-Core rev: 235bcf0c504e7ea253ccfb28d600898117c64c1f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Changqing Li
0ab0dacc1a m4: add ptest support
add patch 0001-test-getopt-posix-fix.patch for fix test-getopt-posix

(From OE-Core rev: 6048f6787b0b6e98f8d16710ffb68fe10c41e0a2)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
3772725a45 python3-pip: update to 19.0.3
(From OE-Core rev: dd71c3a9c8e1bf004526bb6103870399ed9528e1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
3eb2e93485 python3-pbr: update to 5.1.3
(From OE-Core rev: e3f9fe611cfba8519364279c55daecc6f04a65bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
0c3e846938 python3-mako: update to 1.0.9
(From OE-Core rev: ab1018987b70039b12269224038af75521566f28)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
281ee0ccd1 python-setuptools: update to 41.0.1
(From OE-Core rev: 2ec3ca096f7a6c6ac8a3bfaa71a60d5903d29b9f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
37c3eda54b python-scons: update to 3.0.5
Do not use the latest pypi tarball, as it lacks several files (the LICENSE, for instance).

License-update: copyright years.

(From OE-Core rev: dd45da1c226bc87b4be5e9f065595aed316175a2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
79b373eec4 msmtp: fix upstream version check
(From OE-Core rev: d2e59735c11ae2dc2bc952414106d9395cc4a65c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Alexander Kanavin
1b9f574dbf acpica: update to 20190405
(From OE-Core rev: 452dcb53381a0f5a834621d52c79ac9e16b8aeb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Ross Burton
218ce6a595 acpica: upgrade to 20190215
Drop yy_scan_string patch, this only affects builds with flex 2.6.2.  We
currently have 2.6.0 and when we upgrade it will be to at least 2.6.3, which
fixes the regression.

Drop manipulate_fds_instead-of-FILE.patch, the original problem was fix upstream
in May 2015[1] so the 20170303 upgrade should have dropped this patch instead of
rebasing.

Call the upstream install target with variables set appropriately, instead of
hand-coding an install.

[1] ecb91f4c3a

(From OE-Core rev: 4e95571120c8748b2b5ef4b6a06914232b19d457)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25 00:05:20 +01:00
Robert Yang
7f7a7cba4d bitbake: bb: siggen: Print more info when basehash are mis-matched
This is useful for debugging.

(Bitbake rev: 07b6054b32b37375e2de4b1276bf6fe3f9ad0b04)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:45 +01:00
Robert Yang
3c06699da3 bitbake: bb: siggen: Make dump_sigfile and compare_sigfiles print uuid4
This can make people easier to understand bitbake-diffsigs/dumpsig's output,
otherwise, it's hard to know it is a random uuid unless look into the code.

E.g.:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*

* Before:
  Taint (by forced/invalidated task) changed from nostamp:fe79d162-c4a8-4174-8007-f6d4aa09abdc to nostamp:28192187-5021-40c1-9e21-45483b62c910

* Now:
  Taint (by forced/invalidated task) changed from nostamp(uuid4):fe79d162-c4a8-4174-8007-f6d4aa09abdc to nostamp(uuid4):28192187-5021-40c1-9e21-45483b62c910

(Bitbake rev: 724b4a5cec8c611d53350f3e5a3988ec3222684b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:45 +01:00
Robert Yang
5c5a0938de bitbake: bitbake-diffsigs: Use 4 spaces as indent for recursecb
It used 2 spaces as indent which wasn't clear enough, and might cause
confusions, people might think it was in wrong format.

Fixed:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*

* Before:
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
  Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]

* Now
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
    Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]

(Bitbake rev: 5127a8d8e6d53f5f43a6ada7fd09b6b0c24ae989)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:45 +01:00
David Reyna
02c42d49d1 bitbake: toaster: update to Warrior
Update the fixture files to add Warrior and remove Sumo.

[YOCTO #13287]

(Bitbake rev: 7dbcab1a0dd9d9e13f968e0b4d78deb2adcc4c23)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:45 +01:00
Alexander Kanavin
f7392539a6 meson: add missing Upstream-Status and SOB to a patch
(From OE-Core rev: 246622124d97d05d53b015797d620da974e20b79)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Ross Burton
5dbcd2b6f5 lttng-tools: fix Upstream-Status
(From OE-Core rev: 6af2a07264eaa20a75080ebe53689db045335a50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Chen Qi
78ac62b44a base-files: move hostname operations out of issue file settings
The function do_install_basefilesissue is meant to deal with
/etc/issue* files and the following setting could actually be
overridden.

  BASEFILESISSUEINSTALL ?= "do_install_basefilesissue"

So move the hostname operations out of this function.

(From OE-Core rev: f17bcc46341db5ee91bb26389ccaebc68c49b97e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Martin Jansa
4f9318adae connman: add PACKAGECONFIG for nfc, fix MACHINE_ARCH signature when l2tp is enabled
* import 2 fixes from LuneOS
* with l2tp PACKAGECONFIG enabled connman depends on MACHINE_ARCH xl2tpd:
   === Comparing signatures for task do_package_write_ipk.sigdata between hammerhead and mako ===
  ERROR: connman different signature for task do_package_write_ipk.sigdata between hammerhead and mako
  NOTE: Starting bitbake server...
  Hash for dependent task xl2tpd/xl2tpd_git.bb.do_packagedata changed from 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 to c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142
  Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-openembedded/meta-networking/recipes-protocols/xl2tpd/xl2tpd_git.bb.do_packagedata with hashes 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 or c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142

(From OE-Core rev: ba89fea0e443e1492000b7114f32edf15819a151)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Joshua Watt
ac45fd8793 classes/waf: Set WAFLOCK
Sets the WAFLOCK environment variable. This controls the name of the
lock file that waf uses to pass the build configuration from 'configure'
to 'build' and 'install'. Using a uniquely generated name based on the
parameters passed to 'configure' ensures that the source directory can
be configured for multiple different builds without conflicting (since
the lock file is stored in ${S})

(From OE-Core rev: 29419141a42e6b6664f72d085288ba03c74f90a6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Chen Qi
b765109769 busybox: fix ptest failure about 'dc'
Fix the following two failure of busybox ptest:

  FAIL: dc read
  FAIL: dc read string

These two test cases relies on the functionalities enabled by
CONFIG_FEATURE_DC_BIG.

(From OE-Core rev: 7880a7102dea7ab928790d3f571f293ea993af2d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Alexander Kanavin
66ecad10ae python3-pygobject: update to 3.32.0
Switch to meson build system.

Add a patch to disable tests.

Add "introspection" to unknown configure option whitelist, as
this recipe needs g-i unconditionally.

(From OE-Core rev: 890a460d2ad9bce8f6a1df055e040f334f958673)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Alexander Kanavin
1b74389d93 meson: do not try to substitute the prefix in python supplied paths
The prefix should be correct in the first place, and substitution breaks
with our custom patched Python.

(From OE-Core rev: ad1d0187aed457e4b5bd1c0d11b39141786bc9fd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Alexander Kanavin
47f4ad9ff0 python3: add another multilib fix
(From OE-Core rev: 60502aa366f860b4f056da1bcd8fd5ee8f4495f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Alexander Kanavin
e3b2e3340f epiphany: update to 3.32.1.2
Drop an option no longer provided by upstream.

(From OE-Core rev: 80da63993d7e33be9ac77bc95873873706436fd8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Alexander Kanavin
1bba6502c1 icu: update to 64.1
License-update: copyright years changed.

Drop upstreamed/backported patches.

Add a patch to fix big endian build failure.

(From OE-Core rev: 929d37831624fce84580466c4408217c766410f0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
He Zhe
9fe634f797 ltp: Fix setrlimit03 call succeeded unexpectedly
Backport a patch from upstream to fix the following error.
"setrlimit03.c:54: FAIL: call succeeded unexpectedly"

(From OE-Core rev: 6f1c0f9be9bb9de52268563f43f4bfc793284341)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Oleksandr Kravchuk
9e457ea58e libcap: update to 2.27
(From OE-Core rev: 1b423547803e97fac0bbc3c94d5bab4f2dba83ae)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Oleksandr Kravchuk
894d128236 pixman: update to 0.38.4
(From OE-Core rev: eda7ad4e8f9899ac357753d1521f17de50530cc4)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:20 +01:00
Steven Hung (洪于玉)
bd50ff2cd0 kernel.bbclass: convert base_do_unpack_append() to a task
<pre>
when&#32;externalsrc&#32;is&#32;enabled&#32;and&#32;the&#32;&#39;do_unpack&#39;&#32;task&#32;is&#32;deleted,
building&#32;kernel&#32;module&#32;fail

(From OE-Core rev: 1ba4728f058b90957741fa016230ffa72e206ff3)

Signed-off-by:&#32;Steven&#32;Hung&#32;(&#27946;&#20110;&#29577;)&#32;&lt;Steven.Hung@mediatek.com&gt;
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Randy MacLeod
f3b96fa0bb valgrind: update from 3.14.0 to 3.15.0
The SRC_URI moved.
Two local patches are now fixed upstream so remove them.

The glibc ptest results are essentially the same.

             3.14  3.15
TOTAL:        579   589
PASSED:       297   301
FAILED:       251   254
SKIPPED:       31    34
DURATION:    1312  1171

(From OE-Core rev: dfbc1e03c1f98a5a987a94ea815ba44f61abf289)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Robert Joslyn
0573bf6b87 qemu: Add PACKAGECONFIG for snappy
In addition to toggling libsnappy support, this allows a qemu-native
build to explicitly disable snappy support. When building qemu-native,
the configure script will detect libsnappy on the build machine and
improperly enable snappy support. This can corrupt the sstate cache if
the cache is populated with a qemu-native build with snappy improperly
enabled, and the cached qemu-native gets used on another build machine
that does not have libsnappy.

(From OE-Core rev: ceda00d3f918834c2e20983f0231abedb778e65c)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
18e6026b6f cups: update to 2.2.11
CUPS 2.2.11 is a bug fix release that addresses issues in the scheduler,
IPP Everywhere support, CUPS library, and USB printer support.

(From OE-Core rev: 2904ffdffc829ee7a0f0228babe392535fb5e544)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Alistair Francis
6229cec64e u-boot: Fix missing Python.h build failure
(From OE-Core rev: ea527e5008c28c410806cd0a2e8513ff6dcac450)

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
a3861b1947 help2man-native: update to 1.47.10
(From OE-Core rev: 481e8c5740bba86c0d32c4ff6119bf595b8a1eec)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
77eb176f42 orc: update to 0.4.29
(From OE-Core rev: b5ab60f51d830e736b36e8f4fd69c6fea103e85e)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
ca7ab1aa86 lz4: update to 1.9.0
(From OE-Core rev: b3248a7a47c0fb9a06697a29428856bfbad61af7)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
40a658e393 gnupg: update to 2.2.15
(From OE-Core rev: e60b3994d4bc282191302e1fd9b7d2106ee2f6cb)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
be406d773e quota: update to 4.05
License checksum from quota.c was removed since according to the
project, copyrighted code in question has been replaced with own
implementation (see @bcbc0d08e5cd).

Removed patches were upstreamed.

(From OE-Core rev: 4959abd0accffc1cd3dcbcf5efcd18d1e64b739a)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
c238dd61e4 git: update to 2.21.0
(From OE-Core rev: 48fbe798546ea279e93257c28e41929d65d58ade)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
668aadbef8 libpsl: update to 0.21.0
(From OE-Core rev: ab4b94e8eafee7bd7d9a1f86b737ba621176b6e8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
af1c9b71c8 libcroco: update to 0.6.13
Removed patches were upstreamed.

(From OE-Core rev: 76285dad7baf00624500bef4ac073fcb0839ecbe)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
c0407a8ecb libpng: update to 1.6.37
Removed patch was upsteamed.

License checksums were changed due to modified copyright year and fixed
typo in LICENSE file (see @fef895aa28 and @8da8257d0b).

(From OE-Core rev: cfd21faa77fe81205ad0eb80c47fce37f5d1e2b1)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
6d61833b75 libnotify: update to 0.7.8
(From OE-Core rev: fe4809a1ba4b4c13f03dd2ad03342aa952ee0c4c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
25950a57ad libinput: update to 1.13.1
(From OE-Core rev: 45e782966cdbd18e7973f86686b1fa151e0b7ff1)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Oleksandr Kravchuk
549babd058 libdrm: update to 2.4.98
(From OE-Core rev: c176577acde24e18e6c2e16f2c127a32a0e3696d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Mingli Yu
b9b57a52ed gcc-sanitizers: fix -Werror=maybe-uninitialized issue
When DEBUG_BUILD = "1" added in local.conf, there
comes below build error when "bitbake gcc-sanitizers":
| ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink':
| ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|   return S_ISLNK (st.st_mode);

After commit[16643b0322 bitbake.conf: Use -Og in DEBUG_OPTIMIZATION]
introduced, "-Og" added to compiler when debug
build enabled.

Per https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00315.html,
the gcc upstream thinks the warning is a false
positive and suggests to use -O2 rather than -Og
or -O1 when compiling that file, so pass -Wno-error
to compiler when -Og is used to silence the error.

(From OE-Core rev: d8d657f082d4a86f93ce810e5d99eb5c93333d8a)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Changqing Li
0ad9bbaf9d systemd: change default locale from C.UTF-8 to C
current default locale is set to C.UTF-8, but glibc not support
locale C.UTF-8. so set to the default locale C.

[snip]
        if not meson.is_cross_build()
                choose_default_locale_sh = find_program('tools/choose-default-locale.sh')
                default_locale = run_command(choose_default_locale_sh).stdout().strip()
        else
                default_locale = 'C.UTF-8'
        endif

if default locale set to C.UTF-8, it will cause libpcre ptest fail:

  re> //8+L
** Failed to set locale ""

(From OE-Core rev: 48f1521de8d16971e8021d7bf551f0b88f392f43)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Richard Purdie
8a781a727e core-image-sato-sdk-ptest: Add temporary PROVIDES core-image-sato-ptest
Since we want to ultimately move this recipe to that name, add a PROVIDES
to allow things to work whilst we fix the bugs preventing the move. This
avoids having to keep changing the autobuilder.

(From OE-Core rev: 2b70ea6ca2c96fb233f42cfe5058cc89c9de5f82)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Richard Purdie
be957ad7b4 core-image-sato-sdk-ptest: Include more ptests in ptest image
There are recipes not included in core-image-sato-sdk which have ptests, include
these in our ptest test image using the new include file.

(From OE-Core rev: f685ec5740e1a8c3922f8f0631ddaed4b2a5d1f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Richard Purdie
ff9448f915 core-image-sato-ptest-fast: Add 'fast' ptest execution image
Create a common include file which lists recipes that have ptests divided
into 'fast' and 'slow' groups. This allows us to include ptests which otherwise
may not get included in images and allows us to test the faster running things
more regularly.

The new image allows access to these faster executing tests. 'fast' is defined
as tests which execute in under 30s roughly speaking.

(From OE-Core rev: 2d8f8ab85d98929b0f1f699f256b40b1d9cddaec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Mingli Yu
a5dd314fba elfutils: fix build failure with musl
Fix below build failure with musl when ptest
enabled.
| In file included from ../../elfutils-0.176/tests/dwfl-proc-attach.c:33:
| ../../elfutils-0.176/lib/system.h:63:35: error: called object 'err' is not a function or function pointer
|  #define error(status, errno, ...) err(status, __VA_ARGS__)
|                                    ^~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:92:5: note: in expansion of macro 'error'
|      error (-1, 0, "dwfl_linux_proc_attach pid %d: %s", pid,
|      ^~~~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:79:7: note: declared here
|    int err;
|        ^~~

The root cause is because the conflicts between
vairable and function name, so change the variable
name to workaround it.

(From OE-Core rev: 48dbb1bd980f7ed17a612fa7c1be298f14955c3f)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Mingli Yu
073556fa8c elfutils: add ptest support
Add testsuite-ignore-elflint.diff from debian
(http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz)
to fix below ptest failure:
 | ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found
 | FAIL: run-strip-strmerge.sh

Add check for gcc for two test cases such as
run-strip-nothing.sh and run-strip-g.sh which
depends on gcc at run time.

(From OE-Core rev: 240e6b8819aab3bf74cdde92934be337e766aa75)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 23:30:19 +01:00
Scott Rifenbark
f0d4ef3cdc bitbake: bitbake-user-manual: Added section on modifying variables
Fixes [YOCTO #12548]

I created a new section titled "Modifying Variable Values" that
provides instruction on how to use the "bitbake -e" command to
be sure your configuration and variable values are as expected.

(Bitbake rev: 5a697957d7687fe2c730896e178f7e1e054fe724)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-23 16:34:03 +01:00
Richard Purdie
c23c8ebc7f core-image-sato-sdk-ptest: Try and keep image below 4GB limit
(From OE-Core rev: 879b590fe810a543af4cb4ec2c593c448a22a56c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Yi Zhao
a098e31efc libyaml: update SRC_URI[md5sum] and SRC_URI[sha256sum]
Upstream appear to have regenerated the tarball, the new one is the same except the
directory name changed from libyaml to yaml. Adapt to this.

(From OE-Core rev: 9ab05b6ec860078df37c4ea68267ecffaa0ce38c)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
78779d4a38 python-numpy: update to 1.16.2
Drop files/fix_shebang_f2py.patch as the code has been removed upstream.

License-update: copyright years, file paths.

(From OE-Core rev: 90e271e9f1c1ecdb205bca3c9b4976a1a16e83b1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
77e39cf412 python: update to 3.7.3
License-update: copyright years

(From OE-Core rev: a215296bb1b6a87da3692ef0e6176e56310b05f2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
0ee1b6d0c9 python: update to 2.7.16
Drop backported patches

License-update: copyright years

(From OE-Core rev: 061dfcdf062d64e4e1e50e28edfacb14e41b7d74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
24597588d2 ffmpeg: update to 4.1.3
(From OE-Core rev: 6cc4792774dc5f0bff6806351a917d3ce21b2bf1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
a857c7ea57 at-spi2-core: fix meson 0.50 build
(From OE-Core rev: cb2abe280b026af9106a968e6ef7f568b2090771)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
fa909d4fef libmodulemd: update to 2.2.3
(From OE-Core rev: aab2d48359ae15b851992f26d03248334478cace)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
c46c419929 meson: update to 0.50.0
Remove 0001-Linker-rules-move-cross_args-in-front-of-output_args.patch
as the upstream code has been completely reworked; if the issues pops up
again, we need to re-write the fix.

Rebase:
0001-Make-CPU-family-warnings-fatal.patch
0001-environment.py-detect-windows-also-if-the-system-str.patch
0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
0002-Support-building-allarch-recipes-again.patch

Add 0001-mesonbuild-environment.py-check-environment-for-vari.patch
as particularly we set windows resource compiler through an
environment variable WINDRES. This has replaced the
0001-modules-windows-split-WINDRES-env-variable.patch as the code
has been refactored.

Add 0001-mesonbuild-environment.py-do-not-determine-whether-a.patch
for a more robust detection of cross builds.

Replace many-cross.patch with corresponding backports from upcoming 0.50.1:
0007-mesonbuild-allow-multiple-cross-file-options.patch
load-configs-generalise-search-path.patch

Drop cross-libdir.patch as it has been merged upstream.

(From OE-Core rev: 3f9a0f0c6c99364eb128ffc2db704e957f1c0bce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
8a9aaf9e1e btrfs-tools: upgrade 4.20.1 -> 4.20.2
(From OE-Core rev: 382a024d81c6f31556b9c7e548ff5f2d262f033e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
2b01a303b7 dnf: upgrade 4.1.0 -> 4.2.2
(From OE-Core rev: a1e6771747d4b149e7b1b3e4f259e3272a474bd5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
a8ede5f6c1 libcomps: upgrade 0.1.10 -> 0.1.11
Remove upstreamed patch.

(From OE-Core rev: 2fced6170a86fb5b411de0dcc458c5bc6714b56d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
8987cf8a11 libdnf: update to 0.28.1
Remove upstreamed 0001-include-missing-string-and-errno.h-headers.patch

Rebase the other patches.

(From OE-Core rev: b0c76d9b451ba10b97e9ecee7bbfc7158cab4152)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
62d64f4441 vala: update to 0.44.3
Remove valadoc-related patches, as upstream added an option to disable it;
adjust the recipe accordingly.

(From OE-Core rev: dc4555d3cb6109e57c2dcfcc6713f69e1ef99755)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
c7a29f18e2 libdazzle: update to 3.32.1
Remove a patch as the problem was fixed upstream.

(From OE-Core rev: a5440d4288e09d3e429b48e1a5ee4a5f4631de6c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
3832e64a66 webkitgtk: update to 2.24.0
Drop bad_optional_access.patch, as the code it tweaks has
been removed upstream.

Rebase other patches.

Add an option for jpeg2000 support.

(From OE-Core rev: 628e1935431207cbb8ef3e44637f9ad462eea133)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
fb75799788 dtc: upgrade 1.4.7 -> 1.5.0
(From OE-Core rev: ff0237d14e3720e360395e29cdaf8b9dc84a5897)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Alexander Kanavin
37a210e084 gobject-introspection: update to 1.60.1
Drop upstreamed patches:
0010-meson-add-option-gir-dir-prefix.patch
0002-g-ir-tools-respect-gir_dir_prefix.patch
0001-configure.ac-make-GIR_DIR-configurable.patch

Rebase the rest.

Upstream has renamed the gir_dir_prefix option, adjust the recipe.

Add a patch to disable tests in cross builds, as previously meson
build system didn't actually build them.

(From OE-Core rev: 98f4c3a64f8a2b03f57df4387d2ce1e3b3af4035)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Kai Kang
87f32804db msmtp: 1.6.6 -> 1.8.3
Update HOMEPAGE and SRC_URI.

(From OE-Core rev: f17d72d5729ec6e58268267227c3441b9cc906ac)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Bruce Ashfield
8e9c0fe51a linux-yocto/4.19: update to v4.19.34
Integrating the korg -stable releases that comprise the following
commits:

   4d552acf3370 Linux 4.19.34
   d5813e77363c kprobes/x86: Blacklist non-attachable interrupt functions
   e7d26616c92b bcache: fix potential div-zero error of writeback_rate_p_term_inverse
   09abe130820b ACPI / video: Extend chassis-type detection with a "Lunch Box" check
   d1d2ca98b78f net: stmmac: Avoid one more sometimes uninitialized Clang warning
   972e31ba4bc2 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
   986a2bb54a31 Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
   6d2817e2ab8c dmaengine: tegra: avoid overflow of byte tracking
   7386f095b709 clk: rockchip: fix frac settings of GPLL clock for rk3328
   c8e4f8406842 clk: meson: clean-up clock registration
   6251c1db04f2 drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
   648b949b7870 x86/build: Mark per-CPU symbols as absolute explicitly for LLD
   52cd9e0e43c7 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
   05b23c66bb6e brcmfmac: Use firmware_request_nowarn for the clm_blob
   e30e0b0915b6 selinux: do not override context on context mounts
   d2053718e087 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
   e0662d00c98a drm/nouveau: Stop using drm_crtc_force_disable
   1d377200482b drm: Auto-set allow_fb_modifiers when given modifiers at plane init
   27d6de370cdc pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
   61174e34611f regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
   bcdd4a5ee1c5 media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
   9bfd4ab5e8e4 media: rcar-vin: Allow independent VIN link enablement
   2e6bcc327b0b netfilter: physdev: relax br_netfilter dependency
   24296fbc5445 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
   c55f4a6e798d dmaengine: qcom_hidma: assign channel cookie correctly
   afacaf85543b dmaengine: imx-dma: fix warning comparison of distinct pointer types
   fba4c61e9888 cpu/hotplug: Mute hotplug lockdep during init
   a6c671e23168 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
   dbeca415575f f2fs: UBSAN: set boolean value iostat_enable correctly
   16b06b15dd53 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
   67c2be160519 soc/tegra: fuse: Fix illegal free of IO base address
   a3aa9d93b9ab hwrng: virtio - Avoid repeated init of completion
   7aaa76e8a6ab media: mt9m111: set initial frame size other than 0x0
   fd400e96c599 perf script python: Add trace_context extension module to sys.modules
   d90a375b786c perf script python: Use PyBytes for attr in trace-event-python
   f94e369fe7a8 platform/x86: intel-hid: Missing power button release on some Dell models
   1e55e3f6c735 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
   2b20c29bcdf6 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
   3abb3d0418e1 drm/amd/display: Enable vblank interrupt during CRC capture
   06af7dda05b3 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
   57f03bbd4236 tty: increase the default flip buffer limit to 2*640K
   2142eba848a1 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
   d0bc74c5632f cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
   b52681e6e623 powerpc/64s: Clear on-stack exception marker upon exception return
   118d38a3577f selftests/bpf: skip verifier tests for unsupported program types
   ae92cf4760f8 bpf: fix missing prototype warnings
   06666a19d5a5 block, bfq: fix in-service-queue check for queue merging
   30d503bae967 ARM: avoid Cortex-A9 livelock on tight dmb loops
   d8945878ded6 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
   668713493a19 mt7601u: bump supported EEPROM version
   a2479c401054 soc: qcom: gsbi: Fix error handling in gsbi_probe()
   ce80ebf7a04e efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
   240a9050a3d8 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
   b5c1dc9d8fa4 drm/vkms: Bugfix extra vblank frame
   e8e0bd4915ec sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
   b12a060a0bd2 efi/memattr: Don't bail on zero VA if it equals the region's PA
   f056c90f079a sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
   442caac9fce9 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
   b4410c7d731d iwlwifi: mvm: fix RFH config command with >=10 CPUs
   080e00c8f6f9 staging: spi: mt7621: Add return code check on device_reset()
   f0eb935c50b9 i2c: of: Try to find an I2C adapter matching the parent
   7c114e8605a9 platform/x86: intel_pmc_core: Fix PCH IP sts reading
   b9f257e27890 e1000e: Exclude device from suspend direct complete optimization
   c23242c36bdd e1000e: fix cyclic resets at link up with active tx
   efd85d83ac0f perf/aux: Make perf_event accessible to setup_aux()
   355ffe6cc2a1 drm/amd/display: Disconnect mpcc when changing tg
   6c68d1654c27 drm/amd/display: Don't re-program planes for DPMS changes
   322a55a56a2a drm: rcar-du: add missing of_node_put
   924af49998c2 cdrom: Fix race condition in cdrom_sysctl_register
   6d293647f8d9 fbdev: fbmem: fix memory access if logo is bigger than the screen
   2dd699432958 net: phy: consider latched link-down status in polling mode
   5203cf8e29e5 iw_cxgb4: fix srqidx leak during connection abort
   a78aae93ba9c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
   1f3694865d56 genirq: Avoid summation loops for /proc/stat
   98eddc19f9e9 bcache: improve sysfs_strtoul_clamp()
   b468e0007435 bcache: fix potential div-zero error of writeback_rate_i_term_inverse
   c7b687ebe0fb bcache: fix input overflow to sequential_cutoff
   16975f04f2ca bcache: fix input overflow to cache set sysfs file io_error_halflife
   845d4849b60c sched/topology: Fix percpu data types in struct sd_data & struct s_data
   ad02fb6a6cc8 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
   126f2f6af291 ath10k: fix shadow register implementation for WCN3990
   ccce764322d8 ALSA: PCM: check if ops are defined before suspending PCM
   d21a63fc1e53 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
   d93fe5e6c9d9 ARM: 8833/1: Ensure that NEON code always compiles with Clang
   3a1ce9793855 netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
   d53b295f7805 kprobes: Prohibit probing on RCU debug routine
   bc9d714395e2 kprobes: Prohibit probing on bsearch()
   c63cc8d1487c selftests: skip seccomp get_metadata test if not real root
   2df541d0a665 ACPI / video: Refactor and fix dmi_is_desktop()
   d63105845ac5 iwlwifi: pcie: fix emergency path
   5cdd025907b8 perf report: Add s390 diagnosic sampling descriptor size
   5658279f50ea leds: lp55xx: fix null deref on firmware load failure
   9154420173d5 jbd2: fix race when writing superblock
   a74ebf047e4f cgroup, rstat: Don't flush subtree root unless necessary
   b13eb5245f9f HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
   c26d61ea90db vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
   7273c2b1e79c xen/gntdev: Do not destroy context while dma-bufs are in use
   e9cd7f543764 mt76: usb: do not run mt76u_queues_deinit twice
   5cde7721dd05 media: mtk-jpeg: Correct return type for mem2mem buffer helpers
   745cdc344f97 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
   73a4cc59054e media: s5p-g2d: Correct return type for mem2mem buffer helpers
   3c6cd079058e media: rockchip/rga: Correct return type for mem2mem buffer helpers
   55919fc28419 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
   a23fd268fdbb media: sh_veu: Correct return type for mem2mem buffer helpers
   635fabdd8202 media: ov7740: fix runtime pm initialization
   1d836ce73a10 SoC: imx-sgtl5000: add missing put_device()
   d41687c82a70 perf report: Don't shadow inlined symbol with different addr range
   801b8d8c7729 mwifiex: don't advertise IBSS features without FW support
   d323e59f58bb perf test: Fix failure of 'evsel-tp-sched' test on s390
   345c7757fd54 drm/amd/display: Clear stream->mode_changed after commit
   1ef1b20f8711 scsi: fcoe: make use of fip_mode enum complete
   8032fc9120c2 scsi: megaraid_sas: return error when create DMA pool failed
   2c6e3ec8a906 s390/ism: ignore some errors during deregistration
   d60f458e4c4d efi: cper: Fix possible out-of-bounds access
   e57f4676b92f cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
   eb70531a95c8 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
   e6786f8686ef perf annotate: Fix getting source line failure
   763a895aa49c clk: fractional-divider: check parent rate only if flag is set
   d3ec442d609b IB/mlx4: Increase the timeout for CM cache
   61584032c4d6 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
   07a31820b241 platform/mellanox: mlxreg-hotplug: Fix KASAN warning
   0bacfb4adc1b platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
   a64ffbaf7056 mlxsw: spectrum: Avoid -Wformat-truncation warnings
   49dd86f0f5ec e1000e: Fix -Wformat-truncation warnings
   c6fb45d895e0 net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
   194b888af85e mmc: omap: fix the maximum timeout setting
   dcedd37957de btrfs: qgroup: Make qgroup async transaction commit more aggressive
   6cf5f631bad0 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
   fc96b44c05c2 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
   d81bdb3c17f1 ARM: 8840/1: use a raw_spinlock_t in unwind
   951307172652 serial: 8250_pxa: honor the port number from devicetree
   2636ccec991e coresight: etm4x: Add support to enable ETMv4.2
   c70214d519ed powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
   638ecaf58369 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
   5db107484403 scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
   4acf797458ce powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
   6030bcc04735 usb: chipidea: Grab the (legacy) USB PHY by phandle first
   b142c7973338 crypto: cavium/zip - fix collision with generic cra_driver_name
   d401d121113e crypto: crypto4xx - add missing of_node_put after of_device_is_available
   241ebd2ea44b mt76: fix a leaked reference by adding a missing of_node_put
   6115055b4efe wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
   9546c3662dc5 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
   224c996e48be tools lib traceevent: Fix buffer overflow in arg_eval
   83c395332fdf fs: fix guard_bio_eod to check for real EOD errors
   6a817a7aed1c jbd2: fix invalid descriptor block checksum
   ca66f667189c netfilter: conntrack: tcp: only close if RST matches exact sequence
   709aaa09b200 netfilter: nf_tables: check the result of dereferencing base_chain->stats
   36a3219e617a cifs: Fix NULL pointer dereference of devname
   d579b4eae836 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
   4ab78f4d75c6 f2fs: fix to check inline_xattr_size boundary correctly
   8c81fcd3d5c1 dm thin: add sanity checks to thin-pool and external snapshot creation
   626d98bbdb30 cifs: use correct format characters
   a6c56bf63e87 page_poison: play nicely with KASAN
   d609ecd887f8 fs/file.c: initialize init_files.resize_wait
   9b4f27667402 f2fs: do not use mutex lock in atomic context
   20141feb9bde ocfs2: fix a panic problem caused by o2cb_ctl
   f09c424cea9f mm/slab.c: kmemleak no scan alien caches
   8a0fc62e331e mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
   67abbb9c5422 mm, mempolicy: fix uninit memory access
   9d785b92cf0d memcg: killed threads should not invoke memcg OOM killer
   eed3ca0a66cf mm,oom: don't kill global init via memory.oom.group
   ed3345a6607b mm, swap: bounds check swap_info array accesses to avoid NULL derefs
   4c6d7dc741cb mm/page_ext.c: fix an imbalance with kmemleak
   f555b008c576 mm/cma.c: cma_declare_contiguous: correct err handling
   7b287c47e452 mm/sparse: fix a bad comparison
   aea8c971b9c5 perf c2c: Fix c2c report for empty numa node
   c3f28d59c1a5 x86/hyperv: Fix kernel panic when kexec on HyperV
   3e8d62218aa4 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
   e27cced35a4b scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
   fce6aeaf913e scsi: hisi_sas: Set PHY linkrate when disconnected
   e21f655c60fa libbpf: force fixdep compilation at the start of the build
   6048330675cc enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
   9ec4860de95a net: stmmac: Avoid sometimes uninitialized Clang warnings
   b227f1571269 sysctl: handle overflow for file-max
   d6ad08aa3467 include/linux/relay.h: fix percpu annotation in struct rchan
   4c96500e3658 gpio: gpio-omap: fix level interrupt idling
   8c50ab86e288 net/mlx5: Avoid panic when setting vport mac, getting vport config
   3bddc6149f02 net/mlx5: Avoid panic when setting vport rate
   b73c7d020452 tracing: kdb: Fix ftdump to not sleep
   d7391962d723 f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
   198c99857b30 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
   56bb66c50296 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
   2938651d36ca CIFS: fix POSIX lock leak and invalid ptr deref
   442d5d171cd8 tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
   b6b4bcb40be0 tty/serial: atmel: Add is_half_duplex helper
   2dbc7c66d6da ext4: cleanup bh release code in ext4_ind_remove_space()
   bd62f1fe736e arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
   4b3a3ab00fa7 Linux 4.19.33
   11008a9b0fc7 platform: x86: intel_cht_int33fe: Remove the old connections for the muxes
   056cda45cfed usb: typec: class: Don't use port parent for getting mux handles
   6875404a12f8 platform: x86: intel_cht_int33fe: Add connections for the USB Type-C port
   681a9fc184b3 platform: x86: intel_cht_int33fe: Add connection for the DP alt mode
   3bb446a3fe87 platform: x86: intel_cht_int33fe: Register all connections at once
   e99d90ce7750 drivers: base: Helpers for adding device connection descriptions
   f5959dec081a bpf: do not restore dst_reg when cur_state is freed
   738dda85d181 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
   83bbd66b3753 staging: erofs: fix error handling when failed to read compresssed data
   3a18eabaa712 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
   b9733a74350d KVM: x86: update %rip after emulating IO
   7ceedcefc2d2 KVM: Reject device ioctls from processes other than the VM's creator
   a0713e8103d1 x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
   a56aa02e6f15 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
   336f6b23b5b8 watchdog: Respect watchdog cpumask on CPU hotplug
   c91d07ad34d7 powerpc/64: Fix memcmp reading past the end of src/dest
   d7c00bbbfac4 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
   0603e3a9281d objtool: Query pkg-config for libelf location
   a436cf6479c0 perf intel-pt: Fix TSC slip
   5f9366330950 perf pmu: Fix parser error for uncore event alias
   f70ddae24bdf mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
   5966777dd807 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
   c9874d397807 iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
   62d342d67060 mm: add support for kmem caches in DMA32 zone
   2392ffab085a usb: cdc-acm: fix race during wakeup blocking TX traffic
   82a5090aad84 xhci: Don't let USB3 ports stuck in polling state prevent suspend
   20a09a2e8703 usb: xhci: dbc: Don't free all memory with spinlock held
   c81b872281a1 xhci: Fix port resume done detection for SS ports with LPM enabled
   093ccda1a041 usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
   015e5c17617a usb: common: Consider only available nodes for dr_mode
   ef4df134e77e USB: gadget: f_hid: fix deadlock in f_hidg_write()
   614ac345bfec usb: mtu3: fix EXTCON dependency
   66e44981de0e phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
   6ebe03734361 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
   b26f7e86d3cc gpio: exar: add a check for the return value of ida_simple_get fails
   df74e70ffec6 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
   75f9e994b9fd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
   eb1e552524b4 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
   07d0d2bd957a fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
   c956914f1efa Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
   1c992ea006ce USB: serial: option: add Olicard 600
   19151c645d0c USB: serial: option: add support for Quectel EM12
   002795b0d9b3 USB: serial: option: set driver_info for SIM5218 and compatibles
   d7dfccfd3c4b USB: serial: mos7720: fix mos_parport refcount imbalance on error path
   1f46db3cc133 USB: serial: ftdi_sio: add additional NovaTech products
   2a63003545d0 USB: serial: cp210x: add new device id
   59203f078cc6 serial: sh-sci: Fix setting SCSCR_TIE while transferring data
   b1e660c6f802 serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
   f34ec64b3f6c serial: max310x: Fix to avoid potential NULL pointer dereference
   a090ed15420a staging: erofs: fix to handle error path of erofs_vmap()
   3b6b76644ba5 staging: vt6655: Fix interrupt race condition on device start up.
   b9ddff2a41cd staging: vt6655: Remove vif check from vnt_interrupt
   86092f2d5ccb staging: speakup_soft: Fix alternate speech with other synths
   d0360bf48143 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
   668ba38d8950 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
   b9bbd1edddf7 tty: atmel_serial: fix a potential NULL pointer dereference
   124e42064c0d tty: mxs-auart: fix a potential NULL pointer dereference
   7fb7414da97e drm/rockchip: vop: reset scale mode when win is disabled
   a93cd9137fea scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
   983a543de13a scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
   a52eb223a6ee scsi: sd: Quiesce warning if device does not report optimal I/O size
   d72658775c4b scsi: sd: Fix a race between closing an sd device and sd I/O
   3b3fcc3d4ffd ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
   72b790c417b9 fs/open.c: allow opening only regular files during execve()
   aa7f29f87027 kbuild: modversions: Fix relative CRC byte order interpretation
   4dfae837ceaf ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
   6f3dbb71085c ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
   633d5db40280 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
   fd4000c77a5a ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
   48e8e6a736b6 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
   5fa5a8679b92 ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
   5ec67684be9e ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
   89ec6d400b5d ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
   522f06c9c00d ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
   5b93302bbc4e ALSA: pcm: Don't suspend stream in unrecoverable PCM state
   7fc6064dc3b2 ALSA: pcm: Fix possible OOB access in PCM oss plugins
   b425f45295dd ALSA: seq: oss: Fix Spectre v1 vulnerability
   bd55e6727a33 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
   a485919fe4cc net: dsa: qca8k: remove leftover phy accessors
   64751542d3f3 NFSv4.1 don't free interrupted slot on open
   da57cba4f3f1 NFS: fix mount/umount race in nlmclnt.
   0f273f0c3064 vfio: ccw: only free cp on final interrupt
   92d4ee2e8276 powerpc: bpf: Fix generation of load/store DW instructions
   9397f0d9948c ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
   fd1b25364fef Btrfs: fix assertion failure on fsync with NO_HOLES enabled
   0ae3b84b3fa6 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
   1cf4ab01eb5a btrfs: raid56: properly unmap parity page in finish_parity_scrub()
   d952c337b25d btrfs: don't report readahead errors and don't update statistics
   b57220cc9820 btrfs: remove WARN_ON in log_dir_items
   22dcb30fb9d8 Btrfs: fix incorrect file size after shrinking truncate and fsync
   a1df5db3a9f1 powerpc/security: Fix spectre_v2 reporting
   986f0c656749 powerpc/fsl: Fix the flush of branch predictor.
   b848d19c483a powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup'
   632d839296bd powerpc/fsl: Update Spectre v2 reporting
   43f40620d7a5 powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used
   a46a50382639 powerpc/fsl: Flush branch predictor when entering KVM
   3cb931c709d0 powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit)
   cf72dad924cb powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)
   020e5f13805b powerpc/fsl: Add nospectre_v2 command line argument
   4a6a2287e0e6 powerpc/fsl: Emulate SPRN_BUCSR register
   4944f1d48d71 powerpc/fsl: Add macro to flush the branch predictor
   d67ab3d9a1b7 powerpc/fsl: Add infrastructure to fixup branch predictor flush
   e044d21c2999 tun: add a missing rcu_read_unlock() in error path
   6bdb5fdc4787 thunderx: eliminate extra calls to put_page() for pages held for recycling
   ac8411d75962 thunderx: enable page recycling for non-XDP case
   a491de9041b4 net: sched: fix cleanup NULL pointer exception in act_mirr
   7254ad094f4a ila: Fix rhashtable walker list corruption
   979f8a675d3b vxlan: Don't call gro_cells_destroy() before device is unregistered
   3b1386beeef4 vrf: prevent adding upper devices
   8ea78da1aa3e tun: properly test for IFF_UP
   52a7505c91a1 tipc: fix cancellation of topology subscriptions
   1be6c0c737e4 tipc: change to check tipc_own_id to return in tipc_net_stop
   24d1a6259706 tipc: allow service ranges to be connect()'ed on RDM/DGRAM
   7115df614b09 tcp: do not use ipv6 header for ipv4 flow
   cab576f1b00f sctp: use memdup_user instead of vmemdup_user
   97265479d7ca sctp: get sctphdr by offset in sctp_compute_cksum
   cf86f7a97561 rhashtable: Still do rehash when we get EEXIST
   69cea7cf3170 packets: Always register packet sk in the same order
   d9d215be3a3a net-sysfs: call dev_hold if kobject_init_and_add success
   8dcf078d92ae net: stmmac: fix memory corruption with large MTUs
   7eeb12edf637 net: rose: fix a possible stack overflow
   a6f0168e6681 net: phy: meson-gxl: fix interrupt support
   85ef72d829eb net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
   88c64f9c7d3f net: datagram: fix unbounded loop in __skb_try_recv_datagram()
   e4ff39e1ba80 net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
   c408426292ee mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
   e0f8c06f45c3 mac8390: Fix mmio access size probe
   be09211384c2 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
   53adaacbbadb gtp: change NET_UDP_TUNNEL dependency to select
   9b8ef421b481 genetlink: Fix a memory leak on error path
   321461f2497f dccp: do not use ipv6 header for ipv4 flow
   6bba17f6bce3 ipmi_si: Fix crash when using hard-coded device
   15d6538a0d6e Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
   2318c0e4b87e Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
   3a2156c839c7 Linux 4.19.32
   33bd347fee01 power: supply: charger-manager: Fix incorrect return value
   19184190b029 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
   156ba57f4ba6 ALSA: hda - Record the current power state before suspend/resume calls
   0e0f7b307212 locking/lockdep: Add debug_locks check in __lock_downgrade()
   206a76a684a7 x86/unwind: Add hardcoded ORC entry for NULL
   367ccafbcbfe x86/unwind: Handle NULL pointer calls better in frame unwinder
   3254dd301f80 loop: access lo_backing_file only when the loop device is Lo_bound
   35cdcdc5c49d netfilter: ebtables: remove BUGPRINT messages
   1fd916e879a9 f2fs: fix to avoid deadlock of atomic file operations
   9dd5053c8cd5 RDMA/cma: Rollback source IP address if failing to acquire device
   015b828bd66d drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
   e365b94086f9 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
   f67202f78fe3 Bluetooth: hci_ldisc: Initialize hci_dev before open()
   4b39051363a0 Bluetooth: Fix decrementing reference count twice in releasing socket
   4e0ca4bfa2bc Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
   6bef442eea18 media: v4l2-ctrls.c/uvc: zero v4l2_event
   d12d86411c03 ext4: brelse all indirect buffer in ext4_ind_remove_space()
   76c9ee6bd5d2 ext4: fix data corruption caused by unaligned direct AIO
   558331d0205b ext4: fix NULL pointer dereference while journal is aborted
   ff7a1f81c20e ALSA: ac97: Fix of-node refcount unbalance
   c8e91d756703 ALSA: hda/ca0132 - make pci_iounmap() call conditional
   4a767459389a ALSA: x86: Fix runtime PM for hdmi-lpe-audio
   38bd575b9aef SMB3: Fix SMB3.1.1 guest mounts to Samba
   aacf2cc814c2 irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
   daaeeca918e7 objtool: Move objtool_file struct off the stack
   37c6f8089806 perf probe: Fix getting the kernel map
   14c52acaac86 cifs: allow guest mounts to work for smb3.11
   36d52f5bcd57 futex: Ensure that futex address is aligned in handle_futex_death()
   837becb30c3b scsi: ibmvscsi: Fix empty event pool access during host removal
   04809b226e79 scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
   b8ea151a7ab5 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
   9d91069f48cc MIPS: Fix kernel crash for R6 in jump label branch function
   6e74961bd67d MIPS: Ensure ELF appended dtb is relocated
   56bcf3df2552 mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
   c72e90d94a14 udf: Fix crash on IO error during truncate
   9cae232a8706 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
   869157135003 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
   69e26237ed1e drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
   ab483d1ca7ae drm/vmwgfx: Don't double-free the mode stored in par->set_mode
   42f358b2d48c mmc: renesas_sdhi: limit block count to 16 bit for old revisions
   65a5c93687b7 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
   3b6870159e2e mmc: pxamci: fix enum type confusion
   6339cc5181c0 ALSA: firewire-motu: use 'version' field of unit directory to identify model
   023a1b28cf72 ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
   a2cddfe2ce6e Linux 4.19.31
   3053cb9701cd s390/setup: fix boot crash for machine without EDAT-1
   e578f90d8a9c bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
   5ffb710b03d5 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
   29b515c27c0a KVM: nVMX: Apply addr size mask to effective address for VMX instructions
   9ce0ffeb68b6 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
   c235af5a10f2 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
   656e9e5d5529 KVM: x86/mmu: Detect MMIO generation wrap in any address space
   23ad135ae66f KVM: Call kvm_arch_memslots_updated() before updating memslots
   585715ef18bf drm/amd/display: don't call dm_pp_ function from an fpu block
   17982c6a649b drm/amd/powerplay: correct power reading on fiji
   808b1c1e28e8 drm/radeon/evergreen_cs: fix missing break in switch statement
   9bc6e5673949 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
   87bfc7b695bd media: imx: csi: Stop upstream before disabling IDMA channel
   54b941202391 media: imx: csi: Disable CSI immediately after last EOF
   73236bf581e9 media: vimc: Add vimc-streamer for stream control
   29e8c9ae99c7 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
   77b4e7454bbd media: lgdt330x: fix lock status reporting
   6039128dc6bf media: imx: prpencvf: Stop upstream before disabling IDMA channel
   e97a32a5a3bc rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
   bce45a547546 tpm: Unify the send callback behaviour
   af0c1bd0c5e9 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
   cc3b79d487e8 md: Fix failed allocation of md_register_thread
   01088750f25e perf intel-pt: Fix divide by zero when TSC is not available
   30cedf18d1e2 perf/x86/intel/uncore: Fix client IMC events return huge result
   a46a8cdfea3c perf intel-pt: Fix overlap calculation for padding
   fa592fc0bde5 perf auxtrace: Define auxtrace record alignment
   d8f691f29d91 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
   e25353a0ac44 perf intel-pt: Fix CYC timestamp calculation after OVF
   3e5a054b0f70 x86/unwind/orc: Fix ORC unwind table alignment
   b05581b8ba9c vt: perform safe console erase in the right order
   2ca85aac1213 stable-kernel-rules.rst: add link to networking patch queue
   622afe5c7449 bcache: never writeback a discard operation
   cd73824636cb PM / wakeup: Rework wakeup source timer cancellation
   43bceddcd7e2 svcrpc: fix UDP on servers with lots of threads
   4af185feb9df NFSv4.1: Reinitialise sequence results before retransmitting a request
   ecab6ab1c227 nfsd: fix wrong check in write_v4_end_grace()
   8056912c1c75 nfsd: fix memory corruption caused by readdir
   10a68cdf1035 nfsd: fix performance-limiting session calculation
   2c648caf630d NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
   63b0ee126f7e NFS: Fix an I/O request leakage in nfs_do_recoalesce
   be74fddc976e NFS: Fix I/O request leakages
   4ea4f347662c cpcap-charger: generate events for userspace
   ce02d82c4e1a mfd: sm501: Fix potential NULL pointer dereference
   5579d97e92f7 dm integrity: limit the rate of error messages
   7668d6e45f3a dm: fix to_sector() for 32bit
   a441fdaf8c30 ipmi_si: fix use-after-free of resource->name
   3cbae9fa85ce arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
   c113a7fb017b arm64: debug: Ensure debug handlers check triggering exception level
   85c8ea220f89 arm64: Fix HCR.TGE status for NMI contexts
   58691e6a93d8 ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
   d6d004b3dd70 powerpc/traps: Fix the message printed when stack overflows
   461a52a44893 powerpc/traps: fix recoverability of machine check handling on book3s/32
   baed68a953ac powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
   9d2e929c3bae powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
   344996a835d4 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
   3bf8ff7bc667 powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
   f6f03d6078b1 powerpc/83xx: Also save/restore SPRG4-7 during suspend
   b0934990125a powerpc/powernv: Make opal log only readable by root
   9b5305504709 powerpc/wii: properly disable use of BATs when requested.
   40b97853c200 powerpc/32: Clear on-stack exception marker upon exception return
   c7dad095f35a security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
   e4f6f82c9edc selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
   584f390d1039 jbd2: fix compile warning when using JBUFFER_TRACE
   dbe4bc993836 jbd2: clear dirty flag when revoking a buffer from an older transaction
   3545324fba52 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
   8225bb965f29 serial: 8250_pci: Fix number of ports for ACCES serial cards
   9d0b55bb2aec serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
   a4b021ec4b5a serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
   9920eb4003c5 bpf: only test gso type on gso packets
   206fa92c9d52 drm/i915: Relax mmap VMA check
   116a9e31237c can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
   6f29e4c2dbb1 gpio: pca953x: Fix dereference of irq data in shutdown
   e86a57ecdfac media: i2c: ov5640: Fix post-reset delay
   5f9614d0540b i2c: tegra: fix maximum transfer size
   25970b517db1 parport_pc: fix find_superio io compare code, should use equal test.
   57c29a08c4cf intel_th: Don't reference unassigned outputs
   c835b4417c18 device property: Fix the length used in PROPERTY_ENTRY_STRING()
   93c8a44a8297 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
   09417dd35e37 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
   c1ddc7b785b4 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
   234c0cc98221 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
   c7fd1a968c5d dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
   822e21853439 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
   8415e718a06b usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
   b1c1ef7b4d63 clk: ingenic: Fix doc of ingenic_cgu_div_info
   4a04611fc266 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
   33e7604ac8fd clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
   4d1de1e6d266 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
   9aba7a8fd163 clk: clk-twl6040: Fix imprecise external abort for pdmclk
   6e02a5f5aba3 clk: uniphier: Fix update register for CPU-gear
   62600af3a7cb ext2: Fix underflow in ext2_max_size()
   c335b49379b5 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
   54674984d478 IB/hfi1: Close race condition on user context disable and close
   09bc2f5a16a9 PCI: dwc: skip MSI init if MSIs have been explicitly disabled
   13a9d14fbf1b PCI/DPC: Fix print AER status in DPC event handling
   c733cf4abfba PCI/ASPM: Use LTR if already enabled by platform
   8a4fdc649ca9 ext4: fix crash during online resizing
   a0d876c77705 ext4: add mask of ext4 flags to swap
   048bfb5bc05f ext4: update quota information while swapping boot loader inode
   071f68163cc0 ext4: cleanup pagecache before swap i_data
   cdf9941b7707 ext4: fix check of inode in swap_inode_boot_loader
   ae228aca576d cpufreq: pxa2xx: remove incorrect __init annotation
   f65b34d0f979 cpufreq: tegra124: add missing of_node_put()
   33565a76a7b2 cpufreq: kryo: Release OPP tables on module removal
   ee7d297fba24 x86/kprobes: Prohibit probing on optprobe template code
   a477075ebab3 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
   c8666ede18ec irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
   b92fad6995c3 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
   02c55be588b1 soc: qcom: rpmh: Avoid accessing freed memory from batch API
   898488e2988c Btrfs: fix corruption reading shared and compressed extents after hole punching
   1a00f7fd0fbf btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
   6e24f5a1ebb1 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
   61f9209676e8 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
   fcbf12e23d99 m68k: Add -ffreestanding to CFLAGS
   205f149f1a35 ovl: Do not lose security.capability xattr over metadata file copy-up
   6f048ae2d25f ovl: During copy up, first copy up data and then xattrs
   2af926fd52fc splice: don't merge into linked buffers
   1c2123ff4312 fs/devpts: always delete dcache dentry-s in dput()
   d8ae662b400f scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
   f4a9fd5652d5 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
   852a4ab292bb scsi: sd: Optimal I/O size should be a multiple of physical block size
   e6e738e2b5ff scsi: aacraid: Fix performance issue on logical drives
   bd8a0e656935 scsi: virtio_scsi: don't send sc payload with tmfs
   1653307cf0e7 s390/virtio: handle find on invalid queue gracefully
   b52bdf53130a s390/setup: fix early warning messages
   e19ca3fe6cf2 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
   ef8062e20614 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
   c1f45c10df2e clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
   06607b1b6cc9 regulator: s2mpa01: Fix step values for some LDOs
   c288e34df128 regulator: max77620: Initialize values for DT properties
   462aee48a8a2 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
   15ead7e2a11e spi: pxa2xx: Setup maximum supported DMA transfer length
   e51c5ec99597 spi: ti-qspi: Fix mmap read when more than one CS in use
   0d98ecb141a6 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
   6bd9959aa110 mmc:fix a bug when max_discard is 0
   2946910ed837 mmc: sdhci-esdhc-imx: fix HS400 timing issue
   c19b9673487e ACPI / device_sysfs: Avoid OF modalias creation for removed device
   468ff43f6274 xen: fix dom0 boot on huge systems
   24d5097655eb tracing/perf: Use strndup_user() instead of buggy open-coded version
   f27077e5f5c5 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
   ebca08d7e862 tracing: Use strncpy instead of memcpy for string keys in hist triggers
   43eaa6cc1775 CIFS: Fix read after write for files with read caching
   dc8e8ad962a8 CIFS: Do not skip SMB2 message IDs on send failures
   3ed9f22e28dd CIFS: Do not reset lease state to NONE on lease break
   41e2d1c43c87 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
   d5a5bded80a6 crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
   66700c89f0ab crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
   8a9fcf4a9f1f crypto: x86/aesni-gcm - fix crash on empty plaintext
   5d2a5172caa4 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
   574c19d97e6b crypto: testmgr - skip crc32c context test for ahash algorithms
   e6c703f15872 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   bb1ae0aadbf1 crypto: pcbc - remove bogus memcpy()s with src == dest
   c0bfdac6a471 crypto: morus - fix handling chunked inputs
   dc410d2d8405 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   76f21678d64f crypto: arm64/crct10dif - revert to C code for short inputs
   4bca5a9a5dcd crypto: arm64/aes-neonbs - fix returning final keystream block
   0beb34b865e3 crypto: arm/crct10dif - revert to C code for short inputs
   4c152af938ce crypto: aegis - fix handling chunked inputs
   736807d69157 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   7a8b048430c1 fix cgroup_do_mount() handling of failure exits
   3b8da135a4cc libnvdimm: Fix altmap reservation size calculation
   696c37524beb libnvdimm/pmem: Honor force_raw for legacy pmem regions
   6a89ed7aa140 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
   2b88d92ea9d2 libnvdimm/label: Clear 'updating' flag after label-set update
   f4dfb94a0754 nfit/ars: Attempt short-ARS even in the no_init_ars case
   e6defe76600b nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
   f5878c4f084d acpi/nfit: Fix bus command validation
   8df25eb903c5 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
   eabd7d248e21 stm class: Prevent division by zero
   b3139fbb3b00 tmpfs: fix uninitialized return value in shmem_link
   d3f62d3eab0b selftests: fib_tests: sleep after changing carrier. again.
   8cd89bf632b2 net: set static variable an initial value in atl2_probe()
   29e4bfbc79b4 bnxt_en: Wait longer for the firmware message response to complete.
   b4baeab7e084 bnxt_en: Fix typo in firmware message timeout logic.
   a40fa9498707 nfp: bpf: fix ALU32 high bits clearance bug
   7ca1faa52be7 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
   4523507c52b8 net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
   17bc53e73d0c net: thunderx: make CFG_DONE message to run through generic send-ack sequence
   02f8211b75c9 bpf, lpm: fix lookup bug in map_delete_elem
   c5f37906ecb7 mac80211_hwsim: propagate genlmsg_reply return code
   ee01ac61d1d4 phonet: fix building with clang
   8b9187e7df64 ARCv2: don't assume core 0x54 has dual issue
   3220aa9b0065 ARCv2: support manual regfile save on interrupts
   74b4dcea6756 ARC: uacces: remove lp_start, lp_end from clobber list
   2fc69e55f370 ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
   2c049f195787 ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
   064a61d3e7b5 tmpfs: fix link accounting when a tmpfile is linked in
   e6e9d6e29002 mm: handle lru_add_drain_all for UP properly
   f3a9c9be0eb4 net: marvell: mvneta: fix DMA debug warning
   e52578889c8e ARM: tegra: Restore DT ABI on Tegra124 Chromebooks
   f715466a3f23 arm64: Relax GIC version check during early boot
   2f97f7125237 ARM: dts: armada-xp: fix Armada XP boards NAND description
   e4d14f616050 qed: Fix iWARP syn packet mac address validation.
   821c67748623 qed: Fix iWARP buffer size provided for syn packet processing.
   90fc2f95c418 ASoC: topology: free created components in tplg load error
   edd7b6b9be97 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
   6ac400b7c5e8 xfrm: Fix inbound traffic via XFRM interfaces across network namespaces
   3a5321342361 net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
   a139d6a318de qmi_wwan: apply SET_DTR quirk to Sierra WP7607
   13cb60c3c915 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
   90a86d00af1a net: dsa: bcm_sf2: Do not assume DSA master supports WoL
   d33f5a0febfa net: systemport: Fix reception of BPDUs
   3491857f4292 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
   726832821903 keys: Fix dependency loop between construction record and auth key
   fac71ac37634 assoc_array: Fix shortcut creation
   84657a1ba9bd ARM: 8835/1: dma-mapping: Clear DMA ops on teardown
   978e0388c22b af_key: unconditionally clone on broadcast
   c7c68a1b9a16 bpf: fix lockdep false positive in stackmap
   413e39852082 bpf: only adjust gso_size on bytestream protocols
   da3495301cda ARM: 8824/1: fix a migrating irq bug when hotplug cpu
   b92eaed36c4b esp: Skip TX bytes accounting when sending from a request socket
   2f3b4f968619 clk: sunxi: A31: Fix wrong AHB gate number
   cacf3c0d8288 kallsyms: Handle too long symbols in kallsyms.c
   980f44f8dd8a clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
   5050f03ff0b1 Input: st-keyscan - fix potential zalloc NULL dereference
   bf26feccf99c auxdisplay: ht16k33: fix potential user-after-free on module unload
   8e770d996ea4 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
   d9ce9aea3f63 i2c: cadence: Fix the hold bit setting
   8f622a7d512c net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
   33e83ea302c0 mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
   a9503ade1bf7 x86/CPU: Add Icelake model number
   388f3adb2729 net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
   8ab49fd5b072 scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
   53dcaeeff145 Revert "mm: use early_pfn_to_nid in page_ext_init"
   8b1a7762e0da mm/gup: fix gup_pmd_range() for dax
   6c023d86b364 NFS: Don't use page_file_mapping after removing the page
   d84bc704b91e xprtrdma: Make sure Send CQ is allocated on an existing compvec
   e01f2b0821ea floppy: check_events callback should not return a negative number
   5ca2ef674d74 ipvs: fix dependency on nf_defrag_ipv6
   29452f665c2f blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
   e0e6b0d7e09c netfilter: compat: initialize all fields in xt_init
   a5a244451145 mac80211: Fix Tx aggregation session tear down with ITXQs
   bff33ba4f9ca mac80211: call drv_ibss_join() on restart
   134891e124da Input: matrix_keypad - use flush_delayed_work()
   e91dc2092f7f Input: ps2-gpio - flush TX work when closing port
   4fe714b750cb Input: cap11xx - switch to using set_brightness_blocking()
   f49f7007de59 ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
   8f07d76481d5 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
   459058f0e329 KVM: arm64: Forbid kprobing of the VHE world-switch code
   04131dfcb910 KVM: arm/arm64: vgic: Always initialize the group of private IRQs
   c831293622b2 arm/arm64: KVM: Don't panic on failure to properly reset system registers
   b78379c33723 arm/arm64: KVM: Allow a VCPU to fully reset itself
   dfe9b4d992ca KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
   20604435e2f4 ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check
   e07aaaa7013e ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
   f3f7a8b6faf8 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
   ad4507bd2bf1 ARM: dts: Configure clock parent for pwm vibra
   bac70a89419a Input: pwm-vibra - stop regulator after disabling pwm, not before
   0ed72d3f6f1d Input: pwm-vibra - prevent unbalanced regulator
   98a137cd0484 s390/dasd: fix using offset into zero size array error
   cdaf89ab8f77 arm64: dts: rockchip: fix graph_port warning on rk3399 bob kevin and excavator
   5f4a64b040c9 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
   ac696b0176b4 clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting
   b2c642a1a618 ASoC: rt5682: Correct the setting while select ASRC clk for AD/DA filter
   35ad2e6d7e46 gpu: ipu-v3: Fix CSI offsets for imx53
   04c5c4c47c31 drm/imx: imx-ldb: add missing of_node_puts
   1640b5288615 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
   a308622febe1 drm/imx: ignore plane updates on disabled crtcs
   2e0e1f9a1e41 crypto: rockchip - update new iv to device in multiple operations
   5aabf06712c2 crypto: rockchip - fix scatterlist nents error
   3c5d7703bbd0 crypto: ahash - fix another early termination in hash walk
   1a10e6b5bb34 crypto: cfb - remove bogus memcpy() with src == dest
   0b1871d041d3 crypto: cfb - add missing 'chunksize' property
   6ed42ccca59d crypto: ccree - don't copy zero size ciphertext
   0bdd345a3848 crypto: ccree - unmap buffer before copying IV
   009eeb9878b4 crypto: ccree - fix free of unallocated mlli buffer
   6f4c11b09770 crypto: caam - fix DMA mapping of stack memory
   74fd74e1fc8d crypto: caam - fixed handling of sg list
   ce36d9fafb43 crypto: ccree - fix missing break in switch statement
   32eeecf7ac87 crypto: caam - fix hash context DMA unmap size
   dd6ce0316e70 stm class: Fix an endless loop in channel allocation
   a253d1f3e490 mei: bus: move hw module get/put to probe/release
   02c0c70fb36e mei: hbm: clean the feature flags on link reset
   dbcb0a590ecb iio: adc: exynos-adc: Fix NULL pointer exception on unbind
   3f44122e065c ASoC: codecs: pcm186x: Fix energysense SLEEP bit
   7d9e07582a7f ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
   098e0f89a341 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
   85bdc9daff40 9p/net: fix memory leak in p9_client_create
   e08ba890dc29 9p: use inode->i_lock to protect i_size_write() under 32-bit
   573d423a9bd7 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()

(From OE-Core rev: e27a34577c44cc9210ecc2e7b73329631757146a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Bruce Ashfield
6a794bb398 linux-yocto/5.0: update to v5.0.7
Integrating the korg -stable releases which comprise the following
commits:

   8b298d3a0bd5 Linux 5.0.7
   e73f145543fa kbuild: skip sub-make for in-tree build with GNU Make 4.x
   d972d1c0d76d kbuild: add workaround for Debian make-kpkg
   38d2286e52ea bcache: fix potential div-zero error of writeback_rate_p_term_inverse
   ae050638bc97 ACPI / video: Extend chassis-type detection with a "Lunch Box" check
   3e033b1b435a gpio: of: Restrict enable-gpio quirk to regulator-gpio
   ae42fc868cd5 appletalk: Fix compile regression
   a84b7c68966a net: stmmac: Avoid one more sometimes uninitialized Clang warning
   36b39631cc85 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
   8826838f43fe drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
   0a2e1a5b583b ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()
   45040e92500c Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
   1ad62489b25a staging: iio: adt7316: fix dac_bits assignment
   2bece1d313aa dmaengine: tegra: avoid overflow of byte tracking
   e84e0a8c3f22 clk: rockchip: fix frac settings of GPLL clock for rk3328
   25fb6c323b55 ARM: shmobile: Fix R-Car Gen2 regulator quirk
   9b0f430450cf clk: meson: clean-up clock registration
   a644d2d28baf drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
   c8a8dd1d85ca x86/build: Mark per-CPU symbols as absolute explicitly for LLD
   38af5462fa51 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
   ab79dc3ef024 brcmfmac: Use firmware_request_nowarn for the clm_blob
   f836093a2eeb selinux: do not override context on context mounts
   993f96415a72 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
   16d4d75d8b6e drm/nouveau: Stop using drm_crtc_force_disable
   bfb59eabe2c9 drm: Auto-set allow_fb_modifiers when given modifiers at plane init
   778c82db727a pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
   1048bfd8bf67 regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
   e78d5e16f1d6 audit: hand taken context to audit_kill_trees for syscall logging
   a43ea8ca1865 PCI: pciehp: Assign ctrl->slot_ctrl before writing it to hardware
   e5d1f1c0148d media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
   68ec6a13ef0d media: rcar-vin: Allow independent VIN link enablement
   ebd0f3066c35 netfilter: physdev: relax br_netfilter dependency
   d7e6e93b95f2 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
   1bac8b82d95c dmaengine: qcom_hidma: assign channel cookie correctly
   56d276b53614 dmaengine: imx-dma: fix warning comparison of distinct pointer types
   964065d234c7 cpu/hotplug: Mute hotplug lockdep during init
   8376acca6f18 pinctrl: sh-pfc: r8a77995: Fix MOD_SEL bit numbering
   e848354f28b7 pinctrl: sh-pfc: r8a77990: Fix MOD_SEL bit numbering
   9d7ff2ae8fd6 pinctrl: meson: fix G12A ao pull registers base address
   e17a340f9598 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
   283a29de66c3 f2fs: fix to initialize variable to avoid UBSAN/smatch warning
   3d1a731bcec7 f2fs: UBSAN: set boolean value iostat_enable correctly
   d9f59ff251b4 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
   931480457bb3 selftests/bpf: suppress readelf stderr when probing for BTF support
   e01bc8baa867 soc/tegra: fuse: Fix illegal free of IO base address
   bf381e06af42 hwrng: virtio - Avoid repeated init of completion
   64ef5941a6f8 media: mt9m111: set initial frame size other than 0x0
   9acd16abab23 perf script python: Add trace_context extension module to sys.modules
   8febc5d31032 perf script python: Use PyBytes for attr in trace-event-python
   8f4264f58eb8 perf trace: Fixup etcsnoop example
   631e6859c9ac platform/x86: intel-hid: Missing power button release on some Dell models
   3ea0a48aa080 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
   bce56838a25d regulator: mcp16502: Include linux/gpio/consumer.h to fix build error
   f8d78138dd55 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
   504dfdea9c39 drm/amd/display: Enable vblank interrupt during CRC capture
   b32cff3dd086 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
   9ee0088f920b tty: increase the default flip buffer limit to 2*640K
   d9c61474aa77 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
   b8498a26ffdb cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
   07232db69580 powerpc/64s: Clear on-stack exception marker upon exception return
   cf651d7007c1 selftests/bpf: skip verifier tests for unsupported program types
   08619450dbfe bpf: fix missing prototype warnings
   8b3b22aa7c55 block, bfq: fix queue removal from weights tree
   c581587af717 block, bfq: fix in-service-queue check for queue merging
   721360c972a3 ARM: avoid Cortex-A9 livelock on tight dmb loops
   34164dfc56a4 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
   f7a2659378e7 mt7601u: bump supported EEPROM version
   a1fc32156354 drm/msm/dpu: Convert to a chained irq chip
   e0442dc492e5 soc: qcom: gsbi: Fix error handling in gsbi_probe()
   65ae5c0808c7 efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
   6416e05b8190 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
   897a3b9ef31d drm/vkms: Bugfix extra vblank frame
   1c76c3cf3060 drm/vkms: Bugfix racing hrtimer vblank handle
   5ca05ecd2954 sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
   4e634952fe74 efi/memattr: Don't bail on zero VA if it equals the region's PA
   dd288d329d17 sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
   0da521452109 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
   8a838b44f70f iwlwifi: mvm: fix RFH config command with >=10 CPUs
   9bd4debdd544 staging: spi: mt7621: Add return code check on device_reset()
   3aa0518aacaa i2c: of: Try to find an I2C adapter matching the parent
   c1ac30ee10cf platform/x86: intel_pmc_core: Fix PCH IP sts reading
   b503ea08fe0d e1000e: Exclude device from suspend direct complete optimization
   7f0a3a436e88 e1000e: fix cyclic resets at link up with active tx
   4e4fba6d30f8 perf/aux: Make perf_event accessible to setup_aux()
   81ee4eab3117 drm/amd/display: Disconnect mpcc when changing tg
   c730d6c156c6 powerpc/ptrace: Mitigate potential Spectre v1
   8e74000fd656 x86/kexec: Fill in acpi_rsdp_addr from the first kernel
   90c93fbede11 bpf: test_maps: fix possible out of bound access warning
   c60bf6e7594c drm/amd/display: Don't re-program planes for DPMS changes
   ada81ebc5f35 drm: rcar-du: add missing of_node_put
   7208136a41f9 cdrom: Fix race condition in cdrom_sysctl_register
   e00ff3abfaaf fbdev: fbmem: fix memory access if logo is bigger than the screen
   8e48664da19f net: phy: consider latched link-down status in polling mode
   c230484a3767 iw_cxgb4: fix srqidx leak during connection abort
   3e45ebf5a16c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
   c0ed04868506 genirq: Avoid summation loops for /proc/stat
   c984b1e68b0c bcache: improve sysfs_strtoul_clamp()
   5db086d7c05f bcache: fix potential div-zero error of writeback_rate_i_term_inverse
   d4db0c5ee0b4 bcache: fix input overflow to sequential_cutoff
   f48bb10d7615 bcache: fix input overflow to cache set sysfs file io_error_halflife
   83a6f919bbb7 sched/topology: Fix percpu data types in struct sd_data & struct s_data
   9738742e4e38 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
   db5177729062 ath10k: fix shadow register implementation for WCN3990
   31f3d84c6d9f ALSA: PCM: check if ops are defined before suspending PCM
   6c896df369d1 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
   c716b08e06ca ARM: 8833/1: Ensure that NEON code always compiles with Clang
   f74b0a4bf14c netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
   c4ea4a79f8b2 kprobes: Prohibit probing on RCU debug routine
   170d42947604 kprobes: Prohibit probing on bsearch()
   34968a446c4e selftests: skip seccomp get_metadata test if not real root
   7981a5b4df77 selftests: ir: fix warning: "%s" directive output may be truncated ’ directive output may be truncated
   7b27cb19942e ACPI / video: Refactor and fix dmi_is_desktop()
   4f9f04ca4f83 iwlwifi: pcie: fix emergency path
   2392dcb54ad2 perf coresight: Do not test for libopencsd by default
   528033f554c8 perf report: Add s390 diagnosic sampling descriptor size
   59c09689808e perf trace: Check if the 'fd' is negative when mapping it to pathname
   8b4fdbce8ca4 perf beauty waitid options: Fix up prefix showing logic
   336eb093ba16 tools build: Add test-reallocarray.c to test-all.c to fix the build
   17e987679232 tools build: Add -lrt to FEATURE_CHECK_LDFLAGS-libaio
   1cbdd2401798 leds: lp55xx: fix null deref on firmware load failure
   34cbc429c56d jbd2: fix race when writing superblock
   9489ac42680c regulator: core: Take lock before applying system load
   7440c206c38f drm/sched: Fix entities with 0 rqs.
   aa6c9fcac011 efi: Fix build error due to enum collision between efi.h and ima.h
   55d7152d37dc cgroup, rstat: Don't flush subtree root unless necessary
   2fe8be270932 HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
   e6eef5240054 vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
   a8254b01ca21 xen/gntdev: Do not destroy context while dma-bufs are in use
   d6318df6b0cc gpio: of: Apply regulator-gpio quirk only to enable-gpios
   7d361b8dbafe mt76: usb: do not run mt76u_queues_deinit twice
   af1ef012b95f media: rockchip/vpu: Correct return type for mem2mem buffer helpers
   d544b0856f3f media: mtk-jpeg: Correct return type for mem2mem buffer helpers
   569ce17b4cd9 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
   76499752191f media: s5p-g2d: Correct return type for mem2mem buffer helpers
   8852dab94f04 media: rockchip/rga: Correct return type for mem2mem buffer helpers
   9f31e32fd5a5 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
   21ad47c39835 media: sh_veu: Correct return type for mem2mem buffer helpers
   a6d9661c5d16 media: ov7740: fix runtime pm initialization
   ed83655ce8c2 SoC: imx-sgtl5000: add missing put_device()
   a75ad663203b perf report: Don't shadow inlined symbol with different addr range
   c3a8705881cc mwifiex: don't advertise IBSS features without FW support
   aa8c73c8682f perf test: Fix failure of 'evsel-tp-sched' test on s390
   16a94480fb03 drm/amd/display: Clear stream->mode_changed after commit
   456736ab1b78 scsi: fcoe: make use of fip_mode enum complete
   952613125def scsi: megaraid_sas: return error when create DMA pool failed
   a3c1a668a014 s390/ism: ignore some errors during deregistration
   5d1db4825e3c efi: cper: Fix possible out-of-bounds access
   99bb2d19853a cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
   4e7b5f9dc7a7 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
   a332ad5f006f powerpc/44x: Force PCI on for CURRITUCK
   4974ca47f15c perf annotate: Fix getting source line failure
   1a4faefc4680 clk: fractional-divider: check parent rate only if flag is set
   869a72e08b86 IB/mlx4: Increase the timeout for CM cache
   55bbe8fa7bfd i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
   600c30ca6124 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
   540f120998df platform/mellanox: mlxreg-hotplug: Fix KASAN warning
   a21f5c44cb8e platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
   e2427570b374 i2c: Allow recovery of the initial IRQ by an I2C client device.
   6f93033d93d1 mlxsw: spectrum: Avoid -Wformat-truncation warnings
   a782956c2a30 e1000e: Fix -Wformat-truncation warnings
   cae3c93ad96b veth: Fix -Wformat-truncation
   dd8ab7cdbcda net: hns3: fix setting of the hns reset_type for rdma hw errors
   660b8b783aed net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
   f9cf94eca1be mmc: omap: fix the maximum timeout setting
   895927dc1c6a btrfs: don't enospc all tickets on flush failure
   8f6019b404c8 btrfs: qgroup: Make qgroup async transaction commit more aggressive
   9a27e9ef2338 perf script: Handle missing fields with -F +..
   565e4ecefeae ice: fix ice_remove_rule_internal vsi_list handling
   b3425e19f614 net: dsa: mv88e6xxx: Default CMODE to 1000BaseX only on 6390X
   13fe58e28c21 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
   957b2d2317e9 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
   af6366bb82e6 ARM: 8845/1: use unified assembler in c files
   dbda5b6625bd ARM: 8840/1: use a raw_spinlock_t in unwind
   8cada074059f serial: 8250_pxa: honor the port number from devicetree
   1e084b9e2037 coresight: etm4x: Add support to enable ETMv4.2
   8e28ed0b7b8d powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
   5e91baea2c1f ath10k: don't report unset rssi values to mac80211
   33cb50fa0930 drm/amd/display: Fix reference counting for struct dc_sink.
   29b55af8a429 btrfs: save drop_progress if we drop refs at all
   e3e9d97396cd kbuild: make -r/-R effective in top Makefile for old Make versions
   366a5ee958d0 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
   22efb9f2aeff scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
   b17b4bd79afc powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
   7fe45a018fb3 usb: chipidea: Grab the (legacy) USB PHY by phandle first
   a133f9f7f96a tools/bpf: selftests: add map lookup to test_map_in_map bpf prog
   547272b44afa crypto: cavium/zip - fix collision with generic cra_driver_name
   1ee9d34d6861 crypto: crypto4xx - add missing of_node_put after of_device_is_available
   2b52034346cd lockdep/lib/tests: Fix run_tests.sh
   a73713e53323 ath10k: Fix the wrong updation of BW in tx_stats debugfs entry
   e486c95f5d50 mt76: fix a leaked reference by adding a missing of_node_put
   96e2fec0fd8c wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
   d8f775092499 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
   88f0ced0d75f mm/resource: Return real error codes from walk failures
   6e33632946e4 tools lib traceevent: Fix buffer overflow in arg_eval
   a1d9d2145c50 fs: fix guard_bio_eod to check for real EOD errors
   dee200aba7dc ext4: fix bigalloc cluster freeing when hole punching under load
   1d62e75a00bb jbd2: fix invalid descriptor block checksum
   87f8ad583c79 iommu/vt-d: Disable ATS support on untrusted devices
   b39898beee9d netfilter: conntrack: tcp: only close if RST matches exact sequence
   8a0f1351bac1 PCI: mediatek: Fix memory mapped IO range size computation
   fdb08cf7dbee netfilter: nf_tables: check the result of dereferencing base_chain->stats
   dc8d8f83ea52 perf beauty msg_flags: Add missing %s lost when adding prefix suppression logic
   d6dd80425f5d cifs: Fix NULL pointer dereference of devname
   bcb99efab248 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
   88596e78dae4 f2fs: fix to check inline_xattr_size boundary correctly
   e3eea74f61a8 dm thin: add sanity checks to thin-pool and external snapshot creation
   f2e34b4ff47e cifs: use correct format characters
   64f336255228 kasan: fix kasan_check_read/write definitions
   326ce03840eb page_poison: play nicely with KASAN
   0326696a6769 fs/file.c: initialize init_files.resize_wait
   902507dada43 f2fs: fix to data block override node segment by mistake
   3667215198eb f2fs: do not use mutex lock in atomic context
   e92a6db09700 ocfs2: fix a panic problem caused by o2cb_ctl
   8783c35917b6 mm/slab.c: kmemleak no scan alien caches
   f67cd526ce1d mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
   03bccbc025ed mm, mempolicy: fix uninit memory access
   c59c60824a9a memcg: killed threads should not invoke memcg OOM killer
   db5d8675b14a mm,oom: don't kill global init via memory.oom.group
   66a4d4d03b7e docs/core-api/mm: fix user memory accessors formatting
   34fa723765cf mm, swap: bounds check swap_info array accesses to avoid NULL derefs
   57f5b77e9f46 mm/page_ext.c: fix an imbalance with kmemleak
   93b7ebef7ee3 mm/cma.c: cma_declare_contiguous: correct err handling
   90a70109697c mm/sparse: fix a bad comparison
   60c86431ca4c perf c2c: Fix c2c report for empty numa node
   11304c4b4ee4 x86/hyperv: Fix kernel panic when kexec on HyperV
   34555ccacf94 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
   86aad65625cf scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
   776de12b9f8f scsi: hisi_sas: Set PHY linkrate when disconnected
   c5021aa17b05 libbpf: force fixdep compilation at the start of the build
   267f65c94fb7 enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
   aaad69802e17 net: stmmac: Avoid sometimes uninitialized Clang warnings
   4e4d49798d86 sysctl: handle overflow for file-max
   fd9317a3e2a0 include/linux/relay.h: fix percpu annotation in struct rchan
   c7c82cea6985 gpio: gpio-omap: fix level interrupt idling
   90833d08ffa5 clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
   b48475a66ef5 xsk: fix to reject invalid flags in xsk_bind
   3cac5ce088c2 net/mlx5: Avoid panic when setting vport mac, getting vport config
   a1126c2008a3 net/mlx5: Avoid panic when setting vport rate
   d1e83bda0c30 net/mlx5e: Fix access to non-existing receive queue
   043a440018e3 tracing: kdb: Fix ftdump to not sleep
   4c6df358aa87 apparmor: fix double free when unpack of secmark rules fails
   a98984da006b f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
   8d661a663048 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
   e56d6fa7acf3 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
   1eaf6713c5b3 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
   32b73dc525a1 nvme-fc: fix numa_node when dev is null
   fae38f280334 CIFS: fix POSIX lock leak and invalid ptr deref
   dc2b4d4ab0ae ext4: cleanup bh release code in ext4_ind_remove_space()
   820c1fa51501 Linux 5.0.6
   debaa517c16c mt76x02u: use usb_bulk_msg to upload firmware
   046098f056e2 bpf: do not restore dst_reg when cur_state is freed
   b54f0c4976e7 KVM: x86: update %rip after emulating IO
   cc3f680dd076 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
   d50d46e303d4 KVM: Reject device ioctls from processes other than the VM's creator
   8c0823aa123b x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
   c3bcf0314665 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
   53464ca9130b watchdog: Respect watchdog cpumask on CPU hotplug
   1a0ecfd4e633 powerpc/pseries/mce: Fix misleading print for TLB mutlihit
   4a2b2d5dc8fa powerpc/64: Fix memcmp reading past the end of src/dest
   e92932ef2862 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
   8f84f7daabb2 objtool: Query pkg-config for libelf location
   a0de19f1c307 perf intel-pt: Fix TSC slip
   c9418d0addb0 perf pmu: Fix parser error for uncore event alias
   8ad454a831e0 mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
   8a86a416c948 mm/page_isolation.c: fix a wrong flag in set_migratetype_isolate()
   77a5258a57e7 mm/memory_hotplug.c: fix notification in offline error path
   2b57282beb60 mm/debug.c: fix __dump_page when mapping->host is not set
   8b2f31de5d15 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
   467c01f2deea iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
   ed3886c7d9f2 mm: add support for kmem caches in DMA32 zone
   eef9dbbad03f mm/hotplug: fix offline undo_isolate_page_range()
   d26254c4e7ca usb: typec: Fix unchecked return value
   a3bed8b549ec usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
   402f57808b9a usb: cdc-acm: fix race during wakeup blocking TX traffic
   c7a5ef0d64f4 xhci: Don't let USB3 ports stuck in polling state prevent suspend
   448c39c360ef usb: xhci: dbc: Don't free all memory with spinlock held
   c08a998dec55 xhci: Fix port resume done detection for SS ports with LPM enabled
   8e70eae1816b usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
   40b8282f9009 mm/memory.c: fix modifying of page protection by insert_pfn()
   08213ad7465f usb: common: Consider only available nodes for dr_mode
   80ff12631ba5 USB: gadget: f_hid: fix deadlock in f_hidg_write()
   8f00b32d3991 usb: mtu3: fix EXTCON dependency
   dbc206874d67 phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
   494d26aa3915 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
   aa2250dec6ee gpio: exar: add a check for the return value of ida_simple_get fails
   673bc99a6708 drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro
   25c939a9a594 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
   9241bd9b6401 drm/i915: Mark AML 0x87CA as ULX
   0baddc2099dd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
   18e8f0f379a5 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
   5f0bf5cd357d cpufreq: scpi: Fix use after free
   7466a2abe757 cpufreq: intel_pstate: Also use CPPC nominal_perf for base_frequency
   0dcb45879a5f blk-mq: fix sbitmap ws_active for shared tags
   50076360f4a0 drivers/block/zram/zram_drv.c: fix idle/writeback string compare
   79d8bdf334d6 fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
   e44461a50380 Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
   c6ed8bf0ad03 ACPI / CPPC: Fix guaranteed performance handling
   72c1487ea0a4 USB: serial: option: add Olicard 600
   623533deabb1 USB: serial: option: add support for Quectel EM12
   b7a0e2163e0d USB: serial: option: set driver_info for SIM5218 and compatibles
   4503b17ed496 USB: serial: mos7720: fix mos_parport refcount imbalance on error path
   639f52d29012 USB: serial: ftdi_sio: add additional NovaTech products
   7790bb1039fb USB: serial: cp210x: add new device id
   4fc867dd92cb serial: sh-sci: Fix setting SCSCR_TIE while transferring data
   e39ecf48678e serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
   763eafe0dbf5 serial: max310x: Fix to avoid potential NULL pointer dereference
   198b7b7fb6b6 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
   22a76cf6a5eb staging: erofs: fix error handling when failed to read compresssed data
   a0fdd9036176 staging: erofs: fix to handle error path of erofs_vmap()
   be3d49395af0 staging: vt6655: Fix interrupt race condition on device start up.
   37fc532d4d58 staging: vt6655: Remove vif check from vnt_interrupt
   7d9cd1961a50 staging: speakup_soft: Fix alternate speech with other synths
   de6283bc5caf staging: olpc_dcon_xo_1: add missing 'const' qualifier
   da418a0b0963 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
   5bff7cb2bc89 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
   36e47853d0e9 tty: atmel_serial: fix a potential NULL pointer dereference
   ade797815046 tty: mxs-auart: fix a potential NULL pointer dereference
   35070431105f tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
   70691073d296 tty/serial: atmel: Add is_half_duplex helper
   d5845d77e9e1 drm/rockchip: vop: reset scale mode when win is disabled
   631d09fd0856 scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
   e188df764406 scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
   143982417ad3 scsi: sd: Quiesce warning if device does not report optimal I/O size
   98163d192bc5 scsi: sd: Fix a race between closing an sd device and sd I/O
   310891a84396 ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
   f2391e6767a6 fs/open.c: allow opening only regular files during execve()
   95d78fc93943 kbuild: modversions: Fix relative CRC byte order interpretation
   a6c74dcb5909 ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
   f2b1bfbc173a ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
   c03c547b07d9 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
   dd1774f3d0cd ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
   c672af11fbb0 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
   12af8b3d94eb ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
   9635b3bf1a5f ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
   b6de98dcc02e ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
   8da540f343aa ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
   545d1fe70648 ALSA: hda/realtek: merge alc_fixup_headset_jack to alc295_fixup_chromebook
   c87a0bb99b83 ALSA: hda/realtek - Fixed Headset Mic JD not stable
   56e3785b579b ALSA: pcm: Don't suspend stream in unrecoverable PCM state
   94176d2a1d2b ALSA: pcm: Fix possible OOB access in PCM oss plugins
   a30c0ff829c6 ALSA: seq: oss: Fix Spectre v1 vulnerability
   abe5b0a76de9 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
   ce1ae80cacf7 net: dsa: qca8k: remove leftover phy accessors
   0110524398bb NFSv4.1 don't free interrupted slot on open
   e37c15d77d68 NFS: fix mount/umount race in nlmclnt.
   7a4cdaf977c2 NFS: Fix nfs4_lock_state refcounting in nfs4_alloc_{lock,unlock}data()
   bd01ab90e8a5 vfio: ccw: only free cp on final interrupt
   73d6cb884532 powerpc: bpf: Fix generation of load/store DW instructions
   a2216e2d0751 ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
   8bf47766a9f9 tracing: initialize variable in create_dyn_event()
   7bcb002431ba locks: wake any locks blocked on request before deadlock check
   3ba84d2d7581 Btrfs: fix assertion failure on fsync with NO_HOLES enabled
   84104398e6f3 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
   e3a605636a80 btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
   4a0584a21542 btrfs: raid56: properly unmap parity page in finish_parity_scrub()
   da2dea634c22 btrfs: don't report readahead errors and don't update statistics
   70c88bf99441 btrfs: remove WARN_ON in log_dir_items
   ab0600d45dd9 Btrfs: fix incorrect file size after shrinking truncate and fsync
   0253563b8be5 powerpc/fsl: Fix the flush of branch predictor.
   bb06073a9cad tun: add a missing rcu_read_unlock() in error path
   d01bf3762e29 ila: Fix rhashtable walker list corruption
   4951fc65d915 r8169: fix cable re-plugging issue
   fc8f36de7711 net: phy: don't clear BMCR in genphy_soft_reset
   aa3f1b029e4b net: mii: Fix PAUSE cap advertisement from linkmode_adv_to_lcl_adv_t() helper
   d9c13ecbf7c5 net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
   98bfc778c5d9 thunderx: eliminate extra calls to put_page() for pages held for recycling
   10792c33d060 thunderx: enable page recycling for non-XDP case
   0c421524c1f1 vxlan: Don't call gro_cells_destroy() before device is unregistered
   1a44391e1d03 vrf: prevent adding upper devices
   e269f5f55c06 tun: properly test for IFF_UP
   9868ffd44b25 tipc: fix cancellation of topology subscriptions
   e13fbdf6e872 tipc: change to check tipc_own_id to return in tipc_net_stop
   30e2a9a38d0c tipc: allow service ranges to be connect()'ed on RDM/DGRAM
   632f3ed848bc tcp: do not use ipv6 header for ipv4 flow
   118ad2c7de1d sctp: use memdup_user instead of vmemdup_user
   d2af0ce54b1c sctp: get sctphdr by offset in sctp_compute_cksum
   5a336f69cfa0 rhashtable: Still do rehash when we get EEXIST
   278c7d7e4ecb packets: Always register packet sk in the same order
   970d4fb2a231 net: usb: aqc111: Extend HWID table by QNAP device
   566e793d051f net-sysfs: call dev_hold if kobject_init_and_add success
   1b925f484028 net: stmmac: fix memory corruption with large MTUs
   8cf288b55da9 net: rose: fix a possible stack overflow
   baa14468e57d net: phy: meson-gxl: fix interrupt support
   3ca86ad4e57a net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
   475af63497f8 net: datagram: fix unbounded loop in __skb_try_recv_datagram()
   017c90da5d8f net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
   3e5c1acf0637 mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
   780e62a6a021 mac8390: Fix mmio access size probe
   282c70c23454 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
   8122233e877a gtp: change NET_UDP_TUNNEL dependency to select
   bd60a788b10b genetlink: Fix a memory leak on error path
   3b58f24bdfec dccp: do not use ipv6 header for ipv4 flow
   400dded59397 netfilter: nf_tables: fix set double-free in abort path
   a556547bae00 Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
   8dac9b8d27b5 Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt

(From OE-Core rev: ccf8683a604d05be16c8bad635ef8eb136c7df5d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Bruce Ashfield
70ede5ab7e linux-yocto-rt: update to 5.0.5-rt3
Integrating the -r3 release, which has the following rt specific
fixes:

    printk: An all-in-one commit to fix build failures
    powerpc/stackprotector: work around stack-guard init from atomic
    powerpc/pseries/iommu: Use a locallock instead local_irq_save()
    powerpc: reshuffle TIF bits
    tty/sysrq: Convert show_lock to raw_spinlock_t

(From OE-Core rev: be0ea6e6a3f5021f923fd57725ec204cf2f8f2c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Bruce Ashfield
b2fa26db84 linux-yocto/5.0: update to v5.0.5
Integrating the latest korg -stable releases which comprise the
following commits:

   1f6f316a537d Linux 5.0.5
   a57af6d07512 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
   6c77789fb46e ALSA: hda - Record the current power state before suspend/resume calls
   8bc3816d6566 locking/lockdep: Add debug_locks check in __lock_downgrade()
   0830cf62f529 x86/unwind: Add hardcoded ORC entry for NULL
   0312f3032e35 x86/unwind: Handle NULL pointer calls better in frame unwinder
   1e641e63fe0c loop: access lo_backing_file only when the loop device is Lo_bound
   da75d3775401 netfilter: ebtables: remove BUGPRINT messages
   a179695eddd9 aio: simplify - and fix - fget/fput for io_submit()
   1c0fc5e9cb40 f2fs: fix to avoid deadlock of atomic file operations
   648562c0a958 RDMA/cma: Rollback source IP address if failing to acquire device
   244594c5f5c8 drm/vkms: Fix flush_work() without INIT_WORK().
   35228ce61a81 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
   c8d311117c3e Bluetooth: hci_ldisc: Initialize hci_dev before open()
   4d18023ade55 Bluetooth: Fix decrementing reference count twice in releasing socket
   572ae5c7646b Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
   c35a32eb2339 media: v4l2-ctrls.c/uvc: zero v4l2_event
   c29313c07f2d ext4: brelse all indirect buffer in ext4_ind_remove_space()
   f1902fd02d56 ext4: fix data corruption caused by unaligned direct AIO
   635218fee409 ext4: fix NULL pointer dereference while journal is aborted
   5b099547f29d ALSA: ac97: Fix of-node refcount unbalance
   1fa1bfef5f4c ALSA: hda - Don't trigger jackpoll_work in azx_resume
   2b1cf1a17a41 SMB3: Fix SMB3.1.1 guest mounts to Samba
   809ecabb6d41 clocksource/drivers/riscv: Fix clocksource mask
   70c1b15faf8b irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
   dfa011546d27 objtool: Move objtool_file struct off the stack
   198092b82db3 perf probe: Fix getting the kernel map
   3bff3aabd586 cifs: allow guest mounts to work for smb3.11
   8dfb1e702caa futex: Ensure that futex address is aligned in handle_futex_death()
   72b8c5492f48 scsi: ibmvscsi: Fix empty event pool access during host removal
   bc1bf16d7def scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
   e109bf21f4c6 scsi: qla2xxx: Fix FC-AL connection target discovery
   abe481cfe983 scsi: core: Avoid that a kernel warning appears during system resume
   e846d79bc1ba net/mlx5: Fix DCT creation bad flow
   62362ccdd45c powerpc/security: Fix spectre_v2 reporting
   7f5ffb4c7a71 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
   9e063d979422 MIPS: Fix kernel crash for R6 in jump label branch function
   de21552cc848 MIPS: Ensure ELF appended dtb is relocated
   63703e8fd2af mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
   e88f693e6e8d udf: Fix crash on IO error during truncate
   48cce130d485 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
   027584c8ef01 iommu/iova: Fix tracking of recently failed iova address
   98e2c51c1ac3 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
   0c113ec08d71 drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
   5618b16763ce drm/vmwgfx: Don't double-free the mode stored in par->set_mode
   109f5f9dff14 drm/amdgpu: fix invalid use of change_bit
   cdb57f82a4bc mmc: renesas_sdhi: limit block count to 16 bit for old revisions
   1494408bf863 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
   7e682a01b111 mmc: alcor: fix DMA reads
   cc8cd197411b mmc: pxamci: fix enum type confusion
   ae833c3eefaf ALSA: firewire-motu: use 'version' field of unit directory to identify model
   3c09233b5dee ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
   239cc2c5a3c8 Linux 5.0.4
   87e728e85559 SUNRPC: Respect RPC call timeouts when retrying transmission
   f6716abfd12b SUNRPC: Fix up RPC back channel transmission
   aed54941cf9e SUNRPC: Prevent thundering herd when the socket is not connected
   1b2f5d715bbc s390/setup: fix boot crash for machine without EDAT-1
   09bfb45ed842 net: dsa: lantiq_gswip: fix OF child-node lookups
   8d244127d25f net: dsa: lantiq_gswip: fix use-after-free on failed probe
   4e126cbd4f06 KVM: nVMX: Check a single byte for VMCS "launched" in nested early checks
   5de7f6cd6aeb KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
   f88f29f81d59 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
   64d259a70642 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
   1e42327adb8d KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
   c173d5417a11 KVM: x86/mmu: Detect MMIO generation wrap in any address space
   5221117cd414 KVM: VMX: Zero out *all* general purpose registers after VM-Exit
   cf8d03a4fe59 KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
   e1bdcf061b48 KVM: Call kvm_arch_memslots_updated() before updating memslots
   c61d88f39491 drm/amd/display: don't call dm_pp_ function from an fpu block
   ea7da9ef23a0 drm/amd/powerplay: correct power reading on fiji
   3bc65d729765 drm/radeon/evergreen_cs: fix missing break in switch statement
   b78ee0965f86 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
   c7a35a9877b8 media: imx: csi: Stop upstream before disabling IDMA channel
   145cab144d75 media: imx: csi: Disable CSI immediately after last EOF
   e7a06193c52c media: imx-csi: Input connections to CSI should be optional
   e7ae48ae4722 media: vimc: Add vimc-streamer for stream control
   6932b9b4e677 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
   202ed62dea70 media: sun6i: Fix CSI regmap's max_register
   1d433d48516e media: lgdt330x: fix lock status reporting
   f55d0cb10f5b media: imx: prpencvf: Stop upstream before disabling IDMA channel
   9d032911a36c rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
   5d6f031fa782 tpm: Unify the send callback behaviour
   65a2af7599c6 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
   f484e220df15 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
   384dada74d37 x86/kvmclock: set offset for kvm unstable clock
   9b236e3f79d9 md: Fix failed allocation of md_register_thread
   99e5abb7b895 perf intel-pt: Fix divide by zero when TSC is not available
   85c9f1fb8a81 perf/x86/intel/uncore: Fix client IMC events return huge result
   6228a6e3516f perf intel-pt: Fix overlap calculation for padding
   2354deae355b perf auxtrace: Define auxtrace record alignment
   0f43fd4bdb74 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
   99c7a8ec4387 perf intel-pt: Fix CYC timestamp calculation after OVF
   a0203d4e717e x86/unwind/orc: Fix ORC unwind table alignment
   194f1ecd4906 vt: perform safe console erase in the right order
   c8d3a581742f stable-kernel-rules.rst: add link to networking patch queue
   0b60b354b33a bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
   dddd539dc325 bcache: treat stale && dirty keys as bad keys
   97cf758e172c bcache: never writeback a discard operation
   a8ce88427a9b PM / OPP: Update performance state when freq == old_freq
   c9c0e5f01245 PM / wakeup: Rework wakeup source timer cancellation
   f03f5295caf0 svcrpc: fix UDP on servers with lots of threads
   1363f37fbd24 NFSv4.1: Reinitialise sequence results before retransmitting a request
   867ae74fb190 nfsd: fix wrong check in write_v4_end_grace()
   f5bed084b482 nfsd: fix memory corruption caused by readdir
   2ececa64d67a nfsd: fix performance-limiting session calculation
   88f786a8e78a NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
   4fe2a7fda78a NFS: Fix an I/O request leakage in nfs_do_recoalesce
   e83b6ac7deed NFS: Fix I/O request leakages
   b41991d86722 cpuidle: governor: Add new governors to cpuidle_governors again
   6eea03f8c368 cpcap-charger: generate events for userspace
   9cc42d068f57 mfd: sm501: Fix potential NULL pointer dereference
   83df21c731e6 media: cx25840: mark pad sig_types to fix cx231xx init
   b6246ffae5a0 dm integrity: limit the rate of error messages
   dca22c59e47e dm: fix to_sector() for 32bit
   a8964a63780c ipmi_si: fix use-after-free of resource->name
   d3432e5d0831 ipmi_si: Fix crash when using hard-coded device
   98ab3b877400 Revert "KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()"
   bf5615991a91 arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
   4b6d75b38664 arm64: debug: Ensure debug handlers check triggering exception level
   4f771d8acc74 arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
   9afab3b6b9c5 arm64: Fix HCR.TGE status for NMI contexts
   8f67dd8570ac ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
   6a4c3ab2d53e powerpc/traps: Fix the message printed when stack overflows
   24bf608e7438 powerpc/traps: fix recoverability of machine check handling on book3s/32
   71bb4d024416 powerpc/smp: Fix NMI IPI xmon timeout
   850a95bf2a46 powerpc/smp: Fix NMI IPI timeout
   fcf1ca937f59 powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
   4ca936a49360 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
   55b852a06fe1 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
   651db1461793 powerpc/64s/hash: Fix assert_slb_presence() use of the slbfee. instruction
   702c1ab420ab powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
   f7d68a102ad4 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
   3b218d244482 powerpc/83xx: Also save/restore SPRG4-7 during suspend
   16ee62368aaa powerpc/powernv: Make opal log only readable by root
   8d2cc8c1c4fe powerpc/wii: properly disable use of BATs when requested.
   d0d33e87d143 powerpc/32: Clear on-stack exception marker upon exception return
   232aa30f16b9 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
   7e30471146d2 selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
   f9897a30deb7 jbd2: fix compile warning when using JBUFFER_TRACE
   8c343062c8fa jbd2: clear dirty flag when revoking a buffer from an older transaction
   bb47633ab15e serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
   7271438208b6 serial: 8250_pci: Fix number of ports for ACCES serial cards
   c7388ba10902 serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
   fa4d0361304f serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
   37fe1d56aa2c dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
   39367147f046 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
   07e326fd07d7 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
   f11fa22a7a5f clk: ingenic: Fix doc of ingenic_cgu_div_info
   7d4966247a99 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
   1a29715073a1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
   7da58ad824b1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
   d9d7760c1e45 clk: clk-twl6040: Fix imprecise external abort for pdmclk
   a712a38100b5 clk: uniphier: Fix update register for CPU-gear
   e1ac00773456 ext2: Fix underflow in ext2_max_size()
   96728f35572e cxl: Wrap iterations over afu slices inside 'afu_list_lock'
   25636de95557 IB/rdmavt: Fix concurrency panics in QP post_send and modify to error
   ada60723d7cd IB/rdmavt: Fix loopback send with invalidate ordering
   c8a23dfeb2d6 IB/hfi1: Close race condition on user context disable and close
   2b9ef0bedaac PCI: pci-bridge-emul: Extend pci_bridge_emul_init() with flags
   d011c7871d16 PCI: pci-bridge-emul: Create per-bridge copy of register behavior
   ee0bf8d6e7fc PCI: pciehp: Disable Data Link Layer State Changed event on suspend
   0d5bc50f524a PCI: dwc: skip MSI init if MSIs have been explicitly disabled
   63a9e7ce6624 PCI: qcom: Don't deassert reset GPIO during probe
   eafa704de27b PCI/DPC: Fix print AER status in DPC event handling
   bae1cf68370d PCI/ASPM: Use LTR if already enabled by platform
   4e9f8e86d6c7 swiotlb: Add is_swiotlb_active() function
   a4eeaa9cc9da swiotlb: Introduce swiotlb_max_mapping_size()
   38c3a86a8226 dma: Introduce dma_max_mapping_size()
   db8913b46d74 ext4: fix crash during online resizing
   edc0bf6532ba ext4: add mask of ext4 flags to swap
   7c2cfdf99ae9 ext4: update quota information while swapping boot loader inode
   ef2dfe6f8c82 gpio: pca953x: Fix dereference of irq data in shutdown
   13cef9edc45b media: i2c: ov5640: Fix post-reset delay
   8b82d499df87 i2c: tegra: update maximum transfer size
   986d964baaaa i2c: tegra: fix maximum transfer size
   775bd984147e parport_pc: fix find_superio io compare code, should use equal test.
   d91315e99c55 intel_th: Don't reference unassigned outputs
   1a1d6860c539 device property: Fix the length used in PROPERTY_ENTRY_STRING()
   9a638bb82ff5 nvmem: core: don't check the return value of notifier chain call
   d09e7041330b kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
   9a842b43e4b8 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
   8df6ab770e20 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
   84fe80428739 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
   7a34997043f1 ext4: cleanup pagecache before swap i_data
   a0f6f657ac44 ext4: fix check of inode in swap_inode_boot_loader
   f9308e46e02b cpufreq: pxa2xx: remove incorrect __init annotation
   272b28097c30 cpufreq: tegra124: add missing of_node_put()
   144c3557b1e1 cpufreq: kryo: Release OPP tables on module removal
   737f4ead9606 x86/kprobes: Prohibit probing on optprobe template code
   dbbb26db8938 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
   830d66c95e02 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
   bd05a30753eb libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
   028cbca07ab5 soc: qcom: rpmh: Avoid accessing freed memory from batch API
   1098803b8cb7 Btrfs: fix deadlock between clone/dedupe and rename
   3486142a68e3 Btrfs: fix corruption reading shared and compressed extents after hole punching
   ebbb48419e8a btrfs: init csum_list before possible free
   88e610ae4c3a btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
   9c58f2ada4fa btrfs: drop the lock on error in btrfs_dev_replace_cancel
   fb9c36acfab1 btrfs: scrub: fix circular locking dependency warning
   9d7b327affb8 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
   80dcd07c27df Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
   98bb142aaff2 m68k: Add -ffreestanding to CFLAGS
   3381b362f74c ovl: Do not lose security.capability xattr over metadata file copy-up
   0fa6688a2882 ovl: During copy up, first copy up data and then xattrs
   ef02f9fe5148 splice: don't merge into linked buffers
   61d06e123502 fs/devpts: always delete dcache dentry-s in dput()
   a15cf4d9a622 scsi: qla2xxx: Use complete switch scan for RSCN events
   f54e2394acf7 scsi: qla2xxx: Avoid PCI IRQ affinity mapping when multiqueue is not supported
   54e834ee7a6e scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
   7d6d14a119c8 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
   6c922faf889a scsi: sd: Optimal I/O size should be a multiple of physical block size
   1ba35e5a3c5c scsi: aacraid: Fix performance issue on logical drives
   bd1558978695 scsi: virtio_scsi: don't send sc payload with tmfs
   ffd4a428a54e s390/virtio: handle find on invalid queue gracefully
   39fdc16138b7 s390/setup: fix early warning messages
   2aa8ab08c82c s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem
   4b280a0bfc6d clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
   773b445425d6 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
   de90b88a20de clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
   9d67c5e995da mt76: fix corrupted software generated tx CCMP PN
   6b65a01d2dcc regulator: s2mpa01: Fix step values for some LDOs
   60cb8b444fbf regulator: max77620: Initialize values for DT properties
   4527a24a8f51 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
   a34758ac6ad4 spi: spi-gpio: fix SPI_CS_HIGH capability
   618491014846 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
   7406a055c507 spi: pxa2xx: Setup maximum supported DMA transfer length
   5d919139baf9 spi: ti-qspi: Fix mmap read when more than one CS in use
   4a9932c94626 mmc:fix a bug when max_discard is 0
   aaf1e755f8f9 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
   351062f08fc1 mmc: sdhci-esdhc-imx: fix HS400 timing issue
   cb1c7a9d2897 ACPI / device_sysfs: Avoid OF modalias creation for removed device
   050b87cb66c6 xen: fix dom0 boot on huge systems
   c0b8e1d95cbf vmw_balloon: release lock on error in vmballoon_reset()
   020c90c694dc tracing/perf: Use strndup_user() instead of buggy open-coded version
   aca126f4a451 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
   e5cde571ee5f tracing: Use strncpy instead of memcpy for string keys in hist triggers
   c892f4ee3db2 smb3: make default i/o size for smb3 mounts larger
   3eb2412dd9da CIFS: Fix read after write for files with read caching
   c73a769b63fb CIFS: Do not skip SMB2 message IDs on send failures
   a992916a9c89 CIFS: Do not reset lease state to NONE on lease break
   75bbb83e80c7 CIFS: Fix leaking locked VFS cache pages in writeback retry
   afaf9d664b0f crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
   741ae3caa62f crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
   d78c34dfc288 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
   814ec1461901 crypto: x86/aesni-gcm - fix crash on empty plaintext
   2e0e52c3d618 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
   c9e34c3c34b9 crypto: testmgr - skip crc32c context test for ahash algorithms
   c58580801420 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   0173f7ca0e22 crypto: pcbc - remove bogus memcpy()s with src == dest
   9cbfb0a8d1af crypto: morus - fix handling chunked inputs
   c850ff289c4e crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   7007b2645f6e crypto: arm64/crct10dif - revert to C code for short inputs
   d78abd635e6c crypto: arm64/aes-neonbs - fix returning final keystream block
   844351fc03b0 crypto: arm/crct10dif - revert to C code for short inputs
   e414d9bc86a7 crypto: aegis - fix handling chunked inputs
   650b7246d460 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   781bcac5b199 fix cgroup_do_mount() handling of failure exits
   2ac714d69197 libnvdimm: Fix altmap reservation size calculation
   fefd9f16efc3 libnvdimm/pmem: Honor force_raw for legacy pmem regions
   4b9d1f8b61e8 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
   dd40489f6751 libnvdimm/label: Clear 'updating' flag after label-set update
   5fa9cb709adc nfit/ars: Attempt short-ARS even in the no_init_ars case
   b3971c932d0d nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
   0c7979447489 acpi/nfit: Fix bus command validation
   a2690301c976 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
   59a0e57f0cd3 nfit: Fix nfit_intel_shutdown_status() command submission
   9cd805133b84 dax: Flush partial PMDs correctly
   c2ca8161971a crypto: rockchip - update new iv to device in multiple operations
   e400988e1dae crypto: rockchip - fix scatterlist nents error
   20af3634022b crypto: ahash - fix another early termination in hash walk
   b03aa2833d56 crypto: ofb - fix handling partial blocks and make thread-safe
   5d894501d423 crypto: cfb - remove bogus memcpy() with src == dest
   64ae3c3d0c16 crypto: cfb - add missing 'chunksize' property
   ded8d6308ffd crypto: ccree - don't copy zero size ciphertext
   4fc9f0e1c9ff crypto: ccree - unmap buffer before copying IV
   37ff06fd9cb5 crypto: ccree - fix free of unallocated mlli buffer
   6e905e258c50 crypto: caam - fix DMA mapping of stack memory
   e86dc780320e crypto: caam - fixed handling of sg list
   4a18213573b8 crypto: ccree - fix missing break in switch statement
   fce3d391401a crypto: caam - fix hash context DMA unmap size
   9b2fdbdce1fb stm class: Fix an endless loop in channel allocation
   2adb36ff325d stm class: Prevent division by zero
   1cfec5613090 mei: bus: move hw module get/put to probe/release
   55ced4559dbf mei: hbm: clean the feature flags on link reset
   f644d56fe1d7 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
   a52251155bab iio: adc: exynos-adc: Fix NULL pointer exception on unbind
   61328520e0b6 ASoC: codecs: pcm186x: Fix energysense SLEEP bit
   5bd4f972e594 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
   a7abca8506b5 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
   5ababa4e34db 9p/net: fix memory leak in p9_client_create
   3cccba9a38d5 9p: use inode->i_lock to protect i_size_write() under 32-bit

(From OE-Core rev: 0e08b8dc419703e0b468ceb19ad5fa02cdad7584)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Khem Raj
f8bae9ad5c musl: Upgrade to master past 1.1.22
Changes are here
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=43e7efb46555f13a556d92944ac05c19b8929b60..65c8be380431eebe4d70d130bd38563f8df9a7d7

(From OE-Core rev: 8cd81b3948622b5bd6d9596b93533ca618a53d8a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Adrian Bunk
258f485e09 gcc: Remove Java support variables
Java support was removed in upstream gcc 7.

(From OE-Core rev: 81551871b183f802ce3c1d0c8fb16479d9671a04)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Adrian Bunk
ef0654f145 Set XZ_COMPRESSION_LEVEL to -9
It is consistent with other compressors also using their
best compression.

xz is currently the option that offers best compression,
using settings even lower than the default is surprising
and makes it harder to choose the best available compression.

For anyone who cares about compression time using a different
option like gzip or bzip2 is the logical choice.

For decompression, better compressed is actually faster
to decompress.

(From OE-Core rev: 9718c2d3fbb3281274af4556b34b7bac21fc7774)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Jacob Kroon
4b4db64156 grub-efi-native: Install grub-editenv
Having a native version of grub-editenv around can be useful for
setting the targets grub environment.

(From OE-Core rev: 25ead29f96eee47f565225bd2f0b4d0198405ccc)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Changhyeok Bae
c47245b0d4 iptables: upgrade 1.6.2 -> 1.8.2
To enable security flash, get the build error. To fix this,
0003-extensions-format-security-fixes-in-libipt_icmp.patch is required.

(From OE-Core rev: 2e135cea41c1276566a7390320468d1925481558)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Mariano Lopez
75b08ce9ac ptest.bbclass: Use d.getVar instead of os.environ
[YOCTO #12597]
[YOCTO #13238]

(From OE-Core rev: ae116b0eea3b09055742877790b7e4620f5b8f37)

Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Adrian Bunk
42ee625d4a dhcp: Replace OE specific patch for compatibility with latest bind with upstream patch
This also fixes a dhcp breakage noticed by Enrico Scholz.

(From OE-Core rev: 64047300da42b2cf29026c0b570f91b58bab5e6a)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Yi Zhao
7b55ec6e7f harfbuzz: update source checksums after upstream replaced the tarball
RP: Upstream replaced the original release tarball:
https://github.com/servo/rust-harfbuzz/pull/141

(From OE-Core rev: 96b29910f8515dc79ca4ecc0a1dfbbe3efb83f19)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:02 +01:00
Andreas Obergschwandtner
de0019cf6c uboot-sign: add support for different u-boot configurations
This is done by concatenating the DTB with the kernels public key
to all built u-boot binaries. Furthermore the installation of all
the binaries is required.

(From OE-Core rev: bacb59079eb6ba7e43507a6d3a357341fb367f83)

Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:01 +01:00
Changhyeok Bae
98143681ef iw: upgrade 4.14 -> 5.0.1
(From OE-Core rev: e1bc9b8d25365fbf3e5f7546c8dd2db7bef704b2)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:01 +01:00
Adrian Bunk
24667b8246 gnutls: upgrade 3.6.5 -> 3.6.7
This is a new upstream release from the same stable branch
bringing new features and bugfixes (including CVE fixes).

COPYING changed http -> https.

configure no longer has a --without-libunistring-prefix option.

(From OE-Core rev: 64d1a8be539c003d920b33fd1ae1846da5bd99f9)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-16 11:10:01 +01:00
Scott Rifenbark
ffac131f1f bitbake: poky.ent: Removed "ECLIPSE" entity variables.
These have never been used in the BB manual and were an
artifact from copy-and-pasting the poky.ent file from
the main yocto-docs repo to this bb repo when the BB
manual was origially created.  They are useless.  I have
removed them.

(Bitbake rev: 3aaf8d6569beeee35ef9dc5021c4b1c2b6db7266)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 23:01:26 +01:00
Richard Purdie
f41dc748ea Revert "nettle: fix ptest failure"
This reverts commit 83faaf7b2a5f4fc4ae504b300134409e90389770.

This should never have merged as the change was rejected upstream and adding a library
to the ptest package resulted in it providing that SONAME which led to being
included in images like core-image-sato.

This in turn led to a ton of ptest failures in the 2.7 r1 QA report.

(From OE-Core rev: 303ac64b898e222904e6cbb88a59cd393b259c49)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 23:01:26 +01:00
Alistair Francis
eaded08b6e beaglebone-yocto: Update u-boot config to match u-boot 19.04
[YOCTO #13145]

This was announced at 2019.01:
https://www.mail-archive.com/u-boot@lists.denx.de/msg305424.html

Basically, am335x_boneblack is just a special subset of am335x_evm config,
created and owned by BeagleBoard.org community. Since it was not migrated to
use CONFIG_BLK in time for 2019.04 release.

(From meta-yocto rev: 26f38a6de56a2d3bb1ef9b06d6b49537192f9447)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Alistair Francis
ae4c71c68b u-boot: Upgrade from 2019.01 to 2019.04
(From OE-Core rev: 68bcd9790d3da145498d2a51b64e9d2a239c1f87)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Oleksandr Kravchuk
c19fae01a2 makedepend: update to 1.0.6
(From OE-Core rev: 30b004f745512657bc278446fc70a99f4e25e350)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Oleksandr Kravchuk
6fcfe38482 fontconfig: update to 2.13.1
Removed patches were upstreammed.

License position in fccache.c was changed since code segment was moved
in the file.

Package requires uuid, therefore dependency on util-linux was added.

inherit gettext was added to fix:
...%s required but not in DEPENDS for file %s. Missing inherit gettext?

(From OE-Core rev: a03936d1bfd01afa320e289e3ba6e7a24979f196)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Oleksandr Kravchuk
8a2435b3e0 libyaml: update to 0.2.2
LICENSE checksum was changed due to copyright year change.

(From OE-Core rev: edc7f213ae3f976d367734cde5a1b2ee929b70ac)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Denys Dmytriyenko
e288901123 weston: upgrade 5.0.0 -> 6.0.0
Refresh patches.

Note:
6.0.0 is the last one to support autotools (needs explicit configure option),
newer versions will only support meson.

(From OE-Core rev: fe8349dcda28e35b24b5646301c381e7d8a9ec81)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Oleksandr Kravchuk
f89421ae24 cronie: update to 1.5.4
(From OE-Core rev: 9a656de74606e5c3ff5df4cf60ef1918728e952e)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:38 +01:00
Andrej Valek
f16794b4c4 dropbear: update to 2019.78
(From OE-Core rev: 4a5e607dac5f0d4ccd220f022002661b66681112)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
8bfaf4112d harfbuzz:upgrade 2.3.1 -> 2.4.0
-Upgrade from harfbuzz_2.3.1.bb to harfbuzz_2.4.0.bb.

(From OE-Core rev: 67053fadc59ac9066ed777080545b324d9d56066)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
30674c6003 libinput: update to 1.13.0
(From OE-Core rev: 482a6546d230eb375caf526548b9ab61d18984cb)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
d944337f35 createrepo-c: update to 0.12.2
(From OE-Core rev: b67dbd6442ca17fb87bc51ea227e8b6ca5b6a63a)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
027d652ab9 libsecret: 0.18.8
(From OE-Core rev: 4c549f8ec76e1b86259fe31a912c300b366b2ffa)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
972f55498a wget: update to 1.20.2
(From OE-Core rev: 29b60ff7d85abbfce725d073e885d9886fe47ab5)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
1a1ee8838b libxcrypt: update to 4.4.4
(From OE-Core rev: 4f1a7dc995002621ff65cd65b623673bb2649f3d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
5b664e9a37 libxmu: update to 1.1.3
(From OE-Core rev: 21b861d5e86c2345fa73e80c979b94c270bf31e8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
2365b1ba0f librepo: update to 1.9.6
(From OE-Core rev: 1612b698d13f8e00204b3ad795f23148d72f2611)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
defc01de45 ffmpeg: update to 4.1.2
(From OE-Core rev: f6890f97710c4822e4f52c773ea03c8035be8235)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
7b0599e44a tar: update to 1.32
(From OE-Core rev: 472258c7bf25672d6b8922061e8ea382d7be478a)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
b100389de8 ethtool: update to 5.0
Changelog:
- Feature: don't report UFO on kernels v4.14 and above
- Fix: zero initialize coalesce struct
- Feature: dsa: add pretty dump
- Feature: dsa: mv88e6xxx: add pretty dump
- Feature: dsa: mv88e6xxx: add pretty dump for 88E6185
- Feature: dsa: mv88e6xxx: add pretty dump for 88E6161
- Feature: dsa: mv88e6xxx: add pretty dump for 88E6352
- Feature: dsa: mv88e6xxx: add pretty dump for 88E6390
- Feature: dsa: mv88e6xxx: add pretty dump for others

(From OE-Core rev: b9e026709d86d0e07bda414050b23e29da3799e9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
fb3b2634fc connman: update to 1.37
Removed patch has been upstreamed.

Changelog:
- Fix issue with handling invalid gateway addresses.
- Fix issue with handling updates of default gateway.
- Fix issue with DHCP servers that require broadcast flag.
- Add support for option to use gateways as time servers.
- Add support for option to select default technology.
- Add support for Address Conflict Detection (ACD).
- Add support for IPv6 iptables management.

(From OE-Core rev: f3c5958268a6fb8146300e4c33512b9f9d3b3c1c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
58ea427cd7 libxrandr: update to 1.5.2
(From OE-Core rev: a7108eba07a99228b6ad4540e19e6f47c847b8a2)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
c1c8081408 libxvmc: update to 1.0.11
(From OE-Core rev: b9835eb1ce8ccd58ecab788f66e7338daed8a2c1)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
3bc4e95890 libxkbfile: update 1.1.0
(From OE-Core rev: 4cc8d5e4dde8df770df0b8a9a57cac018059c695)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
b6911ce359 libxdmcp: update to 1.1.3
(From OE-Core rev: aff7bdac5afdff02deca65205b18dd1ab69ce9c1)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
d1a1e47acb x11perf: update to 1.6.1
(From OE-Core rev: c03fdca0e57cdb3e37e982d1ec18f56658de55e5)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
1338222b6c libxext: update to 1.3.4
(From OE-Core rev: efd30a40313cfcad07109671abf47f36ee9eb87b)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
ba4efbe48a curl: update to 7.64.1
(From OE-Core rev: 1d3f15fb928981ea094773c921b6829d6df45e45)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Oleksandr Kravchuk
af207637e2 iproute2: update to 5.0.0
(From OE-Core rev: 4861becda779e79f0f52c94a0869c9aab9c92a42)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
de8ae58f46 xtrans:upgrade 1.3.5 -> 1.4.0
-Upgrade from xtrans_1.3.5.bb to xtrans_1.4.0.bb.

(From OE-Core rev: b52f80c98d3f6212e9525f9c508bc60d97629fda)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
0b6bcfaad4 libtirpc:upgrade 1.0.3 -> 1.1.4
-Upgrade from libtirpc_1.0.3.bb to libtirpc_1.1.4.bb.

-Delete libtirpc/libtirpc-1.0.4-rc1.patch beacuse this patch has been
adopted in the high version.

(From OE-Core rev: c66ad450d7991c17221baae396044b7c50a71412)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
cb4e8f4fe2 sysprof:upgrade 3.30.2 -> 3.32.0
-Upgrade from sysprof_3.30.2.bb to sysprof_3.32.0.bb.

(From OE-Core rev: dc1c3f3f01f372e7e6ad63d9a8c679d4d5bcdf4e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
459cbc841d nss:upgrade 3.42.1 -> 3.43
-Upgrade from nss_3.42.1.bb to nss_3.43.bb.

(From OE-Core rev: a8b89d108fca291327b03ade735d23d185741781)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
dedc2da5bd libxxf86dga:upgrade 1.1.4 -> 1.1.5
-Upgrade from libxxf86dga_1.1.4.bb to libxxf86dga_1.1.5.bb.

(From OE-Core rev: 8784206afe414d22c1408acab395abc08693c44f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
eeb679e50e libxft:upgrade 2.3.2 -> 2.3.3
-Upgrade from libxft_2.3.2.bb to libxft_2.3.3.bb.

(From OE-Core rev: 0cc2ac567ad11f5c7045a56fb25cef1b2e4ab249)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
315aae4563 libgpg-error:upgrade 1.35 -> 1.36
-Upgrade from libgpg-error_1.35.bb to libgpg-error_1.36.bb.

(From OE-Core rev: 88bf6239f3a4af09bbd1eec4e511500f2b335ade)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Zang Ruochen
e4ce7c3246 libatomic-ops:upgrade 7.6.8 -> 7.6.10
-Upgrade from libatomic-ops_7.6.8.bb to libatomic-ops_7.6.10.bb.

(From OE-Core rev: 88bc49e395bd4442da29eafa4e20c58f2e1991c6)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Richard Purdie
45822095ed build-appliance-image: Update to master head revision
(From OE-Core rev: bb74327509b1a1950969daf8f21193da472fd1e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 14:05:37 +01:00
Richard Purdie
5c504dd014 poky.conf: Post release version bump
(From meta-yocto rev: 65ad8f44805593d73c31ce340e9e91323fe72186)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:59:52 +01:00
Richard Purdie
03edd0bd23 bitbake: bitbake: Post release version bumnp to 1.43
(Bitbake rev: aae15f3c16fb463962eee100a8b0bcd5fc01ad96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:59:52 +01:00
Richard Purdie
80681dfb4e build-appliance-image: Update to warrior head revision
(From OE-Core rev: b5f493078335a77dea2f229d36629399d897a528)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:52:35 +01:00
Richard Purdie
6a08442256 poky.conf: Bump version for 2.7 warrior release
(From meta-yocto rev: 299b4150c66520985415fcc91119d563f7ba663c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:51:01 +01:00
Richard Purdie
0c3423aae9 bitbake: bitbake: Update version to 1.42.0
(Bitbake rev: 00b133af009f9e7c1a4c751b6ef4902f47a81fe2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:48:04 +01:00
Andre Rosa
9be9876760 bitbake: utils: Let mkdirhier fail if existing path is not a folder
Let mkdirhier fail if existing path is not a folder instead of assuming a
directory hierarchy already exists.

(Bitbake rev: a8d9b82ccf93dcb74258693f62d88be380b1c0b7)

Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:48:04 +01:00
Michael Scott
093fdcb35d kernel-fitimage: support RISC-V
Support RISC-V kernel image, using the "Image" target.

This change allows RISC-V support for fitImage via the following
flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage
with ramdisk and dtb).

This was tested using QEMU RISC-V 64-bit.

(From OE-Core rev: 35d0842c637b7d7ce0ab01f43b594c19a964872f)

Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:40:21 +01:00
Mingli Yu
861e0ad2a3 nettle: fix ptest failure
Remove dlopen-test.patch which originally used
to fix the test dlopen-test, but autually the
patch didn't resolve the issue as dlopen-test.patch
supposes the file /usr/lib/libnettle.so exists.
Instead deploy ${D}${PTEST_PATH}/libnettle.so to
fix the dlopen-test failure.

Update the initialization for the salt to fix
below Segmentation fault and also nettle-pbkdf2-test
failure.
 # echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
 [65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
 [65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
 Segmentation fault

(From OE-Core rev: 83faaf7b2a5f4fc4ae504b300134409e90389770)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:40:21 +01:00
Chen Qi
047aab4f45 runqemu: do not check return code of tput
The subprocess.run was replaced by subprocess.check_call because
of compatibility support down to python 3.4. But we really don't
care about whether that command succeeds. Some user reports that
in some tmux environment, this command fails and gives some
unpleasant traceback output. So we use 'call' instead of 'check_call'
to avoid such problem.

(From OE-Core rev: c574aaf30c82ad397c0a6567b3cb52e7fb5d5829)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:40:21 +01:00
Khem Raj
ec8a40e231 gcc-cross-canadian: Make baremetal specific code generic
baremetal override is not valid for cross-canadian anymore
therefore use the TARGET_OS overrides

Fixes
e.g. https://github.com/riscv/meta-riscv/issues/117

(From OE-Core rev: 1bc122a044de280d17525c8e5ee66e81775a7d8b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:40:21 +01:00
Hongxu Jia
03cc7d03ef image_types.bbclass: fix a race between the ubi and ubifs FSTYPES
The ubi, ubifs and multiubi FSTYPES calls `mkfs.ubifs' to create UBIFS
images.

In do_image_ubi, $vname is empty, the name of UBIFS image conflicts with
the one in do_image_ubifs, and it's a race risk.
[do_image_ubi]
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.ubifs ${mkubifs_args}
[do_image_ubi]

[do_image_ubifs]
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.ubifs ${MKUBIFS_ARGS}
[do_image_ubifs]

In do_image_multiubi, $vname is not empty, the UBIFS image name does
not conflict with others.

So do not call mkfs.ubifs in do_image_ubi and depend on do_image_ubifs
to create UBIFS images.

The fix does not affect do_image_multiubi which still call mkfs.ubifs to
create multiple UBIFS images and symlinks.

[YOCTO #13272]

(From OE-Core rev: 3e5f075184d91dd99cf25cfe84bba1c946ed0c7c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 13:32:48 +01:00
Richard Purdie
4fe07763c7 e2fsprogs: Skip slow ptest tests
The slow tests run unreliably with our current setup/infrsstructure/timeouts.

There are only five slow ones and having the other ~250 run reliably without timeouts
is the priority right now. We can revisit the slow tests at some later date if wanted.

(From OE-Core rev: 7469c2a5595337fc4407fa7a2ad06b5bf2347545)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Richard Purdie
00a0e90f17 goarch.bbclass: Simplify logic
Further simplification of the go_map_arm() function.

(From OE-Core rev: 9c333505897b2bf0d80737c855af31785d23435a)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Richard Purdie
cd87283738 go.bbclass: Remove unused override
The x86 override means the i586 one isn't necessary.

(From OE-Core rev: 1658bf2dbdfe1a5b38efcc03359c9937506c120c)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Alexander Kanavin
cc5654b870 python3: add a tr-tr locale for test_locale ptest
With this change, the ptests do not fail anymore,
except for the three failures caused by the 5.0 kernel regression:

- test_ssl and test_httplib lock up, and are skipped
(there is a separate patch for it)

- test_asyncio fails but does not lock up

(From OE-Core rev: 49720e6d680d0041850c00ce6dc859d557825595)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Dengke Du
a9ab562777 perf: workaround the error cased by maybe-uninitialized warning
When enable DEBUG_BUILD, the perf build failed by the following error:
    libbpf.c:727:36: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This is ok until Khem commit a patch in oe-core:
    16643b03227466e2c80a24c2d079fe36e89553c1
This commit import "-Og" option to "DEBUG_OPTIMIZATION", result in this error.

Actually, the warning was misinformation. We explore the code in libbpf.c:
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/bpf/libbpf.c#n640
--------------------------------------------------------------------------
	if (scn)
		data = elf_getdata(scn, NULL);
	if (!scn || !data) {
		pr_warning("failed to get Elf_Data from map section %d\n",
			   obj->efile.maps_shndx);
		return -EINVAL;
	}
	......
	using data...
	......
--------------------------------------------------------------------------
If the 'scn' was not null, the data will be initialized. if the data was null,
the function will return -EINVAL, so the data must be not null, but compiler
can't see it in 'if' code block, so treat it as 'maybe-uninitialized'.

(From OE-Core rev: 0eb4048bc5865579327f5a88086e3e3241b012cb)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Yeoh Ee Peng
1576ce540b resulttool/manualexecution: Refactor and remove duplicate code
Remove duplicate codes. Replace unnecessary class variables with
local variables. Rename variables and arguments with simple and
standard name.

(From OE-Core rev: 6bef61d36f3328fad003c0dc9c010d3f76ba96d8)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Nathan Rossi
97f37fbda1 ccmake.bbclass: Fix up un-escaped quotes in output formatting
The quotes should be generated in the output to match the expected cmake
syntax for setting cache variables.

(From OE-Core rev: a19a6201c8cc255583bd014534b4a6ec2524070f)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Changqing Li
bf45a3e222 cogl: fix compile error caused by -Werror=maybe-uninitialized
When enable DEBUG_BUILD, cogl compile failed with error:

| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:217:17: error: 'gltype' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|      *out_gltype = gltype;
|      ~~~~~~~~~~~~^~~~~~~~
| ../../cogl-1.22.2/cogl/driver/gl/gles/cogl-driver-gles.c:213:22: error: 'glintformat' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|      *out_glintformat = glintformat;
|      ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~

Source: https://gitlab.gnome.org/GNOME/cogl/blob/master/cogl/driver/gl/gles/cogl-driver-gles.c
it can handle correctly, so fix with -Wnoerror

(From OE-Core rev: 72aace12a499db8d1340c8705b177e6f191d853d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Beniamin Sandu
59fcee90de kernel-devsrc: check for localversion files in the kernel source tree
The kernel-devsrc rework doesn't take into account localversion
files in the kernel source tree. This might result in modules with an
incomplete version magic when building out-of-tree using the SDK.

Before:
root@qemux86:~# insmod hello.ko
[   42.000212] hello: version magic '5.0.3-yocto-standard SMP preempt
mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard
SMP preempt mod_unload PENTIUMM '
[   42.008200] hello: version magic '5.0.3-yocto-standard SMP preempt
mod_unload PENTIUMM ' should be '5.0.3-my-custom-release-yocto-standard
SMP preempt mod_unload PENTIUMM '
insmod: can't insert 'hello.ko': invalid module format

After:
root@qemux86:~# insmod hello.ko
[   39.094288] hello: loading out-of-tree module taints kernel.
[   39.108044] Hello World!

(From OE-Core rev: 68b9243729ac1982c9f1d30980cf979267bbc7c3)

Signed-off-by: Beniamin Sandu <beniamin.sandu@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Changqing Li
dcfef9fef0 ruby: add ptest
(From OE-Core rev: 46f47b700ef7f58c8095db9bd3b4b867a6447360)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Changqing Li
99ec53a051 ruby: make ext module fiddle can compile success
ext module fiddle depend on libffi, in ruby source tree,
there is in internal libffi in case target platfrom don't
install libffi, but autotools.bbclass delete configure
under libffi and not run autoreconf to regenerate one.so
we met this error:
ruby-2.5.3/ext/fiddle/libffi-3.2.1/configure: No such file or directory

the fix is add depend and extra_oeconf to use libffi in the system

(From OE-Core rev: 55acc9b477919208d91781dbe9a03136f895a94b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Wenlin Kang
bb8a55fb0f systemd: install libnss-myhostname.so when myhostname be enabled
This fixes the follow issue, the cause is that net-tools needs
libnss-myhostname.so when run "hostname -s".

root@qemuarm64:~# hostname -s
hostname: Unknown host

(From OE-Core rev: 5bad5eb5f41053e4963fb26972f56dbf67349378)

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Lei Yang
305f569cf2 recipetool: add missed module
When I use recipetool to add a new recipe, it says:

[snip]
sys.exit(14)
NameError: name 'sys' is not defined
[snip]

(From OE-Core rev: 051e1c27bbf6a5898f2cf13b78dd3d8d1ec31586)

Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Alejandro del Castillo
6d3a0411f3 opkg: add ptest
Install opkg test suite and run it as ptest.

(From OE-Core rev: 6b9963a58eec9f5f5fe72021d13e3c89461a9649)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Zheng Ruoqin
5ad7d90ee6 sanity: check_perl_modules bug fix
Fix Python3 TypeError error in check_perl_modules:

Executing bitbake, the following error message will be throwed:

  File ".../poky/meta/classes/sanity.bbclass", line
979, in check_sanity_eventhandler
    check_sanity(sanity_data)
  File ".../poky/meta/classes/sanity.bbclass", line
943, in check_sanity
    check_sanity_version_change(status, sanity_data)
  File ".../poky/meta/classes/sanity.bbclass", line
637, in check_sanity_version_change
    status.addresult(check_perl_modules(d))
  File ".../poky/meta/classes/sanity.bbclass", line
563, in check_perl_modules
    errresult += e.output
TypeError: must be str, not bytes

So here, transfer e.output from bytes to str.

(From OE-Core rev: 2c6fff3fe315357d65d082679856615afc367d90)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-12 09:29:06 +01:00
Andreas Müller
9f7092416c insane.bbclass: Trigger unrecognzed configure option for meson
Tested with 'unknown-configure-option' in ERROR_QA:

For meson (glib-2.0-native):
1. add 'EXTRA_OEMESON_append = "-Dschnitzel=true -Dwurst=true"'
   | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: schnitzel wurst [unknown-configure-option]
2. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" schnitzel"'
   | ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: QA Issue: glib-2.0-native: configure was passed unrecognised options: wurst [unknown-configure-option]
3. change to 'UNKNOWN_CONFIGURE_WHITELIST_append=" schnitzel wurst"'
   => builds without issues

For autotools (readline-native):
1. add 'EXTRA_OECONF = "--with-schnitzel --with-wurst"'
   | ERROR: readline-native-8.0-r0 do_configure: QA Issue: readline-native: configure was passed unrecognised options: --with-wurst --with-schnitzel [unknown-configure-option]
2. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" --with-schnitzel"'
   | ERROR: readline-native-8.0-r0 do_configure: QA Issue: readline-native: configure was passed unrecognised options: --with-wurst [unknown-configure-option]
3. add 'UNKNOWN_CONFIGURE_WHITELIST_append=" --with-schnitzel --with-wurst"'
   => builds without issues

(From OE-Core rev: 30c001cdbc6207001b18e093ad9691e606428f0f)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:57 +01:00
Andreas Müller
50065038c0 gstreamer1.0-python: rework gobject-introspection handling
gobject-introspection is mandatory for gstreamer1.0-python - there is no
configure option to enable or disable it.

To handle properly, this patch does:

* Make 'gobject-introspection-data' a required distro feature
* Add
  'UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection"'
   - it was removed in gobject-introspection.bbclass to avoid
  | ERROR: libgee-0.18.0-r0 do_configure: QA Issue: libgee: configure was passed unrecognised options: --disable-schemas-install [unknown-configure-option]

(From OE-Core rev: bcc560134ebfbeeb0c1cc7b6c96e2da629df67a2)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
1294180533 gst-plugins: move 'inherit gobject-introspection' to recipes supporting GI
Now that whitelisting for unknown configure options was removed in
gobject-introspection.bbclass gstreamer1.0-plugins-ugly/-good start complaining

| ERROR: gstreamer1.0-plugins-ugly-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-ugly: configure was passed unrecognised options: --enable-introspection [unknown-configure-option]
| ERROR: gstreamer1.0-plugins-good-1.14.4-r0 do_configure: QA Issue: gstreamer1.0-plugins-good: configure was passed unrecognised options: --enable-introspection [unknown-configure-option]

So let only those gst-plugin recipes inherit gobject-introspection whose sources
support GI.

(From OE-Core rev: b6138d28f750f4306bc8b9c9baa047d9971dcb17)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
e6ae22e597 glib-networking: upgrade 2.58.0 -> 2.60.1
this version support gnutls option again - it was mandatory for 2.58.0

(From OE-Core rev: 1638c56a5e38969b07d368176ae30d241199eb36)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
b977cccc16 libsoup-2.4: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 951b8394a7665902ec9b0572585c605251beb002)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
7e6ad79554 atk: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 9fca94a4fe8e6f884689accc7d35c453811b6654)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
3c0db0fa69 at-spi2-core: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 7d2d1a45e0d6fe0dba289d686a510f844151df2f)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
b655388022 pango: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 2e2dbb4c16dcdc8b1d51a3d5a46d766e395d1840)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
75c0da2e2a clutter-gtk-1.0: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 0c8fdee10bed66334df93b22ee16fb61a3752c56)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
be45c489ae libdazzle: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 926cdbf7a7a07c8dfdfe3f3b66f32f8c1ea0dffa)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
c2c71b71fe json-glib: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 25f4b659915c5de60a07ba98cba709c4a52c476e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
37a5993c7e gdk-pixbuf: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 8ffb0a5f88cbebfa19e5eee337d00f6e5214ba34)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
5082d15eda libmodulemd: use gobject-introspection.bbclass on/off mechanism
(From OE-Core rev: 7ebe0cfccb5ec5643da3154cc4d6537493ad496e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Andreas Müller
5b33b053c1 gobject-introspection: auto-enable/-disable gobject-introspection for meson
* the class sets defaults used most common which can be overriden by recipes
* UNKNOWN_CONFIGURE_WHITELIST was removed for autotools (and not added for meson)
  as suggested by Alexander Kanavin [1]

[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/280716.html

(From OE-Core rev: 59589383131df6bc0c8787cd00a16ee59e21d441)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:15:56 +01:00
Mikko Rapeli
645dbc3ce7 elfutils: remove Elfutils-Exception and include GPLv2 for shared libraries
Elfutils-Exception no longer exists after upstream release 0.154
and commit:

commit de2ed97f33139af5c7a0811e4ec66fc896a13cf2
Author: Mark Wielaard <mjw@redhat.com>
Date:   Tue Jun 5 17:15:16 2012 +0200

NEWS file in the sources says this about switch from GPLv2 to
GPLv3 license:

https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=5a06047f255e3c9a63828953759fd18a4ba9a3f3;hb=HEAD#l362

 362 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
 363 programs. There is now also a formal CONTRIBUTING document describing how to
 364 submit patches.

libasm, libdw and libelf are thus covered optionally by GPLv2 license.

See also Debian copyright summary for elfutils:

https://tracker.debian.org/media/packages/e/elfutils/copyright-0.175-1

(From OE-Core rev: 88188807a6ac9bab738a69f6b4caba9ed092d78f)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Richard Purdie
890e0ab069 python3: Fix ptest output parsing
A previous fix to python added -W and removed -v. This reverts that part of the change
since we're no longer getting ptest results at all. This change back to more
verbose output means we start getting test results again.

(From OE-Core rev: d70c77e4d5ec1d7cb4f134377df11e6475f31062)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Richard Purdie
fb852a81fc python3: Avoid hanging tests
There are python tests which hang with recent kernels, 5.0 onwards. This causes
ptest to timeout for python3. Disable the problematic test until we better understand
the real cause and fix of the issue (discussions are happening with upstream).

See the patch for details/links.

(From OE-Core rev: 2a48df02a2871635f8235645bfd7f7a3ff0aef31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Richard Purdie
cef43d10bd pseudo: Update to gain key bugfixes
Newer distros are using new versions of glibc and coreutils which use the new glibc
renameat2 function. We need to intercept this for correct functioning of pseudo. This
is essential to ensure new distros continue to work with the project.

Also, this version has a fix for path/inode cross corruption problems which
may explain our mysterious locale permissions issues.

Many thanks to Otavio and Peter Seebach for the help in figuring this out and
fixing it.

(From OE-Core rev: 0fb257121b68f38b40c078150db8f7d0979b7ea5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Mariano Lopez
677bacd446 busybox: Use PTEST binary directory
This will generate the symlinks in the ptest binary directory using the
ptest class functionality instead of generating them manually. Because
the ptest class uses update-alternatives to get the metadata for the
symlinks it will respect the use of BUSYBOX_SPLIT_SUID automatically.

[YOCTO #12597]

(From OE-Core rev: a3923085d1cad7de7e644ff57d05c4a8955b5b00)

Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Mariano Lopez
db9a0dd784 util-linux: Use PTEST binary directory
Some binaries generated by util-linux will be replaced by core-utils
in the final image by update-alternatives, so use a dedicated directory
with symlinks to avoid using a binary generated by another package.

This will solve the issue with the ptest runner timing out when
running the kill ptests for util-linux.

[YOCTO #13238]

(From OE-Core rev: 1a8fd875f0b171e25a5ac8a32cc81ff3887935bd)

Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Mariano Lopez
6995ec65e8 ptest.bbclass: Add feature to populate a binary directory
This adds the functionality to create a binary directory within
PTEST_PATH directory. This directory will be populated with
symlinks pointing to the binaries installed by the package and
then renamed by update-alternatives. This way the ptest only needs
to source this binary directory in order to use the expected
binaries.

To enable this feature just add PTEST_BINDIR = "1" to the recipe.

[YOCTO #12597]
[YOCTO #13238]

(From OE-Core rev: bca35319b89ce668927728c4e2094f6e10cef298)

Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Mariano Lopez
5feccb430b update-alternatives.bbclass: Add function to get metadata
This adds update_alternatives_alt_targets function to get the metadata
for a package. This is for code reuse because the metadata would help
other classes that needs to be aware of how update-alternatives modify
the final package.

[YOCTO #12597]
[YOCTO #13238]

(From OE-Core rev: 04d966c0a91c5e16555bba827969a0a2fd96bb96)

Signed-off-by: Mariano Lopez <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-11 21:12:48 +01:00
Richard Purdie
4e511f0abc linux-yocto: Drop 4.18 kernel
(From meta-yocto rev: 1a9d86574ae0e2491bdd33b6addfd8ba6069d628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:48:44 +01:00
Mark Asselstine
a126d23833 goarch.bbclass: use MACHINEOVERRIDES and simplify go_map_arm()
Per https://github.com/golang/go/wiki/GoArm we need to set GOARM when
cross building for ARMv5, ARMv6 and ARMv7. The current approach of
using TUNE_FEATURES can be error prone, as we can see today when
attempting to build for Cortex-A7 which results in GOARM=''.

Since the value of MACHINEOVERRIDES already consolidates the values of
TUNE_FEATURES into something more consistent we can use the overrides
mechanism to set GOARM, leaving just a little bit of logic in
go_map_arm() to trigger off the arch (basically target vs host)
for the setting of GOARM.

(From OE-Core rev: 5f48939e26402b77fc3343f326765137f9570f40)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Mark Asselstine
bb04858ea6 go.bbclass: Export more GO* environment variables
Currently we are not doing a good job of consolidating GO environment
variables used by the go build system in the go.bbclass, instead we
are relying on the individual GO recipe authors to perform the
exports. This can result in inconsistent build results and often
binaries that are not properly cross compiled, resulting in segfaults
when the applications are run on the target.

For example the GO documentation recommends that the environment
include a value assigned to GOARM when cross building for ARMv5, ARMv6
and ARMv7 (https://github.com/golang/go/wiki/GoArm).

In order to avoid polluting the build scripts with unnecessary
exports, such as run.do_compile, we attempt to only export variables
when they apply to a specific arch.

(From OE-Core rev: 6300c4a83f7c8fc88702798ffe25bd6d57091673)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Ross Burton
4d1000a303 insane: fix gettext dependency warning
This message was using %s markers but nothing was being passed in.

(From OE-Core rev: d204398d40cbbea5a6b58a36fc289d569f2eb304)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Tomasz Meresiński
8233d9e717 systemd: fix predictable network interface names in initrd
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
says, that udev is responsible for predictable network interface names,
so udev package is a better place for its configuration file.

(From OE-Core rev: 4cf7c6b86b26c8355054f93e2aa5e05a35e536c6)

Signed-off-by: Tomasz Meresiński <tomasz.meresinski@comarch.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Robert Yang
bd2b7d2213 sstate.bbclass: Use bb.utils.to_boolean() for BB_NO_NETWORK
Make it consistent with bitbake

(From OE-Core rev: 7fb540c3199bc2b82d60fff678b5e588ab4d1ad6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Yeoh Ee Peng
974d786d08 resulttool/manualexecution: Enable creation of configuration option file
Allow the creation of configuration option file based on user inputs.
Where this configuration option file will be used by the the manual
execution to display options for configuration rather than user
need to inputs configuration manually.

(From OE-Core rev: 23c7a037a85a825aa088bfac3a144c14087a9f49)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Yeoh Ee Peng
8d70c77678 resulttool/manualexecution: Enable configuration options selection
Current manualexecution required user to input configuration manually
where there were inconsistent inputs and human typo issues.

Enable manualexecution to have the optional feature where it
will use pre-compiled configuration options file where user will
be able to select configuration from the pre-compiled list instead
of manual key-in the configuration. This will eliminate human error.

Expect the pre-compiled configuration options file in json format below

{
    "bsps-hw": {
        "IMAGE_BASENAME": {
            "1": "core-image-sato-sdk"
        },
        "MACHINE": {
            "1": "beaglebone-yocto",
            "2": "edgerouter",
            "3": "mpc8315e-rdb",
            "4": "genericx86",
            "5": "genericx86-64"
        }
    },
    "bsps-qemu": {
        "IMAGE_BASENAME": {
            "1": "core-image-sato-sdk"
        },
        "MACHINE": {
            "1": "qemuarm",
            "2": "qemuarm64",
            "3": "qemumips",
            "4": "qemumips64",
            "5": "qemuppc",
            "6": "qemux86",
            "7": "qemux86-64"
        }
    }
}

(From OE-Core rev: 1af7e04223b415a64e100a9f91d60f5e9b0f789a)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Nikhil Pal Singh
b25ede81df cmake: Support Eclipse and other cmake generators
Support project-file generators such as CodeBlocks, CodeLite,
Eclipse, Sublime, and Kate for both make and Ninja build systems.

The following generators are listed in cmake --help:

  Unix Makefiles               = Generates standard UNIX makefiles.
  Ninja                        = Generates build.ninja files.
  Watcom WMake                 = Generates Watcom WMake makefiles.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

All but one of these contain one of the strings, "Unix Makefiles" or "Ninja".
In each of these cases, cmake generates the Makefiles (or ninja files respectively),
and also the appropriate project files, eg. .project and .cproject for Eclipse.

A user can set OECMAKE_GENERATOR in their local.conf to any
one of these strings, except "Watcom WMake" (not supported).

(From OE-Core rev: 256e8b5deae66b1463c359db12af396702912139)

Signed-off-by: Nikhil Pal Singh <nikhilpal.singh@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Adrian Bunk
509963a689 bind: upgrade 9.11.5 -> 9.11.5-P4
Bugfix-only compared to 9.11.5, mostly CVE fixes.

COPYRIGHT checksum changed due to 2018 -> 2019.

(From OE-Core rev: 5d286da0fbe1a7ded2f84eec990e49d221bdeab4)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Khem Raj
4019b0393f Revert "mdadm: fix gcc8 maybe-uninitialized/format-overflow warning"
This patch tried to address a gcc problem when -Og is used, but it did
cause regressions on normal compiles when using clang e.g. the real
problem is to fix the compiler until then disable the warning in
DEBUG_FLAGS

This reverts commit 630281663893cdcfa9c4323b717b415d87d5510f.

(From OE-Core rev: 949961cdf7d4639da538045dc83c2a354e16ea80)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
7c915df65f linux-yocto/4.18: remove versioned recipes
The 4.18 kernel has been replaced by 4.19 and 5.0 in master.
poky-tiny has been tested against 5.0, so we can now remove
the 4.18 recipes.

The 4.18 branches will continue to be maintained, but we only
want two active kernels in the master/releases branches.

(From OE-Core rev: 9251cec30ff77b526363bed7299238e33b68feb4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
61edee0d29 linux-yocto/5.0: tweak qemuarm -tiny configuration
Tweaking the qemuarm -tiny configuration so it will boot to a
prompt. There are still some remaining issues (like hvc console
warnings), but this is much better than a silent boot, or boot
hang like we previously had.

(From OE-Core rev: 12a5d50e65cd3510ba790cd7867b5319ef5028f4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
87a8700a37 qemumips: Enable the poweroff driver
Integrating the following configuration change:

Author: Kevin Hao <kexin.hao@windriver.com>
Date:   Wed Apr 3 19:30:58 2019 +0800

    mips: Enable the poweroff driver for the qemumips/qemumips64

    As Indicated by Richard Purdie, in order to shutdown the machine we have
    to explicitly enable the PIIX4 poweroff driver for the
    qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta:
    Use PIIX4 poweroff driver to power down") is merged.

    Signed-off-by: Kevin Hao <kexin.hao@windriver.com>

(From OE-Core rev: a166e005eb02e2486d59404938ff639bb4860bdf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
eac65ce381 linux-yocto/4.18: update to v4.18.33
Integrating Paul Gortmaker's -stable ports to 4.18 which comprise the
following commits:

   56f9fe35a4c5 Linux 4.18.33
   bf44ff79b855 net: hns: Fixes the missing put_device in positive leg for roce reset
   81614c514f4e mm: Use fixed constant in page_frag_alloc instead of size + 1
   035b5a7a3e3f ipvs: fix warning on unused variable
   58ab04e46d92 intel_th: gth: Fix an off-by-one in output unassigning
   8cb600d53c6c ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
   f11b815f39bf s390/setup: fix boot crash for machine without EDAT-1
   4059d23a36a6 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
   d94637dc73e5 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
   ee356457f2a3 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
   b4485d9eb039 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
   fe7d69927661 KVM: x86/mmu: Detect MMIO generation wrap in any address space
   c34cae89374b KVM: Call kvm_arch_memslots_updated() before updating memslots
   9fb8b858d552 drm/amd/display: don't call dm_pp_ function from an fpu block
   d4302b79ffbd drm/amd/powerplay: correct power reading on fiji
   5f8c51055244 drm/radeon/evergreen_cs: fix missing break in switch statement
   3fc39cdce701 media: imx: csi: Stop upstream before disabling IDMA channel
   5c008f7971b8 media: imx: csi: Disable CSI immediately after last EOF
   74a5ff7db3b2 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
   142a9bd66395 media: lgdt330x: fix lock status reporting
   465204a0c772 media: imx: prpencvf: Stop upstream before disabling IDMA channel
   42a2c1a40db0 rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
   f9480ca4fb29 tpm: Unify the send callback behaviour
   5f28509f81ad tpm/tpm_crb: Avoid unaligned reads in crb_recv()
   ea37270d4c87 md: Fix failed allocation of md_register_thread
   bd77b69a20ba perf intel-pt: Fix divide by zero when TSC is not available
   c9a63c17458f perf/x86/intel/uncore: Fix client IMC events return huge result
   63a25bdd4227 perf intel-pt: Fix overlap calculation for padding
   66a57e3b95b5 perf auxtrace: Define auxtrace record alignment
   76650254e18e perf intel-pt: Fix CYC timestamp calculation after OVF
   274ef4840d79 x86/unwind/orc: Fix ORC unwind table alignment
   3928a903e185 vt: perform safe console erase in the right order
   645a7ca69855 stable-kernel-rules.rst: add link to networking patch queue
   1c14622adb15 bcache: never writeback a discard operation
   261aad0b3ea7 PM / wakeup: Rework wakeup source timer cancellation
   ee610ce938cd svcrpc: fix UDP on servers with lots of threads
   0530b66bfd53 NFSv4.1: Reinitialise sequence results before retransmitting a request
   9a1d7090b36e nfsd: fix wrong check in write_v4_end_grace()
   e7edb30fd6b7 nfsd: fix memory corruption caused by readdir
   672f2e600d21 nfsd: fix performance-limiting session calculation
   624865483faa NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
   2b5fef7c9927 NFS: Fix an I/O request leakage in nfs_do_recoalesce
   63adecfe53e9 NFS: Fix I/O request leakages
   0b0545dd7e6e cpcap-charger: generate events for userspace
   8f27f8570fa7 mfd: sm501: Fix potential NULL pointer dereference
   f964d308797d dm integrity: limit the rate of error messages
   1ed46c0c4f65 dm: fix to_sector() for 32bit
   ea77e999f649 ipmi_si: fix use-after-free of resource->name
   5a0bc68e9a0d arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
   9dc4a1a6447e arm64: debug: Ensure debug handlers check triggering exception level
   c33e96f8ddb2 arm64: Fix HCR.TGE status for NMI contexts
   bb7edb8a409a ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
   e8d7edd36a92 powerpc/traps: Fix the message printed when stack overflows
   fbea0579063f powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
   88d0042148f0 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
   b0fc119506bf powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
   6e975dad4a8e powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
   fcf2d15a0a32 powerpc/83xx: Also save/restore SPRG4-7 during suspend
   87481c65c805 powerpc/powernv: Make opal log only readable by root
   12319dcc9a80 powerpc/wii: properly disable use of BATs when requested.
   be851891b1c9 powerpc/32: Clear on-stack exception marker upon exception return
   24d0b4b51dd1 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
   3ea70bdc892f selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
   00d550a195f2 jbd2: fix compile warning when using JBUFFER_TRACE
   b18848cc624a jbd2: clear dirty flag when revoking a buffer from an older transaction
   108ba9f62780 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
   a79bc3e5fb7c serial: 8250_pci: Fix number of ports for ACCES serial cards
   78e39f8bb56e serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
   04eb2755b4e9 serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
   9007ccc01a91 bpf: only test gso type on gso packets
   ef5b4e1f5735 drm/i915: Relax mmap VMA check
   23ca68189393 can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
   8529fecb481e gpio: pca953x: Fix dereference of irq data in shutdown
   31e04ac8a8ba media: i2c: ov5640: Fix post-reset delay
   1855d8c9e6c4 i2c: tegra: fix maximum transfer size
   8bc3433b216d parport_pc: fix find_superio io compare code, should use equal test.
   2c0542dbb267 intel_th: Don't reference unassigned outputs
   c64422307c34 device property: Fix the length used in PROPERTY_ENTRY_STRING()
   c88db9c0d127 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
   5374924c9332 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
   db693b432779 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
   1811478753e3 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
   492ea426ddce dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
   f1bb88d5cee1 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
   9377917b523a clk: ingenic: Fix doc of ingenic_cgu_div_info
   f0412cfc06af clk: ingenic: Fix round_rate misbehaving with non-integer dividers
   b6b4011ce7d1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
   715fe29adfd1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
   eb9aa4ebf835 clk: clk-twl6040: Fix imprecise external abort for pdmclk
   917fa829bbf5 clk: uniphier: Fix update register for CPU-gear
   80d526380136 ext2: Fix underflow in ext2_max_size()
   bbf30be02326 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
   94f31d712f26 IB/hfi1: Close race condition on user context disable and close
   a80eceacf85c PCI: dwc: skip MSI init if MSIs have been explicitly disabled
   084005af4966 PCI/ASPM: Use LTR if already enabled by platform
   821934eb7e75 ext4: fix crash during online resizing
   01767d409537 ext4: add mask of ext4 flags to swap
   f21830e67d5d ext4: update quota information while swapping boot loader inode
   4de71f7481a7 ext4: cleanup pagecache before swap i_data
   4821bf3c61bb ext4: fix check of inode in swap_inode_boot_loader
   3cd2f1153739 cpufreq: pxa2xx: remove incorrect __init annotation
   dc4443928ee2 cpufreq: tegra124: add missing of_node_put()
   a0e15a764318 cpufreq: kryo: Release OPP tables on module removal
   d28564a8e60e x86/kprobes: Prohibit probing on optprobe template code
   56955276ba2e irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
   14dda7949f82 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
   3a8560230470 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
   7e7e5728d161 Btrfs: fix corruption reading shared and compressed extents after hole punching
   be1ee0e2fd42 btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
   cb292a678ee2 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
   f1f0ee2859e6 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
   0e6de290666f m68k: Add -ffreestanding to CFLAGS
   f78f0d35d43a splice: don't merge into linked buffers
   433cbc2d30f3 fs/devpts: always delete dcache dentry-s in dput()
   dbb3e594eecd scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
   528af139ff6b scsi: sd: Optimal I/O size should be a multiple of physical block size
   ee579fc4e875 scsi: aacraid: Fix performance issue on logical drives
   818838eea45d scsi: virtio_scsi: don't send sc payload with tmfs
   478bd6b7f170 s390/virtio: handle find on invalid queue gracefully
   47c6ea331f58 s390/setup: fix early warning messages
   69304bcf9021 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
   947a053a6d47 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
   084c1f5522f1 clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
   95d7c41e448f regulator: s2mpa01: Fix step values for some LDOs
   69913dbd2d55 regulator: max77620: Initialize values for DT properties
   060c4f4e5d0c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
   9a215e43276c spi: pxa2xx: Setup maximum supported DMA transfer length
   913cb6579c9a spi: ti-qspi: Fix mmap read when more than one CS in use
   bb427df35f34 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
   8fb8fb9b67bb mmc:fix a bug when max_discard is 0
   85d7e5a8000a mmc: sdhci-esdhc-imx: fix HS400 timing issue
   882b6b31ea55 ACPI / device_sysfs: Avoid OF modalias creation for removed device
   b3a0dfcfdd64 tracing/perf: Use strndup_user() instead of buggy open-coded version
   054dec51d4e6 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
   9031822970ed tracing: Use strncpy instead of memcpy for string keys in hist triggers
   9367b21da22c CIFS: Fix read after write for files with read caching
   db6a6106224d CIFS: Do not reset lease state to NONE on lease break
   aef1cf600f41 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
   134135d884be crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
   6779d6bdf611 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
   2dc6214860a1 crypto: x86/aesni-gcm - fix crash on empty plaintext
   a6e83e8b0777 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
   f62b08c81429 crypto: testmgr - skip crc32c context test for ahash algorithms
   817cbacff744 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   bc647ef1085e crypto: pcbc - remove bogus memcpy()s with src == dest
   9fb0d7b8f9c2 crypto: morus - fix handling chunked inputs
   76bc71692818 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   67a69738546d crypto: arm64/crct10dif - revert to C code for short inputs
   e1369ad2e0fc crypto: arm64/aes-neonbs - fix returning final keystream block
   7807003aab85 crypto: arm/crct10dif - revert to C code for short inputs
   f54fbb0e595b crypto: aegis - fix handling chunked inputs
   1e1f858caf7d crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
   c81bf050b880 fix cgroup_do_mount() handling of failure exits
   638f4fb4ec67 libnvdimm: Fix altmap reservation size calculation
   5ebf4aa4cf6b libnvdimm/pmem: Honor force_raw for legacy pmem regions
   8f42d7ac37af libnvdimm, pfn: Fix over-trim in trim_pfn_device()
   68ab49b299fb libnvdimm/label: Clear 'updating' flag after label-set update
   063d65ab9fdd nfit/ars: Attempt short-ARS even in the no_init_ars case
   387b9f01ac16 nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
   b4a1581c801d acpi/nfit: Fix bus command validation
   0c27d62e5752 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
   fd8e9cd85f26 stm class: Prevent division by zero
   dd1250b50c61 tmpfs: fix uninitialized return value in shmem_link
   f4cadb1ec900 selftests: fib_tests: sleep after changing carrier. again.
   7d856eb21fd5 net: set static variable an initial value in atl2_probe()
   193e19cdf7a0 bnxt_en: Wait longer for the firmware message response to complete.
   36ca3daa9b6a bnxt_en: Fix typo in firmware message timeout logic.
   aae48df6d81b nfp: bpf: fix ALU32 high bits clearance bug
   9fbe31fda762 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
   a58be12de08d net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
   76320607b755 net: thunderx: make CFG_DONE message to run through generic send-ack sequence
   6d0ebfc3fd3c bpf, lpm: fix lookup bug in map_delete_elem
   4e9c4ca54607 mac80211_hwsim: propagate genlmsg_reply return code
   ce8e30135705 phonet: fix building with clang
   92f628f3c945 ARCv2: don't assume core 0x54 has dual issue
   1faac2e0838b ARCv2: support manual regfile save on interrupts
   53fc181c111c ARC: uacces: remove lp_start, lp_end from clobber list
   515122c2d88a ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
   b1ba6184493e ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
   a7bc4915f286 tmpfs: fix link accounting when a tmpfile is linked in
   5beffa8382a9 mm: handle lru_add_drain_all for UP properly
   7bd326b49004 net: marvell: mvneta: fix DMA debug warning
   70e79b53dd95 arm64: Relax GIC version check during early boot
   e3ca5da971e0 ARM: dts: armada-xp: fix Armada XP boards NAND description
   2ac1b780dae0 qed: Fix iWARP syn packet mac address validation.
   9e1395d75177 qed: Fix iWARP buffer size provided for syn packet processing.
   5db253fa68bf ASoC: topology: free created components in tplg load error
   31983c568574 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
   98b9e4e542eb net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
   d19e6c11ca1f qmi_wwan: apply SET_DTR quirk to Sierra WP7607
   59e3fdbb9d45 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
   63c87ecf5134 net: dsa: bcm_sf2: Do not assume DSA master supports WoL
   a2e5d18914c1 net: systemport: Fix reception of BPDUs
   8d33e97da9c5 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
   1c976b2c9f19 keys: Fix dependency loop between construction record and auth key
   590d6228f163 assoc_array: Fix shortcut creation
   5aa6e4f891a2 af_key: unconditionally clone on broadcast
   8cae27e41068 bpf: fix lockdep false positive in stackmap
   c16b543d92ee bpf: only adjust gso_size on bytestream protocols
   908e6fda5d7d ARM: 8824/1: fix a migrating irq bug when hotplug cpu
   d6fb8e0d9e7d esp: Skip TX bytes accounting when sending from a request socket
   2dd0beec5a84 clk: sunxi: A31: Fix wrong AHB gate number
   48db12b60b5b kallsyms: Handle too long symbols in kallsyms.c
   882dbe3d5c03 clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
   1ab0225d6786 Input: st-keyscan - fix potential zalloc NULL dereference
   8a6ef92721b7 auxdisplay: ht16k33: fix potential user-after-free on module unload
   53f4d6948b35 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
   60bc9292260f i2c: cadence: Fix the hold bit setting
   e6e2c6c26a58 net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
   bf6be978fece mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
   7f72a70062d7 x86/CPU: Add Icelake model number
   4342d099969c net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
   6093401c933b scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
   09f4a1b6edf1 Revert "mm: use early_pfn_to_nid in page_ext_init"
   7b9dd6a4976b mm/gup: fix gup_pmd_range() for dax
   3cd584b00e50 NFS: Don't use page_file_mapping after removing the page
   7d8cf3eb1dc7 xprtrdma: Make sure Send CQ is allocated on an existing compvec
   5c64b19db5ce floppy: check_events callback should not return a negative number
   1cae395dd7c0 ipvs: fix dependency on nf_defrag_ipv6
   d05d4feda816 blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
   0af0889613a8 netfilter: compat: initialize all fields in xt_init
   f2883b8eb0a9 mac80211: Fix Tx aggregation session tear down with ITXQs
   665cb8ebf0f3 mac80211: call drv_ibss_join() on restart
   0a1d76449997 Input: matrix_keypad - use flush_delayed_work()
   375152e09de2 Input: ps2-gpio - flush TX work when closing port
   b15599627bd0 Input: cap11xx - switch to using set_brightness_blocking()
   a1e0fb446a4b ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
   7a587d77b211 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
   bf74076b7dd3 KVM: arm64: Forbid kprobing of the VHE world-switch code
   d74df61de605 arm/arm64: KVM: Don't panic on failure to properly reset system registers
   58d6ec80a286 arm/arm64: KVM: Allow a VCPU to fully reset itself
   c05c5a6e1f0e KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
   ba274486de32 ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
   a3d8ea1f2555 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
   237e6c308062 Input: pwm-vibra - stop regulator after disabling pwm, not before
   6a48d09a77a1 Input: pwm-vibra - prevent unbalanced regulator
   fcae9decbc8f s390/dasd: fix using offset into zero size array error
   f98a25dc02b7 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
   74b6b1e49d06 gpu: ipu-v3: Fix CSI offsets for imx53
   1c0723cba9a9 drm/imx: imx-ldb: add missing of_node_puts
   321e0fbdae09 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
   f0e52962b9f2 drm/imx: ignore plane updates on disabled crtcs
   38fc637ca52e crypto: rockchip - update new iv to device in multiple operations
   5d89757429b3 crypto: rockchip - fix scatterlist nents error
   2365ae3a03c9 crypto: ahash - fix another early termination in hash walk
   512b0d76c2c9 crypto: cfb - remove bogus memcpy() with src == dest
   66b1348939de crypto: cfb - add missing 'chunksize' property
   40c76d76e11f crypto: ccree - don't copy zero size ciphertext
   2ff9501c582f crypto: ccree - fix free of unallocated mlli buffer
   ba3c72efd404 crypto: caam - fixed handling of sg list
   5d9cee322faf crypto: ccree - fix missing break in switch statement
   e0ea8deb72db stm class: Fix an endless loop in channel allocation
   95b10e2f6a61 mei: bus: move hw module get/put to probe/release
   1af8d0304685 iio: adc: exynos-adc: Fix NULL pointer exception on unbind
   513052a27dab ASoC: codecs: pcm186x: Fix energysense SLEEP bit
   d5f37b5d7009 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
   da21c5d9bacf ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
   b3e4f70db4f3 9p/net: fix memory leak in p9_client_create
   4b84eeface08 9p: use inode->i_lock to protect i_size_write() under 32-bit
   4441736404a3 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
   3f7de80a22c6 perf/core: Fix impossible ring-buffer sizes warning

(From OE-Core rev: ed4cc3a801445e873eac92d7b686a2956e1355c2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
74e7a82bce linux-yocto-tiny/4.18: point KBRANCH to 4.18
The other kernel versions had the -tiny KBRANCH typo of 4.15
fixed, but 4.18 was missed. So we update the kbranch to the right
version for 4.18 as well.

[YOCTO #13247]

(From OE-Core rev: f3d3f320b846a56d52d8f5f073db5b37e6f3ba50)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
87769f2074 linux-yocto/5.0: update CGL audit configuration fragment
Integrating the follow config tweak:

    cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCH

    In the following commits, these two options have been replaced by
    CONFIG_AUDITSYSCALL which is in audit.cfg.

    c8fc5d49c341 ("audit: remove WATCH and TREE config options")
    cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled")

    Signed-off-by: He Zhe <zhe.he@windriver.com>

(From OE-Core rev: 2fff1900a580d592acc22dd095b226b3830c36ff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
2e8f05e41d linux-yocto-rt/4.19: fix duplicate TIF_NEED_RESCHED_LAZY
Integrating Kevin's patch that cleans up a build warning:

    x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY

    The two merge commits 107b161b1cbaf ("Merge branch 'v4.19/standard/base'
    into v4.19/standard/preempt-rt/base") and dc37b7080cd55 ("Merge tag
    'v4.19.8' into linux-4.19.y-rt") almost have the same content, but
    introduce two define of TIF_NEED_RESCHED_LAZY for x86 arch. Drop one of
    them to fix the build warning.

(From OE-Core rev: d8d339afd2f0e2873a1a782c05aaaa810fff72be)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-10 13:46:17 +01:00
Bruce Ashfield
b609cc4478 poky-tiny: set 5.0 as the preferred kernel
Updating poky-tiny to prefer 5.0 as the kernel version. Boot
tested against qemux86 and qemuarm. This removes the last user
of the 4.18 kernel, so we can queue it for removal from master.

(From meta-yocto rev: 2d44e7ab1a7f85092b5c20287663448b7d784f39)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 22:16:06 +01:00
Scott Rifenbark
59b832f360 overview-manual: Fixed broken link to pseudo.
Link has disappeared.  I am no longer using it and am using
the article to "Why Fakeroot" to cover both Fakeroot and
Pseudo "extra information" stuff.

(From yocto-docs rev: 679c6a48a8e4bcc51bb8e97f2ba80123bdba6a5c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 22:16:06 +01:00
Gianfranco Costamagna
f9d789820b kernel-dev, sdk-manual: Unified question spacing
unify the spacing for questions in various places
e.g. before the [Y/n] there should be a space, and before
"?" there should be none. Unify the questions where the
system expect an answer from the end user

(From yocto-docs rev: 0643b2e22273a798b96f126931885efd733e5f89)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 22:16:06 +01:00
Scott Rifenbark
5555841e5e ref-manual: Updated BB_GENERATE_MIRROR_TARBALLS
Updated the description to tell the user they can safely
clean up the DL_DIR after creating tarballs of the source
files from downloaded repos.

(From yocto-docs rev: 6aff69632ea3102b6389ea510e1e3fa5bf1c2123)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 22:16:06 +01:00
Richard Purdie
3c67567ece oeqa/utils/qemurunner: Fix typo in previous commit
(From OE-Core rev: e2b4b0580cd719cf9d48576aa7d0b88e4a286921)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 16:04:09 +01:00
Andre Rosa
27cbc8c5f0 bitbake: utils: Make prune_suffix prune a suffix
Make prune_suffix prune a suffix instead of replacing a substring that could
happen more than once and not only when it ends with it.

(Bitbake rev: 57e765e38c6382a9b36d5ee2a6f3fa96ac905b82)

Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:45:15 +01:00
Richard Purdie
65b37734c7 ptest-runner: Add several logging fixes
This change adds three patches to improve the handling of stdout/stderr and child
processes to try and improve logging reliability in ptest-runner.

(From OE-Core rev: 1c0fffc401cdb581a93d16d225f53c83359ff209)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Richard Purdie
57933bd958 openssh/util-linux/python*: Ensure ptest output is unbuffered
We need to run sed with the -u option to ensure the output is unbuffered else
ptest-runner may timeout thinkig things were idle. Busybox doesn't have the -u
option so we need to RDEPEND on sed (which is a good thing to do if we use it
anyway).

Alex Kanavin should get credit for discovering the problem.

(From OE-Core rev: d3ffbebf43c23faa43af81c9ecf6fcaef36d675b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Alexey Brodkin
94123bd09b busybox: Enable domain search list support
This option is enabled by default in Busybox and becomes
useful in networks with internal resources becasue allows
to use much shorter names.

E.g. instead of "server.internal.company.com" it's possible
to use just "server" if DHCP server is configured with:
---------------------------->8-----------------------
option domain-search "internal.company.com";
---------------------------->8-----------------------

(From OE-Core rev: 06a726141ef24bea2d17d2adfcb870e9cccacb74)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Andreas Müller
b54bff841b patch/insane: Rework patch fuzz handling
Currently there are three issues which can be enhanced:

1. Fuzz warnings cannot be configured as errors for hardening. It happened
   often to me that these warnings were overseen and detected after commits
   were already out.
2. The output is too verbose - particularly when more than one file is
   affected. Meanwhile all users should know why patch fuzz check is performed.
   So move links with background information to insane.bbclass.
3. Reduce copy & paste effort slightly by printing PN (nit: <recipe> was not
   a correct suggestion e.g for native extended recipe - see example below)

To achieve patch.py drops patch-fuzz info encapsulated by a header- and footer-
string into log.do_patch. With this insane.bbclass can drop warnings/errors
depending on 'patch-fuzz' in ERROR_QA or WARN_QA. Default remains unchanged:
Spit out warnings only.

A message for two fuzzed patches and 'pact-fuzz' in ERROR_QA now looks like:

| ERROR: autoconf-native-2.69-r11 do_patch: Fuzz detected:
|
| Applying patch autoreconf-exclude.patch
| patching file bin/autoreconf.in
| Hunk #1 succeeded at 73 with fuzz 1 (offset -3 lines).
| Hunk #2 succeeded at 143 (offset 6 lines).
| Hunk #3 succeeded at 167 (offset 6 lines).
| Hunk #4 succeeded at 177 (offset 6 lines).
| Hunk #5 succeeded at 281 (offset 15 lines).
| Hunk #6 succeeded at 399 (offset 15 lines).
| Hunk #7 succeeded at 571 (offset 20 lines).
| Hunk #8 succeeded at 612 (offset 20 lines).
| Hunk #9 succeeded at 636 (offset 20 lines).
| Hunk #10 succeeded at 656 (offset 20 lines).
| Hunk #11 succeeded at 683 (offset 20 lines).
|
| Applying patch autoreconf-gnuconfigize.patch
| patching file bin/autoreconf.in
| Hunk #1 succeeded at 55 with fuzz 1 (offset -3 lines).
| Hunk #3 succeeded at 663 (offset 18 lines).
|
| The context lines in the patches can be updated with devtool:
|
|     devtool modify autoconf-native
|     devtool finish --force-patch-refresh autoconf-native <layer_path>
|
| Don't forget to review changes done by devtool!
|
| ERROR: autoconf-native-2.69-r11 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz]

(From OE-Core rev: c762c0be43a3854a43cb4b9db559b03126d50706)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Andre Rosa
0dd6823875 lib/oe/utils: Make prune_suffix prune a suffix
... instead of replacing a substring that could happen more than once and not only when it ends with it. Do the same for the prefix.

See related https://github.com/openembedded/bitbake/pull/24 . There it stops replacing sufixes once first one is matched but not here.

(From OE-Core rev: 610ac84170f8a91cc3321edfc336a9e39f24ebe3)

Signed-off-by: Andre Rosa <andre.rosa@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Randy MacLeod
5897756f71 autoconf: update runtime perl module dependencies
Running:
   # autoreconf -if
on target for prelink-cross was failing due to missing perl modules:
   Can't locate File/Spec.pm in @INC ...

Add the required perl modules and duplicate them for the SDK.

(From OE-Core rev: 52657215bcffc022821395950cf3236250370223)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Ross Burton
bf7bd734d0 sanity: clarify error message if TMPDIR moves
If TMPDIR is moved the error message says "move it back or rebuild" but the
obvious rebuild method of running 'bitbake [recipe]] -cclean' fails with the
same error.

Make it clear what we mean by adding "delete and".

(From OE-Core rev: 36805a628f8208ff6d7fba9955c5fb1ed6396395)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Ovidiu Panait
327513ee83 ghostscript: Fix 3 CVEs
It was discovered that the ghostscript /invalidaccess checks fail under
certain conditions. An attacker could possibly exploit this to bypass
the -dSAFER protection and, for example, execute arbitrary shell commands
via a specially crafted PostScript document.

It was found that the superexec operator was available in the internal
dictionary in ghostscript before 9.27. A specially crafted PostScript
file could use this flaw in order to, for example, have access to the
file system outside of the constrains imposed by -dSAFER.

It was found that the forceput operator could be extracted from the
DefineResource method in ghostscript before 9.27. A specially crafted
PostScript file could use this flaw in order to, for example, have
access to the file system outside of the constrains imposed by -dSAFER.

References:
https://nvd.nist.gov/vuln/detail/CVE-2019-6116
https://www.openwall.com/lists/oss-security/2019/01/23/5
https://nvd.nist.gov/vuln/detail/CVE-2019-3835
https://nvd.nist.gov/vuln/detail/CVE-2019-3838

Upstream patches:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=13b0a36
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2db98f9
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=99f1309
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=59d8f4d
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2768d1a
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=49c8092
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2ff600a
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=779664d
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e8acf6d
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=2055917
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d683d1e
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ed9fcd9
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=a82601e

(From OE-Core rev: 12e140dfdac8456772223c816e37bd869419bb18)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Ovidiu Panait
a1fb2c59e8 xf86-video-vesa: Refuse to run on UEFI machines
Fix the following Xorg start failure on UEFI machines when using xf86-video-vesa
driver (e.g. in qemu, when anaconda tries to start X):
Xorg -br -logfile /tmp/X.log :1 vt7 -s 1440 -ac -nolisten tcp -dpi 96 -noreset
...
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
...

Upstream patch:
https://cgit.freedesktop.org/xorg/driver/xf86-video-vesa/commit/?id=2645e0aa9c17c2c966a0533e52ad00510311483e

(From OE-Core rev: 25edd39d752876a2894ddbbe396c3b037519f9f1)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Khem Raj
e605e2d048 libgcc: Create linux-musleabihf and linux-gnueabihf symlinks
When we have hard-float ABI enabled, certain tools e.g. llvm/clang
expects the hf version of tuples for crt files from libgcc, therefore
create a symlink to help the cause.

This makes clang work with hard-float defaults on target

(From OE-Core rev: f58cf0d0ff05636a70330c54f7e537f9480674c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Nathan Rossi
89c4424d6d devtool: standard: Handle exporting generated config fragments
The cml1 and ccmake bbclasses generate configuration fragment source
files that must be exported from the WORKDIR as a source file to be
preserved across builds. This change adds detection of the current
recipes inherited classes and for cml1 and ccmake classes checks for the
specific generated configuration fragment files. These files are then
exported by devtool and included as SRC_URI files from within the target
layer.

(From OE-Core rev: 7a1fabe4a24552ce8a50c8d6009969ca52a5fd27)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Nathan Rossi
9e685e2591 ccmake.bbclass: Create a cml1 style class for the CMake curses UI
The ccmake bbclass implements two tasks. The first task 'ccmake'
preserves the configured state of CMakeCache.txt (generated from the
configure task) and invokes the 'ccmake' program within a oe_terminal
execution. The user can then review, select and modify configuration
options and once satisfied with the configuration exit ccmake. Once
ccmake has exited the build can be run and the updated configuration
should be reflected in the output build.

The ccmake bbclass has a second task 'ccmake_diffconfig' to compute the
differences in configuration which was modified by ccmake. Since there
are many ways to persist the configuration changes within recipes and
layer configuration, the differences are emitted as a bitbake recipe
fragment (configuration.inc) using EXTRA_OECMAKE as well as a CMake
script file which can be used as a input to cmake via the '-C' argument.
Both files are generated in the WORKDIR of the build and the paths to
the files are written as output from the build. It is then up to the
user to take this configuration and apply it to the desired location.

(From OE-Core rev: 091c46a8ecba6b6b7c44078ae2b567a2ef6e72e9)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Nathan Rossi
5da6073d47 cmake-native: Enable ccmake by default and depend on ncurses
Enable the building of the curses based ui for cmake. This depends on
ncurses.

(From OE-Core rev: a8397def4eebacb8876d021129309a6903b71b2f)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-09 13:44:39 +01:00
Ross Burton
8217b477a1 gtk+: update for new catalog path
The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog.

(From OE-Core rev: d7c0e9d1800912a0f35fb554d54945b728a04a6f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
d541a30726 xmlto: clean up RDEPENDS
Because of differences in how RDEPENDS works for native/target, add libxml2 and
libxslt to RDEPENDS (so that native dependencies work), but also add
libxml2-utils (for xmllint) and libxslt-bin (for xsltproc) to target RDEPENDS.

Also add libxml2-native to DEPENDS as that is needed for the
docbook-(xml,xsl)-native catalog to be generated.

(From OE-Core rev: b571315acb59f61335c20849d2ce7f5059258c1a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
6422a7f8ed xmlto: remove XML catalog
Now that docbook-xml and docbook-xsl use the xmlcatalog class, xmlto can stop
shipping a hand-coded catalogue.

It still needs to keep the wrapper so that the sysroot catalog is used instead
of /etc/xml/catalog.  The wrapper is native-specific so mark it as such.

Note that this does effectively break xmlto on the target as the xmlcatalog
class doesn't write a catalog for the target yet, but I'm hoping that nobody
actually uses it on target.

(From OE-Core rev: b12686ecdd0b0bdb36c8d1a2baeeb66aadff1b8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
a4ac9ce7de asciidoc: use correct XML catalog path
Now that docbook-xml and docbook-xsl are writing catalog files, tell
xmllint/xsltproc where the catalog is.

(From OE-Core rev: e60ec1dc23df918a7ec2e4572233ee12e73f4aff)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
d79ab95065 libxslt: update for new catalog path
The XML catalogue is now at the canonical path, ${sysconfdir}/xml/catalog.

(From OE-Core rev: 2c91c3ef14269b7b329b3008e5b3a8e65ea4f494)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
95f6ab495b docbook-xsl: use xmlcatalog
There is no need to ship a static catalog that we have to patch, as upstream
comes with a catalog fragment.

Use the xmlcatalog class to register this catalog.

(From OE-Core rev: c4638117142b4e516755161bf35b29c82f41cfc7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
2d69e3434a docbook-xsl: neaten documentation
Tidy up the install task and don't version the directory under ${docdir}.

(From OE-Core rev: 4bf256602add685f86058aced1b8ebe0d1413b5d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
4c8058862d docbook-xml: use xmlcatalog class
Instead of shipping a static catalog and patching it for native builds, use
libxml2-native to generate a catalog with the correct paths.

Use the xmlcatalog class to register this catalog automatically.

(From OE-Core rev: 62a264df8806c48bfd8e96bec6faf6675b873e35)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Ross Burton
ec43872af5 xmlcatalog: new class to update the XML catalogue
This is a new class to handle recipes that need to add/remove entries in the XML
Catalog(ue)[1].  In the future it will handle updating the catalogue on the
target, but the immediate requirement is during the build so currently this only
works with native recipes.

Note that as this is a new class and target use hasn't been implemented yet, it
is possible that the behaviour of this class will change.

[1] https://en.wikipedia.org/wiki/XML_catalog

(From OE-Core rev: 28c58cff76b24cea2745352c6557a81c04d85138)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Jonathan Rajotte
2958dbfcc1 lttng-tools: lttng-tools works fine on musl no need to remove it
(From OE-Core rev: e0dbe1abaaa4a5058979ba7753262a58e2ead14b)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Jonathan Rajotte
efbc68e1a4 lttng-ust: lttng-ust works fine on musl no need to remove it
(From OE-Core rev: 1eaf5f374dc1e9e5be83ecb4f31b86acea850486)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Jonathan Rajotte
9c01b82269 lttng-ust: backport musl workaround
musl implementation for _SC_NPROCESSORS_CONF is a bit fishy.

[1] https://www.openwall.com/lists/musl/2019/03/15/5

Anyway, we implemented a fallback.

This patch should be gone by next recipe update.

(From OE-Core rev: 5feddda9ac7ea72eac3d5a83251fa023b67aebce)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Jonathan Rajotte
8e9a0fe61f lttng-tools: improve ptest and test suite
Multiple patches are to be applied to improve the current ptest suite.

0001-Fix-tests-link-libpause_consumer-on-liblttng-ctl.patch
0002-Fix-test-skip-test_getcpu_override-on-single-thread-.patch
0003-Fix-test-unit-the-tree-origin-can-be-a-symlink-itsel.patch
0006-Tests-check-for-lttng-modules-presence.patch

All deal with problem in the test suite. Most of these are already
accepted upstream and will be removed on the next recipe update.

0004-Skip-when-testapp-is-not-present.patch

Is a OE specific fix that make sure that we skip the test if
the test util application (event generator) is not present. We are
still unsure on how (upstream) we are going to solve this problem. We
already have this problem if a user build lttng without lttng-ust
(--without-lttng-ust). We will most probably end up splitting each test
into kernel and userspace tests and adjust the makefile accordingly.
Another option is to probe lttng for enabled function at runtime.

0005-Tests-use-modprobe-to-test-for-the-presence-of-lttng.patch

Is a requirement for 0006 that should be accepted upstream shorlty.

0007-Fix-getgrnam-is-not-MT-Safe-use-getgrnam_r.patch

Fixes a race found while testing OE built with musl. This is a legit
bug. The fixes or a variant should be accepted soon.

(From OE-Core rev: 57db7be54b9ee21b2be33b83782f0636d0702168)

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Richard Purdie
bb1940a0d6 base/pixbufcache: Remove obsolete sstatecompletions code
This has been unused in OE-Core since the introduction of recipe specific
sysroots. Its not so useful since it only runs once upon sstate installation,
not per installation per sysroot.

Remove the weird looking comment left behind in pixbufcache too.

(From OE-Core rev: 2af49716504f65be0cb01f609ea9bfa334926589)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-05 17:32:50 +01:00
Yeoh Ee Peng
996d1f4518 resulttool/manualexecution: Refactor and simplify codebase
Simplify and removed unnecessary codes.
Refactor to allow pythonic loop.

(From OE-Core rev: 84c6a992e1114685194f6e8a554bce7753c090cc)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Yeoh Ee Peng
f1e470d8fa resulttool/manualexecution: Fixed step sorted by integer
Currently the manual execution display step by sorting
the step as string, where steps were not being sorted
correctly when there are more than 9 steps.

Fixed the step sorting by sorting step as integer.

(From OE-Core rev: 192c255d9f597b3526a5b94fcf3eedc4527189ed)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Yeoh Ee Peng
6401dfb6fa resulttool/manualexecution: Enable display full steps without press enter
Current manualexecution required pressing enter button to show each step
information, where this was wasting execution time. Enable display
full steps without needing to any press enter button.

(From OE-Core rev: e44c9a018c13208fef0dcef4479ce71977628cd4)

Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Yeoh Ee Peng
8262db1c27 resulttool/manualexecution: Standardize input check
Current input checking does not match the standard input practiced
by QA team. Change the input checking to match the standard
input practiced by the QA team.

(From OE-Core rev: 630a93c740359a65249a198f314f15040042f8d3)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Ross Burton
f3215da040 libsecret: remove intltool DEPENDS
libsecret 0.18.7 removed intltool and now uses pure gettext.

(From OE-Core rev: 5b8b1a27dff07c616eb62522c5a2ea15ebca3d1b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Enrico Scholz via Openembedded-core
1891a852b2 utils.py: added sh_quote() function
This function is a wrapper around "shlex.quote()" and can be used in
"${@...}" context where shlex (or pipes, which provides similar
functionality) is unavailable.

(From OE-Core rev: 127141f5023a7e3fc3963dc7d76cfce9067a9e8a)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Richard Purdie
aa3cc01734 core-image-sato-sdk-ptest: Fix free space issues causing test failures
Some tests such as strace-ptest require more than the current 500MB of free
space. Increase the amount available, staying under the 4GB limit. We have more
flexibility now since we shrank kernel-devsrc and the comments are out of date
due to that.

This should improve the strace-ptest results and the util-linux ones since
those sort after strace and also hit the space issues as strace-ptest didn't
clean up after itself when failing.

(From OE-Core rev: 5c1b2459e2d5651b02bdfdf6cb93b7f9ce32df0a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Richard Purdie
00faa62c4c resulttool: Allow extraction of ptest data
Rather than simply discarding the ptest data, change the code to discard
it when writing out the new testresult files, or optionally either preserve
it, or write it as seperate discrete logs.

This means the autobuilder should start writing out individual ptest log
files as well as allowing ueers to extract these manually.

(From OE-Core rev: a1e0944bf260ef50dd7dfcb10db248fdd7f45bc9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Richard Purdie
803d404bdf resulttool: Allow store to work on single files
Store operations using a single file as a source weren't working as the os.walk
command didn't like being given a single file. Fix the store operation to
work for single files.

(From OE-Core rev: eb5bbe613d8c7cbcd8b74d8ac0073c2217970410)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Pascal Bach
b04fae7a92 cmake: 3.14.0 -> 3.14.1
The FindFontconfig module added by 3.14.0 accidentally used uppercase
FONTCONFIG_* variable names that do not match our conventions.
3.14.1 revises the module to use Fontconfig_* variable names.
This is incompatible with 3.14.0 but since the module is new in the
3.14 series usage should not yet be widespread.

(From OE-Core rev: 6c85363eea0278a6952e80edb549e80e1fcbdba7)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Gianfranco Costamagna
b495e757da toolchain-shar-extract/init-install-efi-testfs: Unify question spaces
unify the spacing for questions in various places e.g. before the [Y/n]
there should be a space, and before "?" there should be none. Unify the
questions where the system expect an answer from the end user.

(From OE-Core rev: 7a3f128b19e55b751e81bc676e5946544b0c8735)

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-04 22:57:32 +01:00
Ross Burton
ffa5a1bda6 asciidoc: specify XML catalogue to use
libxml-native by default uses a XML catalogue at /etc/xml/catalog, instead of
the one in the sysroot.  Until this is fixed (#13260) override the XML catalogue
manually in the recipe to point explicitly at the docbook-xml and docbook-xsl
catalogues.

This fixes either complete build failures (where the host doesn't have
docbook-xml installed) or slow builds (where the host doesn't have docbook-xsl
installed).

(From OE-Core rev: efb6168e41797ad6ed00ede6f3d9141b90eff4b5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:56:27 +01:00
Kevin Hao
ac01686d91 meta-yocto-bsp: beaglebone: Enable the serial console for the WIC image
(From meta-yocto rev: 476f2fd598c12bfee7d2aeddbe72a360826f249c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:35 +01:00
Kevin Hao
ab05f409be meta-yocto-bsp: Bump to the latest stable kernel for all the BSPs
Boot test for all these boards.

(From meta-yocto rev: 135958cd17531fd5eeb5e1eff3e673c435def1b2)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:35 +01:00
Richard Purdie
9048733811 wic/engine: Add missing newline
On some hosts the wic.Wic2.test_wic_cp_ext selftest was failing as files weren't
being copied into the rootfs with "wic cp". This was due to a bug added by:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=89d4a8df074598cfb3a76e41db7c45d845afd961

where there should be a second newline added at the end of the expression due
to the difference in the way echo -e and printf behave.

[YOCTO #13237]

(From OE-Core rev: 2f3adb21cc5067458a12964d0bde235966a20a60)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:14 +01:00
Peter Kjellerstedt
29edc44efa arch-arm64.inc: Lower the priority of aarch64 in MACHINEOVERRIDES
This makes sure, e.g., ${SOC_FAMILY} and ${MACHINE} have higher
priorities than aarch64.

(From OE-Core rev: 4d1339af88543d85930139dbcb87a669f285ea66)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
William A. Kennington III via Openembedded-core
3686f7953f perl: Don't use TARGET_ARCH in filepaths
Platforms like powerpc64le have different variants of the same target.
Perl guesses that the target should be called powerpc64le-linux, while
TARGET_ARCH think it is called ppc64le-linux. If we use TARGET_ARCH
for perl-native on powerpc64le this build will fail since the
post-install rm command won't reference and existing file.

We know that there is only one arch existing per build, so use a
wildcard for finding the path instead of trying to guess the correct
architecture name.

(From OE-Core rev: 6eadd9f5ac2887311ae9ed133b389ae4d64a8181)

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Peter Kjellerstedt
42ea15a21b arch-armv8a.inc: Correct PACKAGE_EXTRA_ARCHS_tune-armv8a-*
The armv8a tune specific PACKAGE_EXTRA_ARCHS contained tune feature
names like "crc" and "crypto" rather than package architecture names
like "armv8a-crc" and "armv8a-crypto".

(From OE-Core rev: 1756f2354745ee709886683422887efed4e10dba)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Changqing Li
8af4c074fa llvm: fix link error for powerpc
fix below link error for powerpc

lib/libLLVMSupport.a(CommandLine.cpp.o): in function `llvm:🆑:opt_storage<(anonymous namespace):
:HelpPrinterWrapper, true, true>::setLocation(llvm:🆑:Option&, (anonymous namespace)::HelpPrinterWrapper&) [clone .isra.189]':
/usr/src/debug/llvm/8.0-r0/git/llvm/include/llvm/Support/CommandLine.h:1218:(.text.startup+0x5c):
relocation truncated to fit: R_PPC_PLTREL24 against symbol `llvm::errs()' defined in .text section in lib/libLLVMSupport.a(raw_ostream.cpp.o)+8000
lib/libLLVMSupport.a(CommandLine.cpp.o): in function `setLocation':

(From OE-Core rev: 5302047be6bcdae85a43f9b09778a91dcd03b191)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Yeoh Ee Peng
98234dd6c6 resulttool: Enable report for single result file
Current validation check function inside resulttool disallow the
report for single result file although the underlying library
was able to handle both directory and file as source input to report.
Removed the validation check as it was no longer needed and to
enable report for single result file.

(From OE-Core rev: a85a8febf04d763dd5b3d20487d528731105afab)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Nathan Rossi
35bd1759d5 cml1.bbclass: Use POSIX sh instead of var-SHELL
Use the default POSIX sh instead of relying of var-SHELL being set to a
compatible shell. Such that in cases where SHELL is set to a
incompatible shell (e.g. csh, zsh, fish, etc.) the terminal command does
not just silently fail.

(From OE-Core rev: 50d3ec1ac994fb5968d8edf82823a7e3d1d67d21)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Nathan Rossi
20ebaff9ee terminal.bbclass: Generate do_terminal as bitbake would
This changes the runfile that is generated to have the same behaviour as
bitbake with regards to emitting the shebang and trap code. The existing
implementation used 'env' with the current var-SHELL. This means that if
the user has configured there system/environment with a alternate shell
(e.g. csh, zsh, fish, etc.) the do_terminal function would attempt to
execute with the wrong/incompatible shell and fail silently.

With this change devshell and other classes that rely on terminal can
now run when the var-SHELL is not set to a sh compatible shell. For
devshell, it will launch the devshell with the users configured shell.

(From OE-Core rev: 53724281eb486847bc3be824aa4513a8688ec296)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Kai Kang
8491b09e4e webkitgtk: 2.22.6 -> 2.22.7
webkitgtk 2.22.7 is a bug fix release in the stable 2.22 series.

* Fix rendering of glyphs in Hebrew (and possibly other languages) when
  Unicode NFC normalization is used.
* Fix several crashes and race conditions.

See https://www.webkitgtk.org/2019/03/01/webkitgtk2.22.7-released.html

(From OE-Core rev: 0ee8d4d58b2d755615ae4f7c3783b72d5aabaa63)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Kai Kang
be07743960 avahi: fix CVE-2017-6519
Backport patch to fix CVE-2017-6519.

CVE: CVE-2017-6519

(From OE-Core rev: 979e3f4ac1e12228d368315169a32d5ab0209e91)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Peter Kjellerstedt
6334737a78 base.bbclass, staging.bbclass: Move prepare_recipe_sysroot task dependency
Move prepare_recipe_sysroot's task dependency on populate_sysroot from
base.bbclass (where it was specified in the middle of do_configure's
definition) to staging.bbclass (where the rest of
do_prepare_recipe_sysroot is defined). This was a left-over from when
recipe specific sysroots were introduced in commit 809746f5 and the
task dependency on populate_sysroot was moved from do_configure to
do_prepare_recipe_sysroot.

(From OE-Core rev: fe6d020dd609fbde7e4413cef9bbdd4e3962c82c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Paul Barker
b53a83c2a3 tzdata: Install everything by default
tzdata is converted to an empty meta package which pulls in all
subpackages. The subpackages are defined in a TZ_PACKAGES variable so
that we don't have to repeat ourselves.

The timezones and conffiles which were in the tzdata package are moved
to a new 'tzdata-core' package.

(From OE-Core rev: 2af4d6eb2526d60b26bc5128068541ff3350fb58)

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-03 14:50:13 +01:00
Richard Purdie
a397fd17e4 layer.conf: Update to warrior release name series
(From meta-yocto rev: 85ed7ed9d3b34562b1df30e67aa0698facdb0dd5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:50 +01:00
Richard Purdie
22a02542b1 layer.conf: Update to warrior release name series
(From OE-Core rev: 13e45fffb66c7cb7ba0d07bed063c0c5ce57004b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Matt Porter
24fbb31bc7 busybox: fix CONFIG_RFKILL enable logic
Currently CONFIG_RFKILL is enabled only if both bluetooth *and* wifi
distro features are present. It should be enabled when either feature
is present. Fix this by switching to use of bb.utils.contains_any().

(From OE-Core rev: 5e6d7760c599b09b9417aa8d044084f4c5123762)

Signed-off-by: Matt Porter <mporter@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Ross Burton
9dec37ceef python: improve ptest
Add missing runtime dependencies: the test suite needs proper chmod from
coreutils, and the Europe/Minsk timezone.

Also change run-ptest to use -W (run verbosely on failure) instead of -v (always
verbose) to hopefully reduce the noise in the ptest reports.

(From OE-Core rev: 7574f6850797fb7556d2f8077860b7c1d26ae8ec)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Henrik Nymann Jensen (HNJE)
e3b22f3849 kernel-devsrc: fix /usr/src/kernel symlink to also work for SDK
If kernel-devsrc is used in a SDK context, the symlink from usr/src/kernel
points to an absolute path '/lib/modules/${KERNEL_VERSION}/build',
which ends up pointing to the local machine's build directory.

To address this issue change the symlink to be realtive to
${D}/lib/modules/${KERNEL_VERSION}/build.

(From OE-Core rev: 95bc738e7f10d492f5db33fc581e9796e52a9d3f)

Signed-off-by: Henrik Nymann Jensen <hnje@triax.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Ross Burton
a4031efc0a libsolv: use GNUInstallDirs
Backport a patch from upstream to use GNUInstallDirs instead of hand-coded path
logic, so we have proper control over where files end up.

(From OE-Core rev: 7c7d8ce6fe54e239374a6a04c007b4aa0712ba33)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Ross Burton
2ad84e1296 adwaita-icon-theme: depend on librsvg
adwaita-icon-theme uses gtk-encode-symbolic-svg to generate icons, so DEPEND on
librsvg-native (and gtk+3-native, via gtk-icon-cache.bbclass) so that this tool
exists and can load SVG files.

(From OE-Core rev: f109bb56f48103a7a2b9f77af72e860c6e994b2b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Ross Burton
c055a0efe8 Revert "gtk+3: add librsvg to DEPENDS"
This was added so that adwaita-icon-theme can find the SVG loader for icon
generation, but the fix is in the wrong place.  GTK+ does not depend on librsvg
at all, the tool in GTK+ which loads the icons uses gdk-pixbuf which uses
loadable modules.

This reverts commit 66828ff04d.

(From OE-Core rev: 57c112338068b6e8582480b50b025590fef51052)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-02 15:24:11 +01:00
Jon Mason
23492fb43f meta-yocto-bsp: clean up machine config files
Beautify the machine config files by making the names and descriptions
more uniform and verbose

(From meta-yocto rev: 159a8c9080af125c657558b4789f4aa8410e4fa2)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:58:45 +01:00
Mark Hatle
2030e815bb bitbake: gitsm: Add need_update method to determine when we are going to a new SRCREV
If the system had previously fetched a source repository for use by gitsm,
and then the SRCREV was updated and the new commit already existed, the system
would not re-evaluate the submodules and update them accordingly.

The cause of this issue was that need_update was being used, unmodified, from
the base git fetcher.  It did not have any knowledge, nor did it care if we
were moving commits and needed to re-evaluate what was happening due to this
switch.

To fix the issue, during the download process we add all processed (by
gitsm) srcrevs to the git config file, as bitbake.srcrev.  This allows us to
use a new need_update function that not only checks if the git commit is
present, but if we have previously processed this commit to ensure all of the
submodule components are also present.

This approach is used, instead of iterating over the submodules in need_update
to avoid a potential race condition that has affected us in the past.  The
need_update is called only with the parent locking.  Any time we need to dive
into the submodules, we need to lock, and unlock them, at each stage.  This
opens the possibility of errors in either the code, or unintended race
conditions with rm_work.

This issue was discovered by William A. Kennington III <wak@google.com>.  The
included test case was also written by him, and included unmodified.

(Bitbake rev: 30fe86d22c239afa75168cc5eb262b880886ef8a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Ross Burton
24fa03eae6 packagegroup-core-base-utils: remove lzip
lzip is pretty niche: people are typically either sticking with that they know
(gzip, bzip) or using xz.  Data point: only one recipe in oe-core is shipped as
a .lz file.

(From OE-Core rev: 80b0ac3bdbaee50d0023b7c869dd204485903dfe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Alexander Kanavin
259e9a11e1 llvm: fix more places where '8.0' version of llvm was hardcoded
So that it says '8.0.0' to reflect the recent PV change.

(From OE-Core rev: 3b4049157a72bcd984f93405a75946a39c045f2d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Ross Burton
d587e20be5 binutils: set CVE_VERSION
PV is 2.32.0 even though the actual release upstream is 2.32.  To a human this
is insignificant, but to automated tooling it matters.  Specifically,
cve-check-tool can't identify CVEs that are in 2.32.

Set CVE_VERSION for now, which should be removed when PV and the upstream
version match again.

(From OE-Core rev: 487c8356c22deb29867baf3da74f6d86502d5b3b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Chen Qi
885d06d043 nasm: add CVE_PRODUCT
(From OE-Core rev: e61c42ee49029ae8ffec58128dd083031305d9e5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Chen Qi
62c9d64109 xserver-xorg: set CVE_PRODUCT
(From OE-Core rev: 8995f2c7d6f2f6f760811976af77e949d505a5d8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Ross Burton
f7db0478d2 sqlite3: fix CVE-2019-9936 and CVE-2019-9937
(From OE-Core rev: 4ec161ea684b305b303f32e96ce23f472c82e1a1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Jon Mason
bf9ad70bda machine: clean up config files
Beautify the machine config files by making the names and descriptions
more uniform and verbose

(From OE-Core rev: 1108a24e2c58794163c8cf35154f8be5c1d06c29)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Ross Burton
9180d35e2a llvm: support older toolchains
LLVM is now warning if your host compiler is gcc <5.1, and some of our supported
operating systems still only have 4.8.5.  Set
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN so those builds continue to work, hopefully
we retire the old operating systems before LLVM requires 5.1+.

(From OE-Core rev: 0e7d761b1360f603a4cc0de15c67f4e182e5a6a4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Alexander Kanavin
afd069f6b4 llvm: update from 8.0.0rc2 to 8.0.0 final release
Also, update PV to match the version scheme used by upstream
to tag releases (e.g. major.minor.patch).

(From OE-Core rev: 4405a1793a42aecd7923ab2b18df296ed8c32dc1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-01 14:48:44 +01:00
Alexander Kanavin
3bc700a12d mesa: update 19.0.0 -> 19.0.1
x.0.0 releases are actually considered 'development' by the upstream,
and true releases are x.0.1:

https://www.mesa3d.org/relnotes/19.0.0.html

(From OE-Core rev: ceb6a4373dd68cc65dd3d2d73cf632bc34dfbeb0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Ricardo Salveti
95a3163680 gcc-8.3: add back GLIBC_DYNAMIC_LINKER riscv changes
The riscv GLIBC_DYNAMIC_LINKER changes were dropped during the gcc 8.3
update, breaking usrmerge support.

(From OE-Core rev: 299ec755de5d568f284d98c77863da4636e3fd05)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Pascal Bach
c545daa7cb cmake: 3.13.4 -> 3.14.0
The copyright date changed in the license file, thus the hash change.

CMake 3.14 fixes some issues with implicit include path that lead to
errors with gcc not finding "stdlib.h" etc in include_next.

(From OE-Core rev: ec2764aa4957b802ed2612dd7633aed5b941bfb0)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Chen Qi
db4731b931 openssl: follow OE's rule for specifying CVE ID
(From OE-Core rev: 7e29e7cb13ed13a7049328cd2169cd515b630fc3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Chen Qi
14193f5860 libarchive: fix up CVE IDs in patches
(From OE-Core rev: cf7473fae0f339286221f8e2b54d5c38ea41e6e2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Ross Burton
a4208d9e2a asciidoc: use Python 3 port
There's a sort-of-official port of asciidoc to Python 3.  Whilst the official
replacement is asciidoctor which is rewritten in Ruby, this is a fairly trivial
swap and removes Python 2 from core-image-sato builds entirely.

Moving forward we should evaluate asciidoctor, but that can wait.

Change the RDEPENDS so that python3 is only a dependency for target and
nativesdk builds, for native this can use the host python3.

Remove redundant DESTDIR export that isn't needed.

(From OE-Core rev: 266a13139ea45e28deb167f077917f04c3bdb7e6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Ross Burton
3d05a87df7 libexif: fix CVE-2016-6328 and CVE-2018-20030
(From OE-Core rev: 037b544431076b94e85281c7deb527a44a600f5a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Vincent Prince
74542f20f2 target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure
(From OE-Core rev: 9bcfb1061c80fe51e47e102d6ad4c0d96392b90e)

Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Vincent Prince
dd8c80b235 systemd: Add pattern matching support to PACKAGECONFIG
libpcre2 is needed to enable grep option to journalctl.

(From OE-Core rev: 623946c9b56d4a253e0e82936ec86595edc1da1b)

Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Ross Burton
59fada98b9 llvm: don't inherit perlnative
This doesn't appear to be required at all.

(From OE-Core rev: d8269db061c471d230dfd27e158f1aa5ce188e5a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Ross Burton
594ac9ddff llvm: doesn't actually need pythonnative
LLVM doesn't actually need pythonnative, the host Python2 is sufficient but
cmake's executable searching currently isn't reliable in cross-compilations.

Convince cmake by setting PYTHON_EXECUTABLE to point at python2 in the HOSTTOOLS
directory.  Note that currently LLVM *needs* python2 currently:

https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L670

(From OE-Core rev: 1587475e45edc995b7643844594abc94160a5549)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
149fd646fa sysprof: drop obsolete no-update reason
(From OE-Core rev: f21aaefb6f082768d4bc5c55fc59a9142cfcc2d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
40fe254a3e binutils: fix upstream version check
(From OE-Core rev: 326b6a22c85e7b932c7196fca5350a55e21f46f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
ad62b8b420 sysklogd: switch SRC_URI to the new, maintained location
The previous SRC_URI seems to be gone, and sysklogd hasn't received
any updates there for a long time.

The new location says:

Origin & References

This is the continuation of the original sysklogd by Martin Schulze.
Now maintained by Joachim Nilsson. Please file bug reports, or send
pull requests for bug fixes and proposed extensions at GitHub.

and generally seems credible: http://troglobit.com/

(From OE-Core rev: 22a4a6fe24c26dd5ae4a82a742c9bdf41c6bf2b7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
d0a661fbcb bmap-tools: fix upstream version check
(From OE-Core rev: c03172749018e2d9fae85b35ff9176ba922857e6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
a7f6451222 blktool: remove a duplicate patch
blktool-gnulib-makedev.patch is actually doing the same
thing as 0004-fix-ftbfs-glibc-2.28.patch, so we end up
including the same file twice.

(From OE-Core rev: 8de82c63fe49917c80d1b634819ae2001625a645)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
db1566b859 blktool: update to 4-7.1
This update adds a patch from Debian to match the latest version there.

(From OE-Core rev: 11fdad15c2c8f4b4be696008bac0841a271aa161)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
0b8f0200f9 syslinux: fix upstream version check
(From OE-Core rev: 2e19ade0bce177fd9cfb29570791c13290762322)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Alexander Kanavin
1fadb5d387 db: fix upstream version check
The new regex excludes the 5.3.28+dfsg1 which is a Debian
repackaging of the original tarball:

* Repack the .orig tarball to eliminate prebuilt binaries that need a
    Visual Studio plugin to build from source. (Closes: #898215)

https://metadata.ftp-master.debian.org/changelogs/main/d/db5.3/unstable_changelog

(From OE-Core rev: 0bba7bbdb9600095f367bbe2f6926e216a7b56ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Armin Kuster
6018375553 timezone: update to 2019a
The 2019a release of the tz code and data is available. It reflects the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes:

  Briefly:
    Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
    Metlakatla "fell back" to rejoin Alaska Time on 2019-01-20 at 02:00.

  Changes to past and future timestamps

    Palestine will not start DST until 2019-03-30, instead of 2019-03-23 as
    previously predicted.  Adjust our prediction by guessing that spring
    transitions will be between 24 and 30 March, which matches recent practice
    since 2016.  (Thanks to Even Scharning and Tim Parenti.)

    Metlakatla ended its observance of Pacific standard time,
    rejoining Alaska Time, on 2019-01-20 at 02:00.  (Thanks to Ryan
    Stanley and Tim Parenti.)

  Changes to past timestamps

    Israel observed DST in 1980 (08-02/09-13) and 1984 (05-05/08-25).
    (Thanks to Alois Treindl and Isaac Starkman.)

  Changes to time zone abbreviations

    Etc/UCT is now a backward-compatibility link to Etc/UTC, instead
    of being a separate zone that generates the abbreviation "UCT",
    which nowadays is typically a typo.  (Problem reported by Isiah
    Meadows.)

  Changes to code

    zic now has an -r option to limit the time range of output data.
    For example, 'zic -r @1000000000' limits the output data to
    timestamps starting 1000000000 seconds after the Epoch.
    This helps shrink output size and can be useful for applications
    not needing the full timestamp history, such as TZDIST truncation;
    see Internet RFC 8536 section 5.1.  (Inspired by a feature request
    from Christopher Wong, helped along by bug reports from Wong and
    from Tim Parenti.)

  Changes to documentation

    Mention Internet RFC 8536 (February 2019), which documents TZif.

    tz-link.html now cites tzdata-meta
    <https://tzdata-meta.timtimeonline.com/>.

(From OE-Core rev: f51df4809be08fa7e137467a386637ebe7b57175)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Andreas Müller
0c2353d96a less: upgrade 549 (terribly broken) -> 550
Test case:

* open xfce4-terminal
* run 'echo | less'
* press arrow up/down few times
* exit less with 'q'
=> From now on all mouse(wheel) buttons create strange inputs on terminal

Release note says [1]: "Sometimes the terminal was left in mouse-reporting mode
after exiting less."

http://www.greenwoodsoftware.com/less/index.html

(From OE-Core rev: 4cefbf492d98ec14b8bb323c92d987b795addaf2)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Andreas Müller
236d3c8979 adwaita-icon-theme: do not delete symbolic svg but pack them in ${PN}-symbolic
This fixes:
* gtk-icon-browser: for symbolic view almost all icons were missing
* xfce's thunar: 'home' and 'up' icons were missing. Had a long discussion with
  XFCE-people [1] and asked here [2].

How could I overlook the most obvious...

[1] https://bugzilla.xfce.org/show_bug.cgi?id=14443
[2] http://lists.openembedded.org/pipermail/openembedded-core/2018-November/275815.html

(From OE-Core rev: 0911e7d2f5443210b594a198ada8465af7a2fc78)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Andreas Müller
66828ff04d gtk+3: add librsvg to DEPENDS
adwaita-icon-themes failes to create symbolic icons. In log.do_install when
calling gtk-encode-symbolic-svg there many complaints

| Can't load file: Unrecognized image file format

We fail her now due to:

commit 7f6c57635ff4e1edf7a46c49af34846ad0a4bf73
Author: Alexander Kanavin <alex.kanavin@gmail.com>
Date:   Wed Jan 30 11:59:25 2019 +0100

gtk+3: remove the gtk-icon-utils-native recipe

gtk-icon-utils-native had librsvg in its DEPENDS. We do not add librsvg-native
because same issue would occure for gtk-encode-symbolic-svg on target.

(From OE-Core rev: d85f4e8fdffe180b54eb7e35a24a2620e5dc8d62)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:53 +00:00
Ross Burton
485b4a0e7a sysvinit: consolidate patches
(From OE-Core rev: b89a48da4bc25c769f8dbc15d5e8596258cda472)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:52 +00:00
Ross Burton
6d591d2ce9 zlib: clean up ptest
Instead of patching and sedding the makefile, just install test/example and
execute it in run-ptest.  example is the bulk of the test suite, as minimal as
it is.

(From OE-Core rev: ea86bdb8935668d41e142676815af38911ee0faa)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:52 +00:00
Ross Burton
3835162e21 glib: do a build check for strlcpy before runtime
There's no need to do a runtime check for the behaviour of strlcpy if it doesn't
even exist.

(From OE-Core rev: 2b6c855737afbf2b0f2baa1b14029f8ddc37e9ed)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:52 +00:00
Ross Burton
9bad984bf3 glib: set glib-specific cross properties
GLib wants to execute code to identify several properties of the system, for
example is vsprintf() broken and what direction does the stack grow. In
cross-compiled environments these fallback to the default values which are not
always correct (our vsprintf() is fine, but the test assumes it isn't) so set
these properties explicitly.

Ideally this happens magically by meson.bbclass using the same logic as
siteinfo.bbclass, but we need to fix glib now.

(From OE-Core rev: e04e0a20cab04966698c50dc79195a8f159248d3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-29 08:28:52 +00:00
Scott Rifenbark
35742c10f5 ref-manual: Removed DISK_DESCRIPTION variable from glossary
(From yocto-docs rev: 0bc99a673376e70279a353f654287068c59a0b03)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 15:38:56 +00:00
Robert Yang
b1641008f0 bitbake: fetch2: Use bb.utils.to_boolean() for BB_NO_NETWORK
Make it consistent with BB_FETCH_PREMIRRORONLY.

(Bitbake rev: 4c6013f47ef36b03f590c909d7c9a2f50b698620)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:28 +00:00
Robert Yang
64c21baf63 bitbake: fetch2: Unify BB_FETCH_PREMIRRORONLY
The fetch2/__init__.py checks whether "BB_FETCH_PREMIRRORONLY" == "1", but
fetch2/git.py and hg.py checks whether it is None, this makes it discontinuous,
and BB_FETCH_PREMIRRORONLY = "0" doens't work as expected in the later case,
so unify it to the previous one. (As BB_NO_NETWORK does).

And also use bb.utils.to_boolean() to make them consistent.

(Bitbake rev: 85a0d22835588e9ad8ec29d88a8115227e88420c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:28 +00:00
Ross Burton
49d6cd5000 libsndfile1: fix CVE-2019-3832
The previous fix for CVE-2018-19758 wasn't complete, so backport another patch
to solve it properly.

(From OE-Core rev: aeaca9bb1b1c8bf44818945dc4b2cbd6d4b5cef2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:09 +00:00
Ross Burton
496a4f924d bluez5: fix CVE-2018-10910
Fix this CVE (Bluetooth discoverability may be enabled with no agents to handle
requests) by backporting a number of patches from upstream.

(From OE-Core rev: 7bdf9581e807b978b92f29e11ab2a9e69e08410f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:09 +00:00
Aditya Tayade
a9ec38c65e run-ptest: use error handling for useradd and userdel
Error handling in shell scripts is too easy to forget and
get wrong. It is possible to check every external command
for return values but it is better to use a generic setting
which halts execution of the script on any failures.

Upstream-Status: Pending
(From OE-Core rev: 4868de2e67bd304e41ac2158ccfcb166cfe16242)

Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:09 +00:00
Alex Kiernan
f26680fad5 wget: Convert EXTRA_OECONF to PACKAGECONFIG, extend PACKAGECONFIG
Convert existing EXTRA_OECONF and DEPENDS to PACKAGECONFIG, fill out
remaining PACKAGECONFIG options. When building without libpsl we pass in
--without-libpsl, which we didn't previously, but all this actually ends
up doing is silencing a warning from the configure script, the code
still uses an internal implemention when using this option.

(From OE-Core rev: 6472261c7dba1ecc67d639d13b7cf04258f13c7c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-26 14:02:09 +00:00
Richard Purdie
7f98d0ffaf oeqa/qemurunner: Dont mix binary and non-binary strings
self.msg is a str(), bootlog is b'' so this code clearly doesn't work. Add
in a decode since its being used as a string.

(From OE-Core rev: e7546759d3102b576974bbab52594796f084721e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Changqing Li
b82fd7552d mdadm: add -Wno-error to DEBUG_OPTIMIZATION
when compile with DEBUG_OPTIMIZATION(-Og), compile failed with below
error, fix by add -Wno-error:

[snip]
| Incremental.c: In function 'Incremental_container':
| Incremental.c:1593:3: error: 'mdfd' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| close(mdfd);
| ^~~~~~~~~~~

[snip]
super-intel.c: In function 'apply_takeover_update':
| super-intel.c:9615:15: error: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Werror=format-overflow=]
| " MISSING_%d", du->index);
| ^~
...

(From OE-Core rev: 1e0dbc9e320b200b948abaae418f640f9f65fe06)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Alex Kiernan
a94bb35808 libpsl: Extend with native, nativesdk
To allow wget with libpsl to build native/nativesdk versions we need
those variants here.
(From OE-Core rev: e2df6087694af09715141c5cb38af3e7db4ad758)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Alex Kiernan
0e993d4057 systemd: Add PACKAGECONFIG for openssl
(From OE-Core rev: 6b0daceda2aa42052f28aeac6b49a2a744d5e1b7)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Andrej Valek
249b6e3f73 dropbear: update to 2019.77
- update dropbear to version 2019.77
 - drop obsolete patch

(From OE-Core rev: c0f2e6f74119538a33095c27a8d9e92084741672)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Oleksandr Kravchuk
5c3a6b5dff ninja: update to 1.9.0
(From OE-Core rev: a72b970b7fec9bea45583223e5f95bba385fa0d3)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
62ec8e470d linux-yocto-rt/4.19: update to -rt16
Integrating the latest 4.19-rt to the preempt-rt branches, the -rt
release announcements summarize the changes:

    Changes since v4.19.25-rt15:

      - The "preserve task state" change in cpu_chill() in the previous
        release is responsible for missing a wake up. Reported by Mike
        Galbraith.

      - The x86-32 lazy preempt code was broken. Reported by Andri Yngvason.

    Changes since v4.19.23-rt13:

      - Use the specified preempt mask in should_resched() on x86.  Otherwise
        a scheduling opportunity of non RT tasks could be missed.

      - Preserve the task state in cpu_chill()

      - Add two more cases to consider before warning about pending
        softirqs.

(From OE-Core rev: 3efbde7738efd3b69f86d4cb4b08e4e11190f75d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
53057137ba linux-yocto/5.0: x86/resctrl: Rename INTEL_RDT to RESCTRL
The following upstream commits have renamed INTEL_RDT to RESCTRL.
    6fe07ce35e8a ("x86/resctrl: Rename the config option INTEL_RDT to RESCTRL")
    e6d429313ea5 ("x86/resctrl: Avoid confusion over the new X86_RESCTRL config")

(From OE-Core rev: 7c33bfc37b154efce28c359f527ad32063479122)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
1e90576a03 linux-yocto-rt: import 5.0 -rt patches
The 5.0 release of preempt-rt is available, so we import the
patches to the standard/preempt-rt/* branches.

(From OE-Core rev: 3af366d0f14d3d0a4cfbd9600f753f5ad2752551)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
be5396dcae linux-yocto/5.0: update to v5.0.3
Integrating the korg -stable releases that comprise the following
commits:

   449959917f0c Linux 5.0.3
   847c02bcb48a drm: Block fb changes for async plane updates
   a51603120204 It's wrong to add len to sector_nr in raid10 reshape twice
   0912fa3dfcea perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
   c075798c05d9 perf/x86/intel: Fix memory corruption
   291ad91aad03 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
   843a9a5b5675 ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
   6f63adaf8881 ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
   19fcfe5ad57c ALSA: hda - add more quirks for HP Z2 G4 and HP Z240
   f36b6691acdd ALSA: hda: Extend i915 component bind timeout
   69bf155eec9e ALSA: firewire-motu: fix construction of PCM frame for capture direction
   b072cb42f01e ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
   9826a60a2aca perf/x86: Fixup typo in stub functions
   94f93c5900e3 f2fs: wait on atomic writes to count F2FS_CP_WB_DATA
   15c5945f83c1 net: sched: flower: insert new filter to idr after setting its mask
   882e7866ad28 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
   c7bc9d62033a net: hns3: fix to stop multiple HNS reset due to the AER changes
   b31539bd3595 net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports
   7e30fd0627db net/mlx4_core: Fix qp mtt size calculation
   979785bea346 net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
   f1ac81bb23a4 net/mlx4_core: Fix reset flow when in command polling mode
   11e457c165d0 vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
   854b83c7493c vxlan: Fix GRO cells race condition between receive and link delete
   3460bb198560 tcp: handle inet_csk_reqsk_queue_add() failures
   dfcf44d29a7f tcp: Don't access TCP_SKB_CB before initializing it
   75c9b039f9bd tcp: do not report TCP_CM_INQ of 0 for closed connections
   05ad31a85e96 sctp: remove sched init from sctp_stream_init
   3aca89318497 rxrpc: Fix client call queueing, waiting for channel
   ed98b01c0523 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
   cfa5b557d9d0 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
   41b802e6f2a8 pptp: dst_release sk_dst_cache in pptp_sock_destruct
   a6e37802e050 net/x25: reset state in x25_connect()
   391c4c5228d8 net/x25: fix use-after-free in x25_device_event()
   0f27e8de5678 net: sit: fix UBSAN Undefined behaviour in check_6rd
   bfca8925f758 net/hsr: fix possible crash in add_timer()
   251eb21781bf net: hsr: fix memory leak in hsr_dev_finalize()
   4b7730375855 net: hns3: add dma_rmb() for rx description
   93a96dc0a610 lan743x: Fix TX Stall Issue
   8c223fee4ad4 lan743x: Fix RX Kernel Panic
   a53dc7db54c7 l2tp: fix infoleak in l2tp_ip6_recvmsg()
   b41988c24100 ipv4/route: fail early when inet dev is missing
   ab62510ac2ea gro_cells: make sure device is up in gro_cells_receive()
   a9b0ebbf75c3 fou, fou6: avoid uninit-value in gue_err() and gue6_err()
   c4b5717a0168 connector: fix unsafe usage of ->real_parent
   9e6fdea016e4 Linux 5.0.2
   84ff8f265a91 perf/x86/intel: Implement support for TSX Force Abort
   9870cd07a132 x86: Add TSX Force Abort CPUID/MSR
   93c2f72c7933 perf/x86/intel: Generalize dynamic constraint creation
   3ad8e57560d7 perf/x86/intel: Make cpuc allocations consistent
   3dfe7538f80a ath9k: Avoid OF no-EEPROM quirks without qca,no-eeprom
   72bc954e8a5f scripts/gdb: replace flags (MS_xyz -> SB_xyz)
   e7b0b71c22e7 staging: erofs: compressed_pages should not be accessed again after freed
   a56c9e263786 staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()
   66ad3d56ab62 gfs2: Fix missed wakeups in find_insert_glock
   97e5d51f123a bpf: Stop the psock parser before canceling its work
   5b31a61305cd Revert "PCI/PME: Implement runtime PM callbacks"
   fd0b578b41c6 media: Revert "media: rc: some events are dropped by userspace"
   e3f5c3cbe163 drm: disable uncached DMA optimization for ARM and arm64
   b7ea06838d14 ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
   cc637b0563f7 ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
   6eb775cb560d ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
   d2370201967a arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"
   34294e187622 arm64: dts: hikey: Give wifi some time after power-on
   bab3cf9d1531 arm64: dts: zcu100-revC: Give wifi some time after power-on
   39ab777e42ec x86/PCI: Fixup RTIT_BAR of Intel Denverton Trace Hub
   1830d0d33dcd scsi: aacraid: Fix missing break in switch statement
   d4f05a4aaf98 iscsi_ibft: Fix missing break in switch statement
   61f7963e347d Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
   4a33538bd425 Input: wacom_serial4 - add support for Wacom ArtPad II tablet
   e83b05c4c17e media: uvcvideo: Fix 'type' check leading to overflow
   283506fcd65d Linux 5.0.1
   a9bda122bd77 exec: Fix mem leak in kernel_read_file
   bc60931448e7 Bluetooth: Fix locking in bt_accept_enqueue() for BH context
   95b6840860ee Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
   302f4908d4f9 selftests: firmware: fix verify_reqs() return value
   5e73c19ca66e Revert "selftests: firmware: remove use of non-standard diff -Z option"
   66da661f94eb Revert "selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config"
   44c81a482310 USB: serial: cp210x: fix GPIO in autosuspend
   02c66213c80a gnss: sirf: fix premature wakeup interrupt enable
   ff204bb4c71b xtensa: fix get_wchan
   c9255e2479ef aio: Fix locking in aio_poll()
   2ac0fa7f3373 MIPS: irq: Allocate accurate order pages for irq stack
   a8cc62bd8806 alpha: wire up io_pgetevents system call
   46ce9ec42b78 applicom: Fix potential Spectre v1 vulnerabilities
   92424a683915 usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
   511ba5f2287c xhci: tegra: Prevent error pointer dereference
   1eadda06dcda tracing: Fix event filters and triggers to handle negative numbers
   ad0051c0d6da x86/boot/compressed/64: Do not read legacy ROM on EFI system
   b8907034edaf x86/CPU/AMD: Set the CPB bit unconditionally on F17h
   258c4bfcea44 tipc: fix RDM/DGRAM connect() regression
   b0c649843a76 team: Free BPF filter when unregistering netdev
   3445d44b8330 sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79
   9dc9563fbb38 sctp: call iov_iter_revert() after sending ABORT
   43610748b73d qmi_wwan: Add support for Quectel EG12/EM12
   1ba288215704 net-sysfs: Fix mem leak in netdev_register_kobject
   cd267ea6a70c net: sched: put back q.qlen into a single location
   e1c9e3fe2d34 net: mscc: Enable all ports in QSGMII
   050c7ff6f46c net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
   c2e346e38c2a net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex
   9590cdffe8c4 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
   9b3149338ace ip6mr: Do not call __IP6_INC_STATS() from preemptible context
   b592247edd6b staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.
   6a6b0c1b4731 staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.
   6e2cda2e854b staging: android: ion: fix sys heap pool's gfp_flags
   f14ab1e367d2 staging: wilc1000: fix to set correct value for 'vif_num'
   e872d586158c staging: comedi: ni_660x: fix missing break in switch statement
   116ad909da64 staging: erofs: fix illegal address access under memory pressure
   fa42199d9dab staging: erofs: fix race of initializing xattrs of a inode at the same time
   6df0b3ebdade staging: erofs: fix memleak of inode's shared xattr array
   27f2f4877a00 staging: erofs: fix fast symlink w/o xattr when fs xattr is on
   091520a14086 driver core: Postpone DMA tear-down until after devres release
   0e14eb6e3f42 USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
   eefd31d3c9af USB: serial: cp210x: add ID for Ingenico 3070
   8510d6a23c3d USB: serial: option: add Telit ME910 ECM composition
   ed1776bb5d0b binder: create node flag to request sender's security context
   e93cd6500ff9 staging: erofs: fix mis-acted TAIL merging behavior
   e36e066ffa78 cpufreq: Use struct kobj_attribute instead of struct global_attr

(From OE-Core rev: c7042659b192be96d42dbaef5c5b08d1d25cb88e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
e9656626cb linux-yocto/4.19: update to v4.19.30
Integrating the korg -stable releases that comprise the following
commits:

   7794d3522606 Linux 4.19.30
   842bdbe83ccc vhost/vsock: fix vhost vsock cid hashing inconsistent
   090ce34b7832 i40e: report correct statistics when XDP is enabled
   eab8018fd289 staging: erofs: fix race when the managed cache is enabled
   96ce54b24c38 drm: Block fb changes for async plane updates
   27143c71d68b It's wrong to add len to sector_nr in raid10 reshape twice
   d6b577c6201f perf/x86/intel: Make dev_attr_allow_tsx_force_abort static
   92c9a3897a4c perf/x86/intel: Fix memory corruption
   835bc1e2a904 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
   be888d9a0ed3 ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
   8f6cf57ebe5d ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294
   5da055b1ca56 ALSA: hda - add more quirks for HP Z2 G4 and HP Z240
   2191cd581f46 ALSA: hda: Extend i915 component bind timeout
   8b2d66397541 ALSA: firewire-motu: fix construction of PCM frame for capture direction
   bb2dde7c9edc ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
   a8eae05f8dbf perf/x86: Fixup typo in stub functions
   2835c059726a f2fs: wait on atomic writes to count F2FS_CP_WB_DATA
   275a2c08c313 net: sched: flower: insert new filter to idr after setting its mask
   345af5abca67 missing barriers in some of unix_sock ->addr and ->path accesses
   f56b3c297ca7 net/smc: fix smc_poll in SMC_INIT state
   795cb33c32d2 bonding: fix PACKET_ORIGDEV regression
   2e4b2aeb0209 ipv6: route: enforce RCU protection in ip6_route_check_nh_onlink()
   96dd4ef3c0ce ipv6: route: enforce RCU protection in rt6_update_exception_stamp_rt()
   1856bbbea652 ipvlan: disallow userns cap_net_admin to change global mode/flags
   e5c31b5a6854 team: use operstate consistently for linkup
   b9d0cb758145 ipv6: route: purge exception on removal
   fe38cbc9e38a net: Set rtm_table to RT_TABLE_COMPAT for ipv6 for tables > 255
   96a3b14450af mdio_bus: Fix use-after-free on device_register fails
   13b430574e61 net/x25: fix a race in x25_bind()
   c3bdcd9dd2fe net/mlx4_core: Fix qp mtt size calculation
   c3bcf8cb401d net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling
   1f34d8d2e513 net/mlx4_core: Fix reset flow when in command polling mode
   f09a656b68ef vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()
   9f7aeee6542e vxlan: Fix GRO cells race condition between receive and link delete
   173e9023a068 tcp: handle inet_csk_reqsk_queue_add() failures
   fba43f49fdf7 tcp: Don't access TCP_SKB_CB before initializing it
   8accd04eb9a4 tcp: do not report TCP_CM_INQ of 0 for closed connections
   0e6b33fa9ae1 sctp: remove sched init from sctp_stream_init
   c5952168e9da rxrpc: Fix client call queueing, waiting for channel
   eaa0962e1eb2 route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race
   ec61b95340f8 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
   34dc08b9e916 pptp: dst_release sk_dst_cache in pptp_sock_destruct
   14d5e73b01ba net/x25: reset state in x25_connect()
   b5c109075aca net/x25: fix use-after-free in x25_device_event()
   7cfb97ba8396 net: sit: fix UBSAN Undefined behaviour in check_6rd
   86a71f00f9f5 net/hsr: fix possible crash in add_timer()
   996ee1aca7de net: hsr: fix memory leak in hsr_dev_finalize()
   ab13fe32a01a lan743x: Fix TX Stall Issue
   223264734865 lan743x: Fix RX Kernel Panic
   96d58cd882ed l2tp: fix infoleak in l2tp_ip6_recvmsg()
   7760937dc278 ipv4/route: fail early when inet dev is missing
   df737fd03391 gro_cells: make sure device is up in gro_cells_receive()
   ef9ef4adb85c connector: fix unsafe usage of ->real_parent
   ce194fa2b267 Linux 4.19.29
   26b6e018e558 perf/x86/intel: Implement support for TSX Force Abort
   fdd820949a74 x86: Add TSX Force Abort CPUID/MSR
   9e071aa6c28c perf/x86/intel: Generalize dynamic constraint creation
   f99f7dae782e perf/x86/intel: Make cpuc allocations consistent
   7053a6faf019 driver core: Postpone DMA tear-down until after devres release
   adaa310f8a01 ath9k: Avoid OF no-EEPROM quirks without qca,no-eeprom
   b4d965a37d89 cifs: allow calling SMB2_xxx_free(NULL)
   e5d7b94cc435 staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()
   28b8f234edaf staging: erofs: fix race of initializing xattrs of a inode at the same time
   53a989a95a09 staging: erofs: fix memleak of inode's shared xattr array
   9dc84155425c staging: erofs: fix fast symlink w/o xattr when fs xattr is on
   f581642c8a2c staging: erofs: add error handling for xattr submodule
   4f5a4c888106 gfs2: Fix missed wakeups in find_insert_glock
   e6e00017910c netfilter: xt_TEE: add missing code to get interface index in checkentry.
   02d86085cac6 netfilter: xt_TEE: fix wrong interface selection
   f9a0a08d9c99 drm: disable uncached DMA optimization for ARM and arm64
   bb2c205cd3a0 ARM: dts: exynos: Fix max voltage for buck8 regulator on Odroid XU3/XU4
   bfc341b61f5c ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
   cd10bc8261eb ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
   103ec440943e arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"
   e6eb5e3561ca arm64: dts: hikey: Give wifi some time after power-on
   271c5a5d546b arm64: dts: zcu100-revC: Give wifi some time after power-on
   36e3673d01af x86/PCI: Fixup RTIT_BAR of Intel Denverton Trace Hub
   917f943781a9 scsi: aacraid: Fix missing break in switch statement
   dcdd1bcbc099 iscsi_ibft: Fix missing break in switch statement
   fe34541ab930 Input: elan_i2c - add id for touchpad found in Lenovo s21e-20
   b3b29dc53104 Input: wacom_serial4 - add support for Wacom ArtPad II tablet
   7066774e60e4 nvme-pci: add missing unlock for reset error
   6d482bc56977 blk-iolatency: fix IO hang due to negative inflight counter
   1781ae6f0eac qede: Fix system crash on configuring channels.
   84828dd2ba92 qed: Consider TX tcs while deriving the max num_queues for PF.
   d727c0edf646 qed: Fix EQ full firmware assert.
   72426ed2a149 fs: ratelimit __find_get_block_slow() failure message.
   3cc6703d43f9 nvme-pci: fix rapid add remove sequence
   e3aabe4c2467 nvme: lock NS list changes while handling command effects
   25aa5c8b063a drm/amdgpu: use spin_lock_irqsave to protect vm_manager.pasid_idr
   ee84b62fba23 i2c: omap: Use noirq system sleep pm ops to idle device for suspend
   29f7b376d399 Revert "scsi: libfc: Add WARN_ON() when deleting rports"
   cd8520a283c4 MIPS: Remove function size check in get_frame_info()
   738f9e2774d6 perf trace: Support multiple "vfs_getname" probes
   47e3f3c08605 perf symbols: Filter out hidden symbols from labels
   825e58bc9800 s390/qeth: cancel close_dev work before removing a card
   5327c5530c9b s390/qeth: fix use-after-free in error path
   575a2461e50b s390/qeth: release cmd buffer in error paths
   5058447bf760 netfilter: nf_nat: skip nat clash resolution for same-origin entries
   5c39e08fc417 selftests: netfilter: add simple masq/redirect test cases
   974ed365b164 selftests: netfilter: fix config fragment CONFIG_NF_TABLES_INET
   0203f0c963e9 dmaengine: dmatest: Abort test in case of mapping error
   5eae58996b7e vsock/virtio: reset connected sockets on device removal
   cd2013568dd5 vsock/virtio: fix kernel panic after device hot-unplug
   f3ffd4559de2 dmaengine: at_xdmac: Fix wrongfull report of a channel as in use
   7cf4466df6ca drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init
   ae26a7109c15 bpf: Fix syscall's stackmap lookup potential deadlock
   3bbe6a421280 bpf: fix potential deadlock in bpf_prog_register
   e3bc64c9aa50 bpf: fix lockdep false positive in percpu_freelist
   0ace0d28941b bpf, selftests: fix handling of sparse CPU allocations
   232bd90cf238 relay: check return of create_buf_file() properly
   2a5c84e164d2 irqchip/gic-v3-its: Fix ITT_entry_size accessor
   fbdbb19457ce net: stmmac: Disable EEE mode earlier in XMIT callback
   496eaed7fe94 net: stmmac: Send TSO packets always from Queue 0
   46ba03c591d9 net: stmmac: Fallback to Platform Data clock in Watchdog conversion
   8096bc39c63e drm/amdgpu: Transfer fences to dmabuf importer
   4ec880d7c199 drm/radeon: check if device is root before getting pci speed caps
   094392380989 drm/amdgpu: Add missing power attribute to APU check
   1bf791023315 irqchip/mmp: Only touch the PJ4 IRQ & FIQ bits on enable/disable
   423869f8871d irqchip/gic-v3-its: Gracefully fail on LPI exhaustion
   dc81cfafb4b9 irqchip/gic-v4: Fix occasional VLPI drop
   377ffe354dc0 usb: phy: fix link errors
   fbc3ed1339ec DTS: CI20: Fix bugs in ci20's device tree.
   f7e3fb0a6f9d batman-adv: release station info tidstats
   90f0a75be8eb arm64: dts: add msm8996 compatible to gicv3
   ac0997349142 ARM: pxa: ssp: unneeded to free devm_ allocated data
   a8795ba8995a bpf: sock recvbuff must be limited by rmem_max in bpf_setsockopt()
   7e2b2e24e356 bpftool: fix percpu maps updating
   1da961de4ad4 bpftool: Fix prog dump by tag
   9a0f0bbac9a0 wlcore: sdio: Fixup power on/off sequence
   2634448683d3 pinctrl: mcp23s08: spi: Fix regmap allocation for mcp23s18
   a50434de0cfe soc: fsl: qbman: avoid race in clearing QMan interrupt
   959773138ac9 arm64: dts: renesas: r8a77965: Enable DMA for SCIF2
   4dc8b2e57ee4 arm64: dts: renesas: r8a7796: Enable DMA for SCIF2
   f02070cb4b60 ARM: dts: imx6sx: correct backward compatible of gpt
   3edbed0dd13f ARM: dts: meson8m2: mxiii-plus: mark the SD card detection GPIO active-low
   ab2f85e59693 ARM: dts: meson8b: odroidc1: mark the SD card detection GPIO active-low
   94f31b4c9780 arm: dts: meson: Fix IRQ trigger type for macirq
   094ed50726a2 ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2
   ec27bcd3f688 ARM: dts: omap4-droid4: Fix typo in cpcap IRQ flags
   b510051c73a7 ARM: OMAP: dts: N950/N9: fix onenand timings
   2cc84e2ea68d mm, memory_hotplug: fix off-by-one in is_pageblock_removable
   929278903367 autofs: fix error return in autofs_fill_super()
   1efb234ec251 autofs: drop dentry reference only when it is never used
   3d0acc076f5f fs/drop_caches.c: avoid softlockups in drop_pagecache_sb()
   f1524fd049de lib/test_kmod.c: potential double free in error handling
   71df1c8bc771 mm, memory_hotplug: test_pages_in_a_zone do not pass the end of zone
   6027792d6aa8 mm, memory_hotplug: is_mem_section_removable do not pass the end of a zone
   5edeae210cb8 x86_64: increase stack size for KASAN_EXTRA
   845d73be1b4c proc: fix /proc/net/* after setns(2)
   e2b45446c34f x86/kexec: Don't setup EFI info if EFI runtime is not enabled
   d7807b62276e apparmor: Fix aa_label_build() error handling for failed merges
   d92d3caf818d arm64: kprobe: Always blacklist the KVM world-switch code
   f964a4d2bb68 x86/microcode/amd: Don't falsely trick the late loading mechanism
   6efd69d63339 cifs: fix computation for MAX_SMB2_HDR_SIZE
   15fb5d73e47e x86/boot/compressed/64: Set EFER.LME=1 in 32-bit trampoline before returning to long mode
   bd13a72a537a net: macb: Apply RXUBR workaround only to versions with errata
   38be5d445c5b platform/x86: Fix unmet dependency warning for SAMSUNG_Q10
   25f37d15f080 platform/x86: Fix unmet dependency warning for ACPI_CMPC
   bdf1bd01327d scsi: 53c700: pass correct "dev" to dma_alloc_attrs()
   59411d98fb10 scsi: bnx2fc: Fix error handling in probe()
   8d27f830b615 scsi: scsi_debug: fix write_same with virtual_gb problem
   e546c8787e7b scsi: libfc: free skb when receiving invalid flogi resp
   40e35210abeb qed: Fix stack out of bounds bug
   9414e0854bbc qed: Fix system crash in ll2 xmit
   fac238779b14 qed: Fix VF probe failure while FLR
   1ba3511006f1 qed: Fix LACP pdu drops for VFs
   88bce339de23 qed: Fix bug in tx promiscuous mode settings
   5c72ca3bf625 nfs: Fix NULL pointer dereference of dev_name
   daf04674d08a selftests: timers: use LDLIBS instead of LDFLAGS
   c68cf0831b25 selftests: net: use LDLIBS instead of LDFLAGS
   eda52fa18e4f gpio: vf610: Mask all GPIO interrupts
   3355d641269f netfilter: ebtables: compat: un-break 32bit setsockopt when no rules are present
   1f4ccda30391 net: stmmac: dwmac-rk: fix error handling in rk_gmac_powerup()
   4a22084f6bbc net: hns: Fix wrong read accesses via Clause 45 MDIO protocol
   3e640b2cdc6e net: hns: Restart autoneg need return failed when autoneg off
   6b7d35440955 net: hns: Fix for missing of_node_put() after of_parse_phandle()
   c91f641625a7 net: altera_tse: fix msgdma_tx_completion on non-zero fill_level case
   419bb616e9ea xtensa: SMP: limit number of possible CPUs by NR_CPUS
   d9ba842efdf0 iomap: fix a use after free in iomap_dio_rw
   d23792f53f0d iomap: get/put the page in iomap_page_create/release()
   38f47557ae49 xtensa: SMP: mark each possible CPU as present
   c1327f9a1248 xtensa: smp_lx200_defconfig: fix vectors clash
   8655802aa155 xtensa: SMP: fix secondary CPU initialization
   0165df14095b selftests: cpu-hotplug: fix case where CPUs offline > CPUs present
   1ee82160e2ef IB/ipoib: Fix for use-after-free in ipoib_cm_tx_start
   dc04a00b3cbb riscv: Adjust mmap base address at a third of task size
   f43e42f46aa8 xtensa: SMP: fix ccount_timer_shutdown
   aad4dc749ed5 clk: qcom: gcc: Use active only source for CPUSS clocks
   cf872189c804 clk: ti: Fix error handling in ti_clk_parse_divider_data()
   a038ed686aa6 iommu/amd: Fix IOMMU page flush when detach device from a domain
   e0b03a6bad1a ipvs: Fix signed integer overflow when setsockopt timeout
   ffabf74c6796 riscv: fixup max_low_pfn with PFN_DOWN.
   9e1f977d82ec iommu/amd: Unmap all mapped pages in error path of map_sg
   697863bf7d72 iommu/amd: Call free_iova_fast with pfn in map_sg
   43b0c93918a0 IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM
   d5f05016b0e1 perf script: Fix crash when processing recorded stat data
   1e4b75416682 perf tools: Handle TOPOLOGY headers with no CPU
   6ec0698f1c40 perf core: Fix perf_proc_update_handler() bug
   5d1dc10ba3ac perf script: Fix crash with printing mixed trace point and other events
   8ce41db0dcfc vti4: Fix a ipip packet processing bug in 'IPCOMP' virtual tunnel
   ac8befb6dd60 media: uvcvideo: Fix 'type' check leading to overflow
   6a31767f84ad Linux 4.19.28
   ca490a987365 bpf: fix sanitation rewrite in case of non-pointers
   ebfb07e8c23e scsi: core: reset host byte in DID_NEXUS_FAILURE case
   b60d90b2d3d1 exec: Fix mem leak in kernel_read_file
   8d368fc58e7a Bluetooth: Fix locking in bt_accept_enqueue() for BH context
   43593a30a068 Bluetooth: btrtl: Restore old logic to assume firmware is already loaded
   cd61d473f71f selftests: firmware: fix verify_reqs() return value
   9765ec7f7a02 USB: serial: cp210x: fix GPIO in autosuspend
   09675c2f84bc gnss: sirf: fix premature wakeup interrupt enable
   c426de69ded0 xtensa: fix get_wchan
   f5e66cdb51fd aio: Fix locking in aio_poll()
   88793c034edf MIPS: irq: Allocate accurate order pages for irq stack
   5691b93f686e applicom: Fix potential Spectre v1 vulnerabilities
   9d53e36c8c09 usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
   690e939da71d tracing: Fix event filters and triggers to handle negative numbers
   51c531805801 x86/boot/compressed/64: Do not read legacy ROM on EFI system
   eab5ea25ebee x86/CPU/AMD: Set the CPB bit unconditionally on F17h
   3846080998b9 net: sched: act_tunnel_key: fix NULL pointer dereference during init
   69e6fb1804cf net/sched: act_skbedit: fix refcount leak when replace fails
   f1446b164925 net/sched: act_ipt: fix refcount leak when replace fails
   4d8f5df0cbe9 net: dsa: mv88e6xxx: prevent interrupt storm caused by mv88e6390x_port_set_cmode
   457c1190c65c net: dsa: mv88e6xxx: power serdes on/off for 10G interfaces on 6390X
   cc211561d126 ipv4: Pass original device to ip_rcv_finish_core
   4f3221dee1e1 mpls: Return error for RTA_GATEWAY attribute
   a68d31cc5306 ipv6: Return error for RTA_VIA attribute
   8c0aa3f6908c ipv4: Return error for RTA_VIA attribute
   125bc1e67eee net: avoid use IPCB in cipso_v4_error
   f2397468fbd7 net: Add __icmp_send helper.
   e6620defc483 tun: remove unnecessary memory barrier
   947fc52b6bf4 xen-netback: fix occasional leak of grant ref mappings under memory pressure
   e5e5840183de xen-netback: don't populate the hash cache on XenBus disconnect
   488b940719b7 tun: fix blocking read
   ab04570d82b1 tipc: fix race condition causing hung sendto
   5fdb551fd6a6 net: socket: set sock->sk to NULL after calling proto_ops::release()
   d0bedaac932f net: sit: fix memory leak in sit_init_net()
   ed7a54419ef2 net: phy: phylink: fix uninitialized variable in phylink_get_mac_state
   d06816899758 net: phy: Micrel KSZ8061: link failure after cable connect
   f132b3f5f1ad net: nfc: Fix NULL dereference on nfc_llcp_build_tlv fails
   d1dd2e15c85e net: netem: fix skb length BUG_ON in __skb_to_sgvec
   e3713abc4248 netlabel: fix out-of-bounds memory accesses
   4afc9831f895 net: dsa: mv88e6xxx: Fix u64 statistics
   05d9f554b713 net: dsa: mv88e6xxx: Fix statistics on mv88e6161
   ceb7c2498695 lan743x: Fix TX Stall Issue
   99ed94582126 ipv4: Add ICMPv6 support when parse route ipproto
   d61918a5e401 hv_netvsc: Fix IP header checksum for coalesced packets
   36bd44bcb4b2 geneve: correctly handle ipv6.disable module parameter
   1713c8e18b44 bnxt_en: Drop oversize TX packets to prevent errors.
   8d1b9800c1ea tipc: fix RDM/DGRAM connect() regression
   089100d5fb43 team: Free BPF filter when unregistering netdev
   5e311e537e63 sky2: Disable MSI on Dell Inspiron 1545 and Gateway P-79
   8085d6d03fe3 sctp: call iov_iter_revert() after sending ABORT
   16a006d72f33 qmi_wwan: Add support for Quectel EG12/EM12
   7ce2a517fd8b net-sysfs: Fix mem leak in netdev_register_kobject
   3043bfe024e8 net: sched: put back q.qlen into a single location
   0429c9ef94c6 net: dsa: mv8e6xxx: fix number of internal PHYs for 88E6x90 family
   dea818999a1e net: dsa: mv88e6xxx: handle unknown duplex modes gracefully in mv88e6xxx_port_set_duplex
   b5ff77ddd96f ip6mr: Do not call __IP6_INC_STATS() from preemptible context
   de40920f3694 staging: android: ashmem: Avoid range_alloc() allocation with ashmem_mutex held.
   b8d048b73900 staging: android: ashmem: Don't call fallocate() with ashmem_mutex held.
   271800f564db staging: android: ion: fix sys heap pool's gfp_flags
   14af4eff14c2 staging: wilc1000: fix to set correct value for 'vif_num'
   63efda29f359 staging: comedi: ni_660x: fix missing break in switch statement
   40245f24133c staging: erofs: compressed_pages should not be accessed again after freed
   1fa7c9b4226f staging: erofs: fix illegal address access under memory pressure
   b46e1fc6ccee USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485
   da20be9991d8 USB: serial: cp210x: add ID for Ingenico 3070
   965e716001c9 USB: serial: option: add Telit ME910 ECM composition
   cbace523cbaa staging: erofs: fix mis-acted TAIL merging behavior
   464b4279d34f cpufreq: Use struct kobj_attribute instead of struct global_attr
   adc2a008ae56 Linux 4.19.27
   7371994d6cfa x86/uaccess: Don't leak the AC flag into __put_user() value evaluation
   9f77e4cb12d4 MIPS: eBPF: Fix icache flush end address
   4a418a3d94f2 MIPS: BCM63XX: provide DMA masks for ethernet devices
   3bfa6413b03a MIPS: fix truncation in __cmpxchg_small for short values
   527cabfffbc5 hugetlbfs: fix races and page leaks during migration
   f0233ca89ce2 drm: Block fb changes for async plane updates
   de04d2973a62 mm: enforce min addr even if capable() in expand_downwards()
   ff86bb4dc656 mmc: sdhci-esdhc-imx: correct the fix of ERR004536
   d612d7b4ff4d mmc: cqhci: Fix a tiny potential memory leak on error condition
   e446ae40dc33 mmc: cqhci: fix space allocated for transfer descriptor
   17bf96122472 mmc: core: Fix NULL ptr crash from mmc_should_fail_request
   85d9ad404676 mmc: tmio: fix access width of Block Count Register
   5b716bc54e47 mmc: tmio_mmc_core: don't claim spurious interrupts
   c69e07a84d8f mmc: spi: Fix card detection during probe
   b246986a1fc0 kvm: selftests: Fix region overlap check in kvm_util
   60a4b3f7c867 KVM: nSVM: clear events pending from svm_complete_interrupts() when exiting to L1
   0149b03ec269 svm: Fix AVIC incomplete IPI emulation
   99b1dbe6ba17 cfg80211: extend range deviation for DMG
   7a27cb609f03 mac80211: Add attribute aligned(2) to struct 'action'
   0a7c92826f79 mac80211: don't initiate TDLS connection if station is not associated to AP
   e91cbe1de3b3 ibmveth: Do not process frames after calling napi_reschedule
   61fe1005f334 net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP
   f7901f15d6f3 net: usb: asix: ax88772_bind return error when hw_reset fail
   156a43cc8986 drm/msm: Fix A6XX support for opp-level
   9f260d76b474 nvme-multipath: drop optimization for static ANA group IDs
   550e0ea7e7e4 nvme-rdma: fix timeout handler
   bbbb9874a9fe hv_netvsc: Fix hash key value reset after other ops
   d2ce8e1bd338 hv_netvsc: Refactor assignments of struct netvsc_device_info
   51b547f2a445 hv_netvsc: Fix ethtool change hash key error
   ad74456b500c net: altera_tse: fix connect_local_phy error path
   9de388112c63 scsi: csiostor: fix NULL pointer dereference in csio_vport_set_state()
   ee2a02a66821 scsi: lpfc: nvmet: avoid hang / use-after-free when destroying targetport
   30b62656690d scsi: lpfc: nvme: avoid hang / use-after-free when destroying localport
   edca54b897bb writeback: synchronize sync(2) against cgroup writeback membership switches
   c5a1dc256cc2 direct-io: allow direct writes to empty inodes
   bcb8e0a23698 staging: android: ion: Support cpu access during dma_buf_detach
   f73577353256 drm/sun4i: hdmi: Fix usage of TMDS clock
   89d9a53346b2 serial: fsl_lpuart: fix maximum acceptable baud rate with over-sampling
   1ed436cd1690 tty: serial: qcom_geni_serial: Allow mctrl when flow control is disabled
   8c5571b9df10 drm/amd/powerplay: OD setting fix on Vega10
   9ad6216e8c3c locking/rwsem: Fix (possible) missed wakeup
   2368e6d3bcf4 futex: Fix (possible) missed wakeup
   653a1dbcb011 sched/wake_q: Fix wakeup ordering for wake_q
   5024f0a29a8f sched/wait: Fix rcuwait_wake_up() ordering
   a2887f6fab98 mac80211: fix miscounting of ttl-dropped frames
   bbc300c8c75e staging: rtl8723bs: Fix build error with Clang when inlining is disabled
   a99e0377cca4 drivers: thermal: int340x_thermal: Fix sysfs race condition
   4749ffdfbb09 ARC: show_regs: lockdep: avoid page allocator...
   4e34dd37943d ARC: fix __ffs return value to avoid build warnings
   0655618dd92d irqchip/gic-v3-mbi: Fix uninitialized mbi_lock
   f352e84e6e3c selftests: gpio-mockup-chardev: Check asprintf() for error
   357d9c7a01c6 selftests: seccomp: use LDLIBS instead of LDFLAGS
   eecde0a099af phy: ath79-usb: Fix the main reset name to match the DT binding
   e55af638c4f4 phy: ath79-usb: Fix the power on error path
   fc8176da28b5 selftests/vm/gup_benchmark.c: match gup struct to kernel
   7bba7aff51ea ASoC: imx-audmux: change snprintf to scnprintf for possible overflow
   9500ecb9ad01 ASoC: dapm: change snprintf to scnprintf for possible overflow
   375a9673264c ASoC: rt5682: Fix PLL source register definitions
   7ff778648947 x86/mm/mem_encrypt: Fix erroneous sizeof()
   17fab8914f86 genirq: Make sure the initial affinity is not empty
   7746dd64c2c9 selftests: rtc: rtctest: add alarm test on minute boundary
   2409a869dad3 selftests: rtc: rtctest: fix alarm tests
   4670e8391710 usb: gadget: Potential NULL dereference on allocation error
   08c937f9a3db usb: dwc3: gadget: Fix the uninitialized link_state when udc starts
   03a5d4d55335 usb: dwc3: gadget: synchronize_irq dwc irq in suspend
   f29024c0e9a7 thermal: int340x_thermal: Fix a NULL vs IS_ERR() check
   fc1073dfc4e0 clk: vc5: Abort clock configuration without upstream clock
   71943c38620d clk: sysfs: fix invalid JSON in clk_dump
   acc934f57691 clk: tegra: dfll: Fix a potential Oop in remove()
   651023ed93ab ASoC: Variable "val" in function rt274_i2c_probe() could be uninitialized
   e7b2f9f2bce2 ALSA: compress: prevent potential divide by zero bugs
   a4964959ee83 ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field
   5a7005337c2a drm/msm: Unblock writer if reader closes file
   0f978ec3ed3e scsi: libsas: Fix rphy phy_identifier for PHYs with end devices attached
   a7c6cf3bdf33 mac80211: Change default tx_sk_pacing_shift to 7
   765c30b31849 genirq/matrix: Improve target CPU selection for managed interrupts.
   8cae7757e862 irq/matrix: Spread managed interrupts on allocation
   2948b8875df4 irq/matrix: Split out the CPU selection code into a helper
   51ea85abe794 Linux 4.19.26
   101e19726552 net: phylink: avoid resolving link state too early
   c80bf03569af pinctrl: max77620: Use define directive for max77620_pinconf_param values
   c014cae8e196 udlfb: handle unplug properly
   6546e1150c9b netfilter: ipt_CLUSTERIP: fix sleep-in-atomic bug in clusterip_config_entry_put()
   0c1054e0e5fd netfilter: nfnetlink_osf: add missing fmatch check
   783359cf762c netfilter: ipv6: Don't preserve original oif for loopback address
   a905b82e1ea3 netfilter: nft_compat: use-after-free when deleting targets
   1500d94e33d8 netfilter: nf_tables: fix flush after rule deletion in the same batch
   6ecc7407187c Revert "bridge: do not add port to router list when receives query with source 0.0.0.0"
   bff97255bb29 staging: erofs: unzip_vle_lz4.c,utils.c: rectify BUG_ONs
   9a6a676e16eb staging: erofs: unzip_{pagevec.h,vle.c}: rectify BUG_ONs
   bea01ea032a6 staging: erofs: {dir,inode,super}.c: rectify BUG_ONs
   60ce4b529797 staging: erofs: add a full barrier in erofs_workgroup_unfreeze
   08ec9e6892cc staging: erofs: fix `erofs_workgroup_{try_to_freeze, unfreeze}'
   b0a18cab6aeb staging: erofs: atomic_cond_read_relaxed on ref-locked workgroup
   398102f64acd staging: erofs: remove the redundant d_rehash() for the root dentry
   017f7fd75b24 staging: erofs: drop multiref support temporarily
   eb5913dfa5c1 staging: erofs: replace BUG_ON with DBG_BUGON in data.c
   34ac4c14f5d5 staging: erofs: complete error handing of z_erofs_do_read_page
   1c9d5a47c681 staging: erofs: fix a bug when appling cache strategy
   c375152be9dd net: avoid false positives in untrusted gso validation
   e93384b12443 net: validate untrusted gso packets without csum offload
   311722240ca6 kvm: x86: Return LA57 feature based on hardware capability
   6bab27b60c1a mac80211: allocate tailroom for forwarded mesh packets
   0329973ec999 drm/amd/display: Fix MST reboot/poweroff sequence
   d8a648cae347 drm/i915/fbdev: Actually configure untiled displays
   06fa18685411 gpu: drm: radeon: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime
   6834afab4bec drm/amdgpu: Set DPM_FLAG_NEVER_SKIP when enabling PM-runtime
   95aed87b9e2e ARC: define ARCH_SLAB_MINALIGN = 8
   7779566abb68 ARC: U-boot: check arguments paranoidly
   5f7814c0ae6f ARCv2: Enable unaligned access in early ASM code
   ebe390b42e60 parisc: Fix ptrace syscall number modification
   8b4b1d7cc4d0 KEYS: always initialize keyring_index_key::desc_len
   390c76534de1 KEYS: user: Align the payload buffer
   293f2dcd0d07 RDMA/srp: Rework SCSI device reset handling
   fdfd723e99e6 net/mlx5e: XDP, fix redirect resources availability check
   d569cb5ac0c4 net_sched: fix two more memory leaks in cls_tcindex
   dcd62aa6f895 net_sched: fix a memory leak in cls_tcindex
   056a17982adb net_sched: fix a race condition in tcindex_destroy()
   862600971c47 sit: check if IPv6 enabled before calling ip6_err_gen_icmpv6_unreach()
   c647233ea046 geneve: should not call rt6_lookup() when ipv6 was disabled
   7aab1e6d9edb net: socket: make bond ioctls go through compat_ifreq_ioctl()
   e37c96c11175 net: socket: fix SIOCGIFNAME in compat
   50021ba98fbd Revert "kill dev_ifsioc()"
   99f3c89669d9 Revert "socket: fix struct ifreq size in compat ioctl"
   c031b433801f team: avoid complex list operations in team_nl_cmd_options_set()
   5716864df7c4 sctp: set stream ext to NULL after freeing it in sctp_stream_outq_migrate
   e8eff9f4fc6a sctp: call gso_reset_checksum when computing checksum in sctp_gso_segment
   9e5cc54ea086 net: sfp: do not probe SFP module before we're attached
   c2ee2c708aae net/packet: fix 4gb buffer limit due to overflow check
   f3ec82db191b net/mlx5e: Don't overwrite pedit action when multiple pedit used
   4190a7bcd2af net/mlx4_en: Force CHECKSUM_NONE for short ethernet frames
   198198d5ae59 net: ena: fix race between link up and device initalization
   fd49ffa383b9 ipv6: propagate genlmsg_reply return code
   589503cb2486 inet_diag: fix reporting cgroup classid and fallback to priority
   c580bb3120cb batman-adv: fix uninit-value in batadv_interface_tx()
   ab125bd3caaf isdn: avm: Fix string plus integer warning from Clang
   6ed281fd85b6 net/mlx5e: Fix wrong (zero) TX drop counter indication for representor
   7f5491b9875a selftests: forwarding: Add a test case for externally learned FDB entries
   e26772f056b5 mlxsw: spectrum_switchdev: Do not treat static FDB entries as sticky
   4799417bb641 net: bridge: Mark FDB entries that were added by user as such
   d7ac3d3135ff mlxsw: pci: Return error on PCI reset timeout
   0aafea5d4b22 dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start
   8b92162f4e8b bpf: bpf_setsockopt: reset sock dst on SO_MARK changes
   0761f58c62d7 leds: lp5523: fix a missing check of return value of lp55xx_read
   ddb8d7c9d460 hwmon: (tmp421) Correct the misspelling of the tmp442 compatible attribute in OF device ID table
   e0d7b0a2a57a atm: he: fix sign-extension overflow on large shift
   22b304bfcb00 selftests/bpf: retry tests that expect build-id
   5c6fdd877eff bpf: zero out build_id for BPF_STACK_BUILD_ID_IP
   c4555b9f2807 bpf: don't assume build-id length is always 20 bytes
   5d6af6f9dd2f afs: Fix key refcounting in file locking code
   dc4ec1bad9e2 afs: Don't set vnode->cb_s_break in afs_validate()
   a45b037edae3 selftests: tc-testing: fix parsing of ife type
   2c69ea7f0c11 selftests: tc-testing: fix tunnel_key failure if dst_port is unspecified
   38a27ee2ea03 selftests: tc-testing: drop test on missing tunnel key id
   642e26628cf9 pvcalls-front: fix potential null dereference
   b4c5be499ba3 drm/sun4i: backend: add missing of_node_puts
   5604fdcfcfdc vhost: return EINVAL if iovecs size does not match the message size
   096a3170575f drm/amd/display: fix PME notification not working in RV desktop
   bf846e9035b5 drm/amdkfd: Don't assign dGPUs to APU topology devices
   6d09976cca02 drm/meson: add missing of_node_put
   c818b5b47181 always clear the X2APIC_ENABLE bit for PV guest
   73aa8292caba netfilter: nft_flow_offload: fix checking method of conntrack helper
   4c3b23e90307 scsi: cxgb4i: add wait_for_completion()
   b2ae824798e1 scsi: ufs: Fix geometry descriptor size
   a7ff8ada154d scsi: qedi: Add ep_state for login completion on un-reachable targets
   5641d2f8cdf2 scsi: ufs: Fix system suspend status
   2c3c854b56c6 scsi: tcmu: avoid cmd/qfull timers updated whenever a new cmd comes
   3dd0ce706e0b isdn: i4l: isdn_tty: Fix some concurrency double-free bugs
   1b8742ba98a5 net: stmmac: Prevent RX starvation in stmmac_napi_poll()
   2406055411ed net: stmmac: Fix the logic of checking if RX Watchdog must be enabled
   e8fbb5c98b04 net: stmmac: Check if CBS is supported before configuring
   fcfdb4022c82 net: stmmac: dwxgmac2: Only clear interrupts that are active
   4ef0d67c281f net: stmmac: Fix PCI module removal leak
   752f0bcb5d4d acpi/nfit: Fix race accessing memdev in nfit_get_smbios_id()
   99b490e3a0f3 powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.
   eeb370eaee98 RDMA/mthca: Clear QP objects during their allocation
   6d26c375a483 netfilter: nft_flow_offload: fix interaction with vrf slave device
   2f3480e34079 bpf: fix panic in stack_map_get_build_id() on i386 and arm32
   06b919a51772 pvcalls-front: Avoid get_free_pages(GFP_KERNEL) under spinlock
   26354d538df3 bpf: correctly set initial window on active Fast Open sender
   535be4692ffc netfilter: nft_flow_offload: Fix reverse route lookup
   703f4f653723 MIPS: jazz: fix 64bit build
   4047a7ad3b2e include/linux/compiler*.h: fix OPTIMIZER_HIDE_VAR
   93f3f4c0fdeb scsi: isci: initialize shost fully before calling scsi_add_host()
   14285a4a8487 scsi: qla4xxx: check return code of qla4xxx_copy_from_fwddb_param
   95d4f951e7bb netfilter: nf_tables: fix leaking object reference count
   e9255c284270 selftests: forwarding: Add a test for VLAN deletion
   0c596ab039d3 mlxsw: spectrum_acl: Add cleanup after C-TCAM update error condition
   7169938b07db xprtrdma: Double free in rpcrdma_sendctxs_create()
   ac3be9eb875f MIPS: ath79: Enable OF serial ports in the default config
   2ac1c6e71ee7 net/mlx4: Get rid of page operation after dma_alloc_coherent
   b5f7ead81de3 watchdog: mt7621_wdt/rt2880_wdt: Fix compilation problem
   fc396828a4e6 selftests/bpf: Test [::] -> [::1] rewrite in sys_sendmsg in test_sock_addr
   8b0d641e6152 bpf: Fix [::] -> [::1] rewrite in sys_sendmsg
   6bcf4e0703b1 net: hns: Fix use after free identified by SLUB debug
   08eb17ec3c1b qed: Fix qed_ll2_post_rx_buffer_notify_fw() by adding a write memory barrier
   1fa0cf450c88 qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count
   bc4e383da82b xen/pvcalls: remove set but not used variable 'intf'
   7fc59021c1f5 mfd: mc13xxx: Fix a missing check of a register-read failure
   e42296ae45a6 mfd: tps65218: Use devm_regmap_add_irq_chip and clean up error path in probe()
   beaf260ec820 mfd: cros_ec_dev: Add missing mfd_remove_devices() call in remove
   ef1dc506cb50 mfd: axp20x: Add supported cells for AXP803
   48d17f5f9d74 mfd: axp20x: Re-align MFD cell entries
   49542ac0c460 mfd: axp20x: Add AC power supply cell for AXP813
   45acbfa661bb mfd: wm5110: Add missing ASRC rate register
   467829cc83a5 mfd: qcom_rpm: write fw_version to CTRL_REG
   eb617dc67878 mfd: bd9571mwv: Add volatile register to make DVFS work
   2990096c88cb mfd: ab8500-core: Return zero in get_register_interruptible()
   14da7f159711 mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported
   9bf045ff761a mfd: db8500-prcmu: Fix some section annotations
   232860c51e78 mfd: twl-core: Fix section annotations on {,un}protect_pm_master
   1a4c9c4e0107 pvcalls-back: set -ENOTCONN in pvcalls_conn_back_read
   05ac8a683962 pvcalls-front: properly allocate sk
   81b8519de1b4 pvcalls-front: don't try to free unallocated rings
   9699f7a70eb8 pvcalls-front: read all data before closing the connection
   6bdf535f4aaf mfd: ti_am335x_tscadc: Use PLATFORM_DEVID_AUTO while registering mfd cells
   d87fa3f7711b backlight: pwm_bl: Fix devicetree parsing with auto-generated brightness tables
   f812bec554d0 KEYS: allow reaching the keys quotas exactly
   cbe43c3d35f5 ALSA: hda/realtek: Disable PC beep in passthrough on alc285
   c607b6d19859 ALSA: hda/realtek - Headset microphone and internal speaker support for System76 oryp5
   a89e0d5c603a proc, oom: do not report alien mms when setting oom_score_adj
   c7ddb2689d7a numa: change get_mempolicy() to use nr_node_ids instead of MAX_NUMNODES
   b8d7fb1efb96 ceph: avoid repeatedly adding inode to mdsc->snap_flush_list
   c74260710e62 libceph: handle an empty authorize reply
   a35b18616a73 mac80211: Free mpath object when rhashtable insertion fails
   007719caa958 mac80211: Use linked list instead of rhashtable walk for mesh tables
   af900ac68bb7 mac80211: Restore vif beacon interval if start ap fails
   cd10b02afb7c gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2
   a83243a85827 gpio: MT7621: use a per instance irq_chip structure
   4db02ac96841 MIPS: eBPF: Always return sign extended 32b values
   b5e57dbb5a0e tracing: Fix number of entries in trace header
   775ab7d3d12b ARM: 8834/1: Fix: kprobes: optimized kprobes illegal instruction
   eb1e5b1a64ee Linux 4.19.25
   eed11c69d275 ax25: fix possible use-after-free
   0137890a4a8f mISDN: fix a race in dev_expire_timer()
   74e1493e00f2 net/x25: do not hold the cpu too long in x25_new_lci()
   6a3f7237871c netfilter: nf_nat_snmp_basic: add missing length checks in ASN.1 cbs
   a7e0b9680aec sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
   bc5d97268c0c PCI: Fix __initdata issue with "pci=disable_acs_redir" parameter
   f9e6a18a44de mmc: meson-gx: fix interrupt name
   88bfdab618df scsi: target/core: Use kmem_cache_free() instead of kfree()
   82f39f021944 hwmon: (lm80) Fix missing unlock on error in set_fan_div()
   718ccdb3ea31 net: Do not allocate page fragments that are not skb aligned
   1bdb1675f33f tcp: tcp_v4_err() should be more careful
   df1b583c1654 tcp: clear icsk_backoff in tcp_write_queue_purge()
   56e97e70f7e3 net: Add header for usage of fls64()
   a3b6fa373adc vxlan: test dev->flags & IFF_UP before calling netif_rx()
   03a6fc5712e8 vsock: cope with memory allocation failure at socket creation time
   9a752d37292b vhost: correctly check the return value of translate_desc() in log_used()
   1e3300eb2189 sky2: Increase D3 delay again
   6e04b8210f96 net: stmmac: handle endianness in dwmac4_get_timestamp
   176ab70112c5 net: stmmac: Fix a race in EEE enable callback
   618bd2c202b4 net: phy: xgmiitorgmii: Support generic PHY status read
   1764111c9972 net: ipv4: use a dedicated counter for icmp_v4 redirect packets
   4523bc864077 net: ip6_gre: initialize erspan_ver just for erspan tunnels
   4c1b91b82c43 net: fix IPv6 prefix route residue
   b2975c2e8342 net: Fix for_each_netdev_feature on Big endian
   eb5e6869125f net: crypto set sk to NULL when af_alg_release.
   bd1488b8d476 mlxsw: __mlxsw_sp_port_headroom_set(): Fix a use of local variable
   017d511085a3 dsa: mv88e6xxx: Ensure all pending interrupts are handled prior to exit
   bbbefe815f50 af_packet: fix raw sockets over 6in4 tunnel
   f287634fe321 Linux 4.19.24
   dd5f4d067a2c mm: proc: smaps_rollup: fix pss_locked calculation
   6a204bd5f1e6 drm/i915: Prevent a race during I915_GEM_MMAP ioctl with WC set
   4631e0b4cf46 drm/i915: Block fbdev HPD processing during suspend
   de48b5f3d0ef drm/vkms: Fix license inconsistent
   3312e0ae2faf drm: Use array_size() when creating lease
   029a38f8211f dm thin: fix bug where bio that overwrites thin block ignores FUA
   3ec93eb3808f dm crypt: don't overallocate the integrity tag space
   b2778ef8b906 x86/a.out: Clear the dump structure initially
   ddf966410ace md/raid1: don't clear bitmap bits on interrupted recovery.
   a2b3e2c0f576 signal: Restore the stop PTRACE_EVENT_EXIT
   0396cf55657c scsi: sd: fix entropy gathering for most rotational disks
   cdc356855685 x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls
   45649b999632 tracing/uprobes: Fix output for multiple string arguments
   88e1e66a2a1a s390/zcrypt: fix specification exception on z196 during ap probe
   a3fadeff7122 alpha: Fix Eiger NR_IRQS to 128
   c56eef69ba24 alpha: fix page fault handling for r16-r18 targets
   657fbf79a880 Revert "mm: slowly shrink slabs with a relatively small number of objects"
   8d485d3a628b Revert "mm: don't reclaim inodes with many attached pages"
   93769fef8d61 Revert "nfsd4: return default lease period"
   17f4ddaa71f7 Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780
   3bd120956db2 Input: bma150 - register input device after setting private data
   c4609e81e0b7 mmc: block: handle complete_work on separate workqueue
   248a2f3cbebe mmc: sunxi: Filter out unsupported modes declared in the device tree
   0d41c03c41ec kvm: vmx: Fix entry number check for add_atomic_switch_msr()
   c58f010bebfd x86/kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is available
   2ab1483852b3 riscv: Add pte bit to distinguish swap from invalid
   22d6e72bb566 tools uapi: fix Alpha support
   49720ef58e89 ASoC: hdmi-codec: fix oops on re-probe
   bdd448108d85 ALSA: usb-audio: Fix implicit fb endpoint setup by quirk
   8715ba45d008 ALSA: hda - Add quirk for HP EliteBook 840 G5
   74cbb754d63f perf/x86: Add check_period PMU callback
   d10e77c26022 perf/core: Fix impossible ring-buffer sizes warning
   1b1de8b95b97 ARM: OMAP5+: Fix inverted nirq pin interrupts with irq_set_type
   d9a974fdaaa3 Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK
   2abf1ce44e28 Revert "Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G"
   ede7fb452221 gpio: mxc: move gpio noirq suspend/resume to syscore phase
   b1765ebd9d12 CIFS: Do not assume one credit for async responses
   6804b3ecbe20 kvm: sev: Fail KVM_SEV_INIT if already initialized
   63715c1f0a67 cifs: Limit memory used by lock request calls to a page
   4b709998564b drm/nouveau/falcon: avoid touching registers if engine is off
   85a088cc4c8e drm/nouveau: Don't disable polling in fallback mode
   0a87c5333c90 gpio: pl061: handle failed allocations
   5cf199f8d03f ARM: dts: kirkwood: Fix polarity of GPIO fan lines
   6e7136c1c79f ARM: dts: da850-lcdk: Correct the sound card name
   8bea93c89bc8 ARM: dts: da850-lcdk: Correct the audio codec regulators
   f3b61cba316a ARM: dts: da850-evm: Correct the sound card name
   7c06896ea134 ARM: dts: da850-evm: Correct the audio codec regulators
   46bf9a8c8bb0 drm/amdgpu: set WRITE_BURST_LENGTH to 64B to workaround SDMA1 hang
   2f5581e82fe4 nvme: pad fake subsys NQN vid and ssvid with zeros
   6c27b5230e35 nvme-multipath: zero out ANA log buffer
   095cfdf857a3 nvme-pci: fix out of bounds access in nvme_cqe_pending
   1e746fe215eb nvme-pci: use the same attributes when freeing host_mem_desc_bufs.
   9e4a7beedf43 drm/bridge: tc358767: fix output H/V syncs
   0c13400bc743 drm/bridge: tc358767: reject modes which require too much BW
   ad9675e47b49 drm/bridge: tc358767: fix initial DP0/1_SRCCTRL value
   9ac48b301c2a drm/bridge: tc358767: fix single lane configuration
   32f833a85c9a drm/bridge: tc358767: add defines for DP1_SRCCTRL & PHY_2LANE
   d180c28698a1 drm/bridge: tc358767: add bus flags
   c6f27cdd4fca cpufreq: check if policy is inactive early in __cpufreq_get()
   fa92c4e6b244 riscv: fix trace_sys_exit hook
   da78c8cda5b9 tools uapi: fix RISC-V 64-bit support
   46f0e6984c84 perf test shell: Use a fallback to get the pathname in vfs_getname
   d20bfcb55003 perf report: Fix wrong iteration count in --branch-history
   db8c9ab3f47f ACPI: NUMA: Use correct type for printing addresses on i386-PAE
   f749f9702c98 drm/amdgpu/sriov:Correct pfvf exchange logic
   bdd8fd8a2efe ARM: fix the cockup in the previous patch
   e7a8dabe92f1 ARM: ensure that processor vtables is not lost after boot
   4645c6ccbd7a ARM: spectre-v2: per-CPU vtables to work around big.Little systems
   b11fd96c0eca ARM: add PROC_VTABLE and PROC_TABLE macros
   06b5ec99f2ee ARM: clean up per-processor check_bugs method call
   8a4cf73fed23 ARM: split out processor lookup
   e3e1b2a20ad3 ARM: make lookup_processor_type() non-__init
   19c186ab4ea7 ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc
   042b172201a8 ARM: 8797/1: spectre-v1.1: harden __copy_to_user
   b7a95704e922 ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization
   beaf90b2d280 ARM: 8795/1: spectre-v1.1: use put_user() for __put_user()
   39b282ade6d0 ARM: 8794/1: uaccess: Prevent speculative use of the current addr_limit
   ba22d5941823 ARM: 8793/1: signal: replace __put_user_error with __put_user
   73dad6efbe31 ARM: 8792/1: oabi-compat: copy oabi events using __copy_to_user()
   9cad5755b6e2 ARM: 8791/1: vfp: use __copy_to_user() when saving VFP state
   3a59b35c3cb8 ARM: 8790/1: signal: always use __copy_to_user to save iwmmxt context
   ec4842816f04 ARM: 8789/1: signal: copy registers using __copy_to_user()
   80c8452ad45f blk-mq: fix a hung issue when fsync
   d4aaa45f2d98 eeprom: at24: add support for 24c2048
   57e85c67d033 dt-bindings: eeprom: at24: add "atmel,24c2048" compatible string
   67d52fae61c1 Linux 4.19.23
   c2109f05b7fd Revert "exec: load_script: don't blindly truncate shebang string"
   6f8c14ee7b6f Linux 4.19.22
   9b65b18f817d svcrdma: Remove max_sge check at connect time
   4d376ab80483 svcrdma: Reduce max_send_sges
   4dd911f1e38e batman-adv: Force mac header to start of data on xmit
   a21222305015 batman-adv: Avoid WARN on net_device without parent in netns
   9d84284cc83b xfrm: refine validation of template and selector families
   f7fb58a78a63 libceph: avoid KEEPALIVE_PENDING races in ceph_con_keepalive()
   28f49e768d21 Revert "ext4: use ext4_write_inode() when fsyncing w/o a journal"
   8b8f7b04f868 xfrm: Make set-mark default behavior backward compatible
   2440f3cebcb0 SUNRPC: Always drop the XPRT_LOCK on XPRT_CLOSE_WAIT
   8274c3d4895b drm/vmwgfx: Return error code from vmw_execbuf_copy_fence_user
   d74ff5f67849 drm/vmwgfx: Fix setting of dma masks
   c2a354ce5458 drm/i915: always return something on DDI clock selection
   b81afe37ff55 drm/amd/powerplay: Fix missing break in switch
   56d3178666fb drm/modes: Prevent division by zero htotal
   a4c77aac0d5c mac80211: ensure that mgmt tx skbs have tailroom for encryption
   1ce0fcebff24 mic: vop: Fix use-after-free on remove
   49c473e1237e powerpc/radix: Fix kernel crash with mremap()
   d4e7c9420edd firmware: arm_scmi: provide the mandatory device release callback
   fe3dabb6a4b1 ARM: dts: da850: fix interrupt numbers for clocksource
   33bd0949212b ARM: tango: Improve ARCH_MULTIPLATFORM compatibility
   569051e12220 ARM: iop32x/n2100: fix PCI IRQ mapping
   f5b4de051294 MIPS: VDSO: Include $(ccflags-vdso) in o32,n32 .lds builds
   814e44507f96 mips: loongson64: remove unreachable(), fix loongson_poweroff().
   e32ba28eddad MIPS: VDSO: Use same -m%-float cflag as the kernel proper
   264b26201a22 MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled
   384cc5fd6727 mips: cm: reprime error cause
   7e44aab92783 tracing: uprobes: Fix typo in pr_fmt string
   9b66753c68a0 pinctrl: cherryview: fix Strago DMI workaround
   93f6fb609874 pinctrl: sunxi: Correct number of IRQ banks on H6 main pin controller
   c619140d4843 debugfs: fix debugfs_rename parameter checking
   0c548bab17c2 samples: mei: use /dev/mei0 instead of /dev/mei
   edd8fb55d7f1 mei: me: add ice lake point device id.
   db5f65bfc1fa misc: vexpress: Off by one in vexpress_syscfg_exec()
   959e46afeca1 signal: Better detection of synchronous signals
   f681f2684f14 signal: Always notice exiting tasks
   3e17af253e62 iio: ti-ads8688: Update buffer allocation for timestamps
   af770a1558c4 iio: chemical: atlas-ph-sensor: correct IIO_TEMP values to millicelsius
   38d28640db5a iio: adc: axp288: Fix TS-pin handling
   5b9ebf5bdf0a tools: iio: iio_generic_buffer: make num_loops signed
   88ff6a0b9975 libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD
   7c5d650ad5a2 mtd: rawnand: gpmi: fix MX28 bus master lockup problem
   a72040a9d929 mtd: spinand: Fix the error/cleanup path in spinand_init()
   b3ce77578374 mtd: spinand: Handle the case where PROGRAM LOAD does not reset the cache
   3ca59bf1fb7c mtd: Make sure mtd->erasesize is valid even if the partition is of size 0
   43d3d5141515 Linux 4.19.21
   b00d9ff756b6 ath9k: dynack: check da->enabled first in sampling routines
   14acca60aee4 ath9k: dynack: make ewma estimation faster
   8b71aa1a3bb8 perf/x86/intel: Delay memory deallocation until x86_pmu_dead_cpu()
   fc3f15c672f6 IB/hfi1: Add limit test for RC/UC send via loopback
   29706d59abdf cacheinfo: Keep the old value if of_property_read_u32 fails
   c287265bfa65 serial: sh-sci: Do not free irqs that have already been freed
   57a3ef4dd520 serial: 8250_pci: Make PCI class test non fatal
   f50a8b34d7e4 serial: fix race between flush_to_ldisc and tty_open
   d5cb494b9613 perf tests evsel-tp-sched: Fix bitwise operator
   1aeeb176683d perf/core: Don't WARN() for impossible ring-buffer sizes
   5b27e3bc5a2b x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out()
   4e6bfd756f8e perf/x86/intel/uncore: Add Node ID mask
   97a7fa90eae9 cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVM
   236fd677125f KVM: nVMX: unconditionally cancel preemption timer in free_nested (CVE-2019-7221)
   24b027d2b138 kvm: fix kvm_ioctl_create_device() reference counting (CVE-2019-6974)
   5a45d3720b54 KVM: x86: work around leak of uninitialized stack contents (CVE-2019-7222)
   4cf73d54792b scsi: aic94xx: fix module loading
   5e91ba179a86 scsi: cxlflash: Prevent deadlock when adapter probe fails
   bbd5d7adde3b staging: speakup: fix tty-operation NULL derefs
   bc4162577c1a usb: gadget: musb: fix short isoc packets with inventra dma
   77541a0b0413 usb: gadget: udc: net2272: Fix bitwise and boolean operations
   19bc535e3729 usb: dwc3: gadget: Handle 0 xfer length for OUT EP
   a8438c38d7ce usb: phy: am335x: fix race condition in _probe
   8459f1d6ff62 irqchip/gic-v3-its: Plug allocation race for devices sharing a DevID
   ee73954d9a21 futex: Handle early deadlock return correctly
   4a9e4bcda782 dmaengine: imx-dma: fix wrong callback invoke
   84c1d5627597 dmaengine: bcm2835: Fix abort of transactions
   916eb6bd8da3 dmaengine: bcm2835: Fix interrupt race on RT
   c70374ce418e HID: debug: fix the ring buffer implementation
   6ccc9e1128e5 fuse: handle zero sized retrieve correctly
   f99027ab63be fuse: decrement NR_WRITEBACK_TEMP on the right page
   48be0eb05e7e fuse: call pipe_buf_release() under pipe lock
   a57ab2e71098 ALSA: hda/realtek - Headset microphone support for System76 darp5
   7cb468772a10 ALSA: hda/realtek - Use a common helper for hp pin reference
   65c9a62822f6 ALSA: hda/realtek - Fix lose hp_pins for disable auto mute
   7fd6d8193b85 ALSA: hda - Serialize codec registrations
   2a0aba551610 ALSA: usb-audio: Add support for new T+A USB DAC
   93e7d51029bd ALSA: compress: Fix stop handling on compressed capture streams
   1f78052b0991 xfs: eof trim writeback mapping as soon as it is cached
   1f1eb00c6ebb net/mlx5e: FPGA, fix Innova IPsec TX offload data path performance
   9143e1dcad36 virtio_net: Account for tx bytes and packets on sending xdp_frames
   c8ba1f7989c6 skge: potential memory corruption in skge_get_regs()
   7c2361308e17 sctp: walk the list of asoc safely
   7cd4e833761f sctp: check and update stream->out_curr when allocating stream_out
   21b8697e605a rxrpc: bad unlock balance in rxrpc_recvmsg
   7c1a5ce672f7 Revert "net: phy: marvell: avoid pause mode on SGMII-to-Copper for 88e151x"
   f2f054c485db rds: fix refcount bug in rds_sock_addref
   2c24ed77a8c0 net: systemport: Fix WoL with password after deep sleep
   b72ea6ec83be net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet frames
   8104a5e73f1f net: dsa: slave: Don't propagate flag changes on down slave interfaces
   27a2fa009817 net: dsa: mv88e6xxx: Fix counting of ATU violations
   c8dfab5c610f net: dsa: Fix NULL checking in dsa_slave_set_eee()
   98cedccb8654 net: dsa: Fix lockdep false positive splat
   8e1428c9b39f net: dp83640: expire old TX-skb
   81733c642df8 lib/test_rhashtable: Make test_insert_dup() allocate its hash table dynamically
   cedc42f5d1e1 enic: fix checksum validation for IPv6
   15ed55e3b1a5 dccp: fool proof ccid_hc_[rt]x_parse_options()
   56ea9164467b thermal: hwmon: inline helpers when CONFIG_THERMAL_HWMON is not set
   0c802cbaa6db xfs: fix inverted return from xfs_btree_sblock_verify_crc
   c6c20af69c61 xfs: fix PAGE_MASK usage in xfs_free_file_space
   757332c643ca fs/xfs: fix f_ffree value for statfs when project quota is set
   886f0de16239 xfs: delalloc -> unwritten COW fork allocation can go wrong
   5a7455e922b4 xfs: fix transient reference count error in xfs_buf_resubmit_failed_buffers
   c3a66bf4ce40 xfs: fix shared extent data corruption due to missing cow reservation
   a96f3a55143a xfs: fix overflow in xfs_attr3_leaf_verify
   b6095cbd7841 xfs: Fix error code in 'xfs_ioc_getbmap()'
   a585ac0e767b xfs: cancel COW blocks before swapext
   62c7c0a8709b xfs: Fix xqmstats offsets in /proc/fs/xfs/xqmstat
   aacb2ab111c5 scripts/gdb: fix lx-version string output
   58e57bcbc1fb kernel/kcov.c: mark write_comp_data() as notrace
   ab5f74071257 exec: load_script: don't blindly truncate shebang string
   9cb8f8088d9a fs/epoll: drop ovflist branch prediction
   f0d32c54ff53 kernel/hung_task.c: force console verbose before panic
   9beb84c027f1 proc/sysctl: fix return error for proc_doulongvec_minmax()
   9c8939b03bac kernel/hung_task.c: break RCU locks based on jiffies
   d69ad39ad5d3 arm64/sve: ptrace: Fix SVE_PT_REGS_OFFSET definition
   d921bb16259e HID: lenovo: Add checks to fix of_led_classdev_register
   ec8f73c268a5 thermal: generic-adc: Fix adc to temp interpolation
   89c183580b4f PCI: imx: Enable MSI from downstream components
   3818c29a65d6 kdb: Don't back trace on a cpu that didn't round up
   6a7c0215d28c thermal: bcm2835: enable hwmon explicitly
   295b3e2af87c block/swim3: Fix -EBUSY error when re-opening device after unmount
   d579abcacb0b fsl/fman: Use GFP_ATOMIC in {memac,tgec}_add_hash_mac_address()
   711b2e7fc02f gdrom: fix a memory leak bug
   b67e3130a9ba isdn: hisax: hfc_pci: Fix a possible concurrency use-after-free bug in HFCPCI_l1hw()
   3b3ee499c4b5 zram: fix lockdep warning of free block handling
   f73c77535f67 mm/page_alloc.c: don't call kasan_free_pages() at deferred mem init
   066206bc6e9e ocfs2: improve ocfs2 Makefile
   69e63b49ddf9 ocfs2: don't clear bh uptodate for block read
   dc8bd7ed080d arch/sh/boards/mach-kfr2r09/setup.c: fix struct mtd_oob_ops build warning
   fa3c7c098c6a scripts/decode_stacktrace: only strip base path when a prefix of the path
   395cbb9a52ba perf python: Do not force closing original perf descriptor in evlist.get_pollfd()
   4b5abffd63eb cgroup: fix parsing empty mount option string
   df13b0369bc0 f2fs: fix sbi->extent_list corruption issue
   4d6b5b08f19f niu: fix missing checks of niu_pci_eeprom_read
   1e480ee6c0eb um: Avoid marking pages with "changed protection"
   69e7f87745e7 f2fs: fix use-after-free issue when accessing sbi->stat_info
   5d3b4cd8734b cifs: check ntwrk_buf_start for NULL before dereferencing it
   2cdf5246df0e MIPS: ralink: Select CONFIG_CPU_MIPSR2_IRQ_VI on MT7620/8
   1dc571ff4da2 crypto: ux500 - Use proper enum in hash_set_dma_transfer
   2b020c09a8c9 crypto: ux500 - Use proper enum in cryp_set_dma_transfer
   6201e8add97a seq_buf: Make seq_buf_puts() null-terminate the buffer
   040f76976ec5 hwmon: (lm80) fix a missing check of bus read in lm80 probe
   8dcf84789e31 hwmon: (lm80) fix a missing check of the status of SMBus read
   303d29d8f0cf perf build: Don't unconditionally link the libbfd feature test to -liberty and -lz
   8c642d71906b NFS: nfs_compare_mount_options always compare auth flavors.
   ad9241f24f15 kvm: Change offset in kvm_write_guest_offset_cached to unsigned
   fc090081d76a powerpc/fadump: Do not allow hot-remove memory from fadump reserved area.
   84a4572bf277 KVM: x86: svm: report MSR_IA32_MCG_EXT_CTL as unsupported
   a41cd69e4408 pinctrl: meson: meson8b: fix the GPIO function for the GPIOAO pins
   098fa4897213 pinctrl: meson: meson8: fix the GPIO function for the GPIOAO pins
   279eb1d94044 powerpc/mm: Fix reporting of kernel execute faults on the 8xx
   9e9435bc0bd4 fbdev: fbcon: Fix unregister crash when more than one framebuffer
   00e391ec584f ACPI/APEI: Clear GHES block_status before panic()
   d657e82f4e67 igb: Fix an issue that PME is not enabled during runtime suspend
   d01b26e77af8 ice: Do not enable NAPI on q_vectors that have no rings
   8a35f678e603 i40e: define proper net_device::neigh_priv_len
   6584e6c00435 fbdev: fbmem: behave better with small rotated displays and many CPUs
   54541a75bfb6 md: fix raid10 hang issue caused by barrier
   8d1385653698 video: clps711x-fb: release disp device node in probe()
   8f0132db09ad drm/amd/display: validate extended dongle caps
   bd9218ab042a drbd: Avoid Clang warning about pointless switch statment
   66345d5392a7 drbd: skip spurious timeout (ping-timeo) when failing promote
   af70af5b69a2 drbd: disconnect, if the wrong UUIDs are attached on a connected peer
   3d67b428ab20 drbd: narrow rcu_read_lock in drbd_sync_handshake
   8d317b0aae25 mlx5: update timecounter at least twice per counter overflow
   49f182e6be8d powerpc/powernv/ioda: Allocate indirect TCE levels of cached userspace addresses on demand
   394f925664bd iwlwifi: mvm: fix setting HE ppe FW config
   5a0c7fb5332a powerpc/perf: Fix thresholding counter data for unknown type
   d5e2df9ff507 net: hns3: add max vector number check for pf
   86760e0dfe36 cw1200: Fix concurrency use-after-free bugs in cw1200_hw_scan()
   993ba5d2b6c6 scsi: smartpqi: increase fw status register read timeout
   32ab5d8a7def scsi: smartpqi: correct volume status
   8b6f057f6f55 scsi: smartpqi: correct host serial num for ssa
   b124f08677c9 mlxsw: spectrum: Properly cleanup LAG uppers when removing port from LAG
   1552557b300b xfrm6_tunnel: Fix spi check in __xfrm6_tunnel_alloc_spi
   e5af9ce365ad mac80211: fix radiotap vendor presence bitmap handling
   e12194317d17 powerpc/uaccess: fix warning/error with access_ok()
   3564fa62a8d7 drm/amd/display: fix YCbCr420 blank color
   38f18b370546 Bluetooth: hci_bcm: Handle deferred probing for the clock supply
   1baca23ade65 drm/amd/display: Add retry to read ddc_clock pin
   a756020008e8 net: hns3: fix incomplete uninitialization of IRQ in the hns3_nic_uninit_vector_data()
   7c54ba4a5fd9 percpu: convert spin_lock_irq to spin_lock_irqsave.
   34f82d19c24b perf tools: Cast off_t to s64 to avoid warning on bionic libc
   7a311dca7708 perf header: Fix up argument to ctime()
   05bc28a1f991 usb: musb: dsps: fix runtime pm for peripheral mode
   2a86649dce14 usb: musb: dsps: fix otg state machine
   c709eeb02c04 arm64: KVM: Skip MMIO insn after emulation
   086ed19ecf79 livepatch: check kzalloc return values
   1157c2683c5b tools/power/x86/intel_pstate_tracer: Fix non root execution for post processing a trace file
   4cd197bfa6e1 bnxt_en: Disable MSIX before re-reserving NQs/CMPL rings.
   ae93f5f803ae i2c: sh_mobile: Add support for r8a774c0 (RZ/G2E)
   19d4c0fd85ac perf probe: Fix unchecked usage of strncpy()
   f5d5b5434912 btrfs: use tagged writepage to mitigate livelock of snapshot
   4d5410609151 perf header: Fix unchecked usage of strncpy()
   d177e25c9c3a perf dso: Fix unchecked usage of strncpy()
   630e972bc405 perf test: Fix perf_event_attr test failure
   283d0464734e tty: serial: samsung: Properly set flags in autoCTS mode
   193de9820598 serial: sh-sci: Resume PIO in sci_rx_interrupt() on DMA failure
   d71126505dba serial: sh-sci: Fix locking in sci_submit_rx()
   3733632e8bc0 btrfs: harden agaist duplicate fsid on scanned devices
   9790abdf8856 usb: renesas_usbhs: add support for RZ/G2E
   33d127eae60d mmc: jz4740: Get CD/WP GPIOs from descriptors
   3d49c3d76df7 mmc: sdhci-xenon: Fix timeout checks
   8ee43469ce6e mmc: sdhci-omap: Fix timeout checks
   1b2b6ce63058 mmc: sdhci-of-esdhc: Fix timeout checks
   759e641acdd9 memstick: Prevent memstick host from getting runtime suspended during card detection
   35e580cb6bc4 mmc: meson-mx-sdio: check devm_kasprintf for failure
   ffc1770245c7 mmc: bcm2835: reset host on timeout
   3d71a02198ac mmc: bcm2835: Recover from MMC_SEND_EXT_CSD
   43b7fa3b31b9 KVM: PPC: Book3S: Only report KVM_CAP_SPAPR_TCE_VFIO on powernv machines
   c4621bec5e0d ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M
   8b4116f08988 ARM: pxa: avoid section mismatch warning
   1a2500177b13 selftests/bpf: use __bpf_constant_htons in test_prog.c
   3332bf15bfde switchtec: Fix SWITCHTEC_IOCTL_EVENT_IDX_ALL flags overwrite
   6a1d712b4381 udf: Fix BUG on corrupted inode
   702286d3bd6e mlxsw: spectrum_acl: Limit priority value
   e640039aeeff phy: sun4i-usb: add support for missing USB PHY index
   b5c21b7e3130 i2c-axxia: check for error conditions first
   ccb7b328361a lightnvm: pblk: add lock protection to list operations
   10014ff04a4e lightnvm: pblk: fix resubmission of overwritten write err lbas
   3d786b91cd59 drm/msm: dpu: Only check flush register against pending flushes
   ba833ec5b0c8 drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver
   39d4c1c0dd76 tee: optee: avoid possible double list_del()
   a1ea1fb46fbf OPP: Use opp_table->regulators to verify no regulator case
   4c67633d4756 cpuidle: big.LITTLE: fix refcount leak
   c443284c0d7b platform/x86: mlx-platform: Fix tachometer registers
   ea225de3bd66 clk: imx6sl: ensure MMDC CH0 handshake is bypassed
   1f16ac59e7e5 sata_rcar: fix deferred probing
   710e1e561630 iommu/arm-smmu-v3: Use explicit mb() when moving cons pointer
   61010bd9811d iommu/arm-smmu: Add support for qcom,smmu-v2 variant
   00b0fbb8f0e3 iommu/arm-smmu-v3: Avoid memory corruption from Hisilicon MSI payloads
   b59d70c07ab7 usb: dwc3: gadget: Disable CSP for stream OUT ep
   dfb22b6810c7 ARM: dts: imx51-zii-rdu1: Do not specify "power-gpio" for hpa1
   b5bb2cad5264 watchdog: renesas_wdt: don't set divider while watchdog is running
   f06d48b0a4b9 ARM: dts: Fix up the D-Link DIR-685 MTD partition info
   72d18db66d85 media: coda: fix H.264 deblocking filter controls
   8cc0518a49b3 mips: bpf: fix encoding bug for mm_srlv32_op
   463499c27cf9 ARM: dts: Fix OMAP4430 SDP Ethernet startup
   3a6f1afa7be1 iommu/amd: Fix amd_iommu=force_isolation
   389de86c1045 pinctrl: sx150x: handle failure case of devm_kstrdup
   26e62a227324 gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack
   6c95c2eebead gpio: mt7621: report failure of devm_kasprintf()
   7eff52c36cfb usb: dwc3: trace: add missing break statement to make compiler happy
   91e46947d02f IB/hfi1: Unreserve a reserved request when it is completed
   f7debeebcdeb kobject: return error code if writing /sys/.../uevent fails
   80eac1847950 driver core: Move async_synchronize_full call
   1de47c06b3a3 tipc: fix node keep alive interval calculation
   a42bbdcf538d drm/amdgpu/powerplay: fix clock stretcher limits on polaris (v2)
   fb1ab6ac62b9 media: imx274: select REGMAP_I2C
   1bf188456312 clk: sunxi-ng: a33: Set CLK_SET_RATE_PARENT for all audio module clocks
   322a53b8f9b0 usb: mtu3: fix the issue about SetFeature(U1/U2_Enable)
   0105d80dd157 timekeeping: Use proper seqcount initializer
   263b0f92be96 usb: hub: delay hub autosuspend if USB3 port is still link training
   272e858c2293 usb: dwc2: Disable power down feature on Samsung SoCs
   93a6d3464023 usb: dwc3: Correct the logic for checking TRB full in __dwc3_prepare_one_trb()
   64257468feed xtensa: xtfpga.dtsi: fix dtc warnings about SPI
   54e71cb05054 smack: fix access permissions for keyring
   60d803577519 media: DaVinci-VPBE: fix error handling in vpbe_initialize()
   832819d11d4a media: i2c: TDA1997x: select CONFIG_HDMI
   c91ff9ab06eb x86/fpu: Add might_fault() to user_insn()
   9d79635b6267 ARM: dts: aspeed: add missing memory unit-address
   4f770b4ba564 ARM: dts: mmp2: fix TWSI2
   5214c28b688a drm/v3d: Fix prime imports of buffers from other drivers.
   14743f8591a7 arm64: ftrace: don't adjust the LR value
   5f4161ae9a75 mt76x0: dfs: fix IBI_R11 configuration on non-radar channels
   87ae793221cc s390/zcrypt: improve special ap message cmd handling
   eca31fc35afb firmware/efi: Add NULL pointer checks in efivars API functions
   9c74cd4afbd3 thermal: Fix locking in cooling device sysfs update cur_state
   f8a33ec5367e Thermal: do not clear passive state during system sleep
   ed0526b271b9 arm64: io: Ensure value passed to __iormb() is held in a 64-bit register
   68b4512ca6fc perf: arm_spe: handle devm_kasprintf() failure
   af6db7e751ff drm: Clear state->acquire_ctx before leaving drm_atomic_helper_commit_duplicated_state()
   2f0fb76b3e41 nfsd4: fix crash on writing v4_end_grace before nfsd startup
   50d4088c003b soc: bcm: brcmstb: Don't leak device tree node reference
   3fbba4e55051 sunvdc: Do not spin in an infinite loop when vio_ldc_send() returns EAGAIN
   d65fbc4fe9a9 net: aquantia: return 'err' if set MPI_DEINIT state fails
   dd46de15d830 arm64: io: Ensure calls to delay routines are ordered against prior readX()
   8543f5fce30f i2c: sh_mobile: add support for r8a77990 (R-Car E3)
   d54d612a73a6 f2fs: fix wrong return value of f2fs_acl_create
   ddab3d0a38a5 f2fs: fix race between write_checkpoint and write_begin
   c96d2b9d35b9 f2fs: move dir data flush to write checkpoint process
   4acd5adecf20 staging: pi433: fix potential null dereference
   6eaf5b9e6e7c ACPI: SPCR: Consider baud rate 0 as preconfigured state
   b945ddacf4ab media: adv*/tc358743/ths8200: fill in min width/height/pixelclock
   9c0403537ece iio: accel: kxcjk1013: Add KIOX010A ACPI Hardware-ID
   687901c64686 iio: adc: meson-saradc: fix internal clock names
   050f7e22f6a5 iio: adc: meson-saradc: check for devm_kasprintf failure
   0f9dff37d027 powerpc/32: Add .data..Lubsan_data*/.data..Lubsan_type* sections explicitly
   cefe8d2c0863 dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll
   3b07abf1cedf ptp: Fix pass zero to ERR_PTR() in ptp_clock_register
   2dbfc1cdb68a clk: meson: meson8b: mark the CPU clock as CLK_IS_CRITICAL
   43cf81c200cd clk: meson: meson8b: fix the width of the cpu_scale_div clock
   c36d06457afc clk: meson: meson8b: do not use cpu_div3 for cpu_scale_out_sel
   73e933de8935 staging: erofs: fix the definition of DBG_BUGON
   9eb74335f6be media: mtk-vcodec: Release device nodes in mtk_vcodec_init_enc_pm()
   580d8b2f6e76 media: video-i2c: avoid accessing released memory area when removing driver
   da77b546055c media: rc: ensure close() is called on rc_unregister_device
   b0b10168d1b3 soc/tegra: Don't leak device tree node reference
   504dcc424d28 perf tools: Add Hygon Dhyana support
   b6293e6c9000 modpost: validate symbol names also in find_elf_symbol
   1b63e37679cb net/mlx5: EQ, Use the right place to store/read IRQ affinity hint
   f6d66139f887 bpf: libbpf: retry map creation without the name
   0857b8439b6b drm/amd/display: calculate stream->phy_pix_clk before clock mapping
   d43f6c2ea4c0 drm/amd/display: fix gamma not being applied correctly
   8218fcf4666c ARM: OMAP2+: hwmod: Fix some section annotations
   d57b35f44fed drm/rockchip: fix for mailbox read size
   ab96959699fd usbnet: smsc95xx: fix rx packet alignment
   5ca33f7980c9 staging: iio: ad7780: update voltage on read
   39561eee9c57 scsi: hisi_sas: change the time of SAS SSP connection
   aa422af6d3dd i40e: prevent overlapping tx_timeout recover
   5a6b7e1b19ca platform/chrome: don't report EC_MKBP_EVENT_SENSOR_FIFO as wakeup
   922fd2d04644 vbox: fix link error with 'gcc -Og'
   f060c825c455 fpga: altera-cvp: fix 'bad IO access' on x86_64
   42e19f5664f0 Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1
   9f941e80e679 fpga: altera-cvp: Fix registration for CvP incapable devices
   0edcb650bfe3 staging:iio:ad2s90: Make probe handle spi_setup failure
   76707e34f477 iwlwifi: fw: do not set sgi bits for HE connection
   3a11ec548c5b dpaa2-ptp: defer probe when portal allocation failed
   4ee24ae83ccb MIPS: Boston: Disable EG20T prefetch
   ab143302b0b2 ptp: check gettime64 return code in PTP_SYS_OFFSET ioctl
   49796c356187 serial: fsl_lpuart: clear parity enable bit when disable parity
   7543c3cf17c6 drm/vc4: ->x_scaling[1] should never be set to VC4_SCALING_NONE
   99eed8a29f9f crypto: aes_ti - disable interrupts while accessing S-box
   22ccd257add3 powerpc/pseries: add of_node_put() in dlpar_detach_node()
   534a0c21119b x86/PCI: Fix Broadcom CNB20LE unintended sign extension (redux)
   ee9268a9b55b dlm: Don't swamp the CPU with callbacks queued during recovery
   0d041add1ba0 clk: boston: fix possible memory leak in clk_boston_setup()
   4660207706ca ARM: 8808/1: kexec:offline panic_smp_self_stop CPU
   433f2f810291 scsi: lpfc: Fix LOGO/PLOGI handling when triggerd by ABTS Timeout event
   83430596d497 scsi: mpt3sas: Call sas_remove_host before removing the target devices
   3d08cdeb4486 scsi: lpfc: Correct LCB RJT handling
   3bfb1ba39cac ath9k: dynack: use authentication messages for 'late' ack
   f2dd96e607c6 ath10k: assign 'n_cipher_suites' for WCN3990
   3e5bffa5371d wil6210: fix memory leak in wil_find_tx_bcast_2
   8edf1df19ca1 wil6210: fix reset flow for Talyn-mb
   752abfadcb8b nds32: Fix gcc 8.0 compiler option incompatible.
   a6eccfac8393 gpu: ipu-v3: image-convert: Prevent race between run and unprepare
   46ed4f4fa1cf genirq/affinity: Spread IRQs to all available NUMA nodes
   2198c2c15eee drm/sun4i: Initialize registers in tcon-top driver
   3555de57dca4 gpiolib: Fix possible use after free on label
   9e4b0f771735 ASoC: Intel: mrfld: fix uninitialized variable access
   9d9fcc11b860 pinctrl: bcm2835: Use raw spinlock for RT compatibility
   8095fe603e16 drm/vgem: Fix vgem_init to get drm device available.
   2ca14d0d2576 staging: iio: adc: ad7280a: handle error from __ad7280_read32()
   a8b9f4f627c3 drm/bufs: Fix Spectre v1 vulnerability
   26d074199730 devres: Align data[] to ARCH_KMALLOC_MINALIGN
   323e0195e63f Linux 4.19.20
   c0be624777ba cifs: Always resolve hostname before reconnecting
   e7f11c55ad60 md/raid5: fix 'out of memory' during raid cache recovery
   5b3109eb89dd of: overlay: do not duplicate properties from overlay for new nodes
   7251e4b835ea of: overlay: use prop add changeset entry for property in new nodes
   9af27fab0061 of: overlay: add missing of_node_get() in __of_attach_node_sysfs
   5006496fb2c8 of: overlay: add tests to validate kfrees from overlay removal
   3edc2fac969a of: Convert to using %pOFn instead of device_node.name
   214dea147ffa mm: migrate: don't rely on __PageMovable() of newpage after unlocking it
   ced41d9d6a1b mm: hwpoison: use do_send_sig_info() instead of force_sig()
   b6f534ab695b mm, oom: fix use-after-free in oom_kill_process
   d9f4d88d567e mm,memory_hotplug: fix scan_movable_pages() for gigantic hugepages
   7e70ddc33279 oom, oom_reaper: do not enqueue same task twice
   15033ca6bd13 mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT
   c7122344f915 kernel/exit.c: release ptraced tasks before zap_pid_ns_processes
   9ee5987f311f btrfs: On error always free subvol_name in btrfs_mount
   5bce143671f3 Btrfs: fix deadlock when allocating tree block during leaf/node split
   50a874a4aa28 mmc: sdhci-iproc: handle mmc_of_parse() errors during probe
   8a32f086ff7e platform/x86: asus-nb-wmi: Drop mapping of 0x33 and 0x34 scan codes
   734f06f5a701 platform/x86: asus-nb-wmi: Map 0x35 to KEY_SCREENLOCK
   71ff3384d1fb IB/hfi1: Remove overly conservative VM_EXEC flag check
   1ac48dafac4b ALSA: hda/realtek - Fixed hp_pin no value
   eaf53ee6fba7 ALSA: usb-audio: Add Opus #3 to quirks for native DSD support
   9f753f62f6fa mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay
   65be3226f0e5 mmc: bcm2835: Fix DMA channel leak on probe error
   8b9be9db8a2a gfs2: Revert "Fix loop in gfs2_rbm_find"
   83c22cd104b2 gpio: sprd: Fix incorrect irq type setting for the async EIC
   3a4a800bf519 gpio: sprd: Fix the incorrect data register
   95fcc1427d7f gpio: pcf857x: Fix interrupts on multiple instances
   452ad274c926 gpiolib: fix line event timestamps for nested irqs
   ade5ad6b4ad6 gpio: altera-a10sr: Set proper output level for direction_output
   ad6615b15537 arm64: hibernate: Clean the __hyp_text to PoC after resume
   f40ebe14b971 arm64: hyp-stub: Forbid kprobing of the hyp-stub
   520036320530 arm64: Do not issue IPIs for user executable ptes
   a4f42f7b0121 arm64: kaslr: ensure randomized quantities are clean also when kaslr is off
   26d15be4abc0 ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment
   0a3275d78585 NFS: Fix up return value on fatal errors in nfs_page_async_flush()
   0fb0acc0dd86 selftests/seccomp: Enhance per-arch ptrace syscall skip tests
   7e3251667a1f iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions()
   bb4e1ff5a8dd fs/dcache: Fix incorrect nr_dentry_unused accounting in shrink_dcache_sb()
   e9d56f920bb2 CIFS: Do not consider -ENODATA as stat failure for reads
   6e7045ec336b CIFS: Fix trace command logging for SMB2 reads and writes
   c6961288a5f4 CIFS: Do not count -ENODATA as failure for query directory
   fbb49172cd4f virtio_net: Differentiate sk_buff and xdp_frame on freeing
   ed6a5fc89e48 virtio_net: Use xdp_return_frame to free xdp_frames on destroying vqs
   05e260f9d02a virtio_net: Don't process redirected XDP frames when XDP is disabled
   0921dd505d30 virtio_net: Fix out of bounds access of sq
   d97117bd077d virtio_net: Fix not restoring real_num_rx_queues
   4c2e63dc6452 virtio_net: Don't call free_old_xmit_skbs for xdp_frames
   b6862baa3c88 virtio_net: Don't enable NAPI when interface is down
   37b34a91f346 sctp: set flow sport from saddr only when it's 0
   cbf23d40cece sctp: set chunk transport correctly when it's a new asoc
   a188f5685965 Revert "net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager"
   505e5f3d4623 ip6mr: Fix notifiers call on mroute_clean_tables()
   50990a4085f2 net/mlx5e: Allow MAC invalidation while spoofchk is ON
   4ec13999d363 sctp: improve the events for sctp stream adding
   9f7d849beaae net: ip6_gre: always reports o_key to userspace
   aafe74b72689 vhost: fix OOB in get_rx_bufs()
   d0773852a7a3 ucc_geth: Reset BQL queue when stopping device
   dace52749243 tun: move the call to tun_set_real_num_queues
   e569927a1375 sctp: improve the events for sctp stream reset
   4fae696cdad1 ravb: expand rx descriptor data to accommodate hw checksum
   5f1a18e05b07 net: set default network namespace in init_dummy_netdev()
   fc4154c7a39e net/rose: fix NULL ax25_cb kernel panic
   2c6b572458a9 netrom: switch to sock timer API
   00865891898e net/mlx4_core: Add masking for a few queries on HCA caps
   0a198e0bb8be net: ip_gre: use erspan key field for tunnel lookup
   897ea28bd2f9 net: ip_gre: always reports o_key to userspace
   8de676664e59 l2tp: fix reading optional fields of L2TPv3
   3d418a254df1 l2tp: copy 4 more bytes to linear part if necessary
   fcc9c69a6ed7 ipvlan, l3mdev: fix broken l3s mode wrt local routes
   2f704348c93f ipv6: sr: clear IP6CB(skb) on SRH ip4ip6 encapsulation
   7e9a6476aaf5 ipv6: Consider sk_bound_dev_if when binding a socket to an address
   8877843b3b9f drm/msm/gpu: fix building without debugfs
   8c763a3cf502 Fix "net: ipv4: do not handle duplicate fragments as overlapping"

(From OE-Core rev: 77cc4e2aa092734a8ee97b1ee97753b46aa19a5e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
4ee44b0b54 linux-yocto/4.19: integrate arm systemtap fix
Richard had pushed an explicit patch to fix systemtap for arm
on the 4.19 kernel in time for M3.

The patch has now been integrated into the repo itself and can
be dropped from the recipe.

(From OE-Core rev: 552b3cd0e0d442d867b4432e5b81019cadd2f4fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
3e0eb102ec linux-yocto: pinctrl config change for cannonlake
Integrating a configuration change to enable pinctrl for the cannonlake
platform.

(From OE-Core rev: 1819fff97b10e5bfa9257b7471ed79188195c9f2)

Signed-off-by: Pradhan Surya Narayanx <surya.narayanx.pradhan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Bruce Ashfield
ffb4051e2d linux-yocto: sound: Re-enable ENS1370 support
Integrating the following commit:

[
   Author: Tom Rini <trini@konsulko.com>
   Date:   Tue Mar 12 11:40:33 2019 -0400

       sound: Re-enable ENS1370 support

       Both the qemux86 and qemux86-64 targets RRECOMMEND the ens1370 kernel
       module and set QB_AUDIO_OPT to support that as one of the audio cards as
       well.

       Fixes: daadaf7fd7d5 ("yocto-kernel-cache: [PATCH] Update audio support v2")
       Signed-off-by: Tom Rini <trini@konsulko.com>
       Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 26aa9ed853e6b4a7e36bc0a523e924c47e8c954a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:19:53 +00:00
Luca Boccassi
4c520c6cc2 u-boot: install dumpimage and fit_check_sign in u-boot-tools
Dumpimage and fit_check_sign can be used to extract kernel and ramdisk from
a FIT file, verify them and kexec for a faster reboot.

(From OE-Core rev: c99255d688a2578f1391a34915942210cf069d64)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Liwei Song
ba771bf192 initramfs-framework: add lvm module
lvm module will initial lvm volume to support boot from
Logical Volume.

(From OE-Core rev: 3a4213f014fc4aa5be05dfc0722d87e01e5ff10c)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Liwei Song
2d15516d40 initramfs-framework: mount efivarfs to make Intel VROC work well
efivafs contain some meta data about Intel VROC, which will be
used by mdadm to create raid device.

These are preparation work to support boot from Intel VROC RAID
disk.

(From OE-Core rev: b25869c76975bbcec8d2f22f680e58976ec4de5c)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Liwei Song
2f42b8c2ec mdadm: add mdmon service to support Intel VROC
Install mdmon@.service to make Intel VROC work well.

mdmon@.service called from udev is used to update Intel VROC metadata,
with it the VROC raid is operational to read or write under user space.

(From OE-Core rev: 5b2610ee3935d12ab73164aa8716c068dc8f7f56)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Joe Slater
fa73dcd57f qemumips64: change tune to mips64r2
Allows for mips32 multilib to be mips32r2, like qemumips.

(From OE-Core rev: 9713e8a5460ae81a33c6a727664f4cdb54fb1f0a)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Otavio Salvador
8ccb777613 llvm: Enable RTTI support in preparation for new mesa
The mesa 19.0.0 release requires RTTI to allow the build of Nouveau
driver, which is enabled by default when building for x86 and x86-64
target.

This commit enables RTTI support so it prepares the toolchain for the
upcoming change.

(From OE-Core rev: 8e24164606185e1d8b8eb293a30bb22760218f06)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Denys Dmytriyenko
8648f1ac07 wayland: upgrade 1.16.0 -> 1.17.0
(From OE-Core rev: 8b49e1bbfa37bb654c95a60fe310a5889165da39)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Fabio Berton
682fda3e8d mesa: Update 18.3.4 -> 19.0.0
- Patch 0005-egl-add-missing-include-stddef.h-in-egldevice.h.patch
    was applied on commit e68777c87ceed02ab199b32f941778c3cf97c794.
  - Refresh all patches
  - mesa 19.0.0 deprecated the use of autotools and we need to add
    --enable-autotools flag. For details see mesa commit:
    e68777c87ceed02ab199b32f941778c3cf97c794

  The complete change log can be found here:
    https://www.mesa3d.org/relnotes/19.0.0.html

(From OE-Core rev: 50b7418869b7d2f40adbfbb0844f710d9aa5c396)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-25 23:13:48 +00:00
Robert Yang
acc242c7ec bitbake: fetch2: Print SCMs list when SRCREV_FORMAT is not set
This makes it easier to debug, especially when multipe SCMs like gitsm,
otherwise we don't know why there are multiple SCMs.

(Bitbake rev: 313fe5e86b254eadfdead706be4bd7b274d5e3c0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:01:34 +00:00
Robert Yang
db91c23871 bitbake: fetch2/git: Fix clean to remove clonedir
The localpath is a symlink to clonedir when it is cloned from a mirror, for
example:
$ bitbake systemtap-native -cfetch
$ ls downloads/git2
sourceware.org.git.systemtap.git -> /path/to/downloads/git2/mirror.path.git.sourceware.org.git.systemtap.git
mirror.path.git.sourceware.org.git.systemtap.git

There are both sourceware.org.git.systemtap.git and
mirror.path.git.sourceware.org.git.systemtap.git in DL_DIR/git2, the symlink
sourceware.org.git.systemtap.git is created by try_mirror_url(), but
do_cleanall" only removed the symlink, didn't remove the real dir
mirror.path.git.sourceware.org.git.systemtap.git, this may cause confusions,
for example, I assumed that do_cleanall removed everything, but it didn't, and
it would the re-used next time when do_fetch. This patch fixes the problem.

(Bitbake rev: 452e2200ad2c29dec3753f5f7a8cbc9183ec7dd8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:01:34 +00:00
Robert Yang
4b2b3339df bitbake: cooker: Fix bbfile_config_priorities when BBFILE_PATTERN is empty
The layer was not in bbfile_config_priorities when BBFILE_PATTERN is empty,
this caused "bitbake-layers show-layers" can't show these layers, this was
incorrect since these layer did exist. Add these layer to
bbfile_config_priorities can fix the problem.

Fixed:
Add BBFILE_PATTERN_core = "" in oe-core/meta/conf/layer.conf
$ bitbake show-layers | grep oe-core

There was nothing, now the layer is shown

(Bitbake rev: 0ff5cdb0cca9266ca29127639494bcfd95e36831)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:01:34 +00:00
Robert Yang
a7f3cbb4a2 bitbake: fetch2: runfetchcmd(): Print workdir in debug message
The workdir is an important message when run git command, for exmample, before the patch:
Running git -c core.fsyncobjectfiles=0 branch --contains [snip]

We don't know where it is running, now it is:
Running 'git -c core.fsyncobjectfiles=0 branch --contains [snip]' in /path/to/git.opensvc.com.multipath-tools..git

Which is easier to debug.

(Bitbake rev: f25c05b73218d0e8edf2dd63b36bc09e547c5455)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:01:34 +00:00
Taras Kondratiuk
21ba8861bd devtool: prevent starting git gc in background
Devtool creates a git repository for extracted sources in a temporary
directory and then moves it to a final destination after patching is
done. Unfortunately devtool is not aware that some of its git operations
may have caused git garbage collector to start in background. If timing
is just right a repository move fails because GC is removing git objects
while they are being moved.

The issue was hit on Krogoth release, but the code that moves created
git repository is still the same.

Disable gc.autodetach to make GC run synchronously and block git until
it is done.

Traceback (most recent call last):
  File "<snip>/openembedded-core/scripts/devtool", line 342, in <module>
    ret = main()
  File "<snip>/openembedded-core/scripts/devtool", line 329, in main
    ret = args.func(args, config, basepath, workspace)
  File "<snip>/openembedded-core/scripts/lib/devtool/standard.py", line 352, in extract
    initial_rev = _extract_source(srctree, args.keep_temp, args.branch, False, rd)
  File "<snip>/openembedded-core/scripts/lib/devtool/standard.py", line 644, in _extract_source
    shutil.move(srcsubdir, srctree)
  File "/usr/lib/python2.7/shutil.py", line 299, in move
    copytree(src, real_dst, symlinks=True)
  File "/usr/lib/python2.7/shutil.py", line 208, in copytree
    raise Error, errors
Error: [('/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/5e', '<snip>/build/grpc/grpc_src/.git/objects/5e', "[Errno 2] No such file or directory: '/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/5e'"), ('/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/57', '<snip>/build/grpc/grpc_src/.git/objects/57', "[Errno 2] No such file or directory: '/tmp/devtool5RXkuX/workdir/grpc-1.2.5/.git/objects/57'"), many git objects ... ]

(From OE-Core rev: 3da578a79195a63fb6d4bbd68d8f1548defd205f)

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Denys Dmytriyenko
50ce8c47e5 linux-yocto: fix wrongfully used qemuarma15 in place of qemuarmv5
Commit 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988 changes "qemuarm" machine from
old ARMv5 to a newer Cortex-A15, moving the old platform under "qemuarmv5" name.
When adding this new "old" platform name to COMPATIBLE_MACHINE in linux-yocto
recipes, mistakes were made referring it by "qemuarma15", as discussed in [1].
This change fixes those mistakes.

[1]http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280292.html

(From OE-Core rev: 4babf396a91ba375fad9c4dc610cfbdef8d17d4f)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Andreas Müller
b32c0ba7c9 glew: Fix build errors at recipes depending on glew
Glew headers override mesa headers by setting mesa's include guards. This
stopped working since mesa renamed them.

Fixes errors like this in depending recipes:

| <...>/recipe-sysroot/usr/include/GL/glext.h:12066:105: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)'
|  typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
|                                                                                                          ^

(From OE-Core rev: fd6ca8f7453230bac4cd1145406a55549ad43e71)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
e7f81f1959 glibc: fix CVE-2019-9169
(From OE-Core rev: 966213b3c99d428f2afba3ad3d88189669005eb6)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
d956c45baf meson: support multiple cross configuration files
For historical reasons Meson supports only a single cross configuration file but
multiple native configuration files.  Add support for multiple cross files, so
that recipes such as glib can use the toolchain cross file and extend it with a
recipe-specific cross file containing values needed to build.

(From OE-Core rev: 3d97cddeec8635988e414e6854d850cea20bcb36)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
06606fd9e0 meson: warn if the default value from meson.get_cross_property() is being used
Projects such as glib have tests that execute code to check their behaviour, and
in cross-compilation environments where they can't execute code fall back on
meson.get_cross_property() with a default value.  These default values may not
be appropriate: for example if glib can't verify that vsprintf() isn't broken it
assumes that it is, and embeds the gnulib copy of vsprintf() instead of using
glibc's implementation.

Add a warning whenever the default value for get_cross_property() is used so
that we can tell this is happening and set the value appropriately.

(From OE-Core rev: 669ddafcc9f363cbb81d4b71649241257785a840)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
928b20e705 libexif: disable documentation neatly
No need to sed the Makefile as we can just pass --disable-docs.

(From OE-Core rev: 72e8597562fa7d8b0f19ed5c8727ebdf172c96a9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
8b86b1d65e python: fix CVE-2018-14647 in python-native too
(From OE-Core rev: d05c79ed46880a7bfdbf166c336a9d83167ddf34)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
0775bf2147 libcroco: fix CVE-2017-7961
(From OE-Core rev: 480f15850820746cecdfe0b8450b2be484c1f8f9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
49c2351f3a qemu: fix CVE-2019-3812
(From OE-Core rev: 0135c0bf2a6cfd43c86d67ad0a0a2eaadc05cc47)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
95661a102d libpcre: update patch status
(From OE-Core rev: 3e06fc90f8c3e657db471e4d6eb20b0059d3f690)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Ross Burton
24b9bcf043 insane: improve license checksumming logic
Instead of opening files as bytes and battling decoding to UTF-8 which can throw
exceptions, open directly as strings and replace invalid codepoints.  This
handles licenses in encodings which are not UTF-8 but are based on ASCII much
better.

Also instead of extracting the license lines, writing them to a file, and then
hashing the file, hash the lines directly.

(From OE-Core rev: 63ef9d342277c4ba541b78cbb45ef181f071f495)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-24 17:00:52 +00:00
Alistair Francis
2187d06166 goarch: Add riscv64
Although RISC-V 64-bit doesn't have official golang support there are
forks that now exist with at least some support and work is ongoing in
the upstream tree. In order to be able to use the goarch class add
support for RISC-V.

For more details see here:
https://github.com/golang/go/issues/27532

(From OE-Core rev: 91e3b2a762124bf5cf923654ef3a7c871b84c82f)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-21 16:19:23 +00:00
Otavio Salvador
6c66a46c51 systemd: Update to systemd-stable v241-stable release
This changes the repository to use the systemd-stable, and update to
the latest release from v241-stable branch.

Following changes are included:

c1f8ff8d0d login: mark nomodeset fb devices as master-of-seat
59f2213e45 login: HyperV requires master-of-seat to be set
a09c170122 Allocate temporary strings to hold dbus paths on the heap
4f54afd5a1 Refuse dbus message paths longer than BUS_PATH_SIZE_MAX limit.
b22a96ef2f NEWS: add entry about 'udevadm trigger --wait-daemon'
bada94eb3e NEWS: fix release date
e9f930b2f5 udev-event: make subst_format_var() always provide null-terminated string on success
66320aec80 sd-device: also store properties read from udev database to sd_device::properties_db
dffc22c833 udev-rules: update log messages about OWNER= or GROUP= settings on --resolve=names=never

(From OE-Core rev: 0111855d2c5029c93844e08fcd48592137bfb68a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-21 16:19:23 +00:00
Kai Kang
5061e7e9b5 qemu: Fix "backport patches to fix cves" patch issue
This change fixes a build problem introduced in the recent CVE patches.

(From OE-Core rev: a6882408f5c63d2434d5c1622406c2c212c9bec7)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-21 16:19:23 +00:00
Richard Purdie
753e2a0ede build-appliance-image: Update to master head revision
(From OE-Core rev: 619a8ab875ee8e2914cd58947f342808d817833c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:56:29 +00:00
Richard Purdie
c96d8de352 bitbake: fetch2: Fix undefined variable issues
Various refactors have left hanging variables, often in debug messages, hence
why they haven't been spotted. Fix them (pylint spotted the issues).

(Bitbake rev: e1f252408982a62485bbf874a01fd30a02aeed32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:41 +00:00
Richard Purdie
28fb15c56f bitbake: fetch2/wget: Remove pointless lambda function
(Bitbake rev: 329986c3f2d98c4cd1a43b725194003575e718d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:41 +00:00
Richard Purdie
588a4c58e8 bitbake: fetch2/wget: Clean up whitespace/comments
Clean up the whitespace and comments style, keep pylint happy.

(Bitbake rev: ee59fdaae68543ade03cacfdbbf14fdc7e469412)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:41 +00:00
Richard Purdie
9a1faba274 bitbake: fetch2/wget: Fix typo in proxy handling
Fix a typo in a variable which would affect proxy handling spotted by
pylint.

(Bitbake rev: 19f4ca0119e33df64da629253d5002fcdb385f4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:41 +00:00
Richard Purdie
202b7d0521 bitbake: fetch2/wget: Cleanup module imports
(Bitbake rev: ef062a3251af474fdeb480149856be3887b8c1c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:41 +00:00
Scott Rifenbark
8ded31e052 dev-manual: Clean up for "Replicating Build Offline"
Some final corrections for the section on how to replicate
a build offline.

(From yocto-docs rev: 3b4ffa131684f824b7bc6c37ddfd02bb9b17b08c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
ddc9d240f4 dev-manual: Added note about AUTOREV for replicating build
Feedback from Paul.

(From yocto-docs rev: ea118a9d6fa671de10b9aa8413c7d29951593ec3)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
95d6ad04fb dev-manual: Updates to "Replicating Your Build Offline"
I updated the section with some feedback from Richard.  This
version is much clearer and brings the concepts out a lot
better.

(From yocto-docs rev: 9790482b9937308bee6aa00a892f50d026187342)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
f0d225fcd5 dev-manual: Added section on offline "snapshot" build.
This is a new section in the tasks chapter of the
dev-manual titled "Replicating a Build Offline".
It is in response to multiple hits in the
yocto@yoctoproject.org list asking how to do something
like this.

(From yocto-docs rev: 61b091be49517548e639808f6b6de4bf07e2a300)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Filip Jareš
28f9cf565a ref-manual: Fixed SRC_URI cut-and-paste error.
The update fixes a copy-paste-and-forget-to-update-everything error
in the documentation of the `SRC_URI` entry in the Reference Manual.
The `maxdate` paragraph just repeated what is there for the
neighboring `mindate` paragraph which was incorrect.

(From yocto-docs rev: bbeb096222d42a31adcb358a85f8fe6c4120416a)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
e63d516db3 YP Documentation: Updated host package lists
Changes to the lists resulted in the testing and graphics &
Eclipse Plug-in lists going away.  Also, I added several packages
based on some testing requirements to the "Essentials" list.

(From yocto-docs rev: cbc9a595bef3dd80f5eef1376e466627248f9fda)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
5c2dca7e75 ref-manual: Added INIHIBIT_SYSROOT_STRIP variable desc.
(From yocto-docs rev: 867c5affcecff77ec4b36f026baba80a6bf4fe62)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
8c7ec72e6d ref-manual, poky.ent: Updated essential host packages
Fixes [YOCTO #13196]

The set of host packages for the testing has been merged into
the essential set of packages for all supported distros.  I
updated the variables defined in "poky.ent" so that these
packages are now part of the essentials.  I also removed the
section on the required packages for testing.

(From yocto-docs rev: 9b19661d21a14966eac162ee063fca46d6403323)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Scott Rifenbark
5fa73c1392 ref-manual: Removed DISTRO_FEATURES_LIBC variable
Took this out of the glossary.  After eglibc was merged
into glibc, Kconfig support was also dropped so
these libc features therefore are not effective anymore
and can be removed.

(From yocto-docs rev: cfdd02864f004fc48b0353ec0f007ca24b06d29e)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:54:02 +00:00
Adrian Bunk
800c32096c Remove the simd tune for armv8a
SIMD instructions are a mandatory part of armv8a
(they were optional in armv7a), and the gcc docs
also say that they are always enabled.

(From OE-Core rev: 02288c94e99e9dd444d8c1af186b6d89085b7b8b)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:50:41 +00:00
Otavio Salvador
34fa190d95 openssl10: Upgrade 1.0.2q -> 1.0.2r
(From OE-Core rev: 31b0f25026145b81aca2b58aada2dbc7c8b0e420)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:50:41 +00:00
Otavio Salvador
c9f2260820 openssl: Upgrade 1.1.1a -> 1.1.1b
License-Update: copyright years updated
(From OE-Core rev: 5a67844a4dba03c27a5ff8bd1cf4de0b47616a4b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:50:41 +00:00
Otavio Salvador
15f2cefac4 openssl: Remove the c_rehash shell re-implementation
We had a c_rehash shell re-implementation being used for the native
package however the ca-certificates now uses the openssl rehash
internal application so there is no use for the c_rehash anymore.

(From OE-Core rev: 672b076158247f823a518b7c33b50c82272d6388)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:50:41 +00:00
Richard Purdie
5f6156b32c yocto-uninative: Update to 2.4
This supports glibc 2.29 which is appearing in distros like Ubuntu 19.04

(From OE-Core rev: 44fac788b4ba3614439d7329f645bfffeee7a2bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 23:50:41 +00:00
Stefan Klug
0a9161855c bitbake: fetch2/wget: Fix authentication in checkstatus() of the wget fetcher
I wonder how this used to work for anybody.

(Bitbake rev: 9481e9cd688f635a7fe2ac60d5826ac26f0cb9ba)

Signed-off-by: Stefan Klug <stefan.klug@baslerweb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 15:29:31 +00:00
Khem Raj
8c582d39ff gdb: Do not disable lttng-ust on risc-v
(From OE-Core rev: 563de8e3a07942beb60c72eb1a8072be9035a0a7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 15:28:52 +00:00
Khem Raj
3a1d31dee1 packagegroup-core-tools-profile: Do not remove lttng-ust for musl and risc-v
(From OE-Core rev: 8191942fd1c758e8761ab6aef8aec6da9871a935)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 15:28:52 +00:00
Khem Raj
7f15c3fe2b lttng: Enable tools and modules on riscv
Latest version compiles on risv64 now

(From OE-Core rev: 7a528511445165c72ba24dc1cffeaca9ce71caf5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 15:28:52 +00:00
Kai Kang
2f7749c12f qemu: backport patches to fix cves
CVE: CVE-2018-16872
CVE: CVE-2018-20124
CVE: CVE-2018-20125
CVE: CVE-2018-20126
CVE: CVE-2018-20191
CVE: CVE-2018-20216

Patches 0015-fix-CVE-2018-20124.patch and 0017-fix-CVE-2018-20126.patch
are rebased on current source code. Others are not modified.

(From OE-Core rev: 489ece1aa90d8f76b4c1f009d837f82e38e11ba9)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-19 15:28:52 +00:00
1864 changed files with 32340 additions and 40548 deletions

24
LICENSE
View File

@@ -1,14 +1,20 @@
Different components of OpenEmbedded are under different licenses (a mix
of MIT and GPLv2). Please see:
meta/COPYING.GPLv2 (GPLv2)
meta/COPYING.MIT (MIT)
meta-selftest/COPYING.MIT (MIT)
meta-skeleton/COPYING.MIT (MIT)
of MIT and GPLv2). See LICENSE.GPL-2.0-only and LICENSE.MIT for further
details of the individual licenses.
All metadata is MIT licensed unless otherwise stated. Source code
included in tree for individual recipes is under the LICENSE stated in
the associated recipe (.bb file) unless otherwise stated.
included in tree for individual recipes (e.g. patches) are under
the LICENSE stated in the associated recipe (.bb file) unless
otherwise stated.
License information for any other files is either explicitly stated
or defaults to GPL version 2.
or defaults to GPL version 2 only.
Individual files contain the following style tags instead of the full license
text to identify their license:
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -279,61 +279,10 @@ POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
Note:
Individual files contain the following tag instead of the full license text.
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
SPDX-License-Identifier: GPL-2.0-only
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -13,5 +13,13 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -12,6 +12,9 @@ therefore provides compatibility with the following caveats:
tests any longer. Users are recommended to group together to support
maintenance of that layer. [http://git.yoctoproject.org/cgit/cgit.cgi/meta-qt4/]
* GTK+ 2 is provided by meta-oe. It is noted that GTK+ 2 is end of life
and use of GTK+ 2 isn't recommended.
* mailx has been dropped since its no longer being developed upstream
and there are better, more modern replacements such as s-nail
(http://sdaoden.eu/code.html) or mailutils (http://mailutils.org/).

View File

@@ -1,19 +0,0 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# <one line to give the program's name and a brief idea of what it does.>
# Copyright (C) <year> <name of author>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@@ -1,4 +1,13 @@
BitBake is licensed under the GNU General Public License version 2.0. See COPYING for further details.
BitBake is licensed under the GNU General Public License version 2.0. See
LICENSE.GPL-2.0-only for further details.
Individual files contain the following style tags instead of the full license text:
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/
The following external components are distributed with this software:
@@ -17,3 +26,4 @@ Foundation and individual contributors.
* Font Awesome fonts redistributed under the SIL Open Font License 1.1
* simplediff is distributed under the zlib license.

View File

@@ -279,61 +279,10 @@ POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
Note:
Individual files contain the following tag instead of the full license text.
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
SPDX-License-Identifier: GPL-2.0-only
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,17 +1,25 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

View File

@@ -1,6 +1,4 @@
#!/usr/bin/env python3
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
@@ -9,18 +7,8 @@
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -38,7 +26,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
__version__ = "1.40.0"
__version__ = "1.43.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -5,18 +5,8 @@
#
# Copyright (C) 2012-2013, 2017 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -105,7 +95,7 @@ def recursecb(key, hash1, hash2):
out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color)
for change in out2:
for line in change.splitlines():
recout.append(' ' + line)
recout.append(' ' + line)
return recout

View File

@@ -2,18 +2,9 @@
#
# Copyright (C) 2018 Garmin Ltd.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
import logging

View File

@@ -7,18 +7,8 @@
# Copyright (C) 2011 Mentor Graphics Corporation
# Copyright (C) 2011-2015 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import logging
import os

View File

@@ -1,4 +1,8 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys,logging
import optparse

View File

@@ -2,18 +2,8 @@
#
# Copyright (C) 2012 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys, logging
@@ -35,6 +25,7 @@ tests = ["bb.tests.codeparser",
"bb.tests.fetch",
"bb.tests.parse",
"bb.tests.persist_data",
"bb.tests.runqueue",
"bb.tests.utils",
"hashserv.tests",
"layerindexlib.tests.layerindexobj",

View File

@@ -1,4 +1,7 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys

View File

@@ -1,21 +1,9 @@
#!/usr/bin/env python3
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2005 Holger Hans Peter Freyther
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import optparse, os, sys

View File

@@ -1,4 +1,8 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""git-make-shallow: make the current git repository shallow
Remove the history of the specified revisions, then optionally filter the

View File

@@ -3,19 +3,9 @@
# toaster - shell script to start Toaster
# Copyright (C) 2013-2015 Intel Corp.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# SPDX-License-Identifier: GPL-2.0-or-later
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
HELP="
Usage: source toaster start|stop [webport=<address:port>] [noweb] [nobuild] [toasterdir]

View File

@@ -1,25 +1,12 @@
#!/usr/bin/env python3
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2014 Alex Damian
#
# SPDX-License-Identifier: GPL-2.0-only
#
# This file re-uses code spread throughout other Bitbake source files.
# As such, all other copyrights belong to their own right holders.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""
This command takes a filename as a single parameter. The filename is read

View File

@@ -1,6 +1,4 @@
#!/usr/bin/env python3
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2012, 2018 Wind River Systems, Inc.
#

View File

@@ -832,7 +832,13 @@
Bazaar (<filename>bzr://</filename>)
</para></listitem>
<listitem><para>
Trees using Git Annex (<filename>gitannex://</filename>)
Mercurial (<filename>hg://</filename>)
</para></listitem>
<listitem><para>
npm (<filename>npm://</filename>)
</para></listitem>
<listitem><para>
OSC (<filename>osc://</filename>)
</para></listitem>
<listitem><para>
Secure FTP (<filename>sftp://</filename>)
@@ -841,10 +847,7 @@
Secure Shell (<filename>ssh://</filename>)
</para></listitem>
<listitem><para>
OSC (<filename>osc://</filename>)
</para></listitem>
<listitem><para>
Mercurial (<filename>hg://</filename>)
Trees using Git Annex (<filename>gitannex://</filename>)
</para></listitem>
</itemizedlist>
No documentation currently exists for these lesser used

View File

@@ -61,6 +61,78 @@
</para>
</section>
<section id='modifying-existing-variables'>
<title>Modifying Existing Variables</title>
<para>
Sometimes you need to modify existing variables.
Following are some cases where you might find you want to
modify an existing variable:
<itemizedlist>
<listitem><para>
Customize a recipe that uses the variable.
</para></listitem>
<listitem><para>
Change a variable's default value used in a
<filename>*.bbclass</filename> file.
</para></listitem>
<listitem><para>
Change the variable in a <filename>*.bbappend</filename>
file to override the variable in the original recipe.
</para></listitem>
<listitem><para>
Change the variable in a configuration file so that the
value overrides an existing configuration.
</para></listitem>
</itemizedlist>
</para>
<para>
Changing a variable value can sometimes depend on how the
value was originally assigned and also on the desired
intent of the change.
In particular, when you append a value to a variable that
has a default value, the resulting value might not be what
you expect.
In this case, the value you provide might replace the value
rather than append to the default value.
</para>
<para>
If after you have changed a variable's value and something
unexplained occurs, you can use BitBake to check the actual
value of the suspect variable.
You can make these checks for both configuration and recipe
level changes:
<itemizedlist>
<listitem><para>
For configuration changes, use the following:
<literallayout class='monospaced'>
$ bitbake -e
</literallayout>
This command displays variable values after the
configuration files (i.e. <filename>local.conf</filename>,
<filename>bblayers.conf</filename>,
<filename>bitbake.conf</filename> and so forth) have
been parsed.
<note>
Variables that are exported to the environment are
preceded by the string "export" in the command's
output.
</note>
</para></listitem>
<listitem><para>
For recipe changes, use the following:
<literallayout class='monospaced'>
$ bitbake <replaceable>recipe</replaceable> -e | grep VARIABLE="
</literallayout>
This command checks to see if the variable actually
makes it into a specific recipe.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='line-joining'>
<title>Line Joining</title>

View File

@@ -17,13 +17,6 @@
<!ENTITY OE_DOCS_URL "http://docs.openembedded.org">
<!ENTITY OH_HOME_URL "http://o-hand.com">
<!ENTITY BITBAKE_HOME_URL "http://developer.berlios.de/projects/bitbake/">
<!ENTITY ECLIPSE_MAIN_URL "http://www.eclipse.org/downloads">
<!ENTITY ECLIPSE_DL_URL "http://download.eclipse.org">
<!ENTITY ECLIPSE_DL_PLUGIN_URL "&YOCTO_DL_URL;/releases/eclipse-plugin/&DISTRO;">
<!ENTITY ECLIPSE_UPDATES_URL "&ECLIPSE_DL_URL;/tm/updates/3.3">
<!ENTITY ECLIPSE_INDIGO_URL "&ECLIPSE_DL_URL;/releases/indigo">
<!ENTITY ECLIPSE_JUNO_URL "&ECLIPSE_DL_URL;/releases/juno">
<!ENTITY ECLIPSE_INDIGO_CDT_URL "&ECLIPSE_DL_URL;tools/cdt/releases/indigo">
<!ENTITY YOCTO_DOCS_URL "&YOCTO_HOME_URL;/docs">
<!ENTITY YOCTO_SOURCES_URL "&YOCTO_HOME_URL;/sources/">
<!ENTITY YOCTO_AB_PORT_URL "&YOCTO_AB_URL;:8010">
@@ -31,7 +24,6 @@
<!ENTITY YOCTO_POKY_URL "&YOCTO_DL_URL;/releases/poky/">
<!ENTITY YOCTO_RELEASE_DL_URL "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;">
<!ENTITY YOCTO_TOOLCHAIN_DL_URL "&YOCTO_RELEASE_DL_URL;/toolchain/">
<!ENTITY YOCTO_ECLIPSE_DL_URL "&YOCTO_RELEASE_DL_URL;/eclipse-plugin/indigo;">
<!ENTITY YOCTO_ADTINSTALLER_DL_URL "&YOCTO_RELEASE_DL_URL;/adt_installer">
<!ENTITY YOCTO_POKY_DL_URL "&YOCTO_RELEASE_DL_URL;/&YOCTO_POKY;.tar.bz2">
<!ENTITY YOCTO_MACHINES_DL_URL "&YOCTO_RELEASE_DL_URL;/machines">

View File

@@ -1,23 +1,8 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# This is a copy on write dictionary and set which abuses classes to try and be nice and fast.
#
# Copyright (C) 2006 Tim Ansell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#Please Note:
# Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
# Assign a file to __warn__ to get warnings about slow operations.

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Build System Python Library
#
@@ -8,20 +6,10 @@
#
# Based on Gentoo's portage.py.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
__version__ = "1.40.0"
__version__ = "1.43.0"
import sys
if sys.version_info < (3, 4, 0):

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake 'Build' implementation
#
@@ -10,18 +8,7 @@
#
# Based on Gentoo's portage.py.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
@@ -176,12 +163,35 @@ class LogTee(object):
def __repr__(self):
return '<LogTee {0}>'.format(self.name)
def flush(self):
self.outfile.flush()
class StdoutNoopContextManager:
"""
This class acts like sys.stdout, but adds noop __enter__ and __exit__ methods.
"""
def __enter__(self):
return sys.stdout
def __exit__(self, *exc_info):
pass
def write(self, string):
return sys.stdout.write(string)
def flush(self):
sys.stdout.flush()
@property
def name(self):
return sys.stdout.name
#
# pythonexception allows the python exceptions generated to be raised
# as the real exceptions (not FuncFailed) and without a backtrace at the
# as the real exceptions (not FuncFailed) and without a backtrace at the
# origin of the failure.
#
def exec_func(func, d, dirs = None, pythonexception=False):
@@ -336,6 +346,42 @@ trap 'bb_exit_handler' 0
set -e
'''
def create_progress_handler(func, progress, logfile, d):
if progress == 'percent':
# Use default regex
return bb.progress.BasicProgressHandler(d, outfile=logfile)
elif progress.startswith('percent:'):
# Use specified regex
return bb.progress.BasicProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
elif progress.startswith('outof:'):
# Use specified regex
return bb.progress.OutOfProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
elif progress.startswith("custom:"):
# Use a custom progress handler that was injected via OE_EXTRA_IMPORTS or __builtins__
import functools
from types import ModuleType
parts = progress.split(":", 2)
_, cls, otherargs = parts[0], parts[1], (parts[2] or None) if parts[2:] else None
if cls:
def resolve(x, y):
if not x:
return None
if isinstance(x, ModuleType):
return getattr(x, y, None)
return x.get(y)
cls_obj = functools.reduce(resolve, cls.split("."), bb.utils._context)
if not cls_obj:
# Fall-back on __builtins__
cls_obj = functools.reduce(lambda x, y: x.get(y), cls.split("."), __builtins__)
if cls_obj:
return cls_obj(d, outfile=logfile, otherargs=otherargs)
bb.warn('%s: unknown custom progress handler in task progress varflag value "%s", ignoring' % (func, cls))
else:
bb.warn('%s: invalid task progress varflag value "%s", ignoring' % (func, progress))
return logfile
def exec_func_shell(func, d, runfile, cwd=None):
"""Execute a shell function from the metadata
@@ -373,23 +419,13 @@ exit $ret
cmd = [fakerootcmd, runfile]
if bb.msg.loggerDefaultVerbose:
logfile = LogTee(logger, sys.stdout)
logfile = LogTee(logger, StdoutNoopContextManager())
else:
logfile = sys.stdout
logfile = StdoutNoopContextManager()
progress = d.getVarFlag(func, 'progress')
if progress:
if progress == 'percent':
# Use default regex
logfile = bb.progress.BasicProgressHandler(d, outfile=logfile)
elif progress.startswith('percent:'):
# Use specified regex
logfile = bb.progress.BasicProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
elif progress.startswith('outof:'):
# Use specified regex
logfile = bb.progress.OutOfProgressHandler(d, regex=progress.split(':', 1)[1], outfile=logfile)
else:
bb.warn('%s: invalid task progress varflag value "%s", ignoring' % (func, progress))
logfile = create_progress_handler(func, progress, logfile, d)
fifobuffer = bytearray()
def readfifo(data):
@@ -408,6 +444,8 @@ exit $ret
bb.plain(value)
elif cmd == 'bbnote':
bb.note(value)
elif cmd == 'bbverbnote':
bb.verbnote(value)
elif cmd == 'bbwarn':
bb.warn(value)
elif cmd == 'bberror':
@@ -439,7 +477,7 @@ exit $ret
bb.debug(2, "Executing shell function %s" % func)
try:
with open(os.devnull, 'r+') as stdin:
with open(os.devnull, 'r+') as stdin, logfile:
bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
except bb.process.CmdError:
logfn = d.getVar('BB_LOGFILE')
@@ -815,6 +853,9 @@ def add_tasks(tasklist, d):
task_deps['parents'][task] = []
if 'deps' in flags:
for dep in flags['deps']:
# Check and warn for "addtask task after foo" while foo does not exist
#if not dep in tasklist:
# bb.warn('%s: dependent task %s for %s does not exist' % (d.getVar('PN'), dep, task))
dep = d.expand(dep)
task_deps['parents'][task].append(dep)

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Cache implementation
#
@@ -15,18 +13,8 @@
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -95,20 +83,20 @@ class CoreRecipeInfo(RecipeInfoCommon):
self.appends = self.listvar('__BBAPPEND', metadata)
self.nocache = self.getvar('BB_DONT_CACHE', metadata)
self.skipreason = self.getvar('__SKIPPED', metadata)
if self.skipreason:
self.pn = self.getvar('PN', metadata) or bb.parse.vars_from_file(filename,metadata)[0]
self.skipped = True
self.provides = self.depvar('PROVIDES', metadata)
self.rprovides = self.depvar('RPROVIDES', metadata)
return
self.tasks = metadata.getVar('__BBTASKS', False)
self.pn = self.getvar('PN', metadata)
self.provides = self.depvar('PROVIDES', metadata)
self.rprovides = self.depvar('RPROVIDES', metadata)
self.pn = self.getvar('PN', metadata) or bb.parse.vars_from_file(filename,metadata)[0]
self.packages = self.listvar('PACKAGES', metadata)
if not self.packages:
self.packages.append(self.pn)
self.packages_dynamic = self.listvar('PACKAGES_DYNAMIC', metadata)
self.skipreason = self.getvar('__SKIPPED', metadata)
if self.skipreason:
self.skipped = True
return
self.tasks = metadata.getVar('__BBTASKS', False)
self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata)
self.hashfilename = self.getvar('BB_HASHFILENAME', metadata)
@@ -125,11 +113,8 @@ class CoreRecipeInfo(RecipeInfoCommon):
self.stampclean = self.getvar('STAMPCLEAN', metadata)
self.stamp_extrainfo = self.flaglist('stamp-extra-info', self.tasks, metadata)
self.file_checksums = self.flaglist('file-checksums', self.tasks, metadata, True)
self.packages_dynamic = self.listvar('PACKAGES_DYNAMIC', metadata)
self.depends = self.depvar('DEPENDS', metadata)
self.provides = self.depvar('PROVIDES', metadata)
self.rdepends = self.depvar('RDEPENDS', metadata)
self.rprovides = self.depvar('RPROVIDES', metadata)
self.rrecommends = self.depvar('RRECOMMENDS', metadata)
self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata)
self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata)
@@ -249,7 +234,7 @@ def virtualfn2realfn(virtualfn):
Convert a virtual file name to a real one + the associated subclass keyword
"""
mc = ""
if virtualfn.startswith('multiconfig:'):
if virtualfn.startswith('mc:'):
elems = virtualfn.split(':')
mc = elems[1]
virtualfn = ":".join(elems[2:])
@@ -270,7 +255,7 @@ def realfn2virtual(realfn, cls, mc):
if cls:
realfn = "virtual:" + cls + ":" + realfn
if mc:
realfn = "multiconfig:" + mc + ":" + realfn
realfn = "mc:" + mc + ":" + realfn
return realfn
def variant2virtual(realfn, variant):
@@ -279,11 +264,11 @@ def variant2virtual(realfn, variant):
"""
if variant == "":
return realfn
if variant.startswith("multiconfig:"):
if variant.startswith("mc:"):
elems = variant.split(":")
if elems[2]:
return "multiconfig:" + elems[1] + ":virtual:" + ":".join(elems[2:]) + ":" + realfn
return "multiconfig:" + elems[1] + ":" + realfn
return "mc:" + elems[1] + ":virtual:" + ":".join(elems[2:]) + ":" + realfn
return "mc:" + elems[1] + ":" + realfn
return "virtual:" + variant + ":" + realfn
def parse_recipe(bb_data, bbfile, appends, mc=''):
@@ -361,7 +346,7 @@ class NoCache(object):
bb_data = self.databuilder.mcdata[mc].createCopy()
newstores = parse_recipe(bb_data, bbfile, appends, mc)
for ns in newstores:
datastores["multiconfig:%s:%s" % (mc, ns)] = newstores[ns]
datastores["mc:%s:%s" % (mc, ns)] = newstores[ns]
return datastores
@@ -411,6 +396,15 @@ class Cache(NoCache):
else:
logger.debug(1, "Cache file %s not found, building..." % self.cachefile)
# We don't use the symlink, its just for debugging convinience
symlink = os.path.join(self.cachedir, "bb_cache.dat")
if os.path.exists(symlink):
bb.utils.remove(symlink)
try:
os.symlink(os.path.basename(self.cachefile), symlink)
except OSError:
pass
def load_cachefile(self):
cachesize = 0
previous_progress = 0

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Extra RecipeInfo will be all defined in this file. Currently,
# Only Hob (Image Creator) Requests some extra fields. So
@@ -12,18 +10,8 @@
# Copyright (C) 2011, Intel Corporation. All rights reserved.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from bb.cache import RecipeInfoCommon

View File

@@ -2,18 +2,8 @@
#
# Copyright (C) 2012 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import glob
import operator

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
BitBake code parser

View File

@@ -6,18 +6,8 @@ Provide an interface to interact with the bitbake server through 'commands'
# Copyright (C) 2006-2007 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""
The bitbake server takes 'commands' from its UI/commandline.

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""Code pulled from future python versions, here for compatibility"""
from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
@@ -9,19 +6,8 @@
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 - 2007 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys, os, glob, os.path, re, time
import atexit
@@ -391,8 +377,9 @@ class BBCooker:
if CookerFeatures.BASEDATASTORE_TRACKING in self.featureset:
self.disableDataTracking()
self.data.renameVar("__depends", "__base_depends")
self.add_filewatch(self.data.getVar("__base_depends", False), self.configwatcher)
for mc in self.databuilder.mcdata.values():
mc.renameVar("__depends", "__base_depends")
self.add_filewatch(mc.getVar("__base_depends", False), self.configwatcher)
self.baseconfig_valid = True
self.parsecache_valid = False
@@ -507,6 +494,7 @@ class BBCooker:
"""
fn = None
envdata = None
mc = ''
if not pkgs_to_build:
pkgs_to_build = []
@@ -515,6 +503,12 @@ class BBCooker:
self.enableDataTracking()
self.reset()
def mc_base(p):
if p.startswith('mc:'):
s = p.split(':')
if len(s) == 2:
return s[1]
return None
if buildfile:
# Parse the configuration here. We need to do it explicitly here since
@@ -525,18 +519,16 @@ class BBCooker:
fn = self.matchFile(fn)
fn = bb.cache.realfn2virtual(fn, cls, mc)
elif len(pkgs_to_build) == 1:
ignore = self.data.getVar("ASSUME_PROVIDED") or ""
if pkgs_to_build[0] in set(ignore.split()):
bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
mc = mc_base(pkgs_to_build[0])
if not mc:
ignore = self.data.getVar("ASSUME_PROVIDED") or ""
if pkgs_to_build[0] in set(ignore.split()):
bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.abort, allowincomplete=True)
taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.abort, allowincomplete=True)
mc = runlist[0][0]
fn = runlist[0][3]
else:
envdata = self.data
data.expandKeys(envdata)
parse.ast.runAnonFuncs(envdata)
mc = runlist[0][0]
fn = runlist[0][3]
if fn:
try:
@@ -545,6 +537,12 @@ class BBCooker:
except Exception as e:
parselog.exception("Unable to read %s", fn)
raise
else:
if not mc in self.databuilder.mcdata:
bb.fatal('Not multiconfig named "%s" found' % mc)
envdata = self.databuilder.mcdata[mc]
data.expandKeys(envdata)
parse.ast.runAnonFuncs(envdata)
# Display history
with closing(StringIO()) as env:
@@ -584,10 +582,10 @@ class BBCooker:
wildcard = False
# Wild card expansion:
# Replace string such as "multiconfig:*:bash"
# into "multiconfig:A:bash multiconfig:B:bash bash"
# Replace string such as "mc:*:bash"
# into "mc:A:bash mc:B:bash bash"
for k in targetlist:
if k.startswith("multiconfig:"):
if k.startswith("mc:"):
if wildcard:
bb.fatal('multiconfig conflict')
if k.split(":")[1] == "*":
@@ -620,7 +618,7 @@ class BBCooker:
runlist = []
for k in fulltargetlist:
mc = ""
if k.startswith("multiconfig:"):
if k.startswith("mc:"):
mc = k.split(":")[1]
k = ":".join(k.split(":")[2:])
ktask = task
@@ -639,9 +637,13 @@ class BBCooker:
runlist.append([mc, k, ktask, fn])
bb.event.fire(bb.event.TreeDataPreparationProgress(current, len(fulltargetlist)), self.data)
havemc = False
for mc in self.multiconfigs:
if taskdata[mc].get_mcdepends():
havemc = True
# No need to do check providers if there are no mcdeps or not an mc build
if len(self.multiconfigs) > 1:
if havemc or len(self.multiconfigs) > 1:
seen = set()
new = True
# Make sure we can provide the multiconfig dependency
@@ -701,7 +703,7 @@ class BBCooker:
@staticmethod
def add_mc_prefix(mc, pn):
if mc:
return "multiconfig:%s:%s" % (mc, pn)
return "mc:%s:%s" % (mc, pn)
return pn
def buildDependTree(self, rq, taskdata):
@@ -1216,8 +1218,8 @@ class BBCooker:
continue
elif regex == "":
parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c)
cre = re.compile('^NULL$')
errors = False
continue
else:
try:
cre = re.compile(regex)
@@ -1478,7 +1480,7 @@ class BBCooker:
ntargets = []
for target in runlist:
if target[0]:
ntargets.append("multiconfig:%s:%s:%s" % (target[0], target[1], target[2]))
ntargets.append("mc:%s:%s:%s" % (target[0], target[1], target[2]))
ntargets.append("%s:%s" % (target[1], target[2]))
for mc in self.multiconfigs:
@@ -1601,6 +1603,9 @@ class BBCooker:
for pkg in pkgs_to_build:
if pkg in ignore:
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
if pkg.startswith("multiconfig:"):
pkgs_to_build.remove(pkg)
pkgs_to_build.append(pkg.replace("multiconfig:", "mc:"))
if 'world' in pkgs_to_build:
pkgs_to_build.remove('world')
@@ -1608,7 +1613,7 @@ class BBCooker:
bb.providers.buildWorldTargetList(self.recipecaches[mc], task)
for t in self.recipecaches[mc].world_target:
if mc:
t = "multiconfig:" + mc + ":" + t
t = "mc:" + mc + ":" + t
pkgs_to_build.append(t)
if 'universe' in pkgs_to_build:
@@ -1627,7 +1632,7 @@ class BBCooker:
bb.debug(1, "Skipping %s for universe tasks as task %s doesn't exist" % (t, task))
continue
if mc:
t = "multiconfig:" + mc + ":" + t
t = "mc:" + mc + ":" + t
pkgs_to_build.append(t)
return pkgs_to_build

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
@@ -9,18 +6,8 @@
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import logging
import os
@@ -134,6 +121,7 @@ class CookerConfiguration(object):
self.profile = False
self.nosetscene = False
self.setsceneonly = False
self.skipsetscene = False
self.invalidate_stamp = False
self.dump_signatures = []
self.dry_run = False
@@ -354,14 +342,24 @@ class CookerDataBuilder(object):
data = parse_config_file(layerconf, data)
layers = (data.getVar('BBLAYERS') or "").split()
broken_layers = []
data = bb.data.createCopy(data)
approved = bb.utils.approved_variables()
# Check whether present layer directories exist
for layer in layers:
if not os.path.isdir(layer):
parselog.critical("Layer directory '%s' does not exist! "
"Please check BBLAYERS in %s" % (layer, layerconf))
sys.exit(1)
broken_layers.append(layer)
if broken_layers:
parselog.critical("The following layer directories do not exist:")
for layer in broken_layers:
parselog.critical(" %s", layer)
parselog.critical("Please check BBLAYERS in %s" % (layerconf))
sys.exit(1)
for layer in layers:
parselog.debug(2, "Adding layer %s", layer)
if 'HOME' in approved and '~' in layer:
layer = os.path.expanduser(layer)

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
Python Daemonizing helper

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Data' implementations
@@ -22,18 +20,7 @@ the speed is more critical here.
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2005 Holger Hans Peter Freyther
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake Smart Dictionary Implementation
@@ -14,18 +12,8 @@ BitBake build tools.
# Copyright (C) 2005 Uli Luckas
# Copyright (C) 2005 ROAD GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import copy, re, sys, traceback

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Event' implementation
@@ -9,18 +7,8 @@ BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, sys
import warnings
@@ -136,6 +124,7 @@ def fire_class_handlers(event, d):
ui_queue = []
@atexit.register
def print_ui_queue():
global ui_queue
"""If we're exiting before a UI has been spawned, display any queued
LogRecords to the console."""
logger = logging.getLogger("BitBake")
@@ -180,6 +169,7 @@ def print_ui_queue():
logger.removeHandler(stderr)
else:
logger.removeHandler(stdout)
ui_queue = []
def fire_ui_handlers(event, d):
global _thread_lock
@@ -414,23 +404,6 @@ class RecipeTaskPreProcess(RecipeEvent):
class RecipeParsed(RecipeEvent):
""" Recipe Parsing Complete """
class StampUpdate(Event):
"""Trigger for any adjustment of the stamp files to happen"""
def __init__(self, targets, stampfns):
self._targets = targets
self._stampfns = stampfns
Event.__init__(self)
def getStampPrefix(self):
return self._stampfns
def getTargets(self):
return self._targets
stampPrefix = property(getStampPrefix)
targets = property(getTargets)
class BuildBase(Event):
"""Base class for bitbake build events"""

View File

@@ -1,3 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import inspect
import traceback

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementations
@@ -10,18 +8,7 @@ BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2012 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
@@ -524,7 +511,7 @@ def fetcher_parse_save():
def fetcher_parse_done():
_checksum_cache.save_merge()
def fetcher_compare_revisions():
def fetcher_compare_revisions(d):
"""
Compare the revisions in the persistant cache with current values and
return true/false on whether they've changed.
@@ -777,7 +764,8 @@ def get_srcrev(d, method_name='sortable_revision'):
#
format = d.getVar('SRCREV_FORMAT')
if not format:
raise FetchError("The SRCREV_FORMAT variable must be set when multiple SCMs are used.")
raise FetchError("The SRCREV_FORMAT variable must be set when multiple SCMs are used.\n"\
"The SCMs are:\n%s" % '\n'.join(scms))
name_to_rev = {}
seenautoinc = False
@@ -855,10 +843,18 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
if val:
cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
# Ensure that a _PYTHON_SYSCONFIGDATA_NAME value set by a recipe
# (for example via python3native.bbclass since warrior) is not set for
# host Python (otherwise tools like git-make-shallow will fail)
cmd = 'unset _PYTHON_SYSCONFIGDATA_NAME; ' + cmd
# Disable pseudo as it may affect ssh, potentially causing it to hang.
cmd = 'export PSEUDO_DISABLED=1; ' + cmd
logger.debug(1, "Running %s", cmd)
if workdir:
logger.debug(1, "Running '%s' in %s" % (cmd, workdir))
else:
logger.debug(1, "Running %s", cmd)
success = False
error_message = ""
@@ -894,7 +890,7 @@ def check_network_access(d, info, url):
log remote network access, and error if BB_NO_NETWORK is set or the given
URI is untrusted
"""
if d.getVar("BB_NO_NETWORK") == "1":
if bb.utils.to_boolean(d.getVar("BB_NO_NETWORK")):
raise NetworkAccess(url, info)
elif not trusted_network(d, url):
raise UntrustedUrl(url, info)
@@ -1094,7 +1090,7 @@ def trusted_network(d, url):
BB_ALLOWED_NETWORKS is set globally or for a specific recipe.
Note: modifies SRC_URI & mirrors.
"""
if d.getVar('BB_NO_NETWORK') == "1":
if bb.utils.to_boolean(d.getVar("BB_NO_NETWORK")):
return True
pkgname = d.expand(d.getVar('PN', False))
@@ -1403,7 +1399,7 @@ class FetchMethod(object):
Fetch urls
Assumes localpath was called first
"""
raise NoMethodError(url)
raise NoMethodError(urldata.url)
def unpack(self, urldata, rootdir, data):
iterate = False
@@ -1547,7 +1543,7 @@ class FetchMethod(object):
Check the status of a URL
Assumes localpath was called first
"""
logger.info("URL %s could not be checked for status since no method exists.", url)
logger.info("URL %s could not be checked for status since no method exists.", urldata.url)
return True
def latest_revision(self, ud, d, name):
@@ -1555,7 +1551,7 @@ class FetchMethod(object):
Look in the cache for the latest revision, if not present ask the SCM.
"""
if not hasattr(self, "_latest_revision"):
raise ParameterError("The fetcher for this URL does not support _latest_revision", url)
raise ParameterError("The fetcher for this URL does not support _latest_revision", ud.url)
revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
key = self.generate_revision_key(ud, d, name)
@@ -1638,7 +1634,7 @@ class Fetch(object):
urls = self.urls
network = self.d.getVar("BB_NO_NETWORK")
premirroronly = (self.d.getVar("BB_FETCH_PREMIRRORONLY") == "1")
premirroronly = bb.utils.to_boolean(self.d.getVar("BB_FETCH_PREMIRRORONLY"))
for u in urls:
ud = self.ud[u]
@@ -1786,7 +1782,7 @@ class Fetch(object):
for url in urls:
if url not in self.ud:
self.ud[url] = FetchData(url, d)
self.ud[url] = FetchData(url, self.d)
ud = self.ud[url]
ud.setup_localpath(self.d)

View File

@@ -10,18 +10,8 @@ BitBake 'Fetch' implementation for bzr.
# BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' clearcase implementation
@@ -47,18 +45,7 @@ User credentials:
"""
# Copyright (C) 2014 Siemens AG
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import os
@@ -67,6 +54,8 @@ import shutil
import bb
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import MissingParameterError
from bb.fetch2 import ParameterError
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
@@ -92,7 +81,7 @@ class ClearCase(FetchMethod):
if 'protocol' in ud.parm:
ud.proto = ud.parm['protocol']
if not ud.proto in ('http', 'https'):
raise fetch2.ParameterError("Invalid protocol type", ud.url)
raise ParameterError("Invalid protocol type", ud.url)
ud.vob = ''
if 'vob' in ud.parm:

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementations
@@ -10,20 +8,9 @@ BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#Based on functions from the base bb module, Copyright 2003 Holger Schurig
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
#
import os

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' git implementation
@@ -55,20 +53,10 @@ Supported SRC_URI options are:
"""
#Copyright (C) 2005 Richard Purdie
# Copyright (C) 2005 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import collections
import errno
@@ -318,7 +306,7 @@ class Git(FetchMethod):
def try_premirror(self, ud, d):
# If we don't do this, updating an existing checkout with only premirrors
# is not possible
if d.getVar("BB_FETCH_PREMIRRORONLY") is not None:
if bb.utils.to_boolean(d.getVar("BB_FETCH_PREMIRRORONLY")):
return True
if os.path.exists(ud.clonedir):
return False
@@ -503,6 +491,17 @@ class Git(FetchMethod):
repourl = self._get_repo_url(ud)
runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, repourl), d, workdir=destdir)
if self._contains_lfs(ud, d, destdir):
path = d.getVar('PATH')
if path:
gitlfstool = bb.utils.which(path, "git-lfs", executable=True)
if not gitlfstool:
raise bb.fetch2.FetchError("Repository %s has lfs content, install git-lfs plugin on host to download" % (repourl))
else:
bb.note("Could not find 'PATH'")
if not ud.nocheckout:
if subdir != "":
runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.revisions[ud.names[0]], readpathspec), d,
@@ -522,9 +521,17 @@ class Git(FetchMethod):
def clean(self, ud, d):
""" clean the git directory """
bb.utils.remove(ud.localpath, True)
bb.utils.remove(ud.fullmirror)
bb.utils.remove(ud.fullmirror + ".done")
to_remove = [ud.localpath, ud.fullmirror, ud.fullmirror + ".done"]
# The localpath is a symlink to clonedir when it is cloned from a
# mirror, so remove both of them.
if os.path.islink(ud.localpath):
clonedir = os.path.realpath(ud.localpath)
to_remove.append(clonedir)
for r in to_remove:
if os.path.exists(r):
bb.note('Removing %s' % r)
bb.utils.remove(r, True)
def supports_srcrev(self):
return True
@@ -545,6 +552,20 @@ class Git(FetchMethod):
raise bb.fetch2.FetchError("The command '%s' gave output with more then 1 line unexpectedly, output: '%s'" % (cmd, output))
return output.split()[0] != "0"
def _contains_lfs(self, ud, d, wd):
"""
Check if the repository has 'lfs' (large file) content
"""
cmd = "%s grep lfs HEAD:.gitattributes | wc -l" % (
ud.basecmd)
try:
output = runfetchcmd(cmd, d, quiet=True, workdir=wd)
if int(output) > 0:
return True
except (bb.fetch2.FetchError,ValueError):
pass
return False
def _get_repo_url(self, ud):
"""
Return the repository URL

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' git annex implementation
"""
@@ -7,18 +5,8 @@ BitBake 'Fetch' git annex implementation
# Copyright (C) 2014 Otavio Salvador
# Copyright (C) 2014 O.S. Systems Software LTDA.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import bb

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' git submodules implementation
@@ -16,18 +14,8 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r
# Copyright (C) 2013 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import bb
@@ -129,7 +117,7 @@ class GitSM(Git):
url += ';protocol=%s' % proto
url += ";name=%s" % module
url += ";subpath=%s" % paths[module]
url += ";subpath=%s" % module
ld = d.createCopy()
# Not necessary to set SRC_URI, since we're passing the URI to
@@ -147,6 +135,23 @@ class GitSM(Git):
return submodules != []
def need_update(self, ud, d):
if Git.need_update(self, ud, d):
return True
try:
# Check for the nugget dropped by the download operation
known_srcrevs = runfetchcmd("%s config --get-all bitbake.srcrev" % \
(ud.basecmd), d, workdir=ud.clonedir)
if ud.revisions[ud.names[0]] not in known_srcrevs.split():
return True
except bb.fetch2.FetchError:
# No srcrev nuggets, so this is new and needs to be updated
return True
return False
def download(self, ud, d):
def download_submodule(ud, url, module, modpath, d):
url += ";bareclone=1;nobranch=1"
@@ -157,6 +162,9 @@ class GitSM(Git):
try:
newfetch = Fetch([url], d, cache=False)
newfetch.download()
# Drop a nugget to add each of the srcrevs we've fetched (used by need_update)
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
except Exception as e:
logger.error('gitsm: submodule download failed: %s %s' % (type(e).__name__, str(e)))
raise
@@ -176,7 +184,7 @@ class GitSM(Git):
try:
newfetch = Fetch([url], d, cache=False)
newfetch.unpack(root=os.path.dirname(os.path.join(repo_conf, 'modules', modpath)))
newfetch.unpack(root=os.path.dirname(os.path.join(repo_conf, 'modules', module)))
except Exception as e:
logger.error('gitsm: submodule unpack failed: %s %s' % (type(e).__name__, str(e)))
raise
@@ -191,9 +199,9 @@ class GitSM(Git):
# Ensure the submodule repository is NOT set to bare, since we're checking it out...
try:
runfetchcmd("%s config core.bare false" % (ud.basecmd), d, quiet=True, workdir=os.path.join(repo_conf, 'modules', modpath))
runfetchcmd("%s config core.bare false" % (ud.basecmd), d, quiet=True, workdir=os.path.join(repo_conf, 'modules', module))
except:
logger.error("Unable to set git config core.bare to false for %s" % os.path.join(repo_conf, 'modules', modpath))
logger.error("Unable to set git config core.bare to false for %s" % os.path.join(repo_conf, 'modules', module))
raise
Git.unpack(self, ud, destdir, d)
@@ -201,5 +209,7 @@ class GitSM(Git):
ret = self.process_submodules(ud, ud.destdir, unpack_submodules, d)
if not ud.bareclone and ret:
# Run submodule update, this sets up the directories -- without touching the config
# All submodules should already be downloaded and configured in the tree. This simply sets
# up the configuration and checks out the files. The main project config should remain
# unmodified, and no download from the internet should occur.
runfetchcmd("%s submodule update --recursive --no-fetch" % (ud.basecmd), d, quiet=True, workdir=ud.destdir)

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementation for mercurial DRCS (hg).
@@ -9,20 +7,10 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
# Copyright (C) 2004 Marcin Juszkiewicz
# Copyright (C) 2007 Robert Schuster
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
#
import os
import sys
@@ -99,7 +87,7 @@ class Hg(FetchMethod):
def try_premirror(self, ud, d):
# If we don't do this, updating an existing checkout with only premirrors
# is not possible
if d.getVar("BB_FETCH_PREMIRRORONLY") is not None:
if bb.utils.to_boolean(d.getVar("BB_FETCH_PREMIRRORONLY")):
return True
if os.path.exists(ud.moddir):
return False

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementations
@@ -10,20 +8,10 @@ BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
#
import os
import urllib.request, urllib.parse, urllib.error

View File

@@ -1,5 +1,6 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
BitBake 'Fetch' NPM implementation
@@ -150,20 +151,11 @@ class Npm(FetchMethod):
Parse the output of npm view --json; the last JSON result
is assumed to be the one that we're interested in.
'''
pdata = None
outdeps = {}
datalines = []
bracelevel = 0
for line in output.splitlines():
if bracelevel:
datalines.append(line)
elif '{' in line:
datalines = []
datalines.append(line)
bracelevel = bracelevel + line.count('{') - line.count('}')
if datalines:
pdata = json.loads('\n'.join(datalines))
return pdata
pdata = json.loads(output);
try:
return pdata[-1]
except:
return pdata
def _getdependencies(self, pkg, data, version, d, ud, optional=False, fetchedlist=None):
if fetchedlist is None:

View File

@@ -1,5 +1,6 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
Bitbake "Fetch" implementation for osc (Opensuse build service client).
Based on the svn "Fetch" implementation.

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementation for perforce
@@ -8,18 +6,7 @@ BitBake 'Fetch' implementation for perforce
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2016 Kodak Alaris, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake "Fetch" repo (git) implementation
@@ -8,20 +6,10 @@ BitBake "Fetch" repo (git) implementation
# Copyright (C) 2009 Tom Rini <trini@embeddedalley.com>
#
# Based on git.py which is:
#Copyright (C) 2005 Richard Purdie
# Copyright (C) 2005 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import bb

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementation for Amazon AWS S3.
@@ -13,18 +11,7 @@ The aws tool must be correctly installed and configured prior to use.
# Based in part on bb.fetch2.wget:
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake SFTP Fetch implementation
@@ -44,18 +42,7 @@ SRC_URI = "sftp://user@host.example.com/dir/path.file.txt"
# Based in part on bb.fetch2.wget:
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
'''
BitBake 'Fetch' implementations
@@ -29,18 +27,8 @@ IETF secsh internet draft:
# Copyright 2003 Holger Schurig
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re, os
from bb.fetch2 import FetchMethod

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementation for svn.
@@ -8,18 +6,7 @@ BitBake 'Fetch' implementation for svn.
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2004 Marcin Juszkiewicz
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
@@ -104,6 +91,13 @@ class Svn(FetchMethod):
svncmd = "%s log --limit 1 %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
else:
suffix = ""
# externals may be either 'allowed' or 'nowarn', but not both. Allowed
# will not issue a warning, but will log to the debug buffer what has likely
# been downloaded by SVN.
if not ("externals" in ud.parm and ud.parm["externals"] == "allowed"):
options.append("--ignore-externals")
if ud.revision:
options.append("-r %s" % ud.revision)
suffix = "@%s" % (ud.revision)
@@ -149,6 +143,18 @@ class Svn(FetchMethod):
bb.fetch2.check_network_access(d, svnfetchcmd, ud.url)
runfetchcmd(svnfetchcmd, d, workdir=ud.pkgdir)
if not ("externals" in ud.parm and ud.parm["externals"] == "nowarn"):
# Warn the user if this had externals (won't catch them all)
output = runfetchcmd("svn propget svn:externals", d, workdir=ud.moddir)
if output:
if "--ignore-externals" in svnfetchcmd.split():
bb.warn("%s contains svn:externals." % ud.url)
bb.warn("These should be added to the recipe SRC_URI as necessary.")
bb.warn("svn fetch has ignored externals:\n%s" % output)
bb.warn("To disable this warning add ';externals=nowarn' to the url.")
else:
bb.debug(1, "svn repository has externals:\n%s" % output)
scmdata = ud.parm.get("scmdata", "")
if scmdata == "keep":
tar_flags = ""

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementations
@@ -10,18 +8,7 @@ BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
@@ -33,11 +20,14 @@ import logging
import errno
import bb
import bb.progress
import socket
import http.client
import urllib.request, urllib.parse, urllib.error
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2 import runfetchcmd
from bb.fetch2 import FetchConnectionCache
from bb.utils import export_proxies
from bs4 import BeautifulSoup
from bs4 import SoupStrainer
@@ -132,10 +122,6 @@ class Wget(FetchMethod):
return True
def checkstatus(self, fetch, ud, d, try_again=True):
import urllib.request, urllib.error, urllib.parse, socket, http.client
from urllib.response import addinfourl
from bb.fetch2 import FetchConnectionCache
class HTTPConnectionCache(http.client.HTTPConnection):
if fetch.connection_cache:
def connect(self):
@@ -185,7 +171,7 @@ class Wget(FetchMethod):
# request.
# Don't close connection when connection_cache is enabled,
if fetch.connection_cache is None:
if fetch.connection_cache is None:
headers["Connection"] = "close"
else:
headers["Connection"] = "Keep-Alive" # Works for HTTP/1.0
@@ -252,7 +238,7 @@ class Wget(FetchMethod):
pass
closed = False
resp = addinfourl(fp_dummy(), r.msg, req.get_full_url())
resp = urllib.response.addinfourl(fp_dummy(), r.msg, req.get_full_url())
resp.code = r.status
resp.msg = r.reason
@@ -271,17 +257,16 @@ class Wget(FetchMethod):
fp.read()
fp.close()
newheaders = dict((k,v) for k,v in list(req.headers.items())
newheaders = dict((k, v) for k, v in list(req.headers.items())
if k.lower() not in ("content-length", "content-type"))
return self.parent.open(urllib.request.Request(req.get_full_url(),
headers=newheaders,
origin_req_host=req.origin_req_host,
unverifiable=True))
"""
Some servers (e.g. GitHub archives, hosted on Amazon S3) return 403
Forbidden when they actually mean 405 Method Not Allowed.
"""
# Some servers (e.g. GitHub archives, hosted on Amazon S3) return 403
# Forbidden when they actually mean 405 Method Not Allowed.
http_error_403 = http_error_405
@@ -292,15 +277,15 @@ class Wget(FetchMethod):
"""
def redirect_request(self, req, fp, code, msg, headers, newurl):
newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl)
newreq.get_method = lambda: req.get_method()
newreq.get_method = req.get_method
return newreq
exported_proxies = export_proxies(d)
handlers = [FixedHTTPRedirectHandler, HTTPMethodFallback]
if export_proxies:
if exported_proxies:
handlers.append(urllib.request.ProxyHandler())
handlers.append(CacheHTTPHandler())
# XXX: Since Python 2.7.9 ssl cert validation is enabled by default
# Since Python 2.7.9 ssl cert validation is enabled by default
# see PEP-0476, this causes verification errors on some https servers
# so disable by default.
import ssl
@@ -319,19 +304,19 @@ class Wget(FetchMethod):
'''Adds Basic auth to http request, pass in login:password as string'''
import base64
encodeuser = base64.b64encode(login_str.encode('utf-8')).decode("utf-8")
authheader = "Basic %s" % encodeuser
authheader = "Basic %s" % encodeuser
r.add_header("Authorization", authheader)
if ud.user:
add_basic_auth(ud.user, r)
if ud.user and ud.pswd:
add_basic_auth(ud.user + ':' + ud.pswd, r)
try:
import netrc, urllib.parse
import netrc
n = netrc.netrc()
login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
add_basic_auth("%s:%s" % (login, password), r)
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
pass
pass
with opener.open(r) as response:
pass
@@ -396,18 +381,14 @@ class Wget(FetchMethod):
(oldpn, oldpv, oldsuffix) = old
(newpn, newpv, newsuffix) = new
"""
Check for a new suffix type that we have never heard of before
"""
if (newsuffix):
# Check for a new suffix type that we have never heard of before
if newsuffix:
m = self.suffix_regex_comp.search(newsuffix)
if not m:
bb.warn("%s has a possible unknown suffix: %s" % (newpn, newsuffix))
return False
"""
Not our package so ignore it
"""
# Not our package so ignore it
if oldpn != newpn:
return False
@@ -473,10 +454,9 @@ class Wget(FetchMethod):
return ""
def _check_latest_version_by_dir(self, dirver, package, package_regex,
current_version, ud, d):
def _check_latest_version_by_dir(self, dirver, package, package_regex, current_version, ud, d):
"""
Scan every directory in order to get upstream version.
Scan every directory in order to get upstream version.
"""
version_dir = ['', '', '']
version = ['', '', '']

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
@@ -9,18 +6,8 @@
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys
@@ -267,6 +254,11 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
help="Do not run any setscene tasks. sstate will be ignored and "
"everything needed, built.")
parser.add_option("", "--skip-setscene", action="store_true",
dest="skipsetscene", default=False,
help="Skip setscene tasks if they would be executed. Tasks previously "
"restored from sstate will be kept, unlike --no-setscene")
parser.add_option("", "--setscene-only", action="store_true",
dest="setsceneonly", default=False,
help="Only run setscene tasks, don't run any real tasks.")
@@ -460,12 +452,7 @@ def setup_bitbake(configParams, configuration, extrafeatures=None):
bb.utils.unlockfile(lock)
raise bb.server.process.ProcessTimeout("Bitbake still shutting down as socket exists but no lock?")
if not configParams.server_only:
try:
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
except EOFError:
# The server may have been shutting down but not closed the socket yet. If that happened,
# ignore it.
pass
server_connection = bb.server.process.connectProcessServer(sockname, featureset)
if server_connection or configParams.server_only:
break
@@ -476,12 +463,13 @@ def setup_bitbake(configParams, configuration, extrafeatures=None):
raise
retries -= 1
tryno = 8 - retries
if isinstance(e, (bb.server.process.ProcessTimeout, BrokenPipeError)):
if isinstance(e, (bb.server.process.ProcessTimeout, BrokenPipeError, EOFError)):
logger.info("Retrying server connection (#%d)..." % tryno)
else:
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))
if not retries:
bb.fatal("Unable to connect to bitbake server, or start one")
bb.fatal("Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).")
bb.event.print_ui_queue()
if retries < 5:
time.sleep(5)
@@ -503,7 +491,7 @@ def setup_bitbake(configParams, configuration, extrafeatures=None):
def lockBitbake():
topdir = bb.cookerdata.findTopdir()
if not topdir:
bb.error("Unable to find conf/bblayers.conf or conf/bitbake.conf. BBAPTH is unset and/or not in a build directory?")
bb.error("Unable to find conf/bblayers.conf or conf/bitbake.conf. BBPATH is unset and/or not in a build directory?")
raise BBMainFatal
lockfile = topdir + "/bitbake.lock"
return topdir, bb.utils.lockfile(lockfile, False, False)

View File

@@ -1,21 +1,8 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
#
# Copyright (C) 2006 Holger Hans Peter Freyther
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from bb.utils import better_compile, better_exec

View File

@@ -1,21 +1,8 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2012 Robert Yang
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os, logging, re, sys
import bb

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'msg' implementation
@@ -9,18 +7,8 @@ Message handling infrastructure for bitbake
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys
import copy

View File

@@ -1,6 +1,8 @@
# http://code.activestate.com/recipes/577629-namedtupleabc-abstract-base-class-mix-in-for-named/
#!/usr/bin/env python
# Copyright (c) 2011 Jan Kaliszewski (zuo). Available under the MIT License.
#
# SPDX-License-Identifier: MIT
#
"""
namedtuple_with_abc.py:

View File

@@ -9,20 +9,10 @@ File parsers for the BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
#
handlers = []

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
AbstractSyntaxTree classes for the Bitbake language
"""
@@ -8,19 +6,8 @@
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2009 Holger Hans Peter Freyther
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re
import string

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
class for handling .bb files
@@ -12,19 +9,8 @@
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re, bb, os
import logging
@@ -42,7 +28,7 @@ __func_start_regexp__ = re.compile(r"(((?P<py>python)|(?P<fr>fakeroot))\s*)*(
__inherit_regexp__ = re.compile(r"inherit\s+(.+)" )
__export_func_regexp__ = re.compile(r"EXPORT_FUNCTIONS\s+(.+)" )
__addtask_regexp__ = re.compile(r"addtask\s+(?P<func>\w+)\s*((before\s*(?P<before>((.*(?=after))|(.*))))|(after\s*(?P<after>((.*(?=before))|(.*)))))*")
__deltask_regexp__ = re.compile(r"deltask\s+(?P<func>\w+)")
__deltask_regexp__ = re.compile(r"deltask\s+(?P<func>\w+)(?P<ignores>.*)")
__addhandler_regexp__ = re.compile(r"addhandler\s+(.+)" )
__def_regexp__ = re.compile(r"def\s+(\w+).*:" )
__python_func_regexp__ = re.compile(r"(\s+.*)|(^$)|(^#)" )
@@ -236,11 +222,27 @@ def feeder(lineno, s, fn, root, statements, eof=False):
m = __addtask_regexp__.match(s)
if m:
if len(m.group().split()) == 2:
# Check and warn for "addtask task1 task2"
m2 = re.match(r"addtask\s+(?P<func>\w+)(?P<ignores>.*)", s)
if m2 and m2.group('ignores'):
logger.warning('addtask ignored: "%s"' % m2.group('ignores'))
# Check and warn for "addtask task1 before task2 before task3", the
# similar to "after"
taskexpression = s.split()
for word in ('before', 'after'):
if taskexpression.count(word) > 1:
logger.warning("addtask contained multiple '%s' keywords, only one is supported" % word)
ast.handleAddTask(statements, fn, lineno, m)
return
m = __deltask_regexp__.match(s)
if m:
# Check and warn "for deltask task1 task2"
if m.group('ignores'):
logger.warning('deltask ignored: "%s"' % m.group('ignores'))
ast.handleDelTask(statements, fn, lineno, m)
return

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
class for handling configuration data files
@@ -11,18 +8,8 @@
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import errno
import re

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake Parsers
@@ -11,20 +8,10 @@ File parsers for the BitBake build tools.
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
#
from __future__ import absolute_import
from . import ConfHandler

View File

@@ -8,18 +8,8 @@ currently, providing a key/value store accessed by 'domain'.
# Copyright (C) 2007 Richard Purdie
# Copyright (C) 2010 Chris Larson <chris_larson@mentor.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import collections
import logging

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import signal
import subprocess

View File

@@ -4,18 +4,8 @@ BitBake progress handling code
# Copyright (C) 2016 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import sys
import re
@@ -23,6 +13,7 @@ import time
import inspect
import bb.event
import bb.build
from bb.build import StdoutNoopContextManager
class ProgressHandler(object):
"""
@@ -37,7 +28,14 @@ class ProgressHandler(object):
if outfile:
self._outfile = outfile
else:
self._outfile = sys.stdout
self._outfile = StdoutNoopContextManager()
def __enter__(self):
self._outfile.__enter__()
return self
def __exit__(self, *excinfo):
self._outfile.__exit__(*excinfo)
def _fire_progress(self, taskprogress, rate=None):
"""Internal function to fire the progress event"""
@@ -157,6 +155,12 @@ class MultiStageProgressReporter(object):
self._stage_total = None
self._callers = []
def __enter__(self):
return self
def __exit__(self, *excinfo):
pass
def _fire_progress(self, taskprogress):
bb.event.fire(bb.build.TaskProgress(taskprogress), self._data)

View File

@@ -1,5 +1,3 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
@@ -8,18 +6,8 @@
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import re
import logging

View File

@@ -6,18 +6,8 @@ Provides support for using a datastore from the bitbake client
# Copyright (C) 2016 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import bb.data

File diff suppressed because it is too large Load Diff

View File

@@ -5,17 +5,5 @@
# Copyright (C) 2006 - 2008 Richard Purdie
# Copyright (C) 2013 Alexandru Damian
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

View File

@@ -3,18 +3,8 @@
#
# Copyright (C) 2010 Bob Foerster <robert@erafx.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""
This module implements a multiprocessing.Process based server for bitbake.

View File

@@ -4,18 +4,8 @@
# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
# Copyright (C) 2006 - 2008 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys

View File

@@ -4,18 +4,8 @@
# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
# Copyright (C) 2006 - 2008 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import os
import sys

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import hashlib
import logging
import os
@@ -45,7 +49,9 @@ class SignatureGenerator(object):
return self.taskhash[task]
def get_taskhash(self, fn, task, deps, dataCache):
return "0"
k = fn + "." + task
self.taskhash[k] = hashlib.sha256(k.encode("utf-8")).hexdigest()
return self.taskhash[k]
def writeout_file_checksum_cache(self):
"""Write/update the file checksum cache onto disk"""
@@ -119,6 +125,12 @@ class SignatureGeneratorBasic(SignatureGenerator):
k = fn + "." + task
if not ignore_mismatch and k in self.basehash and self.basehash[k] != basehash[k]:
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed." % (k, self.basehash[k], basehash[k]))
bb.error("The following commands may help:")
cmd = "$ bitbake %s -c%s" % (d.getVar('PN'), task)
# Make sure sigdata is dumped before run printdiff
bb.error("%s -Snone" % cmd)
bb.error("Then:")
bb.error("%s -Sprintdiff\n" % cmd)
self.basehash[k] = basehash[k]
self.taskdeps[fn] = taskdeps
@@ -169,7 +181,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
def get_taskhash(self, fn, task, deps, dataCache):
mc = ''
if fn.startswith('multiconfig:'):
if fn.startswith('mc:'):
mc = fn.split(':')[1]
k = fn + "." + task
@@ -184,7 +196,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
depmc = pkgname.split(':')[1]
if mc != depmc:
continue
if dep.startswith("multiconfig:") and not mc:
if dep.startswith("mc:") and not mc:
continue
depname = dataCache.pkg_fn[pkgname]
if not self.rundep_check(fn, recipename, task, dep, depname, dataCache):
@@ -402,13 +414,13 @@ def list_inline_diff(oldlist, newlist, colors=None):
def clean_basepath(a):
mc = None
if a.startswith("multiconfig:"):
if a.startswith("mc:"):
_, mc, a = a.split(":", 2)
b = a.rsplit("/", 2)[1] + '/' + a.rsplit("/", 2)[2]
if a.startswith("virtual:"):
b = b + ":" + a.rsplit(":", 1)[0]
if mc:
b = b + ":multiconfig:" + mc
b = b + ":mc:" + mc
return b
def clean_basepaths(a):
@@ -633,6 +645,10 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
a_taint = a_data.get('taint', None)
b_taint = b_data.get('taint', None)
if a_taint != b_taint:
if a_taint and a_taint.startswith('nostamp:'):
a_taint = a_taint.replace('nostamp:', 'nostamp(uuid4):')
if b_taint and b_taint.startswith('nostamp:'):
b_taint = b_taint.replace('nostamp:', 'nostamp(uuid4):')
output.append(color_format("{color_title}Taint (by forced/invalidated task) changed{color_default} from %s to %s") % (a_taint, b_taint))
return output
@@ -705,7 +721,11 @@ def dump_sigfile(a):
output.append("Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep]))
if 'taint' in a_data:
output.append("Tainted (by forced/invalidated task): %s" % a_data['taint'])
if a_data['taint'].startswith('nostamp:'):
msg = a_data['taint'].replace('nostamp:', 'nostamp(uuid4):')
else:
msg = a_data['taint']
output.append("Tainted (by forced/invalidated task): %s" % msg)
if 'task' in a_data:
computed_basehash = calc_basehash(a_data)

View File

@@ -1,6 +1,3 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'TaskData' implementation
@@ -10,18 +7,8 @@ Task data collection and handling
# Copyright (C) 2006 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import logging
import re
@@ -93,7 +80,7 @@ class TaskData:
def add_mcdepends(task):
for dep in task_deps['mcdepends'][task].split():
if len(dep.split(':')) != 5:
bb.msg.fatal("TaskData", "Error for %s:%s[%s], multiconfig dependency %s does not contain exactly four ':' characters.\n Task '%s' should be specified in the form 'multiconfig:fromMC:toMC:packagename:task'" % (fn, task, 'mcdepends', dep, 'mcdepends'))
bb.msg.fatal("TaskData", "Error for %s:%s[%s], multiconfig dependency %s does not contain exactly four ':' characters.\n Task '%s' should be specified in the form 'mc:fromMC:toMC:packagename:task'" % (fn, task, 'mcdepends', dep, 'mcdepends'))
if dep not in self.mcdepends:
self.mcdepends.append(dep)

View File

@@ -1,23 +1,10 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Test for codeparser.py
#
# Copyright (C) 2010 Chris Larson
# Copyright (C) 2012 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest

View File

@@ -1,20 +1,7 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Tests for cooker.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest

View File

@@ -1,23 +1,10 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Tests for Copy-on-Write (cow.py)
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright 2006 Holger Freyther <freyther@handhelds.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
import unittest
import os

View File

@@ -1,23 +1,10 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Tests for the Data Store (data.py/data_smart.py)
#
# Copyright (C) 2010 Chris Larson
# Copyright (C) 2012 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest

View File

@@ -1,22 +1,9 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Tests for the Event implementation (event.py)
#
# Copyright (C) 2017 Intel Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest
@@ -574,14 +561,6 @@ class EventClassesTest(unittest.TestCase):
self.assertEqual(event.fn(1), callback(1))
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_StampUpdate(self):
targets = ["foo", "bar"]
stampfns = [lambda:"foobar"]
event = bb.event.StampUpdate(targets, stampfns)
self.assertEqual(event.targets, targets)
self.assertEqual(event.stampPrefix, stampfns)
self.assertEqual(event.pid, EventClassesTest._worker_pid)
def test_BuildBase(self):
""" Test base class for bitbake build events """
name = "foo"

View File

@@ -1,22 +1,9 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Tests for the Fetcher (fetch2/)
#
# Copyright (C) 2012 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest
@@ -912,6 +899,7 @@ class FetcherNetworkTest(FetcherTest):
if os.path.exists(os.path.join(repo_path, 'bitbake-gitsm-test1')):
self.assertTrue(os.path.exists(os.path.join(repo_path, 'bitbake-gitsm-test1', 'bitbake')), msg='submodule of submodule missing')
@skipIfNoNetwork()
def test_git_submodule_dbus_broker(self):
# The following external repositories have show failures in fetch and unpack operations
# We want to avoid regressions!
@@ -929,6 +917,7 @@ class FetcherNetworkTest(FetcherTest):
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-sundry/config')), msg='Missing submodule config "subprojects/c-sundry"')
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/subprojects/c-utf8/config')), msg='Missing submodule config "subprojects/c-utf8"')
@skipIfNoNetwork()
def test_git_submodule_CLI11(self):
url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=bd4dc911847d0cde7a6b41dfa626a85aab213baf"
fetcher = bb.fetch.Fetch([url], self.d)
@@ -942,6 +931,27 @@ class FetcherNetworkTest(FetcherTest):
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/json/config')), msg='Missing submodule config "extern/json"')
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/sanitizers/config')), msg='Missing submodule config "extern/sanitizers"')
@skipIfNoNetwork()
def test_git_submodule_update_CLI11(self):
""" Prevent regression on update detection not finding missing submodule, or modules without needed commits """
url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=cf6a99fa69aaefe477cc52e3ef4a7d2d7fa40714"
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
# CLI11 that pulls in a newer nlohmann-json
url = "gitsm://github.com/CLIUtils/CLI11;protocol=git;rev=49ac989a9527ee9bb496de9ded7b4872c2e0e5ca"
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
# Previous cwd has been deleted
os.chdir(os.path.dirname(self.unpackdir))
fetcher.unpack(self.unpackdir)
repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/googletest/config')), msg='Missing submodule config "extern/googletest"')
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/json/config')), msg='Missing submodule config "extern/json"')
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/extern/sanitizers/config')), msg='Missing submodule config "extern/sanitizers"')
@skipIfNoNetwork()
def test_git_submodule_aktualizr(self):
url = "gitsm://github.com/advancedtelematic/aktualizr;branch=master;protocol=git;rev=d00d1a04cc2366d1a5f143b84b9f507f8bd32c44"
fetcher = bb.fetch.Fetch([url], self.d)
@@ -958,6 +968,114 @@ class FetcherNetworkTest(FetcherTest):
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/third_party/googletest/config')), msg='Missing submodule config "third_party/googletest/config"')
self.assertTrue(os.path.exists(os.path.join(repo_path, '.git/modules/third_party/HdrHistogram_c/config')), msg='Missing submodule config "third_party/HdrHistogram_c/config"')
@skipIfNoNetwork()
def test_git_submodule_iotedge(self):
""" Prevent regression on deeply nested submodules not being checked out properly, even though they were fetched. """
# This repository also has submodules where the module (name), path and url do not align
url = "gitsm://github.com/azure/iotedge.git;protocol=git;rev=d76e0316c6f324345d77c48a83ce836d09392699"
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
# Previous cwd has been deleted
os.chdir(os.path.dirname(self.unpackdir))
fetcher.unpack(self.unpackdir)
repo_path = os.path.join(self.tempdir, 'unpacked', 'git')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared/testtools/ctest/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared/testtools/testrunner/readme.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared/testtools/umock-c/readme.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared/testtools/umock-c/deps/ctest/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared/testtools/umock-c/deps/testrunner/readme.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/ctest/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/testrunner/readme.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/umock-c/readme.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/umock-c/deps/ctest/README.md')), msg='Missing submodule checkout')
self.assertTrue(os.path.exists(os.path.join(repo_path, 'edgelet/hsm-sys/azure-iot-hsm-c/deps/utpm/deps/c-utility/testtools/umock-c/deps/testrunner/readme.md')), msg='Missing submodule checkout')
class SVNTest(FetcherTest):
def skipIfNoSvn():
import shutil
if not shutil.which("svn"):
return unittest.skip("svn not installed, tests being skipped")
if not shutil.which("svnadmin"):
return unittest.skip("svnadmin not installed, tests being skipped")
return lambda f: f
@skipIfNoSvn()
def setUp(self):
""" Create a local repository """
super(SVNTest, self).setUp()
# Create something we can fetch
src_dir = tempfile.mkdtemp(dir=self.tempdir,
prefix='svnfetch_srcdir_')
src_dir = os.path.abspath(src_dir)
bb.process.run("echo readme > README.md", cwd=src_dir)
# Store it in a local SVN repository
repo_dir = tempfile.mkdtemp(dir=self.tempdir,
prefix='svnfetch_localrepo_')
repo_dir = os.path.abspath(repo_dir)
bb.process.run("svnadmin create project", cwd=repo_dir)
self.repo_url = "file://%s/project" % repo_dir
bb.process.run("svn import --non-interactive -m 'Initial import' %s %s/trunk" % (src_dir, self.repo_url),
cwd=repo_dir)
bb.process.run("svn co %s svnfetch_co" % self.repo_url, cwd=self.tempdir)
# Github will emulate SVN. Use this to check if we're downloding...
bb.process.run("svn propset svn:externals 'bitbake http://github.com/openembedded/bitbake' .",
cwd=os.path.join(self.tempdir, 'svnfetch_co', 'trunk'))
bb.process.run("svn commit --non-interactive -m 'Add external'",
cwd=os.path.join(self.tempdir, 'svnfetch_co', 'trunk'))
self.src_dir = src_dir
self.repo_dir = repo_dir
@skipIfNoSvn()
def tearDown(self):
os.chdir(self.origdir)
if os.environ.get("BB_TMPDIR_NOCLEAN") == "yes":
print("Not cleaning up %s. Please remove manually." % self.tempdir)
else:
bb.utils.prunedir(self.tempdir)
@skipIfNoSvn()
@skipIfNoNetwork()
def test_noexternal_svn(self):
# Always match the rev count from setUp (currently rev 2)
url = "svn://%s;module=trunk;protocol=file;rev=2" % self.repo_url.replace('file://', '')
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
os.chdir(os.path.dirname(self.unpackdir))
fetcher.unpack(self.unpackdir)
self.assertTrue(os.path.exists(os.path.join(self.unpackdir, 'trunk')), msg="Missing trunk")
self.assertTrue(os.path.exists(os.path.join(self.unpackdir, 'trunk', 'README.md')), msg="Missing contents")
self.assertFalse(os.path.exists(os.path.join(self.unpackdir, 'trunk/bitbake/trunk')), msg="External dir should NOT exist")
self.assertFalse(os.path.exists(os.path.join(self.unpackdir, 'trunk/bitbake/trunk', 'README')), msg="External README should NOT exit")
@skipIfNoSvn()
def test_external_svn(self):
# Always match the rev count from setUp (currently rev 2)
url = "svn://%s;module=trunk;protocol=file;externals=allowed;rev=2" % self.repo_url.replace('file://', '')
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
os.chdir(os.path.dirname(self.unpackdir))
fetcher.unpack(self.unpackdir)
self.assertTrue(os.path.exists(os.path.join(self.unpackdir, 'trunk')), msg="Missing trunk")
self.assertTrue(os.path.exists(os.path.join(self.unpackdir, 'trunk', 'README.md')), msg="Missing contents")
self.assertTrue(os.path.exists(os.path.join(self.unpackdir, 'trunk/bitbake/trunk')), msg="External dir should exist")
self.assertTrue(os.path.exists(os.path.join(self.unpackdir, 'trunk/bitbake/trunk', 'README')), msg="External README should exit")
class TrustedNetworksTest(FetcherTest):
def test_trusted_network(self):
# Ensure trusted_network returns False when the host IS in the list.

View File

@@ -1,22 +1,9 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Test for lib/bb/parse/
#
# Copyright (C) 2015 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest
@@ -187,3 +174,21 @@ python () {
self.assertEqual(d1.getVar("VAR_var"), "B")
self.assertEqual(d2.getVar("VAR_var"), None)
addtask_deltask = """
addtask do_patch after do_foo after do_unpack before do_configure before do_compile
addtask do_fetch do_patch
deltask do_fetch do_patch
"""
def test_parse_addtask_deltask(self):
import sys
f = self.parsehelper(self.addtask_deltask)
d = bb.parse.handle(f.name, self.d)['']
stdout = sys.stdout.getvalue()
self.assertTrue("addtask contained multiple 'before' keywords" in stdout)
self.assertTrue("addtask contained multiple 'after' keywords" in stdout)
self.assertTrue('addtask ignored: " do_patch"' in stdout)
self.assertTrue('deltask ignored: " do_patch"' in stdout)
#self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout)

View File

@@ -1,22 +1,9 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Test for lib/bb/persist_data/
#
# Copyright (C) 2018 Garmin Ltd.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest

View File

@@ -0,0 +1,242 @@
SLOWTASKS ??= ""
SSTATEVALID ??= ""
def stamptask(d):
import time
thistask = d.expand("${PN}:${BB_CURRENTTASK}")
with open(d.expand("${TOPDIR}/%s.run") % thistask, "a+") as f:
f.write("\n")
if d.getVar("BB_CURRENT_MC") != "default":
thistask = d.expand("${BB_CURRENT_MC}:${PN}:${BB_CURRENTTASK}")
if thistask in d.getVar("SLOWTASKS").split():
bb.note("Slowing task %s" % thistask)
time.sleep(0.5)
with open(d.expand("${TOPDIR}/task.log"), "a+") as f:
f.write(thistask + "\n")
python do_fetch() {
# fetch
stamptask(d)
}
python do_unpack() {
# unpack
stamptask(d)
}
python do_patch() {
# patch
stamptask(d)
}
python do_populate_lic() {
# populate_lic
stamptask(d)
}
python do_prepare_recipe_sysroot() {
# prepare_recipe_sysroot
stamptask(d)
}
python do_configure() {
# configure
stamptask(d)
}
python do_compile() {
# compile
stamptask(d)
}
python do_install() {
# install
stamptask(d)
}
python do_populate_sysroot() {
# populate_sysroot
stamptask(d)
}
python do_package() {
# package
stamptask(d)
}
python do_package_write_ipk() {
# package_write_ipk
stamptask(d)
}
python do_package_write_rpm() {
# package_write_rpm
stamptask(d)
}
python do_packagedata() {
# packagedata
stamptask(d)
}
python do_package_qa() {
# package_qa
stamptask(d)
}
python do_build() {
# build
stamptask(d)
}
do_prepare_recipe_sysroot[deptask] = "do_populate_sysroot"
do_package[deptask] += "do_packagedata"
do_build[recrdeptask] += "do_deploy"
do_build[recrdeptask] += "do_package_write_ipk"
do_build[recrdeptask] += "do_package_write_rpm"
do_package_qa[rdeptask] = "do_packagedata"
do_populate_lic_deploy[recrdeptask] += "do_populate_lic do_deploy"
DEBIANRDEP = "do_packagedata"
oo_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
do_package_write_rpm[rdeptask] = "${DEBIANRDEP}"
addtask fetch
addtask unpack after do_fetch
addtask patch after do_unpack
addtask prepare_recipe_sysroot after do_patch
addtask configure after do_prepare_recipe_sysroot
addtask compile after do_configure
addtask install after do_compile
addtask populate_sysroot after do_install
addtask package after do_install
addtask package_write_ipk after do_packagedata do_package
addtask package_write_rpm after do_packagedata do_package
addtask packagedata after do_package
addtask package_qa after do_package
addtask build after do_package_qa do_package_write_rpm do_package_write_ipk do_populate_sysroot
python do_package_setscene() {
stamptask(d)
}
python do_package_qa_setscene() {
stamptask(d)
}
python do_package_write_ipk_setscene() {
stamptask(d)
}
python do_package_write_rpm_setscene() {
stamptask(d)
}
python do_packagedata_setscene() {
stamptask(d)
}
python do_populate_lic_setscene() {
stamptask(d)
}
python do_populate_sysroot_setscene() {
stamptask(d)
}
addtask package_setscene
addtask package_qa_setscene
addtask package_write_ipk_setscene
addtask package_write_rpm_setscene
addtask packagedata_setscene
addtask populate_lic_setscene
addtask populate_sysroot_setscene
BB_SETSCENE_DEPVALID = "setscene_depvalid"
def setscene_depvalid(task, taskdependees, notneeded, d, log=None):
# taskdependees is a dict of tasks which depend on task, each being a 3 item list of [PN, TASKNAME, FILENAME]
# task is included in taskdependees too
# Return - False - We need this dependency
# - True - We can skip this dependency
import re
def logit(msg, log):
if log is not None:
log.append(msg)
else:
bb.debug(2, msg)
logit("Considering setscene task: %s" % (str(taskdependees[task])), log)
def isNativeCross(x):
return x.endswith("-native") or "-cross-" in x or "-crosssdk" in x or x.endswith("-cross")
# We only need to trigger populate_lic through direct dependencies
if taskdependees[task][1] == "do_populate_lic":
return True
# We only need to trigger packagedata through direct dependencies
# but need to preserve packagedata on packagedata links
if taskdependees[task][1] == "do_packagedata":
for dep in taskdependees:
if taskdependees[dep][1] == "do_packagedata":
return False
return True
for dep in taskdependees:
logit(" considering dependency: %s" % (str(taskdependees[dep])), log)
if task == dep:
continue
if dep in notneeded:
continue
# do_package_write_* and do_package doesn't need do_package
if taskdependees[task][1] == "do_package" and taskdependees[dep][1] in ['do_package', 'do_package_write_ipk', 'do_package_write_rpm', 'do_packagedata', 'do_package_qa']:
continue
# do_package_write_* need do_populate_sysroot as they're mainly postinstall dependencies
if taskdependees[task][1] == "do_populate_sysroot" and taskdependees[dep][1] in ['do_package_write_ipk', 'do_package_write_rpm']:
return False
# do_package/packagedata/package_qa don't need do_populate_sysroot
if taskdependees[task][1] == "do_populate_sysroot" and taskdependees[dep][1] in ['do_package', 'do_packagedata', 'do_package_qa']:
continue
# Native/Cross packages don't exist and are noexec anyway
if isNativeCross(taskdependees[dep][0]) and taskdependees[dep][1] in ['do_package_write_ipk', 'do_package_write_rpm', 'do_packagedata', 'do_package', 'do_package_qa']:
continue
# This is due to the [depends] in useradd.bbclass complicating matters
# The logic *is* reversed here due to the way hard setscene dependencies are injected
if (taskdependees[task][1] == 'do_package' or taskdependees[task][1] == 'do_populate_sysroot') and taskdependees[dep][0].endswith(('shadow-native', 'shadow-sysroot', 'base-passwd', 'pseudo-native')) and taskdependees[dep][1] == 'do_populate_sysroot':
continue
# Consider sysroot depending on sysroot tasks
if taskdependees[task][1] == 'do_populate_sysroot' and taskdependees[dep][1] == 'do_populate_sysroot':
# Native/Cross populate_sysroot need their dependencies
if isNativeCross(taskdependees[task][0]) and isNativeCross(taskdependees[dep][0]):
return False
# Target populate_sysroot depended on by cross tools need to be installed
if isNativeCross(taskdependees[dep][0]):
return False
# Native/cross tools depended upon by target sysroot are not needed
# Add an exception for shadow-native as required by useradd.bbclass
if isNativeCross(taskdependees[task][0]) and taskdependees[task][0] != 'shadow-native':
continue
# Target populate_sysroot need their dependencies
return False
if taskdependees[dep][1] == "do_populate_lic":
continue
# Safe fallthrough default
logit(" Default setscene dependency fall through due to dependency: %s" % (str(taskdependees[dep])), log)
return False
return True
BB_HASHCHECK_FUNCTION = "sstate_checkhashes"
def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False, *, sq_unihash=None):
ret = []
missed = []
valid = d.getVar("SSTATEVALID").split()
for task in range(len(sq_fn)):
n = os.path.basename(sq_fn[task]).rsplit(".", 1)[0] + ":" + sq_task[task]
if n in valid:
bb.note("SState: Found valid sstate for %s" % n)
ret.append(task)
elif os.path.exists(d.expand("${TOPDIR}/%s.run" % n.replace("do_", ""))):
bb.note("SState: Found valid sstate for %s (already run)" % n)
ret.append(task)
else:
missed.append(task)
bb.note("SState: Found no valid sstate for %s" % n)
if hasattr(bb.parse.siggen, "checkhashes"):
bb.parse.siggen.checkhashes(missed, ret, sq_fn, sq_task, sq_hash, sq_hashfn, d)
return ret

View File

@@ -0,0 +1,5 @@
do_rootfs[recrdeptask] += "do_package_write_deb do_package_qa"
do_rootfs[recrdeptask] += "do_package_write_ipk do_package_qa"
do_rootfs[recrdeptask] += "do_package_write_rpm do_package_qa
do_rootfs[recrdeptask] += "do_packagedata"
do_rootfs[recrdeptask] += "do_populate_lic"

View File

@@ -0,0 +1,2 @@
RECIPERDEPTASK = "do_populate_sysroot"
do_populate_sysroot[rdeptask] = "${RECIPERDEPTASK}"

View File

@@ -0,0 +1,16 @@
CACHE = "${TOPDIR}/cache"
THISDIR = "${@os.path.dirname(d.getVar('FILE'))}"
COREBASE := "${@os.path.normpath(os.path.dirname(d.getVar('FILE')+'/../../'))}"
BBFILES = "${COREBASE}/recipes/*.bb"
PROVIDES = "${PN}"
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0]}"
PF = "${BB_CURRENT_MC}:${PN}"
export PATH
TMPDIR ??= "${TOPDIR}"
STAMP = "${TMPDIR}/stamps/${PN}"
T = "${TMPDIR}/workdir/${PN}/temp"
BB_NUMBER_THREADS = "4"
BB_HASHBASE_WHITELIST = "BB_CURRENT_MC"
include conf/multiconfig/${BB_CURRENT_MC}.conf

View File

@@ -0,0 +1 @@
TMPDIR = "${TOPDIR}/mc1/"

View File

@@ -0,0 +1 @@
TMPDIR = "${TOPDIR}/mc2/"

View File

@@ -0,0 +1 @@
DEPENDS = "a1"

View File

@@ -0,0 +1,3 @@
DEPENDS = "a1"
do_package_setscene[depends] = "a1:do_populate_sysroot_setscene"

View File

@@ -0,0 +1,228 @@
#
# BitBake Tests for runqueue task processing
#
# Copyright (C) 2019 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest
import bb
import os
import tempfile
import subprocess
#
# TODO:
# Add tests on task ordering (X happens before Y after Z)
#
class RunQueueTests(unittest.TestCase):
alltasks = ['package', 'fetch', 'unpack', 'patch', 'prepare_recipe_sysroot', 'configure',
'compile', 'install', 'packagedata', 'package_qa', 'package_write_rpm', 'package_write_ipk',
'populate_sysroot', 'build']
a1_sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_package_write_rpm a1:do_populate_lic a1:do_populate_sysroot"
b1_sstatevalid = "b1:do_package b1:do_package_qa b1:do_packagedata b1:do_package_write_ipk b1:do_package_write_rpm b1:do_populate_lic b1:do_populate_sysroot"
def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None):
env = os.environ.copy()
env["BBPATH"] = os.path.realpath(os.path.join(os.path.dirname(__file__), "runqueue-tests"))
env["BB_ENV_EXTRAWHITE"] = "SSTATEVALID SLOWTASKS"
env["SSTATEVALID"] = sstatevalid
env["SLOWTASKS"] = slowtasks
if extraenv:
for k in extraenv:
env[k] = extraenv[k]
env["BB_ENV_EXTRAWHITE"] = env["BB_ENV_EXTRAWHITE"] + " " + k
try:
output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
except subprocess.CalledProcessError as e:
self.fail("Command %s failed with %s" % (cmd, e.output))
tasks = []
with open(builddir + "/task.log", "r") as f:
tasks = [line.rstrip() for line in f]
return tasks
def test_no_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
sstatevalid = ""
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:' + x for x in self.alltasks]
self.assertEqual(set(tasks), set(expected))
def test_single_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
sstatevalid = "a1:do_package"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_setscene', 'a1:fetch', 'a1:unpack', 'a1:patch', 'a1:prepare_recipe_sysroot', 'a1:configure',
'a1:compile', 'a1:install', 'a1:packagedata', 'a1:package_qa', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot', 'a1:build']
self.assertEqual(set(tasks), set(expected))
def test_intermediate_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
sstatevalid = "a1:do_package a1:do_populate_sysroot"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_setscene', 'a1:packagedata', 'a1:package_qa', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot_setscene', 'a1:build']
self.assertEqual(set(tasks), set(expected))
def test_intermediate_notcovered(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
sstatevalid = "a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_package_write_rpm a1:do_populate_lic a1:do_populate_sysroot"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_write_ipk_setscene', 'a1:package_write_rpm_setscene', 'a1:packagedata_setscene',
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
def test_all_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
sstatevalid = self.a1_sstatevalid
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_write_ipk_setscene', 'a1:package_write_rpm_setscene', 'a1:packagedata_setscene',
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
def test_no_settasks(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1", "-c", "patch"]
sstatevalid = self.a1_sstatevalid
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:fetch', 'a1:unpack', 'a1:patch']
self.assertEqual(set(tasks), set(expected))
def test_mix_covered_notcovered(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1:do_patch", "a1:do_populate_sysroot"]
sstatevalid = self.a1_sstatevalid
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:fetch', 'a1:unpack', 'a1:patch', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
# Test targets with intermediate setscene tasks alongside a target with no intermediate setscene tasks
def test_mixed_direct_tasks_setscene_tasks(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "c1:do_patch", "a1"]
sstatevalid = self.a1_sstatevalid
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['c1:fetch', 'c1:unpack', 'c1:patch', 'a1:package_write_ipk_setscene', 'a1:package_write_rpm_setscene', 'a1:packagedata_setscene',
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
# This test slows down the execution of do_package_setscene until after other real tasks have
# started running which tests for a bug where tasks were being lost from the buildable list of real
# tasks if they weren't in tasks_covered or tasks_notcovered
def test_slow_setscene(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
sstatevalid = "a1:do_package"
slowtasks = "a1:package_setscene"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, slowtasks)
expected = ['a1:package_setscene', 'a1:fetch', 'a1:unpack', 'a1:patch', 'a1:prepare_recipe_sysroot', 'a1:configure',
'a1:compile', 'a1:install', 'a1:packagedata', 'a1:package_qa', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot', 'a1:build']
self.assertEqual(set(tasks), set(expected))
def test_setscenewhitelist(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
extraenv = {
"BB_SETSCENE_ENFORCE" : "1",
"BB_SETSCENE_ENFORCE_WHITELIST" : "a1:do_package_write_rpm a1:do_build"
}
sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_populate_lic a1:do_populate_sysroot"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv)
expected = ['a1:packagedata_setscene', 'a1:package_qa_setscene', 'a1:package_write_ipk_setscene',
'a1:populate_sysroot_setscene', 'a1:package_setscene']
self.assertEqual(set(tasks), set(expected))
# Tests for problems with dependencies between setscene tasks
def test_no_setscenevalid_harddeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "d1"]
sstatevalid = ""
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package', 'a1:fetch', 'a1:unpack', 'a1:patch', 'a1:prepare_recipe_sysroot', 'a1:configure',
'a1:compile', 'a1:install', 'a1:packagedata', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot', 'd1:package', 'd1:fetch', 'd1:unpack', 'd1:patch', 'd1:prepare_recipe_sysroot', 'd1:configure',
'd1:compile', 'd1:install', 'd1:packagedata', 'd1:package_qa', 'd1:package_write_rpm', 'd1:package_write_ipk',
'd1:populate_sysroot', 'd1:build']
self.assertEqual(set(tasks), set(expected))
def test_no_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
sstatevalid = ""
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:' + x for x in self.alltasks] + ['b1:' + x for x in self.alltasks]
expected.remove('a1:build')
expected.remove('a1:package_qa')
self.assertEqual(set(tasks), set(expected))
def test_single_a1_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
sstatevalid = "a1:do_package"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_setscene', 'a1:fetch', 'a1:unpack', 'a1:patch', 'a1:prepare_recipe_sysroot', 'a1:configure',
'a1:compile', 'a1:install', 'a1:packagedata', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot'] + ['b1:' + x for x in self.alltasks]
self.assertEqual(set(tasks), set(expected))
def test_single_b1_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
sstatevalid = "b1:do_package"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package', 'a1:fetch', 'a1:unpack', 'a1:patch', 'a1:prepare_recipe_sysroot', 'a1:configure',
'a1:compile', 'a1:install', 'a1:packagedata', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot', 'b1:package_setscene'] + ['b1:' + x for x in self.alltasks]
expected.remove('b1:package')
self.assertEqual(set(tasks), set(expected))
def test_intermediate_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
sstatevalid = "a1:do_package a1:do_populate_sysroot b1:do_package"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_setscene', 'a1:packagedata', 'a1:package_write_rpm', 'a1:package_write_ipk',
'a1:populate_sysroot_setscene', 'b1:package_setscene'] + ['b1:' + x for x in self.alltasks]
expected.remove('b1:package')
self.assertEqual(set(tasks), set(expected))
def test_all_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
sstatevalid = self.a1_sstatevalid + " " + self.b1_sstatevalid
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid)
expected = ['a1:package_write_ipk_setscene', 'a1:package_write_rpm_setscene', 'a1:packagedata_setscene',
'b1:build', 'a1:populate_sysroot_setscene', 'b1:package_write_ipk_setscene', 'b1:package_write_rpm_setscene',
'b1:packagedata_setscene', 'b1:package_qa_setscene', 'b1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
def test_multiconfig_setscene_optimise(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
"BBMULTICONFIG" : "mc1 mc2",
"BB_SIGNATURE_HANDLER" : "basic"
}
cmd = ["bitbake", "b1", "mc:mc1:b1", "mc:mc2:b1"]
setscenetasks = ['package_write_ipk_setscene', 'package_write_rpm_setscene', 'packagedata_setscene',
'populate_sysroot_setscene', 'package_qa_setscene']
sstatevalid = ""
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv)
expected = ['a1:' + x for x in self.alltasks] + ['b1:' + x for x in self.alltasks] + \
['mc1:b1:' + x for x in setscenetasks] + ['mc1:a1:' + x for x in setscenetasks] + \
['mc2:b1:' + x for x in setscenetasks] + ['mc2:a1:' + x for x in setscenetasks] + \
['mc1:b1:build', 'mc2:b1:build']
for x in ['mc1:a1:package_qa_setscene', 'mc2:a1:package_qa_setscene', 'a1:build', 'a1:package_qa']:
expected.remove(x)
self.assertEqual(set(tasks), set(expected))

View File

@@ -1,22 +1,9 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# BitBake Tests for utils.py
#
# Copyright (C) 2012 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# SPDX-License-Identifier: GPL-2.0-only
#
import unittest
@@ -42,6 +29,10 @@ class VerCmpString(unittest.TestCase):
self.assertTrue(result < 0)
result = bb.utils.vercmp_string('1.1', '1.0+1.1-beta1')
self.assertTrue(result > 0)
result = bb.utils.vercmp_string('1a', '1a1')
self.assertTrue(result < 0)
result = bb.utils.vercmp_string('1a1', '1a')
self.assertTrue(result > 0)
result = bb.utils.vercmp_string('1.', '1.1')
self.assertTrue(result < 0)
result = bb.utils.vercmp_string('1.1', '1.')

View File

@@ -4,18 +4,8 @@
# Copyright (C) 2011 Mentor Graphics Corporation
# Copyright (C) 2006-2012 Richard Purdie
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# SPDX-License-Identifier: GPL-2.0-only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import logging
import os

Some files were not shown because too many files have changed in this diff Show More