scm/bb/tizen-distro.git
11 years agobitbake: bitbake: remove stack trace depth limitation
Bogdan Marinescu [Tue, 23 Apr 2013 13:43:45 +0000 (16:43 +0300)]
bitbake: bitbake: remove stack trace depth limitation

In case of an error in bitbake, the stack trace is limited to 5
items. This is an endless source of confusion and it makes bugs
reports impractical, since a full stack trace can't be included
in the bug report. This patch simply removes the depth limit.

(Bitbake rev: 02629c42fb09413d9da16cfe43e03338ce7db3ff)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: data_smart.py: add some internal bitbake variables to configuration hash
Laurentiu Palcu [Fri, 3 May 2013 14:37:17 +0000 (17:37 +0300)]
bitbake: data_smart.py: add some internal bitbake variables to configuration hash

Take __BBTASKS, __BBHANDLERS and __BBANONFUNCS into account when
computing the configuration hash.

[YOCTO #4447]

(Bitbake rev: 260ced7452405fc43ce3d9dd6798236aa07cc716)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: prserv/cooker: Handle PRService errors cleanly
Richard Purdie [Thu, 2 May 2013 14:46:11 +0000 (15:46 +0100)]
bitbake: prserv/cooker: Handle PRService errors cleanly

Current if the PR Service fails to start, bitbake carries on regardless or
hangs with no error message. This adds an exception and then handles it correctly
so the UIs correctly handle the error and exit cleanly.

[YOCTO #4010]

(Bitbake rev: 949c01228a977c3b92bfc0802f6c71b40d8e05b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: goggle: fix invalid error check
Martin Donnelly [Thu, 25 Apr 2013 16:41:06 +0000 (17:41 +0100)]
bitbake: goggle: fix invalid error check

runCommand was returning 'error' but checking for 'err'
resulting in an exception.

(Bitbake rev: 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78)

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Update to version 1.19.0 for master
Richard Purdie [Wed, 10 Apr 2013 15:10:29 +0000 (16:10 +0100)]
bitbake: Update to version 1.19.0 for master

(Bitbake rev: c47088a86fd8ad06c1810d04d9537c4cd01e8bef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoia32-base.inc: remove inapropriate grub dependency
Tomas Frydrych [Sat, 27 Apr 2013 08:52:17 +0000 (09:52 +0100)]
ia32-base.inc: remove inapropriate grub dependency

There is no good reason for ia32 machines to have hard dependency on grub,
as there are other bootloaders available for ia32 platforms.

(From OE-Core rev: d03c0c24704c6ab6d2cfcf9bf705f6ace2a247cc)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodmidecode: Add dmidecode to dev tools
Darren Hart [Wed, 1 May 2013 21:16:31 +0000 (14:16 -0700)]
dmidecode: Add dmidecode to dev tools

Dmidecode reports information about your system's hardware as described
in your system BIOS according to the SMBIOS/DMI standard.

This recipe was updated to version 2.12 and cleaned up slightly from the
OE 2.10 version and proposed here for inclusion in oe-core.

(From OE-Core rev: 120495843118b55e865bb8d87933bd585fced992)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.7: fix gcc ICE when building with gcc-4.8
Josh Cartwright [Wed, 1 May 2013 21:07:12 +0000 (16:07 -0500)]
gcc-4.7: fix gcc ICE when building with gcc-4.8

Backport fix for internal compiler error when building gcc-4.7.2 with a
gcc-4.8.0 host gcc.

See upstream bug here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56308

(From OE-Core rev: b1dc91969f9bb0c2a3a4336f5e9a2f57aabb9f78)

Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofs-perms.txt: Don't tinker with file modes in /usr/src/debug
Phil Blundell [Thu, 2 May 2013 13:55:02 +0000 (14:55 +0100)]
fs-perms.txt: Don't tinker with file modes in /usr/src/debug

Since 6775feb9fe935ab01fd9cae2b2d3fce5824a9a72 our local "copy" of the
debug sources has in fact been hardlinked to ${S} and potentially other
places too.  This means that any modifications we make to these files
might have wider consequences than intended.

Avoid this potential pitfall by telling fixup_perms() to leave the file
modes in this directory alone.  No great harm will result from shipping
debug sources with a mode other than 0644: if the mode was permissive
enough for us to compile the sources in the first place then it must
also be permissive enough for subsequent debugging.

(From OE-Core rev: 91b02c65d83811738d4c0e4b7c454459430c8b9b)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-runtime: Avoid error when trying to remove nonexistent directories
Phil Blundell [Thu, 2 May 2013 12:19:25 +0000 (13:19 +0100)]
gcc-runtime: Avoid error when trying to remove nonexistent directories

If we didn't build libgomp then we won't have installed anything into
${infodir} or ${libdir}/gcc/${TARGET_SYS}/${BINV}/finclude.  Check
whether those directories exist before trying to remove them, else we
will lose.

(From OE-Core rev: 507e14ecdc5b4ff2ee7f1128d9f30c2948e10d5a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarchive-*-source.bbclass: have do_dumpdata_create_diff_gz task run before do_rootfs
Laurentiu Palcu [Fri, 3 May 2013 09:01:04 +0000 (12:01 +0300)]
archive-*-source.bbclass: have do_dumpdata_create_diff_gz task run before do_rootfs

do_rootfs[cleandirs] contains ${S} and, if do_rootfs task starts before
the do_dumpdata_create_diff_gz is finished, an error will occur in the
process because the directory will be removed while still needed by the
create_diff_gz() function.

This patch will force the do_dumpdata_create_diff_gz task to run before
do_rootfs when the final image is created.

[YOCTO #4310]

(From OE-Core rev: cd90be31571178d6822dba5a94a2795209a3576c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-demos: Use PACKAGECONFIG to enable/disable features
Otavio Salvador [Thu, 2 May 2013 15:28:04 +0000 (12:28 -0300)]
mesa-demos: Use PACKAGECONFIG to enable/disable features

This allow selection of following features:

 drm, egl, freetype2, gbm, gles1, gles2, glut, osmesa, vg, wayland, x11

The x11 features is enabled depending on distro features but the
wayland has not been enabled as it does not work with Wayland
1.0. Rest were enabled for a sane default.

(From OE-Core rev: dc2de313febfc817640e4e55c75d0cb21c70c0ba)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage_types: fix default location of kernel when generating elf images
Tomas Frydrych [Fri, 3 May 2013 12:18:11 +0000 (13:18 +0100)]
image_types: fix default location of kernel when generating elf images

Generation of elf images fails because kernel images are no longer staged under
${STAGING_DIR_HOST}/kernel, but rather ${STAGING_DIR_HOST}/usr/src/kernel. This
patch fixes the path to point to the correct location.

(From OE-Core rev: 6e57a3231fb29f869d476b8511d6f4393f82651b)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: Don't mark do_rootfs and do_build as nostamp
Phil Blundell [Fri, 3 May 2013 12:38:22 +0000 (13:38 +0100)]
image.bbclass: Don't mark do_rootfs and do_build as nostamp

When image.bbclass was first conceived (as rootfs_ipk.bbclass), oemake
was unable to figure out when the inputs to do_rootfs had changed in
such a way that it would need to be rerun.  Absent any reliable
information of this kind, it was necessary to adopt the conservative
assumption that images always needed rebuilding and, to this end,
do_rootfs and do_build in image recipes were marked as nostamp.  (The
nostamp annotation for do_build was added in oe-classic commit
80d622e0c1dbc284858e01d3eb670303a6d8cdf9 from January 2005; the exact
point at which do_rootfs was made nostamp is obscure, but it predates
oe-classic revision 63fad339e01d4b16105146c32a61f24460397126.)

This situation persisted for the following eight years but, during that
period, oemake evolved into today's sstate-enabled bitbake, oe itself
gained the OEBasicHash algorithm which can reliably detect changes to
the input data for do_rootfs or any other task, and OEBasicHash was made
the default for oe-core in 4199efed48005a62267fa3374c33b13627d85f44
(June 2012).

Given these various changes in the wider landscape, there is no longer
any obvious benefit to having these two tasks marked as nostamp, and
indeed having them so marked causes needless rebuilds which can be
annoying.  Anybody who does genuinely wish to rerun these tasks when
nothing in the input has changed can run "bitbake -f", just like with
any other task.  So, let's remove the nostamp annotations and just let
bitbake figure out when to rerun them.

(From OE-Core rev: 8505008c115efb54d18e5f25441c7a938a32ffaf)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/image: allow complementary package globs to be extended
Paul Eggleton [Fri, 3 May 2013 13:21:59 +0000 (14:21 +0100)]
classes/image: allow complementary package globs to be extended

Make it easy for the wildcard specifications for complementary package
features to be extended outside of image.bbclass. For example, to add a
new "foo-pkgs" item that could be added to IMAGE_FEATURES that would
cause *-foo packages to be installed for all packages currently in the
image, you can now use this line at the global level:

COMPLEMENTARY_GLOB[foo-pkgs] = "*-foo"

Implements [YOCTO #4228].

(From OE-Core rev: 4e39c1b9dbba1d2b07ffc2c6a1a252fc8f7680ee)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopath.py: Deal with race issue
Richard Purdie [Fri, 3 May 2013 14:11:33 +0000 (15:11 +0100)]
path.py: Deal with race issue

The change to use copyhardlinktree in some of the sstate code instead of
copytree exposed a race condition. This is due to cp failing if it finds
a directory doesn't exist yet some other process creates it while cp was
trying to create it itself. tar doesn't error in this case.

To fix this we need to create the directory structure with tar, then
use cp to hardlink the files. Messy but probably worth doing.

I also took the opportunity to remove src_bak since the code is neater
without it.

(From OE-Core rev: 2f954a9a6932f1e6c564e7e7aacaac628a75eed7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomkefidisk: Unmount after partitioning
Darren Hart [Thu, 25 Apr 2013 21:27:29 +0000 (14:27 -0700)]
mkefidisk: Unmount after partitioning

Some automounters are rather overzealous and like to mount things
immediately after partitioning. This can happen if the disk is being
reused and the partitions align exactly with the existing partitions
which have already been formatted. Move the unmount code into a function
and call it before and after partitioning.

(From OE-Core rev: f1854e458e5e77806b1fc837033500fa91272261)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoMake toolchain output name using SDK_VERSION instead of DISTRO_VERSION to be consiste...
Jessica Zhang [Tue, 30 Apr 2013 18:32:03 +0000 (11:32 -0700)]
Make toolchain output name using SDK_VERSION instead of DISTRO_VERSION to be consistent [yocto #2342]

(From OE-Core rev: 733f1d2a1bcf1c115613e21f7d09f1b4bee216ce)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: Fix sundry erroneous assumptions about ${prefix}
Phil Blundell [Mon, 29 Apr 2013 17:28:48 +0000 (18:28 +0100)]
qt4: Fix sundry erroneous assumptions about ${prefix}

FILES_${QT_BASE_NAME}-tests was hard-coded to "/usr/tests/..." but Qt
actually installs these files into ${prefix}/tests.

Conversely, FILES_${PN}-dbg in qt4.inc was defined in terms of
${exec_prefix}/src, which appears commendable but doesn't actually match
where package.bbclass will put the sources since the latter is
hard-coded to /usr/src.

This fixes a large number of "installed but not shipped" warnings
when ${prefix} is set to something other than /usr.

(From OE-Core rev: c0cfd4f84c8f4843027332cfd6cf99c452c50dbb)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: Ensure target packages don't reference perlnative
Richard Purdie [Tue, 30 Apr 2013 12:41:56 +0000 (13:41 +0100)]
dpkg: Ensure target packages don't reference perlnative

Currently a load of scripts in ${bindir} start with:

which is undesireable, this patch fixes that.

(From OE-Core rev: e3634ec359a71c9858698cb597d23c05b1184d2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoadt-installer: do not dereference symlinks when relocating
Laurentiu Palcu [Tue, 30 Apr 2013 15:02:10 +0000 (18:02 +0300)]
adt-installer: do not dereference symlinks when relocating

This was already fixed for meta-toolchain.

[YOCTO #4157]

(From OE-Core rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonetbase: upgrade to 5.1
Cristian Iorga [Tue, 30 Apr 2013 09:40:37 +0000 (12:40 +0300)]
netbase: upgrade to 5.1

netbase dir has generic content, hence the name change;

(From OE-Core rev: 6b78673934e1f444991b2743957b362443c6a7cd)

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>
11 years agosystemd-serialgetty: change to handle SERIAL_CONSOLES
Paul Eggleton [Tue, 30 Apr 2013 14:33:51 +0000 (15:33 +0100)]
systemd-serialgetty: change to handle SERIAL_CONSOLES

SERIAL_CONSOLES is now set from SERIAL_CONSOLE if not already set.

This is a little bit gnarly because we have to create a separate service
file for each different baud rate; assume that the first baud rate is
the default, thus preserving the previous behaviour in the event there
is only one baud rate in use.

This change also installs the service file before modifying it in place,
allowing do_install to re-execute properly; additionally the service
file now has the correct permissions (i.e. no execute bit set).

(From OE-Core rev: cd89a71d0c3dce14d59134667bc47fa8210cfa7a)

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 agoshadow-securetty: change to handle SERIAL_CONSOLES
Paul Eggleton [Tue, 30 Apr 2013 14:32:06 +0000 (15:32 +0100)]
shadow-securetty: change to handle SERIAL_CONSOLES

SERIAL_CONSOLES is now set from SERIAL_CONSOLE if not already set. This
change also installs the file before modifying it in place, allowing
do_install to re-execute properly.

(From OE-Core rev: 013a1e304e6845eda97b94d133ad75bbccff0b9a)

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 agosysvinit-inittab: remove specific handling of SERIAL_CONSOLE
Paul Eggleton [Tue, 30 Apr 2013 14:31:00 +0000 (15:31 +0100)]
sysvinit-inittab: remove specific handling of SERIAL_CONSOLE

We already handle SERIAL_CONSOLES here and this is now set from
SERIAL_CONSOLE if not already set.

(From OE-Core rev: 40acb88afb2ebd2d468bb2fce51c6ce6bf3d8403)

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 agobitbake.conf: set SERIAL_CONSOLES from SERIAL_CONSOLE by default
Paul Eggleton [Tue, 30 Apr 2013 14:30:10 +0000 (15:30 +0100)]
bitbake.conf: set SERIAL_CONSOLES from SERIAL_CONSOLE by default

This is the first step in deprecating SERIAL_CONSOLE without affecting
machine configurations that still use it.

(From OE-Core rev: 3f0d665384e6d1b7aa2854a9cc4f13e0961bacb7)

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 agosysvinit-inittab: ensure unique label for SERIAL_CONSOLES entries
Paul Eggleton [Wed, 24 Apr 2013 14:33:18 +0000 (15:33 +0100)]
sysvinit-inittab: ensure unique label for SERIAL_CONSOLES entries

The label field in /etc/inittab entries needs to be unique, and the
numeric label being used for the SERIAL_CONSOLES getty entries was
clashing with the entries added for standard ttyX entries added via
SYSVINIT_ENABLED_GETTYS. Use the part after "tty" in the device name
(which is what the comment further down explicitly says should be done)
as the label rather than a simple incrementing number.

Fixes [YOCTO #4374].

(From OE-Core rev: 28d3202befcec72554885f8ea9cb7985523b89f5)

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 agoxkeyboard-config: Remove xkbcomp from RDEPENDS_${PN}
Phil Blundell [Mon, 29 Apr 2013 12:57:40 +0000 (13:57 +0100)]
xkeyboard-config: Remove xkbcomp from RDEPENDS_${PN}

Nothing in this package uses xkbcomp so depending on it here is not appropriate.
Whatever package(s) is/are invoking that binary should be the ones to depend
on it.

(From OE-Core rev: bdcc5e8f1286d288baf410458efc39a59b68d751)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate.bbclass: make hard links for staging files
Robert Yang [Sat, 27 Apr 2013 09:32:07 +0000 (05:32 -0400)]
sstate.bbclass: make hard links for staging files

Make hard links for staging files instead of copy to save the disk space
(3G will be saved for a core-image-sato build), and it doesn't affect
much on the build time.

The following directories are affected:
1) The sysroot
2) The DEPLOY_DIR
3) The pkgdata

[YOCTO #4372]

(From OE-Core rev: 5853e0f482b22258c909268fe71673a29e31989b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-thumb.inc: Remove, replaced by arm/feature-arm-thumb.inc
Martin Jansa [Wed, 24 Apr 2013 13:42:11 +0000 (15:42 +0200)]
tune-thumb.inc: Remove, replaced by arm/feature-arm-thumb.inc

(From OE-Core rev: f4b451c8ad8f857b1789d75d68ce8ea8fc73542e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoneard: add systemd unit file
Ross Burton [Mon, 29 Apr 2013 13:44:29 +0000 (14:44 +0100)]
neard: add systemd unit file

Add a systemd unit file, and respect the sysvinit feature when installing the
init script.

(thanks to Jukka Rissanen for the unit file)

(From OE-Core rev: e86538db13605953465aacc3f2fb7d719dad919e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosudo: disable SSP for auxiliary build tools mksiglist and mksigname
Tomas Frydrych [Sat, 27 Apr 2013 08:43:38 +0000 (09:43 +0100)]
sudo: disable SSP for auxiliary build tools mksiglist and mksigname

The do_compile_prepend() fragment ensures that the non-installable build
tools mksiglist and mksigname are built using the BUILD_CC, but if the the
BUILD_CC does not support SSP and the cross compiler does, the build fails
due to the SSP flags set in the Makefile. Ensuring that SSP is not enabled
when building these tools prevents this from happening.

(From OE-Core rev: ad9a9c6e6b4f00bc47449bbe8c85777ea7c89b88)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoneard: re-order recipe so the statement order is logical
Ross Burton [Mon, 29 Apr 2013 11:57:14 +0000 (12:57 +0100)]
neard: re-order recipe so the statement order is logical

(From OE-Core rev: 373dc2778f263baa7958c48cc1644008e2a40676)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomenu-cache: Fix segmentation fault
Laurentiu Palcu [Mon, 29 Apr 2013 13:40:14 +0000 (16:40 +0300)]
menu-cache: Fix segmentation fault

[YOCTO #4353]

(From OE-Core rev: 8c9c6155e6d83675a94b4eaae4ffc6dfeca399ee)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcap: Fix up patches
Saul Wold [Fri, 26 Apr 2013 23:04:37 +0000 (16:04 -0700)]
libpcap: Fix up patches

These patches where tweaking both configure.in and configure, which is
bad since configure changes after an autoconf. If the patch is re-applied
for some reason it would notice that it's already appiled and fails.

[YOCTO #4314]

(From OE-Core rev: c32b425c10566cf2aaf187e98b6e2e29022bea2f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-utils: Move alsaconf to its own recipe
Phil Blundell [Fri, 26 Apr 2013 13:05:07 +0000 (14:05 +0100)]
alsa-utils: Move alsaconf to its own recipe

18575b082a4042376fd1575465e69562dea04ddc added bash as a dependency of
alsa-utils-alsaconf so that the script interpreter will be available at
run time.  However, this has the undesirable side effect of making bash
be a build dependency for alsa-utils and, for those folks who don't need
alsaconf but do want some other part of alsa-utils, this cure is worse
than the original disease.

Fix this by moving alsaconf to a separate recipe so that the bash
dependency only applies when alsaconf is specifically requested.

(From OE-Core rev: 7317c8055cf3af8912a66badb3074f0a60f75ec2)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: add PACKAGECONFIG options
Jack Mitchell [Fri, 26 Apr 2013 11:22:40 +0000 (12:22 +0100)]
connman: add PACKAGECONFIG options

- change TIST from being explicitly built, to a PACKAGECONFIG
- move wifi, 3g and bluetooth to PACKAGECONFIG
- change RDEPENDS and RPROVIDES to check PACKAGECONFIG rather
  than DISTRO_FEATURES

(From OE-Core rev: da3f9f7febdc485a356ccb102e0d93cd8f059da7)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomatchbox-panel-2: bump srcrev to fix compile warnings
Ross Burton [Fri, 26 Apr 2013 10:45:38 +0000 (11:45 +0100)]
matchbox-panel-2: bump srcrev to fix compile warnings

The older versions of matchbox-panel were naively using -Werror which causes
warnings with gcc 4.6 (which were patched away) and again more with gcc 4.8.
I'd already fixed this upstream so bump the srvrev and drop the patch.

(From OE-Core rev: ae38cac225f0d84e6acecb6bc46df939d37cd031)

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 agoPass the mlprefix to postinst_intercept script
Laurentiu Palcu [Fri, 26 Apr 2013 08:04:02 +0000 (11:04 +0300)]
Pass the mlprefix to postinst_intercept script

This is needed in order to have separate multilib intercept hooks.

(From OE-Core rev: 44eae13c164ca6e15a6013eafeab3eb44f24c8e0)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/postinst-intercepts: create separete hooks for multilib
Laurentiu Palcu [Fri, 26 Apr 2013 08:04:01 +0000 (11:04 +0300)]
scripts/postinst-intercepts: create separete hooks for multilib

When using multilib, the hooks for lib32/lib64 must be different because
the libdir/base_libdir point to different locations. Postinstalls
calling postint_intercept script must pass the mlprefix in the 3rd
argument.

(From OE-Core rev: 2c5c6e3ffcd561c25a34603922b622449f677a34)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "qemu.bbclass: Use the correct qemu binary in multilib cases"
Laurentiu Palcu [Fri, 26 Apr 2013 08:04:00 +0000 (11:04 +0300)]
Revert "qemu.bbclass: Use the correct qemu binary in multilib cases"

This reverts commit 9f5a6f89d9f4a6c7bed3b163e6eaa764d762f523.

The reason for reverting this is:
 * qemuwrapper has now a fallback method;
 * when using multilib, calling qemu_target_binary from recipes would
   always point to the qemu binary corresponding to the machine
   architecture. Hence, postinstalls needing to use qemu would call the
   wrong qemu user emulation binary;

(From OE-Core rev: 15408466515cec7cbb4c394aa203c87b6165f884)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopango: fix postinstall when using multilib
Laurentiu Palcu [Fri, 26 Apr 2013 08:03:59 +0000 (11:03 +0300)]
pango: fix postinstall when using multilib

The pango-query-modules binary gets a multilib prefix and the
postinstall has to call the appropriate binary.

(From OE-Core rev: 21ae18ca5e3be0b3e5cb0fdcf19b1476dbd38b0c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemuwrapper: use fallback in case the ELF binary is wrong
Laurentiu Palcu [Fri, 26 Apr 2013 08:03:58 +0000 (11:03 +0300)]
qemuwrapper: use fallback in case the ELF binary is wrong

This wrapper script is called mainly from intercept hooks and allarch
packages postinstalls. When multilib is used, the qemuwrapper script
points to the binary that matches the MACHINE architecture.

For example: if MACHINE=qemux86_64 and we activate multilib, then the
postinstalls for lib32 packages would call qemu-x86_64 with 32 bit
binaries and they would certainly fail.

This patch adds just a fallback method if the exit code of the previous
qemu call corresponds to "Invalid ELF image for this architecture"
error. This will allow us to have all postinstalls run on host.

(From OE-Core rev: 0c6ddb84043f0f917543cdaf4814efc15cd0273f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuild-appliance: Add version info
Saul Wold [Sun, 21 Apr 2013 21:45:51 +0000 (14:45 -0700)]
build-appliance: Add version info

(From OE-Core rev: 1acc6c60c39a6c8982b228ac8dbc85acc89a0032)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-networking: Update to 2.36
Saul Wold [Sun, 21 Apr 2013 21:37:42 +0000 (14:37 -0700)]
glib-networking: Update to 2.36

COPYING file: Address and Formating changes only

(From OE-Core rev: 827c4a6e337f6701945bf12a4a93f98011103597)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: Update to 2.36
Saul Wold [Sun, 21 Apr 2013 21:37:16 +0000 (14:37 -0700)]
glib-2.0: Update to 2.36

Remove automake patch that is now correctly supported upstream
Codegen files have moved to glib-2.0, so correct packaging and
removal.

(From OE-Core rev: 0d13d9947262b09cd69bc526ea2738e50c658744)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-demos: Update to 8.1.0
Saul Wold [Sun, 21 Apr 2013 21:43:31 +0000 (14:43 -0700)]
mesa-demos: Update to 8.1.0

Removed patches that now appear in the upstream.

(From OE-Core rev: 2329297b12e2eade895fff8d3d98722a15e0b7ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglew: fix generation of glew.pc needed by mesa-demos
Saul Wold [Sun, 21 Apr 2013 21:43:10 +0000 (14:43 -0700)]
glew: fix generation of glew.pc needed by mesa-demos

(From OE-Core rev: 0273f31d20f3e3c24e8b309f928595885eb04af2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxkbcommon: Update to 0.3.0
Saul Wold [Sun, 21 Apr 2013 21:44:35 +0000 (14:44 -0700)]
libxkbcommon: Update to 0.3.0

(From OE-Core rev: 28e185ba401fa1f2c11fca65bd873a0f5d78b811)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopkgconfig: Move patches in prep for 0.28 update
Saul Wold [Sun, 21 Apr 2013 21:39:12 +0000 (14:39 -0700)]
pkgconfig: Move patches in prep for 0.28 update

(From OE-Core rev: 076e1c9895cc4f559fd58956a6eb1098918292b5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibgcrypt: Update to 1.5.1
Saul Wold [Sun, 21 Apr 2013 21:44:16 +0000 (14:44 -0700)]
libgcrypt: Update to 1.5.1

Remove automake patch as it is now supported by upstream

(From OE-Core rev: bf4c807aa8479ba475c7484dabe6cdb0def5f4ec)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonspr: Update to 4.9.6
Saul Wold [Sun, 21 Apr 2013 21:43:55 +0000 (14:43 -0700)]
nspr: Update to 4.9.6

(From OE-Core rev: 16ddc0138f385ac124a843bb1d1256536c40d0f6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibffi: Update to 3.0.13
Saul Wold [Sun, 21 Apr 2013 21:42:22 +0000 (14:42 -0700)]
libffi: Update to 3.0.13

New patch is required to fix the location of the libdir defined i
the libffi.la file which caused a bad RPATH (/usr/lib/../lib) due
to the gcc -print-multi-os-directory returning ../lib.

Remove Aarch64 patches as it is now supported upsteam. Other patch
code is also upstreamed

(From OE-Core rev: 6f1caa75b181eb40fdbbd4d9979a5f61c0b9435a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agofile: Update to 5.14
Saul Wold [Sun, 21 Apr 2013 21:38:18 +0000 (14:38 -0700)]
file: Update to 5.14

(From OE-Core rev: 13b6bedab766657270a12c7c332914c69ebae085)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: Update to 1.16.10
Saul Wold [Sun, 21 Apr 2013 21:38:01 +0000 (14:38 -0700)]
dpkg: Update to 1.16.10

(From OE-Core rev: 47e37874372b405e64ed42168b66ef3dccefdb08)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoresolvconf: Update to 1.71
Saul Wold [Sun, 21 Apr 2013 21:36:54 +0000 (14:36 -0700)]
resolvconf: Update to 1.71

(From OE-Core rev: 2f0f7c34f805b4a5e89ec138107bcc434d06f8d0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodhcp: Update to 4.2.5-P1
Saul Wold [Sun, 21 Apr 2013 21:36:38 +0000 (14:36 -0700)]
dhcp: Update to 4.2.5-P1

(From OE-Core rev: 0358a0bd39b8a40984bc15312d030f8cfd60805f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosqlite: Update to 3071602
Saul Wold [Sun, 21 Apr 2013 21:35:21 +0000 (14:35 -0700)]
sqlite: Update to 3071602

(From OE-Core rev: d0e0d1322a8b4bc6d1557555bd2a0bb9c5fa37d7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosysstat: Update to 10.1.5
Saul Wold [Sun, 21 Apr 2013 21:35:00 +0000 (14:35 -0700)]
sysstat: Update to 10.1.5

(From OE-Core rev: 7e59a2ccfcb5cab3529068f90fea19fda28c7261)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolsbinitscripts: Update to 9.46
Saul Wold [Sun, 21 Apr 2013 21:34:39 +0000 (14:34 -0700)]
lsbinitscripts: Update to 9.46

(From OE-Core rev: 047c55735347051b858dd6e471493bd0780840b9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoless: Update to 458
Saul Wold [Sun, 21 Apr 2013 21:34:17 +0000 (14:34 -0700)]
less: Update to 458

(From OE-Core rev: dd4f419413cf6ae1f8a069ae8a8cceae6ce02453)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: update to 1.13
Jack Mitchell [Wed, 24 Apr 2013 14:26:14 +0000 (15:26 +0100)]
connman: update to 1.13

- Removed upstream commited patch
- Updated git tag srcrev

(From OE-Core rev: 04c119d36f2a6157ba3a86106e555e79739961b6)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib: Add --disable-man to configure arguments
Phil Blundell [Thu, 25 Apr 2013 14:34:21 +0000 (15:34 +0100)]
glib: Add --disable-man to configure arguments

Without this, glib will probe for the existence of xsltproc and use that
to decide whether or not it wants to generate manpages.  This has two
consequences, neither of them good:

a) the result of the build will vary depending on whether xsltproc
happens to be installed in either the native sysroot or the host
environment; and

b) if xsltproc does happen to be installed but docbook-xsl isn't, the
build will fail with "I/O error" messages.

(From OE-Core rev: b2e2c6e1a20ea4c53dea04992bb1b38890a959dd)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline]
Phil Blundell [Thu, 25 Apr 2013 15:00:57 +0000 (16:00 +0100)]
libpcre: Make readline dependency conditional on PACKAGECONFIG[pcretest-readline]

The only place in pcre that requires readline is pcretest, and even there it's
optional.  This allows the dependency to be removed unless specifically requested.

(From OE-Core rev: 5bf7397cdb91d8ab0f2a525484eee9a3cec25f87)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext: Make ncurses dependency conditional on PACKAGECONFIG[msgcat-curses]
Phil Blundell [Thu, 25 Apr 2013 13:03:53 +0000 (14:03 +0100)]
gettext: Make ncurses dependency conditional on PACKAGECONFIG[msgcat-curses]

According to the documentation, the only reason for needing ncurses is
to support colour output from msgcat.  Make this optional so that
ncurses doesn't need to be built if colour output is not required.

(From OE-Core rev: a4040ad83984ee27fa9dc16d276c699d24b03b4e)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: Disable hard-coding of library rpaths
Phil Blundell [Thu, 25 Apr 2013 12:28:40 +0000 (13:28 +0100)]
gdb: Disable hard-coding of library rpaths

GDB's configury has a tendency to hard-code the path where it found
libexpat using "-Wl,--rpath".  This is undesirable and leads to QA warnings.

Fortunately, the helpful GDB maintainers have provided a "--disable-rpath"
switch to turn this behaviour off.  Let's use it and profit.

(From OE-Core rev: 3d70f28cc9612f733b835df139f31c197528677a)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/build-perf-test.sh: change the global results format
Stefan Stanacar [Thu, 25 Apr 2013 12:11:01 +0000 (15:11 +0300)]
scripts/contrib/build-perf-test.sh: change the global results format

When all builds have finished write the hostname, commit and times
on a single line in the global results file (useful for merging later
on files from multiple systems).
Also the final cleaning should be last after writing the results.

(From OE-Core rev: 582798f70bf350d2db6911eb8df333ada05f6484)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/build-perf-test.sh: skip network sanity tests
Stefan Stanacar [Thu, 25 Apr 2013 12:11:00 +0000 (15:11 +0300)]
scripts/contrib/build-perf-test.sh: skip network sanity tests

When your proxy/network connection is unstable the network sanity test
which runs before every build (because we wipe all the files in the build dir)
can influence build time. Appending  CONNECTIVITY_CHECK_URIS = ""
in local.conf will disable the check.

(From OE-Core rev: cc1ed3c1940e4f64534b58de1b5fc6ef90362c9a)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/contrib/build-perf-test.sh: use the same identation everywhere
Stefan Stanacar [Thu, 25 Apr 2013 12:10:59 +0000 (15:10 +0300)]
scripts/contrib/build-perf-test.sh: use the same identation everywhere

Some functions didn't used the same identation as the rest of them,
let's fix that.

(From OE-Core rev: a7af4541060f62b4019a100d57e0d082794f708b)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Don't add ${PN} to RRECOMMENDS_${PN}-dbg
Phil Blundell [Thu, 25 Apr 2013 10:22:55 +0000 (11:22 +0100)]
bitbake.conf: Don't add ${PN} to RRECOMMENDS_${PN}-dbg

This recommendation is of no obvious value and causes unexpected behaviour
when using IMAGE_FEATURES += "dbg-pkgs".

(From OE-Core rev: b64f2ef2be5dca1eb13a305147a2b99d57985010)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemuimage-testlib-pythonhelper: Make the process detection more strict
Richard Purdie [Thu, 25 Apr 2013 10:15:26 +0000 (11:15 +0100)]
qemuimage-testlib-pythonhelper: Make the process detection more strict

Old versions of ldd (2.11) as run on some of the autobuilders end up running
commands like "LD_xxxx qemu-system-xxx" which this process detection code
would pick up and result in the wrong PID for qemu.

This changes the code to check for "192.168" in the command so we know
we're getting the correct one. This is less than ideal however we're
running out of options and resolves false negatives we see on the
autobuilder.

(From OE-Core rev: 7b43151bb073f1f6f1fa5a31447b742127060909)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodropbear: update to 2013.58
Eric Bénard [Wed, 24 Apr 2013 22:56:13 +0000 (00:56 +0200)]
dropbear: update to 2013.58

- patches updated
- nopw-option.patch dropped as the option is integrated since 2013.56
- compile tested for ARMv5 target

(From OE-Core rev: ce92c707f26aff8f02021c757056af4ecddb315d)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapt: update to 0.9.7.8
Eric Bénard [Wed, 24 Apr 2013 22:08:01 +0000 (00:08 +0200)]
apt: update to 0.9.7.8

(From OE-Core rev: 09b3a782bf1c0738ddd7f9622a7fa4a1d51225ca)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconf/machine: use .= instead of += in TUNE_CCARGS
Martin Jansa [Wed, 24 Apr 2013 13:42:12 +0000 (15:42 +0200)]
conf/machine: use .= instead of += in TUNE_CCARGS

* number of TUNE_CCARGS conditionals is important if we add
  extra space with each one in "else" branch

  I'm building for 2 MACHINEs one is cortexa9, second is cortexa8

  few months ago we added TUNE_CCARGS[vardepvalue] in bitbake.conf
  http://git.openembedded.org/openembedded-core/commit/?id=03f1e34ea3ce80931e9c3cd2ab22824f28a7233b

  which fixed some cases (like mentioned tune-xscale and tune-arm926ejs)
  where both had unused TUNE_CCARGS when common DEFAULTTUNE was used.

  with cortexa[89] it's different, because cortexa9 has one extra TUNE_CCARGS
  TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa9", "-mtune=cortex-a9", "", d)}"
  which adds extra *space* even when not used because of '+=' and as result:

  $ bitbake-diffsigs tmp-eglibc/sstate-diff/1366797730/*/armv7*/adapterbase/*do_configure*
  basehash changed from f986789fb8fb3579ed6a3492cc8a8d10 to c851b5f838d945ee13072e9ad6725dca
  Variable TUNE_CCARGS value changed from
  ' -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon '
  to
  ' -march=armv7-a     -mthumb-interwork -mfloat-abi=softfp -mfpu=neon  '
  Hash for dependent task gcc-runtime_4.7.bb.do_populate_sysroot changed from bdeabf7a86958b9110b566344b7916de to 2be5618e6bc8c57ec9db5659bf217915
  Hash for dependent task eglibc_2.17.bb.do_populate_sysroot changed from b4f40fc62dde684acd0a574532a55360 to 97fcb426603d4a1c1099c0504d2ebf7d
  Hash for dependent task glib-2.0_2.34.3.bb.do_populate_sysroot changed from fd2f90b83098c34e88d649d70f6ea4f5 to ebd740bb94ea3eb0a914efda6fc82c4a

(From OE-Core rev: b7430ff83760ac29079d20dc7c62f498a0a9d55d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: Avoid "installed but not shipped" warning for ld.so.conf
Phil Blundell [Wed, 24 Apr 2013 16:39:59 +0000 (17:39 +0100)]
eglibc: Avoid "installed but not shipped" warning for ld.so.conf

If USE_LDCONFIG is not set then we won't ship ld.so.conf.  However,
eglibc still installs it which leads to a QA warning.  Prevent that by
removing the file (and the subsequently-empty directory /etc) in this
situation.

(From OE-Core rev: 23b5dd2ab8a556fcef3aa34689310d9d5f61b3d1)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowebkit-gtk: remove gnome-keyring dependency
Ross Burton [Wed, 24 Apr 2013 16:14:08 +0000 (17:14 +0100)]
webkit-gtk: remove gnome-keyring dependency

The direct use of gnome-keyring was removed back in 1.1.13, so remove the
dependency.

(From OE-Core rev: 6389b4c6c58def894bd895e797c2d579439f69d5)

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 agogdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot
Phil Blundell [Wed, 24 Apr 2013 15:15:54 +0000 (16:15 +0100)]
gdb-cross: Adjust ${datadir} to avoid file conflicts in sysroot

GDB wants to install a bunch of files in ${datadir}/gdb/python/gdb
and ${datadir}/gdb/syscalls.  These pathnames are invariant with
TARGET_ARCH which means that if you build gdb multiple times for
different targets they will all try to write to the same location
and you get a lot of warning spew about manifest conflicts.

Prevent this by factoring the target specification into ${datadir}
so that different copies of GDB install their files into different
paths.

(From OE-Core rev: 3e87aba1ee2ca0e39ba66fb7cba52e48df499c23)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: change arch scoring items
Bogdan Marinescu [Wed, 24 Apr 2013 08:48:50 +0000 (11:48 +0300)]
rpm: change arch scoring items

Don't add the first line of /etc/rpm/platform to the list of patterns
to match when computing an arch score, use it just for getting
information about the platform (cpu/vendor/os).

[YOCTO #3864]

(From OE-Core rev: 9263a2192ccf8ca513cbf7f2f88473e267e6b945)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocpan.bbclass: use '|' as sed separator for entry with paths
Marcin Juszkiewicz [Wed, 24 Apr 2013 13:45:42 +0000 (15:45 +0200)]
cpan.bbclass: use '|' as sed separator for entry with paths

With normal toolchain it works. But fails badly when external Linaro
toolchain is used. And this is why:

-e "s/^\(CCFLAGS =.*\)/\1  -isystem/home/hrw/devel/canonical/aarch64/openembedded/build/linaro-tcwg/gcc-linaro-aarch64-linux-gnu-4.7-2013.04-20130415_linux//aarch64-linux-gnu/include  -O2 -pipe -g -feliminate-unused-debug-types/" \

(From OE-Core rev: f6244a9d3da7c301f19efc114c2aaf39e5eec299)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Set umask to 002 before packaging runs
Phil Blundell [Wed, 24 Apr 2013 12:07:47 +0000 (13:07 +0100)]
sstate: Set umask to 002 before packaging runs

Otherwise we might end up creating directories under sstate-cache with whatever
random umask has been selected for the task that we're trying to package.  This
would be a bad thing since it might result in losing group write access for
newly created dirs, and/or losing group read access for the sstate files
themselves.

(From OE-Core rev: d8c4f442c41bf3ac5e064630657cd3fa1b5c43b1)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd-systemctl: parse unit files more correctly
Enrico Scholz [Wed, 24 Apr 2013 11:37:21 +0000 (13:37 +0200)]
systemd-systemctl: parse unit files more correctly

Old script failed to parse unit files containing comments like

| #Alias=some-alias

or whitespaces like

| WantedBy = foo

correctly.  Patch changes script to interpret keywords only when they
are at the beginning of a line and ignores whitespaces before the '='.

(From OE-Core rev: 443e75ee2c0e9a62df997aef24855bce54d39177)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibxslt: Avoid regenerating manpage during "make install"
Phil Blundell [Wed, 24 Apr 2013 11:43:27 +0000 (12:43 +0100)]
libxslt: Avoid regenerating manpage during "make install"

The timestamps in libxslt-1.1.28.tar.gz (specifically) are rather hokey, making
the source files for the documentation appear newer than the generated output:

-rw-rw-r-- 500/500       16307 2012-11-21 07:22 libxslt-1.1.28/doc/xsltproc.xml
-rw-rw-r-- 500/500        7082 2012-09-12 07:24 libxslt-1.1.28/doc/xsltproc2.html
-rw-rw-r-- 500/500        9475 2012-09-04 15:26 libxslt-1.1.28/doc/xsltproc.html
-rw-rw-r-- 500/500        8256 2012-11-21 06:03 libxslt-1.1.28/doc/xsltproc.1

This causes make to decide that xsltproc.1 needs to be regenerated during the
installation process.  However, this requires a native xsltproc binary which
may not be available, leading to errors like:

| make[2]: /usr/bin/xsltproc: Command not found
| make[2]: [xsltproc.1] Error 127 (ignored)

Adding DEPENDS_class-target = "libxslt-native", or installing xsltproc in the
host environment, fixes the above but the documentation still doesn't build:

| I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
| error
| xsltParseStylesheetFile : cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
| compilation error: file ./xsltproc.xml line 10 element refentry
| xsltParseStylesheetProcess : document is not a stylesheet

And in any case, requiring libxslt-native would increase build time for no
real benefit.  So, let's just adjust the timestamp on the shipped copy of
xsltproc.1 to make it appear newer than the source files.

(From OE-Core rev: 12074bf5319c1086f86efd00f502c91fed344698)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomkefidisk: Attempt to automatically unmount target device
Darren Hart [Thu, 25 Apr 2013 17:23:51 +0000 (10:23 -0700)]
mkefidisk: Attempt to automatically unmount target device

With automounters abounding it makes more sense to attempt to unmount
the device rather than abort, just like ddimage does.

(From OE-Core rev: f522ff19ba4b80788d66a2c58ee50b86fdfea15f)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogpgme: add short SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 17:14:41 +0000 (18:14 +0100)]
gpgme: add short SUMMARY

(From OE-Core rev: c03d438defea242f437b7483ba2412a5bf2b9adb)

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 agocore-image-directfb: add SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 17:11:12 +0000 (18:11 +0100)]
core-image-directfb: add SUMMARY

(From OE-Core rev: c32b0607809aa437672ce79fad61b2046a3fe350)

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 agoptest-runner: add SUMMARY, DESCRIPTION and HOMEPAGE
Paul Eggleton [Wed, 24 Apr 2013 17:04:17 +0000 (18:04 +0100)]
ptest-runner: add SUMMARY, DESCRIPTION and HOMEPAGE

(From OE-Core rev: 8986e76e8fcaeeddb23d234dbb877dcf5cc45cfe)

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 agohwlatdetect: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 17:03:29 +0000 (18:03 +0100)]
hwlatdetect: add SUMMARY and DESCRIPTION

(From OE-Core rev: b3244e4695840c1c2d95698506c6f93b816ebf7f)

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 agogst-openmax: add SUMMARY, DESCRIPTION and HOMEPAGE
Paul Eggleton [Wed, 24 Apr 2013 17:03:05 +0000 (18:03 +0100)]
gst-openmax: add SUMMARY, DESCRIPTION and HOMEPAGE

(From OE-Core rev: 6bcc2eab5ddf584e6a26353ff259045a35fe4c87)

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 agoxeyes: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 17:02:51 +0000 (18:02 +0100)]
xeyes: add SUMMARY and DESCRIPTION

Prevent this getting the default DESCRIPTION of "X application" from
xorg-app-common.inc.

(From OE-Core rev: 11c11ff361cfa8180dbafce94ff3e9e9426263b3)

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 agorgb: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 17:01:44 +0000 (18:01 +0100)]
rgb: add SUMMARY and DESCRIPTION

Prevent this getting the default DESCRIPTION of "X application" from
xorg-app-common.inc.

(From OE-Core rev: 9bacbff31e8cbe35c43637b2a213041a621ef608)

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 agopackagegroup-core-x11-xserver: set SUMMARY instead of SUMMARY_${PN}
Paul Eggleton [Wed, 24 Apr 2013 16:59:36 +0000 (17:59 +0100)]
packagegroup-core-x11-xserver: set SUMMARY instead of SUMMARY_${PN}

This allows the description to show up at the recipe level e.g. in the
OE layer index.

(From OE-Core rev: 5f1093bca16b3cd905beb69bee095d92aa350cfe)

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 agognome-doc-utils: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:59:18 +0000 (17:59 +0100)]
gnome-doc-utils: add SUMMARY and DESCRIPTION

(From OE-Core rev: e4f88127e1ea590c358041574e0d4029b890e421)

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 agopython-smartpm: fix HOMEPAGE and adjust DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:58:13 +0000 (17:58 +0100)]
python-smartpm: fix HOMEPAGE and adjust DESCRIPTION

* HOMEPAGE was incorrect
* We're not really interested in the fact that Smart works across
  different distros.

(From OE-Core rev: a7f8989e027abea84a371703909f62a8b9a03177)

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 agolibxml-simple-perl: add SUMMARY, DESCRIPTION and HOMEPAGE
Paul Eggleton [Wed, 24 Apr 2013 16:56:40 +0000 (17:56 +0100)]
libxml-simple-perl: add SUMMARY, DESCRIPTION and HOMEPAGE

(From OE-Core rev: 227144310f403f3457b9c3d5ccc8e79272a86330)

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 agowhich: use the same meta fields for both versions
Paul Eggleton [Wed, 24 Apr 2013 16:51:40 +0000 (17:51 +0100)]
which: use the same meta fields for both versions

Use the same SUMMARY, DESCRIPTION, SECTION and HOMEPAGE for the recipes
for both "which" versions.

(From OE-Core rev: 33cf83dc60f453a5ba393a9108c3651ce27017fc)

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 agomtools: use same SUMMARY as newer version of mtools recipe
Paul Eggleton [Wed, 24 Apr 2013 16:49:54 +0000 (17:49 +0100)]
mtools: use same SUMMARY as newer version of mtools recipe

(From OE-Core rev: ccd5f4b8635d8771122cbc3173e33c6f568f7520)

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 agoicon-naming-utils: add SUMMARY and DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:49:28 +0000 (17:49 +0100)]
icon-naming-utils: add SUMMARY and DESCRIPTION

(From OE-Core rev: 4fe0ddded508ba9ed90574ef0387b48dce029f3f)

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 agoexternal-sourcery-toolchain: add SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 16:49:11 +0000 (17:49 +0100)]
external-sourcery-toolchain: add SUMMARY

(From OE-Core rev: c12ed47769d7784d0483629dd56b42bf84f50510)

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 agoreadline: add SUMMARY
Paul Eggleton [Wed, 24 Apr 2013 16:48:54 +0000 (17:48 +0100)]
readline: add SUMMARY

(From OE-Core rev: 0d3ade0c086b72517760f0e52f0465330b4aec41)

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 agolibcgroup: add SUMMARY and better DESCRIPTION
Paul Eggleton [Wed, 24 Apr 2013 16:48:34 +0000 (17:48 +0100)]
libcgroup: add SUMMARY and better DESCRIPTION

(From OE-Core rev: 96931955f66b1b1f51a360c25cdf566c20466b13)

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>