scm/bb/tizen-distro.git
10 years agolibxkbcommon: Upgrade to 0.4.3
Saul Wold [Fri, 29 Aug 2014 15:26:29 +0000 (08:26 -0700)]
libxkbcommon: Upgrade to 0.4.3

(From OE-Core rev: f8e8a5aa61be5a165a00191c1a8b283176cd4642)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Upgrade to 3.71
Saul Wold [Fri, 29 Aug 2014 15:26:28 +0000 (08:26 -0700)]
man-pages: Upgrade to 3.71

(From OE-Core rev: 0971703aca0f7f503fb236fa77d5337d36b91a41)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoless: Upgrade to 466
Saul Wold [Fri, 29 Aug 2014 15:26:27 +0000 (08:26 -0700)]
less: Upgrade to 466

(From OE-Core rev: e0b9c83ade46f0f5332f4aef6a13dfa32733b387)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-utils: upgrade to 1.0.28
Cristian Iorga [Fri, 29 Aug 2014 17:06:34 +0000 (20:06 +0300)]
alsa-utils: upgrade to 1.0.28

Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated.

(From OE-Core rev: b2aae7176f71772a43f19b897e09291579008ad8)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-tools: upgrade to 1.0.28
Cristian Iorga [Fri, 29 Aug 2014 17:06:33 +0000 (20:06 +0300)]
alsa-tools: upgrade to 1.0.28

mips_has_no_io_h.patch removed, no longer necessary.
Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

(From OE-Core rev: f28e6f4131e675a60795156012851b8367ac1b4d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoalsa-lib: upgrade to 1.0.28
Cristian Iorga [Fri, 29 Aug 2014 17:06:32 +0000 (20:06 +0300)]
alsa-lib: upgrade to 1.0.28

Changelog:
http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28

Update-iatomic.h-functions-definitions-for-mips.patch removed,
integrated upstream.
Check-if-wordexp-function-is-supported.patch updated.

(From OE-Core rev: 736dc0abd22be122cac053e8934e8bfd5b82eec0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage_manager.py: enable smart non-interactive mode
Ed Bartosh [Fri, 29 Aug 2014 17:37:25 +0000 (18:37 +0100)]
package_manager.py: enable smart non-interactive mode

Added --quiet option to smart command line.
Without this option smart 1.4.1 turns into interactive mode, i.e.
start asking questions and expecting answers.

Internally within smart, this changes the default UI to one which
just prints to stderr, the naming of the parameter is a little
odd but does what we need.

(From OE-Core rev: 7a8d88b73d35ac86198a1092c49b33c378416a03)

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtirpc: upgrade to 0.2.5
Cristian Iorga [Fri, 29 Aug 2014 19:21:06 +0000 (22:21 +0300)]
libtirpc: upgrade to 0.2.5

(From OE-Core rev: e68a2b9f927ee4217a7b534383106016b0bedad0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-ugly: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:49 +0000 (21:53 +0300)]
gstreamer1.0-plugins-ugly: upgrade to 1.4.1

Bugfix release.

(From OE-Core rev: 04e53e971451b023ac1c57086603a9a7fbba838c)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-rtsp-server: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:48 +0000 (21:53 +0300)]
gstreamer1.0-rtsp-server: upgrade to 1.4.1

Bugfix release.

(From OE-Core rev: 4bc977e532b67311a6ba4da78397badc0e4c4ac5)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:47 +0000 (21:53 +0300)]
gstreamer1.0-plugins-bad: upgrade to 1.4.1

Bugfix release.

(From OE-Core rev: 8fbdb1d64dd469624004cc82660a25b98f44dee0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-good: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:46 +0000 (21:53 +0300)]
gstreamer1.0-plugins-good: upgrade to 1.4.1

Bugfix release.

(From OE-Core rev: 1f70d23430e803e9e8950e5bd825df972194feb4)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-base: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:45 +0000 (21:53 +0300)]
gstreamer1.0-plugins-base: upgrade to 1.4.1

Bugfix release.

(From OE-Core rev: ba03f8ddc2fc6d6f85628d6d4a87d465c83c9fde)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-libav: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:44 +0000 (21:53 +0300)]
gstreamer1.0-libav: upgrade to 1.4.1

Bugfix release.

(From OE-Core rev: 7f58488e1ed175136da49109ead3d3eaaf988aeb)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0: upgrade to 1.4.1
Cristian Iorga [Fri, 29 Aug 2014 18:53:43 +0000 (21:53 +0300)]
gstreamer1.0: upgrade to 1.4.1

bugfix release.

(From OE-Core rev: 7640444d1b947ae3d7b9b43f70bdb9798a38c5ae)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: add PACKAGECONFIG for 'elfutils'
Chen Qi [Mon, 18 Aug 2014 01:51:39 +0000 (09:51 +0800)]
systemd: add PACKAGECONFIG for 'elfutils'

Add PACKAGECONFIG for 'elfutils'.
This also fixes a build-deps QA warning about libdw.

