]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agovala: upgrade to 0.36.2
Alexander Kanavin [Tue, 2 May 2017 12:51:48 +0000 (15:51 +0300)]
vala: upgrade to 0.36.2

Make libxslt-native dependency conditional on api-documentation distro feature,
as vala now defaults to rebuilding the manual (which is slow).

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogcr: add missing dependency on xsltproc if introspection is enabled
Ross Burton [Tue, 9 May 2017 12:30:20 +0000 (13:30 +0100)]
gcr: add missing dependency on xsltproc if introspection is enabled

gcr needs xsltproc at build time if GObject Introspection is enabled.

Also, remove the explicit disabling of g-i and gtk-doc on x86-64 targets, this
appears to work now.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoiso-codes: upgrade to 3.75
Alexander Kanavin [Tue, 2 May 2017 12:51:47 +0000 (15:51 +0300)]
iso-codes: upgrade to 3.75

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodtc: upgrade to 1.4.4
Alexander Kanavin [Tue, 2 May 2017 12:51:46 +0000 (15:51 +0300)]
dtc: upgrade to 1.4.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agospeex: upgrade 1.2rc2 -> 1.2.0
Marc Ferland [Thu, 27 Apr 2017 15:39:48 +0000 (11:39 -0400)]
speex: upgrade 1.2rc2 -> 1.2.0

Upgrade speex to 1.2.0. Very small diff between 1.2rc2 and 1.2.0, mostly
compiler warning fixes, tabs vs spaces, trailing whitespaces and one
liners.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomc: do not package Python-based extfs helpers
Alexander Kanavin [Thu, 27 Apr 2017 14:28:10 +0000 (17:28 +0300)]
mc: do not package Python-based extfs helpers

They have not been ported to Python 3, and they are for
browsing Amazon s3+ and Commodore 64/128 emulator filesystems -
hardly consequential.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackagegroup-self-hosted: remove python-git dependency
Alexander Kanavin [Thu, 27 Apr 2017 14:28:06 +0000 (17:28 +0300)]
packagegroup-self-hosted: remove python-git dependency

Only python3-git is needed anymore.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowebkitgtk: remove native python dependency
Alexander Kanavin [Thu, 27 Apr 2017 14:28:05 +0000 (17:28 +0300)]
webkitgtk: remove native python dependency

Using host python seems to be fine.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomklibs-native: remove native python dependency
Alexander Kanavin [Thu, 27 Apr 2017 14:28:04 +0000 (17:28 +0300)]
mklibs-native: remove native python dependency

It's not actually required; host python is fine.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: drop pythonnative inherit
Alexander Kanavin [Thu, 27 Apr 2017 14:28:03 +0000 (17:28 +0300)]
mesa: drop pythonnative inherit

Mesa is perfectly capable of using host python nowadays.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: remove the git recipe
Alexander Kanavin [Thu, 27 Apr 2017 14:28:02 +0000 (17:28 +0300)]
mesa: remove the git recipe

It hasn't been touched in almost two years; clearly the idea of
providing separate _git.bb recipes is not working.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoasciidoc: drop distutils inherit, not actually required
Alexander Kanavin [Thu, 27 Apr 2017 14:28:00 +0000 (17:28 +0300)]
asciidoc: drop distutils inherit, not actually required

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodbus-test: 1.10.14 -> 1.10.18
Huang Qiyu [Thu, 27 Apr 2017 01:46:54 +0000 (09:46 +0800)]
dbus-test: 1.10.14 -> 1.10.18

Upgrade dbus-test from 1.10.14 to 1.10.18.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodbus: 1.10.14 -> 1.10.18
Huang Qiyu [Thu, 27 Apr 2017 01:47:30 +0000 (09:47 +0800)]
dbus: 1.10.14 -> 1.10.18

Upgrade dbus from 1.10.14 to 1.10.18.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolttng-modules: update to 2.9.2
Nathan Lynch [Wed, 26 Apr 2017 21:54:01 +0000 (16:54 -0500)]
lttng-modules: update to 2.9.2

This version bump adds support for Linux 4.11.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: cleanup tabs and spaces
Marc Ferland [Tue, 25 Apr 2017 14:48:40 +0000 (10:48 -0400)]
bluez5: cleanup tabs and spaces

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: do not install audio.conf
Marc Ferland [Tue, 25 Apr 2017 14:48:39 +0000 (10:48 -0400)]
bluez5: do not install audio.conf

