scm/bb/tizen-distro.git
11 years agolib/oeqa/utils/decorators.py: decorators for test methods
Radu Moisan [Fri, 28 Jun 2013 08:28:57 +0000 (11:28 +0300)]
lib/oeqa/utils/decorators.py: decorators for test methods

Some skip decorators meant only for test methods, providing
some kind of test methods dependency.
They are used together with a test method name not a condition.
These are complementary to python's unittest skip decorators.

(From OE-Core rev: 79cb89648702aa80ec986e0026c62948de905b87)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/utils/qemurunner.py: class to handle qemu instance
Radu Moisan [Fri, 28 Jun 2013 08:27:56 +0000 (11:27 +0300)]
lib/oeqa/utils/qemurunner.py: class to handle qemu instance

Handles qemu instances (launch, kill, restart, serial connection, logging)
Launch is blocking until login prompt and returns to the task. A qemu
serial connection is used to save the boot log and get the ip from the image.
Changed runqemu script not to error out when using custom serial option.

(From OE-Core rev: ee7d64dfcc02ba8f568b17d181e0a58d3c810076)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/utils/oeqemuconsole.py: handle qemu serial console connection
Stefan Stanacar [Fri, 28 Jun 2013 08:09:28 +0000 (11:09 +0300)]
lib/oeqa/utils/oeqemuconsole.py: handle qemu serial console connection

Python's telnetlib Telnet class connects only to AF_INET sockets, but we
want to use Unix domain socket for the qemu serial connection, so that's
why we override it.
Also we add a new read_all_timeout method similar to Telnet's read_all,
that read until a match or timeout and logs all output.

(From OE-Core rev: 1cfec2f0a1a1ee84cc6b2b6ad890688da85c5e81)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/utils/sshcontrol.py: helper module for running remote commands
Stefan Stanacar [Fri, 28 Jun 2013 08:04:06 +0000 (11:04 +0300)]
lib/oeqa/utils/sshcontrol.py: helper module for running remote commands

Provides a class for setting up ssh connections,
running commands and copying files to/from a target.

(From OE-Core rev: 683cac9768e0d38fa15ddc5451e6b2333f184033)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oeqa/oetest.py: base module for all runtime unittests
Stefan Stanacar [Fri, 28 Jun 2013 08:01:40 +0000 (11:01 +0300)]
lib/oeqa/oetest.py: base module for all runtime unittests

This module contains the base class for all runtime tests
and some helper methods.

(From OE-Core rev: 7765c27705e90381975fb2b89ea2181287517761)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/testimage.bbclass: new class for image tests
Stefan Stanacar [Fri, 28 Jun 2013 07:57:04 +0000 (10:57 +0300)]
classes/testimage.bbclass: new class for image tests

Replacement class for imagetest-qemu.bbclass. It launches a qemu instance and
runs test modules defined in TEST_SUITES.

(From OE-Core rev: e0e32b978e5af128d7ff4ee2686777b49f919e27)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: HOB:Proper handle of SIGINT
Valentin Popa [Wed, 3 Jul 2013 11:31:44 +0000 (11:31 +0000)]
bitbake: HOB:Proper handle of SIGINT

Modal dialogs doesn't run on the main loop so they cannot
catch any signal from the terminal. This patch makes sure
the dialogs are destroyed when a SIGINT is sent to HOB.

