]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
10 years agogawk: fix libexec of the old 3.1.5 version
Chen Qi [Fri, 6 Jun 2014 02:28:19 +0000 (10:28 +0800)]
gawk: fix libexec of the old 3.1.5 version

${libexec} doesn't necessarily equals to ${libdir}/${BPN}. So fix
this problem by using ${libdir}/${BPN} in FILES variable.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agolibgcrypt: workaround ICE failure on mips with '-O -g'
Hongxu Jia [Fri, 30 May 2014 02:20:19 +0000 (10:20 +0800)]
libgcrypt: workaround ICE failure on mips with '-O -g'

Hit a ICE and could reduce it to the following minimal example:

1. Only the size of array assigned with 2 caused the issue:
$ cat > mipgcc-test.c << END

int main (int argc, char **argv)
{
        char *pStrArry[ARRAY_SIZE_MAX] = {"hello"};
        int i = 0;

        while(pStrArry[i] && i<ARRAY_SIZE_MAX)
        {
                printf("%s\n", pStrArry[i]);
                i++;
        }

        return 0;
}

END

2. Only -O1 and -g on mips caused the issue:
$ mips-poky-linux-gcc -O1 -g -o mipgcc-test mipgcc-test.c
mipgcc-test.c: In function 'main':
mipgcc-test.c:18:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions

[YOCTO #6034]

3. The quick workround is trying to enlarge the size of array with larger
than 2.

4. File a bug to GNU, but it could not be reproduced on there environment.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
10 years agoxorg-xserver: disable DRI3 by default
Ross Burton [Mon, 9 Jun 2014 14:18:19 +0000 (15:18 +0100)]
xorg-xserver: disable DRI3 by default

Add a PACKAGECONFIG for DRI3 but don't enable it yet.

Based on a patch by Valentin Popa <valentin.popa@intel.com>.

[YOCTO #6402]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: upgrade to 10.1.3
Valentin Popa [Mon, 9 Jun 2014 14:18:18 +0000 (15:18 +0100)]
mesa: upgrade to 10.1.3

libdricore was removed and replaced with a megadriver with hardlinks from the
old driver names.

Add PACKAGECONFIG for DRI3 but disable by default as there are currently
regressions compared to DRI2.

License is unchanged.

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa: add build-dependency on libxml2-native
Ross Burton [Mon, 9 Jun 2014 14:18:17 +0000 (15:18 +0100)]
mesa: add build-dependency on libxml2-native

glapi/gen needs the libxml2 Python module, but this isn't listed as a build
dependency.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglib-2.0: fix paths to test binaries
Ross Burton [Mon, 9 Jun 2014 15:45:04 +0000 (16:45 +0100)]
glib-2.0: fix paths to test binaries

The tests are installed to $libexecdir not $libdir/glib-2.0.  By default these
are the same location but they can be changed independently.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogdk-pixbuf: fix paths to test binaries
Ross Burton [Mon, 9 Jun 2014 15:45:03 +0000 (16:45 +0100)]
gdk-pixbuf: fix paths to test binaries

The tests are installed to $libexecdir not $libdir/gdk-pixbuf.  By default these
are the same location but they can be changed independently.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: fix ptests
Paul Eggleton [Mon, 9 Jun 2014 15:37:19 +0000 (16:37 +0100)]
openssl: fix ptests

Add some missing dependencies and fix the Makefile in order to get most
of the ptest tests working (specifically test_bn, test_verify, test_cms,
test_srp and test_heartbeat). test_verify still fails for unknown
reasons (perhaps some of the now expired certificates weren't meant to
have expired as far as the test is concerned?) but at least it has the
certificates to run now.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agoopenssl: upgrade to 1.0.1h
Paul Eggleton [Mon, 9 Jun 2014 09:36:34 +0000 (10:36 +0100)]
openssl: upgrade to 1.0.1h

Fixes the following security issues:

* CVE-2014-0224
* CVE-2014-0221
* CVE-2014-0195
* CVE-2014-3470

The patch for CVE-2010-5298, CVE-2014-0198 and a fix for building the
documentation are integrated upstream in this release and so were
dropped. Additionally, a patch from upstream was added in order to
fix a failure during do_compile_ptest_base.

A similar upgrade was also submitted by Yao Xinpan <yaoxp@cn.fujitsu.com>
and Lei Maohui <leimaohui@cn.fujitsu.com>.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
10 years agowic: check if BBLAYERS is valid before use
João Henrique Ferreira de Freitas [Wed, 4 Jun 2014 01:28:03 +0000 (22:28 -0300)]
wic: check if BBLAYERS is valid before use

If wic is running as raw mode, it's better to check if BBLAYERS
is valid before inspect it.

No functional changes.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agowic: default plugin type directory should be added only once
João Henrique Ferreira de Freitas [Wed, 4 Jun 2014 01:28:02 +0000 (22:28 -0300)]
wic: default plugin type directory should be added only once

Fix 'for' statement identention so plugin type directory will be
added only once in layers_dirs list.

No functional changes.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognutls: upgrade to 3.2.15
Valentin Popa [Thu, 5 Jun 2014 13:08:29 +0000 (16:08 +0300)]
gnutls: upgrade to 3.2.15

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobusybox: put udhcpc in background
Saul Wold [Fri, 6 Jun 2014 00:09:03 +0000 (17:09 -0700)]
busybox: put udhcpc in background

If the interface is slow to come up udhcpc will continue in the background

[YOCTO #6339]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d/useradd: Add additional dependecies
Saul Wold [Fri, 6 Jun 2014 00:09:02 +0000 (17:09 -0700)]
update-rc.d/useradd: Add additional dependecies

These dependcies are needed to ensure that thier packages are created
correctly since these classes have runtime dependiences in their packages
but they are not actually created yet at rootfs time.

[YOCTO #6072]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-2.7.py: Add importlib
Matt Fleming [Fri, 6 Jun 2014 08:52:29 +0000 (09:52 +0100)]
generate-manifest-2.7.py: Add importlib

importlib isn't currently included in any of the python packages, so
create a new one for recipes that require it.

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautogen-native: upgrade from 2.18.2 to 2.18.3
Chen Qi [Fri, 6 Jun 2014 08:22:28 +0000 (16:22 +0800)]
autogen-native: upgrade from 2.18.2 to 2.18.3

Upgrade autogen-native from 2.18.2 to 2.18.3.
A patch is made to fix the compilation error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofile: upgrade from 5.17 to 5.18
Chen Qi [Fri, 6 Jun 2014 08:22:27 +0000 (16:22 +0800)]
file: upgrade from 5.17 to 5.18

Upgrade file from 5.17 to 5.18.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-2.00: remove our 40_custom
Roy Li [Fri, 6 Jun 2014 08:26:26 +0000 (16:26 +0800)]
grub-2.00: remove our 40_custom

We have this in recipes-bsp/grub/grub/40_custom:

[snip]
menuentry "Linux" {
    set root=(hd0,1)
    linux /vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet
}
[snip]

These lines are only for initrdscripts/files/init-install.sh, the side
effect is that it would make the target's grub-mkconfig doesn't work
well since the 40_custom will be installed to /etc/grub.d/40_custom, the
grub-mkconfig will run the 40_custom, and there will always be a
'menuentry "Linux"' menu in grub.cfg no matter it is valid or not, we
can do this in init-install.sh rather than grub to fix the problem,
which is also much simpler.

We have done the related work in init-install.sh, now we need remove our own
40_custom, and use grub's own 40_custom which is the right one.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub-2.00: remove our 40_custom
Roy Li [Fri, 6 Jun 2014 08:26:25 +0000 (16:26 +0800)]
grub-2.00: remove our 40_custom

We have this in recipes-bsp/grub/grub/40_custom:

[snip]
menuentry "Linux" {
    set root=(hd0,1)
    linux /vmlinuz root=__ROOTFS__ rw __CONSOLE__ __VIDEO_MODE__ __VGA_MODE__ quiet
}
[snip]

These lines are only for initrdscripts/files/init-install.sh, the side
effect is that it would make the target's grub-mkconfig doesn't work
well since the 40_custom will be installed to /etc/grub.d/40_custom, the
grub-mkconfig will run the 40_custom, and there will always be a
'menuentry "Linux"' menu in grub.cfg no matter it is valid or not, we
can do this in init-install.sh rather than grub to fix the problem,
which is also much simpler.

We have done the related work in init-install.sh, now we need remove our own
40_custom, and use grub's own 40_custom which is the right one.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofontconfig: enable 64 bit file support
Saul Wold [Fri, 6 Jun 2014 00:09:05 +0000 (17:09 -0700)]
fontconfig: enable 64 bit file support

When running 32bit code on a large filessytem with 64bit inodes, the
fontcache was not being created correctly because an EOVERFLOW was being
returned from the fstat when reading the 64 inode on a 32bit system.

The fontcache is created at rootfs time on the host system via qemu.

[YOCTO #6338]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agofreetype: enable 64 bit file support
Saul Wold [Fri, 6 Jun 2014 00:09:04 +0000 (17:09 -0700)]
freetype: enable 64 bit file support

When running 32bit code on a large filessytem with 64bit inodes, the
fontcache was not being created correctly because an EOVERFLOW was being
returned from the fstat when reading the 64 inode on a 32bit system.

The fontcache is created at rootfs time on the host system via qemu.

[YOCTO #6338]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoautoconf: don't disable the autoheader warnings
Ross Burton [Wed, 28 May 2014 11:56:26 +0000 (12:56 +0100)]
autoconf: don't disable the autoheader warnings

The usual autoheader warning is due to AC_DEFINE variables not having a
description.  This results in no variable being defined in config.h, which leads
to code behaving as if the test failed when it actually succeeded.

This patch was introduced to OpenEmbedded back in 2004:

http://git.openembedded.org/openembedded/commit/?id=5eab06d132cb2895fd579f5cedffbb54c27794f8

There is no rationale for the patch so I suspect this is due to the warnings
being fatal and the submitter not understanding that the problem is more than
cosmetic.

(From OE-Core rev: de5fb9d7f60763082327ddeca71842c00a2fa23e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxml2: fix python packaging for nativesdk
Paul Eggleton [Thu, 5 Jun 2014 09:46:17 +0000 (10:46 +0100)]
libxml2: fix python packaging for nativesdk

We enable the python module in nativesdk-libxml2, but the python binary
used is in the native sysroot and thus you get the module installed in
the wrong path. Even with that fixed the python files are still
unpackaged, so create an ${PN}-python package and add them to it. (This
does not affect the libxml target build at all since python is disabled
for that.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibarchive: avoid dependency on e2fsprogs
Paul Eggleton [Thu, 5 Jun 2014 09:46:16 +0000 (10:46 +0100)]
libarchive: avoid dependency on e2fsprogs

libarchive's configure script looks for ext2fs/ext2_fs.h in order to use
some defines for file attributes support if present (but doesn't link to
any additional libraries.) There is no configure option to disable this,
and if e2fsprogs is rebuilding between do_configure and do_compile you
can currently get a failure. Because it doesn't need anything else from
e2fsprogs, and e2fsprogs isn't currently buildable for nativesdk anyway,
copy the headers in from e2fsprogs-native which we're likely to have
built already (and add it to DEPENDS just to be sure we have.)

Fixes [YOCTO #6268].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoneard: fix for parallel build
Richard Purdie [Thu, 5 Jun 2014 15:28:41 +0000 (18:28 +0300)]
neard: fix for parallel build

for neard tools/snep-send object might cause a
parallel build failure,due to undetected
dependency on dbus.h header file.

Patch will be submitted upstream.

Fixes [YOCTO #6389].

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogawk: upgrade from 4.0.2 to 4.1.1
Chen Qi [Thu, 5 Jun 2014 05:29:47 +0000 (13:29 +0800)]
gawk: upgrade from 4.0.2 to 4.1.1

Upgrade gawk from 4.0.2 to 4.1.1.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogenerate-manifest-3.3.py: Add importlib
Matt Fleming [Wed, 4 Jun 2014 16:10:38 +0000 (17:10 +0100)]
generate-manifest-3.3.py: Add importlib

importlib isn't currently included in any of the python packages, so
create a new one for recipes that require it.

Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogstreamer1.0-rtsp-server: Add recipe to support gst-rtsp-server
Alex J Lennon [Wed, 4 Jun 2014 21:53:46 +0000 (22:53 +0100)]
gstreamer1.0-rtsp-server: Add recipe to support gst-rtsp-server

A Gstreamer library which provides an API to create an RTSP server (e.g. to stream RTP to VLC clients and similar).

Tested, works with GStreamer 1.2.3 + videotestsrc based pipeline on RPi.

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoAdded new test cases for bitbake modes (-e -n -p -r -R -c -k)
Lucian Musat [Wed, 4 Jun 2014 15:26:30 +0000 (18:26 +0300)]
Added new test cases for bitbake modes (-e -n -p -r -R -c -k)

Signed-off-by: Lucian Musat <georgex.l.musat@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: update a uclibc specific patch to avoid segment fault error
Chen Qi [Wed, 4 Jun 2014 09:47:25 +0000 (17:47 +0800)]
systemd: update a uclibc specific patch to avoid segment fault error

The alloca() function allocates space in the stack frame of the caller,
so using alloca(new_size - old_size) would possibly crash the stack,
causing a segment fault error.

This patch fixes the above problem by avoiding using this function in
journal-file.c.

[YOCTO #6201]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr: upgrade to 1.5.1
Hongxu Jia [Tue, 27 May 2014 08:28:51 +0000 (16:28 +0800)]
apr: upgrade to 1.5.1

The LICENSE has no change, except a newline added.

Fix do_compile failed:
| tools/gen_test_char > include/private/apr_escape_test_char.h
| /bin/sh: tools/gen_test_char: No such file or directory
| make[1]: *** [include/private/apr_escape_test_char.h] Error 127

The tools/gen_test_char was invoked at build time, and it didn't
work for the cross compiling, so we built it with $BUILD_CC.

To make sure there was no side effect on the change, not adding this
patch, I did the test:

1. Built the native tools/gen_test_char on x86-64 host, and invoke
   it on that host;

2. Built the target tools/gen_test_char which arch was arm, and invoke
   it on the qemuarm;

3. Comparing the results, they were total the same;
...
/* this file is automatically generated by gen_test_char, do not edit. "make include/private/apr_escape_test_char.h" to regenerate. */

static const unsigned char test_char_table[256] = {
    32,30,30,30,30,30,30,30,30,30,31,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,6,16,63,22,17,22,49,17,
    17,17,1,16,16,0,0,18,0,0,0,0,0,0,0,0,0,0,16,23,
    55,16,55,23,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,23,31,23,23,0,23,0,0,0,
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
    0,0,0,23,23,23,17,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,
    30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30
};
...

Fix do_install failed:
| DEBUG: Executing shell function do_install
| NOTE: make -j 16 DESTDIR=tmp/work/x86_64-linux/apr-native/1.5.1-r0/image
 install
| tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh tools
| gcc  -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/
build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe
tools/gen_test_char.c -o tools/gen_test_char
| make[1]: Entering directory `tmp/work/x86_64-linux/apr-native/1.5.1-r0/
apr-1.5.1'
| tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh tools
| gcc  -isystem/home/pokybuild/yocto-autobuilder/yocto-slave/build-appliance/
build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe
tools/gen_test_char.c -o tools/gen_test_char
| tmp/work/x86_64-linux/apr-native/1.5.1-r0/apr-1.5.1/build/mkdir.sh
include/private
| tools/gen_test_char > include/private/apr_escape_test_char.h
| /bin/sh: tools/gen_test_char: Permission denied

Remove the 'tools' dir creation, it always existed. And it caused
gen_test_char unexpected rebuilt at do_install time.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoapr-util: upgrade to 1.5.3
Hongxu Jia [Tue, 27 May 2014 09:03:28 +0000 (17:03 +0800)]
apr-util: upgrade to 1.5.3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline-5.2: exclude autoheader
Ross Burton [Tue, 3 Jun 2014 20:07:10 +0000 (21:07 +0100)]
readline-5.2: exclude autoheader

readline hand-maintains config.h.in so exclude autoheader and re-use a patch
from readline-6.3 to fix a typo in variable names.

See oe-core 8c37d32d6133c6ad2b9142e7a42775e7a979b570 against readline-6.3 for
further rationale.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline-5.2: use upstream's aclocal.m4 as acinclude.m4
Ross Burton [Tue, 3 Jun 2014 20:07:09 +0000 (21:07 +0100)]
readline-5.2: use upstream's aclocal.m4 as acinclude.m4

Instead of shipping a fork of the upstream aclocal.m4, simply rename it to
acinclude.m4 at configure time.  We don't need the fork now that autoheader is
excluded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrep: upgrade 2.18 to 2.19
Chen Qi [Tue, 3 Jun 2014 01:41:20 +0000 (09:41 +0800)]
grep: upgrade 2.18 to 2.19

Upgrade grep from 2.18 to 2.19.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclutter: update to 1.18.2
Tim Orling [Tue, 3 Jun 2014 03:33:14 +0000 (20:33 -0700)]
clutter: update to 1.18.2

* Updated Ross's install-examples.patch to current
  ** AM_CPPFLAGS changes no longer needed
  ** example_DATA = ... redhand.png no longer needed
  ** minor line # changes

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocogl: update to 1.18.0
Tim Orling [Tue, 3 Jun 2014 03:33:13 +0000 (20:33 -0700)]
cogl: update to 1.18.0

Announcement:
http://lists.freedesktop.org/archives/cogl/2014-March/001636.html

* License changed from LGPL to MIT
* kms-include-stddef.h-before-drm.h.patch fixed upstream

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: Use DEMOS_DATA_DIR.
Drew Moseley [Tue, 3 Jun 2014 00:23:38 +0000 (20:23 -0400)]
mesa-demos: Use DEMOS_DATA_DIR.

Modify mesa demo apps to respect the DEMOS_DATA_DIR
configuration parameter for locating data files.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: Add missing data files.
Drew Moseley [Tue, 3 Jun 2014 00:23:37 +0000 (20:23 -0400)]
mesa-demos: Add missing data files.

Add some data files that are present in the git repository:
   http://cgit.freedesktop.org/mesa/demos/tree/?id=mesa-demos-8.1.0
but not in the release tarball
   ftp://ftp.freedesktop.org/pub/mesa/demos/8.1.0/mesa-demos-8.1.0.tar.bz2

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomesa-demos: Build with system data files
Drew Moseley [Tue, 3 Jun 2014 00:23:36 +0000 (20:23 -0400)]
mesa-demos: Build with system data files

Use the "--with-system-data-files" when configuring mesa-demos
so that the data files in /usr/share/mesa-demos/ will be properly
located at run time.

Copy some additional data files into the target filesystem.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpdate tzdata to 2014d
Armin Kuster [Sat, 31 May 2014 04:03:16 +0000 (21:03 -0700)]
Update tzdata to 2014d

moved build data to an inc file since it changes little.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpdate tzcode to 2014d for zic fix
Armin Kuster [Sat, 31 May 2014 04:03:15 +0000 (21:03 -0700)]
Update tzcode to 2014d for zic fix

Changes affecting code

    zic no longer generates files containing time stamps well before
    the Big Bang.
    This works around GNOME bug 730332
    <https://bugzilla.gnome.org/show_bug.cgi?id=730332>.
    (Thanks to Leonardo Chiquitto for reporting the bug, and to
    Arthur David Olson and James Cloos for suggesting improvements to
    the fix.)

Changes affecting documentation

    tz-link.htm now mentions GNOME.

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage_types: Fix ubi filesystem return codes
Richard Purdie [Tue, 3 Jun 2014 12:51:24 +0000 (12:51 +0000)]
image_types: Fix ubi filesystem return codes

If the first command returns an error, it will not cause the image generation
step to fail. Simply split up the statement into multiple lines to avoid
this issue, they no longer need to be one line expressions.

[YOCTO #6391]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoresolvconf: Update to 1.75
Saul Wold [Mon, 2 Jun 2014 16:25:11 +0000 (09:25 -0700)]
resolvconf: Update to 1.75

Archive compression changed to xz

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocups: Update to 1.7.3
Saul Wold [Mon, 2 Jun 2014 16:24:37 +0000 (09:24 -0700)]
cups: Update to 1.7.3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoman-pages: Update to 3.68
Saul Wold [Mon, 2 Jun 2014 16:24:21 +0000 (09:24 -0700)]
man-pages: Update to 3.68

README updated with general text regarding installation location

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibffi: Update to 3.1
Saul Wold [Mon, 2 Jun 2014 16:23:48 +0000 (09:23 -0700)]
libffi: Update to 3.1

LICENSE file has updated year

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcheck: Update to 0.9.13
Saul Wold [Mon, 2 Jun 2014 16:23:19 +0000 (09:23 -0700)]
libcheck: Update to 0.9.13

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibxkbcommon: Update to 0.4.2
Saul Wold [Mon, 2 Jun 2014 16:22:50 +0000 (09:22 -0700)]
libxkbcommon: Update to 0.4.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agox264: Update SRCREV to match commit in upstream git repo
Khem Raj [Thu, 29 May 2014 05:22:54 +0000 (22:22 -0700)]
x264: Update SRCREV to match commit in upstream git repo

It seems that 585324fee380109acd9986388f857f413a60b896 is no
longer there in git and it has been rewritten to
ffc3ad4945da69f3caa2b40e4eed715a9a8d9526

Change-Id: I9ffe8bd9bcef0d2dc5e6f6d3a6e4317bada8f4be
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogrub_git: fix build warning->error
Trevor Woerner [Thu, 29 May 2014 04:05:54 +0000 (00:05 -0400)]
grub_git: fix build warning->error

This patch fixes a build warning which is promoted to an error via -Werror.

changes from v1:
 * put "Upstream-Status" in patch itself, not in OE patch header
 * fix commit wording

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4: add patch for GIF denial-of-service vulnerability
Paul Eggleton [Wed, 28 May 2014 10:49:30 +0000 (11:49 +0100)]
qt4: add patch for GIF denial-of-service vulnerability

For further details, see:
https://bugreports.qt-project.org/browse/QTBUG-38367

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqt4: upgrade to version 4.8.6
Paul Eggleton [Wed, 28 May 2014 10:49:29 +0000 (11:49 +0100)]
qt4: upgrade to version 4.8.6

* Remove patches merged upstream
* Add a qtscript translation package for an additional .qm file added in
  this release

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoelfutils: upgrade to 0.158
Hongxu Jia [Wed, 28 May 2014 08:49:57 +0000 (16:49 +0800)]
elfutils: upgrade to 0.158

Add 'm4-biarch.m4-tweak-AC_RUN_IFELSE-for-cross-compiling.patch' to fix cross compiling failure;

Rebase 'elf_additions.diff' for 0.158;

Drop obsolete patches:
- nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch
- elfutils-ar-c-fix-num-passed-to-memset.patch
- fix-build-gcc-4.8.patch

Pick patches from debian:
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.158-2.debian.tar.xz

We could not directly add elfutils_0.158-2.debian.tar.xz to SRC_URI, because it
contains other souce codes which are not pathces.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosanity.bbclass: Add libsdl-native check
Richard Purdie [Mon, 2 Jun 2014 20:08:34 +0000 (21:08 +0100)]
sanity.bbclass: Add libsdl-native check

If libsdl-native is in ASSUME_PROVIDED, check for it in the sanity tests.
This warns the user if they've said its being provided but it isn't and
prevents silent build issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agooprofileui-server/oprofileui/pcmanfm: Add missing intltool-native DEPENDS
Richard Purdie [Mon, 2 Jun 2014 20:07:13 +0000 (21:07 +0100)]
oprofileui-server/oprofileui/pcmanfm: Add missing intltool-native DEPENDS

These recipes all require intltool-native to build but were missing
a dependency on it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibcroco/libfm/menu-cache: Add missing gtk-doc class dependencies
Richard Purdie [Mon, 2 Jun 2014 20:06:41 +0000 (21:06 +0100)]
libcroco/libfm/menu-cache: Add missing gtk-doc class dependencies

These recipes all use gtk-doc m4 macros but were missing dependencies
on the class.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogsettings-desktop-schemas: Add missing DEPENDS on gobject-introspection-stub-native
Richard Purdie [Mon, 2 Jun 2014 20:06:03 +0000 (21:06 +0100)]
gsettings-desktop-schemas: Add missing DEPENDS on gobject-introspection-stub-native

It uses gobject-introspection macros but was missing a dependency
upon something which provides them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolame: Add missing DEPENDS on gettext-native
Richard Purdie [Mon, 2 Jun 2014 20:05:30 +0000 (21:05 +0100)]
lame: Add missing DEPENDS on gettext-native

Without this, configure will fail due to a missing AM_ICONV macro.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agorecipes: Add missing pkgconfig class inherits
Richard Purdie [Mon, 2 Jun 2014 20:04:59 +0000 (21:04 +0100)]
recipes: Add missing pkgconfig class inherits

These recipes all use pkg-config in some way but were missing
dependencies on the tool, this patch adds them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibfm: Ensure m4 directory exists
Richard Purdie [Tue, 3 Jun 2014 09:09:22 +0000 (09:09 +0000)]
libfm: Ensure m4 directory exists

configure.ac references the m4 directory so things like gtkdocize
will try and place m4 files there. We need to ensure the directory
exists or the builds can fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster.bbclass: exclude variable dependency on toaster postfunc
Alexandru DAMIAN [Tue, 3 Jun 2014 15:16:15 +0000 (16:16 +0100)]
toaster.bbclass: exclude variable dependency on toaster postfunc

This patch fixes an issue where the toaster postfuncs were
added to the task signature, making impossible the reuse
of sstate caches from builds outside toaster control.

Now the signatures do not differ between toaster and toaster-less
builds.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoqemu: upgrade to 2.0.0
Cristian Iorga [Wed, 2 Apr 2014 09:41:26 +0000 (12:41 +0300)]
qemu: upgrade to 2.0.0

- switched to ${BP} variable.
- updated download link;
- fxrstorssefix.patch no longer needed, superseded;

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agov86d: fix for SeaBIOS VGA BIOS compatibility
Cristian Iorga [Fri, 30 May 2014 17:11:11 +0000 (20:11 +0300)]
v86d: fix for SeaBIOS VGA BIOS compatibility

This fixes a compatibility issue between v86d
and SeaBIOS VGA BIOS where the leal instruction
is not decoded properly. Read the
http://thread.gmane.org/gmane.comp.emulators.qemu/271806
thread for more details.
Patch taken from upstream.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodiffstat: patches have now been submitted upstream
Ross Burton [Mon, 2 Jun 2014 10:03:20 +0000 (11:03 +0100)]
diffstat: patches have now been submitted upstream

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodiffstat: fix autoheader warning due to missing AC_DEFINE template
Ross Burton [Mon, 2 Jun 2014 10:03:19 +0000 (11:03 +0100)]
diffstat: fix autoheader warning due to missing AC_DEFINE template

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosocat: upgrade to 1.7.2.4
Ross Burton [Sat, 31 May 2014 00:11:55 +0000 (01:11 +0100)]
socat: upgrade to 1.7.2.4

socat manually maintains config.h.in instead of using autoheader, so exclude
autoheader from autoreconf and remove all patches that are intended to enable
use of autoheader.

The license checksum changed, because the company address changed.

Based on a upgrade by Hongxu Jia <hongxu.jia@windriver.com>, with cleanup after
noticing that config.h.in was hand-maintained.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolrzsz: fix autoheader warning due to missing AC_DEFINE template
Ross Burton [Sat, 31 May 2014 00:11:54 +0000 (01:11 +0100)]
lrzsz: fix autoheader warning due to missing AC_DEFINE template

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoutil-linux: add sulogin to alternatives list
Saul Wold [Thu, 29 May 2014 22:00:54 +0000 (15:00 -0700)]
util-linux: add sulogin to alternatives list

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

[YOCTO #6384]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosystemd: Upgrade 212 -> 213
Khem Raj [Thu, 29 May 2014 19:10:20 +0000 (12:10 -0700)]
systemd: Upgrade 212 -> 213

boots on all qemu machines

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolibogg: upgrade to 1.3.2
Cristian Iorga [Fri, 30 May 2014 15:15:32 +0000 (18:15 +0300)]
libogg: upgrade to 1.3.2

- Switched to BP variable.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: make lcms explicitly configurable
Tim Orling [Fri, 30 May 2014 15:52:10 +0000 (08:52 -0700)]
weston: make lcms explicitly configurable

Per Ross's comment, make --enable-lcms deterministic.
Follow upstream style to make it more likely to be merged upstream.

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: fix make-lcms-configurable.patch
Tim Orling [Thu, 29 May 2014 14:30:08 +0000 (07:30 -0700)]
weston: fix make-lcms-configurable.patch

In AS_IF([test "x$enable_lcms" != "no"],
"no" should have been "xno"

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoweston: drop superfluous --disable-lcms
Tim Orling [Thu, 29 May 2014 14:30:07 +0000 (07:30 -0700)]
weston: drop superfluous --disable-lcms

Thank you to Henning Heinold for the catch.
"Is this needed when you use PACKAGECONFIG later on?"

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogzip: Avoid host contamination during build
Dan McGregor [Fri, 30 May 2014 21:39:48 +0000 (15:39 -0600)]
gzip: Avoid host contamination during build

On systems with /bin and /usr/bin merged the gzip recipe may find grep
in /usr/bin, while OE puts it in /bin. Force the recipe to find grep in
the correct place.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake.conf: Set a dafault value for TUNE_PKGARCH
Richard Purdie [Fri, 30 May 2014 14:55:02 +0000 (15:55 +0100)]
bitbake.conf: Set a dafault value for TUNE_PKGARCH

If we don't do this, we see an exception:

ERROR: Failure expanding variable MACHINE_ARCH, expression was ${@[d.getVar('TUNE_PKGARCH', True),
d.getVar('MACHINE', True)][bool(d.getVar('MACHINE', True))].replace('-', '_')} which triggered
exception AttributeError: 'NoneType' object has no attribute 'replace'

Setting a default value avoids this error and allows the sanity checker
to trigger instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc: Clean up configure_prepend and fix for mingw
Richard Purdie [Fri, 30 May 2014 12:32:54 +0000 (13:32 +0100)]
gcc: Clean up configure_prepend and fix for mingw

The do_configure_prepend was duplicated in gcc-4.X.inc and
gcc-configure-common.inc leading to confusion when reading the resulting
do_configure task where the file was processed twice.

The only difference was the removal of the include line for gcc 4.8/4.9.

On mingw were were seeing two issues, firstly that the if statements meant
the values we wanted weren't being set, the second that the include
paths were still wrong as there was no header path set.

To fix the first issue, the #ifdef conditionals were removed, we want
to set these things unconditionally. The second issue is addressed by
setting the NATIVE_SYSTEM_HEADER_DIR variable here (it was already
set in t-oe).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoclassextend: Fix crosssdk remapping for multilib
Richard Purdie [Fri, 30 May 2014 12:31:47 +0000 (13:31 +0100)]
classextend: Fix crosssdk remapping for multilib

Multilib builds only require one crosssdk toolchain. We therefore shouldn't
be remapping crosssdk names. This resolves build failures looking for
weird multilib crosssdk toolchains.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopkg-utils: Update SRCREV
Paul Barker [Wed, 28 May 2014 15:19:49 +0000 (15:19 +0000)]
opkg-utils: Update SRCREV

Recent changes in opkg-utils allow package files to be stored in a different
directory to the package index if desired.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocombo-layer: fix revlist taking into account file_filter
João Henrique Ferreira de Freitas [Thu, 29 May 2014 02:53:51 +0000 (23:53 -0300)]
combo-layer: fix revlist taking into account file_filter

If file_filter is set, git format-patch takes account but git rev-list
does not. So revlist is going to get with wrong revisions. And last_revision
will be updated with wrong revision. The next time that user run
combo-layer it complain about applying patches.

So ensure that 'git rev-list' are using file_filter as 'git format-patch'.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoupdate-rc.d: fix to handle priority numbers correctly
Chen Qi [Thu, 29 May 2014 01:50:53 +0000 (09:50 +0800)]
update-rc.d: fix to handle priority numbers correctly

The update-rc.d treated priority numbers begin with '0' as octal
numbers. This led to problems of update-rc.d being unable to handle
priorities like '08' or '09' correctly.

This patch fixes the above problem.

[YOCTO #6376]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoeglibc: Fix configure when re-building with gold
Khem Raj [Thu, 29 May 2014 06:55:46 +0000 (23:55 -0700)]
eglibc: Fix configure when re-building with gold

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agogcc, uclibc: Add/Fix Upstream-Status in patches
Khem Raj [Thu, 29 May 2014 05:25:59 +0000 (22:25 -0700)]
gcc, uclibc: Add/Fix Upstream-Status in patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agolayer.conf: Add musl to safe recipes for exclusion
Khem Raj [Thu, 29 May 2014 07:01:07 +0000 (00:01 -0700)]
layer.conf: Add musl to safe recipes for exclusion

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agognu-config: Let it recognise *-*-musl* triplets
Khem Raj [Thu, 29 May 2014 07:01:06 +0000 (00:01 -0700)]
gnu-config: Let it recognise *-*-musl* triplets

This will help autotools based packages to recognise
musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agocross-canadian.bbclass: Recognise musl
Khem Raj [Thu, 29 May 2014 07:01:05 +0000 (00:01 -0700)]
cross-canadian.bbclass: Recognise musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoimage.bbclass: Remove dependency on ldconfig-native for musl
Khem Raj [Thu, 29 May 2014 07:01:04 +0000 (00:01 -0700)]
image.bbclass: Remove dependency on ldconfig-native for musl

it does not grok glibc ldconfig format

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agomultilib_header: Do not install mutlilib headers for musl
Khem Raj [Thu, 29 May 2014 07:01:03 +0000 (00:01 -0700)]
multilib_header: Do not install mutlilib headers for musl

musl is not multilib and this creates trouble. eg. when
util-linux probes for ncurses it does not find it because
ncurses has installed the multilibbed header and this
header includes bits/wordsize.h and this header does not
exist on musl systems. If and when musl adds multilib
support we will revisit it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotclibc-musl.inc: Add musl specific distro policy file
Khem Raj [Thu, 29 May 2014 07:01:02 +0000 (00:01 -0700)]
tclibc-musl.inc: Add musl specific distro policy file

With this we could use TCLIBC=musl to switch to images
based on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agositeinfo, insane: Recognize musl specific triplets
Khem Raj [Thu, 29 May 2014 07:01:01 +0000 (00:01 -0700)]
siteinfo, insane: Recognize musl specific triplets

We will use '-musl' to identify musl based systems
this patch lays the foundation for recognising those
and map them to internal variable representations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotoaster: toaster oe-selftest support
Ionut Chisanovici [Wed, 21 May 2014 14:15:07 +0000 (15:15 +0100)]
toaster: toaster oe-selftest support

This patch adds toaster tests using the oe-selftest infrastructure.
You need to have builds done - the tests will verify data integrity
after the toaster collection phase.

Once you have your toaster builds done, to run the automated backend
tests via oe-selftest do the followings:

1. Update builddir/conf/bblayers.conf to contain the meta-selftest
layer
2. From the builddir run:

'oe-selftest toaster'

or if you just want to run a single test:

'oe-selftest toaster.Toaster_DB_Tests.testname'

This first part adds the meta/lib/oeqa toaster file.

Signed-off-by: Ionut Chisanovici <ionutx.chisanovici@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpdate tzcode to 2014c
Armin Kuster [Wed, 28 May 2014 21:21:39 +0000 (14:21 -0700)]
Update tzcode to 2014c

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoUpdate tzdata to 2014c
Armin Kuster [Wed, 28 May 2014 21:21:38 +0000 (14:21 -0700)]
Update tzdata to 2014c

Removed solar-time experiment  as per
http://mm.icann.org/pipermail/tz/2013-November/020488.html

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoethtool: use serial-tests config needed by ptest.
Tudor Florea [Wed, 28 May 2014 16:59:54 +0000 (18:59 +0200)]
ethtool: use serial-tests config needed by ptest.

buildtest-TESTS and runtest-TESTS targets are required by ptest.
In order to have those targets in automake 1.13.4 serial-tests
should be specified since parallel-tests is assumed by default
and serial-tests is optional.

ptest results:
PASS: test-cmdline
PASS: test-features
==================
All 2 tests passed
==================

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agosstatesig: Move saferecipedeps handling to be earlier
Richard Purdie [Wed, 28 May 2014 16:38:36 +0000 (17:38 +0100)]
sstatesig: Move saferecipedeps handling to be earlier

We want to use the saferecipedeps handling code to allow gcc-cross-* to
work on multiple different tunes. Its currently in target only code
so it needs to be earlier to allow it to work on native-> target
dependencies.

This change has no effect on existing uses but makes gcc-cross become
shared as desired.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoopenssl: add openssl-CVE-2010-5298.patch SRC_URI
Roy Li [Thu, 22 May 2014 06:42:51 +0000 (14:42 +0800)]
openssl: add openssl-CVE-2010-5298.patch SRC_URI

make openssl-CVE-2010-5298.patch truely work

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline: use upstream's aclocal.m4 as acinclude.m4
Ross Burton [Wed, 28 May 2014 11:56:25 +0000 (12:56 +0100)]
readline: use upstream's aclocal.m4 as acinclude.m4

Instead of shipping a fork of the upstream aclocal.m4, simply rename it to
acinclude.m4 at configure time.  We don't need the fork now that autoheader is
excluded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline: exclude autoheader from autoreconf
Ross Burton [Wed, 28 May 2014 11:56:24 +0000 (12:56 +0100)]
readline: exclude autoheader from autoreconf

readline ships a hand-maintained config.h, instead of letting autoheader
generate one from configure.ac.  The required arguments to AC_DEFINE are not in
configure.ac so autoheader will produce warnings and the generated code will not
behave as expected.

Solve this by excluding autoheader from autoreconf, so the upstream config.h.in
is used.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoreadline: add missing STRUCT_DIRENT_D_* symbols to config.h.in
Ross Burton [Wed, 28 May 2014 11:56:23 +0000 (12:56 +0100)]
readline: add missing STRUCT_DIRENT_D_* symbols to config.h.in

readline maintains config.h.in by hand but several symbols are incorrect.  Fix
these so that the test results are reflected in config.h.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agotcmode-default.inc: Default to using gcc 4.9
Khem Raj [Thu, 20 Mar 2014 23:18:26 +0000 (16:18 -0700)]
tcmode-default.inc: Default to using gcc 4.9

Signed-off-by: Khem Raj <raj.khem@gmail.com>