]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agooeqa.buildperf: archive build/conf into test results
Markus Lehtonen [Thu, 23 Jun 2016 15:34:14 +0000 (18:34 +0300)]
oeqa.buildperf: archive build/conf into test results

Have the build/conf directory as part of test results.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add test Test4
Markus Lehtonen [Thu, 23 Jun 2016 15:30:45 +0000 (18:30 +0300)]
oeqa.buildperf: add test Test4

Re-implement "test4" from build-perf-test.sh which measures eSDK metrics.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add test Test3
Markus Lehtonen [Thu, 23 Jun 2016 15:25:53 +0000 (18:25 +0300)]
oeqa.buildperf: add test Test3

Re-implement "test3" from build-perf-test.sh which measures
bitbake parsing time.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add test Test2
Markus Lehtonen [Thu, 23 Jun 2016 15:23:53 +0000 (18:23 +0300)]
oeqa.buildperf: add test Test2

Re-implement "test2" from build-perf-test.sh which measures
'bitbake core-image-sato -c rootfs'.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add test Test1P3
Markus Lehtonen [Thu, 23 Jun 2016 15:20:21 +0000 (18:20 +0300)]
oeqa.buildperf: add test Test1P3

Re-implement "test1_p3" from build-perf-test.sh which measures
'bitbake core-image-sato' with rm_work enabled.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add test Test1P2
Markus Lehtonen [Thu, 23 Jun 2016 15:18:24 +0000 (18:18 +0300)]
oeqa.buildperf: add test Test1P2

Re-implement "test1_p2" from build-perf-test.sh which measures
'bitbake virtual/kernel'.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add test Test1P1
Markus Lehtonen [Thu, 23 Jun 2016 15:01:15 +0000 (18:01 +0300)]
oeqa.buildperf: add test Test1P1

Re-implement "test1_p1" from build-perf-test.sh which measures
'bitbake core-image-sato'.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: implement BuildPerfTestRunner class
Markus Lehtonen [Wed, 11 May 2016 11:42:32 +0000 (14:42 +0300)]
oeqa.buildperf: implement BuildPerfTestRunner class

The new class is responsible for actually running the tests and
processing their results. This commit also adds a decorator function for
adding new tests. No automatic test discovery, at least yet.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add method for saving buildstats
Markus Lehtonen [Wed, 11 May 2016 10:54:13 +0000 (13:54 +0300)]
oeqa.buildperf: add method for saving buildstats

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add method for measuring file disk usage
Markus Lehtonen [Wed, 11 May 2016 10:53:22 +0000 (13:53 +0300)]
oeqa.buildperf: add method for measuring file disk usage

Add a new method to BuildPerfTest class for measuring the disk usage of
a file of directory.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add method to log shell commands
Markus Lehtonen [Thu, 16 Jun 2016 11:29:46 +0000 (14:29 +0300)]
oeqa.buildperf: add method to log shell commands

Add new methods to BuildPerfTest class for running a shell
command and logging its output.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: method for measuring system resource usage
Markus Lehtonen [Wed, 11 May 2016 10:39:22 +0000 (13:39 +0300)]
oeqa.buildperf: method for measuring system resource usage

Extend BuildPerfTest class with a new method for measuring the system
resource usage of a shell command to BuildPerfTest class.  For now,
easurement of the elapsed time is done with the Gnu time utility,
similarly to the build-perf-test.sh shell script. And, it currently only
records the elapsed (wall clock).

The measured values (currently, only the elapsed time) is actually a
dictionary, making it possible to extend it with additional resource
values, e.g. cpu time or i/o usage, in the future.  In addition to the
actual values of the measurement each record contains a 'name' and
'legend' where name is supposed to function as a common key or id over
test runs, making comparison and trending easier, for example. Legend is
supposed to be a short human readable description.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add BuildPerfTest class
Markus Lehtonen [Wed, 11 May 2016 10:22:50 +0000 (13:22 +0300)]
oeqa.buildperf: add BuildPerfTest class

The new class will be used as an abstract base class for build
performance tests. This implementation contains some common
functionality used in multiple tests, "copied" from the
build-perf-test.sh shell script.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: functionality to drop kernel caches
Markus Lehtonen [Tue, 26 Apr 2016 10:18:13 +0000 (13:18 +0300)]
oeqa.buildperf: functionality to drop kernel caches

Add a new utility class for dropping Linux kernel caches.  It uses sudo
and tee to write to the drop_caches file. Checking if the user has the
permissions to drop caches (without a password) is done by trying to
writing an invalid value to the drop_caches file. This way, we will find
if writing (with tee) is possible but not really dropping caches, yet.

User can avoid giving the password by adding something like:
<user> ALL = NOPASSWD: /usr/bin/tee /proc/sys/vm/drop_caches
to the system sudoers file.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: introduce oeqa.buildperf module
Markus Lehtonen [Thu, 23 Jun 2016 12:31:07 +0000 (15:31 +0300)]
oe-build-perf-test: introduce oeqa.buildperf module

Wireframe of a new Python module for containing build performance tests
and utility functions.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: add pre-run sanity check
Markus Lehtonen [Wed, 27 Apr 2016 11:12:00 +0000 (14:12 +0300)]
oe-build-perf-test: add pre-run sanity check

The script will be required to be run in an initialized bitbake build
environment.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoscripts: introduce oe-build-perf-test
Markus Lehtonen [Mon, 25 Apr 2016 12:21:27 +0000 (15:21 +0300)]
scripts: introduce oe-build-perf-test

Initial wireframe for re-writing build-perf-test.sh in Python.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.commands: runCmd: return stderr output, too
Markus Lehtonen [Mon, 2 May 2016 14:19:36 +0000 (17:19 +0300)]
oeqa.utils.commands: runCmd: return stderr output, too