[YOCTO #3329]

(Bitbake rev: 6eee0cc37438cc3f91531b7df524330fba27161b)

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: Take PV increase opportunity to drop PR
Richard Purdie [Fri, 5 Jul 2013 14:49:51 +0000 (15:49 +0100)]
qt4: Take PV increase opportunity to drop PR

(From OE-Core rev: b97570c66737a6c404b49459cd95184abb855399)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: upgrade to stable 1.21.1
Chen Qi [Fri, 5 Jul 2013 02:29:29 +0000 (10:29 +0800)]
busybox: upgrade to stable 1.21.1

Merged or backported patches are dropped.
The wget_dl_dir_fix.patch was submitted more than 1 year ago, it's
about the -P option behavior, and it's not accepted, so I dropped
this patch too.

(From OE-Core rev: a2f31a6a6accb8eee2084cb39edb8e9af4b4189f)

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>
11 years agoqt4: upgrade to 4.8.5
Jonathan Liu [Wed, 3 Jul 2013 23:50:32 +0000 (09:50 +1000)]
qt4: upgrade to 4.8.5

Removed patches integrated upstream.
Added INSANE_SKIP libdir for examples packages as it includes plugin
shared libraries outside of libdir.

(From OE-Core rev: f119566477243ce43b727492dc78b9cb3dd76de4)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoresolvconf: Update to 1.72
Saul Wold [Wed, 3 Jul 2013 22:09:51 +0000 (15:09 -0700)]
resolvconf: Update to 1.72

(From OE-Core rev: bb113474bcc9f4733cc5604093e8d7016a35bae9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoremake: Update to latest 3.82_dbg-0.9 Tag
Saul Wold [Wed, 3 Jul 2013 22:08:26 +0000 (15:08 -0700)]
remake: Update to latest 3.82_dbg-0.9 Tag

(From OE-Core rev: 1fc6e0fc5d5d65190a709bc21ec756609468eb09)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoswabber: Update to latest head
Saul Wold [Wed, 3 Jul 2013 22:07:37 +0000 (15:07 -0700)]
swabber: Update to latest head

(From OE-Core rev: 22afce89e7a000bc8f0b66df1f675ab0fe4b1e74)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodtc: Update to 1.4.0 Git Tag
Saul Wold [Wed, 3 Jul 2013 22:07:18 +0000 (15:07 -0700)]
dtc: Update to 1.4.0 Git Tag

(From OE-Core rev: 88913e38c4ee1bdde2ad9f23fa02112ddbe8f590)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboost: Update to 1.54
Saul Wold [Wed, 3 Jul 2013 22:05:49 +0000 (15:05 -0700)]
boost: Update to 1.54

(From OE-Core rev: cc8edbc7c1df39d58b93393c117c8787e9759423)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohelp2man: Update to 1.43.3
Saul Wold [Wed, 3 Jul 2013 22:04:21 +0000 (15:04 -0700)]
help2man: Update to 1.43.3

(From OE-Core rev: b9e75458a6beb3bb6ff21b5be3763bb4b26c81f1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: disable runuser by default since it depends on PAM
Saul Wold [Wed, 3 Jul 2013 18:14:50 +0000 (11:14 -0700)]
util-linux: disable runuser by default since it depends on PAM

util-linux's configure checks for pam_misc.h and if it finds it will
enable runuser, there was a case where it was found via shared state
and then got rebuilt. This makes the build more deterministic.

(From OE-Core rev: df801d65e5b55542d6bd94a179becd79d010b32a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-basic: Only build libpam if it's enabled
Saul Wold [Wed, 3 Jul 2013 17:36:46 +0000 (10:36 -0700)]
packagegroup-core-basic: Only build libpam if it's enabled

util-linux will check for the exisitance of pam header files and change what is
built, so only build libpam when pam is enabled for DISTRO_FEATURES

(From OE-Core rev: 7e768395622578b3bf944a91a1ac31022c11e245)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: enforce exact match for BBLAYERS
Tom Zanussi [Wed, 3 Jul 2013 20:13:34 +0000 (20:13 +0000)]
yocto-kernel: enforce exact match for BBLAYERS

The current code uses .startswith to find BBLAYERS, which causes false
positives when other variables such as BBLAYERS_NON_REMOVABLE exist.

This forces an exact match instead of a partial match.

Fixes [YOCTO #4743].

(From meta-yocto rev: c039def50ca6c02cb1b66fd4bf76664de42c068e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: filter out 'layer' from arch list
Tom Zanussi [Wed, 3 Jul 2013 20:13:33 +0000 (20:13 +0000)]
yocto-bsp: filter out 'layer' from arch list

The yocto-layer tool added a new directory alongside the actual
architectures and 'common', which is already screened out as not an
actual architecture when displaying the architecures.

The same needs to be done for 'layer' which isn't actually an
architecuture and likewise needs to be screened out.

Fixes [YOCTO #4735].

(From meta-yocto rev: 7459485bf75855a40d124915d38284f737a25cc4)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcmode-default: Pin eglibc to 2.18
Khem Raj [Wed, 26 Jun 2013 20:59:53 +0000 (13:59 -0700)]
tcmode-default: Pin eglibc to 2.18

(From OE-Core rev: 887ce3cef0f6d7fcbb136474e29958ba69a6a726)

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>
11 years agodistro/conf: Drop libc-libm-big
Khem Raj [Wed, 26 Jun 2013 21:00:25 +0000 (14:00 -0700)]
distro/conf: Drop libc-libm-big

Its gone with eglibc 2.18

(From OE-Core rev: 0e0fbe51d4f0a684c082a165b91577c9b48f7e29)

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>
11 years agoeglibc: Drop libc-libm-big
Khem Raj [Wed, 26 Jun 2013 20:58:09 +0000 (13:58 -0700)]
eglibc: Drop libc-libm-big

This feature has been removed from eglibc 2.18

(From OE-Core rev: cce89a2f88fb159a82149a594349f6fd5fed6b44)

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>
11 years agoeglibc: Add 2.18 recipes
Khem Raj [Wed, 26 Jun 2013 20:59:01 +0000 (13:59 -0700)]
eglibc: Add 2.18 recipes

(From OE-Core rev: 59ae9fc07a6a89492c001de0b3322ecd6d3956be)

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>
11 years agobinutils: Backport emulation template fixes
Khem Raj [Thu, 27 Jun 2013 06:52:59 +0000 (23:52 -0700)]
binutils: Backport emulation template fixes

This fixes the linking errors seen on mips64 when linking
sln/ from eglibc 2.18

 /builds1/angstrom/build/tmp-angstrom_next-eglibc/sysroots/x86_64-linux/usr/libexec/mips64-angstrom-linux.gcc-cross-initial/gcc/mips64-angstrom-linux/4.8.1/ld:
BFD (GNU Binutils) 2.23.2 assertion fail
/builds1/angstrom/build/tmp-angstrom_next-eglibc/work/mips64-angstrom-linux/binutils-cross/2.23.2-r4/binutils-2.23.2/bfd/elfxx-mips.c:3453
| collect2: error: ld returned 1 exit status

(From OE-Core rev: eda721f0c85afa30c2b3030ef76522cc3451af21)

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>
11 years agoqt4: disable qmeegographicssystemhelper
Paul Eggleton [Wed, 3 Jul 2013 17:04:37 +0000 (18:04 +0100)]
qt4: disable qmeegographicssystemhelper

We don't want this enabled just because we have EGL and OpenGL ES 2.0
enabled.

(From OE-Core rev: 85aa73d397cb42a2fc8d6f901f8db1d601972741)

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>
11 years agosstate.bbclass: Add an extra check for sstate_mirrors
Joe MacDonald [Tue, 2 Jul 2013 13:19:07 +0000 (09:19 -0400)]
sstate.bbclass: Add an extra check for sstate_mirrors

BB_NO_NETWORK disables any fetching, however if we're using an external
sstate cache, we may want to be able to fetch those objects even if we are
not fetching the upstream sources.  Denote this situation by setting
SSTATE_MIRROR_ALLOW_NETWORK in local.conf.  When it is found, for sstate
cache fetches, mask off BB_NO_NETWORK for the local function.

(From OE-Core rev: ed585cad2e1fdc323c05fa82055a071bcf98d1bc)

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: remove drirc file
Martin Jansa [Mon, 1 Jul 2013 19:36:27 +0000 (21:36 +0200)]
mesa: remove drirc file

* it's packaged in libdricore package and prevents upgrading it
  when debian.bbclass is enabled
  * check_data_file_clashes: Package libdricore9.1.3-1 wants to install file /etc/drirc
        But that file is already provided by package  * libdricore9.0.2-1
* we can move it to separate packages, but it isn't very useful now, there
  aren't many gamers using mesa on embedded devices

(From OE-Core rev: d56e0c0e315acdb0ba5db7a539970d64678c1f7a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: bump SRCREV in git recipe, refresh patches
Martin Jansa [Tue, 2 Jul 2013 11:49:19 +0000 (13:49 +0200)]
mesa: bump SRCREV in git recipe, refresh patches

* 0003-EGL-Mutate-NativeDisplayType-depending-on-config.patch
  needs to be rebased so move old version for 9.1.3 to
  mesa-9.1.3/ and update the version in mesa/
* add git headers
* 0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch
  is already applied in new SRCREV, move it to mesa-9.1.3/
* formal change in license.html with new SRCREV:
   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  -BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  +SOFTWARE.

(From OE-Core rev: 7c60607c898f596731441425d75144be232d4c8e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: fix pipe_loader_sw build without libx11
Martin Jansa [Mon, 1 Jul 2013 19:36:25 +0000 (21:36 +0200)]
mesa: fix pipe_loader_sw build without libx11

* this is needed to fix pipe_loader_sw build without libx11,
  but building with HAVE_PIPE_LOADER_XLIB enabled still doesn't
  work (nobody is using this and it was removed in newer SRCREV).
  See https://bugs.freedesktop.org/show_bug.cgi?id=66357 for details.

(From OE-Core rev: 0cc7f4ebad7f4390ac340854b57111d5084bd956)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa: Improve gallium PACKAGECONFIG options
Martin Jansa [Mon, 1 Jul 2013 19:36:24 +0000 (21:36 +0200)]
mesa: Improve gallium PACKAGECONFIG options

* rename llvmpipe to llvm to match configure option
* add MESA_LLVM_RELEASE to allow switching to 3.3 easier
* --enable-gallium isn't recognized option, split it to 2 more
  PACKAGECONFIGs for gbm and egl

(From OE-Core rev: 0b1e64a8d026a8021f4568758a637689e886037b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolayer.conf: Bumping LAYERVERSION_core
Elizabeth Flanagan [Tue, 2 Jul 2013 22:29:29 +0000 (15:29 -0700)]
layer.conf: Bumping LAYERVERSION_core

Bumping LAYERVERSION_core to denote where meta-toolchain* is being
depreciated.

This goes back to my RFC:

http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/39016

As we are removing meta-toolchain* and replacing it with bitbake
<imagename> -c populate_sdk this causes issues with those of us who
need to do automated builds both on the current development branch and
on prior development branches.

Example: For prior releases, I need to build meta-toolchain*. Without
having a simple way to figure out where this is no longer the case, I
(and other folks who run automated builds) end up having to jump
through a lot of hoops trying to figure out where this layer changed.

Utilizing LAYERVERSION_* to do it makes sense as there is a
significant change that would cause issues for build engineers.

(From OE-Core rev: 41053141cdc04fd6d8490b54b8b8dc59dc0fe93a)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt-mobility: fix build in the absence of xvideo
Hongxu Jia [Tue, 2 Jul 2013 02:16:14 +0000 (10:16 +0800)]
qt-mobility: fix build in the absence of xvideo

QMake pro files don't explicitly define QT_NO_XVIDEO if the
configuration lacks xvideo, but plugins code relies on this define.

[YOCTO #4775]

(From OE-Core rev: 0d7b208d09e6511dbedfde60abd4bef9a0c596ee)

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>
11 years agobabeltrace: Update to 1.1.1 based release
Otavio Salvador [Tue, 2 Jul 2013 14:14:42 +0000 (11:14 -0300)]
babeltrace: Update to 1.1.1 based release

(From OE-Core rev: 973447e171086c3935e704ae41845697107d5cf3)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-ust: Update to 2.2.0 based release
Otavio Salvador [Tue, 2 Jul 2013 14:14:41 +0000 (11:14 -0300)]
lttng-ust: Update to 2.2.0 based release

(From OE-Core rev: d906713b7b59e926595e96fe54436015e0378317)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-modules: Update to 2.2.0 based release
Otavio Salvador [Tue, 2 Jul 2013 14:14:40 +0000 (11:14 -0300)]
lttng-modules: Update to 2.2.0 based release

(From OE-Core rev: 9436f568c23fa669f6db9c75c6e7d0a9f92f5a3a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-tools: Update to 2.2.0 based release
Otavio Salvador [Tue, 2 Jul 2013 14:14:39 +0000 (11:14 -0300)]
lttng-tools: Update to 2.2.0 based release

(From OE-Core rev: b11db8fbb68188a00b10ba9c25a22426db642bde)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: Added QA warning for shipping /usr/share/info/dir
Mihai Prica [Mon, 1 Jul 2013 10:31:00 +0000 (13:31 +0300)]
insane.bbclass: Added QA warning for shipping /usr/share/info/dir

/usr/share/info/dir should be generated at install time in a postinst.
Added QA warning to check at build time for this file. The warning
is disabled by default.

[YOCTO #3969]

(From OE-Core rev: be93fa1d8fd601d95147980938217142c7d98c62)

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroups: Update for split mc packages
Saul Wold [Thu, 27 Jun 2013 22:11:42 +0000 (15:11 -0700)]
packagegroups: Update for split mc packages

(From OE-Core rev: 9c600ef0cbfd3cc5191363997c0408e11c251b19)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomc: Don't remove libdir and split helpers into packages
Saul Wold [Wed, 26 Jun 2013 23:33:01 +0000 (16:33 -0700)]
mc: Don't remove libdir and split helpers into packages

It contains helper programs that are needed to make mc do the right actions
for the various file formats it understands.

The helpers are perl, python and shell scripts, split them out so the core
mc does not try to pull in perl and python, it will still run without these
helpers.

[YOCTO #4432]

(From OE-Core rev: 6d0205576ef1e8a62c469b883dc0c962440469a7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-modesetting: upgrade to 0.8.0
Jonathan Liu [Wed, 3 Jul 2013 06:04:20 +0000 (16:04 +1000)]
xf86-video-modesetting: upgrade to 0.8.0

Removed patch integrated upstream.

(From OE-Core rev: 33c85b9463462897adbbd142bfcfa791342d3f46)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: fix libdir check regexes
Paul Eggleton [Wed, 3 Jul 2013 15:09:32 +0000 (16:09 +0100)]
classes/insane: fix libdir check regexes

Ensure these do not pick up e.g. /lib/systemd/system/uuidd.socket, but
ensure we pickup e.g. /usr/lib/libnss3.so.1d (example from Debian). This
also fixes the broken exec_re regex (lib*.).

(From OE-Core rev: 391a361190d7da19ad3381121649a41a28516cb5)

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>
11 years agomkelfimage: switch to git repository
Emilia Ciobanu [Wed, 3 Jul 2013 15:02:49 +0000 (18:02 +0300)]
mkelfimage: switch to git repository

The project has switched to using git for version control.

(From OE-Core rev: 8a9a476c03a3bc2782206799933d92e216032ff7)

Signed-off-by: Emilia Ciobanu <emilia.maria.silvia.ciobanu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes work
victor [Wed, 3 Jul 2013 13:04:25 +0000 (15:04 +0200)]
apr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes work

Working with the meta-ros project we detected that the ROS nodes didn't launch properly
the reason was that by default apr_cv_mutex_recursive in apr is set to no and this leads
to the APRENOTIMPL return value of apr_thread_mutex_create in thread_mutex.c when
APR_THREAD_MUTEX_NESTED is requested via flags.

Added CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes" to sources/openembedded-core/meta/recipes-support/apr/apr_1.4.6.bb
to fix this issue. It has also been removed the mention of this variable in
meta/site/powerpc32-linux.

(From OE-Core rev: 20b9151f877978c086dcc8cbae7e0d9c9e89a45d)

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev-extraconf: blacklist /dev/dm-*
Jackie Huang [Wed, 3 Jul 2013 09:10:13 +0000 (17:10 +0800)]
udev-extraconf: blacklist /dev/dm-*

Do not mount /dev/dm-* by default via udev, this is the default
behavior for most distos and WRLinux4.x.

This resolved a problem with the sanity test failing due to seeing
the error while attempting to mount new logical volumes without fs.

(From OE-Core rev: 9a6cf08afd81c95abf13e6cf5e43bb8cd777edd9)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobusybox: fix the on-target upgrade problem
Chen Qi [Wed, 3 Jul 2013 04:48:12 +0000 (12:48 +0800)]
busybox: fix the on-target upgrade problem

We now can have a 'one-binary' version of busybox, or 'two-binary'
version of busybox, controlled by the 'BUSYBOX_SPLIT_SUID' variable.
This makes on-target upgrade a problem, as we have to support the
following four upgrading paths.

For convenience, in the following context, A is used to denote a
'two-binary' version of busybox while B is used to denote a 'one-binary'
version of busybox.

A --(upgrade)--> B
B --(upgrade)--> A
A --(upgrade)--> A
B --(upgrade)--> B

This patch makes effort to support the above four situations.

[YOCTO #4802]

(From OE-Core rev: 4e571e97750f3ac6a62cd0d2d10c08be98230630)

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>
11 years agoinit-ifupdown: set kernel parameters firstly
Jackie Huang [Wed, 3 Jul 2013 03:36:23 +0000 (11:36 +0800)]
init-ifupdown: set kernel parameters firstly

When do ipv6 ready test, some DAD (duplicate address detect) tests failed
since it expect IPV6 will be disabled, but not. even accept_dad has been
set to correct value 2. Further investigation shows the root cause is that
setting the kernel parameter happens after the NIC is upped.

Make kernel parameters be configured before the interfaces is upped, and
duplicate setting the kernel parameters does not have negative effect.

(From OE-Core rev: cabe22b9470e870e63b5ef1ec8349c67b0823abf)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: save button from settings called a nonexisting method
Cristiana Voicu [Mon, 1 Jul 2013 08:09:52 +0000 (08:09 +0000)]
bitbake: hob: save button from settings called a nonexisting method

The method was removed when the process for saving configuration
in Hob was changed. Replace the call with the right function.

[YOCTO #4793]
(Bitbake rev: b6aa2b63d71cbe82850a375381b2dbc750cf1905)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysstat: backport a patch to fix a parallel building error
Roy.Li [Tue, 2 Jul 2013 01:35:11 +0000 (09:35 +0800)]
sysstat: backport a patch to fix a parallel building error

(From OE-Core rev: 3e1dbabbf33a2e461abc92ff10cd970fe604ee38)

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>
11 years agoghostscript: fix patch failure with some versions of patch
Paul Eggleton [Tue, 2 Jul 2013 13:46:48 +0000 (14:46 +0100)]
ghostscript: fix patch failure with some versions of patch

Some versions of patch (e.g. 2.6.1.136-31a7 on OpenSUSE 12.2) will
refuse to patch a file via a symlink (probably a fairly sensible
security precaution). The "base/" subdirectory specified within the
ghostscript-9.05-NOT-check-endian.patch file was being lost by the
default application with -p1, but this was not caught on most systems
due to the symlink. Fix the path so that we always patch the file
directly.

Fixes [YOCTO #4773].

(From OE-Core rev: 96a009da2456a03c65c198d8dca7d2af8b228f4f)

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>
11 years agoclasses/package: print command output when commands fail
Paul Eggleton [Tue, 2 Jul 2013 12:19:10 +0000 (13:19 +0100)]
classes/package: print command output when commands fail

When external commands such as debugedit fail, it can be useful to see
their output, so use oe.utils.getstatusoutput() instead of
subprocess.call() to capture this and print it on failure.

(From OE-Core rev: 34179cc78b730ecb8ff3f4feb4beee2d17498ce3)

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>
11 years agorpm: add wrapper for debugedit executable
Paul Eggleton [Tue, 2 Jul 2013 12:17:18 +0000 (13:17 +0100)]
rpm: add wrapper for debugedit executable

This should fix sstate relocation issues with debugedit failing during
do_package on the Yocto Project autobuilder.

(From OE-Core rev: b7c2e01753e4a09388a3282e534bcbd163cd6ef7)

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>
11 years agosecurity_flags: Add the compiler and linker flags that enhance security
Saul Wold [Fri, 28 Jun 2013 18:46:03 +0000 (11:46 -0700)]
security_flags: Add the compiler and linker flags that enhance security

These flags add addition checks at compile, link and runtime to prevent
stack smashing, checking for buffer overflows, and link at program start
to prevent call spoofing later.

This needs to be explicitly enabled by adding the following line to your
local.conf:

require conf/distro/include/security_flags.inc

[YOCTO #3868]

(From OE-Core rev: ff0e863f2d345c42393a14a193f76d699745a2b9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4e.bbclass: export OE_QMAKE_QT_CONFIG
Jonathan Liu [Sat, 15 Jun 2013 00:06:31 +0000 (10:06 +1000)]
qt4e.bbclass: export OE_QMAKE_QT_CONFIG

The class is inheriting qmake2.bbclass which exports OE_QMAKE_QT_CONFIG
pointing to the qt4 qconfig.pri when it should be pointing to the
qt4-embedded qconfig.pri.

(From OE-Core rev: ed78661e147780ceb1bc1e952b68740984d85971)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: Add RRECOMMENDS for udev-cache to enable the cache
Saul Wold [Mon, 1 Jul 2013 18:58:07 +0000 (11:58 -0700)]
udev: Add RRECOMMENDS for udev-cache to enable the cache

This will enable the udev cache for sysvinit systems, which does improve post-first
boots.

(From OE-Core rev: 087d8ccd6eaf2795253b5cbeac171ad82489535c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-basic: remove hardcode udev
Saul Wold [Thu, 27 Jun 2013 22:29:34 +0000 (15:29 -0700)]
packagegroup-core-basic: remove hardcode udev

udev is brought in via packagegroup-core-boot

(From OE-Core rev: 580c555ef34f0abf07064990625122a13412ab0c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoTmuxRunning: handle multi-word commands
Tyler Hall [Sun, 30 Jun 2013 19:51:53 +0000 (15:51 -0400)]
TmuxRunning: handle multi-word commands

Just as in f8ed7446755eeb88191e16749350efa1e7e6197c, tmux wants a single
argument for its command. This applies to the "split-window" command as
well as "new."

Note that this alone is not enough to fix the TmuxRunning devshell when
using pseudo because tmux does not preserve the environment that pseudo
requires.

(From OE-Core rev: 36fb9799d6a449d86acca3be354af56ad87c3151)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoterminal: Run command using a wrapper script
Tyler Hall [Sun, 30 Jun 2013 20:16:19 +0000 (16:16 -0400)]
terminal: Run command using a wrapper script

Some terminals may not pass the environment into the child process. This
is true when using "tmux split-window." If tmux is already running, it
will start the command with the tmux session environment, ignoring the
environment where the command was issued.

This could possibly be worked around when launching tmux by injecting
variables into the user's session environment or adding the variables to
the "update-environment" tmux setting. However, both methods would
permanently alter the user's session, which is undesirable.

By using a wrapper script, we have full control over the final
environment. Replace the env dictionary with an empty data smart that
will contain the exported variables and a wrapper function that execs
the original command.

(From OE-Core rev: 3bb96671e987ce8110ce98b9f6d9efc093f8d20e)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolttng-modules: allow building without tracepoints enabled in kernel
Paul Eggleton [Mon, 1 Jul 2013 14:21:17 +0000 (15:21 +0100)]
lttng-modules: allow building without tracepoints enabled in kernel

Avoid a QA failure and instead produce a sensible warning message if no
modules were built.

Fixes [YOCTO #4791].

(From OE-Core rev: 3ef5b19cbd7a90e11fc61223737b0b8e0e60b1a3)

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>
11 years agowebkit-gtk: add aarch64 support
Riku Voipio [Mon, 1 Jul 2013 13:46:17 +0000 (16:46 +0300)]
webkit-gtk: add aarch64 support

Add patch from meta-linaro to compile webkit on aarch64.

(From OE-Core rev: 0edc61b9a38f93f06098b929662db6c3ce68670d)

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-native: add python-codecs-native to RPROVIDES
Paul Eggleton [Mon, 1 Jul 2013 11:01:53 +0000 (12:01 +0100)]
python-native: add python-codecs-native to RPROVIDES

This is now required by python-argparse-native as of OE-Core revision
8d0e84bdfaf63ad61be7b015dd55dacccfa9132c.

(From OE-Core rev: e9e03d44d6a402fecdf0d62ff09a1f6af9da10bb)

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>
11 years agoconnman: Set the VPN client program paths
Jukka Rissanen [Mon, 1 Jul 2013 10:48:57 +0000 (13:48 +0300)]
connman: Set the VPN client program paths

Automatically finding out the paths to VPN client programs does
not work when configure script is run so set the paths manually.

(From OE-Core rev: 6212703b826f4ba95196d9858a8fc033af623c7c)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobison: Delete unused patch
Khem Raj [Sat, 29 Jun 2013 19:14:27 +0000 (12:14 -0700)]
bison: Delete unused patch

(From OE-Core rev: 5917b04027f44e0c4425154dcc0563bbd681c1d8)

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>
11 years agouclibc: Remove 0.9.33 recipes
Khem Raj [Mon, 1 Jul 2013 01:37:45 +0000 (18:37 -0700)]
uclibc: Remove 0.9.33 recipes

git recipes are stable enough and contains the fixes needed
to run with modern systems e.g. systemd etc. Drop 0.9.33
We already use git as default.

(From OE-Core rev: 05ae8f181e4e1699cf8e5d8bc20b3cbd4b532edf)

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>
11 years agouclibc: Update to latest git/master version
Khem Raj [Wed, 26 Jun 2013 21:01:27 +0000 (14:01 -0700)]
uclibc: Update to latest git/master version

Use kernel cfg management infra to manage kconfig
fragments.

Add fragments for locale and obstrack and enable them
by default

Drop aplready applied patches

Drop DP = -1

(From OE-Core rev: 7bcf53ddb2e1a7171545f544ee2443b06d7c3359)

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>
11 years agolinux-firmware: fix ralink license file name
Paul Eggleton [Fri, 28 Jun 2013 17:48:50 +0000 (18:48 +0100)]
linux-firmware: fix ralink license file name

LICENCE not LICENSE and -firmware not _firmware. (Upstream seems totally
inconsistent with these filenames, unfortunately).

(From OE-Core rev: 1c6fd89967a949903a5ebffa9c4df7b5c06d32d1)

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>
11 years agolinux-firmware: be consistent with license package naming
Paul Eggleton [Fri, 28 Jun 2013 17:26:49 +0000 (18:26 +0100)]
linux-firmware: be consistent with license package naming

Much as I prefer en_GB spelling, we need to be consistent with the other
package names in this recipe. Thanks to Trevor Woerner for pointing this
out.

(From OE-Core rev: f8e4e91de69d5e2f92a122a596d7241546034386)

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>
11 years agolib/oe/lsb.py: fall back to /etc/os-release for host distro ID
Paul Eggleton [Fri, 28 Jun 2013 16:09:46 +0000 (17:09 +0100)]
lib/oe/lsb.py: fall back to /etc/os-release for host distro ID

The new standard for host distribution identification [1] is
/etc/os-release, and a number of newer distributions provide this file,
so add support for this in order to pick up more distributions.
Additionally, handle "rolling release" style distributions that don't
report a version number, e.g. Arch Linux.

With this change we can identify the most common distributions, so this
should satisfy [YOCTO #4271]. Note that this doesn't imply support for
these distros as build hosts, just that we can identify them.

[1] http://www.freedesktop.org/software/systemd/man/os-release.html

(From OE-Core rev: bff50b747cde04007ead65dde4207b16a8e1bf08)

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>
11 years agobase-files: remove the unnecessary /media/xxx directories
Chen Qi [Fri, 28 Jun 2013 07:48:36 +0000 (15:48 +0800)]
base-files: remove the unnecessary /media/xxx directories

A few directories under /media were created by default, /media/card,
/media/ram, /media/realroot, etc.

These directories actually have no real usage now, thus removing them.

The /media/ram entry in the fstab is also removed, as mounting a tmpfs
over /media/ram in our system brings no benefit.

Note that a duplicate '/mnt' entry in dirs755 are also removed.

[Yocto #4774]

(From OE-Core rev: 458e76e470966d759067b2f6e6f00fa75a2963f3)

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>
11 years agoudev-cache: take a read-only rootfs into consideration
Chen Qi [Fri, 28 Jun 2013 07:48:22 +0000 (15:48 +0800)]
udev-cache: take a read-only rootfs into consideration

In case of a read-only rootfs, we skip the process of generating
udev cache, as the data cannot be persisted between reboots.

However, it's possbile that the $DEVCACHE (default to /etc/dev.tar)
exists in a read-only rootfs, no matter how it's generated or installed.
In such situation, we try to use $DEVCACHE if possible.

Besides the basic changes in the logic of udev cache handling,
this patch also adds code to output more information if the udev
cache is not used and VERBOSE enabled.

This patch also changes the readfile function to readfiles function
so that it could handle more than one file at once.

(From OE-Core rev: 4ec1266e7e1aacdb9d3d0fc5cd6307b60df1731e)

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>
11 years agoopenssh: fix initscript restart command
Marc Ferland [Thu, 27 Jun 2013 22:53:40 +0000 (18:53 -0400)]
openssh: fix initscript restart command

start-stop-daemon should be called with '--oknodo' instead of
'-oknodo'.

(From OE-Core rev: 40f65a76b3291ae625c072a8efebbf134b15c367)

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoseperatebuilddir: cogl and clutter build out of tree
Ross Burton [Thu, 27 Jun 2013 16:40:51 +0000 (17:40 +0100)]
seperatebuilddir: cogl and clutter build out of tree

(From OE-Core rev: bbbb5f3816a8851d4af713db304b45d9ecb9820d)

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>
11 years agoclutter: fix out-of-tree builds
Ross Burton [Thu, 27 Jun 2013 16:40:49 +0000 (17:40 +0100)]
clutter: fix out-of-tree builds

(From OE-Core rev: bb4adb38706b6a0d86a4be758b0219e6c23dd899)

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>
11 years agogpgme: Updated from 1.4.1 to 1.4.2
Ionut Radu [Thu, 27 Jun 2013 10:22:38 +0000 (13:22 +0300)]
gpgme: Updated from 1.4.1 to 1.4.2

(From OE-Core rev: 3cc3a95b86cb367574f7754bed655f27045cf5a7)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
License md5 was changed for src/gpgme.h.in:
"File: @configure_input@  */" was replaced by "Generated from gpgme.h.in for @GPGME_CONFIG_HOST@.  */"

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt: Updated from 0.9.8.1 to 0.9.8.2
Ionut Radu [Thu, 27 Jun 2013 10:07:13 +0000 (13:07 +0300)]
apt: Updated from 0.9.8.1 to 0.9.8.2

(From OE-Core rev: 1500b4e7f6adec612efbdebad6a08a1efeeda7b6)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
[sgw - fixed apt-native checksums]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxcb: Updated from 1.9 to 1.9.1
Ionut Radu [Wed, 26 Jun 2013 16:45:35 +0000 (19:45 +0300)]
libxcb: Updated from 1.9 to 1.9.1

(From OE-Core rev: 74a803358eb95fda982bc5a2dcdee7461cc971be)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxfixes: Updated from 5.0 to 5.0.1
Ionut Radu [Wed, 26 Jun 2013 16:24:21 +0000 (19:24 +0300)]
libxfixes: Updated from 5.0 to 5.0.1

(From OE-Core rev: e1d5504b5f4233f6d775f9de43d9780da506850b)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxxf86vm: Updated from 1.1.2 to 1.1.3
Ionut Radu [Wed, 26 Jun 2013 16:15:09 +0000 (19:15 +0300)]
libxxf86vm: Updated from 1.1.2 to 1.1.3

(From OE-Core rev: 0d83eb41cc0c950d0177e2574d070f3f81580528)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxtst: Updated from 1.2.1 to 1.2.2
Ionut Radu [Wed, 26 Jun 2013 15:55:30 +0000 (18:55 +0300)]
libxtst: Updated from 1.2.1 to 1.2.2

(From OE-Core rev: c2ee761799ea45da3699433cb94c3c2e6c0c5371)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
License md5 changed in 1.2.2, "Copyright © 1992 by UniSoft Group Ltd.",
"Copyright © 1992, 1994, 1995 X Consortium" and Copyright 1994 Network
Computing Devices, Inc. has been added

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxv: Updated from 1.0.7 to 1.0.8
Ionut Radu [Wed, 26 Jun 2013 15:21:35 +0000 (18:21 +0300)]
libxv: Updated from 1.0.7 to 1.0.8

(From OE-Core rev: 53ade6a40a093c3fb4a7d8eabf06adf9bec41f57)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxres: Updated from 1.0.6 to 1.0.7
Ionut Radu [Wed, 26 Jun 2013 15:16:30 +0000 (18:16 +0300)]
libxres: Updated from 1.0.6 to 1.0.7

(From OE-Core rev: 259d5829d343c5a9888d3b73a22e23f6a24b7411)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxau: Updated from 1.0.7 to 1.0.8
Ionut Radu [Wed, 26 Jun 2013 15:01:16 +0000 (18:01 +0300)]
libxau: Updated from 1.0.7 to 1.0.8

(From OE-Core rev: fb6d8bab9796404a3ddb4d990b8e906698940e1b)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxinerama: Updated from 1.1.2 to 1.1.3
Ionut Radu [Wed, 26 Jun 2013 14:25:44 +0000 (17:25 +0300)]
libxinerama: Updated from 1.1.2 to 1.1.3

(From OE-Core rev: 54b23798b86ed18f155b0e8054c846542af36ab5)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxcursor: Update from 1.1.13 to 1.1.14
Ionut Radu [Wed, 26 Jun 2013 14:18:48 +0000 (17:18 +0300)]
libxcursor: Update from 1.1.13 to 1.1.14

(From OE-Core rev: 4b2581b7920387329a4c6971941537ffdceece86)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxext: Update from 1.3.1 to 1.3.2
Ionut Radu [Wed, 26 Jun 2013 13:59:44 +0000 (16:59 +0300)]
libxext: Update from 1.3.1 to 1.3.2

(From OE-Core rev: d495f45717ea9f7767a8a4a9b1f83c19d56e4dc9)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Line "Copyright (c) 1999, 2005, 2006, Oracle and/or its affiliates. All rights reserved."
in COPYING was changed into "Copyright (c) 1999, 2005, 2006, 2013, Oracle and/or its affiliates. All rights reserved."
in 1.3.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-self-hosted: add python-git
Paul Eggleton [Wed, 19 Jun 2013 21:23:54 +0000 (22:23 +0100)]
packagegroup-self-hosted: add python-git

python-git is needed by buildhistory-diff, so add it to this
packagegroup allowing buildhistory-diff to be used within
build-appliance-image.

(From OE-Core rev: 1f2d0f898e11bbb935d885920a1518336e19c3e7)

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>
11 years agobuildtools-tarball: add python-git
Paul Eggleton [Wed, 19 Jun 2013 17:01:31 +0000 (18:01 +0100)]
buildtools-tarball: add python-git

python-git is needed by buildhistory-diff and the OE layer index update
script, and on machines where buildtools-tarball is necessary given we
are providing python we must provide this module as well.

Fixes [YOCTO #4747].

(From OE-Core rev: d9bf76b4fafc0ddcb19bf393e5e22678e49367b3)

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>
11 years agopython-git: add recipe
Paul Eggleton [Wed, 19 Jun 2013 13:56:16 +0000 (14:56 +0100)]
python-git: add recipe

This is used by buildhistory-diff and the OE layer index, and thus will
be useful in the context of the build appliance and buildtools-tarball.

(From OE-Core rev: 449ae5a70bc7d7d08f99de7d272b4cc3c83c3dcc)

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>
11 years agopython-gitdb: add recipe
Paul Eggleton [Wed, 19 Jun 2013 13:55:53 +0000 (14:55 +0100)]
python-gitdb: add recipe

This is required by python-git.

(From OE-Core rev: bcbb34c26a235a103b46aa5c8ae7b3896904a215)

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>
11 years agopython-smmap: add recipe
Paul Eggleton [Wed, 19 Jun 2013 13:55:32 +0000 (14:55 +0100)]
python-smmap: add recipe

This is required by python-gitdb.

(From OE-Core rev: 37890014f406ca2ab24e0ec918af39613642afa0)

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>
11 years agopython-async: add recipe
Paul Eggleton [Wed, 19 Jun 2013 13:55:06 +0000 (14:55 +0100)]
python-async: add recipe

This is required by python-gitdb.

(From OE-Core rev: 31bc9fa8d53110a09ca048039d83213b34f4b7e4)

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>
11 years agoclasses/insane: remove la2 check which no longer exists from ERROR_QA
Paul Eggleton [Fri, 28 Jun 2013 15:10:25 +0000 (16:10 +0100)]
classes/insane: remove la2 check which no longer exists from ERROR_QA

This check was actually removed a very long time ago in
6656381714c5956f71ca634f5a5f4aa4661bbf7e, before we even changed the QA
checks to use names instead of numbers - the name was probably added
ERROR_QA mistakenly because it hadn't also been removed from the comment
listing the QA checks or the function that determined which ones were
errors.

(From OE-Core rev: ff65497cd9a96d5ab49b16ba1f7e30a216ff4a42)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoDisable build qt related packagegroups on mips64 with 64 bits userspace
Kai Kang [Fri, 28 Jun 2013 07:48:47 +0000 (15:48 +0800)]
Disable build qt related packagegroups on mips64 with 64 bits userspace

Because qt could not be built on mips64 with 64 bits userspace, set
COMPATIBLE_HOST for qt related packagegroups to disable them on mips64
with 64 bit userspace too.

(From OE-Core rev: 5f4c5de0b32d546ed28108d2403be41c685e27c7)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-multiprocessing: adding runtime dependencies
Lukas Bulwahn [Fri, 28 Jun 2013 09:57:12 +0000 (11:57 +0200)]
python-multiprocessing: adding runtime dependencies

As python-multiprocessing requires python-threading and
python-pickle, this commit adds them as runtime dependency.

The observed behavior was:

When typing 'import multiprocessing' in the python shell on a
minimal image with only the python-multiprocessing recipe installed,
python reports at first:

Python 2.7.3 (default, Jun 27 2013, 08:26:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 65, in <module>
    from multiprocessing.util import SUBDEBUG, SUBWARNING
  File "/usr/lib/python2.7/multiprocessing/util.py", line 38, in <module>
    import threading        # we want threading to install it's
ImportError: No module named threading

After adding python-threading as runtime dependency and rebuilding
the image, python reports:

Python 2.7.3 (default, Jun 27 2013, 08:26:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 84, in <module>
    import _multiprocessing
ImportError: No module named cPickle

(From OE-Core rev: e913412ca0ff01cb654757c8199e8859f15b7cf7)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-argparse: adding runtime dependency on python-codecs
Lukas Bulwahn [Fri, 28 Jun 2013 09:57:11 +0000 (11:57 +0200)]
python-argparse: adding runtime dependency on python-codecs

When typing 'import argparse' in the python shell on a minimal image
with only the python-argparse recipe installed, python reports:

Python 2.7.3 (default, Jun 27 2013, 08:26:25)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import argparse;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/argparse.py", line 91, in <module>
    from gettext import gettext as _
ImportError: No module named gettext

The python-argparse recipe requires the python gettext module,
which is currently provided by python-codecs.
Hence, this commit adds python-codecs as runtime dependency to
resolve the issue.

(From OE-Core rev: 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinit-live.sh: try to make a union mount when possible
Chen Qi [Fri, 28 Jun 2013 07:48:53 +0000 (15:48 +0800)]
init-live.sh: try to make a union mount when possible

This patch tries to make a union mount in live image. For example,
if aufs is enabled with the aufs-enable.scc configuration fragment,
the init-live.sh script will use aufs to make a union mount.

Although overlayfs is not supported by Yocto kernel yet, this patch
still takes it into consideration with the expect that the related
code should at least serve as a placeholder.

[YOCTO #1487]
[YOCTO #4761]

(From OE-Core rev: 3cd6fedd815688b2f3fd97a56feb5f8696ebeace)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinitrdscripts: unionfs cleanup
Chen Qi [Fri, 28 Jun 2013 07:48:52 +0000 (15:48 +0800)]
initrdscripts: unionfs cleanup

The unionfs has been disabled for more than a year and it's not going
to be used any more.

This patch cleans up the unionfs related code.

[YOCTO #4761]
[YOCTO #1487]

(From OE-Core rev: ba5e437bc7335468a70ea293496f78e1a9d66287)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4*.bbclass: disable build qt on mips64 with 64 bits userspace
Kai Kang [Fri, 28 Jun 2013 07:48:46 +0000 (15:48 +0800)]
qt4*.bbclass: disable build qt on mips64 with 64 bits userspace

Qt/qt-embedded build fails on mips64 with 64 bits userspace. Set
COMPATIBLE_HOST in qt4e.bbclass and qt4x11.bbclass to disable build
qt/qt-embedded and packages which inherit these two classes on mips64
with 64 bits userspace.

(From OE-Core rev: 17890ebd637da0b3bf78804002d8b4f0ace078d2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cookerdata: Improve message if BBPATH is unset and bblayers.conf not found
Richard Purdie [Fri, 28 Jun 2013 09:32:56 +0000 (10:32 +0100)]
bitbake: cookerdata: Improve message if BBPATH is unset and bblayers.conf not found

If BBPATH isn't set and bblayers.conf isn't found, improve the message
shown to the user to help their understanding of what the problem might
be.

[YOCTO #3271]

(Bitbake rev: 0e639f5cbc813c8d4719019cfdd4287e9a429610)

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

11 years agopackagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata
Richard Purdie [Fri, 28 Jun 2013 08:30:59 +0000 (08:30 +0000)]
packagedata: Show error when trying to change PE/PV/PR from runtime/pkgdata

PN/PE/PV/PR should never change between do_package and the following do_package_write_*
tasks. If any do change you would see build failure due to the wrong WORKDIR being
used for example.

This patch ensures that if something is going wrong we see the error earlier and
with some better warning about what the real problem is.

[YOCTO #4102 partial]

This is a rewritten version of a patch from Martin Jansa <martin.jansa@gmail.com>

(From OE-Core rev: f5252fea11e13dbcec1c277cf1bf0d7e61b60690)

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