]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agorootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude
Martin Jansa [Tue, 10 Nov 2015 09:05:49 +0000 (10:05 +0100)]
rootfs_*.bbclass: don't add BUILDNAME to do_rootfs vardepsexclude

* rootfs_*.bbclass doesn't use this variable anymore, so we can drop it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoinsane: Don't depend on BB_TASKDEPDATA
Richard Purdie [Tue, 10 Nov 2015 09:58:25 +0000 (09:58 +0000)]
insane: Don't depend on BB_TASKDEPDATA

The dependency data in BB_TASKDEPDATA is encoded into the sstate checksum
in a much more reliable format. This dependency runs the risk of depending
on the string representation of a dict which is a bad idea. Therefore
remove the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agokernel: fix race condition between compile_kernelmodules and shared_workdir
Jens Rehsack [Thu, 12 Nov 2015 16:13:15 +0000 (17:13 +0100)]
kernel: fix race condition between compile_kernelmodules and shared_workdir

Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=8127 which causes
[ 1225.089323] 8189es: Unknown symbol cfg80211_scan_done (err -22)
[ 1225.095916] 8189es: no symbol version for cfg80211_remain_on_channel_expired
when loading external compiled 8189es module.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses: Ensure pass setVar/setVarFlag strings, not integers
Richard Purdie [Tue, 10 Nov 2015 09:52:44 +0000 (09:52 +0000)]
classes: Ensure pass setVar/setVarFlag strings, not integers

This doesn't cause any issues right now but it make sense to standardise
on consistently using strings in the data store.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/license: fix intermittent license collection warning
Paul Eggleton [Tue, 10 Nov 2015 15:30:55 +0000 (15:30 +0000)]
classes/license: fix intermittent license collection warning

Fixes the following warning sometimes appearing during image builds:

WARNING: The license listed ABC was not in the licenses collected for recipe xyz

The files being looked for here, which runs during do_rootfs,
are written out by the do_populate_lic task for each recipe. However,
there was no explicit dependency between do_rootfs and all of the
do_populate_lic tasks to ensure they had run - only an implicit link via
do_build, so it is possible that sometimes they had not depending on how
the tasks were scheduled. Add an explicit set of dependencies to fix
this.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/metadata_scm: fix git errors showing up on non-git repositories
Paul Eggleton [Mon, 9 Nov 2015 14:40:08 +0000 (14:40 +0000)]
classes/metadata_scm: fix git errors showing up on non-git repositories

