]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agositeinfo: Move certain bash entries to common-linux
Tom Rini [Wed, 13 Jul 2011 19:52:52 +0000 (12:52 -0700)]
siteinfo: Move certain bash entries to common-linux

More re-sync with oe.dev

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agositeinfo: Move certain samba entries to common-linux
Tom Rini [Wed, 13 Jul 2011 19:29:08 +0000 (12:29 -0700)]
siteinfo: Move certain samba entries to common-linux

Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux

Signed-off-by: Tom Rini <tom_rini@mentor.com>
13 years agopolkit: Support pam
Xiaofeng Yan [Tue, 26 Jul 2011 09:08:02 +0000 (17:08 +0800)]
polkit: Support pam

Modify configuration "polkit-1" in /etc/pam.d/ for supporting pam.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agodropbear: Support pam
Xiaofeng Yan [Tue, 26 Jul 2011 09:06:29 +0000 (17:06 +0800)]
dropbear: Support pam

I make a patch and some changes in dropbear.inc for supporting pam.
- Enable pam in configure
- Modify file option.h to open pam supporting

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoopenssh: Support PAM
Xiaofeng Yan [Tue, 26 Jul 2011 09:04:24 +0000 (17:04 +0800)]
openssh: Support PAM

Adding configuration file "sshd" in /etc/pam.d/ for supporting pam.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
13 years agoat: enable pam support
Wenzong Fan [Wed, 20 Jul 2011 02:29:22 +0000 (10:29 +0800)]
at: enable pam support

add patches to make at enable pam support

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agoshadow: update pam related configure files
Kang Kai [Wed, 20 Jul 2011 11:18:14 +0000 (19:18 +0800)]
shadow: update pam related configure files

add shadow-update-pam-conf.patch to update the pam related configure files
in oe way rather than Fedora.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agocronie: enable PAM support for cronie
Wenzong Fan [Wed, 20 Jul 2011 02:42:28 +0000 (02:42 +0000)]
cronie: enable PAM support for cronie

Enable PAM support for cronie and update its pam config file 'crond'.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13 years agosudo: add pam support
Kang Kai [Wed, 20 Jul 2011 03:17:07 +0000 (11:17 +0800)]
sudo: add pam support

According to DISTRO_FEATURES to add pam support for sudo, and import
configure file from Fedora.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoscreen: add pam support
Kang Kai [Wed, 20 Jul 2011 02:16:47 +0000 (10:16 +0800)]
screen: add pam support

According to DISTRO_FEATURES then add screen pam support or not.
Press "Ctrl+a x" will lock the screen terminal, then unlock it will
use pam.
Add pam related configure file sceen.pam from Fedora.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agocups: add pam support
Kang Kai [Wed, 20 Jul 2011 01:57:12 +0000 (09:57 +0800)]
cups: add pam support

According to distro_feature then add pam support for cups or not.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibpam: update to 1.1.4 and add subpackage xtests
Kang Kai [Tue, 19 Jul 2011 09:08:31 +0000 (17:08 +0800)]
libpam: update to 1.1.4 and add subpackage xtests

Update libpam to 1.1.4, and add dependecy cracklib because run xtexts will
need pam-plugin-cracklib.
There are some additional checks under subdirectory xtests and make it
as a subpackage libpam-xtests.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agolibcap: Update to 2.22 with License Clarification
Saul Wold [Mon, 25 Jul 2011 17:35:42 +0000 (10:35 -0700)]
libcap: Update to 2.22 with License Clarification

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agomachine/qemu: set preferred linux-yocto kernel version
Bruce Ashfield [Mon, 25 Jul 2011 14:44:55 +0000 (10:44 -0400)]
machine/qemu: set preferred linux-yocto kernel version

The introduction of the linux-yocto-3.0 kernel is taking
precedence over the known working 2.6.37 version. Forcing
2.6.37 until 3.0 is validated on the qemu machines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agoscripts/combo-layer: keep carriage returns at the end of lines
Paul Eggleton [Mon, 25 Jul 2011 08:08:10 +0000 (09:08 +0100)]
scripts/combo-layer: keep carriage returns at the end of lines

Use --keep-cr option to "git am" or otherwise we lose carriage returns
which can be important for patches against files that use CRs.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agoeglibc: remove unnecessary FILESPATHPKG usage
Paul Eggleton [Fri, 22 Jul 2011 09:15:50 +0000 (10:15 +0100)]
eglibc: remove unnecessary FILESPATHPKG usage

