recipe_sanity: Don't bother checking LICENSE

Since e3d7890cace71b0a57d2530bf615a58dcb46d96f or so, base.bbclass has
considered invalid LICENSE settings to be a fatal error.  This means we
will never see them so there is no point checking for that.

(From OE-Core rev: 66d58c76280c819e653a97a8ab2e70f608bb1cdb)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gypsy: removed gypsy from meta/recipes-connectivity

removed also entry from meta/recipes-gnome/packagegroups/packagegroup-sdk-gmae.inc

(From OE-Core rev: 79b1e5dc2c8c6d2ce190a0654fafcacb3bcdce52)

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>
populate_sdk_base.bbclass: Make it possible to override the create_shar method of populate_sdk_base.

If you wish to change the install/unpack method of the sdk, this can now be done by making
your own create_shar method, and setting a SDK_PACKAGING_FUNC variable to your
new create_shar function.

(From OE-Core rev: 7d92d082e796110ba583b1a155bad11db3c7344b)

Signed-off-by: Thomas Kristensen <thkriste@cisco.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move 'tag=' to SRCREV in btrfs-tools recipe

(From OE-Core rev: eb8c1256669d4c4ee4428be43ec5da99fc0cae69)

Signed-off-by: Evade Flow <evadeflow@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move 'tag=' to SRCREV in mtd-utils recipe

(From OE-Core rev: da0c0f25f471d8b8b716ee67627edee7b3e83fe2)

Signed-off-by: Evade Flow <evadeflow@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagegroup-self-hosted: recommend kernel modules instead of depending on them

Requested kernel modules may be integrated in kernel or totally disabled
as not needed on target.

(From OE-Core rev: 52c99d4bd261402a6454f4d0dbc18b931367eaf5)

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>
chkconfig: pass CFLAGS to Makefile

The environment CFLAGS is not used by the chkconfig
Makefile, so debug and optimization options are ignored.
So, we use RPM_OPT_FLAGS to pass CFLAGS into Makefile.

Upstream-Status:  Inappropriate [configuration]

(From OE-Core rev: 9b648a3f2bc73d86ec1f85582fe6f2a5d0460020)

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>
insane.conf: add new libexec test

This tests for /usr/libexec as we are moving things to /lib/.
the test is ignored if the distro defaults to /usr/libexec.

Currently this test will be disabled by default since the current
value of ${libexecdir} is "/usr/libexec".  Also this tests needs
to be enabled in the WARN_QA list.

[YOCTO #2915]

(From OE-Core rev: 596047acbf03f73efc318e9763b5cc6b7e408f53)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu: add libexecdir to configure call

This address the following when libexecdir is not set to /usr/libexec

WARNING: QA Issue: qemu: Files/directories were installed but not shipped
  /usr/libexec
  /usr/libexec/qemu-bridge-helper
  /usr/libexec/.debug
  /usr/libexec/.debug/qemu-bridge-helper

(From OE-Core rev: 8281b5ae3bf4287f416cc0924eba654c1e54c3d2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake.conf: change libexecdir to ${prefix}/lib/${BPN}

(From OE-Core rev: 68c31b095a1cb20bd297df596024fc568614f5e8)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lttng-tools: skip new libexec insane test

Because lttng-tools installs files into /usr/lib/lttng/libexec, the test matches
and throws a false positive, so use INSANE_SKIP

(From OE-Core rev: 3ffeb44f78731c676b92f36d5577e50da2484bb1)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
udev: upgrade to 182

This is the final upgrade of udev. Futher upgrades will only
come in conjunction with systemd.

The v4l1 removal patch is deprecated as the bug is fixed inside udev.
There is a new patch fixing the path for default sh interpreter.
New debug binaries are generated, and udev.inc is modified to package
those correctly.
The install locations changed for udevd and udevadm, so the scripts
are updated accordingly.

(From OE-Core rev: 3cbe52b94c4d559a037347ac419fafee5af84fe6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>

Conflicts:

	meta/recipes-core/udev/udev_164.bb

sgw - Fixed up DEPENDS += and added some OECONF options that where in the
meta-oe version and make sense to be included.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scipts/combo-layer: Fix check_rev_branch() for cases where the revision is on more than one branch

If a revision is in more than one branch, the check_rev_branch() function can't
cope with it and the tool returns incorrect errror messages. This patch
ensures it copes with this situation.

(From OE-Core rev: f24eff5dd5a76db38d7f68a5052d6e0e56b3a5aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libdrm: Bump git recipe to latest 2.4.39+ revision

(From OE-Core rev: 02395faa6a2884a6f64c90b9b638a274161c9bbd)

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libdrm: Add --disable-cairo-tests switch and update to upstream patch

Rather than implicitly relying on Cairo being disabled through not being
present, add a configure switch to forcibly disable it.

The updates the code to use a patch backported from upstream git
instead of our custom version.

(From OE-Core rev: 46f9239ed55ac6d0ab3d2cda5e4fb87e2d4ae234)

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sstate: Use -m option to tar when unpacking sstate

We've noticed failures on the project autobuilders where a shared sstate
directory is used across multiple builders and the clocks become skewed.

Most of the time this causes harmless building but if this happens where
an environment is changed (make install vs make in qt4-x11-free for example),
the build can fail.

This avoids modification times in the future and should make builds safer
in shared environments sstate was designed for.

(From OE-Core rev: b5f5e3063b8f521ab5769fc9c09549c066e8d294)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/cp-noerror: Try and use hardlinks if possible

Since we generally have lots of copies of the directories created using this tool, use
hardlinks where possible. This should save a little disk space and improve performance
slightly.

(From OE-Core rev: 0eea506e667b36a5795dcd58363c52c190473631)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sanity.bbclass: trigger network tests explicitly

The network tests in sanity.bbclass can now be trigerred explicitly
by firing the NetworkTest event. This is part of the fix for bug #3026.

[YOCTO #3026]

(From OE-Core rev: 51cd41749898aabb671c43451ef1e95c543a7ace)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake: event/hob: Add a button for network tests in the proxy settings

This patch allows the user to check the network connectivity in
the "Proxy" page ("Settings" dialog) by adding a button which provides
this functionality. It also disables retrigerring sanity checks if the
proxy values are changed, since now the proxy checks are explicit.
Note that this patch depends on a patch in oe-core
("sanity.bbclass: trigger network tests explicitly"). It will
not work properly if the patch in oe-core is not merged.

[YOCTO #3026]

(Bitbake rev: cb1354d29c0be27aee57b9783c724457ef6725fb)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
build-appliance: ensure zip file is linked locally

This makes the symbolic link portable with the dated zip file, otherwise
the link still points to the original deploy directory.

Signed-off-by: Saul Wold <sgw@linux.intel.com>