The audio.conf file has been removed, stop installing it.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: add PACKAGECONFIG option for cups
Marc Ferland [Tue, 25 Apr 2017 14:48:38 +0000 (10:48 -0400)]
bluez5: add PACKAGECONFIG option for cups

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: add PACKAGECONFIG option for systemd
Marc Ferland [Tue, 25 Apr 2017 14:48:37 +0000 (10:48 -0400)]
bluez5: add PACKAGECONFIG option for systemd

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: add PACKAGECONFIG option for midi
Marc Ferland [Tue, 25 Apr 2017 14:48:36 +0000 (10:48 -0400)]
bluez5: add PACKAGECONFIG option for midi

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: remove libasound-module references
Marc Ferland [Tue, 25 Apr 2017 14:48:35 +0000 (10:48 -0400)]
bluez5: remove libasound-module references

Cleanup references to libasound-module since this code has been
completly removed from Bluez.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobluez5: Upgrade 5.43 -> 5.44
Marc Ferland [Tue, 25 Apr 2017 14:48:34 +0000 (10:48 -0400)]
bluez5: Upgrade 5.43 -> 5.44

New feautures/fixes in this version:

* fixes to BLE
* a new midi plugin
* support for single-mode controllers w/o public address
* most of the experimental tools have been promoted and are now part of
  the official tools
* 'experimental' has been renamed to 'testing' (hence the addition of
  the 'testing' package config option)
* classic command line tools like hciattach and hciconfig are now enabled
  by the "--enable-deprecated" configure option (enabled by default for
  backward compatibility).

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibevent: 2.0.22 -> 2.1.8
Andrej Valek [Tue, 25 Apr 2017 06:11:48 +0000 (08:11 +0200)]
libevent: 2.0.22 -> 2.1.8

Update libevent to version 2.1.8 and fix test directory creation

License file has been changed due to new MIT license in source code.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoportmap: remove recipe
Alexander Kanavin [Mon, 24 Apr 2017 13:15:50 +0000 (16:15 +0300)]
portmap: remove recipe

It was dropped from Debian years ago, and superseded by rpcbind (which we also ship).
https://packages.qa.debian.org/p/portmap.html

The upstream source is no longer available either since a few days ago.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibarchive: 3.2.2 -> 3.3.1
Huang Qiyu [Mon, 24 Apr 2017 01:16:12 +0000 (09:16 +0800)]
libarchive: 3.2.2 -> 3.3.1

1) Upgrade libarchive from 3.2.2 to 3.3.1.
2) Fix an unknown-configure-option "--without-lzmadec" when do_configure.
3) Delete three patches, since they are integrated upstream.
   0001-archive_write_disk_posix.c-make-_fsobj-functions-mor.patch
   0002-Fix-extracting-hardlinks-over-symlinks.patch
   non-recursive-extract-and-list.patch

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobase-files: profile: Simplify setting variables conditionally
Peter Kjellerstedt [Mon, 3 Apr 2017 12:48:27 +0000 (14:48 +0200)]
base-files: profile: Simplify setting variables conditionally

It is preferred to use `[ "$FOO" ] || ...` instead of
`[ -z "$FOO" ] && ...` as the latter leaves $? set to 1.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/selftest: add test for package manager version comparison
Ross Burton [Tue, 2 May 2017 12:42:08 +0000 (13:42 +0100)]
oeqa/selftest: add test for package manager version comparison

This test case verifies that opkg, dpkg, and rpm all have the same behaviour for
version ordering, specifically the behaviour of ~ which should be sorting
*before* nothing:

  1.0 < 2.0~pre < 2.0 < 2.0-fix

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/selftest: relax whitespace matches in search regex
Ross Burton [Mon, 15 May 2017 11:11:58 +0000 (12:11 +0100)]
oeqa/selftest: relax whitespace matches in search regex

Latest DNF has changed the amount of whitespace it outputs so use matches
instead of hardcoding the exact number of spaces.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoselftest/runtime-test: Split the config values
Leonardo Sandoval [Thu, 27 Apr 2017 20:36:23 +0000 (13:36 -0700)]
selftest/runtime-test: Split the config values

