scm/bb/tizen-distro.git
12 years agobuildhistory_analysis: correctly split RDEPENDS/RRECOMMENDS
Paul Eggleton [Mon, 13 Feb 2012 18:14:18 +0000 (18:14 +0000)]
buildhistory_analysis: correctly split RDEPENDS/RRECOMMENDS

Split RDEPENDS and RRECOMMENDS correctly (which may contain version
number specifications after each item).

(From OE-Core rev: d974ed4330f33c4f8dfd635a83c61a0d44e688b6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: avoid noise due to reordering
Paul Eggleton [Mon, 13 Feb 2012 18:09:12 +0000 (18:09 +0000)]
buildhistory_analysis: avoid noise due to reordering

Avoid noise in the output due to reordering of list variables (except
for PACKAGES where we just report that the order changed). Recent
changes to the buildhistory class itself will avoid this reordering
from occurring but this allows us to examine the results before and
after those changes.

(From OE-Core rev: e23c5b01766602c9c86b0a7ba170fb3b1aceb658)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: fix splitting on + in package list fields
Paul Eggleton [Tue, 14 Feb 2012 11:17:51 +0000 (11:17 +0000)]
classes/buildhistory: fix splitting on + in package list fields

Ensure we do not erroneously split on + in RDEPENDS/RRECOMMENDS e.g.
libstdc++-dev was being split into libstdc and -dev.

(From OE-Core rev: cad533880df42ad4fe6f04d56d3a59cb4a033275)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: use hostname instead of reading /etc/hostname
Paul Eggleton [Tue, 14 Feb 2012 10:55:46 +0000 (10:55 +0000)]
classes/buildhistory: use hostname instead of reading /etc/hostname

For the purposes of querying the hostname to include it in the commit
message, it seems "cat /etc/hostname" does not work on the Yocto Project
autobuilder machines, and it's likely that the hostname command will be
more generally reliable, so use that instead.

(From OE-Core rev: cb939b753c9e7648a38e22e0349c279da785e69d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: sort FILELIST in package info
Paul Eggleton [Mon, 13 Feb 2012 17:03:39 +0000 (17:03 +0000)]
classes/buildhistory: sort FILELIST in package info

The FILELIST order can vary depending on the order the files were
written which may change between builds with no ill effect, so sort the
list prior to writing it.

(From OE-Core rev: 2e9981000a211a89f88d7728393cc231e466581a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: sort and de-dupe dependency graphs
Paul Eggleton [Mon, 13 Feb 2012 15:53:47 +0000 (15:53 +0000)]
classes/buildhistory: sort and de-dupe dependency graphs

Sort dependencies of each package which sometimes change order and cause
noise in the buildhistory repo, and at the same time remove duplicates
(which seem to be common especially for the RPM package query output).

(From OE-Core rev: 830df6067c1ea4a5aab580b42ba7e1e84fe1bcbf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: squash spaces out of image variables
Paul Eggleton [Mon, 13 Feb 2012 14:41:44 +0000 (14:41 +0000)]
classes/buildhistory: squash spaces out of image variables

Values of image variables that are lists (e.g. IMAGE_INSTALL) are easier
to read if there are no extraneous spaces in them, so ensure that there
is only one space between each item.

(From OE-Core rev: 200159125eb6bcfc046c45cf5160b2eb340625e3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: add connman and connman-plugin-ethernet
Dexuan Cui [Tue, 14 Feb 2012 14:41:16 +0000 (22:41 +0800)]
task-self-hosted: add connman and connman-plugin-ethernet

Without this, the VMware guest running self-hosted-image can't get IP
address automatically.

(From OE-Core rev: 3fa9a7e4dc9eadce22a9838d2067d5af0111b04b)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomini-x-session: try to use a resolution that's big enough for hob2's window
Dexuan Cui [Tue, 14 Feb 2012 14:34:15 +0000 (22:34 +0800)]
mini-x-session: try to use a resolution that's big enough for hob2's window

The patch was tested on VMware Player 4.0.1.

(From OE-Core rev: d33cc3be420fb509d8dddb1f1a752db6d41f50f9)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Excluding the DATE/SRCDATE from do_patch dependency.
Lianhao Lu [Tue, 14 Feb 2012 02:57:52 +0000 (10:57 +0800)]
gcc: Excluding the DATE/SRCDATE from do_patch dependency.

Corrected the error introduced by commit afb400e of dropping
DATE/SRCDATE out of the vardepsexlude list of do_patch.

(From OE-Core rev: 6546096d068b51cc9cf4557cdb35aee6f62838d5)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpcbind: add DEPENDS on quota for rpcsvc/rquota.h
Saul Wold [Sat, 11 Feb 2012 00:06:10 +0000 (16:06 -0800)]
rpcbind: add DEPENDS on quota for rpcsvc/rquota.h

(From OE-Core rev: 4771f4af5926d724958ba7cf46b937c53babfc7c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot-fw-utils: Add DEPEND on mtd-utils
Saul Wold [Sat, 11 Feb 2012 00:05:46 +0000 (16:05 -0800)]
u-boot-fw-utils: Add DEPEND on mtd-utils

(From OE-Core rev: 47d8444edb644a92d3bae524c8a2a42a1cdf740c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agozlib: remove ldconfig call from install-libs
Martin Jansa [Mon, 13 Feb 2012 15:40:48 +0000 (16:40 +0100)]
zlib: remove ldconfig call from install-libs

* it's called from install-libs target and when /etc/ld.so.cache is writeable by user running bitbake
  then it creates invalid cache (in my case libstdc++.so cannot be found after building zlib(-native)
  and I have to call touch */libstdc++.so && /sbin/ldconfig to fix it

(From OE-Core rev: b5c8add7f3ed58451cb460a242b4edd671ba618e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: bump PR to rebuild .la files without libz.la
Martin Jansa [Mon, 13 Feb 2012 15:40:49 +0000 (16:40 +0100)]
recipes: bump PR to rebuild .la files without libz.la

(From OE-Core rev: 1da6a2dbd5e7aeea6cd45ca05590bdd50b67bf89)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: allow updating a specific component(s) only
Paul Eggleton [Tue, 14 Feb 2012 13:44:03 +0000 (13:44 +0000)]
scripts/combo-layer: allow updating a specific component(s) only

If you specify one or more components to update immediately following
the "update" command, only these components will be updated as opposed
to the default behaviour of updating all of them.

(From OE-Core rev: 1779afce024b31edcf846329da705ed5aa9fe63e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconf/bitbake.conf: remove Opie definitions
Paul Eggleton [Tue, 14 Feb 2012 13:22:25 +0000 (13:22 +0000)]
conf/bitbake.conf: remove Opie definitions

These values are now set via palmtop-defs.bbclass in meta-opie (and are
not needed for anything else.)

(From OE-Core rev: a18de4dc0b988c79964354496a6a93c7ee5a28f6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sdl: remove Opie-specific desktop file/packaging
Paul Eggleton [Tue, 14 Feb 2012 13:22:26 +0000 (13:22 +0000)]
classes/sdl: remove Opie-specific desktop file/packaging

This code will not work without palmtopdir being defined, and is better
kept in meta-opie in any case (where we already have the OE-Classic
version of this class).

(From OE-Core rev: e45b0672e28d19cfb66c9e57e153ef15e004dcaf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostat: remove NATIVE_INSTALL_WORKS
Paul Eggleton [Tue, 14 Feb 2012 13:22:27 +0000 (13:22 +0000)]
stat: remove NATIVE_INSTALL_WORKS

This variable is no longer used in OE-Core.

(From OE-Core rev: b70d100047912569d6eb060eb48a753c56968d89)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: add branch option to example config
Paul Eggleton [Tue, 14 Feb 2012 13:44:06 +0000 (13:44 +0000)]
scripts/combo-layer: add branch option to example config

Minor improvements to the example combo-layer config file:
* Add the recently added branch option to the optional options section
* Mention in comments that last_revision gets updated during "update"
* Tidy up some more grammar

(From OE-Core rev: 065798d8dd0552934175f794f7678e0dd24ef152)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: avoid saving last revision if unchanged
Paul Eggleton [Tue, 14 Feb 2012 13:44:05 +0000 (13:44 +0000)]
scripts/combo-layer: avoid saving last revision if unchanged

If we are running an update and the last revision hasn't changed since
the last update, don't write to the configuration file. This avoids
committing the config file with no changes other than spontaneous
reordering of sections, which sometimes occurs due to the behaviour of
the internal dictionary in Python's ConfigParser class. (This can be
fixed properly but the fix is only easy in Python 2.7+ due to the
availability there of the collections.OrderedDict class, and we
currently want to be compatible with 2.6.x as well.)

(From OE-Core rev: 4592f238de3fe6b0384c334774be9fcfc0985e4f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/combo-layer: avoid error when config file is outside repo
Paul Eggleton [Tue, 14 Feb 2012 13:44:04 +0000 (13:44 +0000)]
scripts/combo-layer: avoid error when config file is outside repo

Avoid displaying the error from the "git status" command we use to check
the status of the config file if the config file is outside of the
repository (a situation that is already handled).

(From OE-Core rev: 9d3e54057673348e85ba479705c4ffaad56973d6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/bitbake: pass through debug options to initial pseudo build
Paul Eggleton [Tue, 14 Feb 2012 13:22:24 +0000 (13:22 +0000)]
scripts/bitbake: pass through debug options to initial pseudo build

If you specify -D or -v options to the bitbake wrapper script, and the
initial pseudo build needs to be done, it's useful to pass these
options through to that command so that you can debug the initial
pseudo build as well.

(From OE-Core rev: dcf6f72c35f7c108e447d01c15df86807e26a88b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: fix cross configure failure
Lianhao Lu [Fri, 10 Feb 2012 07:37:54 +0000 (15:37 +0800)]
guile: fix cross configure failure

[YOCTO #1978]
Fixing the cross configure failure by not searching libltdl and libgmp
in includedir and libdir.

(From OE-Core rev: e5ad03093dfc4364d1407183f458df79f347c7a1)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert the switch to futures for now
Christopher Larson [Fri, 3 Feb 2012 15:12:55 +0000 (08:12 -0700)]
Revert the switch to futures for now

Without it, we get random hangs on parse failure. With it, some folks have
seen hangs even on successful cases. The former is clearly less problematic.
This is temporary, until I can finish investigating the root causes of both
issues.

(Bitbake rev: db689a99beffea1a285cdfc74a58fe73f1666987)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosiggen.py: Handle cases where the input to symmetric_difference() may be None
Richard Purdie [Fri, 10 Feb 2012 16:53:45 +0000 (16:53 +0000)]
siggen.py: Handle cases where the input to symmetric_difference() may be None

[YOCTO #1967]

(Bitbake rev: f6cee29bf853874876923a7d6ae8574e3801ae8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: Fixed Added-support-for-PPC-instructions-mfatbu-mfatbl.patch Upstream-Status
Saul Wold [Fri, 10 Feb 2012 08:19:19 +0000 (00:19 -0800)]
valgrind: Fixed Added-support-for-PPC-instructions-mfatbu-mfatbl.patch Upstream-Status

(From OE-Core rev: c8f821484939348dfa63e11c5c9c6571708553ab)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Ensure same sstate hashes for shared soruce directory
Lianhao Lu [Fri, 10 Feb 2012 03:42:18 +0000 (11:42 +0800)]
gcc: Ensure same sstate hashes for shared soruce directory

Ensure do_patch have the same sstate hashes for nativesdk variants of
gcc family recipes, since they share the same source directory.

(From OE-Core rev: afb400e9c3ddac604906bde44df5da29a6c134d9)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-4.6: Some small performance tweaks
Richard Purdie [Fri, 10 Feb 2012 00:06:12 +0000 (00:06 +0000)]
gcc-4.6: Some small performance tweaks

a) Use the system zlib to avoid building it for each gcc.
b) -initial and -intermediate don't need plugins or lto-plugin
   so disable them.

(From OE-Core rev: a124a0883507caf4ffb7e25be666f6781b30abdd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Optimise the per file rpm handling
Richard Purdie [Fri, 10 Feb 2012 00:10:38 +0000 (00:10 +0000)]
package.bbclass: Optimise the per file rpm handling

Currently a process was being forked off for each individual file
this class wanted to inspect with rpmdeps. This converts it to use
rpmdeps-oecore which allows batch processing of these dependencies.

For do_package for perl, this reduced the time by about 1 minute (33%).

(From OE-Core rev: 548037acd63bd4859f8de8d23a3d12f36ce9f97f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Optimise sstate_hardcode_path
Richard Purdie [Fri, 10 Feb 2012 00:07:05 +0000 (00:07 +0000)]
sstate.bbclass: Optimise sstate_hardcode_path

The sstate_hardcode_path() function triggered large numbers of exec()
calls when processing packages with large numbers of file relocations
(e.g. perl). This patch optimises those calls into longer single commands
which make the code significantly more efficient.

This reduced the do_package time for perl by 2 minutes (from 4.75 minutes)
for me.

(From OE-Core rev: 4159ff761cf29a03aeb56c7686a4e7af02b52219)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: Add missing DEPENDS on libgcrypt
Khem Raj [Fri, 10 Feb 2012 00:09:36 +0000 (16:09 -0800)]
gnupg: Add missing DEPENDS on libgcrypt

Found during single recipe rebuilds

(From OE-Core rev: bb672b1591197966b79fbcf7753f995b8e829e65)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosat-solver: Fix build with zlib 1.2.6
Khem Raj [Fri, 10 Feb 2012 00:07:46 +0000 (16:07 -0800)]
sat-solver: Fix build with zlib 1.2.6

(From OE-Core rev: 6064f6bd7c28640db59a216aa578f3cca6219b1f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agozlib: Upgrade 1.2.5 -> 1.2.6
Khem Raj [Mon, 30 Jan 2012 23:04:45 +0000 (15:04 -0800)]
zlib: Upgrade 1.2.5 -> 1.2.6

Dont use autotools, it really not so autoconf like.
the configure script gets updated with every release of zlib
and we overwrite that. Instead use the upstream provided
configure

copyright year was changed in zlib.h which caused change in
LIC_FILE_CHECKSUM

fix.inverted.LFS.logic.patch is already applied upstream so drop it

Drop the configure.ac and Makefile.am scripts since we do not
autoreconf anymore and do not inherit autotools anymore

Bump PR for depending recipes so a rebuild it ensues so that
they dont depend on .la anymore
and add missing dependencies discovered during incremental
build

(From OE-Core rev: 50ad5230ea9e0982cdfda23fb9fcfccf89d28f29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro-tracking-fields: update clutter, clutter_git and mx
Joshua Lock [Thu, 9 Feb 2012 01:08:04 +0000 (17:08 -0800)]
distro-tracking-fields: update clutter, clutter_git and mx

(From OE-Core rev: e303aeec9a97903479baad836671591b511b3e19)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclutter: upgrade git recipe to reflect 1.8.4 tag
Joshua Lock [Thu, 9 Feb 2012 00:48:39 +0000 (16:48 -0800)]
clutter: upgrade git recipe to reflect 1.8.4 tag

(From OE-Core rev: 37b47a8f038947c6725dec10845412df7f67e9e4)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomx: ensure gettext and dbus are present
Joshua Lock [Wed, 8 Feb 2012 21:29:50 +0000 (13:29 -0800)]
mx: ensure gettext and dbus are present

Upstream informs me that D-bus isn't really optional as it's required
to make some of the API work such as the single instance MxApplication.
Therefore ensure we're building with it enabled.

Gettext macros are used in the configure.ac so inherit gettext to
ensure the required dependencies are present.

(From OE-Core rev: fe2c13684e2a0b652007e92a6f11942c6366483e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomx: update to 1.4.2
Joshua Lock [Wed, 8 Feb 2012 21:08:16 +0000 (13:08 -0800)]
mx: update to 1.4.2

Patch in a copy of introspection.m4 so that we can continue to easily and
cleanly disable introspection.

(From OE-Core rev: 84d62181f80402fa461675e03b20ba08da1991e8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclutter-1.8: update to clutter-1.8.4
Joshua Lock [Wed, 8 Feb 2012 20:13:56 +0000 (12:13 -0800)]
clutter-1.8: update to clutter-1.8.4

Added a note about why we're setting S, so I don't have to figure it out again
next time I try and update clutter.

(From OE-Core rev: b752e2d6ae286db5588547fc49f1aa64e112fa32)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopowerpc64-linux: Update cached autoconf values for libpcap on powerpc64
Matthew McClintock [Thu, 9 Feb 2012 19:30:24 +0000 (13:30 -0600)]
powerpc64-linux: Update cached autoconf values for libpcap on powerpc64

Without this fix, libpcap will fail to build on powerpc64

(From OE-Core rev: 01a28e8b04c206e54bcb01ccd7401c08d5c600ce)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot-fw-utils: Add for v2011.06
Tom Rini [Wed, 8 Feb 2012 18:00:44 +0000 (11:00 -0700)]
u-boot-fw-utils: Add for v2011.06

This provides the 'fw_setenv' and 'fw_getenv' programs for the target
so that the U-Boot environment can be modified from Linux.  These
programs are system-agnostic and rely on a config file that a given BSP
would provide and potentially RRECOMMEND this be installed.

(From OE-Core rev: 4a2543c0641f1df6d74c18cfe0c3ac3cfd50e60c)

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistutils.bbclass: override LDSHARED so we use the linker for this build and not...
Matthew McClintock [Wed, 8 Feb 2012 21:06:54 +0000 (15:06 -0600)]
distutils.bbclass: override LDSHARED so we use the linker for this build and not the one used in sstate-cache

Without this fix, when packages are being built using distutils and
the python packages were deployed from sstate-cache is it possible
that the LD command will contain an invalid sysroot override.

We can fix this by always exported LDSHARED, which is the env var
that distutil looks for to override creating shared libraries.

(From OE-Core rev: 3f6b859a29ba7f570b9dae3b5bb7ab4bd7b8cee4)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocross.bbclass: add virtclass handler
Otavio Salvador [Sat, 12 Nov 2011 17:16:42 +0000 (17:16 +0000)]
cross.bbclass: add virtclass handler

Allow use of BBCLASSEXTEND with 'cross' and use of virtclass-cross in
recipes.

(From OE-Core rev: 9624a817bb7d2d9fce10704b1c1a047f93260f36)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: skip processing on virtclass-cross extended packages
Otavio Salvador [Tue, 7 Feb 2012 18:25:36 +0000 (18:25 +0000)]
useradd.bbclass: skip processing on virtclass-cross extended packages

(From OE-Core rev: 4308acbbd43e6b8b37123d95df6675233007dae4)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: fix mtd-user.h issue
Christopher Larson [Mon, 6 Feb 2012 20:01:07 +0000 (14:01 -0600)]
external-csl-toolchain: fix mtd-user.h issue

The use of __packed, which isn't defined in userspace, caused busybox build
failures.

(From OE-Core rev: 9c44bb6434a1d2347ebbb38bde9671688b0ae447)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake-layers: add copyright notice
Paul Eggleton [Mon, 30 Jan 2012 16:25:49 +0000 (16:25 +0000)]
bitbake-layers: add copyright notice

This ought to have been added earlier. (I consulted with Chris Larson on
the notice covering his work.)

(Bitbake rev: 69ed02b645bdc28c1bf24e436beeed37d226b56b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-default: add preference for gdb/gdbserver
Christopher Larson [Wed, 8 Feb 2012 16:16:48 +0000 (10:16 -0600)]
tcmode-default: add preference for gdb/gdbserver

(From OE-Core rev: 4ef5e70f531f48cef90805402c16ec02ad3f2b92)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: sort list fields in package info
Paul Eggleton [Tue, 7 Feb 2012 15:01:43 +0000 (15:01 +0000)]
classes/buildhistory: sort list fields in package info

Sort DEPENDS, RDEPENDS, and RRECOMMENDS in package info files so that
any changes in order (which are not important) are smoothed out in the
change history.

Fixes [YOCTO #1961]

(From OE-Core rev: 06b740d4ca077fb4c89ee6d1065fabb02da45ec6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: sort image file list
Paul Eggleton [Tue, 7 Feb 2012 15:20:02 +0000 (15:20 +0000)]
classes/buildhistory: sort image file list

Sort the contents of files-in-image.txt to avoid unnecessary changes
showing up in the history due to reordering.

(From OE-Core rev: 791ad7a522f6800114febd1605072202c1450356)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: split out gdbserver packages
Christopher Larson [Mon, 6 Feb 2012 20:07:15 +0000 (14:07 -0600)]
external-csl-toolchain: split out gdbserver packages

(From OE-Core rev: b6ddd434c47c66fdd6dd27a31e545f46b52bc90f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: correct binary packaging
Christopher Larson [Mon, 6 Feb 2012 20:01:57 +0000 (14:01 -0600)]
external-csl-toolchain: correct binary packaging

CS puts optimized executables in usr/lib/bin, not usr/bin.

(From OE-Core rev: 25d22bfb0970f7152b678796f2282dced7230fe1)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: set PKG/PKGV for staticdev
Christopher Larson [Mon, 6 Feb 2012 20:00:35 +0000 (14:00 -0600)]
external-csl-toolchain: set PKG/PKGV for staticdev

(From OE-Core rev: 481f6f32cd414ff11f154adc24f1b596495286df)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-tools-profile: fix valgrind for arm and systemtap for mips
Saul Wold [Wed, 8 Feb 2012 03:55:52 +0000 (19:55 -0800)]
task-core-tools-profile: fix valgrind for arm and systemtap for mips

(From OE-Core rev: e5f41c2213568c7aef24ce8f666042492054377d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomirrors.bbclass: Add yp.org and oe.org to fallback mirrors
Khem Raj [Sun, 5 Feb 2012 23:50:13 +0000 (15:50 -0800)]
mirrors.bbclass: Add yp.org and oe.org to fallback mirrors

This should improve the fetching errors users see
when upstream src_uri is unavailable

(From OE-Core rev: ca8a3422eb96ea431c322532dfd1be9980d4d48c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc: Upgrade recipes from 0.9.32 -> 0.9.33
Khem Raj [Thu, 2 Feb 2012 08:17:30 +0000 (00:17 -0800)]
uclibc: Upgrade recipes from 0.9.32 -> 0.9.33

Prefer 0.9.33 by default
Delete recipes for 0.9.32

(From OE-Core rev: 5d2c0b051072b3cee510dcad8d20fb26d3843f62)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodhcp: move dhcp leases files handling to postinst/postrm
Otavio Salvador [Mon, 6 Feb 2012 15:16:02 +0000 (15:16 +0000)]
dhcp: move dhcp leases files handling to postinst/postrm

Both server and client needs access to leases files so its creation
and removal are now handled by postinst/postrm scripts.

(From OE-Core rev: c8a9ae7c047051958b8667e77288c5ac295766c6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-testing: Fix evaluation of user and target name
Khem Raj [Sat, 4 Feb 2012 19:01:58 +0000 (11:01 -0800)]
gcc-cross-testing: Fix evaluation of user and target name

Dont use -q to grep we pipe to /dev/null anyway all we
care is the return status of grep

(From OE-Core rev: 9c575b5f37ee53eaf26bfdc468d4cbb661db703f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses,recipes: Replace POKY_* with CORE_IMAGE_*
Khem Raj [Fri, 3 Feb 2012 23:49:39 +0000 (15:49 -0800)]
classes,recipes: Replace POKY_* with CORE_IMAGE_*

(From OE-Core rev: b14a92f4450bb08b9f11d3fd7a99155315527cdd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Wrap renameat and opendir
Khem Raj [Fri, 3 Feb 2012 08:03:33 +0000 (00:03 -0800)]
pseudo: Wrap renameat and opendir

(From OE-Core rev: f6056cf0e7c76f2f3df650b088ce84df41ec14ca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtools-3.9.9: Use correct URI for the mirror
Saul Wold [Tue, 7 Feb 2012 18:57:18 +0000 (10:57 -0800)]
mtools-3.9.9: Use correct URI for the mirror

(From OE-Core rev: b4206046476dc6ff758bb45cf0c97ab2c57893b6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibx11: Backport _XGetRequest API
Khem Raj [Sat, 4 Feb 2012 23:54:09 +0000 (15:54 -0800)]
libx11: Backport _XGetRequest API

This API is relatively new and will be in next release of libX11
this is needed for OE qemu-native which links to libx11-native
but uses libGL from build system and herein lies the problem
if you have bleeding edge distro e.g. ubuntu 12.04(development)
libGL.so expects this API to be present. Backported to 1.4.4
thusly

(From OE-Core rev: e08604800fe1cb8f240f53c147ceb4ee08a29b91)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: Fix build failure unearthed by uclibc
Khem Raj [Fri, 3 Feb 2012 22:42:29 +0000 (14:42 -0800)]
libdrm: Fix build failure unearthed by uclibc

uclibc wants to know value of __USE_GNU for certain
header prototypes to be enabled. So we move the config.h
header up in search list.

(From OE-Core rev: 086679cfbc30dba4af2f650984084195e5171b8f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix build failure of python-elementtree on x86_64
Khem Raj [Fri, 3 Feb 2012 20:21:22 +0000 (12:21 -0800)]
python: Fix build failure of python-elementtree on x86_64

The problem is due to mixing of headers from host system
thusly corrected in setup.py by checkinng if we are cross
compiling

(From OE-Core rev: 25016d158af927e0c9e70c3df4674f53fa54fec8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogconf,consolekit: Avoid polkit when compiling with uclibc
Khem Raj [Fri, 27 Jan 2012 21:27:56 +0000 (13:27 -0800)]
gconf,consolekit: Avoid polkit when compiling with uclibc

polkit uses netdb functionality from glibc which is not
available in uclibc therefore we avoid polkit when compiling
for uclibc systems.

(From OE-Core rev: 7eae02f47a08587cf5be3d39df0184cf346cbaea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu-internal: qemuarm can handle 256M
Khem Raj [Mon, 30 Jan 2012 23:10:15 +0000 (15:10 -0800)]
runqemu-internal: qemuarm can handle 256M

Raise the check for max RAM supported for QEMU/arm
its 256M since we patched it to be so in OE

(From OE-Core rev: cfd84a05581e068d705b0804829c4833a06bffa6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoEnable options needed for ltp to compile
Khem Raj [Sat, 21 Jan 2012 01:19:12 +0000 (17:19 -0800)]
Enable options needed for ltp to compile

(From OE-Core rev: 22309029a9599b8f947c1fca664760123c325885)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-tools: Divide it into 3 recipes
Khem Raj [Sat, 21 Jan 2012 01:13:37 +0000 (17:13 -0800)]
task-core-tools: Divide it into 3 recipes

task-core-tools-debug, task-core-tools-profile, task-core-tools-testapps
otherwise if we choose one through PACKAGE_GROUPS all packages
are built since they are in same recipe.

(From OE-Core rev: 180227d8ff71c42e0d16ad7eb4a5f9b7d6a0c1c6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: fri2: use emgd-1.10
Bruce Ashfield [Sun, 5 Feb 2012 06:16:59 +0000 (01:16 -0500)]
linux-yocto: fri2: use emgd-1.10

Updating meta for the following change:

[
    fri2: use emgd-1.10

    Use the yocto/emgd-1.10 branch in place of yocto/emgd.
]

(From OE-Core rev: aa6293ffbc7f8f17e55f2105de56384e14591b44)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokern-tools: remove explicit 'yocto' references from auto-bsp handling
Bruce Ashfield [Fri, 3 Feb 2012 17:25:59 +0000 (12:25 -0500)]
kern-tools: remove explicit 'yocto' references from auto-bsp handling

To adapt to different branch names in a repository, removing explicit
references to 'yocto' in automatically created BSPs ensures that they
are consistent with the merged variants. Existing BSPs and auto BSPs
are not impacted by this change.

(From OE-Core rev: 74613d02aa844cac3be0626cc64139643fe17a4f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: rt compiliation fix
Bruce Ashfield [Fri, 3 Feb 2012 15:20:54 +0000 (10:20 -0500)]
linux-yocto: rt compiliation fix

Updating the meta SRCREC to pickup the following changes:

  70e86dc meta/rt: update rt patch cache

Without this change a 3.0 based -rt build will fail to patch.

(From OE-Core rev: e5da5e84e64362f59a62f65b9f260f96af96bc11)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: meta updates for sys940x and cleanup
Bruce Ashfield [Thu, 2 Feb 2012 02:18:16 +0000 (21:18 -0500)]
linux-yocto: meta updates for sys940x and cleanup

Updating the meta SRCREV to pickup the following changes:

[
  Author: Darren Hart <dvhart@linux.intel.com>
  Date:   Wed Feb 1 09:37:48 2012 -0800

    Remove boot-live cfg duplication from BSPs

    Several BSPs duplicated the boot-live fragment in their BSP
    specific config. Remove the duplication and add CONFIG_RD_GZIP
    and CONFIG_BLK_DEV_SR to the boot-live fragment.

    (From OE-Core rev: a243dded5c84d48728308a769e527302b7539939)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tzanussi@intel.com>
  Author: Darren Hart <dvhart@linux.intel.com>
  Date:   Tue Jan 31 13:18:17 2012 -0800

    meta: sys940x BSP meta data

    The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
    o Intel Atom E6xx (0.6-1.6 GHz)
    o Up to 1GB on-board DDR2
    o Intel Platform Controller Hub EG20T
    o VGA,LVDS
    o HD Audio
    o SD Card
    o Dual SATA
    o Mini-PCIe

    http://www.inforcecomputing.com/SYS940X_ECX.html

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tzanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: locate and use out of tree features specified on the SRC_URI
Bruce Ashfield [Wed, 1 Feb 2012 14:25:03 +0000 (09:25 -0500)]
linux-yocto: locate and use out of tree features specified on the SRC_URI

In a similar manner to calling the patch.bbclass to locate patches that
were listed on the SRC_URI, it is also useful to query about 'other' items
that are on the SRC_URI. In the case of linux-yocto, it allows us to
know about kernel features that were specific on the URI and then apply
them to the current tree.

(From OE-Core rev: 3e2ce87566124db8c78472f9a4f00ab26410f213)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-apps: Bump PR to accomodate meta-oe recipe deletion
Khem Raj [Mon, 6 Feb 2012 16:05:27 +0000 (08:05 -0800)]
xorg-apps: Bump PR to accomodate meta-oe recipe deletion

rgb in meta-oe has been removed in favour of
oe-core which requires a PR bump so feeds
keep working

(From OE-Core rev: 00c2e80e8cae2db6e2c34b1291c615f7f146b070)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: stop providing cache support by default
Otavio Salvador [Fri, 3 Feb 2012 12:20:40 +0000 (12:20 +0000)]
udev: stop providing cache support by default

The usefulness of cache nowadays has been reduced a lot and thus it's
better to stop using it by default. Dropping the recommends allows for
image to decide if they want or not to have cache enabled, instead of
require a machine override.

(From OE-Core rev: bf849b8a6da32cebaa361242162e4fcc4b1cd97f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemtap: build and install uprobes.ko
Wade Farnsworth [Mon, 6 Feb 2012 14:49:14 +0000 (07:49 -0700)]
systemtap: build and install uprobes.ko

SystemTap needs to provide uprobes.ko in order to support user space
probing.  Build and install the module on systems that support it.

Additionally, split off common bits into systemtap_git.inc.

(From OE-Core rev: 3cc4ba935444240b93abdc726342658ada803118)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemtap: extend the recipe to build the native package
Wade Farnsworth [Mon, 6 Feb 2012 14:48:20 +0000 (07:48 -0700)]
systemtap: extend the recipe to build the native package

Since the target image may not contain dev tools, it is useful to
provide native systemtap in order to be able to compile systemtap
scripts for the target.

(From OE-Core rev: 507bd29c5d1a3459e376e2d2c338b7e2a0afabaa)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemtap: bump SRCREV to grab version 1.7
Wade Farnsworth [Mon, 6 Feb 2012 14:47:41 +0000 (07:47 -0700)]
systemtap: bump SRCREV to grab version 1.7

Bump SRCREV to the latest stable version of systemtap.

(From OE-Core rev: ea57a29c75aa8265aecb8b0acd9c29340e98092c)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot inc: update inc file for newer u-boot versions
Chase Maupin [Mon, 6 Feb 2012 14:16:58 +0000 (08:16 -0600)]
u-boot inc: update inc file for newer u-boot versions

* Add support for different suffixes found with later u-boot
  versions which have switched from .bin to .img
* Allow recipes that include u-boot.inc to also package an
  SPL if they build one.
    * Minimum requirement is to set the SPL_BINARY value to add
      the SPL to the u-boot package as well as into the deploy
      directory.

(From OE-Core rev: 2965aa2faaccce43f6c3e451c0a2ded3734766e4)

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcap: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:34:22 +0000 (13:34 +0000)]
libcap: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

(From OE-Core rev: bf136334aecc156c73eed76562819351de368eec)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb-compat: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:42:36 +0000 (13:42 +0000)]
libusb-compat: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb1: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:33:31 +0000 (13:33 +0000)]
libusb1: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

(From OE-Core rev: 2ada7f7a0fa8a76a9ef7b45b0e0ced78757d9021)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: Make webgl support configurable via DISTRO_FEATURES.
Peter Tworek [Sat, 4 Feb 2012 18:41:41 +0000 (19:41 +0100)]
webkit-gtk: Make webgl support configurable via DISTRO_FEATURES.

* Add missing dependency on virtual/libgl.
* Make webgl configurable via DISTRO_FEATURES="opengl".
* Run tested on netbook pro.

(From OE-Core rev: 9500ef3f5fae07c1592e8208bb306c1148e49418)

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: Fix error.html resource path.
Peter Tworek [Sat, 4 Feb 2012 18:41:40 +0000 (19:41 +0100)]
webkit-gtk: Fix error.html resource path.

(From OE-Core rev: cb0e0e3de421e2dd8335765adb3c0e442177bb9a)

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl-0.9.8: Remove in favor or 1.0.0
Saul Wold [Mon, 6 Feb 2012 16:35:27 +0000 (08:35 -0800)]
openssl-0.9.8: Remove in favor or 1.0.0

Now that Openssl 1.0.0 has been out for a while, there is no need to
keep multiple versions.

(From OE-Core rev: 6017251a1de93ff3d509a040a220e30d0ee9cd5e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg-1.4.7: Update Patch Info
Saul Wold [Mon, 6 Feb 2012 16:17:25 +0000 (08:17 -0800)]
gnupg-1.4.7: Update Patch Info

(From OE-Core rev: 50641a59bf10485f62d6d3669a2c1ded95cc48ed)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Add flock utility to default configuration.
Peter Tworek [Thu, 2 Feb 2012 20:21:26 +0000 (21:21 +0100)]
busybox: Add flock utility to default configuration.

Flock is required by by pm-utils package to function properly
(/usr/lib/pm-utils/functions). It's shipped in both busybox and
util-linux. Both versions work fine with pm-utils. Enabling it
in busybox seems like simpliest solution for the problem.

(From OE-Core rev: a8ba002b5eb3c2e57550483d7b3ea99f0cc8a9cb)

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Use the same OS files for each boot method
Darren Hart [Thu, 2 Feb 2012 00:15:04 +0000 (16:15 -0800)]
bootimg: Use the same OS files for each boot method

Fixes [YOCTO #1951]

The do_bootimg code can generate hybrid efi+pcbios images (syslinux and
grub-efi) to boot on platforms with both EFI and legacy BIOS options. The
current implementation copies the kernel, initrd, and rootfs twice,
unnecessarily bloating the image size. This is an especially egregious bug
on -sato images.

Update the classes to use a common install of the kernel, initrd, and rootfs to
the root of the boot media. Grub-efi, syslinux, and isolinux can all reference
this location explicitly with a leading slash.

Tested with an EFI+PCBIOS image in both EFI and PCBIOS boot modes on two
platforms. No ISO image testing was performed.

(From OE-Core rev: 5209016cf4c4c8f649e37dc8857b3fbcfe8dd8c8)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-mips32.inc: Add mips32-nf and mips32el-nf
Andreas Oberritter [Thu, 2 Feb 2012 13:00:34 +0000 (14:00 +0100)]
tune-mips32.inc: Add mips32-nf and mips32el-nf

tune-mips32.inc only lists mips32 CPUs with hardware FPU.
Extend it to list CPUs without hardware FPU, too.

(From OE-Core rev: 26630a9f37b04e215eff9b8e63414b6b2066d6fa)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibzypp: add missing runtime dependences on gzip and gnupg
Steve Sakoman [Wed, 1 Feb 2012 15:20:32 +0000 (07:20 -0800)]
libzypp: add missing runtime dependences on gzip and gnupg

gzip is required to uncompress repository files
gnupg is required for the support of signed repositories.

(From OE-Core rev: 18d9fcfc4bc4b01f73e89f3b988c9d3d543c7705)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: add 2.0.18 (initial recipe)
Steve Sakoman [Wed, 1 Feb 2012 15:20:31 +0000 (07:20 -0800)]
gnupg: add 2.0.18 (initial recipe)

GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME

(From OE-Core rev: d99215fb1928e9996bb358b9f95d379d93b45377)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibksba: add 1.2.0 (initial recipe)
Steve Sakoman [Wed, 1 Feb 2012 15:20:30 +0000 (07:20 -0800)]
libksba: add 1.2.0 (initial recipe)

Libksba provides an easy API to create and parse X.509 and CMS related objects
and is required for gnupg

(From OE-Core rev: fdee3a3e00d9677a71f3a4f4f4c4cbc4af3ab028)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-securetty: allow root logins on usb serial gadget device
Steve Sakoman [Wed, 1 Feb 2012 17:24:48 +0000 (09:24 -0800)]
shadow-securetty: allow root logins on usb serial gadget device

Existing tty list does not include ttyGS0, add it

(From OE-Core rev: 6ba9dc6460eb615e002e90ead0f4d5bc31856f22)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/patch: optionally return non-patch sources
Bruce Ashfield [Wed, 1 Feb 2012 18:55:41 +0000 (13:55 -0500)]
classes/patch: optionally return non-patch sources

commit:

  patch.bbclass: abstract out logic that determines patches to apply

gives the ability for other clases to emit series files for use outside
of a build system, or even within the build system. There are sometimes
elements on the SRC_URI that while not directly applicable to patching,
can be related to patching the package. For example, the yocto kernel
class would like to know about these other source items on the SRC_URI
to locate out of tree kernel features.

This change keeps the default behaviour of returning patches, but adds the
ability to request that non-patch results be returned.  Additional filtering
within the non-patch category, is left up to the caller of the routine.

(From OE-Core rev: 41e92923a0b2fe047ecaa9f9ffb564d6069f784f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH
Ken Werner [Wed, 14 Dec 2011 22:58:31 +0000 (23:58 +0100)]
Add EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH

This allows cmake to find the binaries of an external toolchain.

(From OE-Core rev: 7b355ad09a622cfe57c66674ed1affd61c4d872e)

Signed-off-by: Ken Werner <ken.werner@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: extract version info from the toolchain
Christopher Larson [Fri, 27 Jan 2012 17:13:48 +0000 (11:13 -0600)]
external-csl-toolchain: extract version info from the toolchain

(From OE-Core rev: ba59a35cd2b7a0cb5903146d991f5d7f535f4f19)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: leverage eglibc's packaging for more granular output
Christopher Larson [Fri, 27 Jan 2012 17:13:47 +0000 (11:13 -0600)]
external-csl-toolchain: leverage eglibc's packaging for more granular output

(From OE-Core rev: 414a81a6f3e7caee4107889230a5e648f2791f75)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: support ia32
Christopher Larson [Fri, 27 Jan 2012 17:13:46 +0000 (11:13 -0600)]
external-csl-toolchain: support ia32

Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its bindir
(e.g. gcc, ld). To avoid this messing up our build, we avoid adding this
bindir to our PATH, and instead add symlinks to the prefixed binaries to our
staging toolchain bindir.

(From OE-Core rev: c924d878b55cce7a0e98dc60acf706b5a1b4f404)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoexternal-csl-toolchain: support mips/ppc/arm
Christopher Larson [Fri, 27 Jan 2012 17:13:45 +0000 (11:13 -0600)]
external-csl-toolchain: support mips/ppc/arm

- Rather than adjusting TARGET_VENDOR, which results in our TARGET_SYS
  matching the external toolchain, override TARGET_PREFIX to match external,
  and leave TARGET_SYS alone
- Grab the optimized files out of the toolchain if available
- Create a symlink in sysroot to ensure the sysroot layout matches toolchain
  expectations (optimized files in a subdir)

(From OE-Core rev: a37298eb3421a44e88ec5a66b2fc5305ab18f453)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-package.inc: don't include debug files in -pic
Christopher Larson [Fri, 27 Jan 2012 17:13:40 +0000 (11:13 -0600)]
eglibc-package.inc: don't include debug files in -pic

(From OE-Core rev: 64eccd7aacbb7e31478482e0deec1a6a3a94c9ea)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: fixes for build with an external csl toolchain
Christopher Larson [Fri, 27 Jan 2012 17:13:41 +0000 (11:13 -0600)]
binutils: fixes for build with an external csl toolchain

(From OE-Core rev: 050eb9c82d8a2d04f2578c04a826b7762d737446)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoLSB_Setup.sh: Add locale resources and startup script avahi-daemon
Xiaofeng Yan [Fri, 3 Feb 2012 06:39:46 +0000 (14:39 +0800)]
LSB_Setup.sh: Add locale resources and startup script avahi-daemon

The purpose of adding locale resources is to resolve bug 1954 because missing locale resources
cause many failures.

The purpose of adding startup script avahi-daemon is to resolve bug 1907. The detailed description
is as follows:
No daemon progress "avahi-daemon" when system starting up.
Function "gethostbyaddr" will search file "/var/run/avahi-daemon/socket" but there is no
this file which is created by avahi-daemon.

[YOCTO #1907 #1954]

(From OE-Core rev: ce410852b7623379ad6961529e28f643e209749e)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>