]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
9 years agobitbake: toaster: BuiltPackagesTable format empty state in packages table
Belen Barros Pena [Thu, 9 Jun 2016 10:35:11 +0000 (11:35 +0100)] 
bitbake: toaster: BuiltPackagesTable format empty state in packages table

The explanatory message in the empty state of the packages built table
was missing some spaces.

(Bitbake rev: 70f600f86ec4d536004d968919e86d2afa58d585)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: build data Fix left navigation
Belen Barros Pena [Wed, 8 Jun 2016 17:00:06 +0000 (18:00 +0100)] 
bitbake: toaster: build data Fix left navigation

Make sure the current page is always highlighted in the left navigation.

(Bitbake rev: 3d7f5d6ae843bcc3b5af1a9414ab5cb2759d0853)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: port all build analysis pages to bootstrap 3
Belen Barros Pena [Thu, 2 Jun 2016 13:26:16 +0000 (14:26 +0100)] 
bitbake: toaster: port all build analysis pages to bootstrap 3

Port all the pages in the build analysis area to bootstrap version 3.

(Bitbake rev: f963b73f0bf32db2df39dd79d8d85184c280cda0)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: buildtables Remove links from non name fields
Belen Barros Pena [Fri, 10 Jun 2016 13:31:29 +0000 (14:31 +0100)] 
bitbake: toaster: buildtables Remove links from non name fields

Design change to have no links for non-named fields in BuiltPackagesTable.
BuiltRecipesTables and BuildTasksTable.

Additionally:
- Fix class and elements for Bootstrap3 in help text.
- Change title of InstalledPackages table to Packages Included.
- Change which columns are default shown/hidden columns.