Split the configuration values (common and specific) so it is easier to read
what goes into the config file. Also the specific configurations are
set in every loop so these do not append on each iteration.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorootfs-postcommands.bbclass: Check if "/etc/fstab" exists
Panagiotis Tamtamis [Fri, 28 Apr 2017 07:09:27 +0000 (10:09 +0300)]
rootfs-postcommands.bbclass: Check if "/etc/fstab" exists

Using "read-only-rootfs" feature in minimal or special
purpose images (eg mounted images) makes build to fail
because ${IMAGE_ROOTFS}/etc/fstab file does not exist.

Signed-off-by: Panagiotis Tamtamis <panagiotis.tamtamis@unify.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocmake.bbclass: remove unneded cd ${B}
Cody P Schafer [Thu, 4 May 2017 17:50:41 +0000 (13:50 -0400)]
cmake.bbclass: remove unneded cd ${B}

The default dir for do_compile & do_configure is already ${B}, no need
to cd (other than broken appends)

CC: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Cody P Schafer <dev@codyps.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage.bbclass: allow override of image LICENSE
Pascal Bach [Wed, 3 May 2017 15:28:40 +0000 (17:28 +0200)]
image.bbclass: allow override of image LICENSE

Currently the LICENSE of every image is hard set to MIT.
This allows this to be overriden in derived images.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoimage.bbclass: Set ROOTFS_RO_UNNEEDED correctly
David Vincent [Wed, 26 Apr 2017 09:30:39 +0000 (11:30 +0200)]
image.bbclass: Set ROOTFS_RO_UNNEEDED correctly

Use a weak assignment for ROOTFS_RO_UNNEEDED to let users define their
own list overriding defaults.

Signed-off-by: David Vincent <freesilicon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorunqemu: Automatically add a TFTP directory for slirp boot
Alistair Francis [Fri, 24 Mar 2017 20:38:57 +0000 (13:38 -0700)]
runqemu: Automatically add a TFTP directory for slirp boot

When booting QEMU with slirp networking we want to use QEMUs TFTP server
to make the images in deploy accessible to the guest.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooe.lsb: add get_os_release()
Markus Lehtonen [Thu, 27 Apr 2017 08:17:33 +0000 (11:17 +0300)]
oe.lsb: add get_os_release()

Move get_os_release() from oeqa.utils.metadata to oe.lsb, merging the
code with release_dict_osr() from oe.lsb. This removes some code
duplication and makes get_os_release() more robust.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agouseradd: Create lib/oe/useradd function library
Richard Purdie [Fri, 12 May 2017 10:05:41 +0000 (12:05 +0200)]
useradd: Create lib/oe/useradd function library

The code in useradd-staticids is generally useful for user addition
functionality but is not reusable in its current form. Refactor the
code into a set of library functions.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopopulate_sdk_ext: Avoid build failures where sstate was used
Richard Purdie [Wed, 8 Mar 2017 14:22:30 +0000 (14:22 +0000)]
populate_sdk_ext: Avoid build failures where sstate was used

If sstate was used to populate the build and one of the universal-4.8
or universal-4.9 mirror urls was used, the sstate checks during eSDK
construction could fail as it would zero out the SSTATE_MIRRORs
variable.

Use the same mirrors variable setting as the eSDK would end up using
to perform the checks to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogcc-configure/gcc-target: Move arm6/7 config to target only
Richard Purdie [Wed, 9 Mar 2016 23:04:48 +0000 (23:04 +0000)]
gcc-configure/gcc-target: Move arm6/7 config to target only

We only build one gcc-cross per architecture and having target specific
flags means gcc-cross would rebuild. These flags are really for the
on target case, so they should be set in gcc-target only.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: Avoid errors if you accidentally create a git symlink in the glibc source dir
Richard Purdie [Tue, 7 Mar 2017 20:10:31 +0000 (20:10 +0000)]
glibc: Avoid errors if you accidentally create a git symlink in the glibc source dir

If you accidentally create symlinks in the glibc sources directory, it
fails in very hard to understand ways. Whilst most people don't do this,
since I debugged it, specifify the list of plugins we use to avoid
this biting anyone else.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobase: Simplify BASEDEPENDS construction
Richard Purdie [Wed, 11 May 2016 15:29:05 +0000 (16:29 +0100)]
base: Simplify BASEDEPENDS construction

