]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
8 years agozip: update SRC_URI
Ross Burton [Thu, 19 May 2016 10:43:18 +0000 (11:43 +0100)]
zip: update SRC_URI

The infozip FTP server appears to have been taken down, so change the SRC_URI to
point at their SourceForge project.

Also as the SRC_URI can't be generated from the version and there is no other
user of the .inc, merge the .bb and .inc together.

[ YOCTO #9655 ]

(From OE-Core rev: 5cb1e0ec46e4fde1c15aeb6812eaaece4840ac1c)

removed fix-security-format.patch changes

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoclasses/base: get_lic_checksum_file_list imporve validaton of url's
Aníbal Limón [Wed, 11 May 2016 16:41:55 +0000 (11:41 -0500)]
classes/base: get_lic_checksum_file_list imporve validaton of url's

When specify an URL different that supported file:// the function
returns an empty path causing an exception without notice the user
that the URL is Malformed.

[YOCTO #9211]

(From OE-Core rev: 6c28251d3d187b60ceb534055dbd8b4fffd06429)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agocoreutils: fix for native and nativesdk
Dengke Du [Tue, 26 Apr 2016 05:59:19 +0000 (22:59 -0700)]
coreutils: fix for native and nativesdk

The do_install_append is used for moving/renaming for ALTERNATIVE, but
it breaks native, for example there is no ln, but ln.coreutils, that
makes coreutils-native don't work. This patch fixes the problem.

(From OE-Core rev: 1b5b831d1bbb92760ce01b38347cf0bcaa1bb59f)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agognu-efi: set COMPATIBLE_HOST_armv4 to null
Robert Yang [Thu, 21 Apr 2016 06:16:47 +0000 (23:16 -0700)]
gnu-efi: set COMPATIBLE_HOST_armv4 to null

It doesn't build with armv4:
lib1funcs.S: Assembler messages:
Assembler messages:
gnu-efi-3.0.3/lib/arm/lib1funcs.S:140: Error: selected processor does not support `clz r3,r1' in ARM mode
gnu-efi-3.0.3/lib/arm/div64.S:95: Error: selected processor does not support `clz r2,r4' in ARM mode
gnu-efi-3.0.3/lib/arm/lib1funcs.S:140: Error: selected processor does not support `clz r2,r0' in ARM mode
[snip]

(From OE-Core rev: a3e958fae0cd6349a03fececcaa3d880c73b9298)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agocogl-1.0: set COMPATIBLE_HOST_armv4 to null
Robert Yang [Thu, 21 Apr 2016 06:16:47 +0000 (23:16 -0700)]
cogl-1.0: set COMPATIBLE_HOST_armv4 to null

It doesn't build with armv4:
cogl-texture-deprecated.c  -fPIC -DPIC -o deprecated/.libs/cogl-texture-deprecated.o
{standard input}: Assembler messages:
{standard input}:831: Error: selected processor does not support `clz r3,r0' in ARM mode
make[4]: *** [deprecated/cogl-fixed.lo] Error 1
[snip]

(From OE-Core rev: 858dc0b21e2b65b90c115411c678ae8ca80134e5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoopenssh: change URI to http:
Ross Burton [Mon, 16 May 2016 09:42:24 +0000 (10:42 +0100)]
openssh: change URI to http:

The OpenBSD FTP server isn't accepting connections from wget, which breaks
fetches.  Luckily they also have a HTTP server on the same host.

[ YOCTO #9628 ]

(From OE-Core rev: 8b10f0af3c434145b460fd5d7a9f394dc1284260)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agounzip: update SRC_URI
Ross Burton [Thu, 19 May 2016 10:43:17 +0000 (11:43 +0100)]
unzip: update SRC_URI

The infozip FTP server appears to have been taken down, so change the SRC_URI to
point at their SourceForge project.

[ YOCTO #9655 ]

(From OE-Core rev: 879b2c5ee2ae39d6c1ae9d44ab243d8c7b7874b4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agowic: fix path parsing, use last occurrence
George McCollister [Fri, 13 May 2016 14:22:53 +0000 (09:22 -0500)]
wic: fix path parsing, use last occurrence

If the path contains 'scripts' more than once the first occurrence will be
incorrectly used. Use rfind instead of find to find the last occurrence.

(From OE-Core rev: f30c486c17060d2f21618612804a692512ad6a57)

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agomkefidisk.sh: mount images as read-only
Raymond Tan [Tue, 17 May 2016 05:41:09 +0000 (13:41 +0800)]
mkefidisk.sh: mount images as read-only

Mount the hddimg and rootfs.img as read-only when creating the bootable
image on the medium. Otherwise, the md5 checksum values of the hddimg will
be altered. As this changed checksum value might cause issue for users
whom would reuse the hddimg.

(From OE-Core rev: a1391c8a603f0ed972ee0bcc8c74999f5f43be43)

Signed-off-by: Raymond Tan <raymond.tan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agopython-smartpm: Fix channel command --remove-all option (again)
Klauer, Daniel [Tue, 17 May 2016 12:55:39 +0000 (12:55 +0000)]
python-smartpm: Fix channel command --remove-all option (again)

SmartPM's --remove-all option was unusable, because the fix from
commit 03266e89a6 was lost in commit 5fc580fc44. Thus, add a new
patch to fix --remove-all.

It seems like the previous fix was lost by mistake:
Upstream merged the *old* version of the patch (smartpm 406541f569),
and when SmartPM in oe-core was upgraded to the new upstream release,
the --remove-all fix from the *new* patch was not carried over.

(From OE-Core rev: ba2adda60dd34b6a8feba413e3207dd8e4580294)

Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopython-numpy: fix build failure with python-matplotlib
Armin Kuster [Tue, 17 May 2016 06:58:37 +0000 (23:58 -0700)]
python-numpy: fix build failure with python-matplotlib

Fix for aarch64, mips64 and ppc64

numpy/core/include/numpy/npy_common.h:149:10: error:
|          #error Unsupported size for type off_t

(From OE-Core rev: dff54b8affad38ffcd5f80308f4c3a265dc2dbae)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoopenssl: prevent ABI break from earlier krogoth releases
Joshua Lock [Thu, 12 May 2016 12:06:34 +0000 (13:06 +0100)]
openssl: prevent ABI break from earlier krogoth releases

The backported upgrade to 1.0.2h included an updated GNU LD
version-script which results in an ABI change. In order to try and
respect ABI for existing binaries built against fido this commit
partially reverts the version-script to maintain the existing ABI
and instead only add the new symbols required by 1.0.2h.

Suggested-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: 480db6be99f9a53d8657b31b846f0079ee1a124f)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agobitbake.conf: add default for IMAGE_FSTYPES_DEBUGFS
Ross Burton [Fri, 6 May 2016 11:26:05 +0000 (12:26 +0100)]
bitbake.conf: add default for IMAGE_FSTYPES_DEBUGFS

If debug filesystem generation is enabled but this isn't assigned then the
generation code throws exceptions.

(From OE-Core rev: 0a1b02fab0e2604cd55ea6f45d764a864599213a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agometadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo
Peter Kjellerstedt [Fri, 29 Apr 2016 17:03:45 +0000 (19:03 +0200)]
metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo

The functions base_detect_revision() and base_detect_branch() try to
extract SCM meta information from the path returned by
base_get_scmbasepath(), which currently returns ${COREBASE}. However,
making the assumption that ${COREBASE} contains SCM meta information
can be false. It is true for Poky, but not necessarily other
environments. A better option is to look for the SCM meta information
based on the meta layer.

Since this works as expected for Git but not SVN, the call to
base_get_metadata_svn_revision() from base_detect_revision() was also
removed. This is not expected to affect anyone (partly based on the
comment in base_get_metadata_svn_revision()).

(From OE-Core rev: 53fd0a4a37023642a770a9fbf3cd5511d3c82af7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolttng-tools: filter random filename of ptest output
Dengke Du [Fri, 29 Apr 2016 08:36:45 +0000 (04:36 -0400)]
lttng-tools: filter random filename of ptest output

When run the ptest of lttng-tools, it produced many random filename
when the tests passed, the output confused QA analysis, so we need
to filter the ptest output if tests passed and add up the passed and
failed tests.

NOTE:The tests invoked the run.sh twice, so it output like this:
...
FAIL:...
unit_tests statistics
total pass: 133 tests passed!
total fail: 5 tests failed!
...
FAIL:...
fast_regression statistics
total pass: 1904 tests passed!
total fail: 202 tests failed!

(From OE-Core rev: 29a8c45be2862be02afe2ebbc5c026a42f351990)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agofeature-arm-neon.inc: restore vfpv3-d16 support
André Draszik [Tue, 26 Apr 2016 09:27:59 +0000 (10:27 +0100)]
feature-arm-neon.inc: restore vfpv3-d16 support

Commit 6661718 (feature-arm-{neon,vfp}.inc: refactor and fix issues)
effectively changed the gcc -mfpu= option from -mfpu=vfpv3-d16 to
-mfpu=vfpv3d16, which gcc doesn't understand.

Restore the original value.

After doing that, we also need to adjust ARMPKGSFX_FPU which should
contain the same value without dash '-' as it is used that way
throughout.

(From OE-Core rev: 972b4fc459258572eeaad8af91e48ee9f0acade7)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agopopulate_sdk_ext: Change lockedsigs task mismatch to a warning
Randy Witt [Mon, 2 May 2016 00:13:02 +0000 (17:13 -0700)]
populate_sdk_ext: Change lockedsigs task mismatch to a warning

It has been determined that it is highly likely that users might get
signatures that don't match in an extensible sdk. This doesn't
necessarily happen with oe-core, so we can set the mismatch to an error
during testing if we like.

However, for the case where users are creating their own sdks, we don't
need an error halting their progress. locked-sigs will still function as
it should.

(From OE-Core rev: 6ba86d847275126bf435f144e7d029d10e7ab17d)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agopopulate_sdk_ext.bbclass : Show logfile in case the SDK EXT installation failed
Leonardo Sandoval [Wed, 4 May 2016 14:50:01 +0000 (09:50 -0500)]
populate_sdk_ext.bbclass : Show logfile in case the SDK EXT installation failed

To avoid lots of output in the SDK EXT installation phase, system redirects
it to a logfile ($target_sdk_dir/preparing_build_system.log) but in case of error,
the contents should be shown so debugging could be faster.

[YOCTO #9576]

(From OE-Core rev: 227d2cbf9e0b8c35fa6644e3d72e0699db9607fa)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agoclasses/image_vm: allow different filesystems to be used for VM images.
Ian Reinhart Geiser [Fri, 29 Apr 2016 12:41:49 +0000 (08:41 -0400)]
classes/image_vm: allow different filesystems to be used for VM images.

This allows for things like btrfs to be used vs just ext4.
The default value of ext4 is kept so there is no functional
change unless VM_ROOTFS_TYPE is set in the inherting recipe.

(From OE-Core rev: df0b217f3df2c36a32e5c4afaec36a28bfc77bbb)

Signed-off-by: Ian Reinhart Geiser <geiseri@geekcentral.pub>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoimage_types: fix image/compression dependency collection
Ross Burton [Tue, 3 May 2016 16:28:01 +0000 (17:28 +0100)]
image_types: fix image/compression dependency collection

As compressions can be chained (i.e. cpio.bz2.md5sum) we need to walk the fstype
list to collect the dependencies from each step.

(From OE-Core rev: 05c59ed987cdddc00e9e217032a69197e40a8448)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolibpcre: Fix CVE-2016-3191
Ismo Puustinen [Wed, 4 May 2016 13:06:46 +0000 (16:06 +0300)]
libpcre: Fix CVE-2016-3191

Fix workspace overflow for (*ACCEPT) with deeply nested parentheses.

The patch is from libpcre version control at
http://vcs.pcre.org/pcre?view=revision&revision=1631 with the ChangeLog
part removed. Original author is Philip Hazel.

(From OE-Core rev: 386534f968f4da376ba7778b5d436bad4ce8355b)

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolibrsvg: Security fixes via update to 2.40.15
Armin Kuster [Tue, 3 May 2016 13:33:36 +0000 (06:33 -0700)]
librsvg: Security fixes via update to 2.40.15

CVE-2016-4347 librsvg2: DoS parsing SVGs with circular definitions in certain rsvg_cairo_*() functions

CVE-2016-4348 librsvg2: DoS parsing SVGs with circular definitions _rsvg_css_normalize_font_size() function

(From OE-Core rev: 76f061c91fd00370e33bfc3d45ff98d8b3f63c41)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoalsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.
Yuqing Zhu [Wed, 4 May 2016 09:46:46 +0000 (17:46 +0800)]
alsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.

The appl pointer needs to be updated only when snd_pcm_mmap_commit() is
successfully returned. Or it shouldn't be updated.
This is to fix the avail_update()'s result is incorrect when returns error.

(From OE-Core rev: fcd7e439497174256a5c467532aad402f4d19ca1)

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogdb: fix QA warning (uClibc)
André Draszik [Fri, 29 Apr 2016 10:45:47 +0000 (11:45 +0100)]
gdb: fix QA warning (uClibc)

WARNING: QA Issue: gdb rdepends on libiconv, but it isn't a build dependency? [build-deps]

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

(From OE-Core rev: 255699aeb9275d609e7c03ead69ac902456674dd)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobase-files: add some safety checks in profile
Diego Rondini [Fri, 29 Apr 2016 10:24:09 +0000 (12:24 +0200)]
base-files: add some safety checks in profile

Add some safety checks when sourcing files in /etc/profile.d/, in particular:
- source only *.sh files, not every file. This is the practice in use in both
  Fedora and Debian/Ubuntu (see
  https://help.ubuntu.com/community/EnvironmentVariables#A.2Fetc.2Fprofile.d.2F.2A.sh);
- check the input is actually a file and is readable. This check is especially
  important if profile.d is empty, as "*.sh" will get expanded only if
  profile.d is not empty. Previously if profile.d was present but empty,
  "/etc/profile.d/*" was sourced causing errors on login and breaking stuff, for
  example X startup.

(From OE-Core rev: 8961bc4b71723477a3b4a837a1d9c25c1b860b9e)

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobitbake.conf: change APACHE_MIRROR to point at archive.apache.org
Ross Burton [Fri, 29 Apr 2016 10:48:24 +0000 (11:48 +0100)]
bitbake.conf: change APACHE_MIRROR to point at archive.apache.org

The official download servers www.[country].apace.org only host the latest
release, so the URL is only valid when the recipe is fully up to date.

In the general case this isn't a problem as our mirror list includes
archive.apache.org, but the upstream URI checking (the checkuri task) fails as
that explicitly doesn't use the mirrors.

(From OE-Core rev: ddd003805782e1fcfc3d59d9b0a1277cf3d1fae9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agomesa: add PACKAGECONFIG for gbm
Ross Burton [Tue, 26 Apr 2016 13:57:23 +0000 (14:57 +0100)]
mesa: add PACKAGECONFIG for gbm

gbm is an optional library and some environments (for example, mesa-gl where
there are separate drivers that provide libgbm) may not want to build it.

(From OE-Core rev: bb5265a31587e4a4d4df4d42f343054d6c224e24)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolibxsettings-client: fix COPYING file
Robert Yang [Wed, 27 Apr 2016 02:20:30 +0000 (19:20 -0700)]
libxsettings-client: fix COPYING file

Fixed:
* Move the code of copy COPYING file from do_configure_append() to
  do_patch[postfuncs] since we had moved license-checksum from
  do_package_qa to do_populate_lic.
* Add xsettings-client.c and xsettings-common.c to LIC_FILES_CHKSUM.
* Update comments.

(From OE-Core rev: 89332686ac6c756672cbf67c2df70c5150efa998)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agodbus-test: install executables not libtool wrapper scripts
Ross Burton [Wed, 27 Apr 2016 16:20:14 +0000 (17:20 +0100)]
dbus-test: install executables not libtool wrapper scripts

All of the binaries are linked with libtool now, so install the binaries and not
the wrapper scripts.

Also remove dbus-1.init from SRC_URI as dbus-test doesn't use it.

[ YOCTO #9528 ]

(From OE-Core rev: a4b5076b2c06cafff0ce764955d0aa7c334c7a8e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agomesa-demos: remove demos using obsolete screen surface
Awais Belal [Fri, 22 Apr 2016 13:24:48 +0000 (18:24 +0500)]
mesa-demos: remove demos using obsolete screen surface

The mesa surface EGL_MESA_screen_surface was obsoleted
and then dropped from mesa some time ago. Drop demos
depending on this.

(From OE-Core rev: 061c53c86e483c65f5cd350d6587dbae53c4ee75)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoarch-powerpc64.inc: disable the use of qemu usermode on ppc64
Alexander Kanavin [Wed, 27 Apr 2016 12:44:48 +0000 (15:44 +0300)]
arch-powerpc64.inc: disable the use of qemu usermode on ppc64

It simply does not work at all:
https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html

(From OE-Core rev: d044743cdc415745e68f3e26a3a7e2c94caecd93)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoeudev: add PACKAGECONFIG for hwdb
Ross Burton [Wed, 27 Apr 2016 11:54:51 +0000 (12:54 +0100)]
eudev: add PACKAGECONFIG for hwdb

Some users may not want the hwdb at all, so add a PACKAGECONFIG option to
disable building it entirely.

(From OE-Core rev: 7006d3084bd4d6aab2ca64d052df3a014abaf813)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolibxml2: fix dependencies and QA Issues
Maxin B. John [Tue, 26 Apr 2016 08:48:25 +0000 (11:48 +0300)]
libxml2: fix dependencies and QA Issues

Fix the following QA warnings:

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

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

(From OE-Core rev: 3d97a40cffb780cda4d4acf6d87371427912228b)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobash: fix dependencies and QA Issue
Maxin B. John [Tue, 26 Apr 2016 08:48:24 +0000 (11:48 +0300)]
bash: fix dependencies and QA Issue

Fix the following QA warning:

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

(From OE-Core rev: 5c6b10c7c37d9ca216d56c1667dce29998a2f525)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agopopt: fix dependencies and QA Issue
Maxin B. John [Tue, 26 Apr 2016 08:48:23 +0000 (11:48 +0300)]
popt: fix dependencies and QA Issue

Fix the following QA warning:

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

(From OE-Core rev: 08aeb5a9e0067e2e9e0fba8614409102e5a0a00e)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agooeqa/selftest/buildoptions: remove buildhistory signature test
Ross Burton [Tue, 26 Apr 2016 14:36:21 +0000 (15:36 +0100)]
oeqa/selftest/buildoptions: remove buildhistory signature test

This test is a subset of the new sstate_noop_samesigs test, and less helpful
when it breaks, so remove it.

(From OE-Core rev: 7157261014e1dcbe9a57e7504dbb0ab2a53aa4d8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agomesa-gl: add missing MESA_CRYPTO to PACKAGECONFIG
Ross Burton [Tue, 26 Apr 2016 13:48:24 +0000 (14:48 +0100)]
mesa-gl: add missing MESA_CRYPTO to PACKAGECONFIG

Otherwise the build can fail or there is a floating dependency on whatever SSL
library Mesa can find.

(From OE-Core rev: 8ce5d90044bd371d132312e85197ee262855ad29)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agocross-localedef-native_2.22.bb: Use autotools configure
Tristan Van Berkom [Mon, 25 Apr 2016 20:36:26 +0000 (16:36 -0400)]
cross-localedef-native_2.22.bb: Use autotools configure

Use the autotools default configure commands and just tell autotools
where to run configure from.

This fixes the build when running on an aarch64 host, which the prebuilt
configure scripts with glibc 2.22 do not recognize.

(From OE-Core rev: 33d4c758a5d71435437dde74556d32404d91342f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoinsane.bbclass: remove workdir from package_qa_check_license()
Robert Yang [Wed, 27 Apr 2016 02:20:25 +0000 (19:20 -0700)]
insane.bbclass: remove workdir from package_qa_check_license()

The parameter workdir is not used in package_qa_check_license()

(From OE-Core rev: 9da177c149c657dc337a1f0d241175f1496fa07d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoqemu: remove explicit but redundant native build dependencies
Ross Burton [Wed, 27 Apr 2016 08:28:35 +0000 (09:28 +0100)]
qemu: remove explicit but redundant native build dependencies

qemu-native was optionally depending on libxext-native if the DISTRO_FEATURES
included x11.  This dependency was required back when we didn't build
libsdl-native and causes an undesirable relationship between DISTRO_FEATURES and
qemu-native.

As the dependency isn't required anymore, remove it.

(From OE-Core rev: f58f364b1ae97805abc5f9eb7b300617f59826b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agowebkitgtk: remove gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 13:04:10 +0000 (14:04 +0100)]
webkitgtk: remove gnome-common dependency

webkitgtk ported to CMake long ago, so by definition can't use gnome-common's
autoconf macros anymore.

(From OE-Core rev: 90890eca6cbefb42f1e63231c93dfe4de4dab014)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agognome-desktop3: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:54 +0000 (13:56 +0100)]
gnome-desktop3: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

(From OE-Core rev: da33549ea6cb2082ef908480825ffcac07814c16)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agopython-pygobject: remove redundant gnome-common dependency
Ross Burton [Wed, 27 Apr 2016 12:56:53 +0000 (13:56 +0100)]
python-pygobject: remove redundant gnome-common dependency

The gnomebase class already depends on gnome-common-native, so there's no need
to depend on it again.

(From OE-Core rev: 13621e8ac158e1eb65a04054899f7cdec796d38f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agorecipetool: create: fix falling back to declared license for npm packages
Paul Eggleton [Wed, 27 Apr 2016 13:06:19 +0000 (01:06 +1200)]
recipetool: create: fix falling back to declared license for npm packages

Fix two problems falling back to the "license" field from package.json
when no license file is present:
1) The function that was supposed to return the license field value was
   always explicitly returning None, and this was never noticed (because
   the test cases never exercised the fallback as they provided license
   files for each module).
2) Fix the main package not falling back because it had a default of an
   empty list, which evaluates to '' instead of 'Unknown'.

(From OE-Core rev: 59381a9450949ce6b4b03adb717e950b999830f3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agorecipetool: create: fix picking up false npm package directories
Paul Eggleton [Wed, 27 Apr 2016 13:06:18 +0000 (01:06 +1200)]
recipetool: create: fix picking up false npm package directories

It is possible for a Node.js module to have node_modules subdirectories
that contain no package.json file (e.g. iotivity-node has such a
directory). It appears these should simply be ignored, or else with the
way the current code works we will get errors later.

(From OE-Core rev: 8c522f1f536270e195c8c73f5c72801495e7b33b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoarch-armv7ve: inherit armv7a tunes file
Denys Dmytriyenko [Tue, 26 Apr 2016 00:38:24 +0000 (20:38 -0400)]
arch-armv7ve: inherit armv7a tunes file

armv7a is a subset of armv7ve:
https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

   -march=armv7ve is the armv7-a architecture with virtualization extensions.

By inheriting armv7a from armv7ve it's possible for e.g. Cortex-A15 machines
to include tune-cortexa15.inc and have a full range of optimizations, but
set DEFAULTTUNE as "armv7a" to produce binaries compatible with Cortex-A8
machines, etc.

(From OE-Core rev: 5bf5e68e540dc4e034288702094d306ebd19fef9)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoautotools: add default for CACHED_CONFIGUREVARS
Ross Burton [Thu, 28 Apr 2016 16:42:16 +0000 (17:42 +0100)]
autotools: add default for CACHED_CONFIGUREVARS

Ensure that this variable has a default value so that we don't get debug
messages that the variable couldn't be expanded.

(From OE-Core rev: 27fd1bb7969b558864463450e1837c4400a03f9c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agopackagegroup-core-lsb: fix whitespace in meta-qt* warnings
Joshua Lock [Thu, 28 Apr 2016 13:27:45 +0000 (14:27 +0100)]
packagegroup-core-lsb: fix whitespace in meta-qt* warnings

Without these extra space characters the messages are ill-formatted, i.e:
'The meta-qt3 layer should be added, this layer provides Qt 3.xlibraries.
Its intended use is for passing LSB tests as Qt3 isa requirement for LSB.'

Changes to:
'The meta-qt3 layer should be added, this layer provides Qt 3.x libraries.
Its intended use is for passing LSB tests as Qt3 is a requirement for LSB.'

(From OE-Core rev: f0220cd4e686c3d28d222d434f2dbd7f0b41188c)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agosysvinit-inittab: restrict labels to 4 chars
Stephano Cetola [Fri, 29 Apr 2016 03:01:56 +0000 (20:01 -0700)]
sysvinit-inittab: restrict labels to 4 chars

The current recipe creates inittab labels based off the device node name
of TTYs used as consoles. If those names exceed the 4 character label
limit of inittab, it will break. This change takes the last 4 chars of
the device names in order to avoid any errors.

[ YOCTO #9529 ]

(From OE-Core rev: 30acc7a6b9e6d1c42ba1df6e5a362d10b43cb4eb)

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agotoolchain-scripts: replace source built-in call
Stephano Cetola [Thu, 28 Apr 2016 20:43:27 +0000 (13:43 -0700)]
toolchain-scripts: replace source built-in call

Some shells (e.g. dash) do not support the source built-in. This
replaces it with the dot operator.

[ YOCTO #9535 ]

(From OE-Core rev: eef010bd91933d0c4b917d12e5716aa7e16b7307)

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agooeqa/sstatetests: remove temporary DL_DIRs in noop_samesigs
Ross Burton [Mon, 25 Apr 2016 21:14:38 +0000 (22:14 +0100)]
oeqa/sstatetests: remove temporary DL_DIRs in noop_samesigs

(From OE-Core rev: a98acf4840fc4888c0f4b8998a0a3983c639ecc2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agooeqa/sstatetests: add http_proxy to no-op hash test
Ross Burton [Mon, 25 Apr 2016 20:16:36 +0000 (21:16 +0100)]
oeqa/sstatetests: add http_proxy to no-op hash test

Add two values for http_proxy to verify that changing it doesn't change any
unexpected tasks.

As this causes uninative to fail to fetch, ensure that uninative is always
disabled.

(From OE-Core rev: 7d8ffd22303a5b89cb129e804c124a2d1dedf9ab)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobluez5: enable out-of-tree builds
Ross Burton [Fri, 22 Apr 2016 15:16:06 +0000 (16:16 +0100)]
bluez5: enable out-of-tree builds

A patch is needed to fix a race in out-of-tree builds, and the install-ptest
logic can be simplified.

(From OE-Core rev: 471fdafb340e90a4ab2e31854f69d5204e9380bf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agomx: move to autotools instead of autotools-brokensep
Ross Burton [Fri, 22 Apr 2016 14:16:11 +0000 (15:16 +0100)]
mx: move to autotools instead of autotools-brokensep

Now that MX inherits gtk-doc we can also remove fix-build-dir.patch.

(From OE-Core rev: e8d4e80e5cc98e2e0470c85f3c08574d30d466c1)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agomx-1.0: inherit gtk-doc
Ross Burton [Fri, 22 Apr 2016 14:08:42 +0000 (15:08 +0100)]
mx-1.0: inherit gtk-doc

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agometa: add comments to explain autotools-brokensep use
Ross Burton [Fri, 22 Apr 2016 14:08:26 +0000 (15:08 +0100)]
meta: add comments to explain autotools-brokensep use

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agowic: isoimage-isohybrid: fix splash file paths
Ioan-Adrian Ratiu [Thu, 21 Apr 2016 10:10:13 +0000 (13:10 +0300)]
wic: isoimage-isohybrid: fix splash file paths

os.path.join discards the cr_workdir var contents if the path of the
second arguments is absolute.

(From OE-Core rev: dba099d77dcc66b239523a55f3ed26784f9a662a)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoimage.bbclass: don't execute compression commands multiple times
Alexander D. Kanevskiy [Thu, 21 Apr 2016 09:47:27 +0000 (12:47 +0300)]
image.bbclass: don't execute compression commands multiple times

In case of chained conversion methods are used via COMPRESS_CMD_*
there is chance that some of steps would be executed multiple times.

[YOCTO #9482]

(From OE-Core rev: 94f61c2682e5cfd819ac84535650c3e0a654415a)

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogrub_git: set COMPATIBLE_HOST_armv7a to null
Robert Yang [Mon, 18 Apr 2016 09:29:27 +0000 (02:29 -0700)]
grub_git: set COMPATIBLE_HOST_armv7a to null

It doesn't work with armv7a:
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [reboot.mod] Error 1
| make[3]: *** Waiting for unfinished jobs....
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [halt.mod] Error 1
| make[3]: *** [cat.mod] Error 1
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| build-grub-module-verifier: error: unsupported relocation 0x2b.
| make[3]: *** [disk.mod] Error 1
| make[3]: *** [gptsync.mod] Error 1
| make[3]: *** [eval.mod] Error 1
| build-grub-module-verifier: error:build-grub-module-verifier: error:  unsupported relocation 0x2bunsupported relocation 0x2b.

(From OE-Core rev: a96c3ea4fb4676a13b24b8e8d1164b31080c4f56)

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>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agowic: isoimage-isohybrid: add grubefi configfile support
Ioan-Adrian Ratiu [Wed, 20 Apr 2016 15:06:15 +0000 (18:06 +0300)]
wic: isoimage-isohybrid: add grubefi configfile support

The latest wic kickstart refactoring introduced a bootloader option
"--configfile" which lets wks' specify a custom grub.cfg for use
while booting. This is very useful for creating stuff like boot menus.

This change lets isoimage-isohybrid use --configfile; if this option is
not specified in a wks, it generates a default cfg as before.

(From OE-Core rev: bf673a769514b13558ad9c785ae4da3a5adfd1e0)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobusybox: don't build ar
Ross Burton [Wed, 20 Apr 2016 15:54:37 +0000 (16:54 +0100)]
busybox: don't build ar

As it's not 1978 anymore, nobody is using ar for anything apart from static
archives.  If people are using static archives, then binutils provides a far
more capable ar.

(From OE-Core rev: 664a7743a7a2dd6a5c3676c06c35b692af2907e2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobash: fixed ptest run-builtins failed
Dengke Du [Tue, 19 Apr 2016 08:55:53 +0000 (04:55 -0400)]
bash: fixed ptest run-builtins failed

1. redirect the stderr output of the command exec with -l option to
   /dev/null.
   Because when we run command exec with -l option in builtins.tests,
   it is a login shell, so it would read the file /etc/profile, that
   file executes the /usr/bin/resize which added by commit:
 cc6360f4c4d97e0000f9d3545f381224ee99ce7d
   The /usr/bin/resize is produced by busybox that source code resize.c
   contains:
fprintf(stderr, ESC"7" ESC"[r" ESC"[999;999H" ESC"[6n");
   In the end, it outputs an escape sequence to the stderr, so when we
   compare the test output file /tmp/xx with builtins.right, it failed.
   we need to redirect the stderr output to the /dev/null to solve the
   problem.

2. ensure the target system contains the locales "en_US.UTF-8".
   Because when run the run-builtins, it executes the source5.sub file
   that contain:
LC_ALL=en_US.UTF-8
   such as add the following to the local.conf:
IMAGE_LINGUAS_append = " en-us"

(From OE-Core rev: 5f82f3df7d4a7d6ae9a1ea3b6bc1d620a3d6c329)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolibunwind: backport aarch64_be support
Ruslan Bilovol [Mon, 18 Apr 2016 11:14:07 +0000 (14:14 +0300)]
libunwind: backport aarch64_be support

Backport 2 patches from v1.2-rc1 tag of libunwind git repo.
These patches add aarch64_be support to this package.

(From OE-Core rev: 396353c3127b20244c4c5cc321adad7d4e48f544)

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agoimage.bbclass: don't emit redundant IMAGE_CMD_xxx functions
Andre McCurdy [Fri, 15 Apr 2016 03:47:46 +0000 (20:47 -0700)]
image.bbclass: don't emit redundant IMAGE_CMD_xxx functions

IMAGE_CMD_xxx commands are always inlined within do_image_xxx.

When IMAGE_CMD_xxx is defined as a function (e.g. IMAGE_CMD_btrfs,
IMAGE_CMD_cpio, etc), a redundant copy of the function will be emitted
by default. Remove IMAGE_CMD_xxx 'func' flags to prevent that.

(From OE-Core rev: 118c1ca4d8d62162e87caf287f96d90707ee5903)

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>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-firmware: break out bnx2 mips firmware and WHENCE license
Christopher Clark [Fri, 15 Apr 2016 03:28:22 +0000 (20:28 -0700)]
linux-firmware: break out bnx2 mips firmware and WHENCE license

commit a19cfee10c1f1762da601125c17035cf7701ce91
Author: Christopher Clark <christopher.clark6@baesystems.com>
Date:   Thu Apr 14 17:00:20 2016 -0700

    linux-firmware: break out bnx2 mips firmware and WHENCE license

    Break out the bnx2 mips firmware into an independent subpackage.

    Since the bnx2 firmware license is contained in the common WHENCE file
    also package that separately so that other firmware that is licensed
    within that file may depend upon a standalone package containing it.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
(From OE-Core rev: a73a316429b256061a7aa48bcf29c5f96df68a8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agopackage: ensure do_split_packages doesn't return duplicates
Ross Burton [Thu, 7 Apr 2016 08:54:56 +0000 (09:54 +0100)]
package: ensure do_split_packages doesn't return duplicates

do_split_package() constructs a list of packages that were created as it
iterates through the files, so if multiple files go into the same package then
the package will be repeated in the output.

Solve this by using a set() to store the created packages so that duplicates are
ignored.

(From OE-Core rev: b251f8b212f16b16b88183cc9a959d8cfa24fe3c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agokernel-uimage: change target image to vmlinux
Ruslan Bilovol [Wed, 13 Apr 2016 18:17:20 +0000 (21:17 +0300)]
kernel-uimage: change target image to vmlinux

Commit e69525: "kernel: Build uImage only when really
needed" hardcoded target kernel image to zImage for
case if uImage is generated by OpenEmbedded buildsystem.

However not all kernel architectures support zImage
target, for example AArch64 doesn't, so building of
kernel is failing on this step.

So instead of building zImage target that may not
exist for many architectures, build vmlinux target
that exists for all architectures.

Since kernel-uboot.bbclass uses vmlinux anyway for
creating image, there is no side effect on this change.

(From OE-Core rev: ac5d4d42a5903cbcafd7247c282df1cb98f79f08)

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agopackagegroup-core-tools-profile: Enable valgrind on ARMv7a and above
Felipe F. Tonello [Tue, 19 Apr 2016 16:10:56 +0000 (17:10 +0100)]
packagegroup-core-tools-profile: Enable valgrind on ARMv7a and above

Fixes: e5f41c221356 ("task-core-tools-profile: fix valgrind for arm and
systemtap for mips")

Valgrind works on ARMv7a and above.

(From OE-Core rev: 08cbf28d70505a6564193c3df63a0c1798d5214f)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogcc-sanitizers: Depend on target gcc
Jussi Kukkonen [Fri, 22 Apr 2016 13:26:44 +0000 (16:26 +0300)]
gcc-sanitizers: Depend on target gcc

Without this the target gcc might not be in the sysroot
leading to configure failure.

(From OE-Core rev: 329c532db4b2124fa3f4b3ab8c4c6d6c93ca7c2f)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agobluez5: fixed path to bluetoothd in sysvinit script
Christian Ege [Wed, 11 May 2016 19:18:48 +0000 (21:18 +0200)]
bluez5: fixed path to bluetoothd in sysvinit script

Within the sysvinit script the path to bluetoothd is wrong. Because of this
the init scripts silently terminates without any message

Signed-off-by: Christian Ege <k4230r6@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agotoasterconf.json: exclude releases Toaster can't build
Elliot Smith [Fri, 3 Jun 2016 10:52:38 +0000 (11:52 +0100)]
toasterconf.json: exclude releases Toaster can't build

Due to changes in master to support Python 3, Toaster is no
longer able to build from master.

Remove references to master and set default release to krogoth.

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogdb: Backport patch to changes with AVX and MPX
Saul Wold [Thu, 19 May 2016 22:24:13 +0000 (15:24 -0700)]
gdb: Backport patch to changes with AVX and MPX

The current MPX target descriptions assume that MPX is always combined
with AVX, however that's not correct.  We can have machines with MPX
and without AVX; or machines with AVX and without MPX.

This patch adds new target descriptions for machines that support
both MPX and AVX, as duplicates of the existing MPX descriptions.

The following commit will remove AVX from the MPX-only descriptions.

This commit is backported from 7.12

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcc-4.9: fix build with gcc 6
Ioan-Adrian Ratiu [Wed, 18 May 2016 08:10:52 +0000 (11:10 +0300)]
gcc-4.9: fix build with gcc 6

Building gcc-cross 4.9.3 with gcc 6 fails with the following error:

error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute

This is a backport of the upstream fix.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/rootfs: Fix DEBUGFS generation for opkg & openssl-cnf
Anders Darander [Tue, 3 May 2016 11:57:16 +0000 (13:57 +0200)]
lib/oe/rootfs: Fix DEBUGFS generation for opkg & openssl-cnf

When enabling extra DEBUGFS image generation with opkg, the following error is
seen when openssl-cnf is included in the image.

Collected errors:
 * file_md5sum_alloc: Failed to open file /mnt/cs-builds/anders/oe-build/build-ccu/tmp/work/ccu-oe-linux-gnueabi/ccu-image/1.0-r0/rootfs/usr/lib/ssl/openssl.cnf: No such file or directory.

Lots of similar issues was fixed by an earlier commit in oe-core,
5084ed9401250ed269a49d27b303806ab173c5d5, but openssl-cnf is outside of that fix.

Followup to [YOCTO #9490]

(From OE-Core rev: 20ea6d274bb0a9a5addb111f32793de49b907865)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: Fix build-sdk when pn doesn't match filename
Randy Witt [Mon, 9 May 2016 22:46:27 +0000 (10:46 +1200)]
devtool: Fix build-sdk when pn doesn't match filename

If an image with the filename foo.bb could be built using the name "bar"
instead, then build-sdk would fail to create the derivative sdk.

This was because the code assumed that the file name matched the target,
which is not necessarily the case.

(From OE-Core rev: d58a326b6960be14b8a049253559aec9582b7d0d)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/classextend: Fix determinism issue
Richard Purdie [Mon, 9 May 2016 13:13:44 +0000 (14:13 +0100)]
lib/classextend: Fix determinism issue

The ordering of dependency variables needs to be deterministic to avoid task checksums
changing. Use an OrderedDict to achieve this.

(From OE-Core rev: 855a2d21503856af392ab2d54ccfa270505ba142)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoupdate-alternatives: Fix determinism issue
Richard Purdie [Mon, 9 May 2016 13:12:16 +0000 (14:12 +0100)]
update-alternatives: Fix determinism issue

getVarFlags returns a dict and there is therefore no sort order. This
means the order of the X_VARDEPS_X variables can change and hence the
task checksums can change. This can lead to rebuilds of any parts of
the system using update-alternatives and their dependees. This is a
particular issue under python v3.

Add in a sort to make the order of the variables deterministic.

(From OE-Core rev: ecd1bfed5534f83b775a6c79092c04bd13c3af0a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage: Fix IMAGE_FEATURES determinism issue
Richard Purdie [Mon, 9 May 2016 13:09:37 +0000 (14:09 +0100)]
image: Fix IMAGE_FEATURES determinism issue

remain_features uses a dict which means the order is not deterministic. This
can lead to the task hash changing depending on the state of the memory at
parse time. This is particularly noticeable under python v3.

Since the dict is helpful in constructing the data, pass the data through
sort() so the order is always deterministic.

(From OE-Core rev: b08344e28dd33e3af5596007b11185d04fce255e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoopenssl: Security fix via update to 1.0.2h
Armin Kuster [Tue, 3 May 2016 23:46:05 +0000 (16:46 -0700)]
openssl: Security fix via update to 1.0.2h

CVE-2016-2105
CVE-2016-2106
CVE-2016-2109
CVE-2016-2176

https://www.openssl.org/news/secadv/20160503.txt

fixup openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch

drop crypto_use_bigint_in_x86-64_perl.patch as that fix is in latest.

(From OE-Core rev: c693f34f54257a8eca9fe8c5a9eee5647b7eeb0c)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.4: bump to v4.4.10
Bruce Ashfield [Wed, 11 May 2016 21:35:02 +0000 (17:35 -0400)]
linux-yocto/4.4: bump to v4.4.10

(From OE-Core rev: 4f2898f598c466fa0fde5be64ac4d6a60aae68f7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolinux-yocto/4.4: beaglebone: Enable drm for omap
Bruce Ashfield [Wed, 11 May 2016 21:35:01 +0000 (17:35 -0400)]
linux-yocto/4.4: beaglebone: Enable drm for omap

To enable modsetting out of the box, we must turn on DRM.

(From OE-Core rev: 8d2b635cc2491e3d88d3a98465a9c9c063b6b9b5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolinux-yocto/4.4: update to v4.4.9
Bruce Ashfield [Wed, 11 May 2016 21:35:00 +0000 (17:35 -0400)]
linux-yocto/4.4: update to v4.4.9

Updating to the v4.4.9 korg -stable release:

(From OE-Core rev: d8d93df3282ad0f3bd23566152db99577f27ad90)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolinux-yocto/4.4: bump to v4.4.8
Bruce Ashfield [Wed, 11 May 2016 21:34:59 +0000 (17:34 -0400)]
linux-yocto/4.4: bump to v4.4.8

Integrating the korg -stable releases.

(From OE-Core rev: 7ec1682e94c731b0a57faf2c01efb51725455592)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
8 years agolinux-yocto-rt/4.1: update to rt23
Bruce Ashfield [Wed, 4 May 2016 14:44:02 +0000 (10:44 -0400)]
linux-yocto-rt/4.1: update to rt23

(From OE-Core rev: ff6e06dcf0dd3da971cde22b3ce46b63f36db089)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.4: bump to v4.4.8
Bruce Ashfield [Wed, 4 May 2016 02:51:13 +0000 (22:51 -0400)]
linux-yocto/4.4: bump to v4.4.8

Integrating the korg -stable releases.

(From OE-Core rev: 688ec7b424b1daa92a5ca92491468af2c1ba226f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.4: broxton enablement and refactoring
Bruce Ashfield [Wed, 4 May 2016 02:25:39 +0000 (22:25 -0400)]
linux-yocto/4.4: broxton enablement and refactoring

Merging the following commits to refactor and add broxton support:

 0d73a3bf6129 bsp/intel-corei7-64: Add intel-telemetry feature
 cee29e6234c7 features: add intel-telemetry feature
 3a700d737b65 bsp/intel-common: Add broxton to supported SoCs in intel-core* BSPs
 f584a0c22a39 features: add broxton soc feature
 7c2c2bd1a6aa baytrail;valleyisland: Use designware-usb3 feature instead of config
 7216db4cc7a6 features/usb: Add usb-designware2 and 3 features
 ade182658359 cfg/sound.cfg: Add USB audio support
 18ee21d9fba8 features/i915: Add CONFIG_KMS_FB_HELPER=y
 b3fa745962c2 features/soc/skylake: Refactor and comment config fragment

(From OE-Core rev: f6d09d460d8ef4b6468abf5b7813c5eba92adab3)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.4: skylake configuration
Bruce Ashfield [Fri, 29 Apr 2016 17:05:14 +0000 (13:05 -0400)]
linux-yocto/4.4: skylake configuration

Integrating the following patches for skylake features and config:

  82c2ea9f6bf intel-common: enable support for skylake in intel common bsp
  269b6a7a98e2 intel-common-drivers: enable OSS Support
  71a19d3e6dc6 intel-pinctrl: enable pinctrl driver for skylake
  281f7db8c839 features: soc: enable configurations for skylake.

(From OE-Core rev: ab94ad02c35effad6fd3a1472737d1c73f53f7b3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.4: BXT mmc fixes + PUNIT, tubropower, and telemetry backport
Bruce Ashfield [Mon, 25 Apr 2016 16:29:44 +0000 (12:29 -0400)]
linux-yocto/4.4: BXT mmc fixes + PUNIT, tubropower, and telemetry backport

Integrating the following mainline (or mainline destined) patches to
support Intel Broxton:

076cc85486fd mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
5d9c3aba78a1 mmc: sdhci-pci: Remove redundant runtime PM calls
aa0cd9a58d54 mmc: sdhci: Fix sdhci_runtime_pm_bus_on/off()
f47597d00af0 mmc: sdhci: 64-bit DMA actually has 4-byte alignment
a052a0703aed mmc: sdhci: Fix DMA descriptor with zero data length
f9200dd4bfec mmc: sdio: Fix invalid vdd in voltage switch power cycle
7bbf49488269 mmc: sdhci: Do not BUG on invalid vdd
39fde8b630a6 tools/power turbostat: decode BXT TSC frequency via CPUID
2b4b633da512 tools/power turbostat: initial BXT support
ee708ab5b74e intel_telemetry_debugfs: Fix unused warnings in telemetry debugfs
3053465d066b intel_telemetry_pltdrv: Change verbosity control bits
4c7732ec34bf platform:x86: Add Intel Telemetry Debugfs interfaces
401915397ddc platform:x86: Add Intel telemetry platform driver
eaaee25ac936 platform/x86: Add Intel Telemetry Core Driver
44c969c62726 platform:x86 decouple telemetry driver from the optional IPC resources
a6a2ecaf9980 platform:x86: Add Intel telemetry platform device
e1f16b86eab0 intel_pmc_ipc: Avoid pending IPC1 command during legacy suspend
ae91be46eb0d intel_pmc_ipc: Fix GCR register base address and length
3e15c1b19c81 intel_pmc_ipc: update acpi resource structure for Punit
5ec614cfd985 intel_punit_ipc: add NULL check for input parameters
4c3f01b178db platform:x86: add Intel P-Unit mailbox IPC driver
4826dbaac15f usb: dwc3: pci: add ID for one more Intel Broxton platform

(From OE-Core rev: 802758b2ade24040d16ce4b692a07f97bef39331)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.1: make ltsi content available
Bruce Ashfield [Fri, 22 Apr 2016 19:03:24 +0000 (15:03 -0400)]
linux-yocto/4.1: make ltsi content available

In the better late than never category, this commit integrates the
ltsi content into linux-yocto 4.1. We we already matching LTSI on
the kernel version front with a small gap in patches. With this
commit, we have a "ltsi" branch that is pure ltsi on the mailine
kernel, and then that commit is merged into standard/base (to
make it available to all BSPs).

(From OE-Core rev: 7071ab47ce566398b398ac3d24eb3620a0353897)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.1: update to v4.1.22
Bruce Ashfield [Fri, 22 Apr 2016 18:16:46 +0000 (14:16 -0400)]
linux-yocto/4.1: update to v4.1.22

Integrating the korg -stable releases.

(From OE-Core rev: 417b1ef4d180b7434e69e5e8dff20298788f4007)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agokernel-yocto: allow branch auditing to be suspended
Bruce Ashfield [Thu, 21 Apr 2016 15:23:45 +0000 (11:23 -0400)]
kernel-yocto: allow branch auditing to be suspended

When working on the yocto-bsp and kernel-lab update for yocto 1.2
we found it was impossible for a end-user BSP to isolate patches
on a branch, since with the following commit:

  [kernel-yocto: enforce SRC_URI specified branch]

Any new branch would be switched to whatever was specified on the
SRC_URI and undoing the work that the yocto-bsp tool did to support
board specific patches.

To fix this, we'll keep the enforcing of branch consistency enabled
by default, but introduce a variable "KMETA_AUDIT" that when not
set will skip the check.

There's no impact for existing users, and it is only something that
other plumbing commands and tools will need to use (or care about).

[YOCTO: #9120]

(From OE-Core rev: 1d4c120edeb6e45665eafd6962a10ebb89d758eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agokern-tools: handle directories with, or without, trailing /
Bruce Ashfield [Thu, 21 Apr 2016 02:37:29 +0000 (22:37 -0400)]
kern-tools: handle directories with, or without, trailing /

Robert P. J. Day reported that configuration fragments and kernel
features were not being found when organized in a particular manner:

  linux
   - $BOARD
       - mm.patch
       - mm.scc
   - ssd_sil.cfg
   - ssd_sil.patch
   - ssd_sil.scc
   - uio.cfg
   .. etc

There was a bug in the tools that did not handle the mix of subdirs
properly and ended up leaving a trailing / on the elements *not* in
the $BOARD subdir. As a result, the configuration fragments were not
properly found when searching the include paths, and a configuration
failure was triggered (due to missing files).

This change tweaks the tools to always check a path with and without
a trailing / when processing config fragments so they can be later
found when processing the configuration of the kernel.

Reported-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
(From OE-Core rev: 92ba77bea59a33b0ddbd5db36e2a1b42e8fd7190)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init
Bruce Ashfield [Wed, 20 Apr 2016 23:32:03 +0000 (19:32 -0400)]
linux-yocto/4.4: sched/cgroup: Fix/cleanup cgroup teardown/init

backporting a mainline commit to address splats that have been
seen on the 4.4 kernel:

(From OE-Core rev: 52550828662cc430fe4c5273d44c4b818aa21150)

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agolinux-yocto/uvesafb: print error message when task timeout occurs
Bruce Ashfield [Wed, 20 Apr 2016 23:30:07 +0000 (19:30 -0400)]
linux-yocto/uvesafb: print error message when task timeout occurs

Integrating the following commit to have a more informative error
message:

    uvesafb: print error message when task timeout occurs

    The driver waits for response from user space for a pending
        task until a timeout (UVESAFB_TIMEOUT) occurs. But the
            existing error message in later steps is a little obscure.

    This patch throws out an error message when timeout happens.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
(From OE-Core rev: 1c6ba3c57eae77adb9ae5c0a60e3a9174ef398b6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogcc: Security fix CVE-2016-4490
Armin Kuster [Thu, 5 May 2016 22:15:34 +0000 (15:15 -0700)]
gcc: Security fix CVE-2016-4490

Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogcc: Security fix CVE-2016-2226
Armin Kuster [Thu, 5 May 2016 22:14:46 +0000 (15:14 -0700)]
gcc: Security fix CVE-2016-2226

Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogcc: Security fix CVE-2016-4489
Armin Kuster [Thu, 5 May 2016 22:13:54 +0000 (15:13 -0700)]
gcc: Security fix CVE-2016-4489

Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogcc: Security fix CVE-2016-4488
Armin Kuster [Thu, 5 May 2016 22:12:58 +0000 (15:12 -0700)]
gcc: Security fix CVE-2016-4488

Signed-off-by: Armin Kuster <akuster@mvista.com>
8 years agogcc: obey ldflags in the link of libgcc
Christopher Larson [Wed, 4 May 2016 21:52:49 +0000 (14:52 -0700)]
gcc: obey ldflags in the link of libgcc

Explicitly obey it, the way it should, rather than only relying on
--with-linker-hash-style.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
9 years agoqemu: Security fix CVE-2016-2858
Armin Kuster [Thu, 28 Apr 2016 18:23:31 +0000 (11:23 -0700)]
qemu: Security fix CVE-2016-2858

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>