scm/bb/tizen-distro.git
12 years agobzip2-native: handling native path issue
Yao Zhao [Thu, 26 Jul 2012 20:34:19 +0000 (16:34 -0400)]
bzip2-native: handling native path issue

follow Richard's approach, modify bzip2-native recipe to install bzip2 package
binaries to STAGING_BINDIR_NATIVE/bzip2-native to avoid problems when other
package is doing upack to reference bzip2. libbz2.so* still installs to
STAGING_LIBDIR_NATIVE.

change python-native to depends on bzip2-replacement-native instead of
bzip2-full-native and add EXTRANATIVEPATH for bzip2-native.

Didn't add bzip2native.bbclass as python-native is the only user so far.

(From OE-Core rev: 5bf3541836457465aa76577bfb41cdf6316213c9)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: Fix a couple innocuous typoes, should cause no functional change
Robert P. J. Day [Thu, 26 Jul 2012 20:55:43 +0000 (16:55 -0400)]
image.bbclass: Fix a couple innocuous typoes, should cause no functional change

"error_promt" -> "error_prompt" changed in both places
"subfolers" -> "subfolders" since it's not referenced anyway

(From OE-Core rev: cc1f824778c023686b4ea75c64a182a138ff2267)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package: reduce dbg package dependencies
Paul Eggleton [Thu, 26 Jul 2012 14:35:00 +0000 (15:35 +0100)]
classes/package: reduce dbg package dependencies

Make dbg package dependencies added via DEPCHAIN_POST less aggressive -
only add dependencies on dbg packages for shared library dependencies.
This avoids dragging in extraneous packages (such as eglibc-dbg forcing
bash-dbg to be installed) whilst preserving the ability to easily debug
into shared libraries in use by an application by just requesting the
installation of the single dbg package for that application.

For task recipes however we preserve the previous behaviour, since when
you install task-xxx-dbg you expect the dbg packages for every package
in the task to be installed. Unfortunately not all of our tasks inherit
from task.bbclass so we just use a name match - this should be tidied up
later.