Useful if one wants to separate stdout and stderr.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.commands: use get_bb_vars() in get_bb_var()
Markus Lehtonen [Mon, 2 May 2016 11:16:30 +0000 (14:16 +0300)]
oeqa.utils.commands: use get_bb_vars() in get_bb_var()

Get rid of duplicate code.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.commands: Introduce get_bb_vars()
Markus Lehtonen [Fri, 29 Apr 2016 12:55:40 +0000 (15:55 +0300)]
oeqa.utils.commands: Introduce get_bb_vars()

A new function for getting values of multiple bitbake variables at the
same time.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolib/oe/package_manager: keep platform_extra and default_platform_extra lists ordered
Bill Randle [Sat, 25 Jun 2016 04:22:31 +0000 (21:22 -0700)]
lib/oe/package_manager: keep platform_extra and default_platform_extra lists ordered

In RpmPM:insert_feeds_uris, the paths are kept in sets, which are unordered,
but they are later used to set the priority for the Smart channels, so
unexpected results could occur. Change the sets to lists and use the same
code as in create_configs() to add items to the list, rather than the set
operators.

[YOCTO #9717]

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-libc-headers: Update doc for recipe depends
Patrick Williams [Wed, 22 Jun 2016 16:31:46 +0000 (11:31 -0500)]
linux-libc-headers: Update doc for recipe depends

The previous documentation has not been accurate since at least
commit 6a1ff0e.  Recipes that follow the old documentation will
not correctly build when sstate is enabled because the kernel
source will not actually be available.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-libav_git: bump version to 1.8.2
Maxin B. John [Mon, 27 Jun 2016 03:54:21 +0000 (06:54 +0300)]
gstreamer1.0-libav_git: bump version to 1.8.2

Upgrade _git version to 1.8.2 release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-ugly_git: bump version to 1.8.2
Maxin B. John [Mon, 27 Jun 2016 03:54:20 +0000 (06:54 +0300)]
gstreamer1.0-plugins-ugly_git: bump version to 1.8.2

Upgrade _git version to 1.8.2 release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-base_git: bump version to 1.8.2
Maxin B. John [Mon, 27 Jun 2016 03:54:19 +0000 (06:54 +0300)]
gstreamer1.0-plugins-base_git: bump version to 1.8.2

Upgrade _git version to 1.8.2 release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-bad_git: bump version to 1.8.2
Maxin B. John [Mon, 27 Jun 2016 03:54:18 +0000 (06:54 +0300)]
gstreamer1.0-plugins-bad_git: bump version to 1.8.2

Upgrade _git version to 1.8.2 release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-good_git: bump version to 1.8.2
Maxin B. John [Mon, 27 Jun 2016 03:54:17 +0000 (06:54 +0300)]
gstreamer1.0-plugins-good_git: bump version to 1.8.2

Upgrade _git version to 1.8.2 release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0_git: bump to 1.8.2
Maxin B. John [Mon, 27 Jun 2016 03:54:16 +0000 (06:54 +0300)]
gstreamer1.0_git: bump to 1.8.2

Upgrade _git version to 1.8.2 release

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0: Upgrade to 1.8.2
Khem Raj [Thu, 23 Jun 2016 22:23:20 +0000 (15:23 -0700)]
gstreamer1.0: Upgrade to 1.8.2

[ fix gstreamer1.0-libav checksum - RB ]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agokernel-module-split.bbclass: add a prefix for module package name pattern
Ricardo Neri [Fri, 24 Jun 2016 23:42:28 +0000 (16:42 -0700)]
kernel-module-split.bbclass: add a prefix for module package name pattern

When splitting kernel modules into individual packages, such packages take
their names from the module name. This is OK under most of the circumstances.
However, it may lead to package naming collisions if there exists two
modules with the same name.

Situations like this can occur when building testing modules. For instance,
there exists testing versions of the modules for non-volatile memory that
are built with different linker options but bear the same module name. If
one wants to package such modules, it is be good to be able to name
packages differently. This can be done by prefixing the package name with
a KERNEL_MODULE_PACKAGE_PREFIX that can be set by the recipes that inherit
from module.bbclass.

Cc: Megha Dey <megha.dey@intel.com>
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowatchdog: Fix build with musl
Khem Raj [Fri, 24 Jun 2016 18:47:02 +0000 (11:47 -0700)]
watchdog: Fix build with musl

A similar patch has been submitted upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc5: Upgrade to gcc 5.4
Khem Raj [Fri, 24 Jun 2016 15:53:09 +0000 (08:53 -0700)]
gcc5: Upgrade to gcc 5.4

Drop patches which has been applied to gcc5 branch
until 5.4 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouclibc: re-enable verbose compilation
André Draszik [Fri, 24 Jun 2016 15:30:11 +0000 (16:30 +0100)]
uclibc: re-enable verbose compilation

uClibc-ng swapped the meaning of V=1 and V=2 in 2015 before
the 1.0.3 release.

Before that, V=2 printed the full commands while V=1 printed the
abbreviated versions.

This recipe was never updated to follow the change and we since
see brief build output only.

At the same time, convert V from an environment variable to
a make variable by adding to EXTRA_OEMAKE, so as to be in
line with how things are done in other recipes that use
kbuild.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouclibc: backport patch to fix gdb 7.11 compilation
André Draszik [Fri, 24 Jun 2016 14:39:42 +0000 (15:39 +0100)]
uclibc: backport patch to fix gdb 7.11 compilation

[YOCTO #9781]

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/kernel: fix symlink logic when bundling initramfs images
André Draszik [Fri, 24 Jun 2016 13:40:08 +0000 (14:40 +0100)]
classes/kernel: fix symlink logic when bundling initramfs images

If linkpath points to the a file in KERNEL_OUTPUT_DIR, rather than
outside, then symlink creation for the bundled initramfs image files
fails.

This is because in that case $linkpath.initramfs and $realpath.initramfs
are in the same directory, KERNEL_OUTPUT_DIR, and hence are the same.
Since we just created $realpath.initramfs, creating a symlink with the
same name will fail.

Given that $linkpath is not necessarily the same as the kernel image type,
just removing this symlink creation is not the right thing to do, as
in that case kernel_do_deploy() wouldn't find the bundled file.

What we really want is a symlink from the name of the initramfs-bundled
kernel image type to the real initramfs-bundled kernel image, as that is
what is actually used later in do_deploy().

This brings the code path for when $KERNEL_OUTPUT_DIR/$type is a symlink
in line with when it is not.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobinutils: backport patch to fix mipsel (malta) kernel compile
André Draszik [Fri, 24 Jun 2016 10:59:40 +0000 (11:59 +0100)]
binutils: backport patch to fix mipsel (malta) kernel compile

This fixes the following compilation error when building a mipsel
yocto kernel for qemu:

|   CC      arch/mips/mm/sc-ip22.o
| {standard input}: Assembler messages:
| {standard input}:128: Error: number (0x9000000080000000) larger than 32 bits
| {standard input}:151: Error: number (0x9000000080000000) larger than 32 bits
| {standard input}:186: Error: number (0x9000000080000000) larger than 32 bits

We leave out the testsuite bits and the changelog in this
backport.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoglib: disable valgrind support when compiling in mips16e mode
André Draszik [Fri, 24 Jun 2016 10:58:30 +0000 (11:58 +0100)]
glib: disable valgrind support when compiling in mips16e mode

| mipsel-poky-linux-uclibc-gcc -mel -mabi=32 -msoft-float \
|   -march=mips32r2 -mips16 -minterlink-compressed -mtune=24kec \
|   -mdsp --sysroot=<sysroot> -DHAVE_CONFIG_H -I. \
|   -I<glib>/glib -I.. -I.. -I../glib -I<glib>/glib -I<glib> \
|   -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DGLIB_COMPILATION \
|   -DPCRE_STATIC -pthread -Wall -Wstrict-prototypes \
|   -Werror=declaration-after-statement -Werror=missing-prototypes \
|   -Werror=implicit-function-declaration -Werror=pointer-arith \
|   -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs \
|   -fvisibility=hidden -O2 -pipe -g -feliminate-unused-debug-types \
|   -c <glib>/glib/gslice.c  -fPIC -DPIC -o .libs/libglib_2_0_la-gslice.o
| {standard input}: Assembler messages:
| {standard input}:2485: Error: invalid operands `move $11,$8'
| {standard input}:2487: Error: invalid operands `srl $0,$0,13'
| {standard input}:2488: Error: invalid operands `srl $0,$0,29'
| {standard input}:2489: Error: invalid operands `srl $0,$0,3'
| {standard input}:2490: Error: invalid operands `srl $0,$0,19'
| {standard input}:2491: Error: invalid operands `or $13,$13,$13'
| Makefile:2076: recipe for target 'libglib_2_0_la-gslice.lo' failed

The alternative would probably be to force compilation in normal mips
mode for all of glib (as is done for armv4 and armv5). While that
would retain the valgrind support, valgrind support itself shouldn't
be needed on the target device, and we rather keep the mips16e mode.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibffi: don't compile in mips16e mode
André Draszik [Fri, 24 Jun 2016 10:58:29 +0000 (11:58 +0100)]
libffi: don't compile in mips16e mode

libffi contains hand-written assembly which is not compatible with
the MIPS16e mode.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouclibc: don't compile in mips16e mode
André Draszik [Fri, 24 Jun 2016 10:58:28 +0000 (11:58 +0100)]
uclibc: don't compile in mips16e mode

uClibc contains hand-written assembly which is not compatible with
the MIPS16e mode.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogmp: don't compile in mips16e mode
André Draszik [Fri, 24 Jun 2016 10:58:27 +0000 (11:58 +0100)]
gmp: don't compile in mips16e mode

gmp contains hand-written assembly which is not compatible with
the MIPS16e mode.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agojson-c: backport patch to fix uClibc link issues
André Draszik [Fri, 24 Jun 2016 10:54:29 +0000 (11:54 +0100)]
json-c: backport patch to fix uClibc link issues

We need to link against libm as we get linker errors otherwise:

<sysroot>/usr/lib/libjson-c.so.2: undefined reference to `__isnan'
<sysroot>/usr/lib/libjson-c.so.2: undefined reference to `__isinf'
collect2: error: ld returned 1 exit status

Backport the upstream patch.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibidn: fix QA warning (uClibc)
André Draszik [Fri, 24 Jun 2016 10:54:28 +0000 (11:54 +0100)]
libidn: fix QA warning (uClibc)

WARNING: libidn-1.32-r0 do_package_qa: QA Issue: libidn rdepends on libiconv, but it isn't a build dependency, missing libiconv in DEPENDS or PACKAGECONFIG? [build-deps]

We already have virtual/libiconv which is set appropriately
in all environments, so let's use it to fix the issue.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclasses/kernel: fix symlink creation in DEPLOYDIR for bundled initramfs
André Draszik [Fri, 24 Jun 2016 10:42:32 +0000 (11:42 +0100)]
classes/kernel: fix symlink creation in DEPLOYDIR for bundled initramfs

If multiple kernel image types have been specified, only the very first
one would receive a symlink in DEPLOYDIR.

The reason is that we're looping over the list of image types and check
if a bundled initramfs images exists using a relative path. As part of
the loop we're changing the current directory, hence all additional
iterations fail to see the files we're looking for, and hence no symlinks
are being created.

Fix by not changing the directory and adjusting the ln invocation instead.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agomusl: Upgrade to tip
Khem Raj [Thu, 23 Jun 2016 22:23:19 +0000 (15:23 -0700)]
musl: Upgrade to tip

Rich Felker (4):
      fix undefined pointer arithmetic in CMSG_NXTHDR macro
      fix a64l undefined behavior on ILP32 archs, wrong results on LP64 archs
      avoid padding gaps in struct sockaddr_storage
      remove comments on copyright status from UTF-8 implementation files

Szabolcs Nagy (8):
      fix the use of uninitialized value in regcomp
      add preadv2 and pwritev2 syscall numbers for linux v4.6
      add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6
      add ETH_P_MACSEC netinet/if_ether.h, new in linux v4.6
      update siginfo struct for linux v4.6
      add CLONE_NEWCGROUP clone flag, new in linux v4.6
      add new tcp_info fields from linux v4.6
      update sys/socket.h to linux v4.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS +=
Alexander Kanavin [Thu, 23 Jun 2016 19:03:48 +0000 (22:03 +0300)]
pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS +=

Otherwise -native variants of recipes that use these classes don't get a proper python[3]-native
dependency for some reason.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorecipetool: recognize less common makefile names
Nathan Lynch [Thu, 23 Jun 2016 16:53:28 +0000 (11:53 -0500)]
recipetool: recognize less common makefile names

GNU make looks for "makefile" and "GNUmakefile" in addition to
"Makefile", so add these other names to the heuristic for detecting a
make-based project.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: upgrade to 230
Chen Qi [Thu, 16 Jun 2016 08:48:12 +0000 (16:48 +0800)]
systemd: upgrade to 230

Patches are rebased or removed for the latest version.

Python testing scripts are removed for systemd-ptest as systemd is
configured with '--without-python'.

systemd-bootchart is now seprated from systemd, thus removing the
related configuration items. And we add systemd-bootchart recipe.

[ systemd-bootchart: add missing distro features check - RB ]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash-completion: delete files util-linux provides
Chen Qi [Tue, 21 Jun 2016 05:10:02 +0000 (13:10 +0800)]
bash-completion: delete files util-linux provides

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoutil-linux: upgrade to 2.28
Chen Qi [Wed, 15 Jun 2016 06:25:16 +0000 (14:25 +0800)]
util-linux: upgrade to 2.28

Related patches are rebased.

util-linux-ng-2.16-mount_lock_path.patch is removed because there's
no _PATH_MOUNTED_LOCK in the latest codes.

util-linux-native.patch is removed because 2.28 version of util-linux
has taken mkostemp into consideration and provide fallback if mkostemp
fails.

avoid_unsupported_sleep_param.patch is removed and coreutils is added
as a runtime dependency to util-linux-ptest to solve the same problem.

avoid_unsupported_grep_opts.patch is removed and grep is added as a
runtime dependency to util-linux-ptest to solve the sanme problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotest-dependencies.sh: Strip also '\.bb; .*' before adding failed recipe to list of...
Martin Jansa [Thu, 23 Jun 2016 10:58:39 +0000 (12:58 +0200)]
test-dependencies.sh: Strip also '\.bb; .*' before adding failed recipe to list of failed

* format of bitbake tasks changed in:
  2c88afb   taskdata/runqueue: Rewrite without use of ID indirection

-ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1'
+ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1'

  so strip not only '\.bb, .*' used before, but also '\.bb;.*' to drop
  the task name to get recipe name.

* for more details see:
  http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html

* without this change you can see test-dependencies.sh trying to rebuild packages
  like:
  Building recipe: fbprogress (6/21)
  Building recipe: fbprogress.bb:do (7/21)
  where the later of course doesn't exist as a recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibcap: fix the libcap-native building failure on CentOS 6.7
Roy Li [Thu, 23 Jun 2016 08:26:43 +0000 (16:26 +0800)]
libcap: fix the libcap-native building failure on CentOS 6.7

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibsdl2: Add missing comma typo
Andrew F. Davis [Wed, 22 Jun 2016 20:11:02 +0000 (15:11 -0500)]
libsdl2: Add missing comma typo

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, STAGING_LIBDIR...
Alexander Kanavin [Wed, 22 Jun 2016 12:06:35 +0000 (15:06 +0300)]
pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, STAGING_LIBDIR, PYTHON variables

We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when
they are not set, scripts that utilize distutils (e.g. python-config) fail.
Several recipes need to export those manually to prevent such failures,
so let's do that in the class instead.

PYTHON variable is exported because otherwise autotools' python.m4
macro will pick up its own internal default, which may not be the version
that we want.

glib recipe in particular was previously using Python 2.x during build due to python.m4
defaulting to it - now it's using Python 3.x, and so needs a small fix in
deletion of *.pyc files.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogdb-cross: do not hardcode the use of Python 2
Alexander Kanavin [Wed, 22 Jun 2016 12:06:34 +0000 (15:06 +0300)]
gdb-cross: do not hardcode the use of Python 2

This was overlooked in the move to Python 3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoconnman-gnome: StatusIcon adapts to size changes
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:29 +0000 (14:52 +0300)]
connman-gnome: StatusIcon adapts to size changes

Update the Gtk3 patch to make the StatusIcon load pixbufs at (more)
correct sizes -- Gtk3 does not seem to reliably position the icon
otherwise.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovte: don't build test app
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:28 +0000 (14:52 +0300)]
vte: don't build test app

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogsettings-desktop-schemas: inherit upstream-version-is-even
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:27 +0000 (14:52 +0300)]
gsettings-desktop-schemas: inherit upstream-version-is-even

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocairo: inherit upstream-version-is-even
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:26 +0000 (14:52 +0300)]
cairo: inherit upstream-version-is-even

