]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agonfs-utils: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:06:02 +0000 (17:06 +0800)] 
nfs-utils: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: b72d04985a6e0dba8ab44b6eb55b62914266645c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxmu: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:06:00 +0000 (17:06 +0800)] 
libxmu: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: b5b612104cd4f554a9cc9216dc43e7a2710df95f)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxml2: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:05:59 +0000 (17:05 +0800)] 
libxml2: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: 1a505037e9a6dc86b523b378d6446baae71f1a2c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibxfont: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:05:58 +0000 (17:05 +0800)] 
libxfont: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: 3ec45c648c5c5a690d6d4102f8d65c97c8ff84e9)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibsm: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:05:57 +0000 (17:05 +0800)] 
libsm: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: b7ed9b13492b09f7197fc095f8965f62411d9982)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibpcap: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:05:56 +0000 (17:05 +0800)] 
libpcap: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: cfa74a2d4f158601a35b96e235484dac14cbf4d5)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibice: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:05:55 +0000 (17:05 +0800)] 
libice: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: f109e4078b97debd5df253bb186beca462c609d1)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoapr: control ipv6 support based on DISTRO_FEATURES
Jackie Huang [Mon, 22 Aug 2016 09:05:54 +0000 (17:05 +0800)] 
apr: control ipv6 support based on DISTRO_FEATURES

Add PACKAGECONFIG for ipv6 and control it based
on DISTRO_FEATURES.

(From OE-Core rev: 91d29c5555557fb0637c886f76c859d704ecd980)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoscripts/contrib: update scripts for changes to internal API
Paul Eggleton [Wed, 31 Aug 2016 01:48:06 +0000 (13:48 +1200)] 
scripts/contrib: update scripts for changes to internal API

The multiconfig changes altered some of the functions being called here,
so update the calls. Make use of the new Tinfoil.parse_recipe_file()
function to make parsing easier.

