]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
11 years agolibcroco: allow native builds
Ross Burton [Thu, 16 May 2013 17:05:43 +0000 (18:05 +0100)]
libcroco: allow native builds

Use BBCLASSEXTEND to get native builds, and inherit gnomebase instead of gnome.
libcroco uses the class just for the SRC_URI helpers, and the full class was
pulling in many unrequired dependencies including hicolor-icon-theme-native,
which doesn't exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+3: disable Xinerama support
Ross Burton [Thu, 16 May 2013 17:05:30 +0000 (18:05 +0100)]
gtk+3: disable Xinerama support

GTK+ has enabled by default support for Xinerama, but it's not a build
dependency so this can be enabled or disabled depending if xinerama has been
built previously.

This can cause problems with sstate, and result in situations where
PKG_CHECK_MODULES() for GTK+ can appear successful but the CFLAGS are not set.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.8: set qemumips64 SRCREVs
Bruce Ashfield [Thu, 16 May 2013 21:47:45 +0000 (14:47 -0700)]
linux-yocto/3.8: set qemumips64 SRCREVs

When qemumips64 was enabled, its machine specific SRCREV was missed.
Without it, qemumips64 builds from the wrong branch and we miss important
oprofile/ftrace fixes that are required for boot.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemuimage-testlib: change default directory for target tests
Stefan Stanacar [Wed, 15 May 2013 12:19:07 +0000 (12:19 +0000)]
qemuimage-testlib: change default directory for target tests

/tmp is a better location, and it allows copying files
on read only fs images

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemuimage-testlib: pass optional timeout to ssh function
Stefan Stanacar [Wed, 15 May 2013 10:42:18 +0000 (10:42 +0000)]
qemuimage-testlib: pass optional timeout to ssh function

Sometimes we need to change the timeout used by the function for
certain kinds of tests.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemuimage-testlib: add support for extra arguments passed to runqemu
Stefan Stanacar [Wed, 15 May 2013 07:30:48 +0000 (07:30 +0000)]
qemuimage-testlib: add support for extra arguments passed to runqemu

Some tests might want to pass extra arguments to runqemu.
I can think of "kvm" or qemuparams="-m 1024" when we want extra muscle.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcf-agent: Use common two-digit sequence numbers for init script links
Stefan Herbrechtsmeier [Wed, 15 May 2013 11:23:24 +0000 (13:23 +0200)]
tcf-agent: Use common two-digit sequence numbers for init script links

The common init script links use two-digit sequence numbers and
systemd interprets everything behind the two-digits as service name.
This leads to the following failure during boot:
  Cannot add dependency job for unit 9tcf-agent.service

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: drop dependency on python-argparse
Ross Burton [Mon, 13 May 2013 15:27:30 +0000 (16:27 +0100)]
glib-2.0: drop dependency on python-argparse

Since 2.20 the use of argparse was removed, so we don't need these dependencies
anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: replace hardcoded path in init script and systemd service
Stefan Stanacar [Tue, 14 May 2013 16:21:35 +0000 (19:21 +0300)]
connman: replace hardcoded path in init script and systemd service

The connman init script sources a setup file from /usr/lib/connman,
so we end up with no network in qemu multilib enabled images.

The init script it's installed by connman and because wired-setup
it's installed by another package (connman-conf) we can't use
libexecdir here and now (in the init script and systemd service file).

Once libexecdir changes from ${libdir}/${bpn} to something else like
/usr/libexec we could use that instead of ${libdir}/connman.

Changed in v2: - better commit message