Even versions are releases, odd are "snapshots".

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopuzzles: Keep building even with deprecation warnings
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:25 +0000 (14:52 +0300)]
puzzles: Keep building even with deprecation warnings

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoclutter-gtk-1.0: Upgrade 1.6.6 -> 1.8.0
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:24 +0000 (14:52 +0300)]
clutter-gtk-1.0: Upgrade 1.6.6 -> 1.8.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoat-spi2-atk: Upgrade 2.18.1 -> 2.20.1
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:23 +0000 (14:52 +0300)]
at-spi2-atk: Upgrade 2.18.1 -> 2.20.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoat-spi2-core: Upgrade 2.18.3 -> 2.20.2
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:22 +0000 (14:52 +0300)]
at-spi2-core: Upgrade 2.18.3 -> 2.20.2

Add systemd unit, patch in a configure flag to set the correct dir.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoatk: Upgrade 2.18.0 -> 2.20.0
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:21 +0000 (14:52 +0300)]
atk: Upgrade 2.18.0 -> 2.20.0

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+3: Upgrade 3.18.8 -> 3.20.6
Jussi Kukkonen [Wed, 22 Jun 2016 11:52:20 +0000 (14:52 +0300)]
gtk+3: Upgrade 3.18.8 -> 3.20.6

* Remove a patch that's no longer needed (as we don't
  have a problem with client side decorations anymore)
