]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agobitbake: runqueue: enable setVariable command to affect task execution
Paul Eggleton [Tue, 13 Dec 2016 07:07:12 +0000 (20:07 +1300)] 
bitbake: runqueue: enable setVariable command to affect task execution

Allow the client to set variables with the setVariable command and have
those changes take effect when running tasks. This is accomplished by
collecting changes made by setVariable separately and pass these to the
worker so it can be applied on top of the datastore it creates.

(Bitbake rev: 69a3cd790da35c3898a8f50c284ad1a4677682a4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: data_smart: support serialisation
Paul Eggleton [Tue, 13 Dec 2016 07:07:11 +0000 (20:07 +1300)] 
bitbake: data_smart: support serialisation

The COW object used within VariableHistory can't be serialised itself,
but we can convert it to a dict when serializing and then back when
deserialising. This finally allows DataSmart objects to be serialized.
NOTE: "serialisation" here means pickling, not over XMLRPC or any other
transport.

(Bitbake rev: bbbb2a53d5decf3b613a92c4ff77c84bfc5d4903)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cooker: allow buildFile warning to be hidden programmatically
Paul Eggleton [Tue, 13 Dec 2016 07:07:10 +0000 (20:07 +1300)] 
bitbake: cooker: allow buildFile warning to be hidden programmatically

If we want to use this function/command internally, we don't want this
warning shown.

(Bitbake rev: 5cfbb60833e7b12d698c1c2970c17ccf2a4971bf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: pass datastore to server when expanding python references
Paul Eggleton [Tue, 13 Dec 2016 07:07:09 +0000 (20:07 +1300)] 
bitbake: tinfoil: pass datastore to server when expanding python references

If you're expanding a value that refers to the value of a variable in
python code, we need to ensure that the datastore that gets used to get
the value of that variable is the client-side datastore and not just the
part of it that's on the server side. For example, suppose you are in
client code doing the following:

d.setVar('HELLO', 'there')
result = d.expand('${@d.getVar("HELLO", True)}')

result should be "there" but if the client part wasn't taken into
account, it would be whatever value HELLO had in the server portion of
the datastore (if any).

(Bitbake rev: cbc22a0a9aadc8606b927dbac0f1407ec2736b35)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: implement server-side recipe parsing
Paul Eggleton [Tue, 13 Dec 2016 07:07:08 +0000 (20:07 +1300)] 
bitbake: tinfoil: implement server-side recipe parsing

It's not really practical for us to parse recipes on the client side, we
need to do it on the server because that's where we have the full python
environment (including any "pure" python functions defined in classes).
Thus, add some functions to tinfoil do this including a few shortcut
functions.

(Bitbake rev: 8f635815d191c9d848a92d51fdbf5e9fd3da1727)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: remotedata: enable transporting datastore from the client to the server
Paul Eggleton [Tue, 13 Dec 2016 07:07:07 +0000 (20:07 +1300)] 
bitbake: remotedata: enable transporting datastore from the client to the server

For the purposes of server-side parsing and expansion allowing for
client-side use of the datastore, we need a means of sending a datastore
from the client back to the server, where the datastore probably
consists of a remote (server-side) original plus some client-side
modifications. To do this we need to take care of a couple of things:

1) xmlrpc can't handle nested dicts, so if you enable memres and simply
   try passing a serialised datastore then things break. Instead of
   serialising the entire datastore, just take the naive option of
   transferring the internal dict alone (as a list of tuples) for now.

2) Change the TinfoilDataStoreConnector object into simply the handle
   (number) when transmitting; it gets substituted with the real
   datastore when the server receives it.

(Bitbake rev: 784d2f1a024efe632fc9049ce5b78692d419d938)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: rewrite as a wrapper around the UI
Paul Eggleton [Tue, 13 Dec 2016 07:07:06 +0000 (20:07 +1300)] 
bitbake: tinfoil: rewrite as a wrapper around the UI

Rewrite tinfoil as a wrapper around the UI, instead of the earlier
approach of starting up just enough of cooker to do what we want. This
has several advantages:

* It now works when bitbake is memory-resident instead of failing with
  "ERROR: Only one copy of bitbake should be run against a build
  directory".

* We can now connect an actual UI, thus you get things like the recipe
  parsing / cache loading progress bar and parse error handling for free

* We can now handle events generated by the server if we wish to do so

* We can potentially extend this to do more stuff, e.g. actually running
  build operations - this needs to be made more practical before we can
  use it though (since you effectively have to become the UI yourself
  for this at the moment.)

The downside is that tinfoil no longer has direct access to cooker, the
global datastore, or the cache. To mitigate this I have extended
data_smart to provide remote access capability for the datastore, and
created "fake" cooker and cooker.recipecache / cooker.collection adapter
objects in order to avoid breaking too many tinfoil-using scripts that
might be out there (we've never officially documented tinfoil or
BitBake's internal code, but we can still make accommodations where
practical). I've at least gone far enough to support all of the
utilities that use tinfoil in OE-Core with some changes, but I know
there are scripts such as Chris Larson's "bb" out there that do make
other calls into BitBake code that I'm not currently providing access to
through the adapters.

