]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agorecipes: Make use of the new bb.utils.filter() function
Peter Kjellerstedt [Mon, 27 Feb 2017 13:02:50 +0000 (14:02 +0100)]
recipes: Make use of the new bb.utils.filter() function

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosanity: Require bitbake 1.33.2
Richard Purdie [Fri, 24 Feb 2017 21:18:01 +0000 (13:18 -0800)]
sanity: Require bitbake 1.33.2

We want to update to a version with the bb.utils.filter() function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel, license, sstate, rootfs.py: Remove deploy directory README
Mike Crowe [Tue, 14 Feb 2017 14:20:02 +0000 (14:20 +0000)]
kernel, license, sstate, rootfs.py: Remove deploy directory README

It isn't clear that the README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file in the deploy directory warrants the complexity it brings elsewhere.
Let's just remove it entirely.

In particular, if two do_image_complete tasks run in parallel they risk
both trying to put their image into ${DEPLOY_DIR_IMAGE} at the same time.
Both will contain a README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
file. In theory this should be safe because "cp -alf" will just cause one
to overwrite the other. Unfortunately, coreutils cp also has a race[1]
which means that if one copy creates the file at just the wrong point the
other will fail with:

 cp: cannot create hard link ‘..../tmp-glibc/deploy/images/pantera/README_-_DO_NOT_DELETE_FILES_IN_THIS_D.txt’ to
+‘..../tmp-glibc/work/rage_against-oe-linux-gnueabi/my-own-image/1.0-r0/deploy-my-own-image-complete/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt’: File exists

[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25680

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoovmf: increase path length limit
Patrick Ohly [Thu, 23 Feb 2017 17:38:55 +0000 (18:38 +0100)]
ovmf: increase path length limit

The VfrCompile tool has a hard-coded maximum length for path names
which turned out to be too small by around 20 characters in the
Yocto autobuilder setup. Increasing the maximum by a factor of 4
is relatively easy and makes the problem less likely.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf: remove BGRT patch
Patrick Ohly [Tue, 10 Jan 2017 15:40:57 +0000 (16:40 +0100)]
ovmf: remove BGRT patch

This patch was added to meta-luv for kernel testing purposes and
probably is not relevant for OE-core.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf: build image which enrolls standard keys
Patrick Ohly [Wed, 21 Dec 2016 08:18:05 +0000 (09:18 +0100)]
ovmf: build image which enrolls standard keys

When booting a qemu virtual machine with ovmf.secboot, it comes up
with no keys installed and thus Secure Boot disabled. To lock down
the machine like a typical PC, one has to enroll the same keys
that PC vendors normally install, i.e. the ones from Microsoft.

This can be done manually (see
https://wiki.ubuntu.com/SecurityTeam/SecureBoot and
https://github.com/tianocore-docs/Docs/raw/master/White_Papers/A_Tour_Beyond_BIOS_into_UEFI_Secure_Boot_White_Paper.pdf) or automatically with the EnrollDefaultKeys.efi helper
from the Fedora ovmf rpm.

To use this with qemu:
$ bitbake ovmf-shell-image
...
$ runqemu serial nographic qemux86 ovmf-shell-image wic ovmf.secboot
...
UEFI Interactive Shell v2.1
EDK II
UEFI v2.60 (EDK II, 0x00010000)
Mapping table
      FS0: Alias(s):HD2b:;BLK4:
          PciRoot(0x0)/Pci(0x5,0x0)/HD(1,GPT,06AEF759-3982-4AF6-B517-70BA6304FC1C,0x800,0x566C)
     BLK0: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x0)
     BLK1: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x0)/Floppy(0x1)
     BLK2: Alias(s):
          PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0)
     BLK3: Alias(s):
          PciRoot(0x0)/Pci(0x5,0x0)

Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell> fs0:EnrollDefaultKeys.efi
info: SetupMode=1 SecureBoot=0 SecureBootEnable=0 CustomMode=0 VendorKeys=1
info: SetupMode=0 SecureBoot=1 SecureBootEnable=1 CustomMode=0 VendorKeys=0
info: success
Shell> reset

Remember that this will modify
deploy/images/qemux86/ovmf.secboot.qcow2, so make a copy and use the
full path of that copy instead of the "ovmf" argument if needed.

The ovmf-shell-image contains an EFI shell, which is what got started
here directly. After enrolling the keys, Secure Boot is active and the
same image cannot be booted anymore, so the BIOS goes through the
normal boot targets (including network boot, which can take a while to
time out), and ends up in the internal EFI shell. Trying to invoke
bootia32.efi (the shell from the image) or EnrollDefaultKeys.efi then
fails:
Shell> bootia32.efi
Command Error Status: Security Violation

The main purpose at the moment is to test that Secure Boot enforcement
really works. If we had a way to sign generated images, that part could
also be tested by booting in a locked down qemu instance.

0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch is
from
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch?id=b1781931894bf2057464e634beed68b1e3218c9e
with one line changed to fix
https://bugzilla.redhat.com/show_bug.cgi?id=132502:
"EFI_STATUS Status = EFI_SUCCESS;" in EnrollListOfX509Certs() lacked
the initializer.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agorunqemu: support UEFI with OVMF firmware
Patrick Ohly [Fri, 16 Dec 2016 14:18:12 +0000 (15:18 +0100)]
runqemu: support UEFI with OVMF firmware

In the simplest case, "runqemu qemux86 <some-image> qcow2 ovmf" for an
EFI-enabled image in the qcow2 format will locate the ovmf.qcow2
firmware file deployed by the ovmf recipe in the image deploy
directory, override the graphics hardware with "-vga std" because that
is all that OVMF supports, and boot with UEFI enabled.

ovmf is not built by default. Either do it explicitly ("bitbake ovmf")
or make it a part of the normal build
("MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = ' ovmf'").

The firmware file is activated as a flash drive instead of using the
qemu BIOS parameters, because that is the recommended method
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764918#47) as it
allows storing UEFI variables in the file.

Instead of just "ovmf", a full path to an existing file can also be
used, just as with the rootfs. That may be useful when making a
permanent copy of the virtual machine data files.

It is possible to specify "ovmf*" parameters more than once, then
each parameter creates a separate flash drive. This way it is possible
to use separate flash drives for firmware code and variables:
$ runqemu qemux86 <some-image> qcow2 ovmf.code ovmf.vars"

Note that rebuilding ovmf will overwrite the ovmf.vars.qcow2 file in
the image deploy directory. So when the goal is to update the firmware
while keeping variables, make a copy of the variable file and use
that:
$ mkdir my-machine
$ cp tmp/deploy/images/qemux86/ovmf.vars.qcow2 my-machine/
$ runqemu qemux86 <some-image> qcow2 ovmf.code my-machine/ovmf.vars.qcow2

When Secure Boot was enabled in ovmf, one can pick that instead of
the non-Secure-Boot enabled ovmf.code:
$ runqemu qemux86 <some-image> qcow2 ovmf.secboot.code my-machine/ovmf.vars.qcow2

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agorunqemu: also accept -image suffix for rootfs parameter
Patrick Ohly [Tue, 10 Jan 2017 11:11:21 +0000 (12:11 +0100)]
runqemu: also accept -image suffix for rootfs parameter

The magic detection of the rootfs parameter only worked for image
recipes which embedd the "image" string in the middle, as in
"core-image-minimal".