Fixes the following error showing up for layers that aren't a git repo
(or aren't parented by one):

fatal: Not a git repository (or any of the parent directories): .git

This was because we weren't intercepting stderr. We might as well just
use bb.process.run() here which does that and returns stdout and stderr
separately.

(This was a regression that came in with OE-Core revision
3aac11076e22ac4fea48f5404110bb959547a9fe).

Fixes [YOCTO #8661].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosstate: respect GPG_BIN and GPG_HOME
Ross Burton [Sat, 24 Oct 2015 00:02:34 +0000 (01:02 +0100)]
sstate: respect GPG_BIN and GPG_HOME

The package feed signing code supports the user providing the path to the gpg
binary and an alternative gpg 'home' (usually ~/.gnupg), which are useful for
both deployment and QA purposes.

Factor out the gpg command line construction to a function which can fetch both
of these variables, and also use pipes.quote() to sanitise the arguments when
used in a shell context.

[ YOCTO #8559 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoarchiver.bbclass: add bbappend when do_ar_recipe kernel and gcc packages
Jian Liu [Fri, 13 Nov 2015 08:21:46 +0000 (16:21 +0800)]
archiver.bbclass: add bbappend when do_ar_recipe kernel and gcc packages

bbappend files are not included in the archiver during do_ar_recipe.
Find and put them into the tarball.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoarchiver.bbclass: fix previous issue regarding work-shared for linux-yocto
Alejandro Hernandez [Mon, 9 Nov 2015 22:40:50 +0000 (22:40 +0000)]
archiver.bbclass: fix previous issue regarding work-shared for linux-yocto

A previous patch intended to fix and improve the archiver class, and while it
did for gcc packages, with it some issues ended up being hidden, the kernel
tasks taken from kernel.bbclass and kernel-yocto.bbclass specifically expect the
kernel to use work-shared, which either ended up causing issues or wasting time
doing unnecessary work, this patch fixes these issues by performing the right
tasks within the archiver in the right order

[YOCTO #8378]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agowaf.bbclass: filter out non -j from PARALLEL_MAKE
Enrico Scholz [Thu, 10 Sep 2015 16:54:33 +0000 (18:54 +0200)]
waf.bbclass: filter out non -j from PARALLEL_MAKE

'waf' supports only simple '-j' and fails when parallel make flags
contain extended options like '--load-average'.

Patch uses the method from 'boost.inc' to filter '-j'.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest-gnome: extend EXTRA_OECONF in all builds, not just target
Ross Burton [Mon, 16 Nov 2015 23:18:21 +0000 (23:18 +0000)]
ptest-gnome: extend EXTRA_OECONF in all builds, not just target

This class was extending EXTRA_OECONF only in target builds with
--enable/--disable-installed-tests.  However for native builds we don't care
about the test suite and should be explicitly disabling it.

This stops glib-2.0-native trying to build the test suite that we'll never
execute.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: Drop 4.8
Richard Purdie [Wed, 11 Nov 2015 16:50:02 +0000 (08:50 -0800)]
gcc: Drop 4.8

We have 5.2 and 4.9, we don't really need 4.8 now and it can be moved
out to other layers if anyone still wants/needs it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolayer.conf: Correct gcc-cross dependency
Richard Purdie [Mon, 16 Nov 2015 09:08:28 +0000 (09:08 +0000)]
layer.conf: Correct gcc-cross dependency

The dependency listed in layer.conf is incorrect, gcc-cross DEPENDS
on ${TARGET_PREFIX}libc-for-gcc, not virtual/libc. These happen to
resolve the same values however they may not always both be built.

The result of this was that gcc-cross gets a different task hash
depending on whether virtual/libc was included in the build.
Specifically "bitbake m4" and "bitbake virtual/kernel" would result
in different task checksums.

The fix is to use the correct dependency name.

[YOCTO #8692]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoscripts: runqemu: remove QEMUARCH from help message
Ruslan Bilovol [Fri, 6 Nov 2015 14:09:06 +0000 (16:09 +0200)]
scripts: runqemu: remove QEMUARCH from help message

The QEMUARCH env variable is not used since commit
"d469c92 classes/imagetest-qemu: remove old image
testing class". Remove it from help message so
it will not confuse other people

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocairo: update 1.14.2 -> 1.14.4
Andre McCurdy [Fri, 6 Nov 2015 08:52:27 +0000 (00:52 -0800)]
cairo: update 1.14.2 -> 1.14.4

Release 1.14.4    (2015-10-28  Bryce Harrington <bryce@osg.samsung.com>)
========================================================================
Just in time for Halloween we see another bug-fix release for Cairo.
This brings a few dozen straightforward bug fixes with no API changes.

In addition, this includes a typical assortment of fixes to tests,
cleanup of warnings and memory leaks, correction of misspellings,
updates to documentation, etc.

For a complete log of changes since 1.14.2, please see:

    http://cairographics.org/releases/ChangeLog.cairo-1.14.4

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocairo.inc: drop obsolete CFLAGS += "-ffat-lto-objects" workaround
Andre McCurdy [Fri, 6 Nov 2015 08:52:26 +0000 (00:52 -0800)]
cairo.inc: drop obsolete CFLAGS += "-ffat-lto-objects" workaround

LTO support was removed from Cairo in 1.12.18 (and 1.14.0).

  https://bugs.freedesktop.org/show_bug.cgi?id=77060
  http://cgit.freedesktop.org/cairo/commit/?h=1.12&id=213b3b9b8b92944506c712aa4d728903c547f879

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake: update 3.3.1 -> 3.3.2
Andre McCurdy [Fri, 6 Nov 2015 08:56:18 +0000 (00:56 -0800)]
cmake: update 3.3.1 -> 3.3.2

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooe-selftest: add test for bitbake-layers show-recipes
Paul Eggleton [Thu, 18 Jun 2015 18:17:39 +0000 (19:17 +0100)]
oe-selftest: add test for bitbake-layers show-recipes

Add a test for bitbake-layers show-recipes including the recently
added -i option.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/layerappend: fix test if build directory is not inside COREBASE
Paul Eggleton [Wed, 4 Nov 2015 14:42:51 +0000 (14:42 +0000)]
oeqa/selftest/layerappend: fix test if build directory is not inside COREBASE

Fix test_layer_appends to work when build directory is not inside
COREBASE.

Fixes [YOCTO #8639].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/selftest/devtool: fix test if build directory is not inside COREBASE
Paul Eggleton [Wed, 4 Nov 2015 14:40:25 +0000 (14:40 +0000)]
oeqa/selftest/devtool: fix test if build directory is not inside COREBASE

Fix test_devtool_update_recipe_git to work when build directory is not
inside COREBASE.

Fixes [YOCTO #8639].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/distrodata: split SRC_URI properly before determining type
Paul Eggleton [Fri, 6 Nov 2015 09:34:05 +0000 (09:34 +0000)]
classes/distrodata: split SRC_URI properly before determining type

We weren't splitting SRC_URI values containing multiple URIs here; this
didn't cause any errors except when a trailing ; was left on a URI, in
which case the next URI was considered part of the parameter, which
didn't contain a = and therefore was considered invalid.

We only care about the first URI in SRC_URI in this context (since
that's the upstream URI by convention) so split it as we should and take
the first item.

Fixes [YOCTO #8645].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoclasses/buildhistory: split package history values only once
Paul Eggleton [Sun, 4 Oct 2015 07:38:16 +0000 (08:38 +0100)]
classes/buildhistory: split package history values only once

We don't actually use values we read in here that are likely to
contain = characters but we might as well split the value properly in
case we do in future.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconf/distro/include: drop old recipes from include files
Paul Eggleton [Wed, 4 Nov 2015 10:59:10 +0000 (10:59 +0000)]
conf/distro/include: drop old recipes from include files

These recipes have been removed (some a very long time ago, pre-dating
OE-Core).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogitignore: fix overzealous exclusion
Paul Eggleton [Thu, 3 Sep 2015 11:03:21 +0000 (12:03 +0100)]
gitignore: fix overzealous exclusion

This was excluding any subdirectory anywhere in the tree named build*,
rather than just at the root - thus anything in
meta/recipes-devtools/build-compare had to be forcibly added. Change the
line so that it only operates at the root of the repo.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa: Fix typos in Upstream-Status labels
Paul Eggleton [Wed, 21 Oct 2015 09:19:15 +0000 (10:19 +0100)]
meta: Fix typos in Upstream-Status labels

We need these to be consistent so they are possible to programmatically
read.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agometa/conf/layer.conf: fix typo
Paul Eggleton [Tue, 27 Oct 2015 09:27:44 +0000 (09:27 +0000)]
meta/conf/layer.conf: fix typo

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotexinfo-dummy-native: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:51:39 +0000 (20:51 +0100)]
texinfo-dummy-native: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-meta-base: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:50:52 +0000 (20:50 +0100)]
gstreamer1.0-meta-base: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agommc-utils: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:46:51 +0000 (20:46 +0100)]
mmc-utils: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoswig: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:44:38 +0000 (20:44 +0100)]
swig: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-plugins: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:43:20 +0000 (20:43 +0100)]
alsa-plugins: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agotzcode-native: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 19:41:03 +0000 (20:41 +0100)]
tzcode-native: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-yocto.inc: set SUMMARY instead of DESCRIPTION
Paul Eggleton [Sun, 11 Oct 2015 18:36:36 +0000 (19:36 +0100)]
linux-yocto.inc: set SUMMARY instead of DESCRIPTION

We only have a short description, so set SUMMARY and DESCRIPTION
will be defaulted from it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopython-nose: add SUMMARY
Paul Eggleton [Sun, 11 Oct 2015 19:46:18 +0000 (20:46 +0100)]
python-nose: add SUMMARY

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agostress: add SUMMARY
Paul Eggleton [Sun, 11 Oct 2015 19:39:58 +0000 (20:39 +0100)]
stress: add SUMMARY

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibunwind: add SUMMARY
Paul Eggleton [Sun, 11 Oct 2015 19:49:58 +0000 (20:49 +0100)]
libunwind: add SUMMARY

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogptfdisk: add SUMMARY
Paul Eggleton [Sun, 11 Oct 2015 19:48:04 +0000 (20:48 +0100)]
gptfdisk: add SUMMARY

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoverify-homepage: fix recipe file selection
Paul Eggleton [Thu, 23 Jul 2015 11:04:23 +0000 (12:04 +0100)]
verify-homepage: fix recipe file selection

* We need to check all recipe files, not just the preferred ones
  (i.e. we have multiple recipes for different versions of the same
  piece of software). Print the recipe file name (without path) so we
  can tell the difference between them.
* We can skip BBCLASSEXTENDed variants of recipes

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoverify-homepage: tidy up output and comments
Paul Eggleton [Thu, 23 Jul 2015 10:15:56 +0000 (11:15 +0100)]
verify-homepage: tidy up output and comments

* Set up and use a proper logger
* Tweak output messages and comments

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoverify-homepage: get expanded HOMEPAGE value
Paul Eggleton [Thu, 23 Jul 2015 10:14:32 +0000 (11:14 +0100)]
verify-homepage: get expanded HOMEPAGE value

We tend not to use any variables in HOMEPAGE values, but that doesn't
mean we would never do so.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoverify-homepage: use scriptpath to find bitbake path
Paul Eggleton [Thu, 23 Jul 2015 10:12:52 +0000 (11:12 +0100)]
verify-homepage: use scriptpath to find bitbake path

We have shared code for this, let's use it.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibaio: don't disable linking to the system libraries
Ross Burton [Fri, 6 Nov 2015 15:30:58 +0000 (15:30 +0000)]
libaio: don't disable linking to the system libraries

For some reason that I don't understand (a decade-old attempt at optimisation?)
libaio disables linkage to the system libraries.  Enabling fortify means linking
to the system libraries, so remove the existing addition of -lc for x86 (the
problem also happens on at least PPC) and just link to the system libraries on
all platforms.

Also remove the sed of src/Makefile as the build not respecting LDFLAGS has been
fixed upstream.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorunqemu: don't specify IP when starting a VNC server
Ross Burton [Thu, 5 Nov 2015 17:13:22 +0000 (17:13 +0000)]
runqemu: don't specify IP when starting a VNC server

Whilst qemu doesn't appear to support opening sockets on IPv6 yet, future-proof
the script by just specifying a port and letting qemu work out the rest.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemurunner: Remove the timeout in run_serial
Mariano Lopez [Thu, 5 Nov 2015 09:08:58 +0000 (09:08 +0000)]
qemurunner: Remove the timeout in run_serial

Sometmes when there is high load in the server the
commands executed in the target take a lot of time
to complete and this lead to incorrect dump files or
empty files. This is caused because run_serial has a
timeout of five seconds when running the commands in
the target.

This change removes the timeout and just keep reading
the socket until it finds the prompt from the target
or when the socket is not ready to be read.

[YOCTO #8510]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibxslt: CVE-2015-7995
Armin Kuster [Thu, 29 Oct 2015 23:22:41 +0000 (16:22 -0700)]
libxslt: CVE-2015-7995

This is a is being give a High rating so please consider it for
all 1.1.28 versions.

A type confusion error within the libxslt "xsltStylePreCompute()"
function in preproc.c can lead to a DoS. Confirmed in version 1.1.28,
other versions may also be affected.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-rtsp-server: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:12 +0000 (09:32 +0100)]
gstreamer1.0-rtsp-server: upgrade to version 1.6.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-libav: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 16:20:00 +0000 (17:20 +0100)]
gstreamer1.0-libav: upgrade to version 1.6.1

The lgpl PACKAGECONFIG is replaced by a gpl one,
since the LGPL build is the default now. There is no
--enable-lgpl switch anymore, it got replaced by
--enable-gpl.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-ugly: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:10 +0000 (09:32 +0100)]
gstreamer1.0-plugins-ugly: upgrade to version 1.6.1

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-bad: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:09 +0000 (09:32 +0100)]
gstreamer1.0-plugins-bad: upgrade to version 1.6.1

