scm/bb/tizen-distro.git
13 years agosudo: Drop sudo_cv_uid_t_len from site files
Tom Rini [Tue, 26 Jul 2011 21:35:37 +0000 (14:35 -0700)]
sudo: Drop sudo_cv_uid_t_len from site files

We were just setting this to the assumed default.  If anything, this
belongs in the libc files if we must set it.

(From OE-Core rev: ae054a823909c5ebf03fec962844a213dc3fb8e1)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc_2.13: Add support for handling sqrt & sqrtf on powerpc
Kumar Gala [Mon, 1 Aug 2011 14:26:22 +0000 (09:26 -0500)]
eglibc_2.13: Add support for handling sqrt & sqrtf on powerpc

Some of powerpc's dont support the fsqrt[s] instructions so we need an
implementation of the library functions for those processors.

(From OE-Core rev: bae126b9b3a993dcd572eaf438c7ea5db843f6f5)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: fix build for armv4 machines
Dmitry Eremin-Solenikov [Wed, 3 Aug 2011 12:12:37 +0000 (16:12 +0400)]
eglibc: fix build for armv4 machines

eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S
file, which contains thumb assembly. It's unused in arm-eabi-nothumb case,
so just ifdef the actual code.

V2: use the patch from oe.dev.

The patch is submitted to sourceware bugzilla by Khem Raj back in October
of 2010, but the status is still UNCONFIRMED and the patch isn't commited.

(From OE-Core rev: d557b18845d2ddc035d7f3949713ba1961a8cce1)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxt: Add depends for util-linux and libxcb
Saul Wold [Tue, 2 Aug 2011 21:22:07 +0000 (14:22 -0700)]
libxt: Add depends for util-linux and libxcb

