scm/bb/tizen-distro.git
11 years agobusybox: backport sulogin empty root password fix
Jonathan Liu [Wed, 22 May 2013 22:18:21 +0000 (08:18 +1000)]
busybox: backport sulogin empty root password fix

This allows system maintenance login if the root password is empty.

(From OE-Core rev: 28bb8fe5c144e02c28bff54b5b81c8da33b9f58b)

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 agoqemu: Updated from 1.4.0 to 1.4.1
Ionut Radu [Wed, 8 May 2013 14:41:56 +0000 (17:41 +0300)]
qemu: Updated from 1.4.0 to 1.4.1

0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch and 3f08ffb4a4741d147634761dc053ed386243a0de.patch were backported in 1.4.1

(From OE-Core rev: d3fd92010a0b965fe1b7696f7c4e6c02d07f85dc)

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 agosqlite3: update to 3.7.17
Jack Mitchell [Wed, 22 May 2013 12:45:12 +0000 (13:45 +0100)]
sqlite3: update to 3.7.17

build and runtime tested on armv7a

(From OE-Core rev: c1ad532977f789e6a5e0c1782d58a334f31f3d88)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel: Remove unnecessary cd and rm, fix MODULE_TARBALL_SYMLINK_NAME creation
Martin Jansa [Tue, 21 May 2013 22:18:53 +0000 (00:18 +0200)]
kernel: Remove unnecessary cd and rm, fix MODULE_TARBALL_SYMLINK_NAME creation

* DEPLOYDIR is used as target for every other file deployed by do_deploy,
  this was just unnecessary switching CWD to create relative symlink and I
  have no idea why rm -f was used together with ln -sf.

(From OE-Core rev: 8375782a295c6294ea4ab889c309bebf873f3489)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopatch: diable xattr as default
Saul Wold [Tue, 21 May 2013 23:51:25 +0000 (16:51 -0700)]
patch: diable xattr as default

There is a optional dependency on xattr (and thus the attr package),
disable it by default, to ensure it builds correctly.