Fixes [YOCTO #2599].

(From OE-Core rev: 352522d474cb75992d7865545b6fbe4e157a5f99)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-doc.bbclass: unbreak dependency-chain for native recipes
Andreas Müller [Thu, 26 Jul 2012 16:17:02 +0000 (18:17 +0200)]
gtk-doc.bbclass: unbreak dependency-chain for native recipes

see [1] & [2] for discussion of this patch

[1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026606.html
[2] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026611.html

(From OE-Core rev: f9ae930552bc5f1d59f207d4cd0e2b1b4f811dbc)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agou-boot.inc: update linker arguments to pass --sysroot arg
Matthew McClintock [Thu, 26 Jul 2012 16:21:43 +0000 (11:21 -0500)]
u-boot.inc: update linker arguments to pass --sysroot arg

If we are building from sstate-cache it's possible to be building
from another folder on another machine, therefore the linker requires
that a proper --sysroot is passed too it so it can find things like
libgcc.a and avoid errors such as:

| arm-poky-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder   -o hello_world.o hello_world.c -c
| arm-poky-linux-gnueabi-gcc  -g  -O2  -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80008000 -I/local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/work/beagleboard-poky-linux-gnueabi/u-boot-v2011.06+git5+b1af6f532e0d348b153d5c148369229d24af361a-r0/git/include -fno-builtin -ffreestanding -nostdinc -isystem /local/yocto/upstream/label/ubuntu1204-64b/machine/beagleboard/poky/edison/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../lib/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.3/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -fno-toplevel-reorder   -o stubs.o stubs.c -c
| arm-poky-linux-gnueabi-ld  -r -o libstubs.o  stubs.o
| arm-poky-linux-gnueabi-ld -g -Ttext 0x80300000 \
|  -o hello_world -e hello_world hello_world.o libstubs.o \
|  -L. -lgcc
| arm-poky-linux-gnueabi-ld: cannot find -lgcc
| make[1]: *** [hello_world] Error 1

(From OE-Core rev: 923eb657f24a1feaa93172eda8f87252e86bfea2)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsserv: define do_install_virtclass-native()
Roy.Li [Tue, 24 Jul 2012 01:33:29 +0000 (09:33 +0800)]
insserv: define do_install_virtclass-native()

[YOCTO #2812]

Since files installation dirs are DESTDIR/etc/, DESTDIR/sbin etc
in Makefile, not DESTDIR/${sysconfdir}/, DESTDIR/${sbindir}/, for
the native package, a prefix can not be inserted which is needed
when do the next step of install and do_populate_sysroot.

Now we define do_install_virtclass-native in which DESTDIR is
${D}/${STAGING_DIR_NATIVE}

(From OE-Core rev: bb80a5f6f383d874b314af4263695e5a6b2d84cb)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoUpdate intltool to version 0.50.0
Florin Sarbu [Fri, 20 Apr 2012 07:52:08 +0000 (10:52 +0300)]
Update intltool to version 0.50.0

Uprev intltool to newer 0.50.0 version

(From OE-Core rev: c17d1f146e43a4acaad5de629c33404426870356)

Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: use PACKAGECONFIG to control 'pie'
Christopher Larson [Fri, 20 Jul 2012 16:24:06 +0000 (09:24 -0700)]
bluez4: use PACKAGECONFIG to control 'pie'

This lets us control whether we build position independent executables. As, as
far as I know no distros are adding a 'pie' distro feature, the effect of this
commit for most will be to disable pie in bluez4. I think this is best to
ensure consistent behavior among the recipes with regard to this.

This also sidesteps a build failure I've seen with bluez4 failing due to
libudev.a not having been built fPIC.

(From OE-Core rev: 06b5d57e89f2dd20fb3f4cb9fd362e2d428f493d)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: override -cpu for qemu on ppc with SPE
Khem Raj [Fri, 20 Jul 2012 22:55:14 +0000 (15:55 -0700)]
bitbake.conf: override -cpu for qemu on ppc with SPE

We use -mtune flags which lets our application have
SPE intruction in them which is a good thing but when
running qemu especially in user mode these application
wont work with default powerpc emulation. Therefore we
have to add proper -cpu option to let qemu emulate for
a given cpu.

(From OE-Core rev: 695598415b4e9e17def7f04332bdbc0d24cc1efc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocmake: Upgrade recipes to 2.8.8
Khem Raj [Fri, 20 Jul 2012 22:55:12 +0000 (15:55 -0700)]
cmake: Upgrade recipes to 2.8.8

Copyright year change means a change in checksum
...

 CMake - Cross Platform Makefile Generator
-Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
 All rights reserved.

(From OE-Core rev: db6a69f132b3ad2bf1108eccd945123969347154)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Fix illegal instruction errors on e500 emulation
Khem Raj [Fri, 20 Jul 2012 22:55:13 +0000 (15:55 -0700)]
qemu: Fix illegal instruction errors on e500 emulation

I caught this when running user mode qemu for ppc/e500 applications
which had SPE instructions in them will abort with illegal instruction
error all the time.

The patch is already applied upstream we needed a backport into 0.15.x

(From OE-Core rev: febec229b27279345b756d2fd83f3766915fcd67)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopkgconfig: Fix packaging issue
Saul Wold [Thu, 26 Jul 2012 07:36:48 +0000 (00:36 -0700)]
pkgconfig: Fix packaging issue

The pkg.m4 file should be packaged as part of the base package
instead of the -dev package, it had been in the base package, but
I seemed to have missed that it moved during my PACKAGES reorder,
and this caused the meta-toolchain to break

[YOCTO #1908]

(From OE-Core rev: d2dba9aebef323a57824b41d09991850c703be35)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Add patch to add sys/resource.h to wait.h
Saul Wold [Wed, 25 Jul 2012 21:34:27 +0000 (14:34 -0700)]
eglibc: Add patch to add sys/resource.h to wait.h

This is needed for the older kernel perf tools to build correctly, as
noted in the patch new perf tools have sys/resource.h included directly.

(From OE-Core rev: 21a57b98ff5091a5563c00093081297a6c586208)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcmode-default: Bump EGLIBC Version to 2.16
Saul Wold [Sat, 21 Jul 2012 00:41:16 +0000 (17:41 -0700)]
tcmode-default: Bump EGLIBC Version to 2.16

(From OE-Core rev: 08f57808b82599ed32fdc2fb9ec2c6491465c520)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agousbutils: avoid dependency on bash
Paul Eggleton [Thu, 26 Jul 2012 10:51:28 +0000 (11:51 +0100)]
usbutils: avoid dependency on bash

By virtue of having #!/bin/bash, the usb-devices script declared that it
requires bash, however manual examination, checkbashisms and tests with
dash and busybox show that it doesn't contain any bashisms, so change
the script's header and remove the RDEPENDS on bash.

Additionally, update-usbids.sh was manually checked for bashisms, run
through checkbashisms and tested with busybox (although it did not have
a bash-specific header).

(From OE-Core rev: 651b223c5fc93c7504e304e954b9ae4640ed47c6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package: do not add self-dependencies to dev/dbg packages
Paul Eggleton [Thu, 26 Jul 2012 14:34:59 +0000 (15:34 +0100)]
classes/package: do not add self-dependencies to dev/dbg packages

Avoid adding dependencies to dev and dbg packages on themselves via the
DEPCHAIN_* handling code. These don't actually cause any problems, but
they do complicate dependency graphs.

(From OE-Core rev: ecdf7874470cff24cb23b7fd2723096b15aead31)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: Add continuation marker to create_wrapper
Saul Wold [Thu, 26 Jul 2012 16:04:00 +0000 (09:04 -0700)]
guile: Add continuation marker to create_wrapper

This was causing the x86_64-linux-guile script to not have all the
environment bits needed

V2: Forgot PR Bump!

[YOCTO #2835]

(From OE-Core rev: be89b81bdad0489d43d33342243b5d1da76ec3c4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling...
Richard Purdie [Wed, 25 Jul 2012 20:16:46 +0000 (20:16 +0000)]
base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues

If something is listed in ASSUME_PROVIDED but also manually built (like bzip2-native and
bzip2-replacement-native), we need to ensure that the installed binaries are only accessed
for things which list the provider in DEPENDS.

This patch adds a generic mechanism to handle this instead of everything reinventing the
wheel. EXTRANATIVEPATH += "perl-native" will ensure that ${STAGING_BINDIR_NATIVE}/perl-native
is added to PATH.

This means that:

a) Such providers should install to ${bindir}/xxx-native
b) Should PROVIDE += "xxxx-replacement-native"
c) That users should DEPEND on xxx-replacement-native and have EXTRANATIVEPATH += "xxx-native"

This patch enables this at the core level, the bzip2 recipe still needs adjusting to work
like this along with adjustment of the users of bzip2-replacement-native (python-native?).

(From OE-Core rev: 14b70cd222519e5bccaca955334787f123d9fc54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Add support for invalidtasks parameter (see bitbake change)
Richard Purdie [Wed, 25 Jul 2012 19:08:27 +0000 (19:08 +0000)]
staging.bbclass: Add support for invalidtasks parameter (see bitbake change)

(From OE-Core rev: d3ae2fc896fd866aac9f064dccbff971c324f43c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fetch/local: Allow preservation of path components in relative file:// urls
Richard Purdie [Wed, 25 Jul 2012 19:04:45 +0000 (19:04 +0000)]
bitbake: fetch/local: Allow preservation of path components in relative file:// urls

This enhances the fetcher to allow preservation of the path component in urls
like: file://xxx/yyy/somefile.patch.

(Bitbake rev: e49a656a499355a5c6e7eb00bf5b8f1795e8dddb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Wipe out the stamp cache between setscene and main task execution
Richard Purdie [Wed, 25 Jul 2012 19:03:44 +0000 (19:03 +0000)]
bitbake: runqueue.py: Wipe out the stamp cache between setscene and main task execution

The stamp files can change during setscene and the cache should be cleared to
account for this.

(Bitbake rev: 5ec12f586a50fce675b268965b3dc487aaa96c43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Allow the setsceneverify function to have a list of tasks that...
Richard Purdie [Wed, 25 Jul 2012 18:58:06 +0000 (18:58 +0000)]
bitbake: runqueue.py: Allow the setsceneverify function to have a list of tasks that are invalid and need to run

There was some odd behaviour if some task was run from setcene whilst there were
existing valid stamps for a depepdency. For example, do_populate_sysroot might
be installed at setscene time but if there were other tasks not installed from
setscene such as do_populate_lic which depend on do_configure, the setsceneverify
function would think that do_configure needed to be rerun and would hence void the
do_populate_sysroot and force that to rerun too.

The setsceneverify function needs to know which tasks are going to be rerun, not just
what the overall task list is and what setscene functions have run. This patch adds
that information and maintains backwards compatibility in a slightly ugly but effective
way. The metadata needs updating to take advantage of this change.

(Bitbake rev: 1423aafff97f17169e95ec3ba973eb002ff98c1c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Ensure one setscene function doesn't mask out another which...
Richard Purdie [Wed, 25 Jul 2012 18:56:00 +0000 (18:56 +0000)]
bitbake: runqueue.py: Ensure one setscene function doesn't mask out another which needs to run

The scenequeue code could result in one setscene function masking out another
which had been marked as notcovered. This change ensures the notcovered list
is taken into account when deciding which tasks need to be run, ensuring
that tasks that should be run do get run.

(Bitbake rev: 95b31127d8ba12ccb061d67481ece134c18c39f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Optimise the hashvalidate call to only process tasks we may...
Richard Purdie [Wed, 25 Jul 2012 18:48:41 +0000 (18:48 +0000)]
bitbake: runqueue.py: Optimise the hashvalidate call to only process tasks we may actually want

Currently we call the hashvalidate for anything without a valid setscene stamp.
This improves the code to account for existing stamp files so that we only process
setscene hashes for things we might actually end up using. This avoids hash processing
and makes things slightly more efficient and the logs less confusing.

(Bitbake rev: 2e71a65bd910e8be894b8284eb0a50de7270c081)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Gracefully exit if an exception occurs in the runqueue executio...
Richard Purdie [Wed, 25 Jul 2012 18:43:53 +0000 (18:43 +0000)]
bitbake: runqueue.py: Gracefully exit if an exception occurs in the runqueue execution code

There was a bug where an exception in the runqueue code would cause an infinite loop
of debug messages. The exception would get reported but would loop since runqueue was
still registered as an idle handler.

This patch adds an exception handler to ensure in the case of errors, the system
more gracefully shuts down and doesn't loop.

(Bitbake rev: 99467c7e387f6e71358b40b8afae450d72cd68e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: runqueue.py: Fix a stamp comparision bug
Richard Purdie [Wed, 25 Jul 2012 18:40:38 +0000 (18:40 +0000)]
bitbake: runqueue.py: Fix a stamp comparision bug

We check the stamp cache before comparing t2 and t3 which means that we can miss
a level in the stamp file chains. The result of this is that a stamp can be accepted
as valid when in fact it isn't. Some weird behaviour alerted me to this in a local
build.

This patch also fixes to only uses the cache in recurse mode, there was a corner
case where stamps not in recurse mode could get added to the cache which could cause
an issue potentially.

(Bitbake rev: 7a5f776d325c0e37f58003424beda7cae2695325)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/rt: update BSP preempt-rt.scc files to enable live boot
Bruce Ashfield [Wed, 25 Jul 2012 20:37:51 +0000 (16:37 -0400)]
linux-yocto/rt: update BSP preempt-rt.scc files to enable live boot

Updating the meta branch SCREV to pickup the preempt-rt commits
to fix live boot on the x86 boards:

  7ff48aa sys940x: Append default preempt-rt policy
  052ecea sugarbay: Append default preempt-rt policy
  b8230e3 jasperforest: Append default preempt-rt policy
  7fb788a chiefriver: Append default preempt-rt policy
  ffbb5ea romley: Append default preempt-rt policy
  5fe5f68 cedartrail: Append default preempt-rt policy
  85bee0c atom-pc: Append default preempt-rt policy

(From OE-Core rev: 055f0392bb468eac669ae941613feb618bf26f20)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDS
Xin Ouyang [Wed, 25 Jul 2012 07:02:58 +0000 (15:02 +0800)]
mtools: add glibc-gconv-* to RDEPENDS/RRECOMMENDS

[YOCTO #2829]

mtools commands use cp850 as the "mtools_default_codepage", they would
use this to do some coverting tasks.

So, add glibc-gconv-ibm850 to RDEPENDS for mtools commands to run
correctly.

Also add other MSDOS/FAT codepages related packages to RRECOMMENDS.

Code Pages for MSDOS/FAT:
 *http://msdn.microsoft.com/en-us/library/cc195051.aspx

(From OE-Core rev: 5333610bb4b5014372a11e283465ff0f819db49d)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa/lib: remove test.py
Paul Eggleton [Wed, 25 Jul 2012 12:51:23 +0000 (13:51 +0100)]
meta/lib: remove test.py

This looks like it was added by accident in OE-Core revision
7903433898b4683a1c09cc9a6a379421bc9bbd58.

(From OE-Core rev: eb4d9b7348215a68b7933308d905e839d852a1d6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-glib: fix a build race
Ross Burton [Wed, 25 Jul 2012 12:21:18 +0000 (13:21 +0100)]
telepathy-glib: fix a build race

[YOCTO #2462]

(From OE-Core rev: e1e3107892c843e57261a2579e2c268dd850434d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoreadline: add missing macros in acinclude.m4
Fahad Usman [Wed, 25 Jul 2012 08:21:33 +0000 (13:21 +0500)]
readline: add missing macros in acinclude.m4

some bash macros are missing from acinclude.m4 which are added up-stream. This
wasn't actually breaking anything but but it was causing the configure script
to not run all the tests it's intended to run.

move the acinclude.m4 from "files" folder to version specific folders so that
readline-5.2 continue to use the older acinclude.m4 only readline-6.2 use the
updated one

(From OE-Core rev: a706a74bb28e8f4d97e32f45ea894627d7e8f3fa)

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobyacc: upgrade to ver. 20120526
Cristian Iorga [Tue, 24 Jul 2012 05:36:58 +0000 (08:36 +0300)]
byacc: upgrade to ver. 20120526

(From OE-Core rev: d537564fb8e9fb58ea4897ecf4ba10ae6cc705d0)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpcap: upgrade to ver. 1.3
Cristian Iorga [Tue, 24 Jul 2012 05:36:57 +0000 (08:36 +0300)]
libpcap: upgrade to ver. 1.3

(From OE-Core rev: 3f0cc742ea5d4788df26bb0592c294e5a67e1093)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiptables: upgrade to ver. 1.4.14
Cristian Iorga [Tue, 24 Jul 2012 05:36:55 +0000 (08:36 +0300)]
iptables: upgrade to ver. 1.4.14

(From OE-Core rev: 2afc6203baec508043d5ad672756b527f9d81111)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: fix sort dir on updatedb
Roy.Li [Wed, 25 Jul 2012 08:07:39 +0000 (16:07 +0800)]
findutils: fix sort dir on updatedb

[YOCTO #2826]

m4/nullsort.m4 tries to find sort dir, and write it to updatedb,
but nullsort.m4 is checking the host dir. Once the sort dirs on
target and host are different, updatedb will fail due to wrong
sort dir.

Since we always have sort under ${bindir}, so we can assign it
directly.

(From OE-Core rev: 05c3c327370971eaa9d872a88782278126030229)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoslang 2.2.4: fix the pcre existence checking
Roy.Li [Wed, 25 Jul 2012 08:07:49 +0000 (16:07 +0800)]
slang 2.2.4: fix the pcre existence checking

[YOCTO #2820]

when check if there is pcre, the configure file always check
the host dir. now we make it work by adding correct prefix for
cross-compile environment.

(From OE-Core rev: 18481095d237c84aef5cfb55b651443fed538550)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpcre: upgrade to ver. 8.31
Cristian Iorga [Wed, 25 Jul 2012 06:42:39 +0000 (09:42 +0300)]
libpcre: upgrade to ver. 8.31

(From OE-Core rev: 5cb5a0c0ea74d484ef100fd04cedcb66e98b6553)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-mission-control: upgrade to ver. 5.13
Cristian Iorga [Tue, 24 Jul 2012 05:36:56 +0000 (08:36 +0300)]
telepathy-mission-control: upgrade to ver. 5.13

(From OE-Core rev: f8a529365ba11a6ed29723fa31315700fccae9aa)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoliburi-perl: update to 1.60
Kang Kai [Wed, 25 Jul 2012 09:42:44 +0000 (17:42 +0800)]
liburi-perl: update to 1.60

Update to 1.60

(From OE-Core rev: 987c57c9a19706067f1590e0f647557a870f769c)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: update to version 20120614
Kang Kai [Wed, 25 Jul 2012 09:42:42 +0000 (17:42 +0800)]
ltp: update to version 20120614

Update ltp to version 20120614 and update license files at same time.
Remove the patch because it has been merged.

(From OE-Core rev: 6b3c2aa5a32d7d21f9ac760dc7aa18829c03a875)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqmmp: update 0.6.1
Kang Kai [Wed, 25 Jul 2012 09:42:43 +0000 (17:42 +0800)]
qmmp: update 0.6.1

Update qmmp to 0.6.1
Remove spaces at end of lines.

(From OE-Core rev: 66dcf21fb3e3249c6e04fdae3eb0400c2ae7d13f)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd missing Upstream-Status to various patches.
Mark Hatle [Tue, 24 Jul 2012 20:21:39 +0000 (15:21 -0500)]
Add missing Upstream-Status to various patches.

(From OE-Core rev: 951e9caac62a4de576e4003319101e8ff59d72d9)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox:udhcpc: fix the root_is_nfs() function
Roy.Li [Tue, 24 Jul 2012 01:23:19 +0000 (09:23 +0800)]
busybox:udhcpc: fix the root_is_nfs() function

[YOCTO #2788]

The system will be hung when udhcpc starts, if nfs is mounted
at "/" directory and default route is different after starting
udhcpc.

The cause is that root_is_nfs() does not work after kernel-2.6.37,
since the device name has been changed from /dev/root to
${IPADDR}:${NFSDIR} on /proc/mounts. which leads to remove
the default routes to nfs server,

Now we use a loose match to check if rootfs is nfs.

(From OE-Core rev: 9921cb0104ea36daf909c110bb6767e5fd307da0)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinit_1.3.2: Remove broken, superfluous 'FILES_${PN} += "${libdir}X11/xinit"'
Robert P. J. Day [Tue, 24 Jul 2012 10:39:30 +0000 (06:39 -0400)]
xinit_1.3.2: Remove broken, superfluous 'FILES_${PN} += "${libdir}X11/xinit"'

Besides being clearly broken, that line is unnecessary as that file is
already being picked up from this line in xorg-app-common.inc:

FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"

(From OE-Core rev: 45b8dcc65b46c68151093a2931cce675abb92813)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: fix the problem that mkfs.minix.tests fails on big endian platform
Yao Zhao [Tue, 24 Jul 2012 14:28:00 +0000 (10:28 -0400)]
busybox: fix the problem that mkfs.minix.tests fails on big endian platform

patch mkfs.minix.tests to have correct md5sum on big endian platform.

(From OE-Core rev: b37e1ea5f29d03efbe136ee7f4fa261a1936ac8f)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image: remove x11-netbook package group, it's unused
Ross Burton [Tue, 24 Jul 2012 11:59:37 +0000 (12:59 +0100)]
core-image: remove x11-netbook package group, it's unused

(From OE-Core rev: ab498fa7a330d20639f3082cb1c05e92f37c5ced)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not set
Khem Raj [Tue, 24 Jul 2012 07:25:58 +0000 (00:25 -0700)]
eglibc: Fix build when OPTION_POSIX_WIDE_CHAR_DEVICE_IO is not set

poky-tiny disables certain eglibc options which gives good excercise
for eglibc's componentized builds. This patch essentially updates the
GLRO patch to account for additions of GLRO(dl_debug_mask) and
converts them to GLRO_dl_debug_mask

Secondly adds a new patch where it was creating a undefined alias
because we were using INTUSE macro which got exposed when we
disable OPTION_POSIX_WIDE_CHAR_DEVICE_IO

(From OE-Core rev: f7a3121c0e4524f33f312f37d6a0bc952b219780)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-initial: Stage self sufficient fixed limits.h
Khem Raj [Tue, 24 Jul 2012 05:40:52 +0000 (22:40 -0700)]
gcc-cross-initial: Stage self sufficient fixed limits.h

currently gcc installs a limits.h which references to another
limits.h which it expects from target sysroot and that header
in target sysroot will come from eglibc. So we need to break
this catch-22 and hence we install a self sufficient limits.h
which is then happy when referenced and doesnt complain about
missing limits.h from target sysroot.

This is mostly used when eglibc-initial configure is run

(From OE-Core rev: eeb445ecbc651ad614a4fc492039bdad0747d45d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-initial: Fix build failure due to missing limits.h
Khem Raj [Tue, 24 Jul 2012 05:36:44 +0000 (22:36 -0700)]
eglibc-initial: Fix build failure due to missing limits.h

We have had these things in place to overcome a limitation
from our gcc-initial-cross not staging a self sufficient
limits.h. Now thats fixed we do reset TOOLCHAIN_OPTIONS
to point to sysroot where linux kernel headers are staged
and not the bootstrap sysroot which will infact be popuated
by eglibc-initial itself.

Secondly we dont need to set CPPFLAGS specially as we
are doing that in eglibc.inc so we override that

(From OE-Core rev: 3045ab9b3efc887700a922d06a6f5f4069a41356)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package_deb: add PackageArch field
Paul Eggleton [Mon, 23 Jul 2012 21:42:26 +0000 (22:42 +0100)]
classes/package_deb: add PackageArch field

If we want to query the PACKAGE_ARCH from the installed package (as we
do in order to be able to do a pkgdata lookup for example) then we need
to have this stored in its own field as this is not always the same as
the Architecture field for deb packages.

(From OE-Core rev: 3f4f6726646e18ae21919e2f361b669332796aef)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Create symlinks for packages with different packaged name
Andrei Gherzan [Mon, 23 Jul 2012 21:42:24 +0000 (22:42 +0100)]
package.bbclass: Create symlinks for packages with different packaged name

While generating license.manifest package information is searched in:
filename=`ls ${TMPDIR}/pkgdata/*/runtime/${pkg}| head -1`
This is ok as long as package name is the same as the package name
after packaging.
For example dbus is packaged as dbus-1. So, searching
ls ${TMPDIR}/pkgdata/*/runtime/dbus-1 will fail because there is no file
with this package name.

Create a symlink to the pkgdata file in a runtime-reverse directory so
that these reverse lookups are possible.

Fixes [YOCTO #2638].

(From OE-Core rev: 76ef414b8a017557cf5f3ad7b3ca8a324f7aad29)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel bbclass: Recreate uImage only when KEEPUIMAGE != "yes"
Koen Kooi [Mon, 23 Jul 2012 20:45:30 +0000 (13:45 -0700)]
kernel bbclass: Recreate uImage only when KEEPUIMAGE != "yes"

The intent of the uImage code in this class includes the following

1) be able to specify custom load addresses without needing to patch the kernel
2) add better information to the uImage description field

The current state is a NOP anyway, the kernel will always build a uImage when you tell it to 'make uImage'.

weakly Set KEEPUIMAGE to 'yes' in default-distrovars.inc which preserve the
current OE-Core behavior. Machines which are being ported from oe.dev and need to
regenerate uImage can set this to be empty

(From OE-Core rev: 72a7049526ee107005bd39c7bdd814ed71345829)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcgroup_0.37.1.bb: Add recipe
Khem Raj [Mon, 23 Jul 2012 20:56:16 +0000 (13:56 -0700)]
libcgroup_0.37.1.bb: Add recipe

This recipe is imported from meta-oe its a requirement for
systemd to work. Now that systemd is living in a layer of
its own. Lets have this recipe into core metadata

(From OE-Core rev: 6ef8e6f2f9b0583fa0881e0dfc52462405b21ede)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoremake: Add remake-native and remake
Wenzong Fan [Mon, 23 Jul 2012 05:50:53 +0000 (13:50 +0800)]
remake: Add remake-native and remake

remake is a patched version of GNU Make that adds improved error
reporting, the ability to trace execution in a comprehensible way,
and a debugger.

[YOCTO #2402]

(From OE-Core rev: 823fab378bd46da6a296a67f981dffb31b1c8061)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocups_1.4.6.bb: Fix build on ppc64
Khem Raj [Sun, 22 Jul 2012 23:54:17 +0000 (16:54 -0700)]
cups_1.4.6.bb: Fix build on ppc64

ppc64 uses lib64 and usr/lib64 for library paths
so we need to train cups build system

(From OE-Core rev: c8de655e8f5b2ac8b72428252645022458460912)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu.bbclass: Map the qemu binary name for powerpc64
Khem Raj [Sun, 22 Jul 2012 23:54:16 +0000 (16:54 -0700)]
qemu.bbclass: Map the qemu binary name for powerpc64

(From OE-Core rev: b9c7b050eb3e51c98f95feb8cf19f45ff2cc8700)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: Replace superfluous "+=" with "=", and add leading space
Robert P. J. Day [Mon, 23 Jul 2012 10:06:15 +0000 (06:06 -0400)]
webkit-gtk: Replace superfluous "+=" with "=", and add leading space

(From OE-Core rev: 201fa631175bb0a32c53922c630d403493e61bad)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxp: Change superfluous "+=" to simple "=" when using _append
Robert P. J. Day [Mon, 23 Jul 2012 09:59:05 +0000 (05:59 -0400)]
libxp: Change superfluous "+=" to simple "=" when using _append

(From OE-Core rev: 5d9319105e3f3727ba707773112a84f655fa559b)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodhcp: remove dependency of dev/staticdev packages on main package
Paul Eggleton [Mon, 23 Jul 2012 08:38:46 +0000 (09:38 +0100)]
dhcp: remove dependency of dev/staticdev packages on main package

The main package is empty and is not produced, which leaves the dev
and staticdev packages broken. Remove the dependencies (added in
bitbake.conf by default) to fix this.

(From OE-Core rev: 5380c65e819d82f783cb75aa21db7c73bb445189)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: 3.4.6 and 3.4.x-rt14
Bruce Ashfield [Mon, 23 Jul 2012 17:10:24 +0000 (13:10 -0400)]
linux-yocto/3.4: 3.4.6 and 3.4.x-rt14

Updating the 3.4 kernel to the latest -stable release and updating preempt-rt
to 3.4.4-rt14.

Tested on qemu*

(From OE-Core rev: 955fd1408713634d9a96b00ef53ed0a6a188e9fe)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: use 'users' group by default
Otavio Salvador [Mon, 23 Jul 2012 17:37:17 +0000 (14:37 -0300)]
shadow: use 'users' group by default

The rootfs has 'users' group at number 100 and without this fix it
would assign to a non-existent group and if a group with gid as 1000
is created later it would own all files for users created.

(From OE-Core rev: a67d77d25cbab0d88b9ff76e3f28429d4ac4f34b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-native: use 'users' group by default
Otavio Salvador [Mon, 23 Jul 2012 17:37:16 +0000 (14:37 -0300)]
shadow-native: use 'users' group by default

The rootfs has 'users' group at number 100 and without this fix it
would assign to a non-existent group and if a group with gid as 1000
is created later it would own all files for users created.

(From OE-Core rev: e06414092c7aa4fce1173f00e610a33a0deca9cd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: fix external module building
Denis Carikli [Fri, 20 Jul 2012 23:22:22 +0000 (16:22 -0700)]
kernel.bbclass: fix external module building

Without that fix we have the following while compiling compat-wireless.
  include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such file or directory

Note that the compat-wireless recipe will be added in another commit.

make -C $kerneldir _mrproper_scripts deleted this file along with
other things so we resurrect it with this patch.

(From OE-Core rev: 2d114fd0cdf7486f18e53f2bf41c4f559e4b4a8d)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobash: fix warning about bashbug reference /usr/bin when installed in /bin
Otavio Salvador [Fri, 20 Jul 2012 17:12:09 +0000 (14:12 -0300)]
bash: fix warning about bashbug reference /usr/bin when installed in /bin

Change the installation process so we have bashbug in ${bindir} and
bash at ${base_bindir}.

(From OE-Core rev: f2dc23cf886de95040080c4398a3320c211b65fa)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpcap: fix pcap-config to not return -Wl,-rpath
Christopher Larson [Fri, 20 Jul 2012 17:20:33 +0000 (10:20 -0700)]
libpcap: fix pcap-config to not return -Wl,-rpath

(From OE-Core rev: 9090abb6240d8a3bf2ff0acd84e13c363440896b)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: don't bg mk_dirs in populate-volatile
Christopher Larson [Fri, 20 Jul 2012 17:05:03 +0000 (10:05 -0700)]
initscripts: don't bg mk_dirs in populate-volatile

If a directory needs to be created to create something else in volatiles,
there's no guarantees on ordering due to the backgrounding. We can't guarantee
with certainty that the create directory commands are complete before the
later ones run. This ensures that we wait for directory creations to complete
before we proceed.

Chris Hallinan hit an actual failure due to this back in March of last year.

(From OE-Core rev: 138c3c26830e48a56ca7cb3e5feca324d13ec89c)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake wget fetcher: add parameter: downloadfilename
Nitin A Kamble [Thu, 19 Jul 2012 00:39:18 +0000 (17:39 -0700)]
bitbake: bitbake wget fetcher: add parameter: downloadfilename

this allows wget fetcher to store the downloaded file in a specified custom filename in ${DL_DIR}

Exmaple:
SRC_URI = "https://edc.intel.com/Download.aspx?id=6190;downloadfilename=LIN_IEMGD_1_14_GOLD_2443.tgz"

This fixes bug:
[YOCTO #2570]

(Bitbake rev: ceb5871007f221c4d86a7bee421d4dd8d9100aaf)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Change bzr fetcher to use branch instead of co. Fixes: bzr: ERROR: No pull...
Martin Ertsaas [Thu, 19 Jul 2012 11:26:25 +0000 (13:26 +0200)]
bitbake: Change bzr fetcher to use branch instead of co. Fixes: bzr: ERROR: No pull location known or specified.

This problem occurs when fetching a different revision of the same source. Which mean every time you update a bzr package.
Using branch sets the pull location, and are the preferred way of cloning/branching a repository in bzr.

(Bitbake rev: 877a04d0b3cea9d5dbdf3c54fe0feb54cb997dda)

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: cooker.py: Ensure we track parser errors and only show bbappend issues on...
Richard Purdie [Mon, 23 Jul 2012 16:26:06 +0000 (16:26 +0000)]
bitbake: cooker.py: Ensure we track parser errors and only show bbappend issues on complete parse

Currently if any parsing failure occurs, there can be a long list of
bbappends that are "dangling" based on the fact that recipes were not
parsed. This change firstly ensures the error counter is incremented
and secondly that the bbappends list is only shown on a completed
parse list.

(Bitbake rev: 358952f0d874b869d361bbd72a5ea317bf939cd3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: Add missing dependency on libc:do_package
Richard Purdie [Mon, 23 Jul 2012 14:28:46 +0000 (14:28 +0000)]
libgcc: Add missing dependency on libc:do_package

do_package writes out shlibs data and libgcc can depend on the values
there. We therefore need to express the depdency so that sstate can account
for it for example.

Without this a version change in eglibc can "psersist" in the sstate cache
and corrupt builds.

(From OE-Core rev: 4148bc80c008d25c8a536c7c7dfdeac1669a6662)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: Use COMPATIBLE_HOST variable instead of anonymous python
Richard Purdie [Mon, 23 Jul 2012 11:27:12 +0000 (11:27 +0000)]
grub: Use COMPATIBLE_HOST variable instead of anonymous python

This cleans up code added in 2008 to use modern syntax. It is functionally
equivalent.

(From OE-Core rev: a73b314c95a21e44dc584c58639a038833c9756b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: Allow reautoconf with the correct parameters
Richard Purdie [Mon, 23 Jul 2012 11:24:34 +0000 (11:24 +0000)]
grub: Allow reautoconf with the correct parameters

Without this change, an effective reautoconf happens at compile time with potentially
incorrect parameters. This change ensures it happens once, in do_configure with the
correct parameters.

(From OE-Core rev: cae93d99497b822de9607261d225385423d5daf2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoPyphon-native: Fix typo
Richard Purdie [Sun, 22 Jul 2012 13:20:26 +0000 (14:20 +0100)]
Pyphon-native: Fix typo

(From OE-Core rev: da1de01aa74da0f38f07af523a9861824f7b0c95)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-native: Use append instead of += so the lsb override for EXTRA_OECONF works...
Richard Purdie [Sun, 22 Jul 2012 11:07:53 +0000 (12:07 +0100)]
python-native: Use append instead of += so the lsb override for EXTRA_OECONF works as expected

(From OE-Core rev: 1eae5b6c87cd4f825dba9d2526b34231d33b1e92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-doc-utils: Update to use python-native
Richard Purdie [Fri, 20 Jul 2012 16:19:10 +0000 (17:19 +0100)]
gnome-doc-utils: Update to use python-native

This includes a wrapper so that the full path to python-native is encoded whilst not
exceeding any environment length constraints as hinted at in the patch to this area
of code already included.

(From OE-Core rev: 7a336e5ccf07aff2d0e179bff859395855e016c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-doc: Ensure we run gtkdocize else we could see build failures (e.g. evolution...
Richard Purdie [Fri, 20 Jul 2012 15:55:46 +0000 (16:55 +0100)]
gtk-doc: Ensure we run gtkdocize else we could see build failures (e.g. evolution-data-server)

This is a fix to Ross' series, we need to run gtkdocize in case anything
was built from source control and the appropriate files are missing.

(From OE-Core rev: aaf762bf20635a92d16e7aad6c154891d9d689c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgnome-keyring: Add missing DEPENDS on glib-2.0
Richard Purdie [Fri, 20 Jul 2012 15:54:27 +0000 (16:54 +0100)]
libgnome-keyring: Add missing DEPENDS on glib-2.0

(From OE-Core rev: 74c02dc4bdad578757e83e105ee79801a44d79c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: Add missing DEPENDS on pkgconfig-native
Richard Purdie [Fri, 20 Jul 2012 15:53:54 +0000 (16:53 +0100)]
kmod: Add missing DEPENDS on pkgconfig-native

Without this it can't reautoconf or run configure since it depends on pkg-config.

(From OE-Core rev: 7673cd498a50f59b0e2954341de0e8c6913d374f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse
Richard Purdie [Fri, 20 Jul 2012 15:52:55 +0000 (16:52 +0100)]
sstate: Set SSTAGE_PKGARCH for allarch packages to allow reuse

allarch sstate packages could be marked as machine or package_arch specific. This
change ensures they are not.

(From OE-Core rev: f3104240ad5bb542c339ee29b2672523ad3ae50c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoallarch: No need to make packaging machine specific
Richard Purdie [Fri, 20 Jul 2012 15:51:54 +0000 (16:51 +0100)]
allarch: No need to make packaging machine specific

Normally do_package is machine specific but this makes little sense for allarch
recipes. This patch unsets the appropriate variable.

(From OE-Core rev: 79e52a9825240a72b49a5c3f3ad8e0dbc74ad9f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/3.4: emgd, mtd nand and kmemcheck fixes
Bruce Ashfield [Fri, 20 Jul 2012 15:19:25 +0000 (11:19 -0400)]
linux-yocto/3.4: emgd, mtd nand and kmemcheck fixes

Updating the 3.4 meta SRCREV for the following fixes:

  949fddd meta: crownbay.scc change emgd branch name
  cd0721a yocto/emgd: emgd 1.14 driver
  c2b5ee3 meta: disable CONFIG_MTD_NAND_VERIFY_WRITE
  004cadb meta: kmemcheck: 'other' configs turning on CONFIG_FUNCTION_TRACER

(From OE-Core rev: c192b2da74b20f091b6191349ceb1cf195aae8c6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-yocto.bbclass: Delete superfluous creation of ${S}/.git directory
Robert P. J. Day [Fri, 20 Jul 2012 15:19:24 +0000 (11:19 -0400)]
kernel-yocto.bbclass: Delete superfluous creation of ${S}/.git directory

In do_kernel_checkout(), replace the creation of ${S}/.git with just
the creation of ${S} since the .git subdirectory is created only a few
lines later using a "mv".  Here's the original code:

  rm -rf ${S}
  mkdir -p ${S}/.git

  echo "WARNING. ${WORKDIR}/git is not a bare clone."
  echo "Ensure that the SRC_URI includes the 'bareclone=1' option."

  # we can fix up the kernel repository, but at the least the meta
  # branch must be present. The machine branch may be created later.
  mv ${WORKDIR}/git/.git ${S}    <-- See?  There it is.

There's no functional change here, it's just less confusing.

(From OE-Core rev: f0d318177096a7a1c7406642663ae4ce28010d12)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel-yocto.bbclass: Fix some obvious typoes in comments.
Robert P. J. Day [Fri, 20 Jul 2012 15:19:23 +0000 (11:19 -0400)]
kernel-yocto.bbclass: Fix some obvious typoes in comments.

(From OE-Core rev: 072476bb6468d984ae3246f478fd5b3a21f7c8d6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: upgrade to 1.0.0j
Scott Garman [Fri, 20 Jul 2012 15:38:34 +0000 (08:38 -0700)]
openssl: upgrade to 1.0.0j

Addresses CVE-2012-2333

Fixes [YOCTO #2682]

(From OE-Core rev: 57f45fca7b8e1c0cf98d295bc0fd8839799dfa86)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautoconf: updated to 2.69
Bogdan Marinescu [Thu, 19 Jul 2012 10:33:52 +0000 (13:33 +0300)]
autoconf: updated to 2.69

Tested with core-image-sato-sdk and lib32-core-image-sato-sdk.
This update was done mainly because multilib builds failed on master with this error:

| autoreconf: running: aclocal -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/m4/ -I /poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/aclocal-copy/ -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/m4/ -I /poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/aclocal-copy/ --force --warnings=cross
| aclocal: warning: unknown warning category 'cross'
| configure.ac:18: error: Autoconf version 2.69 or higher is required

(From OE-Core rev: effb75d42098b3e367d393215fd5d52a0191e954)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:13 +0000 (13:46 -0400)]
libxml2: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: fae8b8e3f172a7523c0d5cc416031f3d571b9f81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:19 +0000 (13:46 -0400)]
perf: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: d27cd814162fde3362278435a6842928310c2704)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogobject-introspection: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:15 +0000 (13:46 -0400)]
gobject-introspection: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 2d0f88f0e8d275caca2a89ec1ad4b2e03cb8e8f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-common: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:16 +0000 (13:46 -0400)]
mesa-common: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 003dad555c7c3df61000bf7f712abb4050f3b4e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-python: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:12 +0000 (13:46 -0400)]
telepathy-python: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: ac037bb9aeab67c1b8b8400b0b8ad5f507c75a48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomklibs-native: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:10 +0000 (13:46 -0400)]
mklibs-native: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 0751ba97969bf7ef21e0c9a0bbe52001052f02af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-pyrex-native: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:09 +0000 (13:46 -0400)]
python-pyrex-native: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: a043a7737da1123df5ff06ede3e9ed1fdcc163f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-scons-native: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:08 +0000 (13:46 -0400)]
python-scons-native: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 7f3105d380370ae1f4fbc2e8295c80f22dfb16cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:07 +0000 (13:46 -0400)]
python: Update for python-native changes

Add pythonnative onto the list of inherits and update the paths to the binaries
referenced in the recipe to the new paths.

(From OE-Core rev: 284a65d55f0ffad0f4f7f32d72da0f9410578643)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-native: Put binaries in seperate directory
Morgan Little [Thu, 19 Jul 2012 17:46:06 +0000 (13:46 -0400)]
python-native: Put binaries in seperate directory

Update python-native to install the binaries in the python-native directory,
add pythonnative.bbclass to let recipes that need python-native use the
binaries and update disutils access the new binaries. Update distutils-base
to inherit pythonnative.

(From OE-Core rev: a2e554f731437545e9483a7a73e6847c03f6f48a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove gtk-doc
Ross Burton [Thu, 19 Jul 2012 07:19:59 +0000 (08:19 +0100)]
Remove gtk-doc

(From OE-Core rev: f8a87fd585fc199a7c7cff81d11fdc35b16cf3d2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovte: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:19:08 +0000 (16:19 +0100)]
vte: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 13a047c8c9c93844b4650fa5ef7160d8c6ffb4ee)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoatk: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:18:28 +0000 (16:18 +0100)]
atk: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 72fb39271b755bf5aef62fc9109cfaee00356fe4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:17:54 +0000 (16:17 +0100)]
webkit-gtk: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 56011bb732950da207ab55a891aa8fc228a9f5e9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:17:21 +0000 (16:17 +0100)]
evolution-data-server: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 18ef5e7d691a05565db88ffd0c13475ad9b0dcf3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>