0001-gl-do-not-check-for-GL-GLU-EGL-GLES2-libs-if-disable.patch is now
in upstream, and therefore not needed as a separate patch anymore.

0001-glimagesink-Downrank-to-marginal.patch didn't apply anymore, and
was adapted to the updated code.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-good: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:08 +0000 (09:32 +0100)]
gstreamer1.0-plugins-good: upgrade to version 1.6.1

decrease_asteriskh263_rank.patch no longer applies, and is obsolete, since
the asteriskh263 rank has been set to NONE in upstream.

Also, --enable-xshm is no longer part of the configure options.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0-plugins-base: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:07 +0000 (09:32 +0100)]
gstreamer1.0-plugins-base: upgrade to version 1.6.1

A number of patches had to be deleted in order for the recipe to work.

Patches which cannot be applied cleanly to 1.6.1 and are nontrivial to fix:
* 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch
* handle-audio-video-decoder-error.patch
* taglist-not-send-to-down-stream-if-all-the-frame-cor.patch

Patches which were rejected by upstream:
* 0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch

Patches which either were backports or accepted and integrated:
* 0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch
* 0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
* 0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch
* do-not-change-eos-event-to-gap-event2.patch
* do-not-change-eos-event-to-gap-event3.patch
* do-not-change-eos-event-to-gap-event-if.patch
* fix-id3demux-utf16-to-utf8-issue.patch
* videobuffer_updata_alignment_update.patch
* videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogstreamer1.0: upgrade to version 1.6.1
Carlos Rafael Giani [Thu, 5 Nov 2015 08:32:06 +0000 (09:32 +0100)]
gstreamer1.0: upgrade to version 1.6.1

