scm/bb/tizen-distro.git
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]

(From OE-Core rev: 4c47525c5a171b1282615c9fbc7d84addef85f92)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: d6fb741dfd828d40317175a624065918b3e5bfec)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 3f16954c6fae2de78fa9c5ece69354be7ec25cf2)

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

(From OE-Core rev: f72a8257388f3df1d9b1f7ae516295afe227d3e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto: 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.

(From OE-Core rev: 0b4187fac16f78a1f9ba1c696edbc8c2aa189cb1)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: c19e5d19ae8e6e6eb9b37549d80765b8315f79a4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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]

(From OE-Core rev: 681bcd2783e100dd2882273f28f16ef118161e89)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: d91a43228c5ba35335a28de278194df23dcdf978)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 94c83fa26af104d28aa4e6951bcb109bb0c82265)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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]

(From OE-Core rev: 17e7ac0c5e75245d17a90e5cc49ade3d18a168ba)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 ....

(From OE-Core rev: b2cc92595b30d96a79f33ea7a7217834c8b6bff7)

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]

(From OE-Core rev: ac0e2781c2723257bd380cac170d4c8b97e36747)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: Fix queue import for pyhton 2 and 3
Richard Purdie [Tue, 14 May 2013 12:04:14 +0000 (15:04 +0300)]
bitbake: bin/bitbake: Fix queue import for pyhton 2 and 3

(Bitbake rev: 782bc0e797802224f06cb6f9098a50d658c86523)

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

(From OE-Core rev: f9f1397d688cc4eb8d736066b1280bee40a8916a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: fix for XMLRPC mode
Bogdan Marinescu [Wed, 16 Jan 2013 12:36:55 +0000 (12:36 +0000)]
bitbake: hob: fix for XMLRPC mode

Contains a small fix to the builder.py code
(a missing "self" in a variable assignment).
With this changes, "hob" can run with the XMLRPC backend:

$ hob -t xmlrpc

(Bitbake rev: 3497478f803986af32099ddd124c47df8e89f6da)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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).

(From OE-Core rev: 1bd6fa9c81dea90f66641835a4c2ed6f2b7a239a)

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.

(From OE-Core rev: a015881f2207aded601459ba3eebbefb0002b3c5)

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.

(From OE-Core rev: cf5e40598ae9a83f22cabedc7b72000beb62703c)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker/bitbake-layers/tinfoil: Fix recipecache typo
Richard Purdie [Mon, 13 May 2013 18:53:26 +0000 (21:53 +0300)]
bitbake: cooker/bitbake-layers/tinfoil: Fix recipecache typo

(Bitbake rev: 0f5eee689992f84d263cb817dc2ce755a9a075f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers/tinfoil: Catch up with status -> recpiecache rename
Richard Purdie [Sun, 12 May 2013 17:00:39 +0000 (18:00 +0100)]
bitbake: bitbake-layers/tinfoil: Catch up with status -> recpiecache rename

(Bitbake rev: 0a9cbe7a6a17c5df38cd442ee8650097d6bbf502)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: c5c1517726aa103a3cdb60abda95e28997cac7c4)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 563edb321594b007cae2294e807235ad22fd27da)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: e2efcff4c4a3d6d5b4cecac57b952f8fb8680a22)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 6a68d5a1bfa7e29ceaee488f7455b70ca7a24d26)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: e09796f917fd684e1402da5953d34cd9c10ed800)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 7c5498e42f6152e6179781dc0e96e255af3f87dd)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 993b641ee56dc3dbcdb0ce73d6e875058c262c89)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: b3a0c5d13ce23e64aaa683f533dea4d399ad367c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 01b74d26ba9f96122105987581660ee2b26521b6)

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

(From OE-Core rev: 43b2a2f375e2201be7a9bb6a9c5c0a9fc61f3361)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: bcd5ed8dd0e80cb76415cd2be9686d4e8023421d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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].

(From OE-Core rev: 8d25442ab795ff0f8e072da2022108eff128e2b2)

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