* Wayland build now depends on wayland-protocols:
  Use same WAYLAND_PROTOCOLS_SYSROOT_DIR trick as weston so
  protocols are found and multilib build does not break
* Add new binary gtk-query-settings to -dev package
* Rebase patches
* Modify 0003-Add-disable-opengl-configure-option.patch so
  that gdkx.h really is generated whenever it changes

* Depend on wayland-protocols in gtk+3-dev if Wayland is enabled as otherwise
  the pkg-config files can't be used - RB

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
gtk+3: depend on wayland-protocols if wayland enabled

8 years agoopenssl: prevent warnings from openssl-c_rehash.sh
Joshua Lock [Wed, 22 Jun 2016 10:22:25 +0000 (11:22 +0100)]
openssl: prevent warnings from openssl-c_rehash.sh

The openssl-c_rehash.sh script reports duplicate files and files which
don't contain a certificate or CRL by echoing a WARNING to stdout.
This warning gets picked up by the log checker during rootfs and results
in several warnings getting reported to the console during an image build.

To prevent the log from being overrun by warnings related to certificates
change these messages in openssl-c_rehash.sh to be prefixed with NOTE not
WARNING.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobitbake.conf: Drop BUILDSDK_LDFLAGS rpath, rpath-link
Richard Purdie [Wed, 22 Jun 2016 06:24:16 +0000 (07:24 +0100)]
bitbake.conf: Drop BUILDSDK_LDFLAGS rpath, rpath-link

