]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
8 years agooe-build-perf-test: implement --run-tests option
Markus Lehtonen [Thu, 11 Aug 2016 13:50:55 +0000 (16:50 +0300)]
oe-build-perf-test: implement --run-tests option

Makes it possible to run only a subset of tests.

NOTE: The tests currently have (unwritten) dependencies on each other so
use this option with care. Mainly for debugging.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-3.5-manifest: Add argparse module
Fabio Berton [Tue, 23 Aug 2016 21:23:59 +0000 (18:23 -0300)]
python-3.5-manifest: Add argparse module

Adding argparse module from Python's standard library. This allow use
argparse without installing all python-misc modules. For compatibility,
add python3-argparse as RDEPENDS to python3-misc.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-3.5-manifest: Rename Queue module to queue
Fabio Berton [Tue, 23 Aug 2016 11:48:42 +0000 (08:48 -0300)]
python-3.5-manifest: Rename Queue module to queue

The Queue module has been renamed to queue in Python 3.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agouseradd.bblass: Simplify target overrides
Ulf Magnusson [Tue, 23 Aug 2016 21:02:08 +0000 (23:02 +0200)]
useradd.bblass: Simplify target overrides

The current style might be a leftover from when _class-target did not
exist.

Also change the assignment to SSTATECLEANFUNCS to an append, which makes
more sense. useradd.bbclass is the only user of SSTATECLEANFUNCS as of
writing, so it won't make any functional difference.

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogcc: Update to final 6.2.0 release
Khem Raj [Tue, 23 Aug 2016 01:27:31 +0000 (18:27 -0700)]
gcc: Update to final 6.2.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopiglit: Add python3-argparse module to RDEPENDS
Fabio Berton [Tue, 23 Aug 2016 19:13:37 +0000 (16:13 -0300)]
piglit: Add python3-argparse module to RDEPENDS

Python module argparse was removed from python3-misc package, so we
need to add new python3-argparse package to RDEPENDS.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: build_image: Fix recipe filter
Ola x Nilsson [Tue, 23 Aug 2016 09:08:21 +0000 (11:08 +0200)]
devtool: build_image: Fix recipe filter

The missing split() causes dev and dbg packages to match.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agodevtool: Use the wildcard flag in update_recipe_patch
Ola x Nilsson [Tue, 23 Aug 2016 07:28:10 +0000 (09:28 +0200)]
devtool: Use the wildcard flag in update_recipe_patch

The --wilcard-version flag was only used in the srcrev variant of the
update-recipe command.

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agonasm: 2.11.08 -> 2.12.02
Robert Yang [Tue, 23 Aug 2016 00:39:22 +0000 (17:39 -0700)]
nasm: 2.11.08 -> 2.12.02

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosubversion: 1.9.3 -> 1.9.4
Robert Yang [Tue, 23 Aug 2016 00:39:21 +0000 (17:39 -0700)]
subversion: 1.9.3 -> 1.9.4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogit: 2.9.2 -> 2.9.3
Robert Yang [Tue, 23 Aug 2016 00:39:20 +0000 (17:39 -0700)]
git: 2.9.2 -> 2.9.3

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agosystemd-compat-units: do not inherit allarch
Joe Slater [Mon, 22 Aug 2016 22:12:31 +0000 (15:12 -0700)]
systemd-compat-units: do not inherit allarch

Even though we are just a script, we do depend on
systemd being on the target and need an RDEPENDS
which means we cannot also be allarch.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agobash-completion: add bash-completion to DEPENDS for target packages
Ross Burton [Tue, 23 Aug 2016 15:43:29 +0000 (16:43 +0100)]
bash-completion: add bash-completion to DEPENDS for target packages

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoutils: check_app_exists: strip whitespace from binary when searching
Ross Burton [Tue, 23 Aug 2016 15:00:02 +0000 (16:00 +0100)]
utils: check_app_exists: strip whitespace from binary when searching

It's possible that the binary to be searched for contains whitespace which will
cause the search to fail, so strip any whitespace before looking.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agooeqa/runtime/rpm: use su instead of sudo
Ross Burton [Tue, 23 Aug 2016 14:14:04 +0000 (15:14 +0100)]
oeqa/runtime/rpm: use su instead of sudo

This test works fine with su, which is more likely to be installed in images
than sudo.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolayer.conf: remove pointercal
Maxin B. John [Wed, 10 Aug 2016 09:01:03 +0000 (12:01 +0300)]
layer.conf: remove pointercal