(From OE-Core rev: 95b6ceffd947271f315d8a7660797ab371adfbb9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobase-files: Add shell test quoting
Jussi Kukkonen [Tue, 30 Aug 2016 08:32:07 +0000 (11:32 +0300)] 
base-files: Add shell test quoting

tty can return "not a tt" which results in warnings when /etc/profile
is executed.

(From OE-Core rev: eed586dd238efe859442b21b425f04e262bcdb2b)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agometa-ide-support: inherit nopackages
Jackie Huang [Tue, 30 Aug 2016 09:03:22 +0000 (17:03 +0800)] 
meta-ide-support: inherit nopackages

The recipe is to generate an environment script in
do_populate_ide_support for using an IDE and it
doesn't generate packages at all, so inherit nopackages

(From OE-Core rev: 68e06f1782253d1b9c8d8c4d818bc4915b93d257)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoflex: fix gcc-6 failure
Andreas Müller [Tue, 30 Aug 2016 15:51:04 +0000 (17:51 +0200)] 
flex: fix gcc-6 failure

Gcc-6 does not allow c++ comments withing c-code. Files generated by flex
can fail with:

| error: C++ style comments are not allowed in ISO C90
| num_to_alloc = 1; // After all that talk, this was set to 1 anyways...

(From OE-Core rev: 6336c5bafe617e775037d5243d4bb5e236e74679)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0-plugins-bad: add packageconfig for egl
Nicolas Dechesne [Mon, 29 Aug 2016 09:40:35 +0000 (10:40 +0100)] 
gstreamer1.0-plugins-bad: add packageconfig for egl

In commit 9c3a94aea1d (gstreamer1.0-plugins-bad: Move EGL requirement for
Wayland), --enable-egl was explicitely added to the wayland packageconfig. While
this is correct that enabling wayland requires egl, it should be possible to
enable egl without wayland, even when using X11. For example, glimagesink can be
used for GPU based color conversion using EGL/GLES.

As such, let's make egl and wayland two separate PACKAGECONFIG flags.

(From OE-Core rev: c1ab87caae92a58b1dfab7abc1a856fab102e3ed)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolib/oe/patch: commit with a dummy user/email when PATCHTOOL=git
Paul Eggleton [Mon, 29 Aug 2016 08:40:38 +0000 (20:40 +1200)] 
lib/oe/patch: commit with a dummy user/email when PATCHTOOL=git

When using PATCHTOOL = "git", the user of the system is not really the
committer - it's the build system itself. Thus, specify "dummy" values
for username and email instead of using the user's configured values.
Various parts of the devtool code that need to make commits have also
been updated to use the same logic.

This allows PATCHTOOL = "git" and devtool to be used on systems where
git user.name / user.email has not been set (on versions of git where
it doesn't default a value under this circumstance).

If you want to return to the old behaviour where the externally
configured user name / email are used, set the following in your
local.conf:

PATCH_GIT_USER_NAME = ""
PATCH_GIT_USER_EMAIL = ""

Fixes [YOCTO #8703].

(From OE-Core rev: 765a9017eaf77ea3204fb10afb8181629680bd82)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-selftest: devtool: fix test after recent change
Paul Eggleton [Mon, 29 Aug 2016 07:27:59 +0000 (19:27 +1200)] 
oe-selftest: devtool: fix test after recent change

OE-Core commit d3057cba0b01484712fcee3c52373c143608a436 fixed handling
of wildcard bbappends, which means that this test's expectations about
the bbappend file name are no longer met. devtool finish is meant to use
wildcard bbappends so fix the test accordingly.

(From OE-Core rev: 21603566e4a2e709dcb4a940b49d870c91c822be)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoglibc-scripts: add RDEPENDS on libsotruss package required by sotruss script
Jagadeesh Krishnanjanappa [Sun, 28 Aug 2016 18:31:03 +0000 (00:01 +0530)] 
glibc-scripts: add RDEPENDS on libsotruss package required by sotruss script

It solves below error observed on qemux86 target:
root@qemux86:~# sotruss ./hello
ERROR: ld.so: object '/usr/$LIB/audit/sotruss-lib.so' cannot be loaded as audit
interface: cannot open shared object file; ignored.
Hello World
root@qemux86:~#

With this change, we get:
root@qemux86:~# sotruss ./hello
          hello -> libc.so.6      :*__libc_start_main(0x8048300, 0x1,
0xbfc86274)
          hello -> libc.so.6      :*puts(0x804851c, 0xb74af000, 0x0)
Hello World
root@qemux86:~#

(From OE-Core rev: aa2d2161c5b41358f732e95199f0c066d4e2d77a)

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowebkitgtk: fix racy double build of WebKit2-4.0.gir
Alexander Kanavin [Mon, 29 Aug 2016 14:30:22 +0000 (17:30 +0300)] 
webkitgtk: fix racy double build of WebKit2-4.0.gir

This occasionally triggered autobuilder errors where the .gir file
appeared truncated to introspection tools.

(From OE-Core rev: 2154c1c803b7bd36a1401fa657e7fd8cb1060a70)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agowebkitgtk: upgrade to 2.12.4
Alexander Kanavin [Mon, 29 Aug 2016 14:30:21 +0000 (17:30 +0300)] 
webkitgtk: upgrade to 2.12.4

(From OE-Core rev: 94493f1a6e8d1fbd1fa78053f5ead3d0e363d184)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoasciidoc: fix upstream version check
Alexander Kanavin [Mon, 29 Aug 2016 14:30:20 +0000 (17:30 +0300)] 
asciidoc: fix upstream version check

(From OE-Core rev: 88d18dc0a838b56e5b663320100184c381076cc4)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.selftest.liboe: add test for xattr in copytree
Joshua Lock [Thu, 1 Sep 2016 16:26:42 +0000 (17:26 +0100)] 
oeqa.selftest.liboe: add test for xattr in copytree

Add a test to ensure that oe.path.copytree() preserves extended
attributes on files.

(From OE-Core rev: 2b047b8e3218f95978e41fee13635bff9af03dd6)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe.path: preserve xattr in copytree() and copyhardlinktree()
Joshua Lock [Thu, 1 Sep 2016 16:26:41 +0000 (17:26 +0100)] 
oe.path: preserve xattr in copytree() and copyhardlinktree()

Pass appropriate options to tar invocations in copytree() and
copyhardlinktree() to ensure that any extended attributes on the files
are preserved during the copy.

We have to drop the use cpio in "Copy-pass" mode in copyhardlinktree()
because cpio doesn't support extended attributes on files. Instead we
revert back to using cp with different patterns depending on whether
or not the directory contains dot files.

(From OE-Core rev: e591d69103a40ec4f76d1132a6039d9cb1555103)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.selftest: add a test for oe.path.copytree()
Joshua Lock [Thu, 1 Sep 2016 16:26:40 +0000 (17:26 +0100)] 
oeqa.selftest: add a test for oe.path.copytree()

One motivation for the use of cpio in oe.path.copytree() was to
ensure that files with spaces in their names were copied. Add a new
unittest module to test the OE module with a test case for copytree
with a spaces in a filename.

(From OE-Core rev: a408f8310d9426db4439cf8db0cf49f9bfe90b3b)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoltp: remove useless script STPfailure_report.pl
Mingli Yu [Wed, 31 Aug 2016 02:10:25 +0000 (10:10 +0800)] 
ltp: remove useless script STPfailure_report.pl

* Remove useless script STPfailure_report.pl to
  avoid confusing about this script fails to run
  as it lacks dependency on some perl module such
  as LWP::Simple

  - The script STPfailure_report.pl previously is
    added as a tool to analyze failures from LTP
    runs on the OSDL's Scaleable Test Platform (STP) as below:

    commit f0573facbbbf14798cc5b7d4653a5e46b4b95fa5
    Author: robbiew <robbiew>
    Date: Wed Apr 28 19:21:39 2004 +0000

    Added tool for analyzing failures from LTP runs on
    the OSDL's Scaleable Test Platform (STP)

  - And the script STPfailure_report.pl mainly accesses
    http://khack.osdl.org to retrieve ltp test results
    run on OSDL's Scaleable Test Platform (STP) and prints
    the reports, and now the website http://khack.osdl.org
    not accessible, so the script is useless and drop it
    and not ship it on target system

(From OE-Core rev: ba6d01d432dd8244be6ac2b351477b771d5db308)

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: include commands log file name in results.json
Markus Lehtonen [Mon, 29 Aug 2016 19:48:31 +0000 (22:48 +0300)] 
oeqa.buildperf: include commands log file name in results.json

(From OE-Core rev: b22a71cf3a53a33763ff02608119d2c73cbde006)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: include buildstats file name in results.json
Markus Lehtonen [Mon, 29 Aug 2016 19:48:30 +0000 (22:48 +0300)] 
oeqa.buildperf: include buildstats file name in results.json

No need to do lsdir magic for finding buildstats when reading results.

(From OE-Core rev: 4502f0979bf2e8698bb196345b89b170641fd43f)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: show skipped tests in results, too
Markus Lehtonen [Mon, 29 Aug 2016 19:48:29 +0000 (22:48 +0300)] 
oeqa.buildperf: show skipped tests in results, too

(From OE-Core rev: 4112779f9f314148b475fc4b8e33146de8be6b27)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: convert buildstats into json format
Markus Lehtonen [Mon, 29 Aug 2016 19:48:28 +0000 (22:48 +0300)] 
oeqa.buildperf: convert buildstats into json format

Instead of archiving buildstats in raw text file format convert all
buildstats into one json-formatted file. Some redundant information,
i.e. 'Event:', 'utime:', 'stime:', 'cutime:' and 'cstime:' fields, are
dropped.

(From OE-Core rev: efcf74b194f2a40eb3e6359dd41386db3eb25287)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: measure io stat
Markus Lehtonen [Mon, 29 Aug 2016 19:48:27 +0000 (22:48 +0300)] 
oeqa.buildperf: measure io stat

Add data from /proc/<pid>/io to system resource measurements.

(From OE-Core rev: e69a46a77854fac1169a09e0c5b70fa4b972255a)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: don't use Gnu time
Markus Lehtonen [Mon, 29 Aug 2016 19:48:26 +0000 (22:48 +0300)] 
oeqa.buildperf: don't use Gnu time

Use Python standard library functionality instead of the time utility
for measuring elapsed (wall clock) time of commands. The time.* log
files are also ditched. However, the same detailed resource usage data,
previously found in time.* logs is now provided in results.json file.
This data is collected through the resource module of Python.

(From OE-Core rev: d5ad818dd501b18379aa3540bffa9b920d7c3bab)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: rename buildstats directories
Markus Lehtonen [Mon, 29 Aug 2016 19:48:25 +0000 (22:48 +0300)] 
oeqa.buildperf: rename buildstats directories

Change directory name from 'buildstats-<test_name>' to just
'buildstats'. However, this patch adds the possibility to label
buildstats directory name with a postfix which makes it possible to save
multiple buildstats per test, for example.

(From OE-Core rev: 8997556040b2e7bfcfa6a75d4d97eb2e32207217)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: separate output dir for each test
Markus Lehtonen [Mon, 29 Aug 2016 19:48:24 +0000 (22:48 +0300)] 
oeqa.buildperf: separate output dir for each test

Store the output data of each test in an individual subdirectory instead
of storing everything in the root output directory.

(From OE-Core rev: 64ff34df96aa9a74dd4303f76ec711aa5e9d5030)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: strip date from buildstats directory path
Markus Lehtonen [Mon, 29 Aug 2016 19:48:23 +0000 (22:48 +0300)] 
oeqa.buildperf: strip date from buildstats directory path

Archive buildstats in a directory like 'buildstats' instead of something
like 'buildstats/20160513120000'.

(From OE-Core rev: 95138cdc70bb7f9b7ab74e1d83305f009790dccc)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-build-perf-test: rename log file and implement --log-file
Markus Lehtonen [Mon, 29 Aug 2016 19:48:22 +0000 (22:48 +0300)] 
oe-build-perf-test: rename log file and implement --log-file

Rename the (main) log file of the oe-build-perf-test script from
'output.log' to 'oe-build-perf-test.log'. Also, add a new command line
option --log-file which makes it possible to use an alternative log file
name/path, if needed.  Note that the file name/path is relative to the
output directory.

(From OE-Core rev: 4909fae1a6d1d068b33252088b41b8d82d1a836c)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: enable json-formatted results
Markus Lehtonen [Mon, 29 Aug 2016 19:48:21 +0000 (22:48 +0300)] 
oeqa.buildperf: enable json-formatted results

Automatically create a json.formatted file (results.json) in the results
directory that contains results from all tests.

(From OE-Core rev: 6df3263531a41805b2280bb999cb4a73f9f91eae)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: add 'product' to test result data
Markus Lehtonen [Mon, 29 Aug 2016 19:48:20 +0000 (22:48 +0300)] 
oeqa.buildperf: add 'product' to test result data

This defaults to 'oe-core' but can be defined using the
OE_BUILDPERF_PRODUCT environment variable.

(From OE-Core rev: a22cc3e04001be5d11bd85dbdceb7088cae7c735)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooe-build-perf-test: update globalres and git even if tests failed
Markus Lehtonen [Fri, 26 Aug 2016 07:33:11 +0000 (10:33 +0300)] 
oe-build-perf-test: update globalres and git even if tests failed

Write globalres log file and commit results to Git even if some tests
failed. Now that tests do not depend on each other there should be no
risk of bogus results caused by test failures.

(From OE-Core rev: 8036975b268fe209476e230555006facd3cbda71)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: treat failed measurements as errors
Markus Lehtonen [Fri, 26 Aug 2016 07:33:10 +0000 (10:33 +0300)] 
oeqa.buildperf: treat failed measurements as errors

Now failed measurements correctly cause a test failure (recorded as an
error). There should be no need to continue the test if one step fails,
especially now that the tests don't depend on each other.

(From OE-Core rev: 446e32aadc775ca146d12173b1463f524d7fe6ef)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: make tests independent
Markus Lehtonen [Fri, 26 Aug 2016 07:33:09 +0000 (10:33 +0300)] 
oeqa.buildperf: make tests independent

Add test set-up functionality so that the individual tests do not depend
on each other. This should make sure that a failure in one test does not
affect the results of another test. The patch also makes it reasonable
to run only a subset of the tests by using the --run-tests option.

The increase in total execution time of the full suite - caused by the
additional set-up steps - is insignificant because normally no
additional tasks need to be run. The previous test has already done all
set-up work.

(From OE-Core rev: 69b3c63e32d09ea4a41b21daacdff6bf1fc447c1)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa.buildperf: fix checking of invalid results
Markus Lehtonen [Fri, 26 Aug 2016 07:33:08 +0000 (10:33 +0300)] 
oeqa.buildperf: fix checking of invalid results

The test status check done when writing globalres log was incorrect.

(From OE-Core rev: 3efbd49fd80d2b349a8fd44dbcd509168dbc1061)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agox264: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:13 +0000 (12:16 +0200)] 
x264: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: 408b1f1879e4b90c90f6d139b08d2b6f8e555655)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemtap: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:12 +0000 (12:16 +0200)] 
systemtap: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: 4c1d679a0fd601ba37ab37b11f660cc41d8507ff)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolinux-libc-headers: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:11 +0000 (12:16 +0200)] 
linux-libc-headers: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: c9dd7ebb89eb4ffc9e51ef0dca8accb617459dfe)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolsof: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:10 +0000 (12:16 +0200)] 
lsof: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: b8aa0d9b5bb9d0fc53e3f065eac7f1cfac83b6ac)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agomusl: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:09 +0000 (12:16 +0200)] 
musl: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: ceb58f3c24f957982a80ea56e9b6fcef53dd8949)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoifupdown: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:08 +0000 (12:16 +0200)] 
ifupdown: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: f37523e2d9ddf523da12aa962cf8fbe21a355d67)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokernel.bbclass: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:07 +0000 (12:16 +0200)] 
kernel.bbclass: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: de720a8b10de17e613a8fb20d8df2af0b84507d7)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodistutils-common-base.bbclass: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:06 +0000 (12:16 +0200)] 
distutils-common-base.bbclass: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: 641ab36095eb72898ec808e655014bbc5900eb95)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoautotools.bbclass: remove EXTRA_OEMAKE workaround
Stefan Müller-Klieser [Fri, 26 Aug 2016 10:16:05 +0000 (12:16 +0200)] 
autotools.bbclass: remove EXTRA_OEMAKE workaround