Sometimes it is more natural to call an image "something-image". To
get such an image detected by runqemu, "-image" at the end of a
parameter must also cause that parameter to be treated as the rootfs
parameter.

Inside the image directory, "something-image" has an -<arch> suffix
and thus no change is needed for those usages of
re.search('-image-'). However, while at it also enhance those string
searches a bit (no need for re; any()+map() a bit closer to the
intended logic).

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agorunqemu: fix undefined variable reference in check_arg_path()
Patrick Ohly [Tue, 10 Jan 2017 11:46:58 +0000 (12:46 +0100)]
runqemu: fix undefined variable reference in check_arg_path()

'arg' isn't defined, the right name there is 'p'.

This fixes a rather obscure error message when that code path
ends up being taken:

$ runqemu some/existing-file-name
runqemu - ERROR - name 'arg' is not defined
runqemu - ERROR - Try 'runqemu help' on how to use it

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf_git.bb: enable Secure Boot
Patrick Ohly [Tue, 20 Dec 2016 07:47:21 +0000 (08:47 +0100)]
ovmf_git.bb: enable Secure Boot

When enabled via PACCKAGECONFIG = "secureboot" (off by default because
of the extra work and license change), the recipe compiles OVMF twice,
once without Secure Boot, once with. This is the same approach as in
https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec

The results are "ovmf.qcow2" and "ovmf.secboot.qcow2" in the
image deploy directory, so
  runqemu <machine> <image> ovmf.secboot
will boot with Secure Boot enabled.

ovmf.secboot.code.qcow2 is provided for those who want separate code
and variable flash drives. The normal ovmf.vars.qcow2 can be used with
it.

In contrast to Fedora, no attempt is made to strip potentially patent
encumbered algorithms out of the OpenSSL archive. OVMF does not use
the ones considered problematic for Fedora, so this shouldn't be a
problem.

Fixes: luv-yocto/#38
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf_git.bb: enable parallel compilation
Patrick Ohly [Mon, 19 Dec 2016 16:02:43 +0000 (17:02 +0100)]
ovmf_git.bb: enable parallel compilation

The Fedora srpm [1] seems to have no problems with parallel
compilation, so let's also use that for the target. The native
tools however indeed have dependency problems:

| test_Ecc_CParser (CheckPythonSyntax.Tests) ... gcc -o ../bin/EfiRom -L/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/usr/lib -L/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-rpath,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/fast/build/ostro/x86/tmp-glibc/sysroots/x86_64-linux/lib -Wl,-O1 EfiRom.o -L../libs -lCommon
| /usr/bin/ld: cannot find -lCommon
| collect2: error: ld returned 1 exit status

ERROR: Task (virtual:native:.../meta/recipes-core/ovmf/ovmf_git.bb:do_compile) failed with exit code '1'

[1] https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf: deploy firmware in image directory
Patrick Ohly [Fri, 16 Dec 2016 14:07:29 +0000 (15:07 +0100)]
ovmf: deploy firmware in image directory

When used with '-drive if=pflash', qemu will store UEFI variables
inside the firmware image file. That is unexpected for a file located in
the sysroot, which should be read-only, while it is normal for image
files in the deploy/images directory. Therefore that directory is a
better place for use with runqemu.

The name was chose so that "runqemu ovmf" can be used as shorthand for
"runqemu <full path>/ovmf.qcow2" by treating "ovmf" as the base name
of the firmware file. "ovmf.secboot.qcow2" is meant to be used for the
Secure Boot enabled firmware.

qcow2 is used because it is needed for "savevm" snapshots of a virtual
machine.

With code and variables stored in the same ovmf.qcow2 it is not
possible to update the firmware code without also overwriting the
variables. For users who care about persistent variables, the code and
variables are also provided as separate files, in ovmf.code.qcow2 and
ovmf.vars.qcow2.

The traditional usage of OVMF via the qemu bios parameter ("biosdir"
and/or "biosfilename" in runqemu) is no longer recommended, and
therefore this recipe no longer provides the bios.bin file. Instead,
OVMF is meant to be used as flash drive in qemu. See the "runqemu:
support UEFI with OVMF firmware" patch for details on how to use OVMF
that way.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf: explicitly depend on nasm-native
Patrick Ohly [Fri, 16 Dec 2016 09:19:31 +0000 (10:19 +0100)]
ovmf: explicitly depend on nasm-native

Fixes a build issue when nasm was not build already because of
something else.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoovmf: move from meta-luv to OE-core
meta-luv [Tue, 6 Dec 2016 15:21:17 +0000 (16:21 +0100)]
ovmf: move from meta-luv to OE-core

This is an unmodified copy of
github.com/01org/luv-yocto/meta-luv/recipes-core/ovmf revision
4be4329.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoacpica: fix compilation with musl
Patrick Ohly [Thu, 23 Feb 2017 17:48:50 +0000 (18:48 +0100)]
acpica: fix compilation with musl

Manipulating stderr after freopen() fails as done by upstream
does not work with musl. The replacement is Unix specific
and uses open()/dup2().

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoacpica: work around flex 2.6.2 code generation issue
Patrick Ohly [Fri, 20 Jan 2017 13:26:59 +0000 (14:26 +0100)]
acpica: work around flex 2.6.2 code generation issue

Without this patch, linking fails with a missing implementation of
yy_scan_string. This looks like a regression in flex, because 2.6.0 generated
different code that called PrParser_scan_string
resp. DtParser_scan_string.

Working around that in acpica until this is better understood or fixed
in flex is the easiest solution for now.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoacpica: move from meta-oe to OE-core
Fathi Boudra [Tue, 10 Jan 2017 14:55:10 +0000 (15:55 +0100)]
acpica: move from meta-oe to OE-core

qemu support for UEFI in OE-core depends on OVMF, which needs the iasl
tools provided by this recipe. There's also an iasl recipe in
meta-luv, but than can and will be replaced by this one, thus reducing
overall maintenance work.

Copied from meta-openembedded rev fa65be9ba (current master).

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agoqemu: support virtual TPM
Patrick Ohly [Fri, 20 Jan 2017 07:51:07 +0000 (08:51 +0100)]
qemu: support virtual TPM

This enables the use of swtpm (from meta-security) as a virtual TPM in
qemu. These patches extend the existing support in qemu for TPM
passthrough so that a swtpm daemon can be accessed via CUSE (character
device in user space).

To use this:
 - add the meta-security layer including the swtpm enhancements for qemu
 - bitbake swtpm-native
 - create a TPM instance and initialize it with:

   $ mkdir -p my-machine/myvtpm0
   $ tmp-glibc/sysroots/x86_64-linux/usr/bin/swtpm_setup_oe.sh --tpm-state my-machine/myvtpm0 --createek
   Starting vTPM manufacturing as root:root @ Fri 20 Jan 2017 08:56:18 AM CET
   TPM is listening on TCP port 52167.
   Successfully created EK.
   Successfully authored TPM state.
   Ending vTPM manufacturing @ Fri 20 Jan 2017 08:56:19 AM CET

 - run swtpm *before each runqemu invocation* (it shuts down after use) and
   do it as root (required to set up the /dev/vtpm0 CUSE device):

   $ sudo sh -c 'PATH=`pwd`/tmp-glibc/sysroots/x86_64-linux/usr/bin/:`pwd`/tmp-glibc/sysroots/x86_64-linux/usr/sbin/:$PATH; export TPM_PATH=`pwd`/my-machine/myvtpm0; swtpm_cuse -n vtpm0' && sudo chmod a+rw /dev/vtpm0

 - run qemu:

   $ runqemu 'qemuparams=-tpmdev cuse-tpm,id=tpm0,path=/dev/vtpm0 -device tpm-tis,tpmdev=tpm0' ...