Part of the fix for [YOCTO #5470].

(Bitbake rev: 3bbf8d611c859f74d563778115677a04f5c4ab43)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: command: provide a means to shut down from the client in memres mode
Paul Eggleton [Tue, 13 Dec 2016 07:07:05 +0000 (20:07 +1300)] 
bitbake: command: provide a means to shut down from the client in memres mode

In memory resident mode we don't really want to actually shut down since
it's only the client going away.

(Bitbake rev: 74db369c46043116359101cab70486afd82372c0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: data_smart: implement remote datastore functionality
Paul Eggleton [Tue, 13 Dec 2016 07:07:04 +0000 (20:07 +1300)] 
bitbake: data_smart: implement remote datastore functionality

This allows you to maintain a local reference to a remote datastore. The
actual implementation of the remote connection is delegated to a
connector object that the caller must define and supply. There is
support for getting variable values and expanding python references
(i.e. ${@...} remotely, however setting variables remotely is not
supported - any variable setting is done locally as if the datastore
were a copy (which it kind of is).

Loosely based on an earlier prototype implementation by Qing He.

(Bitbake rev: a3edc3eefa2d03c4ad5d12187b32fa4dc495082a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: server/xmlrpc: send back 503 response with correct encoding
Paul Eggleton [Tue, 13 Dec 2016 07:07:03 +0000 (20:07 +1300)] 
bitbake: server/xmlrpc: send back 503 response with correct encoding

If you send back a string here you get "TypeError: 'str' does not
support the buffer interface" errors in bitbake-cookerdaemon.log and
"IncompleteRead(0 bytes read, 22 more expected)" errors on the client
side.

(Bitbake rev: 0d659a7dfe5fb096f8aa4380320f9e2a464b3cb5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: knotty: fix --observe-only option
Paul Eggleton [Tue, 13 Dec 2016 07:07:02 +0000 (20:07 +1300)] 
bitbake: knotty: fix --observe-only option

If we're in observe-only mode then we cannot run commands that would
affect the server's state, including getSetVariable, so prevent that
from being called in observe-only mode.

(Bitbake rev: 2c5a8661430edebff67ab4a108995033d182b5d6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: knotty: make quiet option a level option
Paul Eggleton [Tue, 13 Dec 2016 07:07:01 +0000 (20:07 +1300)] 
bitbake: knotty: make quiet option a level option

Allow you to specify -q / --quiet more than once to reduce the messages
even further. It will now operate as follows:

 Level  Option  Result
 -----  ------  ----------------------------------------
 0              Print usual output
 1      -q      Only show progress and warnings or above
 2      -qq     Only show warnings or above
 3+     -qqq    Only show errors

(Bitbake rev: 6cf2582e17c28ca04f5cfb59858c4a9778c700d4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: data_smart: fix resetting of reference on variablehistory
Paul Eggleton [Tue, 13 Dec 2016 07:07:00 +0000 (20:07 +1300)] 
bitbake: data_smart: fix resetting of reference on variablehistory

There is no "datasmart" member, only dataroot. This dates back to the
original implementation of variable history support - it's surprising we
haven't noticed the issue until now, but I guess it's rare to change a
copy of a datastore in a manner which using the old reference would
cause an issue.

(Bitbake rev: febd5534b07edfdef15cedb0578730c582c7373f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoedgerouter.conf: enable generation of wic.bmap
Ed Bartosh [Fri, 9 Dec 2016 17:46:26 +0000 (19:46 +0200)] 
edgerouter.conf: enable generation of wic.bmap

Enabled generation of block map(bmap) files for wic images
built for edgerouter machine. This should simplify flashing
images with bmaptool.

[YOCTO #10621]

(From meta-yocto rev: dd867484a43f90ac9a1a903b3e3ce3953a6fca59)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobeaglebone.conf: enable generation of wic.bmap
Ed Bartosh [Fri, 9 Dec 2016 13:12:50 +0000 (15:12 +0200)] 
beaglebone.conf: enable generation of wic.bmap

Enabled generation of block map(bmap) files for wic images
built for beaglebone machine. This should simplify flashing
images with bmaptool.

[YOCTO #10621]

(From meta-yocto rev: 503516e37e09f9f1b693e3741687661a56b905b0)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogenericx86 & x86-base: Update PREFERRED_VERSION for 4.8 kernel
Saul Wold [Mon, 5 Dec 2016 18:11:43 +0000 (10:11 -0800)] 
genericx86 & x86-base: Update PREFERRED_VERSION for 4.8 kernel

(From meta-yocto rev: ea869b917e49aaabe4e735fb719237a82468f63e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs
Kevin Hao [Fri, 9 Dec 2016 03:10:25 +0000 (11:10 +0800)] 
meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs

Boot test for all these boards.

(From meta-yocto rev: bfabbe8ef170be5c9c5218612dddb98e0f332891)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogenericx86-common: enable generation of wic.bmap
Ed Bartosh [Wed, 7 Dec 2016 13:47:07 +0000 (15:47 +0200)] 
genericx86-common: enable generation of wic.bmap

Enabled generation of block map(bmap) files for wic images
built for genericx86 and genericx86-64 machines. This should
simplify flashing images with bmaptool.

[YOCTO #10621]

(From meta-yocto rev: 1178a9b2ef56af55cc022aec506dce19f38a5633)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpcap: Disable exposed bits of WinPCAP remote capture support
Fabio Berton [Tue, 22 Nov 2016 18:15:59 +0000 (16:15 -0200)] 
libpcap: Disable exposed bits of WinPCAP remote capture support

Disable bits of remote capture support inherited from the WinPCAP merge
which cause applications to fails to build if they define HAVE_REMOTE.

(From OE-Core rev: 4e412234c37efec42b3962c11d44903c0c58c92e)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-libinput: Upgrade 0.22 -> 0.23
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:49 +0000 (12:11 +0200)] 
xf86-input-libinput: Upgrade 0.22 -> 0.23

Bug fixes + libinput now supports tablets (but wacom driver is
used instead if it is installed).

(From OE-Core rev: 83e433769415f79d0e00c07708147e5c977d28bc)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-video-vmware: Upgrade 13.1.0 -> 13.2.1
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:48 +0000 (12:11 +0200)] 
xf86-video-vmware: Upgrade 13.1.0 -> 13.2.1

Bug fixes, ABI 23 support.
Rebase the add-option-for-vmwgfx patch.

(From OE-Core rev: 89b71c22d1f773573ff2ab707f6e337b4d9089c6)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-video-omap: Upgrade 0.4.4 -> 0.4.5
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:47 +0000 (12:11 +0200)] 
xf86-video-omap: Upgrade 0.4.4 -> 0.4.5

Support ABI 23.

(From OE-Core rev: b95771f9fa113655d1b158e4e1fde0961bce460a)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-synaptics: Remove git recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:46 +0000 (12:11 +0200)] 
xf86-input-synaptics: Remove git recipe

Last source revision is from 8 years ago.

(From OE-Core rev: 27e540bec9e9e69e4ea0f813b72deae2ca0c3672)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:45 +0000 (12:11 +0200)] 
xf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0

Bug fixes, new hw support, support for XINPUT ABI 23.

(From OE-Core rev: c6f7e165eb85eff16d5c85d9c81dba9bba3d5fb4)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-mouse: Remove git recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:44 +0000 (12:11 +0200)] 
xf86-input-mouse: Remove git recipe

Last used revision is from 8 years ago.

(From OE-Core rev: 51807a74a0504e8ff3e0eb67f951316d3b418bab)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-mouse: Upgrade 1.9.1 -> 1.9.2
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:43 +0000 (12:11 +0200)] 
xf86-input-mouse: Upgrade 1.9.1 -> 1.9.2

Tiny update with ABI 23/24 support.

(From OE-Core rev: 68187fa643722fb799f4df93ac2260bbf09b4017)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-keyboard: Remove git recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:42 +0000 (12:11 +0200)] 
xf86-input-keyboard: Remove git recipe

Last used revision was from 8 years ago.

(From OE-Core rev: ea9fe27f57aac877608e1ae6783dfa701934e440)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:41 +0000 (12:11 +0200)] 
xf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0

Small update with ABI 23 support.

(From OE-Core rev: c0c0518bd3b761eb3f03fefa498a7719f6b1ed4c)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxf86-input-evdev: Upgrade 2.10.3 -> 2.10.4
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:40 +0000 (12:11 +0200)] 
xf86-input-evdev: Upgrade 2.10.3 -> 2.10.4

Tiny update to XINPUT ABI 24.

(From OE-Core rev: ea89b57f2f8a6025f426ac1ce5800176aaa91179)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxserver-xorg: Upgrade 1.18.4 -> 1.19.0
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:39 +0000 (12:11 +0200)] 
xserver-xorg: Upgrade 1.18.4 -> 1.19.0

* xserver depends on xfont2 now.
* xwayland support requires wayland-scanner: Add patch to find
  wayland-scanner and protocol files while cross-compiling.
* patch MONOTONIC_CLOCK check so it works when cross-compiling
  (otherwise we always end with no monotonic clock and xwayland
  compile fails)
* Add vardepsexclude for MACHINE to ensure consistent hashes (RB)

(From OE-Core rev: f9c2b4284fafaa8998bbd2a6f443b0b7b98dafaa)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxfont2: Add recipe
Jussi Kukkonen [Mon, 12 Dec 2016 10:11:38 +0000 (12:11 +0200)] 
libxfont2: Add recipe

This is the same old libxfont but with a new API.
xserver-xorg 1.19 depends on libxfont2.

(From OE-Core rev: c5442176ddfd56bd644b83e6f783693aaac46f3d)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcr: add missing dependencies for vapi
Jackie Huang [Mon, 12 Dec 2016 05:22:14 +0000 (13:22 +0800)] 
gcr: add missing dependencies for vapi

According to the vapi_DEPS definition:
gcr-3.vapi depends on gck-1.vapi,
gcr-ui-3.vapi depends on gck-1.vapi and gcr-3.vapi

But these dependencies are missing for the make targets,
so it will fail when build in parallel:
error: Package `gck-1' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `gcr-3' not found in specified Vala API directories or GObject-Introspection GIR directories

(From OE-Core rev: 8f582cf189ee6c4efdb1e0f1748ad1b13bad951b)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibtiff: Update to 4.0.7
Armin Kuster [Sat, 10 Dec 2016 17:38:43 +0000 (09:38 -0800)] 
libtiff: Update to 4.0.7

Major changes:
The libtiff tools bmp2tiff, gif2tiff, ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from the distribution, used for demos.

CVEs fixed:
CVE-2016-9297
CVE-2016-9448
CVE-2016-9273
CVE-2014-8127
CVE-2016-3658
CVE-2016-5875
CVE-2016-5652
CVE-2016-3632

plus more that are not identified in the changelog.

removed patches integrated into update.
more info: http://libtiff.maptools.org/v4.0.7.html

(From OE-Core rev: 9945cbccc4c737c84ad441773061acbf90c7baed)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoparselogs.py: Don't clog QA with Joule errors
California Sullivan [Sat, 10 Dec 2016 01:00:27 +0000 (17:00 -0800)] 
parselogs.py: Don't clog QA with Joule errors

The Joule is very new hardware and there is ongoing kernel and firmware
work to fix these issues, which will be available in future kernel and
firmware releases. In the meantime, don't clog QA reports.

[YOCTO #10611]

(From OE-Core rev: facf9fa905100945738c13f9f79e938ed4a81030)

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel-yocto: explicitly trap subcommand errors
Bruce Ashfield [Fri, 9 Dec 2016 19:28:00 +0000 (14:28 -0500)] 
kernel-yocto: explicitly trap subcommand errors

To trap errors and halt processing, do_kernel_metadata was recently
switched to exit on any non zero return code. While the concept is
sound, there are subcommands that have legitimate non-zero return
codes.

Instead of removing set +e, we'll explicitly check the return code
of the commands that can error, and throw a bbfatal to alert the
user.

(From OE-Core rev: a4705e62d0973c290011fc0d250501d358b659e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto/4.8: update to -rt7
Bruce Ashfield [Fri, 9 Dec 2016 19:27:59 +0000 (14:27 -0500)] 
linux-yocto/4.8: update to -rt7

Updating to the latest 4.8-rt

(From OE-Core rev: 9f4565a308be55c1bf11706041c0565d48bda4f4)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.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>
8 years agoglibc: Enable backtrace from abort on ARM
Yuanjie Huang [Fri, 9 Dec 2016 17:49:34 +0000 (11:49 -0600)] 
glibc: Enable backtrace from abort on ARM

ARM stack frames for abort and raise were limited to the the actual
abort and raise call, such as:

Obtained 4 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4adacf74]

This is not terribly useful when trying to figure out what function
may have called called the abort, especially when using pthreads.

After the change the trace would now look like:

Obtained 8 stack frames.
./test-app(print_trace+0x1c) [0x10a08]
./test-app() [0x10b3c]
/lib/libc.so.6(__default_sa_restorer+0) [0x4befe1e0]
/lib/libc.so.6(gsignal+0xa0) [0x4befcf74]
/lib/libc.so.6(abort+0x134) [0x4befe358]
./test-app(dummy_function+0x50) [0x10adc]
./test-app(main+0xd4) [0x10c24]
/lib/libc.so.6(__libc_start_main+0x114) [0x4bee7a58]

(From OE-Core rev: 93bf8713d8e13c278543baea94fb8dad0cb80e49)

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-buildenv-internal: show usage output
Ed Bartosh [Fri, 9 Dec 2016 17:26:48 +0000 (19:26 +0200)] 
oe-buildenv-internal: show usage output

Show usage text if script is not sourced.
Tested in bash, zsh and dash.

[YOCTO #10751]

(From OE-Core rev: ac7a905b18acb8bd9b2412b6682afbe1d7e18d7b)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd: Backport cgroup fix from 233 to 232
Jason Wessel [Fri, 9 Dec 2016 17:16:20 +0000 (09:16 -0800)] 
systemd: Backport cgroup fix from 233 to 232

There is a critical regression in the default behavior with systemd
232 which prevents lxc, docker, and opencontainers from working
properly out of the box.  The change was already committed to the
systemd 233 code stream.

The failure looks like what is shown below.

% lxc-start -n container -F
lxc-start: cgfsng.c: parse_hierarchies: 825 Failed to find current cgroup for controller 'name=systemd'
lxc-start: cgfsng.c: all_controllers_found: 431 no systemd controller mountpoint found
lxc-start: start.c: lxc_spawn: 1082 failed initializing cgroup support
lxc-start: start.c: __lxc_start: 1332 failed to spawn 'container'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.

Commit 843d5baf6aad6c53fc00ea8d95d83209a4f92de1 from the systemd git
has been backported and can be dropped in a future uprev.

(From OE-Core rev: d212e97aeae502cd0d11cb922f7711aee5c1ace0)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-find-native-sysroot: create usage output
Ed Bartosh [Fri, 9 Dec 2016 16:04:26 +0000 (18:04 +0200)] 
oe-find-native-sysroot: create usage output

Created usage output for oe-find-native-sysroot script.

[YOCTO #10751]

(From OE-Core rev: 8ddfc48c7f3e2ca45c035cec492fdc31c6ad484f)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-git-proxy: create usage output
Ed Bartosh [Fri, 9 Dec 2016 15:40:10 +0000 (17:40 +0200)] 
oe-git-proxy: create usage output

Created usage output for oe-git-proxy script.

[YOCTO #10751]

(From OE-Core rev: ec0fdb5e896fc20dbafcc8ae507b17c011dc56fd)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooepydevshell-internal.py: standardize usage output
Ed Bartosh [Fri, 9 Dec 2016 15:02:30 +0000 (17:02 +0200)] 
oepydevshell-internal.py: standardize usage output

Made usage output of oepydevshell-internal.py to look
similar to the output of other oe scripts.

[YOCTO #10751]

(From OE-Core rev: e6480af22a7a12c655efed14f8f1aea658f26b1c)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-setup-builddir: create usage output
Ed Bartosh [Fri, 9 Dec 2016 14:32:08 +0000 (16:32 +0200)] 
oe-setup-builddir: create usage output

Created usage output for oe-setup-builddir script.

[YOCTO #10751]

(From OE-Core rev: 77606455df7d45fd014c3603e1cf1b24efd37695)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-setup-rpmrepo: standardize usage output
Ed Bartosh [Fri, 9 Dec 2016 14:19:05 +0000 (16:19 +0200)] 
oe-setup-rpmrepo: standardize usage output

Made usage output of oe-setup-rpmrepo to look similar to the
output of other oe scripts.

[YOCTO #10751]

(From OE-Core rev: 5423c9a412c680b781417a64b412838845b5d075)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer-vaapi-1.0: check for "opengl" feature
Ismo Puustinen [Fri, 9 Dec 2016 02:58:01 +0000 (18:58 -0800)] 
gstreamer-vaapi-1.0: check for "opengl" feature

If "opengl" distro feature is not set, libva recipe is skipped. Since
missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be
done in gstreamer-vaapi-1.0 recipe too.

(From OE-Core rev: e87250d801622befa09ddba9ec8ecf7a4dcf902c)

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agopuzzles: Upgrade and fix with clang
Khem Raj [Fri, 9 Dec 2016 02:57:59 +0000 (18:57 -0800)] 
puzzles: Upgrade and fix with clang

Delete upstreamed patches

(From OE-Core rev: 908570a0da4bf755eb06fed817676c26351ab375)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-vaapi: Import from meta-intel
Khem Raj [Fri, 9 Dec 2016 02:57:58 +0000 (18:57 -0800)] 
gstreamer1.0-vaapi: Import from meta-intel

Update to 1.10.1 at the same time

(From OE-Core rev: cf4d28d7d9820cc8f658670f766267d35133865f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-rtsp-server: Add libcheck to deps
Khem Raj [Fri, 9 Dec 2016 02:57:57 +0000 (18:57 -0800)] 
gstreamer1.0-rtsp-server: Add libcheck to deps

(From OE-Core rev: 13164cc3c040eca3ffc0feb82ad707c363a57f07)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output...
Khem Raj [Fri, 9 Dec 2016 02:57:56 +0000 (18:57 -0800)] 
gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output of pkg-config

When configure pokes for wayland-protocols isntallations it ended up
using the ones from host, which is because it did not account for sysroot
prefix

Remove MACHINE from variable reference tracking to avoid unnessary rebuilds for different machine
with same arch

(From OE-Core rev: 0d349956417f00831025ccca5c8caa91f4771985)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd-boot: Use PV in recipe name
Khem Raj [Fri, 9 Dec 2016 02:57:55 +0000 (18:57 -0800)] 
systemd-boot: Use PV in recipe name

(From OE-Core rev: 8fe1e5197f6f94a49693de09f4eb9394df531cc8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0: Upgrade to 1.10.1
Khem Raj [Fri, 9 Dec 2016 02:57:54 +0000 (18:57 -0800)] 
gstreamer1.0: Upgrade to 1.10.1

Remove backported patches and upstreamed ones
Drop --disable-trace its no more in 1.10.x

Add packageconfig option for kms, keep it disabled by default
in bad plugins recipe

(From OE-Core rev: 309e02b7313398a05e70915560882c880c7f7c76)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorm_work: add do_write_qemuboot_conf to task list
Ross Burton [Fri, 9 Dec 2016 17:17:37 +0000 (17:17 +0000)] 
rm_work: add do_write_qemuboot_conf to task list

We need to add do_write_qemuboot_conf to the list of tasks to be wiped as
otherwise the second time an image is built it will fail.

[ YOCTO #10758 ]

(From OE-Core rev: 3206f408e908870629eb47afac6249a3c9497a66)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobuildstats.py: skip collecting unavailable /proc data
Patrick Ohly [Fri, 9 Dec 2016 08:40:20 +0000 (09:40 +0100)] 
buildstats.py: skip collecting unavailable /proc data

Some virtualized environments like Linux-VServer do not have the
entries under /proc that the new system usage sampling expected,
leading to an exception when trying to open the files.

Now the presence of these files is checked once before enabling the
corresponding data collection. When a file is missing, the
corresponding log file is not written either and pybootchart will not
draw the chart that normally displays the data.

Errors while reading or writing of data samples is intentionally still
a fatal error, because that points towards a bigger problem that
should not be ignored.

Reported-by: Andreas Oberritter <obi@opendreambox.org>
(From OE-Core rev: daeee2d6731014c33f0d1f8a3846830c099932b4)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibva: check for "opengl" feature
Ismo Puustinen [Fri, 9 Dec 2016 02:58:00 +0000 (18:58 -0800)] 
libva: check for "opengl" feature

In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy
its dependencies. The dependency check is done by BitBake when
meta-world-pkgdata gathers information about all available packages
during image builds, even if libva isn't included in the build. This
patch makes libva recipe be skipped if the "opengl" DISTRO_FEATURE isn't
found.

(From OE-Core rev: a78c420c4a2cf298e790b71b564a9f52949b966a)

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoUse weak assignment for SERIAL_CONSOLES in qemu configuration files
Chen Qi [Fri, 9 Dec 2016 07:43:03 +0000 (15:43 +0800)] 
Use weak assignment for SERIAL_CONSOLES in qemu configuration files

Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that
the value could serve as a default value and could be easily overridden in
configuration files like local.conf.

When using the default value for SERIAL_CONSOLES in qemux86-64,we would have
annoying messages on console complaining about respawning getty on ttyS1.
Although the value is set by purpose, at least we need to provide an easy way
to override it.

(From OE-Core rev: 5f060b66162c41a295995947b918253450870117)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoarchiver: don't change directory when generating tarball
Ross Burton [Thu, 8 Dec 2016 21:29:57 +0000 (21:29 +0000)] 
archiver: don't change directory when generating tarball

There's no need to chdir() as tarfile.add() can be told what name to use in the
archive.

(From OE-Core rev: d0b282bce34db44dde4dd7f53a64dfaafe6789de)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-trim-schemas: create usage output
Ed Bartosh [Thu, 8 Dec 2016 16:56:49 +0000 (18:56 +0200)] 
oe-trim-schemas: create usage output

Created usage output for oe-trim-schemas script.

[YOCTO #10751]

(From OE-Core rev: a9fac12157ed434a6711de1af77eda1f4a8e9e8a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-run-native: standardize usage output
Ed Bartosh [Thu, 8 Dec 2016 15:27:23 +0000 (17:27 +0200)] 
oe-run-native: standardize usage output

Made usage output of oe-run-native to look similar to the
output of other oe scripts.

[YOCTO #10751]

(From OE-Core rev: e1c96125ea674509fbc9b36dc671b7a53bd848ac)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: Load plugins in a well defined order
Ola x Nilsson [Tue, 25 Oct 2016 11:03:35 +0000 (13:03 +0200)] 
recipetool: Load plugins in a well defined order

To allow recipetool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/recipetool directories and then
scripts/lib/recipetool and load only the first found.

The previous search and load loop would load all found plugins with the
ones found later replacing any found before.

(From OE-Core rev: 7a8726a3662a3909dc6ef6e8d1029d0b1aa938c3)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: Load plugins in a well defined order
Ola x Nilsson [Tue, 25 Oct 2016 11:03:34 +0000 (13:03 +0200)] 
devtool: Load plugins in a well defined order

To allow devtool plugins in one layer to shadow another in a well
defined way, first search BBPATH/lib/devtool directories and then
scripts/lib/devool and load only the first found.

The previous search and load loop would load all found plugins with the
ones found later replacing any found before.

(From OE-Core rev: 1b2b8a0a80de17ea053002fdd124055d2798029a)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agorecipetool: selftest: Add test for recipetool plugin loading
Ola x Nilsson [Tue, 25 Oct 2016 11:03:33 +0000 (13:03 +0200)] 
recipetool: selftest: Add test for recipetool plugin loading

Test that recipetool plugins are loaded in a well defined order.

(From OE-Core rev: 044de8424a454a7057906e44eb56e2134ebb17e4)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodevtool: selftest: add test for devtool plugin loading
Ola x Nilsson [Tue, 25 Oct 2016 11:03:32 +0000 (13:03 +0200)] 
devtool: selftest: add test for devtool plugin loading

Test that devtool plugins are loaded in a well defined order.

(From OE-Core rev: 0de81f0c8b29d8b442b3d099c3bec3fd345b6bfe)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocups: 2.1.4 -> 2.2.1
Huang Qiyu [Wed, 7 Dec 2016 18:16:51 +0000 (10:16 -0800)] 
cups: 2.1.4 -> 2.2.1

Upgrade cups from 2.1.4 to 2.2.1.

License checksum changes are not related to license changes.

(From OE-Core rev: 1b4427483349d4653a0060b045a7df964a779870)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogrub2: fix some quirks and div by zero
Awais Belal [Thu, 8 Dec 2016 14:09:39 +0000 (19:09 +0500)] 
grub2: fix some quirks and div by zero

Rather than erroring out on a single attempt while
terminating EFI services, make a few retries because
such quirks are found in a few implementations.
Also fix a div by zero issue in the same framework
which causes an infinite reboot on the target.
Both patches included here are backports.

(From OE-Core rev: 5e6ac806bd9b8bf885ef1e88484e91e4cdaaa69a)

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>
8 years agowic: rename command line option -p -> -s
Ed Bartosh [Thu, 8 Dec 2016 13:19:55 +0000 (15:19 +0200)] 
wic: rename command line option -p -> -s

Short variant of wic command line option --skip-build-check
is incorretly named -p. It's named -s in wic help and Yocto
documentation.

(From OE-Core rev: 8d4121459334349f10bfb0f4cda00a8461aab245)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomatchbox-wm: Upgrade 1.2.1 -> 1.2.2
Jussi Kukkonen [Thu, 8 Dec 2016 11:05:25 +0000 (13:05 +0200)] 
matchbox-wm: Upgrade 1.2.1 -> 1.2.2

Fixes [YOCTO #10635]: _NET_CURRENT_DESKTOP returns empty value.

(From OE-Core rev: f63c75cc0da4f64ed2d769690122a34d40f7af49)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowic: Create a logical partition only when it is really mandatory
Alessio Igor Bogani [Wed, 7 Dec 2016 14:00:57 +0000 (15:00 +0100)] 
wic: Create a logical partition only when it is really mandatory

Don't worth bother with logical partition on MBR partition type (aka
msdos) if disk image generated by wic should have 4 partitions.

(From OE-Core rev: 36a558fbdc96094626e7de1a3510691e30885368)

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoslang: 2.3.0 -> 2.3.1
Huang Qiyu [Thu, 8 Dec 2016 13:31:29 +0000 (05:31 -0800)] 
slang: 2.3.0 -> 2.3.1

1)Upgrade slang from 2.3.0 to 2.3.1.
2)Delete 0001-Fix-error-conflicting-types-for-posix_close.patch, since it is integrated upstream.

(From OE-Core rev: ff8865af3975fafcbe4cdf31e335a8c94c49304d)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agompfr: 3.1.4 -> 3.1.5
Huang Qiyu [Thu, 8 Dec 2016 13:17:33 +0000 (05:17 -0800)] 
mpfr: 3.1.4 -> 3.1.5

Upgrade mpfr from 3.1.4 to 3.1.5.

(From OE-Core rev: a097be7b51322db26cc41f48e94a0d5c9aae892a)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnotify : 0.7.6 -> 0.7.7
Huang Qiyu [Thu, 8 Dec 2016 09:22:18 +0000 (01:22 -0800)] 
libnotify : 0.7.6 -> 0.7.7

Upgrade libnotify from 0.7.6 to 0.7.7.

(From OE-Core rev: bcf9c938bfb38781aee19dc214884c34c9465800)

Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxkeyboard-config: 2.18 -> 2.19
Zheng Ruoqin [Thu, 8 Dec 2016 01:25:56 +0000 (09:25 +0800)] 
xkeyboard-config: 2.18 -> 2.19

Upgrade xkeyboard-config from 2.18 to 2.19

(From OE-Core rev: 07f180bba04445dbec5ca0607a6844b2b62d5b23)

Signed-off-by: zhengruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoRevert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"
Carlos Alberto Lopez Perez [Wed, 7 Dec 2016 20:17:07 +0000 (21:17 +0100)] 
Revert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"

This reverts commit 812c52f654c1bccca033163100055e3a8b8cda6e.

Upstream fixed the issue with GCC. But the build still fails with Clang.
Therefore reintroduce this patch until a better solution is found.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=161697

(From OE-Core rev: 39be43943e3de0eb0ab9b61b405f3b76f12a307d)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibarchive: fix ALTERNATIVE_PRIORITY to avoid conflict
Chen Qi [Wed, 7 Dec 2016 01:45:37 +0000 (09:45 +0800)] 
libarchive: fix ALTERNATIVE_PRIORITY to avoid conflict

'tar' utility from tar and bsdtar has the same alternative priority.
'cpio' utility from cpio and bsdcpio has the same alternative priority.

Lower the ALTERNATIVE_PRIORITY to avoid conflict.

(From OE-Core rev: 9a59ff628771b586666999d44923968a6bc58956)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinitscripts: populate-volatile: improve config file parsing
Mans Rullgard [Thu, 1 Dec 2016 12:30:34 +0000 (12:30 +0000)] 
initscripts: populate-volatile: improve config file parsing

This improves the config file parsing to permit blank lines and
comments following an entry or preceeded by whitespace.

(From OE-Core rev: 415eaacb83b1c6df5210fb423e3e96e530b1dc42)

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomesa: update to 13.0.2
Andreas Müller [Tue, 6 Dec 2016 00:19:17 +0000 (01:19 +0100)] 
mesa: update to 13.0.2

(From OE-Core rev: 0b3e3415c51dd534d8fc585ea1e3916375ddcc66)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: Add option to submit test result to a git repository.
Mariano Lopez [Thu, 17 Nov 2016 12:18:52 +0000 (12:18 +0000)] 
oe-selftest: Add option to submit test result to a git repository.

This new option allows to commit the result to a git repository,
along with the results it will add a metadata file for information
of the current selftest run, such as: hostname, machine, distro,
distro version, host version, and layers.

This implementation will have a branch per different hostname,
testing branch, and machine.

To use this feature use:

oe-selftest <options> --repository <repository_link>

[YOCTO #9954]

(From OE-Core rev: 758e4b7e619f9aaa79e3910b5539ff8fb2d1064a)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/utils/metadata.py: Add metadata library
Mariano Lopez [Sun, 27 Nov 2016 19:49:29 +0000 (13:49 -0600)] 
oeqa/utils/metadata.py: Add metadata library

Adds functions to get metadata from the host running the tests.

[YOCTO #9954]

(From OE-Core rev: 10b05794254886e55c76f29f7778d783c550befa)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/utils/commands.py: Make a copy of variables in get_bb_vars
Mariano Lopez [Wed, 30 Nov 2016 16:48:21 +0000 (10:48 -0600)] 
oeqa/utils/commands.py: Make a copy of variables in get_bb_vars

The function get_bb_vars will remove items for the list passed
as the function argument, this will leave the caller with an
empty list and the function never says it will consume the items.

This hasn't been found before because only get_bb_var uses this
function.

(From OE-Core rev: 22b7fa24fefcc3974806d1b282c93b8c5880f6a4)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocve-check: allow recipes to override the product name
Ross Burton [Wed, 7 Dec 2016 11:25:53 +0000 (11:25 +0000)] 
cve-check: allow recipes to override the product name

Add a new variable CVE_PRODUCT for the product name to look up in the NVD
database.  Default this to BPN, but allow recipes such as tiff (which is libtiff
in NVD) to override it.

(From OE-Core rev: ba330051570a4c991885ee726cb187e0c911bd4f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocurl: set CVE_PRODUCT
Ross Burton [Wed, 7 Dec 2016 16:41:40 +0000 (16:41 +0000)] 
curl: set CVE_PRODUCT

This is 'libcurl' in NVD.

(From OE-Core rev: f5381da49ac781ef017a1b9816c00b512ca9c7c2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotiff: set CVE_PRODUCT
Ross Burton [Thu, 8 Dec 2016 10:42:25 +0000 (10:42 +0000)] 
tiff: set CVE_PRODUCT

This is 'libtiff' in NVD.

(From OE-Core rev: 0c8d1523f3ad0ada2d1b8f9abffbc2b898a744ca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: views Remove old code that converts template context to JSON
Michael Wood [Fri, 9 Dec 2016 16:52:55 +0000 (16:52 +0000)] 
bitbake: toaster: views Remove old code that converts template context to JSON

Remove the template context to JSON decorator function as this is
deprecated by having a proper REST API.

(Bitbake rev: b65a8193368ffa1d15af24a6acde8dce6bd4d383)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: js test Update js tests to use correct url for layer REST
Michael Wood [Fri, 9 Dec 2016 16:52:54 +0000 (16:52 +0000)] 
bitbake: toaster: js test Update js tests to use correct url for layer REST

Update js tests so that we use the new Layer REST API.

(Bitbake rev: 81764ce3ebf0d2fcb3dc6965f6f07931d39e5524)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: Switch front end to use Layer get REST API
Michael Wood [Fri, 9 Dec 2016 16:52:53 +0000 (16:52 +0000)] 
bitbake: toaster: Switch front end to use Layer get REST API

Switch the front end to use the proper REST API for retrieving layer
information.

(Bitbake rev: 5ea25c49091f4d4b5007af948e063ed25ba5766f)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: typeaheads Layers add url to layer REST API to the layer
Michael Wood [Fri, 9 Dec 2016 16:52:52 +0000 (16:52 +0000)] 
bitbake: toaster: typeaheads Layers add url to layer REST API to the layer

Add the url to the Layer typeahead so that this can be used later on by
the front end code to look up layer details.

(Bitbake rev: d195f24a1b30ae8698bff5e87308347b9596a2e2)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: api Add GET REST API for Layer information
Michael Wood [Fri, 9 Dec 2016 16:52:51 +0000 (16:52 +0000)] 
bitbake: toaster: api Add GET REST API for Layer information

Add a get API for returning information about layers.

(Bitbake rev: 3fa5170c98c699d2a7a8380b696fc599efcc5dee)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: importlayer Add git revision typeahead to that input field
Michael Wood [Fri, 9 Dec 2016 16:52:50 +0000 (16:52 +0000)] 
bitbake: toaster: importlayer Add git revision typeahead to that input field

Add the front end mechanism to load the typeahead for the git revision
field on importing a layer.
Also fix one indentation issue and update the js test.

(Bitbake rev: 28114be42174095b812a93d4b5a0e01e953d74f8)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: typeaheads Add a git revisions suggestions
Michael Wood [Fri, 9 Dec 2016 16:52:49 +0000 (16:52 +0000)] 
bitbake: toaster: typeaheads Add a git revisions suggestions

When we're importing a layer it's useful to suggest available git revisions of the
layers. This uses git ls-remote to fetch the revisions and then filter on this.
Caching is added for this typeahead to avoid having to fetch this
information multiple times in a single session.

[YOCTO #8429]

(Bitbake rev: a94ae3ad0cb07a52004143c6f86f371b9e330e9f)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: typeaheads widgets Fix flake8 issues and remove redundant code
Michael Wood [Fri, 9 Dec 2016 16:52:48 +0000 (16:52 +0000)] 
bitbake: toaster: typeaheads widgets Fix flake8 issues and remove redundant code

Fix flake8 issues and remove redundant __init__ function definitions
from typeaheads (likely a copy and paste error).

(Bitbake rev: be1f9f48da480d813e3364815cb3e002ba70dd22)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: tests Update import layer test to use new Layer add api
Michael Wood [Fri, 9 Dec 2016 16:52:47 +0000 (16:52 +0000)] 
bitbake: toaster: tests Update import layer test to use new Layer add api

(Bitbake rev: d4c79cd60c12d329c533add73e88b7184dca6ca3)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: importlayer Use new layer add API
Michael Wood [Fri, 9 Dec 2016 16:52:46 +0000 (16:52 +0000)] 
bitbake: toaster: importlayer Use new layer add API

Switch the importlayer.js to use the new REST API for importing a new layer.

(Bitbake rev: 6475fd7e0d2488bf300b75322f2c00297cd1440b)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: api Add layer Add api
Michael Wood [Fri, 9 Dec 2016 16:52:45 +0000 (16:52 +0000)] 
bitbake: toaster: api Add layer Add api

Add layer adding REST api and remove old views method.

(Bitbake rev: 0c8e41d2217fd568a84e857d1be230fcfd4bb5c7)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: models Layer_Version get_detailspage_url optional project_id
Michael Wood [Fri, 9 Dec 2016 16:52:44 +0000 (16:52 +0000)] 
bitbake: toaster: models Layer_Version get_detailspage_url optional project_id

Allow passing none as the project id, this is convenient for layers
which belong to projects already and therefore have their own project
field.

Add documentation string to function

(Bitbake rev: 78dc7b9f1801e7f4c266ba1369e5706f177ddaa1)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: models Layer fix whitespace
Michael Wood [Fri, 9 Dec 2016 16:52:43 +0000 (16:52 +0000)] 
bitbake: toaster: models Layer fix whitespace

(Bitbake rev: 8116cb4f71de09eff124cd48d80cc7a7c64da5e1)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: tablejs Add visual indicator for table data loading
Michael Wood [Fri, 9 Dec 2016 16:52:42 +0000 (16:52 +0000)] 
bitbake: toaster: tablejs Add visual indicator for table data loading

Add a visual indicator when the data is changing in the table, for instance if
it's being re-ordered, searched or paginated.

[YOCTO #10104]

(Bitbake rev: 554c4992b33b77526b4b37c7484f1dd00032ddef)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoedgerouter.py: avoid python3 exception
Juro Bystricky [Sat, 10 Dec 2016 17:13:38 +0000 (09:13 -0800)] 
edgerouter.py: avoid python3 exception

This fixes an error such as:

Exception: File "/master/poky/meta-yocto-bsp/lib/oeqa/controllers/edgeroutertarget.py", line 47
    self.image_fstype = self.get_image_fstype(d)
TabError: inconsistent use of tabs and spaces in indentation

(From meta-yocto rev: 5ff5dc2767dfef93c314e7465a52ca2dce553604)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agotargetloader.py: drop test for ClassType
Juro Bystricky [Sat, 10 Dec 2016 17:21:45 +0000 (09:21 -0800)] 
targetloader.py: drop test for ClassType

ClassType was removed from python3.
The code testing for ClassType kept throwing AttributeError exceptions:

    module 'types' has no attribute 'ClassType'

The exceptions prevented loading of any dynamically resolved target
controllers.

(From OE-Core rev: d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.8
Alejandro Hernandez [Thu, 8 Dec 2016 17:25:21 +0000 (17:25 +0000)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.8

Updates to Linux 4.8.12
- Includes CVE-2016-8655

(From meta-yocto rev: cccbd2d315a69befd090744af095e89bdd0e77bb)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4
Alejandro Hernandez [Thu, 8 Dec 2016 17:25:20 +0000 (17:25 +0000)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.4

Updates to Linux 4.4.36
- Includes CVE-2016-8655

(From meta-yocto rev: 95bc86ba1bb33ef2e6808fa7d080c07904073daf)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-yocto: Update genericx86* SRCREVs for linux-yocto 4.1
Alejandro Hernandez [Thu, 8 Dec 2016 17:25:19 +0000 (17:25 +0000)] 
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.1

Updates to Linux 4.1.36
- Includes CVE-2016-8655

(From meta-yocto rev: 4966f0daa0ae91bd2c1329b4a5434d0fb0c7f477)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>