This code dates from distant times before we had class overrides.
The comments are also rather stale. Rewrite this code using class
overrides which makes it safer, more modern and more easily
understandable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython*-git: Upgrade to version 2.1.3
Jose Lamego [Mon, 13 Mar 2017 17:40:50 +0000 (11:40 -0600)]
python*-git: Upgrade to version 2.1.3

Both python-git and python3-git need to be upgraded to latest
upstream
version.
This change was tested using qemux86 with core-image-sato.

Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibunwind: update to 1.2
Alexander Kanavin [Fri, 21 Apr 2017 12:39:59 +0000 (15:39 +0300)]
libunwind: update to 1.2

Switch to using tarballs as git is unreliable (not responding right now).

LICENSE file is gone; COPYING has an additional line on top with
copyright attribution, the license text that follows has not changed.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocurl: upgrade to 7.54.0
Oleksandr Kravchuk [Fri, 21 Apr 2017 12:12:33 +0000 (14:12 +0200)]
curl: upgrade to 7.54.0

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: Update to version 17.0.4
Fabio Berton [Thu, 20 Apr 2017 20:22:16 +0000 (17:22 -0300)]
mesa: Update to version 17.0.4

This commit apply bug fixes found in both mesa 17.0.2 and mesa 17.0.3
releases.

  - Mesa 17.0.4 is a bug fix release which fixes the following bugs
    found since the 17.0.3 release:

      Bug 99515  - SIGSEGV MAPERR on Android nougat-x86 with mesa 17.0.0rc
      Bug 100391 - SachaWillems deferredmultisampling asserts
      Bug 100452 - push_constants host memory leak when resetting command buffer
      Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer
                   corrupts state.gl_texture* assertions

  - Mesa 17.0.3 is a bug fix release which fixes the following bugs
    found since the 17.0.2 release:

      Bug 96743  - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase
      Bug 99246  - [d3dadapter+radeonsi & bisect] EVE-Online : hang on wormhole sight
      Bug 100061 - LODQ instruction generated with invalid dst mask
      Bug 100182 - Flickering in The Talos Principle on Sky Lake GT4.
      Bug 100201 - Windows scons build with MSVC toolchain and LLVM 4.0 fails

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobash: CVE-2016-0634
Zhixiong Chi [Thu, 20 Apr 2017 07:04:54 +0000 (15:04 +0800)]
bash: CVE-2016-0634

A vulnerability was found in a way bash expands the $HOSTNAME.
Injecting the hostname with malicious code would cause it to run
each time bash expanded \h in the prompt string.

Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/
bash43-047> to solve CVE-2016-0634

CVE: CVE-2016-0634

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibepoxy: 1.4.0 -> 1.4.1
Huang Qiyu [Thu, 20 Apr 2017 01:30:35 +0000 (09:30 +0800)]
libepoxy: 1.4.0 -> 1.4.1

Upgrade libepoxy from 1.4.0 to 1.4.1.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobyacc: 20161202 -> 20170201
Huang Qiyu [Fri, 14 Apr 2017 05:20:01 +0000 (13:20 +0800)]
byacc: 20161202 -> 20170201

1)Upgrade byacc from 20161202 to 20170201.
2)License checksum changed,since the copyright years were updated.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogdk-pixbuf:2.36.5 -> 2.36.6
Huang Qiyu [Fri, 14 Apr 2017 02:04:56 +0000 (10:04 +0800)]
gdk-pixbuf:2.36.5 -> 2.36.6

Upgrade gdk-pixbuf from 2.36.5 to 2.36.6.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocoreutils: don't use version-specific patch directory
Ross Burton [Fri, 21 Apr 2017 13:37:52 +0000 (14:37 +0100)]
coreutils: don't use version-specific patch directory

As we only ship one version of coreutils, having this directory be versioned
just complicates upgrades.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocoreutils: 8.26 -> 8.27
Huang Qiyu [Tue, 11 Apr 2017 08:52:29 +0000 (16:52 +0800)]
coreutils: 8.26 -> 8.27

