]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
10 years agoqt4: upgrade to 4.8.7
Kai Kang [Tue, 2 Jun 2015 01:52:57 +0000 (09:52 +0800)] 
qt4: upgrade to 4.8.7

Upgrade qt4 packages from version 4.8.6 to 4.8.7.

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

(From OE-Core rev: 4d033fdc5e754e22edb2e9074e30e58847c4b791)

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

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

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

(From OE-Core rev: 3b1d89a51445cf526ca84eb5b53de434f9585d6e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobsps: update SRCREVs to the 3.19 latest
Bruce Ashfield [Fri, 5 Jun 2015 15:25:54 +0000 (11:25 -0400)] 
bsps: update SRCREVs to the 3.19 latest

Updating the reference BSP's SRCREVs to pick up the latest 3.19 changes.

(From meta-yocto rev: bad2646473eaad889f77cec4ec40c759d3acfb4a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agometa-yocto-bsp: bump to linux-yocto 3.19 for the non-x86 BSPs
Kevin Hao [Fri, 5 Jun 2015 04:17:49 +0000 (00:17 -0400)] 
meta-yocto-bsp: bump to linux-yocto 3.19 for the non-x86 BSPs

Boot test for all these boards.

(From meta-yocto rev: 916f6100d24db663d1cc1ffb0e7fa5b696686988)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: parse/BBHandler: Avoid repeatedly resetting FILE
Richard Purdie [Thu, 4 Jun 2015 09:42:26 +0000 (10:42 +0100)] 
bitbake: parse/BBHandler: Avoid repeatedly resetting FILE

If we're not going to change the value of FILE, or we know it isn't
going to have changed (ext == bbclass), don't set FILE.

This avoids messy looking history of the variable as well as optimises
parsing speed slightly.

(Bitbake rev: 88e4600aa66dda2e6c807f9d97af8982bcd8817b)

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

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

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

(From OE-Core rev: e0c526017e895d768e8a4d09999242286b1f6ee9)

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

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

(From OE-Core rev: 4c992854414360a10e1b452c9a776cbd993dee1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoxserver-xorg: Upgrade 1.16.3 -> 1.17.1 (OELAYOUT_ABI change)
Jussi Kukkonen [Thu, 7 May 2015 10:39:19 +0000 (13:39 +0300)] 
xserver-xorg: Upgrade 1.16.3 -> 1.17.1 (OELAYOUT_ABI change)

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

(From meta-yocto rev: f9f56ee4c89cfbec09b60e44f6b2f7cbc1ff4310)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agodistro/package_regex: add stable branch regex for Pango
Ross Burton [Tue, 2 Jun 2015 13:47:49 +0000 (14:47 +0100)] 
distro/package_regex: add stable branch regex for Pango

(From meta-yocto rev: 955e2af19383b7389cbdd931d838cfab1e258b74)

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

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

(From OE-Core rev: c91ffdb8fff4a62ccb80196a3d735e4b9a3056a3)

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

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

(From OE-Core rev: 4c91238d0b7089186a8ec5f65b97afc7f361e16b)

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

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

(From OE-Core rev: 0a5bb9f617dffbfddf599555cff5f5536f10b93f)

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

(From OE-Core rev: d713080a3299de2d5bffaed7469b1cb9ae1ca107)

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

(From OE-Core rev: 6eddc9e222077e50d5b1b2b827840ada3be1d978)

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

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

(From OE-Core rev: 72e37ddcaac4c7fdc4aec292defd528dd86014ac)

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

(From OE-Core rev: cf894e78ad12034d8d21de3810cd4bfd66eb4533)

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

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

(From OE-Core rev: 950846d019ffac21909a96d90af8cf7e5bdd5738)

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

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

(From OE-Core rev: 898b286b92b031db64c2143e81a79fbb20da481a)

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

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

(From OE-Core rev: 1cac4dea1dd4a335752539feefc72372fb78a41d)

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

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

  so inherit autotools-brokensep

(From OE-Core rev: 3a3d47882ac26878bdacd4d27a06bbb8fb5e1822)

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

This is exposed by musl where indirect include does not happen

(From OE-Core rev: 7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f)

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

This update brings following patches

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

Additionally rearranges the local patches in sequence

(From OE-Core rev: a23cbec2fab9832dfcbad08e22f0f81a01fcab65)

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

Drop backported patches

(From OE-Core rev: 6cef5f25c8ba45d17a670200c9197f8e12afbad1)

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

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

Change-Id: Ibaf8114f2aef63f1eadf493b264e78cd928535a0
(From OE-Core rev: 66e4a0d10a382618fe925b33a9d6df3ee49297e2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoglibc: remove duplicate --disable-nscd from EXTRA_OECONF
Andre McCurdy [Mon, 1 Jun 2015 23:33:34 +0000 (16:33 -0700)] 
glibc: remove duplicate --disable-nscd from EXTRA_OECONF

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

(From OE-Core rev: 05360e6e5e82395ef3a5035b62b805d22592d571)

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

(From OE-Core rev: 81d06ef0a566793e644686ec604ad7d46546d2b0)

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

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

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

(From OE-Core rev: 491d485ade68c128624eee00977f293dba8f64b9)

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

(From OE-Core rev: d024a53c8018d63348b5939cdec1ba1b34356cb4)

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

Backport from upstream glibc:

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

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

(From OE-Core rev: e643b9bc4c459ea8b59573cf67f2494388e7a377)

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

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

[YOCTO #7086]

(From OE-Core rev: f1b91bca8f314548f8b616c870cacf9507649c19)

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

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

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

(From OE-Core rev: d1683b5bb584e2b09bda76bf8523b12636d91d73)

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

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

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

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

(From OE-Core rev: 729592223a0c076abe2c58a0cf3f4c6d6583602c)

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

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

(From OE-Core rev: 4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6)

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

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

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

(From OE-Core rev: 77c4865bbde4cd2a061cf333f9ad798afc6de0ef)

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

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

(From OE-Core rev: 44ae778fefca5112900b870be7a485360c50bc2e)

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

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

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

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

(From OE-Core rev: dee005b6e1bc353230f9f27a469b2054a644e542)

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

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

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

(From OE-Core rev: f27ddf0de23871fc72cfc31f514f0e144aaa2082)

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

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

(From OE-Core rev: 968973d55d4b33e1a929ed4cdf9387fcaba2d93f)

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

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

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

Running chvt in background fixes the issue.

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

(From OE-Core rev: 19eaf4a59f4545e049f525d0b0446a9c08d18f0f)

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

Remains enabled by default, no functional change.

(From OE-Core rev: b7c5e813011f30b33702d8d2fbff3bdbd61be742)

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

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

(From OE-Core rev: 78a0e916882a747c267808c08ab8bc615198b5a8)

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

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

(From OE-Core rev: 3d48bb6d2d65d0837dcacc262633a55053652e5f)

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

The source file does not exist when pluseaudio is disabled

Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6
(From OE-Core rev: 3ad8bd7f33dfe8aaf4732e321270f61fe1ba3526)

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

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

(From OE-Core rev: 943f6fdd0bc20060b5e120ad22f80cb8534153fd)

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

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

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

(From OE-Core rev: 60c1f76f65060cbea458b06f9719a2536f50474e)

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

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

(From OE-Core rev: 787acab921b41082c4e8ca87bc40ae4e60954af8)

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

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

Replace tab with spaces in SRC_URI as well.

(From OE-Core rev: ea97b1dee834594358c342515720559ad5d56f33)

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

Backport patch to fix CVE-2014-3564.

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

(From OE-Core rev: 421e21b08a6a32db88aaf46033ca503a99e49b74)

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

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

(From OE-Core rev: 67f09e9086b8fb1c0c8a1dd19419afb1a5af8daf)

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

(From OE-Core rev: 01c7a7c013c4ee56f06fb7b5ab683066d8cb62f8)

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

(From OE-Core rev: 0ebf49f56571d5e1951d47f479ab9713442e30bc)

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

Updated dirmngr-uses-libgpg-error.patch.

(From OE-Core rev: 9c5cb4e2b51e605523d636f57d071593a01014ee)

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

(From OE-Core rev: 1aeeb17a01c4a585b84ed52bd29d47e3e027d0b0)

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

(From OE-Core rev: 6c6cfcc25717c09b02801065cd2de816f3f1f068)

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

(From OE-Core rev: 2299b06c78b762d1ac08c18c724ffd1e7cc6a3c0)

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

(From OE-Core rev: 2fbf0023ef7044ac5aa660899479de85221e4d01)

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

(From OE-Core rev: 4dcbf5b8b4a0fc385905148be175725dc8057595)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: more HTML5 fixes
Alexandru DAMIAN [Thu, 28 May 2015 11:30:50 +0000 (12:30 +0100)] 
bitbake: toaster: more HTML5 fixes

More HTML5 fixes highlighted by tests on new data.

(Bitbake rev: a52242bb4d928b9abba8a3489e350e4615a9da29)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster tests: enable url check test
Alexandru DAMIAN [Mon, 18 May 2015 13:04:53 +0000 (14:04 +0100)] 
bitbake: toaster tests: enable url check test

Integrate the HTML5 validation as a test instead of
calling a separate script. This enables us to get the
HTML5 validation report as part of patch-level
testing.

gitignore the cache directory created by the http client

(Bitbake rev: 931caab56301876cb8632b289835c2545a096ef6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster/tts: Fix tests
Alexandru DAMIAN [Fri, 15 May 2015 12:15:08 +0000 (13:15 +0100)] 
bitbake: toaster/tts: Fix tests

(Bitbake rev: f4257f8df3be0627bdc7209fe34d674c42baf8d2)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: enable no browser start
Alexandru DAMIAN [Mon, 18 May 2015 13:13:15 +0000 (14:13 +0100)] 
bitbake: toaster: enable no browser start

We enable a "nobrowser" parameter that inhibits
the launch of a browser when toaster starts.

This is useful for integration with automated startup scripts
and enables headless testing.

(Bitbake rev: ccf7f39d470fe6d743b58b1140c19cb8da31ecaf)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: orm: Fix all failing unit test
Michael Wood [Wed, 20 May 2015 14:44:16 +0000 (15:44 +0100)] 
bitbake: orm: Fix all failing unit test

This fixes all the unit tests for the orm. Also added is the ability to
set a custom Layer index if you want to avoid using the public one by
specifying TTS_LAYER_INDEX

(Bitbake rev: dfbcbe116d0b987b850f67056f02f489ac0b8360)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: bldcontrol: Fix all failing unit tests
Michael Wood [Wed, 20 May 2015 14:41:24 +0000 (15:41 +0100)] 
bitbake: bldcontrol: Fix all failing unit tests

This fixes the unit tests for the bldcontrol it requires the
implementation of a new Exception type so that a known Exception can be
handled. Also fixed is the path to the toaster conf files so that the
test doesn't need to be run from the top level directory and the ability
to specify the values of TTS_SOURCE_DIR and TTS_BUILD_DIR and
TTS_TEST_ADDRESS used for testing.

Edited by Alex Damian to correct the rebasing of the localhostbecontroller.py
file.

(Bitbake rev: c17933271cd273a346115c2ee0b6695ff3f981ce)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: add tests for xhr_datatypeahead calls
Alexandru DAMIAN [Tue, 19 May 2015 17:02:21 +0000 (18:02 +0100)] 
bitbake: toastergui: add tests for xhr_datatypeahead calls

In order to make sure we replace the xhr_datatypeahead calls
with similar APIs, we add tests that validate the data returned
by the xhr_datatypeahead. A copy of these tests will be enabled
for each type of datatypeahead that will be replaced.

(Bitbake rev: 9a3197fba46b38e5863e7ded11e4bf9530cfcc9b)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: tests for the all-projects API point
Alexandru DAMIAN [Tue, 19 May 2015 16:22:46 +0000 (17:22 +0100)] 
bitbake: toastergui: tests for the all-projects API point

This patch adds Django tests that verify that the 'all-projects'
page returns a valid HTML page when invoked normally, containing
the project name; and valid JSON containing API-needed fields
if the GET parameter `format` is set to "json"

(Bitbake rev: 9edd61fe7afaf273ed31d214af9251462182ad4f)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toasterui: replace cookie-based preferences with session data
Alexandru DAMIAN [Tue, 19 May 2015 12:30:05 +0000 (13:30 +0100)] 
bitbake: toasterui: replace cookie-based preferences with session data

We switch from storing the user preferences using cookies
to saving them in the server-side session.

Patch for "count/pagesize" and "orderby" fields in the table-based
pages.

This patch will solve two problems:
* the browser-side race between the GET header data and the cookie data
* page breakages when field names chances in orderby statements.

(Bitbake rev: 125d0e05805247450be0675e281a21bd6146d108)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: refactor checksettings command
Alexandru DAMIAN [Tue, 19 May 2015 12:13:27 +0000 (13:13 +0100)] 
bitbake: toaster: refactor checksettings command

This patch refactors the checksetting command to prevent
early return from the handle function.

It also adds a check that marks IN PROGRESS builds at startup time
as FAILED. Minor changes to BuildRequest and Build classes
ensure useful string representation for the objects.

(Bitbake rev: adf67dd79dbf6b585bf8cd54f99c389409b88ecd)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: Consider task name when restarting a build in /builds
Ed Bartosh [Tue, 19 May 2015 21:34:56 +0000 (00:34 +0300)] 
bitbake: toastergui: Consider task name when restarting a build in /builds

Previously the same issue was fixed for project view.
'Run again' button now restarts builds using target:task also in builds view.

[YOCTO #7442]

(Bitbake rev: ae6349a13f11b6fa90fe5603b000bef14ee0f2f0)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster-gui: Show task name for the builds in /builds
Ed Bartosh [Tue, 19 May 2015 15:44:50 +0000 (18:44 +0300)] 
bitbake: toaster-gui: Show task name for the builds in /builds

Task name was only shown for the latest builds in project view.
Now it should be shown also in builds view.

(Bitbake rev: 6492349d50a2048b1cbebab482bfd075bb48dd96)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add an invalidate cache method on data update signal
Michael Wood [Tue, 19 May 2015 15:10:19 +0000 (16:10 +0100)] 
bitbake: toaster: Add an invalidate cache method on data update signal

Instead of relying on the cache expiring over an amount of time we can
listen to the changed notification on the models to invalidate the
cache. Also fixes overlapping cache names.

(Bitbake rev: eb0b1450e421cf65b407b1ac0336ac24ffc626e8)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Port layerdetails to ToasterTables
Michael Wood [Mon, 18 May 2015 19:08:28 +0000 (20:08 +0100)] 
bitbake: toaster: Port layerdetails to ToasterTables

This ports the layerdetails page to using ToasterTables
Also some whitespace and strict clean ups in the existing layerdetails
js and html template.

(Bitbake rev: 8ce35f81631e31539aeb82f8a85abbb3312e5097)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Add a simplified ToasterTable template
Michael Wood [Mon, 18 May 2015 19:01:44 +0000 (20:01 +0100)] 
bitbake: toaster: Add a simplified ToasterTable template

This is like the normal ToasterTable template but with a number of
features removed such as edit columns and has a lower profile compared
to the "main" tables.

(Bitbake rev: 4ce35c74d2b1ecd68c494fa9bab3c1133f9679c1)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix toastertable header
Michael Wood [Mon, 18 May 2015 12:44:53 +0000 (13:44 +0100)] 
bitbake: toaster: Fix toastertable header

Fixes regression introduced by 'tables updates for HTML5 compliance'

(Bitbake rev: 406a7f81420f7baa5cbfc034b573a4d692b98874)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: show relative paths in configvars view
Ed Bartosh [Mon, 18 May 2015 09:03:00 +0000 (12:03 +0300)] 
bitbake: toastergui: show relative paths in configvars view

Reworked filtering of config paths.

Stripped clone paths, topdir and its parent directory from the paths
to config files in configvars view.

[YOCTO #7463]

(Bitbake rev: 873087b11653848ec2704d67de5680a265b71eaa)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toastergui: table header bring back
Alexandru DAMIAN [Fri, 15 May 2015 13:43:31 +0000 (14:43 +0100)] 
bitbake: toastergui: table header bring back

This patch brings back the table header, which I mistakenly
took out when fixing HTML5 compliance.

(Bitbake rev: 9855e0b9735ebf0a6c622bee6ec787dfc1d9e474)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster logger: assign projects to all builds
Alexandru DAMIAN [Thu, 14 May 2015 15:44:27 +0000 (16:44 +0100)] 
bitbake: toaster logger: assign projects to all builds

Bitbake logger now sets a default project if the TOASTER_BRBE
or TOASTER_PROJECT Bitbake variables are not set.

This a necessary step in getting all builds under a project,
as to unify the MANAGED and interactive modes.

Other small fixes are included, related to the size of the
fields in the database.

(Bitbake rev: 5e0bf388f4e5c1cc493ac8264785e631bad2f672)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster logger: refactor recipe and layer file paths
Alexandru DAMIAN [Thu, 14 May 2015 15:10:50 +0000 (16:10 +0100)] 
bitbake: toaster logger: refactor recipe and layer file paths

This refactoring brings the "local_path" of the
layer from the Layer object to the Layer_Version object, which
is more appropriate as different checkouts of the same
Layer may live in different directories.

This enables us to store Recipe file paths relative to a Layer_Version
at all times, aleviating the need to store full file paths in the
database. We also turn the prefix of the path (e.g. virtual:native
path name space) into a pathflag field.

In turn, this solves the problem of mis-identification of tasks based
on the recipe file paths, since we can also match the namespace of the
file paths on the recipe files.

[YOCTO #7594]

(Bitbake rev: ec43dc569e370767c709dec225cbee0c99151c19)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: enable server-side sessions for all usages
Alexandru DAMIAN [Thu, 14 May 2015 13:40:10 +0000 (14:40 +0100)] 
bitbake: toaster: enable server-side sessions for all usages

In an effort to fix client-side session storage using
cookies, we enable server-side session support for all pages.

(Bitbake rev: ba10b6f89767c0dad8a2b064f42a84956764e9da)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: toaster: Fix build button current project race
Michael Wood [Thu, 14 May 2015 16:17:51 +0000 (17:17 +0100)] 
bitbake: toaster: Fix build button current project race

Make sure the current project value is set before we check to see if the
project is buildable. Also update the blacklist url patterns where we
aren't displaying the button.

[YOCTO #7739]

(Bitbake rev: e169ed5cf190af62586f3e1c6ed6db6120406e05)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: data: Make expandKeys deterministic
Richard Purdie [Wed, 27 May 2015 16:37:33 +0000 (17:37 +0100)] 
bitbake: data: Make expandKeys deterministic

At least in theory, the order the keys are expanded in can make
a difference, particularly if there is key overlap.

We also want to ensure that any underlying base key is processed
before any overridden version of that variable (FOO before FOO_x)
which helps the update_data removal code I've been testing.

(Bitbake rev: 863b6add24c211d64ba7931647084321f2d65889)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: ConfHandler: Fix bogus dependency problems
Richard Purdie [Wed, 27 May 2015 16:28:56 +0000 (17:28 +0100)] 
bitbake: ConfHandler: Fix bogus dependency problems

Adding a dependency when errors occur accessing a file when calling
handle() is not the correct thing to do. THe handle() code calls
resolve_file() which can raise an exception without ever touching
"fn" itself, it has also already marked all the dependencies correctly.

This leads to bogus files being resolved to the local cwd and
hence triggers reparses for no good reason.

The solution is to simply remove the bogus dependency.

(Bitbake rev: 366af3be1cffd64e4a79c15990c1e05869022c14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: BBHandler: Drop cwd from search path
Richard Purdie [Wed, 27 May 2015 16:30:31 +0000 (17:30 +0100)] 
bitbake: BBHandler: Drop cwd from search path

Whilst bitbake has done this for a long time, the behaviour of resolving
class files against cwd is not desirable. This can be seen during
base configuration parsing when looking for base.bbclass where a dependency
on cwd is added. If cwd then changes, the cache is invalid and triggers a
re-parse.

The only real option is to drop this entry and if files can't be found, we
fix BBPATH in the cases where it needs fixing. I didn't find any in the
random selection of layers I tested parsing locally.

(Bitbake rev: 508aad9d5db7e51328b1fd6ee53b4bc3720a30b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: cooker/utils: Improve parsing profiling
Richard Purdie [Wed, 27 May 2015 16:31:10 +0000 (17:31 +0100)] 
bitbake: cooker/utils: Improve parsing profiling

Currently the cooker parsing processes each dump an individual profile
which is ok, but means absolute numbers of function calls for a given load
can be tricky to determine as parsing of recipes may go to different pool
threads on different runs.

This change collects up the individual thread parsing results and processes
them into one profile output. The profile processing function in utils
needed tweaks to allow this to work.

(Bitbake rev: d3d2541aacd1ea560da0d8b25a3ea3f0563dee70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: tests/data: Add key expansion unit test
Richard Purdie [Tue, 26 May 2015 15:18:43 +0000 (16:18 +0100)] 
bitbake: tests/data: Add key expansion unit test

This ensures basic key expansion works and that overlapping
keys generate a log message.

(Bitbake rev: ed5a8954ac923eda9750a636c5bb5b95ffce664f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: tests/data: Add log parsing test code
Richard Purdie [Wed, 27 May 2015 16:33:16 +0000 (17:33 +0100)] 
bitbake: tests/data: Add log parsing test code

This allows us to write tests which ensure a particular action generates
a particular log message.

(Bitbake rev: b30ee0aba51a35a194a4338b988f93ece1ed281c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: data: Revert expandKeys warning move
Richard Purdie [Tue, 26 May 2015 15:16:45 +0000 (16:16 +0100)] 
bitbake: data: Revert expandKeys warning move

This was incorrect, it *must* be done next to the rename as a previous
may overlap with the current one and we need to detect this case.

I'll add a test case to better catch this problem in future.

(Bitbake rev: 5e9d0911cd86e980ab310cc0d79c9383fbc2c844)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agobitbake: data: Clean up expandKeys None value handling
Richard Purdie [Tue, 26 May 2015 10:41:02 +0000 (11:41 +0100)] 
bitbake: data: Clean up expandKeys None value handling

This comparison is interesting even in the case of empty vales. Enabling
this warning actually found a bug in the metadata in avahi. Make the
code handle None specifically and also remove the dead code path in the
second if statement.

(Bitbake rev: a4cd4c56284812efb2a2bc0c8667ddad073f8e94)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10 years agoharfbuzz: upgrade to 0.9.40
Cristian Iorga [Mon, 25 May 2015 13:10:50 +0000 (16:10 +0300)] 
harfbuzz: upgrade to 0.9.40

- Optimizations and refactoring;
- Bug fixes.

(From OE-Core rev: 20de4a069c7226f60becafd14b88a8439e4da1c2)

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

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

(From OE-Core rev: fd0880c2b0958b72d641a6821ddd6d6790a92b7a)

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

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

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

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

(From OE-Core rev: 5b549c6d73e91fdbd0b618a752d618deb1449ef9)

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

(From OE-Core rev: b00cc34f8251fa1cc478de112292e105f12127d7)

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

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

(From OE-Core rev: fc6ad42cb6079bb4a8dbe1671a4dcfd40e0a47bc)

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

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

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

(From OE-Core rev: 4321fce801daea50baaaae9ed6a141c6e7712834)

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

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

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

(From OE-Core rev: 1d9e6ef173bea8181fabc6abf0dbb53990b15fd8)

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

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

(From OE-Core rev: 7dd4a53a99277b46696dea5558fa321a2267af0a)

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

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

(From OE-Core rev: f58ddacfa153e2bd9fcc79fa1e2c65ae6ef6af02)

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

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

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

(From OE-Core rev: e5e2c18ce4344c14d9e52ece916333bd0a619281)

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

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

(From OE-Core rev: f9b121d8295eb9e297627f4d623164b43349a638)

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

Unfortunately the combination of:

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

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

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

(From OE-Core rev: 053b8a4e6b9a4b02c0b1b4bc1e297a1251a901a9)

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

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

(From OE-Core rev: 03482382b797f3501c3fb0df0fe12bd4e5e51a39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>