remove pointercal reference from layer.conf file since we moved the
pointercal recipe from oe-core.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agodistro_alias.inc: remove xtscal, pointercal and tslib references
Maxin B. John [Mon, 8 Aug 2016 09:45:18 +0000 (12:45 +0300)]
distro_alias.inc: remove xtscal, pointercal and tslib references

Remove xtscal, pointercal and tslib reference from distro_alias.inc
file since we moved those recipes from oe-core

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopointercal: remove recipe
Maxin B. John [Wed, 10 Aug 2016 08:29:06 +0000 (11:29 +0300)]
pointercal: remove recipe

Remove pointercal recipe along with xtscal since we replace it with
xinput-calibrator

[YOCTO #9365]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agotslib: remove recipe
Maxin B. John [Wed, 10 Aug 2016 08:32:07 +0000 (11:32 +0300)]
tslib: remove recipe

Modern systems generally use the kernel driver or libinput instead
of tslib. Move tslib from oe-core along with xtscal.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agoxtscal: remove recipe
Maxin B. John [Mon, 6 Jun 2016 12:44:01 +0000 (15:44 +0300)]
xtscal: remove recipe

Remove xtscal in preference of xinput-calibrator

[YOCTO #9365]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopackagegroup-core-x11-base.bb: remove pointercal
Maxin B. John [Tue, 5 Jul 2016 14:44:17 +0000 (17:44 +0300)]
packagegroup-core-x11-base.bb: remove pointercal

Remove pointercal from packagegroup-core-x11-base since we removed
xtscal in favour of xinput-calibrator

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agox11-common: replace xtscal with xinput-calibrator
Maxin B. John [Mon, 6 Jun 2016 12:46:27 +0000 (15:46 +0300)]
x11-common: replace xtscal with xinput-calibrator

Replace xtscal with xinput-calibrator as part of removing xtscal.

[YOCTO #9365]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopackagegroup-core-tools-testapps: remove tslib references
Maxin B. John [Wed, 10 Aug 2016 08:51:07 +0000 (11:51 +0300)]
packagegroup-core-tools-testapps: remove tslib references

Remove tslib references from packagegroup-core-tools-testapps since
we removed tslib along with xtscal.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
8 years agopointercal-xinput: add a dummy calibration file for qemu
Maxin B. John [Wed, 15 Jun 2016 12:59:17 +0000 (15:59 +0300)]
pointercal-xinput: add a dummy calibration file for qemu

In qemu, the emulated PS/2 mouse reports itself as an "absolute coordinate"
device and that makes xinput_calibrator think it could be calibrated.

Add a dummy calibration file as a work around to prevent xinput_calibrator from
popping up on every boot in qemu.

[YOCTO #8380]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
8 years agoparselogs: Ignore uvesafb timeouts
Richard Purdie [Fri, 19 Aug 2016 10:03:00 +0000 (11:03 +0100)]
parselogs: Ignore uvesafb timeouts

We're periodically seeing uvesafb timeouts on the autobuilder. Whitelist these
errors as there is little it seems we can do about them and we therefore
choose to ignore them rather than fail the builds.

[YOCTO #8245]

There is a better solution proposed in the bug with a -1 timeout however
this avoids failed builds until such times as that is implemented.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoimage_types: use COMPRESSIONTYPES variable for backward compatibility
Ed Bartosh [Fri, 19 Aug 2016 14:35:53 +0000 (17:35 +0300)]
image_types: use COMPRESSIONTYPES variable for backward compatibility

Recent renaming of COMPRESSIONTYPES variable can break recipes that
still use it. Including value of COMPRESSIONTYPES variable into
CONVERSIONTYPES should prevent this.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agohdparm: set LICENSE correctly
Ross Burton [Fri, 5 Aug 2016 15:15:41 +0000 (16:15 +0100)]
hdparm: set LICENSE correctly

LICENSE is recipe-wide so should be BSD & GPLv2, and then override LICENSE_${PN}
to just BSD as LICENSE_wiper is GPLv2.

Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolicense: simple verification of LICENSE_<pkg> values
Markus Lehtonen [Wed, 3 Aug 2016 13:32:15 +0000 (16:32 +0300)]
license: simple verification of LICENSE_<pkg> values

LICENSE should be a superset of all LICENSE_<pkg> values. That is,
LICENSE should contain all licenses and LICENSE_<pkg> can be used to
"filter" this on a per-package basis. LICENSE_<pkg> shouldn't contain
anything that isn't specified in LICENSE.

This patch implements simple checking of LICENSE_<pkg> values. It does
do not do advanced parsing/matching of license expressions, but,
checks that all licenses mentioned in LICENSE_<pkg> are also specified in
LICENSE. A warning is printed if problems are found.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolicense.bbclass: do not process LICENSE_pn variables
Markus Lehtonen [Wed, 3 Aug 2016 13:32:14 +0000 (16:32 +0300)]
license.bbclass: do not process LICENSE_pn variables

The loop iterating over LICENSE_pn variables has never worked. In
addition, the LICENSE variable is supposed to contain all licenses
defined in LICENSE_pn variables. Thus, it is simpler just to use LICENSE
as the data we get is essentially the same.

[YOCTO #9499]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocombo-layer: python3: fix UnicodeDecodeError
Ed Bartosh [Wed, 24 Aug 2016 10:16:15 +0000 (13:16 +0300)]
combo-layer: python3: fix UnicodeDecodeError

check_patch function opens patch file in text mode. This causes
python3 to throw exception when calling readline():
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position
                        NNNN: invalid start byte

Opening file in binary mode and using binary type instead of strings
should fix this.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agooeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror
Richard Purdie [Tue, 23 Aug 2016 16:58:42 +0000 (17:58 +0100)]
oeqa/buildiptables: Switch from netfilter.org to yoctoproject.org mirror

We've had some upstream mirror instability so use our own mirror for the
iptables sources to ensure this doesn't affect the test results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agoxserver-xf86-config: pre-load int10 and exa modules
Khem Raj [Sat, 20 Aug 2016 20:36:09 +0000 (13:36 -0700)]
xserver-xf86-config: pre-load int10 and exa modules

musl doesn't like lazy loading that xorg uses, therefore
load the needed modules explicitly

[YOCTO #10169]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agocmake.bbclass: call cmake with a relative path
Thomas Witt [Mon, 22 Aug 2016 14:27:11 +0000 (16:27 +0200)]
cmake.bbclass: call cmake with a relative path

CMake wants a relative path for CMAKE_INSTALL_*DIR, an absolute path
breaks cross-compilation. This fact is documented in the following
ticket: https://cmake.org/Bug/view.php?id=14367

$sysconfdir and $localstatedir are not relative to $prefix, so they are
still set as absolute paths. With his change ${PROJECT}Targets.cmake
that are generated by cmakes "export" function will contain relative
paths instead of absolute ones.

Signed-off-by: Thomas Witt <Thomas.Witt@bmw.de>
Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agoopenssh: Upgrade 7.2p2 -> 7.3p1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:15 +0000 (15:23 +0300)]
openssh: Upgrade 7.2p2 -> 7.3p1

Remove CVE-2015-8325.patch as it's included upstream. Rebase another
patch.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agowayland-protocols: 1.5 -> 1.7
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:14 +0000 (15:23 +0300)]
wayland-protocols: 1.5 -> 1.7

* xdg-shell unstable v6 (backwards incompatible)
* new unstable protocols xdg-foreign, idle-inhibit

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agolibinput: Upgrade 1.3.0 -> 1.4.1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:13 +0000 (15:23 +0300)]
libinput: Upgrade 1.3.0 -> 1.4.1

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agojson-glib: Upgrade 1.2.0 -> 1.2.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:12 +0000 (15:23 +0300)]
json-glib: Upgrade 1.2.0 -> 1.2.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agovte: Upgrade 0.44.1 -> 0.44.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:11 +0000 (15:23 +0300)]
vte: Upgrade 0.44.1 -> 0.44.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agogtk+3: Upgrade 3.20.6 -> 3.20.9
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:10 +0000 (15:23 +0300)]
gtk+3: Upgrade 3.20.6 -> 3.20.9

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agognome-themes-standard: Upgrade 3.18.0 -> 3.20.2
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:09 +0000 (15:23 +0300)]
gnome-themes-standard: Upgrade 3.18.0 -> 3.20.2

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agofontconfig: Upgrade 2.12.0 -> 2.12.1
Jussi Kukkonen [Mon, 22 Aug 2016 12:23:08 +0000 (15:23 +0300)]
fontconfig: Upgrade 2.12.0 -> 2.12.1

License text block moved, checksum remains same.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>