[YOCTO #4493]

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosystemd: make udev-hwdb postinstall run on host
Laurentiu Palcu [Tue, 14 May 2013 11:23:29 +0000 (14:23 +0300)]
systemd: make udev-hwdb postinstall run on host

Run udevadm inside qemu in order to create the HW database index on
host.

The alternative would be to build a native version
of udevadm which would imply several things: split out systemd recipe,
create a common inc file and create a new recipe for udevadm native.

However, this latter solution might also add up to the build time
(the native recipe would need to run configure, make udevadm, install),
besides the time spent in the actual postinstall...

So, having the postinstall run through qemu is a good trade-off.

[YOCTO #4341]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobusybox-mdev: Startup at level S03 instead of S06
Mike Looijmans [Tue, 14 May 2013 06:28:17 +0000 (08:28 +0200)]
busybox-mdev: Startup at level S03 instead of S06

The udev hotplug deamon starts at 03, so mdev should start at the same
point.

This fixes the bug that when modutils (runs at 04) initializes devices
that the mdev hotplug will often not pick them up, resulting in missing
device nodes and similar problems.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agotoolchain-scripts.bbclass:Add CROSS_COMPILE variable to environment-setup file
Zongchun Yu [Tue, 14 May 2013 06:43:14 +0000 (01:43 -0500)]
toolchain-scripts.bbclass:Add CROSS_COMPILE variable to environment-setup file

when compiling the linux kernel manually. users need to set CROSS_COMPILE separately.
adding the CROSS_COMPILE variable will be nice for using.

Signed-off-by: Zongchun Yu <b40527@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: Add PPTP support
Jukka Rissanen [Tue, 14 May 2013 08:10:45 +0000 (11:10 +0300)]
connman: Add PPTP support

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: Add L2TP support
Jukka Rissanen [Tue, 14 May 2013 08:10:44 +0000 (11:10 +0300)]
connman: Add L2TP support

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: Add vpnc support
Jukka Rissanen [Tue, 14 May 2013 08:10:43 +0000 (11:10 +0300)]
connman: Add vpnc support

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: Add OpenVPN support
Jukka Rissanen [Tue, 14 May 2013 08:10:42 +0000 (11:10 +0300)]
connman: Add OpenVPN support

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoconnman: Add VPN support
Jukka Rissanen [Tue, 14 May 2013 08:10:41 +0000 (11:10 +0300)]
connman: Add VPN support

One needs to add following statement into local.conf or distro config

PACKAGECONFIG_append_pn-connman = " openvpn vpnc l2tp pptp"

in order to activate support for these VPN technogies in ConnMan.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agogpgme: Updated from 1.4.0 to 1.4.1
Ionut Radu [Wed, 8 May 2013 14:41:59 +0000 (17:41 +0300)]
gpgme: Updated from 1.4.0 to 1.4.1

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopixman: Update from 0.29.2 to 0.29.4
Ionut Radu [Wed, 8 May 2013 14:41:58 +0000 (17:41 +0300)]
pixman: Update from 0.29.2 to 0.29.4

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoethtool: Updated from 3.8 to 3.9
Ionut Radu [Wed, 8 May 2013 14:41:57 +0000 (17:41 +0300)]
ethtool: Updated from 3.8 to 3.9

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibfontenc: Updated from 1.1.1 to 1.1.2
Ionut Radu [Wed, 8 May 2013 14:41:55 +0000 (17:41 +0300)]
libfontenc: Updated from 1.1.1 to 1.1.2

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agojson-glib: updated from 0.15.2 to 0.16.0
Ionut Radu [Wed, 8 May 2013 14:41:52 +0000 (17:41 +0300)]
json-glib: updated from 0.15.2 to 0.16.0

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibxi: updated from 1.7 to 1.7.1
Ionut Radu [Wed, 8 May 2013 14:41:51 +0000 (17:41 +0300)]
libxi: updated from 1.7 to 1.7.1

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobbclass: bb.fatal() clean up
Robert Yang [Wed, 8 May 2013 09:06:46 +0000 (05:06 -0400)]
bbclass: bb.fatal() clean up

The bb.fatal() is defined as:

def fatal(*args):
    logger.critical(''.join(args))
    sys.exit(1)

So anything after bb.fatal() in the same code block doesn't have any
effect, e.g.:

    bb.fatal("%s_%s: %s" % (var, pkg, e))
    raise e

The "raise e" should be removed.

I searched all the files which use bb.fatal(), only the following 3
classes have this issues:

  insane.bbclass
  package.bbclass
  package_rpm.bbclass

[YOCTO #4461]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-video-modesetting: upgrade to 0.7.0
Jonathan Liu [Mon, 13 May 2013 02:58:04 +0000 (12:58 +1000)]
xf86-video-modesetting: upgrade to 0.7.0

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agomachine/qemumips64: Add machine definition
Khem Raj [Mon, 13 May 2013 05:42:25 +0000 (22:42 -0700)]
machine/qemumips64: Add machine definition

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobinutils: Add broadcom XLP support
Khem Raj [Mon, 13 May 2013 05:42:24 +0000 (22:42 -0700)]
binutils: Add broadcom XLP support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolinux-yocto: add qemumips64 compatibility
Bruce Ashfield [Mon, 13 May 2013 05:42:23 +0000 (22:42 -0700)]
linux-yocto: add qemumips64 compatibility

The 3.8 and linux-yocto-dev kernel trees carry qemumips64 support. Adding
the board to the compatibility directly in the recipes is the first step
to adding mips64 support to the broader set of packages.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agorunqemu: Replace use of ifconfig with ip
Khem Raj [Mon, 13 May 2013 05:42:22 +0000 (22:42 -0700)]
runqemu: Replace use of ifconfig with ip

ifconfig and its ilk (net-tools package) is deprecated in favour of iproute2 package
and is now removed by many distro's e.g. Archlinux. So we replace ifconfig with ip utility

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agokern-tools: refresh and make dash compliant
Bruce Ashfield [Mon, 13 May 2013 04:06:14 +0000 (21:06 -0700)]
kern-tools: refresh and make dash compliant

The separately packaged merge_config.sh in the kern-tools package was
missing upstream fixes, and in particular a change that ensures it is
dash compatible.

By grabbing that upstream commit and rebasing the existing patches on
top of the new baseline, we are up to date and working on systems
where /bin/sh is dash.

[YOCTO #4473]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agopkgconfig: Update to 0.28
Saul Wold [Mon, 13 May 2013 06:58:54 +0000 (23:58 -0700)]
pkgconfig: Update to 0.28

Remove older patches that have been fixed upstream, added new patch to
use the correct alias-libtool instead of ./libtool.

pkgconfig provides an internal glib library, so use it to avoid ciruclar
dependecny issues.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoboot-directdisk: Scope HDDDIR and HDDIMG variables to avoid conflicts
Jonathan Liu [Thu, 9 May 2013 03:24:03 +0000 (13:24 +1000)]
boot-directdisk: Scope HDDDIR and HDDIMG variables to avoid conflicts

These variables should not be shared with other image classes.
The bootimg class also has an HDDDIR variable that could be overwritten
if executing concurrently in the same image recipe.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agosyslinux: Update to 4.06
Jonathan Liu [Thu, 9 May 2013 03:24:02 +0000 (13:24 +1000)]
syslinux: Update to 4.06

Patches are now part of upstream or no longer needed.
Added new util-linux dependency for isohybrid.
Paths updated to reflect directory structure changes.
Add CFLAGS and LDFLAGS overrides.

[YOCTO #4438]

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agobitbake.conf: define empty EXTRA_IMAGE_FEATURES before using them
Martin Jansa [Mon, 13 May 2013 10:07:43 +0000 (10:07 +0000)]
bitbake.conf: define empty EXTRA_IMAGE_FEATURES before using them

* fixes build without EXTRA_IMAGE_FEATURES defined:
  ERROR: '${EXTRA_IMAGE_FEATURES}' in IMAGE_FEATURES is not a valid
  image feature. Valid features: dbg-pkgs ....

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocachedpath.py: global name 'error' is not defined
Robert Yang [Mon, 13 May 2013 08:34:28 +0000 (16:34 +0800)]
cachedpath.py: global name 'error' is not defined

The error is not global since we don't use "from os import *", so it
should be os.error.

[YOCTO #4489]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: Add package-management image feature to validitems
Khem Raj [Mon, 13 May 2013 02:17:27 +0000 (02:17 +0000)]
image.bbclass: Add package-management image feature to validitems

Some images dont use core-image bbclass and add this feature directly

Fixes parsing errors like

/builds1/angstrom/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34734, PID:
24551 Parsing recipes...ERROR: Unable to parse
/builds1/angstrom/sources/meta-kde/recipes-images/angstrom-kde-desktop-imag
e.bb: Exited with "1" ERROR: 'package-management' in IMAGE_FEATURES is
not a
valid image feature. Valid features: dbg-pkgs debug-tweaks dev-pkgs
doc-pkgs ptest-pkgs read-only-rootfs splash staticdev-pkgs ERROR:
'package-management' in IMAGE_FEATURES is not a valid image feature.
Valid
features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs ptest-pkgs
read-only-rootfs splash staticdev-pkgs ERROR: Command execution failed:
Exited with 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 years agoscripts/hob: enable additional arguments
Bogdan Marinescu [Mon, 14 Jan 2013 07:31:45 +0000 (07:31 +0000)]
scripts/hob: enable additional arguments

Allow "hob" to receive other arguments in the command line (for example
the server type and the address of the remote end if running remotely).

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage.bbclass: Fix sources contents
Richard Purdie [Tue, 14 May 2013 05:50:33 +0000 (08:50 +0300)]
package.bbclass: Fix sources contents

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c376f1f49cea182a2887945840ab97a20970a373
fixed a valid issue where the sources file was accumulating information
and subsequent task runs of do_packacge were not cleaning it. The
fix is wrong however since we're removing the file within a loop.
This fix removes the file outside the loop ensuring it is not truncated
and contains the correct information.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Attach the missing value to a format string.
Peter Seebach [Thu, 17 May 2012 23:45:58 +0000 (23:45 +0000)]
sanity.bbclass: Attach the missing value to a format string.

The tuning changes to sanity.bbclass were almost right, but one of
the messages had a %s with no % operator.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
11 years agoimage-vmdk.bbclass: disable the NOISO = "1"
Robert Yang [Fri, 10 May 2013 07:43:45 +0000 (15:43 +0800)]
image-vmdk.bbclass: disable the NOISO = "1"

The vmdk needed hddimg which was generated by do_bootimg in the past,
but do_bootimg generated both iso and hddimg, so we set NOISO = "1",
it now uses do_bootdirectdisk, doesn't use do_bootimg anymore, so we
don't need NOISO = "1", and need remove it, otherwise:

IMAGE_FSTYPES += "live vmdk"

Would not generate the iso.

I'd like to remove it rather than comment it, but we had comment the
do_bootimg before.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agolibdrm: upgrade to 2.4.44
Laurentiu Palcu [Fri, 10 May 2013 13:23:33 +0000 (16:23 +0300)]
libdrm: upgrade to 2.4.44

Removed part of the installtests.patch since tests can now be installed
giving an option to configure script.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxproto: upgrade to 7.0.24
Laurentiu Palcu [Thu, 9 May 2013 13:42:50 +0000 (16:42 +0300)]
xproto: upgrade to 7.0.24

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-input-evdev: upgrade to 2.8.0
Laurentiu Palcu [Thu, 9 May 2013 13:27:19 +0000 (16:27 +0300)]
xf86-input-evdev: upgrade to 2.8.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-input-synaptics: upgrade to 1.7.0
Laurentiu Palcu [Thu, 9 May 2013 13:18:26 +0000 (16:18 +0300)]
xf86-input-synaptics: upgrade to 1.7.0

Licence checksum changed because RedHat adjusted the copyright years.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-input-mouse: upgrade to 1.9.0
Laurentiu Palcu [Thu, 9 May 2013 13:09:26 +0000 (16:09 +0300)]
xf86-input-mouse: upgrade to 1.9.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoxf86-input-keyboard: upgrade to 1.7.0
Laurentiu Palcu [Thu, 9 May 2013 13:01:57 +0000 (16:01 +0300)]
xf86-input-keyboard: upgrade to 1.7.0

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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>