]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agoxf86-video-intel: upgrade to 2.21.6
Laurentiu Palcu [Thu, 9 May 2013 11:42:38 +0000 (14:42 +0300)]
xf86-video-intel: upgrade to 2.21.6

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-video-vmware: upgrade to 13.0.1
Laurentiu Palcu [Thu, 9 May 2013 11:11:11 +0000 (14:11 +0300)]
xf86-video-vmware: upgrade to 13.0.1

Removed the backported patch.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoUpstream-Status: Correct Capitalization
Saul Wold [Thu, 9 May 2013 18:03:55 +0000 (11:03 -0700)]
Upstream-Status: Correct Capitalization

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoclasses/core-image: drop apps-console-core IMAGE_FEATURES support
Paul Eggleton [Thu, 9 May 2013 16:24:26 +0000 (17:24 +0100)]
classes/core-image: drop apps-console-core IMAGE_FEATURES support

Remove the legacy support for the apps-console-core IMAGE_FEATURES item;
we've kept this for a while but it's time for it to go.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoclasses/image: show an error on invalid IMAGE_FEATURES
Paul Eggleton [Thu, 9 May 2013 16:24:25 +0000 (17:24 +0100)]
classes/image: show an error on invalid IMAGE_FEATURES

If the user specifies an invalid feature in IMAGE_FEATURES, show an
error during parsing. Valid IMAGE_FEATURES are drawn from
PACKAGE_GROUP_ definitions, COMPLEMENTARY_GLOBS and a new 'validitems'
varflag on IMAGE_FEATURES (so that additional non-package group features
can be added elsewhere.)