(From OE-Core rev: 89be8aa7c6d49c6372df687798d006d8cfe12943)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: bcfb5a783dc94fe38539a19f4f7de249ce2391c1)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: e4bc2b287bdeb0abf7c198564575f719a98a6591)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 5d8dd6ec550764b89754812f0d06cc2baa707a1e)

Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 71e83ce29f09678ed5aa67c5edf88e0f24f754f8)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: eb2b082146cf3ba229a816faa9c87fd098c0627f)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: c1bfe7985ac95644585e8b296edd9722c2ca4f57)

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

(From OE-Core rev: ace67d28ab295451a59edcf02447bcd9095b3edb)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 84a13eab40e8aca73e5f2421e9a32c922e00b714)

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

(From OE-Core rev: c6cb877ae1185952e9954ffc5e29e032f6c448f5)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 0f1b721a99ee1403ffe88dde97676316bca3004c)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 9a8a765c2ccbae29ecabe00f358b6bbb1c9b3b98)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 4e559881b4dd56e47762770acfab45e43f95fe45)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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}

(From OE-Core rev: cc7deb8b8dbc58975b8f55cd63f237aa0ded0887)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 93381809e88f18ce8409a3517eb6b2cb69a42941)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 3b4fe8c1b681d5e5bb1d1a7c6d68016681667873)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 117a6145c2aa8263f6eff6101e4a5006b9865564)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 41b3e68c324cb082e1b692bf63ac2244223e8e26)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: c9c6ef49868f1d5a2725eb64b5b1e0f65135cbe2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 14565747b61b7181fab600a73490803a351bfd0f)

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

(From OE-Core rev: 69daeb9b99c7a2e56813bbe13741ae55aa075972)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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

(From OE-Core rev: 673641e2e16ae194e8c99b4da6c0a94df9ab1846)

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

(From OE-Core rev: 256142d2cc0a699ace2cd8df8b814b40dcfcc42d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 680215b6f2b0514ea106b53e8993549985684b56)

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: 453b96314076c2407dd56d8dc5613dc02a622e73)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.

(From OE-Core rev: f5f2959391721a98d4259421650d90ccf475b025)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: 9cad15c8bc14d7f371e518b443650d1380b16516)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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

(From OE-Core rev: a54b5f93c5b5fa00c7099fcc51e916db145ecfc2)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: de425c01ffc50d53d570c24e2fe99e1a8b81e5ac)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 3e6d3ffee6d7a37981d22c2719dc5bd7aface9fb)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years 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.

(From OE-Core rev: 271b772855e091f5d0d97594acd613a9aee47fcb)

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

(From OE-Core rev: 68d7300e2cc55a5b873345874243da589e04bba0)

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

(From OE-Core rev: 75f6dcd7b884d5f9743cda1d0c900b5f72789232)

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

(From OE-Core rev: 8bada957224783d21cdacbfeaf6ee4ccc4f72b74)

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

(From OE-Core rev: 95b7cafafcaa4dda7328632475003f5778ab95bd)

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.

(From OE-Core rev: 8fbf21365fbfab9e3cd36c4eab86fe03efa04e8e)

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

(From OE-Core rev: 702deed71de41ef2e93bc5435e136bf219537d3a)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Rename status variable to recipecache
Richard Purdie [Fri, 10 May 2013 17:35:47 +0000 (17:35 +0000)]
bitbake: cooker: Rename status variable to recipecache

"status" is a relic of very early versions of bitbake, rename it to match what it now
means.

(Bitbake rev: db307fc68773868de2db614a061f51c5c6a90468)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Rename confusing buildDepgraph task to handlePrefProviders
Richard Purdie [Fri, 10 May 2013 15:26:03 +0000 (15:26 +0000)]
bitbake: cooker: Rename confusing buildDepgraph task to handlePrefProviders