The default of EXTRA_OEMAKE is already empty since commit:

OE-Core rev: aeb653861a0ec39ea7a014c0622980edcbf653fa
bitbake.conf: Remove unhelpful default value for EXTRA_OEMAKE

(From OE-Core rev: 4fca6c95895d7d17cdfb637d383b28ee939fbd99)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-modules: Update 2.7.3 -> 2.8.0+master
Richard Purdie [Wed, 31 Aug 2016 10:32:38 +0000 (11:32 +0100)] 
lttng-modules: Update 2.7.3 -> 2.8.0+master

We need master for the changes to work with 4.8 kernels.

(From OE-Core rev: ab883b74634b8fa0c179b2c42b1503fa78fcc06f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-tools: Add PACKAGECONFIG for manpages
Richard Purdie [Fri, 2 Sep 2016 22:46:48 +0000 (23:46 +0100)] 
lttng-tools: Add PACKAGECONFIG for manpages

(From OE-Core rev: 1ddae1c3a58931bbf348fd6fd912f0cd30598585)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-tools: Update 2.7.1 -> 2.8.1
Richard Purdie [Wed, 31 Aug 2016 10:32:11 +0000 (11:32 +0100)] 
lttng-tools: Update 2.7.1 -> 2.8.1

Drop backported patch.
Update ust configure option.
Update location of xml m4 file.

(From OE-Core rev: ea0375c5a38a761d296f5e20c95450c2df90fe39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolttng-ust: Update 2.7.1 -> 2.8.1
Richard Purdie [Wed, 31 Aug 2016 10:31:29 +0000 (11:31 +0100)] 
lttng-ust: Update 2.7.1 -> 2.8.1

Drop aarch64_be patch which is now upstream.
Update doc patch to apply to latest version.
Disable man generation in configure options to match docs patch (for now).

(From OE-Core rev: 338320be00101cb182c8ccdad162076e7c3d3dbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibyaml: update to 0.1.7
Alexander Kanavin [Tue, 30 Aug 2016 12:26:53 +0000 (15:26 +0300)] 
libyaml: update to 0.1.7

Drop backported libyaml-CVE-2014-9130.patch

(From OE-Core rev: 2dfdf483e9de5bcb24149f619b0c7fc466221204)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoffmpeg: update to 3.1.3
Alexander Kanavin [Tue, 30 Aug 2016 12:26:52 +0000 (15:26 +0300)] 
ffmpeg: update to 3.1.3

(From OE-Core rev: ff6a73adf306cb80edae9d6025dcb62b9e4fa241)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiso-codes: update to 3.70
Alexander Kanavin [Tue, 30 Aug 2016 12:26:51 +0000 (15:26 +0300)] 
iso-codes: update to 3.70

(From OE-Core rev: 2c1f16ed94c82bd9e46f4c7dfc34fc9cd9edb5d5)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0: upgrade to 1.8.3
Maxin B. John [Tue, 30 Aug 2016 13:18:01 +0000 (16:18 +0300)] 
gstreamer1.0: upgrade to 1.8.3

1.8.2 -> 1.8.3

Remove backported patch from 1.8.3:
        0007-glplugin-gleffects-fix-little-rectangel-appears-at-t.patch

(From OE-Core rev: 0190736ef89447b81ab9a95e83ec205c5c1f4618)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosqlite3: upgrade to 3.14.1
Maxin B. John [Tue, 30 Aug 2016 13:18:00 +0000 (16:18 +0300)] 
sqlite3: upgrade to 3.14.1

(From OE-Core rev: 6858df73073d32f6301b2302ae563670e32db134)

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobase, autotools: Append PACKAGECONFIG_CONFARGS to EXTRA_OECONF only in autotools...
Martin Jansa [Tue, 30 Aug 2016 14:19:58 +0000 (16:19 +0200)] 
base, autotools: Append PACKAGECONFIG_CONFARGS to EXTRA_OECONF only in autotools.bbclass

* recipes which don't inherit autotools or cmake bbclass and want to
  use the configure options from PACKAGECONFIG need to handle
  PACKAGECONFIG_CONFARGS themselves.

(From OE-Core rev: c98fb5f5129e71829ffab4449b3d28082bc95ab4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agounzip: fixes strange output
Edwin Plauchu [Tue, 30 Aug 2016 02:17:13 +0000 (21:17 -0500)] 
unzip: fixes strange output

This fixes commit 763a3d424bccf559a8d6add3dc1f2746c82f2933

Output was strange when using unzip to extract zip file.
This patch fixed so.

[YOCTO #9551]

(From OE-Core rev: 30486429ed228e387ee574c6990b361d2ade6a32)

Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agonss: update to 3.25
Alexander Kanavin [Mon, 29 Aug 2016 14:30:19 +0000 (17:30 +0300)] 
nss: update to 3.25

(From OE-Core rev: fa11e90f691e4f4eee8a231abfe179b0f4992da9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agompg123: update to 1.23.6
Alexander Kanavin [Mon, 29 Aug 2016 14:30:18 +0000 (17:30 +0300)] 
mpg123: update to 1.23.6

(From OE-Core rev: 7dd246aaacc7128d7c4860438714862af6ac050a)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolighttpd: update to 1.4.41
Alexander Kanavin [Mon, 29 Aug 2016 14:30:17 +0000 (17:30 +0300)] 
lighttpd: update to 1.4.41

Rebase pkgconfig.patch

(From OE-Core rev: 45fac4161cb230bc03c6c08d21cc768e52700f02)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogobject-introspection: odd versions are development snapshots
Alexander Kanavin [Mon, 29 Aug 2016 14:30:14 +0000 (17:30 +0300)] 
gobject-introspection: odd versions are development snapshots

(From OE-Core rev: 5c2fcbc42dc85764863771ed62c7415aafb85916)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoffmpeg: update to 3.1.2
Alexander Kanavin [Mon, 29 Aug 2016 14:30:13 +0000 (17:30 +0300)] 
ffmpeg: update to 3.1.2

(From OE-Core rev: 0aeb601b9e211063aeedec5600354245c0491ff9)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobdwgc: Add missing include to avoid musl build failures
Richard Purdie [Wed, 31 Aug 2016 16:51:23 +0000 (17:51 +0100)] 
bdwgc: Add missing include to avoid musl build failures

(From OE-Core rev: 33459ffd0b5f3f303bcf8fb4dce817f6d73162a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobdwgc: update to 7.6.0
Alexander Kanavin [Mon, 29 Aug 2016 14:30:12 +0000 (17:30 +0300)] 
bdwgc: update to 7.6.0

Remove backported NIOS2 patch.
README.QUICK checksum updated; the license part of the file is unchaged.

(From OE-Core rev: ee16cc4ad552502212055af46b3e97a312a13e69)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobash-completion: update to 2.4
Alexander Kanavin [Mon, 29 Aug 2016 14:30:11 +0000 (17:30 +0300)] 
bash-completion: update to 2.4

(From OE-Core rev: 7f23afc08141b48c4adea51820b9ad9a8fa21867)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoiso-codes: upgrade to 3.69
Alexander Kanavin [Mon, 29 Aug 2016 14:30:10 +0000 (17:30 +0300)] 
iso-codes: upgrade to 3.69

(From OE-Core rev: 9663d90f46102a04ff41c36da94140cee0a9ad44)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobtrfs-tools: update to 4.7.1
Alexander Kanavin [Mon, 29 Aug 2016 14:30:09 +0000 (17:30 +0300)] 
btrfs-tools: update to 4.7.1

(From OE-Core rev: af37bf57b2772851150cbdabf8e1c2db7475930f)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibwebp: upgrade to 0.5.1
Alexander Kanavin [Mon, 29 Aug 2016 14:30:08 +0000 (17:30 +0300)] 
libwebp: upgrade to 0.5.1

(From OE-Core rev: c896b61db5c8abe0b96f7c8468cbf1ba2b36f435)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: fix RREPLACES and RCONFLICTS for libnl-genl
Robert Yang [Fri, 2 Sep 2016 05:09:14 +0000 (22:09 -0700)] 
libnl: fix RREPLACES and RCONFLICTS for libnl-genl

The libnl-genl.rpm provides libnl-genl-3-200 after the following 2 fixes:
libnl: update to v3.2.28
libnl: fix packaging mistakes

$ rpm -qp --provides tmp/deploy/rpm/core2_64/libnl-genl-3-200-3.2.28-r0.4.core2_64.rpm
elf(buildid) = 4e753b2361ba0b02f162244a87cc0680796e46cc
libnl-genl = 3.2.28
libnl-genl-3.so.200()(64bit)
libnl-genl-3.so.200(libnl_3)(64bit)
libnl-genl2
libnl-genl-3-200 = 1:3.2.28-r0.4

Note, the libnl-genl2 is introduced by REPLACES_${PN}-genl = "libnl-genl2".

So that we don't need set libnl-genl-3-200 in the RREPLACES and
RCONFLICTS, otherwise it would cause do_rootfs errors when install both
libnl-genl.rpm and lib32-libnl-genl.rpm:

Computing transaction...error: Can't install libnl-genl-3-200-1:3.2.28-r0.0@core2_64: conflicted package libnl-genl-3-200-1:3.2.28-r0.0@lib32_x86 is locked

We didn't meet this error before was because there was no libnl-genl.rpm,
but libnl-3-genl.rpm, and it doesn't provide libnl-genl-3-200 by default.

Remove libnl-genl-3-200 from RREPLACES and RCONFLICTS will fix the problem.

(From OE-Core rev: a2e9e0bb7a4901f819332df30ec265616e422826)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: backport musl fix (strerror_r / strerror_l)
André Draszik [Fri, 26 Aug 2016 10:31:52 +0000 (11:31 +0100)] 
libnl: backport musl fix (strerror_r / strerror_l)

musl doesn't implement the non-posix compliant,
deprecated, glibc-only special version of strerror_r
that libnl had been using so far.

Backport the patch(set) that switches libnl over to
using strerror_l().

(From OE-Core rev: 3718761dd9bd841c4383b63346c1ff2c81570af6)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: update to v3.2.28
André Draszik [Fri, 26 Aug 2016 10:31:51 +0000 (11:31 +0100)] 
libnl: update to v3.2.28

See
  http://lists.infradead.org/pipermail/libnl/2016-August/002187.html
  http://lists.infradead.org/pipermail/libnl/2016-August/002200.html

(From OE-Core rev: 448411845e5953d498847e9a8d85d4b68e230c37)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibnl: fix packaging mistakes
André Draszik [Fri, 26 Aug 2016 10:31:50 +0000 (11:31 +0100)] 
libnl: fix packaging mistakes

- *.la files belong into -dev packages
- the genl-ctrl-list command line utility should go to into the CLI
  package, so as to prevent the libnl-genl library package from
  pulling in all of the command line utilities (as genl-ctrl-list
  is linked against libnl-cli-3.so.200)

(From OE-Core rev: 57ddcbde8aad2a2d37619e11a0cd2e9b8d9fb239)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: check COMPRESS_DEPENDS for backwards compatibility
Mikko Ylinen [Tue, 30 Aug 2016 05:38:45 +0000 (08:38 +0300)] 
image_types: check COMPRESS_DEPENDS for backwards compatibility

To complete the transition/renaming to chained image type CONVERSION
while maintaining bacwards compatibility to COMPRESS(ION), make sure also
COMPRESS_DEPENDS is checked. Without this, the dependencies for legacy
COMPRESSIONTYPES do not get built.

(From OE-Core rev: 12a8ee44f05e21d5814e31cb9e13c9eab236b836)

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bb.fetch2.svn: correctly pass workdir when fetching
Christopher Larson [Wed, 31 Aug 2016 19:57:08 +0000 (12:57 -0700)] 
bitbake: bb.fetch2.svn: correctly pass workdir when fetching

The ud.pkgdir argument was being passed as the 'quiet' argument to
runfetchcmd, not the 'workdir' argument, resulting in fetching the svn module
into the root of DL_DIR, not where it belongs.

Cc: Matt Madison <matt@madison.systems>
(Bitbake rev: dc756510a95f88b192352be6fcd1d5d77852c348)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cooker.py: Catch when stdout doesn't have a file descriptor
Mariano Lopez [Tue, 23 Aug 2016 07:06:11 +0000 (07:06 +0000)] 
bitbake: cooker.py: Catch when stdout doesn't have a file descriptor

Currently, there is a check to remove the TOSTOP attribute from
a tty to avoid hangs. It assumes that sys.stdout will have a
file descriptor and this is not always true, some IO classes
will throw exceptions when trying to get its file descriptor.

This will add a check for such cases and avoid throwing an
exception.

[YOCTO #10162]

(Bitbake rev: cb4f8f6efa28ef2b13bc738a0118b876baa15b3e)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: localhostbecontroller Remove git assumption
Michael Wood [Mon, 22 Aug 2016 15:42:36 +0000 (16:42 +0100)] 
bitbake: toaster: localhostbecontroller Remove git assumption

We don't need to force everyone to use git for the method in which
openembedded-core is downloaded. For instance it could have been
downloaded and extracted as a tarball.

(Bitbake rev: 8b7180332691a41a013e07a52b26018402141b6a)

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>
8 years agobitbake: toaster: Allow git information to be null for BRLayer
Michael Wood [Mon, 22 Aug 2016 15:42:35 +0000 (16:42 +0100)] 
bitbake: toaster: Allow git information to be null for BRLayer

We no longer only deal with layers that have their source in a gir
repository, we also allow for local directories too so update the
BRLayer model to reflect this.

(Bitbake rev: a15f61f3ef5a87b87121457f76592c87f0ea5d7f)

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>
8 years agobitbake: toaster: tests Add selenium test layer source switching layer details page
Michael Wood [Mon, 22 Aug 2016 15:42:34 +0000 (16:42 +0100)] 
bitbake: toaster: tests Add selenium test layer source switching layer details page

Add selenium tests for the new layer source switching functionality on
the layer details page. Edits the values for git repository and saves
and then edits the details for directory information and saves.

(Bitbake rev: acdfafdd753abe38a313c42e3a9d6211338b4e73)

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>
8 years agobitbake: toaster: Move Custom image recipe rest api to api file
Michael Wood [Mon, 22 Aug 2016 15:42:33 +0000 (16:42 +0100)] 
bitbake: toaster: Move Custom image recipe rest api to api file

We now have a dedicated file for the rest API so move and rework for
class based views. Also clean up all flake8 identified warnings.

Remove unused imports from toastergui views.

The original work for this API was done by Elliot Smith, Ed Bartosh,
Michael Wood and Dave Lerner

(Bitbake rev: 37c2b4f105d7334cdd83d9675af787f4327e7fe7)

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>
8 years agobitbake: toaster: Fix oe-core fixture
Michael Wood [Mon, 22 Aug 2016 15:42:32 +0000 (16:42 +0100)] 
bitbake: toaster: Fix oe-core fixture

Due to a copy paste error we managed to get some of the wrong
information in the oe fixture that provides a suggested default settings
for Toaster. This meant it tested correctly when it shouldn't have.
Fix:
 - The use of local bitbake
 - An incorrect call to realpath which didn't include its parent module.
 - The field used for the local_dir of an existing openembedded-core

(Bitbake rev: d57a9124650e5367919668dfccf6aad4962a77f1)

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>
8 years agobitbake: toaster: layerdetails clean ups after integrating local layer changes
Michael Wood [Mon, 22 Aug 2016 15:42:31 +0000 (16:42 +0100)] 
bitbake: toaster: layerdetails clean ups after integrating local layer changes

A few clean ups for the work done to integrate editing imported local layers
into the layer detail page.

(Bitbake rev: 092ef32e695b43c3337b7116722c4c6eba981396)

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>
8 years agobitbake: toaster: update api to include local_source_dir
Sujith H [Mon, 22 Aug 2016 15:42:30 +0000 (16:42 +0100)] 
bitbake: toaster: update api to include local_source_dir

Add an additional argument to the api to handle
local_source_dir which is the value user passes
to import non-git layers.

[YOCTO #9913]

(Bitbake rev: 2b5728fc5c0e578560506697f271605e80b5918f)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: layerdetails js changes for switching layers
Sujith H [Mon, 22 Aug 2016 15:42:29 +0000 (16:42 +0100)] 
bitbake: toaster: layerdetails js changes for switching layers

This patch helps to implement the switching of layers
between directories and git repositories. Specifically
selection of git and local directory. Also enabling
form to view the selection.

[YOCTO #9913]

(Bitbake rev: 5c20834691f1b65cfc4a0c4ec12958f86b34bbeb)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: toaster: add switch of git and not-git layers imported
Sujith H [Mon, 22 Aug 2016 15:42:28 +0000 (16:42 +0100)] 
bitbake: toaster: add switch of git and not-git layers imported

This patch updates the layerdetails html file to
add the feature of switching imported layers between
directories and git repositories.

[YOCTO #9913]

(Bitbake rev: 70319eb690a056b41b7e91d79560067edd623ee1)

Signed-off-by: Sujith H <sujith.h@gmail.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: buildinfohelper: discover kernel artifacts correctly
Elliot Smith [Tue, 23 Aug 2016 11:18:26 +0000 (14:18 +0300)] 
bitbake: buildinfohelper: discover kernel artifacts correctly

Because some image_license.manifest files contain multiple
FILES lines, and because those lines can sometimes not contain
a list of files (i.e. they look like "FILES:\n"), we were
resetting the list of kernel artifacts when we hit the second
"empty" line.

Fix by ignoring any FILES line which doesn't list files, and by
appending any files found in a valid FILES line, rather than
overwriting the existing list.

[YOCTO #10107]

(Bitbake rev: 927ec3524625ac731326b3c1c1361c2a4d2bd9e1)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: wget: allow basic http auth for SSTATE_MIRRORS
Stephano Cetola [Fri, 26 Aug 2016 17:41:43 +0000 (10:41 -0700)] 
bitbake: wget: allow basic http auth for SSTATE_MIRRORS

If http basic auth creds were added to sstate mirrors like so:

https://foo.com/sstate/PATH;user=foo:bar;downloadfilename=PATH

The sstate mirror check would silently fail with 401 unauthorized.
This patch allows both the check, and the wget download to succeed by
checking for user credentials and if present adding the correct
headers, or wget params as needed.

[ YOCTO #9815 ]

(Bitbake rev: cea8113d14da9e12db80a5b6b5811a47a7dfdeef)

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cookerdata/ast: Fail gracefully if event handler function is not found
Markus Lehtonen [Tue, 30 Aug 2016 09:53:30 +0000 (12:53 +0300)] 
bitbake: cookerdata/ast: Fail gracefully if event handler function is not found

[YOCTO #10186]

(Bitbake rev: 107c47c4e6de6a596cf1aeca5c18dbc1c5b44dc4)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds
Richard Purdie [Wed, 31 Aug 2016 10:37:53 +0000 (11:37 +0100)] 
bitbake: build/runqueue: Add noextra stamp file parameter to fix multiconfig builds

We can't execute the same task for the same package_arch multiple
times as the current setup has conflicting directories. Since
these would usually have the same stamp/hash, we want to execute in
sequence rather than in parallel, so for the purposes of task execution,
don't consider the "extra-info" on the stamp files. We need to add
a parameter to the stamp function to achieve this.

This avoids multiple update-rc.d populate_sysroot tasks executing in
parallel and breaking multiconfig builds.

(Bitbake rev: a9041fc96a14e718c0c1d1676e705343b9e872d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: fetch2: Handle multiconfig fetcher issues
Richard Purdie [Wed, 31 Aug 2016 10:34:23 +0000 (11:34 +0100)] 
bitbake: fetch2: Handle multiconfig fetcher issues

We need a separate fetcher cache per multiconfig as the revisions and other
SRC_URI data can potentially be different. For now, this is the simplest way
to achieve that and avoids linux-yocto kernel build failures when targeting
multiple machines for example.

(Bitbake rev: d98cc31d6668bc1d6372664593126b5e5132ef2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: add a parse_recipe_file function
Paul Eggleton [Tue, 30 Aug 2016 02:16:22 +0000 (14:16 +1200)] 
bitbake: tinfoil: add a parse_recipe_file function

Parsing a recipe is such a common task for tinfoil-using scripts, and is
a little awkward to do properly, so add an API function to do it. This
should also isolate scripts a little from future changes to the internal
code. The first user of this will be the OpenEmbedded layer index update
script.

Part of the fix for [YOCTO #10192].

(Bitbake rev: 39780b1ccbd76579db0fc6fb9369c848a3bafa9d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: cache: allow parsing a recipe with a custom config datastore
Paul Eggleton [Tue, 30 Aug 2016 08:45:09 +0000 (20:45 +1200)] 
bitbake: cache: allow parsing a recipe with a custom config datastore

To accommodate the OpenEmbedded layer index recipe parsing, we have to
have the ability to pass in a custom config datastore since it
constructs a synthetic one. To make this possible after the multi-config
changes, rename the internal _load_bbfile() function to parse_recipe(),
make it a function at the module level (since it doesn't actually need
to access any members of the class or instance) and move setting
__BBMULTICONFIG inside it since other code will expect that to be set.

Part of the fix for [YOCTO #10192].

(Bitbake rev: 5b3fedfe0822dd7effa4b6d5e96eaf42669a71df)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-diffsigs/bitbake-layers: Ensure tinfoil is shut down correctly
Paul Eggleton [Wed, 5 Aug 2015 14:47:12 +0000 (15:47 +0100)] 
bitbake: bitbake-diffsigs/bitbake-layers: Ensure tinfoil is shut down correctly

We should always shut down tinfoil when we're finished with it, either
by explicitly calling the shutdown() method or by using it as a
context manager ("with ...").

(Bitbake rev: 131e6dc4bbd197774d35d2b266bfb0816f6e6b1e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: tinfoil: add context manager functions
Paul Eggleton [Wed, 5 Aug 2015 14:12:14 +0000 (15:12 +0100)] 
bitbake: tinfoil: add context manager functions

Since calling the shutdown() function is highly recommended, make
tinfoil objects a little easier to deal with by adding context manager
support - so you can do the following:

    with bb.tinfoil.Tinfoil() as tinfoil:
        tinfoil.prepare(True)
        ...

(Bitbake rev: f59bc6be2b4af1acdcf6a1b184956b5ffd297743)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Added "Exporting Variables to the Environment"
Scott Rifenbark [Thu, 1 Sep 2016 21:01:21 +0000 (14:01 -0700)] 
bitbake: bitbake-user-manual: Added "Exporting Variables to the Environment"

Fixes [YOCTO #10196]

Added a new section named "Exporting Variables to the Environment".
This section provides a dedicated description for how to export
variables to the shell.

(Bitbake rev: b543458dd67d24a228fa2db0ecb4ddd20016a560)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake: bitbake-user-manual: Corrected misspelled STAMPS_DIR
Scott Rifenbark [Mon, 22 Aug 2016 20:07:58 +0000 (13:07 -0700)] 
bitbake: bitbake-user-manual: Corrected misspelled STAMPS_DIR

Fixes [YOCTO #10141]

Section on Checksums (Signatures) had this variable referred to as
STAMP_DIR.

(Bitbake rev: 7dff6762148bc2ac8f81d89bbe595dfbfdf7b119)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoinit-install: Fixes the install script failing when not finding any mmcblk devices
Alejandro Hernandez [Tue, 30 Aug 2016 05:08:37 +0000 (05:08 +0000)] 
init-install: Fixes the install script failing when not finding any mmcblk devices

The init-install.sh and init-install-efi.sh scripts perform a check
to see which devices are available on a booted system for installation.

Recently, the way we check for these devices changed on 993bfb,
greping for devices found on /sys/block/, this change caused the installer
to fail (at least) when not finding any mmcblk devices, due to the fact
that we call sh -e to execute this script, so any command (grep)
or pipeline exiting with a non-zero status causes the whole script to exit

This patch throws in a harmless true exit status at the end of the pipeline(s)
of the grep commands to avoid the installer script from exiting, fixing the issue.

[YOCTO #10189]

(From OE-Core rev: 384cf92ca9c3e66763c2c1ff2776c53d47ae25d6)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Fixed small wording in PKGR in the glossary
Scott Rifenbark [Mon, 22 Aug 2016 23:00:48 +0000 (16:00 -0700)] 
ref-manual: Fixed small wording in PKGR in the glossary

Fixes [YOCTO #10138]

(From yocto-docs rev: e49e5055e48f3c426090d2bc62b2bffbc2577dd0)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoref-manual: Replaced "bitbake-dumpsigs" with "bitbake-dumpsig".
Scott Rifenbark [Mon, 22 Aug 2016 22:30:57 +0000 (15:30 -0700)] 
ref-manual: Replaced "bitbake-dumpsigs" with "bitbake-dumpsig".

Fixes [YOCTO #10141]

(From yocto-docs rev: e74a66d146e7f666a71f2dab6a5f78de5ad1966c)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>