]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agolibzypp: fix mishandling of hyphenated arches
Tom Zanussi [Wed, 2 Nov 2011 03:47:53 +0000 (22:47 -0500)]
libzypp: fix mishandling of hyphenated arches

Several hyphen-to-underscore translations were missing, causing
compiler errors trying to build arches with hyphens in their names.
This adds the missing translations.

(From OE-Core rev: 5be9785f344ec4d7580f7ec68e29dba9fceb0a0a)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC
Tom Zanussi [Wed, 2 Nov 2011 03:25:58 +0000 (22:25 -0500)]
gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CC

CC_FOR_BUILD was compiling the test programs using the target's
compile options and executing those on the host, causing errors such
as:

/bin/sh: line 1: 15032 Illegal instruction     ./gen-bases table 64 0 > mpn/mp_bases.c
/bin/sh: line 1: 15033 Illegal instruction     ./gen-bases header 64 0 > mp_bases.h

Export CC_FOR_BUILD using BUILD_CC to fix the problem.

(From OE-Core rev: 68cca5ca15cbdd53748ec130fb6f20cbb3fb5072)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofiles/device_table-minimal.txt: add /dev/kmsg
Otavio Salvador [Fri, 4 Nov 2011 16:48:59 +0000 (16:48 +0000)]
files/device_table-minimal.txt: add /dev/kmsg

