Commit Graph

45431 Commits

Author SHA1 Message Date
Juro Bystricky 00d49a05a6 bitbake: command.py: multiconfig support for findBestProvider
In a multiconfig environment, a tinfoil call such as

    tinfoil.parse_recipe("multiconfig:arduino-101-sss:gcc")

can fail with an error such as:

  File "/data/master/poky/bitbake/lib/bb/tinfoil.py", line 373, in get_recipe_file
    raise bb.providers.NoProvider('Unable to find any recipe file matching "%s"' % pn)
bb.providers.NoProvider: Unable to find any recipe file matching "multiconfig:arduino-101-sss:gcc"

The culprit is findBestProvider, which does not handle multiconfig.
This patch fixes the error and in the case mentioned above the tinfoil call returns:

  "multiconfig:arduino-101-sss:/data/master/poky/meta/recipes-devtools/gcc/gcc_6.3.bb"

[YOCTO#11210]

(Bitbake rev: e9c03fbfd7b057b28645affa263cb4aebfa24b04)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:20:24 +01:00
Kyle Russell 3b3aab0e8d cmake.bbclass: Set CMAKE_CROSSCOMPILING correctly
If CMAKE_SYSTEM_NAME is defined, CMake assumes we're cross-compiling,
which is not necessarily the case.

(From OE-Core rev: bd082c9be6191e67ea1b1bf10ce5e130a3433ab5)

Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Ross Burton ae5d643114 package_manager: don't race on a file when installing complementary packages
PackageManager.install_complementary() uses WORKDIR/installed_pkgs.txt as a
temporary file but if two tasks are executing for the same recipe which uses
this file (e.g. bitbake my-image my-image:do_populate_sdk) then it's possible
for the file to be overwritten or deleted.

Instead of using a static filename, use tempfile to generate a unique name and
ensure it is cleaned up when finished.

Also move the glob generation/expansion earlier in the function as if there are
no globs to install, we don't need to generate a package list.

(From OE-Core rev: f5a1013ffa9815f22e13989e2bcb83f966e7ce2c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Maxin B. John 4c6d7a20bc pixbufcache.bbclass: update postinst script name
The name of postinst scripts created by pixbufcache class
contains "useradd" in it. Remove it to avoid confusion.

As suggested by RP.

(From OE-Core rev: 2b939cd143549a3a6fc640c7c512c4ac5c246bff)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Jussi Kukkonen 7fe30a5df4 Revert "openssl: Fix symlink creation"
This reverts commit 991620f3962a9917fa99abb5582f4b72ebd42a3d.

The commit breaks openssl-native (you can no longer generate keys
because it can't find the configuration file). Also the idea that we
would install configuration files normally but then add the symlinks
pointing to them in a postinstall feels wrong.

Fixes [YOCTO #11296]. The bug contains an alternative fix but I'm
sending a revert as I cannot fully understand the motive of the
original patch. See also discussion in
http://lists.openembedded.org/pipermail/openembedded-core/2017-April/135176.html

(From OE-Core rev: b192daef5d1e7f3501c533b92dc75e2d996afc13)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Jackie Huang d31eead2af ltp: fix an incorrect macro checking
The previous patch added a check but incorrectly
change the elif to if, then it always return 0
for cpuid if the machine is not __i386__

getcpu01    1  TFAIL  :  getcpu01.c:140: getcpu() returned wrong value expected cpuid:7, returned value cpuid: 0

After this fix:
getcpu01    1  TPASS  :  getcpu() returned proper cpuid:7, node id:0

(From OE-Core rev: ca798705b3b8fa9b2f6467970e9bda9d9433986c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Robert Yang 99c6e89db1 logrotate: set downloadfilename
Otherwise, the filename is r3-9-1.tar.gz which isn't straightforward.

(From OE-Core rev: b0e5c8f6a5041010347f6b70e39e41886829d928)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Trevor Woerner 0b11cfb57b mesa-demos: add glut dependency
If the user wants to enable the 'glut' PACKAGECONFIG for mesa-demos, freeglut
is required to provide the dependency before the demos can be compiled.

NOTE! this is a cross-layer dependency (freeglut is currently only available
in meta-oe). However 'glut' is not a default PACKAGECONFIG (so this is
allowed).

(From OE-Core rev: cbf1708cf8d9fb8ace5520c9b6fec46c5fc9e9c8)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Robert Yang f81c0de905 acl: fix race issue when do_compile
Fixed race issue:
 In file included from acl_copy_entry.c:22:0:
 libacl.h:19:21: fatal error: sys/acl.h: No such file or directory
  #include <sys/acl.h>

[snip]

 compilation terminated.
 acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory
  #include <acl/libacl.h>
                         ^

The acl.h is in "include" directory, and include/Makefile creates
symlink "sys" and "acl" poinst to current dirctory:
$ ls include/ -l
acl -> .
sys -> .

So if "libacl" target runs before "include", the error would happen
since no "acl" or "sys" directory.

Let libacl depend on include can fix the problem.

[YOCTO #11349]

(From OE-Core rev: 73d3d81fcdb92dd85c6ad1609e3a6eb20f1ea539)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Andre McCurdy 567329b566 devupstream.bbclass: minor typo fix
(From OE-Core rev: a7761023696fbefb0d38906b0b02bf4ed211b3fb)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-19 10:18:43 +01:00
Scott Rifenbark def638ebd6 poky.ent: Removed "python3-expect" package from 3 distros.
Fixes [YOCTO #11310]

After a bit of deliberation.. it was decided that
"python3-expect" is not needed in the Debian, Fedora,
and OpenSUSE distros as an essential package.  They are
gone.

(From yocto-docs rev: 07fcb23a03122e5f4f9bb2a32e585d9cba7d5d93)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-18 15:51:44 +01:00
Scott Rifenbark 3db3344859 ref-manual, dev-manual: Updates to support recipe-specific sysroots
Changes covered several areas.  Version 2.3 of the YP now supports
recipe-specific sysroots and is not limited to machine-specific
as was prior releases.  Manual changes were as follows:

dev-manual: "Sharing Files Between Recipes" - Wordings were changed
to support the new functionality.

ref-manual: do_prepare_recipe_sysroot task added to the list of
tasks described in "Configuration and Compilation".

ref-manual: Extensive re-write of the "staging.bbclass" section.

ref-manual: Added a section to the build structure for
build/tmp/work/tunearch/recipename/version/.  This section breaks
down the recipe-specific subdirectories used to create (stage)
the sysroot.

ref-manual: New section (entry) for the do_prepare_recipe_sysroot
task in the task chapter.

ref-manual: Added a variable glossary description for the
SSTATE_SCAN_FILES variable.

In addition to these changes, I sprinkled in a liberal amount
of cross-referencing for the readers pleasure.

(From yocto-docs rev: 3a8ca96861f4c5d3badb91d0cdc5a3df513d4e59)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-18 15:51:44 +01:00
Robert Yang 1fa1a7f174 oe-run-native: print more error messages
Fixed:
$ bitbake bmap-tools-native -ccleansstate && bitbake bmap-tools-native && oe-run-native bmap-tools-native bmaptool --help
[snip]
Error: Unable to find '' in <PATH>
[snip]

Note the blank '' word, it was because "tools" was overrided, now fix it.

And also check whether the recipe is a native one or not.

(From OE-Core rev: ba2884f6ad3a4e746fc80cbd707f83fa8abd4210)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 23:25:54 +01:00
Richard Purdie c5269fd210 pseudo: Backport two upstream fixes
Backport fixes from pseudo master for an acl issue and more importantly, a segfault
issue with bash which can be triggered by the recent useradd changes.

(From OE-Core rev: 949214761998a93fc6b8b009f1cdad0db3bfa5db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 23:25:54 +01:00
Kevin Hao 0bf9cb2272 meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs
Bump to the latest stable kernel for 4.4, 4,9 and 4.10.

(From meta-yocto rev: d45f5894d8f73425b47e3cacbe07d0d5cf36dcd2)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:32 +01:00
Richard Purdie 045d01c63d populate_sdk_ext: Add do_addto_recipe_sysroot to BB_SETSCENE_ENFORCE_WHITELIST
Without this, eSDK builds are failing due to qemu-helper-native's dependency on this
task. It makes sense to allow this to execute in eSDK contexts (its a non-sstate task
intentionally).

(From OE-Core rev: 3e8ade8c0772c4492efd93824f78cb043281d235)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:09 +01:00
Chang, Rebecca Swee Fun 2248d18697 linux-firmware: Fix build failure when update SRCREV to latest HEAD
When we update the SRCREV to latest, we will encouter the following
bitbake error.

Build error message:
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
| error: Arch dependent binaries in noarch package
|
|
| RPM build errors:
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_1x40.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x25.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_8x10.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_4x10.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_4x10_1x40.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x10.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_2x40.nffw
|     Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0096-0001_2x10.nffw
|     Deprecated external dependency generator is used!
|     Arch dependent binaries in noarch package
| WARNING: exit code 1 from a shell command.

This is due to netronome firmware is not included in noarch package.
Hence we removed the netronome firmware before it is packaged,
until the rpm issue is resolved.

(From OE-Core rev: cdfa43191f84dc3b1a592ce2e813509f6820184d)

Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:09 +01:00
Ng, Wei Tee 9a5039d563 linux-firmware: Set the license for carl9170 to GPLv2
linux-firmwara-carl9170 was set to a wrong license string.
Carl9170 firmware is bounded by GPLv2 via code inspection on
linux firmware source tree. Hence we include GPLv2 in LICENSE
field and set carl9170 firmware to the correct license.

[YOCTO #11090]

(From OE-Core rev: a062b2aa51e28aa14e75435d8a618859499e1bd5)

Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Ng, Wei Tee a6ace3153e linux-firmware: update to revision a4dde74b
-change in amdgpu firmware copyright year
-change in radeon firmware copyright year
-LICENCE.mwl8335 was removed in linux-firmware source tree
-specify the copyright year for siano
-change in qla2xxx firmware copyright year

(From OE-Core rev: d80b3bcfefc811ed159c1d860a1e333aa9b4db73)

Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Andre McCurdy c52cc23531 busybox: drop unmaintained _git recipe
The busybox _git recipe is not formally tested or kept up to date.
The gstreamer _git recipes were recently removed from oe-core and the
justifications for that change apply to the busybox _git recipe too.

(From OE-Core rev: 139c97fa7f71a554ce85900ac33054a216db62e9)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Ross Burton b6353f5c43 unzip: add missing CVE headers to patches
(From OE-Core rev: de7ff341d18f46d68abeabcb53ba07d012090c15)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Ross Burton 135afdff02 Revert "dnf: remove systemd units in nativesdk builds"
nativesdk builds now control the DISTRO_FEATURES (oe-core 731744) so this
workaround is no longer required.

This reverts commit 415b72ffcb.

(From OE-Core rev: 4f1f05295f12f619c87fb53e16e19a11775c2c84)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Ian.Arkver 2bc2e67dd0 package_manager.py: Generate separate repo entries per arch
dnf requires a serparate repo for each architecture. This patch
writes one config file per PACKAGE_FEED_URIS entry with an entry
for each architecture, if any.

It also uses a space separated version of the repo id as the repo
name instead of just the id again.

(From OE-Core rev: 3eed822b5c5661aa9f43af6582c1481bacf0d39a)

Signed-off-by: Ian.Arkver <ian.arkver.dev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Alexander Kanavin b4a093735c gpgme: add a dependency on python-unixadmin to Python bindings package
(From OE-Core rev: 67bce43ef15bf641f1b1153a0408c4dc841ae8d6)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Alexander Kanavin 575f8b4819 gpgme: correctly avoid host contamination
Existing patch was actually doing the wrong thing and
sometimes removing a linking flag (-lgpgme) that should be present.

Instead, gpgme-config actually has internal logic to remove /usr/lib from the output,
which works only in non-multilib setups, so it is adjusted to include all possible
/usr/lib* and /lib* directories.

(From OE-Core rev: 84cb611079b7cf78b9921c78978943fa4adae1c7)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Mikko Ylinen a84a323e4d classes/populate_sdk_ext: reset TCLIBCAPPEND to get consistent TMPDIR
populate_sdk_ext sets TMPDIR to a known static value with '/tmp' directory
name and that name is hard coded in a few places (e.g., in
meta-environment-extsdk.bb that writes the eSDK environment variables).

Distros that do not reset TCLIBCAPPEND (poky does) end up getting
TMPDIR = /tmp-${TCLIBCAPPEND} via defaultsetup.conf and that breaks
the functionality in eSDK that expects everything is in /tmp.

To get TMPDIR consistent, we also need to reset TCLIBCAPPEND in
populate_sdk_ext.bbclass.

Fixes: [YOCTO #11298]

(From OE-Core rev: 9ec29153f279bb9e1dbcddc2c66e00fdbe3fd6e9)

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Paul Eggleton bce0b509bf devtool: extract: drop erroneous bb.event.TaskStarted
This is a non-existent event - we already have the actual
bb.build.TaskSucceeded further down in the list hence why it wasn't
noticed earlier.

(From OE-Core rev: 4e059a5ceb6f44401154e89e37f56de1d664a7cb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Paul Eggleton 02c39d3fad devtool: extract: fix handling of failed tasks
If a task such as do_fetch fails when we're extracting source for a
recipe (within devtool modify / upgrade / extract / sync) then we should
naturally stop processing instead of blundering on; in order to do that
we need to be listening for the TaskFailed event. Thanks to Richard
Purdie for noticing and fixing this.

(From OE-Core rev: 9174b845bf6a6be7753bf6b921959b1f3f2dcbc0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Paul Eggleton 2338032d0b devtool: modify: add --keep-temp option for debugging
Most of the other extract-based commands have this option but oddly I
left it out for modify - I guess because if I was debugging an issue here
I just used devtool extract to do so, but there's no reason why we can't
have it here and it is useful.

(From OE-Core rev: 98fbc46e1a51237213bd7825a922389d3ab2ad9b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Robert Yang 1593f5de8a grep: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo 'm4_define [snip]' configure.ac |: Argument list too long'

This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.

(From OE-Core rev: 081974e75cc0cfa0a1a1bb01cd9f9cbc585b7692)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Robert Yang 7b4a8a2fb8 apt: fix libdir path for apt.systemd.daily
It should be ${libdir} rather than /usr/lib, otherwise it would fail
when multilib:

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

$ bitbake apt
[snip]
install: target /path/to/apt/1.2.12-r0/image/usr/lib/apt is not a directory: No such file or directory
[snip]

(From OE-Core rev: bf867019c33c34dc997e10a3bdba4aeee81f559a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Robert Yang 8cedb5f3f0 binconfig.bbclass: fix typo in get_binconfig_mangle()
It should be -IOEINCDIR, not -I-IOEINCDIR.

(From OE-Core rev: 3c432e130b47461f845e1618b565f174417e1aa5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Richard Purdie b5c383074a base-passwd/useradd: Various improvements to useradd with RSS
Currently there are multiple issues with useradd:

* If base-passwd rebuilds, it wipes out recipe specific user/group additions
  to sysroots and causes errors
* If recipe A adds a user and recipe B depends on A, it can't see any of the
  users/groups A adds.

This patch changes base-passwd so it always works as a postinst script
within the sysroot and copies in the master files, then runs any
postinst-useradd-* scripts afterwards to add additional user/groups.

The postinst-useradd-* scripts are tweaked so that if /etc/passwd doesn't exist
they just exit, knowning they'll be executed later. We also add a dummy entry to
the dummy passwd file from pseudo so we can avoid this too.

There is a problem where if recipe A adds a user and recipe B depends on A but
doesn't care about users, it may not have a dependency on the useradd/groupadd
tools which would therefore not be available in B's sysroot. We therefore also
tweak postinst-useradd-* scripts so that if the tools aren't present we simply
don't add users. If you need the users, you add a dependency on the tools in the
recipe and they'll be added.

We add postinst-* to SSTATE_SCAN_FILES since almost any postinst script of this
kind is going to need relocation help.

We also ensure that the postinst-useradd script is written into the sstate
object as the current script was only being added in a recipe local way.

Thanks to Peter Kjellerstedt <pkj@axis.com> and Patrick Ohly for some pieces
of this patch.

[Yocto #11124]

(From OE-Core rev: 1b5afaf437f7a1107d4edca8eeb668b9618a5488)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-14 09:47:08 +01:00
Leonardo Sandoval 053e545b9d maintainers: change ownership on cve-check-tool, nfs-utils, ttf-bitstream-vera and which
(From meta-yocto rev: c6bbd7f45260d0921ad1c5f8c1f1f7846aa42270)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 23:55:40 +01:00
Alejandro Hernandez fe47bff64b linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.10
Updates to Linux 4.10.9

(From meta-yocto rev: f2b6a42f6842e28c448a11a6778d140f984b6d3d)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:37 +01:00
Alejandro Hernandez 7a68e4aa06 linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.9
Updates to Linux 4.9.21

(From meta-yocto rev: 6a64ad7c034250c122e72e8473ef7de11430b1a1)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:37 +01:00
Alejandro Hernandez 0cfc7650ff linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4
Updates to Linux 4.4.60

(From meta-yocto rev: 1199d8da4cce623adc09c074e4c747e672e3eb78)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:37 +01:00
Zhixiong Chi bcab5e12c1 bitbake: bitbake-layers: add signal hander to avoid exception
Fixed:
bitbake-layers show-recipes | less
press "q" to exit

There will be a Broken pipe error output as follows:
"BrokenPipeError: [Errno 32] Broken pipe"

(Bitbake rev: 4fca9a07f2d6b0544977112672b786982d7bb8f2)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:37 +01:00
brian avery 314df06b81 oe-run-native: explicitly use bash
This script sources another script (oe-find-native-sysroot) with
arguments.  It was using /bin/sh. Sourcing with arguments works only in
bash so it was failing in dash.  This commit makes it dash proof.

(From OE-Core rev: 334020a800434d20e7c3312890a2baca295c41c7)

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:11 +01:00
brian avery c8b67a463f oe-find-native-sysroot: add appopriate suggestion
right now, if it fails, the script tells the user to run bitbake foo
-caddto_recipe_sysroot. This works for native recipes but not things
like meta-ide. This patch checks whether the recipe is native and gives
out the appopriate warning.

(From OE-Core rev: fc61211efd57d1858954e5cd241fce58dee9d01b)

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:11 +01:00
Robert Yang 4a0b6af446 oe-find-native-sysroot: work with RSS
The generic STAGING_DIR_NATIVE is gone since RSS, so when find
OECORE_NATIVE_SYSROOT, the user has to specify which recipe's
STAGING_DIR_NATIVE will be used as OECORE_NATIVE_SYSROOT.

* The usage is changed from ". oe-find-native-sysroot" to
  ". oe-find-native-sysroot <recipe>".
* The oe-run-native's usage has changed from
  "oe-run-native tool" to "oe-run-native native-recipe tool".

(From OE-Core rev: e2f6d937bd897083779507ecb9ecd15513b35f1f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Ed Bartosh 5897c5edc4 Revert "scripts: change way we find native tools (pseudo)"
This reverts commit f200f37699.

This reverts the patch that fixed runqemu-extract-sdk. It failed
to fix other issues in the script/tools that were introduced by RSS. The
following patch from Robert Yang fixes both.  Therefore, reverting this
patch in favor of his.

(From OE-Core rev: 33263b69e6b470b4f02172dabe6815df8ab0cd0a)

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Ed Bartosh 4273422072 sstate.bbclass: check if mirror directory is writable
Commit 51edde6537 makes a wrong assumption
that SSTATE_MIRRORS have write permissions.

A mirror is by definition outside of it's user control. In my use case
it happens I does not have permissions to update the access time of the
dereferenced symbolic-link file.

Checked if file is writable before changing its atime.

Thanks to Paulo Neves for the patch.

[YOCTO #11307]

(From OE-Core rev: b8f26c011d5ed888d85fef040bd821400d54c8fe)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Ed Bartosh ec9b108f46 qemuboot: write native sysroot of qemu-helper into qemuboot.conf
Native sysroot of qemu-helper contains all required tools
(qemu-system and tunctl atm) for runqemu to work. It's not
removed by rm_dir and should always exist. It makes sense
to write it into qemuboot.conf to make runqemu to use it
as a default directory for native tools.

This should also speed up runqemu as it doesn't need to run
to run 'bitbake qemu-helper -e' to get its native sysroot.

[YOCTO #11266]
[YOCTO #11193]

(From OE-Core rev: 0f207bfc1f7a4fd509b78d32bbe1a8d4ebea8053)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Ed Bartosh 4393cc550b runqemu: use bindir_native property to run ifup/down scripts
Used self.bindir_native to point out to the native sysroot
when running runqemu-ifup and runqemu-ifdown scripts.

[YOCTO #11266]
[YOCTO #11193]

(From OE-Core rev: cc5513bf7a6114e14bb307acb88a44e9cf0aed8a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Ed Bartosh 4d3bececf6 runqemu: add bindir_native property
Isolated logic of getting path to native bin directory in
new bindir_native property method.

This property is going to be used to obtain location of
qemu-sytem and tunctl.

(From OE-Core rev: 26e97f7ebb7e3302e3d3c6646fb58baf395d62be)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Ed Bartosh 7ffcdd0a07 runqemu: get qemu from qemu-helper-native sysroot
If rm_work is enabled image native sysroot can be removed.
This makes runqemu to fail trying to find qemu binary.

Used native sysroot of qemu-helper-native to find system qemu
binary.

(From OE-Core rev: d42c02caaa4d6fb47681aa7ffe8b27fa38141e6a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
brian avery 0637c5ab25 qemu-helper-native: prepare native sysroot for runqemu
Make sure that native sysroot contains qemu and tunctl binaries for
runqemu usage:
  - excluded native sysroot from rm_work
  - added qemu-native to DEPENDS to put qemu binaries into native sysroot
  - forced addto_recipe_sysroot task

[YOCTO #11266]
[YOCTO #11193]

(From OE-Core rev: 2e7a155774952705d21109720985f6833fba2669)

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Bruce Ashfield 6cd16dcde4 linux-yocto-dev: update to v4.11+
(From OE-Core rev: c2da28fd955901b1be9a155c5ca256345fdcee43)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
Bruce Ashfield 5bb82084b2 linux-yocto/4.10: update to v4.10.9
Updating to the korg stable release, with the following changes:

   f6392b77fb91 Linux 4.10.9
   59529be9c99e drm/i915: A hotfix for making aliasing PPGTT work for GVT-g
   0efab45f7092 drm/i915: Let execlist_update_context() cover !FULL_PPGTT mode.
   e47bc4fb5db4 drm/i915: Move the release of PT page to the upper caller
   e33cb9747fdf nvme/pci: Disable on removal when disconnected
   2bfe1b12a496 nvme/core: Fix race kicking freed request_queue
   311cd5ae37e7 padata: avoid race in reordering
   a591a05f1d0a blk: Ensure users for current->bio_list can see the full list.
   75a778ed4f3d blk: improve order of bio handling in generic_make_request()
   b576c5833134 MIPS: Lantiq: Fix cascaded IRQ setup
   77149f08767e ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
   1229cd2fa5e0 drm/armada: Fix compile fail
   847f0ffc12ae mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd()
   61b76d7af8e4 mm: workingset: fix premature shadow node shrinking with cgroups
   9f424db185a2 mm: rmap: fix huge file mmap accounting in the memcg stats
   fb29fe35575a lib/syscall: Clear return values when no stack
   be6647667608 x86/mce: Fix copy/paste error in exception table entries
   4ea2e307c7cf x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization
   d0a9dba54764 drm/i915/kvmgt: Hold struct kvm reference
   65e5e864aad9 drm/etnaviv: (re-)protect fence allocation with GPU mutex
   4a1b7b6c82dc drm/vc4: Allocate the right amount of space for boot-time CRTC state.
   7a8453634601 drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags
   5b79ca06a51d KVM: kvm_io_bus_unregister_dev() should never fail
   00a3ca394871 KVM: x86: clear bus pointer when destroyed
   b3ff1bac80ab serial: mxs-auart: Fix baudrate calculation
   782cb86b0155 USB: fix linked-list corruption in rh_call_control()
   6f168275df2e xhci: Set URB actual length for stopped control transfers
   3cacfce024b1 tty/serial: atmel: fix TX path in atmel_console_write()
   3eadc2dccb51 tty/serial: atmel: fix race condition (TX+DMA)
   4f6116cf520c ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
   af7550a70dad ACPI: Fix incompatibility with mcount-based function graph tracing
   92bca7fa882f parisc: Fix access fault handling in pa_memcpy()
   fc12a50f7742 parisc: Avoid stalled CPU warnings after system shutdown
   37e623429737 parisc: Clean up fixup routines for get_user()/put_user()
   4bcd2ca3c361 dt-bindings: rng: clocks property on omap_rng not always mandatory
   be14ea08d26f nfsd: map the ENOKEY to nfserr_perm for avoiding warning
   8f5cfd1af067 NFSv4.1 fix infinite loop on IO BAD_STATEID error
   61e6e72e9f9c ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
   9fef1e65279d crypto: xts,lrw - fix out-of-bounds write after kmalloc failure
   5a16448c2132 crypto: ccp - Make some CCP DMA channels private
   79105a2f8146 mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
   41ece35ef4b4 mmc: sdhci: Disable runtime pm when the sdio_irq is enabled
   d4dd65ff6716 HID: wacom: Don't add ghost interface as shared data
   617c6850480b ASoC: rt5665: fix getting wrong work handler container
   29f675437ceb ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer
   48a5a47a050c ASoC: atmel-classd: fix audio clock rate
   e12a232e9b64 ALSA: hda - fix a problem for lineout on a Dell AIO machine
   c36ef6467420 ALSA: seq: Fix race during FIFO resize
   d2e79b56ba2e PCI: thunder-pem: Use Cavium assigned hardware ID for ThunderX host controller
   d9c6a97b3fae PCI: iproc: Save host bridge window resource in struct iproc_pcie
   ef97d9485efa scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function
   2b1725d1df36 scsi: scsi_dh_alua: Check scsi_device_get() return value
   905385ad1309 scsi: libsas: fix ata xfer length
   f7019040f6d7 scsi: sg: check length passed to SG_NEXT_CMD_LEN
   f031e4f54f98 xfs: try any AG when allocating the first btree block when reflinking
   83d33266c371 xfs: use iomap new flag for newly allocated delalloc blocks
   ee74519c0876 xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask
   87cdf91a6bf4 xfs: fix and streamline error handling in xfs_end_io
   1c0d974bea21 xfs: only reclaim unwritten COW extents periodically
   5d834e1adcb0 xfs: tune down agno asserts in the bmap code
   854a9bf0acb1 xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment
   8c1e9cfd5b67 xfs: don't reserve blocks for right shift transactions
   a3aca9b42d6f xfs: fix uninitialized variable in _reflink_convert_cow
   1d7babf19237 xfs: split indlen reservations fairly when under reserved
   177227735045 xfs: handle indlen shortage on delalloc extent merge
   0b20c0afbb84 xfs: don't fail xfs_extent_busy allocation
   e8eb2c060902 xfs: correct null checks and error processing in xfs_initialize_perag
   304ec448ee8b xfs: update ctime and mtime on clone destinatation inodes
   900c499df454 xfs: reject all unaligned direct writes to reflinked files
   17c17805b76e xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t
   b0f88f0deb50 xfs: mark speculative prealloc CoW fork extents unwritten
   a0c46fae264a xfs: allow unwritten extents in the CoW fork
   1dc0e72c13e7 xfs: verify free block header fields
   58565508b2b3 xfs: check for obviously bad level values in the bmbt root
   2b9dcb947e73 xfs: filter out obviously bad btree pointers
   cb308466d6dc xfs: fail _dir_open when readahead fails
   8059f06199f0 xfs: fix toctou race when locking an inode to access the data map
   025770917bcb xfs: fix eofblocks race with file extending async dio writes
   696bfc8ec85c xfs: sync eofblocks scans under iolock are livelock prone
   ff4ea420698d xfs: pull up iolock from xfs_free_eofblocks()
   3eb243290edf KVM: nVMX: fix nested EPT detection
   8a7eb087a5a4 libceph: force GFP_NOIO for socket allocations
   3fdae700a361 Linux 4.10.8
   d6854f591c22 usb: musb: fix possible spinlock deadlock
   ca908a9a57e7 sched/rt: Add a missing rescheduling point
   15eea140d991 qla2xxx: Allow vref count to timeout on vport delete.
   f7c1a6ec45d6 metag/ptrace: Reject partial NT_METAG_RPIPE writes
   400763ea4357 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
   3e0a29e1b6c6 metag/ptrace: Preserve previous registers for short regset write
   fc1ff8342c66 sparc/ptrace: Preserve previous registers for short regset write
   d1b2aeaa4bcd mips/ptrace: Preserve previous registers for short regset write
   53adbfdf3133 h8300/ptrace: Fix incorrect register transfer count
   ff7ff50d9c07 c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
   90a1cbf54eb6 pinctrl: qcom: Don't clear status bit on irq_unmask
   d4a3eba0eb0f virtio_balloon: init 1st buffer in stats vq
   71a434f7c9b8 KVM: x86: cleanup the page tracking SRCU instance
   737f7378c7e9 KVM: nVMX: Fix nested VPID vmx exec control
   843e5b6c801a xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
   ffcf5de81520 xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
   58333eaf3123 xfrm: policy: init locks early
   55db23d3a51e Linux 4.10.7
   0dad3de86825 crypto: algif_hash - avoid zero-sized array
   f9955dcaceae fbcon: Fix vc attr at deinit
   2a3241044b1c drm: reference count event->completion
   597584832d0c xen: do not re-use pirq number cached in pci device msi msg data
   535693055d2a cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
   a27142e6d0eb scsi: sd: Check for unaligned partial completion
   66c0812889de device-dax: fix pmd/pte fault fallback handling
   96aa12df2410 libceph: don't set weight to IN when OSD is destroyed
   8b38e3191816 mmc: block: Fix is_waiting_last_req set incorrectly
   f2a9bf4d93df Drivers: hv: vmbus: Don't leak memory when a channel is rescinded
   840065777b4d Drivers: hv: vmbus: Don't leak channel ids
   f8dd767b84e2 intel_th: Don't leak module refcount on failure to activate
   7bf105ac9277 jbd2: don't leak memory if setting up journal fails
   8668c61ba509 auxdisplay: img-ascii-lcd: add missing sentinel entry in img_ascii_lcd_matches
   67dfc0850f71 drm/amd/amdgpu: add POLARIS12 PCI ID
   a7a14362e278 drm/amdgpu: reinstate oland workaround for sclk
   51d3848c10b3 cpsw/netcp: cpts depends on posix_timers
   16379a79ee45 blk-mq: don't complete un-started request in timeout handler
   fee328fee946 cgroup, net_cls: iterate the fds of only the tasks which are being migrated
   3742b9a08682 cpufreq: Restore policy min/max limits on CPU online
   fc0af2511915 arm64: kaslr: Fix up the kernel image alignment
   f464f86d8b8d ARM: at91: pm: cpu_idle: switch DDR to power-down mode
   166fdccc86a5 Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node"
   514e122cf8d0 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
   03d92bd5b426 iommu/exynos: Block SYSMMU while invalidating FLPD cache
   b7d02d90d03a iommu/vt-d: Fix NULL pointer dereference in device_to_iommu
   fa477d804fd3 xen/acpi: upload PM state from init-domain to Xen
   8b0219e35b43 vfio: Rework group release notifier warning
   0d05871e5e43 fscrypt: remove broken support for detecting keyring key revocation
   f115bf08b7d2 crypto: ccp - Assign DMA commands to the channel's CCP
   c62625b6b383 ath10k: fix incorrect wlan_mac_base in qca6174_regs
   2f69745c309c mwifiex: pcie: don't leak DMA buffers when removing
   ad3b48d36e0d clk: sunxi-ng: mp: Adjust parent rate for pre-dividers
   9300e322b68d clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock
   76b5eb51114a hwrng: geode - Revert managed API changes
   9b35f163f7fe hwrng: amd - Revert managed API changes
   ce6c155ada08 mmc: sdhci-pci: Do not disable interrupts in sdhci_intel_set_power
   f89c8a5007b2 mmc: sdhci: Do not disable interrupts while waiting for clock
   b821a0a5fde9 mmc: sdhci-of-arasan: fix incorrect timeout clock
   116418547216 mmc: sdhci-of-at91: Support external regulators
   a0c48115cd23 audit: fix auditd/kernel connection state tracking
   72c89fa6106a powerpc/64s: Fix idle wakeup potential to clobber registers
   35637b59f675 ext4: lock the xattr block before checksuming it
   26512e52106d ext4: mark inode dirty after converting inline directory
   762602796be6 ppdev: fix registering same device name
   f8155f4e6368 parport: fix attempt to write duplicate procfiles
   c3a22b5f4339 mei: don't wait for os version message reply
   0dc119af06a5 mei: fix deadlock on mei reset
   bf1aedff42b2 iio: magnetometer: ak8974: remove incorrect __exit markups
   6c2aab07d124 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3
   9323d92a280b iio: sw-device: Fix config group initialization
   a12d1eadd0d1 iio: adc: ti_am335x_adc: fix fifo overrun recovery
   f4004c87c8c6 mmc: core: Fix access to HS400-ES devices
   a56eba20b447 nl80211: fix dumpit error path RTNL deadlocks
   f876c1039440 mmc: ushc: fix NULL-deref at probe
   90c2bb66e98e uwb: hwa-rc: fix NULL-deref at probe
   05393ccea6e3 uwb: i1480-dfu: fix NULL-deref at probe
   bb486e80a13f USB: usbtmc: fix probe error path
   ad1bbccdf018 USB: usbtmc: add missing endpoint sanity check
   9ec0027442cb usb: hub: Fix crash after failure to read BOS descriptor
   9eae384ab967 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer
   a769fe27a7cf USB: wusbcore: fix NULL-deref at probe
   bcf394acf736 USB: idmouse: fix NULL-deref at probe
   f615aa74026f USB: lvtest: fix NULL-deref at probe
   0918c32f09dd USB: uss720: fix NULL-deref at probe
   dfdd59a3ec07 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk
   aacb73b7ae2f dvb-usb-firmware: don't do DMA on stack
   f1b221121b16 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval
   c37fcc17bf36 ACM gadget: fix endianness in notifications
   7cdfdddb2e61 USB: serial: qcserial: add Dell DW5811e
   b1849b029cc1 USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems
   37e91f5d0105 ALSA: hda - Adding a group of pin definition to fix headset problem
   0b7e15f1a165 ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
   4c381c7affcb ALSA: seq: Fix racy cell insertions during snd_seq_pool_done()
   9ccad2dfe28c Input: sur40 - validate number of endpoints before using them
   fb50058c7970 Input: kbtab - validate number of endpoints before using them
   865b020ff2a1 Input: cm109 - validate number of endpoints before using them
   69cbb678881a Input: yealink - validate number of endpoints before using them
   e8861cb37faf Input: hanwang - validate number of endpoints before using them
   9318ae922a52 Input: ims-pcu - validate number of endpoints before using them
   ed6a66dc2f7a Input: iforce - validate number of endpoints before using them
   b5157d07935b Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000
   f1d4be3d754c Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
   b87dd1d7dacc Input: ALPS - fix trackstick button handling on V8 devices
   0186e6a4e501 Input: ALPS - fix V8+ protocol handling (73 03 28)
   00ca1a71292c HID: sony: Fix input device leak when connecting a DS4 twice using USB/BT
   de93e41f7734 net: solve a NAPI race
   a1fd7338b43e amd-xgbe: Fix the ECC-related bit position definitions
   d3add547afd3 tcp: initialize icsk_ack.lrcvtime at session start time
   a3639645a94b genetlink: fix counting regression on ctrl_dumpfamily()
   aaa31c62f737 socket, bpf: fix sk_filter use after free in sk_clone_lock
   1880e1308e9d ipv4: provide stronger user input validation in nl_fib_input()
   212508f709ab net: bcmgenet: remove bcmgenet_internal_phy_setup()
   30b72691dbca ipv6: make sure to initialize sockc.tsflags before first use
   4162e85c7134 net/mlx5e: Count LRO packets correctly
   4ec387a74cdc net/mlx5e: Count GSO packets correctly
   345aad1f4602 net/mlx5: Increase number of max QPs in default profile
   458034b72f35 net/mlx5e: Avoid supporting udp tunnel port ndo for VF reps
   daa6e01308ad net/mlx5e: Use the proper UAPI values when offloading TC vlan actions
   b709b83ea5ec net/mlx5: E-Switch, Don't allow changing inline mode when flows are configured
   402073e7e39a net/mlx5e: Change the TC offload rule add/del code path to be per NIC or E-Switch
   5e96d44bbdd4 net/mlx5: Add missing entries for set/query rate limit commands
   eccc68710eff net: vrf: Reset rt6i_idev in local dst after put
   29323e2def48 qmi_wwan: add Dell DW5811e
   4f320b855b8a net: unix: properly re-increment inflight counter of GC discarded candidates
   d965848569f9 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD
   ae9d577f3dbb amd-xgbe: Fix jumbo MTU processing on newer hardware
   5dd697af3014 net: properly release sk_frag.page
   200caa0be5d2 net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled
   3c9f2c656aca net/openvswitch: Set the ipv6 source tunnel key address attribute correctly
   df6ed56f4352 Linux 4.10.6
   dcb196787cd9 drm/amdgpu/si: add dpm quirk for Oland
   9ec87191ecee cgroup/pids: remove spurious suspicious RCU usage warning
   db79c1978953 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages
   a69813714424 gfs2: Avoid alignment hole in struct lm_lockname
   d369c16ffb46 isdn/gigaset: fix NULL-deref at probe
   169c4019c7be target: Fix VERIFY_16 handling in sbc_parse_cdb
   4a657746c52a scsi: mpt3sas: Avoid sleeping in interrupt context
   d4700e2050df scsi: libiscsi: add lock around task lists to fix list corruption regression
   5b769ee1ff5f scsi: lpfc: Add shutdown method for kexec
   a62438951a61 target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export
   11de2d238d6f md/raid1/10: fix potential deadlock
   a42f27d91de7 hwrng: omap - Do not access INTMASK_REG on EIP76
   65eb69be1999 hwrng: omap - use devm_clk_get() instead of of_clk_get()
   48207bda7d79 hwrng: omap - write registers after enabling the clock
   fd6fb9243d56 powerpc/boot: Fix zImage TOC alignment
   602ef5c5b0c5 cpufreq: Fix and clean up show_cpuinfo_cur_freq()
   84f16bb39c77 NFS prevent double free in async nfs4_exchange_id
   a3c7894422c9 xprtrdma: Squelch kbuild sparse complaint
   3e037a0fe0b6 md/r5cache: fix set_syndrome_sources() for data in cache
   2fe91a8e5fd3 perf/core: Fix event inheritance on fork()
   b1769d8402f2 perf/core: Fix use-after-free in perf_release()
   f194549ebe65 parisc: Fix system shutdown halt
   f81a9940e5ad parisc: support R_PARISC_SECREL32 relocation in modules
   13ad0be78574 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range
   13b178142b19 qla2xxx: Fix request queue corruption.
   b7306a2e2f62 qla2xxx: Fix memory leak for abts processing
   afd4fdd0da49 give up on gcc ilog2() constant optimizations

(From OE-Core rev: 5674ca07a98f404156afa9c0f01e9469a8fb7fdc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00