The guest kernel has to have TPM support enabled, which can be done with:

KERNEL_FEATURES_append = " features/tpm/tpm.scc"

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agolibva: Find the correct wayland-scanner
Jussi Kukkonen [Thu, 23 Feb 2017 14:49:49 +0000 (16:49 +0200)]
libva: Find the correct wayland-scanner

* Add a patch to make sure wayland-scanner from native sysroot is used
* Depend on wayland-native to get the scanner into the sysroot
* Add a patch to make sure the scanner really is used

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoselftest/eSDK.py: Cleanup when there is an error in setUpClass
Mariano Lopez [Wed, 22 Feb 2017 13:12:55 +0000 (13:12 +0000)]
selftest/eSDK.py: Cleanup when there is an error in setUpClass

Lately autobuilders are experiencing hangs with selftest,
it seems it is cause if an error happens in setUpClass
method of oeSDKExtSelfTest class because HTTP server
keeps running in background.

This patch will ensure tearDownClass will be run if there
is an error in setUpClass.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoiptables: upgrade to 1.6.1
Maxin B. John [Tue, 21 Feb 2017 11:55:07 +0000 (13:55 +0200)]
iptables: upgrade to 1.6.1

1.6.0 -> 1.6.1

Refreshed the following patches:
 a) 0001-configure-Add-option-to-enable-disable-libnfnetlink.patch
 b) 0002-configure.ac-only-check-conntrack-when-libnfnetlink-enabled.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoffmpeg: Fix the license description
Andreas Oberritter [Thu, 16 Feb 2017 10:34:49 +0000 (11:34 +0100)]
ffmpeg: Fix the license description

FFmpeg has complicated licensing options, so it should also
have complicated license statements in its recipe.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: Add Marvell sd88xx WiFi firmwares
Stefan Agner [Thu, 16 Feb 2017 00:35:19 +0000 (16:35 -0800)]
linux-firmware: Add Marvell sd88xx WiFi firmwares

Add packages for Marvells sd88xx SDIO WiFi firmwares.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibarchive: Backport upstream fixes.
Amarnath Valluri [Fri, 10 Feb 2017 14:31:59 +0000 (16:31 +0200)]
libarchive: Backport upstream fixes.

These set of patches backported from upstream, which fixes the issues in
extracting hardlinks over softlinks while etracting packages by opkg.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoncurses: 6.0+20160625 -> 6.0+20161126
Hongxu Jia [Tue, 14 Feb 2017 07:02:19 +0000 (02:02 -0500)]
ncurses: 6.0+20160625 -> 6.0+20161126

Add a patch to fix the CC/CFLAGS mangling that broke builds. [RB]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus: do not use systemctl from host for configure
Andy Kling [Wed, 15 Feb 2017 06:15:16 +0000 (07:15 +0100)]
dbus: do not use systemctl from host for configure

  configure.ac from dbus uses $PATH to get the location of systemctl.
  If it is not found /usr/bin/systemctl is used. It is possible to
  override the location by passing SYSTEMCTL=[value] to configure.
  The value is used to replace @SYSTEMCTL@ in systemd-user/dbus.socket.in.
  dbus.socket sets the environment variable DBUS_SESSION_BUS_ADDRESS
  using systemctl.

  dbus does not depend on systemd-systemctl-native, so location from
  host installation or the default value gets used. Adding
  systemd-systemctl to the build would give path from sysroot.

  Forcing SYSTEMCTL=${base_bindir}/systemctl for target gives the
  correct path there and the environment variable is set after a user
  session was opened.