(From OE-Core rev: 972d805ae3d67c5d762fd18f76f2e0465d98f7d9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglibc: Remove unused version
Saul Wold [Thu, 28 Jul 2011 06:40:27 +0000 (23:40 -0700)]
glibc: Remove unused version

(From OE-Core rev: b894202c6f7f64102372aaea58ccb18a51545cf1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman_test.sh: Rework for busybox 'ps'
Tom Rini [Wed, 27 Jul 2011 22:01:35 +0000 (15:01 -0700)]
connman_test.sh: Rework for busybox 'ps'

This script has two problems today.  First, it does 'ps -ef cmd'
in failure which real ps doesn't grok and busybox ps just ignores
the argument on.  Switch that to 'ps -ef'.  Second, busybox ps -o
doesn't understand cmd but does understand comm.  Using comm lets
us simplify the test logic as well, so switch to that.

(From OE-Core rev: cb34ce6833f298d487eeb35cf8297f286ef624d4)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbcalss: Added do_savedefconfig task.
Noor, Ahsan [Tue, 2 Aug 2011 12:30:18 +0000 (17:30 +0500)]
kernel.bbcalss: Added do_savedefconfig task.

* Added do_savedefconfig task to kernel.bbclass.

(From OE-Core rev: 5bbc3533710d82da0b35c70410b1a9019ab70336)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-nodm-init: Fix X start failure on some platform
Zhai Edwin [Tue, 2 Aug 2011 07:24:00 +0000 (15:24 +0800)]
xserver-nodm-init: Fix X start failure on some platform

sudo is used to run rootless X in xserver-nodm, and start to fail with
"xf86OpenConsole: Cannot open /dev/tty0" error after upgrade to 1.8.1. sudo
seems wait for some resource that is unavailable in early phase of booting.
This patch swith to "su" for rootless X starting as a fix.

[YOCTO #1211] got fixed

(From OE-Core rev: cb935833a128d67e6c1fbe745cf68a58df6470d1)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr-util: Upgrade to 1.3.12
Zhai Edwin [Thu, 28 Jul 2011 06:42:47 +0000 (14:42 +0800)]
apr-util: Upgrade to 1.3.12

(From OE-Core rev: 51a6c43f6658032d67ddea349f66ddcaafe6bbce)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoapr: Upgrade to 1.4.5
Zhai Edwin [Thu, 28 Jul 2011 06:33:35 +0000 (14:33 +0800)]
apr: Upgrade to 1.4.5

Remove buildconf_fix.patch as already in upstream.

(From OE-Core rev: e66e0886412b2f1a564babbaa83095c86e5ec65c)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Merged with ${BPN} change

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoparted: Upgrade to 3.0
Zhai Edwin [Thu, 28 Jul 2011 08:33:20 +0000 (16:33 +0800)]
parted: Upgrade to 3.0

(From OE-Core rev: deeebb52fd31c6100c140d340ca338d2b62f3ce2)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogpgme: Upgrade to 1.3.1
Zhai Edwin [Thu, 28 Jul 2011 07:27:22 +0000 (15:27 +0800)]
gpgme: Upgrade to 1.3.1

(From OE-Core rev: 55be2b0f882dfa7ae1885ff0223d60606c02aad4)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibassuan: Upgrade to 2.0.2
Zhai Edwin [Thu, 28 Jul 2011 07:34:44 +0000 (15:34 +0800)]
libassuan: Upgrade to 2.0.2

(From OE-Core rev: ff8e4cfd7c081381c8cc3f7820fbc63e177f0b32)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibsoup-2.4: Upgrade to 2.34.2
Zhai Edwin [Thu, 28 Jul 2011 05:48:52 +0000 (13:48 +0800)]
libsoup-2.4: Upgrade to 2.34.2

(From OE-Core rev: fb0a930bde00ee6b1b93bdef44568008a1ac2264)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolighttpd: Upgrade to 1.4.29
Zhai Edwin [Wed, 27 Jul 2011 08:11:19 +0000 (16:11 +0800)]
lighttpd: Upgrade to 1.4.29

(From OE-Core rev: 765714d2b4dc2b1f6c73c4a8e5fcd0a0c475ad39)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel,cml1.bbclass: Move menuconfig to cml1
Noor, Ahsan [Fri, 29 Jul 2011 12:24:50 +0000 (17:24 +0500)]
kernel,cml1.bbclass: Move menuconfig to cml1

* The menuconfig target exists in places other than the kernel that use kernel style config.

(From OE-Core rev: 1ceaf45f634d11b65aab0f591a86865df49c8c90)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoenvironment files: Added and unified version related variables.
Lianhao Lu [Mon, 1 Aug 2011 07:50:02 +0000 (15:50 +0800)]
environment files: Added and unified version related variables.

[YOCTO #1306] Fixing.

Added and unified version related variables in all environment files
generated by package meta-toolchain, meta-ide-support,
meta-environment-xxx.

(From OE-Core rev: 5fbea0f2614d5bc9aec0819a337cdec9b5331f71)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: Add support for powerpc e5500 core
Kumar Gala [Mon, 1 Aug 2011 14:30:34 +0000 (09:30 -0500)]
binutils: Add support for powerpc e5500 core

Add powerpc e5500 core support to binutils so its recognized by
assember, etc.  The e5500 is a 64-bit core from Freescale utilized in
the P5020 SoC.

(From OE-Core rev: 3952db3f254e5c57a13e3a8244c76405aa3db00d)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme when...
Koen Kooi [Mon, 1 Aug 2011 11:08:42 +0000 (13:08 +0200)]
gtk-icon-cache bbclass: only add runtime dependencies on hicolor-icon-theme when installing icons

Tested with gnome-icon-theme and libsoup recipes on angstrom.

(From OE-Core rev: 229ba02322ce49d13e2d64eff6bb637f23f1f16b)

Signed-off-by: Koen Kooi <koen@openembedded.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobison: Add dependency on flex-native
Noor, Ahsan [Mon, 1 Aug 2011 10:16:18 +0000 (15:16 +0500)]
bison: Add dependency on flex-native

* This is 0479b70418ef553859029911c57c63a7aaebe299 from OE. flex-native is needed to build bison. The dependency was being satisfied indirectly but we need to add it explicitly.

(From OE-Core rev: 344d5789e688bcbc566ae336f1f821110a2e4feb)

Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoaspell: upgrade from 0.60.6 to 0.60.6.1
Mei Lei [Sun, 31 Jul 2011 23:38:47 +0000 (07:38 +0800)]
aspell: upgrade from 0.60.6 to 0.60.6.1

(From OE-Core rev: ac9c5ba82bd7524b849ac8df4a46ae35c6c60f27)

Signed-off-by: Mei Lei <lei.mei@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoSRC_URI, S: use BPN instead of PN for multilib case
Yu Ke [Thu, 28 Jul 2011 13:28:20 +0000 (21:28 +0800)]
SRC_URI, S: use BPN instead of PN for multilib case

in multilibcase, PN has multilib prefix, so it is not
correct to use PN in SRC_URI and S. instead,  we've
dedicately pruned multilib prefix in BPN, so BPN is
the right alternative for PN.

(From OE-Core rev: d6dca85028640034b1a5356920aad3268bd4f1c2)

Signed-off-by: Yu Ke <ke.y@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibfm: depend on intltool-native instead of intltool
Martin Jansa [Fri, 29 Jul 2011 06:43:36 +0000 (08:43 +0200)]
libfm: depend on intltool-native instead of intltool

(From OE-Core rev: 243ee5509995403c131114aef1a75c5d2af2e0cc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopolkit: depend on intltool-native instead of intltool
Martin Jansa [Fri, 29 Jul 2011 06:43:19 +0000 (08:43 +0200)]
polkit: depend on intltool-native instead of intltool

(From OE-Core rev: 1e75e78098bcbac92db0d9e45b3a78af0864250d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnewt: update to 0.52.13
Kang Kai [Thu, 28 Jul 2011 09:28:42 +0000 (17:28 +0800)]
libnewt: update to 0.52.13

Update libnewt to 0.52.13, and remove include-without-python.patch
because it has been merged.
Update SRC_URI and add SRC_URI checksum.

(From OE-Core rev: b83284d2be47019e1ca122ce4a2b1a077e7c3174)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofont-util: The recipe produces binaries so don't mark as 'all' architecture
Richard Purdie [Thu, 4 Aug 2011 12:59:14 +0000 (13:59 +0100)]
font-util: The recipe produces binaries so don't mark as 'all' architecture

Since font-util produces binaries it shouldn't be marked as "all"
package architecture. To achieve this we need to move the settings
out the common include file.

This fixes errors like:

ERROR: runstrip: ''mips-poky-linux-strip' --remove-section=.comment --remove-section=.note '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/all-poky-linux/font-util-1.2.0-r2.1/package/usr/bin/bdftruncate'' strip command failed
ERROR: runstrip: ''mips-poky-linux-strip' --remove-section=.comment --remove-section=.note '/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/all-poky-linux/font-util-1.2.0-r2.1/package/usr/bin/ucs2any'' strip command failed

(From OE-Core rev: 7aefddc57e9da02298af1aa98abedbe99435e15a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package.inc: Fixed error in referencing PKGSUFFIX
Lianhao Lu [Thu, 4 Aug 2011 10:36:23 +0000 (18:36 +0800)]
eglibc-package.inc: Fixed error in referencing PKGSUFFIX

[YOCTO #1329] Added the missing $ when referencing PKGSUFFIX in FILES_*
variables set.

[RP: Added PR bumps]
(From OE-Core rev: cd5440f6fa4b1d470c722039b4d2ea6f9b4bfd88)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomultilib: Use BPN instead of PN for style like lib${PN}
Dongxiao Xu [Wed, 3 Aug 2011 15:19:36 +0000 (23:19 +0800)]
multilib: Use BPN instead of PN for style like lib${PN}

When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.

(From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenjade-native: Change RDEPENDS of sgml-common-native
Dongxiao Xu [Wed, 3 Aug 2011 15:19:35 +0000 (23:19 +0800)]
openjade-native: Change RDEPENDS of sgml-common-native

openjade-native should RDEPENDS on sgml-common-native but not
sgml-common

(From OE-Core rev: 3f7809ba54bc4941c42071728cee1b286c1e87f6)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe
Dongxiao Xu [Wed, 3 Aug 2011 15:19:34 +0000 (23:19 +0800)]
libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipe

It's not appropriate to require xxx.bb in xxx-native.bb, causing that
xxx-native depends on target recipe.

Use BBCLASSEXTEND to solve this issue.

(From OE-Core rev: aa8f6b64055c6576bcdb63d3bbf9ab47b87c0d59)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-locale: Specially handle FILES_eglibc-gconv for multilib
Dongxiao Xu [Wed, 3 Aug 2011 15:19:33 +0000 (23:19 +0800)]
eglibc-locale: Specially handle FILES_eglibc-gconv for multilib

In multilib support, it iterate values in PACKAGES and then extend name
for variables like "FILES_xxx", "SUMMARY_xxx", etc.

However eglibc-gconv is dynamically put in PACKAGES by
package_do_split_gconv function. Therefore the name will not be
extended automatically.

Specially handle the FILES variable for eglibc-gconv to fix the issue
of missing "lib32-eglibc-gconv" issue in doing multilib do_rootfs.

Also when set PACKAGES, add the MLPREFIX.

(From OE-Core rev: 4a5cc82218fa730b898c553875accfeb6800f9a4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcl: Fix packaging of platform independent files
Kumar Gala [Wed, 3 Aug 2011 15:43:56 +0000 (10:43 -0500)]
tcl: Fix packaging of platform independent files

Tcl's doesn't utilize ${baselib} for platform independent files but
defines it as follows:

TCL_LIBRARY             = $(prefix)/lib/tcl$(VERSION)

Match that so if ${baselib} is not just /lib things work properly.

(From OE-Core rev: df4ed0bfc6396a0d6df0b5bfd1b3114edab90dc0)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibnss-mdns: dont use hard coded /lib path
Kumar Gala [Wed, 3 Aug 2011 15:28:48 +0000 (10:28 -0500)]
libnss-mdns: dont use hard coded /lib path

As libdir might not be /lib (could be /lib64) use ${base_libdir} instead of
hard coded "/lib" in configure options set in EXTRA_OECONF.

(From OE-Core rev: 130d16d18e8bf7cfe87a1fa128f182f7fe728708)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/runningbuild: emit signal when command fails with exit signal
Joshua Lock [Wed, 3 Aug 2011 01:12:33 +0000 (18:12 -0700)]
bb/ui/crumbs/runningbuild: emit signal when command fails with exit signal

Emit the generic build-complete signal when a command fails with an exit
signal enabling the UI to update itself accordingly.

Addresses [YOCTO #1265]

(Bitbake rev: 25ec13075855f7e321a9763682a8cd4ca09203cd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: disable editing in the build messages tree view
Joshua Lock [Wed, 3 Aug 2011 00:25:38 +0000 (17:25 -0700)]
bb/ui/hob: disable editing in the build messages tree view

Addresses the second part of [YOCTO #1311]

(Bitbake rev: d790386112b0beb444713a12d766bd4bd3441f56)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/runningbuild: add optional readonly mode, default off
Joshua Lock [Wed, 3 Aug 2011 00:24:35 +0000 (17:24 -0700)]
ui/crumbs/runningbuild: add optional readonly mode, default off

In b947e7aa405966262c0614cae02e7978ec637095 Bob started to introduce code
for a right-click menu, whilst most of the code is non-invasive it does
enable the editable property of the gtk.TreeView which can be confusing.

This change adds a readonly parameter, defaulting to False, to the
RunningBuildTreeView which if True will prevent the editable property from
being set.

CC: Bob Foerster <robert@erafx.com>
(Bitbake rev: d1d6bfab1789d8c0a4faa109bcc06b3cefe62620)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: show build messages are displayed in the order they're received
Joshua Lock [Wed, 3 Aug 2011 00:00:19 +0000 (17:00 -0700)]
bb/ui/hob: show build messages are displayed in the order they're received

Use the new sequential option of RunningBuild to ensure this.

Fixes the first part of [YOCTO #1311]

(Bitbake rev: 972769e6362ea3cf35c8fb7cdfbb147758d0a2f2)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/crumbs/runningbuild: optionally create list entries sequentially
Joshua Lock [Tue, 2 Aug 2011 23:59:01 +0000 (16:59 -0700)]
bb/ui/crumbs/runningbuild: optionally create list entries sequentially

In b947e7aa405966262c0614cae02e7978ec637095 Bob changed the behaviour of
the RunningBuildModel such that the items are added to the model in a
non-sequential order.

The messages in the view being listed out of order from how they are
received is undesirable for users of the hob UI, therefore this patch adds
an optional sequential parameter to the RunningBuild initialiser which,
when set to True, will always append new messages so that the order shown
in the view is that the messages are received in. The parameter defaults to
to False such that the behaviour added by Bob is preserved.

Partially addresses [YOCTO #1311]

CC: Bob Foerster <robert@erafx.com>
(Bitbake rev: b16663e1919fddbf63d0ca7f9ad3ffdc7d1121fd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobb/ui/hob: save changes to bblayers.conf when using Add Layer menu item
Joshua Lock [Tue, 2 Aug 2011 21:15:18 +0000 (14:15 -0700)]
bb/ui/hob: save changes to bblayers.conf when using Add Layer menu item

Fixes [YOCTO #1283]

(Bitbake rev: d1f1ebbe504f5567783461946c0eb45b1e923dd8)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc: Fix setting of GLIBC_DYNAMIC_LINKER
Kumar Gala [Tue, 2 Aug 2011 22:33:17 +0000 (17:33 -0500)]
gcc: Fix setting of GLIBC_DYNAMIC_LINKER

The sed regex in do_configure_prepend was producing the following result:

 #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "/lib64/ld-linux-x86-64.so.2"

instead of removing the leading "/lib" or "/lib64".

Now we have it do:

 #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-linux-x86-64.so.2"

Additionally, with the regex fixed the manipulation of SYSTEMLIBS_DIR
needs to be removed.

(From OE-Core rev: b343436d03fa5690b16ee8ef5d4a738c5194b301)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautomake: Fix issue with tar configure failing with large UID/GIDs
Kumar Gala [Tue, 2 Aug 2011 21:20:56 +0000 (16:20 -0500)]
automake: Fix issue with tar configure failing with large UID/GIDs

Add a fixup for trying to create ustar archives when the users
UID or GID is larger than the format allows.

(From OE-Core rev: 7a092818f901c5c860e82f573534cd505d9fb959)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm: Ensure alternatives links are reflected in rpm package dependencies
Richard Purdie [Wed, 3 Aug 2011 15:32:03 +0000 (16:32 +0100)]
package_rpm: Ensure alternatives links are reflected in rpm package dependencies

Currently, if a file is provided as an alternative link within the package, rpm
doesn't see the dependency. This works out badly for dependencies such as /bin/sh
which scripts might require.

Since rpm detects and adds these dependencies we do need to ensure the dependency
information in the packages is correct. This patch does so for the rpm backend
ensuring internal consistency whilst the approach for addressing this problem in
the other package backends is considered.

(From OE-Core rev: 102fc29b9c9eae8435b29edb41b5090ace2373c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoautotools.bbclass: Fix m4 file race
Richard Purdie [Wed, 3 Aug 2011 15:06:43 +0000 (16:06 +0100)]
autotools.bbclass: Fix m4 file race

If something removes .m4 files from the aclocal directory whilst aclocal is
running it gets upset. To avoid this we need to take a copy of the aclocal
directory and build against this instead.

[YOCTO #861]

(From OE-Core rev: 6a4778e21341f031569f561e7699d2c616b60af0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCH
Richard Purdie [Wed, 3 Aug 2011 14:52:41 +0000 (15:52 +0100)]
bitbake.conf/qemux86-64: Automate TRANSLATED_TARGET_ARCH

(From OE-Core rev: 6def7129cf7580a935c05cc05b7f803812d5bb18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Correctly handle - in package architecture names
Richard Purdie [Tue, 2 Aug 2011 21:20:24 +0000 (22:20 +0100)]
libzypp: Correctly handle - in package architecture names

If package architectures contain - characters this needs to be mapped
to something else in (_) since its illegal in C variable names.

[YOCTO #1313 partially]

(From OE-Core rev: 4806a459880d0860b563d30d3fa8d7cde3461cc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: remove temporary directory on program shutdown
Joshua Lock [Sat, 30 Jul 2011 19:19:15 +0000 (12:19 -0700)]
hob: remove temporary directory on program shutdown

Move temp directory handling into the HobEventHandler and clean up the
temporary files on program close.

Fixes [YOCTO #1307]

(Bitbake rev: 1009ca570a750a00b0e60afcc30ead070c7b310a)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/layereditor: if layer adding fails show an explanatory dialog
Joshua Lock [Fri, 29 Jul 2011 00:28:00 +0000 (17:28 -0700)]
ui/crumbs/layereditor: if layer adding fails show an explanatory dialog

When adding a layer fails try to explain why to the user.

(Bitbake rev: 2f7eadfdd710f84a299d6fc7be67ddb089f03ecc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/configurator: tweak addLayerConf return values
Joshua Lock [Fri, 29 Jul 2011 00:27:03 +0000 (17:27 -0700)]
ui/crumbs/configurator: tweak addLayerConf return values

Use different return types when adding failed versus when the layer is
already enabled.

(Bitbake rev: 906854d75a12c8752efb1e4065eaf1a10b191612)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: emit a signal when a command fails
Joshua Lock [Thu, 28 Jul 2011 22:25:10 +0000 (15:25 -0700)]
ui/crumbs/hobeventhandler: emit a signal when a command fails

If a CommandFailed event is seen emit a signal with the error message.

(Bitbake rev: 15cc4fe5051dcb6ac5915e10228b5f3d3ed845bd)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/hob: show error and exit if we receive the fatal-error signal
Joshua Lock [Thu, 28 Jul 2011 22:24:03 +0000 (15:24 -0700)]
ui/hob: show error and exit if we receive the fatal-error signal

If we receive the fatal-error signal from the handler display a dialog
informing the user of an error and displaying the error message. Dismissing
the dialog quits the application.

Fixes [YOCTO #1279]

(Bitbake rev: 04dbd80bbc9ffe2a566b8cc488f0feebadcdde60)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: emit a signal when there's a fatal-error
Joshua Lock [Thu, 28 Jul 2011 22:21:14 +0000 (15:21 -0700)]
ui/crumbs/hobeventhandler: emit a signal when there's a fatal-error

If the cooker encounters an error we're unable to proceed so emit a signal
so that UI's can notify the user and exit.

(Bitbake rev: b6f6edd5090e933ac97a65f93ea9d1b255fca811)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: unset busy cursor on exit
Joshua Lock [Thu, 28 Jul 2011 21:15:35 +0000 (14:15 -0700)]
hob: unset busy cursor on exit

Prevent the busy cursor being shown after hob exits if quit is called
whilst the busy cursor is set.

(Bitbake rev: 7b977ff222d4a318efabd0ca5f37fa03b9acb996)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobeventhandler: remove unused code
Joshua Lock [Wed, 27 Jul 2011 23:08:52 +0000 (16:08 -0700)]
ui/crumbs/hobeventhandler: remove unused code

Remove some unused variables and methods.

(Bitbake rev: b1b02d523c6281615b72255774ed455b4cae4847)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune/ppc: Fix various TUNE_PKGARCH issues
Richard Purdie [Tue, 2 Aug 2011 11:40:06 +0000 (12:40 +0100)]
tune/ppc: Fix various TUNE_PKGARCH issues

We need to ensure only one value ends up in TUNE_PKGARCH rather than several.
This change ensures consistency accross all the PPC tune files and that they
correctly inherit the core value but also allow it to be overwritten.

(From OE-Core rev: f9a8b719dd3fc7593a509c8f288caf1486add2f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc: Add missing ${PN} and ${PKGSUFFIX} usages
Richard Purdie [Tue, 2 Aug 2011 10:42:21 +0000 (11:42 +0100)]
eglibc: Add missing ${PN} and ${PKGSUFFIX} usages

This fixes warning messages such as:

The providers found were: ['virtual:nativesdk:eglibc_2.13.bb', 'eglibc_2.13.bb']
The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc']
NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain)
NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils

This highlights how ugly adding to PN is when using BBCLASSEXTEND. We need to do this to
eglibc so the nativesdk class continues to work correctly for now and ensure consistency
in how the various eglibc packages are generated.

Longer term, if we switch nativesdk to use the multilib approach and MLPREFIX, we can
remove all the PKGSUFFIX mess. I'd rather not get into changing nativesdk right at this
time though given all the other changes that are going on.

(From OE-Core rev: 3a18aa65a4c123ea922b6cd09ca6a77090f12252)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_ipk: SDK generation workaround
Mark Hatle [Mon, 1 Aug 2011 23:58:36 +0000 (18:58 -0500)]
package_ipk: SDK generation workaround

During SDK generation the multilib_sanity_check function is being called,
however it is not available unless we've been called from the image.bbclass.

Disable the check if MULTILIB_CHECK_FILE (also set in image.bbclass) doesn't
exist or is empty.

(From OE-Core rev: 0611cceca1595ea4656ebcb985cbd92bb9774ec8)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopopulate_sdk_*: Sync SDK and regular rootfs functions
Mark Hatle [Mon, 1 Aug 2011 17:34:51 +0000 (12:34 -0500)]
populate_sdk_*: Sync SDK and regular rootfs functions

In order for things to be easier to maintain in the future, sync up
the sdk and rootfs versions.

(From OE-Core rev: 3c78da15457d8d20c9964cd845f6e021d442aaae)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Add SDK_PACKAGE_ARCHS
Mark Hatle [Mon, 1 Aug 2011 17:11:22 +0000 (12:11 -0500)]
bitbake.conf: Add SDK_PACKAGE_ARCHS

Add SDK_PACKAGE_ARCHS to avoid the sed operations we were previously doing
inside of the variouns populate_sdk functions and related items.

Also add documentation to populate_sdk to explain when the various functions
are expected to be doing.

Finally fix a bug in populate_sdk_rpm where the wrong value was being set,
noticed while working on this change.

(From OE-Core rev: 587c1d5bac71fa6faa65ee3a271391cbf931e8f7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_rpm: Cleanup and minor bug fixes
Mark Hatle [Mon, 1 Aug 2011 16:56:37 +0000 (11:56 -0500)]
rootfs_rpm: Cleanup and minor bug fixes

in packages_rpm.bbclass:

Cleanup the way package_update_index_rpm works.  Break this out into two
functions, one for common functionality and one for controlling target vs
sdk package processing.

Similar change to package_generate_rpm_conf.

Usage of IMAGE_ROOTFS should actually be "target_rootfs", this fixes a problem
with the SDK case.

in rootfs_rpm.bbclass:

Minor re-order of the values, and avoid multiple uses of IMAGE_ROOTFS in order
to make the merge with the SDK behavior easier.

(From OE-Core rev: 46559f36d8a39655060b45d3d235de44a2c4c09b)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agooe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR
Dexuan Cui [Tue, 2 Aug 2011 06:08:32 +0000 (14:08 +0800)]
oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

[YOCTO #671]

"readlink -f" in Ubuntu 10.04 is buggy: it doesn't ignore a trailing / (e.g.,
"readlink -f /tmp/non-existent-dir/" returns nothing, but according to
http://www.gnu.org/s/coreutils/manual/coreutils.pdf it should do that --
hence we get bug 671. It seems Ubuntu 10.10 or even later Ubuntu 11.04,
and other Linux distributions(e.g., Open Suse 11.4) haven't such an issue.

So I think we should detect this and ask Ubuntu 10.04 users to avoid supply
a path with trailing slash here.

Moreever, I also add the detection of non-existent path, e.g.,
source oe-init-build-env /non-existent-dir/build
can be detected and we'll print an error msg.
And, if we get errors in oe-buildenv-internal, we should stop the script
and shouldn't further run.

(From OE-Core rev: 651ccb3b031d9ccb8331505a51171372002230d9)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/runqemu: grep for line beginning with TMPDIR
Khem Raj [Tue, 2 Aug 2011 01:47:13 +0000 (18:47 -0700)]
scripts/runqemu: grep for line beginning with TMPDIR

Currently the grep regexp matches any occurance of
'TMPDIR=' but if you have another variable defined
e.g. OE_BUILD_TMPDIR=xxx then that gets picked up
too.

$ bitbake -e | grep TMPDIR=\"
TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc"
OE_BUILD_TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x"

So we become a bit more stringent and look for
line starting with TMPDIR

$ bitbake -e | grep ^TMPDIR=\"
TMPDIR="/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc"

make sure that it greps
only TMPDIR=xxx occurance and not values of other variables
whose names happens to end with TMPDIR

(From OE-Core rev: 12ddf6c6a7559d97d9b8f84fcc89ed02e30df85d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-armv7a.inc: fix armv7a-vfp-neon -> armv7a compat case
Koen Kooi [Mon, 1 Aug 2011 13:41:42 +0000 (15:41 +0200)]
arch-armv7a.inc: fix armv7a-vfp-neon -> armv7a compat case

Without this 'armv7a' is used as TUNE_ARCH but does *not* end up in PACKAGE_EXTRA_ARCHS:

arch all 1
arch any 6
arch noarch 11
arch arm 16
arch armv4 21
arch armv4t 26
arch armv5 31
arch armv5t 36
arch armv5-vfp 41
arch armv5t-vfp 46
arch armv5e 51
arch armv5te 56
arch armv5e-vfp 61
arch armv5te-vfp 66
arch armv6-vfp 71
arch armv6t-vfp 76
arch armv7-vfp 81
arch armv7t2-vfp 86
arch armv7a-vfp 91
arch armv7at2-vfp 96
arch armv7a-vfp-neon 101
arch armv7at2-vfp-neon 106
arch beagleboard 111

Which leads to a failing do_rootfs

(From OE-Core rev: 2a41a311ddda11713296391050f3c2c1b2c1d3d3)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: fix save/restore of toolchain preferences
Joshua Lock [Thu, 28 Jul 2011 00:08:12 +0000 (17:08 -0700)]
hob: fix save/restore of toolchain preferences

Add some (namespaced) custom variables to the configuration file for sake
of this UI.

(Bitbake rev: c9dd2592434338bdddb3cc6f42e760c86fa9e6bb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: more reliable disabling of GPLv3 packages
Joshua Lock [Wed, 27 Jul 2011 23:10:39 +0000 (16:10 -0700)]
hob: more reliable disabling of GPLv3 packages

1. reflect GPLv3's presence in INCOMPATIBLE_LICENSE value in the UI

The hob UI currently only supports GPLv3 as a value for
INCOMPATIBLE_LICENSE but doesn't properly reflect whether the value is
already set. This patch rectifies this.

2. don't stomp over other INCOMPATIBLE_LICENSE values when disabling GPLv3

In case the user has other values set for INCOMPATIBLE_LICENSE we don't
want to overwrite the value, we want to modify it.

Fixes [#1286]

(Bitbake rev: 68b992922bc7148d657a1c706c6acc67812a87c0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm.bbclass: fix one typo
Yu Ke [Mon, 1 Aug 2011 11:54:25 +0000 (19:54 +0800)]
package_rpm.bbclass: fix one typo

fix the MLPREFIX referrence typo which cause multilib rpm
do_rootfs failure

CC: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: 9653089620ad5aef7876b582708561c3a315a064)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_{deb, rpm, ipk}.bbclass: fix 'lingusa' typo
Koen Kooi [Sat, 30 Jul 2011 12:46:40 +0000 (14:46 +0200)]
package_{deb, rpm, ipk}.bbclass: fix 'lingusa' typo

(From OE-Core rev: 5e22d7d1fea7dfb14380de5692e4b2940781b518)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_rpm.bbclass: Fix multilib configurations to use DEFAULTTUNE
Mark Hatle [Sat, 30 Jul 2011 01:57:31 +0000 (20:57 -0500)]
rootfs_rpm.bbclass: Fix multilib configurations to use DEFAULTTUNE

Earlier iterations of the multilib patch used "TUNENAME", which was later
renamed to DEFAULTTUNE.  This file was missed in the rename.

(From OE-Core rev: fdd39925df8268ad41c1ff643a0761b03fad8e08)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosanity.bbclass: Add sanity check that TUNE_PKGARCH appears in PACKAGE_ARCHS
Kumar Gala [Fri, 29 Jul 2011 00:07:57 +0000 (19:07 -0500)]
sanity.bbclass: Add sanity check that TUNE_PKGARCH appears in PACKAGE_ARCHS

Its possible we get duplications if we explicity add TUNE_PKGARCH to
PACKAGE_ARCHS so instead just add a sanity check to verify it.

(From OE-Core rev: b2ae0444eb1984b86c02e571bb1efeaacdeafcf1)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-ppce500mc: Adjust PowerPC e500mc tune file to correctly set hard fpu.
Malcolm Crossley [Thu, 28 Jul 2011 21:47:07 +0000 (16:47 -0500)]
tune-ppce500mc: Adjust PowerPC e500mc tune file to correctly set hard fpu.

(From OE-Core rev: 1456cdef9e1a28f7abe1385b10caa5069ba7afac)

Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune/arch-powerpc64: Remove support for soft-float from ppc64
Kumar Gala [Thu, 28 Jul 2011 20:59:05 +0000 (15:59 -0500)]
tune/arch-powerpc64: Remove support for soft-float from ppc64

All 64-bit PPC processors support hard-float so no need to support
soft-float.

(From OE-Core rev: 54c7d1faf5376c8fb9b19f4e192ce959c8442782)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune/arch-powerpc64: Fix typo with 64-bit TUNE_CCARGS handling
Kumar Gala [Thu, 28 Jul 2011 20:59:04 +0000 (15:59 -0500)]
tune/arch-powerpc64: Fix typo with 64-bit TUNE_CCARGS handling

When figuring out how to set TUNE_CCARGS we should look for 'm64' not
'n64' in TUNE_FEATURES.

(From OE-Core rev: 7a9ea28e69e8121a559f610dd2330edd33f0a907)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosgml-common-native: Read a catalog backup to repopulate sgml-docbook.cat
Saul Wold [Fri, 29 Jul 2011 00:08:36 +0000 (17:08 -0700)]
sgml-common-native: Read a catalog backup to repopulate sgml-docbook.cat

This reads the sgml-docbook.bak and adds the entries into sgml-docbook.cat since
this occurs out of order during shared state sysroot populate.

(From OE-Core rev: 87d68520c190007869ed1877fbb40eef23763524)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopenjade-native: Write a bak file for shared state
Saul Wold [Fri, 29 Jul 2011 00:06:22 +0000 (17:06 -0700)]
openjade-native: Write a bak file for shared state

This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared
state sysroot populate, because it comes out of order.

(From OE-Core rev: b372198fe3c9d8be18bd15545fb0bc4dd9d5aa68)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocbook-dsssl-stylesheets-native: Write a bak file for shared state
Saul Wold [Fri, 29 Jul 2011 00:05:54 +0000 (17:05 -0700)]
docbook-dsssl-stylesheets-native: Write a bak file for shared state

This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared
state sysroot populate, because it comes out of order.

(From OE-Core rev: 4d4047c7b997a9cee96f170c203315cbd82ff084)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodocbook-sgml-dtd-native: Write a bak file for shared state
Saul Wold [Fri, 29 Jul 2011 00:05:30 +0000 (17:05 -0700)]
docbook-sgml-dtd-native: Write a bak file for shared state

This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared
state sysroot populate, because it comes out of order.

(From OE-Core rev: 457f30a389031947f037bd7ea1217c190c2089c1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Fix variable substitution problem in do_archgen step
Kumar Gala [Thu, 28 Jul 2011 18:09:50 +0000 (13:09 -0500)]
libzypp: Fix variable substitution problem in do_archgen step

The do_archgen step creates a script that utilizes the variable name
${ARCH}.  However, we also utilize and define ${ARCH} so instead of
having the following in the script:

COMPAT_WITH="${ARCH},${COMPAT} $COMPAT_WITH"

We get something like:

COMPAT_WITH="powerpc,${COMPAT} $COMPAT_WITH"

Just renaming the variable in the script to not conflict with ${ARCH}
fixes the issue.

[PR bump from Saul Wold]
(From OE-Core rev: 09573a276456122b408c5bcebc537455fd1c5f29)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoglibc: deleted
Phil Blundell [Thu, 28 Jul 2011 10:01:31 +0000 (11:01 +0100)]
glibc: deleted

Glibc 2.10.1 is outdated now and eglibc seems to provide a superset of
its functionality.

(From OE-Core rev: 1d9866a2c4fe93202749a56c7ad89a3cbd07d9f8)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-environment: set correct *MULTIMACH_TARGET_SYS.
Lianhao Lu [Thu, 28 Jul 2011 11:10:16 +0000 (19:10 +0800)]
meta-environment: set correct *MULTIMACH_TARGET_SYS.

Fixed [BUGID #1299]. OLD_MULTIMACH_TARGET_SYS is no longer available.
Use new recipe-scope variable REAL_MULTIMACH_TARGET_SYS instead.

(From OE-Core rev: b69a2be2f30dc633597399d42d6c87d9f0910c1a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agofeature-arm-thumb: respect ARM_INSTRUCTION_SET
Martin Jansa [Sat, 30 Jul 2011 01:04:33 +0000 (01:04 +0000)]
feature-arm-thumb: respect ARM_INSTRUCTION_SET

(From OE-Core rev: e23f9ce928353c9da2b9c4bfa9a1a125a7d160f2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-xscale: fix xscale/xscale-be confusion
Dmitry Eremin-Solenikov [Fri, 29 Jul 2011 23:37:38 +0000 (23:37 +0000)]
tune-xscale: fix xscale/xscale-be confusion

Currently tune-xscale.inc has options wrt. setting of xscale/xscale-be tunes.
Fix that.

(From OE-Core rev: 90ce6e4b7ffaaf1e3af39583ca62b20f08e78959)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarch-armv6, arch-armv5-dsp: correct endianness confusion
Phil Blundell [Fri, 29 Jul 2011 00:31:15 +0000 (00:31 +0000)]
arch-armv6, arch-armv5-dsp: correct endianness confusion

PACKAGE_EXTRA_ARCHS_tune-armv5eb needs to be defined in terms of
the non-e with the same endianness, i.e. PACKAGE_EXTRA_ARCHS_tune-armv5b
not PACKAGE_EXTRA_ARCHS_tune-armv5, otherwise PACKAGE_EXTRA_ARCHS will
end up containing a semi-random mixture of endiannesses and disaster
will ensue.  Likewise for the vfp and armv6 variants.

This is all a bit confusing because TUNE_FEATURES is done the opposite
way around, i.e. TUNE_FEATURES_tune-armv5eb is derived by taking the
armv5e version and adding bigendian.  But fixing that is probably
a subject for a separate patch.

(From OE-Core rev: 391c0102a81455c76244d13b6878e3a76cca65dc)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune-cortex{m1, m3, r4}: correct spelling of "cortex"
Phil Blundell [Thu, 28 Jul 2011 23:06:55 +0000 (23:06 +0000)]
tune-cortex{m1, m3, r4}: correct spelling of "cortex"

Otherwise the test in TUNE_CCARGS will never match.

(From OE-Core rev: 3b7784021259ac745c80043bec16189fa8f4e45e)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: remove PACKAGE_EXTRA_ARCHS_tune-XXX default
Paul Eggleton [Thu, 28 Jul 2011 22:18:28 +0000 (22:18 +0000)]
bitbake.conf: remove PACKAGE_EXTRA_ARCHS_tune-XXX default

Because of the way BitBake handles ??= under certain circumstances, this
default setting ends up stepping all over the real setting from the arch
include file. Since virtually all arch include files or tune files define
a real value for this we shouldn't need to have a default (or it needs to
be done in a different way).

(From OE-Core rev: 6c43ca6fc6a7fffc84cf28684cac0c0eb4129902)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_rpm: Disable debug messages
Richard Purdie [Wed, 27 Jul 2011 16:26:13 +0000 (17:26 +0100)]
rootfs_rpm: Disable debug messages

(From OE-Core rev: 59c26a280f909470e19a2be04b8ea9dd3aa5c24b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm.bbclass: Fix mistake reported by Mark Hatle
Richard Purdie [Wed, 27 Jul 2011 15:50:51 +0000 (16:50 +0100)]
package_rpm.bbclass: Fix mistake reported by Mark Hatle

(From OE-Core rev: 78a1a915d660d6039ac532239e25ead8507bc2df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/providers: list PREFERRED_VERSION candidates when unavailable
Paul Eggleton [Mon, 25 Jul 2011 13:54:43 +0000 (14:54 +0100)]
bitbake/providers: list PREFERRED_VERSION candidates when unavailable

If the specified PREFERRED_VERSION is not available then list the
available versions in the output. (PR is omitted.)

(Bitbake rev: eea5ff9f34bb9b2e29f5fa43deb80d4aa6ef7ddc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake/taskdata: fix incorrect usage of rdependees instead of dependees
Paul Eggleton [Mon, 25 Jul 2011 13:54:42 +0000 (14:54 +0100)]
bitbake/taskdata: fix incorrect usage of rdependees instead of dependees

This looked like a copy-paste error - the code around is dealing with
depends and not rdepends.

(Bitbake rev: bb688635c2050da3cbbaa5aa5b00e882887695de)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake: show more information for NoProvider errors
Paul Eggleton [Mon, 25 Jul 2011 13:54:41 +0000 (14:54 +0100)]
bitbake: show more information for NoProvider errors

"Nothing PROVIDES" errors often come up when a recipe has been skipped
for some reason, and therefore it is useful to print out that reason
information when showing the error so that the user understands why the
error has occurred.

Given that we already feed the reason information into the skiplist for
various situations (COMMERCIAL_LICENSE, COMPATIBLE_MACHINE etc.) this
should now output a useful error message for skipped recipes.

Fixes [YOCTO #846], [YOCTO #1127]

(Bitbake rev: 6765218430e31c165888f26fbc75023c89a6eab2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/hobprefs: trigger reparse when package format changed
Jessica Zhang [Wed, 27 Jul 2011 00:18:20 +0000 (17:18 -0700)]
ui/crumbs/hobprefs: trigger reparse when package format changed

reload_data after package format change to make the change take effects in
next build.

Fixes [YOCTO #1287].

(Bitbake rev: fb47c7452455f3f8d943b21dd61300ec55eea141)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocooker: populate rdepends-pkg in generatePkgDepTreeData
Joshua Lock [Wed, 27 Jul 2011 00:50:45 +0000 (17:50 -0700)]
cooker: populate rdepends-pkg in generatePkgDepTreeData

The rdepends-pkg field of the generated depend_tree model was not populated
in the original implementation of this method, this series adds in the
loop to populate the rdepends-pkg column of the model.

(Bitbake rev: 4f9a6f6f43cf2ef38115285897fbbde01964e892)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohob: fix loading customised image recipe
Joshua Lock [Wed, 27 Jul 2011 00:44:34 +0000 (17:44 -0700)]
hob: fix loading customised image recipe

The signal handler of the 'Base image' combo was still connected during load
such that updating the UI to reflect the loaded base image triggered a change
of the model. Fix this by disconnecting the signal handler when updating the
displayed 'Base image'.

Fixes [YOCTO #1282]

(Bitbake rev: 58036a79cb79d1dff307e2cfed0e684493178507)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoui/crumbs/tasklistmodel: work around overly aggressive package removal
Joshua Lock [Tue, 26 Jul 2011 03:32:53 +0000 (20:32 -0700)]
ui/crumbs/tasklistmodel: work around overly aggressive package removal

The mark() method, which removes dependent and rdependent items, is overly
aggressive removing items which are actually required by user selected
items and then causing a removal of those items. Because the data
structures used are not fine grained enough to do more intelligent
dependency tracking the simplest "fix" is to track removals which are
marked as "User Selected" and re-add those (and therefore their
dependencies) once the aggressive removal is completed.

Because the aggressive removal already ignores images and tasks this should
make the removal behave as expected though certainly leaves area for
improvement in future.

Fixes [YOCTO #1280].

(Bitbake rev: 1e1055262450de994202fc3e5943b8b19f628681)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoghostscript: fix parallel build issue
Kang Kai [Wed, 27 Jul 2011 09:34:45 +0000 (17:34 +0800)]
ghostscript: fix parallel build issue

ghostscript fails some time on autobuilder, it seems a parallel build issue.
Add patch to fix it.

Fixes [Yocto #1202]

(From OE-Core rev: 90c0eabcce04e8358ce8df9cd9ed60fdeea68cf5)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg svn: bump SRCREV to 625
Koen Kooi [Wed, 27 Jul 2011 09:47:33 +0000 (11:47 +0200)]
opkg svn: bump SRCREV to 625

tested on beagleboard/angstrom and qemuarm/angstrom

(From OE-Core rev: 19145d0cd27c5c7e732c06dee9fce4cd60cbd0b3)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobase bbclass: add TUNE_FEATURES to the default banner
Koen Kooi [Wed, 27 Jul 2011 15:13:39 +0000 (17:13 +0200)]
base bbclass: add TUNE_FEATURES to the default banner

This makes debugging the new tune code easier since it doesn't involve staring at 'bitbake -e' output anymore.

(From OE-Core rev: c1903b1221e9b419aefe49e40a8acd61575de797)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibpam 1.1.4: fix packaging
Koen Kooi [Wed, 27 Jul 2011 15:21:31 +0000 (17:21 +0200)]
libpam 1.1.4: fix packaging

| ERROR: QA Issue: non debug package contains .debug directory: libpam-xtests path /work/armv7a-angstrom-linux-gnueabi/libpam-1.1.4-r0/packages-split/libpam-xtests/usr/share/Linux-PAM/xtests/.debug/tst-pam_dispatch4

(From OE-Core rev: 4acbbefd67ac02322bb2ca455e6aaf5b78652dff)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconnman: Change hard coded package name to support multilib
Dongxiao Xu [Wed, 27 Jul 2011 08:01:50 +0000 (16:01 +0800)]
connman: Change hard coded package name to support multilib

connman plugins have dependency on bluez4, wpa-supplicant, and ofono.
These names are hardcoded, fix the issue to support multilib.

(From OE-Core rev: a27503dc76652afef6eaf7330c8e6a421d72a6fc)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage(rootfs)_ipk.bbclass: support multilib in opkg backend.
Lianhao Lu [Tue, 5 Jul 2011 05:18:06 +0000 (13:18 +0800)]
package(rootfs)_ipk.bbclass: support multilib in opkg backend.

Support install multiple multilib in opkg backend.

The installation is done in 3 phases.

Phase 1: install normal packages to IMAGE_ROOTFS.

Phase 2: install multilib packages under MULTILIB_TEMP_ROOTFS. Packages
belongs to the same multilib arch would be installed to a unique
directory.

Phase 3: check file confliction between IMAGE_ROOTFS and
MULTILIB_TEMP_ROOTFS, install multilib packages to IMAGE_ROOTFS only if
the sanity check passed.

(From OE-Core rev: 9d81c2166be7ed388e5616e01ca2b4059e524c8e)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage.bbclass: Added variables for multilib support.
Lianhao Lu [Tue, 5 Jul 2011 05:55:41 +0000 (13:55 +0800)]
image.bbclass: Added variables for multilib support.

1. Added MULTILIB_PACKAGE_INSTALL for multilib instances of packages to
be installed in the rootfs.

2. MULTILIBRE_ALLOW_REP contains the regular expression to match the
files allow to be replaced by the conflicting files.

3. MULTILIBRE_FORCE_SAME contains the regular expression to match the
files allow to be replaced only if the conflicting files are identical.

4. Added shell function multilib_sanity_check() to check whether the
overwring for multilib situation is allowed.

(From OE-Core rev: 137a4626a7e8107fc8a71724d5124f44236293b9)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage/rootfs_rpm: Implement RPM multilib package handling
Mark Hatle [Mon, 18 Jul 2011 20:55:28 +0000 (15:55 -0500)]
package/rootfs_rpm: Implement RPM multilib package handling

This is a first pass at adding multilib support to the RPM package
and image handling code.

(From OE-Core rev: 1939a4395997098862912e013a2b13ed2f385f9f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>