Upgrade coreutils from 8.26 to 8.27.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssh: upgrade to 7.5p1
Dengke Du [Tue, 11 Apr 2017 02:01:59 +0000 (22:01 -0400)]
openssh: upgrade to 7.5p1

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoat-spi2-core: 2.22.0 -> 2.24.0
Huang Qiyu [Mon, 10 Apr 2017 09:01:15 +0000 (17:01 +0800)]
at-spi2-core: 2.22.0 -> 2.24.0

Upgreade at-spi2-core from 2.22.0 to 2.24.0.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoat-spi2-atk : 2.22.0 -> 2.24.0
Huang Qiyu [Mon, 10 Apr 2017 08:55:30 +0000 (16:55 +0800)]
at-spi2-atk : 2.22.0 -> 2.24.0

Upgrade at-spi2-atk from 2.22.0 to 2.24.0.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolz4: update to lastest 1.7.4
Armin Kuster [Sat, 1 Apr 2017 20:06:44 +0000 (13:06 -0700)]
lz4: update to lastest 1.7.4

update SRC_URI: as of 1.7.3, repo changed. same owner
Renamed recipe to reflect PV and added Epoch
Added ptest, tests added v1.7.3
updated LICENSE to be more accurate.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowebkitgtk: Upgrade to 2.16.1
Khem Raj [Fri, 21 Apr 2017 15:09:12 +0000 (08:09 -0700)]
webkitgtk: Upgrade to 2.16.1

Fix build with gcc7
Move all patches to webkit folder
Drop patches that were backports or have been upstreamed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoboost: Upgrade to 1.64.0
Khem Raj [Thu, 20 Apr 2017 18:20:24 +0000 (11:20 -0700)]
boost: Upgrade to 1.64.0

drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agojson-c: Upgrade to 0.12.1 release
Khem Raj [Thu, 20 Apr 2017 02:31:44 +0000 (19:31 -0700)]
json-c: Upgrade to 0.12.1 release

Backport fix for gcc7 warning along the way

Remove --disable-rpath as this configure doesn't support it anymore [RB].

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agonss: Update to 3.29.1
Khem Raj [Thu, 20 Apr 2017 02:31:43 +0000 (19:31 -0700)]
nss: Update to 3.29.1

Also fix build with gcc7 along

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibdrm: 2.4.75 -> 2.4.80
Huang Qiyu [Wed, 19 Apr 2017 04:52:07 +0000 (12:52 +0800)]
libdrm: 2.4.75 -> 2.4.80

Upgrade libdrm from 2.4.75 to 2.4.80.

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackage_ipk/deb: Tweak functions for better cleanup and layout
Richard Purdie [Fri, 31 Mar 2017 14:28:07 +0000 (15:28 +0100)]
package_ipk/deb: Tweak functions for better cleanup and layout

This uses more modern formatting to handle the lockfiles and control
file cleanup with try/finally, taking advantage of the previous
extra indentation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_deb: Split do_package_write_deb into two functions
Richard Purdie [Fri, 31 Mar 2017 12:34:24 +0000 (13:34 +0100)]
package_deb: Split do_package_write_deb into two functions

This prepares the way to parallelise deb generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.

Some checks on variables are removed as they were pointless when you looked
at the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackage_ipk: Split into two functions
Richard Purdie [Thu, 30 Mar 2017 21:02:08 +0000 (22:02 +0100)]
package_ipk: Split into two functions

This prepares the way to parallelise ipk generation and splits the iteration
over packages and the package generation into separate functions. Whitespace
indentation is unchanged deliberately and is fixed in a followup patch. There
should be no functional change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agostaging: Allow BB_LIMITEDDEPS to avoid BB_TASKDEPDATA
Richard Purdie [Mon, 8 May 2017 10:56:22 +0000 (11:56 +0100)]
staging: Allow BB_LIMITEDDEPS to avoid BB_TASKDEPDATA

In the limited dependency case we don't use any of the data from
BB_TASKDEPDATA. Restructure the code so this variable doesn't have
to be set. This allows the function to be called from other contexts
without creating artificial constructs. There should be no functional
change, behaviour remains unchanged.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosstate: Ensure native/cross recipes have relocation of HOSTTOOLS_DIR
Richard Purdie [Thu, 4 May 2017 10:59:14 +0000 (11:59 +0100)]
sstate: Ensure native/cross recipes have relocation of HOSTTOOLS_DIR

