]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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.

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.

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.

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.

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.

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.

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.

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.

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

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...

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.

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].

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.

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:~#

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.

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

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

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.

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.

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.

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

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

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.

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

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.

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.

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.

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.

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.

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'.

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.

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.

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.

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.

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.

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.

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.

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

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

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

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

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

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

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

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

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

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.

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

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.

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).

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

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

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

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

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

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.

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]

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

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

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

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

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

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

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.

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

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

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

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

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.

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().

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

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)

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.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.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]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agocore-image-kernel-dev.bb: Standardize use of _append and leading space.
Robert P. J. Day [Thu, 18 Aug 2016 09:23:55 +0000 (05:23 -0400)]
core-image-kernel-dev.bb: Standardize use of _append and leading space.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolinux-firmware: set a preferred provider for brcmfmac-sdio.bin
Ross Burton [Wed, 24 Aug 2016 21:50:57 +0000 (22:50 +0100)]
linux-firmware: set a preferred provider for brcmfmac-sdio.bin

This recipe packages six alternatives to brcmfmac-sdio.bin but as they all have
equal priority there is no determinism on what provider will be used if they are
all installed.

Arbitrarily select 4339 to be the highest priority.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogroff: correct the location path for awk
Zhenbo Gao [Wed, 24 Aug 2016 09:12:38 +0000 (17:12 +0800)]
groff: correct the location path for awk

awk is located at /usr/bin/, but not /bin/

Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoperl: Correct perl path for ptest
He Zhe [Wed, 24 Aug 2016 07:08:16 +0000 (15:08 +0800)]
perl: Correct perl path for ptest

Substitute /usr/local with ${bindir}

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolsbinitscripts: 9.64 -> 9.68
Wang Xin [Wed, 24 Aug 2016 06:45:03 +0000 (02:45 -0400)]
lsbinitscripts: 9.64 -> 9.68

Upgrade lsbinitscripts from 9.64 to 9.68.

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd: split systemd-container
Chen Qi [Fri, 19 Aug 2016 02:24:11 +0000 (10:24 +0800)]
systemd: split systemd-container

Split container/vm related units into a new package, systemd-container.

The split mainly references Fedora 24, with a few differences.
Apart from the bash and zsh completion files, the differences include
adding systemd-spawn@.service into the systemd-container package.

