]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agotcl: update to 8.6.8
Yi Zhao [Fri, 2 Feb 2018 02:16:13 +0000 (10:16 +0800)]
tcl: update to 8.6.8

Rebase tcl-add-soname.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agojson-c: update to 0.13
Yi Zhao [Fri, 2 Feb 2018 02:16:12 +0000 (10:16 +0800)]
json-c: update to 0.13

Drop 0001-Add-FALLTHRU-comment-to-handle-GCC7-warnings.patch since it
had been merged upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorsync: update to 3.1.3
Yi Zhao [Fri, 2 Feb 2018 02:16:11 +0000 (10:16 +0800)]
rsync: update to 3.1.3

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowget: update to 1.19.4
Yi Zhao [Fri, 2 Feb 2018 02:16:10 +0000 (10:16 +0800)]
wget: update to 1.19.4

Update LIC_FILES_CHKSUM since replacing HTTP urls with HTTPS in COPYING

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibbsd: update to 0.8.7
Yi Zhao [Fri, 2 Feb 2018 02:16:09 +0000 (10:16 +0800)]
libbsd: update to 0.8.7

Drop 0001-Fix-for-older-GCCs-not-supporting-__has_include.patch as it
had been merged upstream.
Rebase 0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodebianutils: update to 4.8.4
Yi Zhao [Fri, 2 Feb 2018 02:16:08 +0000 (10:16 +0800)]
debianutils: update to 4.8.4

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogpgme: 1.9.0 -> 1.10.0
Hongxu Jia [Thu, 1 Feb 2018 06:17:10 +0000 (01:17 -0500)]
gpgme: 1.9.0 -> 1.10.0

1. Disable test at build time to workaround corss-compile
   Add 0007 to add option to disable python test and submit
   it to upstream

2. Rework patch 0002, since the following commit of upstream.
   https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=7309ce6f5f7c86570953a141965d4f54cd9ad9a0

3. Add patch 0006 to fix build path issue to improve reproducibility
   and submit it to upstream

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopigz: 2.3.4 -> 2.4
Hongxu Jia [Thu, 1 Feb 2018 06:20:42 +0000 (01:20 -0500)]
pigz: 2.3.4 -> 2.4

License-checksum-change: license is no change, only version bump up.

https://github.com/madler/pigz/commit/fe822cb435622c43f491013da77b127e9fe851a9

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglide: Add 0.13.1 version
Otavio Salvador [Thu, 1 Feb 2018 10:28:19 +0000 (08:28 -0200)]
glide: Add 0.13.1 version

Glide is a widely used Vendor Package Management for Golang,
especially in private projects as it allows for internal repositories
clone and other fancy things.

This recipe has been originally done as part of updatehub development.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-firmware: package all ibt-17-x-x.sfi/ddc firmware
Liwei Song [Thu, 1 Feb 2018 06:40:49 +0000 (01:40 -0500)]
linux-firmware: package all ibt-17-x-x.sfi/ddc firmware

All ibt-17-x-x.sfi/ddc firmware are use to support Intel Bluetooth 9560
they are needed in different version of Bluetooth driver since
4.14 kernel version.

commit b77bb7afe513 ("linux-firmware: package ibt-17-16-1 firmware")
only package one of the ibt-17 series firmware.

As the Bluetooth driver's update, to avoid packaging the ibt-17 firmware
one by one, install them in one package ibt-17.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agovulkan: upgrade to version 1.0.65.2
Maxin B. John [Wed, 31 Jan 2018 14:58:58 +0000 (16:58 +0200)]
vulkan: upgrade to version 1.0.65.2

1.0.61.1 -> 1.0.65.2

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoassimp: upgrade to version 4.1.0
Maxin B. John [Wed, 31 Jan 2018 14:58:57 +0000 (16:58 +0200)]
assimp: upgrade to version 4.1.0

4.0.1 -> 4.1.0

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibinput: upgrade to version 1.9.4
Maxin B. John [Wed, 31 Jan 2018 14:58:56 +0000 (16:58 +0200)]
libinput: upgrade to version 1.9.4

1.8.4 -> 1.9.4

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotar: 1.29 -> 1.30
Huang Qiyu [Wed, 31 Jan 2018 08:56:34 +0000 (16:56 +0800)]
tar: 1.29 -> 1.30

1.Upgrade tar from 1.29 to 1.30.
2.Modify musl_dirent.patch, since the data has been changed.
3.Delete CVE-2016-6321.patch, since it is integrated upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoapr-util: 1.6.0 -> 1.6.1
Hongxu Jia [Wed, 31 Jan 2018 07:48:17 +0000 (02:48 -0500)]
apr-util: 1.6.0 -> 1.6.1

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoncurses: 6.0+20170715 -> 6.0+20171125
Hongxu Jia [Wed, 31 Jan 2018 07:48:14 +0000 (02:48 -0500)]
ncurses: 6.0+20170715 -> 6.0+20171125

- Drop backported CVE fix

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agohelp2man-native: 1.47.4 -> 1.47.5
Hongxu Jia [Wed, 31 Jan 2018 07:48:12 +0000 (02:48 -0500)]
help2man-native: 1.47.4 -> 1.47.5

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoi2c-tools: rewrite packaging
Ross Burton [Wed, 31 Jan 2018 11:05:11 +0000 (11:05 +0000)]
i2c-tools: rewrite packaging

For unknowable reasons this recipe inherits autotools-brokensep despite not in
fact using autotools.

Remove the inherit, add a do_install() that calls the makefile directly.

Extend EXTRA_OEMAKE to pass bindir/sbindir/incdir/libdir/mandir so the files are
all packaged in the correct location (and remove the now redundant sed of
Makefile).

Pass EXTRA=eeprog to EXTRA_OEMAKE to build eeprog, and remove the now redundant
edit of Makefile.

Backport a patch from upstream to remove linux/i2c-dev.h instead of installing
it with a different name (which nobody will be using).

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3-pycairo: update to 1.15.6
Derek Straka [Tue, 30 Jan 2018 21:22:56 +0000 (16:22 -0500)]
python3-pycairo: update to 1.15.6

Update to the latest stable release

Tested in qemux86-64 running core-image-minimal

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3: update target and native recipes to 3.5.4
Derek Straka [Tue, 30 Jan 2018 17:22:49 +0000 (12:22 -0500)]
python3: update target and native recipes to 3.5.4

Use the latest 3.5 version until the 3.6 migration is complete

Removed the following upstreamed patches:
  - python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch
  - python3/upstream-random-fixes.patch

Rebased the following pathes:
  - python3/0001-cross-compile-support.patch

Regenerated the manifest based on the latest release version

Updated the license checksum for the latest version that updated the
copyright dates

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoltp: remove patches that already have fixes upstream
Anders Roxell [Tue, 30 Jan 2018 13:12:42 +0000 (14:12 +0100)]
ltp: remove patches that already have fixes upstream

The following patches has already fixes for the issues they are solving
in upstream.
- 0001-add-_GNU_SOURCE-to-pec_listener.c.patch
- 0011-Rename-sigset-variable-to-sigset1.patch
- 0025-mc_gethost-include-sys-types.h.patch
- 0027-sysconf01-Use-_SC_2_C_VERSION-conditionally.patch
- 0033-shmat1-Cover-GNU-specific-code-under-__USE_GNU.patch

Suggested-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython2-manifest: update the manifest file for python 2.7.14
Derek Straka [Tue, 30 Jan 2018 03:04:40 +0000 (22:04 -0500)]
python2-manifest: update the manifest file for python 2.7.14

The manifest file was not regenerated when the package was updated.

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython-native: add dependency for gdbm and db native packages
Derek Straka [Tue, 30 Jan 2018 03:04:39 +0000 (22:04 -0500)]
python-native: add dependency for gdbm and db native packages

These two packages are required to ensure the manifest files contain
all of the generated packages.  Without this, the db and gdbm packages
will not contain the .so files as they are skipped during the compilation steps

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoqemu: fix memfd_create with glibc 2.27
Ross Burton [Mon, 29 Jan 2018 23:15:34 +0000 (23:15 +0000)]
qemu: fix memfd_create with glibc 2.27

glibc 2.27 has added memfd_create() but this conflicts with a copy in qemu, so
take a patch from upstream to fix building with glibc 2.27.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosysstat: 11.6.1 -> 11.7.1
Huang Qiyu [Tue, 30 Jan 2018 08:58:39 +0000 (16:58 +0800)]
sysstat: 11.6.1 -> 11.7.1

Upgrade sysstat from 11.6.1 to 11.7.1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoruby: 2.4.2 -> 2.5.0
Huang Qiyu [Tue, 30 Jan 2018 08:58:38 +0000 (16:58 +0800)]
ruby: 2.4.2 -> 2.5.0

1.Upgrade ruby form 2.4.2 to 2.5.0.
2.Update the checksum of LIC_FILES_CHKSUM.
3.Delete ruby-CVE-2017-9224.patch, ruby-CVE-2017-9227.patch, ruby-CVE-2017-9229.patch, since it is integrated upstream.
4.Modify ruby-CVE-2017-9226.patch, since the data has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorng-tools: modify 'read error' message
Joe Slater [Thu, 25 Jan 2018 20:44:49 +0000 (12:44 -0800)]
rng-tools: modify 'read error' message

Expand messages output if entropy data cannot
be read.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Update to latest master
Khem Raj [Mon, 29 Jan 2018 03:27:18 +0000 (19:27 -0800)]
musl: Update to latest master

The changes are
https://git.musl-libc.org/cgit/musl/log/?qt=range&q=4000b0107ddd7fe733fa31d4f078c6fcd35851d6..628cf979b249fa76a80962e2eefe05073216a4db

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodevtool: set up git repos so that singletask.lock is ignored
Paul Eggleton [Wed, 31 Jan 2018 19:32:07 +0000 (08:32 +1300)]
devtool: set up git repos so that singletask.lock is ignored