The previous change to relocate HOSTTOOLS wasn't complete as some files,
particularly in gcc stashed build directories were not being correctly
relocated. This patch addresses the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopython.inc: Fix python2/3 hosttools path references
Richard Purdie [Thu, 4 May 2017 10:58:05 +0000 (11:58 +0100)]
python.inc: Fix python2/3 hosttools path references

Both native and target versions of this file reference mkdir and install
in hosttools paths. Use the version from PATH instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agorpm: Ensure macros file doesn't reference HOSTTOOLS
Richard Purdie [Thu, 4 May 2017 10:56:25 +0000 (11:56 +0100)]
rpm: Ensure macros file doesn't reference HOSTTOOLS

Currently the file encodes full paths to various host tools in the
HOSTTOOLS directory which is bad in native and target cases. We can
simply use the versions from PATH quite safely in OE.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotcf-agent: enable default target debugging features
Gernot Hillier [Wed, 26 Apr 2017 10:57:45 +0000 (12:57 +0200)]
tcf-agent: enable default target debugging features

A number of features were disabled in OE due to historic problems
on ARM. In tcf-agent 1.4, they compile cleanly on all architectures
besides mips and libc-musl. These features are required for target
debugging with Eclipse Neon, CDT and TCF plugins - for example used
by Xilinx Vivado SDK 2016.4.

For MIPS and libc-musl, at least re-enable SERVICE_Symbols and
SERVICE_LineNumbers which compile cleanly.

Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Signed-off-by: Tim Offermann <tim.offermann@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agotcf-agent: fix machine setting for arm64 build
Gernot Hillier [Wed, 26 Apr 2017 10:57:44 +0000 (12:57 +0200)]
tcf-agent: fix machine setting for arm64 build

tcf-agent uses "a64", not "aarch64", see agent/Makefile.inc. This fix
allows to re-enable features like SERVICE_Breakpoints and SERVICE_
MemoryMap on arm64.

Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
Acked-by: Eugene Tarassov <eugene.tarassov@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibcap: clean up gperf enabling logic
Ross Burton [Tue, 25 Apr 2017 16:07:08 +0000 (17:07 +0100)]
libcap: clean up gperf enabling logic

There's no need to sed the Makefile (especially the wrong Makefile) when there's
a variable we can pass.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agognutls: move BBCLASSEXTEND from gnutls.inc into the gnutls recipe
Andre McCurdy [Mon, 24 Apr 2017 19:13:16 +0000 (12:13 -0700)]
gnutls: move BBCLASSEXTEND from gnutls.inc into the gnutls recipe

There may be alternative gnutls recipes outside oe-core which include
gnutls.inc but which don't want BBCLASSEXTEND = "native nativesdk".

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopython3: add python3 metapackage
Ross Burton [Mon, 24 Apr 2017 14:43:57 +0000 (15:43 +0100)]
python3: add python3 metapackage

Many new users add "python3" to their image using IMAGE_INSTALL and are then
surprised that they can't import any of the standard library. This is because we
split up the standard library into a number of packages, and python3-core (the
interpreter and essential modules only) RPROVIDES 'python3'.

Solve this by moving the RPROVIDES of 'python3' to python3-modules, so that the
entire Python standard library is installed.

[ YOCTO #11182 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoclasses/image_live: allow different filesystems to be used for live images
Ming Liu [Sun, 23 Apr 2017 09:22:59 +0000 (11:22 +0200)]
classes/image_live: allow different filesystems to be used for live images

The idea is copied from commit df0b217f3df2c36a32e5c4afaec36a28bfc77bbb:
[ classes/image_vm: allow different filesystems to be used for VM images ]

The same logic should apply to image_live.bbclass, to allow other
filesystems to be used vs just ext4. The default value of ext4 is kept
so there is no functional change unless LIVE_ROOTFS_TYPE is set in the
inherting recipe.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoparselogs: whitelist failed to enable keyboard error on intel-corei7-64
California Sullivan [Fri, 21 Apr 2017 22:18:36 +0000 (15:18 -0700)]
parselogs: whitelist failed to enable keyboard error on intel-corei7-64

This error is seen on the Braswell RVP platform we have been using for
testing. The error is caused by atkbd.c keyboard driver, which is only
for AT and PS/2 keyboards. I tested a PS/2 keyboard with the board,
which worked fine, and the board does not have a separate AT connector,
so this error won't cause any functional issues.

[YOCTO #10110].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoparselogs: whitelist bluetooth firmware load error for intel-corei7-64
California Sullivan [Fri, 21 Apr 2017 22:18:35 +0000 (15:18 -0700)]
parselogs: whitelist bluetooth firmware load error for intel-corei7-64

The NUC6 has issues bringing up Bluetooth early in the boot sequence. We
see:

[    4.091790] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    4.097326] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[    4.145317] Bluetooth: hci0: Failed to send firmware data (-38)

Followed by this later on:

[   11.509870] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   11.509988] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   13.090308] Bluetooth: hci0: Waiting for firmware download to complete
[   13.090829] Bluetooth: hci0: Firmware loaded in 1549114 usecs
[   13.090987] Bluetooth: hci0: Waiting for device to boot
[   13.101958] Bluetooth: hci0: Device booted in 10818 usecs