(Bitbake rev: a25722175bf61f22961f45dbd356cb6d79864b35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Drop pointless variables
Richard Purdie [Fri, 10 May 2013 15:24:01 +0000 (15:24 +0000)]
bitbake: cooker: Drop pointless variables

(Bitbake rev: 0d7517db234ef5f6b3eb99822ecb5e86cf48fe2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker.py: Drop confusing updateCache calls
Richard Purdie [Fri, 10 May 2013 15:09:36 +0000 (15:09 +0000)]
bitbake: cooker.py: Drop confusing updateCache calls

updateCache() gets called by command.py when needed and needs to be iterated
over. The calls in cooker.py are therefore just plain wrong/confusing now.

(Bitbake rev: 8b7c65bba466bb6773c56849074978ce2c956129)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Remove pointless repeated import
Richard Purdie [Fri, 10 May 2013 14:54:46 +0000 (14:54 +0000)]
bitbake: cooker: Remove pointless repeated import

(Bitbake rev: e01914a8eaa97a410cb5fe9480f2d96bb6553342)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Fix get_bbfiles()
Richard Purdie [Fri, 10 May 2013 14:52:47 +0000 (14:52 +0000)]
bitbake: cooker: Fix get_bbfiles()

Its clear looking at the code the path argument has never been used and doesn't
work. Tweak the function to be a little more readable.

(Bitbake rev: d7047ceaf29b870ade3257e263e010f65aa8bc6e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Separate out collections handling code into its own class
Richard Purdie [Fri, 10 May 2013 14:35:39 +0000 (14:35 +0000)]
bitbake: cooker: Separate out collections handling code into its own class

The Cooker class is too large and needs to be split up into different
functional units. Splitting out the collections code into its own class
seems like a good place to start to try and disentangle things.

(Bitbake rev: ca1fcbb6e214c155a05328779d3d326e10c5eac0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Drop unused variables from collect_bbfiles()
Richard Purdie [Fri, 10 May 2013 15:16:26 +0000 (16:16 +0100)]
bitbake: cooker: Drop unused variables from collect_bbfiles()

(Bitbake rev: 67a8e13eed6433bd1e4fab82ece5f6774b42fa00)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: pysh: Say what kind of token isn't implemented
Olof Johansson [Tue, 7 May 2013 09:22:37 +0000 (11:22 +0200)]
bitbake: pysh: Say what kind of token isn't implemented

When the shell lexer finds an unrecognized dollar token, the error
message should contain what kind of token it is having problems with.

(Bitbake rev: 1acb9c338018c612db519d2db823c66b567863b9)

Signed-off-by: Olof Johansson <olof.johansson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: assure consistency for image size label
Cristiana Voicu [Tue, 7 May 2013 08:07:56 +0000 (11:07 +0300)]
bitbake: hob: assure consistency for image size label

After the image was build, update the image size in the packagelistpage.

[YOCTO #4388]
(Bitbake rev: 4d6d02e61b32d1d710c708774f08cc5e7764415d)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: clicking on "cancel" should reset table sorting to default
Cristiana Voicu [Tue, 7 May 2013 08:07:55 +0000 (11:07 +0300)]
bitbake: hob: clicking on "cancel" should reset table sorting to default

Changed the "cancel" callback function for both recipes and packages
list page.

[YOCTO #4333]
(Bitbake rev: 05ebbaa2426716c6254c4a98872020d02d2944bd)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: "Brought in by" sorting should take into account the (+#) information
Cristiana Voicu [Tue, 7 May 2013 08:07:54 +0000 (11:07 +0300)]
bitbake: hob: "Brought in by" sorting should take into account the (+#) information

[YOCTO #4332]
(Bitbake rev: 226a5f2d0947460cb6df9e97f0146b65f96a7f8c)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: sort alphabetically results in groups of recipes/packages
Cristiana Voicu [Tue, 7 May 2013 08:07:53 +0000 (11:07 +0300)]
bitbake: hob: sort alphabetically results in groups of recipes/packages

When you search a string, there are 2 groups: recipes/packages starting
with that string, and the rest. These 2 groups are now sorted.

[YOCTO #4111]
(Bitbake rev: 8d2b2a1c97570d3c6b40727f1afa1db8c00882f9)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: Updated information in tooltips
Andrei Dinu [Tue, 7 May 2013 08:06:34 +0000 (11:06 +0300)]
bitbake: Updated information in tooltips

Updated information for "Additional free space" and
"Image basic size" to match the description in the
manual.

[HOB #4354]
[HOB #4355]

(Bitbake rev: d3eac3f104689137c071c91a343ca4558b9d9f17)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@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]

(From OE-Core rev: 2ab642056829aef675f75c05b9ac5bbc43c87cd1)

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]

(From OE-Core rev: 165ed464bbb9bf985dde9d8c15d000809901fff6)

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.

(From OE-Core rev: 902d3fa57d4659ee12aac80246dcaca5c45f9d8c)

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].

(From OE-Core rev: c331f0a5cac765174a1b5de5c12aec7e965d4158)

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].

(From OE-Core rev: ed6bb6e3db518082d3a9c45d548bc1339be2c5ca)

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].

(From OE-Core rev: 329edb52e9c23c0956b849a660accf39d44f9d9f)

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}.*"

(From OE-Core rev: 45c7dab5d51065c7b24ab5292f8e9d3104eb0626)

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.

(From OE-Core rev: 799c16ed317aed7638e264ee2f92e4b722f1b011)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib: print is a function in moderm python, covert remaining users
Richard Purdie [Thu, 9 May 2013 21:19:04 +0000 (21:19 +0000)]
bitbake: lib: print is a function in moderm python, covert remaining users

(Bitbake rev: d0b180d868390a464b6799ad90db6bbe0350e158)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib: Use modern expcetion syntax
Richard Purdie [Thu, 9 May 2013 21:18:20 +0000 (21:18 +0000)]
bitbake: lib: Use modern expcetion syntax

(Bitbake rev: a4a37b6a83faa62f61433122c4583e93e64f7372)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: prserv: Drop StandardError usage
Richard Purdie [Thu, 9 May 2013 21:17:18 +0000 (21:17 +0000)]
bitbake: prserv: Drop StandardError usage

StandardError doesn't exist in python 3, use Exception instead.

(Bitbake rev: 4a40046036493f0cdf0f66487ad5ce083461a5c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: siggen: Add missing error message parameter
Richard Purdie [Thu, 9 May 2013 21:16:09 +0000 (21:16 +0000)]
bitbake: siggen: Add missing error message parameter

There is clearly a missing parameter from this error message, add it.

(Bitbake rev: d98be5ea69b99fb7934fc3093422f139bc37a1cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: providers: Remove pointless lambda sort function
Richard Purdie [Thu, 9 May 2013 21:14:50 +0000 (21:14 +0000)]
bitbake: providers: Remove pointless lambda sort function

This lambda function is equivalent to the default sort used by sorted,
so we can simply remove this. The syntax isn't compatible with python 3.

(Bitbake rev: da8550fc884596222daa3f8794dce1abd01e5612)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Remove deprecated operator
Richard Purdie [Thu, 9 May 2013 21:14:06 +0000 (21:14 +0000)]
bitbake: cooker: Remove deprecated operator

The <> operator is deprecated, replace with !=.

(Bitbake rev: 4a43e58dd97ec6ea304eaa727c030973a5bc91b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: lib: Clean up various file access syntax
Richard Purdie [Thu, 9 May 2013 21:06:45 +0000 (21:06 +0000)]
bitbake: lib: Clean up various file access syntax

Python 3 is stricter about how files are accessed. Specficially:

 * Use open(), not file()
 * Use binary mode for binary files (when checksumming)
 * Use with statements to ensure files get closed
 * Add missing file close statements

(Bitbake rev: 9f08b901375ba640f47596f1bcf43f98a931550f)

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.

(From OE-Core rev: 3fb0e792600b5adb58bc5fca90d8605c1c76280f)

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

(From OE-Core rev: 23ba10c61ff26bffb1a84972eb4e0bfb03561f89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>