The SDK used to work differently and didn't include its own libc/loader.
In that case, these options were needed to correctly handle the different
library locations. With the modern relocatable SDK, we don't need these
options any more as the default paths in the dynamic loader are good enough.
They just given potential for errors so drop them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: add PACKAGECONFIG stanza for bzip2
Ross Burton [Fri, 27 Nov 2015 15:14:50 +0000 (15:14 +0000)]
qemu: add PACKAGECONFIG stanza for bzip2

This is just for reading bzip-compressed DMG files, so disable it by default.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agou-boot: extend UBOOT_CONFIG format to support different binary name
Ting Liu [Wed, 15 Jun 2016 15:01:10 +0000 (23:01 +0800)]
u-boot: extend UBOOT_CONFIG format to support different binary name

When using UBOOT_CONFIG format, the final u-boot binary for each config
may have different names. Extend UBOOT_CONFIG format to support different
binary to be copied.

The new format is supposed to be compatible with old one as ${UBOOT_BINARY}
is copied by default, and images,binary can be empty.

An example format to specify it, in the machine, is:
UBOOT_CONFIG ??= "sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"
UBOOT_CONFIG[nor] = "ls1021atwr_nor_config,,u-boot-dtb.bin"
UBOOT_CONFIG[sdcard-ifc] = "ls1021atwr_sdcard_ifc_config,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[sdcard-qspi] = "ls1021atwr_sdcard_qspi_config,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config,,u-boot-dtb.bin"
UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config,,u-boot-dtb.bin"
UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config"

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoe2fsprogs: tweak mke2fs ext4 features
Hongxu Jia [Wed, 22 Jun 2016 03:22:42 +0000 (23:22 -0400)]
e2fsprogs: tweak mke2fs ext4 features

While e2fsprogs upgraded to 1.43, it dropped the patch
Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch,
we get it back and rebase for 1.43 to fix invoking grub-probe
failed.

Without the fix:
...
root@localhost:~# mkfs.ext4 /dev/sda3
[skip]
root@localhost:~# grub-probe --target=fs -d /dev/sda3
grub-probe: error: unknown filesystem.
...

After apply the fix:
...
root@localhost:~# mkfs.ext4 /dev/sda3
[skip]
root@localhost:~# grub-probe --target=fs -d /dev/sda3
ext2
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogst-player: upgrade to latest HEAD
Ross Burton [Fri, 17 Jun 2016 17:53:20 +0000 (18:53 +0100)]
gst-player: upgrade to latest HEAD

Update to the latest revision now that we have gst-plugins-bad 1.8.x which has
integrated the GstPlayer object.  This upstream is now just the user interface,
so remove all redundant items from the packaging and package the binaries in PN
instead of PN-bin.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopuzzles: fix Samba conflict, clean up recipe
Ross Burton [Tue, 21 Jun 2016 18:59:16 +0000 (19:59 +0100)]
puzzles: fix Samba conflict, clean up recipe

The impetus for this was that puzzles-extra contains /usr/bin/net which
conflicts with Samba.  Hopefully it's not controversial to say that Samba has
priority here, so rename the binary in this recipe to puzzles-net.

Also fix the out-of-tree build problems (just run mkfiles in ${S}) so
autotools-brokensep doesn't need to be used.

Modernise the anonymous Python block.

Use ${bindir} instead of ${prefix}/bin.