[YOCTO #9835]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorootfs.py: allow removal of unneeded packages
Stephano Cetola [Wed, 17 Aug 2016 23:25:33 +0000 (16:25 -0700)]
rootfs.py: allow removal of unneeded packages

Current functionality allows for the removal of certain packages
based on the read-only image feature. This patch extends this
functionality by adding the FORCE_RO_REMOVE variable, which will
remove these packages regardless of any image features.

[ YOCTO #9491 ]

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agounfs3: Simplify simultaneous usage of "_append" and "+="
Robert P. J. Day [Wed, 17 Aug 2016 14:16:41 +0000 (10:16 -0400)]
unfs3: Simplify simultaneous usage of "_append" and "+="

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuild-perf-test-wrapper.sh: make workdir configurable
Markus Lehtonen [Fri, 19 Aug 2016 13:18:55 +0000 (16:18 +0300)]
build-perf-test-wrapper.sh: make workdir configurable

New command line argument '-w' may be used to specify work dir other
than the default <GIT_DIR>/build-perf-test.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuild-perf-test-wrapper.sh: make archive dir configurable
Markus Lehtonen [Fri, 19 Aug 2016 12:21:06 +0000 (15:21 +0300)]
build-perf-test-wrapper.sh: make archive dir configurable

Add new command line argument '-a' that can be used to define the
directory where results (tarballs) are archived. Giving an empty string
disables archiving which makes sense if you store results in Git.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuild-perf-test-wrapper.sh: allow saving results in Git
Markus Lehtonen [Fri, 19 Aug 2016 11:57:56 +0000 (14:57 +0300)]
build-perf-test-wrapper.sh: allow saving results in Git

Add new command line argument '-C' that allows saving results in a Git
repository.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobuild-perf-test-wrapper.sh: parse args with getopts
Markus Lehtonen [Fri, 19 Aug 2016 10:48:58 +0000 (13:48 +0300)]
build-perf-test-wrapper.sh: parse args with getopts

Use getopts for parsing the command line. This changes the usage so that
if a commit (to-be-tested) is defined it must be given by using '-c',
instead of a positional argument.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag
Markus Lehtonen [Tue, 23 Aug 2016 14:08:40 +0000 (17:08 +0300)]
oe-build-perf-test: add {git_commit_count} keyword for --commit-results-tag

Makes it possible to create easily sortable tags. Also, the default tag
format is updated to use the new keyword.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: add git commit count to result data
Markus Lehtonen [Tue, 23 Aug 2016 13:48:46 +0000 (16:48 +0300)]
oeqa.buildperf: add git commit count to result data

This number represents the number of commits since the beginning of git
history until the tested revision. This helps e.g. in ordering results.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: new {tag_num} keyword for --commit-results-tag
Markus Lehtonen [Tue, 23 Aug 2016 13:41:53 +0000 (16:41 +0300)]
oe-build-perf-test: new {tag_num} keyword for --commit-results-tag

This makes it possible to create numbered tags, where the "basename" of
the tag is the same and the only difference is an (automatically)
increasing index number. This is useful if you do multiple test runs on
the same commit. For example, using:
--commit-results-tag {tester_host}/{git_commit}/{tag_num}

would give you tags something like:
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/0
myhost/decb3119dffd3fd38b800bebc1e510f9217a152e/1
...

The default tag format is updated to use this new keyword in order to
prevent unintentional tag name clashes.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: tag results committed to Git
Markus Lehtonen [Tue, 16 Aug 2016 12:56:56 +0000 (15:56 +0300)]
oe-build-perf-test: tag results committed to Git

Create a Git tag when committing results to a Git repository. This patch
also implements --commit-results-tag command line option for controlling
the tag name. The value
is a format string where the following fields may be used:
- {git_branch} - target branch being tested
- {git_commit} - target commit being tested
- {tester_host} - hostname of the tester machine

Tagging can be disabled by giving an empty string to
--commit-results-tag. The option has no effect if --commit-results is
not defined.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: pre-check Git repo when using --commit-results
Markus Lehtonen [Mon, 15 Aug 2016 10:38:43 +0000 (13:38 +0300)]
oe-build-perf-test: pre-check Git repo when using --commit-results

Do a pre-check on the path that is specified with --commit-results
before running any tests. The script will create and/or initialize a
fresh Git repository if the given directory does not exist or if it is
an empty directory. It fails if it finds a non-empty directory that is
not a Git repository.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git: implement init() method
Markus Lehtonen [Mon, 15 Aug 2016 12:19:44 +0000 (15:19 +0300)]
oeqa.utils.git: implement init() method

Method for doing 'git init'.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: implement --commit-results-branch
Markus Lehtonen [Fri, 12 Aug 2016 11:11:16 +0000 (14:11 +0300)]
oe-build-perf-test: implement --commit-results-branch

A new command line option for defining the branch where results are
commited. The value is actually a format string accepting two field
names:
- {git_branch} expands to the name of the target branch being tested
- {tester_host} expands to the hostname of the tester machine

The option has no effect if --commit-results is not used.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: support committing results data to Git
Markus Lehtonen [Fri, 12 Aug 2016 10:53:48 +0000 (13:53 +0300)]
oe-build-perf-test: support committing results data to Git

Implement a new command line option '--commit-results' which commits the
test results data into a Git repository. The given path must be an
existing initialized local Git repository.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.buildperf: use term commit instead of revision
Markus Lehtonen [Tue, 23 Aug 2016 13:11:21 +0000 (16:11 +0300)]
oeqa.buildperf: use term commit instead of revision

This is basically a internal change, at this point. Term 'commit' better
represents the data we actually have. Term 'revision' is more vague and
could be understood to point to a tag object, for example.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git.GitRepo: new arg to require topdir
Markus Lehtonen [Mon, 15 Aug 2016 10:56:58 +0000 (13:56 +0300)]
oeqa.utils.git.GitRepo: new arg to require topdir

Add a new 'is_topdir' argument to the GitRepo init method which
validates that the given path is the top directory of a Git repository.
Without this argument GitRepo also accepts subdirectories of a Git
repository (in which case GitRepo will point to the parent directory
that is the top directory of this repository) which may have undesired
in some cases.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git: implement GitRepo.get_current_branch()
Markus Lehtonen [Mon, 16 May 2016 11:36:27 +0000 (14:36 +0300)]
oeqa.utils.git: implement GitRepo.get_current_branch()

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git: introduce GitRepo.rev_parse()
Markus Lehtonen [Mon, 16 May 2016 11:23:43 +0000 (14:23 +0300)]
oeqa.utils.git: introduce GitRepo.rev_parse()

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa.utils.git: support git commands with updated env
Markus Lehtonen [Fri, 13 May 2016 13:34:04 +0000 (16:34 +0300)]
oeqa.utils.git: support git commands with updated env

Extend GitRepo.run_cmd so that the caller may redefine and/or define
additional environment variables that will be used when the git command
is run.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooe-build-perf-test: use absolute paths in cmdline args
Markus Lehtonen [Tue, 16 Aug 2016 13:07:04 +0000 (16:07 +0300)]
oe-build-perf-test: use absolute paths in cmdline args

This is safer as the current working directory may change.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>