scm/bb/tizen-distro.git
12 years agolibtool: Put all libltdl headers in the correct libltdl-dev package
Colin Walters [Sun, 15 Jan 2012 18:11:43 +0000 (13:11 -0500)]
libtool: Put all libltdl headers in the correct libltdl-dev package

/usr/include/ltdl.h was in libtldl-dev, but not the headers it depends
on.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub-efi-native: fix errors with automake 1.11.2
Nitin A Kamble [Thu, 12 Jan 2012 22:17:21 +0000 (14:17 -0800)]
grub-efi-native: fix errors with automake 1.11.2

Fixes these errors observed with automake 1.11.2
The useof pkglibhas become more strict compared to the earlier release
of
automake resulting in these failures.
Fixed the files related to automake to avoid the issue.

| conf/Makefile.common:140: `pkglibdir' is not a legitimate directory
for `DATA'
| grub-core/Makefile.am:5:   `conf/Makefile.common' included from here
| conf/Makefile.common:140: `pkglibdir' is not a legitimate directory
for `DATA'
| Makefile.am:6:   `conf/Makefile.common' included from here
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.

| conf/Makefile.common:150: `pkglibdir' is not a legitimate directory
for `SCRIPTS'
| grub-core/Makefile.am:5:   `conf/Makefile.common' included from here
| conf/Makefile.common:140: `pkglibdir' is not a legitimate directory
for `DATA'
| grub-core/Makefile.am:5:   `conf/Makefile.common' included from here
| conf/Makefile.common:150: `pkglibdir' is not a legitimate directory
for `SCRIPTS'
| Makefile.am:6:   `conf/Makefile.common' included from here
| conf/Makefile.common:140: `pkglibdir' is not a legitimate directory
for `DATA'
| Makefile.am:6:   `conf/Makefile.common' included from here
| autoreconf: automake failed with exit status: 1

(From OE-Core rev: e9c5c354086546efe4114c6225d05116fb18b9fe)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: quote pathname given to objdump
Enrico Scholz [Thu, 12 Jan 2012 16:30:20 +0000 (17:30 +0100)]
package.bbclass: quote pathname given to objdump

Packaging will fail with executable files containing spaces in their
names. Patch quotes the parameter passed to 'objdump'.

(From OE-Core rev: 7f7db286ca0b70bd5cce643c3b84f77ad45cc786)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types_uboot.bbclass: Add uncompressed ext2 image option
Matthew McClintock [Thu, 12 Jan 2012 17:13:32 +0000 (11:13 -0600)]
image_types_uboot.bbclass: Add uncompressed ext2 image option

(From OE-Core rev: 1a8e02fee858fa9569f2e980ebff0698e4a53d36)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: Fix generating uncompressed ext2 images
Matthew McClintock [Thu, 12 Jan 2012 17:13:31 +0000 (11:13 -0600)]
image_types.bbclass: Fix generating uncompressed ext2 images

(From OE-Core rev: d0687295456bcf240be657e6b5b508f718ca9ebd)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-1.4.16: use INC_PR from dbus.inc to fix PR bump after dbus-launch-helper permiss...
Martin Jansa [Thu, 12 Jan 2012 14:20:01 +0000 (15:20 +0100)]
dbus-1.4.16: use INC_PR from dbus.inc to fix PR bump after dbus-launch-helper permission change

(From OE-Core rev: ef8171ecad2197d8b123712be36f6e03e8926e13)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqemu: Fix the wrong path of libGL.so in 64b Ubuntu 11.10
Zhai Edwin [Thu, 12 Jan 2012 06:23:19 +0000 (14:23 +0800)]
runqemu: Fix the wrong path of libGL.so in 64b Ubuntu 11.10

From 11.10, libGL.so is installed @ /usr/lib/x86_64-linux-gnu/ in 64b Ubuntu.