Use autotools do_install and append instead of brokenly replicating the install
logic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.4: sensor driver backports
Bruce Ashfield [Tue, 21 Jun 2016 15:20:27 +0000 (11:20 -0400)]
linux-yocto/4.4: sensor driver backports

Backporting the following mainline commits to make additional sensor
drivers available:

 iio: st-accel: add support for lis2dh12
 iio: accel: add Freescale MMA7455L/MMA7456L 3-axis accelerometer driver

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: pstate backports
Bruce Ashfield [Tue, 21 Jun 2016 15:20:26 +0000 (11:20 -0400)]
linux-yocto/4.1: pstate backports

Backporting the following pstate changes:

  fb0153332a1f intel_pstate: Add SKY-S support
  7eb5c7e382a8 intel_pstate: enable HWP per CPU
  d73ee41f9786 x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h>
  f447e3d661f7 intel_pstate: Force setting target pstate when required
  7db69b864737 intel_pstate: change some inconsistent debug information
  367ff9c73d83 intel_pstate: Add tsc collection and keep previous target pstate

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: driver, mmc and power backports
Bruce Ashfield [Tue, 21 Jun 2016 15:20:25 +0000 (11:20 -0400)]
linux-yocto/4.1: driver, mmc and power backports

Backporting the following changes from the mainline kernel for improved
power, driver core and mmc support:

  x86 tsc_msr: Remove irqoff around MSR-based TSC enumeration
  x86 tsc_msr: Add Airmont reference clock values
  x86 tsc_msr: Correct Silvermont reference clock values
  x86 tsc_msr: Update comments, expand definitions
  x86 tsc_msr: Remove debugging messages
  x86 tsc_msr: Identify Intel-specific code
  mmc: block: Pause re-tuning while switched to the RPMB partition
  mmc: block: Always switch back to main area after RPMB access
  mmc: core: Add a facility to "pause" re-tuning
  mmc: block: Add new ioctl to send multi commands
  cpuidle: powernv/pseries: Auto-promotion of snooze to deeper idle state
  cpuidle: Do not use CPUIDLE_DRIVER_STATE_START in cpuidle.c
  cpuidle: Select a different state on tick_broadcast_enter() failures
  sched / idle: Call default_idle_call() from cpuidle_enter_state()
  sched / idle: Call idle_set_state() from cpuidle_enter_state()
  cpuidle: Fix the kerneldoc comment for cpuidle_enter_state()
  sched / idle: Eliminate the "reflect" check from cpuidle_idle_call()
  cpuidle: Check the sign of index in cpuidle_reflect()
  sched / idle: Move the default idle call code to a separate function
  powercap / RAPL: Add support for Broadwell-H
  module: add extra argument for parse_params() callback
  Driver core: wakeup the parent device before trying probe
  base:dd - Fix for typo in comment to function driver_deferred_probe_trigger().

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: SPI, MFD, alsa and perf backports
Bruce Ashfield [Tue, 21 Jun 2016 15:20:24 +0000 (11:20 -0400)]
linux-yocto/4.1: SPI, MFD, alsa and perf backports

Backporting the following mainline support for enhanced/improved support
on BXT based platforms.

  spi: pxa2xx: Fix too early chipselect deassert
  spi: pxa2xx: Update comment in int_transfer_complete()
  spi: pxa2xx: Print actual DMA/PIO transfer mode in debug messages
  spi: atmel: remove warning when !CONFIG_PM_SLEEP
  spi: fix kernel-doc warnings in spi.h
  spi: expose spi_master and spi_device statistics via sysfs
  spi: meson: Fix module autoload for OF platform driver
  spi: bcm2835: BUG: fix wrong use of PAGE_MASK
  spi: bcm2835: fix overflow in calculation of transfer time
  spi: bcm2835: bcm2835_dma_release() can be static
  spi: bcm2835: fix kbuild compile warnings/errors and a typo
  spi: bcm2835: enable dma modes for transfers meeting certain conditions
  spi: bcm2835: fallback to interrupt for polling timeouts exceeding 2 jiffies
  spi: spi-pxa2xx: Remove unused legacy null dma buffer and allocation for it
  mfd: intel-lpss: Save register context on suspend
  mfd: intel-lpss: Pass I2C configuration via properties on BXT
  perf/x86: Fix time_shift in perf_event_mmap_page
  perf/x86: Improve accuracy of perf/sched clock
  ALSA: hda - Move send_cmd / get_response to hdac_bus_ops
  ALSA: hda - Merge codec and controller helpers
  ALSA: hda - moved alloc/free stream pages function to controller library
  ALSA: hda - Add DSP loader to core library code
  ALSA: hda - Add the controller helper codes to hda-core module
  ALSA: hda - Handle error from get_response bus ops directly
  Revert "ALSA: hda - fix number of devices query on hotplug"

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-yocto/4.1: tpm2, pinctrl, powercap and watchdog backports
Bruce Ashfield [Tue, 21 Jun 2016 15:20:23 +0000 (11:20 -0400)]
linux-yocto/4.1: tpm2, pinctrl, powercap and watchdog backports

