scm/bb/tizen-distro.git
11 years agolayer.conf: Add LAYERVERSION and LAYERDEPENDS
wenzong.fan@windriver.com [Mon, 11 Mar 2013 08:06:02 +0000 (16:06 +0800)]
layer.conf: Add LAYERVERSION and LAYERDEPENDS

Add LAYERVERSION and LAYERDEPENDS to following oe-core layers:

    meta-hob, meta-skeleton

(From OE-Core rev: 8d868a9b64b460aa38462115bbb17634544c71cc)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocracklib: Generate compiled dict using default dictionary
Colin Walters [Thu, 7 Mar 2013 23:45:22 +0000 (18:45 -0500)]
cracklib: Generate compiled dict using default dictionary

While cracklib compiles, the generated library's FascistCheck() API
will look for the default compiled dictionary, fail to find it, and
invoke exit(1), which then in turn breaks gnome-initial-setup that
uses cracklib via libpwquality.  (Quality here obviously referring to
the password, and not the libraries...)

What we do here is basically the same as what happens in the current
Fedora spec file, except the latter uses a far larger dictionary.

To make this work, we need to build cracklib-native because the
dictionary compiler is written in native code.

(From OE-Core rev: ca4d0c455525aa775f7fe0531ad0c6f5dcdc32d7)

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-firmware: upgrade to git HEAD c530a75c1e6a472b0eb9558310b518f0dfcd8860
Cristian Iorga [Thu, 14 Mar 2013 17:46:39 +0000 (19:46 +0200)]
linux-firmware: upgrade to git HEAD c530a75c1e6a472b0eb9558310b518f0dfcd8860

(From OE-Core rev: 7b72b631a8fa52c48375916af0b42340996be8ba)

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 agoqt-mobility: Add pulseaudio dependency if DISTRO_FEATURES has pulseaudio
Felipe F. Tonello [Wed, 13 Mar 2013 16:49:13 +0000 (09:49 -0700)]
qt-mobility: Add pulseaudio dependency if DISTRO_FEATURES has pulseaudio

(From OE-Core rev: 12fc36be5796142b55edde67f1220531bb95cb29)

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqt-mobility: Add bluez dependency if DISTRO_FEATURES has bluetooth
Felipe F. Tonello [Wed, 13 Mar 2013 16:49:12 +0000 (09:49 -0700)]
qt-mobility: Add bluez dependency if DISTRO_FEATURES has bluetooth

Some modules doesn't requires bluez4 to compile. So it's unnecessary to have
it as dependency.

(From OE-Core rev: ccc76f42590430b2c5d286c72e6a01a21b29a9a3)

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonss-myhostname: add 0.3 version
Marcin Juszkiewicz [Thu, 14 Mar 2013 21:16:34 +0000 (22:16 +0100)]
nss-myhostname: add 0.3 version

Meta-linaro layer had own netbase.bbappend which took care of adding
MACHINE name to /etc/hosts to get it resolvable.

Koen Kooi pointed to nss-myhostname as better solution. Tested, works
fine so I add it for other users.

(From OE-Core rev: 9f46e4c195e4d8bc638191428492e09f1e57cc76)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomobile-broadband-provider-info: Upgrade to v20120614
Radu Moisan [Thu, 14 Mar 2013 16:43:46 +0000 (18:43 +0200)]
mobile-broadband-provider-info: Upgrade to v20120614

(From OE-Core rev: 749e7ace8d0bba33f212396a879bf3b9bc3cc704)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoapr-util: Upgrade to v1.5.1
Radu Moisan [Thu, 14 Mar 2013 16:16:02 +0000 (18:16 +0200)]
apr-util: Upgrade to v1.5.1

(From OE-Core rev: 526f6beb5a8a1844f3d2c03fe38087e4f4a7f68f)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobabeltrace: Upgrade to v1.0.3
Radu Moisan [Thu, 14 Mar 2013 15:36:13 +0000 (17:36 +0200)]
babeltrace: Upgrade to v1.0.3

(From OE-Core rev: dbdb4ff0760cc01be0114b13b0c3ef1b0ae36cd6)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoliburcu: Upgrade to v0.7.6
Radu Moisan [Thu, 14 Mar 2013 15:28:22 +0000 (17:28 +0200)]
liburcu: Upgrade to v0.7.6

License file changed but still compliant with LGPLv2.1

(From OE-Core rev: 0aa34849b29a77ff343cefe1215f975a3abfea69)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemtap: Upgrade to v2.1
Radu Moisan [Thu, 14 Mar 2013 14:09:17 +0000 (16:09 +0200)]
systemtap: Upgrade to v2.1

(From OE-Core rev: 7f572cecd89a992a7120c73f936c27d9fc030f57)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocronie: Upgrade to v1.4.9
Radu Moisan [Wed, 13 Mar 2013 16:53:09 +0000 (18:53 +0200)]
cronie: Upgrade to v1.4.9

