scm/bb/tizen-distro.git
13 years agorunqemu: report error if TMPDIR cannot be determined
Scott Garman [Sat, 23 Jul 2011 01:23:27 +0000 (18:23 -0700)]
runqemu: report error if TMPDIR cannot be determined

Invoking runqemu outside of the build directory for an
in-tree setup results in an empty TMPDIR because bitbake -e
cannot be run to find it.

A symptom of this problem is running runqemu and getting the
following error:

Error: Unable to find tunctl binary in <directory>

Catch this case and report the error to the user.

This fixes [YOCTO #1278]

(From OE-Core rev: ab5544ac801a976b56468ade0f5d2e95c11feb87)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNC
Saul Wold [Fri, 22 Jul 2011 23:39:42 +0000 (16:39 -0700)]
docbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNC

[YOCTO #1250]

This added function will install a private install-catalog binary so that shared state
can find the binary as there is not a guarantee.

(From OE-Core rev: b3e68f112cff5f15b5245582eee7e087acbad2fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocbook-sgml-dtd-native: Add SYSROOT_PREPROCESS_FUNC
Saul Wold [Fri, 22 Jul 2011 23:38:48 +0000 (16:38 -0700)]
docbook-sgml-dtd-native: Add SYSROOT_PREPROCESS_FUNC

[YOCTO #1250]

This added function will install a private install-catalog binary so that shared state
can find the binary as there is not a guarantee.

(From OE-Core rev: b4eef2e1bed0536325342ca884ee0905b7e79ada)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenjade-native: Add SYSROOT_PREPROCESS_FUNC
Saul Wold [Fri, 22 Jul 2011 23:38:09 +0000 (16:38 -0700)]
openjade-native: Add SYSROOT_PREPROCESS_FUNC

[YOCTO #1250]

This added function will install a private install-catalog binary so that shared state
can find the binary as there is not a guarantee.

(From OE-Core rev: 188ac8c8fe7a004c576190c42d0f33d00ea88c60)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Fix packaging of native toolchains
Kumar Gala [Fri, 22 Jul 2011 13:57:48 +0000 (08:57 -0500)]
gcc-4.6: Fix packaging of native toolchains

The base gcc package is missing liblto_plugin.so.  If we try a simple
hello world compile we get something like:

root@p5020-ds:~# gcc hello.c
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

We need to include liblto_plugin.so in the base gcc package and not
gcc-dev.

(From OE-Core rev: 282326a188467edf6caef21b07a7e51288674245)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields.inc: update the info for tcf-agent
Dexuan Cui [Thu, 21 Jul 2011 13:50:09 +0000 (21:50 +0800)]
distro_tracking_fields.inc: update the info for tcf-agent

(From OE-Core rev: 3a69daa561eb01c8df2fb56cdc0860add1f5e19d)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcf-agent: upgrade to the latest stable revision 0.0+svnr1855
Dexuan Cui [Thu, 21 Jul 2011 13:25:58 +0000 (21:25 +0800)]
tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

(From OE-Core rev: ae7bf72292de3db370373eee6c8084af63d788b5)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake|cooker: save a copy of the environment when BitBake is started
Joshua Lock [Fri, 22 Jul 2011 17:21:00 +0000 (10:21 -0700)]
bitbake|cooker: save a copy of the environment when BitBake is started

Create a data store in the cooker containing the values of the environment
from when BitBake is launched such that child processes can replicate
(and/or use values from) the host environment, rather than the cleaned up
environment that the main BitBake process uses.

(Bitbake rev: 54c7206165c0e7cfe5f7b243c80461baf5e7dfb1)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake-layers: remove unneeded do_EOF
Paul Eggleton [Fri, 22 Jul 2011 17:18:50 +0000 (18:18 +0100)]
bitbake-layers: remove unneeded do_EOF

do_EOF is only needed when using the Python cmd class in line-oriented
mode - we are just sending single commands to it.

(Bitbake rev: 0cbf5dcaf9f67522bd58d868aa01f28e846dfc19)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake-layers: add command help
Paul Eggleton [Fri, 22 Jul 2011 17:17:39 +0000 (18:17 +0100)]
bitbake-layers: add command help

If you run "bitbake-layers help commandname" it now provides some useful
help text.

(Bitbake rev: 1548edcd18a78bab74cde39167169f11ba3c4d58)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake-layers: check for errors before parsing
Paul Eggleton [Fri, 22 Jul 2011 16:03:55 +0000 (17:03 +0100)]
bitbake-layers: check for errors before parsing

Don't always parse on initialisation - instead check for errors and then
parse when we know we need to. Avoids keeping the user waiting.

(Bitbake rev: 86adaca6ce959ad5e908c394625bc9880f3c0216)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoadjust comments/messages for default server change
Paul Eggleton [Fri, 22 Jul 2011 15:26:18 +0000 (16:26 +0100)]
adjust comments/messages for default server change

Default server is process, adjust comments and messages accordingly.

(Bitbake rev: 8ba4d0e98401cdb808f727703913ad8ba87f8e71)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/cooker: show a warning when -b is specified
Paul Eggleton [Fri, 22 Jul 2011 15:38:50 +0000 (16:38 +0100)]
bitbake/cooker: show a warning when -b is specified

Too many people are using -b because they think it is the normal way of
specifying a target to be built, and then get confused when the build
fails due to a missing dependency; so show a warning about dependencies
not being handled when this option is used.

(Bitbake rev: c470f3f36aef24c46d9722593422286340be296b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoadd note to -b option indicating no dependency handling
Paul Eggleton [Fri, 22 Jul 2011 15:22:54 +0000 (16:22 +0100)]
add note to -b option indicating no dependency handling

The -b option doesn't handle dependencies so note this in the help.

(Bitbake rev: b133b2e2dd5bcde705397eb38fa20a5c4da6e3b3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: rework image output type setting
Joshua Lock [Sat, 23 Jul 2011 04:47:00 +0000 (21:47 -0700)]
hob: rework image output type setting

The preferences UI to set the image output type only supported setting a
single value whereas it's common practice, particularly for those making
use of the ADT, to set multiple values. This is also the default in Poky.

This reworked preferences UI dynamically generates check boxes for each
available image type and sets an appropriate string representing all image
types when checkboxes are toggled.

Includes fixes for [YOCTO #1273]

(Bitbake rev: f7f68847dd165f2ad0f39011db4ebfef3ae73f42)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobprefs: tweak the package format tooltip
Joshua Lock [Sat, 23 Jul 2011 00:07:37 +0000 (17:07 -0700)]
ui/crumbs/hobprefs: tweak the package format tooltip

(Bitbake rev: 5f774ef02743c09d181395f15fc9262e7a67ef5c)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobprefs: set higher arbitrary limit on threads & parallelism
Joshua Lock [Fri, 22 Jul 2011 18:40:15 +0000 (11:40 -0700)]
ui/crumbs/hobprefs: set higher arbitrary limit on threads & parallelism

We don't have a good handle on a sane cap value so just set it to an
arbitrary, but reasonably high, number. Once we have some more numbers on
values for number of threads and make parallelism we can integrate the
algorithm into the GUI.

Addresses [YOCTO #1266]

(Bitbake rev: 31274e78eab502f5eb9f6079897644b535d31dd1)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: only add new layer's to the UI
Joshua Lock [Fri, 22 Jul 2011 18:32:27 +0000 (11:32 -0700)]
hob: only add new layer's to the UI

If a user added the same layer more than once the underlying bblayers.conf
file would not have multiple entries but the UI would show an entry for
the layer for each time it was added. This patch changes the Configurator
to return None values if the layer wasn't added to bblayers.conf and the
LayerEditor to only update the UI if non-None values are returned.

Fixes [YOCTO #1275]

(Bitbake rev: 9c59baa4da3c863ebc412a56ffd8dbd7a8ffeb60)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: if the user clicks Stop a second time only offer 'Force Stop'
Joshua Lock [Tue, 19 Jul 2011 23:04:38 +0000 (16:04 -0700)]
ui/hob: if the user clicks Stop a second time only offer 'Force Stop'

Fixes [YOCTO #1264]

(Bitbake rev: 117fb14b93086660ce3f853964536920f916e060)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: clear the search entry when resetting
Joshua Lock [Fri, 8 Jul 2011 18:55:59 +0000 (11:55 -0700)]
ui/hob: clear the search entry when resetting

When resetting and clearing all selections the searched for term is no
longer the selected row in the packages list, clear the search entry to
prevent cognitive disconnect.

(Bitbake rev: 4f86f5763ecf7f3a9673a9b18e96042e9387699b)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: don't show native and cross recipes
Joshua Lock [Thu, 7 Jul 2011 22:06:05 +0000 (15:06 -0700)]
ui/crumbs/tasklistmodel: don't show native and cross recipes

Addresses [YOCTO #1224]

(Bitbake rev: 80f8d796392cbf3c54149c06347c35f871fc2d79)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: refer to tasks as Package Collections
Joshua Lock [Fri, 22 Jul 2011 17:36:11 +0000 (10:36 -0700)]
hob: refer to tasks as Package Collections

(Bitbake rev: 453d65df6675f38b57f92d8a1b65aa3f78abe4f0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/cache: allow class names with arguments to be specified
Paul Eggleton [Fri, 22 Jul 2011 14:41:07 +0000 (15:41 +0100)]
bitbake/cache: allow class names with arguments to be specified

This ensures we understand e.g. "virtual:multilib:lib64:pn" for multilib.

(Bitbake rev: 0b9dee799cfe2229ec62c257dda36bd6c15d34a9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/ast: include class name when arguments given in variant
Paul Eggleton [Fri, 22 Jul 2011 14:37:44 +0000 (15:37 +0100)]
bitbake/ast: include class name when arguments given in variant

For multilib this produces variants of e.g. "multilib:lib64" instead of
just "lib64"; however we set BBEXTENDVARIANT to "lib64" and the latter
will be used when composing filenames for multilib.

(Bitbake rev: de7a2b91512bb3ab058f5eb5cd188acd2b8a2220)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH
Richard Purdie [Fri, 22 Jul 2011 14:13:03 +0000 (15:13 +0100)]
conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH

Since we're updating the tune file format, it makes sense to abstract
the compiler tune arguments at this point too. This means that should
these need to be overridden at any point, the original values can
still be obtained in a similar manner to the other TUNE* variables.

Whilst this isn't strictly necessary for any current need, its likely
good practise to standardise this behaviour.

(From OE-Core rev: 3a3c69a1bc3cf0b6f6a3b13d86c12ed21798d48e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/machine/tune: Overhaul tune include file variables
Richard Purdie [Fri, 22 Jul 2011 13:15:20 +0000 (14:15 +0100)]
conf/machine/tune: Overhaul tune include file variables

There is currently consideradble confusion over how the tune files operate
and how these interact with the rest of the build system. This update/overhaul
changes things so the tune files are primarily resonsible for setting:

TUNE_ARCH - What was formerly set as TARGET_ARCH and is the value that
represents the architecture we're targetting.

TUNE_PKGARCH - The value that represents the tune confuration that this set
of tune parameters results in.

This allows the significant improvement that the core can now always determine
the target architecture value, even when TARGET_ARCH needs to be reset to
something different and likewise, there is one package architecture variable
the core can reference allowing simplification of the BASE_PACKAGE_ARCH, PACKAGE_ARCH
and FEED_ARCH variables.

(From OE-Core rev: a10de4cf8b424ee95c8e283e75d486be5b3b8eac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/cross.bbclass: Add ability to dynamically change library location
Richard Purdie [Fri, 22 Jul 2011 12:08:58 +0000 (13:08 +0100)]
bitbake.conf/cross.bbclass: Add ability to dynamically change library location

Add the ability to dynamically change the library directory from "lib" to
other values. This allows the tune files to specifiy altnerative ABIs
which can be dynamically enabled by the multilib BBCLASSEXTEND code.

A variety of approaches have been attempted with this, the immediate
expansions in cross.bbclass being problematic as they are they are expanded
before the bbclass extend event hander runs. This approach ensures the
${baselib} variable is retained in the expressions resolving that complication.

Derived from some ideas from Mark Hatle.

(From OE-Core rev: aeea22da699b276a97ca1a17e3c53176c9afd9de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/utils: Add contains helper function from lib.oe.utils
Richard Purdie [Mon, 11 Jul 2011 13:38:50 +0000 (14:38 +0100)]
bitbake/utils: Add contains helper function from lib.oe.utils

This function is needed by some of the early .conf setup we need
to improve the machine/tune files in Openembedded. We need to add
it here since the location in oe.utils can't be accessed until after
base.bbclass parses which is too late for our needs.

(Bitbake rev: abc67ed6921c98ed581f101ec1acc589fd9ce7e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconsolekit 0.4.5: fix PAM installation dir
Koen Kooi [Fri, 22 Jul 2011 10:14:39 +0000 (12:14 +0200)]
consolekit 0.4.5: fix PAM installation dir

(From OE-Core rev: b4c23fce3eadaff8fc621d38759d493cd03cc131)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES
Koen Kooi [Fri, 22 Jul 2011 10:09:08 +0000 (12:09 +0200)]
gnome-keyring 2.32.1: fix PAM support and make it conditional on DISTRO_FEATURES

The plugin got installed into the wrong dir leading to:

gdm-session-worker[515]: PAM unable to dlopen(/lib/security/pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory

(From OE-Core rev: f31ae697803bad73052066f7b39317f8a01695d4)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc*-linux: refactor needed options that are common
Kumar Gala [Fri, 22 Jul 2011 09:17:03 +0000 (04:17 -0500)]
site/powerpc*-linux: refactor needed options that are common

Pulled common options that are needed for powerpc64-linux to build
out of powerpc32-linux and put them into powerpc-linux.

(From OE-Core rev: d5a42bb0382243d12388a0e0b18461c58d12c60e)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc64-linux: Start initial site config
Kumar Gala [Fri, 22 Jul 2011 09:16:52 +0000 (04:16 -0500)]
site/powerpc64-linux: Start initial site config

Use ac_cv_sizeof_* from eglibc as starting point for powerpc64-linux
site info.  We will refactor common bits that are needed out of
powerpc32-linux based on build issues.

(From OE-Core rev: 0f094d208b4a6ea21fb69a3e770f5bf742bf2155)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc
Kumar Gala [Fri, 22 Jul 2011 09:16:51 +0000 (04:16 -0500)]
site/powerpc32-linux: Update with ac_cv_sizeof_* from eglibc

(From OE-Core rev: 8fde75cc40712ad989855763f3005d1e26dc3ad1)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc64: Update power64-linux to include powerpc-linux
Kumar Gala [Fri, 22 Jul 2011 09:16:50 +0000 (04:16 -0500)]
site/powerpc64: Update power64-linux to include powerpc-linux

Now that we have a unique powerpc32-linux config, we share powerpc-linux
between ppc32 & ppc64.

(From OE-Core rev: 405a9a90f756c215e7454a4231179bc49c77ad1d)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/powerpc: Pull all powerpc config options into powerpc32-linux
Kumar Gala [Fri, 22 Jul 2011 09:16:49 +0000 (04:16 -0500)]
site/powerpc: Pull all powerpc config options into powerpc32-linux

powerpc-common was really Linux PPC32 specific.  So move all the options
in it to powerpc32-linux and we can refactor out common bits shared
between into powerpc-linux and powerpc-common.

(From OE-Core rev: 6ba64ae1030c879021f0ee0789bee4f8d3c135c0)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenssl: Add handling for building on linux-powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:56 +0000 (04:24 -0500)]
openssl: Add handling for building on linux-powerpc64

If try to build for an ppc64 target openssl will fail to build since
the configure script didn't know how to handle a 'linux-powerpc64' target.

(From OE-Core rev: 9c98851951ba79a5e1a6a7daa2a3552dcf3adf86)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibart-lgpl: Add missing config file - allows builds on PowerPC 64
Kumar Gala [Fri, 22 Jul 2011 09:24:55 +0000 (04:24 -0500)]
libart-lgpl: Add missing config file - allows builds on PowerPC 64

(From OE-Core rev: 20f03c5d46b05e71fdb72f81326f381ba34d9f10)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel-arch: Add handling of powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:54 +0000 (04:24 -0500)]
kernel-arch: Add handling of powerpc64

(From OE-Core rev: ed6b9934b33cff3173d327b09e05ee02aa3a68c8)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc: Add handling of powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:53 +0000 (04:24 -0500)]
libc: Add handling of powerpc64

(From OE-Core rev: 76038de5e2d090c9864339531423a6d26403500c)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: Recognise powerpc64
Kumar Gala [Fri, 22 Jul 2011 09:24:52 +0000 (04:24 -0500)]
insane.bbclass: Recognise powerpc64

(From OE-Core rev: a7a03e7c683b30f525a5858f586f3f99ce2daf57)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofix Upstream-Status line for few patches
Nitin A Kamble [Thu, 21 Jul 2011 21:04:42 +0000 (14:04 -0700)]
fix Upstream-Status line for few patches

(From OE-Core rev: 36d489862e507413278e0f230515ab0b356f27ef)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: fix security vulnerability
Nitin A Kamble [Tue, 19 Jul 2011 22:42:48 +0000 (15:42 -0700)]
python: fix security vulnerability

This Fixes bug: [Yocto #1254]

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

Issue #2254: Fix CGIHTTPServer information disclosure.  Relative paths are
  now collapsed within the url properly before looking in cgi_directories.

(From OE-Core rev: 43e7ec07065e58128819b0bb359358ce42628672)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglib-2.0: fix a compilation issue due to dtrace
Nitin A Kamble [Wed, 20 Jul 2011 14:48:59 +0000 (07:48 -0700)]
glib-2.0: fix a compilation issue due to dtrace

With multilib & x32 builds dtrace is getting turned-on by the glib-2.0
configure, which causes following compilation failure.

| x86_64-linux-libtool: link: ccache gcc
-isystem/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/include
-O2 -pipe -Wall -Wl,-rpath-link
-Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath
-Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-O1 -o .libs/gtester gtester.o
-L/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
./.libs/libglib-2.0.so -lrt -Wl,-rpath
-Wl,/disk0/pokybuild/build-multilib/tmp/sysroots/x86_64-linux/usr/lib
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_ALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_REALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_FREE'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_ALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_FREE'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_QUARK_NEW'
| collect2: ld returned 1 exit status
| make[4]: *** [gtester] Error 1

(From OE-Core rev: 482519c984a1b9da61b8b3cc97a6d28309b3192f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotclibc-uclibc: Fix TARGET_OS for powerpc
Khem Raj [Fri, 22 Jul 2011 03:18:29 +0000 (20:18 -0700)]
tclibc-uclibc: Fix TARGET_OS for powerpc

1a9ae8ea8c0540d41b8ff4d95c0420d6df754634 removed -uclibc
hence it got all wrong for powerpc. uclibc TARGET_OS
for classic ppc is linux-uclibc and for ppc w/ SPE its
linux-uclibcspe

(From OE-Core rev: 6c4ddd2d532ea91cd5752a7e56e8487cca1ac1e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years ago.gitignore: Update build ignores to have wildcard
Kumar Gala [Thu, 21 Jul 2011 14:04:50 +0000 (09:04 -0500)]
.gitignore: Update build ignores to have wildcard

ignore not just build/* but any build*/* cases.

(From OE-Core rev: 36d0edd2f4c27b4c1040ba9d9ae52eee634cc95c)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Replace sigsetmask with posix compliant functions
Khem Raj [Thu, 21 Jul 2011 06:10:17 +0000 (23:10 -0700)]
util-linux: Replace sigsetmask with posix compliant functions

This patch is not needed upstream since the code using sigsetmask
has been deleted.

(From OE-Core rev: 5b43339e2cc7c3f556665260ad7f2a5ee200e0af)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agostrace: Define own sigmask macro if not defined already in signal.h
Khem Raj [Thu, 21 Jul 2011 06:10:16 +0000 (23:10 -0700)]
strace: Define own sigmask macro if not defined already in signal.h

This is required especially on uclibc systems where BSD compatible
obsolete functions are disabled by kconfig. Therefore we check
if the macro is undefined then we define it. Therefore eglibc/glibc
builds should work as they use to.

(From OE-Core rev: 60d91ffc6367fe11ced5890240c6b65ada66621e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouclibc: Add patch header for sync_file_range2.patch
Khem Raj [Thu, 21 Jul 2011 06:10:15 +0000 (23:10 -0700)]
uclibc: Add patch header for sync_file_range2.patch

(From OE-Core rev: 0cab3b6c37a5dde74db2e20620480413eb1d2f03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-tools.bb: Exclude lttng-ust for x86_64/uclibc
Khem Raj [Thu, 21 Jul 2011 06:10:13 +0000 (23:10 -0700)]
task-core-tools.bb: Exclude lttng-ust for x86_64/uclibc

(From OE-Core rev: 172e8de050673bedd1d7a17e5b9bd099448e20fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomesa-xlib, mesa-dri: Probe for newlocale() before using it.
Khem Raj [Thu, 21 Jul 2011 06:10:12 +0000 (23:10 -0700)]
mesa-xlib, mesa-dri: Probe for newlocale() before using it.

(From OE-Core rev: 1a55faf994b30101026b6c8980023f213ee1db2c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodefault-versions: Update pulseaudio as arm no longer needs a seperate backport
Saul Wold [Thu, 21 Jul 2011 16:38:10 +0000 (09:38 -0700)]
default-versions: Update pulseaudio as arm no longer needs a seperate backport

(From OE-Core rev: 92e97ab066f58f38d3cc74c984ad4c7abc7d51b1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokern-tools: update SRCREV
Bruce Ashfield [Thu, 21 Jul 2011 04:19:17 +0000 (00:19 -0400)]
kern-tools: update SRCREV

Fixes [YOCTO #1261]

Updating the SRCREV to pickup some branch creation fixes that
were causing an invalid branch name to be used on a repository
that couldn't support it (i.e. standard/base on a 2.6.34).

With this the 2.6.34 and 3.0 -rt branches will build.

(From OE-Core rev: e1df34c9d4614adc04528b73a8860e973c5db54d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodhcp: Fix libdir issue for multilib
Mei Lei [Thu, 21 Jul 2011 08:46:35 +0000 (16:46 +0800)]
dhcp: Fix libdir issue for multilib

(From OE-Core rev: 83a1a46b707895c564b8dc393917b09cc283bf27)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: kernel-3.0 support recipe
Bruce Ashfield [Wed, 20 Jul 2011 20:17:40 +0000 (16:17 -0400)]
linux-yocto: kernel-3.0 support recipe

Establish the infrastructure to start more comprehensive linux-3.0
testing. With this in place, the populated linux-yocto 3.0 can
optionally be built for supported machines.

Note: this commit does not change the default for any targets and
as such, it would need to be explicitly set as the preferred version
to be built. The staged introduction allows some remaining issues to
be solved, while making this available. Subsequent commits will be
done to switch qemu machines ones they have been validated. If the
default for a machine is not this kernel, consider it best effort.

(From OE-Core rev: 6b9379e9d409713e5bd9bb46b38968d41cd834e1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel: copy defconfig to {B} vs {S}
Bruce Ashfield [Wed, 20 Jul 2011 20:22:31 +0000 (16:22 -0400)]
kernel: copy defconfig to {B} vs {S}

For kernel's that use a split source/object build the copy
of defconfig to {S} in the base kernel class is problematic.
The previous solution for this was to override the do_configure
of the base kernel class in a subclass. While this is still
a viable/valid option, it does mean that changes to the base
do_configure will be missed.

The solution to this is to copy a defconfig to {B} which is
typically the same as {S}, so most kernel recipes won't see or
care about this change.

With this change in place, linux-yocto.bbclass can drop its
override of do_configure.

Tested with linux-yocto and oe linux recipes.

(From OE-Core rev: 4f03d922ce32f602a5a407cf422d82a0d036e4a0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: update LICENSE to GPLv2
Bruce Ashfield [Thu, 21 Jul 2011 01:19:42 +0000 (21:19 -0400)]
linux-yocto: update LICENSE to GPLv2

As reported by Koen Kooi, the LICENSE for linux-yocto can be tightened
up to specifiy the particular version of the GPL.

cc: Koen Kooi <koen@dominion.thruhere.net>
(From OE-Core rev: 0b163efe5536555867f71561914414648b08ed24)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoSync patches with DOS line endings that became corrupted
Richard Purdie [Fri, 22 Jul 2011 09:04:04 +0000 (10:04 +0100)]
Sync patches with DOS line endings that became corrupted

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibiconv: Fix build failure on 1.13.1
Khem Raj [Thu, 21 Jul 2011 21:23:22 +0000 (14:23 -0700)]
libiconv: Fix build failure on 1.13.1

It needs a different patch for 1.13.1 for autoconf'ing
Rename files to libiconv-1.11.1 and have a separate
directory for libiconv-1.13.1

(From OE-Core rev: f175e4f28aa835abef8c3d5e2065054416692418)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRemove unused target tree data for Hob
Liping Ke [Thu, 21 Jul 2011 19:08:58 +0000 (12:08 -0700)]
Remove unused target tree data for Hob

Since Hob only needes package dependency information, we can
create a new version of package information retrieving methods,
remove task dependency information, so that we can greatly
reduce data loading time for Hob

(Bitbake rev: df55199209ef042e5b1ca04c4df75c7d639b51eb)

Signed-off-by: Liping Ke <liping.ke@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoevent: fix the event display order when exiting early
Chris Larson [Thu, 21 Jul 2011 20:23:19 +0000 (13:23 -0700)]
event: fix the event display order when exiting early

It was displaying the log messages in LIFO order, which isn't what we
expect to see. Thankfully this only occurred during an early abort (e.g.
config file parsing error), but those are the cases where it's very
important to see accurate messages, to diagnose.

(Bitbake rev: b838e0f3a1b481c295f66f5c9f561fa4d51de673)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: ignore tasks and images when marking dependencies
Joshua Lock [Wed, 20 Jul 2011 23:44:06 +0000 (16:44 -0700)]
ui/crumbs/tasklistmodel: ignore tasks and images when marking dependencies

When calculating what dependencies are affected by the removal of an item
we should ignore images and tasks as they are not constructs which make
sense in the GUI.
E.g: if we don't ignore tasks and remove opkg from an image based on
core-image-minimal the fact that opkg was brought in by task-core results
in task-core and all of the packages it brought in being removed and,
eventually, an empty image.

(Bitbake rev: 205b52bfc7f28af0c50fef1f741fae6af16fb0dc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: don't crash if PARALLEL_MAKE doesn't include a space
Joshua Lock [Tue, 19 Jul 2011 23:21:24 +0000 (16:21 -0700)]
ui/hob: don't crash if PARALLEL_MAKE doesn't include a space

Use string.strip() as a much safer method of turning the -j value into an int

Fixes [YOCTO #1244]

(Bitbake rev: 03baee9e0a7fc15fc6c226c07c0f50df136ac5b0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/configurator: write new lines after new entries
Joshua Lock [Mon, 18 Jul 2011 23:21:01 +0000 (16:21 -0700)]
ui/crumbs/configurator: write new lines after new entries

New entries written to a configuration file should be on separate lines,
ensure this is the case by appending a newline to each written variable.

(Bitbake rev: bac689fc34ea55c062d60ef249b79faa35f546a1)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: add more guidance to the stop dialog
Joshua Lock [Sat, 16 Jul 2011 01:06:41 +0000 (18:06 -0700)]
ui/hob: add more guidance to the stop dialog

This patch adds explanation of the different options when asking the user
to choose between Stop and Force Stop so they can make an informed choice.

Fixes [YOCTO #1223]

(Bitbake rev: afb87a809962b756f8282c9e9fdf9b15cdb9192b)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: fix saving recipes
Joshua Lock [Fri, 15 Jul 2011 17:15:14 +0000 (10:15 -0700)]
ui/crumbs/tasklistmodel: fix saving recipes

After switching to dynamically finding the relative path for the recipe
file it's no longer to append .bb when inserting the require line into the
saved recipe.

Fixes [YOCTO #1247]

(Bitbake rev: 2d05ce4f527daa905ed64485029ebeb2b349daa6)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobprefs: add missing import
Joshua Lock [Thu, 14 Jul 2011 01:19:35 +0000 (18:19 -0700)]
ui/crumbs/hobprefs: add missing import

glib.idle_add is used so the glib module must be imported

Fixes [YOCTO #1248]

(Bitbake rev: 0ab099f6ff4cc4e92484282d2dee442e55471e0c)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoparse/ConfHandler: Fix multiline variable corruption
Richard Purdie [Wed, 20 Jul 2011 21:51:23 +0000 (22:51 +0100)]
parse/ConfHandler: Fix multiline variable corruption

When parsing multiline variables in conf files, the last character can
be accidentally removed. s2 contains new data read from the file which
may or may not end with the continuation character. It makes sense to
let the next loop iteration strip this if needed.

We don't often use multiline expressions in .conf files which is why I'd
imagine we haven't noticed this before. Most variables are quoted and
its the closing quotation which often disappears.

(Bitbake rev: 09a9146262d58dfe4a2ea4270026b90ae33f6c91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocache: fix remnant broken 'info' reference from recent cache changes
Christopher Larson [Tue, 19 Jul 2011 20:05:53 +0000 (13:05 -0700)]
cache: fix remnant broken 'info' reference from recent cache changes

(Bitbake rev: 807fb0b3bbad5163fdab24d379c2deba8f0b4f13)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMake intltool use perlnative instead of perl on host
Matthew McClintock [Wed, 20 Jul 2011 20:14:05 +0000 (15:14 -0500)]
Make intltool use perlnative instead of perl on host

intltool recipe was using perl from the host instead of perl from
poky. This forces the recipe to use poky's perl (along with perl
modules it pulls in)

(From OE-Core rev: fd39130db3f3e66cd6be25dfbbe9cd1e7a21ff26)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext: Add depends to gettext to avoid host contamination
Saul Wold [Thu, 21 Jul 2011 07:07:56 +0000 (00:07 -0700)]
gettext: Add depends to gettext to avoid host contamination

[YOCTO #1242]

(From OE-Core rev: aae5021101224344a2b1a3af5becf74291fbbfe5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclutter-box2d: fix isfinite.patch
Saul Wold [Thu, 21 Jul 2011 00:18:27 +0000 (17:18 -0700)]
clutter-box2d: fix isfinite.patch

The original patch lost ^M and was not appliable.

(From OE-Core rev: 980f57f2d21818957165a73a0f1bc8cc19e10113)

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>
13 years agopython: add patch to fix cross compilation on host with linux-3.0
Martin Jansa [Wed, 20 Jul 2011 19:52:15 +0000 (21:52 +0200)]
python: add patch to fix cross compilation on host with linux-3.0

(From OE-Core rev: 4b7e7b004dacb698ed637f35661a60d2402c00cd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: save Makefile.sysroot in do_compile
Martin Jansa [Wed, 20 Jul 2011 18:47:36 +0000 (20:47 +0200)]
python: save Makefile.sysroot in do_compile

* otherwise calling do_install twice results in Makefile.sysroot == Makefile.orig and distutils using wrong LIBDIR (from host)

(From OE-Core rev: e56064bad8a4e8626e7ff4096874fb7f36eb6880)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package: don't fail without localedef/gconv
Martin Jansa [Tue, 19 Jul 2011 16:51:10 +0000 (18:51 +0200)]
eglibc-package: don't fail without localedef/gconv

* in some cases we don't have localedef/gconv built
  ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code
  then is better ignore localedef/gconv instead of do_install_locale
  failing like in this bugreport:
  http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209

(From OE-Core rev: 5486cac29db6e67051fff7637a0abc9aeab661e5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcmode-default: set preferred version also for (e)glibc-locale
Martin Jansa [Tue, 19 Jul 2011 09:34:47 +0000 (11:34 +0200)]
tcmode-default: set preferred version also for (e)glibc-locale

(From OE-Core rev: 133f7904cb7b5f98bdd260d04ffd4925bff9cff1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agositeinfo.bbclass: Port over oe.dev logic for site files
Tom Rini [Tue, 12 Jul 2011 16:29:34 +0000 (09:29 -0700)]
siteinfo.bbclass: Port over oe.dev logic for site files

In oe.dev we have a sets to pick out hostos/hostarch/etc site
files out of and include things like a common-linux site file.
This should also help out with adding multilib-specific site files
(ie x32).  In oe.dev we have an iterator but at Richard's request
we continue to return a list of files in siteinfo_get_files().

(From OE-Core rev: cb3d7cd1c0f2bbcd448abbb832074ca965e0af5e)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoicon-naming-utils-native: Fix long path to perl in icon-name-mapping
Tom Rini [Mon, 18 Jul 2011 15:57:31 +0000 (08:57 -0700)]
icon-naming-utils-native: Fix long path to perl in icon-name-mapping

This is 5396e0868cf89787746fa6341ddb1f271a770595 in oe.dev but here we
instead use the nativeperl wrapper.

(From OE-Core rev: a788f8262481706d5311eb9b2573f2d69ab2a5d6)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocpan.bbclass: Perform more mangling for perl path
Tom Rini [Mon, 18 Jul 2011 16:02:18 +0000 (09:02 -0700)]
cpan.bbclass: Perform more mangling for perl path

On hosts where we may already be past the #! limit this is required
and this is safe on the target as well.  This is be7fe31 in oe.dev.
Related to this we now bump all PRs for recipes that inherit cpan.
Note that in oe.dev we mangle for perl but here we use the new
nativeperl script.

(From OE-Core rev: 682a213dc732074985bf86f508305fc6eafe18d9)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl-native: Add a perl-native wrapper in the normal bindir
Tom Rini [Tue, 19 Jul 2011 15:49:42 +0000 (08:49 -0700)]
perl-native: Add a perl-native wrapper in the normal bindir

We need this to allow for scripts to do #!/usr/bin/env perl-native
and not require an 'inherit perlnative' per user of a package.

(From OE-Core rev: 48c1e10f53894e666283aac086e61444d2c1ed69)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-doc-utils: Use /usr/bin/env python in xml2po, bump PR
Tom Rini [Mon, 18 Jul 2011 15:14:25 +0000 (08:14 -0700)]
gnome-doc-utils: Use /usr/bin/env python in xml2po, bump PR

In oe.dev we can just sed over the binary but in newer versions of this
program we need to fix the in use copy too.  As noted in the patch header,
this isn't appropriate for upstream as it could change behavior on Windows.

(From OE-Core rev: cf2fae0ea64ad1b24cbd50545ffffa80e3ef8510)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython-native: Mangle scripts to use /usr/bin/env python, bump PR
Tom Rini [Mon, 18 Jul 2011 16:19:07 +0000 (09:19 -0700)]
python-native: Mangle scripts to use /usr/bin/env python, bump PR

This is dd33ced4b8123600efa1f67f704aec13b0842ad1 in oe.dev and needed
for building in deep paths.

(From OE-Core rev: 339d039a9b2f0e97f25781ccf6937f1050d83989)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd endianess macros used by previous endian-ness_handling.patch
Matthew McClintock [Wed, 20 Jul 2011 20:17:25 +0000 (15:17 -0500)]
Add endianess macros used by previous endian-ness_handling.patch

Some distro's don't include these macros in /usr/include/endian.h
so we include them via this patch

(From OE-Core rev: dc41f5a453aac2712b60da52f13e6efb035abe02)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoREADME.hardware: update MPC8315E-RDB instructions
Paul Eggleton [Thu, 14 Jul 2011 14:57:28 +0000 (15:57 +0100)]
README.hardware: update MPC8315E-RDB instructions

Update the instructions for setting up the MPC8315E-RDB so that they are
clearer, use correct filenames, match the other board instructions more
closely, and include a note about dealing with non-default MAC addresses.
Additionally, add a note about ordering MPC8315E-RDBA.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoinsane: improve diagnostic for redundant rpath
Phil Blundell [Fri, 15 Jul 2011 11:19:35 +0000 (12:19 +0100)]
insane: improve diagnostic for redundant rpath

Make it more obvious which file, and which recipe, are at issue.

(From OE-Core rev: 207a2176bdebe217daf81d5c5b1d2ab4ab2e6adc)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
Mei Lei [Wed, 20 Jul 2011 08:48:17 +0000 (16:48 +0800)]
lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib

(From OE-Core rev: 0d03800caffc2341b74190d38f7a372223c89f4c)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibiconv: Fix SRC_URI checksums for 1.13.1 version
Richard Purdie [Wed, 20 Jul 2011 14:36:03 +0000 (15:36 +0100)]
libiconv: Fix SRC_URI checksums for 1.13.1 version

(From OE-Core rev: 51930da376c39655c22747221d1f6383f9113b68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped
Phil Blundell [Wed, 20 Jul 2011 10:07:32 +0000 (11:07 +0100)]
libgcc: correct mode on libgcc_s.so.1 to ensure it gets stripped

If the library is installed without execute permission then package.bbclass
will not consider it for stripping.  This is particularly unfortunate because
there seems to be a bug somewhere else which is causing all DSOs to end up with
a NEEDED dependency on libgcc_s, even if they don't actually require it, and
hence it is getting installed in all images (for uclibc on i586 at least).

(From OE-Core rev: b3724a67ad70f509181555e6be98e1eb3b184bb7)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopseudo: fix uninitialised variable in realpath_fix.patch
Joshua Lock [Tue, 19 Jul 2011 20:26:20 +0000 (13:26 -0700)]
pseudo: fix uninitialised variable in realpath_fix.patch

Several users reported issues with pseudo on CentOS 5.x hosts, Matthew
McClintock tracked the issue to the realpath_fix.patch and Mark Hatle
supplied the included fix.

CC: Matthew McClintock <msm@freescale.com>
CC: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: 46b2bc1d4694f927bc3d6c108309615a4903cede)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosite/x86_64-linux-uclibc: Cache lf_cv_sane_realloc
Khem Raj [Wed, 20 Jul 2011 05:23:32 +0000 (22:23 -0700)]
site/x86_64-linux-uclibc: Cache lf_cv_sane_realloc

If left to configure, it tried to run the testcase
to determine this and that fails on cross compile
e.g. compiling startup-notification-0.12

(From OE-Core rev: 8465b7d7d069b3d6f485daf22672f57ea17a4cb0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-tools: Exclude systemtap for uclibc
Khem Raj [Tue, 19 Jul 2011 20:56:54 +0000 (13:56 -0700)]
task-core-tools: Exclude systemtap for uclibc

systemtap needs full fledged elfutils which cant be
built on uclibc therefore we live without systemtap
on uclibc

(From OE-Core rev: aa66fc48d56385d7bea9c0099fdbc149b0eee7fc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysprof: Define NT_GNU_BUILD_ID if undefined
Khem Raj [Mon, 18 Jul 2011 23:00:17 +0000 (16:00 -0700)]
sysprof: Define NT_GNU_BUILD_ID if undefined

This is needed on uclibc which does not have all GNU extentions

(From OE-Core rev: 22fdaba9813beb276caf2b6194fccc4cccf138c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclutter-box2d: Replace use of finite macro with C99 compliant isfinite()
Khem Raj [Mon, 18 Jul 2011 22:58:38 +0000 (15:58 -0700)]
clutter-box2d: Replace use of finite macro with C99 compliant isfinite()

(From OE-Core rev: 46a335577506f36714f66135931b7b9669dc1416)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: Fix build when compiling target binutils recipe with gcc 4.6
Khem Raj [Mon, 18 Jul 2011 22:57:23 +0000 (15:57 -0700)]
binutils: Fix build when compiling target binutils recipe with gcc 4.6

(From OE-Core rev: 43c72d44337a736fc4b83ce16f7f1ed0d74243dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopimlico/dates: Fix build on uclibc
Khem Raj [Mon, 18 Jul 2011 22:55:21 +0000 (15:55 -0700)]
pimlico/dates: Fix build on uclibc

uclibc does not have NL_TIME_FIRST_WEEKDAY

(From OE-Core rev: 0387faee9cf869fd8b9f9e1f5b7a5e23bd37e97e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopowertop: Add lintl to linker commandline on uclibc
Khem Raj [Mon, 18 Jul 2011 22:52:27 +0000 (15:52 -0700)]
powertop: Add lintl to linker commandline on uclibc

intl support is not inbuilt into libc like glibc
so we have to link it explicitly

(From OE-Core rev: 2c0dab3fc508b4b80a61b8ce0f6292ba66ad86d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agooprofile: Fix build when query_module is not there
Khem Raj [Mon, 18 Jul 2011 22:50:59 +0000 (15:50 -0700)]
oprofile: Fix build when query_module is not there

on 2.6 kernels we do not have query_module so warn
about it

(From OE-Core rev: 3c6661680822246658ea47394ef1673fc068551c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouclibc_0.9.32: Implement sync_file_range2.
Khem Raj [Mon, 18 Jul 2011 22:39:39 +0000 (15:39 -0700)]
uclibc_0.9.32: Implement sync_file_range2.

On some arches e.g. arm, ppc sync_file_range2 is used
instead of sync_file_range so we should consider that

(From OE-Core rev: c480def3a3531577659a9cc0f10640f3df047bc2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-core-x11-sato: Add empty NETWORK_MANAGER for uclibc
Khem Raj [Mon, 18 Jul 2011 22:36:42 +0000 (15:36 -0700)]
task-core-x11-sato: Add empty NETWORK_MANAGER for uclibc

conman needs some features from libresolv e.g. ns_initparse
which are missing in uclibc.

(From OE-Core rev: fea90adb2ad93b1b9dd4c9259b738bbecdce4524)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotzcode,tzdata: Update tzdata to 2011h
Khem Raj [Mon, 18 Jul 2011 22:35:01 +0000 (15:35 -0700)]
tzcode,tzdata: Update tzdata to 2011h

(From OE-Core rev: d3a2a48632c05bd203c0509df6a73b9b4d1eb7f2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxdamage,libxft,libxrandr: Add missing dependency on virtual/libx11
Khem Raj [Mon, 18 Jul 2011 22:33:24 +0000 (15:33 -0700)]
libxdamage,libxft,libxrandr: Add missing dependency on virtual/libx11

(From OE-Core rev: 65095cf2fa9f890a1faf29a8a743497d88e5cfa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>