Backporting the following changes from the mainline kernel to enhance/add
support for tpm2, pinctrl, powercap and watchdog:

   634eecdb20b watchdog: omap_wdt: fix null pointer dereference
   79dcc6dabe63 Watchdog: Fix parent of watchdog_devices
   94a2e8f1d47e watchdog: st_wdt: Update IP layout information to include Clocksource
   3a74938a9610 watchdog: st_wdt: Add new driver for ST's LPC Watchdog
   fb6b94faa82c watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC
   22fb7b1353dd watchdog: omap_wdt: early_enable module parameter
   aa70c2480483 watchdog: omap_wdt: implement get_timeleft
   47b7a1a5f70f watchdog: docs: omap_wdt also understands nowayout
   9d833b82f706 watchdog: omap: put struct watchdog_device into driver data
   87ded7189286 watchdog: omap: use watchdog_init_timeout instead of open coding it
   abccc104fcad watchdog: da9062: DA9062 watchdog driver
   95f8b1024989 pinctrl: intel: fix offset calculation issue of register PAD_OWN
   8e6606474fa0 pinctrl: intel: fix bug of register offset calculation
   2423468cb317 MAINTAINERS: add new maintainer for TPM DEVICE DRIVER
   cf94113f05a6 sysfs: added __compat_only_sysfs_link_entry_to_kobj()
   cdb63d5cd801 tpm: fix missing migratable flag in sealing functionality for TPM2
   95f738feaafe keys, trusted: seal/unseal with TPM 2.0 chips
   92eb9052fd50 tpm: seal/unseal for TPM 2.0
   d9c7bb89ec85 keys, trusted: move struct trusted_key_options to trusted-type.h
   a3b394e91b31 tpm: introduce tpm_buf
   bd68d3a21139 tpm: move the PPI attributes to character device directory.
   54fb01659b83 tpm, tpm_crb: fix unaligned read of the command buffer address
   0ab522f5ef11 powercap / RAPL: disable the 2nd power limit properly
   9ba8c36e9ea7 thermal/powerclamp: remove cpu whitelist
   2971561c8fc9 thermal/powerclamp: add cpu id for Skylake u/y
   cec457da34d0 thermal/powerclamp: add cpu id for denlow platform
   fc30ea2abdc5 thermal/powerclamp: add cpu id for skylake h/s
   3eea18356747 intel powerclamp: support Knights Landing

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitramfs-framework: base: Ensures /run/lock is available
Otavio Salvador [Mon, 20 Jun 2016 18:23:53 +0000 (15:23 -0300)]
initramfs-framework: base: Ensures /run/lock is available

Depending on the module we use, the /run/lock may be required. This
creates it as part of initial setup and thus makes it available for
every sub module.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoinitramfs-framework: mdev: Add a runtime dependency on busybox-mdev
Otavio Salvador [Mon, 20 Jun 2016 18:23:52 +0000 (15:23 -0300)]
initramfs-framework: mdev: Add a runtime dependency on busybox-mdev

The mdev support relies on the mdev support inside busybox, which thus
builds the busybox-mdev package. Adding the runtime dependency ensures
its installation fails if mdev support is disabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: add iwlwifi-misc package for remaining iwlwifi firmware
Christopher Clark [Mon, 20 Jun 2016 17:48:55 +0000 (10:48 -0700)]
linux-firmware: add iwlwifi-misc package for remaining iwlwifi firmware

Package all remaining iwlwifi firmwares that are not individually
packaged into a single package. This is distinct from the virtual
linux-firmware-iwlwifi package so that the -misc firmwares can be
installed without pulling in all other firmwares via dependencies.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: add iwlwifi virtual package of all iwlwifi firmwares
Christopher Clark [Mon, 20 Jun 2016 17:48:54 +0000 (10:48 -0700)]
linux-firmware: add iwlwifi virtual package of all iwlwifi firmwares

Depends upon all available iwlwifi firmware packages at build time.
Fix typo in ALLOW_EMPTY of earlier version.

Motivation: simplifies inclusion of all Intel wifi firmwares.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: fix typo in RDEPENDS line for iwlwifi-6000g2b-5
Christopher Clark [Mon, 20 Jun 2016 17:48:53 +0000 (10:48 -0700)]
linux-firmware: fix typo in RDEPENDS line for iwlwifi-6000g2b-5

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: add LICENSE line for iwlwifi-license package
Christopher Clark [Mon, 20 Jun 2016 17:48:52 +0000 (10:48 -0700)]
linux-firmware: add LICENSE line for iwlwifi-license package

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: fix typo in LICENSE line for iwlwifi-6000g2b-5
Christopher Clark [Mon, 20 Jun 2016 17:48:51 +0000 (10:48 -0700)]
linux-firmware: fix typo in LICENSE line for iwlwifi-6000g2b-5

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/targetbuild: use os.path.join instead of string concatenation
Ross Burton [Mon, 20 Jun 2016 16:39:20 +0000 (17:39 +0100)]
oeqa/targetbuild: use os.path.join instead of string concatenation

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/targetbuild: add extra_cmds argument to run_configure
Ross Burton [Mon, 20 Jun 2016 16:37:31 +0000 (17:37 +0100)]
oeqa/targetbuild: add extra_cmds argument to run_configure

Some upstreams need more than just gnu-configize ran before ./configure works,
such as ./autogen.sh or autoreconf.  Add extra_args (defaulting to
gnu-configize) so that this can be done in test cases.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/targetbuild: fix folder name estimate logic
Ross Burton [Mon, 20 Jun 2016 16:32:31 +0000 (17:32 +0100)]
oeqa/targetbuild: fix folder name estimate logic

The re.sub() used to transform a tarball into a best guess folder name wasn't
right, as there isn't enough escaping and tar.xz was missing.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotzdata: update to 2016e
Armin Kuster [Tue, 14 Jun 2016 21:50:22 +0000 (14:50 -0700)]
tzdata: update to 2016e

Changes affecting future time stamps

Africa/Cairo observes DST in 2016 from July 7 to the end of October.
Guess October 27 and 24:00 transitions. (Thanks to Steffen Thorsen.)
For future years, guess April's last Thursday to October's last
Thursday except for Ramadan.

Changes affecting past time stamps

Locations while uninhabited now use '-00', not 'zzz', as a
placeholder time zone abbreviation.  This is inspired by Internet
RFC 3339 and is more consistent with numeric time zone
abbreviations already used elsewhere.  The change affects several
arctic and antarctic locations, e.g., America/Cambridge_Bay before
1920 and Antarctica/Troll before 2005.