singletask.lock is written out while certain tasks execute for recipes
that have externalsrc.bbclass enabled - this includes recipes in
devtool's workspace. It appears that there's a race where
singletask.lock will be there one minute and then when we try to get the
file checksum of it (since we want to know if anything in the source
tree has changed) it will be gone, and git chokes. To fix that, add
singletask.lock to .git/info/exclude in the repository, regardless of
whether we created the repository or not. In any case singletask.lock
should never be tracked by git, so this is a good thing to be doing for
that reason as well.

This fixes oe-selftest failures in test_devtool_modify that we've seen
on the Yocto Project autobuilder:

bb.data_smart.ExpansionError: Failure expanding variable
do_compile[file-checksums], expression was ${@srctree_hash_files(d)}
which triggered exception CalledProcessError: Command
'['git', 'add', '-A', '.']' returned non-zero exit status 128.

Note that this only fixes this issue for devtool; if you are using
externalsrc independently of devtool there's a chance this will still
be an issue unless you add singletask.lock to your .gitignore.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonpm.bbclass: Node module name and recipe name can be different
Böszörményi Zoltán [Thu, 1 Feb 2018 13:08:31 +0000 (14:08 +0100)]
npm.bbclass: Node module name and recipe name can be different

Some NPM modules have the same name as their low level dependencies.
To prevent recipe naming conflicts, allow node module recipe names
to start with the "node-" prefix.

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonpm.bbclass: Fix building node modules with npm@5
Böszörményi Zoltán [Thu, 1 Feb 2018 13:08:30 +0000 (14:08 +0100)]
npm.bbclass: Fix building node modules with npm@5

npm cache clear throws an error with npm@5 and suggests to
use npm cache verify instead. But our cache is actually empty,
so use npm cache clear --force.

npm install in the source directory creates symlinks with npm@5.

Use a combination of npm pack and npm install module-version.tgz
that works the same way with older and new npm versions and is
guaranteed to create actual copies instead of directory symlinks.

This change allows using nodejs 8.x LTS, tested with 8.9.4.

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowaf.bbclass: cd to ${S} before checking version
Joshua Watt [Wed, 31 Jan 2018 19:49:56 +0000 (13:49 -0600)]
waf.bbclass: cd to ${S} before checking version

waf requires that the current working directory be the project root (in
this case ${S} when it is invoked. The check to get the waf version was
being executed as a prefunc for do_configure, which meant it was
executed before the current working directory was switched to ${S}, and
thus would fail with some recipes. Fix this by changing to ${S} before
executing "waf --version"

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage_types: tar with --numeric-owner
Max Krummenacher [Sat, 27 Jan 2018 13:54:08 +0000 (14:54 +0100)]
image_types: tar with --numeric-owner

If --numeric-owner is neither used when creating or extracting the archive
containing the rootfs then tar tries to change the numeric uid/gid of the
files based on user/group names of the host used to extract the archive.

Create the archive with --numeric-owner to remove the burden of having to
use --numeric-owner when extracting.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosanity.bbclass: modified error message
Juro Bystricky [Tue, 30 Jan 2018 16:51:10 +0000 (08:51 -0800)]
sanity.bbclass: modified error message

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: update maintainership
Yi Zhao [Fri, 2 Feb 2018 02:16:14 +0000 (10:16 +0800)]
maintainers.inc: update maintainership

Reassign some Robert Yang's recipes to Yi Zhao.
Remove guile and mailx since these recipes were removed from oe-core.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosecurity_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic
Tom Rini [Thu, 1 Feb 2018 14:16:56 +0000 (09:16 -0500)]
security_flags.inc, xorg-driver-common.inc: Move SECURITY_X_LDFLAGS logic

We need to ensure that all xorg modules are linked with
SECURITY_X_LDFLAGS to ensure that they will be able to resolve their run
time dependencies.  The approach of listing each driver in
security_flags.inc lets less frequently used drivers be run-time
broken.  Move the flag logic into xorg-driver-common.inc so that all
xorg modules from all layers will have the correct security flags used.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE
Niko Mauno [Wed, 31 Jan 2018 16:55:10 +0000 (18:55 +0200)]
bitbake.conf: Add xattr to DISTRO_FEATURES_NATIVE

Commit db1f1adace58763c35774e3fdfeaac5c3ca646fd disabled 'xattr' from
DISTRO_FEATURES when native packages are built, whereas for target
packages it was retained. This changed eg. mtd-utils-native to build
without extended attributes (capabilities) support from there on.

Thus even setcap was called succesfully for a binary during pkg_postinst
on build host, the capabilities did not exist on target rootfs due to
now xattr-less host-side mkfs utility.

Adding xattr to DISTRO_FEATURES_NATIVE restores previous behaviour,
fixing the discontinuity in capability propagation to target
device rootfs.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotcmode-default.inc: drop preferred version of gzip-native
Martin Jansa [Tue, 30 Jan 2018 16:41:23 +0000 (16:41 +0000)]
tcmode-default.inc: drop preferred version of gzip-native

* gzip was recently upgraded from 1.8 to 1.9, now all the builds show:
  NOTE: preferred version 1.8 of gzip-native not available (for item gzip-native)
  NOTE: versions of gzip-native available: 1.9
* drop the setting, because nobody is probably going to use older
  gzip-native than 1.4 when there is only 1.9 available in oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopulseaudio: improve glibc 2.27 patch
Ross Burton [Tue, 30 Jan 2018 12:18:54 +0000 (12:18 +0000)]
pulseaudio: improve glibc 2.27 patch

This patch looks like it will be merged upstream.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomake: add missing Signed-off-by
Ross Burton [Tue, 30 Jan 2018 12:19:36 +0000 (12:19 +0000)]
make: add missing Signed-off-by

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogettext: beat library detection into shape
Ross Burton [Tue, 23 Jan 2018 00:54:13 +0000 (00:54 +0000)]
gettext: beat library detection into shape

For reasons I can't explain gettext uses several hundred lines of convoluted m4
to find the paths to a library.

If we don't tell it where to find a library it will hunt around and potentially
have host contamination as /usr/lib on the host is explicitly searched.

If we tell it the prefix to a library then we get bad RPATHs in the binaries
(such as /usr/lib/../lib), and the search assumes that it knows best about what
the library directories are under that prefix (even when it's wrong).

So, replace the lookup where possible with pkg-config calls (libxml2, glib,
libcroco).  libunistring doens't have a pkgconfig file so just don't use the
system libunistring: the library is tiny anyway.

(From OE-Core rev: 1ff35fbbdd50660b86f8e254685ae0c8338b6e11)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotcmode-default.inc: bump LINUXLIBCVERSION to 4.14%
Martin Jansa [Tue, 30 Jan 2018 11:21:37 +0000 (11:21 +0000)]
tcmode-default.inc: bump LINUXLIBCVERSION to 4.14%

* linux-libc-headers were updated without updating PREFERRED_VERSION causing
  following messages being shown in every single build:
  NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers)
  NOTE: versions of nativesdk-linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers)
  NOTE: versions of linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of linux-libc-headers not available (for item linux-libc-headers-dev)
  NOTE: versions of linux-libc-headers available: 4.14.13
  NOTE: preferred version 4.12% of nativesdk-linux-libc-headers not available (for item nativesdk-linux-libc-headers-dev)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agokexec-tools: remove unused patch file
Juro Bystricky [Mon, 29 Jan 2018 22:39:46 +0000 (14:39 -0800)]
kexec-tools: remove unused patch file

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibcrypt: remove unused patch file
Juro Bystricky [Mon, 29 Jan 2018 22:39:47 +0000 (14:39 -0800)]
libcrypt: remove unused patch file

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotzcode: remove unused patch files
Juro Bystricky [Mon, 29 Jan 2018 22:39:45 +0000 (14:39 -0800)]
tzcode: remove unused patch files

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-7.3: Drop upstreamed musl cpuinfo patch
Khem Raj [Mon, 29 Jan 2018 03:27:12 +0000 (19:27 -0800)]
gcc-7.3: Drop upstreamed musl cpuinfo patch

This patch is already in gcc-7-branch
https://github.com/gcc-mirror/gcc/commit/6e6c7fc1e15525a10f48d4f5ac2edd853e2f5cb7

Thanks nsz for noticing it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorootfs.py: change the notice about deferring scripts to first boot from warning to...
Alexander Kanavin [Mon, 29 Jan 2018 12:01:34 +0000 (14:01 +0200)]
rootfs.py: change the notice about deferring scripts to first boot from warning to a note

Now that the first boot deferral needs to be requested explicitly,
it's not really something to be concerned about.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_rpm.bbclass: run pre/post installation scriptlets using sh -e
Alexander Kanavin [Mon, 29 Jan 2018 12:01:33 +0000 (14:01 +0200)]
package_rpm.bbclass: run pre/post installation scriptlets using sh -e

This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:

====
bogus_command
proper_command
====

would work just fine. Note that this patch needs all of the preceding
patches, as otherwise running failing scriptlets with -e would defer
them to first boot, instead of properly reporting failure and aborting
the package installation.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/lib/oe/package_manager.py: deprecate 'exit 1' as a way to defer to first boot
Alexander Kanavin [Mon, 29 Jan 2018 12:01:32 +0000 (14:01 +0200)]
meta/lib/oe/package_manager.py: deprecate 'exit 1' as a way to defer to first boot

'exit 1' is not optimal for two reasons:

1) Code is hard to read; it is not obvious that it means 'defer what follows to first boot'.
2) Worse, this hides actual errors in the scriptlets; there is no difference between scriptlet
failing because it's intended to be run on target and scriptlet failing because there's a bug or
a regression somewhere.