(From OE-Core rev: 0c4e25140f7b821962f6a5c0e77dbe96969ac04c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agohdparm: Upgrade to v9.43
Radu Moisan [Wed, 13 Mar 2013 16:49:12 +0000 (18:49 +0200)]
hdparm: Upgrade to v9.43

(From OE-Core rev: c2c0876045e2a90b7158d3e81727205eb1c0d6ea)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agou-boot: Upgrade to v2013.01.01
Radu Moisan [Wed, 13 Mar 2013 15:43:40 +0000 (17:43 +0200)]
u-boot: Upgrade to v2013.01.01

(From OE-Core rev: ecdca4350a27708105692b6927f356ba0917422c)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agou-boot-mkimage: Upgrade to v2013.01.01
Radu Moisan [Wed, 13 Mar 2013 15:21:08 +0000 (17:21 +0200)]
u-boot-mkimage: Upgrade to v2013.01.01

(From OE-Core rev: 8b44f27730d8d58923bf94dd3e06ce2cb733c974)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agou-boo-fw-utils: Upgrade to v2013.01.01
Radu Moisan [Wed, 13 Mar 2013 14:53:11 +0000 (16:53 +0200)]
u-boo-fw-utils: Upgrade to v2013.01.01

(From OE-Core rev: ad48b2e32b640c1ca264c0b3b0038484facfd867)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoed: Upgrade to v1.7
Radu Moisan [Tue, 12 Mar 2013 15:06:36 +0000 (17:06 +0200)]
ed: Upgrade to v1.7

(From OE-Core rev: 74bc947cbadd44812b9171c2d16d319bb9df913d)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogawk: Upgrade to v4.0.2
Radu Moisan [Mon, 11 Mar 2013 15:06:02 +0000 (17:06 +0200)]
gawk: Upgrade to v4.0.2

(From OE-Core rev: 61c1bbb744ec709e002c67cf531892bf216e4724)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorxvt-unicode: Upgrade to v9.17
Radu Moisan [Fri, 8 Mar 2013 12:28:53 +0000 (14:28 +0200)]
rxvt-unicode: Upgrade to v9.17

(From OE-Core rev: 8d6176880a9fa0aece85be23567312cb848c602e)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorm_work.bbclass: inhibit rm_work per recipe
Chen Qi [Wed, 13 Mar 2013 07:01:33 +0000 (15:01 +0800)]
rm_work.bbclass: inhibit rm_work per recipe

Use RM_WORK_WHITELIST to inhibit rm_work per recipe. In this way,
one can use rm_work for the most of the recipes but still keep the
work area for the recipe(s) one is working on.

As an example, the following settings in local.conf will inhibit
rm_work for icu-native, icu and busybox.
    INHERIT += "rm_work"
    RM_WORK_WHITELIST += "icu-native icu busybox"

If we comment out the RM_WORK_WHITELIST line and do a rebuild, the
working area of these recipes will be cleaned up.

[YOCTO #3675]

(From OE-Core rev: 6c930c3c06f2e698540626c87bd7f7f571df35ef)

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 agoarchiver: fix archive filtering behavior
Kevin Strasser [Mon, 11 Mar 2013 22:51:23 +0000 (15:51 -0700)]
archiver: fix archive filtering behavior

With the addition of sstate, ensure that archiving tasks are only
added to the build if they produce output in the directory specified
by the 'sstate-inputdirs' flag.

Move calls to 'tar_filter' and 'not_tarball' out to
archive-*-source.bbclass in order to filter out packages before their
archiving tasks are added to the build.

Additionally, negate the return value of copyleft_should_include in
tar_filter, so that packages that do not pass are in turn filtered out.

(From OE-Core rev: 392562a21d9f2deb6fe6f8bb5378b09f4c5918d4)

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoarchive-*-source.bbclass: fix scripts_with_logs build error
Kevin Strasser [Mon, 11 Mar 2013 22:51:22 +0000 (15:51 -0700)]
archive-*-source.bbclass: fix scripts_with_logs build error

Log and script archives are only generated when explicitly enabled by
setting the environment variable SOURCE_ARCHIVE_LOG_WITH_SCRIPTS to
'logs_with_scripts'. When left disabled, the path specified to be
handled by sstate is never created, resulting in a build error.

Only attempt to archive scripts and logs when explicitly enabled.

(From OE-Core rev: 7f1f3e6b6db9a50f5e68bc8dff95549e692153b1)

Signed-off-by: Kevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoimage.bbclass: Drop legacy export of IMAGE_BASENAME
Richard Purdie [Mon, 18 Mar 2013 00:07:38 +0000 (00:07 +0000)]
image.bbclass: Drop legacy export of IMAGE_BASENAME

We used to export this in the days an external script handled the image
generation. This is no longer the case and hence we no longer need this
export.

(From OE-Core rev: 919613c0e75362ee0eace99b51cc77d34a05372f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobison: Use PATH to locate m4
Richard Purdie [Mon, 18 Mar 2013 00:03:03 +0000 (00:03 +0000)]
bison: Use PATH to locate m4

We can specify no path to m4 at configure time and thus avoiding
having a wrapper for that particular problem.

(From OE-Core rev: 4e8b9f2521d6581db8d63e742000a8c742729f25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomesa-common: Fix confused variable assignment/comment
Richard Purdie [Mon, 18 Mar 2013 00:02:12 +0000 (00:02 +0000)]
mesa-common: Fix confused variable assignment/comment

Its clear this was meant to be a prepend. Also fix an out
of date comment.

(From OE-Core rev: 775692b36fe726479eafdbc9e3f2141acb171f8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-common: Exclude AVAILTUNES from sstate checksums
Richard Purdie [Mon, 18 Mar 2013 00:01:22 +0000 (00:01 +0000)]
gcc-common: Exclude AVAILTUNES from sstate checksums

AVAILTUNES is only used as a sanity check, we don't need to
include it in the sstate checksum in this case. If included
it can cause problems when switching machines with a common
package architecture.

[YOCTO #3667]

(From OE-Core rev: b1cc5a4055c6402595eac1a93eac4c946210d130)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotune-xscale: Drop unneeded optimisation overrides
Richard Purdie [Mon, 18 Mar 2013 00:00:06 +0000 (00:00 +0000)]
tune-xscale: Drop unneeded optimisation overrides

These hacks have been around for years and deal with old gcc issues.
They've been removed from the other use sites, we should clean up the
core tune file too.

(From OE-Core rev: 742eb82b85a315bb908caf64516e464ae6153668)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoopenssl: build always with -Wa,--noexecstack
Enrico Scholz [Thu, 12 Jan 2012 16:30:21 +0000 (17:30 +0100)]
openssl: build always with -Wa,--noexecstack

There is no reason to disable exec-stack only for -native builds;
binaries on the target will suffer from the same SELinux ACLs.

OpenSSL does not use executable stack so this option can be disabled
unconditionally.

(From OE-Core rev: 9c32b62d6494139daf4bab3279779c392fead116)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add machine-user-features.scc to templates
Tom Zanussi [Tue, 12 Mar 2013 07:33:05 +0000 (02:33 -0500)]
yocto-bsp: add machine-user-features.scc to templates

Add the user-features.scc files needed by the new kernel feature
support in yocto-kernel.

(From meta-yocto rev: 0ef493fbbe412b6e30fc60b892ba6c2e5664307f)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: add support for destroying recipe-space kernel features
Tom Zanussi [Tue, 12 Mar 2013 03:36:44 +0000 (22:36 -0500)]
yocto-kernel: add support for destroying recipe-space kernel features

Add a yocto-kernel command allowing users to destroy a recipe-space
kernel feature local to a particular BSP.  The removed feature is
subsequently no longer available for the normal feature addition and
removal yocto-kernel commands.

(From meta-yocto rev: faa18f56d9412694f2c8e0b0c09e751cb7f3a743)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: add support for creating recipe-space kernel features
Tom Zanussi [Tue, 12 Mar 2013 03:19:07 +0000 (22:19 -0500)]
yocto-kernel: add support for creating recipe-space kernel features

Add a yocto-kernel command allowing users to create a recipe-space
kernel feature local to a particular BSP.  The new feature is
subsequently available for the normal feature addition and removal
yocto-kernel commands used with features defined in the meta branch of
linux-yocto kernel repos.

(From meta-yocto rev: 13abcd93b9e1591bc45ff5f9eb17b8feb9ac9ae5)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: add support for printing kernel feature descriptions
Tom Zanussi [Tue, 12 Mar 2013 02:46:37 +0000 (21:46 -0500)]
yocto-kernel: add support for printing kernel feature descriptions

Add a yocto-kernel command allowing users to print the description and
compatibility of a given kernel feature.

(From meta-yocto rev: 73b4f1a8d156af6810cdde3af672d6286a7071e7)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: add support for listing available kernel features
Tom Zanussi [Tue, 12 Mar 2013 02:25:46 +0000 (21:25 -0500)]
yocto-kernel: add support for listing available kernel features

Add a yocto-kernel command allowing users to list all the kernel
features available to a BSP.  This includes the features contained in
linux-yocto meta branches as well as recipe-space features defined
locally to the BSP.

(From meta-yocto rev: 12f3af8d92456ad9212170decdbe102fc78b58f6)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-kernel: add support for kernel feature add/rm/list
Tom Zanussi [Mon, 11 Mar 2013 23:52:50 +0000 (18:52 -0500)]
yocto-kernel: add support for kernel feature add/rm/list

Add yocto-kernel commands allowing users to add, remove, and list
kernel features with respect to a given BSP.

Features managed by these commands modify a special
machine-user-features.scc file associated with the kernel recipe
(.bbappend) of a yocto-bsp-generated BSP.  This is analagous to the
implementation of similar support for bare config items and patches
already implemented for yocto-bsp-generated BSPs.

Future patches will add support for providing a list of eligible
features as defined by linux-yocto kernels and locally-defined
(recipe-space) kernel features.

(From meta-yocto rev: ae68d906c5c9854f2cd7ee0870556fbfbd7d94d0)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: upgrade i386 template with emgd 1.16
Tom Zanussi [Mon, 11 Mar 2013 05:37:06 +0000 (00:37 -0500)]
yocto-bsp: upgrade i386 template with emgd 1.16

Along with related changes.

(From meta-yocto rev: 6e93c881e2323b57f5b102db3b2b54220a06a1b6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add support for linux-yocto-dev
Tom Zanussi [Mon, 4 Mar 2013 16:15:20 +0000 (10:15 -0600)]
yocto-bsp: add support for linux-yocto-dev

(From meta-yocto rev: 637104794a5646869d03ff5851d94199b1584dcf)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add support for tiny
Tom Zanussi [Mon, 4 Mar 2013 16:00:08 +0000 (10:00 -0600)]
yocto-bsp: add support for tiny

(From meta-yocto rev: 61a7cfb5f552586dd13fc553305e334ac53a8ce6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update linux-yocto-rt_3.4 .bbappends
Tom Zanussi [Mon, 4 Mar 2013 15:43:30 +0000 (09:43 -0600)]
yocto-bsp: update linux-yocto-rt_3.4 .bbappends

Simplify by removing unnecessary KMACHINE/KBRANCH and SRC_URI items.
Also simplify machine-preempt-rt.scc

(From meta-yocto rev: b9973f7761b86e3d4571fe5582759e5405e1d7b4)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update machine-preempt-rt.scc
Tom Zanussi [Mon, 11 Mar 2013 02:11:29 +0000 (21:11 -0500)]
yocto-bsp: update machine-preempt-rt.scc

Simplify machine-standard.scc for all the templates.

(From meta-yocto rev: ad0d944698a854a281d0beea1c87a0600e98ccbd)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update 3.4 .bbappends
Tom Zanussi [Mon, 4 Mar 2013 15:36:37 +0000 (09:36 -0600)]
yocto-bsp: update 3.4 .bbappends

Simplify by removing unnecessary KMACHINE/KBRANCH and SRC_URI items.

(From meta-yocto rev: d1224846e5ff6c101bf50011d5d3314cbbd81f61)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update machine-standard.scc
Tom Zanussi [Mon, 4 Mar 2013 05:27:33 +0000 (23:27 -0600)]
yocto-bsp: update machine-standard.scc

Simplify machine-standard.scc for all the templates.

(From meta-yocto rev: ac8ec04c50bc8dbf716ff5746c8942566fd5c2bf)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/lib/bsp/engine.py: add preempt-rt and tiny to map_standard_kbranch()
Tom Zanussi [Mon, 4 Mar 2013 06:20:36 +0000 (00:20 -0600)]
scripts/lib/bsp/engine.py: add preempt-rt and tiny to map_standard_kbranch()

Update map_standard_kbranch() with preempt-rt and tiny variants.

(From meta-yocto rev: 48233b051b0599ee745d0b8d24863a08e7440d6a)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: use map_standard_branch()
Tom Zanussi [Mon, 11 Mar 2013 05:20:36 +0000 (00:20 -0500)]
yocto-bsp: use map_standard_branch()

Use map_standard_branch() instead of naming the branch directly.

(From meta-yocto rev: 34ec7d4cf53f82adb8de61969d0981344f9a1d87)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoscripts/lib/bsp/engine.py: update map_standard_kbranch()
Tom Zanussi [Mon, 4 Mar 2013 06:04:49 +0000 (00:04 -0600)]
scripts/lib/bsp/engine.py: update map_standard_kbranch()

Update map_standard_kbranch() to be consistent with the new changes in
meta naming and remove obsolete standard/default mapping.

(From meta-yocto rev: 40998ba44e1a4ebb1c165cab1a250025041e0da0)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: update default custom kernel
Tom Zanussi [Fri, 1 Mar 2013 01:50:13 +0000 (19:50 -0600)]
yocto-bsp: update default custom kernel

Update the default custom kernel to 3.8.y, the current stable kernel
available at this point.

(From meta-yocto rev: f10f30bf77ee0571c1b5edc083833c5267d013d6)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: add 3.8/remove 3.2 kernel from templates
Tom Zanussi [Thu, 28 Feb 2013 06:27:16 +0000 (00:27 -0600)]
yocto-bsp: add 3.8/remove 3.2 kernel from templates

For Yocto 1.4, 3.8 is the preferred kernel and 3.2 is obsolete.

(From meta-yocto rev: 5b07921319901a3709492c43397c57bbd2201585)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: Add LICENSE_PATH to sstate whitelist
Khem Raj [Sun, 17 Mar 2013 08:04:28 +0000 (01:04 -0700)]
bitbake.conf: Add LICENSE_PATH to sstate whitelist

some layers e.g. meta-intel are defining LICENSE_PATH in layer.conf like
LICENSE_PATH += "${LAYERDIR}/common/custom-licenses"
This causes the target packages to invalidate the siginfo and casues
rebuild for all packages.

Thanks bitbake-diffsigs, it shows

basehash changed from c27b55ea6980262fab370e539ba8bcd7 to
37962b22ebd6194e9537bc4f85819323
Variable LICENSE_PATH value changed from '
/builds2/poky/meta-intel/common/custom-licenses' to '
/b/kraj/jlinux-next/poky/meta-intel/common/custom-licenses'

(From OE-Core rev: 1dab754cb1ec942f86a7cf9758e6b5169e50bff3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoutil-linux: Update License Information (remove GPLv3 Licnese)
Saul Wold [Fri, 15 Mar 2013 19:54:40 +0000 (12:54 -0700)]
util-linux: Update License Information (remove GPLv3 Licnese)

The upstream authors have updated the licenses of a couple subcomponents,
these were GPLv3, but updated to be either GPLv2 or LGPLv2.1 accordingly.
These changes make the util-linux package become completely non-GPLv3.

Cleaned up some white space issue also

[YOCTO #4014]

(From OE-Core rev: 6093fe2694ac5300feaa38fe2eb898ea843f92ee)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base: search for perl scripts after symlinks are relocated
Laurentiu Palcu [Fri, 15 Mar 2013 16:01:53 +0000 (18:01 +0200)]
populate_sdk_base: search for perl scripts after symlinks are relocated

grep will throw "No such file or directory" errors for all invalid
symlinks. To overcome this, move the search after the symlinks have been
changed to point to the new location.

(From OE-Core rev: 239a43fc4037bfe941bb60dd077ee477de177b7c)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-cross-canadian: do not create symlinks to non-existent binaries
Laurentiu Palcu [Fri, 15 Mar 2013 16:01:52 +0000 (18:01 +0200)]
gcc-cross-canadian: do not create symlinks to non-existent binaries

If fortran is not built, soft links to gfortran and g77 are created
even though the fortran compiler doesn't exist...

[YOCTO #4023]

(From OE-Core rev: c5c135bc5e71a6f9b14f249358bf5d217050ee55)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoelfutils: fix the num passed to memset in ar.c
Zhenhua Luo [Fri, 15 Mar 2013 13:27:27 +0000 (21:27 +0800)]
elfutils: fix the num passed to memset in ar.c

Following build error will appear on Fedora18+:
ar.c: In function 'do_oper_delete':
ar.c:918:31: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
   memset (found, '\0', sizeof (found));

(From OE-Core rev: 5cc3b4fe09cfa2b3e67568a9c2494c198a5292af)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agognupg: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:01 +0000 (16:04 +0800)]
gnupg: fix PN -> BPN in do_install for multilibs

(From OE-Core rev: d2e7d98ce859a3af037135d1ac7bdb7a34f4d319)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agottf-fonts: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:02 +0000 (16:04 +0800)]
ttf-fonts: fix PN -> BPN in do_install for multilibs

(From OE-Core rev: 7720c356534e46614578619d5a8f0462485b81f6)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopython-imaging: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:00 +0000 (16:04 +0800)]
python-imaging: fix PN -> BPN in do_install for multilibs

(From OE-Core rev: 9dbff379575e6f5fdc07412906848134b2739598)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibatomics-ops: fix PN -> BPN in do_install for multilibs
Jackie Huang [Fri, 15 Mar 2013 08:04:03 +0000 (16:04 +0800)]
libatomics-ops: fix PN -> BPN in do_install for multilibs

(From OE-Core rev: eca6309556086f8c6b0e8525749477c8210f83b0)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackage_rpm: Ensure PV manipulations are correct
Richard Purdie [Sat, 16 Mar 2013 15:46:15 +0000 (15:46 +0000)]
package_rpm: Ensure PV manipulations are correct

The previous change to this function fixed one manipuation at
the expense of the other, depending on ow expanded the versioned
dependency string was when the AUTOINC substitution was made.

This update ensures we cover both cases and ensures the classextended
version works as as well as the normal case.

(From OE-Core rev: 0f8447a7d99d2645b932eac1c24149f0c2d3791e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoicecc: improve interaction with sstate
Martin Jansa [Wed, 13 Mar 2013 19:04:51 +0000 (20:04 +0100)]
icecc: improve interaction with sstate

* exclude ICECC_PARALLEL_MAKE (like PARALLEL_MAKE is)
* add ICECC_DISBLED to be able to disable whole icecc functionality
  while keeping icecc enabled. This is useful when you want multiple
  builders sharing same sstate-cache, but only some of them using icecc.

* inheriting icecc changes all checksums because of do_*_prepends calls,
  but because icecc should not influence binary output of task we should
  get same checksums for tasks build with and without icecc

* ICECC_DISABLED when set (to any non-empty value will disable icecc env
  modifications but while keeping same sstate checksum

(From OE-Core rev: f46cf86d0ec3b80ce526b4dad1b1eac5995969ec)

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 agoelfutils: Fix size passed to snprintf for invalid sh_name case
Zhenhua Luo [Tue, 12 Mar 2013 03:58:58 +0000 (11:58 +0800)]
elfutils: Fix size passed to snprintf for invalid sh_name case

Following build error will appear on Fedora18.
nm.c: In function 'show_symbols_sysv':
nm.c:756:27: error: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
    snprintf (name, sizeof name, "[invalid sh_name %#" PRIx32 "]",
                           ^

(From OE-Core rev: 61010972284cc53cfc7958a9f6422e3fe74fcc0e)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobinutils: fix ineffectual zero of cache and array bounds issue
Zhenhua Luo [Wed, 13 Mar 2013 07:43:04 +0000 (15:43 +0800)]
binutils: fix ineffectual zero of cache and array bounds issue

binutils build fails on Fedora18+:
1. binutils-2.23.1/bfd/elf32-xtensa.c:6078:36: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
       memset (sec_cache, 0, sizeof (sec_cache));
                                    ^
2. binutils-2.23.1/bfd/elf32-xtensa.c:6120:32: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
   memset (sec_cache, 0, sizeof (sec_cache));
                                ^
3. binutils-2.23.1/opcodes/arc-dis.c:430:13: error: argument to 'sizeof' in '__builtin_strncat' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
       sizeof (state->commentBuffer));
              ^
4. binutils-2.23.1/opcodes/rl78-dis.c:230:13: error: array subscript is above array bounds [-Werror=array-bounds]
      if (oper->use_es && indirect_type (oper->type))
              ^

(From OE-Core rev: 5445e12e5a32cc5c51ce8a29f2800692ed831115)

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-*: delete references to mibstore.h
Laurentiu Palcu [Mon, 11 Mar 2013 16:05:13 +0000 (18:05 +0200)]
xf86-video-*: delete references to mibstore.h

This patch removes any references to mibstore.h, which has been removed
from xserver-org, from the following drivers:
 * xf86-video-vmware
 * xf86-video-fbdev
 * xf86-video-vesa

(From OE-Core rev: c2a2ac579876695c162ccca0ca3673f4d06ce60e)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxf86-video-intel: upgrade to 2.21.3
Laurentiu Palcu [Mon, 11 Mar 2013 13:32:52 +0000 (15:32 +0200)]
xf86-video-intel: upgrade to 2.21.3

(From OE-Core rev: 54a60a31a99394f1707d55f027f2cb12dc50845c)

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 agoxserver-xorg: upgrade to 1.14.0
Laurentiu Palcu [Mon, 11 Mar 2013 12:19:28 +0000 (14:19 +0200)]
xserver-xorg: upgrade to 1.14.0

Aditionally:
 * adjust the aarch64.patch because the logic changed and the
   lnx_video.c changes are no longer necessary;
 * created patch to fix compilation issue when not using xinerama;

(From OE-Core rev: 1204a04c28546aa131d295fe7791f5de3694ad11)

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 agoinputproto: upgrade to 2.3
Laurentiu Palcu [Mon, 11 Mar 2013 12:42:43 +0000 (14:42 +0200)]
inputproto: upgrade to 2.3

(From OE-Core rev: f120c0da20004908378cf3cab2d6c61b39c6cda5)

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 agoneard: Update reference commit sha1 and install script
Olivier Guiter [Tue, 12 Mar 2013 20:33:52 +0000 (13:33 -0700)]
neard: Update reference commit sha1 and install script

This patch installs neard daemon in /usr/lib/neard.

(From OE-Core rev: 415e5bb60bfffe1f3b2acbb3136a45f63bfa91b9)

Signed-off-by: Olivier Guiter <olivier.guiter@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu-native:fix do_compile failed on SLED 11.2
Hongxu Jia [Tue, 12 Mar 2013 01:54:06 +0000 (09:54 +0800)]
qemu-native:fix do_compile failed on SLED 11.2

1, When build qemu-native on SLED 11.2, there is an error:
...
| In file included from /usr/include/bits/sigcontext.h:28,
|    from /usr/include/signal.h:339,
|    from /buildarea2/tmp/work/i686-linux/qemu-native/1.4.0-r0/
qemu-1.4.0/include/qemu-common.h:42,
|    from fsdev/virtfs-proxy-helper.c:23:
| /usr/include/asm/sigcontext.h:28: error: expected specifier-
qualifier-list before '__u64'
| /usr/include/asm/sigcontext.h:191: error: expected specifier-
qualifier-list before '__u64'
...

2, The virtfs-proxy-helper.c includes <sys/capability.h> and
qemu-common.h in sequence. The header include map is:
(`-->' presents `include')
...
"virtfs-proxy-helper.c" --> <sys/capability.h>
...
"virtfs-proxy-helper.c" --> "qemu-common.h" --> <signal.h> -->
<bits/sigcontext.h> --> <asm/sigcontext.h> --> <linux/types.h> -->
<asm/types.h> --> <asm-generic/types.h> --> <asm-generic/int-ll64.h>
...

3, The bug is found on SLED 11.2 x86. In libcap header file
/usr/include/sys/capability.h, it does evil stuff like this:
...
  25 /*
  26  * Make sure we can be included from userland by preventing
  27  * capability.h from including other kernel headers
  28  */
  29 #define _LINUX_TYPES_H
  30 #define _LINUX_FS_H
  31 #define __LINUX_COMPILER_H
  32 #define __user
  33
  34 typedef unsigned int __u32;
  35 typedef __u32 __le32;
...
This completely prevents including /usr/include/linux/types.h.
The above `<asm/sigcontext.h> --> <linux/types.h>' is prevented,
and '__u64' is defined in <asm-generic/int-ll64.h>.

4, Modify virtfs-proxy-helper.c to include <sys/capability.h>
last to workaround the issue.

http://www.linuxtv.org/pipermail/vdr/2009-August/021194.html
http://patchwork.linuxtv.org/patch/12748/

[YOCTO #4001]

(From OE-Core rev: 1267bb2fd91f205d35e805aa019d25ab7a921b14)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowatchdog: Upgrade 5.12 -> 5.13
Khem Raj [Tue, 12 Mar 2013 05:32:45 +0000 (22:32 -0700)]
watchdog: Upgrade 5.12 -> 5.13

Part of ping failure patch is already applied
in 5.13 hence refreshed the patch.
Tested on x86_64 box

(From OE-Core rev: 1834400555d0e2bad73ee472d5991464fec70d53)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopsplash : update to latest SRCREV afd4e228c606a9998feae44a3fed4474803240b7
Andrei Dinu [Tue, 12 Mar 2013 14:54:11 +0000 (16:54 +0200)]
psplash : update to latest SRCREV afd4e228c606a9998feae44a3fed4474803240b7

(From OE-Core rev: a0235944f5b5a0cfda40cc8e61f49638cb402868)

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 agopackage.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE
Martin Jansa [Tue, 12 Mar 2013 11:24:32 +0000 (12:24 +0100)]
package.bbclass: add debug-without-src PACKAGE_DEBUG_SPLIT_STYLE

* same as original and default version, but does not package source files in PN-dbg

(From OE-Core rev: 3c8452c3abae74a42989c0fbd5ba303788528750)

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 agosystemd: remove libsystemd-daemon linkage in libudev
Ross Burton [Wed, 6 Mar 2013 10:35:48 +0000 (10:35 +0000)]
systemd: remove libsystemd-daemon linkage in libudev

libudev was statically linking to libsystemd-shared, which was linking to
libsystemd-daemon (via libtool).  This is a spurious dependency so backport a
commit from upstream to remove it.

(From OE-Core rev: 3348e113d1e77bbe3b78abb7cddf866250421e06)

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 agosystemd: set the location of the kill binary
Ross Burton [Tue, 26 Feb 2013 17:03:08 +0000 (17:03 +0000)]
systemd: set the location of the kill binary

Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot, which won't
work on the target.

(From OE-Core rev: 084eb0e530426fe57fb4d04680ea1da421e1e4fb)

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 agosystemd: remove util-linux-mount dependency
Ross Burton [Wed, 20 Feb 2013 20:24:09 +0000 (20:24 +0000)]
systemd: remove util-linux-mount dependency

There's been a lot of action in busybox to fix mount's behaviour for systemd, so
remove the dependency on util-linux.

(From OE-Core rev: c6606864472784c40f61e1ac5ebba26b2be362d5)

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 agosystemd: busybox's swapon now supports -p
Ross Burton [Wed, 20 Feb 2013 20:04:51 +0000 (20:04 +0000)]
systemd: busybox's swapon now supports -p

Now that busybox's swapon supports -p, systemd doesn't need to depend on
util-linux.

(From OE-Core rev: 043969d963650048d9aba4da17a3b63e95463d64)

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 agobusybox: enable swapon -p (91 byte increase)
Ross Burton [Wed, 20 Feb 2013 20:04:25 +0000 (20:04 +0000)]
busybox: enable swapon -p (91 byte increase)

systemd needs "swapon -p", so as the impact is minimal enable it unversally.

(From OE-Core rev: acc5e9b4f43a382e56c0af1fae492cd0aaa80230)

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 agosystemd-compat-units: add missing systemd-systemctl-native dependency
Ross Burton [Fri, 1 Mar 2013 10:48:31 +0000 (10:48 +0000)]
systemd-compat-units: add missing systemd-systemctl-native dependency

This package has postinsts that run on the build host, but wasn't depending on
systemd-systemctl-native.

(From OE-Core rev: b4b83eb092e2c1ed2bca64ab43150228e4f6cc80)

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 agoxkeyboard-config: remove long-gone build dependencies
Ross Burton [Wed, 27 Feb 2013 14:51:30 +0000 (14:51 +0000)]
xkeyboard-config: remove long-gone build dependencies

(From OE-Core rev: 3e2a5722e25385e3b1b1ec44981af37c2074bc45)

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 agoavahi: explicitly disable systemd if we don't want it enabled
Ross Burton [Thu, 7 Mar 2013 15:16:32 +0000 (15:16 +0000)]
avahi: explicitly disable systemd if we don't want it enabled

(From OE-Core rev: 6126e7801542803aee1756aab41ba10a79bee092)

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 agoxf86-video-intel: add explicit dependency on udev
Ross Burton [Fri, 8 Mar 2013 10:47:56 +0000 (10:47 +0000)]
xf86-video-intel: add explicit dependency on udev

Otherwise configure will auto-detect, and not be reliable.

(From OE-Core rev: 6c0c3dae3ec69c811ff8cd18a634fc4832a2d29f)

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 agopolkit: explicitly disable systemd if we're using consolekit
Ross Burton [Thu, 7 Mar 2013 15:16:50 +0000 (15:16 +0000)]
polkit: explicitly disable systemd if we're using consolekit

(From OE-Core rev: 3a92104e1f7061296c293ac261e336e17934f8c7)

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: explicitly disable systemd if we don't want it enabled
Ross Burton [Thu, 7 Mar 2013 12:56:45 +0000 (12:56 +0000)]
connman: explicitly disable systemd if we don't want it enabled

Otherwise configure will use pkg-config and may find systemd, even though we
don't want it.

(From OE-Core rev: 87fe717009fb2bcd8e5dbdf0236fe715effca89f)

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 agobuild-appliance-image: fix lost net connectivity after restart
Cristian Iorga [Mon, 11 Mar 2013 11:24:22 +0000 (13:24 +0200)]
build-appliance-image: fix lost net connectivity after restart

The issue is that an ethernet config file is removed without
proper checks in place (rm -f), which triggers an error and
makes the connman startup script to fail.

The file is now removed with proper checks in place.

Fixes [YOCTO #4003].

(From OE-Core rev: d9349e6e28cef107ad8bd00767ceba4d8aa464dd)

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 agobuild-appliance-image: ethernet connection type is now bridged
Cristian Iorga [Mon, 11 Mar 2013 11:24:21 +0000 (13:24 +0200)]
build-appliance-image: ethernet connection type is now bridged

For network/internet connectivity, Build Appliance uses
a NAT virtual network adapter. While using NAT, inside
Build Appliance network proxies won't provide a network
connection to the outside world.

Basically, connectivity is not provided if network proxies
are needed in order to acces the internet.

The solution is to use bridged ethernet connection type.

Fixes [YOCTO #3998].

(From OE-Core rev: ef7ac8d9c0cf25834e75b4e5b987589f9ff19dc3)

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 agobuild-appliance-image: upgrade to newer poky revision.
Cristian Iorga [Mon, 11 Mar 2013 11:24:20 +0000 (13:24 +0200)]
build-appliance-image: upgrade to newer poky revision.

Upgraded to poky commit: d823759b4594143d522eae0b2a2498436a6dcb1e

- Includes fixes and enhancements to Hob;
- Includes fixes and improvements to bitbake;
- Includes the switch to Linux kernel 3.8;
- Includes fixes to network connectivity.

Fixes [YOCTO #3843].

(From OE-Core rev: 6cdd70ddc16f72103e889676a185144ff582deca)

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 agolibxi: upgrade to 1.7
Constantin Musca [Mon, 11 Mar 2013 14:06:03 +0000 (16:06 +0200)]
libxi: upgrade to 1.7

(From OE-Core rev: c1fd149ecddb82fdf8ddc18c53f417a4318598e9)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibical: add recipe back in oe-core
Cristian Iorga [Mon, 11 Mar 2013 13:56:48 +0000 (15:56 +0200)]
libical: add recipe back in oe-core

version: 0.48.
reason: libical is needed by bluez.

(From OE-Core rev: ea5ae40d4b124eef946ab87d867640937be8af17)

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 agopackage_rpm: Ensure package dependencies have correct version numbers
Richard Purdie [Thu, 14 Mar 2013 00:15:10 +0000 (00:15 +0000)]
package_rpm: Ensure package dependencies have correct version numbers

If a recipe has versioned dependencies on another package within
the same recipe, there are potentially races where the version
remapping may not happen correctly.

This issue triggered with neard in multilib builds since it
uses a "-" character in its PV which is illegal in an rpm version
field. The remapping to "+" was not occuring.

It only triggers in the multilib case since in this case, expansion
of the datastore happens at slightly different points.

The correct fix is to search for PV, not PKGV but substitute the
PV value.

(From OE-Core rev: bd03014c8fd080e04dd0a96a6b4b9211568c1cf1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoexternal-python-tarball: rename output package
Kang Kai [Tue, 12 Mar 2013 07:29:53 +0000 (15:29 +0800)]
external-python-tarball: rename output package

Update TOOLCHAIN_OUTPUTNAME to rename the output package which is the
similiar style to name packages meta-toolchain-*.

[YOCTO #3996]

(From OE-Core rev: e40c36ff8610ebb9ce16a4d1c14c7cf94f87cd6a)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolib/oe/lsb: enable getting distro ID when lsb_release is not installed
Paul Eggleton [Tue, 12 Mar 2013 03:39:56 +0000 (03:39 +0000)]
lib/oe/lsb: enable getting distro ID when lsb_release is not installed

If lsb_release is not installed (as it may not be on headless/minimal
installations on distros whose LSB package has a long list of
dependencies) we need to gather the information directly from files in
/etc.

Fixes [YOCTO #4012].

(From OE-Core rev: 106a7bcdb5ad9956f1d78f508408bfbcf7ff5120)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-gl: allow empty packages
Jeremy Stashluk [Mon, 11 Mar 2013 17:05:22 +0000 (13:05 -0400)]
gst-plugins-gl: allow empty packages

The patch to Poky (git://git.yoctoproject.org/poky) commit
bd73fa69f532ca3d81ec2452a79e7a333b3543c2 titled: "recipes: Fix
ALLOW_EMPTY with no package specified" breaks this recipe. This patch
specifies the allowed empty packages.

(From OE-Core rev: 375ed2eaef10dd7d8f46badca6d779708724e5f6)

Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogst-plugins-package: return few ALLOW_EMPTY settings
Martin Jansa [Wed, 6 Mar 2013 21:52:33 +0000 (22:52 +0100)]
gst-plugins-package: return few ALLOW_EMPTY settings

(From OE-Core rev: 26c2eed11d9293a7a3b8e2177be76d2457d69efd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.8: update EDF configuration
Bruce Ashfield [Mon, 11 Mar 2013 13:25:12 +0000 (09:25 -0400)]
linux-yocto/3.8: update EDF configuration

The sched_deadline configuration fragmements were not optimal, so tweaking
the meta data to make an enable-only configuration fragment avaiable and
updating the options within that fragment.

(From OE-Core rev: 43d2ae5695844d29ccad2c8a2760b803352d1f67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.8: bump kver to v3.8.1
Bruce Ashfield [Mon, 4 Mar 2013 16:25:46 +0000 (11:25 -0500)]
linux-yocto/3.8: bump kver to v3.8.1

Updating the linux-yocto_3.8 SRCREVs to reflect the integration of the
korg 3.8.1 -stable release.

(From OE-Core rev: 75e247ed9a8a731480bef3ab0753fbad200469be)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolinux-yocto/3.4: update to v3.4.34 and LTSI refresh
Bruce Ashfield [Thu, 28 Feb 2013 19:49:22 +0000 (14:49 -0500)]
linux-yocto/3.4: update to v3.4.34 and LTSI refresh

Updating the 3.4 SRCREVs to incorporate the -stable release of 3.4.34 and
the latest LTSI fixes up to [36a9caf 2 more fixes added].

(From OE-Core rev: e5602b0414fca0183d5aa90d9b462ac8e8401cbb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: Fix build on uclibc
Khem Raj [Sun, 10 Mar 2013 23:07:36 +0000 (16:07 -0700)]
libtirpc: Fix build on uclibc

Last upgrade of libtirpc broke the uclibc specific
patch. So lets refresh it and make it compile for
uclibc again

(From OE-Core rev: 4f46023fc24354c8144e755daf29c83926f3e1f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: avoid host contamination by libnl3
Andreas Oberritter [Fri, 8 Mar 2013 22:42:03 +0000 (23:42 +0100)]
wpa-supplicant: avoid host contamination by libnl3

Removes hardcoded include path -I/usr/include/libnl3. OE's include
path gets injected by do_configure.

(From OE-Core rev: 1c3beda0015da9a0fec2581af7645c9ea122c7e3)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: reorder do_configure
Andreas Oberritter [Fri, 8 Mar 2013 22:42:02 +0000 (23:42 +0100)]
wpa-supplicant: reorder do_configure

Copy from WORKDIR first, then modify. Improves consistency
between successive invocations of do_configure.

(From OE-Core rev: 82205345d777f7f34d43e4f81df0fa3bfe409fc4)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: change S to point to the top-level directory
Andreas Oberritter [Fri, 8 Mar 2013 22:42:01 +0000 (23:42 +0100)]
wpa-supplicant: change S to point to the top-level directory

This makes it possible to apply patches to ../src.

(From OE-Core rev: 48dbcc8c45d165e67f58a8307dde7594a28cf9bd)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-4.7: Fix incorrect warning with -Wcast-qual
Khem Raj [Mon, 11 Mar 2013 06:28:13 +0000 (23:28 -0700)]
gcc-4.7: Fix incorrect warning with -Wcast-qual

This patch backport the fix where -Wcast-qual
reports a bogus warning with 4.7.2, There is
no workaround in code that can be done to avoid
it hence the fix to gcc is backported.

(From OE-Core rev: 5d8ef98225773a6ec88b5e1a76ce01d76163b3a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodpkg depends on ncurses
Alexandru DAMIAN [Fri, 8 Mar 2013 15:45:27 +0000 (17:45 +0200)]
dpkg depends on ncurses

Dpkg compilation depends on the ncurses, so add
this dependency.

(From OE-Core rev: e33df55e69c5c517bcbc85452292740fe3b669da)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_xxx.bbclass: fix bitbake -S hashes mismatch error
Robert Yang [Thu, 7 Mar 2013 03:26:13 +0000 (11:26 +0800)]
rootfs_xxx.bbclass: fix bitbake -S hashes mismatch error

The bitbake -S <image> has errors, e.g.:

NOTE: Reparsing files to collect dependency data
ERROR: Bitbake's cached basehash does not match the one we just generated
(/buildarea/lyang1/poky/meta/recipes-core/images/core-image-minimal.bb.do_rootfs)!
ERROR: The mismatched hashes were 8e44f2296f2d6cdf2ccb0236910ef59b and
46357d5e36713646b47b0fe2233e3c8c

This is caused by the BUILDNAME which is defined in cooker.py:

if not self.configuration.data.getVar("BUILDNAME"):
    self.configuration.data.setVar("BUILDNAME", time.strftime('%Y%m%d%H%M'))

The time changes during the first parsing and reparsing, so there is the
error, we already have:

do_rootfs[vardepsexclude] += "BUILDNAME"

but what we need is
rootfs_xxx_do_rootfs[vardepsexclude] +=  "BUILDNAME"

The do_rootfs doesn't depend on BUILDNAME directly, but indirectly, the
depends tree is:

do_rootfs -> rootfs_xxx_do_rootfs -> BUILDNAME

So add BUILDNAME to rootfs_xxx_do_rootfs[vardepsexclude] would fix the
problem.

[YOCTO #3299]

(From OE-Core rev: 9d039f482c84dde264564fde93f39764113cc0d3)

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 agomusicbrainz: remove
Ross Burton [Mon, 11 Mar 2013 23:46:36 +0000 (16:46 -0700)]
musicbrainz: remove

This is in meta-multimedia now, so remove from oe-core.

(From OE-Core rev: 62a2f7e9fad6cd6863670ba2376f73c0e929f075)

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>