Asia/Baku's 1992-09-27 transition from +04 (DST) to +04 (non-DST) was
at 03:00, not 23:00 the previous day.  (Thanks to Michael Deckers.)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotzcode: update to 2016e
Armin Kuster [Tue, 14 Jun 2016 21:50:21 +0000 (14:50 -0700)]
tzcode: update to 2016e

V2: typo in title (jet lagged)
Changes to code

zic now outputs a dummy transition at time 2**31 - 1 in zones
whose POSIX-style TZ strings contain a '<'.  This mostly works
around Qt bug 53071 <https://bugreports.qt.io/browse/QTBUG-53071>.
(Thanks to Zhanibek Adilbekov for reporting the Qt bug.)

Changes affecting documentation and commentary

tz-link.htm says why governments should give plenty of notice for
time zone or DST changes, and refers to Matt Johnson's blog post.
tz-link.htm mentions Tzdata for Elixir.  (Thanks to Matt Johnson.)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoqemu: Use Gtk+3, add configure patch to find vte
Jussi Kukkonen [Fri, 17 Jun 2016 19:37:49 +0000 (22:37 +0300)]
qemu: Use Gtk+3, add configure patch to find vte

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibmad: remove recipe
Alexander Kanavin [Mon, 20 Jun 2016 12:56:48 +0000 (15:56 +0300)]
libmad: remove recipe

[YOCTO #6020]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogstreamer1.0-plugins-ugly: disable mad, enable mpg123
Alexander Kanavin [Mon, 20 Jun 2016 12:56:47 +0000 (15:56 +0300)]
gstreamer1.0-plugins-ugly: disable mad, enable mpg123

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agompg123: add a recipe from meta-oe
Alexander Kanavin [Mon, 20 Jun 2016 12:56:46 +0000 (15:56 +0300)]
mpg123: add a recipe from meta-oe

The recipe is updated to latest upstream release.
Also audiofile dependency is dropped as it's not actually used anywhere.

[YOCTO #6020]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosecurity_flags.inc: add python3-pycairo and libnewt-python to no-pie exception list
Alexander Kanavin [Mon, 20 Jun 2016 12:56:44 +0000 (15:56 +0300)]
security_flags.inc: add python3-pycairo and libnewt-python to no-pie exception list

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosecurity_flags.inc: add SECURITY_NO_PIE_CFLAGS to libgcc and gcc-sanitizers
Alexander Kanavin [Mon, 20 Jun 2016 12:56:43 +0000 (15:56 +0300)]
security_flags.inc: add SECURITY_NO_PIE_CFLAGS to libgcc and gcc-sanitizers

These recipes no longer seem to need full exclusion from security hardening.

The rest (glibc, gcc-runtime, valgrind, grub, grub-efi, uclibc) still do.

[YOCTO #9489]

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobitbake.conf: don't set CCACHE_DIR to $HOME by default
Ross Burton [Mon, 20 Jun 2016 12:13:09 +0000 (13:13 +0100)]
bitbake.conf: don't set CCACHE_DIR to $HOME by default

If the user hasn't inherited ccache.bbclass then CCACHE_DIR is set to $HOME.

This was to work around a bug (#2554) for some users where if ccache < 3.1.10
(released 2014-10-19) was installed and enabled by default (i.e. /usr/bin/gcc is
a symlink to ccache) and ccache.bbclass wasn't being inherited then autogen
would fail to build because it sets $HOME to /dev/null during the build and
ccache (prior to 3.1.10) would always create CCACHE_DIR even if it was disabled.
As the default is $HOME/.ccache, this results in ccache attempting to create
/dev/null/.ccache.

However there was a mistake in this assignment of CCACHE_DIR - it should be
$HOME/.ccache - as ccache will do cleanup inside CCACHE_DIR which will result in
it deleting $HOME/tmp.  In the future when we can assume that everyone has
ccache 3.1.10 onwards this assignment can be deleted, but as of now we still
support OpenSUSE 13.2 which ships with 3.1.9 so fix the assignment to be
$HOME/.ccache.

[ YOCTO #9798 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobinutils: configure with --enable-deterministic-archives
Andre McCurdy [Fri, 17 Jun 2016 18:33:12 +0000 (11:33 -0700)]
binutils: configure with --enable-deterministic-archives

Causes ar to use zero for timestamps and uids/gids by default when
creating static archives, which helps make builds deterministic.

  https://bugzilla.redhat.com/show_bug.cgi?id=1124342
  https://wiki.debian.org/ReproducibleBuilds/TimestampsInStaticLibraries

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodbus/dbus-test: upgrade to 1.10.8
Chen Qi [Fri, 17 Jun 2016 03:36:44 +0000 (11:36 +0800)]
dbus/dbus-test: upgrade to 1.10.8

0001-configure.ac-support-large-file-for-stat64.patch is removed as it's
a backported patch and is already in the latest codes.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopkg: upgrade to v0.3.2
Alejandro del Castillo [Wed, 15 Jun 2016 22:13:42 +0000 (17:13 -0500)]
opkg: upgrade to v0.3.2

* Drop merged patches
* Update libsolv PACKAGECONFIG config option

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssh: fix init script restart with read-only-rootfs
Matthew Campbell [Tue, 14 Jun 2016 21:34:18 +0000 (17:34 -0400)]
openssh: fix init script restart with read-only-rootfs

restart in the init script uses the check_config() function which doesn't have
the $SSHD_OPTS passed through. This causes it to check the wrong config (and
fail when read-only-rootfs is enabled.

Signed-off-by: Matthew Campbell <mcampbell@izotope.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopackagegroups: use new gst-player package name
Ross Burton [Fri, 17 Jun 2016 18:09:19 +0000 (19:09 +0100)]
packagegroups: use new gst-player package name

The package that the gst-player binary is in has changed from gst-player-bin to
gst-player.

Signed-off-by: Ross Burton <ross.burton@intel.com>