]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agolibproxy: let INCOMPATIBLE_LICENSE supports wildcard
Hongxu Jia [Mon, 15 Dec 2014 09:03:28 +0000 (17:03 +0800)]
libproxy: let INCOMPATIBLE_LICENSE supports wildcard

While wildcard in INCOMPATIBLE_LICENSE, such as INCOMPATIBLE_LICENSE =
"*GPL-3", libproxy could correct work.

[YOCTO #5592]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agodefault-versions.inc: let INCOMPATIBLE_LICENSE supports wildcard
Hongxu Jia [Mon, 15 Dec 2014 08:58:02 +0000 (16:58 +0800)]
default-versions.inc: let INCOMPATIBLE_LICENSE supports wildcard

While wildcard in INCOMPATIBLE_LICENSE, such as INCOMPATIBLE_LICENSE =
"*GPL-3", PREFERRED_VERSION_db-native could have the correct value "5.%"

[YOCTO #5592]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agobase/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE
Hongxu Jia [Mon, 15 Dec 2014 08:55:10 +0000 (16:55 +0800)]
base/license.bbclass: expand wildcards in INCOMPATIBLE_LICENSE

The whitelist processing in code in base.bbclass does not play well with
wildcards in INCOMPATIBLE_LICENSES. The code expects bad_licenses to
contain actual license names, not wildcards.

Add incompatible_license_contains to replace bb.utils.contains(
"INCOMPATIBLE_LICENSE", **, **, **, d)

[YOCTO #5592]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10 years agogcc runtime: specify license on a per package basis
Joe Slater [Tue, 16 Dec 2014 22:55:20 +0000 (14:55 -0800)]
gcc runtime: specify license on a per package basis

It can be alarming to attempt to exclude GPLv3 from an
image but find that libstdc++ and libgcc still show it.
We indicate the license for each package to show libraries
that really are just GCC-3.0-with-GCC-exception.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotoaster.bbclass: trigger event for other image files
Alexandru DAMIAN [Wed, 10 Dec 2014 14:44:59 +0000 (14:44 +0000)]
toaster.bbclass: trigger event for other image files

Toaster will log all the files that it can find in the
deploy images directory, and list them, considering that
they may be artifacts of the current build not logged
anywhere else.

[YOCTO #6836]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: backport patch to fix reading journal backwards
Jonathan Liu [Fri, 12 Dec 2014 13:16:29 +0000 (00:16 +1100)]
systemd: backport patch to fix reading journal backwards

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agofont-util: Fix incorrect PKG_CONFIG_PATH
Richard Tollerton [Fri, 12 Dec 2014 19:34:00 +0000 (13:34 -0600)]
font-util: Fix incorrect PKG_CONFIG_PATH

PKG_CONFIG_PATH always defaults to /usr/lib/pkgconfig, and the host
/usr/lib/pkgconfig is always checked as a fallback; however,
PKG_CONFIG_PATH is currently (incorrectly) set to /usr/lib/pkg-config in
the sysroot, which doesn't exist. On host distros where the font
encoding maps are stored under a different path than OE, this will break
font builds, because ucs2any will attempt to read the sysroot's encoding
maps with the host paths.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage.bbclass: do variable fixups even when FILES was set
Peter Seebach [Mon, 8 Dec 2014 23:53:59 +0000 (17:53 -0600)]
package.bbclass: do variable fixups even when FILES was set

A number of settings (DESCRIPTION, SUMMARY, postinst, postrm,
and appends to RDEPENDS) were made only if FILES_foo was not
set for a given package. If you had a modified glibc packaging
setup that was defining FILES_glibc-gconv-somelocale, this would
prevent the automatic append of glibc-gconv as a dependency,
because extra_depends was ignored.

I think the assumption may have been that if FILES_foo was set,
DESCRIPTION_foo and SUMMARY_foo would also be set, but it seems
to me that the right answer is probably to set them if they aren't
already set, and leave them alone if they are.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agokernel.bbclass: Remove bashism
Khem Raj [Fri, 12 Dec 2014 20:47:43 +0000 (12:47 -0800)]
kernel.bbclass: Remove bashism

Fixes build on systems using dash for default shell e.g.

errors like

run.do_strip.25842: [[: not found
| readelf: Error: Unable to read in 0x37 bytes of section headers
| readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

Change-Id: I29cac15be44a02d75a3d6889b6ae9b2e19bf46af
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage_types.bbclass: Populate cpio /init as symlink
Nathan Rossi [Tue, 9 Dec 2014 05:50:05 +0000 (15:50 +1000)]
image_types.bbclass: Populate cpio /init as symlink

For cpio/ramfs the kernel will first attempt to execute /init and will
emit the following error as the file is empty:

    Failed to execute /init (error -13)

If /sbin/init exists symlink to it so the kernel can immediately start
the correct init executable instead of an empty file.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoshadow: disable nscd feature when glibc is not built with spawn posix functions
Baptiste DURAND [Fri, 5 Dec 2014 14:40:16 +0000 (15:40 +0100)]
shadow: disable nscd feature when glibc is not built with spawn posix functions

shadow package  configure step fails with this log output :
| checking location of faillog/lastlog/wtmp... (cached) /var/log
| checking location of the passwd program... (cached) /usr/bin
| checking for posix_spawn... no
| configure: error: posix_spawn is needed for nscd support
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed

Signed-off-by: Baptiste DURAND <baptiste.durand@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognutls: upgrade to 3.3.11
Armin Kuster [Sat, 13 Dec 2014 16:26:11 +0000 (08:26 -0800)]
gnutls: upgrade to 3.3.11

this also includes a fix for CVE-2014-8564.

see http://www.gnutls.org/security.html for CVE-2014-3566 "POODLE" statement.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackagegroup-core-tools-profile: allow lttng-modules for ARM
Nathan Lynch [Mon, 15 Dec 2014 18:17:32 +0000 (12:17 -0600)]
packagegroup-core-tools-profile: allow lttng-modules for ARM

Per commit f6587be6cd3dc864143b1c0be0bb8179a61dc835 (lttng-modules:
re-enable ARM builds) lttng-modules is fine for ARM now.  Without this
additional change, tools-profile won't bring in lttng-modules when
targeting ARM.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoglibc: CVE 2014-7817 and 2012-3406 fixes
Armin Kuster [Tue, 16 Dec 2014 02:19:05 +0000 (18:19 -0800)]
glibc: CVE 2014-7817 and 2012-3406 fixes

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoopenssh: move setting LD to allow for correct override
Saul Wold [Mon, 15 Dec 2014 19:21:49 +0000 (11:21 -0800)]
openssh: move setting LD to allow for correct override

Using the export LD in the recipe does not allow for secodnary toolchain
overriding LD later, by setting it in the do_configure_append the export
is used by autotools setting LD based on the env, but would allow for
override later.

[YOCTO #6997]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqemu: disable vte if gtk is also disabled
Richard Tollerton [Thu, 11 Dec 2014 18:52:57 +0000 (12:52 -0600)]
qemu: disable vte if gtk is also disabled

vte will pull in the gtk libs itself. This can cause build failures if
the native gtk was build with glib>=2.41 while the sysroot native glib
is <=2.40.

Fix for [YOCTO #7077].

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogstreamer1.0-* fix configure for out of tree build on git recipes
Awais Belal [Tue, 16 Dec 2014 15:46:40 +0000 (15:46 +0000)]
gstreamer1.0-* fix configure for out of tree build on git recipes

The autogen.sh script lies in the srcdir ($S) and is required to be run on git
based checkouts of gstreamer packages in order to generate initial
makefiles. So, we fix this by cd'ing to the specific dir, run the required
script and then come back to our initial dir which is builddir ($B).
Additionally rather than overriding the whole do_configure step we only _prepend
to make it clear what we are doing here.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoconnman: use PACKAGECONFIG to control systemd option
Ross Burton [Tue, 16 Dec 2014 15:25:23 +0000 (15:25 +0000)]
connman: use PACKAGECONFIG to control systemd option

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoofono: use PACKAGECONFIG for systemd and bluetooth
Ross Burton [Tue, 16 Dec 2014 14:11:00 +0000 (14:11 +0000)]
ofono: use PACKAGECONFIG for systemd and bluetooth

For clarity use PACKAGECONFIG for the systemd and bluetooth optional features.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogst-plugins-bad: add PACKAGECONFIG for the RTMP plugin
Ross Burton [Thu, 11 Dec 2014 11:25:46 +0000 (11:25 +0000)]
gst-plugins-bad: add PACKAGECONFIG for the RTMP plugin

The RTMP plugin was non-deterministic, based on whether rtmpdump from
meta-multimedia had been built.  Add a PACKAGECONFIG to resolve this.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogst-plugins: remove spurious whitespace
Ross Burton [Thu, 11 Dec 2014 11:07:55 +0000 (11:07 +0000)]
gst-plugins: remove spurious whitespace

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoserf: readded md5sum
Enrico Scholz [Tue, 9 Dec 2014 10:21:06 +0000 (11:21 +0100)]
serf: readded md5sum

Commit 36d94ed631f1a753482282fced7d3b7505d5e03d ("serf: fix 'ccache'
builds") removed the source md5sum accidentally while resolving a
merge conflict.

Readd it.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Kang Kai <Kai.Kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogsettings-desktop-schemas: remove
Ross Burton [Wed, 10 Dec 2014 12:52:11 +0000 (12:52 +0000)]
gsettings-desktop-schemas: remove

This is not used in oe-core and now has a new home in meta-gnome.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agonpth: npth needs pthread in some cases
Saul Wold [Mon, 10 Nov 2014 21:59:03 +0000 (13:59 -0800)]
npth: npth needs pthread in some cases

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agobabeltrace: Update to 1.2.4
Saul Wold [Mon, 1 Dec 2014 17:47:11 +0000 (09:47 -0800)]
babeltrace: Update to 1.2.4

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoprocps: Upgrade to 3.3.10
Saul Wold [Sat, 6 Dec 2014 07:38:51 +0000 (23:38 -0800)]
procps: Upgrade to 3.3.10

This is now the procps-ng version

cleaned up patches
added to fix up usrbin_execprefix in OE-Core

Add CPPFLAGS to allow seperate build directory works

[YOCTO #6952]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython-pycurl: build docstrings to fix rebuilds
Ross Burton [Tue, 9 Dec 2014 15:05:35 +0000 (15:05 +0000)]
python-pycurl: build docstrings to fix rebuilds

On a rebuild base.bbclass will invoke "make clean" to ensure that old build
objects are not used. This will delete docstrings.c and the only way to
re-generate that is with a dedicated setup.py target.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agovalgrind: update to 3.10.1
Kai Kang [Tue, 9 Dec 2014 09:36:41 +0000 (17:36 +0800)]
valgrind: update to 3.10.1

Update valgrind from 3.10.0 to 3.10.1 which is a bug fix release.  It
fixes various bugs reported in 3.10.0 and backports fixes for all
reported missing AArch64 ARMv8 instructions and syscalls from the trunk.

Add dependency perl-module-file-glob for ptest subpackage.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoapr: avoid absolute paths for grep
Jackie Huang [Mon, 8 Dec 2014 06:08:03 +0000 (01:08 -0500)]
apr: avoid absolute paths for grep

The apr provides usr/share/build-1/libtool which is required by
the recipe such as apache2, and it will find grep on the host
and set absolute paths in libtool: GREP="/usr/bin/grep"

If we build apr/apr-native on a host that grep is in "/usr/bin/grep",
and re-use the sstate on another host with "/bin/grep", it will fail
when build apache2/apache2-native with:

| tmp/sysroots/x86_64-linux/usr/share/build-1/libtool: line 1093: /usr/bin/grep: No such file or directory
| tmp/sysroots/intel-x86-64/usr/share/build-1/libtool: line 1093: /usr/bin/grep: No such file or directory

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomidori: update to 0.5.8
Andreas Müller [Fri, 5 Dec 2014 08:11:55 +0000 (09:11 +0100)]
midori: update to 0.5.8

midori has moved to cmake for configuration

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocpio: fix bug CVE-2014-9112 for cpio-2.11
Bian Naimeng [Mon, 8 Dec 2014 05:45:07 +0000 (13:45 +0800)]
cpio: fix bug CVE-2014-9112 for cpio-2.11

Obtain detain from following URL.
  http://lists.gnu.org/archive/html/bug-cpio/2014-12/msg00000.html
  http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=746f3ff670dcfcdd28fcc990e79cd6fccc7ae48d

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocpio: fix bug CVE-2014-9112 for cpio-2.8
Bian Naimeng [Mon, 8 Dec 2014 05:45:06 +0000 (13:45 +0800)]
cpio: fix bug CVE-2014-9112 for cpio-2.8

Obtain detain from following URL.
http://lists.gnu.org/archive/html/bug-cpio/2014-12/msg00000.html
http://git.savannah.gnu.org/cgit/cpio.git/commit/?id=746f3ff670dcfcdd28fcc990e79cd6fccc7ae48d

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibxcb, xcbproto: upgrade to version 1.11
Awais Belal [Mon, 8 Dec 2014 11:17:22 +0000 (16:17 +0500)]
libxcb, xcbproto: upgrade to version 1.11

Update libxcb and xcb-proto to 1.11 from 1.10.

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoautoconf: disable checking for emacs
Dan McGregor [Wed, 19 Nov 2014 20:12:05 +0000 (14:12 -0600)]
autoconf: disable checking for emacs

Emacs is somewhat broken on Fedora 21. Don't check for it. We
don't need it.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
10 years agobluez5: support experimental through PACKAGECONFIG
Peter A. Bigot [Mon, 3 Nov 2014 17:47:03 +0000 (11:47 -0600)]
bluez5: support experimental through PACKAGECONFIG

Make it simple to enable the experimental plugins and tools.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
10 years agobluez5: add a package for tools left in the build area
Peter A. Bigot [Mon, 10 Nov 2014 18:05:54 +0000 (12:05 -0600)]
bluez5: add a package for tools left in the build area

In bluez4 gatttool was provided as a command-line interface to the
Generic Attribute Profile.  In bluez5 this tool is still built but is no
longer installed.  It is still necessary for those wishing to use GATT
since the programmatic API is not yet mature.  A variety of other useful
tools are treated similarly by bluez5.

Make these tools available in the bluez5-noinst-tools package, in a way
that allows control over which tools are packaged, with the default
being all that are provided in a particular release of bluez.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
10 years agobluez-hcidump: select provider as bluez4 or bluez5
Peter A. Bigot [Sat, 1 Nov 2014 20:35:34 +0000 (15:35 -0500)]
bluez-hcidump: select provider as bluez4 or bluez5

bluez-hcidump was a separate package in bluez4, but was integrated into
bluez5.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
10 years agopython3-core: Fix minimal python3 install
Alejandro Hernandez [Thu, 4 Dec 2014 19:09:35 +0000 (13:09 -0600)]
python3-core: Fix minimal python3 install

Added additional runtime dependencies for python3-core needed
to run the interpreter with a minimal install (codecs,io,math,reprlib).

Created python3-reprlib package to avoid getting python3-misc bringing
lots of unneeded libraries.

Fixed FILES-python3-core, missing _sysconfigdata, renamed copyreg
undetected before due to previously needed installation of python3-misc.

[YOCTO #6967]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython: add python-codecs runtime dependency for python-json
Magnus Olsson [Fri, 5 Dec 2014 10:03:46 +0000 (11:03 +0100)]
python: add python-codecs runtime dependency for python-json

A piece of JSON initialization code that runs when you "import json"
tries to use the hex-decoder, thus breaks if you do not have
python-codecs installed. Example:

    >>> import json
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/json/__init__.py", line 108, in <module>
        from .decoder import JSONDecoder
      File "/usr/lib/python2.7/json/decoder.py", line 24, in <module>
        NaN, PosInf, NegInf = _floatconstants()
      File "/usr/lib/python2.7/json/decoder.py", line 18, in _floatconstants
        _BYTES = '7FF80000000000007FF0000000000000'.decode('hex')
    LookupError: no codec search functions registered: can't find encoding

This patch adds a runtime dependency on python-codecs for python-json and
re-generates the python manifests for Python v2.7. Solves [YOCTO #7020].

Signed-off-by: Magnus Olsson <magnus@minimum.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython: fix ssl import error
Maxin B. John [Fri, 5 Dec 2014 17:08:49 +0000 (18:08 +0100)]
python: fix ssl import error

Fix this ssl import error:
Python 2.7.3 (default, Dec  5 2014, 16:24:17)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/ssl.py", line 92, in <module>
    import base64        # for DER-to-PEM translation
ImportError: No module named base64

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogstreamer1.0-libav: specify proper cross-prefix
Awais Belal [Fri, 5 Dec 2014 11:40:10 +0000 (16:40 +0500)]
gstreamer1.0-libav: specify proper cross-prefix

This avoids a compile failure locating ranlib by providing
the correct cross-prefix for build.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoxorg-xserver: Upgrade to 1.16.2.
Aníbal Limón [Thu, 4 Dec 2014 20:58:26 +0000 (14:58 -0600)]
xorg-xserver: Upgrade to 1.16.2.

Add PACKAGECONFIG systemd, xserver-xorg now depends in dbus because
adds support for systemd-logind, dbus is used by xserver-xorg to
communicate with systemd.

Add conditional enablement of systemd-logind if DISTRO_FEATURES contains
systemd.

Remove crosscompile, mips64-compile and present-module because are already
in upstream.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
10 years agomesa: Upgrade to 10.3.4.
Aníbal Limón [Thu, 4 Dec 2014 04:11:11 +0000 (22:11 -0600)]
mesa: Upgrade to 10.3.4.

Remove 0002-pipe_loader_sw-include-xlib_sw_winsys.h-only-when-HA,
0003-EGL-Mutate-NativeDisplayType-depending-on-config.patch and
0006-fix-out-of-tree-egl.patch are already in upstream.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
10 years agodtc: don't use autotools as this doesn't use autotools
Ross Burton [Fri, 5 Dec 2014 20:37:42 +0000 (20:37 +0000)]
dtc: don't use autotools as this doesn't use autotools

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqemu/libc-package: Fix qemu option handling
Richard Purdie [Thu, 4 Dec 2014 19:49:19 +0000 (19:49 +0000)]
qemu/libc-package: Fix qemu option handling

The 'overrides' here are PACKAGE_ARCH based and hence not overrides
as such and the _append wasn't working in many cases. This adjusts the
code to use PACKAGE_ARCH as the accessor and ensures the variables
work as expected. This fixes various segfaults and ensures postinsts
run at build time rather than on the target system.

The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibnewt: set CLEANBROKEN
Ross Burton [Fri, 5 Dec 2014 11:37:58 +0000 (11:37 +0000)]
libnewt: set CLEANBROKEN

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibdrm: Upgrade to 2.4.58.
Aníbal Limón [Thu, 4 Dec 2014 03:55:32 +0000 (21:55 -0600)]
libdrm: Upgrade to 2.4.58.

Disable man pages creation because it needs to download docbook.xsl from
upstream site and sometimes can't (resource unavailable) and this cause
build fails.

Remove GNU_SOURCE_definition patch it's already integrated in upstream.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
10 years agobzip2: use subdir SRC_URI param instead of adding tasks
Ross Burton [Thu, 4 Dec 2014 16:26:17 +0000 (16:26 +0000)]
bzip2: use subdir SRC_URI param instead of adding tasks

Instead of adding new tasks to move files around, just use the subdir SRC_URI
parameter.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotcmode-default.inc: use GCCVERSION for gcc-source
Koen Kooi [Thu, 4 Dec 2014 07:30:18 +0000 (08:30 +0100)]
tcmode-default.inc: use GCCVERSION for gcc-source

This was missing leading to gcc-source-<foo> being built when using gcc-cross-<bar> with GCCVERSION=bar.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodefault-distrovars: add gcc-source recipe to the GPLv3 whitelist
Ross Burton [Thu, 4 Dec 2014 15:20:53 +0000 (15:20 +0000)]
default-distrovars: add gcc-source recipe to the GPLv3 whitelist

gcc-source is a convenience recipe to save duplicate copies of the GCC source
tree and should be whitelisted for GPLv3 avoidance along with the rest of GCC.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogcc: stub do_fetch instead of removing it
Ross Burton [Thu, 4 Dec 2014 15:13:25 +0000 (15:13 +0000)]
gcc: stub do_fetch instead of removing it

Whilst gcc doesn't have any source to fetch, it still needs a fetch task so that
a world fetch can run without errors.  So instead of deleting the fetch task,
stub it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocwautomacros: stub do_configure to avoid cleaning
Ross Burton [Thu, 4 Dec 2014 14:20:19 +0000 (14:20 +0000)]
cwautomacros: stub do_configure to avoid cleaning

cwuatomacros's build system doesn't have a clean target, so stub out
do_configure to a no-op.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognome-doc-utils: set CLEANBROKEN
Ross Burton [Thu, 4 Dec 2014 14:20:01 +0000 (14:20 +0000)]
gnome-doc-utils: set CLEANBROKEN

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoautotools.bbclass: respect CLEANBROKEN
Ross Burton [Thu, 4 Dec 2014 14:17:08 +0000 (14:17 +0000)]
autotools.bbclass: respect CLEANBROKEN

autotools.bbclass should respect CLEANBROKEN as it invokes 'make clean' on
configure.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobase.bbclass: fix CLEANBROKEN logic
Ross Burton [Thu, 4 Dec 2014 14:14:57 +0000 (14:14 +0000)]
base.bbclass: fix CLEANBROKEN logic

The evalation order was incorrect in some situations (CLEANBROKEN=1 and
GNUmakefile exists) the clean would be executed incorrectly.

Add brackets to correct the logic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocoreutils-native: don't install groups
Wenzong Fan [Fri, 28 Nov 2014 07:59:54 +0000 (02:59 -0500)]
coreutils-native: don't install groups

This binary is provided by shadow-native nowadays. Fixes:

  ERROR: The recipe coreutils-native is trying to install files \
    into a shared area when those files already exist. \
    Those files and their manifest location are: \
      .../tmp/sysroots/x86_64-linux/usr/bin/groups \
    Matched in manifest-x86_64-shadow-native.populate_sysroot

To reproduce the errors:

  $ bitbake shadow-native && bitbake coreutils-native

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogzip: fix MakeMaker issues with using wrong SHELL/GREP
Jackie Huang [Fri, 21 Nov 2014 09:50:57 +0000 (04:50 -0500)]
gzip: fix MakeMaker issues with using wrong SHELL/GREP

A set of substitution is being processed to all target scripts with sed by
replacing some key words with the detected values at configure time, this
is exactly not compliant with cross compling, and will cause missing path
errors at run time like:
"/usr/bin/zgrep: line 230: /usr/bin/grep: No such file or directory"

Fixed by removing unneeded substitution and using real runtime paths
instead.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolzo: add debian patch for alignment issue
Saul Wold [Wed, 3 Dec 2014 22:51:58 +0000 (14:51 -0800)]
lzo: add debian patch for alignment issue

[YOCTO #6994]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoutil-linux: add switch_root to alternatives list
Jackie Huang [Tue, 2 Dec 2014 09:40:38 +0000 (04:40 -0500)]
util-linux: add switch_root to alternatives list

switch_root is provided by both busybox in /sbin/switch_root and util-linux provides one
in /usr/sbin/switch_root, so move util-linux's to sbin and setup ALTERNATIVE_LINK.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoRevert "busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)"
Hongxu Jia [Tue, 2 Dec 2014 06:01:12 +0000 (14:01 +0800)]
Revert "busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)"

Since the gcc has resolved this, so we revert the workaround patch.

This reverts commit f026b7a211a44acdb7fadb50b1a84aa3e369450a.

10 years agoopenssh: fix using the original config files in srcdir
Zheng Junling [Wed, 3 Dec 2014 12:38:30 +0000 (12:38 +0000)]
openssh: fix using the original config files in srcdir

Currently, we install our own ssh_config and sshd_config into ${S} in
do_compile_append() task. So when finishing compiling, their .out files
are generated by the original files, rather than by our own files.

In most cases, installing "$(CONFIGFILES)" in Makefile will generate .out
files again, and then installing "install-sysconf", which will install
these two files into $(DESTDIR), thus we get what we expect.

However, when parallel installing, "install-sysconf" may be installed
before "$(CONFIGFILES)" sometimes. In this rare case, the .out files
generated in the first time rather than those in the second time will be
installed into $(DESTDIR), and thus we get an unexpect result.

This patch fixes this bug through transfering the installing of our own
files from do_compile_append() into do_configure_prepend().

Signed-off-by: Zheng Junling <zhengjunling@huawei.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage_manager.py: fix arguments to string format
Ross Burton [Wed, 3 Dec 2014 17:29:49 +0000 (17:29 +0000)]
package_manager.py: fix arguments to string format

Multiple arguments to string formats need to be in a tuple.

Reported by Lorenz <lqb.list@gmail.com>.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoeglibc: modified option-groups.h generation
Juro Bystricky [Thu, 27 Nov 2014 18:32:59 +0000 (10:32 -0800)]
eglibc: modified option-groups.h generation

option-groups.h only explicitely #defines options that are enabled.
EGLIBC options are typically pre-processed under the assumption that if
an option is not explicitely defined then it evaluates as 0.
This assumption is correct, but it generates a compiler warning
message each time an undefined symbol is being evaluated.
In order to remove the warnings, each EGLIBC option is now defined
as 1 if the option is enabled or as 0 otherwise.
The consequence is we cannot use #ifdef OPTION_XXX when evaluating
the option, we must always use #if OPTION_XXX.

[YOCTO #7001]

Signed-off-by: Juro Bystricky <jurobystricky@hotmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agomesa-demos: Move util to the front of the SUBDIRS variable.
Drew Moseley [Thu, 27 Nov 2014 00:49:55 +0000 (19:49 -0500)]
mesa-demos: Move util to the front of the SUBDIRS variable.

This forces it to be built first since many of the demos
require it.  Resolves build failures such as the following
when certain demos are enabled (notably when PACKAGECONFIG
contains glut):

    make[2]: *** No rule to make target `../util/libutil.la', needed by `copypix'.  Stop.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoglew: Additional fix for generation of glew.pc.
Drew Moseley [Thu, 27 Nov 2014 00:49:54 +0000 (19:49 -0500)]
glew: Additional fix for generation of glew.pc.

Without this fix, building mesa-demos with the glew
PACKAGECONFIG will result in errors like the below
being logged in tmp/work/*/mesa-demos/*/build/config.log:

    configure:16529: checking for GLEW
    configure:16536: $PKG_CONFIG --exists --print-errors "glew >= 1.5.4"
    Package @requireslib@ was not found in the pkg-config search path.
    Perhaps you should add the directory containing `@requireslib@.pc'
    to the PKG_CONFIG_PATH environment variable
    Package '@requireslib@', required by 'glew', not found
    configure:16539: $? = 1

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage.bbclass: whitespace
Michael Jones [Thu, 27 Nov 2014 16:21:53 +0000 (17:21 +0100)]
image.bbclass: whitespace

Don't mix tabs and spaces

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoimage.bbclass: remove comment that readonly only works for sysvinit
Michael Jones [Thu, 27 Nov 2014 16:21:52 +0000 (17:21 +0100)]
image.bbclass: remove comment that readonly only works for sysvinit

Should have been removed with
92f956d tweak read_only_rootfs_hook to also support systemd based systems

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoqt4: disable webkit for mips64 n32 temporarily
Jackie Huang [Fri, 28 Nov 2014 06:48:38 +0000 (01:48 -0500)]
qt4: disable webkit for mips64 n32 temporarily

Disable webkit for mips64 n32 temporarily that fails to compile.

The webkit package also disable the build for n32:
f5c4d18 webkit/midori: block to build webkit on mips64 with libn32 ABI

The opened defect in qt upstream is:
https://bugreports.qt-project.org/browse/QTBUG-39224

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoRevert "qt4*.bbclass: disable build qt on mips64 with 64 bits userspace"
Jackie Huang [Fri, 28 Nov 2014 06:48:37 +0000 (01:48 -0500)]
Revert "qt4*.bbclass: disable build qt on mips64 with 64 bits userspace"

This reverts commit 17890ebd637da0b3bf78804002d8b4f0ace078d2.

qt4 is upgraded to 4.8.6 and this is fixed by:
c889b40 qt webkit: add support for MIPS64 platforms

so revert the commit.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobootchart2: fix to find collector correctly in case of multilib
Chen Qi [Tue, 2 Dec 2014 10:26:06 +0000 (18:26 +0800)]
bootchart2: fix to find collector correctly in case of multilib

This patch fixes the following error of being not able to find the
bootchart-collector program when using bootchart2 in multilib system.

In order for bootchartd to correctly find the collector program, we need
to set several vars while compiling.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agosystemd: add PACKAGECONFIG for 'manpages'
Chen Qi [Sun, 30 Nov 2014 08:46:38 +0000 (16:46 +0800)]
systemd: add PACKAGECONFIG for 'manpages'

Instead of always disabling manpages for systemd, we use PACKAGECONFIG
for 'manpages' so that the manpages for systemd could be built out correctly.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibxslt: create wrapper to avoid host system referencing
Chen Qi [Sun, 30 Nov 2014 08:46:37 +0000 (16:46 +0800)]
libxslt: create wrapper to avoid host system referencing

By default, xsltproc from libxslt would use configuration files under
/etc/xml. To avoid host system contamination, we create a wrapper for
this command to make it use configuration files in the sysroot directory.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agokernel-yocto.bbclass: fix shell syntax error
Paul Eggleton [Mon, 1 Dec 2014 17:20:30 +0000 (17:20 +0000)]
kernel-yocto.bbclass: fix shell syntax error

Spaces aren't valid around = in an assignment statement (not even with
bash).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agognutls: disable tpm
Chong Lu [Tue, 2 Dec 2014 05:53:34 +0000 (13:53 +0800)]
gnutls: disable tpm

Disable tpm to solve following error:

.../usr/lib64/libtspi.la: No such file or directory

trousers isn't an oe-core recipe, disable it for now.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopowertop: update version number from 2.6.1 to 2.7
Ezra Savard [Tue, 2 Dec 2014 18:31:57 +0000 (10:31 -0800)]
powertop: update version number from 2.6.1 to 2.7

The v2.7 release of powertop fixes devfreq support for ARM, along with
other bug fixes.

v2: deletes old file
v3: fixed SRC_URI and checksums

Signed-off-by: Ezra Savard <ezra.savard@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogstreamer1.0-plugins-bad.inc: Disable cocoa on configure
Jean-Michel Hautbois [Tue, 2 Dec 2014 16:24:32 +0000 (17:24 +0100)]
gstreamer1.0-plugins-bad.inc: Disable cocoa on configure

When configuring, if GNUstep is found on host, the configure script thinks
that ist is running osx and so enables cocoa support.

Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocmake: supply CMAKE_AR in toolchain file
Cody P Schafer [Wed, 12 Nov 2014 01:30:40 +0000 (20:30 -0500)]
cmake: supply CMAKE_AR in toolchain file

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agovalgrind: Upgrade to 3.10.0
Saul Wold [Tue, 28 Oct 2014 14:57:54 +0000 (07:57 -0700)]
valgrind: Upgrade to 3.10.0

Rebase existing patches
Add patch to fix rpath issue with ptest

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoweston: fix plugin location in FILES
Ross Burton [Wed, 26 Nov 2014 15:11:16 +0000 (15:11 +0000)]
weston: fix plugin location in FILES

The plugins are installed to ${libdir}/weston, not ${libexecdir}.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agodbus: don't use PTEST_ENABLED as recipe doesn't inherit ptest
Ross Burton [Tue, 2 Dec 2014 15:41:10 +0000 (15:41 +0000)]
dbus: don't use PTEST_ENABLED as recipe doesn't inherit ptest

As this recipe's ptest support is merely a shim to pull in dbus-test-ptest it
doesn't inherit ptest.  This means that PTEST_ENABLED isn't ever set, so check
DISTRO_FEATURES directly.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython: remove spurious nativesdk dependency
Ross Burton [Mon, 1 Dec 2014 16:35:00 +0000 (16:35 +0000)]
python: remove spurious nativesdk dependency

There's no need to add a dependency on python-crypt_class-native to
nativesdk-openssl as the general dependency there is transformed appropriately.

Presumably this is cruft from back when SDK packages were suffixed instead of
prefixed, and there were mapping problems.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopython: ensure all of Python is installed in nativesdk
Ross Burton [Mon, 1 Dec 2014 16:26:55 +0000 (16:26 +0000)]
python: ensure all of Python is installed in nativesdk

If any part of Python gets installed in a SDK, we need to ensure that all of
Python gets installed to avoid replacing python in the environment with a
minimal package set.

[ YOCTO #6735 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agogdb: disable Guile
Ross Burton [Mon, 1 Dec 2014 13:23:30 +0000 (13:23 +0000)]
gdb: disable Guile

GDB 7.8 added Guile support, and it will auto-detect if Guile is present (which
is non-deterministic, so bad), and if it's present will fail to find the guild
binary as it doesn't consider the sysroot.

For now disable Guile support in GDB, if there is a need to have it enabled in
the future then GDB/Guile can be fixed.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoattr: use EXTRA_AUTORECONF to disable autoheader
Ross Burton [Fri, 28 Nov 2014 21:30:00 +0000 (21:30 +0000)]
attr: use EXTRA_AUTORECONF to disable autoheader

Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead
of setting AUTOHEADER to true.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobash: use EXTRA_AUTORECONF to disable autoheader
Ross Burton [Fri, 28 Nov 2014 15:35:15 +0000 (15:35 +0000)]
bash: use EXTRA_AUTORECONF to disable autoheader

Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead
of setting AUTOHEADER to true.

Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agotoolchain-script: Add support for ccache builds with the SDK
Laszlo Papp [Thu, 27 Nov 2014 17:40:51 +0000 (17:40 +0000)]
toolchain-script: Add support for ccache builds with the SDK

It is necessary to have an SDK for developers who build their software with
ccache to speed up the compilation. Without resolving this, unfortunately the
compilation will fail for them.

Signed-off-by: Laszlo Papp <lpapp@kde.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agolibpam: avoid overwritting editable files during package updating
Jian Liu [Fri, 21 Nov 2014 09:17:13 +0000 (17:17 +0800)]
libpam: avoid overwritting editable files during package updating

Use CONFFILES to mark editable files as such,
  /etc/pam.d/common-session
  /etc/pam.d/common-auth
  /etc/pam.d/common-password
  /etc/pam.d/common-session-noninteractive
  /etc/pam.d/common-account

If there is no %config micro before the file name in the spec file,
this file will be overwritten after updating package.
This will make our settings lost.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoinitscripts: avoid overwritting editable files during package updating
Jian Liu [Fri, 21 Nov 2014 09:17:11 +0000 (17:17 +0800)]
initscripts: avoid overwritting editable files during package updating

Use CONFFILES to mark editable files as such,
  /etc/init.d/checkroot.sh

If there is no %config micro before the file name in the spec file,
this file will be overwritten after updating package.
This will make our settings lost.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agobase-files: avoid overwritting editable files during package updating
Jian Liu [Fri, 21 Nov 2014 09:17:10 +0000 (17:17 +0800)]
base-files: avoid overwritting editable files during package updating

Use CONFFILES to mark editable files as such,
  /etc/motd
  /etc/nsswitch.conf
  /etc/profile

If there is no %config micro before the file name in the spec file,
this file will be overwritten after updating package.
This will make our settings lost.

Signed-off-by: Jian Liu <jian.liu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage_manager.py: check the result of create_index
Hongxu Jia [Fri, 21 Nov 2014 08:00:55 +0000 (16:00 +0800)]
package_manager.py: check the result of create_index

While invoking create_index failed, there was no error output
and didn't break the build until the package installation.
...
|ERROR: run-postinsts not found in the base feeds (qemux86 i586 x86
noarch any all).
...

The reason is we used multiprocessing to execute create_index, and
did not check its invoking result.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocompress_doc.bbclass: support update-alternatives
Hongxu Jia [Sat, 8 Nov 2014 09:04:38 +0000 (17:04 +0800)]
compress_doc.bbclass: support update-alternatives

While doc file make use of update-alternatives to fix confliction,
we should reconfigure update-alternatives for doc compression.

Such as util-linux-doc:
...
update-alternatives --install /usr/share/man/man1/last.1 last.1
  /usr/share/man/man1/last.1.util-linux 100
...
was updated by doc_compress to
...
update-alternatives --install /usr/share/man/man1/last.1.bz2 last.1.bz2
  /usr/share/man/man1/last.1.util-linux.bz2 100
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agocompress_doc.bbclass: improve manual file detection
Hongxu Jia [Sat, 8 Nov 2014 05:56:19 +0000 (13:56 +0800)]
compress_doc.bbclass: improve manual file detection

The previous detection missing the following manual file:
...
gawk-doc/usr/share/man/man3/readfile.3am
libpcap-doc/usr/share/man/man3/pcap_dump_open.3pcap
...

We use re to imporve it.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agometadata_scm: Fix crash due to uncaught python exception
Merten Sach [Sat, 22 Nov 2014 21:54:55 +0000 (22:54 +0100)]
metadata_scm: Fix crash due to uncaught python exception

Function base_get_metadata_svn_revision was crashing due to an uncaught
IndexError exception.

The except notation without parentheses is legacy syntax. It is the equivalent
to 'except IOError as IndexError' which is not what we want here.

The change catches both exceptions.

Signed-off-by: Merten Sach <msach@mailbox.tu-berlin.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoserf: fix 'ccache' builds
Enrico Scholz [Fri, 21 Nov 2014 16:55:12 +0000 (17:55 +0100)]
serf: fix 'ccache' builds

'scons' cleans the environment which breaks ccache builds because
CCACHEDIR can point to an unexpected location:

| ccache arm-linux-gnueabi-gcc ... context.c
| ccache: failed to create .../serf/1.3.8-r0/.home/.ccache (No such file or directory)

Issue is described in

  http://www.scons.org/wiki/ImportingEnvironmentSettings

and because 'bitbake' cleans environment we can pass it completely
instead of trying to enumerate needed env.

With the 'env.patch' the FULLCC variable is not needed anymore (which
would break when CC is 'ccache arm-...-gcc' and host ccache is used)
because the correct $PATH is available during scons build:

| sh: .../sysroots/x86_64-oe-linux/usr/bin/arm-linux-gnueabi/ccache: No such file or directory
| scons: *** [context.o] Error 127

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopackage.bbclass: Create empty key/value if not there for shlib_provider
Khem Raj [Fri, 21 Nov 2014 18:05:03 +0000 (10:05 -0800)]
package.bbclass: Create empty key/value if not there for shlib_provider

When we use ASSUME_SHLIBS,e.g.

ASSUME_SHLIBS = "libEGL.so.1:libegl-implementation"

then we end up with errors like below when using shlibs2 (dizzy+)

File: 'package_do_shlibs', lineno: 216, function: package_do_shlibs
     0212:            dep_pkg = dep_pkg.rsplit("_", 1)
     0213:            if len(dep_pkg) == 2:
     0214:                lib_ver = dep_pkg[1]
     0215:            dep_pkg = dep_pkg[0]
 *** 0216:            shlib_provider[l][libdir] = (dep_pkg, lib_ver)
     0217:
     0218:    libsearchpath = [d.getVar('libdir', True),
d.getVar('base_libdir', True)]
     0219:
     0220:    for pkg in packages.split():
Exception: KeyError: 'libEGL.so.1'

This is because the entry which is being populated does not exist
so lets create it if its not already there.

Change-Id: I9e292c5439e5d1e01ea48341334507aacc3784ae
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agoresolvconf: add fixes for busybox and make it work
Saul Wold [Mon, 24 Nov 2014 15:37:52 +0000 (07:37 -0800)]
resolvconf: add fixes for busybox and make it work

resolvconf was missing a script and needed readlink which was in
/usr/bin.  Also the /etc/resolv.conf was not being correctly linked
to /etc/resolvconf/run/resolv.conf, which is fixed by the volaties
change which is now a file as opposed to created in do_install.

Ensure that the correct scripts for ifup/ifdown get installed and that
resolvconf is correctly enabled at startup

[YOCTO #5361]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
10 years agopseudo: remove older version and patches
Saul Wold [Wed, 19 Nov 2014 18:22:52 +0000 (10:22 -0800)]
pseudo: remove older version and patches

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoboost: Upgrade to 1.57
Saul Wold [Mon, 10 Nov 2014 22:00:02 +0000 (14:00 -0800)]
boost: Upgrade to 1.57

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agonpth: Upgrade to 1.1
Saul Wold [Mon, 10 Nov 2014 21:59:03 +0000 (13:59 -0800)]
npth: Upgrade to 1.1

Add patch for adding pkgconfig file.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agobabeltrace: Upgrade to 1.2.3
Saul Wold [Tue, 28 Oct 2014 14:56:18 +0000 (07:56 -0700)]
babeltrace: Upgrade to 1.2.3

Remove backported patches

Signed-off-by: Saul Wold <sgw@linux.intel.com>