]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agoexternalsrc: Hide created symlinks with .git/info/exclude
Ola x Nilsson [Wed, 25 Jan 2017 15:49:46 +0000 (16:49 +0100)]
externalsrc: Hide created symlinks with .git/info/exclude

Add created symlinks to the exclude file.  This will both make them
less distracting and hide them from the srctree_hash_files function.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosstate: Make SSTATE_SCAN_CMD vars configurable using weak defaults.
Kristian Amlie [Wed, 25 Jan 2017 14:46:15 +0000 (15:46 +0100)]
sstate: Make SSTATE_SCAN_CMD vars configurable using weak defaults.

For this we move them out of the python section so they can be
overridden on a per-recipe basis.

The motivation for this change is that not all tool chains need the
path modifications provided by the command, and these will provide
alternative or empty commands. The Go compiler is such an example.

Signed-off-by: Kristian Amlie <kristian.amlie@mender.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotoolchain-shar-extract: compare SDK and host gcc versions
Ed Bartosh [Wed, 25 Jan 2017 13:18:36 +0000 (15:18 +0200)]
toolchain-shar-extract: compare SDK and host gcc versions

If ext sdk is built by gcc version higher than host gcc version
and host gcc version is 4.8 or 4.9 the installation is known to
fail due to the way uninative sstate package is built.

It's a known issue and we don't have a way to fix it for above
mentioned combinations of build and host gcc versions.

Detected non-installable combinations of gcc versions and
print an installation error.