Implements [YOCTO #3308].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosbc: upgrade to 1.1
Cristian Iorga [Thu, 9 May 2013 12:17:09 +0000 (15:17 +0300)]
sbc: upgrade to 1.1

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoimage-vmdk: Fix error recreating symbolic link
Jonathan Liu [Thu, 9 May 2013 12:15:48 +0000 (22:15 +1000)]
image-vmdk: Fix error recreating symbolic link

If the vmdk image symbolic link already exists from a previous build,
overwrite it instead of returning an error.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogmp: updated to 5.1.1
Bogdan Marinescu [Thu, 9 May 2013 11:19:58 +0000 (14:19 +0300)]
gmp: updated to 5.1.1

A number of patches are now part of the upstream.
Tested by compiling and running core-image-minimal/qemux86.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopciutils: updated from 3.1.10 to 3.2.
Ionut Radu [Thu, 9 May 2013 11:17:40 +0000 (14:17 +0300)]
pciutils: updated from 3.1.10 to 3.2.

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoglib-2.0: upgrade to 2.36.1
Cristian Iorga [Thu, 9 May 2013 08:09:51 +0000 (11:09 +0300)]
glib-2.0: upgrade to 2.36.1

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotcl: upgraded to 8.6.0
Bogdan Marinescu [Thu, 9 May 2013 12:36:40 +0000 (15:36 +0300)]
tcl: upgraded to 8.6.0

The license checksum changed because of a small correction in the
license text.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogdb-cross-canadian: set everything in gdb-cross-canadian.inc
Marcin Juszkiewicz [Thu, 9 May 2013 08:48:37 +0000 (10:48 +0200)]
gdb-cross-canadian: set everything in gdb-cross-canadian.inc

This allows out-of-tree versions to include one file to have all set.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogdb: add 7.6 version
Marcin Juszkiewicz [Thu, 9 May 2013 08:48:35 +0000 (10:48 +0200)]
gdb: add 7.6 version

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agompfr: upgraded to 3.1.2
Bogdan Marinescu [Tue, 7 May 2013 10:45:16 +0000 (13:45 +0300)]
mpfr: upgraded to 3.1.2

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobyacc: upgraded to 20130304
Bogdan Marinescu [Wed, 8 May 2013 10:50:17 +0000 (13:50 +0300)]
byacc: upgraded to 20130304

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoautogen: upgraded to 5.17.3
Bogdan Marinescu [Wed, 8 May 2013 10:37:24 +0000 (13:37 +0300)]
autogen: upgraded to 5.17.3

'guile.patch' updated for the new version.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoiproute2: upgrade to 3.9.0
Cristian Iorga [Wed, 8 May 2013 10:25:03 +0000 (13:25 +0300)]
iproute2: upgrade to 3.9.0

patches removed; already included in upstream.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agokexec-tools: upgraded to 2.0.4
Bogdan Marinescu [Wed, 8 May 2013 08:17:16 +0000 (11:17 +0300)]
kexec-tools: upgraded to 2.0.4

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibtool-nativesdk: rename to nativesdk-libtool
Wenzong Fan [Wed, 8 May 2013 08:09:48 +0000 (04:09 -0400)]
libtool-nativesdk: rename to nativesdk-libtool

Rename nativesdk item to prefix vs suffix. Some minor changes for
getting it works after renamed:

    * append patches dir 'libtool/' to FILESEXTRAPATHS
    * update ${S}, append '${datadir}/libtool/*' to FILES_${PN}

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosubversion: upgraded to 1.7.9
Bogdan Marinescu [Wed, 8 May 2013 07:12:13 +0000 (10:12 +0300)]
subversion: upgraded to 1.7.9

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibxml2: Update to 2.9.1
Saul Wold [Tue, 7 May 2013 20:53:17 +0000 (13:53 -0700)]
libxml2: Update to 2.9.1

Copyright date and generalize authors clause

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agokconfig-frontends: Update to 3.9.0
Saul Wold [Tue, 7 May 2013 22:25:15 +0000 (15:25 -0700)]
kconfig-frontends: Update to 3.9.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agohelp2man: Update to 1.41.2
Saul Wold [Tue, 7 May 2013 22:24:52 +0000 (15:24 -0700)]
help2man: Update to 1.41.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agomsmtp: Update to 1.4.31
Saul Wold [Tue, 7 May 2013 22:24:19 +0000 (15:24 -0700)]
msmtp: Update to 1.4.31

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agomklibs: Update to 0.1.35
Saul Wold [Tue, 7 May 2013 22:24:00 +0000 (15:24 -0700)]
mklibs: Update to 0.1.35

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotzcode: Update to 2013c
Saul Wold [Tue, 7 May 2013 22:23:35 +0000 (15:23 -0700)]
tzcode: Update to 2013c

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibcheck: Update to 0.9.10
Saul Wold [Tue, 7 May 2013 22:23:13 +0000 (15:23 -0700)]
libcheck: Update to 0.9.10

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibgcrypt: Update to 1.5.2
Saul Wold [Tue, 7 May 2013 22:22:56 +0000 (15:22 -0700)]
libgcrypt: Update to 1.5.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibomxil (0.9.3): drop unecessary dependencies
Matthieu Crapet [Fri, 19 Apr 2013 09:01:23 +0000 (11:01 +0200)]
libomxil (0.9.3): drop unecessary dependencies

Since version 0.9.2, Bellagio's components (vorbis, mad, also, ...)  are shipped in separate packages.

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoneard: Split recipe to two parts
Jukka Rissanen [Tue, 7 May 2013 07:46:23 +0000 (10:46 +0300)]
neard: Split recipe to two parts

This way it is easier to override settings if needed.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoiptables: upgrade to 1.4.18
Cristian Iorga [Tue, 7 May 2013 09:35:24 +0000 (12:35 +0300)]
iptables: upgrade to 1.4.18

fix-link-failure-ip6t-NETMAP.patch removed;
already included in upstream.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobison: upgraded to 2.7.1
Bogdan Marinescu [Tue, 7 May 2013 08:44:34 +0000 (11:44 +0300)]
bison: upgraded to 2.7.1

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogit: upgrated to 1.8.2.2
Bogdan Marinescu [Tue, 7 May 2013 08:16:57 +0000 (11:16 +0300)]
git: upgrated to 1.8.2.2

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopython-scons: upgraded to 2.3.0
Bogdan Marinescu [Tue, 7 May 2013 09:52:37 +0000 (12:52 +0300)]
python-scons: upgraded to 2.3.0

"2013" was added in the 'Copyright' line in LICENSE.txt.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibmpc: upgraded to 1.0.1
Bogdan Marinescu [Tue, 7 May 2013 10:20:53 +0000 (13:20 +0300)]
libmpc: upgraded to 1.0.1

License changed from LGPLv2 to LGPLv3.
The automake patch was integrated upstream in a different form.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibrsvg: update gdk-pixbuf loader cache when staging native package
Tomas Frydrych [Fri, 10 May 2013 13:36:39 +0000 (14:36 +0100)]
librsvg: update gdk-pixbuf loader cache when staging native package

librsvg installs an svg loader for gdk-pixbuf; in order for the native version
of the loader to be usable by gdk-pixbuf-native we have to update the loader
cache.

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: export STRINGS
Martin Jansa [Fri, 10 May 2013 10:53:12 +0000 (12:53 +0200)]
bitbake.conf: export STRINGS

* remove STRINGS export from systemd

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcp-wrappers: fix indentation
Martin Jansa [Fri, 10 May 2013 10:53:11 +0000 (12:53 +0200)]
tcp-wrappers: fix indentation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcp-wrappers: Rename conflicting variable STRINGS in Makefile
Martin Jansa [Fri, 10 May 2013 10:53:10 +0000 (12:53 +0200)]
tcp-wrappers: Rename conflicting variable STRINGS in Makefile

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimagetest-qemu.bbclass, qemuimage-testlib: add support for more FSTYPES
Stefan Stanacar [Fri, 10 May 2013 16:06:26 +0000 (19:06 +0300)]
imagetest-qemu.bbclass, qemuimage-testlib: add support for more FSTYPES

qemuimage-testlib hardcodes ext3 as fs type. This adds support for more
images types which are supported by runqemu: ext[234]/jffs2/btrfs.

I've skipped (for now) vmdk (which qemu can boot) because:
 - we don't have network on images without connman because of the way
runqemu starts vmdk images (can't pass kernel args for network config)
 - qemuimage-testlib-pythonhelper relies on '192.168' being in the output of
ps to return the pid

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu-internal: support for ext2 and ext4 not only ext3
Stefan Stanacar [Fri, 10 May 2013 16:06:25 +0000 (19:06 +0300)]
runqemu-internal: support for ext2 and ext4 not only ext3

Don't check only for ext3 fstype, we can boot ext2 and ext4 just
as well.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/runqemu: add ext4 to the list of extracted extensions
Stefan Stanacar [Fri, 10 May 2013 16:06:24 +0000 (19:06 +0300)]
scripts/runqemu: add ext4 to the list of extracted extensions

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: ensure __mkdir_p matches __mkdir
Saul Wold [Tue, 7 May 2013 15:26:04 +0000 (08:26 -0700)]
rpm: ensure __mkdir_p matches __mkdir

They differ at times because one is set from the db_cv_path_mkdir and the other is
found during config time for the host (/usr/bin/mkdir), in the macros we should just
use __mkdir for the __mkdir_p variant.

[YOCTO #4452]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython: remove the default optimization
Robert Yang [Wed, 8 May 2013 08:29:48 +0000 (16:29 +0800)]
python: remove the default optimization

We had hard coded python-native and python's default optimization to 1,
which made the "assert" statement didn't work, and removed the "-O/-OO"
(optimization options), the target python had a "-N" option to disable
the default optimization, but the native python didn't.

I think that we can set the environment variable PYTHONOPTIMIZE or use
"python -O" if we need to optimize, but I'm not sure whether we need to
set it by default, it would confuse the user or cause/hide unexpected
problems if the "assert" doesn't work.

[YOCTO #4427]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: update way to set default ROOT_HOME
Kang Kai [Fri, 10 May 2013 06:47:39 +0000 (14:47 +0800)]
bitbake.conf: update way to set default ROOT_HOME

Use "??=" to set default ROOT_HOME. It can be overwrote by developer
with "?=" in any layer and at same time it also can be overwrote in
local.conf.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/insane: add check for PN in OVERRIDES
Paul Eggleton [Thu, 9 May 2013 16:26:17 +0000 (17:26 +0100)]
classes/insane: add check for PN in OVERRIDES

If a recipe is named such that its PN value matches something already in
OVERRIDES (such as when PN happens to be the same as MACHINE or DISTRO),
it can have unexpected consequences. Assignments such as
FILES_${PN} = "xyz" effectively turn into FILES = "xyz".

Implements [YOCTO #4288].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/buildhistory: track contents of selected files in images
Paul Eggleton [Thu, 9 May 2013 15:57:48 +0000 (16:57 +0100)]
classes/buildhistory: track contents of selected files in images

Add a BUILDHISTORY_IMAGE_FILES variable specifying a space-separated
list of files within an image to copy into buildhistory, so that changes
to them can be tracked. Typically this would be used for configuration
files, and by default this includes /etc/passwd and /etc/group, but the
user is free to extend this list by setting the variable in local.conf.

Implements [YOCTO #4154].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory-diff: improve bad command-line argument handling
Paul Eggleton [Thu, 9 May 2013 15:57:47 +0000 (16:57 +0100)]
buildhistory-diff: improve bad command-line argument handling

* Check for existence of specified buildhistory directory and show a
  proper error message if it doesn't
* Show an error message instead of a traceback with a mangled revision
  if one of the specified git revisions is invalid
* Show usage information if --help is specified
* Write error messages to stderr

Fixes [YOCTO #4313].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboot-directdisk/bootimg/image-vmdk: remove more nostamps for image generation
Robert Yang [Fri, 10 May 2013 02:31:45 +0000 (10:31 +0800)]
boot-directdisk/bootimg/image-vmdk: remove more nostamps for image generation

We have removed the nostamps for do_rootfs and do_build, so it seems
reasonable to remove the stamps for do_bootimg, do_bootdirectdisk and
do_vmdkimg.

The current problem is that the do_vmdkimg always re-run, but the
do_rootfs may not, so the code like below in the do_rootfs function
doesn't re-run and cause problems (the symlink exists when the
do_vmdkimg creates the symlink again):

    if d.getVar('IMAGE_LINK_NAME', True):
        cmds += "\trm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.*"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: make FILES package-specific
Tom Zanussi [Tue, 7 May 2013 13:30:03 +0000 (08:30 -0500)]
kernel.bbclass: make FILES package-specific

Fix QA warnings seen when using 'traditional' kernel recipes e.g.:

WARNING: QA Issue: .../recipes-kernel/linux/linux_3.0.18.bb: Variable
FILES is set as not being package specific, please fix this.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc/machine-sdk: Drop SDK_GLIBC_ADDONS
Richard Purdie [Thu, 9 May 2013 13:22:53 +0000 (13:22 +0000)]
eglibc/machine-sdk: Drop SDK_GLIBC_ADDONS

We no longer change GLIBC_ADDONS per target so we no longer need to special
case the SDK settings for it either.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimagetest-qemu: Fix indentation
Richard Purdie [Thu, 9 May 2013 16:42:25 +0000 (17:42 +0100)]
imagetest-qemu: Fix indentation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclass/lib: Fix up various file access methods
Richard Purdie [Thu, 9 May 2013 16:05:58 +0000 (17:05 +0100)]
class/lib: Fix up various file access methods

There are various bits of cruft that have built up around our file accesses. This patch
cleans some of them up, specifically:

 * Remove pointless "from __builtin__ import file"
 * Use open(), not file()
 * Wrap file usage in a with container to ensure files are closed
 * Add missing .close() calls in some cases

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildstats: Drop spurious open() call
Richard Purdie [Thu, 9 May 2013 16:33:50 +0000 (17:33 +0100)]
buildstats: Drop spurious open() call

This file is already opened a few lines previously, so drop the duplicated
call.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouseradd: Use modern join syntax
Richard Purdie [Thu, 9 May 2013 16:32:56 +0000 (17:32 +0100)]
useradd: Use modern join syntax

string.join() is deprecated syntax and doesn't work under python3
so use the modern sytax instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopowertop: inherit gettext
Saul Wold [Thu, 9 May 2013 15:18:35 +0000 (08:18 -0700)]
powertop: inherit gettext

powertop uses gettext during config time and at build time to generate
the messages, so really should inherit gettext

[YOCTO #4470]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/lib: Fix getcmdstatus breakage
Richard Purdie [Thu, 9 May 2013 14:55:04 +0000 (14:55 +0000)]
classes/lib: Fix getcmdstatus breakage

I mistakenly thought subprocess had getcmdstatus in python 2. It doesn't so lets
add a wrapper and have this work in both worlds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Use casting to ensure valid comparision
Richard Purdie [Tue, 7 May 2013 12:56:06 +0000 (13:56 +0100)]
bitbake.conf: Use casting to ensure valid comparision

python3 is stricter about type comparisions so add an explicit cast to int()
to ensure this code is portable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bbclass: Drop unused/obsolete import
Richard Purdie [Tue, 7 May 2013 12:56:07 +0000 (13:56 +0100)]
base.bbclass: Drop unused/obsolete import

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage/kernel-module-split/eglibc-ld.inc: Remove has_key() usage
Richard Purdie [Tue, 7 May 2013 12:56:04 +0000 (13:56 +0100)]
image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage

The has_key() attribute has been removed in python 3 since there is better
syntax available. Use the improved syntax.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity/patch.py: Remove commands module usage
Richard Purdie [Tue, 7 May 2013 12:56:05 +0000 (13:56 +0100)]
sanity/patch.py: Remove commands module usage

The commands module is removed in python3. Use the subprocess module instead
and the pipes module to replace the mkargs usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinsane: Open file in binary mode
Richard Purdie [Tue, 7 May 2013 12:56:03 +0000 (13:56 +0100)]
insane: Open file in binary mode

We open the file we're writing to in binary mode so open the input stream with the
same mode so things match. This avoids errors with python3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa/lib/oe: Replace StandardError with Exception
Richard Purdie [Tue, 7 May 2013 12:56:00 +0000 (13:56 +0100)]
meta/lib/oe: Replace StandardError with Exception

StandardError is removed in python3, replace with Exception class instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/lib: Update to use print as a function call
Richard Purdie [Tue, 7 May 2013 12:55:57 +0000 (13:55 +0100)]
classes/lib: Update to use print as a function call

In python 3 print is a function call. In some cases bb.note is a more
appropriate call to make.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometadata_scm: Replace deprecated operator
Richard Purdie [Tue, 7 May 2013 12:56:02 +0000 (13:56 +0100)]
metadata_scm: Replace deprecated operator

The <> operator is deprecated, use != instead which is equivalent.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Use open(), not file()
Richard Purdie [Tue, 7 May 2013 12:56:01 +0000 (13:56 +0100)]
sanity.bbclass: Use open(), not file()

file() syntax is removed in python 3, use open() instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/recipes/lib: Fix various python whitespace issues
Richard Purdie [Tue, 7 May 2013 12:55:53 +0000 (13:55 +0100)]
classes/recipes/lib: Fix various python whitespace issues

There are some left over tab characters in the python functions. This
removes them and resolves python 3 errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses: Use modern exception raising syntax
Richard Purdie [Tue, 7 May 2013 12:55:56 +0000 (13:55 +0100)]
classes: Use modern exception raising syntax

Modern expection rasing syntax is function call format, convert to this
to keep python 3 happy and model correct coding style in the core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildstats: Update to ensure files are closed
Richard Purdie [Tue, 7 May 2013 12:55:58 +0000 (13:55 +0100)]
buildstats: Update to ensure files are closed

python3 doesn't like files being left open. This updates the code style
to ensure file are closed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclases/lib: Use modern exception syntax
Richard Purdie [Tue, 7 May 2013 12:55:55 +0000 (13:55 +0100)]
clases/lib: Use modern exception syntax

Update older code to use modern exception handling syntax which
is the form accepted by python 3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image-minimal-initramfs: Remove odd quote characters
Richard Purdie [Tue, 7 May 2013 12:55:54 +0000 (13:55 +0100)]
core-image-minimal-initramfs: Remove odd quote characters

The quote characters present trigger python 3 characters type warnings,
we don't need them so replace them with normal quote characters.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: Add xkbcomp to RRECOMMENDS
Stefan Stanacar [Tue, 7 May 2013 15:45:37 +0000 (18:45 +0300)]
xserver-xorg: Add xkbcomp to RRECOMMENDS

OE-Core commit bdcc5e8f1286d288baf410458efc39a59b68d751 removed xkbcomp
from RDEPENDS for xkeyboard-config but X server still needs it otherwise
it fails to start.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-configure-cross.inc: Remove info generation
Khem Raj [Wed, 8 May 2013 04:47:16 +0000 (21:47 -0700)]
gcc-configure-cross.inc: Remove info generation

Some distros have newer makeinfo which does not go well with
anything below gcc 4.8, this fix avoids regenerating info files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobootimg.bbclass: add comment for NOHDD
Robert Yang [Wed, 8 May 2013 08:13:58 +0000 (04:13 -0400)]
bootimg.bbclass: add comment for NOHDD

Add comment for NOHDD which is used for skipping building the HDDIMG if
set to 1

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognutls: upgrade to 2.12.23
Ross Burton [Wed, 8 May 2013 12:14:45 +0000 (13:14 +0100)]
gnutls: upgrade to 2.12.23

Importantly, this fixes CVE-2013-1619.

Upstream doesn't use GNU as a host, so update the SRC_URI.

remove-gets.patch isn't required anymore, obsolete_automake_macros.patch is
merged upstream, and gnutls_fix_for_automake_1.12.1.patch doesn't seem to be
needed.  It was merged and reverted upstream, and my build without it succeeded.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agooprofileui(-server): upgraded to GIT revision f168b8bf
Bogdan Marinescu [Wed, 8 May 2013 13:10:45 +0000 (16:10 +0300)]
oprofileui(-server): upgraded to GIT revision f168b8bf

'obsolete_automake_macros.patch' is not needed anymore, because it
was integrated in the specified commit.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt4: remove trailing slash from prefix
Paul Barker [Tue, 7 May 2013 09:05:22 +0000 (10:05 +0100)]
qt4: remove trailing slash from prefix

The trailing slashs on "Prefix=${prefix}/" and "-prefix ${prefix}/" are passed
through to the generated pkgconfig files and may be joined to paths like
"/include" yielding a final path with a double forward-slash (eg.
"/usr//include"). This may end up in the debugging symbols in other applications
or libraries which depend on qt4 which in turn causes the debugedit program to
fail with the message "canonicalization unexpectedly shrank by one character"
when it tries to replace the double forward-slash with a single forward-slash.
Thus the function split_and_strip_files fails and ultimately do_package fails.

As this slash is removed from the prefix it is added into the regular expression
used to fix up pkgconfig files later in the recipe.

This error was seen in vlc in meta-openembedded and should be solved by this
change in openembedded-core.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: tabs -> spaces
Marcin Juszkiewicz [Wed, 8 May 2013 11:43:58 +0000 (13:43 +0200)]
gdb: tabs -> spaces

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdb: AArch64 lacks lttng support
Marcin Juszkiewicz [Wed, 8 May 2013 11:43:55 +0000 (13:43 +0200)]
gdb: AArch64 lacks lttng support

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocraklib:fix testnum and teststr failed
Hongxu Jia [Sat, 27 Apr 2013 11:05:27 +0000 (19:05 +0800)]
craklib:fix testnum and teststr failed

Error log:
...
$ ./testnum
(null).pwd.gz: No such file or directory
PWOpen: No such file or directory

$ ./util/teststr
(null).pwd.gz: No such file or directory
PWOpen: No such file or directory
...

Set DEFAULT_CRACKLIB_DICT as the path of  PWOpen

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agocracklib: fix default dictionary should be generated for target endianness
Hongxu Jia [Sat, 27 Apr 2013 11:05:26 +0000 (19:05 +0800)]
cracklib: fix default dictionary should be generated for target endianness

The previous dict files are NOT byte-order independent, in fact they are
probably ARCHITECTURE SPECIFIC.
Create the dict files in big endian, and convert to host endian while
load them. This could fix the endian issue on multiple platform.

[Bug #4419]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-yocto/3.8: udpate to v3.8.11
Bruce Ashfield [Mon, 6 May 2013 04:23:30 +0000 (21:23 -0700)]
linux-yocto/3.8: udpate to v3.8.11

Update the linux-yocto-3.8 SRCREVs to the korg 3.8.11 -stable release.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-yocto/3.4: update to v3.4.43, ltsi-65311d8 and v3.4.42-rt56
Bruce Ashfield [Mon, 6 May 2013 04:19:28 +0000 (21:19 -0700)]
linux-yocto/3.4: update to v3.4.43, ltsi-65311d8 and v3.4.42-rt56

Updating the 3.4 kernel trees to the latest korg, LTSI and -rt stable
releases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agokern-tools: anchor and delimit regexs
Bruce Ashfield [Fri, 3 May 2013 03:07:54 +0000 (20:07 -0700)]
kern-tools: anchor and delimit regexs

Updating the kern-tools SRCREV with the following fix:

    Updateme is responsible for updating an existing meta-series with new patches,
    configs and tree manipulations. To do this, it first checks for an existing
    board description and generates one if required. It then searches for features
    and fragments to be applied for the tree.

    There were two problems:

     - A top level board description is detected via the presence of "define"
       directives that indicate the board name, the arch and kernel type. The
       test for define would match on patches or fragments with 'define' in their
       name, and would incorrectly use that file as the top level board description.

       This is fixed by ensuring that only defines at the start of a line, or preceded
       by whitepace match.

     - When searching for features that were indicated as 'addon' or 'optional', the
       search would find, and apply, any feature with the passed name as substring
       versus an exact match.

       This is fixed by ensuring that the matched feature name is /<feature name>
       versus <feature name>

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-yocto/3.4: iwlwifi, ext4, brtfs warning and -rt fixes
Bruce Ashfield [Fri, 26 Apr 2013 03:31:51 +0000 (23:31 -0400)]
linux-yocto/3.4: iwlwifi, ext4, brtfs warning and -rt fixes

Updating the yocto 3.4 SRCREVs for the following fixes:

206d4bb powerpc/perf: run irq-work under softirq context in rt
8a969f9 arm/perf: run irq-work under softirq context in rt
79ba946 iwlwifi: fix unused variable warning
59d93fa ext4: remove unused variable in ext4_update_super()
2385eee Btrfs: fix compile warnings in extent_io.c

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agodmidecode: fix fetch path to use BP
Saul Wold [Fri, 3 May 2013 23:06:16 +0000 (16:06 -0700)]
dmidecode: fix fetch path to use BP

This is so the multilib prefix is not used

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF
Khem Raj [Sun, 5 May 2013 06:24:53 +0000 (23:24 -0700)]
gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF

Fixes errors seen while compiling gcc 4.8 for target, errors like

| /home/khem/work/angstrom/build/tmp-angstrom_next-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/libatomic/cas_n.c:125:1: fatal error: opening dependency file .deps/cas_1_.lo.Ppo: No such file or directory

which are due to disabled dependency tracking but dependency files being still generated
while compiling libatomics.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotcmode-default.inc: Pin binutils to 2.23.2
Khem Raj [Fri, 26 Apr 2013 03:42:25 +0000 (20:42 -0700)]
tcmode-default.inc: Pin binutils to 2.23.2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobinutils: backport whitespace fix
Saul Wold [Fri, 3 May 2013 22:10:47 +0000 (15:10 -0700)]
binutils: backport whitespace fix

This is a backport of a whitespace skipping issue: PR14987 and PR14887

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobinutils: Upgrade 2.23.1 -> 2.23.2
Khem Raj [Fri, 26 Apr 2013 03:38:23 +0000 (20:38 -0700)]
binutils: Upgrade 2.23.1 -> 2.23.2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoguile: Update to 2.0.9
Jonathan Liu [Thu, 2 May 2013 20:43:25 +0000 (06:43 +1000)]
guile: Update to 2.0.9

fix_parallel_build_issue.patch is now part of upstream.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoqemu: Ensure kernel nfsd module is enabled
Saul Wold [Thu, 2 May 2013 19:47:54 +0000 (12:47 -0700)]
qemu: Ensure kernel nfsd module is enabled

This will ensure that qemu images that include the nfs-server package have the kernel
feature correctly enabled

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogdb-cross: gdb-cross requires readline-native
Mike Crowe [Wed, 1 May 2013 11:15:26 +0000 (12:15 +0100)]
gdb-cross: gdb-cross requires readline-native

gdb depends on readline so gdb-cross needs to depend on readline-native to
build successfully.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibgnome-keyring: remove, nothing in oe-core uses this anymore
Ross Burton [Wed, 24 Apr 2013 16:12:31 +0000 (17:12 +0100)]
libgnome-keyring: remove, nothing in oe-core uses this anymore

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agognome-keyring: remove, nothing uses it in oe-core
Ross Burton [Wed, 24 Apr 2013 16:11:45 +0000 (17:11 +0100)]
gnome-keyring: remove, nothing uses it in oe-core

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibsoup: upgrade to 2.42.1
Ross Burton [Wed, 24 Apr 2013 14:29:46 +0000 (15:29 +0100)]
libsoup: upgrade to 2.42.1

Upgrade to the latest stable release, and fix the dependencies.

gnome-keyring use has been removed from libsoup, and sqlite3 is now a hard
dependency.  The optional libsoup-gnome library is now a small stub, so enable
it by default but allow it to be disabled via PACKAGECONFIG.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopackagegroup-core-x11-sato: Add udev-extraconf to maintain compatibility
Saul Wold [Fri, 3 May 2013 21:13:51 +0000 (14:13 -0700)]
packagegroup-core-x11-sato: Add udev-extraconf to maintain compatibility

Since we have removed udev-extraconf as a RRECOMMENDS in udev
add it back here to maintain compatibility

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopackagegroup-core-lsb: Add udev-extraconf for LSB compatibility
Saul Wold [Fri, 3 May 2013 21:12:00 +0000 (14:12 -0700)]
packagegroup-core-lsb: Add udev-extraconf for LSB compatibility

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoudev: do not recommend udev-extraconf
Andreas Müller [Tue, 30 Apr 2013 12:30:03 +0000 (14:30 +0200)]
udev: do not recommend udev-extraconf

same as already sent by Koen Kooi [1]

[1] http://patches.openembedded.org/patch/48183/

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: do not recommend udev-extraconf for udev
Andreas Müller [Tue, 30 Apr 2013 12:30:02 +0000 (14:30 +0200)]
systemd: do not recommend udev-extraconf for udev

* adding this extra functionality is an image- or distro-decision
* at least automount-rule/script breaks other automount solutions causing
  misleading kernel messages as 'VFS: could not find a valid V7 on sda'

same as already sent by Koen Kooi [1]

[1] http://patches.openembedded.org/patch/48139/

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>