Bluetooth does successfully come up and the firmware is loaded. This
behavior is consistent across all kernels I've tested.

[YOCTO #10628].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxml2: move python module to Python 3
Alexander Kanavin [Fri, 21 Apr 2017 12:39:54 +0000 (15:39 +0300)]
libxml2: move python module to Python 3

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agocreate-pull-request: add "-t in-reply-to" option
Jose Lamego [Tue, 4 Apr 2017 21:45:09 +0000 (16:45 -0500)]
create-pull-request: add "-t in-reply-to" option

The create-patch-request script creates patches as replies to a cover
letter, in the form of an email thread. If further revisions are sent to
the mailing list without referencing to the first revision, these new
revisions are not identified at the mailing list as part of the original
thread, but as a new thread instead.

This change adds the "[-t in_reply_to]" option, where "in_reply_to" is
the original cover letter's Message-Id, so this reference is added
to the new cover letter to ensure the thread continuity.

[YOCTO #11294]

Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolttng-modules: work around GCC 7 changes
Nathan Lynch [Tue, 25 Apr 2017 22:33:55 +0000 (17:33 -0500)]
lttng-modules: work around GCC 7 changes

Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run
into a similar problem as Linux experienced with __builtin_constant_p
and dead code elimination.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibiconv: fix linker failure under GCC 7
Ross Burton [Tue, 25 Apr 2017 09:59:41 +0000 (10:59 +0100)]
libiconv: fix linker failure under GCC 7

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodiffutils: Fix build with gcc7
Khem Raj [Sun, 16 Apr 2017 14:57:44 +0000 (07:57 -0700)]
diffutils: Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoovmf: Fix build with gcc7
Khem Raj [Fri, 21 Apr 2017 20:55:22 +0000 (20:55 +0000)]
ovmf: Fix build with gcc7

backport a patch which fixing warnings with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agovalgrind: Fix arm build with gcc7
Khem Raj [Fri, 21 Apr 2017 19:23:08 +0000 (12:23 -0700)]
valgrind: Fix arm build with gcc7

Add function to remove -mcpu compiler options on arm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopuzzles: Add -Wno-error=format-overflow if compiler supports it
Khem Raj [Fri, 21 Apr 2017 19:23:07 +0000 (12:23 -0700)]
puzzles: Add -Wno-error=format-overflow if compiler supports it

Fixes build with gcc7 in such a way that it keeps working
with older compilers who dont support -Wno-error=format-overflow=
option

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agognu-efi: Fix build with gcc7
Khem Raj [Thu, 20 Apr 2017 18:20:28 +0000 (11:20 -0700)]
gnu-efi: Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogstreamer1.0-libav: Fix build with gcc7
Khem Raj [Thu, 20 Apr 2017 18:20:27 +0000 (11:20 -0700)]
gstreamer1.0-libav: Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomdadm: Backport and make fixes for building with gcc7
Khem Raj [Thu, 20 Apr 2017 02:31:47 +0000 (19:31 -0700)]
mdadm: Backport and make fixes for building with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoaspell: Fix build with gcc7
Khem Raj [Thu, 20 Apr 2017 02:31:46 +0000 (19:31 -0700)]
aspell: Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopax: Fix build with gcc7
Khem Raj [Thu, 20 Apr 2017 02:31:45 +0000 (19:31 -0700)]
pax: Fix build with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibtirpc: Enable des APIs for musl
Khem Raj [Tue, 18 Apr 2017 16:40:13 +0000 (09:40 -0700)]
libtirpc: Enable des APIs for musl

Use memset() API instead of __bzero()
Drop the patch removing des_* functions for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibtirpc: Expose key_secretkey_is_set API
Khem Raj [Wed, 19 Apr 2017 16:45:45 +0000 (09:45 -0700)]
libtirpc: Expose key_secretkey_is_set API

libnsl needs this API

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibidn: Fix build with gcc7
Khem Raj [Wed, 19 Apr 2017 01:58:39 +0000 (18:58 -0700)]
libidn: Fix build with gcc7

Replace a local patch for format warning with the one
that got committed upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agorpcbind: Remove uneeded patches
Khem Raj [Wed, 19 Apr 2017 01:58:38 +0000 (18:58 -0700)]
rpcbind: Remove uneeded patches

We were carrying patches which are no longer
needed when building rpcbind for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibtirpc: Backport fixes from 1.0.2rc3
Khem Raj [Wed, 19 Apr 2017 01:58:35 +0000 (18:58 -0700)]
libtirpc: Backport fixes from 1.0.2rc3

These fixes are needed for it to work with gcc7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsolv: switch on ENABLE_COMPLEX_DEPS
Alexander Kanavin [Fri, 21 Apr 2017 12:39:55 +0000 (15:39 +0300)]
libsolv: switch on ENABLE_COMPLEX_DEPS

This is required by recent versions of libdnf.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoGNU_MIRROR: switch from ftp to https
Maxin B. John [Tue, 9 May 2017 16:19:22 +0000 (19:19 +0300)]
GNU_MIRROR: switch from ftp to https

Based on the same reason behind DEBIAN's switch from ftp:
https://www.debian.org/News/2017/20170425

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoDEBIAN_MIRROR: switch from ftp to http
Maxin B. John [Tue, 9 May 2017 16:19:21 +0000 (19:19 +0300)]
DEBIAN_MIRROR: switch from ftp to http

All public-facing debian.org FTP services will be shut down on November 1, 2017
The mirrors should just be accessed using HTTP instead.

https://www.debian.org/News/2017/20170425

Fixes [YOCTO #11413]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouseradd: remove preinst script referring to recipe sysroot
Maxin B. John [Tue, 9 May 2017 16:19:20 +0000 (19:19 +0300)]
useradd: remove preinst script referring to recipe sysroot

Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.

This was added to match the default from bitbake.conf. Unlike the default
case, the dependencies used by useradd mean that a default passwd/group
file is always present. This means we don't need the native sysroot fallback.

Fixes [YOCTO #11460]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agouseradd.bbclass: Handle COMPONENTS_DIR when restoring state
Peter Kjellerstedt [Wed, 3 May 2017 21:13:39 +0000 (23:13 +0200)]
useradd.bbclass: Handle COMPONENTS_DIR when restoring state

The export of PSEUDO in useradd_sysroot() contains references to
${COMPONENTS_DIR}. These need to be handled when restoring
postinst-useradd-${PN} from the sstate cache.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobitbake.conf: Add COMPONENTS_DIR for ${STAGING_DIR}-components
Peter Kjellerstedt [Wed, 3 May 2017 21:13:38 +0000 (23:13 +0200)]
bitbake.conf: Add COMPONENTS_DIR for ${STAGING_DIR}-components

The path to where to install and find the sysroot components is used
in many places. This warrants it to get its own variable.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuild-appliance-image: Update to master head revision 2017-04 2017-04-pyro yocto-2.3
Richard Purdie [Mon, 1 May 2017 07:56:43 +0000 (08:56 +0100)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosstate.bbclass, staging.bbclass: Handle HOSTTOOLS_DIR when restoring state
Peter Kjellerstedt [Fri, 28 Apr 2017 15:01:02 +0000 (17:01 +0200)]
sstate.bbclass, staging.bbclass: Handle HOSTTOOLS_DIR when restoring state

Paths to host tools that have been copied to ${HOSTTOOLS_DIR} may end
up in the sstate cache. They thus need to be corrected when restoring
from the sstate cache.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>