scm/bb/tizen-distro.git
11 years agogdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script
Jackie Huang [Fri, 24 Aug 2012 13:29:06 +0000 (21:29 +0800)]
gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

gtk-update-icon-cache is called for each subdir of ${datadir}/icons,
but there are some themes without an index.theme file such as
xcursor-transparent, so add -t(--ignore-theme-index) option to avoid
errors of gtk-update-icon-cache.

(From OE-Core rev: bab34e5fa734a98cb5199db4ebc95a6634a38431)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowget: upgrade to 1.14
Constantin Musca [Fri, 24 Aug 2012 10:07:31 +0000 (13:07 +0300)]
wget: upgrade to 1.14

remove-gets.patch: removed
- included in the new version

(From OE-Core rev: 396af9e2c8a8b7ad8d49566350d79f05898734a7)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonpth: upgrade to 0.91
Constantin Musca [Fri, 24 Aug 2012 09:05:39 +0000 (12:05 +0300)]
npth: upgrade to 0.91

(From OE-Core rev: 99ef4adf7d5be6a565441505b5ad3308f67b7138)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokconfig-frontends: upgrade to 3.5
Constantin Musca [Fri, 24 Aug 2012 10:12:13 +0000 (13:12 +0300)]
kconfig-frontends: upgrade to 3.5

(From OE-Core rev: 512fdcbaea71711f75a7389c14319dbf865cdfaf)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodhcp : upgrade to 4.2.4-P1
Andrei Dinu [Fri, 24 Aug 2012 09:15:34 +0000 (12:15 +0300)]
dhcp : upgrade to 4.2.4-P1

(From OE-Core rev: 5f68e2c4fb746ff798f9747776cc1f7620fb39dd)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosubversion: update to 1.7.6
Marcin Juszkiewicz [Wed, 22 Aug 2012 20:25:04 +0000 (22:25 +0200)]
subversion: update to 1.7.6

Dropped --without-apache option as it does not exists.

Added patch from subversion-users ML to not build mod_dontdothat.

(From OE-Core rev: c79fb25161b958b07fbfa965768754d51717d616)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: Move the KVM check after the MACHINE/KERNEL Checks
Saul Wold [Thu, 23 Aug 2012 20:45:21 +0000 (13:45 -0700)]
runqemu: Move the KVM check after the MACHINE/KERNEL Checks

The MACHINE/KERNEL Checks setup MACHINE is it's unset, the KVM checks valid
MACHINE is qemux86 or qemux86-64 and fail if it's unset!