[YOCTO #10881]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobluez5: make readline support conditional.
Ismo Puustinen [Wed, 25 Jan 2017 13:03:35 +0000 (15:03 +0200)]
bluez5: make readline support conditional.

Add readline support to PACKAGECONFIG. If readline needs if left out
of compilation, the bluez utilities which depend on readline are not
included in build or packages.

The defaults in PACKAGECONFIG are the same as before, so there should be
no change to current users.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibtiff: Security Advisory - libtiff - CVE-2017-5225
Li Zhou [Wed, 25 Jan 2017 09:28:22 +0000 (17:28 +0800)]
libtiff: Security Advisory - libtiff - CVE-2017-5225

Libtiff is vulnerable to a heap buffer overflow in the tools/tiffcp
resulting in DoS or code execution via a crafted BitsPerSample value.

Porting patch from <https://github.com/vadz/libtiff/commit/
5c080298d59efa53264d7248bbe3a04660db6ef7> to solve CVE-2017-5225.

Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxserver-xorg: Enable glamor by default
Saul Wold [Fri, 20 Jan 2017 21:50:27 +0000 (13:50 -0800)]
xserver-xorg: Enable glamor by default

To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoxserver-xf86-config: add glamoregl
Saul Wold [Fri, 20 Jan 2017 21:50:26 +0000 (13:50 -0800)]
xserver-xf86-config: add glamoregl

When using the modesetting with glamor and MUSL, the glamoregl
library needs to be pre-loaded, so add it to the list here.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoacl: drop in instead of patching configure.ac
Ross Burton [Mon, 14 Nov 2016 13:19:28 +0000 (13:19 +0000)]
acl: drop in instead of patching configure.ac

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoacl: merge pointless .inc
Ross Burton [Mon, 14 Nov 2016 13:09:11 +0000 (13:09 +0000)]
acl: merge pointless .inc

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoattr: move attr-specific patches into attr/
Ross Burton [Mon, 14 Nov 2016 13:00:37 +0000 (13:00 +0000)]
attr: move attr-specific patches into attr/

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogptfdisk: fix support for 'large' drives
Andreas Oberritter [Wed, 30 Nov 2016 21:50:45 +0000 (22:50 +0100)]
gptfdisk: fix support for 'large' drives

Make's switch '-e' replaced important compiler flags from the
project's Makefile, i.e. -D_FILE_OFFSET_BITS=64.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoutil-linux: create own package for lsblk
Andreas Oberritter [Wed, 30 Nov 2016 18:50:27 +0000 (19:50 +0100)]
util-linux: create own package for lsblk

Let util-linux-bash-completion depend on it, because it uses it.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-publish-sdk: add pyshtables.py to .gitignore
Andrea Galbusera [Thu, 26 Jan 2017 23:34:55 +0000 (00:34 +0100)]
oe-publish-sdk: add pyshtables.py to .gitignore

pyshtables.py should be ignored by git as it is generated. If kept in
the repo, causes subsequent runs of sdk-update to fail.

[ YOCTO #10963 ]

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodefault-distrovars: add acl to DISTRO_FEATURES
Ross Burton [Thu, 26 Jan 2017 23:28:05 +0000 (23:28 +0000)]
default-distrovars: add acl to DISTRO_FEATURES

ACLs are pretty useful in the modern world, with security systems such as
SELinux and Smack that use them extensively.  As the overhead is minimal, add
ACL to DEFAULT_DISTRO_FEATURES so that support for them is enabled by default.

The overhead for core-image-sato is that coreutils, libarchive, and opkg link
against libacl. The size increase of those packages is minimal, and libacl is
35kb.

[ YOCTO #8200 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopackage_deb: handle allarch when mapping tune to dpkg architectures
Ross Burton [Wed, 25 Jan 2017 17:13:40 +0000 (17:13 +0000)]
package_deb: handle allarch when mapping tune to dpkg architectures

It was discovered that buildtools-tarball can't be built with Debian packaging:

E: Unable to locate package nativesdk-buildtools-perl-dummy

The package exists but dpkg doesn't see it because the Architecture field isn't
valid: for this package the Architecture field is 'allarch' which isn't in the
list of valid architectures we define.

package_deb already has a mapping of OE architectures (PACKAGE_ARCH) to dpkg
architectures (DPKG_ARCH), for example our x86_64 is amd64 in dpkg.  However
allarch.bbclass sets an invalid TARGET_ARCH of 'allarch' (to break anything
which attempts to use the target architecture) and package_deb relied on the
PACKAGE_ARCH check later turning the Architecture field into 'all'.

This usually works, but nativesdk-buildtools-perl-dummy inherits allarch but
then changes PACKAGE_ARCH to buildtools-dummy-nativesdk to isolate the packages
in a separate feed.  We can handle this by explictly checking for allarch in the
TARGET_ARCH check, as that everything that inherits allarch will want to have
Architecture: all in their packages.

[ YOCTO #10700 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodistrodata: add DATETIME to vardepsexclude for do_distro_check.
Ross Burton [Wed, 25 Jan 2017 16:21:08 +0000 (16:21 +0000)]
distrodata: add DATETIME to vardepsexclude for do_distro_check.

This task uses DATETIME so add it to vardepsexclude so bitbake doesn't refuse to
execute the task when the time changes between the controller and the worker
calculating the hash.

[ YOCTO #10960 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoisoimage-isohybrid: renamed variable hdd_dir
Ed Bartosh [Fri, 27 Jan 2017 14:39:14 +0000 (16:39 +0200)]
isoimage-isohybrid: renamed variable hdd_dir

Renamed variable hdd_dir to deploy_dir as this variable is
assigned to the value of DEPLOY_DIR_IMAGE.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agowic-tools: add dependency to systemd-boot
Ed Bartosh [Fri, 27 Jan 2017 14:28:28 +0000 (16:28 +0200)]
wic-tools: add dependency to systemd-boot

Added systemd-boot to the list of dependencies of wic-tools
as wic bootimg-efi plugin depends on it.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agogrub-efi.bbclass: use 'grub-efi-' prefix
Ed Bartosh [Fri, 27 Jan 2017 14:16:05 +0000 (16:16 +0200)]
grub-efi.bbclass: use 'grub-efi-' prefix

grub-efi recipe added 'grub-efi-' prefix to the file name of
efi binary. Changed grub-efi.bbclass accordingly.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoselftest: wic: fix test_iso_image test case
Ed Bartosh [Mon, 16 Jan 2017 15:20:45 +0000 (17:20 +0200)]
selftest: wic: fix test_iso_image test case

Added "iso" to IMAGE_FSTYPES to build iso artifacts required
to fix test of isoimage-isohybrid wic plugin.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoselftest: stop using hddimg in the wic test suite
Ed Bartosh [Mon, 16 Jan 2017 13:14:14 +0000 (15:14 +0200)]
selftest: stop using hddimg in the wic test suite

Removed hddimg from IMAGE_FEATURES as wic code doesn't
use hddimg anymore.

[YOCTO #10835]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoisoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH
Ed Bartosh [Mon, 16 Jan 2017 12:23:08 +0000 (14:23 +0200)]
isoimage-isohybrid: use TRANSLATED_TARGET_ARCH instead of MACHINE_ARCH

isoimage-sihybrid plugin uses MACHINE_ARCH to get the name of initrd image.
It doesn't work for all machines, for example for quemux86-64 machine
MACHINE_ARCH is quemux86_64 and initrd name is
core-image-minimal-initramfs-qemux86-64.cpio.gz

Used TRANSLATED_TARGET_ARCH variable to get the initrd image name.
Replaced MACHINE_ARCH->TRANSLATED_TARGET_ARCH in WICVARS variable to
make it available from <image>.env file.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agowic: Look for image artifacts in a common location
Tom Zanussi [Tue, 12 Jul 2016 21:50:03 +0000 (16:50 -0500)]
wic: Look for image artifacts in a common location

Rather than have each image type look for artifacts in image-specific
locations, move towards having them look for artifacts in a common
location, in this case DEPLOY_DIR_IMAGE

Use the existing deploy.bbclass to have the bootloaders put their binaries
in DEPLOY_DIR_IMAGE and then wic will find them and place them in the image

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
8 years agoimage-wic: remove HDDDIR from WICVARS
Ed Bartosh [Thu, 12 Jan 2017 17:06:02 +0000 (19:06 +0200)]
image-wic: remove HDDDIR from WICVARS

Removed HDDDIR as it's not used by wic anymore.
Stopped usage of HDDDIR in wic test suite.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agowic: isoimage-isohybrid: stop using HDDDIR
Ed Bartosh [Thu, 12 Jan 2017 17:00:10 +0000 (19:00 +0200)]
wic: isoimage-isohybrid: stop using HDDDIR

Stop using HDDDIR in isoimage-isohybrid wic plugin.
This variable is set by hddimg code, which is going to be
removed soon.

All required artifacts should be available from ISODIR.
wic-image.bbclass has been modified to build iso artifacts,
so it should be safe to remove usage of HDDDIR.

[YOCTO #10835]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agowic: use INITRD_LIVE in isoimage-isohybrid
Ed Bartosh [Thu, 12 Jan 2017 16:32:41 +0000 (18:32 +0200)]
wic: use INITRD_LIVE in isoimage-isohybrid

INITRD variable is not set if hddimg is disabled.
isoimage-isohybrid can't get correct name for initrd if INITRD
variable is not set.

Added INITRD_LIVE to WICVARS and used it in isoimage-isohybrid
code to get initrd artifact name. Used INITRD if INITRD_LIVE is not set.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoimage-wic: move wic code to image-wic.bbclass
Ed Bartosh [Thu, 26 Jan 2017 11:52:24 +0000 (13:52 +0200)]
image-wic: move wic code to image-wic.bbclass

There is a lot of wic code in image.bbclass and image_types.bbclass
Having all code separated in one file should make it more readable
and easier to maintain.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoselftest: check results in test_image_vars_dir*
Ed Bartosh [Thu, 26 Jan 2017 17:31:48 +0000 (19:31 +0200)]
selftest: check results in test_image_vars_dir*

Tested that result images are produced in test_image_vars_dir_long
and test_image_vars_dir_short test cases.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agoselftest: split wic tests cases
Ed Bartosh [Thu, 26 Jan 2017 17:30:53 +0000 (19:30 +0200)]
selftest: split wic tests cases

Split tests to run wic only once per test case.
This should fix failures caused by result images left
from the previous wic run.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
8 years agowic: partitionedfs: set partition name for gpt partitions
Jukka Laitinen [Thu, 26 Jan 2017 15:43:33 +0000 (17:43 +0200)]
wic: partitionedfs: set partition name for gpt partitions

Set proper gpt partition name for the partitions in case given
in the configuration

Signed-off-by: Jukka Laitinen <jukka.laitinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowic: change location of .env files
Ed Bartosh [Wed, 25 Jan 2017 17:39:14 +0000 (19:39 +0200)]
wic: change location of .env files

Current location of .env files $STAGING_DIR/imagedata. It doesn't
depend on machine and be rewritten by the builds for different
machines.

Changed location to $STAGING_DIR/$MACHINE/imagedata to avoid .env
files to be rewritten.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest: wic: test default output directory
Ed Bartosh [Tue, 24 Jan 2017 13:43:56 +0000 (15:43 +0200)]
selftest: wic: test default output directory

As tests now explicitly specify output directory we don't
need test_alternate_output_dir test case. However, we need
to test wic output to default output location.

Removed test_alternate_output_dir test case.
Added test_default_output_dir test case.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest: wic: explicitly specify output directory
Ed Bartosh [Tue, 24 Jan 2017 13:43:55 +0000 (15:43 +0200)]
selftest: wic: explicitly specify output directory

wic started to use current directory as a default output dir.
Specified output directory in wic command line to make tests
more predictable and easier to maintain.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: use correct output directory
Ed Bartosh [Tue, 24 Jan 2017 13:43:54 +0000 (15:43 +0200)]
image_types: use correct output directory

Wic put result images into <output dir>/build, which was confusing.
Now it's fixed in wic code and images are put into output directory.
Changed code in image_types to reflect this.

[YOCTO #10783]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: direct.py: get rid of names with two underscores
Ed Bartosh [Tue, 24 Jan 2017 13:43:53 +0000 (15:43 +0200)]
wic: direct.py: get rid of names with two underscores

Attributes with two leading underscores are mangled in Python
and used mainly for avoiding name clashes with names from
subclasses. They're not needed in most of wic classes.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: remove unused API DirectImageCreator.get_disk_names
Ed Bartosh [Tue, 24 Jan 2017 13:43:52 +0000 (15:43 +0200)]
wic: remove unused API DirectImageCreator.get_disk_names

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: make workdir a temporary directory
Ed Bartosh [Tue, 24 Jan 2017 13:43:51 +0000 (15:43 +0200)]
wic: make workdir a temporary directory

Wic used hardcoded path /var/tmp/wic/ as a work directory,
which caused conflicts if two wic instances run in parallel.

Made work directory unique and temporary. Moved results from
work directory to output directory when they're ready.

[YOCTO #10783]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: get rid of baseimager inheritance
Ed Bartosh [Tue, 24 Jan 2017 13:43:50 +0000 (15:43 +0200)]
wic: get rid of baseimager inheritance

Simplified DirectImageCreator code by removing inheritance
from BaseImageCreator. This inheritance doesn't make much sense
as DirectImageCreator is the only class that was inherited from
BaseImageCreator.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: change default output directory
Ed Bartosh [Tue, 24 Jan 2017 13:43:49 +0000 (15:43 +0200)]
wic: change default output directory

Set default output directory to current dir.

[YOCTO #10783]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Handle stale sysroot rebuild issue
Richard Purdie [Sat, 28 Jan 2017 14:40:36 +0000 (14:40 +0000)]
staging: Handle stale sysroot rebuild issue

If a stale sysroot object was found the complete stamp wasn't removed,
meaning later code could fail when the new link creation was attempted.
Ensure the stale complete stamp is also removed if present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Fix missing nativesdk do_populate_sysroot depends on binutils
Richard Purdie [Sat, 28 Jan 2017 14:40:19 +0000 (14:40 +0000)]
staging: Fix missing nativesdk do_populate_sysroot depends on binutils

Recent changes exposed the fact this dependency was missing in nativesdk
cases, fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest: wic: split test_debug test case
Ed Bartosh [Thu, 26 Jan 2017 11:28:17 +0000 (13:28 +0200)]
selftest: wic: split test_debug test case

Splitted to test_debug_short and test_debug_long to make each
of the test cases to run wic once. This is consistent with the
rest of the test cases and ensures that test cases are set up
properly.

This also fixes the following test failure caused by the image
left from the first wic run:

FAIL: test_debug (oeqa.selftest.wic.Wic)
Test debug
----------------------------------------------------------------------
Traceback (most recent call last):
  File "meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
    return func(*args, **kwargs)
  File "meta/lib/oeqa/selftest/wic.py", line 270, in test_debug
    self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
AssertionError: 1 != 2

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxml2: Drop docs in native case
Richard Purdie [Fri, 27 Jan 2017 16:57:53 +0000 (16:57 +0000)]
libxml2: Drop docs in native case

With rss, moving these around was having an increasing overhead and we don't
need them in the native case so remove them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Allow removal of stale sysroot objects
Richard Purdie [Fri, 27 Jan 2017 16:55:24 +0000 (16:55 +0000)]
staging: Allow removal of stale sysroot objects

The main sysroot components of unreachable build targets will be removed by the core
code. This currently doesn't trigger a removal in the individual workdirs. This
adds in symlinking between the complete stamps and the component sysroot meaning
we can detect when someting was removed and hence remove it from the sysroot.

This fixes cases where DISTRO_FEATURES like systemd are changed amongst other
things and makes builds more robust against configuration changes.

If a dependency is rebuild, that is caught by checksum comparision code elsewhere
in this function as before.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Drop common prefix WORKDIR from manifest files
Richard Purdie [Fri, 27 Jan 2017 16:53:13 +0000 (16:53 +0000)]
staging: Drop common prefix WORKDIR from manifest files

Manifest files containing the same duplicated prefix are wasteful on space
and ultimately this costs build time. Drop the WORKDIR prefix from the manifest
files since this small change mounts up a lot.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosstate: Allow sstate_clean_manifest to take a prefix
Richard Purdie [Fri, 27 Jan 2017 16:50:57 +0000 (16:50 +0000)]
sstate: Allow sstate_clean_manifest to take a prefix

Manifest files containing the same duplicated prefix are wasteful on space
and ultimately this costs build time. Add support for manifest files with
common prefixes removed and use the prefix if the path isn't absolute.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogzip/pigz/expat/image: Simplify gzip-native/pigz-native
Richard Purdie [Fri, 27 Jan 2017 12:34:40 +0000 (12:34 +0000)]
gzip/pigz/expat/image: Simplify gzip-native/pigz-native

With recipe specific sysroots, the gzip-replacement-native dance/class
is obsolete, simplify the code accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoallarch: Drop STAGING_DIR_HOST expansion
Richard Purdie [Fri, 27 Jan 2017 13:32:06 +0000 (13:32 +0000)]
allarch: Drop STAGING_DIR_HOST expansion

Now that STAGINGDIR_HOST doesn't contain MACHINE, we no longer need to expand
the value. Pre-expansion can mean components like PV can be expanded too early
and cause problems for certain use cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasks
Richard Purdie [Fri, 27 Jan 2017 12:33:39 +0000 (12:33 +0000)]
image/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasks

We used to have issues removing tasks like do_fetch due to implications
for targets like world and universe. These have now been resolved.

Removing uneeded tasks has advantages compared to noexec since it means
that accidentally left in dependencies are no longer needed/processed
(e.g. do_patch depends on quilt-native).

This cleans up a number of cases which local analysis highlighted as
being unneeded leading to slightly cleaner task graphs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/buildstats-diff: simplify timestamp handling
Markus Lehtonen [Wed, 25 Jan 2017 08:12:47 +0000 (10:12 +0200)]
scripts/buildstats-diff: simplify timestamp handling

Simply use floats instead of datetime and timedelta objects for handling
timestamps.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types.bbclass: rebuild .wks file when .wks.in changes
Patrick Ohly [Wed, 25 Jan 2017 11:07:48 +0000 (12:07 +0100)]
image_types.bbclass: rebuild .wks file when .wks.in changes

WKS_FILE(S) can refer to .wks.in files which get expanded during the
build by do_write_wks_template. The actual content of the .wks.in file
gets added to the recipe meta data during parsing, and thus we need to
ensure that the recipe gets re-parsed when the file changes.

This fixes two related problems:
- editing the .wks.in file and rebuilding an image did not recreate
  the image unless something else changed or "bitbake -c clean" was
  used explicitly
- when forcing a rebuild, the cached meta data and the actual one
  do not match, leading to "ERROR: Taskhash mismatch ... for ....bb.do_write_wks_template"

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc-cross: Ensure do_gcc_stash_builddir happens before do_build
Richard Purdie [Sat, 28 Jan 2017 10:13:58 +0000 (10:13 +0000)]
gcc-cross: Ensure do_gcc_stash_builddir happens before do_build

If we don't do this, things break with rm_work which removes things
before the task completes causing task failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity.conf: Update minimum bitbake version requirements to 1.33.0
Richard Purdie [Fri, 27 Jan 2017 10:41:53 +0000 (10:41 +0000)]
sanity.conf: Update minimum bitbake version requirements to 1.33.0

Recipe specific sysroots and mutliconfig need recent versions of bitbake,
look for version 1.33.0 as a minimum

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxserver-xorg: Upgrade 1.19.0 -> 1.19.1
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:22 +0000 (12:42 +0200)]
xserver-xorg: Upgrade 1.19.0 -> 1.19.1

Point release with bug fixes.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-evdev: Upgrade 2.10.4 -> 2.10.5
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:21 +0000 (12:42 +0200)]
xf86-input-evdev: Upgrade 2.10.4 -> 2.10.5

Small release with bug fixes and config improvements.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxpm: Upgrade 3.5.11 -> 3.5.12
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:20 +0000 (12:42 +0200)]
libxpm: Upgrade 3.5.11 -> 3.5.12

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxkbcommon: Upgrade 0.7.0 -> 0.7.1
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:19 +0000 (12:42 +0200)]
libxkbcommon: Upgrade 0.7.0 -> 0.7.1

Small release with bug fixes.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxi: Upgrade 1.7.8 -> 1.7.9
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:18 +0000 (12:42 +0200)]
libxi: Upgrade 1.7.8 -> 1.7.9

Tiny bug fix release.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibinput: Upgrade 1.5.0 -> 1.6.0
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:17 +0000 (12:42 +0200)]
libinput: Upgrade 1.5.0 -> 1.6.0

Bug fixes, new quirks and touchpad acceleration improvements.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibevdev: Upgrade 1.5.4 -> 1.5.6
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:16 +0000 (12:42 +0200)]
libevdev: Upgrade 1.5.4 -> 1.5.6

Only changes in helper tools and a header (to support new keycodes in
linux 4.9 headers).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogtk+3: Upgrade 3.22.5 -> 3.22.7
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:15 +0000 (12:42 +0200)]
gtk+3: Upgrade 3.22.5 -> 3.22.7

Point releases with mostly just bug fixes.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agofreetype: Upgrade 2.7.0 -> 2.7.1
Jussi Kukkonen [Tue, 24 Jan 2017 10:42:14 +0000 (12:42 +0200)]
freetype: Upgrade 2.7.0 -> 2.7.1

Bug fixes and some new features: support for Adobe CFF2 font format
and OpenType 1.8 variation fonts.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssh: upgrade to 7.4p1
Dengke Du [Sun, 22 Jan 2017 07:12:40 +0000 (02:12 -0500)]
openssh: upgrade to 7.4p1

1. Drop CVE patch: fix-CVE-2016-8858.patch, because the version 7.4p1 have
   been fixed it.

2. Rebase the remaining patchs on the version 7.4p1.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpng12: Upgrade 1.2.56 -> 1.2.57
Maxin B. John [Mon, 23 Jan 2017 09:59:00 +0000 (11:59 +0200)]
libpng12: Upgrade 1.2.56 -> 1.2.57

This upgrade fixes the vulnerability: CVE-2016-10087

License file changes are due to updates in Version and Copyright date. ie:
'libpng versions 1.0.7, July 1, 2000, through 1.2.57, December 29, 2016, are
 Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson'

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpng: Upgrade 1.6.26 -> 1.6.28
Maxin B. John [Mon, 23 Jan 2017 09:58:59 +0000 (11:58 +0200)]
libpng: Upgrade 1.6.26 -> 1.6.28

This upgrade fixes the vulnerability: CVE-2016-10087

License file changes are due to updates in Package Version
and Copyright date. ie:
 'libpng version 1.6.28, January 5, 2017'

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosocat: support native compilation
Patrick Ohly [Mon, 23 Jan 2017 14:17:04 +0000 (15:17 +0100)]
socat: support native compilation

This is needed for building the swtpm TPM simulator (recipe
in meta-security).

Native compilation disables tcp-wrappers by default to simplify
the build.

"nativesdk" is added just in case that someone also wants this
in an SDK.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoexpect: support native compilation
Patrick Ohly [Mon, 23 Jan 2017 14:17:03 +0000 (15:17 +0100)]
expect: support native compilation

This is needed for building the swtpm TPM simulator (recipe
in meta-security).

"nativesdk" is added just in case that someone also wants this
in an SDK.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-libc-headers: introduce 4.9 headers
Bruce Ashfield [Thu, 22 Dec 2016 14:49:19 +0000 (09:49 -0500)]
linux-libc-headers: introduce 4.9 headers

Bumping the linux-libc-headers to the 4.9 kernel variant. Since 4.9
will be a LTSI kernel, and there will be an associated linux-yocto
it is worth moving to these headers sooner rather than later.

This commit also drops the 4.8 headers and sets 4.9 to be the default.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoconnman: Add workaround to build with musl & 4.9 headers
Jussi Kukkonen [Mon, 23 Jan 2017 16:00:16 +0000 (18:00 +0200)]
connman: Add workaround to build with musl & 4.9 headers

Kernel headers break when musl defines IFF_LOWER_UP. While
waiting for more proper fix in musl, add a workaround to connman.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotestimage.bbclass: Add systemd test automatically
Mariano Lopez [Mon, 23 Jan 2017 09:01:25 +0000 (09:01 +0000)]
testimage.bbclass: Add systemd test automatically

This adds systemd test automatically when an image
is build with systemd DISTRO_FEATURE

[YOCTO #10935]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-base: disable ivorbis
Ross Burton [Mon, 23 Jan 2017 12:59:50 +0000 (12:59 +0000)]
gstreamer1.0-plugins-base: disable ivorbis

Even old hardware these days doesn't really need fixed-integer Vorbis decoding
by default, so disable Tremor out of the box.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest: sstatetests: skip glibc-initial tests in case of non-glibc distro
Leonardo Sandoval [Mon, 23 Jan 2017 20:41:32 +0000 (14:41 -0600)]
selftest: sstatetests: skip glibc-initial tests in case of non-glibc distro

Some distros uses non-glibc so skip those tests requiring glibc-initial as target

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest/imagefeatures: skip weston test if required features are not present
Leonardo Sandoval [Mon, 23 Jan 2017 20:41:31 +0000 (14:41 -0600)]
selftest/imagefeatures: skip weston test if required features are not present

Also, remove hard-coded features because the image already contains them.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouseradd_base: keep group if it still has users
Ioan-Adrian Ratiu [Mon, 23 Jan 2017 18:09:23 +0000 (20:09 +0200)]
useradd_base: keep group if it still has users

perform_groupdel() tries to delete a group irrespective if other
users have it as their primary group, thus the call to groupdel will
fail with the following error error:

groupdel: cannot remove the primary group of user '<user>'

Add a check to perform_groupdel() to determine if there are other
users and keep the group, printing a warning. This is called right
after a user is deleted to delete it's group. If the last user is
deleted, only then the group is also deleted.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorunqemu: more verbose error message about missing qemuboot.conf
Patrick Ohly [Mon, 23 Jan 2017 11:12:21 +0000 (12:12 +0100)]
runqemu: more verbose error message about missing qemuboot.conf

When invoking "runqemu" with a mistyped image or architecture name,
the resulting error message is about the missing qemuboot.conf,
without any indication about the root cause:

 $ runqemu core-image-mimimal ext4 intel-corei7-64
 runqemu - INFO - Assuming MACHINE = intel-corei7-64
 runqemu - INFO - Running MACHINE=intel-corei7-64 bitbake -e...
 runqemu - INFO - MACHINE: intel-corei7-64
 runqemu - INFO - DEPLOY_DIR_IMAGE: /fast/build/refkit/intel-corei7-64/tmp-glibc/deploy/images/intel-corei7-64
 Traceback (most recent call last):
   File "/work/openembedded-core/scripts/runqemu", line 1095, in <module>
     ret = main()
   File "/work/openembedded-core/scripts/runqemu", line 1082, in main
     config.read_qemuboot()
   File "/work/openembedded-core/scripts/runqemu", line 643, in read_qemuboot
     raise Exception("Failed to find <image>.qemuboot.conf!")
 Exception: Failed to find <image>.qemuboot.conf!

Including the name of the actual file the scripts expects to find plus
adding some hints what to check for might help. The error now is:

 $ runqemu core-image-mimimal ext4 intel-corei7-64
 ...
 Exception: Failed to find <image>.qemuboot.conf = .../tmp-glibc/deploy/images/intel-corei7-64/core-image-mimimal-intel-corei7-64.qemuboot.conf (wrong image name or BSP does not support running under qemu?).

The comment about the BSP is included because that would be the real
reason why the file might be missing.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agouseradd-staticids: Fix groupadd
David Vincent [Mon, 23 Jan 2017 13:55:40 +0000 (14:55 +0100)]
useradd-staticids: Fix groupadd

When a group name is duplicated between USERADD_PARAM and
GROUPADD_PARAM, this class tries to add it twice which results in
failure of the groupadd command.

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotoolchain-scripts: remove CCACHE_PATH from environment script
Joshua Lock [Tue, 24 Jan 2017 11:41:39 +0000 (11:41 +0000)]
toolchain-scripts: remove CCACHE_PATH from environment script

CCACHE_PATH was added to the toolchain-scripts in commit
1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7 without a detailed
explanation as to why. This commit removes that environment
variable as it's causing failures since the introduction of
host_gcc_version() to oe.utils in
d36f41e5658bbbb6080ee833027879c119edf3e0, as used by
uninative to determine NATIVELSBSTRING.

This causes errors when the host has ccache available in in PATH
- host_gcc_version() fails because ccache has been told to only
look for the compiler in CCACHE_PATH and can't find gcc in order
to check its version. Toolchain compilers aren't detected due to
the binaries being prefixed with the triplet of the target.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowipe-sysroot: remove
Ross Burton [Tue, 24 Jan 2017 12:57:19 +0000 (12:57 +0000)]
wipe-sysroot: remove

This script was useful to delete the sysroot so that future builds happen from a
clean sysroot.  Now that recipes have their own sysroot this script doesn't need
to exist anymore, and if in fact if used will break your TMPDIR.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorsync: update SRC_URI
Ross Burton [Tue, 24 Jan 2017 12:29:37 +0000 (12:29 +0000)]
rsync: update SRC_URI

rsync.samba.org has disappeared from the Internet and isn't responding anymore,
so point the SRC_URI at the canonical samba.org download server instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoppp: update SRC_URI
Ross Burton [Tue, 24 Jan 2017 12:29:36 +0000 (12:29 +0000)]
ppp: update SRC_URI

ppp.samba.org has disappeared from the Internet and isn't responding anymore, so
point the SRC_URI at the canonical samba.org download server instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agounfs3: Switch to using mirror tarball instead of subversion
Richard Purdie [Mon, 23 Jan 2017 23:57:27 +0000 (23:57 +0000)]
unfs3: Switch to using mirror tarball instead of subversion

This really is the last subversion url in OE-Core so replacing it with
a mirror tarball will save us from the subversion-native build chain.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools.bbclass: Change acpaths defaults to be a weak assignment
Khem Raj [Mon, 23 Jan 2017 22:39:54 +0000 (14:39 -0800)]
autotools.bbclass: Change acpaths defaults to be a weak assignment

We currently have to override the default setting using a particular
assignment order in the recipe, setting it weakly helps to get rid
of this problem.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging: Handle overlapping files for build-sysroot
Richard Purdie [Thu, 26 Jan 2017 10:06:35 +0000 (10:06 +0000)]
staging: Handle overlapping files for build-sysroot

The use of bb.fatal means build-sysroots fails as soon as multiple gdb's are
built with overlapping files, or multiple recipes with overlapping headers
exist.

Change the fatal call into an exception which we can then trap. Also
avoid trying to call readlink on something with isn't a symlink.

This allows build-sysroots to work better under various scenarios.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage/packagegroup/populate_sdk: Drop do_populate_sysroot task properly
Richard Purdie [Wed, 25 Jan 2017 14:25:02 +0000 (14:25 +0000)]
image/packagegroup/populate_sdk: Drop do_populate_sysroot task properly

Setting do_populate_sysroot as noexec means the code keeps thinking it can find
a manifest file for it. It also complicates sstate installtion since the code
would believe there is an sstate object there it should look for.

Instead, delete the task. This causes sdk failures as the dependencies are wrong
so fix those as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc: Clean up unnecessary variable confusion
Richard Purdie [Wed, 25 Jan 2017 00:04:53 +0000 (00:04 +0000)]
gcc: Clean up unnecessary variable confusion

SDKPKGSUFFIX could only really be "nativesdk" and TARGET_SYS never contains
that so the code manipulating TARGET_SYS is pointless. I suspect this once
worked against MULTIMACH_TARGET_SYS which would be a different question but
it no longer does. Its been cut and pasted everywhere.

This patch cleans up the variable references to make things a little more
readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc/gcc-source: Move libcc1 manipulation into gcc-source
Richard Purdie [Tue, 24 Jan 2017 23:52:06 +0000 (23:52 +0000)]
gcc/gcc-source: Move libcc1 manipulation into gcc-source

Currently there is a race where if you build -cross-canadian without building gcc (target)
you see QA errors about RPATHS. I've tracked this down to this manipulation where the
target gcc recipe changes libcc1 in the shared sources directory. As long as you build
things in the right order, the problem doesn't occur.

Since its changing ${S} move it to gcc-source and avoid the race, saving RP
some head scratching about why unrelated changes failed to build cleanly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc: Split builddir saving into its own sstate task
Richard Purdie [Tue, 24 Jan 2017 13:18:12 +0000 (13:18 +0000)]
gcc: Split builddir saving into its own sstate task

When we stashed the gcc build directory for use in generating the various runtimes
we were being lazy and just used the staging directory. With recipe specific
sysroots this means we're copying a large chunk of data around with the cross
compiler which we don't really need in most cases.

Separate out the data into its own task and inject this into the configure
step. We have to do that here since autotools will wipe out ${B} if it thinks
we're rebuilding and we therefore have to time its recreation after that.

This also takes the opportunity to remove some pointless (as far as I can tell)
conditionals from the do_install code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocross: Update MULTIMACH_TARGET_SYS to reflect modern recipes
Richard Purdie [Wed, 25 Jan 2017 13:19:16 +0000 (13:19 +0000)]
cross: Update MULTIMACH_TARGET_SYS to reflect modern recipes

Mixing PACKAGE_ARCH with BUILD_* has always seemed somewhat odd. This
comes into play when building different SDKMACHINES as the PN space
for the recipes did once overlap. With the modern build process we
use, this overlap is a thing of the past since PN has SDK_SYS appended
to it.

cross.bbclass sets PACKAGE_ARCH == BUILD_ARCH so this change only affects
crosssdk.bbclass where PACKAGE_ARCH == SDK_ARCH.

The current structure is quite confusing and this removes this artefact
of history, allowing other gcc cleanups rather than meaning we futher
complicate the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agostaging/allarch: Remove hardcoded PACKAGE_ARCHS from the class
Richard Purdie [Tue, 24 Jan 2017 17:48:09 +0000 (17:48 +0000)]
staging/allarch: Remove hardcoded PACKAGE_ARCHS from the class

The code was making an assumption that the only PACKAGE_ARCH in use
was TUNE_PKGARCH. This is incorrect so iterate over the list from
PACKAGE_EXTRA_ARCH instead.

We also need to change allarch to preserve this variable, else the
staging code doesn't function. We do this in a way which clears the
variable history so that the task hashes remain unaffected.

[Thanks to Andrew Goodbody <andrew.goodbody@cambrionix.com> for
testing/fixing]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Mon, 23 Jan 2017 23:32:15 +0000 (23:32 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoclasses/oeqa: Replace subprocess.check_call() with check_output()
Richard Purdie [Mon, 23 Jan 2017 17:43:40 +0000 (17:43 +0000)]
classes/oeqa: Replace subprocess.check_call() with check_output()

If you use subprocess.check_output() the traceback will contain the output
when the command fails which is very useful for debugging. There is no
good reason not to use this everywhere.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity/abi-version: Force a clean TMPDIR after recipe specific sysroot changes
Richard Purdie [Mon, 23 Jan 2017 23:25:44 +0000 (23:25 +0000)]
sanity/abi-version: Force a clean TMPDIR after recipe specific sysroot changes

With the recipe specific sysroots, we need a clean tmpdir, else pseudo-native,
openssl-native, subversion-native and serf-native need to be manually cleaned.
After these there are probably more places where software doesn't rebuild correctly
even if we pass in new parameters to it.

The simplest solution is to force people to start from a clean TMPDIR since
everything would rebuild anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogobject-introspection: Fix sysroot postinst scripting error
Richard Purdie [Mon, 23 Jan 2017 23:20:29 +0000 (23:20 +0000)]
gobject-introspection: Fix sysroot postinst scripting error

Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste
error when writing this code. As long as the directory existed, the builds worked
so it created a race. Fix it as people hit build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoed: use yoctoproject mirror for SRC_URI
Ross Burton [Mon, 23 Jan 2017 16:20:45 +0000 (16:20 +0000)]
ed: use yoctoproject mirror for SRC_URI

Upstream has removed a number of releases from the canonical download site,
including the 1.9 release we were using.

We shoud upgrade to the latest release but as new releases are only compressed
using lzip that means adding lzip-native to oe-core, so this is a suitable
short-term fix.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotremor: Use mirror tarball instead of svn url
Richard Purdie [Mon, 23 Jan 2017 12:56:19 +0000 (12:56 +0000)]
tremor: Use mirror tarball instead of svn url

This is the only remaining svn url in OE-Core and building subversion-native
for things like the url checker is wearing and slows down builds. Since
this rarely changes, use the mirror tarball instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobusybox: Guard against interrupted compiles
Richard Purdie [Mon, 23 Jan 2017 11:44:29 +0000 (11:44 +0000)]
busybox: Guard against interrupted compiles

If busybox is interrupted during do_compile, it can corrupt .config with
the suid version, or worse. Typically this leads to files disappearing,
particularly /etc/init.d/* which leads to an empty busybox-hwclock.
That then results in errors at do_rootfs time due to the missing package.

The fix is to use any 'orig' present to restore stat at the start of
compile.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-fitimage: Use compressed ramdisks in FIT images if available
Rick Altherr [Fri, 20 Jan 2017 19:28:53 +0000 (11:28 -0800)]
kernel-fitimage: Use compressed ramdisks in FIT images if available

kernel-fitimage:fitimage_assemble() was calling copy_initramfs from
kernel.bbclass which decompresses the initramfs cpio.  Assume that if
INITRAMFS_FSTYPES includes a compressed cpio, that is what it desired in
the FIT image.

Signed-off-by: Rick Altherr <raltherr@google.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.9: merge 4.9.3 and ethernet config changes
Bruce Ashfield [Tue, 17 Jan 2017 19:45:15 +0000 (14:45 -0500)]
linux-yocto/4.9: merge 4.9.3 and ethernet config changes

Merging the following meta-data changes:

 03a2d3f7f999 Add support for NVMe storage devices
 27a79fa51d44 Modularize PCI/PCIe ethernet drivers
 53d2a7d9c9f8 Modularize USB network drivers

And the 4.9.3 -stable update, which has the following shortlog:

   584fd7872c1b Linux 4.9.3
   3999c535da7a usb: gadget: composite: always set ep->mult to a sensible value
   7ff469ceba26 Revert "usb: gadget: composite: always set ep->mult to a sensible value"
   ec3d5c521af8 Revert "rtlwifi: Fix enter/exit power_save"
   cf365b117388 tick/broadcast: Prevent NULL pointer dereference
   34db201f0de7 clocksource/dummy_timer: Move hotplug callback after the real timers
   1b9c2556809a xfs: fix max_retries _show and _store functions
   91192ae41e6f xfs: fix crash and data corruption due to removal of busy COW extents
   b96e4e87d2b0 xfs: use the actual AG length when reserving blocks
   d9c7c9fa600a xfs: fix double-cleanup when CUI recovery fails
   aa38f370b25a xfs: use GPF_NOFS when allocating btree cursors
   3c382dda47e4 xfs: ignore leaf attr ichdr.count in verifier during log replay
   c00203386d50 xfs: don't cap maximum dedupe request length
   f8b20705a383 xfs: don't allow di_size with high bit set
   12815dd15c48 xfs: error out if trying to add attrs and anextents > 0
   cd4bf1d416ef xfs: don't crash if reading a directory results in an unexpected hole
   b88398de1833 xfs: complain if we don't get nextents bmap records
   4bb31bccea38 xfs: check for bogus values in btree block headers
   b85f32481d93 xfs: forbid AG btrees with level == 0
   4081d4a79a95 xfs: handle cow fork in xfs_bmap_trace_exlist
   a585e1c4ec93 xfs: pass state not whichfork to trace_xfs_extlist
   bdbfd4ee6bc7 xfs: Move AGI buffer type setting to xfs_read_agi
   06ac11df915d xfs: pass post-eof speculative prealloc blocks to bmapi
   553937d3cce8 xfs: use new extent lookup helpers xfs_file_iomap_begin_delay
   3d6e3b12bb4e xfs: clean up cow fork reservation and tag inodes correctly
   4a323331d8c9 xfs: use new extent lookup helpers in __xfs_reflink_reserve_cow
   cf168f2ff8ba xfs: track preallocation separately in xfs_bmapi_reserve_delalloc()
   cf4fb510473b xfs: remove prev argument to xfs_bmapi_reserve_delalloc
   390325766033 xfs: always succeed when deduping zero bytes
   2b7dae91a134 xfs: factor rmap btree size into the indlen calculations
   49dc19915d3b xfs: new inode extent list lookup helpers
   b49ef758f600 xfs: fix unbalanced inode reclaim flush locking
   63fa793e757d xfs: check minimum block size for CRC filesystems
   f380ee72a7a4 xfs: provide helper for counting extents from if_bytes
   3978c5bb0043 xfs: don't BUG() on mixed direct and mapped I/O
   2f092422e1ce xfs: don't skip cow forks w/ delalloc blocks in cowblocks scan
   a11f90ca5f30 xfs: check return value of _trans_reserve_quota_nblks
   ae8b6cb40cb2 xfs: don't call xfs_sb_quota_from_disk twice
   56d22b912542 tpm_tis: Check return values from get_burstcount.
   4ffac6f06dfa drm/i915/gen9: fix the WM memory bandwidth WA for Y tiling cases
   f482823e99f0 drm/i915/gen9: unconditionally apply the memory bandwidth WA
   2bdb638de2fc drm/i915: disable PSR by default on HSW/BDW
   9ab30a6529b5 drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values
   5417f59cb996 s390/pci: fix dma address calculation in map_sg
   dae9151a88f7 s390/topology: always use s390 specific sched_domain_topology_level
   b3539f813578 powerpc/pci/rpadlpar: Fix device reference leaks
   1aaa777ec009 PCI: Enable access to non-standard VPD for Chelsio devices (cxgb3)
   c444cc34534b PCI: Support INTx masking on ConnectX-4 with firmware x.14.1100+
   e2822904ace5 PCI: Convert Mellanox broken INTx quirks to be for listed devices only
   890661544739 PCI: Convert broken INTx masking quirks from HEADER to FINAL
   04b97a6be2ed PCI: Add Mellanox device IDs
   090cce6f6f88 PCI: rockchip: Correct the use of FTS mask
   6e4bcf8539af PCI: rockchip: Fix negotiated lanes calculation
   257349bedca3 staging: media: davinci_vpfe: unlock on error in vpfe_reqbufs()
   a299abd23081 f2fs: hide a maybe-uninitialized warning
   725ba1a3ebc4 f2fs: remove percpu_count due to performance regression
   5cc85ef4ffe6 md: fix refcount problem on mddev when stopping array.
   60a931c20d1a md: MD_RECOVERY_NEEDED is set for mddev->recovery
   d33a490770e5 crypto: arm64/aes-ce - fix for big endian
   eb64cbc5665d crypto: arm64/aes-xts-ce: fix for big endian
   c3edfe038a75 crypto: arm64/sha1-ce - fix for big endian
   39b7e1c2fdda crypto: arm64/aes-neon - fix for big endian
   d018dc9540f7 crypto: arm64/aes-ccm-ce: fix for big endian
   e6ce55f7be90 crypto: arm/aes-ce - fix for big endian
   a7c9666735f4 crypto: arm64/ghash-ce - fix for big endian
   cdeaed7dda7b crypto: arm64/sha2-ce - fix for big endian
   a05aa258b237 s390/crypto: unlock on error in prng_tdes_read()
   5d7d362abc40 mm, compaction: fix NR_ISOLATED_* stats for pfn based migration
   dc1b6d0aed97 mm: khugepaged: fix radix tree node leak in shmem collapse error path
   058a4a534c23 mm: khugepaged: close use-after-free race during shmem collapsing
   cd6d9ffffc4c docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+
   66c677037936 mm/hugetlb.c: use the right pte val for compare in hugetlb_cow
   17df3e74fb51 rpmsg: qcom_smd: Correct return value for O_NONBLOCK
   1d8286ccbcc6 mmc: mmc_test: Uninitialized return value
   74e365e69687 genirq/affinity: Fix node generation from cpumask
   65f796837e00 PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend
   3b198ddd5855 irqchip/bcm7038-l1: Implement irq_cpu_offline() callback
   5cbea795f4d1 PCI/MSI: Check for NULL affinity mask in pci_irq_get_affinity()
   825e6a0f7c51 ima: fix memory leak in ima_release_policy
   c4c11b4bdbf6 relay: check array offset before using it
   3dd50a5e2be9 sbp-target: Fix second argument of percpu_ida_alloc()
   0e79a6b45677 target/iscsi: Fix double free in lio_target_tiqn_addtpg()
   962a12f8e523 scsi: mvsas: fix command_active typo
   5157e98aa024 scsi: g_NCR5380: Fix release_region in error handling
   d451b3cc89c7 ASoC: samsung: i2s: Fixup last IRQ unsafe spin lock call
   574bac4f4022 ASoC: Intel: Skylake: Fix a shift wrapping bug
   d61a969f0e94 ASoC: cht_bsw_rt5645: Fix leftover kmalloc
   311742c40da9 ASoC: lpass-platform: initialize dma channel number
   afd7e2b4258a iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped
   ef41459ab279 iommu/vt-d: Fix pasid table size encoding
   2148835de3c2 iommu/amd: Fix the left value check of cmd buffer
   48ffae87e913 iommu/amd: Missing error code in amd_iommu_init_device()
   54eed7ab1367 clk: renesas: mstp: Support 8-bit registers for r7s72100
   5dd700e897e4 clk: imx31: fix rewritten input argument of mx31_clocks_init()
   6c9f62846872 clk: sunxi-ng: sun8i-h3: Set CLK_SET_RATE_PARENT for audio module clocks
   36a6f7005f38 clk: sunxi-ng: sun8i-a23: Set CLK_SET_RATE_PARENT for audio module clocks
   7af503c02b33 clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message
   411873a0390e clk: clk-wm831x: fix a logic error
   e3b665ef4110 clk: qcom: ipq806x: Fix board clk rates
   447433e5f804 Input: synaptics-rmi4 - unlock on error
   584cb7dd15a3 hwmon: (lm90) fix temp1_max_alarm attribute
   2aca9a4fe104 hwmon: (g762) Fix overflows and crash seen when writing limit attributes
   81616a9f751e hwmon: (nct7802) Fix overflows seen when writing into limit attributes
   a69a6ebd036a hwmon: (ds620) Fix overflows seen when writing temperature limits
   29e7b170db90 hwmon: (amc6821) sign extension temperature
   af3cd3f0a805 hwmon: (scpi) Fix module autoload
   7a13086bd457 platform/x86: fujitsu-laptop: use brightness_set_blocking for LED-setting callbacks
   36c1bc65d211 x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
   bedcab8723ce x86/prctl/uapi: Remove #ifdef for CHECKPOINT_RESTORE
   e641c92fd2ae debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS
   629138cd28be clk: renesas: cpg-mssr: Fix inverted debug check
   47e3472507f0 efi/efivar_ssdt_load: Don't return success on allocation failure
   4e1dfb0035e1 cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected
   15e0355a1ec5 ath10k: use the right length of "background"
   ac86312e0870 mfd: tps65217: Fix page fault on unloading modules
   a24f1f3520e6 ath10k: fix failure to send NULL func frame for 10.4
   45816391e1a5 nl80211: Use different attrs for BSSID and random MAC addr in scan req
   cd84516473a7 mac80211: fix tid_agg_rx NULL dereference
   1d9c33f1b45c drm/i915: tune down the fast link training vs boot fail
   8b4879154a67 drm/i915/dp: add lane_count check in intel_dp_check_link_status
   5af6f56bb16c usb: dwc3: gadget: always unmap EP0 requests
   c008309f53e5 usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
   5f7fd4d2f94d usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
   96a0c8ee7ce6 iio: accel: st_accel: fix LIS3LV02 reading and scaling
   a673f99884e3 staging: iio: ad7606: fix improper setting of oversampling pins
   fc322290fc06 mei: move write cb to completion on credentials failures
   5d46c4e9a05e mei: bus: fix mei_cldev_enable KDoc
   af776953108b mei: fix parameter rename KDoc
   c1ec6ba3d7c7 USB: serial: io_ti: bind to interface after fw download
   fb0a00fb0843 dibusb: fix possible memory leak in dibusb_rc_query()
   5f6136debf7e ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
   5ef54ae37b13 arm64: dts: hip06: Correct hardware pin number of usb node
   93f6891a383f USB: phy: am335x-control: fix device and of_node leaks
   d387f98cb0c1 ARM: dts: r8a7794: Correct hsusb parent clock
   a10a1b797a0f usb: gadget: fix request length error for isoc transfer
   b429e37b80fd usb: gadget: Fix second argument of percpu_ida_alloc()
   8da83724d491 USB: serial: kl5kusb105: abort on open exception path
   e7c72dccd725 ALSA: usb-audio: Fix bogus error return in snd_usb_create_stream()
   2eb09ccfa45b usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
   64244edf304b usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
   8ecf70fb0889 usb: hub: Move hub_port_disable() to fix warning if PM is disabled
   d7550d7d6ae2 usb: musb: Fix trying to free already-free IRQ 4
   5e3c2920e9f2 usb: dwc3: gadget: Fix full speed mode
   81f1f24d1873 usb: dwc3: pci: Fix dr_mode misspelling
   6af3ba285acb usb: dwc3: pci: add Intel Gemini Lake PCI ID
   63d92d10a820 xhci: Fix race related to abort operation
   799dfdeb33a0 xhci: Use delayed_work instead of timer for command timeout
   6db52153fea3 usb: xhci-mem: use passed in GFP flags instead of GFP_KERNEL
   1bd67e85edf1 USB: serial: mos7720: fix parallel probe
   6ea44fb2183c USB: serial: mos7720: fix parport use-after-free on probe errors
   e7cf756c8932 USB: serial: mos7720: fix use-after-free on probe errors
   ac81f1fa956f USB: serial: mos7720: fix NULL-deref at open
   bd52ddb0996a USB: serial: mos7840: fix NULL-deref at open
   9de856caff86 USB: serial: kobil_sct: fix NULL-deref in write
   b2aa55142ea5 USB: serial: cyberjack: fix NULL-deref at open
   4de811c61ac5 USB: serial: oti6858: fix NULL-deref at open
   65914eeb39f4 USB: serial: io_edgeport: fix NULL-deref at open
   2e5167b239e6 USB: serial: ti_usb_3410_5052: fix NULL-deref at open
   0556702bf34e USB: serial: garmin_gps: fix memory leak on failed URB submit
   9401cc62b7f5 USB: serial: iuu_phoenix: fix NULL-deref at open
   69017618a61e USB: serial: io_ti: fix I/O after disconnect
   a66274a9b2f4 USB: serial: io_ti: fix another NULL-deref at open
   32631d1a739f USB: serial: io_ti: fix NULL-deref at open
   b5264ea24484 USB: serial: spcp8x5: fix NULL-deref at open
   dda7611ec4a5 USB: serial: keyspan_pda: verify endpoints at probe
   69c415ed5c98 USB: serial: pl2303: fix NULL-deref at open
   2a4ae7bc3d8d USB: serial: quatech2: fix sleep-while-atomic in close
   6ae3e89aa6b1 USB: serial: omninet: fix NULL-derefs at open and disconnect
   9acba5179d6c usb: return error code when platform_get_irq fails
   cb02cce9a7f8 usb: xhci: hold lock over xhci_abort_cmd_ring()
   9e6c400bb582 xhci: Handle command completion and timeout race
   78ccc1966c9e usb: host: xhci: Fix possible wild pointer when handling abort command
   a2118d097409 usb: xhci: fix return value of xhci_setup_device()
   3bf5e7410178 xhci: free xhci virtual devices with leaf nodes first
   40359f915694 usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
   9da8e3e48e88 usb: xhci: fix possible wild pointer
   9bdd47c53b7c usb: dwc3: core: avoid Overflow events
   2b95c939cb88 usb: gadget: composite: Test get_alt() presence instead of set_alt()
   735daeec9e60 USB: dummy-hcd: fix bug in stop_activity (handle ep0)
   05b0f2fc3c2f USB: fix problems with duplicate endpoint addresses
   da4543b3bce0 USB: gadgetfs: fix checks of wTotalLength in config descriptors
   46427c247b62 USB: gadgetfs: fix use-after-free bug
   b946777664db USB: gadgetfs: fix unbounded memory allocation bug
   404954e5b8a6 usb: gadgetfs: restrict upper bound on device configuration size
   72271ae49d6b usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
   4a37dbe68289 usb: musb: dsps: implement clear_ep_rxintr() callback
   5de2dd7f1be1 usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
   84fd8feb5bb5 KVM: MIPS: Flush KVM entry code from icache globally
   26a401a6a52f KVM: MIPS: Don't clobber CP0_Status.UX
   f39969ab0418 KVM: x86: reset MMU on KVM_SET_VCPU_EVENTS
   fe4fc2d67d0b drm/i915: Initialize overlay->last_flip properly
   f0f7f38e8068 drm/i915: Force VDD off on the new power seqeuencer before starting to use it
   73d425635989 drm/i915: Fix oops in overlay due to frontbuffer tracking
   5652dd3f005d drm/i915: Fix oopses in the overlay code due to i915_gem_active stuff
   8f8157c2a72a gcc-plugins: update gcc-common.h for gcc-7
   8c775affbbd6 asm-prototypes: Clear any CPP defines before declaring the functions
   5e7598a625ee mac80211: initialize fast-xmit 'info' later
   3c4eef316703 pinctrl/amd: Set the level based on ACPI tables
   c7b1b7951d9d ARM: davinci: da850: don't add emac clock to lookup table twice
   5f390df2baf7 HID: sensor-hub: Move the memset to sensor_hub_get_feature()
   0c8033357b1d parisc: Mark cr16 clocksource unstable on SMP systems
   e569eef6298a parisc: Add line-break when printing segfault info
   d259b6853732 fscrypt: fix renaming and linking special files
   be4e3aec5667 ALSA: usb-audio: Fix irq/process data synchronization
   5b2c3cafcafc ALSA: hda - Apply asus-mode8 fixup to ASUS X71SL
   71c88fc3bde7 ALSA: hda - Fix up GPIO for ASUS ROG Ranger
   755259ba2a3a staging: octeon: Call SET_NETDEV_DEV()
   ea991c8354c3 iio: bmi160: Fix time needed to sleep after command execution
   7090b8da3836 iio: max44000: correct value in illuminance_integration_time_available
   cf49219364fd iio: common: st_sensors: fix channel data parsing

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.8: update to -rt10
Bruce Ashfield [Fri, 13 Jan 2017 21:06:05 +0000 (16:06 -0500)]
linux-yocto/4.8: update to -rt10

Paul Gortmaker has updated 4.8 to the latest -rt release. This
integrates those changes to standard/preempt-rt/*. As usual the
branches are kept fast forward, and a clean copy of the patches
can be found on standard/preempt-rt/rebase.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: update to v4.1.37
Bruce Ashfield [Mon, 9 Jan 2017 16:11:39 +0000 (11:11 -0500)]
linux-yocto/4.1: update to v4.1.37

Integrating the -stable release. Changes are as follows:

   35327468a79d Linux 4.1.37
   c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
   016d02981cce tipc: check minimum bearer MTU
   efcf38bd4020 net: ping: check minimum size on ICMP header length
   e29fdf045048 packet: fix race condition in packet_set_ring
   fabaaaa96d54 net: add recursion limit to GRO
   7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback
   74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids
   8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()
   1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts
   62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions
   de42b9559d0c fs: Avoid premature clearing of capabilities
   cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode
   2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+
   820bc4582ab9 fuse: Propagate dentry down to inode_change_ok()
   89bc54c54027 xfs: Propagate dentry down to inode_change_ok()
   1b364dc9edba xattr: Option to disable meta-data block cache
   9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue()
   ebdb88b8e465 x86/kexec: add -fno-PIE
   672612a21845 scripts/has-stack-protector: add -fno-PIE
   e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines
   eec746939372 ARM: 8617/1: dma: fix dma_max_pfn()
   58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable
   d427d645ccf9 can: dev: fix deadlock reported after bus-off
   791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work
   6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl
   e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock
   b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN
   7298a8bf4c63 bus: arm-ccn: Provide required event arguments

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>