(From OE-Core rev: 559bacdb178d3f4846de86f90c9428ee662b471a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouseradd: Add setscene dep on pseudo-native
Jate Sujjavanich [Sun, 10 Aug 2014 21:00:41 +0000 (17:00 -0400)]
useradd: Add setscene dep on pseudo-native

A recipe will sometimes be rebuilt unnecessarily if it adds users via
useradd and the pseudo-native task has not been populated.

This patch adds the correct dependency.

(From OE-Core rev: 2bb244e9e18124b3b86195e0e10b2ebd40cd4f81)

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu-native: depends on libxext-native when enable sdl
Robert Yang [Tue, 29 Jul 2014 08:02:44 +0000 (01:02 -0700)]
qemu-native: depends on libxext-native when enable sdl

Fixed do_configure error:

ERROR: User requested feature sdl
       configure was not able to find it.
       Install SDL devel

The error message from log.do_configure, and if we check config.log, the
error is:

sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords'

The _XEatDataWords is provided by libX11.so, the dependencies are:

qemu-native -> sdl(from the host) -> libXext.so(maybe host or native) -> libX11.so (maybe host or native)

For example on Ubuntu 12.04 x86_64, the link route is:

qemu-native's do_configure sdl checking:
/usr/lib/x86_64-linux-gnu/libSDL.so --> <sysroots>/x86_64-linux/usr/lib/libXext.so.6 --> /usr/lib/x86_64-linux-gnu/libX11.so

So it is:
host sdl -> sysroot libXext.so.6 -> host X11.so

qemu-native doesn't depend on libxext-native, so the error would happen
if the libx11-native is being rebuilding and the host's libX11.so
doesn't have _XEatDataWords.

Manually reproduce it on Ubuntu 12.04 x86_64:

$ bitbake qemu-native libx11-native libxext-native
$ bitbake qemu-native libx11-native -ccleansstate && bitbake qemu-native

Note, only qemu-native has this problem since libxext depends on libX11,
and SDL would depend on libxext when x11 is enabled.

(From OE-Core rev: fbf6995306d85ad868fa5d33da9b493e7e0de414)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackage: Correct two typos in a comment
Peter Kjellerstedt [Thu, 28 Aug 2014 15:11:04 +0000 (17:11 +0200)]
package: Correct two typos in a comment

This quite coincidentally invalidates the sstate for do_package which
is needed due to the correction of oe.utils.multiprocess_exec().

(From OE-Core rev: 9972f0686794a01582fd1a15889dcbd89bc5cf72)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolib/oe/utils: Make multiprocess_exec() return anything
Peter Kjellerstedt [Thu, 28 Aug 2014 15:11:03 +0000 (17:11 +0200)]
lib/oe/utils: Make multiprocess_exec() return anything

The variable "results" was accidentally used for multiple different
things at the same time, which unintentionally discarded anything that
was supposed to be returned from the function...

(From OE-Core rev: abf4eb613eba0892a5f240de7aa3a9a1b2879354)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa: xorg log test is being replaced by parselogs so remove
Richard Purdie [Fri, 29 Aug 2014 08:55:28 +0000 (09:55 +0100)]
oeqa: xorg log test is being replaced by parselogs so remove

Now we have the parselogs test, this one can be removed.

(From OE-Core rev: 7977a3c28677d9a248059b0be230f345227e798a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotestimage: Add parselogs to the default tests for sato images
Richard Purdie [Fri, 29 Aug 2014 14:06:37 +0000 (15:06 +0100)]
testimage: Add parselogs to the default tests for sato images

(From OE-Core rev: d373d4332a03eb71c1112b8dd51052e56ca4fa59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/pasrselogs: Improve the machine/string whitelist
Richard Purdie [Fri, 29 Aug 2014 09:56:56 +0000 (09:56 +0000)]
oeqa/pasrselogs: Improve the machine/string whitelist

Currently the whitelist is imcomplete, inaccurate and suffers duplication.

These changes:
 * Add common groups of errors
 * Change to make the default whitelist clear
 * Correctly (or at least better) escape the regexp expressions
 * Add in missing machines to allow builds on the autobuilder to suceed

(From OE-Core rev: 620aa5f9022335a9166b4d47bdcdce611ff5466a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/runtime: Automatic test for parsing the logs on a machine and search for certain...
Lucian Musat [Mon, 18 Aug 2014 14:12:28 +0000 (17:12 +0300)]
oeqa/runtime: Automatic test for parsing the logs on a machine and search for certain error keywords.

This adds a common new qa test for general processing of log files. One
significant improvement is machine dependent ignore filters.

This can be used to replace several weaker individual QA tests
that are currently used.

(From OE-Core rev: a14d076a401397b6773d5d1b99e49126261f1eb4)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/cpan_build.bbclass: add EXTRA_CPAN_BUILD_FLAGS
Tim Orling [Wed, 27 Aug 2014 14:21:21 +0000 (07:21 -0700)]
classes/cpan_build.bbclass: add EXTRA_CPAN_BUILD_FLAGS

Some packages have additional configuration options that are currently
not accessible through cpan_build.bbclass. Similar to cpan.bbclass, add
EXTRA_CPAN_BUILD_FLAGS to pass the optional parameters to perl Build.PL.

(From OE-Core rev: bef6c3f4ebcd19ea3845aab27a165c370102b62c)

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: export GIT_SSL_CAINFO
Fahad Usman [Thu, 28 Aug 2014 07:36:17 +0000 (12:36 +0500)]
buildtools-tarball: export GIT_SSL_CAINFO

export GIT_SSL_CAINFO so git can find the certs

(From OE-Core rev: 260ea7b85ecacf2fcd4d09fa2f602d3e4368ef69)

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobuildtools-tarball: include nativesdk-ca-certificates
Fahad Usman [Thu, 28 Aug 2014 07:36:16 +0000 (12:36 +0500)]
buildtools-tarball: include nativesdk-ca-certificates

nativesdk-ca-certificates is needed in order to support oe/yocto builds with
buildtools-tarball on old hosts, as we provide libcurl, and that needs to be
able to find the certs, and there's no standard path or bundle path, so we
can't rely on the host.

(From OE-Core rev: 057954bcc4baf9194968169591537cd7584f8bcb)

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolttng-tools: fix ptest execution failure
Chong Lu [Thu, 28 Aug 2014 09:39:12 +0000 (17:39 +0800)]
lttng-tools: fix ptest execution failure

Ptest will hang when execute "./run.sh fast_regression" and lttng background
daemon can't be killed normally. This patch fixes this issue and use ${PTEST_PATH}
instead of long path.

(From OE-Core rev: 0a90616b09290e4651aafe1186229d861392e89f)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: create Build methods for calculating progress and ETA
Alexandru DAMIAN [Wed, 27 Aug 2014 16:24:42 +0000 (17:24 +0100)]
bitbake: toaster: create Build methods for calculating progress and ETA

We move the code to calculate build progress as percent
and the ETA of the build to the model, so that they can be
reused across different pages.

(Bitbake rev: c2ced09e7ea4a1762d2788bb12a761734d20fd8e)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: buildinfohelper: BuildRequest project file update soft linked
Alexandru DAMIAN [Wed, 27 Aug 2014 14:50:35 +0000 (15:50 +0100)]
bitbake: buildinfohelper: BuildRequest project file update soft linked

(Bitbake rev: 93887dadd5ee35557d320e96059c466d2e541065)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toatergui: update pages to match project models
Alexandru DAMIAN [Tue, 26 Aug 2014 14:39:14 +0000 (15:39 +0100)]
bitbake: toatergui: update pages to match project models

We update pages and queries to match the new project
models.

(Bitbake rev: 8f47ec259106da714260c7388cee75a6c1f4622d)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update the bldcontrol to the new orm models
Alexandru DAMIAN [Tue, 26 Aug 2014 14:36:29 +0000 (15:36 +0100)]
bitbake: toaster: update the bldcontrol to the new orm models

We update the build controller application to make proper
use of the bitbake specification in project settings.

Added heuristic to detect when the meta* layers and bitbake
are checked out from Yocto Project poky, and use a single
git checkout.

Building without a proper oe-init-build-env is not yet supported.

(Bitbake rev: 9eafe14956013f5af39b68fc93e1b03e7ea1f5c2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update checksettings command for auto-detection
Alexandru DAMIAN [Tue, 12 Aug 2014 14:45:48 +0000 (15:45 +0100)]
bitbake: toaster: update checksettings command for auto-detection

We enhance the checksettings command to try to automatically
detect settings for running on localhost.

The checksettings will look for a nearby poky layer source,
for a nearby build directory, and will try to import settings
from "toasterconf.json" files found in the local layer.

On new configuration, it will also perform updates from the
layer source.

(Bitbake rev: 2aab77dfccb538e2b09829841ea6c464d40cafb1)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: add all layers page
Alexandru DAMIAN [Tue, 12 Aug 2014 09:56:42 +0000 (10:56 +0100)]
bitbake: toaster: add all layers page

We add a page where the user can browse
and import layers from all the layers known
by Toaster.

[YOCTO #6590]

(Bitbake rev: 59f4a9750a6c4f5360a91e3a4d1c03ceb42da086)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: create project section navigation structure
Alexandru DAMIAN [Fri, 8 Aug 2014 16:50:02 +0000 (17:50 +0100)]
bitbake: toaster: create project section navigation structure

We create the navigation structure for the project section.
This includes adding URLs for configuration, builds, all layers,
layer details and all targets pages.

Changes to existing pages to exemplify navigation links.

(Bitbake rev: 6f0cb9d106129eb496a4c009d95b0727378e97c1)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: enable admin interface on select models
Alexandru DAMIAN [Fri, 8 Aug 2014 16:17:13 +0000 (17:17 +0100)]
bitbake: toaster: enable admin interface on select models

We enable the admin interface in Toaster.

We add admin models for Build Environments (where the
sysadmin can configure where the builds take place)
and for Layer Sources (marking the upstream provider
for layer information).

The admin interface and associated data are enabled
only for the MANAGED version.

(Bitbake rev: 6618613c9210fb44d36d90f5f2404b435f10dfc8)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: update orm models for layerindex compatibility
Alexandru DAMIAN [Fri, 8 Aug 2014 14:03:03 +0000 (15:03 +0100)]
bitbake: toaster: update orm models for layerindex compatibility

We add a ToasterSettings table that will keep
installation-wide settings.

We update the models for the layer-related data storage to
make them compatible with the layerindex application API.

We add a LayerSource class that can update local data from
a LayerIndex-like compatible API.

Adding a command line option to perform information update
from all upstream layer sources.

Fair warning - there is no backward migration from 0013.

(Bitbake rev: 89e13579e1b44b738f10fadec8454aa0e6f073af)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: fix application discovery in settings.py
Alexandru DAMIAN [Mon, 28 Jul 2014 10:28:39 +0000 (11:28 +0100)]
bitbake: toaster: fix application discovery in settings.py

We fix application discovery, tuples don't have .append().

Other minor fixes.

(Bitbake rev: a6f18aac3e6bb448d89a3425a2f756c6514ee595)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: refactor log saving and save out-of-build errors
Alexandru DAMIAN [Thu, 24 Jul 2014 17:20:25 +0000 (18:20 +0100)]
bitbake: toasterui: refactor log saving and save out-of-build errors

We refactor log saving to go through only one code path.

All logs that happened outside the build (i.e. before build
starting) now will be logged to either toaster_ui.log if the
build command ran in interactive mode, or to the build request
errors if the command ran in managed mode.

This enables proper display of error logs in project page.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: build/data: Write out more complete python run files
Richard Purdie [Wed, 27 Aug 2014 13:24:52 +0000 (14:24 +0100)]
bitbake: build/data: Write out more complete python run files

Currently the output in the python task/function run files is rather
incomplete and effectively useless. This enhances the code to take
advantage of the bitbake's dependency tracking and extend the output to
include dependencies. This makes the files more usable for debugging
purposes. Since this only happens at python function execution time, the
overhead is minimal in the grand scheme of things.

(Bitbake rev: 02667e048c3e632f857c87177c0022eaf5481802)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bitbake-worker: Extra profiling data dump
Richard Purdie [Wed, 27 Aug 2014 13:55:50 +0000 (14:55 +0100)]
bitbake: bitbake-worker: Extra profiling data dump

Currently we get no profiling oversight into either the main bitbake worker
process, or the overall parsing before task execution. This adds in extra
profiling hooks so we can truly capture all parts of bitbake's execution
into the profile data.

To do this we modify the 'magic' value passed to bitbake-worker to trigger
the profiling, before the configuration data is sent over to the worker.

(Bitbake rev: 446e490bf485b712e5cee733dab5805254cdcad0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: utils: Improve profile log processing
Richard Purdie [Wed, 27 Aug 2014 13:56:25 +0000 (14:56 +0100)]
bitbake: utils: Improve profile log processing

This stream redirection of stdout is horrible. pstats takes a stream argument
so lets use that instead.

(Bitbake rev: 93d155f4766e27e7b004d13569aa03961fe89e3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: fetch2/hg: Fix username/password handling
Richard Purdie [Wed, 27 Aug 2014 12:56:25 +0000 (13:56 +0100)]
bitbake: fetch2/hg: Fix username/password handling

We should only add user/password options if they're specified as in the
fetch case. Patch from Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>

(Bitbake rev: 303e6256947f4df4f283b75b7ccfdffa72864d67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: runqueue: Fix setscene tasks not running
Richard Purdie [Wed, 27 Aug 2014 12:07:24 +0000 (13:07 +0100)]
bitbake: runqueue: Fix setscene tasks not running

Currently, if you have hard dependencies between setscene tasks (like avahi on
base-passwd through useradd.bbclass), other dependencies may not be installed
even if these exist in sstate. For example, avahi -> expat -> pigz-native
(and avahi -> base-passwd) yet if you cleansstate base-passwd:

bitbake gzip-native:do_clean avahi:do_clean expat:do_clean pigz-native:do_clean base-passwd:do_cleansstate
bitbake avahi | tee

you will currently see pigz-native being rebuilt even though it was in
sstate. The fix for this is to continue to iterate dependency chains
around hard blocked dependencies as per this patch.

After this patch is applied, you will see pigz-native installed from sstate.

(Bitbake rev: f787957a224e8c2682a19e5c4a4d9c86bdce52ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopopulate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable
Richard Purdie [Thu, 28 Aug 2014 10:27:44 +0000 (11:27 +0100)]
populate_sdk_base: Remap TOOLCHAIN_HOST_TASK variable

Currently this variable isn't passed through the magic rename
mangling. This means that if you try adding "nativesdk-eglibc"
to an image directly, you can't since the package is renamed
by debian.bbclass and nothing sees the renaming.

This is annoying since I wanted to exactly that. This code
change passes it through the standard renaming function, the
tricky part is that we have to set PKGDATA_DIR to point to
the correct sysroot during the call. We create a copy of the
 datastore for the purposes of the call to do this.

(From OE-Core rev: d2fbc55d6863a767e69092bac686c02c3ec34650)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopython3-distribute: fix interpreter
Robert Yang [Wed, 27 Aug 2014 15:57:14 +0000 (08:57 -0700)]
python3-distribute: fix interpreter

It should use "/usr/bin/env python3" rather than python.

(From OE-Core rev: 5cf12b20c08d927af8b1a4e2997d325a030c2269)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobootchart2: no bashism in bootchartd.in
Robert Yang [Wed, 27 Aug 2014 15:57:13 +0000 (08:57 -0700)]
bootchart2: no bashism in bootchartd.in

So use /bin/sh

(From OE-Core rev: bd96d929345e90d121f7a5d40fde382a4f83796b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosed: add sed to RDEPENDS sed-ptest
Robert Yang [Wed, 27 Aug 2014 15:57:12 +0000 (08:57 -0700)]
sed: add sed to RDEPENDS sed-ptest

Its test scripts require /bin/sed.

(From OE-Core rev: f1a3f28c3f2aa9f16c138712fbfd671d731fd62e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolsbtest: no bashism in LSB_Test.sh
Robert Yang [Wed, 27 Aug 2014 15:57:11 +0000 (08:57 -0700)]
lsbtest: no bashism in LSB_Test.sh

So use /bin/sh

(From OE-Core rev: 895ff60e5029e1b7f2f2c8b9a01eed900fe1fe00)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorun-ptest: fix bashism
Robert Yang [Wed, 27 Aug 2014 15:57:10 +0000 (08:57 -0700)]
run-ptest: fix bashism

These script use /bin/sh as the interpreter, but contains bashism:
    recipes-devtools/insserv/files/run-ptest
    recipes-devtools/quilt/quilt/run-ptest
    recipes-devtools/tcltk/tcl/run-ptest
    recipes-extended/gawk/gawk-4.1.1/run-ptest
    recipes-support/beecrypt/beecrypt/run-ptest

Fixed:
    "==" -> "=" (should be -eq when integer)
    "&>log" -> ">log 2>&1"

And quilt's test scripts requires bash, add bash to RDEPENDS_quilt-ptest

(From OE-Core rev: 70c6e0b84d3e17807cbea0677df2f0772a284130)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agovalgrind/oprofile/systemd: no bashism in run-ptest
Robert Yang [Wed, 27 Aug 2014 15:57:09 +0000 (08:57 -0700)]
valgrind/oprofile/systemd: no bashism in run-ptest

There is no bashism in the scripts, so use /bin/sh, and add /bin/sh
interpreter for systemd's run-ptest.

(From OE-Core rev: 62d455f89fb1d2c22cf987bdbb56a55e6d031ce0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa: fix RDEPNEDS for the test related pkgs
Robert Yang [Wed, 27 Aug 2014 15:57:08 +0000 (08:57 -0700)]
meta: fix RDEPNEDS for the test related pkgs

Add bash, python or perl to the ptest pkgs to fix the RDEPENDS issues.

(From OE-Core rev: d081a85fc76e2b7a469c6c70175ecf7aed9de053)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoltp: fix RDEPENDS
Robert Yang [Wed, 27 Aug 2014 15:57:07 +0000 (08:57 -0700)]
ltp: fix RDEPENDS

Fixed:
/opt/ltp/testcases/bin/aio01 -> libaio
/opt/ltp/testcases/bin/*.sh -> bash
/opt/ltp/testcases/bin/*.py -> python
/opt/ltp/bin/*.awk -> awk

(From OE-Core rev: 92b554e2c023c14013625e4464df8fa7187e4524)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: upgrade to 3.15
Roxana Ciobanu [Wed, 27 Aug 2014 15:22:26 +0000 (18:22 +0300)]
ethtool: upgrade to 3.15

(From OE-Core rev: b983f74fe5147d09f1743eaff4c7808d0411c742)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: Add DEPENDS on jpeg
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:04 +0000 (16:47 +0200)]
gstreamer1.0-plugins-bad: Add DEPENDS on jpeg

libjpeg is automatically linked to if present. This cannot be turned off.
Adding DEPENDS on jpeg ensures that a proper dependency is established.

(From OE-Core rev: 4c13eced019eac49f047a620994c1b56af5d4951)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: Fix GL/GLES configuration
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:03 +0000 (16:47 +0200)]
gstreamer1.0-plugins-bad: Fix GL/GLES configuration

* Replace --disable/enable-gl with the individual EGL, GLES, GL switches
  (--disable-gl turns off GL support entirely)
* Put the default opengl packageconfig into its own variable to make it
  easier for distros and BSP layers to define what to use (GL, GLES,
  or neither)
* Add libglu as a dependency for desktop GL
* Patch configure.ac to ensure libraries are only searched and linked to
  if the corresponding API isn't disabled (this prevents cases where
  libgstgl is linked to GLU even though desktop GL is dis- and GLES
  enabled)

(From OE-Core rev: 7bf062f2e2b92c2401fa2386b6281aae023b21a8)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: Add DEPENDS on libpng
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:02 +0000 (16:47 +0200)]
gstreamer1.0-plugins-bad: Add DEPENDS on libpng

libpng is automatically linked to if present. This cannot be turned off.
Adding DEPENDS on libpng ensures that a proper dependency is established.

(From OE-Core rev: 413d5665cedd740125862e5eec5ca1f3b38b8363)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad
Carlos Rafael Giani [Wed, 27 Aug 2014 14:47:01 +0000 (16:47 +0200)]
gstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad

gst-omx links to libgstgl if it is present, and libgstgl is built by
gstreamer1.0-plugins-bad. Adding it as a DEPENDS ensures a proper
dependency is established.

(From OE-Core rev: a9790695e207ef989a691d97658d63b022144c7c)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-plugins-bad: add opencv haar cascade XML files to package
Carlos Rafael Giani [Wed, 27 Aug 2014 16:42:27 +0000 (18:42 +0200)]
gstreamer1.0-plugins-bad: add opencv haar cascade XML files to package

(From OE-Core rev: fbd886eff693135bcd9fbe62cfd37f255798ca78)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocpan.bbclass: matches more lines
Robert Yang [Thu, 28 Aug 2014 05:40:06 +0000 (22:40 -0700)]
cpan.bbclass: matches more lines

Fixed:
- There might be a space between "#!" and "/pat/to/usr/bin/perl", e.g.:
  "#! /usr/bin/perl", now also matches it.

- There might be the lines like the following in the body:
  eval 'exec /path/to/usr/bin/perl-native/perl -S $0 ${1+"$@"}'

  Now we only check "#! */path/to/usr/bin/perl" to make sure it is a
  perl script, but match and fix the lines in both header and body.

(From OE-Core rev: 0d2e2ac137465885a1d55103010ccfdec579f1ce)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoperl-native: fixed bad interpreter error
Robert Yang [Thu, 28 Aug 2014 05:40:05 +0000 (22:40 -0700)]
perl-native: fixed bad interpreter error

We may get the error on some hosts when build in deeper dir:
/bin/sh: /path/to/tmp/sysroots/i686-linux/usr/bin/perl-native/pod2man: /path/to/tmp/sysroots/i686-li:
bad interpreter: No such file or directory

Note the "i686-li", it should be "i686-linux", but is truncated by the
host.

We can use "/usr/bin/env nativeperl" as we have done in cpan.bbclass for
other recipe's perl script to fix the problem.

(From OE-Core rev: 83dec26849a120d0f1de64e63025354fa7108491)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopackagegroup-core-directfb: Set PACKAGE_ARCH to MACHINE_ARCH
Otavio Salvador [Wed, 27 Aug 2014 19:19:33 +0000 (16:19 -0300)]
packagegroup-core-directfb: Set PACKAGE_ARCH to MACHINE_ARCH

The contents change depends on the MACHINE_FEATURES so this is clearly
a machine specific package. Set it accordingly.

(From OE-Core rev: 347551fadfadeb7bde5948bbeca2a4f13ecaca41)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoofono: upgrade to 1.15
Cristian Iorga [Wed, 27 Aug 2014 18:10:04 +0000 (21:10 +0300)]
ofono: upgrade to 1.15

- Bug fixes;
Add support for Handsfree subscriber number feature;
Add support for Handsfree multiple DTMF characters;
Add support for PAP authentication.
- Added patch to revert tests to work with Python2.x.

(From OE-Core rev: 21f95b2db0f22dcb4d9cd59a90f291f72982f2a1)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobluez5: upgrade to 5.22
Cristian Iorga [Wed, 27 Aug 2014 18:10:03 +0000 (21:10 +0300)]
bluez5: upgrade to 5.22

Several fixes to HID over GATT (HoG) and for AVRCP.
Notable additions with the Linux kernel 3.17:
- BR/EDR whitelist support;
- Proper LE passive scanning support.

(From OE-Core rev: 4284b449a9a7a08935f99fecdd1de7c481d4a9b7)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to 0.9.35
Cristian Iorga [Wed, 27 Aug 2014 18:10:02 +0000 (21:10 +0300)]
harfbuzz: upgrade to 0.9.35

Bug fixes and minor changes/cleanups.

(From OE-Core rev: 08b4b19b15a2d561254750247f00b0e7a2459994)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoconnman: upgrade to 1.25
Cristian Iorga [Wed, 27 Aug 2014 18:10:01 +0000 (21:10 +0300)]
connman: upgrade to 1.25

build-libppp-plugin-without-versioning-info.patch
no longer needed, removed.
Changelog:
Fix issue with handling rebind timer for DHCPv6.
Fix issue with handling DHCP renew transaction.
Fix issue with user supplied proxy settings and DHCP.
Fix issue with extra status codes from captive portals.
Fix issue with service idle state reset on failure.
Fix issue with DNS label compression handling.
Add support for experimental P2P Peer service.

(From OE-Core rev: f53c5e7914ea37338817fcb7efbd42414045e07c)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopatchelf: Add patchelf recipe
Richard Purdie [Wed, 27 Aug 2014 14:50:22 +0000 (15:50 +0100)]
patchelf: Add patchelf recipe

This is useful since it allows us to edit the RPATH and interpreter fields
in ELF binaries. This is potentially particularly useful in improving the way
we can use the SDK and also potentially making native binaries more relocatable.

(From OE-Core rev: 003766fb2e50b11914ca06947ecfa039429b0815)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstate: Add extra intercept functions
Richard Purdie [Wed, 27 Aug 2014 14:48:09 +0000 (15:48 +0100)]
sstate: Add extra intercept functions

In some cases we do either need to add extra sstate manipulation
functions, or change the existing modification functions. This patch
parametrises them to SSTATECREATEFUNCS and SSTATEPOSTUNPACKFUNCS and
abstracts the "hardcoded path" functions into separate functions using
these new variables.

We may use this new functionality to improve binary relocating using
patchelf for example, this at least lets us have the hooks to be able to
experiment.

(From OE-Core rev: 9d659c6f20fa4a141b491c62a3ef0dfb1f896d9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolinux-dummy: bundle_initramfs should not be nostamp any more
Ming Liu [Wed, 27 Aug 2014 02:31:56 +0000 (10:31 +0800)]
linux-dummy: bundle_initramfs should not be nostamp any more

The same change has already been applied to kernel.bbclass in commit 55989cb5:
[ kernel.bbclass: Stop bundle_initramfs thwarting sstate cache and fix race ]

The dummy kernel should comply with it.

(From OE-Core rev: 0897fd6feb19b545af2ebc148a2f6f99341841a9)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: add PACKAGECONFIG for numa
Jackie Huang [Wed, 27 Aug 2014 09:34:04 +0000 (05:34 -0400)]
qemu: add PACKAGECONFIG for numa

Add PACKAGECONFIG for numa to avoid build error:
backends/hostmem.c:21:20: fatal error: numaif.h: No such file or directory

Package numctl is from meta-oe.

(From OE-Core rev: 9661ce6ed5e01dd21360946c561b3c8a1ce9fc2c)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibtiff: fix CVE-2013-1961
Muzaffar Mahmood [Mon, 25 Aug 2014 11:51:06 +0000 (16:51 +0500)]
libtiff: fix CVE-2013-1961

Integrate community fix for the issue CVE-2013-1961
and migrated to version 4.0.3.

Stack-based buffer overflow in the t2p_write_pdf_page function
in tiff2pdf in libtiff before 4.0.3 allows remote attackers to
cause a denial of service (application crash) via a crafted
image length and resolution in a TIFF image file.

(From OE-Core rev: f24e3456c60951d2985d7c23bdcc1f8c15d6c167)

Signed-off-by: Priyanka Shobhan <priyanka_shobhan@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Support building on uclibc
Khem Raj [Mon, 25 Aug 2014 23:45:04 +0000 (16:45 -0700)]
systemd: Support building on uclibc

include missing.h to get MAX_HANDLE_SZ which
is not defined in uclibc.

(From OE-Core rev: fa2a90ca632d10fe1a14098c3f4fcacc7cea6ac5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Support systemd builds
Khem Raj [Mon, 25 Aug 2014 23:45:03 +0000 (16:45 -0700)]
uclibc: Support systemd builds

Systemd needs some extra defines e.g.
ADJ_NANO and IPTOS_CLASS_CS6

(From OE-Core rev: 7562021eef5b7585122c92db8b686808ebe7d85e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agouclibc: Upgrade to tip of master
Khem Raj [Mon, 25 Aug 2014 23:45:02 +0000 (16:45 -0700)]
uclibc: Upgrade to tip of master

Adjust mips to cater for new mips32r2 defaulttune
Remove upstreamed patches

(From OE-Core rev: 8003ce0df3f6297391a709cc9720adffbd8fbd0f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: Re-add linux-uclibc tuple
Khem Raj [Mon, 25 Aug 2014 23:45:01 +0000 (16:45 -0700)]
openssl: Re-add linux-uclibc tuple

With last restructuring for musl, some of uclibc targets got ignored
fsl/ppc and ARM worked ok since they use special target triplets which
were already considered but other like mips, x86 and so on failed

(From OE-Core rev: 63ab0ce2103bcf3a42ce5812a22409779126e114)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoIBM power7 v2: Add new tune file for PPC power7
Armin Kuster [Tue, 26 Aug 2014 03:12:58 +0000 (20:12 -0700)]
IBM power7 v2: Add new tune file for PPC power7

v2: rename file

(From OE-Core rev: 14c773f61a6380f76b58ea0c1cca6e6010d581f8)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoIBM power6 v2: Add new tune file for PPC power6
Armin Kuster [Tue, 26 Aug 2014 03:12:57 +0000 (20:12 -0700)]
IBM power6 v2: Add new tune file for PPC power6

v2: rename file

(From OE-Core rev: b41be209514c2cb69359ee5e26f87beb078f01b2)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoIBM Power5 v2: Add new tune file for PPC power5 cpu
Armin Kuster [Tue, 26 Aug 2014 03:12:56 +0000 (20:12 -0700)]
IBM Power5 v2: Add new tune file for PPC power5 cpu

V2: rename file
(From OE-Core rev: fd46da6f37acbbac8a8b14d5991f75947688a9c2)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonss: CVE-2014-1544
Li Wang [Tue, 26 Aug 2014 08:33:24 +0000 (16:33 +0800)]
nss: CVE-2014-1544

the patch comes from:
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-1544
https://hg.mozilla.org/projects/nss/rev/204f22c527f8

author  Robert Relyea <rrelyea@redhat.com>
https://bugzilla.mozilla.org/show_bug.cgi?id=963150
Bug 963150: Add nssCertificate_AddRef and nssCertificate_Destroy calls
to PK11_ImportCert to prevent nssTrustDomain_AddCertsToCache from
freeing the CERTCertificate associated with the NSSCertificate. r=wtc.

(From OE-Core rev: 7ef613c7f4b9e4ff153766f31dae81fc4810c0df)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agologrotate: add packageconfigs
Fahad Usman [Tue, 26 Aug 2014 08:16:49 +0000 (13:16 +0500)]
logrotate: add packageconfigs

add packageconfigs for acl and selinux.

(From OE-Core rev: 885cec11c978975d5c51ded92882a3b00d5ccf8c)

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agologrotate: obey our flags
Fahad Usman [Tue, 26 Aug 2014 08:16:48 +0000 (13:16 +0500)]
logrotate: obey our flags

Needed to quiet GNU_HASH warnings, and some minor fixes.

(From OE-Core rev: a46d3646a3e1781be4423b508ea63996b3cfca8a)

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/sdk/buildsudoku.py: add setUpModule method to run only when gtk+ in installed.
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:44 +0000 (13:05 +0300)]
oeqa/sdk/buildsudoku.py: add setUpModule method to run only when gtk+ in installed.

Adding setUpModule in order to skip the module when gtk+ is not installed in the toolchain.

(From OE-Core rev: 97ac0fc33b9277825089ac36f9037d472d397b71)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooeqa/oetest.py: enable sdk tests to use hasFeature and hasPackage methods.
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:43 +0000 (13:05 +0300)]
oeqa/oetest.py: enable sdk tests to use hasFeature and hasPackage methods.

In order to use the hasFeature and hasPackage methods, we need to make oeSDKTest extend oeTest and also set the test context (tc) attribute in the oeTest class when loading the tests.

(From OE-Core rev: 54436aeed5ac5e0da0779919f8524a0603e19c6a)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/testimage.bbclass: add more fields to the sdk TestContext
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:42 +0000 (13:05 +0300)]
classes/testimage.bbclass: add more fields to the sdk TestContext

In order to use hasFeature and hasPackage methods in sdk test modules, we need specific fields to be set in the TestContext object.
Adding pkgmanifest, imagefeatures and distrofeatures to the TestContext.

(From OE-Core rev: cd342b399b2d78724032cdd7042968d3238cd548)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclasses/populate_sdk_base.bbclass: add a manifest for target sdk
Corneliu Stoicescu [Tue, 26 Aug 2014 10:05:41 +0000 (13:05 +0300)]
classes/populate_sdk_base.bbclass: add a manifest for target sdk

Similar to the way BSP images have rootfs a manifest, the toolchain now also has a manifest file created alongside the sdk image.

(From OE-Core rev: 3d42fd1f050a1382b15c3c4d59fd02d0ed7091b2)

Signed-off-by: Corneliu Stoicescu <corneliux.stoicescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86-64: support X11 when QEMU is emulating a different GPU than vmware
Max Eliaser [Tue, 26 Aug 2014 17:34:13 +0000 (10:34 -0700)]
qemux86-64: support X11 when QEMU is emulating a different GPU than vmware

QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware,
and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86-64 image,
the image can be made to launch an X server on when cirrus and std are chosen,
in addition to just vmware. (The build of QEMU in OE-Core appears to have QXL
disabled, meaning a driver for it is unnecessary.)

The runqemu script now allows the choice of emulated VGA adapter to be
specified manually, so it's important that qemux86-64 supports any configuration
the user might choose without requiring the image to be rebuilt.

(From OE-Core rev: 1216de77a7f23fa10e34aee1ebe27fcc6a6589c0)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86-64: xorg.conf: allow X.Org driver to be selected automatically.
Max Eliaser [Tue, 26 Aug 2014 17:34:12 +0000 (10:34 -0700)]
qemux86-64: xorg.conf: allow X.Org driver to be selected automatically.

A section specifying the driver to use is deleted from the image's xorg.conf,
allowing the X server to automatically select the most appropriate driver.
Testing shows that it does always pick the correct one.

(From OE-Core rev: 5dd70b1917bc60e4ea7bded8f348e46b4551dfb6)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86: support X11 when QEMU is emulating a different GPU than vmware
Max Eliaser [Tue, 26 Aug 2014 17:34:11 +0000 (10:34 -0700)]
qemux86: support X11 when QEMU is emulating a different GPU than vmware

QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware,
and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86 image,
the image can be made to launch an X server on when cirrus and std are chosen,
in addition to just vmware. (The build of QEMU in OE-Core appears to have QXL
disabled, meaning a driver for it is unnecessary.)

The runqemu script now allows the choice of emulated VGA adapter to be
specified manually, so it's important that qemux86 supports any configuration
the user might choose without requiring the image to be rebuilt.

(From OE-Core rev: 9e4ca6739d65716fcb0a1b7d635749083da98c52)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemux86: xorg.conf: allow X.Org driver to be selected automatically.
Max Eliaser [Tue, 26 Aug 2014 17:34:10 +0000 (10:34 -0700)]
qemux86: xorg.conf: allow X.Org driver to be selected automatically.

A section specifying the driver to use is deleted from the image's xorg.conf,
allowing the X server to automatically select the most appropriate driver.
Testing shows that it does always pick the correct one.

(From OE-Core rev: 1354fdea6e04070fde4cb5a48ef824d0b22f0870)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver
Max Eliaser [Tue, 26 Aug 2014 17:34:09 +0000 (10:34 -0700)]
xorg-drivers: xf86-video-cirrus: add a recipe for the Cirrus Logic X.Org driver

This driver allows X.Org to use the Cirrus Logic family of VGA adapters. Since
QEMU can emulate a Cirrus VGA adapter, this driver will be of use for images
that are expected to run under QEMU, if QEMU's other VGA adapters are
unavailable.

(From OE-Core rev: d407734e3d25b66a0281cc287a3e929945dc52ed)

Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoarchiver.bbclass: add revision to git tarfile name
Joe Slater [Tue, 26 Aug 2014 17:29:31 +0000 (10:29 -0700)]
archiver.bbclass: add revision to git tarfile name

When archiving original source, insert the first 10
characters of srcrev, after stripping off any
AUTOINC+, into the filename for tarfiles created
from directories.

(From OE-Core rev: 36726049a6a452f85d7cc849d57ad6af05d6d3ea)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agohicolor-icon-theme: Upgrade to 0.13
Roxana Ciobanu [Tue, 26 Aug 2014 16:08:24 +0000 (19:08 +0300)]
hicolor-icon-theme: Upgrade to 0.13

(From OE-Core rev: b6cc93f1008e2313eb9a17a11bfbc9980736878d)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxkeyboard-config: upgrade to 2.12
Roxana Ciobanu [Tue, 26 Aug 2014 16:04:39 +0000 (19:04 +0300)]
xkeyboard-config: upgrade to 2.12

(From OE-Core rev: a277a80f788082fa01d3794443e454d1a6a6c1da)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-mouse: upgrade to 1.9.1
Roxana Ciobanu [Tue, 26 Aug 2014 15:59:22 +0000 (18:59 +0300)]
xf86-input-mouse: upgrade to 1.9.1

(From OE-Core rev: 67c8388f2c4b40d29273c55c8eebd85448e85de0)

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxf86-input-synaptics: upgrade to 1.8.0
Ciobanu Roxana [Tue, 26 Aug 2014 15:54:45 +0000 (18:54 +0300)]
xf86-input-synaptics: upgrade to 1.8.0

    The two main changes in this release:
    - the eventcomm backend uses libevdev, we recommend libevdev 1.2 or newer
    - support for a secondary software button area for the Lenovo *40 series
    (T440, T540, X240, Helix, Yoga, ...).

(From OE-Core rev: a445d82fd4e7b3849a3708061368efb541f64e66)

Signed-off-by: Ciobanu Roxana <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agopsmisc: Update patch status
Paul Barker [Tue, 26 Aug 2014 12:07:47 +0000 (12:07 +0000)]
psmisc: Update patch status

The patch "Include <limits.h> for PATH_MAX" was accepted into the master branch
of psmisc by the maintainer. It should be included in the next release.

(From OE-Core rev: 2da97e3638e6fd7730df55963ad8392f7054c7dd)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agonative/nativesdk: Clear MACHINEOVERRIDES
Khem Raj [Mon, 25 Aug 2014 19:01:17 +0000 (12:01 -0700)]
native/nativesdk: Clear MACHINEOVERRIDES

In cases where we override variables e.g PACKAGE_ARCH
conditionally and use a MACHINEOVERRIDE to qualify the
override like

PACKAGE_ARCH_<MACHINE> = "some target PACKAGE_ARCH"

This would also be effective if this recipe is
BBEXTENDED to native or nativesdk which is undesired
This particular issue will cause wrong sysroot to be
used for nativesdk case since PACKAGE_ARCH would have
been modified and eventually changing value of
STAGING_DIR_TARGET which we use as --sysroot option
to cross and cross-canadian built SDK gcc

(From OE-Core rev: 6907da7eb44dca812dbb9e214357ee96e9ff738a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity: refactor mirrors checks to be more pythonic
Christopher Larson [Mon, 25 Aug 2014 22:57:44 +0000 (15:57 -0700)]
sanity: refactor mirrors checks to be more pythonic

- Use clearer variable names
- Use variable unpacking to reference elements by name rather than index
- Sacrifice a small amount of time (iterate over protocols twice per entry
  rather than once) for clarity: use readable generator expressions with any()
  rather than maintaining state.

(From OE-Core rev: 9d31e1e6ce07991fe360e67295311e62a55603af)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity: fix support for regex schemes in mirrors check
Christopher Larson [Mon, 25 Aug 2014 22:57:43 +0000 (15:57 -0700)]
sanity: fix support for regex schemes in mirrors check

(From OE-Core rev: c8afcb9cab9d610892db9c41b29685583f3b5773)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity: handle both \n and \\n in mirror vars
Christopher Larson [Mon, 25 Aug 2014 22:57:42 +0000 (15:57 -0700)]
sanity: handle both \n and \\n in mirror vars

(From OE-Core rev: 3e203e91afa48557eb754dd554944012f7f0c0a2)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>