This was not doing anything (we don't even have the eglibc-svn directory).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agomodule-init-tools: do not build static utilities for -cross
Enrico Scholz [Mon, 25 Jul 2011 14:34:45 +0000 (16:34 +0200)]
module-init-tools: do not build static utilities for -cross

There is no need to have static module-init-tools for the cross
tools.  Building such binaries requires a static libc which is not
required by the rest of OE and which is deprecated and not installed
by distributions like Fedora.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
13 years agoconsole-tools: removed wildcard from SRC_URI
Enrico Scholz [Mon, 25 Jul 2011 14:27:42 +0000 (16:27 +0200)]
console-tools: removed wildcard from SRC_URI

Wildcards in SRC_URI are not supported by oe-core and work only
when last (or first?) FILESPATH element points to the containing
directory. Specifying plain dir works fine for this recipe.

Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
13 years agodropbear: don't override DISTRO_TYPE if it is already set
Koen Kooi [Mon, 25 Jul 2011 08:08:59 +0000 (10:08 +0200)]
dropbear: don't override DISTRO_TYPE if it is already set

The long term solution is to remove the IMAGE_FEATURE check since images are not allowed to influence recipe compile options.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agolibxcb: Add missing DEPENDS on libxdmcp
Khem Raj [Sat, 23 Jul 2011 01:59:49 +0000 (18:59 -0700)]
libxcb: Add missing DEPENDS on libxdmcp

Observed this to fail when populating new tmpdir
from shared state

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agometa/conf/local.conf.sample: improve terminal examples/comments
Paul Eggleton [Tue, 26 Jul 2011 10:33:52 +0000 (11:33 +0100)]
meta/conf/local.conf.sample: improve terminal examples/comments

Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support
only works for KDE 3.x, and note this in the comments (see Yocto bug 1294
for further details.) Also add a comment about PATCHRESOLVE = "noop".

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agometa/conf/local.conf.sample: improve comments/layout
Paul Eggleton [Tue, 26 Jul 2011 09:59:56 +0000 (10:59 +0100)]
meta/conf/local.conf.sample: improve comments/layout

Some additions and grammar fixes to the comments, as well as moving
the locale options to the same place.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agometa/conf/local.conf.sample: remove oprofileui-native related settings
Paul Eggleton [Tue, 26 Jul 2011 10:01:38 +0000 (11:01 +0100)]
meta/conf/local.conf.sample: remove oprofileui-native related settings

oprofileui-nativesdk would be a better way to handle these kinds of
requirements with the modern system, and it is not something that most
users will need to configure anyway (nor was it supported.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
13 years agotune-core2.inc: Drop X86ARCH32 usage
Richard Purdie [Wed, 27 Jul 2011 09:34:31 +0000 (10:34 +0100)]
tune-core2.inc: Drop X86ARCH32 usage

Using i686 doesn't work well with locale generation and doesn't gain anything
so revert to the i586 default.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-ia32.inc: Fix up TUNE_ARCH variable conflicts
Richard Purdie [Tue, 26 Jul 2011 17:51:02 +0000 (18:51 +0100)]
arch-ia32.inc: Fix up TUNE_ARCH variable conflicts

The current approach causes duplicate values to appear in the TUNE_ARCH
field and this patch addresses that.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/image_types: IMAGE_TYPES was missing some entries
Joshua Lock [Tue, 26 Jul 2011 04:21:56 +0000 (21:21 -0700)]
classes/image_types: IMAGE_TYPES was missing some entries

Some of these entries are required by the GUI to enable the expected workflow
of the ADT, namely a compressed rootfs image.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupstream status: add for libsdl and xserver patches
Yu Ke [Tue, 26 Jul 2011 07:12:58 +0000 (15:12 +0800)]
upstream status: add for libsdl and xserver patches

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpstream-Status: Add Upstream-Status for some missing patches
Dongxiao Xu [Tue, 26 Jul 2011 08:36:57 +0000 (16:36 +0800)]
Upstream-Status: Add Upstream-Status for some missing patches

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS
Khem Raj [Tue, 26 Jul 2011 05:09:13 +0000 (22:09 -0700)]
meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS

There is this discrepency in spelling. Lets fix it in
core. There are lot of layers using SITEINFO_ENDIANNESS
This was shielded since meta-oe had its own copy of
siteinfo class. But that class has now been deleted in
favor of oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/utils: 'Fix' oe.utils.contains() behaviour
Richard Purdie [Mon, 25 Jul 2011 18:03:08 +0000 (19:03 +0100)]
lib/oe/utils: 'Fix' oe.utils.contains() behaviour

Currently oe.utils.contains(X, "A", true, false) will return true for substring matches,
e.g. if X = "ABC". This is not what most users expect from the function.

In the common OE use of this function there is the case of "touchscreen" and "screen" being
used as independent variables. Whilst it could be argued there isn't a problem in that
specific case (touchscreens are usually on screens), there is no substring usage of this
function is OE-Core so this patch changes the behaviour to match only full strings.

It also fixes a bug where duplicate entries would confuse multiple matches, e.g.
contains(X, ["A", "B"], ...) would match X = "A A" which is clearly wrong.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoMove architecture specific TARGET_OS mangling into tune files
Richard Purdie [Fri, 22 Jul 2011 16:54:32 +0000 (17:54 +0100)]
Move architecture specific TARGET_OS mangling into tune files

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconf/machine/include: Start to fill out architecture specific tune include files...
Richard Purdie [Fri, 22 Jul 2011 16:32:21 +0000 (17:32 +0100)]
conf/machine/include: Start to fill out architecture specific tune include files and tune features

These changes revolve around the idea of tune features. These are represented by
'flag' strings that are included in the TUNE_FEATURES variable.

Any string included in TUNE_FEATURES should also add a TUNEVALID[<name>] entry so
we can know which flags are available in TUNE_FEATURES and have documentation about
what the flags do. We will add sanity code to error if flags are listed in
TUNE_FEATURES but are not documented in TUNEVALID.

A given tune configuration will want to define one or more predetermined sets of
_FEATURE flag lists. These are defined in the form TUNE_FEATURES_tune-<name>.
For defined tune configuation, <name> should be added to the AVAILTUNE list so that
we can determine what tune configurations are available. Flags cannot be used in this
case as with TUNEVALID since its useful to be able to build up tune lists from other
TUNE_FEATURES_tune-yyy options.

A given tune configuration may also define PACKAGE_EXTRA_ARCHS_tune-<name> and
BASE_LIB_tune-<name> to control the multilib location. All options can be overridden
by the distro or local user configuration.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity: Increase bitbake minium version to 1.13.3 for bb.utils.contains() function
Richard Purdie [Mon, 25 Jul 2011 12:52:01 +0000 (13:52 +0100)]
sanity: Increase bitbake minium version to 1.13.3 for bb.utils.contains() function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/classes: Variable cleanup
Richard Purdie [Mon, 11 Jul 2011 13:44:04 +0000 (14:44 +0100)]
bitbake.conf/classes: Variable cleanup

This patch removes the variables BASE_PACKAGE_ARCH, BASEPKG_HOST_SYS,
BASEPKG_TARGET_SYS and also removes the immediate assignments in
several core classes as these are no longer required.

This should make it clearer what some of the core variables do and
simplfy some overly complex and confusing class code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoperl-dynloader.patch: Fix multilib issue for perl
Mei Lei [Mon, 25 Jul 2011 02:13:17 +0000 (10:13 +0800)]
perl-dynloader.patch: Fix multilib issue for perl

The perl-dynloader.patch can't support lib64 lib32, libx32, etc.
Relax the regular expression to fix this issue.

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
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.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
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.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
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.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
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.

Signed-off-by: Kumar Gala <galak@kernel.crashing.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

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
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

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
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.

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.

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.

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

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

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.

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.

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

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.

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.

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.

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

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

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

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

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

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
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.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
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

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.

Signed-off-by: Kumar Gala <galak@kernel.crashing.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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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

Signed-off-by: Mei Lei <lei.mei@intel.com>
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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample: Add a note about ASSUME_PROVIDED for help2man
Tom Rini [Tue, 19 Jul 2011 18:00:11 +0000 (11:00 -0700)]
local.conf.sample: Add a note about ASSUME_PROVIDED for help2man

Similar, but opposite of oe.dev example.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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().

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
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

Signed-off-by: Matthew McClintock <msm@freescale.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.

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

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

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).

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>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
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

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