[YOCTO #2970]

(From OE-Core rev: 8d5e6999caff50a4b7d9a9ba69f9875285270459)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Update SRCREV for beta build
Saul Wold [Fri, 24 Aug 2012 17:45:35 +0000 (10:45 -0700)]
build-appliance-image: Update SRCREV for beta build

(From OE-Core rev: 1c4d7a04ff47c5b5e6fa4f689f60f7178192873b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotask-core-lsb: Don't pull in eglibc-pic via RDEPENDS
Andy Ross [Tue, 14 Aug 2012 22:44:22 +0000 (15:44 -0700)]
task-core-lsb: Don't pull in eglibc-pic via RDEPENDS

The task-core-lsb-runtime-add subpackage includes eglibc-pic as an
RDEPEND.  That's incorrect, eglibc-pic is nothing but 22MB of static
libraries and should never appear as a runtime dependency.

(From OE-Core rev: 79545d068659c943ac9aa925a7da0eee82207b8b)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcap: fetch from Debian
Marcin Juszkiewicz [Thu, 23 Aug 2012 07:24:29 +0000 (09:24 +0200)]
libcap: fetch from Debian

Original location was kernel.org and it was not restored after server
was hacked.

(From OE-Core rev: 149b8bebe21ebf2f126d3ab2a21c036c556a63c7)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Add vmx* files and build zip file
Saul Wold [Thu, 23 Aug 2012 18:45:14 +0000 (11:45 -0700)]
build-appliance-image: Add vmx* files and build zip file

This commit adds the vmx* files needed to setup a VMware image,
this also packages the vmdk along with the vmx files.

(From OE-Core rev: 968cfc0b630fb409430a46b1512d6bf0de225ad1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance-image: Update SRCREV to Denzil 1.2.1
Saul Wold [Thu, 23 Aug 2012 18:16:05 +0000 (11:16 -0700)]
build-appliance-image: Update SRCREV to Denzil 1.2.1

(From OE-Core rev: 3aeb67524cecfe4890fb8e76d75a82ed037c65f0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoiputils: chmod in pkg_postinst are redundant
Saul Wold [Thu, 23 Aug 2012 18:33:18 +0000 (11:33 -0700)]
iputils: chmod in pkg_postinst are redundant

With pseudo the cmod in pkg_postinst is actaully redundant since
the do_install uses install -m 4555 and pseudo is able to track that
between the install time and the rootfs package installation, so the
perms are correct.

[YOCTO #2894]

(From OE-Core rev: a2bc81032c85548f7c72dc76e6020ab4df9af6de)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomc: upgrade to 4.8.4
Andrei Dinu [Thu, 23 Aug 2012 11:14:18 +0000 (14:14 +0300)]
mc: upgrade to 4.8.4

(From OE-Core rev: 2c57834687d9cc1c2f14d701e5f35e5b7c779aad)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus-glib: upgrade to 0.100
Constantin Musca [Thu, 23 Aug 2012 11:45:02 +0000 (14:45 +0300)]
dbus-glib: upgrade to 0.100

test-service-glib-include-glib-only.patch: removed
- no more compiling errors

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibnfsidmap: upgrade to 0.25
Constantin Musca [Thu, 23 Aug 2012 11:45:01 +0000 (14:45 +0300)]
libnfsidmap: upgrade to 0.25

fix-ac-prereq.patch: adapted to the new version

(From OE-Core rev: fdd9df341f47ef03ea9cb319205d75418c94cd01)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofoomatic-filters: upgrade to 4.0.17
Constantin Musca [Thu, 23 Aug 2012 11:45:00 +0000 (14:45 +0300)]
foomatic-filters: upgrade to 4.0.17

(From OE-Core rev: ff64550810754f9f061015507719e3082272cbb3)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotelepathy-idle: upgrade to 0.1.12
Constantin Musca [Thu, 23 Aug 2012 06:13:11 +0000 (09:13 +0300)]
telepathy-idle: upgrade to 0.1.12

Add patch for fixing the _gen/svc-gtk-doc.h target in
the makefiles.

(From OE-Core rev: a39cad99a95dd5e31213e4661304f515dc48628d)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotelepathy-glib: update to 0.19.6
Constantin Musca [Thu, 23 Aug 2012 06:13:10 +0000 (09:13 +0300)]
telepathy-glib: update to 0.19.6

The 0001-Fix-a-race-in-_gen-reentrant-methods.list patch is
included in the 0.19.6 version.

(From OE-Core rev: 712c365bf745de3fe927fcc24da505009d17a3e5)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistutils/steuptools: Fix files layout and unbreak builds
Richard Purdie [Fri, 24 Aug 2012 16:12:39 +0000 (16:12 +0000)]
distutils/steuptools: Fix files layout and unbreak builds

The last two distutils changes progressivly broke the builds. Firstly they
moved things from the site_packages directory to being higher up the tree
which introduced package QA warnings as a side effect. Secondly, it interacts
badly with setuptools which passes in --root=${D} itself.

This patch restores the original directory layout, hence fixing the QA
warnings and also passes extra options to setuptools to deal with the
--root option it passes.

(From OE-Core rev: bed18d5df7915e4127a538be9c7550e185c8c850)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomutter: Explictly disable libcanberra
Richard Purdie [Fri, 24 Aug 2012 15:23:50 +0000 (15:23 +0000)]
mutter: Explictly disable libcanberra

Its not listed in DEPENDS, this ensures build reproducibility.

(From OE-Core rev: a6029573fba6badc077486f2e3eab8df46e455ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.7: Add fix for libtool rpath problems
Richard Purdie [Fri, 24 Aug 2012 14:10:59 +0000 (14:10 +0000)]
gcc-4.7: Add fix for libtool rpath problems

This avoids problems with libstdc++ having bad rpaths (/usr/lib/../.lib)
in its .la file. See the patch for more information.

(From OE-Core rev: bd27e81f1fa49e2770da9a4a65a83e9d4c3a0dd0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtool: update rpath normalization to use builtin
Andy Ross [Thu, 23 Aug 2012 17:32:30 +0000 (17:32 +0000)]
libtool: update rpath normalization to use builtin

Use the built-in normalization function instead of the sed hack.

(From OE-Core rev: ba8263e5dc520f5024fc76d8bd2e10fe0564b0e2)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agold: -rpath must search under sysroot
Andy Ross [Thu, 23 Aug 2012 17:32:31 +0000 (17:32 +0000)]
ld: -rpath must search under sysroot

The -rpath argument would search the host filesystem for libraries,
even when a sysroot was defined.  For cross toolchains with targets
compatible with the host architecture this can find incorrect
libraries.  Leave -rpath-link unmodified, as build systems in the wild
are already using this to point to host directories.

[YOCTO #2965]

(From OE-Core rev: bccea580f1abb762d231f785a4e60c9cd368dcdf)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxev: Add missing dependencies on libxrandr and xproto
Richard Purdie [Thu, 23 Aug 2012 14:15:27 +0000 (14:15 +0000)]
xev: Add missing dependencies on libxrandr and xproto

(From OE-Core rev: dd56ca611671233b8eec78aaa7e24b232654bc92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternal-python-tarball: Blacklist recipe if ipk is not in the PACKAGE_CLASSES list
Saul Wold [Wed, 22 Aug 2012 20:54:04 +0000 (20:54 +0000)]
external-python-tarball: Blacklist recipe if ipk is not in the PACKAGE_CLASSES list

This is needed because ipk tools and variables (specically
IPKGCONF_TARGET and IPKGCONF_SDK) are used from the rootfs_ipk.bbclass

I tried to inherit directly but it still fails to expand those.

[YOCTO #2814]

(From OE-Core rev: 161043782682cccd2efc2b349e8248ae084857c7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibiconv: skip recipe if using eglibc
Paul Eggleton [Mon, 20 Aug 2012 13:20:41 +0000 (14:20 +0100)]
libiconv: skip recipe if using eglibc

libiconv is provided for use with uClibc - if you build it together with
eglibc (which already PROVIDES virtual/libiconv) you can end up with
dependency problems during do_rootfs.

(From OE-Core rev: f3e2ccff952f148522a09c09e0dea92e59bab5b6)

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>
11 years agocups: disable pdftops
Saul Wold [Wed, 22 Aug 2012 20:32:18 +0000 (13:32 -0700)]
cups: disable pdftops

This ensure a reliable built without host contamination, this
will also disable the usage of ghostscript.

[YOCTO #2966]

(From OE-Core rev: 90bccaa290d2bc04c7ea1bbeb2cddb3509d0d380)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotask-base: pull in the bluez asound module when appropriate
Christopher Larson [Tue, 21 Aug 2012 18:10:00 +0000 (11:10 -0700)]
task-base: pull in the bluez asound module when appropriate

If the machine and distro both want alsa, then have task-base-bluetooth pull
in the libasound-module-bluez package.

(From OE-Core rev: 4d7b8da48a1df57bf8e08eff368564f7b47a5222)

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>
11 years agobusybox: Upgrade to upstream 1.20.2
Radu Moisan [Wed, 22 Aug 2012 09:22:22 +0000 (12:22 +0300)]
busybox: Upgrade to upstream 1.20.2

Updated defconfig file from generated .config
Disabled CONFIG_LSOF,CONFIG_CROSS_COMPILER_PREFIX, and CONFIG_EXTRA_CFLAGS
for backwards compatibility.
Added busybox-1.20.2-kernel_ver.patch from upstream.

(From OE-Core rev: e5f2cc805509a23e160c6f05e6776d6d32e3ce98)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub-efi-native: Update to version 2.00
Radu Moisan [Tue, 21 Aug 2012 11:48:38 +0000 (14:48 +0300)]
grub-efi-native: Update to version 2.00

Added -Wno-unused-result because of a read() with no result, and causing
error due to -Werror
Updated grub recipe because of a patch name change
Removed unnecessary patches (merged upstream).

(From OE-Core rev: 88cd5d99918a896f515e8bb59b7238f3ad50adff)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogrub: Update to upstream stable 2.00
Radu Moisan [Tue, 21 Aug 2012 11:34:25 +0000 (14:34 +0300)]
grub: Update to upstream stable 2.00

Removed unnecessary patches (merged upstream).

(From OE-Core rev: d888f50d5cfdf5b3881f81c26f0349ef41c06197)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/combo-layer: specify branch when getting current revision
Paul Eggleton [Tue, 21 Aug 2012 13:17:10 +0000 (14:17 +0100)]
scripts/combo-layer: specify branch when getting current revision

Handle the case during update where the configured branch is not
currently checked out in the component repository by just specifying
it in the places where it was not previously.

(From OE-Core rev: a3ddf39af7e7cd47156677d8ae753964ee582745)

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>
11 years agogrub-1.99: Add flex-native to DEPENDS
Xin Ouyang [Mon, 20 Aug 2012 19:36:46 +0000 (14:36 -0500)]
grub-1.99: Add flex-native to DEPENDS

[YOCTO #2916]

On some systems the host version of flex may be too old to work properly,
instead we depend on flex-native to ensure that we have the proper version
available to us.  (Flex version 2.5.35 or newer is requried.)

(From OE-Core rev: b53b4c4d6dad745b2eb0ab804f7975146a81aedf)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Clarified commit message

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-2.15: Delete
Khem Raj [Wed, 22 Aug 2012 17:59:50 +0000 (10:59 -0700)]
eglibc-2.15: Delete

eglibc 2.15 is not buildable with current toolchain build sequence
and is not used as default on OE-Core. So lets remove it.

(From OE-Core rev: d8c47eeb09d1bc2a6a7a335cc94658f6bdfe4026)

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>
11 years agolinux-yocto: Remove parens from COMPATIBLE_MACHINE regexp
Khem Raj [Wed, 22 Aug 2012 17:59:48 +0000 (10:59 -0700)]
linux-yocto: Remove parens from COMPATIBLE_MACHINE regexp

This helps in appending to this regexp from bbappends
coming from other layers who want to leverage linux-yocto
with minimum tweaks by using a standard prefefined machine
from linux-yocto

(From OE-Core rev: 32ba716e71fb7a16f13c83ab6c8cc51de56b3be2)

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>
11 years agorunqemu: Honor KERNEL and ROOTFS settings from environment
Khem Raj [Wed, 22 Aug 2012 17:59:47 +0000 (10:59 -0700)]
runqemu: Honor KERNEL and ROOTFS settings from environment

Expand the usage to be able to specify KERNEL and ROOTFS
on commandline. This helps in using the script for booting
images that are essentially not part of OE-Core

(From OE-Core rev: c985b02130658dd64581ecf14b16e2c70d1d8db5)

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>
11 years agomesa: clean up PACKAGECONFIG
Ross Burton [Mon, 20 Aug 2012 10:25:18 +0000 (11:25 +0100)]
mesa: clean up PACKAGECONFIG

Use machine overrides instead of machine features.

(From OE-Core rev: 821a38d71d7e15f5871f44a3ee08268d05ef610e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: ast: Store anonymous python function contents in the datstore
Richard Purdie [Wed, 22 Aug 2012 19:01:55 +0000 (20:01 +0100)]
bitbake: ast: Store anonymous python function contents in the datstore

This is useful if we need to disable part of one during a backtrace
for debugging purposes.

(Bitbake rev: 80a0c1b06a30a6ba9977c29fac0437a208d8cbbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: ast: Extract text variable in PythonMethodNode
Richard Purdie [Wed, 22 Aug 2012 12:54:47 +0000 (13:54 +0100)]
bitbake: ast: Extract text variable in PythonMethodNode

(Bitbake rev: 2e98f740b4a57a3467b1a00b1ebc1aaee33a8ff0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: ast: Rename PythonMethodNode define variable to modulename
Richard Purdie [Wed, 22 Aug 2012 12:54:01 +0000 (13:54 +0100)]
bitbake: ast: Rename PythonMethodNode define variable to modulename

It was hard for me to understand what the define variable was, modulename
is hopefully a bit better.

(Bitbake rev: 79f9f46319de85f85613ebe248c327f5852225ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: methodpool: Clean up the parsed module list handling to be slightly less...
Richard Purdie [Wed, 22 Aug 2012 12:53:11 +0000 (13:53 +0100)]
bitbake: methodpool: Clean up the parsed module list handling to be slightly less insane

This removes some dubious functions and replaces them with a simpler, cleaner
API which better describes what the code is doing. Unused code/variables are
removed and comments tweaked.

(Bitbake rev: f1e943aebfb84e98253f3f21646d6765c4fa1d66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: methodpool: Remove unused check_insert_method function
Richard Purdie [Wed, 22 Aug 2012 12:52:24 +0000 (13:52 +0100)]
bitbake: methodpool: Remove unused check_insert_method function

(Bitbake rev: 4664333e55ffc9d618f2c2f074200923209fd6c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Add explict handling of BBHandledException for parsing failures
Richard Purdie [Wed, 22 Aug 2012 21:40:14 +0000 (22:40 +0100)]
bitbake: cooker: Add explict handling of BBHandledException for parsing failures

This removes some unnecessary tracebacks

(Bitbake rev: db0ff7b4d47fce8322dd2350a2b1a6f60ef61d25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Ensure parsing failures stop the build
Richard Purdie [Wed, 22 Aug 2012 19:33:39 +0000 (20:33 +0100)]
bitbake: cooker: Ensure parsing failures stop the build

Currently parsing failures still allow bitbake to continue on and try
and execute a build. This is clearly a bad idea and this patch adds in
more correct error handling and stops the build.

The use of sys.exit is nasty but this patches other usage in this function
so is at least consisent and its better than the current situation of
trying to execure a half parsed set of recipes. There are probably better
ways this could be improved to use to stop the build.

(Bitbake rev: 22756e9c0f1da33ba2c6e881b214577a610b7986)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: utils.py: Once we've printed errors messages, suppress the backtrace
Richard Purdie [Wed, 22 Aug 2012 19:02:39 +0000 (20:02 +0100)]
bitbake: utils.py: Once we've printed errors messages, suppress the backtrace

Adding a generic backtrace to better_compile and better_exec is pointless,
therefore reraise the exception as a bb.BBHandledException so the
generic code doesn't confuse the user even more.

(Bitbake rev: b3d97130e1e70fe969399277dcd7cccd888103d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: utils.py: Try harder to extract good traceback information by querying the...
Richard Purdie [Wed, 22 Aug 2012 19:01:12 +0000 (20:01 +0100)]
bitbake: utils.py: Try harder to extract good traceback information by querying the datastore

Currently as soon as execution passes outside the code fragment being
executed by better_exec, we don't get any good traceback information,
just a likely obscure reference to some function name which may
or may not be identifiable.

This patch adds code to query the datastore if present, allowing a more
meaningful back trace to be displayed in many cases.

[YOCTO #2981]

(Bitbake rev: 0edf8431f9ff52581afe0d3ef525c59909af02ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: fix traceback when using -b with skipped recipe
Paul Eggleton [Wed, 22 Aug 2012 15:14:38 +0000 (16:14 +0100)]
bitbake: cooker: fix traceback when using -b with skipped recipe

If a recipe is skipped during parsing for whatever reason, check and
report this as an error rather than trying to use the data that is sent
back and failing.

Fixes [YOCTO #2976].

(Bitbake rev: a324df40243fa55ccc89fd5970d46f25330d0a0d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogmp-4.2.1: Set CC_FOR_BUILD to ensure the host system compiler is used, not the targe...
Richard Purdie [Wed, 22 Aug 2012 18:30:22 +0000 (19:30 +0100)]
gmp-4.2.1: Set CC_FOR_BUILD to ensure the host system compiler is used, not the target one

This addresses errors like:

| NOTE: make -j 16
| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fac_ui.c' || echo './'`gen-fac_ui.c -o gen-fac_ui
| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib
| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-bases.c' || echo './'`gen-bases.c -o gen-bases -lm
| i586-poky-linux-gcc  -m32   -march=i586 --sysroot=/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/qemux86 `test -f 'gen-psqr.c' || echo './'`gen-psqr.c -o gen-psqr -lm
| ./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
| ./gen-bases header 32 0 >mp_bases.h || (rm -f mp_bases.h; exit 1)
| ./gen-bases table 32 0 >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
| ./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1)
| ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
| ./gen-bases: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
| ./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
| make: *** [mp_bases.h] Error 1

and matches the fix for the other gmp version.

[YOCTO #2992]

(From OE-Core rev: 24d31cd30080401271936422e6bd77727a16e0a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtool: normalize link paths before considering for RPATH
Andy Ross [Fri, 17 Aug 2012 15:53:11 +0000 (08:53 -0700)]
libtool: normalize link paths before considering for RPATH

Libtool may be passed link paths of the form "/usr/lib/../lib", which fool
its detection code into thinking it should be included as an RPATH in
the generated binary.  Normalize before comparision.

(From OE-Core rev: e3b0925f4c861393e436deb6b1912f9f1f325d1e)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodistutils.bblass: change order of args to install step
Matthew McClintock [Tue, 21 Aug 2012 18:44:21 +0000 (13:44 -0500)]
distutils.bblass: change order of args to install step

This let's the user override install-lib argument again if it needs
to be something else, otherwise things like python-setuptools
won't be able to modify the install-lib dir

This fixes a new issue exposed by my previous distutils patch
that fixed the python modules default install location. Also,
it removes running the install step twice which was inadvertant

(From OE-Core rev: 3b23feca31480cc56f55301fd0274e622c40b522)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoREADME: Clarify where to send patches
Darren Hart [Tue, 21 Aug 2012 16:27:16 +0000 (09:27 -0700)]
README: Clarify where to send patches

There is still a great deal of confusion over where patches for the
various components of the poky repository should be sent. Attempt to
mitigate this by including a blurb in the poky README similar to what
other layers and repositories do.

V2: Call out the special care required when dealing with the scripts
    directory per Saul Wold's recommendation.

V3: Recommend applying patches to oe-core prior to sending patches to
    the oe-core mailing list.

(From meta-yocto rev: d2747240e75ca0d43f569161694799c3d5d23014)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Richard Purdie <richard.purdie@intel.com>
CC: Paul Gortmaker <paul.gortmaker@windriver.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconf/bitbake.conf: allow cache reuse between bitbake, bitbake-layers and hob
Paul Eggleton [Tue, 21 Aug 2012 17:08:29 +0000 (18:08 +0100)]
conf/bitbake.conf: allow cache reuse between bitbake, bitbake-layers and hob

BB_ENV_EXTRAWHITE is set by the bitbake wrapper script but not by
bitbake-layers, and thus it was affecting the data hash and thus
invalidating the cache. Any variables passed through from the
environment by being added to this variable should themselves
influence the hash already if they are not already excluded from,
the data hash, so BB_ENV_EXTRAWHITE can be excluded.

Similarly, DISABLE_SANITY_CHECKS is set by the hob script in order to
have sanity checks run later, but not set by the bitbake wrapper script.
It doesn't actually affect the build itself and so its value can also
be excluded from the data hash.

These changes prevent unnecessary reparsing between executions of
bitbake, bitbake-layers, and the initial pseudo build within the hob
script.

Fixes [YOCTO #2680].

(From OE-Core rev: 84bcacd5b4737520f0fc76333f0165ef5b87c207)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: bump PR
Martin Jansa [Tue, 21 Aug 2012 18:33:35 +0000 (20:33 +0200)]
gcc: bump PR

* missing in 30617bde61a3b0a0944b49a0c9fb7159dacbb19f, eglibc-initial fails to compile in incremental build with OEBasic

(From OE-Core rev: 495ccece87b56d696e92c5cdc39b79fd9813caa0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: event/ast: Use better_exec instead of simple_exec
Richard Purdie [Tue, 21 Aug 2012 16:25:07 +0000 (16:25 +0000)]
bitbake: event/ast: Use better_exec instead of simple_exec

This improves the stacktraces dumped by bitbake when for example anonymous
python functions fail.

Also default to passing code strings to better_exec to match the behaviour of
simple_exec to aid the transition.

(Bitbake rev: 7e8205929ae953731a6854ea80b197847cff5771)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: ui: Improve error message if bitbake cannot import python curses module
Konrad Scherer [Tue, 21 Aug 2012 21:05:58 +0000 (16:05 -0500)]
bitbake: ui: Improve error message if bitbake cannot import python curses module

On some SuSE systems, the curses python module is not installed by default.
Instead of a python failure, we want a nicer error message.

(On SuSE systems the package is typically python-curses.)

(Bitbake rev: 65a5845ac942d0aa6838c295e41b656f9d2a98bb)

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Reword commit message, rebase to latest bitbake.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: use parsable title for show-appends
Paul Eggleton [Tue, 21 Aug 2012 17:11:47 +0000 (18:11 +0100)]
bitbake: bitbake-layers: use parsable title for show-appends

Print title text surrounded by === as we do with other subcommands so
that you can filter it out in scripts. (You will also want to filter out
lines starting with "WARNING:" if you just want the list).

(Bitbake rev: ba15ba16a5d863886bcfd5b3f0bdfff2a6de11a0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: avoid full parse for show-layers subcommand
Paul Eggleton [Tue, 21 Aug 2012 17:11:46 +0000 (18:11 +0100)]
bitbake: bitbake-layers: avoid full parse for show-layers subcommand

We don't actually need to parse all recipes just to show the configured
layers, so just parse the configuration instead.

(Bitbake rev: 406477cbae066b6379873e266cb79801e545a61c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake/cooker: minor refactor of parseConfiguration()
Paul Eggleton [Tue, 21 Aug 2012 17:11:45 +0000 (18:11 +0100)]
bitbake: bitbake/cooker: minor refactor of parseConfiguration()

All calls to parseConfiguration set self.status and call
self.handleCollections() afterwards, so just do this inside
parseConfiguration() itself.

(Bitbake rev: 3c2322d8a6ce15e20adb07a61aa321d884a9bcca)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: data_smart: skip all interal (underscored) flags in getVarFlags
Ross Burton [Tue, 21 Aug 2012 16:16:26 +0000 (17:16 +0100)]
bitbake: data_smart: skip all interal (underscored) flags in getVarFlags

(Bitbake rev: 9f631e29a2eebb96a8291839dd8b39aa9126a10e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: data-smart: rename the 'content' internal variable to '_content'
Ross Burton [Tue, 21 Aug 2012 16:16:25 +0000 (17:16 +0100)]
bitbake: data-smart: rename the 'content' internal variable to '_content'

(Bitbake rev: 684cf09aed09ec82c8afb99895f92d73cd0519df)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Hob wizard-like reorganization
Cristian Iorga [Tue, 21 Aug 2012 15:21:23 +0000 (18:21 +0300)]
bitbake: Hob wizard-like reorganization

Hob is now more context-sensitive regarding
user changes/options. Also, the workflow have been
streamlined and resembles more of a wizard.
Beautified some hardcoded values.
Fixed typo.
New streamlined Image Configuration page.
Build and/or Edit image buttons presence
is context sensitive.
Recipes and packages tabs selected automatically
based on custom image or pre-defined target image
(included or all).
Context sensitive Back button.

Fixes [YOCTO 2165]

(Bitbake rev: b48cd7dcf57b1abc8c5b46ced11d4f57bf06e557)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: hob: create console log directory before writing
Paul Eggleton [Tue, 21 Aug 2012 15:07:37 +0000 (16:07 +0100)]
bitbake: bitbake: hob: create console log directory before writing

The default value of BB_CONSOLELOG in OE-Core now points to a directory
that might not exist prior to the first build, so ensure it is created
first.

(Bitbake rev: 660821769b9dfb89086291ffc835e9b5444509be)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/package: document do_packages_split arguments
Paul Eggleton [Wed, 22 Aug 2012 10:53:06 +0000 (11:53 +0100)]
classes/package: document do_packages_split arguments

This function takes quite a number of arguments and can be tricky to use
properly; this is not made easier if it is undocumented, so document all
of the arguments. (No functional changes, comments only.)

(From OE-Core rev: 324fbcc047819b6948d13eda627ec898cb1f1eb8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross-intermediate, gcc-crosssdk-intermediate: Remove
Khem Raj [Thu, 16 Aug 2012 06:42:00 +0000 (23:42 -0700)]
gcc-cross-intermediate, gcc-crosssdk-intermediate: Remove

These recipes arent used anymore so delete them

(From OE-Core rev: 4ef8960c8d2876914bb78cbdce5fae3c5297e942)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-crosssdk-initial_4.7.bb: Add --with-native-system-header-dir to EXTRA_OECONF
Khem Raj [Thu, 16 Aug 2012 06:40:47 +0000 (23:40 -0700)]
gcc-crosssdk-initial_4.7.bb: Add --with-native-system-header-dir to EXTRA_OECONF

gcc-crosssdk-intermediate will go away and -initial will
assume its responsibility therefore transfer the option

(From OE-Core rev: 7f6883b225f9a0fdc44be2d1cb66ddc744174fbc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouclibc: Use gcc-cross-initial as staging compiler
Khem Raj [Thu, 16 Aug 2012 06:21:04 +0000 (23:21 -0700)]
uclibc: Use gcc-cross-initial as staging compiler

Do not build fake shared libraries during uclibc-initial phase

Let uclibc depend on gcc-cross-initial instead of gcc-cross-intermediate
thereby set stage to remove gcc-cross-intermediate

Let uclibc depend on uclibc-initial so that boostrap sysroot
gets populated properly

(From OE-Core rev: b954c2d7cd978adc059d672425c197eaaf57e852)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouclibc.inc,uclibc-config.inc: Untabify python snippets
Khem Raj [Thu, 16 Aug 2012 06:18:55 +0000 (23:18 -0700)]
uclibc.inc,uclibc-config.inc: Untabify python snippets

To appease bitbake

(From OE-Core rev: cf975073a11c93f4a9fb5bdd72c16dc0ca9c3c54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: Fix eglibc-initial and let eglibc depend on it
Khem Raj [Thu, 16 Aug 2012 06:16:11 +0000 (23:16 -0700)]
eglibc: Fix eglibc-initial and let eglibc depend on it

eglibc-initial does not need to install fake shared libs
anymore so drop it.

eglibc now should depend on eglibc-initial so that bootstrap
sysroot gets populated properly.

Drop references to gcc intermediate from glibc testing
scripts.

(From OE-Core rev: bddc141e7cec18744902787ab53c21bf28e71f78)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross: Make gcc-cross-initial as the only intermediate gcc stage
Khem Raj [Thu, 16 Aug 2012 06:12:51 +0000 (23:12 -0700)]
gcc-cross: Make gcc-cross-initial as the only intermediate gcc stage

Now glibc can be compiled with gcc-cross-initial therefore prepare
the stage to drop gcc-cross-intermediate

Also drop arm-nolibfloat.patch should not be needed anymore
half of changes in this patch are meant for OABI which we dont
use anymore

(From OE-Core rev: 30617bde61a3b0a0944b49a0c9fb7159dacbb19f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-2.16: Update to top of 2.16 branch
Khem Raj [Wed, 8 Aug 2012 14:50:58 +0000 (07:50 -0700)]
eglibc-2.16: Update to top of 2.16 branch

Some translations and tst-gettext fixes

(From OE-Core rev: 0ad2bde39f03531cbef114253d566a36525399df)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-2.16: Remove build dependency on libgcc_s and libgcc_eh
Khem Raj [Thu, 16 Aug 2012 06:09:00 +0000 (23:09 -0700)]
eglibc-2.16: Remove build dependency on libgcc_s and libgcc_eh

This patch backports two patches from glibc trunk essentially
dropping the requirements to have libgcc_s and libgcc_eh
this will simplify the toolchain bootstrap sequence.

(From OE-Core rev: 9591c93c20af236fdc1a99b548435b6df75af497)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocoreutils: fix to build with acl support
Jackie Huang [Tue, 21 Aug 2012 07:43:00 +0000 (15:43 +0800)]
coreutils: fix to build with acl support

Fix the issue that coreutils was built without acl support:

configure: WARNING: libacl development library was not found or not usable.
configure: WARNING: GNU coreutils will be built without ACL support.

which will cause ls and cp commands don't have the ACL related behaviors:
ls -l: no plus sign(+) after the permission string for files that have ACL
cp -p: can not preserves the ACLs.

[YOCTO #2959]

(From OE-Core rev: b30ef39cc26dd0b6ed08bd2b1a6394de6b540720)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm.bbclass: fix and enhance the incremental rpm generation
Robert Yang [Tue, 21 Aug 2012 06:48:48 +0000 (14:48 +0800)]
package_rpm.bbclass: fix and enhance the incremental rpm generation

The incremental rpm generation usually broke when package_rpm.bbclass
changed, change its implementation to make it more stable:

* It depended on the previous and current saved manifest files in
  the past, it would break when the manifest changed. Now query the
  previous and current installed pkgs from rootfs/var/lib and
  rootfs/install/, this would be more reliable, the manifest's change
  would not affect it any more.

* Add explanations before package_install_internal_rpm to explain what
  does the function do.

* Remove an unwanted "awk '{print $1}'".

[YOCTO #2906]

(From OE-Core rev: 5d8ca498e09438bd91654fa8b8b2c970956d88e3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane.bbclass: Fix RPATH warning in the face of funny path strings
Andy Ross [Mon, 20 Aug 2012 21:05:58 +0000 (14:05 -0700)]
insane.bbclass: Fix RPATH warning in the face of funny path strings

In toolchain edge cases it's possible for the RPATH of a library to be
set to something like "/usr/lib/../lib".  This should be detected as
"/usr/lib" and generate a warning.

(From OE-Core rev: 72a924d0686389d648338efd3f675fc85ee2d181)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoformfactor: Clean up errors on machines without framebuffers
Richard Purdie [Mon, 20 Aug 2012 15:44:36 +0000 (16:44 +0100)]
formfactor: Clean up errors on machines without framebuffers

If fbset can't find a framebuffer we end up with a mess on the console.
We might as well avoid doing this on machines without a framebuffer.

(From OE-Core rev: f5c39ea822b440ae4bdd38be94fcf8a2814d2229)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa/classes: Various python whitespace fixes
Richard Purdie [Mon, 20 Aug 2012 16:52:21 +0000 (16:52 +0000)]
meta/classes: Various python whitespace fixes

It was pointed out we have a number of weird indentations in the python functions.
This patch cleans up 3, 7 and other weird indentations for the core bbclass files.

It also fixes some wierd (odd) shell function indentation which my searches picked up.

(From OE-Core rev: 8385d6d74624000d68814f4e3266d47bc8885942)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu: Fix broken accidental path move
Richard Purdie [Mon, 20 Aug 2012 16:25:21 +0000 (17:25 +0100)]
qemu: Fix broken accidental path move

(From OE-Core rev: 04568d1f18250d531aad5d286157d2d559083520)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate-cache-management.sh: update for the SSTATE_MIRRORS
Robert Yang [Mon, 20 Aug 2012 08:29:46 +0000 (16:29 +0800)]
sstate-cache-management.sh: update for the SSTATE_MIRRORS

Several fixes:
* We have put the sstate file to SSTATE_DIR/??/ currently, but the
  sstate file on the SSTATE_MIRRORS or the obsolete one is still in
  SSTATE_DIR/ (no subdir), update the script to support manage them.

* Remove the related ".done" file in the SSTATE_DIR.

* Add a "-L, --follow-symlink" which will remove both the symbol link and
  the destination file

* Change the "ls -u file_list" (access time) to "ls -t file_list"
  (change tiem), since the "ls -u" and readlink will change the
  symlink's access time, which would make the result inconsistent.
  A solution is save the access time before every "ls -u" and "readlink",
  save it back after the command, but this would cause performance lost
  since it needs check each file and modify the symlink's status. Use
  the "-t" doesn't cause much different.

[YOCTO #2897]

(From OE-Core rev: 209ec08787981345a7f62b10a8a5c2ace0887c8e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/sanity: remove texi2html from required host utilities
Paul Eggleton [Mon, 20 Aug 2012 08:47:56 +0000 (09:47 +0100)]
classes/sanity: remove texi2html from required host utilities

texi2html is not actually required to build world of OE-Core anymore,
so we don't need to mandate it. The only difference without it (verified
with buildhistory) is that groff doesn't produce HTML documentation; the
rest of its docs are still produced and packaged and no other packages
are affected.

Part of the work towards [YOCTO #2423].

(From OE-Core rev: aa1c4519f8e549b43a7d8bc51c5342d3409b464b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Preserve generated headers only if they exist
Martin Jansa [Mon, 20 Aug 2012 11:19:44 +0000 (13:19 +0200)]
kernel.bbclass: Preserve generated headers only if they exist

* I have 2.6.37 kernel without this directory and do_install now fails
  after 813256bf7bb6e26d542d5f769e2802564116ebe5

(From OE-Core rev: 9a83afe0794e96590aee374555efea91b3085b91)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/runqueue-internal: Drop enable-gl option
Richard Purdie [Mon, 20 Aug 2012 15:07:13 +0000 (15:07 +0000)]
scripts/runqueue-internal: Drop enable-gl option

This is no longer necessary since we've dropped the GL passthrough patches.

(From OE-Core rev: b6bc580f1cf56c2e771e87dfeadbb1e5d8416fce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu-git: Drop GL passthrough support
Richard Purdie [Mon, 20 Aug 2012 11:23:22 +0000 (11:23 +0000)]
qemu-git: Drop GL passthrough support

These patches are a maintenance nightmare and impacting our abaility to
keep up to date with qemu. They are also a source of various bugs.

Remove them until someone is willing to step up and maintain them,
or upstream gains GL support.

(From OE-Core rev: 30af78f0db16b9f51666341c9dad0123ccf8ac85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu-0.15: Drop GL passthrough support
Richard Purdie [Mon, 20 Aug 2012 11:20:12 +0000 (11:20 +0000)]
qemu-0.15: Drop GL passthrough support

These patches are a maintenance nightmare and impacting our abaility to
keep up to date with qemu. They are also a source of various bugs.

Remove them until someone is willing to step up and maintain them,
or upstream gains GL support.

(From OE-Core rev: e9a6df98458d9147227659d3888eff01589f2f76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: Fix missing DESTDIR for a mkdir causing build failures
Richard Purdie [Sun, 19 Aug 2012 12:30:07 +0000 (12:30 +0000)]
libpam: Fix missing DESTDIR for a mkdir causing build failures

(From OE-Core rev: c39e823138cbf4210e17bdb95ca322ec0a6c8f78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorandrproto: upgrade to 1.4.0
Constantin Musca [Tue, 14 Aug 2012 12:50:27 +0000 (15:50 +0300)]
randrproto: upgrade to 1.4.0

License change due to addition of missing Copyright

(From OE-Core rev: 4e8df7f9a3f506d69c85b051cad3426fb1b18fb9)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoavahi: fix packaging of avahi-autoipd
Marc Reilly [Fri, 17 Aug 2012 00:10:35 +0000 (00:10 +0000)]
avahi: fix packaging of avahi-autoipd

- Avahi's "avahi-autoipd" file is in the dhcp/ folder, not dhcp3/
- udhcpc files were being installed but not being shipped in avahi-autoipd
- do_install override for avahi-autoipd was not being called and is not
  required, so join it into regular do_install.
- While at it, fixup string quoting in description.

This makes avahi-autoipd work with simple ifup/down scripts.

(From OE-Core rev: 172e663f1b00733cf956cb118d7a5e1a252c1671)

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxrandr: upgrade to 1.4.0
Constantin Musca [Fri, 17 Aug 2012 16:21:11 +0000 (19:21 +0300)]
libxrandr: upgrade to 1.4.0

Only some spaces changed in the license file.

(From OE-Core rev: a1c2330a514a8fa627c55678afb34aa724734a56)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpam: Update recipes from 1.1.5 -> 1.1.6
Khem Raj [Sat, 18 Aug 2012 04:56:41 +0000 (21:56 -0700)]
libpam: Update recipes from 1.1.5 -> 1.1.6

Drop include-sys-resource.patch already fixed upstream
LIC_FILE_CHKSUM change is due to deletion of space in
COPYING file see
http://git.fedorahosted.org/cgit/linux-pam.git/commit/COPYING?id=1814aec611a5f9e03eceee81237ad3a3f51c954a

(From OE-Core rev: 619092b699bfd79e060755fa41645cac7ac4fd0d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agounifdef-native: Correct LICENSE
Khem Raj [Sun, 19 Aug 2012 00:48:15 +0000 (17:48 -0700)]
unifdef-native: Correct LICENSE

The header in sourcefile says its BSD licensed
not GPL therefore make the correction

(From OE-Core rev: 06bd5b3d10d479fce02cd1d5821faeb9afb4ebac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore: Prefer mesa-dri as virtual/libopengles1/2 provider
Damien Lespiau [Mon, 30 Jul 2012 13:51:14 +0000 (13:51 +0000)]
core: Prefer mesa-dri as virtual/libopengles1/2 provider

Wihtout it, you have both mesa-dri and mesa-xlib as providers. Let's
prefer the accelerated version.

(From meta-yocto rev: 13f847744aa842ef38b3f2adf3764425319b5507)

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>
11 years agolinux-yocto/3.0: update meta SRCREV
Bruce Ashfield [Sun, 19 Aug 2012 04:28:41 +0000 (00:28 -0400)]
linux-yocto/3.0: update meta SRCREV

Bumping the meta SRCREV to pickup this fix:

    meta: rename virto.scc to virtio.scc

    The virtio configuration block is misnamed. BSPs that include it with
    the proper name, now throw an error (as they should). So fixing the
    name of the fragment fixes the build.

(From OE-Core rev: c6b335099224d590109a8bcda22bf54c597c7eee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto-tiny: set default branch
Bruce Ashfield [Sun, 19 Aug 2012 04:18:19 +0000 (00:18 -0400)]
linux-yocto-tiny: set default branch

To streamline the creation of build time branches (branches that are
not always present in the upstream kernel repository), linux-yocto-tiny
should specify a default kernel branch. By setting the default branch
(KBRANCH_DEFAULT) and also setting the build branch (KBRANCH) to that
default, the tools will allow the board description to be processed
and no branching forced.

(From OE-Core rev: 07e422138b89e4f4a0cc911db70e2ce953b7623b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopseudo: Fix pseudo-native rebuild when triggered by dep change
Mark Hatle [Fri, 17 Aug 2012 21:24:52 +0000 (16:24 -0500)]
pseudo: Fix pseudo-native rebuild when triggered by dep change

When NO32LIBS = 0, building 32-bit version of pseudo-native and
building on a 64-bit host -- if the build was triggered by a
dependency change on something pseudo uses, the build could fail
due to left over files from the previous build.  Fix this by
ensuring we run make distclean (and ignoring any failure codes) to
ensure we start over.

(From OE-Core rev: 30ae7320265efe039730cd2faf7bd86a264412ed)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: work with yocto-bsp created kernel filenames
Scott Garman [Fri, 17 Aug 2012 17:54:40 +0000 (10:54 -0700)]
runqemu: work with yocto-bsp created kernel filenames

The yocto-bsp tool generates kernels with additional strings within
the filename, e.g. zImage-myqemuarm.bin. Loosen the MACHINE detection
regex to work with these filenames.

Fixes [YOCTO #2890].

(From OE-Core rev: 17d616adffc3514b6778acc6ab5d6da34a7366b5)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocross-localedef-native_2.16.bb: fix for CentOS 5.X
Matthew McClintock [Fri, 17 Aug 2012 17:54:07 +0000 (12:54 -0500)]
cross-localedef-native_2.16.bb: fix for CentOS 5.X

| gcc -isystem/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/include -isystem/home/mattsm/git/poky/build-master/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DNOT_IN_libc=1 -DNO_SYSCONF -DNO_UNCOMPRESS -DLOCALE_PATH='"/usr/local/lib/locale:/usr/local/share/i18n"' -DLOCALEDIR='"/usr/local/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/local/share/locale"' -DCHARMAP_PATH='"/usr/local/share/i18n/charmaps"' -DREPERTOIREMAP_PATH='"/usr/local/share/i18n/repertoiremaps"' -DLOCSRCDIR='"/usr/local/share/i18n/locales"' -DNOT_IN_libc -DIN_GLIBC_LOCALEDEF -Iglibc/locale/programs -I./include -Iglibc/locale -I. -I. -include ./include/always.h -Wall -Wno-format -c -o ld-address.o glibc/locale/programs/ld-address.c
| In file included from glibc/locale/programs/localedef.h:24,
|                  from glibc/locale/programs/ld-address.c:30:
| ./include/locale.h:6: error: conflicting types for 'locale_t'
| glibc/locale/xlocale.h:42: error: previous declaration of 'locale_t' was here
| make: *** [ld-address.o] Error 1
| ERROR: oe_runmake failed

(From OE-Core rev: 48a698bf97a47a346d5b7d79c2709301e98b4c2c)

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>
11 years agoconnman: upgrade to 1.4
Constantin Musca [Fri, 17 Aug 2012 16:10:46 +0000 (19:10 +0300)]
connman: upgrade to 1.4

The removed patch is included in connman 1.4.

(From OE-Core rev: a1f16a0f3a015628f3d2d02d980311537a3a2c00)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-fluendo-mpegdemux: upgrade to 0.10.71
Constantin Musca [Fri, 17 Aug 2012 15:46:11 +0000 (18:46 +0300)]
gst-fluendo-mpegdemux: upgrade to 0.10.71

(From OE-Core rev: dfd5d3a7112dc312606675cc3fca9783f58ae121)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-fluendo-mp3: upgrade to 0.10.19
Constantin Musca [Fri, 17 Aug 2012 16:03:11 +0000 (19:03 +0300)]
gst-fluendo-mp3: upgrade to 0.10.19

Only the copyright year has changed in the license file.

(From OE-Core rev: b7502532ba7bc5a14ccb2b9fe2b2752a3fa89bbc)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperf_3.4.bb: update to build against older kernels
Matthew McClintock [Fri, 17 Aug 2012 02:54:56 +0000 (21:54 -0500)]
perf_3.4.bb: update to build against older kernels

Removes a make install-python_ext when not present since
older versions of perf lack this install rule

This also fixes a library issue on older kernels building with
a newer toolchain where libaries that would previously be pulled
in are no longer. So we add them manually.

(From OE-Core rev: 70b17a893bd2e1bbba8ea16619b02a60e7c4b8d8)

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>