[YOCTO #11002]

Signed-off-by: Andy Kling <andreas.kling@peiker-cee.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-lib: merge alsa-conf-base into alsa-conf
Tanu Kaskinen [Wed, 15 Feb 2017 07:13:03 +0000 (09:13 +0200)]
alsa-lib: merge alsa-conf-base into alsa-conf

As far as I can see, there's no benefit in having separate alsa-conf and
alsa-conf-base packages. libasound depended on both, so it was not
really possible to only install alsa-conf-base.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-lib: fix softfloat enabling
Tanu Kaskinen [Wed, 15 Feb 2017 07:13:02 +0000 (09:13 +0200)]
alsa-lib: fix softfloat enabling

EXTRA_OECONF = "--disable-python" overrode the previous EXTRA_OECONF
assignment, so softfloat didn't get enabled when needed. Fixed this by
replacing "=" with "+=".

Bitbake then complained about tabs in alsa-fpu.inc, changed them to
spaces.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoalsa-lib: 1.1.2 -> 1.1.3
Tanu Kaskinen [Wed, 15 Feb 2017 07:13:01 +0000 (09:13 +0200)]
alsa-lib: 1.1.2 -> 1.1.3

Changelog: http://alsa-project.org/main/index.php/Changes_v1.1.2_v1.1.3

Added a patch to fix a build failure with musl (cherry-picked from
upstream).

The new release doesn't any more install the smixer modules when Python
support is disabled. The modules weren't usable without Python support
before either, so this change does not constitute a loss of
functionality [1].

alsa-lib-dev has automatic dependencies on alsa-lib and libasound, but
since the smixer modules were the only thing in the alsa-lib package,
the alsa-lib package doesn't get generated any more. alsa-lib-dev still
has an automatic dependency on alsa-lib, however, so I had to override
the RDEPENDS of alsa-lib-dev to only include libasound.

[1] http://mailman.alsa-project.org/pipermail/alsa-devel/2016-November/114682.html

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolsb: lsb_release script incompatible with busybox head and find
Athanasios Oikonomou [Fri, 17 Feb 2017 19:50:52 +0000 (21:50 +0200)]
lsb: lsb_release script incompatible with busybox head and find

Busybox implementation only supports head -1 option if ENABLE_INCLUDE_SUSv2
or ENABLE_FEATURE_FANCY_HEAD configuration options are enabled. Also the -and
option for find is only supported if ENABLE_DESKTOP configuration option is
enabled. These configuration options are not enabled in several builds, which is
why this patch is needed.

[YOCTO #11041]

Signed-off-by: Athanasios Oikonomou <athoik@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoccache: Switch to downloading xz tarball
Mike Crowe [Mon, 20 Feb 2017 10:33:14 +0000 (10:33 +0000)]
ccache: Switch to downloading xz tarball

ccache tarballs have been available in tar.xz format since at least v3.1.1.
The v3.3.4 tarball is about 30% smaller so we might as well switch to it.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoccache: Upgrade to v3.3.4
Mike Crowe [Mon, 20 Feb 2017 10:33:13 +0000 (10:33 +0000)]
ccache: Upgrade to v3.3.4

Only the copyright year has been updated in LICENSE.txt. The license text
itself has not changed.

This version fixes a bug with dependency output that could cause problems
when compiling kernels for different MACHINEs using a shared ccache. See
https://github.com/ccache/ccache/issues/158

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosecurity_flags.inc: let gettext be secure
Robert Yang [Mon, 20 Feb 2017 08:46:36 +0000 (00:46 -0800)]
security_flags.inc: let gettext be secure

It has been fixed.

[YOCTO #9544]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogettext: fix formatting issues
Robert Yang [Mon, 20 Feb 2017 08:46:35 +0000 (00:46 -0800)]
gettext: fix formatting issues

Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
| gettext-tools/gnulib-lib/libcroco/cr-statement.c: In function 'cr_statement_dump_charset':
| gettext-tools/gnulib-lib/libcroco/cr-statement.c:2661:17: error: format not a string literal and no format arguments [-Werror=format-security]
|                  fprintf (a_fp, str) ;

And:
gettext-tools/gnulib-lib/libxml/timsort.h:326:80: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
       fprintf(stderr, "Error allocating temporary storage for tim sort: need %lu bytes", sizeof(SORT_TYPE) * new_size);

[YOCTO #9544]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoeudev: Upgrade to 3.2.1
Alejandro Hernandez [Mon, 20 Feb 2017 21:04:26 +0000 (21:04 +0000)]
eudev: Upgrade to 3.2.1

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoeudev: set downloadfilename
Robert Yang [Mon, 20 Feb 2017 03:00:41 +0000 (19:00 -0800)]
eudev: set downloadfilename

Otherwise, the filename is v${PV}.tar.gz which isn't straightforward.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopigz: set downloadfilename
Robert Yang [Mon, 20 Feb 2017 03:00:42 +0000 (19:00 -0800)]
pigz: set downloadfilename

Otherwise, the filename is v${PV}.tar.gz which isn't straightforward.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agounifdef: add UPSTREAM_CHECK_REGEX to filter out development snapshots
Ross Burton [Mon, 20 Feb 2017 16:56:24 +0000 (16:56 +0000)]
unifdef: add UPSTREAM_CHECK_REGEX to filter out development snapshots

Upstream is releasing development snapshots of the form
unifdef-2.11.23.1cca442.tar.gz so filter out versions which end is something
that looks like a git SHA.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-vaapi: inherit upstream-version-is-even
Ross Burton [Mon, 20 Feb 2017 16:44:26 +0000 (16:44 +0000)]
gstreamer1.0-vaapi: inherit upstream-version-is-even

These plugins follow the GStreamer versioning, so inherit this class to ensure
we don't get notified about development releases.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobtrfs-tools: only target requires udev
Robert Yang [Thu, 9 Feb 2017 03:30:30 +0000 (19:30 -0800)]
btrfs-tools: only target requires udev

The native doesn't have to depend on udev, fixed:

$ bitbake btrfs-tools-native

ERROR: Nothing PROVIDES 'udev-native' (but virtual:native:btrfs-tools_4.8.5.bb DEPENDS on or otherwise requires it). Close matches:
[snip]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobtrfs-tools: don't run autogen.sh
Ross Burton [Fri, 17 Feb 2017 16:58:32 +0000 (16:58 +0000)]
btrfs-tools: don't run autogen.sh

Instead of running autogen.sh (which runs autoconf et al) before running
autoreconf (which runs autoreconf et al...) just do the one task that we need
from autogen.sh: copying install-sh from automake's libdir.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu-native: Point python to python2 on build host
Khem Raj [Thu, 16 Feb 2017 21:19:57 +0000 (13:19 -0800)]
qemu-native: Point python to python2 on build host

On buildhosts where default python has switched to using python3
qemu-native fails configure like this

| ERROR: Cannot use 'python', Python 2.6 or later is required.
|        Note that Python 3 or later is not yet supported.
|        Use --python=/path/to/python to specify a supported Python.
|

we still expect build host to have python2 pre-installed
and is always available.

(From OE-Core rev: 2cac9544752775262fa87517ed49fcac2fb3a574)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoswig: upgrade to 3.0.12
Edwin Plauchu [Wed, 15 Feb 2017 20:03:35 +0000 (14:03 -0600)]
swig: upgrade to 3.0.12

Minimal update for swig

(From OE-Core rev: 17955d9b8f1368b875615d24ae0d4c2aa099afd9)

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibarchive: fix bzip2 dependency for native build
Patrick Ohly [Fri, 17 Feb 2017 16:14:10 +0000 (17:14 +0100)]
libarchive: fix bzip2 dependency for native build

When DEPENDS=bzip2 becomes bzip2-native in libarchive-native,
the dependency ends up getting ignored because bzip2-native
is in ASSUME_PROVIDED.

But we need the library and thus have to depend on
bzip2-replacement-native, otherwise the build proceeds
without it despite the explicit --with-bz2lib.

(From OE-Core rev: 7ae1c93ab6df46dc88b0ffaa52778738849ff38d)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoutil-linux: upgrade to 2.29.1
Chen Qi [Fri, 17 Feb 2017 10:59:25 +0000 (18:59 +0800)]
util-linux: upgrade to 2.29.1

(From OE-Core rev: b34dc23266e85006b9fdfcc1fdbc0d762f88cace)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosysstat: upgrade to 11.5.4
Chen Qi [Fri, 17 Feb 2017 10:59:23 +0000 (18:59 +0800)]
sysstat: upgrade to 11.5.4

(From OE-Core rev: d6d3346a2e465c1fc0e8e0896d8c6e7e1c49ee32)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocups: upgrade to 2.2.2
Chen Qi [Fri, 17 Feb 2017 10:59:22 +0000 (18:59 +0800)]
cups: upgrade to 2.2.2

(From OE-Core rev: 18033505a540a05d52cf98781f763215925e72a6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc: Fix CVE-2016-6131 in libiberty
Yuanjie Huang [Wed, 15 Feb 2017 09:38:00 +0000 (01:38 -0800)]
gcc: Fix CVE-2016-6131 in libiberty

[NVD] -- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6131

The demangler in GNU Libiberty allows remote attackers to cause a denial
of service (infinite loop, stack overflow, and crash) via a cycle in the
references of remembered mangled types.

[BZ #71696] -- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71696

2016-08-04  Marcel Böhme  <boehme.marcel@gmail.com>

PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle
in the referencing of remembered mangled types.
(work_stuff): New stack to keep track of the remembered mangled
types that are currently being processed.
(push_processed_type): New method to push currently processed
remembered type onto the stack.
(pop_processed_type): New method to pop currently processed
remembered type from the stack.
(work_stuff_copy_to_from): Copy values of new variables.
(delete_non_B_K_work_stuff): Free stack memory.
(demangle_args): Push/Pop currently processed remembered type.
(do_type): Do not demangle a cyclic reference and push/pop
referenced remembered type.

cherry-picked from commit of
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239143 138bc75d-0d04-0410-961f-82ee72b054a4

(From OE-Core rev: 3c288b181a4cfecc80b48994f4dd2df285e4d1d0)

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotcl: fix sed in do_install()
Robert Yang [Wed, 15 Feb 2017 06:25:10 +0000 (22:25 -0800)]
tcl: fix sed in do_install()

The command:
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh

was used for replacing "${WORKDIR}", but it also replaced
"-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too,
which caused incorrect result, use "'${WORKDIR}" to fix the problem.

(From OE-Core rev: 2edfcbf0291c0d39be4a37348696329eba8a41f8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogawk/json-glib/libcheck: extend to nativesdk
Robert Yang [Wed, 15 Feb 2017 06:25:09 +0000 (22:25 -0800)]
gawk/json-glib/libcheck: extend to nativesdk

They are required by nativesdk-cve-check-tool.

(From OE-Core rev: 7252c6f1b4b9a63e3bac79c6eba1b66ab85e21b9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotcl: extend to nativesdk
Robert Yang [Wed, 15 Feb 2017 06:25:08 +0000 (22:25 -0800)]
tcl: extend to nativesdk

Fixed:
$ bitbake nativesdk-expect
ERROR: Nothing PROVIDES 'nativesdk-tcl' (but virtual:nativesdk:expect_5.45.bb DEPENDS on or otherwise requires it). Close matches:
[snip]

(From OE-Core rev: 5c950c509edcc50d39a1f426579b354d97178ff2)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-native: PROVIDES python-io-native
Robert Yang [Wed, 15 Feb 2017 06:25:06 +0000 (22:25 -0800)]
python-native: PROVIDES python-io-native

python-six-native depends on it.

(From OE-Core rev: 475585ed84bf8dac339f97f811582bf782972930)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokexec-tools/kdump: Correct typo in comment "crashkenrel="
Robert P. J. Day [Tue, 14 Feb 2017 21:29:18 +0000 (16:29 -0500)]
kexec-tools/kdump: Correct typo in comment "crashkenrel="

(From OE-Core rev: 0027c8078fc3d98c7ecaab03d4e637b1fa07778e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodocbook-xml: correct typo "do_configre"
Robert P. J. Day [Tue, 14 Feb 2017 21:26:34 +0000 (16:26 -0500)]
docbook-xml: correct typo "do_configre"

(From OE-Core rev: 56cdb1358f4560fce4d8fcd04d754051a4ac6250)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocmake: Update to 3.7.2.
Philip Balister [Tue, 14 Feb 2017 14:40:07 +0000 (09:40 -0500)]
cmake: Update to 3.7.2.

Tested by building gnuradio stack.

(From OE-Core rev: d3e5a6d38870ecede87812cb81c0b5630bd3b3ff)

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoweston: fix LIC_FILES_CHKSUM endline and md5sum for src/compositor.c
Andre McCurdy [Tue, 14 Feb 2017 13:57:49 +0000 (05:57 -0800)]
weston: fix LIC_FILES_CHKSUM endline and md5sum for src/compositor.c

The license text in Weston sources was changed from "MIT X11" to "MIT
Expat" in the 1.9.0 release. The new text is 3 lines longer than the
previous version, so endline and md5 hash have been incorrect for the
oe-core weston recipes from 1.9.0 onwards.

  https://cgit.freedesktop.org/wayland/weston/diff/src/compositor.c?id=a0bbfea64b04d3cf12327d8b488b9949a4cddc99

(From OE-Core rev: 558888275288313d774812d7ab268d9850c82881)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc-6: Add fix for missing no-PIE flags
Stephen Arnold [Mon, 13 Feb 2017 02:25:27 +0000 (18:25 -0800)]
gcc-6: Add fix for missing no-PIE flags

Fixes build on hardened PAX host with gcc-5 (linker error on relocs).
Completes no-PIE config by adding to ALL_* flags variables.
Borrowed from Gentoo gcc patches, tested on 2 hardened amd64 hosts.

Upstream-Status: Inappropriate [configuration]

Commited by: Gentoo Toolchain Project <toolchain@gentoo.org>
(From OE-Core rev: c178791cd78d5a9ebc4d7b7790e647a9bafe9cf2)

Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopiglit: Upgrade to current master
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:06 +0000 (11:55 +0200)]
piglit: Upgrade to current master

Remove backported patches. Add runtime dependency for netserver
(as socketserver was recently moved there) and depend on
libxkbcommon (this is really only needed for wayland support
which could be made configurable).

(From OE-Core rev: 5a3fa55f397bb89f75fb714b1d93aa76125cc09a)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibinput: Upgrade 1.6.0 -> 1.6.1
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:05 +0000 (11:55 +0200)]
libinput: Upgrade 1.6.0 -> 1.6.1

Small release with mostly bug fixes.

(From OE-Core rev: 87e7cb3cd28fb0ebae57620a12c653e6c4e650bb)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxkeyboard-config: Upgrade 2.19 -> 2.20
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:04 +0000 (11:55 +0200)]
xkeyboard-config: Upgrade 2.19 -> 2.20

Layout updates from the last 16 months.

(From OE-Core rev: 22ae7375bb03531349060f11a4f2bfc99d851e52)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-libinput: Upgrade 0.23.0 -> 0.24.0
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:03 +0000 (11:55 +0200)]
xf86-input-libinput: Upgrade 0.23.0 -> 0.24.0

Small release with mostly tablet improvements.

(From OE-Core rev: 15b0f0421b9f0b23ccbcdd18428eff100c622b91)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxauth: Upgrade 1.0.9 -> 1.0.10
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:02 +0000 (11:55 +0200)]
xauth: Upgrade 1.0.9 -> 1.0.10

Small bug fix release.

(From OE-Core rev: 62ffef15d288f566e6bd93b1af4bd5ab6c6ea8b1)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopresentproto: Upgrade 1.0 -> 1.1
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:01 +0000 (11:55 +0200)]
presentproto: Upgrade 1.0 -> 1.1

Small release with mostly build system fixes.

(From OE-Core rev: 638af9cff97cf3ead79226b616e29f9135cbf53d)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoutil-macros: Upgrade 1.19.0 -> 1.19.1
Jussi Kukkonen [Tue, 14 Feb 2017 09:55:00 +0000 (11:55 +0200)]
util-macros: Upgrade 1.19.0 -> 1.19.1

Tiny release to fix build with new xmlto.

(From OE-Core rev: ef523527b68eef0ce1fdacac87b4eee27677589b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agovte: Upgrade 0.44.2 -> 0.46.1
Jussi Kukkonen [Tue, 14 Feb 2017 09:41:16 +0000 (11:41 +0200)]
vte: Upgrade 0.44.2 -> 0.46.1

New release requires libpcre 2.

Enable gnutls by default to remove an annoying warning on every
vte widget. core-image-sato already has gnutls so this shouldn't
be a big deal.

(From OE-Core rev: c9b65168a6e5ca329c013d5932567eb6cca770f3)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogmp: Update to 6.1.2
Khem Raj [Mon, 13 Feb 2017 18:00:12 +0000 (10:00 -0800)]
gmp: Update to 6.1.2

(From OE-Core rev: a341bc666c6d25741bbe879ccf0ade8da6ba4373)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogdb: Upgrade to 7.12.1
Khem Raj [Mon, 13 Feb 2017 18:00:11 +0000 (10:00 -0800)]
gdb: Upgrade to 7.12.1

Drop already applied patches

(From OE-Core rev: 233641857bdc4071e5cb9a25206def880eb2754d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomusl: Update to latest
Khem Raj [Mon, 13 Feb 2017 18:00:10 +0000 (10:00 -0800)]
musl: Update to latest

here is shortlog

d6601f0a avoid unbounded strlen in gettext functions
dbbb3734 fix use of uninitialized pointer in gettext core
01e6bbec fix bindtextdomain logic error deactivating other domains
6894f847 fix spurious EINTR errors from multithreaded set*id, etc.
1f53e7d0 fix crashes in x32 __tls_get_addr
27b3fd68 fix crash from corrupted tls module list after failed dlopen
809ff8cf treat base 1 as an error in strtol-family functions
786fda87 fix getopt[_long] clobbering of optopt on success
150747b4 reduce impact of REG_* namespace pollution in x86[_64] signal.h

(From OE-Core rev: 6f42e7be18e0896aac357ce2aedaa3b32b2ad98e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpcre2: add it for newer vte
Robert Yang [Fri, 10 Feb 2017 03:42:02 +0000 (19:42 -0800)]
libpcre2: add it for newer vte

There are two major versions of the PCRE library. The newest version, PCRE2,
was released in 2015 and is at version 10.22.

The original, very widely deployed PCRE library, originally released in 1997,
is at version 8.40, and the API and feature set are stable, future releases
will be for bugfixes only. All new future features will be to PCRE2, not the
original PCRE 8.x series.

The newer vte depends on libpcre2, so add it.

(From OE-Core rev: f7165d379cb67c4d4918a8a3e9509d3d823d61da)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotremor: remove
Ross Burton [Tue, 24 Jan 2017 12:13:32 +0000 (12:13 +0000)]
tremor: remove

Now that Tremor isn't enabled by default in oe-core's GStreamer plugins and has
been added to meta-multimedia, it can be removed from oe-core.

(From OE-Core rev: 30f5c80943f69884b3d7323b540c8bb0f1efd8fd)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoslang: rewrite recipe to run autoconf
Ross Burton [Tue, 7 Feb 2017 14:35:43 +0000 (14:35 +0000)]
slang: rewrite recipe to run autoconf

I discovered that we were not running autoreconf (and cannot due to the
unconvential file structure upstream), so manually run autoconf and move the
generated configure to the right place as we do already for gnu-configize.

Update no-x.patch (now that it is actually being used) so that it doesn't break
the build.

Patch out the use of INST_LIB_DIR in slsh/Makefile.in as this is the *target*
path, so is inappropriate to link to. This means we can remove the custom
do_install() which was working around the problem.

Remove all rpath patches (now overwritten by autoconf) and replace
with just passing RPATH='' via oe_runmake.

Remove the library search path patches (now overwritten by autoconf) and replace
with passing explicit pointers to the sysroot in the options.

[ YOCTO #10969 ]

(From OE-Core rev: 48fe39b09fbac973ba188938ab2a080f71ee8d68)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodepmodwrapper-cross/qemuwrapper-cross: Drop unneeded binutils dependency
Richard Purdie [Sun, 19 Feb 2017 14:57:00 +0000 (06:57 -0800)]
depmodwrapper-cross/qemuwrapper-cross: Drop unneeded binutils dependency

By default these pull in binutils-cross since they're a cross tool
and pull in any native tool requirements. In reality they don't
need such tools at build time or runtime since they're scripts.

Therefore clear the dependency and save on some processing time.

(From OE-Core rev: 63796765122e2eee2b78930797d571acb5c244d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc-cross: Avoid races with gcc_stash_builddir
Richard Purdie [Sun, 19 Feb 2017 14:51:57 +0000 (06:51 -0800)]
gcc-cross: Avoid races with gcc_stash_builddir

Its sad we need to do this but do_install and do_populate_sysroot appear
to change the files in ${B} and this breaks if something works in parallel
like gcc_stash_builddir. We've seen a few too many race errors on the
autobuilder which appear to be from this so make things run in sequence
deterministically for now.

An example failure was this from do_populate_sysroot whilst stash_builddir was running
in parallel:

ERROR: gcc-cross-initial-arm-6.3.0-r0 do_populate_sysroot: split_and_strip_files: 'file
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/x86_64-linux/
gcc-cross-initial-arm/6.3.0-r0/sysroot-destdir/home/pokybuild/yocto-autobuilder/yocto-worker/
nightly-arm-lsb/build/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/6.3.0-r0/recipe-sysroot-native/
usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/arm-poky-linux-gnueabi-gcov' failed

Exception: subprocess.CalledProcessError: Command '('patchelf-uninative', '--set-interpreter',
'/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/sysroots-uninative/
x86_64-linux/lib/ld-linux-x86-64.so.2', '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/
build/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/6.3.0-r0/sstate-build-populate_sysroot/
recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi.gcc-cross-initial-arm/arm-poky-linux-gnueabi-gcov')' returned non-zero exit status 1

Subprocess output:
missing section headers

(From OE-Core rev: 75b76eb08c7e344142f0326605aeb6b24e61e38e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobinconfig.bbclass: fix get_binconfig_mangle()
Robert Yang [Mon, 13 Feb 2017 06:33:31 +0000 (22:33 -0800)]
binconfig.bbclass: fix get_binconfig_mangle()

The command was:
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"

The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
result would be incorrect like:
TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'

Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
sed commands ahead will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonative.bbclass: populate native recipe with it's files
Saul Wold [Mon, 20 Feb 2017 05:40:43 +0000 (21:40 -0800)]
native.bbclass: populate native recipe with it's files

This allows a native package's recipe-sysroot-native to be populated with
that packages native image files.  This in turns allows it to be used by
scripts or other tools without creating un-necessary DEPENDS.

An example of this is systemtap-native and the crosstap script.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel.bbclass: do_deploy requires depmodwrapper
Robert Yang [Thu, 16 Feb 2017 08:18:59 +0000 (00:18 -0800)]
kernel.bbclass: do_deploy requires depmodwrapper

Fixed:
run.do_deploy.27809: line 155: depmodwrapper: command not found

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: upgrade: fix error of import recipeutils
Luck Hoang [Mon, 20 Feb 2017 09:37:58 +0000 (16:37 +0700)]
devtool: upgrade: fix error of import recipeutils

upgrade.py imports oe.recipeutils in meta/lib/ but path to oe.recipeutils
is not provided. This fails populate_sdk_ext.

Signed-off-by: Luck Hoang <huyht1205@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoterminal.bbclass: export configure vars
Robert Yang [Mon, 20 Feb 2017 08:45:27 +0000 (00:45 -0800)]
terminal.bbclass: export configure vars

So that we can easily reproduce configure by:

$ $CACHED_CONFIGUREVARS ./configure $CONFIGUREOPTS $EXTRA_OECONF

[YOCTO #9423]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouseradd-staticids: fix typo for '--expiredate'
Peter Bergin [Sun, 19 Feb 2017 20:30:13 +0000 (21:30 +0100)]
useradd-staticids: fix typo for '--expiredate'

There is a typo in the useradd-staticids.bbclass that
causes error during do_install.

If build was configured to use usedadd-staticids and
the recipe included (for example):

USERADD_PARAM_${PN} = "--expiredate '' testUser"

Due to the typo this added the wrong option '--expiredata '
that caused an error.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoarch-arm*.inc: squash whitespace within TUNE_FEATURES strings
Andre McCurdy [Fri, 17 Feb 2017 18:47:01 +0000 (10:47 -0800)]
arch-arm*.inc: squash whitespace within TUNE_FEATURES strings

TUNE_FEATURES is include in BUILDCFG_VARS, so any whitespace is
visible to the user during the build process. Remove the extra
whitespace added during the 2.1 development cycle:

  http://git.openembedded.org/openembedded-core/commit/?id=f774b44fa007a2a756ada892ede832b1251d940c

For consistency, squash whitespace within PACKAGE_EXTRA_ARCHS strings
too.

Whitespace within TUNE_FEATURES strings in the tune-cortexa*.inc
files has been fixed in a separate commit:

  http://git.openembedded.org/openembedded-core/commit/?id=5610c6397ee098dd998b7417b343494de77179f9

(From OE-Core rev: 3cd0c5ef748ad072f1bd9a8d42157e9643bf97eb)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/buildstats-diff: fix epoch numbers in --ver-diff
Markus Lehtonen [Wed, 15 Feb 2017 10:45:27 +0000 (12:45 +0200)]
scripts/buildstats-diff: fix epoch numbers in --ver-diff

Incorrect data was printed (recipe name instead of epoch number) when
displaying changes in epoch.

(From OE-Core rev: 5e2b1bfb684dc76963f692172f7457c2249c3266)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/patch: Support xz-compressed patches
Dominic Sacré [Wed, 15 Feb 2017 10:44:49 +0000 (11:44 +0100)]
lib/oe/patch: Support xz-compressed patches

Add .xz to the list of extensions recognized by patch_path(), so that
compressed patches ending in .patch.xz or .diff.xz are automatically
applied.

(From OE-Core rev: f1a2c45765d14d3ca09657ad1f6b526554af2bb6)

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: Point KERNELORG_MIRROR to cdn.kernel.org
Dominic Sacré [Thu, 16 Feb 2017 09:06:24 +0000 (10:06 +0100)]
bitbake.conf: Point KERNELORG_MIRROR to cdn.kernel.org

Use cdn.kernel.org to distribute the server load and improve download speeds.
Leave www.kernel.org in MIRRORS as a fallback.

See https://www.kernel.org/introducing-fastly-cdn.html

(From OE-Core rev: 7c81b680a3cc4602c9c153398103d5477d7fd894)

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/runtime/context.py: Fix use of getTarget() with testexport
Mariano Lopez [Tue, 21 Feb 2017 10:11:00 +0000 (10:11 +0000)]
oeqa/runtime/context.py: Fix use of getTarget() with testexport

The idea on getTarget is to use kwargs to send custom variables
to different targets, instead of this, a new variable was added
(just used for custom targets) and this broke testexport. So
in order to fix it, just add the custom variable to kwargs.

This fixes the use of getTarget() in testexport class that was
introduced in 1dc8010afd71fe46fb28bb86fb7c07a5fbd3d7cf.

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa: fix typo
Humberto Ibarra [Mon, 13 Feb 2017 17:25:37 +0000 (11:25 -0600)]
oeqa: fix typo

The word 'uninstall' was spelled incorrectly in various parts of
oeqa files.

(From OE-Core rev: af365e025030436f83b233fa51ecc9c58c58ce3c)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types_wic: fix expansion error
Ed Bartosh [Wed, 22 Feb 2017 14:39:35 +0000 (16:39 +0200)]
image_types_wic: fix expansion error

Variable WKS_SEARCH_PATH was not fully expanded when used directly
in this expression:
    WKS_FULL_PATH = "${@wks_search('${WKS_FILES}'.split(), '${WKS_SEARCH_PATH}') or ''}"

This caused expansion error: bb.data_smart.ExpansionError:
Failure expanding variable WKS_FULL_PATH, .... which triggered exception
SyntaxError: invalid syntax (WKS_FULL_PATH, line 1)

Calling d.getVar instead of directly referencing variables
should fix the issue.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolayer.conf: bump version for change in eSDK selftest behaviour
Joshua Lock [Fri, 17 Feb 2017 15:49:16 +0000 (15:49 +0000)]
layer.conf: bump version for change in eSDK selftest behaviour

Since 59a99cd8 "oeqa/sdk: Updates sanity tests for minimal eSDK"
we can now run oe-selftests against a minimal eSDK.

We need to increase the layer version so that we can detect this
change in behaviour in our automated testing.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoselftest/containerimage.py: Add container IMAGE_FSTYPES test
Randy Witt [Mon, 30 Jan 2017 21:16:28 +0000 (13:16 -0800)]
selftest/containerimage.py: Add container IMAGE_FSTYPES test

This test checks to make sure only the files expected exist in a
container image. Currently only ROOTFS_BOOTSTRAP_INSTALL, gets added to
all images without the user specifying it.

But this test should help if a developer in the future ever silently
adds more than just ROOTFS_BOOTSTRAP_INSTALL, and that the developer can
make sure it also gets removed from a container image.

[YOCTO #9502]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage-container.bbclass: Error if not using linux-dummy
Randy Witt [Wed, 18 Jan 2017 18:31:51 +0000 (10:31 -0800)]
image-container.bbclass: Error if not using linux-dummy

In the typical case of a container, the user doesn't particularly care
about the kernel version used. Since using linux-dummy prevents building
a kernel in the most common case, alert the user if they choose a
container image, but don't also specify linux-dummy.

In the cases the user actually does want to build against particular
kernel headers, etc, they can override by setting
IMAGE_CONTAINER_NO_DUMMY = "1".

[YOCTO #9502]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoimage-container.bbclass: Add the "container" IMAGE_FSTYPES
Randy Witt [Wed, 18 Jan 2017 18:31:50 +0000 (10:31 -0800)]
image-container.bbclass: Add the "container" IMAGE_FSTYPES

The "container" fstype does very little other than pick tar.bz2 as the
actual image type and disable installation of ROOTFS_BOOTSTRAP_INSTALL.

[YOCTO #9502]

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/selftest/bbtests: Update after changes to dependency graph file generation
Richard Purdie [Wed, 25 Jan 2017 11:47:06 +0000 (11:47 +0000)]
oeqa/selftest/bbtests: Update after changes to dependency graph file generation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowget: Upgrade 1.19 -> 1.19.1
Richard Purdie [Sun, 19 Feb 2017 14:13:11 +0000 (06:13 -0800)]
wget: Upgrade 1.19 -> 1.19.1

This fixes musl build issues and avoids autobuilder failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorootfspostcommands: remove shadow backup files instead of trying to sort
Patrick Ohly [Fri, 10 Feb 2017 11:29:14 +0000 (12:29 +0100)]
rootfspostcommands: remove shadow backup files instead of trying to sort

Backup are files sometimes are inconsistent and then cannot be
sorted (YOCTO #11043), and more importantly, are not needed in
the initial rootfs, so they get deleted.

Fixes: [YOCTO #11007]
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
8 years agolinux-yocto-rt/4.9: update to 4.9-rt6
Bruce Ashfield [Tue, 14 Feb 2017 21:14:25 +0000 (16:14 -0500)]
linux-yocto-rt/4.9: update to 4.9-rt6

Updating the SRCREVs to make Paul Gortmaker's port of 4.9-rt6 active.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-yocto: trivial: remove extra } from bsp_definition
Bruce Ashfield [Tue, 14 Feb 2017 21:14:24 +0000 (16:14 -0500)]
kernel-yocto: trivial: remove extra } from bsp_definition

A typo introduced an extra } in the logging of the bsp_definition.
While this won't cause problems .. it needs to be fixed!

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: meta/configuration updates
Bruce Ashfield [Tue, 14 Feb 2017 21:14:23 +0000 (16:14 -0500)]
linux-yocto/4.4: meta/configuration updates

Integrating the following commit already in 4.9 and 4.8:

  intel-quark: Add intel-quark-preempt-rt bsp configuration

  While there are intel-quark configurations for the KTYPEs standard
  and tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
  Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
  intel-quark yields a .config having a potentially misconfigured
  architecture. More importantly, however, preempt-rt related CONFIG
  options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
  not result in a preempt-rt enabled kernel.

  This patch qualifies to be (back)ported to other branches than
  master.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.9: update to v4.9.9
Bruce Ashfield [Tue, 14 Feb 2017 21:14:21 +0000 (16:14 -0500)]
linux-yocto/4.9: update to v4.9.9

Updating to the korg -stable release. Changelog is as follows:

   d2e4b66b4ef2 Linux 4.9.9
   f2a0409a0850 drm/i915/execlists: Reset RING registers upon resume
   72cd604cfd86 fs: break out of iomap_file_buffered_write on fatal signals
   bf9ab22c350d iw_cxgb4: set correct FetchBurstMax for QPs
   13363b6988f6 x86/irq: Make irq activate operations symmetric
   e02136282296 irqdomain: Avoid activating interrupts more than once
   c6b0333baea0 iio: health: max30100: fixed parenthesis around FIFO count check
   12c2fcf6bcf7 iio: dht11: Use usleep_range instead of msleep for start signal
   7baa8491d47d iio: health: afe4403: retrieve a valid iio_dev in suspend/resume
   5f0ee562605b iio: health: afe4404: retrieve a valid iio_dev in suspend/resume
   54d2ccc4003b iio: adc: palmas_gpadc: retrieve a valid iio_dev in suspend/resume
   db0e02ef6b82 staging: greybus: timesync: validate platform state callback
   89cc65c1117f USB: serial: option: add device ID for HP lt2523 (Novatel E371)
   12a9c11c2e19 usb: gadget: f_fs: Assorted buffer overflow checks.
   e40d15fce929 usb: musb: Fix host mode error -71 regression
   cbd819e7db3a USB: Add quirk for WORLDE easykey.25 MIDI keyboard
   4807725aab0b USB: serial: pl2303: add ATEN device ID
   8bc382a9652b USB: serial: qcserial: add Dell DW5570 QDL
   0dcbd0aa44e6 KVM: x86: do not save guest-unsupported XSAVE state
   bc05a2e940fe dmaengine: cppi41: Fix oops in cppi41_runtime_resume
   2c2e7fe7c9c5 dmaengine: cppi41: Fix runtime PM timeouts with USB mass storage
   bebb9d75e84d perf/x86/intel/uncore: Clean up hotplug conversion fallout
   e6bd712154aa HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
   f24bc920612c HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2
   80246551c7d7 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL
   40add19d3897 iwlwifi: mvm: avoid crash on restart w/o reserved queues
   97663735a96f iwlwifi: fix double hyphen in MODULE_FIRMWARE for 8000
   3d8ec7d2d5f9 pinctrl: intel: merrifield: Add missed check in mrfld_config_set()
   2cf6c49264e4 pinctrl: baytrail: Debounce register is one per community
   449d3ecfbd76 Revert "vring: Force use of DMA API for ARM-based systems with legacy devices"
   16f61dee7e7c Revert "bcma: init serial console directly from ChipCommon code"
   12f822d23dee percpu-refcount: fix reference leak during percpu-atomic transition
   8ee8ff9e2652 regulator: axp20x: AXP806: Fix dcdcb being set instead of dcdce
   1594edd9ea0d vhost: fix initialization for vq->is_le
   04eb7db25bb1 mmc: sdhci: Ignore unexpected CARD_INT interrupts
   1d88791d5ed5 cgroup: don't online subsystems before cgroup_name/path() are operational
   a150e08704b2 can: bcm: fix hrtimer/tasklet termination in bcm op removal
   a93ae8dccc3c tracing: Fix hwlat kthread migration
   b67c7d39bc28 mm, fs: check for fatal signals in do_generic_file_read()
   6cb0497aec81 base/memory, hotplug: fix a kernel oops in show_valid_zones()
   72f7419610c8 mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
   9e255997c2e1 cifs: initialize file_info_lock
   f0c3a0ac3349 zswap: disable changing params if init fails
   a3d729526f2f svcrpc: fix oops in absence of krb5 module
   743146d347f3 NFSD: Fix a null reference case in find_or_create_lock_stateid()
   4c953848c95b powerpc/mm: Use the correct pointer when setting a 2MB pte
   8f415333be3a powerpc: Fix build failure with clang due to BUILD_BUG_ON()
   bbf69e5197da powerpc: Add missing error check to prom_find_boot_cpu()
   73d45909780e powerpc/eeh: Fix wrong flag passed to eeh_unfreeze_pe()
   4b70d598c2ee libata: Fix ATA request sense
   6d08607ef35b libata: apply MAX_SEC_1024 to all CX1-JB*-HP devices
   fc794153c407 ata: sata_mv:- Handle return value of devm_ioremap.
   b41615aa7056 perf/core: Fix PERF_RECORD_MMAP2 prot/flags for anonymous memory
   3996a91e3bdc perf/core: Fix use-after-free bug
   53bed1f64025 crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes
   b04a39f88ced crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
   2eb8f7c4225a drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
   bd5cefed1ccc drm/nouveau/disp/gt215: Fix HDA ELD handling (thus, HDMI audio) on gt215
   c9fb422fd938 drm/amdgpu/si: fix crash on headless asics
   20658b3df8b9 pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler
   7396685a1bca HID: cp2112: fix gpio-callback error handling
   a18c4584a489 HID: cp2112: fix sleep-while-atomic
   dfd713307adb xtensa: fix noMMU build on cores with MMU
   f2e24dd91818 efi/fdt: Avoid FDT manipulation after ExitBootServices()
   f0c7412edfc1 x86/efi: Always map the first physical page into the EFI pagetables
   13e6ef99d23b ext4: validate s_first_meta_bg at mount time
   610c2b7ff8f6 PCI/ASPM: Handle PCI-to-PCIe bridges as roots of PCIe hierarchies

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto-dev: bump to v4.10+
Bruce Ashfield [Tue, 14 Feb 2017 21:14:22 +0000 (16:14 -0500)]
linux-yocto-dev: bump to v4.10+

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.8/4.9: fix tpm.cfg and add dm-verity
Bruce Ashfield [Tue, 14 Feb 2017 21:14:20 +0000 (16:14 -0500)]
linux-yocto/4.8/4.9: fix tpm.cfg and add dm-verity

Integrating the following commits to fix a configuration warning
and to add a tpm configuration feature:

  8f3bc608ae61 features: add dm-verity
  0ad64750fef1 tpm: avoid warning due to double CONFIG_TCG_TPM

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.9: Intel-quark: Add intel-quark-preempt-rt bsp configuration
Bruce Ashfield [Tue, 14 Feb 2017 21:14:19 +0000 (16:14 -0500)]
linux-yocto/4.9: Intel-quark: Add intel-quark-preempt-rt bsp configuration

While there are intel-quark configurations for the KTYPEs standard and
tiny in bsp/intel-common, there's none for the preempt-rt KTYPE.
Trying to build preempt-rt enabled kernels such as linux-yocto-rt for
intel-quark yields a .config having a potentially misconfigured
architecture. More importantly, however, preempt-rt related CONFIG
options are not enabled. Hence, a build of, e.g., linux-yocto-rt, does
not result in a preempt-rt enabled kernel.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>