Compare commits

...

763 Commits

Author SHA1 Message Date
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
1487 changed files with 21856 additions and 32880 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

@@ -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

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
@@ -408,6 +395,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':
@@ -815,6 +804,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

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,4 @@
#!/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 +7,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
@@ -1216,8 +1203,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)

View File

@@ -1,6 +1,4 @@
#!/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 +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 logging
import os

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

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
@@ -858,7 +846,10 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
# 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 +885,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 +1085,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 +1394,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 +1538,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 +1546,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 +1629,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 +1777,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

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,4 @@
#!/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 +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

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,9 @@
#!/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,9 @@
# 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,4 @@
#!/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 +10,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 +29,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 +223,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,4 @@
#!/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 +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 errno
import re

View File

@@ -1,6 +1,4 @@
#!/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 +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
#
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

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

View File

@@ -1,6 +1,4 @@
#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'RunQueue' implementation
@@ -9,18 +7,8 @@ Handles preparation and execution of a queue of tasks
# 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 copy
import os
@@ -1667,7 +1655,7 @@ class RunQueue:
recout = []
if len(hashfiles) == 2:
out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb)
recout.extend(list(' ' + l for l in out2))
recout.extend(list(' ' + l for l in out2))
else:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))

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
@@ -119,6 +123,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
@@ -633,6 +643,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.startswith('nostamp:'):
a_taint = a_taint.replace('nostamp:', 'nostamp(uuid4):')
if 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 +719,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,4 @@
#!/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 +8,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

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

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
@@ -942,6 +929,25 @@ 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"')
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"')
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 +964,113 @@ 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"')
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

@@ -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

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

View File

@@ -3,15 +3,5 @@
#
# 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.

View File

@@ -3,18 +3,8 @@
#
# Copyright (C) 2013 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 bb

View File

@@ -5,18 +5,8 @@
#
# 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.
from __future__ import division
@@ -222,6 +212,23 @@ class TerminalFilter(object):
sys.stdout.flush()
self.footer_present = False
def elapsed(self, sec):
hrs = int(sec / 3600.0)
sec -= hrs * 3600
min = int(sec / 60.0)
sec -= min * 60
if hrs > 0:
return "%dh%dm%ds" % (hrs, min, sec)
elif min > 0:
return "%dm%ds" % (min, sec)
else:
return "%ds" % (sec)
def keepAlive(self, t):
if not self.cuu:
print("Bitbake still alive (%ds)" % t)
sys.stdout.flush()
def updateFooter(self):
if not self.cuu:
return
@@ -258,7 +265,7 @@ class TerminalFilter(object):
else:
start_time = activetasks[t].get("starttime", None)
if start_time:
tasks.append("%s - %ds (pid %s)" % (activetasks[t]["title"], currenttime - start_time, t))
tasks.append("%s - %s (pid %s)" % (activetasks[t]["title"], self.elapsed(currenttime - start_time), t))
else:
tasks.append("%s (pid %s)" % (activetasks[t]["title"], t))
@@ -455,11 +462,17 @@ def main(server, eventHandler, params, tf = TerminalFilter):
warnings = 0
taskfailures = []
printinterval = 5000
lastprint = time.time()
termfilter = tf(main, helper, console, errconsole, format, params.options.quiet)
atexit.register(termfilter.finish)
while True:
try:
if (lastprint + printinterval) <= time.time():
termfilter.keepAlive(printinterval)
printinterval += 5000
event = eventHandler.waitEvent(0)
if event is None:
if main.shutdown > 1:
@@ -488,6 +501,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
continue
if isinstance(event, logging.LogRecord):
lastprint = time.time()
printinterval = 5000
if event.levelno >= format.ERROR:
errors = errors + 1
return_value = 1

View File

@@ -6,18 +6,8 @@
# Copyright (C) 2006 Michael 'Mickey' Lauer
# 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.
"""
We have the following windows:

View File

@@ -4,18 +4,8 @@
# Copyright (C) 2007 Ross Burton
# Copyright (C) 2007 - 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 sys
import gi

View File

@@ -7,18 +7,8 @@
# Copyright (C) 2006-2012 Richard Purdie
# Copyright (C) 2013 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.
from __future__ import division
import time

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 -*-
#
# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
# 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.
"""
Use this class to fork off a thread to recieve event callbacks from the bitbake

View File

@@ -1,21 +1,9 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
#
# Copyright (C) 2006 - 2007 Michael 'Mickey' Lauer
# 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 bb.build
import time

View File

@@ -1,23 +1,11 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake Utility Functions
"""
# Copyright (C) 2004 Michael Lauer
#
# 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, fcntl, os, string, stat, shutil, time
import sys
@@ -722,8 +710,8 @@ def prune_suffix(var, suffixes, d):
# See if var ends with any of the suffixes listed and
# remove it if found
for suffix in suffixes:
if var.endswith(suffix):
return var.replace(suffix, "")
if suffix and var.endswith(suffix):
return var[:-len(suffix)]
return var
def mkdirhier(directory):
@@ -734,7 +722,7 @@ def mkdirhier(directory):
try:
os.makedirs(directory)
except OSError as e:
if e.errno != errno.EEXIST:
if e.errno != errno.EEXIST or not os.path.isdir(directory):
raise e
def movefile(src, dest, newmtime = None, sstat = None):

View File

@@ -1,2 +1,6 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import fnmatch
import logging
import os

View File

@@ -1,3 +1,7 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import logging
import os

Some files were not shown because too many files have changed in this diff Show More