(Bitbake rev: 7c377e161a90184a4786e33951d8c0e30688ba3b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: fix typo which prevents filters from working
Elliot Smith [Tue, 7 Jun 2016 15:29:35 +0000 (16:29 +0100)] 
bitbake: toaster: fix typo which prevents filters from working

'k' was replaced by 'key' at some point but not fixed in the
body of the loop. This caused a failure when the the query
was constructed for a filtered queryset, due to the variable
not being defined.

(Bitbake rev: 37fb9a364e645baadda30cc74a18baa565f39857)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster-tests: maximize browser window when running UI tests
Elliot Smith [Tue, 26 Apr 2016 16:12:52 +0000 (17:12 +0100)] 
bitbake: toaster-tests: maximize browser window when running UI tests

In some pages of the UI, the UI tests failed because parts of
the UI which should be visible were being reported as not
visible by the Selenium PhantomJS driver.

On investigation, it turns out that PhantomJS uses a very narrow
default window. This meant that some parts of the UI were being
clipped and were thus not "visible" to the driver, causing test
failures (specifically, on the new custom image page).

Ensure that the window is maximized before running tests to
prevent this happening.

(Bitbake rev: 3f61bef9359926211be7a3177a2071963726ead5)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Rework displaying package dependencies across Toaster
Michael Wood [Thu, 26 May 2016 15:12:27 +0000 (16:12 +0100)] 
bitbake: toaster: Rework displaying package dependencies across Toaster

After porting the build table to a unified mechanism for showing
dependencies in tables it highlighted that the dependencies selected to
be shown were un-filtered. i.e. all dependencies from all contexts were
shown. The context for a package's dependencies is based on the target
that they were installed onto, or if not installed then a "None" target.

Depending on where the template for the dependencies are show we need to
switch this target which is why a filter and utility function on the
model is added.

Additionally to use the same templates in the build analysis we also
need to optionally add links to the build data for the packages being
displayed as dependencies.

Customising a Custom image recipes may or may not have a target
depending on whether they have been built or not, if not we do a best
effort at getting the dependencies by using the last known target on
that package to get the dependency information.

[YOCTO #9676]

(Bitbake rev: 31e7c26cc31a7c8c78c1464fa01581683bfd2965)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: widgets ToasterTable Catch template rendering exceptions
Michael Wood [Thu, 26 May 2016 15:12:26 +0000 (16:12 +0100)] 
bitbake: toaster: widgets ToasterTable Catch template rendering exceptions

If a cell template rendering causes an exception catch it and carry on,
this at least allows the table to show the rest of the data if nothing
else. Also improve the error logging so that it's possible what the
offending template snippet was.

(Bitbake rev: 566b4fbe9cfe4c6c0605c4f6444083ee4cf8b958)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: tests Add new build tables to tests
Michael Wood [Thu, 26 May 2016 15:12:25 +0000 (16:12 +0100)] 
bitbake: toaster: tests Add new build tables to tests

- Add new build tables to be tested
- Add required data into the fixture and clean up a few empty fields
- Fix the SoftwareRecipesTable specific test so as not to rely on two
  particular defined recipes

(Bitbake rev: 7cf23671659666b27b5629fecd5f947f9bdb94e0)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: table.js Add the ability to highlight a particular row
Michael Wood [Thu, 26 May 2016 15:12:24 +0000 (16:12 +0100)] 
bitbake: toaster: table.js Add the ability to highlight a particular row

As in the old build tables it's useful to jump and highlight a
particular row in the table using the #hash in the URL.

(Bitbake rev: 927bfc26ffcb0eb6c0a5b3c0905b7efc2f19b9a2)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: port Installed packages table to ToasterTable
Michael Wood [Thu, 26 May 2016 15:12:23 +0000 (16:12 +0100)] 
bitbake: toaster: port Installed packages table to ToasterTable

(Bitbake rev: 2418c092abd9a503becf5e786125f8cdddd8652c)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: port Task tables to ToasterTables widget
Michael Wood [Thu, 26 May 2016 15:12:22 +0000 (16:12 +0100)] 
bitbake: toaster: port Task tables to ToasterTables widget

Port the Task based tables to ToasterTable. This is the Task, Time, CPU
usage and Disk I/O tables.

(Bitbake rev: bebcef7a4bf08b10e472475435ddc7a524364adb)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: port Built recipes table to toastertables
Michael Wood [Thu, 26 May 2016 15:12:21 +0000 (16:12 +0100)] 
bitbake: toaster: port Built recipes table to toastertables

(Bitbake rev: 9434d3925bb7768876aae8d649ea00b8d849c6e9)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: port table for Built packages to ToasterTable
Michael Wood [Thu, 26 May 2016 15:12:20 +0000 (16:12 +0100)] 
bitbake: toaster: port table for Built packages to ToasterTable

This is the table that displays all the packages built in the build.
Build -> Packages. Adds a template snippet for the git revision popover.

(Bitbake rev: df62f38ff4e634544c9b1e97c5f6ca45e84a4f1e)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: ToasterTable widget add an 'a' to Name in Exception class
Michael Wood [Thu, 26 May 2016 15:12:19 +0000 (16:12 +0100)] 
bitbake: toaster: ToasterTable widget add an 'a' to Name in Exception class

(Bitbake rev: 4c0e07b8379381cfe887a4c65d2f61af05914082)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: toaster tables Enable complex empty states
Belen Barros Pena [Thu, 5 May 2016 14:51:09 +0000 (15:51 +0100)] 
bitbake: toaster: toaster tables Enable complex empty states

Make sure we can create empty states for toaster tables that include
actions for users to get out of the empty state. Allows a template to be
used as an empty state.

(Bitbake rev: 9f21a1781345a2d2757616a9ab6f34ec48e9e93d)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3
Belen Barros Pena [Tue, 12 Apr 2016 14:56:43 +0000 (15:56 +0100)] 
bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3

Convert all the HTML templates, JS and CSS in the project parts of
toaster to use bootstrap 3.

(Bitbake rev: 69527a731eada699d3f604ff8f3ae9410981ba9b)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: work-around our lack of a synchronous fetch for typeaheads
Elliot Smith [Mon, 18 Apr 2016 15:59:05 +0000 (16:59 +0100)] 
bitbake: toaster: work-around our lack of a synchronous fetch for typeaheads

The Twitter typeahead.js library expects the developer to use
a source which does a local search for matching suggestions, then
falls back to a remote search if that doesn't return enough
results.

However, in Toaster, we don't do any caching of the suggestions
for a typeahead, so our source only works in asynchronous mode.

Consequently, we see fewer than the expected number of suggestions
if the typeahead has already shown suggestions matching a query.
For example, searching for "meta-n" in the layers typeahead will
show the results for this query; but when the query changes to
"meta-ne", a new set of results is fetched, which mostly overlaps
with the results for "meta-n". The typeahead assumes that the
overlapping items are locally cached and have been delivered
synchronously, and just appends the new results which don't
overlap with the previous query. But because we don't provide any
results synchronously, we just end up with the single
non-overlapping result in the drop-down.

This can be fixed by hacking typeahead.js so that instead of
appending asynchronous results, we always overwrite and redraw
the whole typeahead menu.

This is a temporary fix, and should be properly fixed (when we
have time), perhaps by using typeahead.js's associated Bloodhound
library.

Added a note about the hack to the license file as an explanation
of why the unminified JS file is included in Toaster.

(Bitbake rev: afbaf326e1123c92952fa71e0e820a4ff83488ca)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: migrate typeahead library
Elliot Smith [Tue, 12 Apr 2016 11:07:01 +0000 (12:07 +0100)] 
bitbake: toaster: migrate typeahead library

Migrate from Bootstrap 2's built-in typeahead to Twitter's
typeahead library.

This is to facilitate moving to Bootstrap 3, which doesn't have
a typeahead.

(Bitbake rev: 0748177b40188a6fb735fe1ba1c17294afa4a3d0)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: tests Add a BuildTest helper class
Michael Wood [Mon, 25 Apr 2016 18:04:56 +0000 (19:04 +0100)] 
bitbake: toaster: tests Add a BuildTest helper class

Add a helper class for running build tests. Subclass this and call the
build method to get setup for running tests on the resulting data from a
build.

(Bitbake rev: 2cafb16033b2f38156e6e0a74c02120f87a4fa92)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: tweaks to recipe file downloads
Belen Barros Pena [Thu, 28 Apr 2016 12:45:17 +0000 (13:45 +0100)] 
bitbake: toaster: tweaks to recipe file downloads

* In the custom images table, show the recipe file and download icon
only when the recipe file exists and can be downloaded.

* Also in the custom images table, make sure the download icon tooltip
shows on hover.

* In the custom image details page, show the correct icon (download)
next to the recipe file in the right hand column.

* In the custom image details page, show the recipe file and download
icon in the right hand column only when the recipe file exists and can
be downloaded

* Also in the custom image details page, simplify the help text we show
when the 'download' button is disabled: it gave so much information about
what's actually happening under the hood that it was a bit hard to
follow.

(Bitbake rev: 5d4172bc005efe209de595f6a151ae9ed062d051)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: toaster: testsjs Add call back to append elements on completion of tests
Michael Wood [Mon, 4 Apr 2016 10:49:37 +0000 (11:49 +0100)] 
bitbake: toaster: testsjs Add call back to append elements on completion of tests

When the tests are complete add some marker elements to the test page
DOM which can then looked at for a selenium browser test.

(Bitbake rev: 81798ab046b0717614e28e0a339172f3803e451b)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogzip: upgrade to 1.8
Richard Purdie [Sun, 12 Jun 2016 02:21:02 +0000 (10:21 +0800)] 
gzip: upgrade to 1.8

Drop the do_install musl append since the charset file is no longer installed.

Refresh the patch.

Also update the PREFERRED_VERSION.

(From OE-Core rev: c57ab66984bff1ea5596ffe592a0ca1e9ba82ab0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoncurses: upgrade to 6.0+20160319
Hongxu Jia [Mon, 13 Jun 2016 09:16:35 +0000 (05:16 -0400)] 
ncurses: upgrade to 6.0+20160319

(From OE-Core rev: 1ac29df99c5533c7d6752b5756e9f0b43e2d9b64)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopax-utils: upgrade to 1.1.6
Hongxu Jia [Mon, 13 Jun 2016 09:16:34 +0000 (05:16 -0400)] 
pax-utils: upgrade to 1.1.6

(From OE-Core rev: 3d53e72136eba38dfaff791dae954a6480db600e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoman-pages: upgrade to 4.06
Hongxu Jia [Mon, 13 Jun 2016 09:16:33 +0000 (05:16 -0400)] 
man-pages: upgrade to 4.06

(From OE-Core rev: 62a2f5cc293e74df1090a83e87f24798cf5d5fa1)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibxml2: upgrade to 2.9.4
Hongxu Jia [Mon, 13 Jun 2016 09:16:32 +0000 (05:16 -0400)] 
libxml2: upgrade to 2.9.4

- Drop configure.ac-fix-cross-compiling-warning.patch,
  libxml2 2.9.4 has fixed it

(From OE-Core rev: 323c7cec65603476994dde196f4c2c151d0e0d31)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibnewt/libnewt-python: upgrade to 0.52.19
Hongxu Jia [Mon, 13 Jun 2016 09:16:31 +0000 (05:16 -0400)] 
libnewt/libnewt-python: upgrade to 0.52.19

- Drop remove_slang_include.patch, libnewt 0.52.19 has fixed it.

(From OE-Core rev: 8e24a6ed1cd6fd91f9b4644b1fa199e516c25fa2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibgcrypt: upgrade to 1.7.0
Hongxu Jia [Mon, 13 Jun 2016 09:16:30 +0000 (05:16 -0400)] 
libgcrypt: upgrade to 1.7.0

- Add fix-undefined-reference-to-pthread.patch to fix undefined
  reference to `pthread_create'

(From OE-Core rev: f9ed35ec4aeca0a37e8b00a0b185abf1b87db0d1)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agohelp2man-native: upgrade to 1.47.4
Hongxu Jia [Mon, 13 Jun 2016 09:16:29 +0000 (05:16 -0400)] 
help2man-native: upgrade to 1.47.4

(From OE-Core rev: 8b7bd6635a072eabb6aec3a7014048a1704a3443)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognugp: upgrade to 2.1.12
Hongxu Jia [Mon, 13 Jun 2016 09:16:28 +0000 (05:16 -0400)] 
gnugp: upgrade to 2.1.12

(From OE-Core rev: 21078e8f5a2156b1a1f4f50d345508fb1c7e7e66)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoghostscript: upgrade to 9.19
Hongxu Jia [Mon, 13 Jun 2016 09:16:27 +0000 (05:16 -0400)] 
ghostscript: upgrade to 9.19

- Ghostscript and GhostPDL releases from version 9.19 have been moved to GitHub
  hosting, tweak download site

- Drop 0001-Bug-696497-Fix-support-for-building-with-no-jbig2-de.patch, and
  0002-Bug-696497-part-2-fix-support-for-building-with-a-JP.patch, ghostscript
  9.19 has fixed them.

- Fix QA Warning unrecognised options: --enable-little-endian. It use AC_C_BIGENDIAN
  to detect big/little endian.
  http://www.delorie.com/gnu/docs/autoconf/autoconf_64.html

(From OE-Core rev: 227ca0a373b5a93602a419296ff1da1a96615ba2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodhcp: upgrade to 4.3.4
Hongxu Jia [Mon, 13 Jun 2016 09:16:26 +0000 (05:16 -0400)] 
dhcp: upgrade to 4.3.4

- Drop fix-external-bind.patch, which dhcp 4.3.4 supports
  option --with-libbind=PATH

- Add tweak-to-support-external-bind.patch, tweak the external
  bind to oe-core's sysroot rather than external bind source build.

- Drop CVE-2015-8605.patch, CVE-2016-2774.patch, dhcp 4.3.4 has fixed them

- Add configure option --with-randomdev=/dev/random

(From OE-Core rev: f9172ba3a26a1dc6fc010ed0f1300782fa411636)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage.bbclass: do exact match for rootfs type
Zhenhua Luo [Mon, 13 Jun 2016 11:47:34 +0000 (19:47 +0800)] 
image.bbclass: do exact match for rootfs type

Do exact match for rootfs type, instead of pattern match, to avoid
unexpected build error due to redundant rootfs type build.

E.g. when building ext2.gz.u-boot, both .gz.u-boot and .u-boot are matched,
the following build error will appear, actually .u-boot is not needed.
| mkimage: Can't open .../core-image-minimal-<machine>-<yyyymmddhhmmss>.rootfs.ext2.gz: No such file or directory

(From OE-Core rev: 46bc438374de74af76d288520c6252c9b7840767)

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxinput-calibrator: add missing dependency for xinput_calibrator_once.sh
Urs Fässler [Mon, 13 Jun 2016 14:46:21 +0000 (16:46 +0200)] 
xinput-calibrator: add missing dependency for xinput_calibrator_once.sh

xinput_calibrator_once.sh uses xrandr to read the resolution but is not in the dependency list.
Busybox is unable to parse the corresponding line, hence depending on bash.

(From OE-Core rev: d2b6e325a00e77e6fbee25f3b46cb73af29f1652)

Signed-off-by: Urs Fässler <urs.fassler@bbv.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibc-package: ensure glibc-locale package list is deterministic
Ross Burton [Mon, 13 Jun 2016 13:56:08 +0000 (14:56 +0100)] 
libc-package: ensure glibc-locale package list is deterministic

If all locales are being generated then the list used is the keys from a
dictionary.  In Python 3.4 onwards the ordering of a dictionary changes for
every instance, so sort the key list.

(From OE-Core rev: 7f6d7f729df37747be0d2cd2503cddca0184fd1f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowebkitgtk: do not inherit pythonnative
Alexander Kanavin [Mon, 13 Jun 2016 13:11:25 +0000 (16:11 +0300)] 
webkitgtk: do not inherit pythonnative

Set the path to python 2.x explicitly instead; pythonnative
and python3native classes cannot be used in the same recipe.

(From OE-Core rev: a70f6611baaf6705b85b73feff7babc2494efcbd)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-native Add RPROVIDES python3-importlib-native
Richard Purdie [Mon, 13 Jun 2016 08:11:59 +0000 (09:11 +0100)] 
python3-native Add RPROVIDES python3-importlib-native

'''
WARNING: Nothing RPROVIDES 'python3-importlib-native' (but
virtual:native:/media/build1/poky/meta/recipes-devtools/python/python3-pygobject_3.20.1.bb
RDEPENDS on or otherwise requires it)
'''

(From OE-Core rev: 3f7359d9ff64785f8e7237f0187547c5e70f47d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-ptyprocess: Extend to cover nativesdk
Richard Purdie [Mon, 13 Jun 2016 08:11:31 +0000 (09:11 +0100)] 
python-ptyprocess: Extend to cover nativesdk

'''
WARNING: Nothing RPROVIDES 'nativesdk-python-ptyprocess' (but
virtual:nativesdk:/media/build1/poky/meta/recipes-devtools/python/python-pexpect_4.1.0.bb
RDEPENDS on or otherwise requires it)
'''

(From OE-Core rev: 76de50fa96de306d8168bdc4c3820a8c6ab257d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotestexport-tarball: Add default value for TEST_EXPORT_SDK_PACKAGES
Richard Purdie [Mon, 13 Jun 2016 08:11:00 +0000 (09:11 +0100)] 
testexport-tarball: Add default value for TEST_EXPORT_SDK_PACKAGES

Otherwise we see parsing failures in the default configuration:

'''
Nothing RPROVIDES '${TEST_EXPORT_SDK_PACKAGES}' (but
/media/build1/poky/meta/recipes-core/meta/testexport-tarball.bb
RDEPENDS on or otherwise requires it)
'''

(From OE-Core rev: 79aa2d34590660c788e0a6c56ef1bb1a5dda5119)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: ensure not specifying subcommand shows help text
Paul Eggleton [Mon, 13 Jun 2016 04:43:41 +0000 (16:43 +1200)] 
scripts: ensure not specifying subcommand shows help text

With Python 2, argparse subparsers behaviour in Python 2 was to print
the usage information if the subparsers argument wasn't specified.
However, with Python 3.2.3 and later a subparsers argument is not
required by default, leading to errors when no arguments are specified:

  AttributeError: 'Namespace' object has no attribute 'func'

Restore the previous desired behaviour of showing the help text for
devtool, recipetool and the devtool-stress script by setting
subparsers.required to True.

(From OE-Core rev: d36fdea1a7f32d97187e0e9e6d701ae8fa304e8f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: reset: allow specifying multiple recipes
Paul Eggleton [Mon, 13 Jun 2016 04:43:40 +0000 (16:43 +1200)] 
devtool: reset: allow specifying multiple recipes

Allow specifying more than one recipe on the devtool reset command line.

Also tweak the help text slightly.

(From OE-Core rev: ad92ed8e4f7f48a3d212962531d596b36f6b284f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodevtool: tweak README in created workspace layer
Paul Eggleton [Mon, 13 Jun 2016 04:43:39 +0000 (16:43 +1200)] 
devtool: tweak README in created workspace layer

Clarify slightly the intended usage of the workspace layer.

(From OE-Core rev: d9f3af6f4e6d3df30b411bbcc3c2b6f7f62c52ad)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython-mako: rm -df -> rmdir
Robert Yang [Wed, 8 Jun 2016 02:30:42 +0000 (02:30 +0000)] 
python-mako: rm -df -> rmdir

The old rm (e.g., Ubuntu 12.04's) doesn't has -d option, use rmdir to
make it work. BTW., the "-f" option in rm -df doesn't make any sense.

(From OE-Core rev: 0a78e2051e6e735e3a47a8d46d150f5e62ba505c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostaging: Add BB_SETSCENE_VERIFY_FUNCTION2 for bitbake runqueue changes
Richard Purdie [Sun, 12 Jun 2016 22:57:53 +0000 (23:57 +0100)] 
staging: Add BB_SETSCENE_VERIFY_FUNCTION2 for bitbake runqueue changes

We're about to rewrite the data structures in taskdata/runqueue in bitbake
and we 'leaked' knowledge about those structures to this single function.

Add a 'v2' function definition for use with the newer bitbake, the older
one can remain for compatibility for a while, then be removed. The function
is comparatively simple and rarely changes.

(From OE-Core rev: 2a6f88d51414993d18096f7f0dc27c0b862240bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobinutils: fix the incorrect assembling for ppc wait instruction
Zhenhua Luo [Sun, 12 Jun 2016 09:02:34 +0000 (17:02 +0800)] 
binutils: fix the incorrect assembling for ppc wait instruction

The wait mnemonic for ppc targets is incorrectly assembled into 0x7c00003c due
to duplicated address definition with waitasec instruction. The issue causes
kernel boot calltrace for ppc targets when wait instruction is executed.

(From OE-Core rev: 9764de92d5673d0f629555723321c933db015fe0)

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agostrace: 4.11 -> 4.12
Robert Yang [Sun, 12 Jun 2016 08:25:13 +0000 (01:25 -0700)] 
strace: 4.11 -> 4.12

* Remove backported patches:
0001-Move-gcc-compat-macros-to-gcc_compat.h.patch
0001-arc-metag-nios2-or1k-tile-fix-build.patch
0001-scm_rights-fd.test-rewrite-without-fork.patch
0001-tests-introduce-libtests.patch
0001-tests-scm_rights.c-use-libtests.patch

* Update update-gawk-paths.patch

(From OE-Core rev: 53b3d06d24ad711241fe706d100d888a06669d57)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotcl: 8.6.4 -> 8.6.5
Robert Yang [Sun, 12 Jun 2016 08:25:12 +0000 (01:25 -0700)] 
tcl: 8.6.4 -> 8.6.5

(From OE-Core rev: 0d388ca6775318143f62be9310fa2583fc84320f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibcap: 2.24 -> 2.25
Robert Yang [Sun, 12 Jun 2016 08:25:11 +0000 (01:25 -0700)] 
libcap: 2.24 -> 2.25

And fixed do_install:
SBINDIR="${D}${sbindir}" -> SBINDIR="${sbindir}"

(From OE-Core rev: 0ffcb59b700981a00c0e93e33cae5f720dc9a82b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibbsd: 0.8.2 -> 0.8.3
Robert Yang [Sun, 12 Jun 2016 08:25:10 +0000 (01:25 -0700)] 
libbsd: 0.8.2 -> 0.8.3

The LIC_FILES_CHKSUM changed because a word changes: http -> https.

(From OE-Core rev: 15f70441476b485dab2959113ec52c322e0db49a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoe2fsprogs: 1.42.99+1.43+git -> 1.43
Robert Yang [Sun, 12 Jun 2016 08:25:08 +0000 (01:25 -0700)] 
e2fsprogs: 1.42.99+1.43+git -> 1.43

* Removed patches already in the source:
  - Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch
  - xattr_ordering.patch

* COPYING -> NOTICE, the md5sum is the same.

* e2fsprogs_git.bb -> e2fsprogs_1.43..bb

(From OE-Core rev: e0531174119bff21e9014b95ed1bbd0e1c01af26)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomake: 4.1 -> 4.2
Robert Yang [Sun, 12 Jun 2016 08:25:07 +0000 (01:25 -0700)] 
make: 4.1 -> 4.2

Remove backport patch 0001-main.c-main-SV-43434-Handle-NULL-returns-from-ttynam.patch

(From OE-Core rev: 3ff14b3fb23746139e359e34f80dfaea6722a0cf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogit: 2.8.2 -> 2.8.4
Robert Yang [Sun, 12 Jun 2016 08:25:06 +0000 (01:25 -0700)] 
git: 2.8.2 -> 2.8.4

(From OE-Core rev: 1d55b4d66f1fb82662b0be8f525a68798da23d01)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomklibs-native: 0.1.40 -> 0.1.41
Robert Yang [Sun, 12 Jun 2016 08:25:05 +0000 (01:25 -0700)] 
mklibs-native: 0.1.40 -> 0.1.41

(From OE-Core rev: 562e336c36f78b4a20a135a2b8e2805ceaecee3e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agofile: 5.25 -> 5.27
Robert Yang [Sun, 12 Jun 2016 08:25:04 +0000 (01:25 -0700)] 
file: 5.25 -> 5.27

(From OE-Core rev: 44a5da0e4ab49d49a2192b84a53cc1e726907f14)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautogen-native: 5.18.6 -> 5.18.10
Robert Yang [Sun, 12 Jun 2016 08:25:03 +0000 (01:25 -0700)] 
autogen-native: 5.18.6 -> 5.18.10

Removed redirect-output-dir.patch, there is no /tmp/mklibsrc-log.tx, so
the patch is not needed any more.

(From OE-Core rev: bb5c0e91063f705c5e1ce319b4742e06f6aa4c97)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoresolvconf: upgrade to 1.79
Chen Qi [Sun, 12 Jun 2016 02:21:07 +0000 (10:21 +0800)] 
resolvconf: upgrade to 1.79

(From OE-Core rev: 439bee0777fb570858979acfbe20e9829f86412b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopciutils: upgrade to 3.5.1
Chen Qi [Sun, 12 Jun 2016 02:21:06 +0000 (10:21 +0800)] 
pciutils: upgrade to 3.5.1

(From OE-Core rev: c1ac61317d6cab49fe67c394dbffdacb977e2cd2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agotar: upgrade to 1.29
Chen Qi [Sun, 12 Jun 2016 02:21:05 +0000 (10:21 +0800)] 
tar: upgrade to 1.29

Refresh remove-gets.patch for the latest version.

(From OE-Core rev: 8504817a5707df0f26a3049846532bfa4890f329)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agocurl: upgrade to 7.49.1
Chen Qi [Sun, 12 Jun 2016 02:21:04 +0000 (10:21 +0800)] 
curl: upgrade to 7.49.1

(From OE-Core rev: 53761f4f2d4b8463bf9f996a87ee0dc61e21a2d0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobyacc: upgrade to 20160324
Chen Qi [Sun, 12 Jun 2016 02:21:03 +0000 (10:21 +0800)] 
byacc: upgrade to 20160324

The license checksum is changed, but license type remains the same.

(From OE-Core rev: 6bc378f6a7526d39029854899a55cb22cef48c03)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosudo: upgrade to 1.8.16
Chen Qi [Sun, 12 Jun 2016 02:21:01 +0000 (10:21 +0800)] 
sudo: upgrade to 1.8.16

(From OE-Core rev: cab69cc57aba3b228cccae650f8b06dcf7d388af)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosysstat: upgrade to 11.3.4
Chen Qi [Sun, 12 Jun 2016 02:21:00 +0000 (10:21 +0800)] 
sysstat: upgrade to 11.3.4

The license checksum is changed but the license remains the same.

(From OE-Core rev: 01990eb1c868710cd4fb7b52057cd2eb1713c595)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrep: upgrade to 2.25
Chen Qi [Sun, 12 Jun 2016 02:20:59 +0000 (10:20 +0800)] 
grep: upgrade to 2.25

(From OE-Core rev: 155588a2b825c371610f3c4af190f8c41522dfa0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemd-boot: Set COMPATIBLE_HOST in recipe
Jianxun Zhang [Sat, 11 Jun 2016 01:04:47 +0000 (18:04 -0700)] 
systemd-boot: Set COMPATIBLE_HOST in recipe

We apply the same setting in the existing gummiboot to
COMPATIBLE_HOST, so that it properly stops build for
unsupported architectures.

(From OE-Core rev: 91403a81dc0555b5da89166520f868d9be5f91be)

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: cooker.py: fix warn() -> warning()
Robert Yang [Sun, 12 Jun 2016 08:45:00 +0000 (01:45 -0700)] 
bitbake: cooker.py: fix warn() -> warning()

Fixed:
DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead

(Bitbake rev: a3f464d202dafef4538e66c008cdecb7b8709ed1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake: data_smart/utils: Add 'd' to the context used for better_eval in python...
Richard Purdie [Thu, 9 Jun 2016 21:33:33 +0000 (22:33 +0100)] 
bitbake: data_smart/utils: Add 'd' to the context used for better_eval in python expansion

If a line like:

foo=${@' '.join([d.getVar('D', True) + x for x in (' '.join([d.getVar('FILES_bash-' + p, True) or '' for p in ['lib', 'dev', 'staticdev', 'doc', 'locale', 'ptest']])).split()])}

is added to a function like do_install, it fails with Exception name 'd'
is not defined. This is due to a change of behaviour in python 3 compared
to python 2. Generator expressions, dict comprehensions  and set comprehensions
are executed in a new scope but list comprehensions in python 2.x are not. In
python 3 they all use a new scope.

To allow these kinds of expressions to work, the easiest approach is
to add 'd' to the global context. To do this, an extra optional parameter
is added to better_eval and we use that to add 'd'.

(Bitbake rev: 8f74881037bb01013d3d439dc0c269909a198c1c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/bsp/engine.py: Added missing parentheses to string formatting
Humberto Ibarra [Thu, 9 Jun 2016 17:07:39 +0000 (12:07 -0500)] 
scripts/lib/bsp/engine.py: Added missing parentheses to string formatting

Commit ab75075e7941c8c2ec429c180976702cd311c978 broke the string formatting
for multiple arguments. Since parentheses were removed the formatting considers
only first argument instead of all of them. Fixed parentheses on the formatting.

[YOCTO #9723]

(From meta-yocto rev: d6d641d5b4bb0c8b9acd5cd1341a4a3214bff086)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/bsp/kernel.py: python3: use explicit relative imports
Humberto Ibarra [Thu, 9 Jun 2016 17:07:38 +0000 (12:07 -0500)] 
scripts/lib/bsp/kernel.py: python3: use explicit relative imports

Have to convert implicit relative imports to explicit imports since
implicit relative imports are not supported on python3.

[YOCTO #9723]

(From meta-yocto rev: 89cecc603d229768428f3cb68d21235dee80efda)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/lib/bsp/engine.py: Rename raw_input commands to input
Humberto Ibarra [Thu, 9 Jun 2016 17:07:37 +0000 (12:07 -0500)] 
scripts/lib/bsp/engine.py: Rename raw_input commands to input

According to https://docs.python.org/3/whatsnew/3.0.html python3
renamed 'raw_input' to 'input'. Making the appropiate changes for
this.

[YOCTO #9723]

(From meta-yocto rev: 76efeeeac7fb30b44ee7057b3b3d1fd84329dae1)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts/yocto-bsp: Fixed typo in parameter that was causing exception
Humberto Ibarra [Thu, 9 Jun 2016 16:01:40 +0000 (11:01 -0500)] 
scripts/yocto-bsp: Fixed typo in parameter that was causing exception

There is a typo in the logging parameters, "filname" is being used instead
of "filename". This didn't cause issues before since python 2 didn't
validate unused parameters but with python >= 3.4.3 an exception is
thrown. This patch fixes this parameter name.

[Yocto #9736]

(From meta-yocto rev: aae5c2c39f64be87152b2e5470b50681c0f54670)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosystemtap: add build dependency on ncurses
Ross Burton [Fri, 10 Jun 2016 16:55:12 +0000 (17:55 +0100)] 
systemtap: add build dependency on ncurses

systemtap has a floating dependency on ncurses but as bash is a RDEPENDS the
build-rdeps sanity test doesn't fire due to a limitation of the test.

Add an explicit dependency on ncurses to ensure the build is deterministic.

[ YOCTO #9709 ]

(From OE-Core rev: 2fdd2c1434e7c741b8048145bd460c68bea7ee53)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/distro_check.py: Fixes for python3
Aníbal Limón [Fri, 10 Jun 2016 15:12:10 +0000 (10:12 -0500)] 
oe/distro_check.py: Fixes for python3

create_socket: Use urllib because urllib2 is now urllib in python3
and proxies as argument are deprecated so export them in the environ
instead.

get_links_from_url: Change usage of sgmllib for parsing HTML because
is deprecated in python 3, use instead bs4 that is already imported
in the bitbake tree.

[YOCTO #9744]

(From OE-Core rev: ee26ecf58277560459dd01992bb3f486f92c1531)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Avoid FutureWarning about split()
Peter Kjellerstedt [Fri, 10 Jun 2016 15:46:11 +0000 (17:46 +0200)] 
useradd-staticids.bbclass: Avoid FutureWarning about split()

This avoids the following warning with Python 3.5:

  /usr/lib64/python3.5/re.py:203: FutureWarning: split() requires a
  non-empty pattern

(From OE-Core rev: a7a783c30cc58008f0e070dad39d40038e0a5eb5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouseradd-staticids.bbclass: Make sure opened files are closed
Peter Kjellerstedt [Fri, 10 Jun 2016 15:46:10 +0000 (17:46 +0200)] 
useradd-staticids.bbclass: Make sure opened files are closed

This avoids warnings about unclosed files with Python 3.

(From OE-Core rev: 77adf8341694b76cf58b7a31dda18b85b3eb87a2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomips: add tunes for (some) 24K cores
André Draszik [Fri, 10 Jun 2016 15:12:39 +0000 (16:12 +0100)] 
mips: add tunes for (some) 24K cores

- add 24kc big and little endian, which is based on mips32r2 w/o FPU
- add 24kec which is 24kc + DSP
- both can have the MIPS16e ASE enabled in their tunes

(From OE-Core rev: cccd8b09523d8f0c1df97d08181737681db13f37)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomips: add a tune for using MIPS16e ASE instructions
André Draszik [Fri, 10 Jun 2016 15:12:38 +0000 (16:12 +0100)] 
mips: add a tune for using MIPS16e ASE instructions

The MIPS16e instruction set still has to be enabled by setting
MIPS_INSTRUCTION_SET = 'mips16e'
in e.g. distro.conf and can be disabled on a per-recipe basis as
needed.

This is a similar approach as is available on ARM for Thumb support.

Note that contrary to the ARM Thumb support in OE, we do add a new
OVERRIDE (mips16e), as there are some recipes in OE that need to be
compiled slightly differently if mips16e mode is requested.

(From OE-Core rev: e9d8b02a42eb08802e202770409cb5378b79b281)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: never build with SSP
André Draszik [Fri, 10 Jun 2016 15:12:13 +0000 (16:12 +0100)] 
uclibc: never build with SSP

This doesn't work, as the initial gcc that is used for compiling
uclibc doesn't have support for SSP yet (since that will only
be available once uclibc has been compiled). Since during that
same compilation step uclibc is trying to build its own utils
those are failing to compile with SSP enabled as the
initial gcc doesn't have access to the required libraries,
yet.

We never used to set UCLIBC_BUILD_SSP in the past, this was
only changed as part of the upgrade to uclibc-ng in
commit 63bdadc (uclibc: Switch to using uclibc-ng), so here
we now simply restore the previous behaviour.

Note that we still enable SSP support inside uclibc for
everybody else to use, though.

(From OE-Core rev: 0d4857090c5dd0d940dca6ea90afc66a4007cd88)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agouclibc: no need for CONFIG_MIPS_ISA_xxx config options
André Draszik [Fri, 10 Jun 2016 15:12:12 +0000 (16:12 +0100)] 
uclibc: no need for CONFIG_MIPS_ISA_xxx config options

The config option for the mips ISA have been completely removed
from uclibc-ng. uclibc doesn't add gcc options based on those
config options anymore. Hence we don't need to create them here
either.

(From OE-Core rev: d84af5532dca8e2d488da08a5f5dfe6d63aca773)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage/image_types.bbclass: fix fatal error during cpio debugfs creation
André Draszik [Fri, 10 Jun 2016 15:11:38 +0000 (16:11 +0100)] 
image/image_types.bbclass: fix fatal error during cpio debugfs creation

If /init is just a symlink to /sbin/init, debugfs creation
fails with the following error:

ERROR: Error: The image creation script '<...>/debugfs.create_image.cpio' returned 1:
touch: cannot touch '<...>/cpio_append/init': Permission denied
WARNING: exit code 1 from a shell command.

ERROR: Function failed: do_rootfs

The reason is that IMAGE_CMD_cpio() is run twice on the same
WORKDIR. The first run creates a symlink in WORKDIR/cpio_append/init
to point to /sbin/init, while the 2nd run then tries to 'touch'
that link, which will fail, of course since /sbin/init is not
usually writable by non-root users.

Fix this by providing knowledge to the IMAGE_CMD_xxx() scripts
with regards to the fact that they are being executed in the
context of debugfs creation. The IMAGE_CMD_cpio() can now be
intelligent in the sense that it can avoid all additional symlink
handling during the debugfs run. The symlinks do not need to
be part of the debugfs, so we can skip that part altogether
in that case.

(From OE-Core rev: 659ae1d7df28115429f6f31450fad6d1f86e3031)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolibjpeg-turbo: update to 1.5.0
Maxin B. John [Fri, 10 Jun 2016 08:32:20 +0000 (11:32 +0300)] 
libjpeg-turbo: update to 1.5.0

1. LIC_FILES_CHKSUM updates only involves changes in Copyright holders.
   LICENSE remains the same.

2. libjpeg-turbo don't have non-floating point ABI support in MIPS.
   Provide a work around for that.

3. Provide a workaround if Altivec unit is not present in PPC

4. Rename the recipe to fix upstream version check

[YOCTO #9606]

(From OE-Core rev: 46708da7a69ce4d4b0709abe6b694d7f0bd4deb5)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognutls: update 3.4.9 -> 3.4.11
Andre McCurdy [Fri, 15 Apr 2016 23:59:54 +0000 (16:59 -0700)] 
gnutls: update 3.4.9 -> 3.4.11

* Version 3.4.10 (released 2016-03-03)

** libgnutls: Eliminated issues preventing buffers more than 2^32 bytes
   to be used with hashing functions.

** libgnutls: Corrected leaks and other issues in gnutls_x509_crt_list_import().

** libgnutls: Fixes in DSA key handling for PKCS #11. Report and patches
   by Jan Vcelak.

** libgnutls: Several fixes to prevent relying on undefined behavior of C
   (found with libubsan).

* Version 3.4.11 (released 2016-04-11)

** libgnutls: Fixes in gnutls_record_get/set_state() with DTLS. Reported
   by Fridolin Pokorny.

** libgnutls: Fixes in DSA key generation under PKCS #11. Report and patches
   by Jan Vcelak.

** libgnutls: Corrected behavior of ALPN extension parsing during session
   resumption. Report and patches by Yuriy M. Kaminskiy.

** libgnutls: Corrected regression (since 3.4.0) in gnutls_server_name_set()
   which caused it not to accept non-null-terminated hostnames. Reported
   by Tim Ruehsen.

** libgnutls: Corrected printing of the IP Adress name constraints.

** ocsptool: use HTTP/1.0 for requests. This avoids issue with servers
   serving chunk encoding which ocsptool doesn't support. Reported by Thomas
   Klute.

** certtool: do not require a CA for OCSP signing tag. This follows the
   recommendations in RFC6960 in 4.2.2.2 which allow a CA to delegate OCSP
   signing to another certificate without requiring it to be a CA. Reported
   by Thomas Klute.

(From OE-Core rev: a41d0ba222b5f0542cb39fe0dcaae1b72cd47e35)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston: Fix bug causing the xwayland package to always be included
Tom Hochstein [Thu, 9 Jun 2016 23:09:19 +0000 (18:09 -0500)] 
weston: Fix bug causing the xwayland package to always be included

The xwayland package was always being built due to its inclusion in
PACKAGE_BEFORE_PN. The effect was masked by making the RDEPENDS conditional.

Now we make the PACKAGE_BEFORE_PN inclusion conditional and restore
the xwayland RDEPENDS to unconditional.

(From OE-Core rev: 918ef140dbcfb8dd6e5774a1ce57162de814661c)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoadwaita-icon-theme: Split symbolic icons into 2 packages
Jussi Kukkonen [Fri, 6 May 2016 12:28:10 +0000 (15:28 +0300)] 
adwaita-icon-theme: Split symbolic icons into 2 packages

Symbolic icons are tiny but there's a lot of them and they actually
take multiple times their apparent size on a typical filesystem.

Split the symbolic icons: adwaita-icon-theme-symbolic contains the
icon sizes that seem to be typically used by GTK+ and applications
(16x16 & 24x24). Other sizes are in adwaita-icon-theme-symbolic-hires.

(From OE-Core rev: 2d09c909d06dd330c3a801bf3685e1534d685ca1)

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>
9 years agogtk+3: Add RRECOMMENDS to match gtk+
Jussi Kukkonen [Fri, 6 May 2016 07:51:38 +0000 (10:51 +0300)] 
gtk+3: Add RRECOMMENDS to match gtk+

Rrecommend a similar set of packages as the gtk+ recipe.

Most importantly this actually makes icons render even when other
packages do not drag in the relevant gdkpixbuf loaders.

(From OE-Core rev: 0c686118fa74745571ff4ce6786fd415d39dbeb9)

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>
9 years agogtk-immodules-cache: Support both GTKs at same time
Jussi Kukkonen [Wed, 27 Apr 2016 12:43:33 +0000 (15:43 +0300)] 
gtk-immodules-cache: Support both GTKs at same time

(From OE-Core rev: 0cb5016283a80b04a41d37e332bb324a203e2ef8)

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>
9 years agodistcc: Disable GTK UI by default
Jussi Kukkonen [Wed, 27 Apr 2016 08:49:32 +0000 (11:49 +0300)] 
distcc: Disable GTK UI by default

In the effort to drop GTK+2 from typical images, disable distcc GUI
by default. distccmon-text is still available.

(From OE-Core rev: d21edfa50aa1d3f4db35903545242888223768b6)

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>
9 years agooh-puzzles: Remove as we're using puzzles now
Jussi Kukkonen [Tue, 26 Apr 2016 21:08:55 +0000 (00:08 +0300)] 
oh-puzzles: Remove as we're using puzzles now

(From OE-Core rev: 8f930c67bf8acc39876fe29b368e5bcc15289e2b)

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>
9 years agopackagegroup-core-x11-sato: Use puzzles instead of oh-puzzles
Jussi Kukkonen [Tue, 26 Apr 2016 21:01:27 +0000 (00:01 +0300)] 
packagegroup-core-x11-sato: Use puzzles instead of oh-puzzles

puzzles has Gtk+3 support, let's use that instead of the
oh fork.

(From OE-Core rev: 2e313b8bade66da62b3823f82444ae3b30005022)

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>
9 years agognome-themes-standard: Add new GTK+2 theme
Jussi Kukkonen [Mon, 29 Feb 2016 11:57:22 +0000 (13:57 +0200)] 
gnome-themes-standard: Add new GTK+2 theme

This is useful as it matches the default GTK+3 theme well.
Only the Adwaita theme currently gets installed.

(From OE-Core rev: aabfce5c31dd2faff54d293c5c237346b748a184)

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>
9 years agonpm.bbclass: avoid str/byte conversion problems for PKGV and SUMMARY
Patrick Ohly [Fri, 10 Jun 2016 08:04:51 +0000 (10:04 +0200)] 
npm.bbclass: avoid str/byte conversion problems for PKGV and SUMMARY

In Python3, str.encode() returns byte strings, which later are not
converted back to strings automatically, leading to "TypeError: Can't
convert 'bytes' object to str implicitly" in code which reads PKGV and
SUMMARY and expects to find strings there.

The npm.bbclass must use values for d.setVar() that meet that
expectation, and thus the redundant (and in Python3, harmful)
.encode() gets removed.

(From OE-Core rev: 241e094bcd9212204350f9855257474908f82a3c)

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>
9 years agobuildhistory-diff: suggest correct version of PythonGit
Ed Bartosh [Fri, 10 Jun 2016 07:43:52 +0000 (10:43 +0300)] 
buildhistory-diff: suggest correct version of PythonGit

If buildhistory-diff can't import git module it throws error
message suggesting to install it.

Due to the move to Python 3 the suggested package name and
version became outdated.

Changed package name to python3-git and version to >= 0.3.4
as GitPython supports Python 3 starting from 0.3.4.

[YOCTO #9741]

(From OE-Core rev: 0632c3e69070e340218c1c1c835b2343cd143d8d)

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>
9 years agoweston-init: Don't change XDG_RUNTIME_DIR if it already exists
Tom Hochstein [Thu, 9 Jun 2016 19:27:06 +0000 (14:27 -0500)] 
weston-init: Don't change XDG_RUNTIME_DIR if it already exists

In the case that XDG_RUNTIME_DIR already exists, the mkdir --parents
at least does nothing, but the chmod could overwrite the desired
file mode settings.

(From OE-Core rev: 9f539d03138817b7b740ed1895000704e4a475d0)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoweston-init: Use bitbake path variable
Tom Hochstein [Thu, 9 Jun 2016 19:27:05 +0000 (14:27 -0500)] 
weston-init: Use bitbake path variable

(From OE-Core rev: 537afef2209bef327a28234207d1ef7e4e596a6e)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agox11-common: Fix XDG_RUNTIME_DIR typo
Tom Hochstein [Thu, 9 Jun 2016 19:27:04 +0000 (14:27 -0500)] 
x11-common: Fix XDG_RUNTIME_DIR typo

Fix the if-statement that had misspelled XDG_RUNTIME_DIR.
Also fix whitespace.

(From OE-Core rev: 8db2be8b246362aff9931a31882fa3bab0043419)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython: Several recipes needed SRC_URI updating
Alejandro Hernandez [Thu, 9 Jun 2016 17:00:06 +0000 (17:00 +0000)] 
python: Several recipes needed SRC_URI updating

Most python recipes download its source from pypi.python.org,
but they changed the way theyre storing the source code, so
we need to use pythonhosted instead, see:
https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package

(From OE-Core rev: 08de9032e870966947b937a1226dd860e0bd71cf)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe-pkgdata-util: new option to provide full info for binary package(s)
Alexander D. Kanevskiy [Wed, 8 Jun 2016 15:07:43 +0000 (18:07 +0300)] 
oe-pkgdata-util: new option to provide full info for binary package(s)

New option can be used for displaying full information about binary
package(s), including name, full version, recipe name, recipe full
version and package size.

This information can be useful inside custom buildhistory class
to produce detailed image manifest for further analysis.

List of packages can be specified as command line arguments or can
be read from file (e.g. from existing image manifest).

Warning: In case of image manifest is used as input outside of build
process, be aware that pkgdata might change since the time image
was built.

Output format:
{PKG} [PKGE:]{PKGV}[-{PKGR}] {PN} [PE:]{PV}[-{PR}] {PKGSIZE}

(From OE-Core rev: bc0cdaa927124150a6c38cd47977ee4da8dd440e)

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolib/oe/terminal.py: decode bytes variable before rstrip/split
Leonardo Sandoval [Thu, 9 Jun 2016 12:53:06 +0000 (07:53 -0500)] 
lib/oe/terminal.py: decode bytes variable before rstrip/split

On python 3, bytes variable types must be decoded if these are intended to be
used as strings, otherwise we get the following error exception:

    TypeError: Type str doesn't support the buffer API

(From OE-Core rev: b950539c911b7945d652b05616164828e711ac7f)

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3-pygobject: Upgrade from 3.18.2 to 3.20.1
Alejandro Hernandez [Wed, 8 Jun 2016 19:23:29 +0000 (19:23 +0000)] 
python3-pygobject: Upgrade from 3.18.2 to 3.20.1

(From OE-Core rev: 991174af2dd3905b8d11022a8ff05b2df90ad8d3)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoavahi: add extra path to GIR_EXTRA_LIBS_PATH
Dmitriy Falko [Thu, 9 Jun 2016 08:35:33 +0000 (11:35 +0300)] 
avahi: add extra path to GIR_EXTRA_LIBS_PATH

(From OE-Core rev: 2c904fa47e1b020f9b004cd54fe39e47bfdf7879)

Signed-off-by: Dmitriy Falko <d.falko.work@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>