[YOCTO #1885] got fixed

(From OE-Core rev: d32c15b9b09e49cb79028f59b493d478f00d4019)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking_fields.inc: Modify the status of eds-tools and mingetty
Xiaofeng Yan [Thu, 12 Jan 2012 09:42:18 +0000 (17:42 +0800)]
distro_tracking_fields.inc: Modify the status of eds-tools and mingetty

Update the status of eds-tools and mingetty.
mingetty has still not been updated since 2008.

(From OE-Core rev: f8d984e485a5bb12f4df8e28e7e0fb0da2a7098e)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
[Fixed Date format]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-*: disable xmlto where it was failing
Martin Jansa [Fri, 23 Dec 2011 10:18:24 +0000 (11:18 +0100)]
xorg-*: disable xmlto where it was failing

* meta-oe now provides xmlto-native
  http://git.openembedded.org/meta-openembedded/commit/?id=ab8f876ca8fa223c183e3db2029cce88f3435a27
  but not the stylesheets for buildhosts without them it's unusable and fails, because xorg macros
  autodetecting xmlto available, see:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-December/037066.html
  after adding xmlto-native and stylesheets-native to DEPENDS we can enable it again

(From OE-Core rev: 58f18f04d7783cc75127f7f1c0921051431dcd8c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-utils: depend on libsamplerate0
Denis 'GNUtoo' Carikli [Sun, 8 Jan 2012 00:55:30 +0000 (01:55 +0100)]
alsa-utils: depend on libsamplerate0

We need to depend on libsamplerate0 because it's detected automatically
  and if we configure without it we get that issue at runtime trying
  to run the alsaloop program:
    No libsamplerate support.

(From OE-Core rev: 545a7407361a7e144a0f868e1a095bf7b10fffd8)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Account for FAT filesystem overhead in image size
Darren Hart [Wed, 11 Jan 2012 23:04:24 +0000 (15:04 -0800)]
bootimg: Account for FAT filesystem overhead in image size

Fixes [YOCTO #1852]

The bootimg class wasn't accounting for non-trivial amount of space
required by the directory entries and FATs for the FAT filesystem.

This patch attempts to make an accurate prediction of FAT overhead and
adjusts the image size accordingly. It assumes no more than 16 directory
entries per directory (which fit in a single sector). It also assumes
8.3 filenames. With the ceiling functions rounding up to full sectors
and tracks, these assumptions seem reasonable.

In order to ensure the calculations are accurate, this patch forces the
FAT size to 32, rather than allowing mkdosfs to automatically select 12,
16, or 32 depending on the image being built.

Tested by setting BOOTIMG_EXTRA_SPACE=0 and building core-image-minimal
and core-image-sato for fri2-noemgd from meta-intel.

(From OE-Core rev: 68aa18609c10a3ae2f738930c933fa2a95ce8959)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe.license: avoid the need to catch SyntaxError
Christopher Larson [Mon, 9 Jan 2012 21:48:33 +0000 (15:48 -0600)]
oe.license: avoid the need to catch SyntaxError

(From OE-Core rev: cace9ddc0edd654877d968643960fa4343472b58)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooe.license: add is_included convenience function
Christopher Larson [Mon, 9 Jan 2012 21:02:34 +0000 (15:02 -0600)]
oe.license: add is_included convenience function

Given a license string and whitelist and blacklist, determine if the
license string matches the whitelist and does not match the blacklist.

When encountering an OR, it prefers the side with the highest weight (more
included licenses). It then checks the inclusion of the flattened list of
licenses from there.

Returns a tuple holding the boolean state and a list of the applicable
licenses which were excluded (or None, if the state is True)

Examples:

    is_included, excluded = oe.license.is_included(licensestr, ['GPL*', 'LGPL*'])
    is_included, excluded = oe.license.is_included(licensestr, blacklist=['Proprietary', 'CLOSED'])

(From OE-Core rev: 7903433898b4683a1c09cc9a6a379421bc9bbd58)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocopyleft_compliance: add debug message with the reason for exclusion
Christopher Larson [Mon, 9 Jan 2012 21:01:57 +0000 (15:01 -0600)]
copyleft_compliance: add debug message with the reason for exclusion

(From OE-Core rev: 02101bbe08a5cd6e5eecb21f2095c15ebfe9287f)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocopyleft_compliance: add control of recipe types to include
Christopher Larson [Mon, 9 Jan 2012 20:40:21 +0000 (14:40 -0600)]
copyleft_compliance: add control of recipe types to include

In this context, recipe "type" refers to whether it is 'target', 'native',
'cross', etc. COPYLEFT_RECIPE_TYPES is a space separated list of types to
include. It defaults to 'target'.

(From OE-Core rev: 045e8a409ffe23d4f562b2982bfeee6e45f3c0d9)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: consolidated fix SRCREV updates
Bruce Ashfield [Wed, 11 Jan 2012 18:30:50 +0000 (13:30 -0500)]
linux-yocto: consolidated fix SRCREV updates

Updating the SRCREVs to include the following fixes from Khem Raj and
Zumeng Chen.

 6f5b118 compiler.h: Undef before redefining __attribute_const__
 fe80c1e oprofile, arm/sh: Fix oprofile_arch_exit() linkage issue

(From OE-Core rev: 02e22816d68dc2bac7fed6952e52ea8a3d9532d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotslib: enable big endian support for qemuppc
Liming Wang [Wed, 4 Jan 2012 10:29:20 +0000 (18:29 +0800)]
tslib: enable big endian support for qemuppc

This enables wacom tablet/touchscreen support on qemuppc.

(From OE-Core rev: 127b15cb0e9644fb732b707b9d4ddaf00d24973e)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuppc: add machconfig
Liming Wang [Wed, 4 Jan 2012 10:29:19 +0000 (18:29 +0800)]
qemuppc: add machconfig

(From OE-Core rev: de8fa377f0bbc9aa3911fc6b4be554f8584fb43f)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuppc: add pointercal file
Liming Wang [Wed, 4 Jan 2012 10:29:18 +0000 (18:29 +0800)]
qemuppc: add pointercal file

This file is for tslib.

(From OE-Core rev: 80fcbee25036d2051538e26cd8b3d2989b0d276d)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuppc: replace emulation of qemuppc from prep to mac99
Liming Wang [Wed, 4 Jan 2012 10:29:17 +0000 (18:29 +0800)]
qemuppc: replace emulation of qemuppc from prep to mac99

With this new emulation, existing qemuppc functionality is maintained
and other functionality such as framebuffer + sato and NFS boot are
added.

(From OE-Core rev: 52ea026df141ea23bbab38ad3a9733c15097eaa4)

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohdparm: upgrade to 9.37
Shane Wang [Wed, 11 Jan 2012 11:44:33 +0000 (19:44 +0800)]
hdparm: upgrade to 9.37

The patch was imported from the OpenEmbedded server (http://git.openembedded.org/openembedded/tree/recipes/hdparm) as of commit id 4d2cb79dcecd056742f411a328f9f1f1113bf689.

And changes include:
       - upgrade to the latest version 9.37 from 9.35.
       - added license checksum.
       - the license for wiper which is in hdparm is GPLv2.

(From OE-Core rev: e46995adec82623342234e4a51bd8c12e6d62c3e)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostat: add recipe stat with version 3.3
Shane Wang [Wed, 11 Jan 2012 11:38:07 +0000 (19:38 +0800)]
stat: add recipe stat with version 3.3

stat is brought into Yocto because the latest version hdparm 9.37 depends on it, and add license checksum.

The recipe was imported from the OpenEmbedded server
(http://git.openembedded.org/openembedded/tree/recipes/stat) as of commit ids
709c4d66e0b107ca606941b988bad717c0b45d9b,
44985d56bc556786812a0a02d6219afd31a7381d,
b3246d96069fd11caee42ec6ebcbf6dca2d62449.

(From OE-Core rev: 99fdc0626d2e0f5a4a8fbaf0b1de86437966260f)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro-tracking: Update info for webkit-gtk, web-webkit
Zhai Edwin [Wed, 11 Jan 2012 03:01:32 +0000 (11:01 +0800)]
distro-tracking: Update info for webkit-gtk, web-webkit

(From OE-Core rev: 3add06d4407b0a30ff8a8202aa028ab0cbfd28d6)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: update manual_check_date fields
Nitin A Kamble [Wed, 11 Jan 2012 02:23:39 +0000 (18:23 -0800)]
distro_tracking: update manual_check_date fields

(From OE-Core rev: bf039fdb6036a5cae11ad58edb2fd9e4f60632da)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobtrfs-tools: upgrade to newer git commit
Nitin A Kamble [Wed, 11 Jan 2012 02:23:05 +0000 (18:23 -0800)]
btrfs-tools: upgrade to newer git commit

(From OE-Core rev: 32068d9e3157748f3894b3368c0a050af5e12d47)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpcre: upgrade from 8.20 to 8.21
Nitin A Kamble [Wed, 11 Jan 2012 02:04:39 +0000 (18:04 -0800)]
libpcre: upgrade from 8.20 to 8.21

(From OE-Core rev: efd200bc0db4d290445f742798e20914e4db347a)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: fix elf.arch not matching error for x32 kernel
Nitin A Kamble [Wed, 11 Jan 2012 01:33:31 +0000 (17:33 -0800)]
insane.bbclass: fix elf.arch not matching error for x32 kernel

For x32 the user space is 32bit and the kernel is 64bit.
So the elf.arch for vmlinuz is x86_64 and not x86. This commit
fixes this QA error thrown for x32 kernel.

| ERROR: QA Issue: Architecture did not match (62 to 3) on
/work/qemux86_64-poky-linux-gnux32/linux-korg-3.1+git1+e2bf8464ddbf5da24d3d320cded5691828a91a0b-r1/packages-split/kernel-vmlinux/boot/vmlinux-3.1.0-yocto-standard-01628-ge2bf846
(From OE-Core rev: 74686edafa241839d3880e06740ee7450ff94fd8)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffstat: upgrade from 1.54 to 1.55
Nitin A Kamble [Mon, 9 Jan 2012 20:13:27 +0000 (12:13 -0800)]
diffstat: upgrade from 1.54 to 1.55

(From OE-Core rev: f29dd1173c261c46b0c3d0d30f94a45c011a72de)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolocale: fix package's "provides" tag
Nitin A Kamble [Mon, 9 Jan 2012 19:33:09 +0000 (11:33 -0800)]
locale: fix package's "provides" tag

Fixes this bug: [YOCTO #1874]

Fixes an issue where a locale package depends on one package while it
also provides the same, as seen bellow.

Package: locale-base-de-de
Version: 2.12-r19
Depends: eglibc-binary-localedata-de-de
Provides: virtual-locale-de-de, virtual-locale-de,
eglibc-binary-localedata-de-de

Actually the eglibc-binary-localedata-de-de is ia separate package,
 and it should not be part of provides of the locale-base-de-de.

(From OE-Core rev: 49c5ff7197b44c7d29d31506c2425b86bc2c1ff6)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoncurses-native: install to libdir, not base_libdir
Christopher Larson [Tue, 10 Jan 2012 19:51:18 +0000 (13:51 -0600)]
ncurses-native: install to libdir, not base_libdir

For target, both base_libdir and libdir in sysroot can be used, as we pass
--sysroot to the toolchain. For native, we don't do this, and we also only add
-L<sysroot>/${libdir}, not -L<sysroot>/${base_libdir}, resulting in other
native recipes (like readline-native) failing to find the ncurses libraries.

readline-native only built successfully on hosts where it could fall back to
their ncurses/termcap rather than the one in the sysroot.

(From OE-Core rev: dd05e06b89906002f68d616a6326c962e725bc54)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoghostscript: build cups filters
James Limbouris [Tue, 10 Jan 2012 08:37:48 +0000 (16:37 +0800)]
ghostscript: build cups filters

Cups filters are no longer built by default. Since ghostscript already depends
on cups, build the filters and package them as ghostscript-cups.

Ghostscript uses the cups-config script from the oe sysroots to determine some
of the target install paths, as well as to determine the linker path. The config
script gives out paths pointing to the sysroot, so some of the paths needed to
be adjusted in the Makefile.

(From OE-Core rev: 8c457ea44dc75a01826b070c8b41d1ca5e712171)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: Compile without CONFIG_GNUTLS_EXTRA (PR BUMP)
Andrei Gherzan [Fri, 6 Jan 2012 15:34:36 +0000 (17:34 +0200)]
wpa-supplicant: Compile without CONFIG_GNUTLS_EXTRA (PR BUMP)

CONFIG_GNUTLS_EXTRA is needed as support for TLS/IA which was designed to be used
in the EAP-TTLSv1. As we don't see any requirement for that protocol today we decided
to remove it from wpa-supplicant .config file.
This change includes PR bump.

[YOCTO #1845]

(From OE-Core rev: 959449005c02d5e2554bb03bfa8e21874012d2e5)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: Use gnomebase class, not gnome
Richard Purdie [Mon, 16 Jan 2012 18:00:14 +0000 (18:00 +0000)]
pango: Use gnomebase class, not gnome

There was a circular dependency introduced by the recent gconf changes
to depend on gtk+. The issue is that gtk+ depends on pango and pango
depends on gconf.

This patch changes to use the gnonebase class since pango has no need
of gconf/mime/gtk-icon-cache and hence removes the circular dependency.

(From OE-Core rev: 91e17c0c0ac2330f826b95e762542cd0d0c82385)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogconf: enable gtk+ 2.0 support to build gconf-sanity-check-2
Koen Kooi [Thu, 12 Jan 2012 19:17:11 +0000 (20:17 +0100)]
gconf: enable gtk+ 2.0 support to build gconf-sanity-check-2

This is needed for e.g. gnome-session:

gnome-session[424]: WARNING: Failed to run gconf-sanity-check-2: Failed to execute child process "/usr/libexec/gconf-sanity-check-2" (No such file or directory)

(From OE-Core rev: ecf15d60dd0c255c80de223dad08234e915916a2)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildstats: tolerate absence of /proc/diskstats
Jean-François Dagenais [Mon, 16 Jan 2012 01:11:05 +0000 (20:11 -0500)]
buildstats: tolerate absence of /proc/diskstats

In OpenVZ containers (and probably lx containers as well),
the diskstats entry is not even present. Use the "NoLogicalDrive"
introduced by Elizabeth Flanagan in such case.

This allows the bitbaking to occure within such containers.

(From OE-Core rev: 16e09b850dcb44cb1afe411439e40a4bae7e8002)

Signed-off-by: Jean-François Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-server
Steve Sakoman [Sat, 7 Jan 2012 04:51:54 +0000 (20:51 -0800)]
dhcp: package /var/lib/dhcp with dhcp-client rather than dhcp-server

Otherwise dhclient encounters errors of this type:

dhclient: can't create /var/lib/dhcp/dhclient-c0c60402-0bc5-4bd7-bc3b-49a27fa37d72-eth1.lease: No such file or directory

(From OE-Core rev: aad04928116feea421fba84c4780b93191be6169)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo 1.10.2: enable tee backend
Koen Kooi [Fri, 13 Jan 2012 09:01:27 +0000 (10:01 +0100)]
cairo 1.10.2: enable tee backend

This is needed for firefox:

| checking CAIRO_LIBS... -lcairo -lpixman-1 -lfreetype -lfontconfig
| checking for cairo-tee >= 1.10... Package cairo-tee was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo-tee.pc' to the PKG_CONFIG_PATH environment variable No package 'cairo-tee' found
| configure: error: Library requirements (cairo-tee >= 1.10) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

(From OE-Core rev: 935ae84757ca623f93b1465088e27107bc226dee)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango.inc: add directory "/etc/pango"
Xiaofeng Yan [Thu, 12 Jan 2012 07:39:57 +0000 (15:39 +0800)]
pango.inc: add directory "/etc/pango"

Command "pango-querymodules > /etc/pango/pango.modules" can't work when \
starting up yocto because of no directory "/etc/pango". It will cause \
messy code when gtk-demo running.

[YOCTO #1900]

[RP: PR bump]
(From OE-Core rev: 65186bd86170d8c375931a18487c2fdf3bd1b3b0)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo.inc: Change configuration of directfb to gtk-directfb
Xiaofeng Yan [Thu, 12 Jan 2012 07:34:23 +0000 (15:34 +0800)]
cairo.inc: Change configuration of directfb to gtk-directfb

"direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb".
PACKAGECONFIG can't select directfb as backend rightly, or else.

[YOCTO #1900]

(From OE-Core rev: 458ffd3f47b99ee89e6cb8015d68f9820f86e3e7)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk.inc: Change configuration of directfb to gtk-directfb
Xiaofeng Yan [Thu, 12 Jan 2012 07:23:12 +0000 (15:23 +0800)]
gtk.inc: Change configuration of directfb to gtk-directfb

"direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb".
PACKAGECONFIG can't select directfb as backend rightly, or else.

[YOCTO #1900]

(From OE-Core rev: 785412c0dfb8df055e3f5fa865474ee1cf0ce10f)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/knotty: print task failure summary
Paul Eggleton [Fri, 13 Jan 2012 17:01:52 +0000 (17:01 +0000)]
bitbake/knotty: print task failure summary

Remove the error logged within cooker summarising the list of failed
tasks, and instead print this in the UI (knotty) where it belongs. This
also adds the actual name of the task that failed as well as the
corresponding recipe file that was being shown previously.

In addition, reformat the summary messages more tidily - no extra breaks
between lines and use correct English singular/plurals, with some
allowance for future translation.

(Bitbake rev: cdf69913f99d28bc7f51067a60257701f952c6cb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/cooker: avoid printing stack trace for -b match error
Paul Eggleton [Fri, 13 Jan 2012 17:01:51 +0000 (17:01 +0000)]
bitbake/cooker: avoid printing stack trace for -b match error

Improves error output for matching problems when the -b / --buildfile
command line option is used.

Rename MultipleMatches exception to NoSpecificMatch (as it is also
raised when there are no matching recipes) and make it inherit from
BBHandledException so that it doesn't print a stack trace (we always log
an ERROR prior to raising it.)

In addition, improve the formatting of the error message - only call the
log function once rather than once for every match, and use a more
appropriate message if there are no matches.

Fixes [YOCTO #1141]

(Bitbake rev: 803550a5098ec878164245e71344c3d687310b72)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2: reduce output for fetch failures
Paul Eggleton [Fri, 13 Jan 2012 17:01:50 +0000 (17:01 +0000)]
bitbake/fetch2: reduce output for fetch failures

Make the warning for the initial fetch failure a single line - we don't
need the full command and output here yet, but write it into the log in
full as a debug message. However, if fetching from mirrors fails as well
then print out the full details for the first error that occurred as an
ERROR rather than a WARNING.

Since this is logged as an ERROR, combined with an earlier patch it
suppresses the full log which does make the output much more readable
for any fetch error.

Fixes [YOCTO #1832].

(Bitbake rev: 6bbdc7d259c0cc041b62dbdb26cfc3ec6edcb6f3)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/knotty: avoid printing full task log when error already printed
Paul Eggleton [Fri, 13 Jan 2012 17:01:49 +0000 (17:01 +0000)]
bitbake/knotty: avoid printing full task log when error already printed

If a task has logged an ERROR then don't print the contents of the
task's log file in knotty (the default terminal UI).

As a side-effect we now also respect BBINCLUDELOGS in knotty; if it is
false we never print the log (but the pointer to the log file is always
printed).

(Bitbake rev: b9746b7e4d7aa5c34eba15a61427bfc6949af123)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2: correctly decode exit signal/status
Paul Eggleton [Fri, 13 Jan 2012 17:01:48 +0000 (17:01 +0000)]
bitbake/fetch2: correctly decode exit signal/status

The termination signal and exit code of the fetch process were not being
decoded correctly, resulting in bitbake reporting that the process
terminated with a signal of the exit code (if it was under 255). There
are functions in the Python os module to do this decoding correctly (for
Unix at least), so let's use them.

(Bitbake rev: 50aea9a76e40cf71cc3f1462c88298e4846a031c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: avoid "failed" in task summary if nothing did
Paul Eggleton [Fri, 13 Jan 2012 17:01:47 +0000 (17:01 +0000)]
bitbake/runqueue: avoid "failed" in task summary if nothing did

Seeing the word "failed" alone without reading the whole context has
occasionally triggered an automatic assumption on the part of some users
(myself included) that something has gone wrong, even when this message
is telling you that "0 [tasks] failed". To avoid this let's just say
"all succeeded" in this case instead.

As a bonus this means you can now search the output for "fail" and not
find anything if all went well.

(Bitbake rev: b6f067af12d4661758a78788f1db472684b9aba8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2: improve error formatting for fetcher errors
Paul Eggleton [Fri, 13 Jan 2012 17:01:46 +0000 (17:01 +0000)]
bitbake/fetch2: improve error formatting for fetcher errors

* The "name" argument to FuncFailed is rarely used as a name in actual
  usage within bitbake, so don't treat it as one in the output.
* Don't print URL for FetchError if it was not specified (i.e. don't
  output "Fetcher failure for URL 'None'")
* Don't include URL in "unable to fetch from any source" message since
  we supply it to FetchError and it will be printed anyway.
* Don't include URL in "checksum failed" message for the same reason

(Bitbake rev: 86811bd85e2e453ee92a05fe60160d9b49ac69e8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/knotty: don't count errors as warnings in summary
Paul Eggleton [Fri, 13 Jan 2012 17:01:45 +0000 (17:01 +0000)]
bitbake/knotty: don't count errors as warnings in summary

The count of warnings being shown in the summary at the end was also
including the number of errors.

(Bitbake rev: d242d6ca81dd83b2b13a3ac77ac4cd829a69cf83)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopatch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the correct...
Richard Purdie [Fri, 13 Jan 2012 16:23:26 +0000 (16:23 +0000)]
patch.bbclass: Ensure the DATE and SRCDATE variable exclusions apply to the correct function

People have noticed that sstate is now getting invalidated very readily. The
issue is that the code using these variables was factored into a new function
but the variable exclusion was not. This patch moves the variable exclusion
to the correct place allowing the sstate checksums to work correctly.

(From OE-Core rev: bd047935305c872b565f30b46c94b7077e5fb3a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.conf: Clean up file and add missing entries for various dependencies
Richard Purdie [Wed, 11 Jan 2012 14:34:51 +0000 (14:34 +0000)]
multilib.conf: Clean up file and add missing entries for various dependencies

This patch adds in various missing dependencies to ensure the set
of recipes listed for multilib support can be cleanly built.

(From OE-Core rev: 1d2697e6f00cc3771f39f5a7d4384a22d9696b16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils-cross-canadian: Clear BBCLASSEXTEND as a native version of this recipe makes...
Richard Purdie [Wed, 11 Jan 2012 14:33:45 +0000 (14:33 +0000)]
binutils-cross-canadian: Clear BBCLASSEXTEND as a native version of this recipe makes no sense

(From OE-Core rev: 5980cd6af7b5260558cb234288a426c091b5de2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-native: RPROVIDE python-core-native since pycurl-native depends on it
Richard Purdie [Wed, 11 Jan 2012 14:33:12 +0000 (14:33 +0000)]
python-native: RPROVIDE python-core-native since pycurl-native depends on it

(From OE-Core rev: 893405d46c28d75372dcf4b2d91c617b81bdc92e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxft: Drop BBCLASSEXTEND nativesdk since dependencies freetype and fontconfig aren...
Richard Purdie [Wed, 11 Jan 2012 14:32:33 +0000 (14:32 +0000)]
libxft: Drop BBCLASSEXTEND nativesdk since dependencies freetype and fontconfig aren't class extended

(From OE-Core rev: 27e8a432889b3a78f6bbadf8b14ad1ce4d11907c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolzo: Add BBCLASSEXTEND nativesdk so lzop nativesdk works (it depends on this)
Richard Purdie [Wed, 11 Jan 2012 14:30:27 +0000 (14:30 +0000)]
lzo: Add BBCLASSEXTEND nativesdk so lzop nativesdk works (it depends on this)

(From OE-Core rev: 6dd84aa0bb766190e82d401511808715625e4310)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpm: Fix magic file name magic -> magic.mgc
Saul Wold [Wed, 11 Jan 2012 22:30:47 +0000 (14:30 -0800)]
rpm: Fix magic file name magic -> magic.mgc

(From OE-Core rev: aee38df69073fe5b3c1e8ee180912d1f0360f651)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: per recipe PRSERV_HOST support
Lianhao Lu [Thu, 29 Dec 2011 08:35:53 +0000 (16:35 +0800)]
package.bbclass: per recipe PRSERV_HOST support

[YOCTO #1126]
Added per recipe PRSERV_HOST PRSERV_PORT support.

(From OE-Core rev: d5b8caac0e7fc4b05c76b4d3da0508e2a53f28cd)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agometa/PRService: Added export/import fuctions.
Lianhao Lu [Thu, 22 Dec 2011 07:29:11 +0000 (15:29 +0800)]
meta/PRService: Added export/import fuctions.

[YOCTO #1556]
- Modified meta/class/package.bbclass and prserv.bbclass according to
the change in PR service by adding PACKAGE_ARCH into the query tuple.

- Added prexport.bbclass, primport.bbclass to export/import AUTOPR
  values from/to PRService.

- Move PR service related common code to lib/oe/prservice.py.

- Supported reading the AUTOPR values from the exported .inc file
instead of reading it from remote PR service.

- Created a new script bitbake-prserv-tool to export/import the AUTOPR
values from/to the PR service.

Typical usage scenario of the export/import is:
1. bitbake-prserv-tool export <file> to export the AUTOPR values from
the current PR service into an exported .inc file.

2. Others may use that exported .inc file(to be included in the
local.conf) to lockdown and reproduce the same AUTOPR when generating
package feeds.

3. Others may "bitbake-prserv-tool import <file>" to import the AUTOPR
values into their own PR service and the AUTOPR values will be
incremented from there.

(From OE-Core rev: 9979107d8eaf503efd921564385859b1e83dbb3c)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoIncremental rpm image generation
Robert Yang [Wed, 28 Dec 2011 09:16:11 +0000 (17:16 +0800)]
Incremental rpm image generation

Incremental rpm image generation, the rootfs would be totally removed and
re-created in the second generation by default, but with
INC_RPM_IMAGE_GEN = "1", the rpm based rootfs would be kept, and will do
update(remove/add some pkgs) on it.

NOTE: This is not suggested when you want to create a productive rootfs

For example:
  1) Add the follow config option to a conf file:
     INC_RPM_IMAGE_GEN = "1"

  2) bitbake core-image-sato
     modify a package
     bitbake core-image-sato

The rootfs would not be totally removed and re-created in the second
generation, it would be simply updated based on the "package".

Implatation:
1) Figure out the pkg which need to be removed or re-installed, then use
'rpm -e to remove the old one. Use the rpm's BUILDTIME to determine
which pkg has been rebuilt.

2) Figure out the pkg which is newly added, and use 'rpm -U' to install
it.

This only for the rpm based rootfs, the deb and ipk based rootfs would
be done later.

[YOCTO #1651]

(From OE-Core rev: 575ba3c9e153a1d8ac228a99a03ca2df5fbca151)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Automatically start local PR service.
Lianhao Lu [Tue, 10 Jan 2012 06:13:50 +0000 (14:13 +0800)]
bitbake: Automatically start local PR service.

[YOCTO #1126]
A local PR service will be started and stopped automatically along
with the bitbake invocation/ternimation.

This local PR service will be started only and if only when the
PRSERV_HOST is set to 'localhost' and PRSERV_PORT is set to '0'.

When started, the sqlite3 database is stored at
"${PERSISTEN_DIR}/prserv.sqlite3" or "${CACHE}/prserv.sqlite3".

(Bitbake rev: 9d8f45407c67ed0d3c4f820cf646de3c385067c7)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/PRservice: Added no_hist mode and export/import.
Lianhao Lu [Tue, 10 Jan 2012 06:13:49 +0000 (14:13 +0800)]
bitbake/PRservice: Added no_hist mode and export/import.

[YOCTO #1556]
1. Added the package_arch into the index to the DB table. Because the
change in PACKAGE_ARCH will results in different checksum, and it is
better to have seperate PR value domains for differnt PACKAGE_ARCH of
the same pakcage.

2. Changed the PR service to operate in no history mode. In this mode,
the for a given query tuple (version, pkgarch, checksum), the returned
value will be the largest among all the values of the same (version,
pkgarch). This means the PR value returned can NOT be decremented.

3. Added export function. For each (version, pkgarch) tuple, only the
record with the maximum value will be exported.

4. Added import function. The record will only be imported if the
imported value is larger than the value stored in the DB with the same
(version, pkgarch, checksum) tuple.

(Bitbake rev: 379567ee879dcdc09a51f7f1212bde1076147a6f)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "site/common-uclibc: Cache gl_cv_func_wcwidth_works"
Richard Purdie [Tue, 10 Jan 2012 18:32:16 +0000 (18:32 +0000)]
Revert "site/common-uclibc: Cache gl_cv_func_wcwidth_works"

This reverts commit a471d342424502de48f28c4f8297d490f2cd1443.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: update manual check info
Dongxiao Xu [Tue, 10 Jan 2012 07:52:06 +0000 (15:52 +0800)]
distro_tracking: update manual check info

updated kexec-tools manual check information

(From OE-Core rev: 4ab5ee52e4c47e8d913f2d5f86beac49e01d6a7b)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass base.bbclass: support for 'or' operand in LICENSE and for SPDX licens...
Andrei Gherzan [Tue, 10 Jan 2012 15:17:58 +0000 (17:17 +0200)]
license.bbclass base.bbclass: support for 'or' operand in LICENSE and for SPDX license names

A new function was defined in license.bbclass in order to correctly exclude packages where OE-Style licence naming
is used. In this way licenses as GPL-3, GPLv3, GPLv3.0 etc will be excluded from a non-GPLv3 build. This function
takes into consideration if 'or' operand is used.
The function defined in license.bbclass is called in base.bbclass where packages are excluded based on
INCOMPATIBLE_LICENSE variable.

[YOCTO #1884]
[YOCTO #1844]

(From OE-Core rev: 28456593be0b7e15bb51595d547d7e5347cce24b)

Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Add BBHandledException exception class
Richard Purdie [Mon, 9 Jan 2012 17:01:51 +0000 (17:01 +0000)]
bitbake: Add BBHandledException exception class

We have a problem knowing when to show the user debug information and
when not to since the code has already shown the user suitable information
about why a failure is occurring.

This patch adds a bb.BBHandledException exception class which can be used
to identify those exceptions which don't need further explanation to
the user.

This patch uses this class for the bb.providers exceptions and ensures the
command handling code correctly filters the exceptions meaning that

"bitbake invalid"

now shows an simple error message and not a python traceback.

[YOCTO #1141 partial]

(Bitbake rev: eac9249b40ae1e3aa21e016010c862664e59a8d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/knotty: Show summary of warning/error messages shown
Richard Purdie [Mon, 9 Jan 2012 17:00:53 +0000 (17:00 +0000)]
bitbake/knotty: Show summary of warning/error messages shown

Show a summary count of warning/errors messages shown to the user during the
build and make it clear when an error exit code is being set.

[YOCTO #1540]

(Bitbake rev: 9943bad611a974e4d37a00c7a4de1752250370c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake-layers: close files in apply_append()
Paul Eggleton [Sun, 8 Jan 2012 12:06:51 +0000 (12:06 +0000)]
bitbake-layers: close files in apply_append()

It's recommended practice to close files when finished with them and the
code in this function was not doing this.

(Bitbake rev: 470a160813ce6cf04f83258d46ded5c2ab8bc520)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake-layers: flatten: warn the user if output structure is incorrect
Paul Eggleton [Sun, 8 Jan 2012 12:06:50 +0000 (12:06 +0000)]
bitbake-layers: flatten: warn the user if output structure is incorrect

If you flatten layers that have different directory structures you may
not end up with a usable layer in the output directory - some files
won't be picked up by BitBake.

To try to avoid this problem, once flattening has completed, get the
BBFILES entries that correspond to the layer from which the output
layer's conf/layer.conf came from, and check through all of the
.bb/.bbappend files in the output directory to see if any will not be
referred to by BBFILES in the output layer. If any are found, show a
warning to the user.

(Bitbake rev: 8e4dc97614f2022855143b49d18795ca0352b237)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake-layers: flatten: allow specifying layers to flatten
Paul Eggleton [Sun, 8 Jan 2012 12:06:49 +0000 (12:06 +0000)]
bitbake-layers: flatten: allow specifying layers to flatten

You can now optionally specify two or more layers to flatten into the
output, rather than flattening all of the layers in the current
configuration (but this is still the default behaviour if no layers are
specified). Note that this means the output layer may still contain
bbappends where the corresponding recipes are not present in the list of
layers to flatten. There is also a caveat when a layer not being
flattened would be "inbetween" the flattened layers (see the command
help for details.)

Implements feature request in [YOCTO #1564].

(Bitbake rev: 379b12107ec921b4458eda320078374a509164c1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking_fields.inc: upgrade tcf-agent
Dexuan Cui [Tue, 10 Jan 2012 04:05:59 +0000 (12:05 +0800)]
distro_tracking_fields.inc: upgrade tcf-agent

Upgraded the field RECIPE_MANUAL_CHECK_DATE.
Also changed the MAINTAINER to Lianhao who volunteered to take the recipe.

(From OE-Core rev: 82329c13f891939c68ec26a60a9c0a25929cd584)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: Update Manual Checks
Saul Wold [Tue, 10 Jan 2012 00:39:18 +0000 (16:39 -0800)]
distro_tracking: Update Manual Checks

(From OE-Core rev: 46955329638856a14200ee7ba10d40aad7c39899)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-tools: adapt to kexec-tools package split
Andrea Adami [Mon, 9 Jan 2012 22:46:14 +0000 (23:46 +0100)]
task-core-tools: adapt to kexec-tools package split

* The recipe packages now kexec and kdump separately.
* For standard purposes only kexec is needed.
* Bump PR.

(From OE-Core rev: fcd67dc6348df5a3435d4ae276d824e8e072b68d)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokexec-tools: split packaging of kexec and kdump
Andrea Adami [Mon, 9 Jan 2012 22:46:13 +0000 (23:46 +0100)]
kexec-tools: split packaging of kexec and kdump

* from meta-oe (originally from org.openembedded.dev)
* There are no reasons to install kdump when only kexec is needed.
*
* In oe-core/meta there are no references to kexec-tools so
* the recipes inn external layers rdepending on kexec-tools should be
* fixed and rdepend on kexec and/or kdump.
*
* Bump PR.

(From OE-Core rev: 1f40a5486f703684c5d1d7360ef3cbdf75577495)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: .pc files should go in the -dev packages for subpackages
Colin Walters [Mon, 9 Jan 2012 21:22:39 +0000 (16:22 -0500)]
util-linux: .pc files should go in the -dev packages for subpackages

The .pc files were ending up in util-linux-dev, not the correct
subpackage like libuuid1-dev.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Enable fallocate and use CACHED_CONFIGUREVARS
Khem Raj [Mon, 9 Jan 2012 19:47:04 +0000 (11:47 -0800)]
util-linux: Enable fallocate and use CACHED_CONFIGUREVARS

fallocate is implemented in eglibc 2.11 and all eglibc
we use are greater than 2.11 so drop disabling it.

Use CACHED_CONFIGUREVARS to specify scanf_cv_type_modifier=as

(From OE-Core rev: 469eb3e1680443aa486d3a3c68e665e3388cc892)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: Use CACHED_CONFIGUREVARS to specify cached configure vars
Khem Raj [Mon, 9 Jan 2012 19:45:56 +0000 (11:45 -0800)]
findutils: Use CACHED_CONFIGUREVARS to specify cached configure vars

Since this feature is depending on wchar support we only
cache is when we have libc-posix-clang-wchar enabled

(From OE-Core rev: 783999bbe239b3a66cf87f7018a3087187c9bc11)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc: Configure UCLIBC_HAS_WCHAR based on libc-posix-clang-wchar distro feature
Khem Raj [Mon, 9 Jan 2012 19:45:02 +0000 (11:45 -0800)]
uclibc: Configure UCLIBC_HAS_WCHAR based on libc-posix-clang-wchar distro feature

(From OE-Core rev: 80e6f9201ffa3b8f52f6d452c8657ec6fda4749c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools.bbclass: Introduce CACHED_CONFIGUREVARS
Khem Raj [Mon, 9 Jan 2012 19:39:48 +0000 (11:39 -0800)]
autotools.bbclass: Introduce CACHED_CONFIGUREVARS

This variable is for holding the cached configure variables
to be specified in recipes. e.g.

CACHED_CONFIGUREVARS += "ac_cv_foo=yes ac_cv_bar=no"

This will make sure that the variables are not detected
by configure. This is useful in cross builds where
some features can not be detected correctly by configure
and having it as a variables gives us capability to
override it

(From OE-Core rev: e48fd42e047f46399828a074c5125a0ce9c3f56f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: add shared library version info to libxml shared libraries
Matthew McClintock [Mon, 2 Jan 2012 22:05:16 +0000 (16:05 -0600)]
libxml2: add shared library version info to libxml shared libraries

This fixes an issue with RPM where it checks version imformation for
binaries linked against libxml and fails because it's missing info

| error: Failed dependencies:
|              libxml2.so.2(LIBXML2_2.6.0) is needed by fmc-0.9.7+2-r2.1.ppce500mc
|              libxml2.so.2(LIBXML2_2.4.30) is needed by fmc-0.9.7+2-r2.1.ppce500mc
| ERROR: Function 'do_rootfs' failed (see

Note: fmc is just an example recipe/name

(From OE-Core rev: d1f1fec5c6fe980aaf2c1f1dc2a0e737f4adf2dd)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Upgrade recipes 2.14 -> 2.15
Khem Raj [Sat, 7 Jan 2012 04:40:23 +0000 (20:40 -0800)]
eglibc: Upgrade recipes 2.14 -> 2.15

Add patch to provide __finite_sqrt functions for ppc

(From OE-Core rev: 289d09176f8b6f66f6a7807b57f10e86939942f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoupdate-modules: don't run modutils.sh if systemd is installed
Steve Sakoman [Sat, 7 Jan 2012 04:51:55 +0000 (20:51 -0800)]
update-modules: don't run modutils.sh if systemd is installed

systemd has its own mechanism for loading kernel modules at startup

(From OE-Core rev: 553deffc8040afabd56b1c1d87a8a8d24bbae5d0)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst
Steve Sakoman [Sat, 7 Jan 2012 04:51:53 +0000 (20:51 -0800)]
gtk-icon-cache.bbclass: add -f option to gtk-update-icon-cache in postinst

The gtk-update-icon-cache utility does not create a cache file if
one does not already exist.  Since some packages (notably gnome-icon-theme)
do not ship a cache file by default, the results of the utility are
not saved.  Adding the force option writes out the cache even if there
wasn't a default cache in the package.

(From OE-Core rev: b3bb99c6faaf5c1613246309fd05cd95c39c77f4)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus: change permissions of dbus-daemon-launch-helper to 4755
Steve Sakoman [Sat, 7 Jan 2012 04:51:52 +0000 (20:51 -0800)]
dbus: change permissions of dbus-daemon-launch-helper to 4755

With current permissions of 4754 on systemd systems various services will fail to
activate with "helpful" error messages of the type:

2000-01-01T00:00:25+00:00 omap3-multi dbus[178]: [system] Activated service
'org.freedesktop.nm_dispatcher' failed: Failed to execute program
/usr/libexec/dbus-daemon-launch-helper: Success

(From OE-Core rev: 7b1e227bf28c9d4f3bb16af4d9ac21265e88a3f1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove last remnants of kernel26 MACHINE_FEATURES
Steve Sakoman [Sat, 7 Jan 2012 04:51:51 +0000 (20:51 -0800)]
Remove last remnants of kernel26 MACHINE_FEATURES

There is no reason to continue to carry this feature

(From OE-Core rev: f1193e077d187b9ce18ae0686b1a1f0f9832036d)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb-compat: keep *.la in base_libdir
Andreas Müller [Sun, 8 Jan 2012 18:04:09 +0000 (19:04 +0100)]
libusb-compat: keep *.la in base_libdir

build-tested from scratch in angstrom environment.

(From OE-Core rev: 4fa337fe932230b43d7006cdd8b44dfa05501bbe)

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb1: keep *.la in base_libdir
Andreas Müller [Sun, 8 Jan 2012 18:04:08 +0000 (19:04 +0100)]
libusb1: keep *.la in base_libdir

This fixes the following error found during build from scratch for
meta-oe / obexd:

| arm-angstrom-linux-gnueabi-libtool: link: cannot find the library
| `/home/Superandy/tmp/oe-core-eglibc/sysroots/overo/lib/libusb-1.0.la' or
| unhandled argument `=/lib/libusb-1.0.la'

build-tested from scratch in angstrom environment.

(From OE-Core rev: ea81932400c85976ebb47b930b64990660b210f7)

Signed-off-by: Andreas Müller <schnitzeltony@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibiconv_1.14.bb: Fix build failure
Khem Raj [Sun, 8 Jan 2012 10:23:33 +0000 (02:23 -0800)]
libiconv_1.14.bb: Fix build failure

Currently libiconv is failing after upgrade to 1.14
this patch fixes the problem. It uses relocatable
gnulib module which should be added.

Delete unpackaged files.

(From OE-Core rev: fcb8d6fd9c1d6ee28bb8ab79d7829f719d989bae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosite/common-uclibc: Cache gl_cv_func_wcwidth_works
Khem Raj [Mon, 9 Jan 2012 04:39:29 +0000 (20:39 -0800)]
site/common-uclibc: Cache gl_cv_func_wcwidth_works

Its not computed properly during configure and
we configure uclibc with widechar support anyway
so its fine to cache it. It fixes the errors like

| In file included from ./stdio.h:31:0,
|                  from fpurge.h:20,
|                  from fpurge.c:20:
| /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/sysroots/qemux86/usr/include/stdio.h:662:40: error: expected declaration specifiers or '...' before '(' token
| make[4]: *** [fpurge.o] Error 1

(From OE-Core rev: a471d342424502de48f28c4f8297d490f2cd1443)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoadd sysroot support for meta-ide-support which is the toolchain within build env...
Jessica Zhang [Fri, 6 Jan 2012 20:17:42 +0000 (12:17 -0800)]
add sysroot support for meta-ide-support which is the toolchain within build env case

(From OE-Core rev: 3b2bbbf965f31088bcb796e8a55966a2fc180349)

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxxf86dga: fix compilation with x32 toolchain
Nitin A Kamble [Wed, 4 Jan 2012 22:28:43 +0000 (14:28 -0800)]
libxxf86dga: fix compilation with x32 toolchain

Fix type conversion for x32. For x32 the off_t is 64bit and pointers are
32bit.
so the conversion of pointer to off_t was resulting into this error:

| XF86DGA2.c:931:24: error: cast from pointer to integer of different
size [-Werror=pointer-to-int-cast]
| cc1: some warnings being treated as errors
|
| make[2]: *** [XF86DGA2.lo] Error 1

Fixed it by typecasting pointer into unsigned long 1st and then again
typecasting unsigned long to off_t.

(From OE-Core rev: 644aaa87a0e161f8a37267f13d4a18f6dfcd9a4f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocommand.py: add parseConfigurationFiles API
Dongxiao Xu [Fri, 6 Jan 2012 09:02:23 +0000 (17:02 +0800)]
command.py: add parseConfigurationFiles API

The parseConfigurationFiles API calls the related function in
cooker.py to parse config files.

(Bitbake rev: 96c307b9874131ad8c7d9caea6f6dfbd09aab9d4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: add a new option "--server-only"
Dongxiao Xu [Fri, 6 Jan 2012 09:02:29 +0000 (17:02 +0800)]
bitbake: add a new option "--server-only"

Create a new option "--server-only" for bitbake command, which allows
bitbake runs as a server, and let frontend connect the server itself.

"--server-only" should work with "-t xmlrpc", or bitbake will exit.

bitbake --server-only -t xmlrpc will print out the server address and
port information.

(Bitbake rev: 2677254cf9792cee083605267570d93b425cc2db)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: remove command import in cooker.py
Dongxiao Xu [Fri, 6 Jan 2012 09:02:28 +0000 (17:02 +0800)]
cooker: remove command import in cooker.py

There is no direct use of command in cooker.py, and it is using
bb.command instead. Remove command in the import list.

This fixes a problem of embedded import between command.py and
cooker.py.

(Bitbake rev: c353316b2efcc7a893d6b4aa9a9647d51a6f69e3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: remove command import in cooker.py
Dongxiao Xu [Fri, 6 Jan 2012 09:02:28 +0000 (17:02 +0800)]
cooker: remove command import in cooker.py

There is no direct use of command in cooker.py, and it is using
bb.command instead. Remove command in the import list.

This fixes a problem of embedded import between command.py and
cooker.py.

(Bitbake rev: 92fec2788e33d301cc63848901bc6adc764a2ecf)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxmlrpc: Change BitbakeServerInfo init function
Dongxiao Xu [Fri, 6 Jan 2012 09:02:27 +0000 (17:02 +0800)]
xmlrpc: Change BitbakeServerInfo init function

Pass host and port to BitbakeServerInfo class instead of the "server"
instance. With this change, GUI can connect with server individually
by host address and port.

(Bitbake rev: 5124351d6c287185723c98e6e4400c5402a5c8a8)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocommand.py: add initCooker API
Dongxiao Xu [Fri, 6 Jan 2012 09:02:22 +0000 (17:02 +0800)]
command.py: add initCooker API

initCooker is to set the cooker to the initial state with nothing
parsed.

(Bitbake rev: 8ee9c6cc47938604268242d90bd3007218f9a36e)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: user bb.configuration.data to inject events
Dongxiao Xu [Fri, 6 Jan 2012 09:02:21 +0000 (17:02 +0800)]
cooker: user bb.configuration.data to inject events

For buildTargets function, we use bb.configuration.data as parameter
to inject events, since in hob environment, some variables are
modified dynamically and bb.configuration.event_data may out of date.

(Bitbake rev: 487a124942fd5cd9de71413b79a4049a6d26f1e8)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocommand.py: Modify needcache value for certain functions
Dongxiao Xu [Fri, 6 Jan 2012 09:02:19 +0000 (17:02 +0800)]
command.py: Modify needcache value for certain functions

for findConfigFiels() and findFilesMatchingInDir() functions, they
don't need to parse all the bb files, thus setting the needcache
value to be False.

(Bitbake rev: 3ef73dee8b08ccfd15a4901cce315a99b22e71d7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase-files: filesystems: fix mount order
Gary Thomas [Fri, 6 Jan 2012 13:35:54 +0000 (06:35 -0700)]
base-files: filesystems: fix mount order

This changes the order that file system [types] are tried
when using 'mount' in busybox when the file system type is
not explictly specified.  The pervious ordering is
incorrect in that less capable file system types are tried
first, e.g. ext2 before ext3, which will cause an ext3 file
system to be mounted as ext2, disabling some of the ext3
features such as journaling.

The change also moves infrequently used file system types to
the end as checking for them is just a waste of effort in
most cases.  The list now also includes ext4.

[RP: Add PR bump, unbreak patch application]
(From OE-Core rev: fff18970706913e7fd7f4a119d798dddb44b388a)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovalgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in RRECOMMENDS...
Zhenhua Luo [Fri, 6 Jan 2012 06:33:22 +0000 (14:33 +0800)]
valgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in RRECOMMENDS-powerpc

    1. add powerpc/powerpc64 into the compatible host list
    2. valgrind requires the non-stripped libraries of ${TCLIBC}, so add
       ${TCLIBC}-dbg into RRECOMMENDS for powerpc

(From OE-Core rev: 752e31fb437ec56785402148cae4efb63b8d93c7)

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: Use ?= to set LINGUAS_INSTALL
Dongxiao Xu [Fri, 6 Jan 2012 09:05:00 +0000 (17:05 +0800)]
image.bbclass: Use ?= to set LINGUAS_INSTALL

Hob may dynamically sets BBLAYERS to bitbake server, thus we need a
flexible way to load LINGUAS_INSTALL value.

(From OE-Core rev: c5c3689b7102cc0c281de736c215d66dd4f1e874)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>