scm/bb/tizen-distro.git
12 years agoHob: enable indicators on the "Included" tab in the recipe selection page and the...
Shane Wang [Wed, 29 Feb 2012 14:15:09 +0000 (22:15 +0800)]
Hob: enable indicators on the "Included" tab in the recipe selection page and the package selection page

(Bitbake rev: 504d480b208cacad7a5595312890f49fe19b80be)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: make the image configuration page not to flash the progress bar
Shane Wang [Wed, 29 Feb 2012 14:15:08 +0000 (22:15 +0800)]
Hob: make the image configuration page not to flash the progress bar

Sometimes the image configuration page flashes the progress bar, that is because we show_all() and then hide() the progress bar. For this case, the patch doesn't add the progress bar onto the gtable. Then, it will not be flashed any more.

(Bitbake rev: ef472710589580b9bfc64d2c02fa42f3ecbdfeb1)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: fix a bug in builder.configuration.curr_mach
Shane Wang [Wed, 29 Feb 2012 14:15:06 +0000 (22:15 +0800)]
Hob: fix a bug in builder.configuration.curr_mach

When the user changes the machine to be "--select a machine--", the builder.configuration.curr_mach should be set to empty.
Otherwise, if the user adds more layers after the above, the action will trigger recipe parsing, which is not correct.

(Bitbake rev: d5c7c9471b8e101ebcb91d707415b9c820b1419f)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: image configuration page doesn't need dialogs any more
Shane Wang [Wed, 29 Feb 2012 14:15:05 +0000 (22:15 +0800)]
Hob: image configuration page doesn't need dialogs any more

The dialog references are all in builder.py. We remove the useless "import" in image configuration page.

(Bitbake rev: 804f35e6864aeae2bb02550d9eb34120bbb60fa0)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: include hddimg and iso into image types.
Shane Wang [Wed, 29 Feb 2012 14:15:02 +0000 (22:15 +0800)]
Hob: include hddimg and iso into image types.

For image types, so far we don't include hddimg and iso. Then those files can not be deployed because they are filtered out in the image selection dialog.
This patch is to include hddimg and iso (which are "live" in image types).

Again, we have a TODO in the code for the future, that is to retrieve image types from the bitbake server instead of to use the walkaround.

(Bitbake rev: d565507940be73fb5ea3ae7048d8d143c44c2a95)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: cleanup those class methods in HobWidget
Shane Wang [Fri, 24 Feb 2012 07:57:13 +0000 (07:57 +0000)]
Hob: cleanup those class methods in HobWidget

Some dialogs like advanced settings dialog, and layer selection dialog are using the class methods in HobWidget to create widgets for themselves, which is not a good design for OO.

Clean up the code, and split the functions into the separate classes which use them actually.
Finally, remove the class HobWidget.

(Bitbake rev: f9cccea4d1c52ae2173fd94d5b07ceba7e5c0851)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: fixed the issue in the brought-in-by dialog.
Shane Wang [Wed, 29 Feb 2012 14:15:01 +0000 (22:15 +0800)]
Hob: fixed the issue in the brought-in-by dialog.

When typing any thing in the search entry, the brough-in-by dialog will be shown. That is because we call back "selection-changed" signal to pop up the dialog, which is not correct.
This patch is to fix the problem by using "row-activated" signal.

(Bitbake rev: ea56ae787153460166697bbcae92f51a77ca1571)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: avoid the image selection dialog to walk through all directories and its sub...
Shane Wang [Wed, 29 Feb 2012 14:14:59 +0000 (22:14 +0800)]
Hob: avoid the image selection dialog to walk through all directories and its sub-directories, when users click "My images".

The current implementation of the image selection dialog walks through all directories and its sub-directories, when users click "My images" to choose a directory. If the directory is /, the system becomes slow. This patch is to avoid walking through all directories but the child directories only, given a directory.

(Bitbake rev: 536fa633b442ff37d43f45cf346ba281d69de496)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: make HobViewTable more general in hob and make the image selection dialog and...
Shane Wang [Wed, 29 Feb 2012 14:14:58 +0000 (22:14 +0800)]
Hob: make HobViewTable more general in hob and make the image selection dialog and the image details page reuse it.

This patch is to make the class HobViewTable more general as a tree view in Hob.
Now the recipe selection page and the package selection page are using it.
And we have tree views in the image selection dialog and the image details page, which used the class methods in HobWidget to create the tree views. That is not good in OO.

So, make them reuse HobViewTable to create its instances.

(Bitbake rev: 3c900211e8bc0311542873480d79b347d7449f59)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types_uboot: Update to work after recent image_types changes
Richard Purdie [Wed, 29 Feb 2012 16:27:21 +0000 (16:27 +0000)]
image_types_uboot: Update to work after recent image_types changes

(From OE-Core rev: 8054497b393d40a2ed8c802c74a02e92a3001297)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: Correctness fixes
Richard Purdie [Wed, 29 Feb 2012 16:24:26 +0000 (16:24 +0000)]
image_types: Correctness fixes

* Add a newline to improve the output formatting
* Use set() to turn the list into a set of unique items to prevnt
  the same image code running twice (for e.g. IMAGE_FSTYPES = "tar.gz tar.bz2")
* Support multiple compression extensions such as ".gz.u-boot"
* Fix basetype/type typo and fix multiple image generation