The new, supported way is to place the code that has to run on target into pkg_postinst_ontarget(),
or, if a more fine-tuned control is required, call 'postinst-intercepts defer_to_first_boot' from
pkg_postinst() to explicitly request deferral to first boot.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage.bbclass: add support for pkg_postinst_ontarget()
Alexander Kanavin [Mon, 29 Jan 2018 12:01:31 +0000 (14:01 +0200)]
package.bbclass: add support for pkg_postinst_ontarget()

This function is a convenient and more readable shortcut for situations
when the postinst code always needs to run on target. All commands that
cannot be executed during cross-install and can only be run on target
should go into this function. They will only be executed on first boot
(if package was cross-installed) or immediately during package installation
on target.

Plain pkg_postinst() works as before: it is run during cross-install time,
it can contain a request to defer to first boot, and it is also run
during package installation on target.

Also fix the oeqa test for this functionality to use the new function
where appropriate.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/lib/oe/rootfs.py: do not execute defer_to_first_boot when processing postinst_in...
Alexander Kanavin [Mon, 29 Jan 2018 12:01:30 +0000 (14:01 +0200)]
meta/lib/oe/rootfs.py: do not execute defer_to_first_boot when processing postinst_intercept hooks

That hook is empty, and doesn't need to be executed; it merely indicates that packages
that have used it are requesting to defer their postinst scripts to first boot
unconditionally.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/lib/oe/rootfs.py: separate first boot deferral logic into a separate function
Alexander Kanavin [Mon, 29 Jan 2018 12:01:29 +0000 (14:01 +0200)]
meta/lib/oe/rootfs.py: separate first boot deferral logic into a separate function

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopostinst_intercepts: add a delay_to_first_boot hook
Alexander Kanavin [Mon, 29 Jan 2018 12:01:28 +0000 (14:01 +0200)]
postinst_intercepts: add a delay_to_first_boot hook

This allows postinsts scripts to explicitly request a deferral to first boot
(by calling 'postinst_intercept delay_to_first_boot') instead of 'exit 1' which
should be used only to indicate actual script failures.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoltp: bump to release 20180118
Anders Roxell [Mon, 29 Jan 2018 14:19:17 +0000 (15:19 +0100)]
ltp: bump to release 20180118

Removed 3 patches that have been upstreamed:
- 0030-lib-Use-PTHREAD_MUTEX_RECURSIVE-in-place-of-PTHREAD_.patch
- 0037-ltp-fix-format-security-error.patch
- 0038-generate-reproducible-gzip.patch

Reworked path 0002-Add-knob-to-control-whether-numa-support-should-be-c.patch.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake.conf: Add comm to HOSTTOOLS
Niko Mauno [Mon, 29 Jan 2018 17:47:24 +0000 (19:47 +0200)]
bitbake.conf: Add comm to HOSTTOOLS

This mitigates following issues during u-boot do_compile() step --
otherwise, if comm is not available, they are quietly ignored:

  .../scripts/check-config.sh: line 33: comm: command not found
  .../scripts/check-config.sh: line 39: comm: command not found

Since 'comm' is provided by coreutils package, adding it to HOSTTOOLS
was considered a lower impact fix compared to adding coreutils-native
buildtime dependency to u-boot recipe.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoofono: use patch sent upstream instead of sed
Ross Burton [Mon, 29 Jan 2018 17:11:11 +0000 (17:11 +0000)]
ofono: use patch sent upstream instead of sed

Instead of using a sed to fix the hashbang in a test tool send a patch upstream
and use that.  This way we'll notice when the patch doesn't need to be applied
anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoclasses/utils: remove compatibility functions
Ross Burton [Mon, 29 Jan 2018 17:11:10 +0000 (17:11 +0000)]
classes/utils: remove compatibility functions

These base_* functions were moved into meta/lib/oe back in 2010 and wrappers
left in utils.bbclass for compatibility.  It's been eight years, so I think it's
time to remove them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa: don't use deprecated functions from utils.bbclass
Ross Burton [Mon, 29 Jan 2018 17:11:09 +0000 (17:11 +0000)]
meta: don't use deprecated functions from utils.bbclass

These functions were moved to meta/lib/oe in 2010 and the base_* functions in
utils.bbclass were intended to be a short-term compatibility layer.  They're
still used in a few places, so update the callers to use the new functions.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobluez5: only depend on pygobject if its going to work
Ross Burton [Mon, 29 Jan 2018 17:11:08 +0000 (17:11 +0000)]
bluez5: only depend on pygobject if its going to work

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoofono: only depend on pygobject if its going to work
Ross Burton [Mon, 29 Jan 2018 17:11:07 +0000 (17:11 +0000)]
ofono: only depend on pygobject if its going to work

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxshmfence: fix build with glibc 2.27
Ross Burton [Mon, 29 Jan 2018 15:39:20 +0000 (15:39 +0000)]
libxshmfence: fix build with glibc 2.27

With glibc 2.27 memfd_create() is behind a _GNU_SOURCE guard, so use
AC_USE_SYSTEM_EXTENSIONS to define it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosystemd: Fix build with glibc 2.27
Khem Raj [Sat, 27 Jan 2018 20:03:22 +0000 (12:03 -0800)]
systemd: Fix build with glibc 2.27

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agopulseaudio: Fix build with glibc 2.27
Khem Raj [Sat, 27 Jan 2018 21:27:13 +0000 (13:27 -0800)]
pulseaudio: Fix build with glibc 2.27

memfd_create is now available in glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agoe2fsprogs: 1.43.7 -> 1.43.8
Huang Qiyu [Wed, 24 Jan 2018 03:01:37 +0000 (11:01 +0800)]
e2fsprogs: 1.43.7 -> 1.43.8

Upgrade e2fsprogs from 1.43.7 to 1.43.8.
Backport patch to fix build on BE systems

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agoperl: Undefine d_libm_lib_version.
Daniel Díaz [Tue, 10 Oct 2017 20:14:54 +0000 (15:14 -0500)]
perl: Undefine d_libm_lib_version.

A recent commit in GLIBC [1] got rid of _LIB_VERSION, which
makes Perl's build fail:
| pp.c:47:5: error: unknown type name '_LIB_VERSION_TYPE'; did you mean '__VERSION__'?
|      _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
|      ^~~~~~~~~~~~~~~~~
|      __VERSION__
| pp.c:47:38: error: '_IEEE_' undeclared here (not in a function); did you mean '_SIZET_'?
|      _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
|                                       ^~~~~~
|                                       _SIZET_
| make[1]: *** [pp.o] Error 1

The current config.sh enables d_libm_lib_version for
everyone, with special cases left to undefine it as fixup
(such as MUSL [2]).

Since this may only affect some BSDs and Cygwin [3], it
follows that the opposite (defining it) should be a fixup
for those special cases.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=813378e9fe17e029caf627cab76fe23eb46815fa
[2] http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/perl/perl_5.24.1.bb?id=8ca61a5464743ff85b6d26886112750d6ddd13e0#n127
[3] https://perl5.git.perl.org/perl.git/blob/443bd156a6baaf7a8fe6b6b05fcf6c4178140ed2:/pp.c#l42

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agomake: Backport fixes to not assume glibc internal glob implementation
Khem Raj [Sat, 27 Jan 2018 18:56:20 +0000 (10:56 -0800)]
make: Backport fixes to not assume glibc internal glob implementation

Exposed with glibc 2.27

Signed-off-by: Khem Raj <raj.khem@gmail.com>
7 years agotestimage: enable gi test suite
Ross Burton [Tue, 16 Jan 2018 20:07:03 +0000 (20:07 +0000)]
testimage: enable gi test suite