(From OE-Core rev: 1a340471694204937981513dee4cc24bc2dc6f7e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcap: fix sstate for native package
Otavio Salvador [Wed, 2 Nov 2011 18:41:11 +0000 (18:41 +0000)]
libcap: fix sstate for native package

The 'lib' option needs to be given on target and native builds
otherwise it installs the binaries at ${libdir}64 when host is 64bit.

(From OE-Core rev: f768ef66c107410d4e81a69543d41910bbc6a26e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: handle nativesdk case
Eric Bénard [Tue, 8 Nov 2011 15:46:38 +0000 (16:46 +0100)]
useradd.bbclass: handle nativesdk case

* without this patch, building dbus-nativesdk leads to a missing
dependency on 'base-passwd-nativesdk'
This was added by commit 46e6c3fa8034b12d178d605f3f5d7efe69671a13
* this patch handle the nativesdk case in the class useradd
* close bug 1702 http://bugzilla.pokylinux.org/show_bug.cgi?id=1702
* v2 from Scott Garman with Richard Purdie's tricks

(From OE-Core rev: 140a3507fb5c14cd9bcebe4304f491aa1c5c47a2)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Drop MULTILIB_IMAGE_INSTALL
Dongxiao Xu [Tue, 8 Nov 2011 06:19:37 +0000 (14:19 +0800)]
multilib: Drop MULTILIB_IMAGE_INSTALL

There should just be a single IMAGE_INSTALL variable. If the package
backends need this split into different multilib components they should
be responsible for doing this, not the user.

This commit removes the MULTILIB_IMAGE_INSTALL variable.

[YOCTO #1564]

(From OE-Core rev: 7736862a74c92fe1afe42e170822be13117575c2)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocontacts: fix packaging of icons
Joshua Lock [Fri, 4 Nov 2011 21:42:51 +0000 (14:42 -0700)]
contacts: fix packaging of icons

(From OE-Core rev: 1f4028337d5e288e239f44ef34e1d707b785273e)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogypsy: fix packaging
Joshua Lock [Thu, 3 Nov 2011 01:34:31 +0000 (18:34 -0700)]
gypsy: fix packaging

(From OE-Core rev: 3c272ce9df811281029d028e96ab6bc644645592)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcanberra: add libvorbis to DEPENDS
Joshua Lock [Wed, 2 Nov 2011 18:39:23 +0000 (11:39 -0700)]
libcanberra: add libvorbis to DEPENDS

(From OE-Core rev: 531151fdeba3779ba6f0976fc08aa8da483600f7)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: fix install for virtclass-nativesdk
Eric Bénard [Tue, 8 Nov 2011 08:41:48 +0000 (09:41 +0100)]
dbus: fix install for virtclass-nativesdk

46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install
which now fails for nativesdk (chown messagebus leads to no
such user)
* tested by building meta-toolchain-qte and running the generated
sdk

(From OE-Core rev: 5818a885df489f4bc9579d17c6b0efa7777f5ccc)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: fix how RDEPENDS is setup
Scott Garman [Sun, 6 Nov 2011 19:22:35 +0000 (11:22 -0800)]
useradd.bbclass: fix how RDEPENDS is setup

Fix bug where only packages named PN included base-passwd in
RDEPENDS.

This fixes [YOCTO #1727]

(From OE-Core rev: 2c55d51afd71d708a54afc8377e10c4f80f810e3)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded users
Martin Jansa [Thu, 3 Nov 2011 16:52:45 +0000 (17:52 +0100)]
libnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded users

(From OE-Core rev: 2260b18590416940eec26aaf3d68e510ceff8d31)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnl-2.0: split to more packages, as meta-openembedded does
Martin Jansa [Thu, 3 Nov 2011 16:52:44 +0000 (17:52 +0100)]
libnl-2.0: split to more packages, as meta-openembedded does

(From OE-Core rev: 8720e063c7b43c278b3bb406b45390ed03f8ac96)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnl-2.0: add patch from meta-openembedded to fix pkg-config file
Martin Jansa [Thu, 3 Nov 2011 16:52:43 +0000 (17:52 +0100)]
libnl-2.0: add patch from meta-openembedded to fix pkg-config file

(From OE-Core rev: 72227178bc74d6e2e24f8df6176c3d45b640e860)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and merge...
Martin Jansa [Thu, 3 Nov 2011 16:52:42 +0000 (17:52 +0100)]
libnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and merge with fix-makefile.patch

(From OE-Core rev: a4882cd6f98c5b3df80ba96536d94d9f556f77a2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types bbclass: use 4k bytes per inode so we don't run out of space immediately
Koen Kooi [Wed, 2 Nov 2011 14:16:42 +0000 (15:16 +0100)]
image_types bbclass: use 4k bytes per inode so we don't run out of space immediately

genext2fs only creates the minimum number of inodes, after this patch it will scale with the rootfs size

(From OE-Core rev: c31cb0bdc5a61d2d9f21a2cea34c3d8ac3b47cb9)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibcense.bbclass: fix OpenSSL mapping
Martin Jansa [Wed, 2 Nov 2011 12:26:40 +0000 (13:26 +0100)]
libcense.bbclass: fix OpenSSL mapping

[YOCTO #1712]

(From OE-Core rev: 56799ebcb5c55a7fc75458fc2be2e69a67e8fd21)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fixed YOCTO bug format and location

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotslib: fix the bug with loading libts-1.0.so
Dmitry Cherukhin [Wed, 2 Nov 2011 12:03:19 +0000 (13:03 +0100)]
tslib: fix the bug with loading libts-1.0.so

Touchpad did not work in the qtdemoE if the library libts-1.0.so was not loaded
manually using the LD_PRELOAD variable. This problem was fixed in the tslib mainline
https://github.com/kergoth/tslib after the 1.0 release. We just import the patch.

(From OE-Core rev: 0ba6d91dc527908740890c896b834e7216b0d2fb)

Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoudev-164: Update init script to do an explicit add action
Kumar Gala [Wed, 2 Nov 2011 07:23:14 +0000 (02:23 -0500)]
udev-164: Update init script to do an explicit add action

With udev 152 or greater the default action for 'udevadm trigger' was
modified to be 'change' instead of 'add.

To ensure initial coldplug events at boot are seen be scripts the are
expecting them as 'add' events we invoke udevadm with an explicit
'--action=add'.

(From OE-Core rev: eacafd21999ab37b60af29dc3e626c441716ef66)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildstats: Fix for buildstats on tmpfs
Elizabeth Flanagan [Tue, 1 Nov 2011 23:08:50 +0000 (16:08 -0700)]
buildstats: Fix for buildstats on tmpfs

tmpfs/encryptfs/(and most likely, but not confirmed)ramfs TMPDIRs
cause diskstats to choke. No device entry ends up in /proc/diskstats
for these fs types, which ends up causing the failure.

The short term solution is to exclude these fs types from diskstat
collection. Longer term we will want to see if we can collect
meaningful diskio for each of these, and other, use cases, but for
this cleans up Bug 1700.

[YOCTO #1700]

(From OE-Core rev: 2b14046c12855b6f484ba5bd6bc0a8022de6873e)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Corrected YOCTO bug location and format

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobash: Ensure we fully reautoconf the recipes so site data is used
Richard Purdie [Wed, 2 Nov 2011 11:41:05 +0000 (11:41 +0000)]
bash: Ensure we fully reautoconf the recipes so site data is used

This ensures bug 487 (missing job control functionality) really gets fixed.

[YOCTO #487]

(From OE-Core rev: 08b78066bd5a9ff2819a42eb4263ee0a78cddb97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk bbclass: special-case base-passwd preinst to run first
Koen Kooi [Fri, 4 Nov 2011 11:44:39 +0000 (12:44 +0100)]
rootfs_ipk bbclass: special-case base-passwd preinst to run first

Preinst are run alphabetically which breaks when e.g. avahi-daemon needs /etc/passwd present.

(From OE-Core rev: d6793165feb26c51b5f19ad1e6d1a4099878e879)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi: fix useradd race condition
Koen Kooi [Thu, 3 Nov 2011 12:57:00 +0000 (13:57 +0100)]
avahi: fix useradd race condition

Avahi doesn't work at boot because of:

+ sh /OE/../rootfs/var/lib/opkg/info/avahi-daemon.preinst
Running useradd commands...
grep: /OE/../rootfs/etc/passwd: No such file or directory

That is due to:

Package: avahi-daemon
Version: 0.6.30-r9.0
 [..]
Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), libexpat1 (>= 2.0.1)

After this patch:

 Package: avahi-daemon
 Version: 0.6.30-r10.0
 [..]
 Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), shadow, libexpat1 (>= 2.0.1), base-passwd

This also changes ${PN}-daemon to avahi-daemon to be consistent with the PACKAGES/FILES lines below

(From OE-Core rev: f01fbc17b5d9bf9a227d64fe858014376cd19432)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: ensure that the useradd shell is set to /bin/false
Saul Wold [Tue, 1 Nov 2011 21:03:01 +0000 (14:03 -0700)]
dbus: ensure that the useradd shell is set to /bin/false

(From OE-Core rev: 899efe6bf17a31d842ff2f65704d4858892496d4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman: Use useradd to add the xuser for DBus
Saul Wold [Thu, 27 Oct 2011 14:15:36 +0000 (16:15 +0200)]
connman: Use useradd to add the xuser for DBus

Connmand needs to start as the xuser as defined in the dbus
configuration and needs to share this with rootless X. Since
it's possible for connmand to run on a sytem without rootless
X we still need to create the user here.

Useradd will fail gracefully if the user already exists.

Fixes: [YOCTO #1699]
(From OE-Core rev: 8139ac9284031e00d6b268210b04b57670d9268a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conflicts:

meta/recipes-connectivity/connman/connman_0.75.bb

13 years agoxserver-nodm-init: Use useradd to add the xuser for rootless X
Saul Wold [Thu, 27 Oct 2011 14:16:40 +0000 (16:16 +0200)]
xserver-nodm-init: Use useradd to add the xuser for rootless X

This also address an issue with dbus and connman, since connmand
needs to start as the xuser in the rootless X situation.

Fixes: [YOCTO #1699]
(From OE-Core rev: 6823a32035de5d0bcd82a3b41a6ad536aaddbc58)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi: use useradd to create avahi user for avahi-daemon
Saul Wold [Thu, 27 Oct 2011 14:08:40 +0000 (16:08 +0200)]
avahi: use useradd to create avahi user for avahi-daemon

DBus was failing to start correct since the avahi user was
not setup.

Keep the dbus reload since this could still be installed
as a package an would require a dbus restart.

Fixes: [YOCTO #1699]
(From OE-Core rev: f0bfecc8a0af1c4c76a37a9c88f334ab6ae7e7ef)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoudev: Fix the packaging of libgudev
Holger Hans Peter Freyther [Fri, 1 Jul 2011 17:59:29 +0000 (01:59 +0800)]
udev: Fix the packaging of libgudev

Make the libgudev so go to the libgudev package, this is already
fixed in meta-oe.

(From OE-Core rev: 43ac43d7c7245e9aa2bfc8572c2620074d1e2a25)

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: Ensure localstatedir is added to the package
Richard Purdie [Tue, 1 Nov 2011 14:30:19 +0000 (14:30 +0000)]
dbus: Ensure localstatedir is added to the package

(From OE-Core rev: dc0d004fd23f686591281eb1d700327ea15d1c54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage.bbclass: Fix various problems
Richard Purdie [Tue, 1 Nov 2011 14:21:11 +0000 (14:21 +0000)]
package.bbclass: Fix various problems

Before this change:

a) Ownership and permissions of files copied from packages to
   package-split could get lost during the copy process. This change
   ensures they are preserved.
b) Ownership and permissions of directories could also get lost.
   Most of the complexity in this patch is addressing this problem
   ensuring newly created directories match the source ones being
   copied.
c) There was no warning about directories being created but not
   shipped by any package.

This patch fixes all of the above issues.

(From OE-Core rev: 6021e309e69d823e1467648aee12a32182945569)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: Use $D not ${D} in the postinstall
Richard Purdie [Tue, 1 Nov 2011 14:20:03 +0000 (14:20 +0000)]
dbus: Use $D not ${D} in the postinstall

We need to do this as we don't want bitbake to expand the variable
but use the shell variable instead.

(From OE-Core rev: 509a8a9ea428debf3ff2115fcff0aa89d0239ced)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognome-doc-utils: Add missing glib-2.0 dependency
Richard Purdie [Tue, 18 Oct 2011 17:24:55 +0000 (18:24 +0100)]
gnome-doc-utils: Add missing glib-2.0 dependency

(From OE-Core rev: c367a2d2f4b817211b6bd200e49b49355cd67fe2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolib/oe/terminal: add support for XFCE's terminal emulator
Joshua Lock [Mon, 31 Oct 2011 21:53:14 +0000 (14:53 -0700)]
lib/oe/terminal: add support for XFCE's terminal emulator

That's Terminal on Fedora and xfce4-terminal on Ubuntu/Debian... This
could get interesting!

(From OE-Core rev: 162b70a36388ac44fc1b39e172cd53579707bff3)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibproxy: fix QA Packaging issues
Saul Wold [Wed, 26 Oct 2011 19:44:43 +0000 (21:44 +0200)]
libproxy: fix QA Packaging issues

(From OE-Core rev: d756b85565820f0caef17af4c4aee2bf29ea6794)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibatomics-ops: fix QA Packaging issues
Saul Wold [Wed, 26 Oct 2011 19:44:30 +0000 (21:44 +0200)]
libatomics-ops: fix QA Packaging issues

(From OE-Core rev: dfddbffc48e86cb0a6d07da6727782e3b17535e1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomdadm: fix QA Packaging issues
Saul Wold [Wed, 26 Oct 2011 19:44:11 +0000 (21:44 +0200)]
mdadm: fix QA Packaging issues

(From OE-Core rev: b3840f88f004c9ef371a075f1800052c66c91759)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoman: fix QA Packaging issues
Saul Wold [Wed, 26 Oct 2011 19:44:01 +0000 (21:44 +0200)]
man: fix QA Packaging issues

(From OE-Core rev: 2f597288c141c910b945e63e8b31436984ad536b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoat: fix QA Packaging issues
Saul Wold [Wed, 26 Oct 2011 19:43:53 +0000 (21:43 +0200)]
at: fix QA Packaging issues

(From OE-Core rev: f3487717ae3b7f9256a3e3cc78be331e424ec457)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus-glib: fix QA Packaging issues
Saul Wold [Wed, 26 Oct 2011 19:43:17 +0000 (21:43 +0200)]
dbus-glib: fix QA Packaging issues

(From OE-Core rev: 1f55db4936b43e2fd3e50f99815b547e3c5e8010)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxslt: Fix packaging of xsltConf.sh
Joshua Lock [Fri, 28 Oct 2011 22:48:36 +0000 (15:48 -0700)]
libxslt: Fix packaging of xsltConf.sh

xsltConf.sh is installed to libdir not bindir, fix pacakging.

(From OE-Core rev: 27b438df0b937180263346cbf68f1641abcdb068)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd readline as dependecy for gdb-cross-canadian
Matthew McClintock [Thu, 27 Oct 2011 03:03:32 +0000 (22:03 -0500)]
Add readline as dependecy for gdb-cross-canadian

Got errors that we were unable to find -lreadline, this fixed the
issue

(From OE-Core rev: ddc9a58b8553599d2328ac1c4449b41681ae45d1)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoGive coreutils a chance to build the df utility
Julian Pidancet [Wed, 26 Oct 2011 21:41:23 +0000 (22:41 +0100)]
Give coreutils a chance to build the df utility

The coreutils configure script is unable determine how to get free
space from the Operating System when cross-compiling.
This changes caches the result of the "statfs2_bsize" test for the
coreutils configure script.
Both glibc and uclibc defines statfs as a two-argument function
and uses a struct statfs containing a f_bsize field. That's why
the fu_cv_sys_stat_statfs2_bsize variable has to be defined for
both libcs.

(From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b)

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopulseaudio: inherit perlnative
Khem Raj [Sun, 23 Oct 2011 14:31:07 +0000 (07:31 -0700)]
pulseaudio: inherit perlnative

manpage generatition uses xmltoman utility
which inturn uses xml-parser. So we add
libxml-parser-perl-native to DEPENDS and also
inherit perlnative so it does not use the one
from build host

(From OE-Core rev: 51f6a683ec1d740adf09d808671c7098dc3f83e2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Backport fix for PR32219
Khem Raj [Thu, 20 Oct 2011 19:18:14 +0000 (12:18 -0700)]
gcc-4.6: Backport fix for PR32219

This fix is needed for gold to work. Otherwise
connman fails to build since it used hidden weak
symbols.

See

http://gcc.gnu.org/bugzilla/PR32219
http://www.cygwin.com/ml/binutils/2008-02/msg00239.html

The fix proposed to gcc had reviews which were not addressed hence the
patch is not yet
applied to gcc upstream.

connman can also have workaround by changing the visibility of these
symbols to be default
 __attribute__ ((weak, visibility("hidden")))

to

 __attribute__ ((weak, visibility("default")))

in include/plugin.h

(From OE-Core rev: 3cb2b003db7371b3a47d02c08352a262e1e419b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: use useradd class to allow use in read-only filesystems
Otavio Salvador [Fri, 21 Oct 2011 02:49:51 +0000 (02:49 +0000)]
dbus: use useradd class to allow use in read-only filesystems

Move creation of required user/groups to useradd class thus allowing
use with read-only filesystems and booting the initial boot.

(From OE-Core rev: 46e6c3fa8034b12d178d605f3f5d7efe69671a13)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase-passwd: move initial criation of group and passwd to preinst
Otavio Salvador [Thu, 20 Oct 2011 21:20:43 +0000 (21:20 +0000)]
base-passwd: move initial criation of group and passwd to preinst

To allow use and manipulation of users and groups at rootfs building
time, the '/etc/passwd' and '/etc/group' needs to be available as soon
as possible.

(From OE-Core rev: 0395eba96d6f37f323f5b76564809a44d7ceb103)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: check if a group already exists manually
Otavio Salvador [Thu, 20 Oct 2011 21:18:11 +0000 (21:18 +0000)]
useradd.bbclass: check if a group already exists manually

The use of groupadd -f makes much more difficult to figure when a
group is not add. This was the case of the class not working for our
usage and this being caused by the lack of '/etc/group' file but
unnoticed as groupadd wasn't failing according.

(From OE-Core rev: 82933a1ff921fd0836f03e6f379fd8536cdc0a30)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-configure-sdk: Point sysroot to correct location
Khem Raj [Fri, 21 Oct 2011 05:28:42 +0000 (22:28 -0700)]
gcc-configure-sdk: Point sysroot to correct location

(From OE-Core rev: c9883733fed9267b1a936c08500a4caf8dc52d3d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils-cross-canadian: Point sysroot to correct location
Khem Raj [Fri, 21 Oct 2011 05:02:40 +0000 (22:02 -0700)]
binutils-cross-canadian: Point sysroot to correct location

(From OE-Core rev: b8dad4ab77f5516bc6929e2ed094fdc62a5a52db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomodule.bbclass: add lock to prevent error bulding ext modules
Anders Darander [Wed, 19 Oct 2011 11:15:19 +0000 (13:15 +0200)]
module.bbclass: add lock to prevent error bulding ext modules

When external modules are built, files in $STAGING_KERNEL_DIR/scripts/basic will/can get
rebuilt.
This raises a potential race condition. Prevent this by adding a lock around the
do_make_scripts() function. Further, make sure that the kernel has been installed
to the sysroot, prior to executing this new task.

(From OE-Core rev: 8681b82e8b466929205edde7ba479f3ac1a6143e)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Backport PR46934 fix
Khem Raj [Tue, 18 Oct 2011 01:00:29 +0000 (18:00 -0700)]
gcc-4.6: Backport PR46934 fix

We have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bug

(From OE-Core rev: 75f7269a7a1da2494768d4be63c44b12c5cfeeeb)

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

meta/recipes-devtools/gcc/gcc-4.6.inc

13 years agogcc-4.6: Upgrade SRCREV to latest FSF 4.6 branch
Khem Raj [Tue, 18 Oct 2011 00:10:14 +0000 (17:10 -0700)]
gcc-4.6: Upgrade SRCREV to latest FSF 4.6 branch

(From OE-Core rev: b1af6951e14d645fe861f289011c91ab6f1b6865)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopoky: fix broken ubifs link in deploy folder
Lauri Hintsala [Tue, 18 Oct 2011 10:55:24 +0000 (13:55 +0300)]
poky: fix broken ubifs link in deploy folder

Fix broken rootfs image link when ubifs is used.

Function runimagecmd is using image name "${IMAGE_NAME}.rootfs.${type}".
Let's use the same name in IMAGE_CMD_ubifs.

(From OE-Core rev: 766f6165471691f651584ebda004e1abb4ea9eb6)

Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofontconfig: fix fix-pkgconfig.patch
Martin Jansa [Mon, 17 Oct 2011 22:09:20 +0000 (00:09 +0200)]
fontconfig: fix fix-pkgconfig.patch

* missing $ is causing problems ie when building webkit-efl
* see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003798.html
  for details

(From OE-Core rev: e31dd9b65f3b03f79cabab25eca157532de3bd9c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolsb: Change link of ${baselib} to lib64 for 64bits system
Xiaofeng Yan [Mon, 17 Oct 2011 09:24:34 +0000 (17:24 +0800)]
lsb: Change link of ${baselib} to lib64 for 64bits system

Correct two faults:

1 Binaries of lsb test suite need ld-linux.so* in /lib64.
for example:
Target$ ./lsbcmdchk
-sh: ./lsbcmdchk: No such file or directory
Target$ strings lsbcmdchk | grep "ld-"
/lib64/ld-lsb-x86-64.so.3

"lsbcmdchk" from lsb test suite is a binary program.
A new modification to lsb_1.4.bb caused that binaries from lsb test suite can't run
because binaries of lsb test suite need ld-linux.so* in /lib64.
But the link is changed due to adding multilib. I changed this link again.

2 correct mandir
Waring will appear when running task task do_populate_sysroot

NOTE: package lsb-1.4-r2: task do_populate_sysroot: Succeeded
WARNING: For recipe lsb, the following files were installed but not shipped in any package:
WARNING:   /{datadir}/man/man1/lsb_release.1.gz

I changed mandir=${D}/man to mandir=${D}/${datadir}/man

(From OE-Core rev: f2dada2079b5f98e13d4888609368ba111967a60)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysprof: remove duplicated patch
Saul Wold [Sat, 15 Oct 2011 22:58:30 +0000 (15:58 -0700)]
sysprof: remove duplicated patch

Apparently this pactch was duplicated by backported
patch, and needed to be applied more broaded than to
just ppc.

(From OE-Core rev: 182e4768b651e58de5b42f9fb55ae9816b57233b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibomxil: Fix QA Package Errors
Saul Wold [Sat, 15 Oct 2011 00:48:52 +0000 (17:48 -0700)]
libomxil: Fix QA Package Errors

(From OE-Core rev: ef786ef9abcd919c651c14004a1cb0a0dcad1bff)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodata.py: fixed message domain errors
Samuel Stirtzel [Tue, 13 Sep 2011 11:30:33 +0000 (13:30 +0200)]
data.py: fixed message domain errors

The dynamic message domain was introduced by Richard Purdie with the following patch:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89

(From OE-Core rev: 55a8382e460430dc5ff10755d235d637531d2ae7)

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopatch.py: fixed message domain errors
Samuel Stirtzel [Tue, 13 Sep 2011 11:30:32 +0000 (13:30 +0200)]
patch.py: fixed message domain errors

The dynamic message domain was introduced by Richard Purdie with the following patch:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89

(From OE-Core rev: 2383e06c8ed7c15aa148b9dbe40445e7095b6f57)

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.
Wenzong Fan [Tue, 11 Oct 2011 08:32:23 +0000 (16:32 +0800)]
qt4-x11-free: Fix broken regexes in qt4-x11-free's recipe.

[YOCTO #1671]

qt4-x11-free's recipe includes a sed script to sanitize it's .prl files,
which are used by qmake to generate a list of libs and includes in the
Makefiles it generates. It however, fails to take into account the possibility
of trailing slashes, and thus leaves them in, and breaks gcc's syntax.
Update these regexes to account for them.

(From OE-Core rev: 8d580ed449c09a64483519d66e14a2e3b071806a)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnl2: Fix a race on route/pktloc_syntax.h
Tom Rini [Fri, 30 Sep 2011 17:21:23 +0000 (12:21 -0500)]
libnl2: Fix a race on route/pktloc_syntax.h

At issue is that route/pktloc.c (not generated) depends on
route/pktloc_syntax.h (generated).

(From OE-Core rev: 7bec22c70598a5180f754bbbe2dfdd3db2843a64)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools: fix multi-word arguments for EXTRA_OECONF
Christopher Larson [Mon, 10 Oct 2011 21:13:05 +0000 (14:13 -0700)]
autotools: fix multi-word arguments for EXTRA_OECONF

This is needed to better support things like the following (with a
multi-word BUILD_CC):

    EXTRA_OECONF += '"ac_cv_prog_CC_FOR_BUILD=${BUILD_CC}"'

(From OE-Core rev: 38a394e7ffedccfabda085c97add8944718943c2)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoflac: Add missing gettext dependency (requires iconv)
Richard Purdie [Wed, 12 Oct 2011 13:28:17 +0000 (14:28 +0100)]
flac: Add missing gettext dependency (requires iconv)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix sysprof for powerpc64
Matthew McClintock [Wed, 5 Oct 2011 21:26:49 +0000 (16:26 -0500)]
Fix sysprof for powerpc64

__ppc64__ is not defined on powerpc64, rather __powerpc64__ is, this
uses a patch that is already upstream to fix builds for powerpc64

(From OE-Core rev: 4732222c46652951e66aae377631f4a361179d8f)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix mdadm for powerpc64
Matthew McClintock [Wed, 5 Oct 2011 22:13:08 +0000 (17:13 -0500)]
Fix mdadm for powerpc64

This takes an upstream fix for compiling on powerpc64

(From OE-Core rev: 1325f506972555d4c218c15090bfa3f63fb13473)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agozlib: fix inverted LFS logic
Martin Jansa [Fri, 30 Sep 2011 15:43:25 +0000 (17:43 +0200)]
zlib: fix inverted LFS logic

(From OE-Core rev: 6dd3f5c2f300c9cb5b6dbe2afe67323fc6f44c3e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibglade: add gdk-pixbuf dependency
Martin Jansa [Fri, 30 Sep 2011 15:43:23 +0000 (17:43 +0200)]
libglade: add gdk-pixbuf dependency

(From OE-Core rev: eb709fceacab3ec33f38694d6238b96cb0474848)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUse useradd and update-rc.d classes in the OpenSSH recipe
Julian Pidancet [Fri, 7 Oct 2011 00:13:41 +0000 (01:13 +0100)]
Use useradd and update-rc.d classes in the OpenSSH recipe

The current sshd postinst and postrm scripts in the OpenSSH make the
package dependant of the adduser/addgroup scripts which may not be
available on all systems.

This patch replaces the sshd postinst and postrm scripts with proper
usage of the useradd and update-rc.d classes.

This patch had been modified from the previous proposed version to
use useradd long options for more clarity.

(From OE-Core rev: 6b7f399d595ef58e759dab211f4ece155119a680)

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix the --root option in shadow-native programs
Julian Pidancet [Fri, 7 Oct 2011 00:13:40 +0000 (01:13 +0100)]
Fix the --root option in shadow-native programs

The add_root_cmd_options.patch that we apply to shadow-native allow the
various programs from the shadow utility package to chroot() so they can
be used to modify etc/passwd and etc/group if they are located in a
sysroot.

Some of the shadow programs (gpasswd, useradd and usermod) need to parse
the command line in two passes. But we can't use getopt_long() twice
because getopt_long() reorders the command line arguments, and
consequently corrupts the option parsing during the second pass.

This patch fixes this issue by replacing the first pass by a very simple
manual walk of the command line to handle the --root argument.

This change is a patch of another patch, I apologize if it is
difficult to read. But IMHO it wouldn't make sense to put the patch for
this issue in another separated file.

The --root options in groupadd and useradd are needed to make the
useradd class work, and this issue was preventing to use useradd and
groupadd long options while using the class.

(From OE-Core rev: 6e9e19b18597103d8fe09f258cfd9904bb5f1c27)

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAllow user mode NFS server to run without rpcbind / portmap
Jason Wessel [Wed, 5 Oct 2011 15:26:30 +0000 (10:26 -0500)]
Allow user mode NFS server to run without rpcbind / portmap

and nfsroot mount without the need to talk to an RPC info
server as long as the port numbers for mountd and nfsd
are known in advance.

This patch updates the qemu startup scripts and the
user mode NFS server to have the ability to start
without the need to use rpcbind or portmap services.

(From OE-Core rev: 3b1346c607c41a2d592c48594457c32153cb2314)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopkgconfig: Fix logic that was accidently leaving legacy pkg-config functionality...
Richard Purdie [Wed, 5 Oct 2011 17:59:31 +0000 (18:59 +0100)]
pkgconfig: Fix logic that was accidently leaving legacy pkg-config functionality enabled

(From OE-Core rev: aa816b0aaf39dc6f822114df0bd6d4dd62fce0b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoacl/attr: don't make symlink if base_libdir = libdir
Saul Wold [Thu, 6 Oct 2011 18:25:56 +0000 (11:25 -0700)]
acl/attr: don't make symlink if base_libdir = libdir

(From OE-Core rev: 46cd3527217821a7e9a8223dc45a43294b6c5e8d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonative.bbclass: Ensure native recipes have a deterministic baselib value
Richard Purdie [Thu, 6 Oct 2011 22:13:54 +0000 (23:13 +0100)]
native.bbclass: Ensure native recipes have a deterministic baselib value

Changes to baselib by specific machine configuration were resulting
in sstate cache invalidation, particularly in multilib configurations.

This patch ensures this doesn't happen and native sstate cache files
are reusable.

(From OE-Core rev: d0915fb0a2cc80ad45b3fd526d3b29a91d99572c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: Ensure machine specific stamps are only wiped for the current task
Richard Purdie [Thu, 6 Oct 2011 22:11:18 +0000 (23:11 +0100)]
sstate.bbclass: Ensure machine specific stamps are only wiped for the current task

sstate was being a little too ethusiastic about removing stamp files and
was removing stamp files for other machines when it shouldn't have been.

This patch teaches sstate about machine specific stamp extensions and
allows it to only remove the current task's stampfiles.

Based on a patch from Phil Blundell <philb@gnu.org> with some tweaks
from me.

(From OE-Core rev: 5e9488495401399d39fcb5012b86c313b6caca73)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/oe-buildenv-internal: Add SOCKS5_{USER, PASSWD} to BB_ENV_EXTRAWHITE
Kumar Gala [Tue, 4 Oct 2011 22:03:05 +0000 (17:03 -0500)]
scripts/oe-buildenv-internal: Add SOCKS5_{USER, PASSWD} to BB_ENV_EXTRAWHITE

If a SOCKS5 gateway is needed for a proxy access like git it might also
require authentication to the proxy via a password and username.  Adding
SOCKS5_USER & SOCKS5_PASSWD to BB_ENV_EXTRAWHITE allow for automation
of the authentication request to occur when something like a git fetch
is going through the proxy.

This patch requires the bitbake patch to add extra exportvars so
these variables get passed from Env -> bitbake -> fetcher

(From OE-Core rev: 9206ea0f7cd39d2ba6ff4b41cbeb17409d3ae5f1)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomtools: Disable parallel make install, its broken
Richard Purdie [Wed, 5 Oct 2011 17:58:49 +0000 (18:58 +0100)]
mtools: Disable parallel make install, its broken

(From OE-Core rev: 6f64114f5825bf6f6ab8eaaf4bed24586e05ee57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokexec-tools: fix architecture mismatch QA error
Tom Zanussi [Sat, 1 Oct 2011 15:05:34 +0000 (10:05 -0500)]
kexec-tools: fix architecture mismatch QA error

Building sato-sdk for an x86_64 target throws this QA error:

| ERROR: QA Issue: Architecture did not match (62 to 3) on /work/x86_64-poky-li\
nux/kexec-tools-2.0.2-r1/packages-split/kexec-tools/usr/lib/kexec-tools/kexec_t\
est

kexec_test uses 32-bit code for testing - add an INSANE_SKIP exception for it.

(From OE-Core rev: 0dbf91969bb16f4761f58426ff5b458139c4e235)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: packaging fixup
Dmitry Eremin-Solenikov [Sun, 2 Oct 2011 21:46:11 +0000 (01:46 +0400)]
qt4: packaging fixup

Improve packaging:
* Add phrasebook packages to DYNAMIC_PACKAGES
* Correct phrasebook packages generation
* Include more files into -dbg packages
* Package fontdir and fonts README.

(From OE-Core rev: 4e3c29dd90f583cafe7a7fc863efb3720096d67b)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohal-info: drop PACKAGE_ARCH all
Martin Jansa [Fri, 30 Sep 2011 16:36:01 +0000 (18:36 +0200)]
hal-info: drop PACKAGE_ARCH all

RP: It would be better if we could find a way to patch out the compiler
checks in this package...
JaMa: drop PACKAGE_ARCH for now (nobody likes hal nowadays)

(From OE-Core rev: 870191c1c46e36f92c5d90a3eb049154b0597133)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoImprove handling of 'all' architecture recipes and their interaction with sstate
Richard Purdie [Tue, 17 May 2011 23:03:02 +0000 (23:03 +0000)]
Improve handling of 'all' architecture recipes and their interaction with sstate

* Jansa: rebased on current master, added nocompiler patch also to
  font-alias, dropped allarch from linux-firmware, gnome-icon-theme, hal-info as
  those are checking compiler (ie in intltool check) and better to build
  them as default arch instead of rebuilding after every machine
  change.
* this is also part of [BUGID# 1075]

(From OE-Core rev: 85d8362e0c443f11fe8d3fd0fba55d1bd4983613)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: Fix translation support
Otavio Salvador [Thu, 15 Sep 2011 11:47:16 +0000 (11:47 +0000)]
qt4: Fix translation support

The translation support was disable in build. The
fix-translation.patch was imported from OpenEmbedded to fix a linking
issue in phonon translation support.

(From OE-Core rev: 8d5a5d78f9e83c64ebddcecd7c4fd89cc1264163)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4(embedded and x11): Disable neon for armv6-vfp
Denis Carikli [Thu, 15 Sep 2011 09:26:16 +0000 (11:26 +0200)]
qt4(embedded and x11): Disable neon for armv6-vfp

Without the -no-neon flag, neon is "autodetected"
by looking if the compiler is capable of compiling
a neon test, and succeed, and neon is then enabled
during the compilation.

(From OE-Core rev: 026b59180fe3fbeb43cfd143f053ef33f482ef0c)

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqt4: fix generated sdk
Eric Bénard [Sat, 10 Sep 2011 09:17:57 +0000 (11:17 +0200)]
qt4: fix generated sdk

- qt4-tools-nativesdk : actually the qmake binary which gets installed
comes from the native recipe. This patch fix this problem by launching
configure twice : once to compile qmake using the right toolchain for
nativesdk, and a second time using the native qmake to compile all the
other tools for the nativesdk. Then we install the right qmake.

- mkspec : the link actually created in qt4-tools-nativesdk's
do_install point to nowhere so remove it and generate the link in
meta-toolchain-qte as it's the only place where we have all the variable
to create it.

- toolchain_create_sdk_env_script_append : we need to add OE_QMAKE_CFLAGS,
OE_QMAKE_CXXFLAGS and OE_QMAKE_LDFLAGS else the sdk won't find these
variables that are inserted by qmake in the Makefiles.

- with this patch, oe-core generates a working meta-toolchain-qte which
can compile a small example and is properly recognized by qtcreator (this
brings oe-core's meta-toolchain-qte to oe-dev's functional state).

(From OE-Core rev: 5f6fb92b939147d2d6aa7790a378d4b7cce3ada5)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix lttng-ust for powerpc64
Matthew McClintock [Thu, 29 Sep 2011 19:08:04 +0000 (14:08 -0500)]
Fix lttng-ust for powerpc64

(From OE-Core rev: a75683a815343a481b3612c35e1ab79071343187)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoUpdate gitignore to ignore all meta-* directories
Matthew McClintock [Thu, 29 Sep 2011 19:02:54 +0000 (14:02 -0500)]
Update gitignore to ignore all meta-* directories

meta-XYZ directories have been manually added in the past, instead
always ignore them unless they are explicitly added

(From OE-Core rev: 3c6e85c653ce176fd2cb5a570e63c8e5da5a4e48)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase.bbclass: Drop unneeded dependency
Richard Purdie [Thu, 29 Sep 2011 22:30:26 +0000 (23:30 +0100)]
base.bbclass: Drop unneeded dependency

patch depends on unpack
configure depends on patch

We simply don't need a configure dependency on unpack. This simplifies
the dependencies of every recipe slightly and should make bitbake
slightly faster at resovling dependency graphs.

It also makes the .dot dependency graphs slightly more readable by
removing noise.

(From OE-Core rev: c54c1280fc0d06a53e23339c3913ec88eead13d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix flac build on e500mc cores
Matthew McClintock [Thu, 29 Sep 2011 04:21:06 +0000 (23:21 -0500)]
Fix flac build on e500mc cores

This core does not have altivec, so we disable it in the build,
also reestablish the config option to enable/disable building
with altivec

If SPE is not detected we always build with altivec which is wrong. This
will check to make sure altivec is enabled and pass build options
through accordingly

(From OE-Core rev: 96241de59fdf548ae0f80cc9e4668f9ba11924ef)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: fix sqlite RPATH issue
Saul Wold [Thu, 29 Sep 2011 15:54:04 +0000 (08:54 -0700)]
python: fix sqlite RPATH issue

(From OE-Core rev: 9f9612d15acc6ee3b71f52bdb3f1ec4cb56b1a17)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd proper deps for nfs-utils, util-linux, and strace
Matthew McClintock [Thu, 29 Sep 2011 04:21:10 +0000 (23:21 -0500)]
Add proper deps for nfs-utils, util-linux, and strace

These packages need these deps for the RPM generation stage:

 error: Failed dependencies:
|  /usr/bin/python is needed by nfs-utils-1.2.3-r2.ppce5500
|  /usr/bin/perl is needed by util-linux-2.19.1-r4.ppce5500
|  /usr/bin/perl is needed by strace-4.5.20-r2.ppce5500

(From OE-Core rev: 9c9ea24b115a9bb87df1323b5f185ce426262aec)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix sysklogd build on e500v2 cores
Matthew McClintock [Thu, 29 Sep 2011 04:21:09 +0000 (23:21 -0500)]
Fix sysklogd build on e500v2 cores

(From OE-Core rev: 5035097bb369dc1740b817734b92bcfa40d95d22)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd udev patch to compile against newer kernels
Matthew McClintock [Thu, 29 Sep 2011 04:21:08 +0000 (23:21 -0500)]
Add udev patch to compile against newer kernels

This patch is needed to compile against newer kernels which have
changed their API

(From OE-Core rev: 60b04097c7aeca2c4d529b2f23343a507fa68ea6)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix HAL on newer kernels without header file
Matthew McClintock [Thu, 29 Sep 2011 04:21:07 +0000 (23:21 -0500)]
Fix HAL on newer kernels without header file

(From OE-Core rev: 3d421ecaef966b47bec49aa2feb3ccc9833d041f)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix ghostscript on powerpc64
Matthew McClintock [Thu, 29 Sep 2011 04:21:05 +0000 (23:21 -0500)]
Fix ghostscript on powerpc64

This adds pregenerated files for powerpc64

(From OE-Core rev: 30b91a530e7dbabc4cef24525691aa2c34ecf47b)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd autoconf cache for screen on powerpc64
Matthew McClintock [Thu, 29 Sep 2011 04:21:03 +0000 (23:21 -0500)]
Add autoconf cache for screen on powerpc64

Screen can not run tests for the target and depends on the aotuconf
cache for information about the target system

(From OE-Core rev: 946cd8df49a8873ff93ef5ec1e3cc745a21e2a8f)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFixup kexec-tools compatible host for powerpc
Matthew McClintock [Thu, 29 Sep 2011 04:21:02 +0000 (23:21 -0500)]
Fixup kexec-tools compatible host for powerpc

kexec does infact work and build on powerpc, enable the compatible
host for these machines

(From OE-Core rev: 1ccc1ec56bc50cee121c03ae8bb8ccacd32b8560)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:34:18 +0000 (15:34 +0100)]
util-linux: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

(From OE-Core rev: 18ad3a84dacc0d6c107b56874bb23d2a3c0a429f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomc: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:34:49 +0000 (15:34 +0100)]
mc: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

(From OE-Core rev: feff6030091d519a0738e2a5db47654dcd13ef13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenssl: Ensure perl scripts reference the correct perl
Richard Purdie [Mon, 26 Sep 2011 14:33:15 +0000 (15:33 +0100)]
openssl: Ensure perl scripts reference the correct perl

Without this change the perl path from the build system is used.

(From OE-Core rev: 1ed8fb66c51ce584c13e592176a69a61bae01f2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-4.6: Update to tip of FSF gcc-4_6-branch
Khem Raj [Tue, 27 Sep 2011 03:39:54 +0000 (20:39 -0700)]
gcc-4.6: Update to tip of FSF gcc-4_6-branch

(From OE-Core rev: ed7deecb9503420fbf8071445e077c32beda8dc4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapmd: use ${HOST_SYS}-libtool
Andrew Gabbasov [Wed, 28 Sep 2011 12:07:58 +0000 (16:07 +0400)]
apmd: use ${HOST_SYS}-libtool

libtool-cross uses ${HOST_SYS}- prefix while building and installing.
In some cases that may be different from ${TARGET_PREFIX}, that is currently
used in apmd recipe. It's better to have them consistent.

(From OE-Core rev: 5f1fac618fa099f6fc78cbc98f18d1c0ab792abf)

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>