]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
8 years agoorc: enable gtk-doc
Alexander Kanavin [Fri, 26 Aug 2016 14:28:29 +0000 (17:28 +0300)] 
orc: enable gtk-doc

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agodbus-glib: enable gtk-doc
Alexander Kanavin [Fri, 26 Aug 2016 14:28:28 +0000 (17:28 +0300)] 
dbus-glib: enable gtk-doc

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogcr: disable gtk-doc on x86_64
Alexander Kanavin [Fri, 26 Aug 2016 14:28:25 +0000 (17:28 +0300)] 
gcr: disable gtk-doc on x86_64

For same reason that introspection is disabled: the transient binary goes into infinite loop.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogstreamer1.0: enable gtk-doc support
Alexander Kanavin [Fri, 26 Aug 2016 14:28:23 +0000 (17:28 +0300)] 
gstreamer1.0: enable gtk-doc support

check support is no longer disabled by default because it is a requirement
of gtk-doc support in gstreamer.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agolibglade: remove the recipe
Alexander Kanavin [Fri, 26 Aug 2016 14:28:22 +0000 (17:28 +0300)] 
libglade: remove the recipe

Libglade has been obsolete for several years and is used by nothing in oe-core;
it will be moved to meta-oe so that old recipes still present there continue to build.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosystemd: drop unused gtkdoc-related variable
Alexander Kanavin [Fri, 26 Aug 2016 14:28:21 +0000 (17:28 +0300)] 
systemd: drop unused gtkdoc-related variable

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agokmod: do not let gtkdocize fail
Alexander Kanavin [Fri, 26 Aug 2016 14:28:20 +0000 (17:28 +0300)] 
kmod: do not let gtkdocize fail

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogtk-doc.bbclass: enable building gtk-doc based documentation
Alexander Kanavin [Fri, 26 Aug 2016 14:28:19 +0000 (17:28 +0300)] 
gtk-doc.bbclass: enable building gtk-doc based documentation

This is done similarly to gobject-introspection, but with much
less delicate hacking around the upstream way of working.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agobitbake.conf: add "api-documentation" to default distro features
Alexander Kanavin [Fri, 26 Aug 2016 14:28:18 +0000 (17:28 +0300)] 
bitbake.conf: add "api-documentation" to default distro features

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agogtk-doc: add a recipe, remove gtk-doc-stub
Alexander Kanavin [Fri, 26 Aug 2016 14:28:17 +0000 (17:28 +0300)] 
gtk-doc: add a recipe, remove gtk-doc-stub

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 years agosource-highlight: add a recipe
Alexander Kanavin [Fri, 26 Aug 2016 14:28:16 +0000 (17:28 +0300)] 
source-highlight: add a recipe

gtk-doc relies on this to highlight source code snippets

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.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 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: 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 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>
8 years agolibgcrypt: upgrade to 1.7.3
Hongxu Jia [Mon, 22 Aug 2016 09:44:46 +0000 (05:44 -0400)] 
libgcrypt: upgrade to 1.7.3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agorm_work: don't remove timestamps of image tasks
Ed Bartosh [Mon, 22 Aug 2016 09:17:28 +0000 (12:17 +0300)] 
rm_work: don't remove timestamps of image tasks

Excluded removal of do_bootimg, do_bootdirectdisk and do_vmimg
timestamps to prevent unneeded rootfs rebuilds.

[YOCTO #10159]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
8 years agopython-3.5-manifest.inc: the signal module RDEPENDS on enum
Robert Yang [Mon, 22 Aug 2016 07:52:46 +0000 (00:52 -0700)] 
python-3.5-manifest.inc: the signal module RDEPENDS on enum

Fixed:
$ python3
>>> import signal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/path/to/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/python3.5/signal.py", line 4, in <module>
    from enum import IntEnum as _IntEnum
ImportError: No module named 'enum'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>