Removed patches which either were backports or accepted and integrated

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoRevert "local.conf.sample: Disable image-prelink by default"
Mark Hatle [Mon, 2 Nov 2015 22:59:37 +0000 (16:59 -0600)]
Revert "local.conf.sample: Disable image-prelink by default"

This reverts commit 6dd28030f323d7106a02ec54ce4e249561ab0836.

Prelink now works properly again.  Re-enable the functionality.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoprelink: Fix various prelink issues on IA32, ARM, and MIPS.
Mark Hatle [Mon, 2 Nov 2015 15:09:47 +0000 (09:09 -0600)]
prelink: Fix various prelink issues on IA32, ARM, and MIPS.

Fix the following issues:

IA32 / ARM - Resync to glibc-2.22, fix a mismatch w/ glibc's ld.so
MIPS - Ignore the new SHT_MIPS_ABIFLAGS
ARM - Fix missing ARM IFUNC support chunk

Also upstream prelink project no longer has a 'trunk' directory.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogcc: Update default Power GCC settings to use secure-plt
Mark Hatle [Mon, 2 Nov 2015 14:52:28 +0000 (08:52 -0600)]
gcc: Update default Power GCC settings to use secure-plt

The gcc default, bss-plt, will cause errors when using the prelinker.  All
other distributions that I am aware of are using the the secure-plt.  For an
explanation of the differences, the gcc docs:

  Current PowerPC GCC accepts a `-msecure-plt' option that generates code
  capable of using a newer PLT and GOT layout that has the security
  advantage of no executable section ever needing to be writable and no
  writable section ever being executable. PowerPC ld will generate this
  layout, including stubs to access the PLT, if all input files (including
  startup and static libraries) were compiled with `-msecure-plt'.
  `--bss-plt' forces the old BSS PLT (and GOT layout) which can give
  slightly better performance.

The security of the new PLT and ability to run the prelinker outweigh
any performance penalty.

The secure-plt is enabled by default.  The old bss-plt can be enabled by
selecting 'bssplt' in the DISTRO_FEATURES.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: Fix ld.so / prelink interface for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA
Mark Hatle [Fri, 30 Oct 2015 14:48:27 +0000 (09:48 -0500)]
glibc: Fix ld.so / prelink interface for ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA

A bug in glibc 2.22's ld.so interface for the prelink support causes
the displayed values to be incorrect.  The included path fixes this
issue.

   Clear ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for prelink

   prelink runs ld.so with the environment variable LD_TRACE_PRELINKING
   set to dump the relocation type class from _dl_debug_bindings.  prelink
   has the following relocation type classes:

   where ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA has a conflict with
   RTYPE_CLASS_TLS.

   Since prelink doesn't use ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA, we
   should clear the ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA bit when the
   DL_DEBUG_PRELINK bit is set.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
9 years agoqemurunner: Enable timestamps on kernel boot-up
Leonardo Sandoval [Wed, 4 Nov 2015 22:52:11 +0000 (22:52 +0000)]
qemurunner: Enable timestamps on kernel boot-up

Having the timestamps in the log is useful when debugging those cases when
the booting time takes longer than expected. printk.times=1 enables stamping
into every printk Kernel call.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssl: fix mips64 configure support
Wenzong Fan [Thu, 5 Nov 2015 06:09:11 +0000 (01:09 -0500)]
openssl: fix mips64 configure support

Match target name linux-mips64 as well, all mips64 targets will have
mips(32) userspace.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoat: modify sources in do_patch
Ross Burton [Wed, 4 Nov 2015 19:45:39 +0000 (19:45 +0000)]
at: modify sources in do_patch

Instead of copying the forked source files into ${S} in do_compile_prepend(), do
it in a do_patch() postfunc.  This ensures that the source archiver sees the
changes for compliance and legal verification.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agounzip: rename patch to reflect CVE fix
Ross Burton [Wed, 4 Nov 2015 11:23:06 +0000 (11:23 +0000)]
unzip: rename patch to reflect CVE fix

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoreadline: rename patch to contain CVE reference
Ross Burton [Wed, 4 Nov 2015 11:17:50 +0000 (11:17 +0000)]
readline: rename patch to contain CVE reference

To help automated scanning of CVEs, put the CVE ID in the filename.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: upgrade to 2.4.0.1
Ross Burton [Wed, 4 Nov 2015 11:04:06 +0000 (11:04 +0000)]
qemu: upgrade to 2.4.0.1

This release is just security fixes:
- CVE-2015-5225
- CVE-2015-6815
- CVE-2015-5278
- CVE-2015-5279

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognome-desktop-testing: fix ptest output format
Maxin B. John [Mon, 2 Nov 2015 14:17:19 +0000 (16:17 +0200)]
gnome-desktop-testing: fix ptest output format

Fix ptest output format for glib-2.0 and other packages
which depends on gnome-desktop-testing framework.

[YOCTO #6601]

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agodefault-distrovars: remove less from WHITELIST_GPL-3.0
Hongxu Jia [Mon, 2 Nov 2015 07:12:50 +0000 (15:12 +0800)]
default-distrovars: remove less from WHITELIST_GPL-3.0

As oe-core commit 37c8c2c5f6937520eaf9f5d981f9315e36eba4bb and
fa7bdf96b8eb8b5078db38249c5c60ec511c35c6 said, Mark Nudelman
(author of less) has given permission to utilize a generic 2-clause
BSD, so we remove it from WHITELIST_GPL-3.0 which caused
a QA Warning while INCOMPATIBLE_LICENSE += "GPLv3 LGPLv3 GPLv3+ LGPLv3+"
...
|NOTE: INCLUDING less as buildable despite INCOMPATIBLE_LICENSE
because it has been whitelisted
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolsof: don't export EXTRA_OEMAKE
Andre McCurdy [Thu, 29 Oct 2015 21:01:35 +0000 (14:01 -0700)]
lsof: don't export EXTRA_OEMAKE

EXTRA_OEMAKE is private to OE and shouldn't be exported to
the lsof build.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake.bbclass: don't duplicate CMAKE_C_FLAGS in CMAKE_C_FLAGS_RELEASE
Andre McCurdy [Thu, 29 Oct 2015 21:00:22 +0000 (14:00 -0700)]
cmake.bbclass: don't duplicate CMAKE_C_FLAGS in CMAKE_C_FLAGS_RELEASE

The base CMAKE_<LANG>_FLAGS are included for all build types,
therefore the CMAKE_<LANG>_FLAGS_RELEASE should contain only
additional flags or over-rides.

  https://cmake.org/cmake/help/v3.2/variable/CMAKE_LANG_FLAGS.html

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorm_work.bbclass: Exclude do_rootfs stamp removal
Jate Sujjavanich [Fri, 30 Oct 2015 14:56:01 +0000 (10:56 -0400)]
rm_work.bbclass: Exclude do_rootfs stamp removal

This prevents unneeded rootfs rebuilds if the metadata has not changed
while using rm_work.

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocairo: fix license for cairo-script-interpreter
Andre McCurdy [Fri, 30 Oct 2015 23:07:10 +0000 (16:07 -0700)]
cairo: fix license for cairo-script-interpreter

Without an explicit license, cairo-script-interpreter inherits
the default LICENSE and isn't packaged in builds which blacklist
GPLv3.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoopenssh: enable X11Forwarding if distro feature x11 is set
Kai Kang [Tue, 27 Oct 2015 10:00:18 +0000 (18:00 +0800)]
openssh: enable X11Forwarding if distro feature x11 is set

When distro feature x11 is set, it is better enable X11Forwarding for
ssh daemon. For contrast, dropbear enable X11 forward by default.

It does NOT need to modify ${WORKDIR}/sshd_config, so drop the modification.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoacpid: Upgrade to 2.0.25
Aníbal Limón [Mon, 26 Oct 2015 23:13:22 +0000 (17:13 -0600)]
acpid: Upgrade to 2.0.25

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibidn: 1.30 -> 1.32
Kai Kang [Tue, 20 Oct 2015 09:10:12 +0000 (17:10 +0800)]
libidn: 1.30 -> 1.32

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosqlite: 3.8.10.2 -> 3.9.0
Kai Kang [Fri, 16 Oct 2015 06:28:11 +0000 (14:28 +0800)]
sqlite: 3.8.10.2 -> 3.9.0

Upgrade sqlite from 3.8.10.2 to 3.9.0.

* update python function to get right SRC_URI
* drop 0001-using-the-dynamic-library.patch which use dynamic library
  that it is done that way in new version

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agort-tests: bump to v0.94
Josh Cartwright [Tue, 22 Sep 2015 12:24:38 +0000 (07:24 -0500)]
rt-tests: bump to v0.94

All of the rt-tests patches that OE has been carrying have been
upstreamed or superceded by changes in the v0.94 release.

Adjust SRC_URI to point to canonical upstream git repo, instead of a
development tree.

There was a notable change upstream that required slight reworking of
the recipe.  rt-tests now joins other kbuild-inspired projects by making
use of a CROSS_COMPILE flag to indicate the compiler prefix.

Previously TOOLCHAIN_OPTIONS were conveyed via $CC directly, however,
this does not work with CROSS_COMPILE.  Workaround this by both
specifying CROSS_COMPILE, and feeding the rt-tests build system the
proper $(HOST_CC_ARCH)$(TOOLCHAIN_OPTIONS) via $CFLAGS.

Signed-off-by: Josh Cartwright <joshc@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogbm: Fix "configure: error: gbm requires --enable-dri"
Jens Rehsack [Thu, 8 Oct 2015 15:25:13 +0000 (17:25 +0200)]
gbm: Fix "configure: error: gbm requires --enable-dri"

When building mesa without X11 enabled, and disabling dri package config,
the enforced "--enable-gbm" fails building mesa, because this feature
requires "--enable-dri", too - which has been disabled by package config.

Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm,
which makes explicit --disable-gbm in case of --disable-dri redundant.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxinetd: install xinetd supported services configuration
yadi.hu@windriver.com [Mon, 26 Oct 2015 09:17:03 +0000 (17:17 +0800)]
xinetd: install xinetd supported services configuration

install xinetd supported services configuration, then these services
are able to work

Signed-off-by: Hu <yadi.hu@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocombo-layer: introduce ability to exclude component from mass update
Alexander D. Kanevskiy [Fri, 16 Oct 2015 15:49:21 +0000 (18:49 +0300)]
combo-layer: introduce ability to exclude component from mass update

There is no ability at the moment for situations where users would like
to keep section in combo-layer.conf but don't update it, unless explicitly
specified.

Now, by adding "update = no" to desired section would exclude
that repository from "combo-layer update" command.

It is still possible to explicitly update it by "combo-layer update $section".

By default, all repositories are assumed as "update = yes"

Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel
Stefan Christ [Mon, 26 Oct 2015 08:20:37 +0000 (09:20 +0100)]
linux-dtb.inc: refactor common code to function get_real_dtb_path_in_kernel

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-dtb.inc: refactor common code to function normalize_dtb
Stefan Christ [Mon, 26 Oct 2015 08:20:36 +0000 (09:20 +0100)]
linux-dtb.inc: refactor common code to function normalize_dtb

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolinux-dtb.inc: explicit test for empty string not needed
Stefan Christ [Mon, 26 Oct 2015 08:20:35 +0000 (09:20 +0100)]
linux-dtb.inc: explicit test for empty string not needed

The for loop already handles the case when KERNEL_DEVICETREE is empty.

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoptest-runner: Allow running of specific tests
Ioan-Adrian Ratiu [Fri, 30 Oct 2015 14:49:54 +0000 (16:49 +0200)]
ptest-runner: Allow running of specific tests

By default ptest-runner executes all ptests found in a system.
With this change, ptest-runner can be given a list of ptest
package names to run (the default is still available).

For example, to run only the zlib and rt-tests ptests:
"ptest-runner zlib rt-tests"

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/testimage: Add support for test folder export.
Lucian Musat [Fri, 9 Oct 2015 17:16:26 +0000 (20:16 +0300)]
oeqa/testimage: Add support for test folder export.

If tests are organized in folders then it will copy the whole
folder to the export location. This should keep the original
directory structure for exported oeqa/runtime.

Signed-off-by: Lucian Musat <george.l.musat@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/runtime/multilib: run the arch tests on connmand not connman-applet
Ross Burton [Wed, 28 Oct 2015 15:58:03 +0000 (15:58 +0000)]
oeqa/runtime/multilib: run the arch tests on connmand not connman-applet

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agooeqa/runtime: remove dmesg test
Ross Burton [Fri, 24 Jul 2015 10:47:51 +0000 (11:47 +0100)]
oeqa/runtime: remove dmesg test

This has been obsoleted by parselogs.

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agonfs-utils/statd: fix a segfault
Chen Qi [Wed, 28 Oct 2015 02:30:09 +0000 (10:30 +0800)]
nfs-utils/statd: fix a segfault

Fix the segfault by separating the socket used in statd from the sockets
of RPC core.

Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqemu: enable user mode for mips64 and mips64el
Jackie Huang [Wed, 28 Oct 2015 04:34:55 +0000 (12:34 +0800)]
qemu: enable user mode for mips64 and mips64el

- remove mips64 and mips64el from softmmuonly list
  to enable user mode, they have been supported
  since 2012.
- keep the softmmuonly list and for loop although
  there is only one for now in case more supported
  arches added.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agognupg: fix find-version for beta checking
Wenzong Fan [Wed, 28 Oct 2015 05:53:37 +0000 (01:53 -0400)]
gnupg: fix find-version for beta checking

find-version always assumes that gnupg is beta if autogen.sh is run
out of git-repo. This doesn't work for users whom just take release
tarball and re-run autoconf in their local build dir.

This fixes runtime issue:

  $gpg --list-sigs
  gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
  gpg: It is only intended for test purposes and should NOT be
  gpg: used in a production environment or with production keys!

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorpm: define EM_AARCH64 for debugedit
Roy Li [Wed, 28 Oct 2015 09:52:43 +0000 (17:52 +0800)]
rpm: define EM_AARCH64 for debugedit

EM_AARCH64 maybe not be defined due to old version elf.h when compile
rpm-native, and lead to that debugedit can not work on aarch64 elf object
files, since there is no other dependence, except these two macro,
define them to make debugedit work on aarch64 elf files.

  debugedit: /bitbake_build/tmp/work/aarch64-wrs-linux/libvirt/1.2.19-r0/
  package/usr/lib64/libvirt/ptest/daemon/libvirtd_admin_la-admin_server.o:
  Unhandled relocation 258 in .debug_info section

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxserver-xorg: drop empty ${PN}-security-policy package
Joshua Lock [Fri, 16 Oct 2015 13:07:33 +0000 (14:07 +0100)]
xserver-xorg: drop empty ${PN}-security-policy package

The SecurityPolicy hasn't been included since 2007[1] and the
last remnants were removed from the code base in 2010[2].

1. http://cgit.freedesktop.org/xorg/xserver/commit/?id=9d03ca
2. http://cgit.freedesktop.org/xorg/xserver/commit/?id=19d03d

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoxserver-xorg: add Xwayland RRECOMMENDS
Joshua Lock [Tue, 13 Oct 2015 16:21:08 +0000 (17:21 +0100)]
xserver-xorg: add Xwayland RRECOMMENDS

Xwayland has the same runtime dependencies as the standard
xserver so set RRECOMMENDS the same way.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoweston: add a PACKAGECONFIG option for xwayland support
Joshua Lock [Tue, 13 Oct 2015 16:15:27 +0000 (17:15 +0100)]
weston: add a PACKAGECONFIG option for xwayland support

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: make dbus an optional build time dependency
Joshua Lock [Tue, 13 Oct 2015 16:13:13 +0000 (17:13 +0100)]
systemd: make dbus an optional build time dependency

The dbus buildtime dependency is only required in order to build
dbus related tests in modern systemd, make this a PACKAGECONFIG
option.

This changes the default behaviour to no longer build dbus
related tests without explicitly enabling the PACKAGECONFIG.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoweston: add PACKAGECONFIG to build with systemd-login support
Joshua Lock [Tue, 20 Oct 2015 09:33:05 +0000 (10:33 +0100)]
weston: add PACKAGECONFIG to build with systemd-login support

Automatically enable this support for distributions which have
systemd in DISTRO_FEATURES.

We add additional patches to weston, backported from Weston
git, to support the newer single libsystemd pkg-config file
and to make the enabling of systemd-login support explicit.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosystemd: add PACKAGECONFIG to build with compatibility libraries
Joshua Lock [Tue, 13 Oct 2015 16:07:33 +0000 (17:07 +0100)]
systemd: add PACKAGECONFIG to build with compatibility libraries

Systemd < 209 shipped separate pc files for various interfaces, these
can still be generated for compatibility with code using the older
interfaces.

Add a PACKAGECONFIG option to build systemd with the compatibility
pc files.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoos-release: put double-quotes around variable contents
Craig McQueen [Thu, 15 Oct 2015 05:13:09 +0000 (16:13 +1100)]
os-release: put double-quotes around variable contents

This makes the resulting /etc/os-release file have valid shell
assignment syntax. This makes it loadable by a shell script, using the
'source' command:

    source /etc/os-release

Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocpio: fix testcase symlink-bad-lengths [ LIN8-947 ]
Jun Zhang [Mon, 19 Oct 2015 09:41:55 +0000 (17:41 +0800)]
cpio: fix testcase symlink-bad-lengths [ LIN8-947 ]

* fix the output of stderr & stdout to meet latest cpio

Signed-off-by: Jun Zhang <jun.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocpio: Fix symlink-bad-length test for 64-bit [ LIN8-947 ] architectures.
Jun Zhang [Mon, 19 Oct 2015 09:41:54 +0000 (17:41 +0800)]
cpio: Fix symlink-bad-length test for 64-bit [ LIN8-947 ] architectures.

* src/util.c: Return non-zero exit code if EOF is hit prematurely.

Backport commit:
http://git.savannah.gnu.org/cgit/cpio.git/commit/src/util.c?id=f6a8a2cbd2d5ca40ea94900b55b845dd5ca87328

Signed-off-by: Jun Zhang <jun.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogtk+3: fix ALTERNATIVE_PRIORITY conflict with gtk+
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)]
gtk+3: fix ALTERNATIVE_PRIORITY conflict with gtk+

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
gtk+3 and gtk+ have the same priority 10 for gtk-update-icon-cache

Turn up gtk+3's priority to fix the conflict.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocoreutils: fix ALTERNATIVE_PRIORITY conflict with procps and mktemp
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)]
coreutils: fix ALTERNATIVE_PRIORITY conflict with procps and mktemp

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
coreutils and procps have the same priority 100 for kill.1
coreutils and procps have the same priority 100 for uptime.1
coreutils and procps have the same priority 100 for uptime
coreutils and procps have the same priority 100 for kill
coreutils and mktemp have the same priority 100 for mktemp

Turn down coreutils' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoutil-linux: fix ALTERNATIVE_PRIORITY conflict with ncurses procps and e2fsprogs
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)]
util-linux: fix ALTERNATIVE_PRIORITY conflict with ncurses procps and e2fsprogs

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
util-linux and ncurses have the same priority 100 for reset
util-linux and procps have the same priority 100 for kill.1
util-linux and procps have the same priority 100 for kill
e2fsprogs and util-linux have the same priority 100 for libblkid.3
e2fsprogs and util-linux have the same priority 100 for blkid.8
e2fsprogs and util-linux have the same priority 100 for findfs.8
e2fsprogs and util-linux have the same priority 100 for fsck.8

Turn down util-linux' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoconsole-tools: fix ALTERNATIVE_PRIORITY conflict with kbd
Robert Yang [Sat, 10 Oct 2015 02:51:33 +0000 (19:51 -0700)]
console-tools: fix ALTERNATIVE_PRIORITY conflict with kbd

Signed-off-by: Ross Burton <ross.burton@intel.com>
Conflicts:
console-tools and kbd have the same priority 100 for chvt
console-tools and kbd have the same priority 100 for deallocvt
console-tools and kbd have the same priority 100 for fgconsole
console-tools and kbd have the same priority 100 for openvt

Turn down console-tools' priority to fix the conflict, the larger set
of tools should use a lower priority.

[YOCTO #8477]

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