]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
9 years agopython3-pip: Adds recipe for python3-pip
Alejandro Hernandez [Thu, 14 May 2015 16:57:23 +0000 (16:57 +0000)]
python3-pip: Adds recipe for python3-pip

PIP is installed by default since python 3.4, due to issues with the
autobuilders, its default installation had to be disabled, this creates
a recipe for it, it brings a lot of new dependencies so it is chosen not
to be installed by default along with python3-core.

[YOCTO #7762]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
9 years agopython3-distribute: Upgrade to python3-setuptools 15.2
Alejandro Hernandez [Thu, 14 May 2015 16:49:56 +0000 (16:49 +0000)]
python3-distribute: Upgrade to python3-setuptools 15.2

python3-distribute was merged back to python3-setuptools in 2013,
and it is no longer being maintained, this upgrade also provides
functionality that will be needed for python3-pip.

[YOCTO #7763]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
9 years agopython3-io: Fixes compilation of python3 ssl module
Alejandro Hernandez [Thu, 14 May 2015 16:43:24 +0000 (16:43 +0000)]
python3-io: Fixes compilation of python3 ssl module

During python3 compilation, the module ssl was being skippped due to
the fact that the compilation script couldnt find the required files,
this patch fixes setup.py so it looks for the files in the correct
directory, hence fixing its compilation and installation.

[YOCTO #7768]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
9 years agopython3: Fix distutils import error
Alejandro Hernandez [Thu, 14 May 2015 16:21:00 +0000 (16:21 +0000)]
python3: Fix distutils import error

The patch 12-distutils-prefix-is-inside-staging-area.patch is used
to fix problems when trying to get some environmental variables
but it is only necessary for python3-native, on python3-core it
causes an error when importing distutils since env variables of
the likes of HOST_SYS and such do not exist on target, this removes
the patch from python3-core so distutils can be imported correctly.

[YOCTO #7766]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
9 years agopython3: fix pyconfig.h installation on target
Alejandro Hernandez [Thu, 14 May 2015 16:13:40 +0000 (16:13 +0000)]
python3: fix pyconfig.h installation on target

The file pyconfig.h wasnt being deployed on target, causing an error
when importing some libraries that required it, this patch fixes
python3 manifest to include this file and fix the issue.

[YOCTO #7764]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
9 years agorpm: remove extra dev and dbg packages
Robert Yang [Thu, 4 Jun 2015 09:01:10 +0000 (02:01 -0700)]
rpm: remove extra dev and dbg packages

There should be only one dev and dbg package.

[YOCTO #7481]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolsof: Remove LSOF_OS
Khem Raj [Wed, 3 Jun 2015 16:42:02 +0000 (09:42 -0700)]
lsof: Remove LSOF_OS

This is not needed since its target recipe and we always
need to pass 'linux' for OS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibpam: Fix wrong crypt library detection
Khem Raj [Wed, 3 Jun 2015 16:42:01 +0000 (09:42 -0700)]
libpam: Fix wrong crypt library detection

Surfaced when building with musl This details are in patch headers
Enabel innetgr.patch for musl as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agosgmlspl-native: 1.03ii -> 1.1
Robert Yang [Wed, 3 Jun 2015 09:18:17 +0000 (02:18 -0700)]
sgmlspl-native: 1.03ii -> 1.1

* The old HOMEPAGE and SRC_URI are not available any more, use github to
  instead of.

* Remove combined.patch since part of them is already in the
  source (sgmlspl.pl), and part of them are not needed any more (the doc
  sgmlspl.1, there is a sgmlspl.sgml).

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agocmake: Whitespace fix
Moritz Blume [Wed, 3 Jun 2015 13:57:32 +0000 (15:57 +0200)]
cmake: Whitespace fix

Signed-off-by: Moritz Blume <moritz.blume@bmw-carit.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-tools: add dependency glib-2.0
Kai Kang [Thu, 4 Jun 2015 05:57:58 +0000 (13:57 +0800)]
alsa-tools: add dependency glib-2.0

Add dependency glib-2.0 for alsa-tools. It is required by new added
sub-component hdajacksensetest.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-plugins: enable alsa-plugins-pulseaudio-conf conditionally
Tanu Kaskinen [Wed, 3 Jun 2015 11:17:09 +0000 (14:17 +0300)]
alsa-plugins: enable alsa-plugins-pulseaudio-conf conditionally

If pulseaudio isn't enabled, the alsa-plugins-pulseaudio-conf package
is unnecessary. This change fixes these warnings, when pulseaudio
isn't enabled:

WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on
libasound-module-conf-pulse, but it isn't a build dependency?
[build-deps]
WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on
libasound-module-ctl-pulse, but it isn't a build dependency?
[build-deps]
WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on
libasound-module-pcm-pulse, but it isn't a build dependency?
[build-deps]

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoqt4: upgrade to 4.8.7
Kai Kang [Tue, 2 Jun 2015 01:52:57 +0000 (09:52 +0800)]
qt4: upgrade to 4.8.7

Upgrade qt4 packages from version 4.8.6 to 4.8.7.

* remove arm64 related patches which are merged
* remove 0034-Fix-a-division-by-zero-when-processing-malformed-BMP.patch
  which is backported.
* update 0010-configure-Hack-to-not-use-the-pg_config-of-the-host-.patch
  and 0013-configure-add-crossarch-option.patch for new version
* remove useless variable INC_PR

Signed-off-by: Kai Kang <kai.kang@windriver.com>
9 years agoscripts/combo-layer: Fix exit codes and tty handling
Richard Purdie [Wed, 3 Jun 2015 16:44:27 +0000 (17:44 +0100)]
scripts/combo-layer: Fix exit codes and tty handling

If combo-layer is called from a non-interactive context we should exit
with a correct error code rather than try and drop to a shell.

This patch cleans up a few error case exit codes as well as
detecting and handling non-interactive usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-xorg: always enable DRI2 by default
Ross Burton [Fri, 5 Jun 2015 10:29:48 +0000 (11:29 +0100)]
xserver-xorg: always enable DRI2 by default

DRI2 is more abstract than the original DRI and isn't tied to OpenGL or any
other rendering system, and as such is being used by more than OpenGL support in
xserver.  In particular, the new modesettings driver uses DRI2 to accelerate
drawing, so enable DRI2 by default.

This was spotted because the "nodistro" DISTRO doesn't enable OpenGL, so xserver
failed to build as dri2proto wasn't built.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolinux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19
Bruce Ashfield [Fri, 5 Jun 2015 04:13:54 +0000 (00:13 -0400)]
linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19

Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference
BSPs to the 3.19 kernel.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agodosfstools: Add recipe for v3.0.28
Sören Brinkmann [Tue, 2 Jun 2015 17:46:52 +0000 (10:46 -0700)]
dosfstools: Add recipe for v3.0.28

Add a recipe for building the latest (as of today) version of
dosfstools.

Signed-off-by: Sören Brinkmann <soeren.brinkmann@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglib-2.0: 2.44.0 -> 2.44.1
Robert Yang [Tue, 2 Jun 2015 10:02:45 +0000 (03:02 -0700)]
glib-2.0: 2.44.0 -> 2.44.1

Removed 0001-GListModel-roll-back-use-of-type-redefinition.patch since
it is a backport patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoethtool: 3.16 -> 4.0
Robert Yang [Tue, 2 Jun 2015 09:55:28 +0000 (02:55 -0700)]
ethtool: 3.16 -> 4.0

Removed ethtool-uint.patch since it is already in the source.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agodebianutils: 4.5 -> 4.5.1
Robert Yang [Tue, 2 Jun 2015 09:51:04 +0000 (02:51 -0700)]
debianutils: 4.5 -> 4.5.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agopython-nose: 1.2.1 -> 1.3.6
Robert Yang [Tue, 2 Jun 2015 09:19:36 +0000 (02:19 -0700)]
python-nose: 1.2.1 -> 1.3.6

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agopython-mako: 0.9.1 -> 1.0.1
Robert Yang [Tue, 2 Jun 2015 09:15:25 +0000 (02:15 -0700)]
python-mako: 0.9.1 -> 1.0.1

The LIC_FILES_CHKSUM was changed because the year changed: 2013 -> 2015,
the license are the same.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoliberror-perl: 0.17023 -> 0.17024
Robert Yang [Tue, 2 Jun 2015 09:12:35 +0000 (02:12 -0700)]
liberror-perl: 0.17023 -> 0.17024

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoxserver-xorg: Upgrade 1.16.3 -> 1.17.1 (OELAYOUT_ABI change)
Jussi Kukkonen [Thu, 7 May 2015 10:39:19 +0000 (13:39 +0300)]
xserver-xorg: Upgrade 1.16.3 -> 1.17.1 (OELAYOUT_ABI change)

* Increase OELAYOUT_ABI: this is required because the
  xf86-video-modesetting package moves from its own recipe to
  xserver-xorg and sanity check cannot handle that currently.
  The upgrade will delete old xf86-video-modesetting files from
  sysroots.
* Remove upstreamed xserver-xorg patches
* Remove xf86-video-modesetting recipe: the driver is now included in
  xserver-xorg recipe, which now produces the xf86-video-modesetting
  package. The package version changes from 0.9 to 1.17.1
* Update xserver-xorg license checksum: modesetting license
  info (another MIT one) has been added to the file

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
9 years agodistutils.bbclass: consistency between error message and setup.py's command
Mario Domenech Goulart [Mon, 25 May 2015 18:44:44 +0000 (15:44 -0300)]
distutils.bbclass: consistency between error message and setup.py's command

setup.py was called with build as argument, but the error message
would report build_ext.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibav: upgrade to 9.18
Kai Kang [Tue, 26 May 2015 07:14:44 +0000 (15:14 +0800)]
libav: upgrade to 9.18

Upgrade libav from version 9.16 to 9.18. Remove unused var INC_PR and
backport patch to fix CVE-2014-9676.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agobtrfs-tools: 3.18.2 -> 4.0.1
Robert Yang [Mon, 1 Jun 2015 05:41:08 +0000 (22:41 -0700)]
btrfs-tools: 3.18.2 -> 4.0.1

* Updated fix-parallel.patch
* The 4.0.1 switched to autotools, but inherit autotools doesn't work:
  | make: *** No rule to make target `ctree.o', needed by `btrfs'.  Stop.

  so inherit autotools-brokensep

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoalsa-plugins: Include missing sys/select.h
Khem Raj [Fri, 29 May 2015 22:24:08 +0000 (15:24 -0700)]
alsa-plugins: Include missing sys/select.h

This is exposed by musl where indirect include does not happen

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agobinutils: Update to tip of 2.25 branch
Khem Raj [Fri, 29 May 2015 02:22:31 +0000 (19:22 -0700)]
binutils: Update to tip of 2.25 branch

This update brings following patches

749b1c7 Fix some PPC assembler errors.
fe1e924 [AArch64][Backport] Remove Load/Store register (unscaled immediate) alias
4e4d08c [AArch64][Backport] Don't always create new frag for .inst directive
0381bf1 [AArch64][Backport] PR18270, fix handling of GOT entry for local symbol
bb22a11 [AArch64][Backport]Improve PC-relative relocation check for shared library
699dcf3 opcodes/
e700dd4 Downgrade linker error on protected symbols in .dynbss to a warning
13ccf8a Revert "Add extern_protected_data and set it for x86"
b0356a6 Add support for the Samsung Exynos M1 processor.
40dbf9d Add support for the Samsung Exynos M1 processor.
2aa5937 Don't pass unadorned zeros to varargs functions
12aca65 Relax PR 15228 protected visibility restriction
b443789 [AArch64] Fix branch stubs for BE
ab50ec0 Import fixes from mainline sources that address illegal memory access problems with the ELF targeted parts of the BFD library.
a539f2c Import patches from the master sources which fix illegal memory accesses found by running the binutils on fuzzed binaries.
a5ebc2c Fix build problem introduced by previous delta to coffgrok.c
7a57494 Import fixes from mainline that address illegal memory accesses when working with COFF/PE based files.
4f9583e Import fixes from trunk sources to correct invalid memory access issues with various binutils programs.
304a2b6 Import fixes for invalid memory access issues in the binutils DWARF parser from the trunk sources.
1dead8a Import security fixes for readelf from the master branch:
3e3feb3 Limit multi-byte nop instructions to 10 bytes
f12dd7b S/390: Disable relocation sort against code sections.
846daac Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated
7235408 Tweak ppc32 tls_get_addr optimisation
642fe3b PowerPC64 thread-safe stubs not needed for iplt
2791b63 Use dynamic text relocs for protected vars
cff59f0 PowerPC64 GOLD: complain on misaligned _DS relocs
20951c8 Fix gold error: hidden symbol '...' is not defined locally
7428be5 [AArch64][2.25] Backport support for Cortex-A72
8093a8b [ARM][2.25] Backport support for Cortex-A72
f7cf878 [ARM] Backport "Skip private symbol when doing objdump"
031994d Add extern_protected_data and set it for x86

Additionally rearranges the local patches in sequence

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agogdb: Minor upgrade to 7.9.1
Khem Raj [Thu, 28 May 2015 18:05:28 +0000 (11:05 -0700)]
gdb: Minor upgrade to 7.9.1

Drop backported patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoglibc: ignore for musl/uclibc but only for target recipes
Khem Raj [Tue, 28 Apr 2015 09:16:07 +0000 (02:16 -0700)]
glibc: ignore for musl/uclibc but only for target recipes

we still need nativesdk  or native recipes for libc to come
from glibc, but only be ignored for target recipes types

Change-Id: Ibaf8114f2aef63f1eadf493b264e78cd928535a0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
9 years agoglibc: remove duplicate --disable-nscd from EXTRA_OECONF
Andre McCurdy [Mon, 1 Jun 2015 23:33:34 +0000 (16:33 -0700)]
glibc: remove duplicate --disable-nscd from EXTRA_OECONF

An appropriate --enable-nscd or --disable-nscd option is added to
EXTRA_OECONF based on the 'libc-inet-anl' DISTRO_FEATURES check.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorsync: backport a patch to fix CVE-2014-8242
Roy Li [Mon, 1 Jun 2015 06:58:00 +0000 (14:58 +0800)]
rsync: backport a patch to fix CVE-2014-8242

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agogawk: upgrade to 4.1.3
Chen Qi [Mon, 1 Jun 2015 09:44:13 +0000 (17:44 +0800)]
gawk: upgrade to 4.1.3

The following two patches are removed because they have been merged
in the new version.

    Use-DESTDIR-in-extension-Makefile.am-when-removing-..patch
    extension-Add-DESTDIR-prefix-to-remaining-pkgextensi.patch

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoutil-linux: upgrade to 2.26.2
Chen Qi [Mon, 1 Jun 2015 09:44:12 +0000 (17:44 +0800)]
util-linux: upgrade to 2.26.2

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoglibc: Fix __memcpy_chk on non-SSE2 CPUs
Andre McCurdy [Tue, 2 Jun 2015 01:06:44 +0000 (18:06 -0700)]
glibc: Fix __memcpy_chk on non-SSE2 CPUs

Backport from upstream glibc:

  https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=132a1328eccd20621b77f7810eebbeec0a1af187

Note that the fix is only required when glibc is built for i686/multiarch,
so is not applicable in the default oe-core x86 configuration (which builds
glibc for i586 and therefore does not include SSE2 optimised memcpy etc).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agopackagegroup-core-full-cmdline: remove lighttpd
Robert Yang [Tue, 2 Jun 2015 09:06:19 +0000 (02:06 -0700)]
packagegroup-core-full-cmdline: remove lighttpd

The packagegroup-core-full-cmdline-sys-services should not pull in
lighttpd, move it to packagegroup-core-lsb since lsb needs it.

[YOCTO #7086]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agorecipeutils: Add get_recipe_upstream_version and get_recipe_pv_without_srcpv functions
Aníbal Limón [Mon, 1 Jun 2015 21:45:25 +0000 (16:45 -0500)]
recipeutils: Add get_recipe_upstream_version and get_recipe_pv_without_srcpv functions

The get_recipe_upstream_version functions tries to get the current
version of recipe in upstream it uses bb.fetch2 latest_versionstring
method also latest_revision when is SCM.

The get_recipe_pv_without_srcpv discards the SRCPV in SCM's recipe like
git it returns a tuple with the version, prefix and suffix of a PV.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost: fix build for mips
Robert Yang [Mon, 1 Jun 2015 08:02:42 +0000 (01:02 -0700)]
boost: fix build for mips

Backport 2 patches to fix the build error on mips:
mips-poky-linux-g++: error: unrecognized command line option '-m32'

https://github.com/boostorg/build/commit/c0634341d9ee2c02d3a55c91dafb988afc066c49
https://github.com/boostorg/build/commit/9576ca216cae888d7efb5da97c009c245c5ba567

Apply the pacthes to both bjam-native and boost, so put the patches to
"files" dir.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Add note when performing sstate mirror checks
Richard Purdie [Mon, 1 Jun 2015 21:17:21 +0000 (22:17 +0100)]
sstate: Add note when performing sstate mirror checks

The build can pause whilst remote sstate mirrors are checked for
sstate objects. Inform the user this is happening.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosstate: Parallelise checkstatus calls for sstate mirror
Richard Purdie [Mon, 1 Jun 2015 21:16:17 +0000 (22:16 +0100)]
sstate: Parallelise checkstatus calls for sstate mirror

Currently the urls are checked serially which is a performance bottleneck when
looking at http:// urls in particular. This adds code to check the url status in
parallel, mirroring the way we do this elsewhere.

We need the datastore for the fetcher so we use threads, not multiprocess.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agooe/utils: Add simple threaded pool implementation
Richard Purdie [Mon, 1 Jun 2015 21:15:34 +0000 (22:15 +0100)]
oe/utils: Add simple threaded pool implementation

Python 2.7 doesn't have a threaded pool implementation, just a multiprocessing
one. We have need of a threaded implementation so add some simple class code
to support this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosoc-family.inc: Add a default SOC_FAMILY value
Richard Purdie [Mon, 1 Jun 2015 21:14:10 +0000 (22:14 +0100)]
soc-family.inc: Add a default SOC_FAMILY value

Otherwise, if MACHINEOVERRIDES is expanded before SOC_FAMILY is set
(which may happen as MACHINEOVERRIDES is included in OVERRIDES) we can
see:

ExpansionError: Failure expanding variable MACHINEOVERRIDES, expression was
${@['', '${SOC_FAMILY}:']['${SOC_FAMILY}' != '']}p1022ds
which triggered exception SyntaxError: EOL while scanning string literal (MACHINEOVERRIDES, line 1)

To avoid this, give SOC_FAMILY a default empty value so it doesn't
get read as None.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobase: Fix license checksum rebuild problems
Richard Purdie [Mon, 1 Jun 2015 21:13:23 +0000 (22:13 +0100)]
base: Fix license checksum rebuild problems

"MACHINE=qemux86-64 bitbake init-ifupdown; MACHINE=genericx86-64 bitbake init-ifupdown"
shows a rebuild when it would be expected. The reason is a LIC_FILES_CHKSUM which
contains file://${WORKDIR}, an absolute path which doesn't exist in the first build
but does in the second, causing a signature change and a rebuild.

Fix the problem by ignoring any file:// url which resolves since TMPDIR for
license file dependency purposes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqt4: unconditionally disable gstreamer 0.10 support in qt webkit
Alexander Kanavin [Wed, 27 May 2015 09:58:15 +0000 (12:58 +0300)]
qt4: unconditionally disable gstreamer 0.10 support in qt webkit

Previously it was auto-detected in a broken way, which was causing build errors
for qt-mobility. Qt4 build will fail if some gstreamer 0.10 packages are
available at build time, but not all. It will not fail if none of
the packages are available or if all of them are available. We can't guarantee either,
hence this patch.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxserver-nodm: Support reboot from inside X
Ricardo Ribalda Delgado [Wed, 20 May 2015 18:44:18 +0000 (13:44 -0500)]
xserver-nodm: Support reboot from inside X

If reboot was called from inside the Xserver there could happen a race
condition where chvt would never end, and therefore the whole system was
stalled.

The user could not recover the system by ssh the machine or using the
keyboard.

Running chvt in background fixes the issue.

Also move sleep 1s inside stop to give time for killproc xinit for
fix issue when chvt 1 don't work because X server is still running.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognutls: control zlib support via PACKAGECONFIG
Andre McCurdy [Wed, 27 May 2015 18:48:50 +0000 (11:48 -0700)]
gnutls: control zlib support via PACKAGECONFIG

Remains enabled by default, no functional change.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agognutls: use pkg-config to locate zlib
Andre McCurdy [Wed, 27 May 2015 18:48:49 +0000 (11:48 -0700)]
gnutls: use pkg-config to locate zlib

AC_LIB_HAVE_LINKFLAGS can sometimes find host libs and is therefore not
robust when cross-compiling. Remove it for zlib and use PKG_CHECK_MODULES
instead.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: Backport upstreamed version of patch to fix build on mips64
Khem Raj [Thu, 28 May 2015 04:51:55 +0000 (21:51 -0700)]
openssl: Backport upstreamed version of patch to fix build on mips64

Previous patch had a concern as well and this is a direct backport of
the patch fixing the problem.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled
Khem Raj [Thu, 28 May 2015 04:47:28 +0000 (21:47 -0700)]
alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled

The source file does not exist when pluseaudio is disabled

Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agomesa: Upgrade 10.5.4 -> 10.5.6
Jussi Kukkonen [Thu, 28 May 2015 11:14:10 +0000 (14:14 +0300)]
mesa: Upgrade 10.5.4 -> 10.5.6

Among other things fixes a bug that prevents Weston from starting
on i965.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopython3: fix build for shared object
Robert Yang [Thu, 28 May 2015 09:22:24 +0000 (02:22 -0700)]
python3: fix build for shared object

Fixed when build on armv7a_vfp_neon:
Python-3.3.3/Modules/_struct.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

All the archs should use -fPIC when build shared object for linux.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-tools: update makefile_no_gtk.patch
Kai Kang [Thu, 28 May 2015 08:23:04 +0000 (16:23 +0800)]
alsa-tools: update makefile_no_gtk.patch

makefile_no_gtk.patch will be applied when no 'x11' in distro features.
It fails to apply after update to version 1.0.29. Fix it.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrep: fix CVE-2015-1345
Kai Kang [Thu, 28 May 2015 01:26:15 +0000 (09:26 +0800)]
grep: fix CVE-2015-1345

Backport patch to fix CVE-2015-1345. The issue was introduced with
v2.18-90-g73893ff, and version 2.5.1a is not affected.

Replace tab with spaces in SRC_URI as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogpgme: fix CVE-2014-3564
Kai Kang [Thu, 28 May 2015 01:26:14 +0000 (09:26 +0800)]
gpgme: fix CVE-2014-3564

Backport patch to fix CVE-2014-3564.

http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=2cbd76f

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agosecurity_flags: Add comment about what it does and who uses it
Richard Purdie [Fri, 29 May 2015 13:16:50 +0000 (14:16 +0100)]
security_flags: Add comment about what it does and who uses it

It was pointed out that people couldn't easily see who used this or
why so add some comments about that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agolttng-ust: 2.6.0 -> 2.6.1
Robert Yang [Thu, 28 May 2015 09:07:05 +0000 (02:07 -0700)]
lttng-ust: 2.6.0 -> 2.6.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agonasm: 2.11.06 -> 2.11.08
Robert Yang [Thu, 28 May 2015 08:51:31 +0000 (01:51 -0700)]
nasm: 2.11.06 -> 2.11.08

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agognupg: 2.1.2 -> 2.1.4
Robert Yang [Thu, 28 May 2015 05:34:15 +0000 (22:34 -0700)]
gnupg: 2.1.2 -> 2.1.4

Updated dirmngr-uses-libgpg-error.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoman-pages: 3.83 -> 4.00
Robert Yang [Thu, 28 May 2015 05:30:43 +0000 (22:30 -0700)]
man-pages: 3.83 -> 4.00

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agocracklib: 2.9.3 -> 2.9.4
Robert Yang [Thu, 28 May 2015 05:29:12 +0000 (22:29 -0700)]
cracklib: 2.9.3 -> 2.9.4

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agopython-git: 1.0.0 -> 1.0.1
Robert Yang [Thu, 28 May 2015 05:27:23 +0000 (22:27 -0700)]
python-git: 1.0.0 -> 1.0.1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agogit: 2.3.7 -> 2.4.2
Robert Yang [Thu, 28 May 2015 05:24:28 +0000 (22:24 -0700)]
git: 2.3.7 -> 2.4.2

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agodebianutils: 4.4 -> 4.5
Robert Yang [Tue, 12 May 2015 09:13:48 +0000 (02:13 -0700)]
debianutils: 4.4 -> 4.5

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
9 years agoharfbuzz: upgrade to 0.9.40
Cristian Iorga [Mon, 25 May 2015 13:10:50 +0000 (16:10 +0300)]
harfbuzz: upgrade to 0.9.40

- Optimizations and refactoring;
- Bug fixes.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowpa-supplicant: upgrade to 2.4
Yue Tao [Tue, 26 May 2015 04:55:42 +0000 (12:55 +0800)]
wpa-supplicant: upgrade to 2.4

1. upgrade to 2.4
2. update the checksum, and license checksum since date in it is changed
3. Backport a patch to fix CVE-2015-1863
4. remove two deprecated patches

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoppp: Security Advisory - CVE-2015-3310
Roy Li [Tue, 26 May 2015 09:21:03 +0000 (17:21 +0800)]
ppp: Security Advisory - CVE-2015-3310

http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3310

Buffer overflow in the rc_mksid function in plugins/radius/util.c in
Paul's PPP Package (ppp) 2.4.6 and earlier, when the PID for pppd is
greater than 65535, allows remote attackers to cause a denial of
service (crash) via a start accounting message to the RADIUS server.

oe-core is using ppp 2.4.7, and this CVE say ppp 2.4.7 was not
effected, but I found this buggy codes are same between 2.4.6 and
2.4.7, and 2.4.7 should have this issue.

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoboost: extend libraries with log and random
Lukas Bulwahn [Tue, 26 May 2015 13:23:21 +0000 (15:23 +0200)]
boost: extend libraries with log and random

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoxkeyboard-config: bring back Philippines keyboard symbols
Ross Burton [Tue, 26 May 2015 20:02:51 +0000 (21:02 +0100)]
xkeyboard-config: bring back Philippines keyboard symbols

Now that upstream has relicensed the Philippines symbols to remove the GPLv3
license, backport the patch instead of removing the file.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogcc-source.inc: set PATH for gnu-configize, not for cd
Andre McCurdy [Tue, 26 May 2015 23:04:31 +0000 (16:04 -0700)]
gcc-source.inc: set PATH for gnu-configize, not for cd

Setting OE's PATH for the 'cd' command has no real effect.

In the normal case it has no effect for the gnu-configize command
either (since OE's PATH is already set in the context which runs
do_preconfigure) but it may be useful when manually re-running a
failed gnu-configize commandline copied from an error log, etc.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoqemu: fix CVE-2015-3456
Kai Kang [Tue, 26 May 2015 07:14:43 +0000 (15:14 +0800)]
qemu: fix CVE-2015-3456

Backport patch to fix qemuc CVE issue CVE-2015-3456.

Refs:
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3456
http://git.qemu.org/?p=qemu.git;a=commit;h=e907746266721f305d67bc0718795fedee2e824c

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoapt: upgrade to 1.0.9.9
Roy Li [Wed, 27 May 2015 07:58:49 +0000 (15:58 +0800)]
apt: upgrade to 1.0.9.9

1. Upgrade to fix the several CVEs: CVE-2014-0488, CVE-2014-0490
2. Remove apt-0.9.9.4-CVE-2014-0478.patch, which was backport.
3. Romve no-ko-translation.patch, apt-1.0.9.9 has ko translation
4. Update use-host.patch no-curl.patch db_linking_hack.patch and
noconfigure.patch
5. Not build the test cases since it requires gtest
6. install libapt-private.so.* to libdir, otherwise this file is
not installed into sysroot for native, and apt-get will use host's,
and lead to fail
7. Revert apt commit[a2a75ff45]"always run 'dpkg --configure -a'
at the end of our dpkg callings" for native package, otherwise
the postscript for these installed packages will be run, and fail
since the rootfs dir is not considered
8. Add lzma dependency by PACKAGECONFIG for target, and add xz
dependency for native
9. Support to compile apt-native on centos6

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Acked-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowaffle: Upgrade 1.3.0 -> 1.5.1
Jussi Kukkonen [Wed, 27 May 2015 08:16:53 +0000 (11:16 +0300)]
waffle: Upgrade 1.3.0 -> 1.5.1

* Update SRC_URI to waffle-gl.org
* Add new cmake files to -dev package
* Inherit lib_package so the new wflinfo binary is packaged properly
* Fix PACKAGECONFIG line for gbm
* Add the not-found configuration for all PACKAGECONFIG options to make
  builds reproducible (the default builds if dependencies are there)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: refactored processing of wic exceptions
Ed Bartosh [Wed, 27 May 2015 11:05:20 +0000 (14:05 +0300)]
wic: refactored processing of wic exceptions

All wic exceptions are now inherited from new base exception
class WicError. It makes them easy to maintain and catch.

Processing of exceptions is done this way:
    Known wic exceptions cause wic to print error message to stdout.
    Unknown exceptions are not catched anymore and produce standard
    python traceback.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agowic: do not strip traceback
Ed Bartosh [Wed, 27 May 2015 10:49:45 +0000 (13:49 +0300)]
wic: do not strip traceback

Printing only first 5 levels of wic traceback makes it almost
useless as the most valuable part of it is stripped.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoupdate-rc.d: Improve RRECOMMENDS handling
Richard Purdie [Wed, 27 May 2015 16:28:12 +0000 (17:28 +0100)]
update-rc.d: Improve RRECOMMENDS handling

Unfortunately the combination of:

RRECOMMENDS_${PN} = "X"
UPDATERCPN = "${PN}"
RRECOMMENDS_${UPDATERCPN}_append = "Y"

is tricky for bitbake to order correctly since RRECOMMENDS_${UPDATERCPN} can
become "Y" which can then completely overwrite RRECOMMENDS_${PN}.

Avoid these issues and improve handling in general by explictly setting
the RRECOMMENDS on the list of packages modified in the general
code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agobitbake.conf: Use immediate expansion for os.uname()
Richard Purdie [Tue, 26 May 2015 10:42:26 +0000 (11:42 +0100)]
bitbake.conf: Use immediate expansion for os.uname()

Use immediate expansion for BUILD_ARCH and BUILD_OS since there is no
point in repeatedly calling os.uname() throughout parsing. This is
worth around 2% of parsing time, small but measurable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoavahi: Fix key expansion variable masking
Richard Purdie [Tue, 26 May 2015 10:41:41 +0000 (11:41 +0100)]
avahi: Fix key expansion variable masking

bitbake -b avahi_ -e | grep FILES_avahi=

shows this code from http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master&id=093149d22461a3a76980635bc46cdba1c7c0b181
doesn't do what is expected. This is due to key expansion. Change to use ${PN}
to avoid warnings with new versions of bitbake.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Build uImage only when really needed
Marek Vasut [Thu, 14 May 2015 12:31:13 +0000 (14:31 +0200)]
kernel: Build uImage only when really needed

Build the uImage file using the kernel build system only when
it is really required, which is only in case KEEPUIMAGE == yes.
Otherwise, just build zImage, since the Yocto build system will
handle the uImage generation for us.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Add basic fitImage support
Marek Vasut [Thu, 14 May 2015 12:31:12 +0000 (14:31 +0200)]
kernel: Add basic fitImage support

This patch adds support for generating a kernel fitImage, which is
a a successor to the uImage format. Unlike uImage, which could only
contain the kernel image itself, the fitImage can contain all kinds
of artifacts, like the kernel image, device tree blobs, initramfs
images, binary firmwares etc. Furthermore, the fitImage supports
different kinds of checksums, not only CRC32 like the uImage did.
Last, but not least, fitImage supports signatures such that either
the whole image or it's parts can be signed and then in turn can
be verified by the bootloader.

So far we only add support for wrapping the kernel image and DTB
into the fitImage. The fitImage uses the sha1 checksum, which is
the default.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Build DTBs early
Marek Vasut [Thu, 14 May 2015 12:31:11 +0000 (14:31 +0200)]
kernel: Build DTBs early

Pull out the compilation of the DTB blobs right after the kernel's
own do_compile function finishes. This makes them available just in
time for the kernel image construction functions.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Separate out uboot_prep_kimage
Marek Vasut [Thu, 14 May 2015 12:31:10 +0000 (14:31 +0200)]
kernel: Separate out uboot_prep_kimage

Separate the function which prepares the kernel for packing into
uImage into separate class, so this function can be reused by the
fitImage class.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Pull uImage generation into separate class
Marek Vasut [Thu, 14 May 2015 12:31:09 +0000 (14:31 +0200)]
kernel: Pull uImage generation into separate class

Pull the uImage image format generation from kernel.bbclass into
a separate kernel-uimage.bbclass. Introduce new KERNEL_CLASSES
variable, which allows registration of additional classes which
implement new kernel image types. The default value of is to
register kernel-uimage to preserve the original behavior.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Pull out the linux.bin generation
Marek Vasut [Thu, 14 May 2015 12:31:08 +0000 (14:31 +0200)]
kernel: Pull out the linux.bin generation

Pull the generation of linux.bin image, which is then packed into uImage,
into a separate function. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Rework do_uboot_mkimage
Marek Vasut [Thu, 14 May 2015 12:31:07 +0000 (14:31 +0200)]
kernel: Rework do_uboot_mkimage

Rework the function so part it's internals can be re-used by fitImage
image type. The name of the temporary file , linux.bin , is recycled
a little more as it's now used for both the case where it is gzip
compressed and where it is not. This should be fine, since the file
is temporary and removed after the uImage was created anyway.

There is no functional change here.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agokernel: Clean up KERNEL_IMAGETYPE_FOR_MAKE
Marek Vasut [Thu, 14 May 2015 12:31:06 +0000 (14:31 +0200)]
kernel: Clean up KERNEL_IMAGETYPE_FOR_MAKE

Remove the lambda function setting KERNEL_IMAGETYPE_FOR_MAKE and instead
set it in the anonymous python function. This also allows us to handle
image types which are not supported directly by kernel, but require some
other kernel target to be built. This is the case for example with the
fitImage, which is the uImage successor.

There is no functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agogrep: Fix LSB NG Cases for gplv2 version.
Li xin [Mon, 25 May 2015 02:18:43 +0000 (10:18 +0800)]
grep: Fix LSB NG Cases for gplv2 version.

-/tset/LI18NUX2K.L1/utils/egrep-tp/T.egrep-tp 5
-/tset/LI18NUX2K.L1/utils/fgrep/T.fgrep 5
-/tset/LI18NUX2K.L1/utils/grep-tp/T.grep-tp 5

The LSB core test requires grep egrep and fgrep can
perform pattern matching in searches without regard
to case if -i option is specified.

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonative: Improve PROVIDES handling
Richard Purdie [Mon, 25 May 2015 07:52:22 +0000 (08:52 +0100)]
native: Improve PROVIDES handling

Since this class works on pre finalised data, the logic hasn't needed
to be exact. If we change the way the finalised data works, we find
that certain dependencies can be dropped (e.g. pn isn't in the name).

To fix this, restructure the function to alter each entry in turn
and not drop any entries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoautotools: Use space with prepend to clean up variable whitespace
Richard Purdie [Mon, 25 May 2015 07:49:40 +0000 (08:49 +0100)]
autotools: Use space with prepend to clean up variable whitespace

Correct the whitespace in this variable to make this more readable when
debugging, no functional change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopackagegroup-core-x11-sato: add PulseAudio
Tanu Kaskinen [Fri, 22 May 2015 18:51:56 +0000 (21:51 +0300)]
packagegroup-core-x11-sato: add PulseAudio

This enables PulseAudio in the Sato images.

[YOCTO #7517]

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopulseaudio-client-conf-sato: initial recipe
Tanu Kaskinen [Fri, 22 May 2015 18:51:55 +0000 (21:51 +0300)]
pulseaudio-client-conf-sato: initial recipe

This recipe is related to enabling PulseAudio in Sato images. We will
rely on PulseAudio's autospawn feature to automatically start the
daemon. The graphical session in Sato runs under root, however, and
PulseAudio disables autospawning for root by default. We provide a
client.conf fragment in Sato to change that default setting.

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopulseaudio: conf-parser: add support for .d directories
Tanu Kaskinen [Fri, 22 May 2015 18:51:54 +0000 (21:51 +0300)]
pulseaudio: conf-parser: add support for .d directories

Sato images should set allow-autospawn-for-root=true in
/etc/pulse/client.conf, but in non-Sato images that option should be
disabled by default. I first tried to have two packages that ship
different versions of the client.conf file, but it turned out to be
tricky to ensure that the package manager always chooses the package
that provides the default version when the Sato package is not
explicitly requested. This patch allows the Sato specific
configuration to be installed in /etc/pulse/client.conf.d without
replacing the default version of client.conf, which makes packaging
much simpler.

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agopulseaudio: client-conf: Add allow-autospawn-for-root
Tanu Kaskinen [Fri, 22 May 2015 18:51:53 +0000 (21:51 +0300)]
pulseaudio: client-conf: Add allow-autospawn-for-root

This is related to enabling PulseAudio in Sato images. Sato doesn't
have regular users; the graphical session is run as root. PulseAudio
disables autospawning for root, but in Sato that's not the desired
behaviour. This patch allows autospawning to be enabled for root in
systems where that makes sense.

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoalsa-plugins: initial recipe
Tanu Kaskinen [Fri, 22 May 2015 18:51:52 +0000 (21:51 +0300)]
alsa-plugins: initial recipe

When PulseAudio is installed, alsa-plugins is needed to provide
compatibility for ALSA applications.

The dependencies are set up so that pulseaudio-server depends on
alsa-plugins-pulseaudio-conf, and alsa-plugins-pulseaudio-conf depends
on the PulseAudio plugins. This should make the ALSA->PulseAudio
compatibility configuration work out of the box, while leaving the
PulseAudio specific configuration out on systems that don't have
pulseaudio-server installed.

The alsa-plugins recipes in meta-guacamayo and meta-webos were used as
references, but this recipe is not a straight copy of either.

Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoeglibc-use-option-groups: Conditionally exclude c++ tests
Juro Bystricky [Fri, 22 May 2015 16:52:37 +0000 (09:52 -0700)]
eglibc-use-option-groups: Conditionally exclude c++ tests

Some test programs written in c++ are still included in spite of
"libc-cxx-tests" being omitted from DISTRO_FEATURES_LIBC.
All .cc programs are compiled with g++.
g++ automatically specifies linking against the C++ library.
This patch conditionally excludes the following tests as well:

  bug-atexit3-lib.cc
  tst-cancel24.cc
  tst-cancel24-static.cc
  tst-unique3lib.cc
  tst-unique3lib2.cc
  tst-unique4lib.cc
  tst-unique3.cc
  tst-unique4.cc

Tested with DISTRO_FEATURES_LIBC_remove = " libc-cxx-tests"

[YOCTO #7003]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoimage.bbclass: Add a method for creating a companion debug filesystem
Mark Hatle [Fri, 22 May 2015 19:56:53 +0000 (12:56 -0700)]
image.bbclass: Add a method for creating a companion debug filesystem

The companion debug filesystem contains only the package database and the
complementary *-dbg packages for the main filesystem component.  This is
useful in a production environment to produce a companion filesystem capable
of remote system debugging, without requiring corresponding debug symbols or
source code on the device.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
If dbg pkgs have already been installed to the rootfs image,
the installation to companion debug filesystem will fail,
because both of image creation make use of the same pm
database.

In this situation, try to copy installed dbg files from rootfs
image to companion debug filesystem.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Acked-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agoopenssl: Fix build with gcc5 on mips64
Khem Raj [Fri, 22 May 2015 19:56:51 +0000 (12:56 -0700)]
openssl: Fix build with gcc5 on mips64

Patch is submitted upstream as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 years agonpth: Upgrade to 1.2
Saul Wold [Fri, 22 May 2015 15:26:48 +0000 (08:26 -0700)]
npth: Upgrade to 1.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agolibassuan: Upgrade to 2.2.1
Saul Wold [Fri, 22 May 2015 15:26:47 +0000 (08:26 -0700)]
libassuan: Upgrade to 2.2.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
9 years agoboost/bjam-native: Upgrade to 1.58.0
Saul Wold [Fri, 22 May 2015 15:26:46 +0000 (08:26 -0700)]
boost/bjam-native: Upgrade to 1.58.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>