qemu: Backport a patch to solve SSE2 instruction emulation issues

This fix addresses various issues seen in qemux86-64 images:
 * scroll bars in matchbox-terminal not working
 * files not appearing in pcmanfm
 * warnings on the console from glib/gobject about invalid gdouble values

Its due to an emulation issue in qemu which the backported patch fixes.

I managed to debug it to a specific function, Khem found the qemu patch
to backport, thanks Khem!

[YOCTO #1906]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values

In particular, this overwrites the value from cross-canadian.bbclass in
some cases which isn't the desired behaviour and unnecessarily
complicates/breaks the dependency chain.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package.bbclass: Ensure kernel modules get stripped

Kernel modules are not marked as executable but we do expect to strip them.
This patch adds in missing code to ensure we do this. Without this images
are getting sigificantly bloated in size.

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo: Drop nativesdk wrapper and link against old memcpy symbol

The -nativesdk pseudo wrapper setting LD_LIBRARY_PATH turned out to be a
bad idea since it can mix up different libc and lib-dl verisons which
may or may not work depending on the phase of the moon.

As an alternative to solving the original problem, this patch drops the
symbol version requirement on memcpy which allows pseudo to work with
libc's back to 2.7 which should be sufficient for our supported targets
using nativesdk.

[YOCTO #2299]
[YOCTO #2351]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
initramfs-live-boot: Disable unionfs until its issue with the system rootdir are resolved

There are issues with the current unionfs when making a union mount over "/".
Until these are resolved we can't use unionfs for live booting so disable this
temporarily as a workaround.

unionfs is usable in other circumstances.

[YOCTO #2331 workaround]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self-hosted-image: Update poky revision to point at the 1.2 release branch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake.conf: Add a STAGING_BASELIBDIR variable that recipes can use to find base_libdir

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python: Fix various contamination issues leading to broken/missing c modules

The move of libcrypto to /lib instead of /usr/lib has broken the _hashlib module
compilation. There were also a number of other failing modules which should
have been building correctly. This turned out partly to be the /lib issue
but also due to a number of native paths creeping into compiler commandlines.

These changes add in /lib as part of the searh directory and remove
a number of host contamination issues within setup.py. Post release we
should really further go through this file and just delete large sections
of it as its hard to be sure what strange paths python is injecting as
search paths.

This patch also fixes issues where re-execution of the compile task
would corrupt the Makefile in various ways, again leading to puzzling
paths within the configuration.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sanity.bbclass: add variable to disable the sanity checks

It's useful for Hob to be able to disable the sanity checks completely
without marking them as passed so that the user can get into the GUI to
configure their settings, etc.

Add a variable, DISABLE_SANITY_CHECKS, to do so.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/hob: disable sanity checks when launching

This enables us to use the GUI to change any settings which might cause
sanity checks to fail, such as the proxy configuration.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo: PR bump.

Bump PR value due to the commit
c6c701f424aeb502d20ff02d02712e56f4e259a5.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self-hosted-image: Update poky revision to point at the 1.2 release branch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sanity.bbclass: Add a new case to issue sanity_check()

Judge if "SanityCheck" event is received, it will issue the
sanity_check() and send "SanityCheckPassed" back if succeeded.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self-hosted-image: Update poky revision to point at the 1.2 release branch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
self-hosted-image: Update poky revision to point at the 1.2 release branch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xf86-video-vmware: Upgrade to 12.0.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
xf86-input-vmmouse: Upgrade to 12.8.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
xf86-input-evdev: Upgrade to 2.7.0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
xcb_util.inc: Remove packaging and modify SRC_URI for multiple ${BPN} names

Xcb-util was split into separate packages during the 0.3.6 -> 0.3.8 transition.
Update xcb_util.inc to reflect that by removing the older packaging.
Libxcbatom, libxcbaux and libxcbevent are merged into libxcbutil.
Libxcbicccm, libxcbimage, libxcbkeysyms and libxcbwm are now separate packages.
Libxcbproperty and libxcbreply were made obsolete with this commit:

http://cgit.freedesktop.org/xcb/util/commit/?id=81c62e7a04213abefa1ea82819887aaaa3c31a74

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