(From OE-Core rev: d8243c4588d4f1bb057fd917bfea130c4907e24c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime: add gobject-introspection test
Ross Burton [Tue, 16 Jan 2018 15:01:04 +0000 (15:01 +0000)]
oeqa/runtime: add gobject-introspection test

(From OE-Core rev: 497a95b576e19e39e20ac280d0db24f51b7c9679)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: Adapt do_install_append_aarch64() for usrmerge
Peter Kjellerstedt [Sat, 27 Jan 2018 03:53:03 +0000 (04:53 +0100)]
glibc: Adapt do_install_append_aarch64() for usrmerge

Change hardcoded /lib to ${nonarch_base_libdir} to correctly adapt the
code in do_install_append_aarch64() for when usrmerge is enabled in
DISTRO_FEATURES.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibfm: split the gtk+ bindings into their own package
Max Krummenacher [Sat, 27 Jan 2018 13:56:32 +0000 (14:56 +0100)]
libfm: split the gtk+ bindings into their own package

Recipes depending on libfm with the gtk+ bindings will automatically rdepend
additionally on the new package libfm-gtk.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake.conf: add STAMPS_DIR to BB_HASHBASE_WHITELIST
Ming Liu [Sat, 27 Jan 2018 09:36:22 +0000 (10:36 +0100)]
bitbake.conf: add STAMPS_DIR to BB_HASHBASE_WHITELIST

This allows scripts/bitbake-whatchanged to calculate the dependency
changes correctly since it needs to set different STAMPS_DIR during
the comparation.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomeson: Adjust for clang compiler
Khem Raj [Sat, 27 Jan 2018 07:06:26 +0000 (23:06 -0800)]
meson: Adjust for clang compiler

Remove hardcoding c/c++ compiler to be gcc alone, its
possible to use clang as replacement for cross compilers
from meta-clang, therefore set clang/clang++ if
TOOLCHAIN = "clang"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython: Upgrade both python and python-native to 2.7.14
Derek Straka [Fri, 26 Jan 2018 19:25:31 +0000 (14:25 -0500)]
python: Upgrade both python and python-native to 2.7.14

Rebased:
  - python/01-use-proper-tools-for-cross-build.patch
  - python/fix-makefile-for-ptest.patch
  - python/parallel-makeinst-create-bindir.patch

Removed Upstreamed Patch:
  - python/Don-t-use-getentropy-on-Linux.patch

Updated license checksum for changes in the copyright date.  The license
terms remain unchanged

Added an extra do_compile item to create the native pgen that no longer
gets compiled by default

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython3-manifest: add the _pydecimal files to the numbers package
Derek Straka [Thu, 25 Jan 2018 16:59:29 +0000 (11:59 -0500)]
python3-manifest: add the _pydecimal files to the numbers package

The _pydecimal files are required to use the numbers package
and downstream packages are currently required to add a RDEPENDS
on python3-misc to avoid an import error

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython: fix parse dependencies
Ross Burton [Fri, 26 Jan 2018 10:44:35 +0000 (10:44 +0000)]
python: fix parse dependencies

Adding a file-checksums flag for the manifest to do_split_packages doesn't
achieve anything as do_split_packages isn't a task.  Changing this to tha task
do_package shows that the path is wrong, but we also know that as the manifest
is in SRC_URI any changes to it would result in a rebuild anyway, so this line
can be deleted.

However there is a problem of the recipe not being reparsed when it needs to be,
if the JSON has changed.  The main bitbake process can hash the recipe and use
stale data from the cache as it hasn't considered the manifest file changing.  This
results in non-determinism warnings when the worker parses the recipe again and
comes to a different hash (as the manifest has changed, so the packaging
changed).

Solve this by calling bb.parse.mark_dependency() to declare the dependency on
the manifest.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoman-pages: 4.11 -> 4.14
Huang Qiyu [Fri, 26 Jan 2018 09:00:10 +0000 (17:00 +0800)]
man-pages: 4.11 -> 4.14

1.Upgrade man-pages from 4.11 to 4.14.
2.Update the checksum of LIC_FILES_CHKSUM, since README has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-libc-headers: 4.12 -> 4.14.13
Huang Qiyu [Fri, 26 Jan 2018 09:00:08 +0000 (17:00 +0800)]
linux-libc-headers: 4.12 -> 4.14.13

Upgrade linux-libc-headers from 4.12 to 4.14.13.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibunwind: 1.2 -> 1.2.1
Huang Qiyu [Fri, 26 Jan 2018 09:00:07 +0000 (17:00 +0800)]
libunwind: 1.2 -> 1.2.1

1.Upgrade libunwind from 1.2 to 1.2.1.
2.Delete fix-mips.patch, since it is integrated upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoblktrace: 1.1.0+gitX -> 1.2.0+gitX
Huang Qiyu [Fri, 26 Jan 2018 07:06:32 +0000 (15:06 +0800)]
blktrace: 1.1.0+gitX -> 1.2.0+gitX

1.Upgrade blktrace form 1.1.0+gitX to 1.2.0+gitX
2.Delete 0001-include-sys-types.h-for-dev_t-definition.patch, since it is integrated upstream.
3.Modify ldflags.patch, since iowatcher/Makefile has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibrsvg: 2.40.19 -> 2.40.20
Huang Qiyu [Fri, 26 Jan 2018 07:06:31 +0000 (15:06 +0800)]
librsvg: 2.40.19 -> 2.40.20

Upgrade librsvg from 2.40.19 to 2.40.20.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoless: 527 -> 529
Huang Qiyu [Fri, 26 Jan 2018 07:06:30 +0000 (15:06 +0800)]
less: 527 -> 529

Upgrade less from 527 to 529.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokmod: 24 -> 25
Huang Qiyu [Fri, 26 Jan 2018 07:06:29 +0000 (15:06 +0800)]
kmod: 24 -> 25

Upgrade kmod from 24 to 25.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackage_rpm.bbclass: improve reproducibility of RPM packages
Juro Bystricky [Fri, 26 Jan 2018 01:03:11 +0000 (17:03 -0800)]
package_rpm.bbclass: improve reproducibility of RPM packages

The RPM packages contain BUILDHOST based on the current build host.
This breaks reproducibility if the same package is build on two different hosts.
To improve reproducible builds, we always set BUILDHOST as "reproducible".

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolsbtest: minor fixes for LSB 5.0
Yi Zhao [Thu, 25 Jan 2018 03:14:04 +0000 (11:14 +0800)]
lsbtest: minor fixes for LSB 5.0

* Remove qt4 test component in test list since qt4 isn't installed to
  lsb image by default.
* Update package directory, server IP address and version.
* Move LSB_Test.sh from /usr/bin to /opt/lsb-test.
* Add lsb as runtime dependency.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolsb: update to 5.0
Yi Zhao [Thu, 25 Jan 2018 03:14:03 +0000 (11:14 +0800)]
lsb: update to 5.0

The LSB test packages had been updated to 5.0 in lsbtest. We also need
to bump to version 5.0 for this recipe.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodistrodata: add a utility script to compare list of recipes
Tan Shen Joon [Wed, 9 Aug 2017 22:57:01 +0000 (06:57 +0800)]
distrodata: add a utility script to compare list of recipes

distrocompare.sh is added to compare the added list of recipes
between two releases. The output of the script will share the
information of the licenses required and other distributions
that are using the package.

If a single input is provided, it will compare the current
branch with the provided branch/commit-ish package list.

To run : distrocompare.sh <older hash> <newer hash>
E.g. distrocompare.sh morty 92aa0e7
E.g. distrocompare.sh morty pyro
E.g. distrocompare.sh morty

output : The script will produce a file ending with
new_recipe_list.txt preceeded by the branch name from input

Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogzip: 1.8 -> 1.9
Huang Qiyu [Thu, 25 Jan 2018 08:13:37 +0000 (16:13 +0800)]
gzip: 1.8 -> 1.9

1.Upgrade gzip from 1.8 to 1.9.
2.Delete 0001-gzip-port-zdiff-zless-to-Busybox.patch, since it is integrated upstream.
3.Modify wrong-path-fix.patch, since it is changed upstream.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agohdparm: 9.52 -> 9.53
Huang Qiyu [Thu, 25 Jan 2018 08:13:15 +0000 (16:13 +0800)]
hdparm: 9.52 -> 9.53

Upgrade hdparm from 9.52 to 9.53.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotcf-agent: update machine setting for aarch64 bigendian build
Chunrong Guo [Thu, 25 Jan 2018 06:02:37 +0000 (14:02 +0800)]
tcf-agent: update machine setting for aarch64 bigendian build

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoarchiver: don't require that images are built using RPM to build SRPMs
Ross Burton [Thu, 25 Jan 2018 17:06:24 +0000 (17:06 +0000)]
archiver: don't require that images are built using RPM to build SRPMs

The requirement for images being built using RPM is too strict to have access to
the RPM functions, simply checking that package_rpm is in PACKAGE_CLASSES is
sufficient.

Also fail if SRPMs are requested but package_rpm isn't enabled, instead of
silently not doing what we were asked.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackage_rpm.bbclass: Fix matching of architecture independent packages
Otavio Salvador [Wed, 24 Jan 2018 20:39:11 +0000 (18:39 -0200)]
package_rpm.bbclass: Fix matching of architecture independent packages

OE-Core changes the architecture independent RPM packages to use
"noarch" instead of "all". This change has been included in the commit
below:

,----
| commit 341810aff923ace6b1cc1e15e19383c4f8773b51
| Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
| Date:   Mon Jan 9 16:37:28 2017 +0200
|
|     package_rpm.bbclass: make architecture-independent .rpm packages
|     "noarch" instead of "all"
|
|     Too many places in dnf/rpm4 stack make that assumption; let's not
|     fight against it.
|
|     Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
`----

This is causing problems with machines that has "all" inside the
machine name.

Reported-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibrsvg-gtk package: add gdk-pixbuf-bin RRECOMMENDS
Andreas Müller [Wed, 24 Jan 2018 14:27:49 +0000 (15:27 +0100)]
librsvg-gtk package: add gdk-pixbuf-bin RRECOMMENDS

librsvg-gtk installs /usr/share/thumbnailers/librsvg.thumbnailer which contains
TryExec and Exec for gdk-pixbuf-thumbnailer which is installed by
gdk-pixbuf-bin.

Fixes the following message in systemd-journal:

raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property
raspberrypi3 org.freedesktop.thumbnails.Thumbnailer1[494]: error: The metadata does not have a thumbnail property

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoscreen: upgrade to version 4.6.2
Maxin B. John [Wed, 24 Jan 2018 13:52:33 +0000 (15:52 +0200)]
screen: upgrade to version 4.6.2

4.6.1 -> 4.6.2

As suggested by AUH

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopango: upgrade to version 1.40.14
Maxin B. John [Wed, 24 Jan 2018 13:52:32 +0000 (15:52 +0200)]
pango: upgrade to version 1.40.14

Upgrading to stable version 1.40.14

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsoup-2.4: upgrade to version 2.60.3
Maxin B. John [Wed, 24 Jan 2018 13:52:31 +0000 (15:52 +0200)]
libsoup-2.4: upgrade to version 2.60.3

2.60.2 -> 2.60.3

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobusybox.inc: Add sanity check to test if the suid binary provides sh
Nathan Rossi [Wed, 24 Jan 2018 12:59:28 +0000 (22:59 +1000)]
busybox.inc: Add sanity check to test if the suid binary provides sh

Add a sanity check during the do_compile task to fail if the suid
busybox provides /bin/sh. This is considered as a hard fail since not
only is providing sh as suid problematic for security reasons but also
because the sh configured for suid is less functional than the nosuid
configured sh and breaks a number of required features (e.g. 64-bit
test).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe-pkgdata-util: Include colon when searching for variables
Amanda Brindle [Tue, 23 Jan 2018 20:42:37 +0000 (12:42 -0800)]
oe-pkgdata-util: Include colon when searching for variables

When searching for variables, include colon to ensure the script doesn't
find a variable that starts with the same name.

Signed-off-by: Amanda Brindle <amanda.r.brindle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogcc: Upgrade 7.2 -> 7.3
Richard Purdie [Wed, 24 Jan 2018 01:03:26 +0000 (17:03 -0800)]
gcc: Upgrade 7.2 -> 7.3

The static PIE patch was updated by Juro Bystricky <juro.bystricky@intel.com>
to work with gcc 7.3.

This update from the stable gcc 7 branch includes the retpoline
functionality which is useful to assist with recent security issues.

Two backported patches were dropped as they're included in 7.3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolinux-yocto/4.12: update to v4.12.19
Bruce Ashfield [Thu, 25 Jan 2018 20:35:46 +0000 (15:35 -0500)]
linux-yocto/4.12: update to v4.12.19

Integrating the -stable update from Paul Gortmaker which comprises
the following commits:

   4aff9b16f4ba Linux 4.12.19
   28f16fcc84f9 Bluetooth: Prevent stack info leak from the EFS element.
   a430cb040780 loop: fix concurrent lo_open/lo_release
   4dd428f5965c net: ipv4: fix for a race condition in raw_sendmsg
   4428a99052e6 bpf: fix lockdep splat
   686f16d77fee bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
   2c4577f1274b bpf: fix branch pruning logic
   d16a3b7b0642 bpf: reject out-of-bounds stack pointer calculation
   a1177b36876f x86/microcode/AMD: Add support for fam17h microcode loading
   19be0f0937af iommu/arm-smmu-v3: Cope with duplicated Stream IDs
   2e9834fd3352 iommu/arm-smmu-v3: Don't free page table ops twice
   1e67d5342bde KVM: X86: Fix load RFLAGS w/o the fixed bit
   b45b19d6e92d KVM: PPC: Book3S HV: Fix pending_pri value in kvmppc_xive_get_icp()
   ce4ad56d8b44 KVM: PPC: Book3S: fix XIVE migration of pending interrupts
   721f59a0bf4f KVM: arm/arm64: Fix HYP unmapping going off limits
   a7dbd1b73e6c arm64: kvm: Prevent restoring stale PMSCR_EL1 for vcpu
   3e4266c9ea63 KVM: arm/arm64: vgic-its: Preserve the revious read from the pending table
   c15b6348058e x86/asm: Use register variable to get stack pointer value
   19af84ace857 x86/asm: Fix inline asm call constraints for GCC 4.4
   78d54c1f3ac1 x86/asm: Fix inline asm call constraints for Clang
   9a6d78ff4fb7 arm64: prevent regressions in compressed kernel image size when upgrading to binutils 2.27
   3af55325636e mm: Handle 0 flags in _calc_vm_trans() macro
   f951c9e762b6 arm-ccn: perf: Prevent module unload while PMU is in use
   21bc2a95624c arm64: fix CONFIG_DEBUG_WX address reporting
   a2fb441f8cbd arm64: Initialise high_memory global variable earlier
   2b2e733345b0 kbuild: do not call cc-option before KBUILD_CFLAGS initialization
   4c67bceb55f4 jump_label: Invoke jump_label_test() via early_initcall()
   7cdf334210c3 ARM: BUG if jumping to usermode address in kernel mode
   77358b0b4d2f arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb
   09bddb96452b arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
   f451d0e885e1 arm64: fpsimd: Prevent registers leaking from dead tasks
   bf4bfcfd1780 KVM: arm/arm64: vgic-its: Check result of allocation before use
   bdd70c122339 KVM: arm/arm64: vgic: Preserve the revious read from the pending table
   6b99a8c8cdc0 KVM: arm/arm64: Fix broken GICH_ELRSR big endian conversion
   eadaba010c36 KVM: VMX: remove I/O port 0x80 bypass on Intel hosts
   b31b0eb03c2c arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one
   7c5a020deec8 arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one
   e1d48f51262e KVM: x86: fix APIC page invalidation
   4465b8b94411 x86/PCI: Make broadcom_postcore_init() check acpi_disabled
   74d50f1ac954 perf tools: Fix leaking rec_argv in error cases
   a8698071c4ba KVM: lapic: Fixup LDR on load in x2apic
   18db8c0cd612 KVM: lapic: Split out x2apic ldr calculation
   06e79931a082 KVM: x86: inject exceptions produced by x86_decode_insn
   1c7ccddc0a60 KVM: x86: Exit to user-mode on #UD intercept when emulator requires
   933a293d5925 KVM: x86: pvclock: Handle first-time write to pvclock-page contains random junk
   27a37b1b39b5 mm/madvise.c: fix madvise() infinite loop under special circumstances
   9a415da9c31c mm, hugetlbfs: introduce ->split() to vm_operations_struct
   ab1e80ae2b42 mm: fix device-dax pud write-faults triggered by get_user_pages()
   84392a1ffc54 mm/cma: fix alloc_contig_range ret code/potential leak
   390e49975c0c mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d()
   c9d8192b4165 mm, oom_reaper: gather each vma to prevent leaking TLB entry
   557cc85757eb mm, memory_hotplug: do not back off draining pcp free pages from kworker context
   e7f78f55bdcb KVM: SVM: obey guest PAT
   eee1b36f5bd8 KVM: nVMX: set IDTR and GDTR limits when loading L1 host state
   eca2c0a4f6fd KVM: PPC: Book3S HV: Don't call real-mode XICS hypercall handlers if not enabled
   139c8678fb65 x86/decoder: Add new TEST instruction pattern
   f06e373ee93d RDS: Heap OOB write in rds_message_alloc_sgs()
   4f72d5339c6f RDS: null pointer dereference in rds_atomic_free_op
   3911496c7b54 net: Fix double free and memory corruption in get_net_ns_by_id()
   5c9f58b167bd MIPS: math-emu: do not use bools for arithmetic
   a756ea350c02 crypto: salsa20 - fix blkcipher_walk API usage
   632cfeb3cb42 crypto: hmac - require that the underlying hash algorithm is unkeyed
   fdd279fd5561 netlink: Add netns check on taps
   c142151947e9 dccp: CVE-2017-8824: use-after-free in DCCP code
   edd820b4ba76 media: hdpvr: Fix an error handling path in hdpvr_probe()
   aa0327d3dddc powerpc/tm: Add commandline option to disable hardware transactional memory

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
7 years agolinux-yocto/4.9: update to v4.9.78
Bruce Ashfield [Thu, 25 Jan 2018 15:46:52 +0000 (10:46 -0500)]
linux-yocto/4.9: update to v4.9.78

Integrating the korg 4.9 -stable updates. These include patches for
Spectre and meltdown mitigation. The changelog follows:

   79584a422125 Linux 4.9.78
   60249fe9050b MIPS: AR7: ensure the port type's FCR value is used
   06d7342d8498 x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
   b9f8b5935394 x86/pti: Document fix wrong index
   4b71be496642 kprobes/x86: Disable optimizing on the function jumps to indirect thunk
   36ad6ba501d6 kprobes/x86: Blacklist indirect thunk functions for kprobes
   09402d83395f retpoline: Introduce start/end markers of indirect thunk
   c5aa687060a8 x86/mce: Make machine check speculation protected
   87ac29717de8 usbip: fix warning in vhci_hcd_probe/lockdep_init_map
   0d92cf7f29e6 x86/cpu, x86/pti: Do not enable PTI on AMD processors
   ddfaa7acd7a2 arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
   2904adc5b1c0 dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
   cabf6294a6dc dm btree: fix serious bug in btree_split_beneath()
   ca2d73686720 workqueue: avoid hard lockups in show_workqueue_state()
   d314f3bc7f3d libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
   8a3f4baaa4c3 proc: fix coredump vs read /proc/*/stat race
   43c3e093c26d scripts/gdb/linux/tasks.py: fix get_thread_info
   23d68eddd857 can: peak: fix potential bug in packet fragmentation
   19f47eafe10c ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
   1f32f15ec73c ARM: sunxi_defconfig: Enable CMA
   969e2145eb4a phy: work around 'phys' references to usb-nop-xceiv devices
   9a50ea0ce7cc tracing: Fix converting enum's from the map in trace_event_eval_update()
   cb513d1414f9 Input: twl4030-vibra - fix sibling-node lookup
   eaabab6468b3 Input: twl6040-vibra - fix child-node lookup
   9be13b3357e1 Input: 88pm860x-ts - fix child-node lookup
   607b86e17352 Input: ALPS - fix multi-touch decoding on SS4 plus touchpads
   9792f9b483cd perf tools: Fix build with ARCH=x86_64
   c557481a9491 x86/apic/vector: Fix off by one in error path
   5b13f593565f pipe: avoid round_pipe_size() nr_pages overflow on 32-bit
   02802dfc82a2 x86/tsc: Fix erroneous TSC rate on Skylake Xeon
   5ab44e8f0f0d x86/mm/pkeys: Fix fill_sig_info_pkey
   eee0cba7b02f module: Add retpoline tag to VERMAGIC
   a96cf98dda3f x86/cpufeature: Move processor tracing out of scattered features
   13ccac5de853 objtool: Improve error message for bad file argument
   b73d68788f79 x86/retpoline: Add LFENCE to the retpoline/RSB filling RSB macros
   abf67b1e7881 x86/retpoline: Fill RSB on context switch for affected CPUs
   1ad4f2872c3b sched/deadline: Zero out positive runtime after throttling constrained tasks
   997231f9fd7a scsi: hpsa: fix volume offline state
   d303d0ca9afb iser-target: Fix possible use-after-free in connection establishment error
   0476e6d0b752 af_key: fix buffer overread in parse_exthdrs()
   e4dc05ab8f5a af_key: fix buffer overread in verify_address_len()
   676109b28cad timers: Unconditionally check deferrable base
   4b6e681f5952 ALSA: hda - Apply the existing quirk to iMac 14,1
   fae704d5bd29 ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
   b9e168a0c629 ALSA: pcm: Remove yet superfluous WARN_ON()
   e4ff9f294629 ALSA: seq: Make ioctls race-free
   d8a3170db0de futex: Prevent overflow by strengthen input validation
   bb7119eea22c scsi: sg: disable SET_FORCE_LOW_DMA
   c9ca9d9d9b79 libnvdimm, btt: Fix an incompatibility in the log layout
   b8cf9ff79d63 Linux 4.9.77
   1b92c48a2eeb x86/pti/efi: broken conversion from efi to kernel page table
   92e8f2049474 objtool: Fix retpoline support for pre-ORC objtool
   44f1eae7fe65 x86/retpoline: Remove compile time warning
   c05d544d5343 selftests/x86: Add test_vsyscall
   c1ddd99a0296 x86/retpoline: Fill return stack buffer on vmexit
   276e30044710 x86/retpoline/irq32: Convert assembler indirect jumps
   a590960ae6ea x86/retpoline/checksum32: Convert assembler indirect jumps
   87a1fe36250d x86/retpoline/xen: Convert Xen hypercall indirect jumps
   9e37da4c3de1 x86/retpoline/hyperv: Convert assembler indirect jumps
   83d7658362cc x86/retpoline/ftrace: Convert ftrace assembler indirect jumps
   8b1bacc3218c x86/retpoline/entry: Convert entry assembler indirect jumps
   2adc2f74449f x86/retpoline/crypto: Convert crypto assembler indirect jumps
   8f96937ee304 x86/spectre: Add boot time option to select Spectre v2 mitigation
   2bb5de42f254 x86/retpoline: Add initial retpoline support
   4bf050da57d9 x86/asm: Use register variable to get stack pointer value
   4d8bd3e2f6b1 objtool: Allow alternatives to be ignored
   3adb52ab2976 objtool: Detect jumps to retpoline thunks
   35aee626fa63 objtool, modules: Discard objtool annotation sections for modules
   00bcb5ada638 x86/mm/32: Move setup_clear_cpu_cap(X86_FEATURE_PCID) earlier
   91b7e5cdc80a x86/alternatives: Add missing '\n' at end of ALTERNATIVE inline asm
   194dc04770f5 x86/alternatives: Fix optimize_nops() checking
   5ddd318a4715 sysfs/cpu: Fix typos in vulnerability documentation
   9c5e750c8e84 x86/cpu/AMD: Use LFENCE_RDTSC in preference to MFENCE_RDTSC
   abcc3e5f0079 x86/cpu/AMD: Make LFENCE a serializing instruction
   45a98824bd79 x86/cpu: Implement CPU vulnerabilites sysfs functions
   11ec2df9c020 sysfs/cpu: Add vulnerability folder
   56eff367e071 x86/cpu: Merge bugs.c and bugs_64.c
   26323fb4d717 x86/cpufeatures: Add X86_BUG_SPECTRE_V[12]
   43fe95308d27 x86/pti: Rename BUG_CPU_INSECURE to BUG_CPU_MELTDOWN
   d88f601b9ac9 x86/cpufeatures: Add X86_BUG_CPU_INSECURE
   c2cacde516a4 x86/cpufeatures: Make CPU bugs sticky
   ef463981018e x86/cpu: Factor out application of forced CPU caps
   4e6c2af2ba93 x86/Documentation: Add PTI description
   d598347989aa e1000e: Fix e1000_check_for_copper_link_ich8lan return value.
   3ba5d3a2cf40 uas: ignore UAS for Norelsys NS1068(X) chips
   6aebc2670ebf Bluetooth: Prevent stack info leak from the EFS element.
   c51d23dffc2e staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl
   8ab8c6e6607a usbip: vudc_tx: fix v_send_ret_submit() vulnerability to null xfer buffer
   86c8d58fc753 usbip: fix vudc_rx: harden CMD_SUBMIT path to handle malicious input
   6851ec74bfe4 usbip: remove kernel addresses from usb device and urb debug msgs
   435db24bb91f USB: fix usbmon BUG trigger
   9f6ca0ea7a7a usb: misc: usb3503: make sure reset is low for at least 100us
   11632d079e9e USB: serial: cp210x: add new device ID ELV ALC 8xxx
   4abe275c2dee USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ
   820ef2a0e54c bpf, array: fix overflow in max_entries and undefined behavior in index_mask
   a9bfac14cde2 bpf: prevent out-of-bounds speculation
   f55093dccd3a bpf: refactor fixup_bpf_calls()
   28035366afe9 bpf: move fixup_bpf_calls() function
   60c7a9cd5050 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
   748e1b6281f5 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref
   ec61bafb2abd kaiser: Set _PAGE_NX only if supported
   08a752581104 drm/vmwgfx: Potential off by one in vmw_view_add()
   012df71d2980 KVM: x86: Add memory barrier on vmcs field lookup
   431fd501aa3f x86/microcode/intel: Extend BDW late-loading with a revision check
   553a8b8c8d87 rbd: set max_segments to USHRT_MAX
   3752d2fb9a6d crypto: algapi - fix NULL dereference in crypto_remove_spawns()
   b28394cbb402 net/sched: Fix update of lastuse in act modules implementing stats_update
   e2b825e8de16 mlxsw: spectrum_router: Fix NULL pointer deref
   16d5b481d098 ethtool: do not print warning for applications using legacy API
   dde00c92245d ipv6: fix possible mem leaks in ipv6_make_skb()
   6f237183c7ca net: stmmac: enable EEE in MII, GMII or RGMII only
   7f4226ffcba0 sh_eth: fix SH7757 GEther initialization
   eb2f80e099d4 sh_eth: fix TSU resource handling
   ce31b6ac1111 RDS: null pointer dereference in rds_atomic_free_op
   cebb382931c4 RDS: Heap OOB write in rds_message_alloc_sgs()
   61196a67cac4 net: core: fix module type in sock_diag_bind
   ca5681b723d3 ip6_tunnel: disable dst caching if tunnel is dual-stack
   fe71f34fbf83 8021q: fix a memory leak for VLAN 0 device
   66bb6c2c4445 xhci: Fix ring leak in failure path of xhci_alloc_virt_device()
   135f98084eac cx82310_eth: use skb_cow_head() to deal with cloned skbs
   7c5015409bef smsc75xx: use skb_cow_head() to deal with cloned skbs
   ab4fd7a2ddc5 sr9700: use skb_cow_head() to deal with cloned skbs
   542bcc549379 lan78xx: use skb_cow_head() to deal with cloned skbs
   1ecdfc1ee99d zswap: don't param_set_charp while holding spinlock
   5c1b80f674e9 x86/acpi: Reduce code duplication in mp_override_legacy_irq()
   43ff00f87377 ALSA: aloop: Fix racy hw constraints adjustment
   5af666d0ddb7 ALSA: aloop: Fix inconsistent format due to incomplete rule
   01046dd834ac ALSA: aloop: Release cable upon open error path
   bee3f2d5c02a ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
   3a00564cb49f ALSA: pcm: Abort properly at pending signal in OSS read/write loops
   8e81425e80c9 ALSA: pcm: Add missing error checks in OSS emulation plugin builder
   83da0245eda2 ALSA: pcm: Remove incorrect snd_BUG_ON() usages
   0199927a8e51 x86/acpi: Handle SCI interrupts above legacy space gracefully
   64ab063b7193 platform/x86: wmi: Call acpi_wmi_init() later
   491c0ca3dbd5 kvm: vmx: Scrub hardware GPRs at VM-exit
   78c00f597ba8 MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses
   1f4cff1c364b MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET
   cfc5c63a38ca MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA
   f616180a8720 MIPS: Consistently handle buffer counter with PTRACE_SETREGSET
   5b593a81fddd MIPS: Guard against any partial write attempt with PTRACE_SETREGSET
   8eb5655aacdd MIPS: Factor out NT_PRFPREG regset access helpers
   14e1c579acba MIPS: Validate PR_SET_FP_MODE prctl(2) requests against the ABI of the task
   30191718645d IB/srpt: Disable RDMA access by the initiator
   02f201f78fb9 can: gs_usb: fix return value of the "set_bittiming" callback
   c781e3be97a1 KVM: Fix stack-out-of-bounds read in write_mmio
   c5ab9ee144d8 ath10k: rebuild crypto header in rx data frames
   234c8e60437d mac80211: Add RX flag to indicate ICV stripped
   b58aa24edb62 dm bufio: fix shrinker scans when (nr_to_scan < retain_target)
   7bbc6ca48877 Linux 4.9.76
   5e1f377fc810 mtd: nand: pxa3xx: Fix READOOB implementation
   beca4e2d9944 Map the vsyscall page with _PAGE_USER
   47f3cea393ab x86/tlb: Drop the _GPL from the cpu_tlbstate export
   91dfc41e753b parisc: qemu idle sleep support
   14c06206b98f parisc: Fix alignment of pa_tlb_lock in assembly on 32-bit SMP kernel
   dd43c465ba24 x86/microcode/AMD: Add support for fam17h microcode loading
   2b009d33f427 Input: elantech - add new icbody type 15
   cc1349fa9c22 ARC: uaccess: dont use "l" gcc inline asm constraint modifier
   e6a897a684c2 iommu/arm-smmu-v3: Cope with duplicated Stream IDs
   03975faee7ce iommu/arm-smmu-v3: Don't free page table ops twice
   4d53eb494950 kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal()
   794ac8ef9b06 kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals
   1453b3ac6cf8 kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL
   79258d983480 kernel: make groups_sort calling a responsibility group_info allocators
   3a381abc5b70 nbd: fix use-after-free of rq/bio in the xmit path
   2b9b2002e05d fscache: Fix the default for fscache_maybe_release_page()
   34fa2eede095 sunxi-rsb: Include OF based modalias in device uevent
   c195a4c0230d crypto: pcrypt - fix freeing pcrypt instances
   868f50b95dbe crypto: chacha20poly1305 - validate the digest size
   f6db86f31b47 crypto: n2 - cure use after free
   790080ce0e32 kernel/acct.c: fix the acct->needcheck check in check_free_space()
   9f74755895f9 Linux 4.9.75
   92fd81f77267 kaiser: Set _PAGE_NX only if supported
   ea6cd39d230f KPTI: Report when enabled
   e71fac01727a KPTI: Rename to PAGE_TABLE_ISOLATION
   59094faf3f61 x86/kaiser: Move feature detection up
   402e63de94af kaiser: disabled on Xen PV
   2c2721754a7f x86/kaiser: Reenable PARAVIRT
   1817d2c2fac1 x86/paravirt: Dont patch flush_tlb_single
   fe5cb75fd2dd kaiser: kaiser_flush_tlb_on_return_to_user() check PCID
   b72c26e911c5 kaiser: asm/tlbflush.h handle noPGE at lower level
   8c2f8a5cc15b kaiser: drop is_atomic arg to kaiser_pagetable_walk()
   169b369f99af kaiser: use ALTERNATIVE instead of x86_cr3_pcid_noflush
   8018307a45a9 x86/kaiser: Check boottime cmdline params
   50624dd12d6d x86/kaiser: Rename and simplify X86_FEATURE_KAISER handling
   23e09439aa46 kaiser: add "nokaiser" boot option, using ALTERNATIVE
   cb7d8d7e6737 kaiser: fix unlikely error in alloc_ldt_struct()
   3df146178706 kaiser: kaiser_remove_mapping() move along the pgd
   05ddad146d02 kaiser: paranoid_entry pass cr3 need to paranoid_exit
   d0142ceb7926 kaiser: x86_cr3_pcid_noflush and x86_cr3_pcid_user
   6a2b4117614c kaiser: PCID 0 for kernel and 128 for user
   0b5ca9d99599 kaiser: load_new_mm_cr3() let SWITCH_USER_CR3 flush user
   2684b12a169e kaiser: enhanced by kernel and user PCIDs
   1972bb9d9206 kaiser: vmstat show NR_KAISERTABLE as nr_overhead
   1ce27de4011e kaiser: delete KAISER_REAL_SWITCH option
   c27cdea56c54 kaiser: name that 0x1000 KAISER_SHADOW_PGD_OFFSET
   61b7a404fa13 kaiser: cleanups while trying for gold link
   604db4961085 kaiser: align addition to x86/mm/Makefile
   be6bf01f4caa kaiser: tidied up kaiser_add/remove_mapping slightly
   67fab0d4acb3 kaiser: tidied up asm/kaiser.h somewhat
   f43f386f0bf0 kaiser: ENOMEM if kaiser_pagetable_walk() NULL
   f881e626849c kaiser: fix perf crashes
   19377944317f kaiser: fix regs to do_nmi() ifndef CONFIG_KAISER
   639c005daeeb kaiser: KAISER depends on SMP
   7a92e20d157f kaiser: fix build and FIXME in alloc_ldt_struct()
   0994a2cf8fe4 kaiser: stack map PAGE_SIZE at THREAD_SIZE-PAGE_SIZE
   ac2f1018ac21 kaiser: do not set _PAGE_NX on pgd_none
   8f0baadf2bea kaiser: merged update
   13be4483bb48 KAISER: Kernel Address Isolation
   b5fd58e997cf x86/boot: Add early cmdline parsing for options with arguments
   8824b2d7abfb tcp_bbr: reset long-term bandwidth sampling on loss recovery undo
   61c51da2b4bd tcp_bbr: reset full pipe detection on loss recovery undo
   07bcb2489b96 Linux 4.9.74
   181a832c2e26 mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
   d76dabb5af06 tty: fix tty_ldisc_receive_buf() documentation
   00fc57ae06c3 n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD)
   404ae546c7d1 x86/smpboot: Remove stale TLB flush invocations
   e8119ac05d71 nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()
   249d4a9b3246 timers: Reinitialize per cpu bases on hotplug
   574e543ff970 timers: Invoke timer_start_debug() where it makes sense
   d840687aa8a3 timers: Use deferrable base independent of base::nohz_active
   09d3e69305b3 usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201
   ab1fbfecd330 USB: Fix off by one in type-specific length check of BOS SSP capability
   425d2f15338d usb: add RESET_RESUME for ELSA MicroLink 56K
   0f2e9cbc231c usb: Add device quirk for Logitech HD Pro Webcam C925e
   d98f4d4d0283 USB: serial: option: adding support for YUGA CLM920-NC5
   192cdf5ecaf8 USB: serial: option: add support for Telit ME910 PID 0x1101
   6ab3d87ad702 USB: serial: qcserial: add Sierra Wireless EM7565
   0af1aebb6a8b USB: serial: ftdi_sio: add id for Airbus DS P8GR
   03dce0573d38 usbip: vhci: stop printing kernel pointer addresses in messages
   9e9f4255c0d3 usbip: stub: stop printing kernel pointer addresses in messages
   1ef5c433b3b9 usbip: prevent leaking socket pointer address in messages
   3c579d0b4f0f usbip: fix usbip bind writing random string after command in match_busid
   67b539cab43c s390/qeth: update takeover IPs after configuration change
   476d7d693295 s390/qeth: lock IP table while applying takeover changes
   475018c79742 s390/qeth: don't apply takeover changes to RXIP
   6ed7c48e93bb s390/qeth: apply takeover changes when mode is toggled
   7493d98ea84c net/mlx5: Fix error flow in CREATE_QP command
   c844a4589487 net/mlx5e: Prevent possible races in VXLAN control flow
   604225824f06 net/mlx5e: Add refcount to VXLAN structure
   d1614fd9cd10 net/mlx5e: Fix possible deadlock of VXLAN lock
   9424a79ec11d net/mlx5e: Fix features check of IPv6 traffic
   138723912343 net/mlx5: Fix rate limit packet pacing naming and struct
   e74fe7268e7e tcp: invalidate rate samples during SACK reneging
   58f6ebbd3424 sock: free skb in skb_complete_tx_timestamp on error
   a746fadd5e31 net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround
   03c93293a83a net: Fix double free and memory corruption in get_net_ns_by_id()
   8c38f3190fd6 net: fec: Allow reception of frames bigger than 1522 bytes
   243adaa4eaea net: bridge: fix early call to br_stp_change_bridge_id and plug newlink leaks
   e4f669802775 ipv4: Fix use-after-free when flushing FIB tables
   e51abae8458a adding missing rcu_read_unlock in ipxip6_rcv
   ae67e5486b97 sctp: Replace use of sockets_allocated with specified macro.
   99cf2daf0da3 net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case
   f75f910ffa90 net: ipv4: fix for a race condition in raw_sendmsg
   484369ff9715 tg3: Fix rx hang on MTU change with 5717/5719
   7887a700ce61 tcp md5sig: Use skb's saddr when replying to an incoming segment
   a4bf8efd2bcb tcp_bbr: record "full bw reached" decision in new full_bw_reached bit
   53288d82188b RDS: Check cmsg_len before dereferencing CMSG_DATA
   8b032bde2899 ptr_ring: add barriers
   b3b56038bab0 net: reevalulate autoflowlabel setting after sysctl setting
   8baa58c5d536 net: qmi_wwan: add Sierra EM7565 1199:9091
   0b18782288a2 netlink: Add netns check on taps
   2c1a0b2e2bac net: igmp: Use correct source address on IGMPv3 reports
   930882f8b831 net: fec: unmap the xmit buffer that are not transferred by DMA
   f6d7cdbb0285 ipv6: mcast: better catch silly mtu values
   c2f78bf8ca3a ipv4: igmp: guard against silly MTU values
   b929ccccbc8c kbuild: add '-fno-stack-check' to kernel build options
   04bdf71d9f74 x86/mm/64: Fix reboot interaction with CR4.PCIDE
   b52f937eccd4 x86/mm: Enable CR4.PCIDE on supported systems
   e6a29320de00 x86/mm: Add the 'nopcid' boot option to turn off PCID
   1e7f3d8875ee x86/mm: Disable PCID on 32-bit kernels
   3e5daacf6517 x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code
   a94af050080f x86/mm: Reimplement flush_tlb_page() using flush_tlb_mm_range()
   113980c002eb x86/mm: Make flush_tlb_mm_range() more predictable
   219acedb061c x86/mm: Remove flush_tlb() and flush_tlb_current_task()
   72b812d5b874 x86/vm86/32: Switch to flush_tlb_mm_range() in mark_screen_rdonly()
   65ca46e5fe12 ALSA: hda - fix headset mic detection issue on a Dell machine
   a1dbcd823a30 ALSA: hda: Drop useless WARN_ON()
   d30d1761bc43 ASoC: tlv320aic31xx: Fix GPIO1 register definition
   b04640a450d3 ASoC: twl4030: fix child-node lookup
   00add00ed2c0 ASoC: fsl_ssi: AC'97 ops need regmap, clock and cleaning up on failure
   35f87d45cba3 ASoC: da7218: fix fix child-node lookup
   125e81b5afcb ASoC: wm_adsp: Fix validation of firmware and coeff lengths
   72d5e020c0ef iw_cxgb4: Only validate the MSN for successful completions
   2e0d458c315a ring-buffer: Mask out the info bits when returning buffer page length
   81e155e7b023 tracing: Fix crash when it fails to alloc ring buffer
   5dc4cd2688e3 tracing: Fix possible double free on failure of allocating trace buffer
   6edea15d120c tracing: Remove extra zeroing out of the ring buffer page
   3d16a1315add sync objtool's copy of x86-opcode-map.txt
   b3e88217e2f9 Linux 4.9.73
   37435f7e80ef bpf/verifier: Fix states_equal() comparison of pointer and UNKNOWN
   69cf72b28791 net: mvneta: eliminate wrong call to handle rx descriptor error
   a57f99f484e5 net: mvneta: use proper rxq_number in loop on rx queues
   405f3d7946fd net: mvneta: clear interface link status on port disable
   423716cf2815 libnvdimm, pfn: fix start_pad handling for aligned namespaces
   77b318a4e558 powerpc/perf: Dereference BHRB entries safely
   2635a64d0e94 clk: sunxi: sun9i-mmc: Implement reset callback for reset controls
   18276e9bcd49 kvm: x86: fix RSM when PCID is non-zero
   e5c73b3b60e1 KVM: X86: Fix load RFLAGS w/o the fixed bit
   418dfce4fa63 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems
   cb8b2fd1909e spi: xilinx: Detect stall with Unknown commands
   373386ec3f70 parisc: Hide Diva-built-in serial aux and graphics card
   10b4a621f367 PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()
   3176065495e1 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU
   beab14a3eeb8 ALSA: usb-audio: Add native DSD support for Esoteric D-05X
   cec92448c58e ALSA: rawmidi: Avoid racy info ioctl via ctl device
   becf7d87cda9 mfd: twl6040: Fix child-node lookup
   f4c0796fdc8b mfd: twl4030-audio: Fix sibling-node lookup
   2db85cb211d0 mfd: cros ec: spi: Don't send first message too soon
   e81cff1cedef crypto: mcryptd - protect the per-CPU queue with a lock
   d31a207aaf07 acpi, nfit: fix health event notification
   54c74d38819d ACPI: APEI / ERST: Fix missing error handling in erst_reader()
   2df397931072 Linux 4.9.72
   6430e166aee8 sparc32: Export vac_cache_size to fix build error
   3695b3b18519 bpf: fix incorrect sign extension in check_alu_op()
   d75d3ee237ce bpf: reject out-of-bounds stack pointer calculation
   7b5b73ea87a0 bpf: fix branch pruning logic
   565f012f5abb bpf: adjust insn_aux_data when patching insns
   3b6c84bc6449 Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
   dbeb719e24c3 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes
   00ecb4b1a599 MIPS: math-emu: Fix final emulation phase for certain instructions
   3cff90788e28 thermal/drivers/hisi: Fix multiple alarm interrupts firing
   1b2c46a6be45 thermal/drivers/hisi: Simplify the temperature/step computation
   2dac559df962 thermal/drivers/hisi: Fix kernel panic on alarm interrupt
   b679b8d7bad0 thermal/drivers/hisi: Fix missing interrupt enablement
   82bf76afa8af thermal: hisilicon: Handle return value of clk_prepare_enable
   b86c7b8c5dfb cpuidle: fix broadcast control when broadcast can not be entered
   15319d2a49ca rtc: set the alarm to the next expiring timer
   acc96729e1d8 tcp: fix under-evaluated ssthresh in TCP Vegas
   5859027994f9 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision
   bb0618ac2302 staging: greybus: light: Release memory obtained by kasprintf
   4bf42a2ec12a net: ipv6: send NS for DAD when link operationally up
   52d0a601aec4 fm10k: ensure we process SM mbx when processing VF mbx
   76d83bfc1158 vfio/pci: Virtualize Maximum Payload Size
   de5a4c816d31 scsi: lpfc: PLOGI failures during NPIV testing
   b438d2f7e23c scsi: lpfc: Fix secure firmware updates
   fc9d6386a9a3 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw
   bd0feaac155f ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback
   6af9b18a2e48 tracing: Exclude 'generic fields' from histograms
   fbb2d72a54c6 PCI/AER: Report non-fatal errors only to the affected endpoint
   1d4b32bee9c7 IB/rxe: check for allocation failure on elem
   2141182852b8 ixgbe: fix use of uninitialized padding
   700053c8733e igb: check memory allocation failure
   c236525bae02 PM / OPP: Move error message to debug level
   164a941c031b PCI: Create SR-IOV virtfn/physfn links before attaching driver
   b40eeea31afd scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
   fd1d9dccc01d scsi: cxgb4i: fix Tx skb leak
   241833a3a90d PCI: Avoid bus reset if bridge itself is broken
   d3469e616668 net: phy: at803x: Change error to EINVAL for invalid MAC
   206e1621ba72 kvm, mm: account kvm related kmem slabs to kmemcg
   bdb33bb5e2ce rtc: pl031: make interrupt optional
   1525e330d646 crypto: crypto4xx - increase context and scatter ring buffer elements
   291c7e488f64 backlight: pwm_bl: Fix overflow condition
   d14718c9f434 bnxt_en: Fix NULL pointer dereference in reopen failure path
   9e1771368a98 cpuidle: powernv: Pass correct drv->cpumask for registration
   5460e4672b81 ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory
   9c1433b5dd2b Btrfs: fix an integer overflow check
   0708a476810d netfilter: nfnetlink_queue: fix secctx memory leak
   54420c1ac421 xhci: plat: Register shutdown for xhci_plat
   55b6a5d080aa net: moxa: fix TX overrun memory leak
   ce19146a0de0 isdn: kcapi: avoid uninitialized data
   bb011a451387 virtio_balloon: prevent uninitialized variable use
   c6f9090929dc virtio-balloon: use actual number of stats for stats queue buffers
   808ed3bd9d42 KVM: pci-assign: do not map smm memory slot pages in vt-d page tables
   29c4f517ff5b net: ipconfig: fix ic_close_devs() use-after-free
   e9a1ba292fff cpufreq: Fix creation of symbolic links to policy directories
   e0d13153057e ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend
   b5ed572a1b7d netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register
   01060acf6aab netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table
   9e6398184a4d irda: vlsi_ir: fix check for DMA mapping errors
   37f41dac70ca RDMA/iser: Fix possible mr leak on device removal event
   661f5348696a i40e: Do not enable NAPI on q_vectors that have no rings
   2eb783a705b0 IB/rxe: increment msn only when completing a request
   2f0e39f2e3d7 IB/rxe: double free on error
   7f077afe94d9 net: Do not allow negative values for busy_read and busy_poll sysctl interfaces
   521a7e3dad6b nbd: set queue timeout properly
   f4fcc56632cf infiniband: Fix alignment of mmap cookies to support VIPT caching
   cd083d5bcafd IB/core: Protect against self-requeue of a cq work item
   26452a5033dc i40iw: Receive netdev events post INET_NOTIFIER state
   102a8a163449 bna: avoid writing uninitialized data into hw registers
   51533c4bf144 s390/qeth: no ETH header for outbound AF_IUCV
   118b0404d68d s390/qeth: size calculation outbound buffers
   60d59823046a r8152: prevent the driver from transmitting packets with carrier off
   b89e229112c0 ASoC: STI: Fix reader substream pointer set
   347848e0bb99 HID: xinmo: fix for out of range for THT 2P arcade controller.
   afa055f2a1d0 hwmon: (asus_atk0110) fix uninitialized data access
   5700ffc4accb ARM: dts: ti: fix PCI bus dtc warnings
   2df19698db73 KVM: VMX: Fix enable VPID conditions
   e0249c023448 KVM: x86: correct async page present tracepoint
   8386ff5203e0 kvm: vmx: Flush TLB when the APIC-access address changes
   3bd2017b6a20 scsi: lpfc: Fix PT2PT PRLI reject
   0f4aa1f0f576 pinctrl: st: add irq_request/release_resources callbacks
   7656871eff6a inet: frag: release spinlock before calling icmp_send()
   e6e8067ec34a tipc: fix nametbl deadlock at tipc_nametbl_unsubscribe
   bfb38fbd868d r8152: fix the rx early size of RTL8153
   7171aa2680b2 iommu/exynos: Workaround FLPD cache flush issues for SYSMMU v5
   0f0ac218057f netfilter: nfnl_cthelper: Fix memory leak
   ec38fb443a09 netfilter: nfnl_cthelper: fix runtime expectation policy updates
   02197d86c56d usb: gadget: udc: remove pointer dereference after free
   2b943bed33e7 usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed
   2101ccbc2a91 hwmon: (max31790) Set correct PWM value
   4ee082a72731 net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4
   9ed8f0fabae5 sctp: out_qlen should be updated when pruning unsent queue
   b4cf187a1bc5 bna: integer overflow bug in debugfs
   b3f662ccd367 sch_dsmark: fix invalid skb_cow() usage
   98d20e590266 vsock: cancel packets when failing to connect
   482b3f92aea2 vhost-vsock: add pkt cancel capability
   6f1848e778d9 vsock: track pkt owner vsock
   7ff28d3307b6 crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex
   ddfc9f75993e r8152: fix the list rx_done may be used without initialization
   9712b2b73d7c cpuidle: Validate cpu_dev in cpuidle_add_sysfs()
   8f21b63c9dcf nvme-loop: handle cpu unplug when re-establishing the controller
   c9bbd2727d1e arm: kprobes: Align stack to 8-bytes in test code
   d0ee8d5b86b8 arm: kprobes: Fix the return address of multiple kretprobes
   6e2a6941fa4b HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
   e93ea3a50cc6 HID: corsair: support for K65-K70 Rapidfire and Scimitar Pro RGB
   2a7eee3d72b0 kvm: fix usage of uninit spinlock in avic_vm_destroy()
   2d9a34c064ad ALSA: hda - add support for docking station for HP 840 G3
   52c3323e4141 ALSA: hda - add support for docking station for HP 820 G2
   bb95f1caee61 arm64: Initialise high_memory global variable earlier
   76fcdc8cbbce cxl: Check if vphb exists before iterating over AFU devices

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>