(From OE-Core rev: eacedb4f2afa98dbd2f5ea7a9f52e6ea952a72d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoMore quoting fixes
Paul Eggleton [Wed, 29 Feb 2012 12:59:14 +0000 (12:59 +0000)]
More quoting fixes

(From OE-Core rev: 17f2d5d70ad323cea4fb149154bc38844661fa3a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoparse/ConfHandler: Fix enthusiatic export regexp matching
Richard Purdie [Wed, 29 Feb 2012 13:09:15 +0000 (13:09 +0000)]
parse/ConfHandler: Fix enthusiatic export regexp matching

The export regexp was only meant to catch values like:

export VARIABLENAME

however after the stricter quoting patch was applied, it was also matching
variables like:

export BAR=foo

and setting the export flag on a variable called "BAR=foo". The = character
is an invalid variable name character. This patch tightens up the regexp
match so it only matches the intended character set and only matches variable
names.

(Bitbake rev: 6d1765c2eac8c1958ceb9c81d55d04a9bc961cb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: fix bzip2 and xz compression commands
Otavio Salvador [Wed, 29 Feb 2012 05:41:18 +0000 (05:41 +0000)]
image_types.bbclass: fix bzip2 and xz compression commands

We need to use -f (force) or the command fails in the image file
already exists.

(From OE-Core rev: 419ddab8266ecfd6da1841d38a451a9fc5be49b0)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types.bbclass: properly support IMAGE_LINK_NAME as empty
Otavio Salvador [Wed, 29 Feb 2012 05:41:17 +0000 (05:41 +0000)]
image_types.bbclass: properly support IMAGE_LINK_NAME as empty

[RP: Remove unneeded len()]
(From OE-Core rev: 45a094372ea9e68888efee45d8e21cf2b7fa2df6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty
Otavio Salvador [Wed, 29 Feb 2012 05:41:16 +0000 (05:41 +0000)]
image.bbclass: do not create image manifest link if IMAGE_LINK_NAME is empty

(From OE-Core rev: d0f1ae1f8cf8ef4e5adc24cc6246d3849e51aa98)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: fix packaging of ${PN} and ${PN}-staticdev
Otavio Salvador [Wed, 29 Feb 2012 06:03:13 +0000 (06:03 +0000)]
syslinux: fix packaging of ${PN} and ${PN}-staticdev

 - ${PN} where not being build due ordering;
 - ${PN}-staticdev lacked the ${libdir} files.

(From OE-Core rev: e83b2e25ebf0169371035483095a06b3ca5eb479)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.
James Limbouris [Wed, 29 Feb 2012 06:56:30 +0000 (14:56 +0800)]
busybox: Enable 64 bit shell tests, and disable non-standard date format interpretation.

Without 64 bit shell tests, the timestamp comparison in initscripts' bootmisc.sh throws 'out of range' errors.
With CONFIG_FEATURE_DATE_COMPAT, date reads the YYYYMMddhhmm string as hhmmYYYYMMdd when setting the time from the timestamp in bootmisc.sh.

(From OE-Core rev: e32e23649f4eab0bdc71a854f99b11fee19125ac)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicenses.conf: fix quotting of SRC_DISTRIBUTE_LICENSES
Otavio Salvador [Tue, 28 Feb 2012 15:02:45 +0000 (15:02 +0000)]
licenses.conf: fix quotting of SRC_DISTRIBUTE_LICENSES

(From OE-Core rev: 61216d2743502ef38955054aad6a4f2ed63e6d43)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl: Ensure native verison has correct dependencies and builds
Richard Purdie [Tue, 28 Feb 2012 17:51:09 +0000 (17:51 +0000)]
tcl: Ensure native verison has correct dependencies and builds

(From OE-Core rev: 9b63fbb5f41d8a7167bbb534da03908c996693ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Fix Quoting
Saul Wold [Tue, 28 Feb 2012 16:45:55 +0000 (08:45 -0800)]
bootimg: Fix Quoting

(From OE-Core rev: 18ad7e003e36510ff0097d71bad0378a77fabbdd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: bump PR
Otavio Salvador [Tue, 28 Feb 2012 14:17:59 +0000 (14:17 +0000)]
syslinux: bump PR

The change done in 868a81e869a6193aada2073ae533d937a1c0baf4 has
changed the packaging however it haven't bump the PR making
auto-building fail.

(From OE-Core rev: eaa8c7d7c047c44067c8931edc81fe476b9a36db)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: implement BB_VERBOSE_LOGS
Paul Eggleton [Tue, 28 Feb 2012 13:37:41 +0000 (13:37 +0000)]
bitbake: implement BB_VERBOSE_LOGS

Enable configuring whether "set +x" is added to all shell tasks rather
than forcing it; this is enabled by setting BB_VERBOSE_LOGS to 1.

(Bitbake rev: 659411b6bb30e1a8355afc1c29b8170a8f2b55ac)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl 8.5.11: fix packaging for native version
Richard Purdie [Tue, 28 Feb 2012 13:32:44 +0000 (13:32 +0000)]
tcl 8.5.11: fix packaging for native version

Fix an issue in the previous commit:

ERROR: Nothing RPROVIDES 'tcl-native-lib-native' (but virtual:native:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly/build/meta/recipes-devtools/tcltk/tcl_8.5.11.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'tcl-native-lib-native' is unbuildable, removing.

by replacing ${PN}-lib with tcl-lib

(From OE-Core rev: 3cb519598d9ce044ccccb2d6a52a3c0933433501)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoMore quoting fixes
Richard Purdie [Tue, 28 Feb 2012 13:14:30 +0000 (13:14 +0000)]
More quoting fixes

(From OE-Core rev: 749d252475df090d51313cfbbe3f159db9f0566d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/ConfHandler: Be more strict about variable quoting
Richard Purdie [Sun, 26 Feb 2012 12:58:05 +0000 (12:58 +0000)]
bitbake/ConfHandler: Be more strict about variable quoting

Currently, bitbake will accept variables in the forms:

X = 1
X = '1 \

X = "1"
X = '1'

which will all set X=1. This patch removes the first two possibilities
and makes quoting mandatory. There is little metadata out there which
doesn't quote properly and bitbake will exit with an error about the
exact line number and file with any problem so users can easily identify
and fix issues. OE-Core has already been checked/fixed.

The motivation for this is being able to give sane errors if a user
does something like:

IMAGE_INSTALL += # tslib mtd-utils"

which currently gives a really nasty failure.

(Bitbake rev: a8ae80741fea5e0ec0fb9a52a963a4baa38d2564)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage_types: Refactor compression code into a generic compression solution
Richard Purdie [Mon, 27 Feb 2012 12:43:49 +0000 (12:43 +0000)]
image_types: Refactor compression code into a generic compression solution

The current approach of adding each different compressed image type doesn't
scale. This patch changes the code so compressed images for each form are
automatically available using the form <type>.<compression type> in
IMAGE_FSTYPES. This doesn't change any existing externally visible behaviour
and the image generation process becomes more efficient as a result too.

(From OE-Core rev: b7e4ed41ee480f00b7265341e9e2d2c2b9135143)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemugl: Fix gl apps failure on qemu-x86-64
Zhai Edwin [Tue, 28 Feb 2012 08:00:49 +0000 (16:00 +0800)]
qemugl: Fix gl apps failure on qemu-x86-64

Extend commit 028968 to qemu x86-64, where stack disorder happen due to
register handling via push/pop.

[YOCTO #1927] fixed

(From OE-Core rev: 70c224d80c2330cbb0fa8213b0c0d5a1c87459f6)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibskba: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:48 +0000 (16:00 +0800)]
libskba: Fix for multilib

(From OE-Core rev: 5cf9c308756017648692d2559ec5cd432fbd5a5a)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: Fix for multilib
Zhai Edwin [Tue, 28 Feb 2012 08:00:47 +0000 (16:00 +0800)]
gnupg: Fix for multilib

(From OE-Core rev: a1db815957a0409255c517d3a35382ee704c8390)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl 8.5.11: fix packaging
Koen Kooi [Tue, 28 Feb 2012 07:58:37 +0000 (08:58 +0100)]
tcl 8.5.11: fix packaging

Include /usr/lib/tcl8 for the msgcat and test module, force dependency on tcl-lib since shlibs isn't picking it up.

(From OE-Core rev: 77eaa55d94e8ce73aa3c43b1f068d6ad4cf20e80)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext: Get gettext use its own libunistring
Wenzong Fan [Tue, 14 Feb 2012 01:42:59 +0000 (09:42 +0800)]
gettext: Get gettext use its own libunistring

According to its documentation, gettext 0.18.1.1 needs either
libunistring or it will use its own internal version. Just add
a configure option '--with-included-libunistring' to force the
latter to avoid races.

[YOCTO#1934]

(From OE-Core rev: f4f242cf8af9df3dc2394d245740b173f34cbf81)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtd-utils: Don't use host 'ranlib' or 'ar'.
James Limbouris [Tue, 28 Feb 2012 03:49:06 +0000 (11:49 +0800)]
mtd-utils: Don't use host 'ranlib' or 'ar'.

If ranlib, ar, or cc are not supplied to make, it attempts to use ${CROSS}xxx.
Since ${CROSS} is not set, host ranlib may run, producing an unusable .a file on some platforms.

(From OE-Core rev: b8231237c6878599833c9bbaef7b68060fcbe935)

Signed-off-by: James Limbouris <james@digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4.inc: depend on tiff
Andreas Oberritter [Mon, 27 Feb 2012 17:03:22 +0000 (18:03 +0100)]
qt4.inc: depend on tiff

* Fixes the following error with qt4-embedded-4.8.0 and possibly others:

| ../../../gui/image/qtiffhandler.cpp:48:20: fatal error: tiffio.h: No such file or directory

(From OE-Core rev: d0853052228128ccca2b744dae9c4dceae23067a)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-ppc*.inc: update to use new default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:51 +0000 (13:38 -0600)]
tune-ppc*.inc: update to use new default value for TUNE_PKGARCH

(From OE-Core rev: 12f0a0d3e1afe90633c8b95d36670ab0f156e912)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: add default value for TUNE_PKGARCH
Matthew McClintock [Mon, 27 Feb 2012 19:38:49 +0000 (13:38 -0600)]
bitbake.conf: add default value for TUNE_PKGARCH

Add a default value for TUNE_PKGARCH. This let's us use
the following:

TUNE_PKGARCH_tune-ppce500

Instead of scanning over variables and using bitbake internal
functions to create a valid value here.

(From OE-Core rev: 785962440131f993b912d26cba39dc7ffc91aad4)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden
Matthew McClintock [Mon, 27 Feb 2012 19:38:48 +0000 (13:38 -0600)]
multilib.bbclass: allow TARGET_VENDOR_virtclass-multilib to be overriden

If we set this bit, we can override the ugly "pokymllib32" to back to
"poky" (powerpc-pokymllib32-linux-gcc -> powerpc-poky-linux-gcc). I've
left this unset by default, but can be set by adding the following:

TARGET_VENDOR_virtclass-multilib-lib32 = "-poky"

(From OE-Core rev: 01fd9be5db633d881c789c5b119f794a3f1000da)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune file
Matthew McClintock [Thu, 23 Feb 2012 06:21:49 +0000 (00:21 -0600)]
tune-ppce5500: consolidate ppce5500 and ppc64e5500 into one tune file

We don't need two files for this. Also this fixes some mutlilib build
issues where we were not able to select the multilib arch to be
ppce5500 or ppc64e5500.

Changes recently made to meta-fsl-ppc layer depend on this change as
well

(From OE-Core rev: 4fbb72a359fea2e0922f472f48f186bbd1ca2b36)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64
Matthew McClintock [Thu, 23 Feb 2012 06:21:48 +0000 (00:21 -0600)]
arch-powerpc{, 64}.inc: update/add PACKAGE_EXTRA_ARCHS for powerpc/powerpc64

(From OE-Core rev: d19298a4915e00f4a91364d64ddc5fb9689b23c9)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: allow non-branched repositories to check out
Bruce Ashfield [Mon, 27 Feb 2012 18:20:41 +0000 (13:20 -0500)]
linux-yocto: allow non-branched repositories to check out

Not all users of the checkout phase of linux-yocto have all
branches present. This is normal, and should be supported. By
checking for an empty KBRANCH we can avoid validating a branch
that isn't supposed to exist.

[YOCTO #2032]

(From OE-Core rev: fb2b3c7c10df1b44679a20e7dffd37f07fd01aba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: update 3.2 kernel to v3.2.7
Bruce Ashfield [Sun, 26 Feb 2012 06:04:53 +0000 (01:04 -0500)]
linux-yocto: update 3.2 kernel to v3.2.7

Updating the 3.2 kernel recipe to the latest -stable release.

(From OE-Core rev: 97d55a32c7bb7650af59a5bce49cf8409a875f98)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: update 3.0 kernel to v3.0.22
Bruce Ashfield [Sun, 26 Feb 2012 06:03:42 +0000 (01:03 -0500)]
linux-yocto: update 3.0 kernel to v3.0.22

bumping the revision of the 3.0 kernel to the latest -stable release.

(From OE-Core rev: b91c32360469ce97fc00e807e7c3415fed1848a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: Fix build on x86/amd64 with gcc 4.7
Khem Raj [Mon, 27 Feb 2012 19:50:07 +0000 (11:50 -0800)]
bluez4: Fix build on x86/amd64 with gcc 4.7

gcc figures an impossible asm contraint
in inline asm which it is correct about

"i" requires the operand to be a compile-time constant
but memory location of a multi-dimensional array isn't constant
at compile time.

(From OE-Core rev: 09dcd878a55b5aec5427288c4faf3c4d64a30a72)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: Account for updates and Manual Checking
Saul Wold [Mon, 27 Feb 2012 17:46:35 +0000 (09:46 -0800)]
distro_tracking: Account for updates and Manual Checking

Updates:

sqlite3
psmisc
boost
file
util-linux
tiff
mkfonddir
mkfontscale
libdrm
xf86-video-intel

Manual Checks:
libcheck
libcap
console-tools
zip
unzip
sysfsutils
less
usbutils
sysstat
cracklib
libexif
qemugl
glew
squashfs-tools
lsb

Fixup:
bzip2

(From OE-Core rev: d3bc674dc7ec46b215df50236b95d3b0aed2ee4a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobind: add DEPENDS for libcap
Saul Wold [Tue, 28 Feb 2012 01:27:25 +0000 (17:27 -0800)]
bind: add DEPENDS for libcap

(From OE-Core rev: aced47c5044fd9e69975dde0071efb7964bd93fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotiff: Update to version 3.9.5
Saul Wold [Mon, 27 Feb 2012 17:31:45 +0000 (09:31 -0800)]
tiff: Update to version 3.9.5

Ensure that OpenGL and friends are disable with the
setting of ax_cv_check_gl_libgl = no.

(From OE-Core rev: 69e67ac74bda6de1243e35643ee4af8a25a5f32f)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-intel: Update to version 2.18.0
Saul Wold [Mon, 27 Feb 2012 08:49:56 +0000 (00:49 -0800)]
xf86-video-intel: Update to version 2.18.0

(From OE-Core rev: 0118a6e05de5b6de65a190e7962e35de2e920bdf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosqlite3: Update to version 3.7.10
Saul Wold [Mon, 27 Feb 2012 08:49:03 +0000 (00:49 -0800)]
sqlite3: Update to version 3.7.10

(From OE-Core rev: faf0fd34c65f2f715aad26676b4af74a2badabd6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboost: Update to version 1.49.0
Saul Wold [Mon, 27 Feb 2012 08:48:40 +0000 (00:48 -0800)]
boost: Update to version 1.49.0

(From OE-Core rev: db7d0089205124d2c537bd3185444581a7a351fa)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkfontscale: Update to version 1.1.0
Saul Wold [Mon, 27 Feb 2012 08:48:16 +0000 (00:48 -0800)]
mkfontscale: Update to version 1.1.0

(From OE-Core rev: 5293df3a10a27dcd1d68b2a5c716f236fcbbaff8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomkfontdir: Update to version 1.0.7
Saul Wold [Mon, 27 Feb 2012 08:47:59 +0000 (00:47 -0800)]
mkfontdir: Update to version 1.0.7

(From OE-Core rev: 87fad1bbdad0b1da6aa6f1e5e933655fbf3247cd)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibdrm: Update to version 2.4.31
Saul Wold [Mon, 27 Feb 2012 08:47:30 +0000 (00:47 -0800)]
libdrm: Update to version 2.4.31

(From OE-Core rev: 769f6165b5b39da8308cf0f7410c267f25ae9553)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsmisc: Update to version 22.16
Saul Wold [Mon, 27 Feb 2012 08:46:58 +0000 (00:46 -0800)]
psmisc: Update to version 22.16

Remove libintl-link patch which has in the upstream code now

(From OE-Core rev: f3aad7c3a88dbe171147a703b98488c00a615fcf)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofile: Update to version 5.11
Saul Wold [Mon, 27 Feb 2012 08:46:16 +0000 (00:46 -0800)]
file: Update to version 5.11

(From OE-Core rev: 1cd88605f9fb989b854081e7d4b68874c6656250)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Update to 2.21
Saul Wold [Mon, 27 Feb 2012 08:45:48 +0000 (00:45 -0800)]
util-linux: Update to 2.21

This updates various checksums for the COPYING files, which moved in the process
no changes to Licenses

Tweak the scanf_cv_alloc_modifier and rebase the patch

(From OE-Core rev: 9cb35b41c803bd0d1904b2dc0e14624fa7ea6e95)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Add glib-2.0 as depends
Saul Wold [Mon, 27 Feb 2012 01:12:45 +0000 (17:12 -0800)]
qemu: Add glib-2.0 as depends

(From OE-Core rev: 37a8655bd4b781985eb6b4e33f1847e997609f7b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: Add missing patch for curl_typeof_fix
Saul Wold [Thu, 9 Feb 2012 02:02:47 +0000 (18:02 -0800)]
gnupg: Add missing patch for curl_typeof_fix

Seems the wrong commit was grabbed and missed this patch

(From OE-Core rev: 347426ca3dbe06df1d1b0976a81e96cf6238af21)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-tools-nativesdk: improve and tidy up qmake build
Paul Eggleton [Thu, 9 Feb 2012 17:38:21 +0000 (17:38 +0000)]
qt4-tools-nativesdk: improve and tidy up qmake build

* Use the same method to build qmake as in the qt4 target recipes
* We always have qmake from qt4-native so don't check if it exists -
  just skip the check like we do in the qt4 target recipes. This
  saves us a patch.
* Replace qt4-tools-native in DEPENDS with qt4-native

(From OE-Core rev: 71153270466352245fe2aa3318bbabb1f8062ed2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-tools-nativesdk: fix build of 4.7.4
Paul Eggleton [Thu, 9 Feb 2012 14:37:34 +0000 (14:37 +0000)]
qt4-tools-nativesdk: fix build of 4.7.4

Commit 4ccae37db1aa77a1d15098c3720ea6e2d383fbdc introduced a sed command
line to modify a file that only exists in 4.8.0, thus do_configure of
4.7.4 was failing; so make this conditional upon the file existing.

(From OE-Core rev: 0b948d20b835387702a4f5e103eaae5b4a330edd)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: build qmake for the target
Paul Eggleton [Wed, 8 Feb 2012 17:00:25 +0000 (17:00 +0000)]
qt4: build qmake for the target

qmake was not being built at all (since we had the host version from
qt4-native) and the default is to build for the host machine within
configure. With a minor hack we can build qmake for the target as well,
which is useful if you want to build Qt 4 software on an actual device.
This is now installed as part of the tools package (together with uic,
moc etc.)

Additionally, add an environment setup script (installed in
/usr/share/qt4/environment-setup or /usr/share/qtopia/environment-setup
for the embedded version) as part of the mkspecs package since the
mkspecs will not work without the paths set up by this script. The code
to create this script was adapted from the qmake2 recipe in meta-oe.

Also move do_compile() from qt-${PV}.inc up to qt4.inc as both versions
have the exact same content.

(From OE-Core rev: 4306606489a2d922595d4c86a21c496bbd8a607e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: fix compile error in Qt 4.8.0 with gcc 4.6
Paul Eggleton [Wed, 8 Feb 2012 13:21:59 +0000 (13:21 +0000)]
qt4: fix compile error in Qt 4.8.0 with gcc 4.6

Ensure the Qt configure script can can detect the compiler correctly as
g++. This fixes the following compile error with gcc 4.6:

./wtf/NullPtr.h:48:1: error: identifier 'nullptr' will become a keyword in C++0x [-Werror=c++0x-compat]

(From OE-Core rev: f29bb5b2a99ecef46e5570bf3336e9680c0b6705)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-core-lsb: add lsbtest to RDEPENDS_task-core-misc list
Yi Zhao [Fri, 24 Feb 2012 06:53:56 +0000 (14:53 +0800)]
task-core-lsb: add lsbtest to RDEPENDS_task-core-misc list

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking_fields: add information for lsbtest
Yi Zhao [Fri, 24 Feb 2012 06:53:13 +0000 (14:53 +0800)]
distro_tracking_fields: add information for lsbtest

Add information for recipe lsbtest.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbtest: Add recipe for LSB tests and automate test
Yi Zhao [Fri, 24 Feb 2012 06:51:28 +0000 (14:51 +0800)]
lsbtest: Add recipe for LSB tests and automate test

The recipe is used for LSB tests. The script LSB_Test.sh does the following things:
- setup LSB testing environment
- download LSB rpm packages with list file packages_list from remote
- install the packages
- execute LSB testing with profile file session
- collect the results

Install packages_list and session files into ${D}/opt/lsb-test.

[YOCTO #1567]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/prserv-tool: Adepted to new bitbake cache.
Lianhao Lu [Tue, 28 Feb 2012 03:42:55 +0000 (11:42 +0800)]
scripts/prserv-tool: Adepted to new bitbake cache.

Adepted to the new bitbake cache mechanism which is based on file
content but not on file timp stamps any more.

(From OE-Core rev: c1705317f9456f761da2094e886a07939291e53a)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: fix setscene task start/failure handling
Paul Eggleton [Mon, 27 Feb 2012 18:54:11 +0000 (18:54 +0000)]
bitbake: fix setscene task start/failure handling

* When a setscene task starts, print out that it's starting in the UI
  (ensuring we get the correct task name)
* When a setscene task fails, ensure we remove it from the list of
  running tasks so that if you break out any time afterwards it
  is not still listed.

(Bitbake rev: e8a3499c95a6d4f2b8fed002fb9504733c5be3c6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: make dry-run do everything except execute
Paul Eggleton [Mon, 27 Feb 2012 18:54:12 +0000 (18:54 +0000)]
bitbake/runqueue: make dry-run do everything except execute

Make dry-run do everything except executing the task, instead of
cutting it off earlier. This fully tests the code path for running the
child task (parsing and fakeroot), as well as enabling future
functionality such as using dry-run to produce signature files.

(Bitbake rev: bf1d7739618dabf3872a868230c0112b9ad2a2c0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Added BBINCLUDED variable.
Lianhao Lu [Tue, 28 Feb 2012 03:22:40 +0000 (11:22 +0800)]
bitbake: Added BBINCLUDED variable.

Added new variable BBINCLUDED indicating the file dependency
information. It exposes the internal variable '__base_depends' and
'__depends'.

(Bitbake rev: af524a656fce32d01687481b86c31bef00eb9fc3)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Create a new filter variable BB_HASHCONFIG_WHITELIST
Dongxiao Xu [Mon, 27 Feb 2012 14:38:27 +0000 (22:38 +0800)]
bitbake.conf: Create a new filter variable BB_HASHCONFIG_WHITELIST

Create a new filter variable BB_HASHCONFIG_WHITELIST to filter
variables for calculating cache's hash value.

(From OE-Core rev: 8d4db8e6dcd2d25637cb77515fe776552f2fdd6d)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodata_smart.py: Uses BB_HASHCONFIG_WHITELIST to filter unnecessary variables
Dongxiao Xu [Mon, 27 Feb 2012 14:37:32 +0000 (22:37 +0800)]
data_smart.py: Uses BB_HASHCONFIG_WHITELIST to filter unnecessary variables

Adopt the BB_HASHCONFIG_WHITELIST as a exclusion list for variables that are
not needed in cache hash calculation.

(Bitbake rev: ae8cf138b5eb8f1f28a7143b8d67ad06cbe43061)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
CC: Christopher Larson <kergoth@gmail.com>
CC: Martin Jansa <martin.jansa@gmail.com>
CC: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: Disable fam, we don't depend on it
Richard Purdie [Mon, 27 Feb 2012 12:16:31 +0000 (12:16 +0000)]
glib-2.0: Disable fam, we don't depend on it

Various people are reporting glib-2.0 failures from a dependency on
libfam creeping in uninvited. This patch explicitly disables it to
favour a deterministic build.

(From OE-Core rev: e1d5a81bf78786dcb11a4840436f46ba9ec4010e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoarch-armv7.inc: fix quoting
Martin Jansa [Sun, 26 Feb 2012 22:53:13 +0000 (23:53 +0100)]
arch-armv7.inc: fix quoting

(From OE-Core rev: 6e1065a4988489baa762f7dc1535fe326e0ba7b5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoMore quoting fixes
Martin Jansa [Sun, 26 Feb 2012 21:53:02 +0000 (22:53 +0100)]
More quoting fixes

* We have various variables which are either not quoted at all or are half
  quoted. This patch fixes the bad exmaples so everything is consistent.

(From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoQuoting fixes
Richard Purdie [Sun, 26 Feb 2012 12:45:47 +0000 (12:45 +0000)]
Quoting fixes

We have various variables which are either not quoted at all or are half
quoted. This patch fixes the bad exmaples so everything is consistent.

(From OE-Core rev: 30253358f5e76fb7b25be27198b4c125e0dbdf2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopulseaudio: Really disable orc support
Eric Bénard [Mon, 20 Feb 2012 07:57:33 +0000 (08:57 +0100)]
pulseaudio: Really disable orc support

If orc is detected the compilation fails with missing headers which
should have been generated by orc (using meta-angstrom + meta-openembedded
and and armv7 target)

[RP: add RP bump, fix typos]
(From OE-Core rev: 8f72d9e4ecf495646af3c5cebe7f08ca01bbbb99)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognupg: Update checksum, fix configure and compliation issues
Saul Wold [Fri, 24 Feb 2012 18:59:20 +0000 (10:59 -0800)]
gnupg: Update checksum, fix configure and compliation issues

This recipe was added, but did not have the correct
checksum information for the LIC_FILES_CHKSUM or the
SRC_URI.  Also disable Documetnation for now due to
older autotools issue.

[YOCTO #1966]

(From OE-Core rev: e8c02ead5ce130492eb11457f58cc4d28a330132)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: Package unpackaged files in -misc
Saul Wold [Fri, 24 Feb 2012 18:59:21 +0000 (10:59 -0800)]
syslinux: Package unpackaged files in -misc

(From OE-Core rev: 868a81e869a6193aada2073ae533d937a1c0baf4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: omit compilation of pyc files on install
Andreas Oberritter [Sat, 25 Feb 2012 01:19:10 +0000 (02:19 +0100)]
automake: omit compilation of pyc files on install

* On install, automake calls py-compile, which previously
  compiled python source code to pyc and pyo, which both
  got packaged.
* The python interpreter in OE contains patches to enable
  optimization (pyo) by default:
    04-default-is-optimized.patch
    99-ignore-optimization-flag.patch
* automake created pyc files by calling py_compile.compile()
  and adding the c suffix manually, resulting in identical
  byte code for both pyc and pyo files.
* py-compile-compile-only-optimized-byte-code.patch
  applies to automake 1.11 and automake master, but older
  versions require a slightly modified patch. However,
  older versions are only pinned by chinook-compat and
  nylon, so I left them untouched.

(From OE-Core rev: 40ccf816c597e7eed5243fb4b4e9473d2b58afaa)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The patch was imported from the OpenEmbedded git server
(git://git.openembedded.org/openembedded) as of commit id
aa4585c5065e05c759f16e1e8623fc7f40640f1b.

Modified to apply to automake version 1.11.2 and to
include a patch header. Also renamed the patch.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)
Andreas Oberritter [Fri, 24 Feb 2012 18:40:31 +0000 (19:40 +0100)]
xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)

* Improve error message as suggested by Koen.
  (This got lost when v1 was committed instead of v2)

(From OE-Core rev: 384912b4719a77b2e5f6673066e75258df130f5d)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-native: set headerdir as done in regular builds
Otavio Salvador [Fri, 24 Feb 2012 20:50:53 +0000 (20:50 +0000)]
qt4-native: set headerdir as done in regular builds

qmake uses a generated qt.conf file that expects headers to be found
at ${includedir}/qt4 but qt4-native were not following this layout
breaking the builds of native binaries that use qt4.

(From OE-Core rev: 7828bf71babd965b263249f4a24ecfe58e97cc0b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoV5 Disk space monitoring
Robert Yang [Sun, 26 Feb 2012 08:48:15 +0000 (16:48 +0800)]
V5 Disk space monitoring

Monitor disk availability and take action when the free disk space or
amount of free inode is running low, it is enabled when BB_DISKMON_DIRS
is set.

* Variable meanings(from meta-yocto/conf/local.conf.sample):

  # Set the directories to monitor for disk usage, if more than one
  # directories are mounted in the same device, then only one directory
  # would be monitored since the monitor is based on the device.
  # The format is:
  # "action,directory,minimum_space,minimum_free_inode"
  #
  # The "action" must be set and should be one of:
  # ABORT: Immediately abort
  # STOPTASKS: The new tasks can't be executed any more, will stop the build
  #           when the running tasks have been done.
  # WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
  #
  # The "directory" must be set, any directory is OK.
  #
  # Either "minimum_space" or "minimum_free_inode" (or both of them)
  # should be set, otherwise the monitor would not be enabled,
  # the unit can be G, M, K or none, but do NOT use GB, MB or KB
  # (B is not needed).
  #BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},1G,100K WARN,${SSTATE_DIR},1G,100K"
  #
  # Set disk space and inode interval (only works when the action is "WARN",
  # the unit can be G, M, or K, but do NOT use the GB, MB or KB
  # (B is not needed), the format is:
  # "disk_space_interval, disk_inode_interval",  the default value is
  # "50M,5K" which means that it would warn when the free space is
  # lower than the minimum space(or inode), and would repeat the action
  # when the disk space reduces 50M (or the amount of inode reduces 5k)
  # again.
  #BB_DISKMON_WARNINTERVAL = "50M,5K"

[YOCTO #1589]
(Bitbake rev: 4d173d441d2beb8e6492b6b1842682f8cf32e6cc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: Ensure finish_now() sets the runqueue state consistently
Richard Purdie [Sat, 25 Feb 2012 16:02:29 +0000 (16:02 +0000)]
bitbake/runqueue: Ensure finish_now() sets the runqueue state consistently

If we call finish_now(True), rq.state is not updated to match. This
makes the behaviour of finish_now(False) and finish_now(True) consistent
so both leave rq.state consistently.

(Bitbake rev: 9079ae0ab74f9232b7e9853b2013b051d4fcf623)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross-canadian: build gdb with python support
Eric BENARD [Sun, 26 Feb 2012 07:49:42 +0000 (08:49 +0100)]
gdb-cross-canadian: build gdb with python support

* python support is needed for providing finer scripting control
in gdb, and for remote controling gdb for example from qtcreator
* gdb/configure tries to autodetect python using python executable
with --includes --ldflags --exec-prefix to get the right flags
As it's difficult to achieve in OE's context, we generate a
script which will return the right values and make gdb's build
system happy. This idea was taken from the following article :
http://www.mentby.com/doug-evans-2/python-enabled-gdb-on-windows-and-relocation.html
* tested using angstrom & armv7 target & qtcreator 201005 & 2.4.0

* MJ: updated paths to python as disscussed here
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html
  now it's easier with cross-canadian staging dir and SDKPATH fixed :)

(From OE-Core rev: 73a90b88541c373aa5b83a939dd3b5f1fe05b9b8)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Cc: fcooper@ti.com
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolayer.conf: add keymaps to SIGGEN_EXCLUDERECIPES_ABISAFE
Martin Jansa [Sun, 26 Feb 2012 07:49:44 +0000 (08:49 +0100)]
layer.conf: add keymaps to SIGGEN_EXCLUDERECIPES_ABISAFE

(From OE-Core rev: 1669ae88553c4124387438b88541de8e7951b4a4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstatesig: add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS option to exclude well defined recipe...
Martin Jansa [Sun, 26 Feb 2012 07:49:43 +0000 (08:49 +0100)]
sstatesig: add SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS option to exclude well defined recipe->dependency

(From OE-Core rev: d73c139fd73ee268d29837db6ccc69c412022d6e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: remove TARGET_ARCH from in SDKPATH
Martin Jansa [Sun, 26 Feb 2012 07:49:41 +0000 (08:49 +0100)]
bitbake.conf: remove TARGET_ARCH from in SDKPATH

* SDKPATH shouldn't depend on TARGET_ARCH as discused here:
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018222.html
* introduce SDK_NAME_PREFIX so that distributions can overwrite only
  this instead of whole SDK_NAME

(From OE-Core rev: 54821d53f75eb31f1eca3809e674680316dcbf69)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: use weak assignment for BB_CONSOLELOG
Martin Jansa [Sun, 26 Feb 2012 07:49:40 +0000 (08:49 +0100)]
bitbake.conf: use weak assignment for BB_CONSOLELOG

* some people prefer subdirectory like ${TMPDIR}/cooker/${DATETIME}.log

(From OE-Core rev: d3a06178202c65ce52ea8ad7af5b72ed5c0881d4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocross-canadian: Set STAGING_DIR_HOST correctly
Richard Purdie [Sat, 25 Feb 2012 15:53:08 +0000 (15:53 +0000)]
cross-canadian: Set STAGING_DIR_HOST correctly

As reported by Martin Jansa, the path to nativesdk sysroot was changing between
nativesdk and cross-canadian recipes. The problem was the incorrect deinfition of
STAGING_DIR_HOST in cross-canadian.bbclass.

Since nothing really uses the cross-canadian output in the sysroot, only the
packages, its not surprising this bug has gone un-noticed.

(From OE-Core rev: 8c6966cb8e353dc28819419ea7e395fb0d5f2536)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib: Drop dbus dependency, it isn't useful
Richard Purdie [Sat, 25 Feb 2012 14:55:51 +0000 (14:55 +0000)]
glib: Drop dbus dependency, it isn't useful

dbus is only needed for some of the glib tests which we don't use. We can
therefore drop the dependency and gain some small parallelism gains.

(From OE-Core rev: 4642ae91cee2978956a61cf15df7ea62e3eb1726)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocrumbs: add back progress implementation for depexp
Joshua Lock [Sat, 25 Feb 2012 05:52:58 +0000 (21:52 -0800)]
crumbs: add back progress implementation for depexp

The commit which introduced the new hob UI also deleted this class
which is used by depexp.

(Bitbake rev: d54dbe54cde8e0086bf1fb4926468e212660db53)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/cooker: terminate when errors found in layer configuration
Paul Eggleton [Fri, 24 Feb 2012 18:36:42 +0000 (18:36 +0000)]
bitbake/cooker: terminate when errors found in layer configuration

If we find an error in the layer configuration (such as an unsatisfied
item in LAYERDEPENDS) then exit by raising an exception at the end of
handleCollections() (without producing a backtrace).

(Bitbake rev: c7486a09310fe63b1aa1b7b0bb9450f306b6093b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: mount and unmount cifs network filesystems
Andreas Oberritter [Fri, 24 Feb 2012 20:27:34 +0000 (21:27 +0100)]
initscripts: mount and unmount cifs network filesystems

* Added cifs to mountnfs.sh and umountnfs.sh.

(From OE-Core rev: c44e51f281101c8933679f679e3d4a75a41bedf7)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolayer.conf: use += for SIGGEN_EXCLUDERECIPES_ABISAFE and split to multiple lines
Martin Jansa [Fri, 24 Feb 2012 20:45:16 +0000 (21:45 +0100)]
layer.conf: use += for SIGGEN_EXCLUDERECIPES_ABISAFE and split to multiple lines

* += is important, because if oe-core is in BBLAYERS after some other
  layers with SIGGEN_EXCLUDERECIPES_ABISAFE it overwrites their entries

(From OE-Core rev: 3aa1bb01c0fa91bcb7d9a03198d19ac88a1bdecb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages
Otavio Salvador [Fri, 24 Feb 2012 20:50:54 +0000 (20:50 +0000)]
useradd.bbclass: override USERADDSETSCENEDEPS to empty when building cross packages

(From OE-Core rev: 5650eb44ea28c87f2f87ea3c5a557b9f08d58775)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: Symbolic links of generic license
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:39 +0000 (14:17 -0800)]
license.bbclass: Symbolic links of generic license

This is to reduce the size of licenses added to images. With this
commit license.manifest, original license and generic license
adds about .5M to a core-image-minimal image, substantially less
than what is currently occuring when COPY_LIC_MANIFEST and
COPY_LIC_DIRS are set.

(From OE-Core rev: 2c753a714c1ee2b7c6479836f47aeec182ca3670)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: Gather Pkg level licenses
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:38 +0000 (14:17 -0800)]
license.bbclass: Gather Pkg level licenses

We should look for LICENSE at a package level first. If it's
not found, we should use the recipe level LICENSE. This adds a
bit more granularity to license manifests where needed.

(From OE-Core rev: d50dd280f52587b6225bc5db3c9e85f78107f5f5)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoless_444.bb: Adding license email from author
Elizabeth Flanagan [Fri, 24 Feb 2012 22:17:37 +0000 (14:17 -0800)]
less_444.bb: Adding license email from author

This slipped off my plate. Adding the email response from the
author of less which allows us to use a generic BSD instead of
the less license.

(From OE-Core rev: fa7bdf96b8eb8b5078db38249c5c60ec511c35c6)

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_check: fix the fedora URL for rleases as they seem to have moved
Saul Wold [Fri, 24 Feb 2012 23:03:22 +0000 (15:03 -0800)]
distro_check: fix the fedora URL for rleases as they seem to have moved

(From OE-Core rev: eb2d70e02d299ab651aebda49d2006aef16b4ae0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/hob: Launch the new hob
Dongxiao Xu [Thu, 23 Feb 2012 13:49:13 +0000 (21:49 +0800)]
scripts/hob: Launch the new hob

Change the scripts to launch the new Hob.

(From OE-Core rev: 22194a04f224864dd687660e351a3a10da1f06fa)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugin-bluetooth: upgrade to 4.98 and add checksums
Martin Jansa [Fri, 24 Feb 2012 17:06:52 +0000 (18:06 +0100)]
gst-plugin-bluetooth: upgrade to 4.98 and add checksums

(From OE-Core rev: d390a2d6a14b1bec11f6e6ceaa448e15f18e0017)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>