(From OE-Core rev: a7de32c8ad1405ed31b620fb99dfe0fe80ac23a9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoconnman: upgrade to 1.14
Cristian Iorga [Tue, 21 May 2013 07:16:07 +0000 (10:16 +0300)]
connman: upgrade to 1.14

- switched to archive releases;

(From OE-Core rev: 2aa82039311a8d84a06ec5fba46c99f64e36e697)

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 agoperl-tests: convert to ptest
Jesse Zhang [Tue, 21 May 2013 02:43:04 +0000 (10:43 +0800)]
perl-tests: convert to ptest

On 05/17/2013 05:31 PM, Björn Stenberg wrote:
> Unless there are clear advantages with patching t/TEST that I have overlooked, I suggest using sed in run-ptest instead.

Ok.. Here is the new commit.

Removed the patch and added a call to sed in run-ptest. See attachment
for the test log.

From: Jesse Zhang <sen.zhang@windriver.com>
Date: Tue, 14 May 2013 02:53:30 -0400
Subject: [PATCH 1/1] perl-tests: convert to ptest

Replace PERL_TEST_DIR with PTEST_PATH, and rename "tests" with "ptest"
in various places. Also add a run-ptest script.

[YOCTO #4292]

(From OE-Core rev: 364cad5d8eecfec74a7be8cf93e75cd63031101f)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosudo: set CFLAGS for build mksigname and mksiglist
Kang Kai [Tue, 21 May 2013 09:11:58 +0000 (17:11 +0800)]
sudo: set CFLAGS for build mksigname and mksiglist

mksigname and mksiglist are compiled by BUILD_CC for build host. When
there are some options in CFLAGS that BUILD_CC doesn't support,
compilation fails.

Build for arm on a x86 host, if option "-mapcs-frame" is provided, error
occurs with:

| cc1: error: unrecognized command line option "-mapcs-frame"

Pass BUILD_CFLAGS to CFLAGS to fix that kind of failure.

(From OE-Core rev: 6022e81570b80232f272a1aa474e8ced3a089382)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter-gst: removed no longer required configure fragment
Tomas Frydrych [Tue, 21 May 2013 15:08:43 +0000 (16:08 +0100)]
clutter-gst: removed no longer required configure fragment

The current package no longer use DOLT, so the DOLT configure frament is no
longer required.

(From OE-Core rev: b976a332cf24aad18141eafbbe5cd22cfbb91752)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter: further improvements
Tomas Frydrych [Tue, 21 May 2013 15:08:42 +0000 (16:08 +0100)]
clutter: further improvements

 * Removed unnecessary gtk-doc related depends/configure options (handled in
   gtk-doc class),
 * Moved more configure options into PACKAGECONFIG,
 * Fixed missing comma in PACKAGECONFIG[glx] setup,
 * Removed no longer required DOLT-related config fragment.

(From OE-Core rev: a5d9c80fa35e9fd234f14c61b385d9c17f31132b)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter.bbclass: removed unused function
Tomas Frydrych [Tue, 21 May 2013 15:08:40 +0000 (16:08 +0100)]
clutter.bbclass: removed unused function

Clutter and cogl no longer use --with-fpu configure option, so we no longer
require the get_fpu_settings() function.

(From OE-Core rev: ea59330c48cdb7d7106deea3f19c043ba60c23e4)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl: further improvements
Tomas Frydrych [Tue, 21 May 2013 15:08:41 +0000 (16:08 +0100)]
cogl: further improvements

 * Removed unnecessary gtk-doc related depends/configure options (handled in
   gtk-doc class)
 * Moved more configure options into PACKAGECONFIG
 * Fixed typo in RDEPENDS of PACKAGECONFIG[gl] setup
 * Removed no longer needed DOLT-related configure fragment

(From OE-Core rev: 356e00b198608080495641270f4a1634ddc6ff85)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorunqemu: fix networking issues
Laurentiu Palcu [Tue, 21 May 2013 07:38:40 +0000 (10:38 +0300)]
runqemu: fix networking issues

After switching from ifconfig to ip, networking stopped working. This
commit contains the following fixes:

 * set a decent broadcast address for the tap device;
 * bring up the device;
 * add the route using ip tool instead of the old route tool;

(From OE-Core rev: a286514e2311f52b54d3571dbac6d34aff39e591)

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 agoresolvconf: Update to 1.72
Saul Wold [Tue, 21 May 2013 02:19:43 +0000 (19:19 -0700)]
resolvconf: Update to 1.72

(From OE-Core rev: 6edee60964a1bc367229239175426bdf175efa62)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocmake: Update to 2.8.11
Saul Wold [Tue, 21 May 2013 02:20:39 +0000 (19:20 -0700)]
cmake: Update to 2.8.11

Rebased support-oe-qt4-tools-names as some of the changes where
added in the upstream code.

(From OE-Core rev: 13399264e987b698b120688dc5018adb3fa8522d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomc: Update to 4.8.8
Saul Wold [Tue, 21 May 2013 02:19:22 +0000 (19:19 -0700)]
mc: Update to 4.8.8

(From OE-Core rev: 5779021a7ad251a8359795a6a625e76a6befb3c7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibnl: Update to 3.2.22
Saul Wold [Tue, 21 May 2013 02:19:08 +0000 (19:19 -0700)]
libnl: Update to 3.2.22

(From OE-Core rev: 9376396be8af3dd7603e93127a9f1a0a7ab8ca4a)

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.37
Saul Wold [Tue, 21 May 2013 02:18:49 +0000 (19:18 -0700)]
mklibs: Update to 0.1.37

(From OE-Core rev: 4132b811bff36f79caecb3cfb0b7b0b91c2abfc1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodesktop-file-utils: Update to 0.21
Saul Wold [Mon, 20 May 2013 21:25:01 +0000 (14:25 -0700)]
desktop-file-utils: Update to 0.21

(From OE-Core rev: a728571f14e4ee5f97043d8b38f14b5513d8d43d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognupg: Update to 2.0.20
Saul Wold [Mon, 20 May 2013 21:24:35 +0000 (14:24 -0700)]
gnupg: Update to 2.0.20

Removed obsolete patch

(From OE-Core rev: 2e89010cb4a19d525bc43589d487827dd4bc401d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxserver-xorg: enable xvfb
Riku Voipio [Mon, 20 May 2013 13:02:30 +0000 (16:02 +0300)]
xserver-xorg: enable xvfb

Currently Xvfb has been enabled in openembedded-core. Xvfb is needed
for example in Mauve testsuite.

(From OE-Core rev: 2570d5dcb7bbd50a7b3b8c2345492986be3ed95b)

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoSLiRP support in runqemu
Andrei Dinu [Mon, 20 May 2013 13:16:30 +0000 (16:16 +0300)]
SLiRP support in runqemu

runqemu script now takes argument "slirp" in order to
run networking on the qemu machine, without root privileges.

changed the runqemu-internal script in order not to activate
the tap devices if the option is set.

[YOCTO #1474]

(From OE-Core rev: fa7fd7b1cbcfbd01af1949d2ea09b880a0ae0175)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agokernel.bbclass: Add dependency on binutils
Mike Crowe [Mon, 20 May 2013 12:22:45 +0000 (13:22 +0100)]
kernel.bbclass: Add dependency on binutils

Compiling the Linux kernel requires binutils; kernel.bbclass uses
INHIBIT_DEFAULT_DEPS so it had better depend on binutils explicitly.

(The lack of this dependency isn't always a problem because binutils
is required to build gcc-cross but if gcc-cross is reconstructed from
the sstate cache then gcc-cross's dependency on binutils-cross is
ignored due to being in the safe dependency list in
setscene_depvalid.)

(From OE-Core rev: 37beb7bdab78de5253a894f35afafa34c13a00f5)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Acked-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-networking: update to 2.36.2
Andreas Müller [Sat, 18 May 2013 08:42:53 +0000 (10:42 +0200)]
glib-networking: update to 2.36.2

(From OE-Core rev: 5cf2fa6cb4b18d1a436b361b805822f7ed391d80)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoglib-2.0: update to 2.36.2
Andreas Müller [Sat, 18 May 2013 08:42:52 +0000 (10:42 +0200)]
glib-2.0: update to 2.36.2

This patch was build- (gcc 4.7.2/4.8.0) and run-tested with my standard
xfce-/gnome2-images

(From OE-Core rev: f4f5d41f6cd262379daa8a00699a64f0df6fd9e7)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: add sstate dependencies so that the SVG loader works at staging time
Ross Burton [Fri, 17 May 2013 17:48:55 +0000 (18:48 +0100)]
librsvg: add sstate dependencies so that the SVG loader works at staging time

Add additional dependencies so that when the sysroot is populated the gdk-pixbuf
SVG module can be loaded.

(From OE-Core rev: 2b68b08f47baf2fc2fa896dde0cc66297441b6b3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: small cleanups
Ross Burton [Thu, 16 May 2013 16:57:13 +0000 (17:57 +0100)]
librsvg: small cleanups

Re-order fields to a more logical order.

Remove the unrecognised --disable-mozilla-plugin option.

Remove the unrequired setting of GDK_PIXBUF_QUERYLOADERS, it's found
automatically.

(From OE-Core rev: a209b3858c6f0c45accf2b131b734d44230472ca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: clean up native depends
Ross Burton [Thu, 16 May 2013 16:54:08 +0000 (17:54 +0100)]
librsvg: clean up native depends

inherit gnome was only used for the SRC_URI, so just inherit gnomebase and
remove the native-specific DEPENDS which was only required as the gnome class
pulls in an impossible hicolor-icon-theme-native dependency.

(From OE-Core rev: dc1fbdd925d4dde294c4b63466e67084ce1ace89)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibrsvg: add more PACKAGECONFIG options
Ross Burton [Thu, 16 May 2013 16:52:00 +0000 (17:52 +0100)]
librsvg: add more PACKAGECONFIG options

Add options for the gdk-pixbuf loaders and the GTK+ 2 theme engine.  The theme
engine is generally unused so don't enable that by default, but enable the
gdk-pixbuf loader and also enable the croco feature which is required for
parsing CSS embedded into SVG.

(From OE-Core rev: 228d15b40500ecfb182078171e33ffa28373024f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogdk-pixbuf: remove native loader cache generation, use the class
Ross Burton [Fri, 17 May 2013 08:54:39 +0000 (09:54 +0100)]
gdk-pixbuf: remove native loader cache generation, use the class

We assumed that the only relevant gdk-pixbuf loaders in the native environment
were the ones in gdk-pixbuf itself, as the icon cache is only for PNG files.
However, glib-compile-resources can transform SVG files to raw image data, and
done natively this requires the SVG loader to be registered.  The current
implementation relies on this assumption by generating the cache based on the
staging directory during install, so if gdk-pixbuf-native is re-installed to the
sysroot after librsvg-native it will overwrite the loader cache.

So, remove the code in do_install that updated the cache, and rely on the new
logic in pixbufcache.bbclass that updates the cache when it's installed into the
sysroot itself.

(From OE-Core rev: 3a7625c23b3fbd163dcd4036767b194438ec238d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopixbufcache: update the loader cache when installing natively
Ross Burton [Fri, 17 May 2013 08:52:04 +0000 (09:52 +0100)]
pixbufcache: update the loader cache when installing natively

Register a sstate postinst function so that when installing a native package,
the gdk-pixbuf loader cache is updated.

(From OE-Core rev: 7cbde5d8f2b88ec4e79cb0d564ee0f3c9baa7c2d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Update to 2.23
Jonathan Liu [Sat, 18 May 2013 02:34:40 +0000 (12:34 +1000)]
util-linux: Update to 2.23

Remove license patch as it is integrated upstream.
Add backports of upstream loopdev regression fixes.
Updated uclibc-__progname-conflict.patch because it didn't apply.
Added bash-completion and partx sub-packages.

(From OE-Core rev: 54629315502247c5751c351b5792838f86dd1ea8)

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: cooker/cookerdata: Fix up event handling for hob
Richard Purdie [Fri, 24 May 2013 12:54:59 +0000 (12:54 +0000)]
bitbake: cooker/cookerdata: Fix up event handling for hob

The init function call was clobbering data hob relies on injecting, fix
this so the data injected by hob isn't overwritten.

(Bitbake rev: 64ca1aa1fd5f0473196b6cd805637fa644a92173)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: build: Avoid empty promises
Richard Purdie [Fri, 24 May 2013 10:28:38 +0000 (11:28 +0100)]
bitbake: build: Avoid empty promises

The "see xxx for further information" is misleading since it is just
the same information. Clarify just to mention the that this is the location
of the logfile without any empty promise.

[YOCTO #4343]

(Bitbake rev: 7088c0e8553dd3c408b5bc06f8c34d5b72e9ea9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: fix show-appends and flatten for recent cooker changes
Paul Eggleton [Fri, 24 May 2013 10:12:50 +0000 (11:12 +0100)]
bitbake: bitbake-layers: fix show-appends and flatten for recent cooker changes

Fixes the show-appends and flatten subcommands for recent refactoring in
cooker.

[YOCTO #4536]
[YOCTO #4535]

(Bitbake rev: 54817d0de667941ee68fe3490684159e2d90e9c5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker/cookerdata: Improve configuration object handling
Richard Purdie [Fri, 24 May 2013 09:27:25 +0000 (09:27 +0000)]
bitbake: cooker/cookerdata: Improve configuration object handling

Originally it seemed like a good idea to keep the parameters around. Having
seen this in real life use, its incorrect, we should pull all the data we need
into the cooker's configuguration and then use this to build the datastore.

Being able to just build the datastore from the parameters seemed like a good
idea but having a dummy cooker configuration object is now looking like
the better option.

This also fixes failures in hob since the parseFiles command can call
into cooker directly now and reset the configuration prefiles and postfiles
at will, rather than the indirect calls before which were breaking the datastore
(e.g. BBPATH wasn't set).

The cleanup this allows in tinfoil illustrates how this change makes more sense.

(Bitbake rev: f50df5b891bf318f12fc61c74adfcc626cc6f836)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Fix missing assignment
Richard Purdie [Thu, 23 May 2013 10:51:04 +0000 (11:51 +0100)]
bitbake: fetch2: Fix missing assignment

The assignment to True was missing from the code, well spotted Saul!

(Bitbake rev: e493fe8cb4953935f01361ffc0240e5818ebb283)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker/cookerdata/event: Improve class handlers management
Richard Purdie [Thu, 23 May 2013 09:50:30 +0000 (10:50 +0100)]
bitbake: cooker/cookerdata/event: Improve class handlers management

Similarly to the execution context changes, establish better lifetime
management API of the class event handlers.

(Bitbake rev: 54e35a6cceead9521f8b1dacd48e55064e85c8bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker/cookerdata/utils: Improve context management
Richard Purdie [Thu, 23 May 2013 09:49:57 +0000 (10:49 +0100)]
bitbake: cooker/cookerdata/utils: Improve context management

The current execution context management for bitbake is ugly and the
use of a global variable is nasty. Fixing that is hard, however we
can improve things to start to establish an API for accessing
and changing that context.

This patch also adds in an explicit reset of the context when we reparse
the configuration data which starts to improve the lifecycle of the data
in setups like hob.

(Bitbake rev: 6c3281a140125337fc75783973485e16785d05a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: event: Drop Handled/NotHandled status return values
Richard Purdie [Thu, 23 May 2013 09:49:06 +0000 (10:49 +0100)]
bitbake: event: Drop Handled/NotHandled status return values

These have long since been deprecated, lets remove them.

(Bitbake rev: 3dc83bbb1bf387bb7ecea2e17f0f72cfccecba92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker.py: Remove global scope class event handlers
Richard Purdie [Thu, 23 May 2013 09:48:26 +0000 (10:48 +0100)]
bitbake: cooker.py: Remove global scope class event handlers

Its confusing when an event handler in for example a bbclass receives
events for a recipe which doesn't use the class. This is due to the
class event handlers having confusing scope. Worse, the issue is not
deterministic and the events a handler will see depends on the parse
order.

To avoid these issues, remove the class event handler global scope
and only have class handlers recieve events for recipes using the
class.

(Bitbake rev: 7fb95f3d133e440d463d2faa7151c731f8e1ae96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: methodpool: Retire it, remove global method scope
Richard Purdie [Thu, 23 May 2013 09:47:10 +0000 (10:47 +0100)]
bitbake: methodpool: Retire it, remove global method scope

Having a global method scope confuses users and with the introduction
of parallel parsing, its not even possible to correctly detect conflicting
functions. Rather than try and fix that, its simpler to retire the global
method scope and restrict functions to those locations they're defined
within. This is more what users actually expect too.

If we remove the global function scope, the need for methodpool is reduced
to the point we may as well retire it. There is some small loss of caching
of parsed functions but timing measurements so the impact to be neglibile
in the overall parsing time.

(Bitbake rev: 4d50690489ee8dc329a9b0c7bc4ceb29b71e95e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: methodpool: Conflicting methodnames should be a fatal error
Richard Purdie [Thu, 23 May 2013 09:47:45 +0000 (10:47 +0100)]
bitbake: methodpool: Conflicting methodnames should be a fatal error

When this error occurs, the build should stop, not continue uninterrupted.

[YOCTO #4460]

(Bitbake rev: acd6d7ffa8813b3b11cad9145e8e614a695ae04a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Drop dubious print
Richard Purdie [Fri, 24 May 2013 09:27:39 +0000 (09:27 +0000)]
sanity.bbclass: Drop dubious print

(From OE-Core rev: be4cd4614a2a702130d18e9d082fd83a15faa013)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobuildhistory: Sync with bitbake changes
Richard Purdie [Thu, 23 May 2013 10:40:40 +0000 (10:40 +0000)]
buildhistory: Sync with bitbake changes

Adjust to the recent changes in the git fetcher. This code should work
with current and previous versions of bitbake and can be cleaned up when
we move to new bitbake versions.

(From OE-Core rev: 835b64d4e9ed7b627b56a75d529f1a403c5db1a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm-postinsts.bb: enable postinst logging
Chen Qi [Thu, 23 May 2013 04:43:36 +0000 (12:43 +0800)]
rpm-postinsts.bb: enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuild
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 6f2aa32f10c24c84e581128bb3a976ef071197ac)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: modify the run-postinst script to enable postinst logging
Chen Qi [Thu, 23 May 2013 04:43:35 +0000 (12:43 +0800)]
opkg: modify the run-postinst script to enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 35be6ffc19a5156aa029397707f1e6869684b821)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg: modify the run-postinst script to enable postinst logging
Chen Qi [Thu, 23 May 2013 04:43:34 +0000 (12:43 +0800)]
dpkg: modify the run-postinst script to enable postinst logging

Enable postinst logging by checking the configuration in ${sysconfdir}
/default/postinst.

In this way, the postinst logging is enabled if 'debug-tweaks' is
in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt
if IMAGE_FEATURES is changed.

[YOCTO #4262]

(From OE-Core rev: 881880992ac0edc5f928f7e3d2a8f3f993284df6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: add postinst_enable_logging
Chen Qi [Thu, 23 May 2013 04:43:33 +0000 (12:43 +0800)]
image.bbclass: add postinst_enable_logging

Add a function postinst_enable_logging, so that when 'debug-tweaks'
is in IMAGE_FEATURES, we create ${sysconfdir}/default/postinst config
file, which is sourced by run-postinst scripts to determine whether
to log or not, and where to log.

[YOCTO #4262]

(From OE-Core rev: 99175cabc3936733dd92fac5ebc6f865b864fe92)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/bitbake: Handle the case where git isn't installed cleanly
Richard Purdie [Tue, 21 May 2013 09:05:48 +0000 (10:05 +0100)]
scripts/bitbake: Handle the case where git isn't installed cleanly

Currently the user sees ugly errors if git isn't installed, this patch
cleans up the code to correctly handle that case.

(From OE-Core rev: aeb704fee8b4ffeaeddcdb36ae4e1d62c264ce42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotask.bbclass: Drop deprecated class
Richard Purdie [Tue, 21 May 2013 07:36:42 +0000 (08:36 +0100)]
task.bbclass: Drop deprecated class

Any users have had time to adapt to this change by now, drop the old class.

(From OE-Core rev: 9b64b68c93c71c503ef26fa440b974b82438dc88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoupdate-alternatives: Drop deprecated code, update to show error message
Richard Purdie [Tue, 21 May 2013 07:35:31 +0000 (08:35 +0100)]
update-alternatives: Drop deprecated code, update to show error message

This code has been deprecated for a while and confuses the class, lets drop it
and just give the user hard error messages instead of the current warnings/fixups.

(From OE-Core rev: 72579e1fe49e8bc66c9f5850a2c679ce8941c85d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: Table sorting criteria should not change after deselecting recipes...
Cristiana Voicu [Wed, 22 May 2013 09:52:35 +0000 (12:52 +0300)]
bitbake: hob: Table sorting criteria should not change after deselecting recipes/packages

After a recipe/package is deselected, the table is sorted as before the
fadeout animation.

[YOCTO #4453]
(Bitbake rev: d4968eac539f777367ab1243a1049117cb261176)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: apply a fade out animation when deselecting from tables
Cristiana Voicu [Wed, 22 May 2013 09:52:34 +0000 (12:52 +0300)]
bitbake: hob: apply a fade out animation when deselecting from tables

-applied a fade out mechanism for deselctiong on all the tabs of
recipes and packages list page
-set cursor on the package/recipe when it is included(important
when the its place is changing; like when the tree si order by
included tab)

[YOCTO #4342]
(Bitbake rev: 8bd0e0681a6a39c00accbfc0041ab248993f3877)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cookerdata: rename _parse to parse_config_file
Paul Eggleton [Wed, 22 May 2013 14:25:13 +0000 (15:25 +0100)]
bitbake: cookerdata: rename _parse to parse_config_file

We use this externally in the OE layer index update script, so it
shouldn't really be named as an internal function.

(Bitbake rev: 89332a7874e94c8d91ea24200f9739abb1a50397)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: tinfoil: fix for changes to cooker config structure
Paul Eggleton [Wed, 22 May 2013 14:25:12 +0000 (15:25 +0100)]
bitbake: tinfoil: fix for changes to cooker config structure

Fix the code here for recent changes to the initialisation of
configuration objects for cooker.

(Bitbake rev: 9d3ca9aa73a448b0594f03ac8e8317403ec0dc8d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: fix for move of calc_bbfile_priority within cooker
Paul Eggleton [Wed, 22 May 2013 14:25:11 +0000 (15:25 +0100)]
bitbake: bitbake-layers: fix for move of calc_bbfile_priority within cooker

calc_bbfile_priority is now in CookerCollectFiles which can be accessed
on the collection attribute of a cooker instance.

Fixes [YOCTO #4513].

(Bitbake rev: 5d941631ad7198737d9a5c5a920a9062fa0431f8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: command: Fix function module reference after code rearrangement
Richard Purdie [Wed, 22 May 2013 14:55:14 +0000 (14:55 +0000)]
bitbake: command: Fix function module reference after code rearrangement

(Bitbake rev: ff9f62fd5f76892ad41a5329b75472501e17e712)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: runqueue.py: Ensure export flag is set for fakeroot environment variables
Richard Purdie [Mon, 18 Feb 2013 13:18:31 +0000 (13:18 +0000)]
bitbake: runqueue.py: Ensure export flag is set for fakeroot environment variables

This means the variables show up in the shell execution "run" files since
its useful to know what the fakeroot environment is and how to set it up
manually.

(Bitbake rev: bdf437747b664479acde6deaa9096e2a6bcdf483)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake/cookerdata: Explicitly specify cooker configuration options
Richard Purdie [Mon, 20 May 2013 22:01:48 +0000 (23:01 +0100)]
bitbake: bitbake/cookerdata: Explicitly specify cooker configuration options

As the code stands today its hard to know which configuration variables
are used by which parts of the system. Some are used by the UIs, some
by bin/bitbake itself, some by cooker.

This patch changes the configuration to just contain the variables cooker
uses, and changes bin/bitbake to access the variables it needs directly
which hopefully lets us start to untangle this mess.

(Bitbake rev: e57497a24b6157c92519a34accd66035a39ad1f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Split configuration parsing code into cookerdata
Richard Purdie [Mon, 20 May 2013 22:00:31 +0000 (23:00 +0100)]
bitbake: cooker: Split configuration parsing code into cookerdata

In order to have a memory resident bitbake and to allow task execution, we need
to be able to rebuild the base configuration without a cooker. This moves the
code into its own class so it can be built independently.

The interface is less than ideal here but I didn't want to add parsing methods
a subclassed DataSmart, at least until we've experimented further with this code
and are certain that makes sense. At the very least, the methods are ugly and need
cleaning up.  Spliting the code out seems to be the right thing to do though and
should unblock various activities on BitBake so I believe this code is a step in
the right direction.

Based on a patch from Alexandru Damian <alexandru.damian@intel.com>

(Bitbake rev: 22a0b3cf73d2689db0c118b37aa7492632f8b0a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cooker: Move commandline parsing back into the UI/cookerdata
Richard Purdie [Mon, 20 May 2013 21:54:41 +0000 (22:54 +0100)]
bitbake: cooker: Move commandline parsing back into the UI/cookerdata

Building up a set of actions for the server is tricky since we depend upon the
commandline but fall back to values from the datastore. We should be able to build
a datastore without a commandline and vice versa. Ultimately the UI should send
the commands to the server.

This patch amounts to code rearranging, moving the heavy lifting to the UI, though
a helper in the configuration option. This will need further cleanup/tweaking but
this should be the only update needed to the UIs. The code now queries the server
for any missing data should it need to.

This code allows various knowledge of configuration variables to move to the UI side
only, partcularly pkgs_to_build but also all the command specifiers. It should also
be possible to move cmd eventually, I'm just unsure if any callers call the commands
expecting this to default to something sane right now.

(Bitbake rev: 2dbbb1d51dafd4451fef8fe16f095bcd4b8f1177)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: Create cookerdata splitting config from cooker and bin/bitbake
Richard Purdie [Mon, 20 May 2013 21:54:30 +0000 (22:54 +0100)]
bitbake: bitbake: Create cookerdata splitting config from cooker and bin/bitbake

Currently the UI and server configuration is one big incestuous mess. To
start to untangle this we creater cookerdata, a new module which contains
various confiuration modules and the code for building the base datastore.

To start with we add a ConfigParameters() class which contains information
about both the commandline configuration and the original environment.

The CookerConfiguration class is created to contain the cooker.configuration
options. This means we can transfer new paramters to the server over something
like XMLRPC and then build a new configuration from these on the server.

Based on a patch from Alexandru Damian <alexandru.damian@intel.com>

(Bitbake rev: 35bd5997e8d8e74bc36019030cc10c560a8134f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bin/bitbake: Improve exception handling
Richard Purdie [Mon, 20 May 2013 22:00:10 +0000 (23:00 +0100)]
bitbake: bin/bitbake: Improve exception handling

Due to the internal event processing, this excepting handler usually raises an
Empty error, masking the underlying failure. Ensure the original exception is
raised.

(Bitbake rev: 7d548568a55adfe84a976f2a549995e42da1afef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2: Shorten long srcrevs
Richard Purdie [Sun, 19 May 2013 10:21:55 +0000 (13:21 +0300)]
bitbake: fetch2: Shorten long srcrevs

The long srcrevs are mainly used or the workdir construction as well as
the package version. The long entries are hashes generated by the git fetcher
and other scms using a similar revision mechanism.

We need these to change when the package changes however collisions are
unlikely to happen within the domains we care about. The long revisions
have generated negative user feedback due to the use in path and file
names.

This patch therefore truncates the revisions to 10 characters maximum.

This should be safe in the contexts where these revisions are used as
the chances of spatially close collisions is very low (distant
collisions are not a major issue in the way we use these).

(Bitbake rev: 43a8319cda7fae37862dae323eeb24cb39ca21b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2/git: Clean up sortable_revision
Richard Purdie [Sun, 19 May 2013 10:17:58 +0000 (13:17 +0300)]
bitbake: fetch2/git: Clean up sortable_revision

Now we no longer try and provide increasing values from the fetcher,
we can simplify the function structure for the sortable_revision
pieces and move the AUTOINC handling directly into the function
which needs it, simplifying the code.

(Bitbake rev: fb068bee47bb1a06f02447daf16c2b2a79c03288)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: data: Ensure dependencies of subfunctions are accounted for
Richard Purdie [Sun, 19 May 2013 10:16:54 +0000 (13:16 +0300)]
bitbake: data: Ensure dependencies of subfunctions are accounted for

Currently we account of the top level function's vardeps but not
those of any subfunction. This would imply we'd have to manually
write the dependencies of all parent functions which would be crazy.

This patch adds the dependencies to fix the issue.

(Bitbake rev: 658008cc6a8acd5c1f26877c9444c96002db01e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-clutter: use clutter-1.0 packages
Tomas Frydrych [Mon, 20 May 2013 15:05:25 +0000 (16:05 +0100)]
packagegroup-core-clutter: use clutter-1.0 packages

(From OE-Core rev: f45aa6e07318f22ede4614b28ea15cd48f5e4095)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomx: Update to improved naming scheme
Tomas Frydrych [Mon, 20 May 2013 15:05:24 +0000 (16:05 +0100)]
mx: Update to improved naming scheme

The package has been renamed to mx-1.0, keeping up with the upstream versioning
policy. The 1.14.7 tag does not build with clutter 1.14, so git revision
9b1db6b8060bd00b121a692f942404a24ae2960f from the 1.14 branch is used instead.

(From OE-Core rev: e49f3e23d7ae7d105d9c32a33bd28590f5c300cd)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter-gtk: Replace with 1.4.2 version
Tomas Frydrych [Mon, 20 May 2013 15:05:23 +0000 (16:05 +0100)]
clutter-gtk: Replace with 1.4.2 version

(From OE-Core rev: 095581d3b888ba702ba0b1b7e9e3ef8fe69dc164)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter-gst: Replace with 1.6.0 version
Tomas Frydrych [Mon, 20 May 2013 15:05:22 +0000 (16:05 +0100)]
clutter-gst: Replace with 1.6.0 version

(From OE-Core rev: 4476e789ac41f44ad74385d85a16e505d96bc100)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter: Replace with 1.14.4 version
Tomas Frydrych [Mon, 20 May 2013 15:05:21 +0000 (16:05 +0100)]
clutter: Replace with 1.14.4 version

The package has been renamed to clutter-1.0 instead of clutter-vmajor.vminor,
keeping up with the upstream versioning policy (all 1.x packages install
clutter-1.0 pc file and headers and are backward compatible), and to simplify
dependency management (worth noting that since the 1.x development files are
not parall installable, it is not possible to use two versions of clutter 1.x
at the same time anyway).

Package configuration is provided via PACKAGECONFIG options as follows:

  'x11'  : enable X11 backend,
  'glx'  : enable GLX backend,
  'egl'  : enable EGL backend,
  'evdev': enable evdev input backend

Default configuration is 'glx'; typical configuration for embedded HW using
'native' EGL would be 'egl evdev'.

(From OE-Core rev: 4fbae4449fbb3f5eba499418b374c12bccfb4243)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocogl: Replace with 1.14.0 version
Tomas Frydrych [Mon, 20 May 2013 15:05:20 +0000 (16:05 +0100)]
cogl: Replace with 1.14.0 version

The package has been renamed to cogl-1.0 instead of cogl-vmajor.vminor, keeping
up with the upstream versioning policy (e.g., all 1.x packages install cogl-1.0
pc file and headers and are backward compatible), and to simplify dependency
management (worth noting that since the 1.x development files are not parallel
installable, it is not possible to use two versions of cogl 1.x at the same
time anyway).

Package configuration is provided via PACKAGECONFIG options as follows:

GL flavour:   'gl' for big GL or 'gles2' for GLES2
              (GLES1 is availabe in cogl, but not supporeted here at present.)

EGL platform: 'egl-null' -- PVR-style null platform
              'egl-kms'  -- kms platform provide by Mesa
              'egl-x11'  -- egl over xlib platform
              (Additional EGL platforms, e.g., Wayland are supported by cogl,
              but not supported here at present.)

GLX:          'glx' for the GLX extension support (implies 'gl')

Default configuration is 'glx'; typical configuration providing 'native' egl
on embedded HW would be 'gles2 egl-null'.

(From OE-Core rev: b508fdd2b19ca30da8d09caf646897dc4cf195c8)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclutter.bbclass: helper class for clutter and friends
Tomas Frydrych [Fri, 17 May 2013 11:25:37 +0000 (12:25 +0100)]
clutter.bbclass: helper class for clutter and friends

(From OE-Core rev: 19b7e58b71d31071361f19fd82666d40653569c4)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozlib: put shared libraries in base_libdir
Joe Slater [Thu, 16 May 2013 17:11:33 +0000 (17:11 +0000)]
zlib: put shared libraries in base_libdir

We put the shared libraries in base_libdir because at least
one library under base_libdir, pam_cracklib.so, needs them
and will cause a qa warning when it is built.

(From OE-Core rev: ebb8382af892bef8e11fb590292506e1124276c5)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocdrtools-native : upgrade to 3.00
Andrei Dinu [Fri, 17 May 2013 10:37:25 +0000 (10:37 +0000)]
cdrtools-native : upgrade to 3.00

Upgrade from 2.01 -> 3.00

- Updated md5 of the license file because new information
was added by the owner.
- Removed glibc-conflict-rename.patch because it is not
required anymore.
- Updated no_usr_src.patch because it didn't apply.

(From OE-Core rev: 951a8e422be93a3d06d0149f9b070eddcdb37afb)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobind: use /var/run/named instead of /var/run/bind/run
Chen Qi [Thu, 16 May 2013 02:36:25 +0000 (02:36 +0000)]
bind: use /var/run/named instead of /var/run/bind/run

Change /var/run/bind/run to /var/run/named to avoid the following error message.

  chmod: cannot access '/var/run/bind/run': No such file or directory

[YOCTO #4429]

(From OE-Core rev: a32c05f691ef5620516b2f84452fb5129e16bb14)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopkg: remove unnecessary extra leading slash in run-postinsts
Jonathan Liu [Thu, 16 May 2013 02:37:33 +0000 (02:37 +0000)]
opkg: remove unnecessary extra leading slash in run-postinsts

(From OE-Core rev: 047826f034f00c2402c0a078b5c918019fcf36a4)

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 agonfs-utils : upgrade to 1.2.8
Andrei Dinu [Wed, 15 May 2013 12:32:12 +0000 (12:32 +0000)]
nfs-utils : upgrade to 1.2.8

upgrade from 1.2.7 -> 1.2.8

Removed patches that are already in the upstream.

Added a make clean routine needed because the package comes with
precompiled 64-bit objects that break the build.

(From OE-Core rev: f505e913eae5e91d494234ee38a38ac961583b12)

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt: fix warning -Wunused-local-typedefs introduced by gcc 4.8
Andreas Müller [Thu, 16 May 2013 23:28:42 +0000 (23:28 +0000)]
qt: fix warning -Wunused-local-typedefs introduced by gcc 4.8

in meta-oe maliit-framework failed with

| In file included from /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt4/QtCore/QtCore:53:0,
|                  from ../utils/core-utils.cpp:18:
| /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt4/QtCore/qtconcurrentfilter.h: In function 'QtConcurrent::ThreadEngineStarter<void> QtConcurrent::filterInternal(Sequence&, KeepFunctor, Redu
| /home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/include/qt4/QtCore/qtconcurrentfilter.h:108:47: error: typedef 'Iterator' locally defined but not used [-Werror=unused-local-typedefs]
|      typedef typename Sequence::const_iterator Iterator;
|                                                ^
| cc1plus: all warnings being treated as errors

(From OE-Core rev: 4cb93a42bae3dfa53880a9475a92cc046dde5767)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage_types.bbclass: remove the old images
Robert Yang [Tue, 7 May 2013 06:09:31 +0000 (06:09 +0000)]
image_types.bbclass: remove the old images

Remove the old image before the new one generated to save disk
space when RM_OLD_IMAGE is set to 1, this is an easy way to keep
the DEPLOY_DIR_IMAGE clean.

[YOCTO #4391]

(From OE-Core rev: b3e2e405c53d63bc71872d41f455507be833e7eb)

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 agobitbake: test/fetch: Allow the conditional network tests to work under python 2.6
Richard Purdie [Fri, 17 May 2013 09:41:04 +0000 (12:41 +0300)]
bitbake: test/fetch: Allow the conditional network tests to work under python 2.6

The skipIf decorator is unavailable under python 2.6 and finding a syntax
works there is hard. This patch does allow network tests under 2.6.

(Bitbake rev: 565b3e31e0226c6e193ee0b031bd5e7bef25591e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: test/fetch: Split the network tests from the rest of the fetcher tests
Richard Purdie [Fri, 17 May 2013 08:46:47 +0000 (11:46 +0300)]
bitbake: test/fetch: Split the network tests from the rest of the fetcher tests

(Bitbake rev: f32265bcc6b4fe5566aca16f6b05555ec6a96d01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: fetch2/utils: Clean up imports
Richard Purdie [Fri, 17 May 2013 08:40:01 +0000 (11:40 +0300)]
bitbake: fetch2/utils: Clean up imports

Move various random imports to the start of the modules as cleanup
and avoid an import issue with bb.process on python 2.6.

(Bitbake rev: aed4adfbe3a591ca4f8e41fb763c9f961bf2e6d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: tests/fetch: Allow to work on python 2.6
Richard Purdie [Fri, 17 May 2013 08:38:57 +0000 (11:38 +0300)]
bitbake: tests/fetch: Allow to work on python 2.6

Currently the fetch tests fail on python 2.6 since check_output
doesn't exist on this version of python. Use bb.process instead
to avoid this problem.

(Bitbake rev: a3637155e829e06bbfe50fb8753de3de7ee8c22e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-pygobject-native: fix build dependency on python-native
Cristian Iorga [Thu, 16 May 2013 11:44:39 +0000 (14:44 +0300)]
python-pygobject-native: fix build dependency on python-native

The class-native override is undoing the dependency that distutils-base
added which we require. This patch adds in the missing dependency manually
to ensure the build functions correctly.

Fixes [YOCTO #4502].

(From OE-Core rev: ae28ee3f7a060b9e0d13154a84f2444a98490b5b)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoRevert "initramfs-live-install*: fix the "install" boot option"
Saul Wold [Thu, 16 May 2013 18:03:06 +0000 (21:03 +0300)]
Revert "initramfs-live-install*: fix the "install" boot option"

This was not the correct fix for this issues, it turns out that
base-files package was getting installed un-intentionally when
rpm-postinsts was split out. The base-files recipe lays down the
link that caused the cat failure.

[YOCTO #4504]

This reverts commit 45e460d0846f0f660128dc06064b597ce40282b3.

(From OE-Core rev: 7d50133dd5c955d97193cc26458ebbf84dbfe0a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm-postinst: remove un-needed RDEPENDS on base-files
Saul Wold [Thu, 16 May 2013 18:03:05 +0000 (21:03 +0300)]
rpm-postinst: remove un-needed RDEPENDS on base-files

This was transferred un-intentionally when we split the rpm code,
the base-files then layed down additional files (specificaly /etc/mtab)
in the initramfs image and caused problems for the installer code.

Removing the RDEPENDS will fix the image generation issue and thus
the installer, so we will need to revert a previous patch that attempted
to fix the earlier issue #4229.

[YOCTO #4504]
[YOCTO #4229]

(From OE-Core rev: 6861eb34e903c5ddf491eca04011b2219fe14267)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcroco: allow native builds
Ross Burton [Thu, 16 May 2013 17:05:43 +0000 (18:05 +0100)]
libcroco: allow native builds

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

(From OE-Core rev: f2c438ddfeb17bbff384e612bb247f3652d85a74)

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

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

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

(From OE-Core rev: c6862c8162bd79c45961a4b9f8f570a3d5346148)

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

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

(From OE-Core rev: 6c94a53f7c1b674927486fdbf81613b2832bae40)

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

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

(From OE-Core rev: e3561c1cae467a4fb79723f83dea54d9d62adf7d)

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

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

(From OE-Core rev: 21950ff5eb032fefc4753bd68af57f655d0c61f2)

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

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

(From OE-Core rev: 1a5446ca73736753d172c06dcb48858887c7a896)

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

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

(From OE-Core rev: e29a13bf047ce90e9e1aae953044b9cab85f9aab)

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

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

(From OE-Core rev: 2a6067f6e69c8f2d04b8cf7e4a97e5085f758654)

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

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

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

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

Changed in v2: - better commit message

[YOCTO #4493]

(From OE-Core rev: fca3a884e9cae13a521d840838eee3c01f0b6acf)

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

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

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

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

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

[YOCTO #4341]

(From OE-Core rev: 0f6c0ed7888603c8d026a671f2acb1515ce799bf)

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 agobusybox-mdev: Startup at level S03 instead of S06
Mike Looijmans [Tue, 14 May 2013 06:28:17 +0000 (08:28 +0200)]
busybox-mdev: Startup at level S03 instead of S06

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

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

(From OE-Core rev: 18d3e5eb9102a984d00837f8fec16fda522c511a)

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

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

(From OE-Core rev: b66ec45e5dd9418a6568c04ef30854531a4b66f3)

Signed-off-by: Zongchun Yu <b40527@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>